Audio device for reducing pop noise and processing method thereof
11114984 · 2021-09-07
Assignee
Inventors
Cpc classification
H03F2200/507
ELECTRICITY
H03G3/348
ELECTRICITY
H03M1/0881
ELECTRICITY
International classification
H03F1/30
ELECTRICITY
Abstract
An audio device for reducing pop noise is adapted to compensate for a direct current (DC) offset of an audio source signal and output the audio source signal to an audio playing device. The audio device includes a linear operation circuit, an adder, a digital-to-analog circuit, and an amplification circuit. The digital-to-analog circuit is coupled between the adder and the amplification circuit. The linear operation circuit generates a DC offset value based on a linear equation, a temperature parameter, a slope parameter, and a constant. The adder is configured to process an input signal and the DC offset value to generate a calibration signal. The digital-to-analog circuit is configured to convert a calibration signal in a digital form to a calibration signal in an analog form. The amplification circuit is configured to process the calibration signal in the analog form to output the audio source signal.
Claims
1. An audio device for reducing pop noise, adapted to compensate for a direct current (DC) offset value of an audio source signal and output the audio source signal to an audio playing device, the audio device comprising: a linear operation circuit for generating the DC offset value based on a linear equation, a temperature parameter, a slope parameter, and a constant, wherein the linear equation is:
Y=M*X+C wherein Y is the DC offset value, X is the temperature parameter, M is the slope parameter, and C is the constant; an adder for processing an input signal and the DC offset value to generate a calibration signal; a digital-to-analog circuit coupled to the adder, the digital-to-analog circuit being configured to convert the calibration signal in a digital form to the calibration signal in an analog form; an amplification circuit coupled to the digital-to-analog circuit, the amplification circuit being configured to process the calibration signal in the analog form to output the audio source signal; a temperature sensing circuit coupled to the linear operation circuit, the temperature sensing circuit generating the temperature parameter based on a temperature of the audio device and outputting the temperature parameter to the linear operation circuit; a storage device coupled to the linear operation circuit, the storage device being configured to store the slope parameter and the constant and output the slope parameter and the constant to the linear operation circuit; and a switch coupled to the amplification circuit, the switch being configured to control an output of the audio device, wherein when the switch is closed, the audio device outputs the audio source signal, and when the switch is opened, the audio device does not output the audio source signal.
2. The audio device according to claim 1, further comprising: a control circuit; and an audio output terminal coupled to the control circuit, the audio output terminal being configured to output the audio source signal to the audio playing device, wherein when the audio output terminal is coupled to the audio playing device, the audio output terminal outputs a coupling signal to the control circuit, and when the audio output terminal is not coupled to the audio playing device, the audio output terminal outputs a disconnection signal to the control circuit.
3. The audio device according to claim 2, wherein when the control circuit receives the coupling signal, the audio device compensates for the DC offset of the audio source signal based on a power-up process, the power-up process comprising: enabling the digital-to-analog circuit, the amplification circuit, the temperature sensing circuit, and the storage device; enabling the linear operation circuit; and outputting, by the control circuit, an on signal to close the switch.
4. The audio device according to claim 2, wherein the control circuit outputs an off signal based on the disconnection signal to open the switch.
5. An audio device for reducing pop noise, adapted to compensate for a direct current (DC) offset value of an audio source signal and output the audio source signal to an audio playing device, the audio device comprising: a linear operation circuit for generating the DC offset value based on a linear equation, a temperature parameter, a slope parameter, and a constant, wherein the linear equation is:
Y=M*X+C wherein Y is the DC offset value, X is the temperature parameter, M is the slope parameter, and C is the constant; an adder for processing an input signal and the DC offset value to generate a calibration signal; a digital-to-analog circuit coupled to the adder, the digital-to-analog circuit being configured to convert a calibration signal in a digital form to a calibration signal in an analog form; an amplification circuit coupled to the digital-to-analog circuit, the amplification circuit being configured to process the calibration signal in the analog form to output the audio source signal; a temperature sensing circuit coupled to the linear operation circuit, the temperature sensing circuit generating the temperature parameter based on a temperature of the audio device and outputting the temperature parameter to the linear operation circuit; a storage device coupled to the linear operation circuit, the storage device being configured to store the slope parameter and the constant and output the slope parameter and the constant to the linear operation circuit; an analog-to-digital circuit coupled to the amplification circuit, the analog-to-digital circuit being configured to sense an uncompensated DC offset value of the audio source signal; and a control circuit coupled between the analog-to-digital circuit and the storage device, the control circuit adjusting the slope parameter and the constant based on the uncompensated DC offset value of the audio source signal and outputting the slope parameter and the constant to the storage device.
6. An audio processing method for reducing pop noise, adapted to compensate for a direct current (DC) offset value of an audio source signal, the audio processing method comprising: obtaining a slope parameter and a constant; generating a temperature parameter based on a temperature of an audio device; generating the DC offset value based on a linear equation, the temperature parameter, the slope parameter, and the constant, wherein the linear equation is:
Y=M*X+C wherein Y is the DC offset value, X is the temperature parameter, M is the slope parameter, and C is the constant; processing an input signal and the DC offset value to generate a calibration signal; converting the calibration signal in a digital form to the calibration signal in an analog form; processing the calibration signal in the analog form to output the audio source signal; and using a switch to control an output of the audio device, wherein when the switch is closed, the audio device outputs the audio source signal, and when the switch is opened, the audio device does not output the audio source signal.
7. An audio processing method for reducing pop noise, adapted to compensate for a direct current (DC) offset value of an audio source signal, the audio processing method comprising: obtaining a slope parameter and a constant; generating a temperature parameter based on a temperature of an audio device; generating the DC offset value based on a linear equation, the temperature parameter, the slope parameter, and the constant, wherein the linear equation is:
Y=M*X+C wherein Y is the DC offset value, X is the temperature parameter, M is the slope parameter, and C is the constant; processing an input signal and the DC offset value to generate a calibration signal; converting the calibration signal in a digital form to the calibration signal in an analog form; processing the calibration signal in the analog form to output the audio source signal; sensing an uncompensated DC offset value of the audio source signal; and adjusting the slope parameter and the constant based on the uncompensated DC offset value of the audio source signal.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION
(6) Reference is made to
(7) In some embodiments, the audio device 10 for reducing pop noise is adapted to compensate for a direct current (DC) offset of an audio source signal S.sub.out and output the audio source signal S.sub.out to the audio playing device 20. It should be particularly noted that the audio device 10 can compensate for the DC offset of the audio source signal S.sub.out by sensing a temperature of the audio device 10. Therefore, when the audio device 10 outputs the audio source signal S.sub.out to the audio playing device 20, the audio playing device 20 does not emit pop noise as a result of a DC offset value Y.
(8) To continue, the audio device 10 includes an audio input terminal N.sub.out, an audio output terminal N.sub.out, a linear operation circuit 100, a temperature sensing circuit 200, a storage device 300, an adder 400, a digital-to-analog circuit 500, and an amplification circuit 600. The adder 400 is coupled to the audio input terminal N.sub.in, the linear operation circuit 100, and the digital-to-analog circuit 500. The linear operation circuit 100 is coupled to the temperature sensing circuit 200 and the storage device 300. The digital-to-analog circuit 500 is coupled to the amplification circuit 600.
(9) In some embodiments, the audio device 10 receives an input signal S.sub.in from the audio input terminal N.sub.in, and the audio device 10 outputs the audio source signal S.sub.out through the audio output terminal N.sub.out. The storage device 300 is configured to store a slope parameter M and a constant C and output the slope parameter M and the constant C to the linear operation circuit 100. The temperature sensing circuit 200 generates a temperature parameter X based on the temperature of the audio device 10 and outputs the temperature parameter X to the linear operation circuit 100. The linear operation circuit 100 generates a DC offset value Y based on a linear equation, the temperature parameter X, the slope parameter M. and the constant C. The storage device 300 is, for example but without limitation, a flash memory or a magnetic disc. According to some embodiments, the input signal S.sub.in is, for example but without limitation, audio, a noise signal, or a combination of audio and a noise signal.
(10) The linear equation is:
Y=M*X+C
(11) where Y is the DC offset value, X is the temperature parameter, M is the slope parameter, and C is the constant.
(12) In particular, the slope parameter M and the constant C are fixed values, and the slope parameter M and the constant C have been stored in the storage device 300. The temperature parameter X is measured in real time by the temperature sensing circuit 200 based on the temperature of the audio device 10. In other words, the temperature parameter X is a variable. Therefore, with the linear equation, the linear operation circuit 100 can obtain a different DC offset value Y based on a change in the temperature of the audio device 10. In other words, when the temperature of the audio device 10 changes, the linear operation circuit 100 can adjust the DC offset value Y based on the linear equation and the temperature parameter X. According to some embodiments, the slope parameter M and the constant C are obtained by the audio device 10 in advance based on a relationship between the temperature parameter X and the DC offset value Y.
(13) In some embodiments, the adder 400 is configured to process the input signal S.sub.in and the DC offset value Y to generate a calibration signal S.sub.ca. The digital-to-analog circuit 500 is configured to convert the calibration signal S.sub.ca i n a digital form to the calibration signal S.sub.ca in an analog form. The amplification circuit 600 is configured to process the calibration signal S.sub.ca in the analog form to output the audio source signal S.sub.out. In particular, since the DC offset value Y corresponds to a DC offset before the audio source signal S.sub.out is compensated, the input signal S.sub.in and the DC offset value Y are combined by the adder 400 to generate the calibration signal S.sub.ca in which the DC offset has been compensated, and then the calibration signal S.sub.ca is subjected to digital-to-analog conversion and amplification to generate the audio source signal S.sub.out in which the DC offset has been compensated.
(14) It should be particularly noted that the input signal S.sub.in and the DC offset value Y are signals in a digital form, so the calibration signal S.sub.ca generated after the input signal S.sub.in and the DC offset value Y are processed by the adder 400 is in a digital form. Both the audio source signal S.sub.out and the calibration signal S.sub.ca in the analog form are signals in an analog form.
(15) In some embodiments, the audio device 10 further includes an analog-to-digital circuit 700. a switch 800, and a control circuit 900. The switch 800 is coupled to the amplification circuit 600, and the control circuit 900 is coupled to the storage device 300. the analog-to-digital circuit 700, and the switch 800.
(16) In some embodiments, the analog-to-digital circuit 700 is configured to sense the DC offset value Y of the audio source signal S.sub.out. The control circuit 900 adjusts the slope parameter M and the constant C based on the DC offset value Y of the audio source signal S.sub.out and outputs the slope parameter M and the constant C to the storage device 300 to update the slope parameter M and the constant C in the storage device 300.
(17) Reference is made to
(18) In some embodiments, the storage device 300 has not stored the slope parameter M and the constant C, and the DC offset value Y output by the linear operation circuit 100 is zero, and therefore the DC offset of the audio source signal S.sub.out has not been compensated. The audio device 10 senses the DC offset Y at a high temperature and that at a low temperature respectively; the temperature sensing circuit 200 senses the temperature parameter X: and the analog-to-digital circuit 700 senses the DC offset values Y. When the control circuit 900 obtains the temperature parameters X and the DC offset values Y at the high temperature and the low temperature respectively, the control circuit 900 may obtain the slope parameter M and the constant C and outputs the slope parameter M and the constant C to the storage device 300 to update the slope parameter M and constant C in the storage device 300. Therefore, with the linear equation, the linear operation circuit 100 can obtain a DC offset value Y at a temperature between the high temperature and the low temperature through interpolation, and the linear operation circuit 100 can also obtain a DC offset value Y at a temperature beyond the high temperature or the low temperature through extrapolation.
(19) Still referring to
(20) In some embodiments, the control circuit 900 is coupled to the audio output terminal N.sub.out. The audio output terminal N.sub.out is configured to output the audio source signal S.sub.out to the audio playing device 20. When the audio output terminal N.sub.out is coupled to the audio playing device 20, the audio output terminal N.sub.out outputs a coupling signal S.sub.co to the control circuit 900. When the audio output terminal N.sub.out is not coupled to the audio playing device 20, the audio output terminal N.sub.out outputs a disconnection signal S.sub.di to the control circuit 900. In other words, the control circuit 900 can sense whether the audio output terminal N.sub.out is coupled to the audio playing device 20.
(21)
(22) Step S310: Enable the digital-to-analog circuit 500, the amplification circuit 600. the temperature sensing circuit 200, and the storage device 300;
(23) Step S320: Enable the linear operation circuit 100; and
(24) Step S330: The control circuit 900 outputs an on signal S.sub.on to close the switch 800.
(25) In some embodiments, when the control circuit 900 receives the disconnection signal S.sub.di, the control circuit 900 outputs an off signal S.sub.off based on the disconnection signal S.sub.di to open the switch 800. In particular, when the switch 800 is opened based on the off signal S.sub.off, the audio device 10 still keeps compensating for the DC offset of the audio source signal S.sub.out. Therefore, when the audio playing device 20 is disconnected from the audio output terminal N.sub.out, the audio playing device 20 does not emit pop noise as a result of the DC offset value Y.
(26)
(27) Step S410: The control circuit 900 outputs an off signal S.sub.off to open the switch 800; and
(28) Step S420: Disable the digital-to-analog circuit 500, the amplification circuit 600, the linear operation circuit 100, the temperature sensing circuit 200, and the storage device 300.
(29) It should be particularly noted that in some embodiments, step S420 is merely exemplary and is not limited herein. In other words, step S420 is not limited to which components in the audio device 10 are disabled. In particular, step S420 may allow some or all of the components in the audio device 10 to be disabled, or allow no components in the audio device 10 to be disabled.
(30)
(31) Step S510: Obtain a slope parameter M and a constant C based on the DC offset value Y of the audio source signal S.sub.out;
(32) Step S520: Obtain a temperature parameter X; and
(33) Step S530: Generate the DC offset value Y based on a linear equation, the temperature parameter X, the slope parameter M, and the constant C.
(34) In conclusion, the audio device 10 for reducing pop noise of the present invention can generate a DC offset value Y based on a linear equation, a slope parameter M, a constant C. and a temperature parameter X, so it can compensate for a DC offset value Y of an audio source signal S.sub.out, thereby reducing the influence of the temperature of the audio device 10 on the DC offset of the audio source signal S.sub.out. In some embodiments, the audio device 10 further includes a temperature sensing circuit 200, which measures a temperature of the audio device 10, and the audio device 10 can adjust the DC offset value Y based on a change in the temperature of the audio device 10 in real time, thereby effectively compensating for the DC offset of the audio source signal S.sub.out.