Electronic Stethoscope

CDAK1

Dec 30, 2003
13
Joined
Dec 30, 2003
Messages
13
Here I suggest a modification to the e-scope circuit. Instead of using 741 everywhere, use the low noise pre-amplifier LM387 at a high gain at the input stage.

In the attachment, it is given. U1 is LM 387 designed for a gain of above 500. It functions only above 10v eventhough it's minimum supply voltage is +9v. So I took 12v and is used in all other ICs too. 387 uses +ve and ground( no negative). So for couplilng to the next stage , a coupling capacitor is to be used(0.1 uF is used here with 100k to the ground)
In the figure,at the input, cap stands for condenser mic.
The second stage,(butterworth second order LPF), designed at 600 Hz cutoff.
I got satisfactory result, except for my microphone picks up even the distant talk and the heart beat is heard in between all other sounds( not exactly the noise in electronics)!!! Any remedy for that ???



 
Last edited by a moderator:

bogdan2

Jan 17, 2004
51
Joined
Jan 17, 2004
Messages
51
CDAK, why don't you try to reduce the gain for the LM387?

LM386 is a power amp, not really good to replace all the 741 amps with 386, maybe just the last one, to get a stronger output.

t_ang4,
what are you powering the circuit from? maybe you have suply noise?
also, maybe you hgave a problem with the caps? if they are leaking then this should be the problem. you might try to replace the cap from the mic with another and see...
also, i had experience with a lot of noisy electret microphones.
why don't you try another thing for input? maybe use a speaker(though not so good). also, you should try to connect the input of the first op-amp to ground and see if without the mic you still get the noise.

 

CDAK1

Dec 30, 2003
13
Joined
Dec 30, 2003
Messages
13
Thank u Bogdan,
Infact, I had reduced the pre-amp gain.But later, found that for different people(patients), we need to vary the gain.So I introduced 2 more controls in the circuit.(in the pre-amp ckt only).
One is in the microphone bias and the second is in the gain control.
The circuit is attached.(only that part is shown from the total circuit.)
CDAK

View attachment 35159

 

bogdan2

Jan 17, 2004
51
Joined
Jan 17, 2004
Messages
51
i'm glad you sortoed this out and your circuit works.
can you post a picture of what you have buid? i would really much apreciate if you do so!

 

CDAK1

Dec 30, 2003
13
Joined
Dec 30, 2003
Messages
13
Sorry for the delay, I couldn't come to the forum for a few weeks.
I used my circuit to record a few heart sound.
Here I give a plot of a heart beat (fig.1) recorded by my e-scope and fig.2 is the one downloaded from a medical site. The noise in my plot is from the surroundings(low frequency interferences) and is not electronic noise.(I've used a digital LPF too).
The explanation and the problems in the circuit will be posted very soon.
CDAKView attachment 35182

 

CDAK1

Dec 30, 2003
13
Joined
Dec 30, 2003
Messages
13
It's very difficult to get the fidility that a professional hi-fi e-scope gives, by the design over here.
The main problem is the head design . We need specially designed head that absorbs sound of friction and other distant voices and sounds.
Human body absorbs almost all sound (like Fan's, A/C's , CPU fan's,....?)which is then heard through our e-scope.So it is virtually impossible to get a clean heart sound through the scope.
For the analysis, I took the signal out from the pre-amp out (otherwise signal will be clipped while recording)and then it is digitally filtered.(9th order Chebyshev LPF). The sound recorded at 8 KS/Sec at 16 bit resolution.
Later, I'll post the picture of my e-scope system( now it is fully in a case)

 

audioguru2

Apr 6, 2004
12,026
Joined
Apr 6, 2004
Messages
12,026
Hi guys,
Sorry for this late post. This project has attracted a lot of attention but has also created much frustration and confusion, due to schematic and parts list errors in the original article. Let us stick to the original circuit using standard parts and having 9V batteries. Dpak showed a nice circuit but the LM387 is obsolete (discontinued in '98) and it cannot be powered with 9V batteries easily.
Corrections to the original circuit follow:
1) Connect pin6 of U2 to the junction of C3 and R7. This applies proper negative-feedback which dramatically reduces gain (and noise) and allows U2 to function as a 2nd order low-pass filter. Thanks, T_ang4 and Staigen.
2) Use an LM386 for U5 and swap its pins: pin5 is output and pin6 is +9V. The LM386 has built-in feedback and biasing to be used with its inputs as shown, and can drive an 8 ohm earphone. Thanks, Staigen and Mozikluv.
3) Change C2 to 4.7uF (the + lead to the mic) so that it can pass a heartbeat sound. Listen to Pink Floyd's "Dark Side Of The Moon" rock song since it starts with a 16Hz heartbeat. The original circuit's gain is 'way down at 16Hz.
4) Get rid of U3 which doesn't do anything. U2 can easily drive U4 and the volume control.
5) Get rid of R3 and R9 and replace them with wire . They also don't do anything.
6) Use a TL071 (or a dual amp TL072) for U1 and U2. It is low-noise and inexpensive. Or use a quad amp TL074 for U1 to U4.
7) Disconnect the junction of R1 and C1 from +9V and add a 1K resistor from their junction to +9V. This will filter the amplifier's input from the bouncing +9V power supply. Add an additional 1000uF capacitor fom +9V to ground. This helps the battery provide power to U5.
8) Add a 1K resistor across the ouput jack. This will stop a loud "pop" when you plug-in your earphone if the stethoscope is already turned-on.
If the mic is properly mounted in a stethoscope-head (jar lid or whatever) then it should reproduce a heartbeat sound well without much background sound. If breathing sounds must be heard then change R5 and R6 to 1K resistors, but background will be louder, and keep the mic away from your earphone to avoid howling. Add a switch to hear either sound properly.
Please reply if you make these mods and let us know how it works.

 
Last edited by a moderator:

