找回密码
 注册会员
更新自动建库工具PCB Footprint Expert 2024.04 Pro / Library Expert 破解版

[基础电路] 音量指示器--SoundLevelIndicator

[复制链接]
admin 发表于 2013-2-21 18:35:54 | 显示全部楼层 |阅读模式

本文包含原理图、PCB、源代码、封装库、中英文PDF等资源

您需要 登录 才可以下载或查看,没有账号?注册会员

×
音量指示器--Sound Level Indator
  This project uses an LM3915 bar-graph IC driving two sets of ten LEDs for a 30dB range. The circuit is unique because it has an additional range of 20dB provided by an automatic gain control to allow it to be very sensitive to low sound levels but it increases its range 20dB for loud sounds.
   ET273052010072109543912011060818470920734.jpg
  The LEDs are operating at 26mA each with the brightness control at maximum, which is very bright. The circuit has a switch to select the modes of operation: a moving dot of light, or a bar with a changing length.
  My prototype has a little 9V Ni-Cad rechargeable battery in it to be portable and the battery is trickle-charged when the project is powered by a 9V AC-DC adapter.
   ET273052010072109543922011060818470920735.jpg
  Circuit Description
  1) The electret microphone is powered by and has a load of R1 from an LM2931 5V low-dropout regulator.
  2) The 1st opamp stage is an audio preamp with a gain of 101.
  3) The 2nd opamp stage is a single-supply opamp which works fine with its inputs and output at ground and is used as a rectifier driver with a gain of 1.8. It is biased at ground. Since it is inverting, when its input swings negative, its output swings positive.
  4) Three 2N3904 transistors are used as emitter-followers:
  a) Q1 is inside the negative feedback loop of the 2nd opamp as a voltage reference for the other two transistors. Hopefully the transistors match each other.
  b) Q2 emitter-follower transistor quickly charges C8 which discharges slower into R13 and is used as a peak detector.
  c) Q3 transistor is the automatic gain control. It is also a peak detector but has slower charge and discharge times. It drives the comparators’ resistor ladder in the LM3915 to determine how sensitive it is. R15 from +5V is in a voltage divider with the ladder’s total resistance of about 25k and provides the top of the ladder with about +0.51V when there is a very low sound level detected. Loud sounds cause Q3 to drive the top of the ladder to 5.1V for reduced sensitivity.
  5) The LM3915 regulates the current for the LEDs so they don’t need current-limiting resistors. In the bar mode with all LEDs lit then the LM3915 gets hot so the 10 ohm/1W resistor R16 shares the heat.
   ET273052010072109543932011060818470920736.jpg
  Options
  1) You could use a switch to change the brightness instead of a pot, or leave it bright.
  2) You could use an LM358 dual opamp (I tried it) but its output drops above 4Khz. The MC33172 is flat to 20kHz with this high gain.
  3) You could add a 1uF to 2.2uF capacitor across R5 so the indicator responds border=0>
  Construction
  1) The stripboard layout was designed for a Hammond 1591B plastic box with space in the lower end for a rechargeable 9V battery. border=0>
  
  [责任编辑:电子发烧友---转载请标明出处]
*滑块验证:
您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

QQ|手机版|MCU资讯论坛 ( 京ICP备18035221号-2 )|网站地图

GMT+8, 2024-12-23 21:42 , Processed in 0.069947 second(s), 12 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表