1. Technical Field of the Invention
This invention relates generally to audio integrated circuits and more particularly to detector for detecting whether a microphone is connected to an integrated circuit, such as a combined voice, data and RF integrated circuit.
2. Description of Related Art
As is known, integrated circuits are used in a wide variety of products including, but certainly not limited to, portable electronic devices, computers, computer networking equipment, home entertainment, automotive controls and features, and home appliances. As is also known, integrated circuits include a plurality of circuits in a very small space to perform one or more fixed or programmable functions.
Integrated circuits can include audio processing circuitry that is coupled to a microphone for processing voice or other audio signals generated by the microphone. In some circumstances, the microphone can be selectively coupled or decoupled to the circuit. When the microphone element is powered, such as in the case of an electret microphone element, power can be saved by providing power to the microphone only when the microphone is present.
The advantages of the present invention will be apparent to one skilled in the art when presented with the disclosure herein.
The present invention is directed to apparatus and methods of operation that are further described in the following Brief Description of the Drawings, the Detailed Description of the Invention, and the claims. Other features and advantages of the present invention will become apparent from the following detailed description of the invention made with reference to the accompanying drawings.
In an embodiment of the present invention the wireline connection 28 can be a wired connection that operates in accordance with one or more standard protocols, such as a universal serial bus (USB), Institute of Electrical and Electronics Engineers (IEEE) 488, IEEE 1394 (Firewire), Ethernet, small computer system interface (SCSI), serial or parallel advanced technology attachment (SATA or PATA), or other wired communication protocol, either standard or proprietary. The wireless connection can communicate in accordance with a wireless network protocol such as IEEE 802.11, Bluetooth, Ultra-Wideband (UWB), WIMAX, or other wireless network protocol, a wireless telephony data/voice protocol such as Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Enhanced Data Rates for Global Evolution (EDGE), Personal Communication Services (PCS), or other mobile wireless protocol or other wireless communication protocol, either standard or proprietary. Further, the wireless communication path can include separate transmit and receive paths that use separate carrier frequencies and/or separate frequency channels. Alternatively, a single frequency or frequency channel can be used to bi-directionally communicate data to and from the communication device 10.
Communication device 10 can be a mobile phone such as a cellular telephone, a personal digital assistant, game console, personal computer, laptop computer, or other device that performs one or more functions that include communication of voice and/or data via wireline connection 28 and/or the wireless communication path. In an embodiment of the present invention, the real-time and non-real-time devices 12, 1416, 18, 20, 22 and 24 can be personal computers, laptops, PDSs, mobile phones, such as cellular telephones, devices equipped with wireless local area network or Bluetooth transceivers, FM tuners, TV tuners, digital cameras, digital camcorders, or other devices that either produce, process or use audio, video signals or other data or communications.
In operation, the communication device includes one or more applications that include voice communications such as standard telephony applications, voice-over-Internet Protocol (VoIP) applications, local gaming, Internet gaming, email, instant messaging, multimedia messaging, web browsing, audio/video recording, audio/video playback, audio/video downloading, playing of streaming audio/video, office applications such as databases, spreadsheets, word processing, presentation creation and processing and other voice and data applications. In conjunction with these applications, the real-time data 26 includes voice, audio, video and multimedia applications including Internet gaming, etc. The non-real-time data 24 includes text messaging, email, web browsing, file uploading and downloading, etc.
In an embodiment of the present invention, the communication device 10 includes an integrated circuit, such as a combined voice, data and RF integrated circuit that includes one or more features or functions of the present invention. Such integrated circuits shall be described in greater detail in association with
In an embodiment of the present invention, the voice data RF IC is a system on a chip integrated circuit that includes at least one processing device. Such a processing device may be a microprocessor, micro-controller, digital signal processor, microcomputer, central processing unit, field programmable gate array, programmable logic device, state machine, logic circuitry, analog circuitry, digital circuitry, and/or any device that manipulates signals (analog and/or digital) based on operational instructions. The associated memory may be a single memory device or a plurality of memory devices that are either on-chip or off-chip such as memory 54. Such a memory device may be a read-only memory, random access memory, volatile memory, non-volatile memory, static memory, dynamic memory, flash memory, and/or any device that stores digital information. Note that when the Voice Data RF IC 50 implements one or more of its functions via a state machine, analog circuitry, digital circuitry, and/or logic circuitry, the associated memory storing the corresponding operational instructions for this circuitry is embedded with the circuitry comprising the state machine, analog circuitry, digital circuitry, and/or logic circuitry.
In operation, the voice data RF IC 50 executes operational instructions that implement one or more of the applications (real-time or non-real-time) attributed to communication devices 10 and 30 as discussed in conjunction with
In operation, the voice data RF IC 70 executes operational instructions that implement one or more of the applications (real-time or non-real-time) attributed to communication device 10 as discussed in conjunction with
In accordance with the present invention, the microphone detection circuit selectively supplies microphone current 202 to the microphone coupling 62 until a microphone is detected or until the button is pressed indicating a voice communication activity is about to begin. By not powering the microphone coupling continuously, the microphone power module 200 consumes less power.
In operation, the detection signal generator 208 asserts a microphone detection signal 212. In response, the microphone power module 200 supplies the microphone current 202 to the microphone coupling 62 and to microphone 60, if it is attached. The microphone detection module 204 detects when the microphone is not connected to the microphone coupling based on an impedance of the microphone coupling or the current draw by the emicrophone. In an embodiment of the present invention, a high impedance or low current draw indicates that no microphone is detected. Conversely, a lower impedance or high current draw indicates that microphone 60 is connected. Further, an even lower impedance or even higher current draw indicates that button of the microphone 60 is pressed and a voice communication activity is about to begin. When the microphone 60 is not connected to the microphone coupling 62 or a voice communication activity is not on, the microphone current 202 can be disconnected (such as by ceasing to generate this current) or set at very low level or powered in the discontinuous mode for voice activity detection in order to save power.
In an embodiment of the present invention, the detection signal generator 208 periodically asserts the microphone detection signal 212 to trigger the generation of the microphone current 202 and to periodically test whether a microphone is connected, such as one every 1 msec, 10 msec, 100 msec, 1 sec, or other time interval. The period can optionally depend on the particular application being executed by processing module 225, as indicated by a data line or data lines (not expressly shown) or other signaling generated by processing module 225 and received by detection signal generator 208. In an alternative embodiment, the detection signal generator 208 periodically asserts the microphone detection signal 212 repetitively, but not necessarily on a periodic basis, depending, for instance, on the particular application being executed by processing module 225.
In an embodiment of the present invention, the microphone detection module 204 detects when the microphone is connected to the microphone coupling by sampling the impedance of the microphone coupling or equivalently, the current draw, after waiting a settling time after the microphone detection signal 212 (or the microphone current 202) is asserted, to compensate for the time constant of the microphone, the amount of capacitive coupling and/or inductive loading. The impedance of the microphone coupling can be measured by the microphone detection module 204 by comparing the impedance, voltage or current to one or more thresholds that distinguish between states when a microphone is connected and disconnected. When the measured impedance indicates that the microphone 60 is connected to the microphone coupling 62, the microphone detection module 204 generates an interrupt signal 218 to the processing module 225. In response to this interrupt signal 218, the processing module 225 can execute operational instructions stored in memory that cause the processing module to execute a test routine, such as test routine 232, to confirm that the microphone is connected to the microphone. coupling. In particular, the processing module 225 can operate its own test to analyze audio data 214 to confirm if the microphone 60 is connected or the button is pressed. If so, the processing module 225 can execute operational instructions that cause the processing module to assert a command, such as power command 216 that caused the microphone power module 200 to continue to supply the microphone current 202. If not, an alternative power command, or absence of a power command 216 after a time-out period can cause the microphone power module 200 to shut down the microphone current 202 and to run the detection discontinuously.
In an embodiment of the present invention the microphone detection module 204 compares the microphone impedance 206 to a microphone impedance range that corresponds to the expected impedance of the microphone 60 such as is approximately 1 kΩ-2 kΩ, less than 5 kΩ, or other impedance range. The microphone detection circuit 204 sets a microphone present flag, such as interrupt signal 218 or other data signal used by processing module 225 to execute a test routine, launch an audio application or take other steps that are appropriate to the new connection of the microphone 60. In addition or in the alternative, the microphone detection module 204 can couple the microphone present signal to the microphone power module 200, detection signal generator 208 and/or audio codec 214 to take appropriate steps if a microphone is detected, such as processing audio data 220 by audio codec 214, continuing the microphone current 202 generated by microphone power module 200 and/or suspending the microphone detection signal 212 until the communication device 10 or 30, or voice data RF IC 50 or 70 is powered down.
In a further embodiment of the present invention, the microphone detection module 204 compares the microphone impedance 206 to a low impedance threshold, less than the standby impedance of the microphone 60, and sets a microphone present flag and a button depressed flag when the microphone coupling impedance compares favorably to a low impedance threshold. The button depressed flag can indicate to the processing module 225 that microphone button is depressed and the microphone 60 is generating voice signals. In addition, the microphone detection module can includes a debounce filter 210 for filtering the microphone coupling voltage. The debounce filter can include a low-pass filter, such as an audio filter for filtering audio signals from the microphone voltage to yield a more accurate measure of microphone impedance 206 when voice signals are being generated.
In a further embodiment of the present invention, after the microphone detection module 204 detects that the microphone is connected to the microphone coupling, the microphone detection module 204 compares the impedances of the microphone coupling or equivalently, the current draw, between two measurements, such as a current measurement and a prior stored measurement. The difference is compared to one or more thresholds that distinguish between states when a microphone is connected with the button depressed and when a microphone is connected with the button pressed. When the measured impedance difference indicates that the microphone 60 button is pressed, the microphone detection module 204 generates an interrupt signal 219 to the processing module 225. In response to this interrupt signal 218, the processing module 225 can execute operational instructions stored in memory that cause the processing module to execute a test routine, such as test routine 233, to confirm that the microphone is connected to the microphone coupling with the button pressed. In particular, the processing module 225 can operate its own test to analyze audio data 214 to confirm if the microphone 60 is connected and the button is pressed. If so, the processing module 225 can execute operational instructions that cause the processing module to assert a command, such as power command 216 that caused the microphone power module 200 to continue to supply the microphone current 202. If not, an alternative power command, or absence of a power command 216 after a time-out period can cause the microphone power module 200 to shut down the microphone current 202 and to run the detection discontinuously.
The various modules and circuitry of voice data RF IC 50 or 70 that are shown in conjunction with
In an embodiment of the present invention, step 400 is performed periodically. Further step 404 can include sampling the impedance of the microphone coupling after a microphone settling time, comparing the microphone impedance to a microphone impedance range, comparing the microphone impedance to a low impedance threshold, and/or low-pass filtering the microphone coupling voltage.
As may be used herein, the terms “substantially” and “approximately” provides an industry-accepted tolerance for its corresponding term and/or relativity between items. Such an industry-accepted tolerance ranges from less than one percent to fifty percent and corresponds to, but is not limited to, component values, integrated circuit process variations, temperature variations, rise and fall times, and/or thermal noise. Such relativity between items ranges from a difference of a few percent to magnitude differences. As may also be used herein, the term(s) “coupled to” and/or “coupling” and/or includes direct coupling between items and/or indirect coupling between items via an intervening item (e.g., an item includes, but is not limited to, a component, an element, a circuit, and/or a module) where, for indirect coupling, the intervening item does not modify the information of a signal but may adjust its current level, voltage level, and/or power level. As may further be used herein, inferred coupling (i.e., where one element is coupled to another element by inference) includes direct and indirect coupling between two items in the same manner as “coupled to”. As may even further be used herein, the term “operable to” indicates that an item includes one or more of power connections, input(s), output(s), etc., to perform one or more its corresponding functions and may further include inferred coupling to one or more other items. As may still further be used herein, the term “associated with”, includes direct and/or indirect coupling of separate items and/or one item being embedded within another item. As may be used herein, the term “compares favorably”, indicates that a comparison between two or more items, signals, etc., provides a desired relationship. For example, when the desired relationship is that signal 1 has a greater magnitude than signal 2, a favorable comparison may be achieved when the magnitude of signal 1 is greater than that of signal 2 or when the magnitude of signal 2 is less than that of signal 1.
The present invention has also been described above with the aid of method steps illustrating the performance of specified functions and relationships thereof. The boundaries and sequence of these functional building blocks and method steps have been arbitrarily defined herein for convenience of description. Alternate boundaries and sequences can be defined so long as the specified functions and relationships are appropriately performed. Any such alternate boundaries or sequences are thus within the scope and spirit of the claimed invention.
The present invention has been described above with the aid of functional building blocks illustrating the performance of certain significant functions. The boundaries of these functional building blocks have been arbitrarily defined for convenience of description. Alternate boundaries could be defined as long as the certain significant functions are appropriately performed. Similarly, flow diagram blocks may also have been arbitrarily defined herein to illustrate certain significant functionality. To the extent used, the flow diagram block boundaries and sequence could have been defined otherwise and still perform the certain significant functionality. Such alternate definitions of both functional building blocks and flow diagram blocks and sequences are thus within the scope and spirit of the claimed invention. One of average skill in the art will also recognize that the functional building blocks, and other illustrative blocks, modules and components herein, can be implemented as illustrated or by discrete components, application specific integrated circuits, processors executing appropriate software and the like or any combination thereof.