MP1

Dec 7, 2003
3,399
Joined
Dec 7, 2003
Messages
3,399
CDAK, thanks for coming back with a scope diagram. It is not really all that bad. A scope will make things look ugly when they are not perfect. Does your circuit have a little better looking signal when not amplified as much?

You might be able to clean this up a bit with an expandor circuit and then trim down the overall gain. An Expandor circuit will amplify the louder parts and quiet down the softer signals. Then you would not have as much problem with the other sounds.

One such chip is the NE570D compander. This compander chip has two sections which can be wired as an expandor or a compressor. The word compandor or companding a signal refers to using a compressor at the input of a device and then an expandor at the output of the device to return the level to normal. In the process the noise is reduced. I do not think you would need to do all of this. Perhaps only the Expandor part would be needed. I have used this a lot in music equipment that I have designed to get rid of inherent noise. More importantly, background noise. This is not a noise gate. This is completely different. A noise gate will turn your sound down until it reaches a preset threshold. An Expandor increases the dynamic range. It gives you more db distance between the background noise and the applied signal.
Here is a data sheet: http://www.semiconductors.philips.com/acrobat/datasheets/NE570_3.pdf
Hope the info is helpful. It might keep you from having to redesign.
I think there is an application diagram in the data sheet. If it is not clear and you want to go this route, let me know and I will post a diagram.

audioguru: How are all of these changes "sticking to the circuit?" ::)
Also, have you built the circuit with the changes you mentioned or is this in the theory stage? I think this is important to know.

MP

 

audioguru2

Apr 6, 2004
12,026
Joined
Apr 6, 2004
Messages
12,026
MP,
Well, let's see: Electronics-lab posted an audio circuit which has 2 op-amps running open loop without any feedback, an input capacitor which can be calculated to severely cut the desired sound, an output stage without proper bias and many complaints that it doesn't work. The author of the circuit no longer supports it and apparently hasn't even tried it.
I am just trying to be helpful in assisting members, getting this circuit corrected, improving it with newer parts and pruning the useless parts. Otherwise, the next guy who tries it will also be frustrated.
The 8 changes that I recommend are quite minor, physically. The original circuit is basically the same, but corrected.
If I had a need for this circuit then I would build it, but for now it is experience and attention to detail that is talking.

 

audioguru2

Apr 6, 2004
12,026
Joined
Apr 6, 2004
Messages
12,026
Cdak,
MP's expander circuit is a good idea. But your scope picture seems to show a continuous low-frequency. Are you using shielded cable from your mic to avoid hum pick-up, and insulating the mic and its cable from the patient to avoid a ground loop?

 

MP1

Dec 7, 2003
3,399
Joined
Dec 7, 2003
Messages
3,399
what are you talking about with 2 of the op amps running open loop? I am looking at this circuit to see what problems you have noted.

MP

 

audioguru2

Apr 6, 2004
12,026
Joined
Apr 6, 2004
Messages
12,026
MP,
In the schematic, U2 and U5 are shown without negative feedback. Therefore, DC-wise, their outputs would be idling against a power rail since their enormous gain would amplify their offset voltage. AC-wise, any tiny signal (or noise) that is greater than their offset voltage (only a few millivolts) would therefore be rectified (causing severe distortion) and also be over-amplified.
U2 is fixed by adding a dot on the schematic at pin6 so that it connects to C3 and R7. Then it will have feedback and will be a classic "Sallen and Key equal-capacitor (requiring its gain of 1.6) Butterworth 2nd-order low pass filter" with a cutoff frequency of about 103Hz, as others have noted and as described in the project's text.
U5 is fixed by changing its part number in the parts list to an LM386 with its built-in feedback and biasing, and correcting the pin numbers on the schematic for its output and +9V. If U5 had feedback and its pin4 connected to -9V so that it could function as a 741 opamp, then it certainly would not be able to drive an 8 ohm earphone like the LM386 is designed to do.

 

MP1

