Torben
Well-Known Member
Hi all,
I have some questions about an ultrasonic rangefinder project I'm revisiting. That's the project; what I'm really interested in here is the dual opamp input section.
Quick background: I have a working ultrasonic rangefinder on a breadboard. The controller is an AT89C4051 (8051 compatible) which, on its output, drives a 38,400Hz square wave through two opposing pins to a 40kHz ultrasonic piezo transducer. Another (supposedly matched) transducer provides the signal for the input to a dual opamp booster which uses a BC550 transistor to pull a pin on an 8051-compatible chip low so I can read it in software. I can get readings up to around 2 meters and I can hear the blips (one blip of around 16 38.4kHz 5 times a second) on my bat detector.
I am using the input section from an old EPE article: **broken link removed**
with some changes: I've skipped the pot on the BC550 base, replaced the LM358 with a TL072, modified some resistor and capacitor values, and put a diode from the BC550 base to ground to prevent breakdown as per the Art of Electronics--all these changes have made the thing work better for me and were done incrementally, and could still be wrong!
).
The circuit currently working on my breadboard is shown in the first attachment. The second attachment is for those who use LTSpice--but this also works in the real world.
My problem is only my understanding of the TL072 input section. It works fine as is. I just don't know why. I mean, I know I don't get enough current to drive the BC550 into saturation without the second opamp stage, but why? And what is the easiest/prettiest way to fix it?
My questions have to do with voltage supply and current:
1) Why is the TL072 even working at all on 5V in a single-supply setup? I thought from the datasheet that it needed at least 7V. I am running it on 5V, single-supply, so 2.5V at the positive input).
2) I am using both stages of the TL072 to reamp the input to a high enough output current to drive the BC550. It works fine as posted. However, I'm wondering if there isn't a more elegant way to drive the BC500 using only one stage of the TL072, letting me use the other stage for something else, say, variable output power or a filter?
3) I have read about boosting the output current of opamps with an emitter follower in the feedback loop, but I don't quite get how to fit it in. I have done some searching but I most of the sites I find are class exercises which aren't helping much to a spare-time hobbyist like me.
Any thoughts? Why is the opamp working at all? Can I get a more elegant single-stage current drive for the input to the 8051? Any glaring errors in my work?
Thanks for any thoughts!
Torben
I have some questions about an ultrasonic rangefinder project I'm revisiting. That's the project; what I'm really interested in here is the dual opamp input section.
Quick background: I have a working ultrasonic rangefinder on a breadboard. The controller is an AT89C4051 (8051 compatible) which, on its output, drives a 38,400Hz square wave through two opposing pins to a 40kHz ultrasonic piezo transducer. Another (supposedly matched) transducer provides the signal for the input to a dual opamp booster which uses a BC550 transistor to pull a pin on an 8051-compatible chip low so I can read it in software. I can get readings up to around 2 meters and I can hear the blips (one blip of around 16 38.4kHz 5 times a second) on my bat detector.
I am using the input section from an old EPE article: **broken link removed**
with some changes: I've skipped the pot on the BC550 base, replaced the LM358 with a TL072, modified some resistor and capacitor values, and put a diode from the BC550 base to ground to prevent breakdown as per the Art of Electronics--all these changes have made the thing work better for me and were done incrementally, and could still be wrong!
The circuit currently working on my breadboard is shown in the first attachment. The second attachment is for those who use LTSpice--but this also works in the real world.
My problem is only my understanding of the TL072 input section. It works fine as is. I just don't know why. I mean, I know I don't get enough current to drive the BC550 into saturation without the second opamp stage, but why? And what is the easiest/prettiest way to fix it?
My questions have to do with voltage supply and current:
1) Why is the TL072 even working at all on 5V in a single-supply setup? I thought from the datasheet that it needed at least 7V. I am running it on 5V, single-supply, so 2.5V at the positive input).
2) I am using both stages of the TL072 to reamp the input to a high enough output current to drive the BC550. It works fine as posted. However, I'm wondering if there isn't a more elegant way to drive the BC500 using only one stage of the TL072, letting me use the other stage for something else, say, variable output power or a filter?
3) I have read about boosting the output current of opamps with an emitter follower in the feedback loop, but I don't quite get how to fit it in. I have done some searching but I most of the sites I find are class exercises which aren't helping much to a spare-time hobbyist like me.
Any thoughts? Why is the opamp working at all? Can I get a more elegant single-stage current drive for the input to the 8051? Any glaring errors in my work?
Thanks for any thoughts!
Torben