[05-04 22:12:52] 来源:http://www.592dz.com 模拟电子技术 阅读:9997次
概要:iny, ultra-low-power comparators like the series can be configured in various ways not only to consume negligible power, but also to provide small, simple, and cost-effective detection of external accessories. Sign up for this FREE web seminar. Learn how to identify, measure and resolve audio system issues.A similar article appeared in Audio DesignLine, November 2008.A common feature in most of the electronic devices used today (cell phones, PDAs, notebooks, handheld media players, game systems, etc.) is the provision for connecting external a
Keep Power Consumption in Chec,http://www.592dz.comKeep Power Consumption in Check with Low-Power Comparators that Autosense Plugged-In Accessories
Abstract: Portable electronic devices usually include a single 3- or 4-connector jack which can be a stereo headphone jack, a mono headphone jack with microphone input and hook switch, or a stereo headphone jack with microphone/hook-switch combination. Tiny, ultra-low-power comparators like the series can be configured in various ways not only to consume negligible power, but also to provide small, simple, and cost-effective detection of external accessories.
|
We begin with a quick review of the basics of automatic jack detection.
Consider a typical headphone-socket circuit (Figure 1). Connecting a pullup resistor to the detect pin, as shown here, generates a signal to indicate the presence of a headphone or other external device. In a typical connection, the detect pin is disconnected if an external device in inserted.
The output signal is pulled high when no jack is present and pulled low when the jack is inserted. This detect signal is routed to a microcontroller port, which can then autoswitch the audio signal between a loud speaker (headphone absent) and the headphone speakers (headphone present).
A simple transistor can buffer the detect signal before it reaches the microcontroller input. The transistor also provides any level translation necessary for interfacing with the controller. In space-constrained applications like cell phones and PDAs, a small transistor packaged no larger than a couple of millimeters is preferred. Buffering and level translation can also be implemented with low-cost, low-power comparators in ultra-small packages. Members of the MAX9060 family, for example, come in 1mm × 1mm chip-scale packages and consume just 1µA of current.
Figure 1. An automatic jack-detection circuit.
The audio socket in Figure 1 is designed to handle the popular three-conductor audio plug. This plug connects either to a stereo headphone or a mono headset with microphone. You can easily differentiate between the stereo and mono-plus-microphone headset by using the circuits discussed below. These circuits leverage the fact that headphone resistance is low (usually 8Ω, 16Ω, or 32Ω) and that microphone resistance is high (600Ω to 10kΩ).
A brief introduction to the common audio jack and the electret microphone is helpful in understanding these circuits. In a three-conductor audio jack (Figure 2), the "tip" carries the left-channel audio for a stereo headphone or the microphone connection for a mono headset with microphone. For stereo headphones, "ring" connects to the right channel and "sleeve" to ground. For a mono headset with microphone, ring connects to the input audio channel for the mono microphone and sleeve connects to ground.