http://www.nzweather.net/forum/topic/10 ... on-please/
Don't know if it would help you but thought I should mention it
Yes, I see what you mean. The pulses probably do line up as you say - with a "single beam" scope I can only show one input at a time and trigger off that. There isn't even a separate trigger input on this scope (it was relatively cheap). It looks like A, B and C chip connections may be all tristate. I'll see if I can work out what the internal circuit might be.Charlie wrote:Are these really as expected? If so, then perhaps I'm confused about how it works. I was thinking that B and C are floating with A outputting high (3V) then A gets tristated into a comparator input, and B (or C) gets switched low. The amount of time it takes A to ramp down to the comparator reference voltage determines the resistor value. A quick recharge by tristating to an output "1" to recharge then do C (or B), then go back to sleep with A high.
I'd expect B & C to be square on the bottom (not rising) and aligned in time with the pulses on A. I'd also expect the pulse on A to discharge down from 3V in a curve, rather than switch completely low then charge up again.
It was referenced to the +3v rail but the enclosed diagram shows it referenced to 0v. It is definitely DC coupled - it shows a "permanent" level when connected to a supply rail.Maybe I'm getting confused by the reference - what is the scope using as it's reference? Is it the negative rail? It almost looks like it's referenced to +3V and AC coupled...
No problem, I'm considered to have a lot of patienceCharlie wrote:Thinking about it some more, those curves would be expected if B & C were driven by a constant current source rather than a constant voltage source. Thanks for the updates! I have a couple more questions if you still have patience?
Time scale was 20ms/div1) What is the time scale on your drawing? (I'm guessing about 10 ms/div? if it's very different then the capacitor value might not be 4.7 uF)
Didn't seem to make any difference.2) When you add the longer cable, how does the waveform change? (The added R & C might narrow the time between finish of the first pulse and beginning of the second, but I would not think by much)
Just checked that (turned fan off so that the vane would stay where I put it) and strangely, the waveform does not change! I'm wondering if I have a bad connection or broken wire. I'll unplug it and check with ohmmeter3) It might be interesting to see how the waveform changes as you rotate the vane to different directions. The gap between measurements (seen on A) might change, depending on the software. Certainly the B & A pulse widths should change - with no change in C
Curiously, there seems to be a smaller overshoot now, just a couple of ms and less amplitude.The overshoot on A between measurements is a bit suspect for the cause of spikes. If the voltage on A is higher than the reference when the temperature measurement starts, then the value read would be a really big number - resulting in a spike being reported. Adding R & C (by extending the cable) will make the position measurement take longer to complete...
Could be. But earlier tests would indicate that they didn't bother with a standard resistance - just measured thermistor resistance and wind vane circuit resistance.mcrossley wrote:I may have this completely wrong (my electronics knowledge is basic to say the least), but from a few posts back the 'reference' cct posted on another site used a mechanism to calibrate the measuring cct by charging through a standard resistance, then measuring the time taken through the thermistor? Are you saying the FO uses the same mechanism?
If the vane moves during its measurement it would give an erroneous value (which might explain why the wind direction is so variable, but that's another issue).If that is the case - what happens if the wind vane moves between/during these measurements. Could that affect the total resistance in the cct and thus throw out the calibration against the measurement.
I don't think that would cause the trouble.The wind vane resistance changes up and down depending on direction, which could account for spikes in either direction.
Probably, yes. But any suggestion can be valuable however silly it may sound. We so called "experts" can easily miss the obvious!This may be a load of bovine steam, so feel free to shoot it down
Edit: just thought, if that were the case then everyone should see the effect