This application relates to microphones and, more specifically, to improving the slew rate characteristics of the output drivers associated with these microphones.
In recent years digital microphones has becoming increasingly popular in portable electronic equipment and, in particular, as used with mobile phones. One advantage of digital microphones is their inherent property of being very immune to modulated RF signals, both radiated and conducted.
For example, microphones are typically placed in close vicinity to radio transmitters, i.e., the antenna, in many mobile phones. Previously, analog microphones have been used in mobile phones, but these are quite susceptible to modulated RF signals such as noise coming from the antenna. In an analog microphone the modulated RF signal is demodulated into an unwanted audio signal.
Digital microphones do not face many of the same demodulation issues or concerns as analog microphones. For instance, the immunity of digital microphones towards modulated RF signals opens the possibility of placed in close proximity to the antenna. However, this displacement creates new problems.
More specifically, the antenna of a typical mobile phone is not only used to transmit RF signals but also used to receive RF signals. The received RF signals are often very small, e.g., approximately −140 dBm, and thus are very sensitive to interfering signals.
As the output signal from the digital microphone is digital, then the output signal will have very steep edges (e.g., nS) and thus the frequency content of the signal reaches into several hundreds of MHz (and sometimes into the GHz range). This creates interference problems for the circuit.
For a more complete understanding of the disclosure, reference should be made to the following detailed description and accompanying drawings wherein:
Skilled artisans will appreciate that elements in the figures are illustrated for simplicity and clarity. It will further be appreciated that certain actions and/or steps may be described or depicted in a particular order of occurrence while those skilled in the art will understand that such specificity with respect to sequence is not actually required. It will also be understood that the terms and expressions used herein have the ordinary meaning as is accorded to such terms and expressions with respect to their corresponding respective areas of inquiry and study except where specific meanings have otherwise been set forth herein.
In the present approaches, the steepness of the edges created by a driver circuit for a digital output stream of a microphone is adaptively controlled by an active circuit that compensates for variances in load capacitance, production tolerances, and other factors. In some aspects, a control loop is utilized and this control loop varies the strength of the output driver. By “strength” and as used herein, it is meant drive capability. The varying of the strength is based in some aspects only upon digital feedback from the output of the driver and a controlled delay. In other aspects, an output driver is provided where the drive strength is controlled by a feedback loop assuring that the digital output signal settles with predetermined value given from a reference voltage.
In some examples, the output of the driver is sampled at a predetermined time after the reference clock changes and is then compared to a data signal that is received by the output buffer. If the output signal has not settled, then these two signals will be different. Consequently, the drive strength of the output buffer will be increased. If the two signals are equal, then the drive strength will be decreased and the output signal will then settle slower. The feedback loop will then, over time, assure that the settling time (over time and depending of the loop bandwidth of the regulation loop) approaches the desired settling time. It will be appreciated that from clock sample to clock sample, the settling time will vary but this has no detrimental effect. In other words, the desired settling time can be set with some margin or the feedback loop can be restricted to operate during a power up sequence and the obtained driver strength settings can then be stored in a register or other memory storage devices.
Referring now to
The digital microphone 102 may be any example of a digital microphone. The digital microphone 102 receives a voice signal and converts the voice signal to a digital signal that is presented at its output.
The output driver 104 adaptively controls the steepness of the edges of the output stream 105 by, in one example, using an active circuit that compensates for variances in the capacitance, production tolerances and/or other characteristics of the application 106. In some aspects, the output driver uses a control loop that is based only on digital feedback and a controlled delay. In other aspects, an output driver 104 is provided where the drive strength is controlled by a feedback loop assuring that the digital output signal settles with predetermined value given from a reference voltage. The structure and operation of example output drivers are described further below.
The application 106 is any type of application or load that utilizes the digital stream 105. In this respect, it may include various electrical and electronic components such as resistors and capacitors. Additionally, the application may include any type of processing capability and may be a part of another device (e.g., a component of a cellular phone or a computer to mention two examples).
Referring now to
The controller block 202, in one example, is an up/down counter. The comparison block 204 compares the feedback signal to a reference signal and produces signals for the controller. The driver block 206 includes adjustable current sources that produce the digital output stream.
In one example of the operation of the system of
It will be appreciated that the digital input from the microphone (shown in the waveform labeled 210) may be square-wave like. However, using the approaches described herein, the digital output stream may have waveforms with less steep edges (for example, as shown by the waveform labeled 212).
Referring now to
The output driver 300 provides control for the digitally adjustable current source 306 and digitally adjustable current sink 312. The comparator 314 samples the output signal with a clock delay signal 311(the delay with respect to a master clock). The asynchronous logic with the sampled signal from the comparator 314, in response, controls the up/down counters 302 and 304 together with the comparator 314. Asynchronous logic controls which of the counters of 302 or 304 is to be enabled and furthermore ensures that any of the two counters together with the comparator runs only when there is a logic state transition at the input 301
The up/down counter 302 produces N bits that control the drive strength of the current sink 306, and the up/down counter 304 produces N bits that control the drive strength of the current source 312. The current source 306 sources the current provided to a load 315 and the current sink 312 sinks the current provided from the load 315.
In operation, the output 309 of the driver circuit 300 is compared against a reference voltage value 307 at a time that is delayed with respect to the master clock. This delay represents the time when it is desirable for the output 309 to settle (e.g., approximately 100 ns after the master clock shifts). The comparator 314 will then determine if the output 309 at this specific time is either high or low compared to the reference voltage value 307. Based on the result of the comparison together with the logic state of the input 301, the asynchronous logic 318 determines which counter is to subject to change and whether the counter value should be increased or decreased. If the counter value is increased, the drive strength of the corresponding current source/sink will increase meaning faster settling at the next clock. On the other hand, if the counter value is decreased, the regulation loop will instead decrease the value of the respective counter and, consequently, the drive strength of the corresponding current source/sink will decrease meaning slower settling.
The example output driver of 300 can be kept running for a limited amount of time based on the assumption that the load of 315 is constant and not subject to change. In this manner, the circuit consisting of the counters, comparator and asynchronous logic is kept running for a time guaranteeing the counter output are at the right values, and then get disabled. Disabling ensures the counter values are halted to the final values. In one example, this operation can be done by use toggling counter that checks the number of toggling at the relevant counter output, and then disables the respective counter when the number of toggling reaches a preprogrammed value. Toggling counter 303 counts the toggling at counter 302 and halts 302, and toggling counter 305 counts the toggling at counter 304 and halts 304. Another example can be where the overall operation is controlled by an external circuit like a digital processor or controller.
Preferred embodiments of this invention are described herein, including the best mode known to the inventors for carrying out the invention. It should be understood that the illustrated embodiments are exemplary only, and should not be taken as limiting the scope of the invention.
This patent claims benefit under 35 U.S.C. §119 (e) to U.S. Provisional Application No. 61873572 entitled “Slew rate control apparatus for digital microphones” filed Sep. 4, 2013, the content of which is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
61873572 | Sep 2013 | US |