This application claims priority from and the benefit of Korean Patent Application No. 10-2006-0121337, filed on Dec. 4, 2006, which is hereby incorporated by reference for all purposes as if fully set forth herein.
1. Field of the Invention
The present invention relates to a mobile terminal and, more particularly, to an apparatus and a method for compensating for audio signal distortion in a mobile terminal that automatically control audio signal amplification through feedback of output of an audio amplifier to provide high-quality sounds.
2. Discussion of the Background
Currently, most mobile terminals and mobile appliances use digital audio amplification technology to amplify audio signals. In digital amplification, an analog input audio signal is converted into a digital audio signal, which is then amplified by an audio amplifier and is output as a sequence of pulses to a speaker.
In a mobile terminal or mobile appliance, the gain of an audio amplifier may be set by circuits other than the audio amplifier. Once the amplifier gain is set to a particular value, the audio amplifier may be used at the set gain value irrespective of power levels of input audio signals. If the signal level of an audio signal input to the audio amplifier is too high, the audio amplifier may produce distorted output, which causes the speaker to generate poor sounds. This problem may become severe for a mobile terminal that includes a speaker having a low sound pressure level rating. That is, when the amplifier gain is set to a value greater than a normal gain value for louder sounds, the input of an audio signal that is unexpectedly strong may distort the amplifier output, thereby degrading the audio quality.
The present invention provides an apparatus and method for compensating for audio signal distortion in a mobile terminal, wherein distortion in an audio output signal may be detected and compensated to provide high-quality sounds.
Additional features of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention.
The present invention discloses a method for compensating for audio signal distortion in a mobile terminal, including generating a digital audio signal at a gain using a control unit, amplifying the digital audio signal into an amplified audio signal, reproducing the amplified audio signal, determining whether the amplified audio signal is distorted on the basis of at least one reference voltage, and adjusting the gain if the amplified audio signal is distorted.
The present invention also discloses an apparatus for compensating for audio signal distortion in a mobile terminal, including a control unit to generate a digital audio signal at a gain, a distortion compensating unit to amplify the digital audio signal and determine whether the amplified digital audio signal is distorted on the basis of at least one reference voltage, and a speaker to reproduce the amplified digital audio signal. If the amplified digital audio signal is distorted, the control unit adjusts the gain and then generates a new digital audio signal using the adjusted gain.
It is to be understood that both the foregoing description and the following detailed description are exemplary and explanatory and are intended to provide further explanation of the invention as claimed.
The accompanying drawings, which are included to provide a further understanding of the invention are incorporated in and constitute a part of this specification, illustrate embodiments of the invention, and together with the description serve to explain the principles of the invention.
The invention is described more fully hereinafter with reference to the accompanying drawings, in which embodiments of the invention are shown. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure is thorough, and will fully convey the scope of the invention to those skilled in the art. In the drawings, the size and relative sizes of layers may be exaggerated for clarity. Like reference numerals in the drawings denote like elements.
It will be understood that when an element or layer is referred to as being “on” or “connected to” another element or layer, it can be directly on or directly connected to the other element or layer, or intervening elements or layers may be present. In contrast, when an element is referred to as being “directly on” or “directly connected to” another element or layer, there are no intervening elements or layers present.
The mobile terminal of the present invention includes a speaker, and may be any information and communication appliance or multimedia appliance, such as a mobile communication terminal, a digital broadcast receiving terminal, a personal digital assistant, a smart phone, an international mobile telecommunications 2000 (IMT 2000) terminal, a wideband code division multiple access (WCDMA) terminal, or a universal mobile telecommunications system (UMTS) terminal.
Referring to
The control unit 160 includes a coder/decoder (codec) 162 for converting an audio signal Ao_Sig received from an external source into a digital audio signal D_Ao_Sig for further processing.
The distortion compensating unit 150 amplifies a digital audio signal D_Ao_Sig from the codec 162 to produce an amplified audio signal D_Am_Sig, checks whether the amplified audio signal is distorted, and sends a comparison signal Com_Sig to the control unit 160 depending upon distortion of the amplified audio signal.
The speaker 120 reproduces an amplified audio signal D_Am_Sig from the distortion compensating unit 150.
The RF unit 110 receives an audio signal Ao_Sig from an external source. The memory unit 130 stores audio signals Ao_Sig that are received and supplies a stored audio signal to the control unit 160 if requested.
The codec 162 is a piece of software that converts audio and video data into digital data suitable for processing by the control unit 160, and also converts digital data into audio and video data suitable for output through the speaker 120 and a display unit (not shown). In addition, the codec 162 may compress a large amount of data, such as moving image data, through encoding and may decompress compressed audio or video data through decoding. The codec 162 is controlled to have various gain values, as shown in
Referring to
The codec 162 generates a digital audio signal D_Ao_Sig corresponding to samples of a received audio signal Ao_Sig at a preset gain at a selected receive volume level. The gain may be adjusted within the associated gain value range based on the distortion status data from the distortion compensating unit 150. The adjusted gain may be used by the codec 162 to generate a new digital audio signal D_Ao_Sig corresponding to the next audio signal samples Ao_Sig.
Receive volume levels may be set by the user. For an audio signal Ao_Sig, the gain of the codec 162 may be adjusted within a gain value range associated with a receive volume level set by the user, according to a comparison signal Com_Sig fed back from the distortion compensating unit 150.
The distortion compensating unit 150 amplifies a digital audio signal D_Ao_Sig from the codec 162 to produce an amplified audio signal D_Am_Sig. The distortion compensating unit 150 outputs the amplified audio signal to the speaker 120, and also checks whether the amplified audio signal is distorted and feeds a comparison signal Com_Sig back to the control unit 160.
Referring to
The audio amplifier 152 amplifies a digital audio signal D_Ao_Sig to produce an amplified audio signal D_Am_Sig.
The filter 154 is configured to convert a portion of the amplified audio signal D_Am_Sig into an amplified analog signal A_Am_Sig. The filter 154 would be unnecessary if the audio amplifier 152 produces analog output.
The RMS measurer 156 measures an RMS voltage DCV_rms of the amplified analog signal A_Am_Sig.
The comparator section 158 compares the measured RMS voltage DCV_rms with a preset reference voltage, and sends a comparison signal Com_Sig as a comparison result to the control unit 160.
The reference voltage at the comparator section 158 may be changed by the control unit 160 according to receive volume levels. For example, a reference voltage of 1.75 V may be applied to the comparator section 158 for the receive volume level ‘1’, a reference voltage of 1.80 V for the receive volume level ‘2’, a reference voltage of 1.85 V for the receive volume level ‘3’, a reference voltage of 1.90 V for the receive volume level ‘4’, and a reference voltage of 1.95 V for the receive volume level ‘5’.
The speaker 120 reproduces an amplified audio signal D_Am_Sig from the audio amplifier 152.
The control unit 160 adjusts the gain of the codec 162 at the current receive volume level according to a comparison signal Com_Sig, resulting from previous samples of an input audio signal Ao_Sig fed back by the distortion compensating unit 150. The control unit 160 generates a digital audio signal D_Ao_Sig corresponding to current samples of the audio signal Ao_Sig at the adjusted gain, and provides the digital audio signal D_Ao_Sig to the distortion compensating unit 150. The distortion compensating unit 150 amplifies the digital audio signal D_Ao_Sig to produce an amplified audio signal D_Am_Sig, checks whether the amplified audio signal is distorted, and sends a comparison signal Com_Sig to the control unit 160. This process of signal generation, signal amplification, distortion checking, and codec gain adjustment is repeated until all samples of the audio signal Ao_Sig are output.
The above process is described in more detail as follows. The control unit 160 generates a digital audio signal D_Ao_Sig corresponding to samples of an input audio signal Ao_Sig, through the codec 162 at a preset gain at a selected receive volume level, and sends the generated digital audio signal D_Ao_Sig to the distortion compensating unit 150. The distortion compensating unit 150 amplifies the digital audio signal into an amplified audio signal D_Am_Sig, converts a portion of the amplified audio signal through filtering into an amplified analog signal A_Am_Sig, and measures an RMS voltage DCV_rms of the amplified analog signal. The distortion compensating unit 150 compares the measured RMS voltage with a preset reference voltage, generates a comparison signal Com_Sig indicating which of the RMS voltage and reference voltage is higher, and sends the generated comparison signal back to the control unit 160. The control unit 160 may perform codec gain adjustment by increasing or decreasing the gain of the codec 162 by a preset value on the basis of the comparison signal Com_Sig. The control unit 160 generates a new digital audio signal D_Ao_Sig corresponding to the next samples of the audio signal Ao_Sig at the adjusted gain, and sends the digital audio signal D_Ao_Sig to the distortion compensating unit 150. In return, the distortion compensating unit 150 sends another comparison signal Com_Sig back to the control unit 160.
For gain adjustment in repetition of the above process, the control unit 160 may decrease the gain of the codec 162 by a preset value when an RMS voltage is higher than the reference voltage (‘High’ in a feedback comparison signal). In addition, if the comparison result, plus other available information, indicates that an amplified signal is too weak due to prior gain reduction, the control unit 160 may increase the gain of the codec 162. For smooth audio output, the codec gain may be reset to, for example, the average of the initial unadjusted gain value and the current gain value. After processing the input audio signal Ao_Sig, the control unit 160 may reset the gain of the codec 162 to the initial gain value prior to gain adjustment so that the codec gain may be readjusted for a new audio signal from an external source.
The RF unit 110 receives an audio signal Ao_Sig from an external source through a communication channel, and forwards the received audio signal Ao_Sig to the control unit 160.
The memory unit 130 stores received audio signals Ao_Sig, and supplies a stored audio signal to the control unit 160 if requested.
The mobile terminal 100 may further include a display unit for displaying visual information, a music playing module such as an MPEG-1 Audio Layer 3 (MP3) module, a digital broadcast receiving module, and/or a camera module.
Referring to
The control unit 160 includes a codec 162 to convert an input audio signal Ao_Sig received from an external source into a digital audio signal D_Ao_Sig for further processing.
The distortion compensating unit 150 amplifies a digital audio signal D_Ao_Sig from the codec 162 to produce an amplified audio signal D_Am_Sig, outputs the amplified audio signal to the speaker 120, checks whether the amplified audio signal is distorted, and sends a comparison signal indicating the degree of distortion in the amplified audio signal to the control unit 160. The distortion compensating unit 150 may be included in the control unit 160.
The speaker 120 reproduces an amplified audio signal D_Am_Sig from the distortion compensating unit 150.
The RF unit 110 receives an audio signal Ao_Sig from an external source. The memory unit 130 stores audio signals Ao_Sig that are received and supplies a stored audio signal to the control unit 160 if requested.
The distortion compensating unit 150 of the mobile terminal 200 includes an audio amplifier 152, a filter 154, an RMS measurer 156, and a comparator section 158 including a plurality of comparators COM_1, COM_2, COM_3, and COM_4 connected in series.
The audio amplifier 152, filter 154, and RMS measurer 156 are identical to corresponding elements of the mobile terminal 100, and a repeated description thereof is omitted.
The comparator section 158 includes the serially connected comparators COM_1, COM_2, COM_3, and COM_4. Different reference voltages are applied to the comparators COM_1, COM_2, COM_3, and COM_4 to identify the degree of distortion in an amplified signal by sequentially comparing an RMS voltage of the amplified signal with the reference voltages thereof. The degree of distortion in the amplified signal is used by the control unit 160 for codec gain adjustment.
For example, assume that a first reference voltage of 0.5 V is applied to the comparator COM_1, a second reference voltage of 0.6 V is applied to the comparator COM_2, a third reference voltage of 0.7 V is applied to the comparator COM_3, a fourth reference voltage of 0.8 V is applied to the comparator COM_4, and an RMS voltage of 0.69 V is output by the RMS measurer 156. When the RMS voltage of 0.69 V is input to the comparator COM_1, the RMS voltage of 0.69 V is higher than the first reference voltage of 0.5 V. Hence, the comparator COM_1 outputs a ‘High’ value as a comparison signal COM_Q_1 to the control unit 160, and the RMS voltage of 0.69 V is passed to the comparator COM_2. When the RMS voltage of 0.69 V is input to the comparator COM_2, the RMS voltage of 0.69 V is higher than the second reference voltage of 0.6 V. Hence, the comparator COM_2 outputs a ‘High’ value as a comparison signal COM_Q_2 to the control unit 160, and the RMS voltage of 0.69 V is passed to the comparator COM_3. When the RMS voltage of 0.69 V is input to the comparator COM_3, the RMS voltage of 0.69 V is lower than the third reference voltage of 0.7 V. Hence, the comparator COM_3 outputs a ‘Low’ value as a comparison signal COM_Q_3 to the control unit 160, and the RMS voltage of 0.69 V is not passed to the comparator COM_4. Accordingly, the control unit 160 may identify the degree of distortion in an amplified signal using a feedback comparison signal from the distortion compensating unit 150.
In particular, the comparator section 158 of the mobile terminal 200 may be implemented using a combination of a transistor 20 (for example, a field-effect transistor) and a comparator 10, as shown in
The reference voltages may change according to the receive volume level of the codec 162. The reference voltages are set to higher values with the receive volume level, under the control of the control unit 160. For example, at the receive volume level ‘1’, the first, second, third, and fourth reference voltages may be set to 0.5 V, 0.6 V, 0.7 V, and 0.8 V, respectively. At the receive volume level ‘2’, the first, second, third, and fourth reference voltages may be set to 1.0 V, 1.1 V, 1.2 V, and 1.3 V, respectively.
At a given receive volume level, the gain of the codec 162 may be adjusted according to the degree of distortion in the amplified signal. For example, the control unit 160 decreases the codec gain by 50 in response to a comparison signal COM_Q_1 from the comparator COM_1, by 100 in response to a comparison signal COM_Q_2 from the comparator COM_2, by 150 in response to a comparison signal COM_Q_3 from the comparator COM_3, and by 200 in response to a comparison signal COM_Q_4 from the comparator COM_4.
In addition, if the comparison result, plus other available information, indicates that an amplified signal is too weak due to prior gain reduction, the control unit 160 may increase the gain of the codec 162. For smooth audio output, the codec gain may be reset to, for example, the average of the initial unadjusted gain value and the current gain value. At the end of processing of the current input audio signal Ao_Sig, the control unit 160 may reset the gain of the codec 162 to the initial gain value prior to gain adjustment so that the codec gain may be readjusted for a new audio signal from an external source.
The comparator section 158 of the mobile terminal 200 may be implemented using more than four serial comparison stages for finer gain adjustment.
Referring to
The control unit 160 includes a codec 162 to convert an input audio signal Ao_Sig received from an external source into a digital audio signal D_Ao_Sig for further processing.
The distortion compensating unit 150 amplifies a digital audio signal D_Ao_Sig from the codec 162 to produce an amplified audio signal D_Am_Sig, outputs the amplified audio signal to the speaker 120, checks whether the amplified audio signal is distorted, and sends a comparison signal indicating the degree of distortion in the amplified audio signal to the control unit 160.
The speaker 120 reproduces an amplified audio signal D_Am_Sig from the distortion compensating unit 150.
The RF unit 110 receives an audio signal Ao_Sig from an external source. The memory unit 130 stores the audio signals Ao_Sig, and supplies a stored audio signal to the control unit 160 if requested.
The distortion compensating unit 150 of the mobile terminal 300 includes an audio amplifier 152, a filter 154, an RMS measurer 156, and a comparator section 158 including a plurality of comparators COM_1, COM_2, COM_3, and COM_4 connected in parallel.
The audio amplifier 152, filter 154, and RMS measurer 156 are identical to corresponding elements of the mobile terminal 100, and a repeated description thereof is omitted.
The comparator section 158 includes the comparators COM_1, COM_2, COM_3, and COM_4 connected in parallel. Different reference voltages are applied to the comparators COM_1, COM_2, COM_3, and COM_4 to identify the degree of distortion in an amplified signal by simultaneously comparing an RMS voltage of the amplified signal with the reference voltages thereof. One of the four comparison results COM_Q_1, COM_Q_2, COM_Q_3, or COM_Q_4 is sent to the control unit 160. The control unit 160 adjusts the gain of the codec based on the degree of distortion in the amplified signal.
The reference voltages of the comparators may be changed according to the receive volume level of the codec 162, as described in connection with
At a given receive volume level, the gain of the codec 162 may be adjusted according to the degree of distortion in the amplified signal, as described in connection with
As described above, the distortion compensating unit 150 of the mobile terminal 300, in comparison to that of the mobile terminal 200, may provide faster distortion feedback to the control unit 160 by simultaneously comparing an RMS voltage with multiple reference voltages.
Referring to
At step S101, the audio signal Ao_Sig may be an incoming audio signal through the RF unit 110 or an audio signal stored in the memory unit 130. The set receive volume level determines one or more reference voltages to the comparator section 158. For example, the receive volume level may have five volume levels, and the reference voltage at a receive volume level ‘1’ may be different from that at a receive volume level ‘2’. The control unit 160 controls setting of different reference voltages to the comparator section 158 according to a change in the receive volume level.
If an input audio signal is not received, the control unit 160 may control the mobile terminal to perform a preset operation (S107).
If an input audio signal is received, the control unit 160 may convert the input audio signal Ao_Sig into a digital audio signal D_Ao_Sig through the codec 162 at a preset gain associated with the receive volume level, and may supply the digital audio signal to the distortion compensating unit 150 (S102). A range of gain values is defined for a receive volume level, as described in connection with
The distortion compensating unit 150 amplifies the digital audio signal through the audio amplifier 152 using a preset gain into an amplified audio signal D_Am_Sig (S103).
The amplified audio signal is output to the speaker 120 for reproduction (S104), and is compared with the reference voltage for distortion checking (S105).
At step S105, a portion of the amplified audio signal is converted through filtering into an amplified analog signal A_Am_Sig and the RMS voltage DCV_rms of the amplified analog signal is measured. If the audio amplifier 152 produces analog output, digital-to-analog conversion is unnecessary.
Further at step S105, checking for signal distortion may be performed differently according to the configuration of the comparator section 158. When the comparator section 158 includes a single comparator, the RMS voltage may be compared to a reference voltage and the comparison result (‘High’ or ‘Low’) may be transmitted to the control unit 160. The gain of the codec 162 may be adjusted in a stepwise manner with iterations of the distortion compensation loop.
When the comparator section 158 includes a plurality of serially connected comparators, the RMS voltage may be sequentially compared to different reference voltages of the serially connected comparators and the comparison result indicating the degree of distortion may be transmitted to the control unit 160. When the comparator section 158 includes a plurality of comparators connected in parallel, the RMS voltage may be simultaneously compared with different reference voltages of the parallel comparators and the comparison result indicating the degree of distortion may be transmitted to the control unit 160. The gain of the codec 162 may be more finely adjusted in a stepwise manner through iterations of the distortion compensation loop.
Thereafter, if the comparison result from the distortion compensating unit 150 indicates the occurrence of signal distortion, the control unit 160 may adjust the gain of the codec 162 according to the degree of distortion (S106), and may return to step S101 for further processing. The adjusted gain of the codec 162 may be used for processing of subsequent input audio signals.
At step S106, when the comparison result from the distortion compensating unit 150 having a single comparator is ‘High’, the control unit 160 may decrease the gain of the codec 162 by a preset value. When the comparison result from the distortion compensating unit 150 having multiple comparators indicates the degree of distortion, the control unit 160 may decrease the gain of the codec 162 by a preset value corresponding to the degree of distortion.
If the comparison result from the distortion compensating unit 150 indicates non-occurrence of distortion, the control unit 160 may return to step S101 to process the next input audio signal.
Further at step S106, if the comparison results indicate that an amplified signal is too weak due to prior gain reduction, the control unit 160 may increase the gain of the codec 162. That is, for signal distortion compensation, the gain of the codec 162 may be decreased when an audio signal that is too strong is input, and may be increased when an audio signal that is too weak is input after gain reduction.
As apparent from the above description, exemplary embodiments of the present invention provide an apparatus and method for compensating audio signal distortion in a mobile terminal that may adaptively compensate for signal distortion to provide high-quality sounds.
It will be apparent to those skilled in the art that various modification and variations can be made in the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention cover the modifications and variations of this invention provided they come within the scope of the appended claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
10-2006-0121337 | Dec 2006 | KR | national |
Number | Name | Date | Kind |
---|---|---|---|
4454608 | Maeba | Jun 1984 | A |
5642075 | Bell | Jun 1997 | A |
5907622 | Dougherty | May 1999 | A |
6233548 | Schwartz et al. | May 2001 | B1 |
7202742 | Nakagaki | Apr 2007 | B2 |
7210633 | Broere | May 2007 | B2 |
7221226 | Ogura | May 2007 | B2 |
7742746 | Xiang et al. | Jun 2010 | B2 |
8005231 | Shuttleworth et al. | Aug 2011 | B2 |
20060017501 | Nodake | Jan 2006 | A1 |
20070274531 | Camp | Nov 2007 | A1 |
Number | Date | Country |
---|---|---|
1020070002524 | Jan 2007 | KR |
Number | Date | Country | |
---|---|---|---|
20080132171 A1 | Jun 2008 | US |