Dec 7, 2003
3,399
Joined
Dec 7, 2003
Messages
3,399
audioguru:
I would have built this dofferently myself. However, I would have built it, tested it, and posted it at the time.
I see what you are talking about with the feedback in the schematic. I am not the author of this project and will not speculate what he meant to do. However, it should be noted that there is not always a feedback resistor used on an op amp and these are not open inputs. Sometimes op amps have a different purpose than amplification of voltage. Also, U3 is a buffer. If you get rid of this, the pot right after this will not work as intended. Especially if you replace R9 with wire. If you use a 386 power amp chip, you might as well get rid of all the op amps, because they would not be needed. The 386 can power a head phone without preamplification.
The C2/R2 combination determines the Low frequency cut off. The author has chosen .047uf and 2.2k, which dictates a 1.6KHZ low cut off. If you change the value of this capacitor to 4.7uf as you have suggested, the low frequency cut off will be changed to approximately 16 Hz as you have indicated. This will pass more low frequencies in the circuit, but I am not so sure that the heartbeat pickup is intended to duplicate the Pink Floyd imitation of a heartbeat. Medical equipment usually uses a higher frequency in the middle or lower end of the speech spectrum. Not in the lower end of the full hearing range. The low frequencies also bring in more hum and interference from other devices used in the room.

Lastly, let me say this: When someone finds a circuit that is not correct, I think that it is welcome by all to hear about it. But the changes that are welcomed by all come from someone building a working circuit and posting the fix for the circuit.

MP

 

audioguru2

Apr 6, 2004
12,026
Joined
Apr 6, 2004
Messages
12,026
Hi, MP, thanks for your anaysis of the original circuit and your comments on my recommended fixes. But I am sorry to have additional corrections for you:
1) U2 can easily drive the 2.5K volume control. The 741 is spec'd with a minimum load of 2K. The 2.5K load on U2 will not affect its gain nor filtering function since it has an output impedance of 75 ohms divided by its feedback of about 30,000 (at 16Hz) = 2.5 milli-ohms. Therefore the effect of a 2.5K load on its output is very, very small. Since U2 can drive the volume control then U3 is not needed.
2) What is the function of R9? Maybe it will limit the loading on U2 from the input of U4. But the input resistance of U4 is 2M ohms, and its input current is almost nothing (nano-amps)! Therefore since R9 does not limit anything, it can be replaced by wire.
3) If the entire circuit was replaced by an LM386 (with its gain-adjust pins connected for a gain of 200) then it will be noisy, without having a sharp-cutoff low pass filter. The LED driver might also be missed but I doubt that it will work as intended (thump is red, thomp is green) since that would require DC coupling at the input. The LED probably just flickers with each heartbeat.
4) With the original low-value for C2 then the output would sound like a "tic" instead of a "thump" or "thomp". Low frequency response is needed to reproduce a true replica of a heartbeat sound. Even a mechanical stethoscope makes a sound like "boom-boom, boom-boom" (have you tried one? I have). Look again at CDAK's professional-equipment's output which shows a very low-frequency "thump".
I am not going to build a working circuit and apparently neither are you, so maybe the defective original one should be replaced in the Projects Section with CDAK's working one.

 

MP1

Dec 7, 2003
3,399
Joined
Dec 7, 2003
Messages
3,399
There are problems with that analogy. You are missing the point and becoming argumentive. I am not going to waste my time arguing with you about this simple amplification circuit. As with my other post, if you have something to offer here, then build it. If all you have is theory, put it in the theory category. Because so far, all you have offered is theory. If you want to offer a different design, draw it out and post it.
It is simple.

MP

 

CDAK1

Dec 30, 2003
13
Joined
Dec 30, 2003
Messages
13
Sorry once again for the late reply. Thanks a lot MP and audioguru for the healthy discussion between u. Here I give my reply to some of the questions asked by u during ur discussion.
The e-steth I made works fine with the circuit modified by me. I don't know whether LM387 is commercially available or not, but it was available in bulk in my Institute lab. So I made use of it and got the desired output.
As I told earler, for the analysis work ( my work is not just an e-scope but the analysis is also there), I took the pre-amp out. I used sheilded cable from mic to amp input.
I haven't done the body-grounding, but the low frequency interference is reduced with a 7th order digital highpass filter (cut-off at 60Hz) after recording the sound from the e-steth in .wav format.
I've given a set of figures showing the sounds recorded and then the HPFed version.The first set shows a normal heart beat on the left hand side and its HPFed version on the right hand side. It's clear that the filtered version is almost same as that from a standard e-steth(second fig). The second figure is given only for the comparison purpose and here RHS figure is a single beat of the one on the LHS.

 
Last edited by a moderator:

CDAK1

Dec 30, 2003
13
Joined
Dec 30, 2003
Messages
13
MP, till now, I was extremely busy with my thesis work and was in a struggle to get proper result. Finally,my work ended with a success note. The credit goes to this forum too.
I'll try ur expander circuit idea as I'm going to do more specialised work on the design of the stethscope part, in order to improve my diagnosing system.
I'll inform the timely improvement of the system.
CDAK

 

MP1

Dec 7, 2003
3,399
Joined
Dec 7, 2003
Messages
3,399
CDAK,
Thank you for the feedback on this project.

Also, if you would like to forward your modifications to the circuit, we will have them posted for the next person who is considering this project.

From your description, it seems that the circuit worked fine with removal of the preamp and a 60 HZ high pass filter added. Was there some amplification in the high pass filter that compensated for the removal of the pre-amp or was it simply not needed?

MP

 
Top