Youāre in luck ( a little bit, anyway). The sketch came via me. Ampy_meter_reader.zip (1.2 KB)
Unfortunately, the conversion of the āactiveā Drupal site to the archive had some limitations.
You should be able to reconstruct the circuit diagram from the pictures (for most of the component values) and the PCB layout.
Thank you very much that is useful. Meanwhile I have found where the inductive transmissions come from -
using a bat detector!! - see Reading meters with bat detector - YouTube I figured that the induction might move the ultrasonic microphone a bit - and that proved to be the case. Couldnāt pick up the square wave harmonics on 102 khz though - my scanner wouldnāt go below 100khz - too much general mush.
I think I can work out the circuit from the pictures - unless MartinR , willehey or MattyZee surface that is.
Iāve been trying to reconstruct the circuit, and done a lot of research into how it would work.
However I am really struggling with the value for the electrolytic cap (and itās function). Is there anyway at all we can get the original attachment from the original forum ? Or can anyone help who may have built a working circuit for inductive reading ?
Sorry. I went back to play some more but the meter had been changed. Apparently we had changed supplier and, unusually, they changed the meter as well. Good luck.
Um, my best circuit drawing style.
I think Iām good with the values of the LC portion, the power rail filter cap, and the high pass filter (bottom left?)
The electrolytic : i cannot understand itās purpose⦠but it is in the input chain of both opampsā¦
The two critical parts there are the coil and its parallel capacitor, which must be tuned to the transmitted frequency, and the capacitor in the detector circuit, which must be large enough to smooth out the carrier frequency (the coil frequency) but small enough to not smooth out the data pulses.
Robert, Thank you so much for your explanation and help !
I didnāt see this message until now (not sure why I didnāt get the alert) and have spent the past 2 days learning about how all of this works. The principle of operation you have explained really well to me, so thank you for taking the time to do that. It is now much clearer what should be happening.
Sorry the image is so badly drawn, attached is one done with Fritzing (awesome programme!)
Iāve got the coil & cap calculated and oscillating nicely at 26Khz (1000uh & 5nf).
With experimentation and some calculations (which may well be wrong), Iāve went for 0.1uf for caps C3 (electrolytic) & C4 (detector) - do you think they are valid ? C4 in particular - the frequency is 26Khz carrier and I 2400 baud (say 3Khz for margin of error). If not, Iāll go for your recommendations !
Thanks again for responding, this little project has really stuck in my claw and Iām determined to get it working⦠if nothing else it may help others and save me a trip to read the meter !
This is with a 0.3 V amplitude signal from the pick-up coil (simulated with a signal generator and modulated by a switch).
It shouldnāt be oscillating, it should be resonant, if thatās the frequency that the meter sends out. If itās oscillating on its own, you wonāt be able to detect the signals from the meter.
If it is oscillating on its own, you might need a large electrolytic in parallel with C5 - 22 μF, or a damping resistor in parallel with the coil.
BTW, itās normal, when drawing a circuit diagram of this sort of thing, for the signal to go left to right.
Yes, 2400 baud, according to the manual.
Can you share the equation on calculating c4 ?
I tried quite a few, and used 1/(2pi * RC) as the formula for the RC values, solving for C using a cut off frequency (fo) as 6634. The cut off frequency was chosen with information gleaned here
I calculated fo using the formula :
fc = carrier freq
fd= data freq
fo=ā (fc * fd)
fo = ā (26000 * 3000)
fo = 279
Then solving for C4 , I arrive at 38nF (not sure how I got 0.1uf last time, it was 3am I guess !)
Now, finally my new signal generator arrived today, (was using an arduino to drive 26khz!) so I can experiment and see what it does.
One final question, the signal is DC biased over 2v or so, how exactly does D1 rectify in this case , as the signal will always be higher than the turn on voltage (even the negative of the ac waveform does not go below 0.7v)
Thanks again for helping a newbie with this stuff !
As I said, the time constant must be long in relation to the carrier frequency, but short in relation to the bit length of the modulating signal. Iām fairly sure an amateur radio textbook will tell you, but if you want to know how I did it, I guessed a number based on the bit length and checked it in LTSpice.
This is what 38 nF looks like:
Thatās not giving a very clean pulse train.
Itās just pumping the voltage up a bit, enough for the comparator op.amp to switch. Itās not very sensitive, it needs about 0.2 V amplitude (0.14 V rms) to work.
Happy to report itās all working on my bench.
The £43 I spent on the sig generator was well worth it. It allows me to create an ASK (digital AM) signal using an external input to modulate. Using an arduino, I wrote a small program to write at 2400 baud to the serial port. Using this as input to sig gen and putting the output of the sig gen into a small wire wrapped around the coil and onto a small load resistor, after some fiddling it all works beautifully !
I sure learnt a lot following the signal through the circuit.
I did find an error in the circuit, in the original circuit as I uploaded, the output was inverted. Swopping pin 2&3 (2nd stage opamp) corrected that.
Again, thanks for all your help, I could not have got this done without your explanation and helping my calculations which were, ahem, dodgy to say the least.
Correct circuit attached (and next time I will draw from left to right
Iāll post when I get this off the breadboard and stuck onto the meter to see if it all really does work
Maybe not an error, you could have changed that in the software that decodes the message, quite simply by calling a high voltage input a logic ālowā, and vice versa.
Or maybe, the software already does that (I havenāt looked), in which case you can either swap the op.amp back to as it was, or āunswapā it in the software.
So the software uses Software Serial and doesnāt invert any bits. That said, maybe the meter output is inverted itself. Iām going to recheck the PCB layout and see.
I just tried the circuit on the side of the meter, but alas no output was seen by the arduino (inverted or otherwise).
Next step is to take a scope down to the meter (which is outside and itās raining hard !) and see what I can see. really curious if any signal is being picked up at allā¦
So on the ādoes the meter have the inductive outputā - that crossed my mind.
According to the manual for this model, it seems to do so, it does not appear to be optional. Manual
On the bench, with a 26Khz modulated signal, the pulses are clean, and the HF noise isnāt there. There doesnāt appear to be ringing or anything else abnormal with what I see on the scope.
To test on the bench, a 5V square wave modulated signal loaded into a 360K resistor and 3 wraps around the coil was able to be detected and processed perfectly.
I wonder is the signal from the meter not strong enough, or ⦠well who knows. Hopefully the 'scope will tell me tomorrow what (if anything) is going on.