The present disclosure relates in general to circuits for audio devices, including without limitation personal audio devices such as wireless telephones and media players, and more specifically, to systems and methods for reducing signal distortion in an audio signal path in an audio device.
Personal audio devices, including wireless telephones, such as mobile/cellular telephones, cordless telephones, mp3 players, and other consumer audio devices, are in widespread use. Such personal audio devices may include circuitry for driving a pair of headphones or one or more speakers. Such circuitry often includes a power amplifier for driving an audio output signal to headphones or speakers.
In some personal audio devices, changes in a modulation index of a signal processing circuit may lead to signal distortion, such as a signal being clipped by a supply voltage providing power to the signal processing circuit.
In accordance with the teachings of the present disclosure, one or more disadvantages and problems associated with existing approaches to avoiding signal distortion in a signal processing system may be reduced or eliminated.
In accordance with embodiments of the present disclosure, a signal processing system may include a digital input for receiving a digital input signal, a digital-to-analog conversion stage powered from a reference voltage and coupled to the input gain control stage configured to convert the digital input signal into an intermediate analog signal, a modulation stage coupled to the digital-to-analog conversion stage wherein the digital-to-analog conversion stage controls the modulation stage to generate a pre-driver signal, a driver stage powered from a supply voltage via at least one supply voltage terminal and coupled to the modulation stage and configured to generate the analog output signal from the pre-driver signal; and a predictor configured to predict a distortion of the analog output signal and control a gain applied to at least one of the digital input signal and the analog output signal based on the prediction such that the predicted distortion is averted. The predictor may predict the distortion of the analog output signal based on at least one of the digital input signal, the reference voltage, the supply voltage, a current of the at least one supply voltage terminal, a reference voltage frequency, a supply voltage frequency, a current frequency of the current, and an impedance of a load coupled to an output of the driver stage.
In accordance with these and other embodiments of the present disclosure, a method may include predicting a distortion of an analog output signal generated from a digital input signal and controlling a gain applied to at least one of the digital input signal and the analog output signal based on the prediction such that the predicted distortion is averted. Predicting the distortion may comprise of the analog output signal based on at least one of the digital input signal, a reference voltage for powering a digital-to-analog conversion stage coupled to the input gain control stage configured to convert the digital input signal into an intermediate analog signal that is input to a modulation stage such that the digital-to-analog conversion stage controls the modulation stage to generate a pre-driver signal, a supply voltage for powering a driver stage coupled to the modulation stage and configured to generate the analog output signal from the pre-driver signal (wherein the driver stage is powered from the supply voltage via at least one supply voltage terminal), a current of the at least one supply voltage terminal, a reference voltage frequency, a supply voltage frequency, a current frequency of the current, and an impedance of a load coupled to an output of the driver stage.
In accordance with these and other embodiments of the present disclosure, a method may include receiving a digital input signal at a first integrated circuit from a second integrated circuit, receiving a supply voltage at the first integrated circuit from the second integrated circuit, generating an analog output signal from the digital input signal, predicting a distortion of the analog output signal based on the digital input signal and the supply voltage, and controlling a gain applied to at least one of the digital input signal and the analog output signal based on the predicting.
Technical advantages of the present disclosure may be readily apparent to one skilled in the art from the figures, description and claims included herein. The objects and advantages of the embodiments will be realized and achieved at least by the elements, features, and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are examples and explanatory and are not restrictive of the claims set forth in this disclosure.
A more complete understanding of the present embodiments and advantages thereof may be acquired by referring to the following description taken in conjunction with the accompanying drawings, in which like reference numbers indicate like features, and wherein:
In accordance with embodiments of the present disclosure, an integrated circuit for use in an audio device, such as a personal audio device (e.g., mobile telephone, portable music player, tablet computer, personal digital assistant, etc.), may include a signal path having a digital path portion (e.g., an audio compressor) and an analog path portion (e.g., an audio expander). The analog path portion may include an amplifier to receive an analog signal generated by the digital path portion and apply a gain to the analog signal to generate an output signal, wherein said output signal may be communicated to a loudspeaker for playback and/or to other circuitry for processing.
The integrated circuit described above may be used in any suitable system, device, or apparatus, including without limitation, a personal audio device.
DAC 14 may supply the intermediate analog signal to a Class-D modulator 15, such that the intermediate analog signal controls Class-D modulator 15 in order to generate an analog pre-driver signal. For example, in some embodiments, Class-D modulator 15 may generate the pre-driver signal as a pulse-width modulated signal, wherein the pulse widths of the pre-driver signal are a function of the intermediate analog signal. As shown in
A Class-D driver 16 may receive the pre-driver signal and output an analog signal that may be filtered by a low-pass filter 22 to generate analog output signal VOUT, which may be driven to a transducer (e.g., one or more of speakers 8A and 8B) for playback of audio sound. Thus, together Class-D driver 16 and low-pass filter 22 form a driver stage configured to generate analog output signal VOUT from the pre-driver signal output by Class-D modulator 15. As shown in
As depicted in
As shown in
At step 52, predictor 20 may determine if distortion is likely. If distortion is imminent, method 50 may proceed to step 54. Otherwise, if distortion is not imminent, method 50 may proceed to step 56. An example of predicting distortion is shown in
Although the foregoing paragraph contemplates that a priori indications of digital audio input signal DIG_IN and supply voltage VDD may be used to predict and avoid future distortion (e.g., clipping or other audio artifact), other a priori measurements (e.g., at least one of digital audio input signal DIG_IN, reference voltage VREF, supply voltage VDD, a current of at least one supply voltage terminal of Class-D modulator 15 or Class-D driver 16, a frequency associated with reference voltage VREF, a frequency associated with supply voltage VDD, a frequency associated with the current of the at least one supply voltage terminal of Class-D modulator 15 or Class-D driver 16, and an impedance of a load coupled to an output of audio IC 9) may be used to predict and avoid future distortion.
Turning again to
At step 56, in response to predicting absence of distortion, predictor 20 may increase one or both of the digital gain and the analog gain, subject to a maximum gain level for each. After completion of step 56, method 50 may proceed again to step 52.
Although
Method 300 may be implemented using signal processing system 10 or any other system operable to implement method 300. In certain embodiments, method 300 may be implemented partially or fully in software and/or firmware embodied in computer-readable media.
This disclosure encompasses all changes, substitutions, variations, alterations, and modifications to the exemplary embodiments herein that a person having ordinary skill in the art would comprehend. Similarly, where appropriate, the appended claims encompass all changes, substitutions, variations, alterations, and modifications to the exemplary embodiments herein that a person having ordinary skill in the art would comprehend. Moreover, reference in the appended claims to an apparatus or system or a component of an apparatus or system being adapted to, arranged to, capable of, configured to, enabled to, operable to, or operative to perform a particular function encompasses that apparatus, system, or component, whether or not it or that particular function is activated, turned on, or unlocked, as long as that apparatus, system, or component is so adapted, arranged, capable, configured, enabled, operable, or operative.
All examples and conditional language recited herein are intended for pedagogical objects to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are construed as being without limitation to such specifically recited examples and conditions. Although embodiments of the present inventions have been described in detail, it should be understood that various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the disclosure.