The present invention relates to a calibration circuit and a calibration method thereof, and more particularly, to a calibration circuit for calibrating an output level of a demodulator, and a calibration method thereof.
An FM demodulator demodulates FM signals into audio signals, and controls volume of the audio signals to be played to users. The volume control of the audio signals depends on the signal quality of the FM signals. When signal strength of the FM signal is weak (the signal-to-noise ratio of the FM signal is less than a certain threshold), the FM demodulator attenuates its output (i.e. the audio signals) to decrease noise effect. This operation is referred to as “soft mute”.
Traditionally, as shown in
The attenuation degree of the audio signal can be represented by a chart, as shown in
One objective of the present invention is therefore to provide a calibration circuit for calibrating an output level of a demodulator, and a calibration method thereof. By introducing a test signal with known signal strength, the calibration circuit can compensate the control signal of the RSSI module, and calibrate the output level of the demodulator, thereby resolving the above problems.
According to an exemplary embodiment of the present invention, a calibration circuit for calibrating an output level of a demodulator is disclosed. The calibration circuit comprises a test signal generator, a RSSI module and a calibration module. The test signal generator generates a test signal, and the RSSI module detects the test signal to generate a control signal, wherein the control signal controls the demodulator to process the test signal to generate an output signal. The calibration module then calibrates the RSSI module according to the output signal in order to calibrate the output level of the demodulator.
According to another exemplary embodiment of the present invention, a method of calibrating an output level of a demodulator controlled by an RSSI module is disclosed. The method comprises generating a test signal, detecting the test signal with the RSSI module to generate a control signal, processing the test signal with the demodulator according to the control signal to generate an output signal, and calibrating the RSSI module according to the output signal in order to calibrate the output level of the demodulator.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Certain terms are used throughout the description and following claims to refer to particular components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms “include” and “comprise” are used in an open-ended fashion, and thus should be interpreted to mean “include, but not limited to . . . ”. Also, the term “couple” is intended to mean either an indirect or direct electrical connection. Accordingly, if one device is coupled to another device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
In one embodiment, the calibration of the output level of the demodulator 320 roughly includes two stages: calibrating the input offset (first calibration stage) and calibrating the gain variation (second calibration stage). The present invention, however, is not limited to take place in two stages. The first or second calibration stage being performed separately to obtain better demodulation performance also belongs to the scope of the present invention.
In the first calibration stage, in order to calibrate the input offset of the demodulator 320 and the RSSI module 350, a test signal with predetermined signal strength S1 (i.e. the desired input signal strength at which the demodulator 320 starts to adjust its output signal strength) is provided by the test signal generator 360. Please refer to
A multiplexer 330 selects and outputs the test signal to the amplifier 340, and the test signal is then sent to a RSSI unit 351 of the RSSI module 350. The RSSI module 350 compares the output signal generated by the RSSI unit 351 with a reference signal generated by a reference voltage source 352. The difference between the RSSI module 350 and the conventional RSSI module shown in
In one embodiment, the calibration module 310 includes a comparator 312 and a controller 314. The comparator 312 determines if the first output signal Out1 is equal to the second output signal Out2, and then delivers the comparing result to the controller 314. When the comparing result indicates that the first output signal Out1 is not equal to the second output signal Out2, the controller 314 (a successive approximation register (SAR) in this embodiment) gradually adjusts the reference voltage source 352 (which will change the second control signal Ct2 and the second output signal Out2 correspondingly) until the comparator 312 has detected that the first output signal Out1 is equal to the second output signal Out2. In this way, the reference voltage level of the RSSI module 350 is calibrated to be close to the predetermined value S1, and the input offset is thereby compensated.
In the second calibration stage, the calibration module 310 compensates the gain variation caused by the demodulator 320, the amplifier 340 and the comparator 354 by calibrating output gain of the RSSI module 350. Firstly, a test signal with predetermined signal strength S2 is generated. The comparator 354 compares the test signal with the reference signal, which has been calibrated to have the desired reference voltage level S1 in the first calibration stage. The comparator 354 then generates the differential output signal of a first control signal Ct1 and a second control signal Ct2 to the demodulator 320. Since the signal strength S2 of the test signal is lower than that of the reference signal, the current I1 flowing through the transistor Q1 is greater than the current I2 flowing through the transistor Q2; that is, the second output signal Out2 will always be larger than the first output signal Out1. Therefore, in this situation, the calibration module 310 cannot utilize a simple comparator that can only detect whether the first and the second output signals are equal to each other. A more complex comparator, such as an analog-to-digital converter, is required. In order to solve this problem to reduce the production cost, a circuit is provided as shown in
The demodulator generates the first output signal Out1 and the second output signal Out2 according to the first control signal Ct1 and the second control signal Ct2. The comparator 312 then determines if the first output signal Out1 is equal to the second output signal Out2. When the comparing result indicates that the first output signal Out1 is not equal to the second output signal Out2, the controller 314 adjusts gain of the comparator 354, which is implemented by a programmable gain amplifier (PGA) in this embodiment. When the gain of the comparator 354 has been adjusted to let the first output signal Out1 be equal to the second output signal Out2, the gain variation is compensated, and the second calibration stage is complete. The impedance R2 is then decoupled from the transistor Q1, and the multiplexer 330 changes to input the down-conversion signal rather than the test signal to the amplifier 340 in order to switch the system back to the normal operation mode.
In another embodiment, an output stage (for example, an amplifier) of the demodulator 320 is segmented from the demodulator 320 to become a circuit connected after the demodulator 320. The control signal of the RSSI module 350 controls the output stage, and the calibration module 310 calibrates the RSSI module 350 according to the output signal of the output stage. The output level of the demodulator can be calibrated as well.
In the above embodiments, by comparing the output signal with a predetermined reference, and compensating the control signal of the RSSI module according to the comparing result, the output level of the demodulator can be calibrated. When the control signal is for selectively enabling or disabling a soft-mute attenuation implemented in the demodulator 320, the problems met by the prior arts (e.g. the practical soft-mute result varies from the ideal design) can be resolved. The audio signal output from the demodulator 320 is therefore optimum.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention.
Number | Name | Date | Kind |
---|---|---|---|
6188275 | Mattisson et al. | Feb 2001 | B1 |
6199594 | Mezzalira | Mar 2001 | B1 |
6603810 | Bednekoff et al. | Aug 2003 | B1 |
6895229 | Schetelig et al. | May 2005 | B2 |
7181205 | Scott et al. | Feb 2007 | B1 |
7541815 | Ichiyama et al. | Jun 2009 | B2 |
7554332 | Ichiyama et al. | Jun 2009 | B2 |
Number | Date | Country | |
---|---|---|---|
20090233566 A1 | Sep 2009 | US |