Hello guys and gals..
Over the weekend I wanted to build a light bar (or at least a prototype of it) that would respond to sound frequencies. Decided to use AD820 op-amp because I need it to work from single 9v battery and I can control the gain using potentiometer.
Circuit has few more LED's and high-pass filters, I didn't want to over-populate the picture.
The circuit is supposed to respond to certain frequencies and once certain frequency is reached, a LED is supposed to light up.
I calculated the Xc of each capacitor to respond to desired frequency and adjusted potentiometers to calculated Xc:
80Hz - 22uF - Xc = 90.5
120Hz - 22uF - Xc = 60.2
180Hz - 22uF - Xc = 40
At this point, Xc would start becoming very small, so I changed filters to use 1uF capacitors.
270Hz - 1uF - Xc = 589
405Hz - 1uF - Xc = 393
607Hz - 1uF - Xc = 262
911Hz - 1uF - Xc = 174
Now here is where the problem starts. Using signal generator at 1Vpp, op-amp operates fine. After after first filter (80Hz), signal is 1.2Vp and at the last high-pass filter it if 0.6Vp. When I increase the frequency to 1 kH, last filter has (911 Hz) 1,2Vp and first filter (80Hz)drops it to 0.9V, dimming the LED.
On paper, it all appears fine, but it will not work properly in design. What am I missing?
Thanks for all of the answers in advance.
Over the weekend I wanted to build a light bar (or at least a prototype of it) that would respond to sound frequencies. Decided to use AD820 op-amp because I need it to work from single 9v battery and I can control the gain using potentiometer.
Circuit has few more LED's and high-pass filters, I didn't want to over-populate the picture.
The circuit is supposed to respond to certain frequencies and once certain frequency is reached, a LED is supposed to light up.
I calculated the Xc of each capacitor to respond to desired frequency and adjusted potentiometers to calculated Xc:
80Hz - 22uF - Xc = 90.5
120Hz - 22uF - Xc = 60.2
180Hz - 22uF - Xc = 40
At this point, Xc would start becoming very small, so I changed filters to use 1uF capacitors.
270Hz - 1uF - Xc = 589
405Hz - 1uF - Xc = 393
607Hz - 1uF - Xc = 262
911Hz - 1uF - Xc = 174
Now here is where the problem starts. Using signal generator at 1Vpp, op-amp operates fine. After after first filter (80Hz), signal is 1.2Vp and at the last high-pass filter it if 0.6Vp. When I increase the frequency to 1 kH, last filter has (911 Hz) 1,2Vp and first filter (80Hz)drops it to 0.9V, dimming the LED.
On paper, it all appears fine, but it will not work properly in design. What am I missing?
Thanks for all of the answers in advance.