Audio processing device and method with echo cancellation mechanism
By using the signal processed by the power amplifier circuit of the playback device as the reference signal in the echo cancellation technology, the problem of insufficient accuracy of the reference signal in the prior art is solved, and the performance of echo cancellation and sound collection quality are significantly improved.
Patent Information
- Application Number
- CN202210954034.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-10
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2042-08-10
AI Technical Summary
In the existing echo cancellation technology, the accuracy of the reference signal is insufficient, which affects the effect of echo cancellation and leads to poor sound collection quality.
By selecting the signal processed by the power amplifier circuit of the playback device as the reference signal in the echo cancellation operation, the accuracy of the reference signal is improved, thereby improving the performance of echo cancellation.
Improves the accuracy and effect of echo cancellation, reduces echo interference, and improves the quality of sound collection.
Smart Images

Figure CN115442711B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of echo cancellation, and in particular to an audio processing device and method with an echo cancellation mechanism. Background Art
[0002] Echo cancellation is an important technology in sound collection. Echo cancellation technology eliminates echoes by estimating the echo path, thereby avoiding echo interference in sound collection.
[0003] The echo estimation process needs to be performed based on the reference signal. However, the accuracy of the reference signal directly affects the quality of echo cancellation and determines the quality of sound collection. Therefore, how to improve the accuracy of the reference signal is the most important issue for this technology. Summary of the invention
[0004] In view of the problems in the prior art, one objective of the present application is to provide an audio processing device and method with an echo cancellation mechanism to improve the accuracy of a reference signal.
[0005] The present application includes an audio processing device with an echo cancellation mechanism, including: an audio transmission circuit, configured to receive an input digital audio signal from an external device; a digital-to-analog conversion circuit, configured to perform digital-to-analog conversion according to the input digital audio signal to generate an output analog audio signal to a playback device, wherein the playback device includes a power amplifier circuit and a speaker, the power amplifier circuit is configured to power amplify the output analog audio signal to generate an amplified signal, and the speaker is configured to play the amplified signal to generate a playback sound; an analog-to-digital conversion circuit, configured to perform analog-to-digital conversion on the amplified signal generated by the power amplifier circuit to generate an amplified digital signal, and to perform analog-to-digital conversion on a received signal generated by a receiving device to generate a received digital signal, wherein the received signal includes a component of the playback sound; and a processor, configured to execute an echo cancellation algorithm to perform echo cancellation on the received digital signal according to the amplified digital signal to generate an output digital audio signal and transmit it to the external device through the audio transmission circuit.
[0006] The present application also includes an audio processing method with an echo cancellation mechanism, which is applied to an audio processing device, including: receiving an input digital audio signal from an external device through an audio transmission circuit; performing digital-to-analog conversion according to the input digital audio signal through a digital-to-analog conversion circuit to generate an output analog audio signal to a playback device, wherein the playback device includes a power amplifier circuit and a speaker, the power amplifier circuit is used to power amplify the output analog audio signal to generate an amplified signal, and the speaker is used to play the amplified signal to generate a playback sound; performing analog-to-digital conversion on the amplified signal generated by the power amplifier circuit to generate an amplified digital signal through the analog-to-digital conversion circuit, and performing analog-to-digital conversion on the received signal generated by the receiving device to generate a received digital signal, wherein the received signal includes a component of the playback sound; executing an echo cancellation algorithm through a processor to perform echo cancellation on the received digital signal according to the amplified digital signal to generate an output digital audio signal; and transmitting the output digital audio signal to the external device through the audio transmission circuit.
[0007] The technical solution provided in the present application improves the accuracy of the reference signal and thus improves the performance of the echo cancellation by selecting the signal processed by the power amplifier circuit of the playback device as the reference signal in the echo cancellation operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The features, implementation and effects of the present invention are described in detail below with reference to the drawings as preferred embodiments.
[0009] Figure 1 A block diagram showing an audio processing device, a playback device, and a sound receiving device with an echo cancellation mechanism in one embodiment of the present application;
[0010] Figure 2 A more detailed block diagram of an audio processing device according to an embodiment of the present application is shown;
[0011] Figure 3A A circuit diagram related to a power amplifier circuit in an embodiment of the present application is shown;
[0012] Figure 3B A circuit diagram related to a line input pin in an embodiment of the present application is shown;
[0013] Figure 3C A circuit diagram related to a radio input pin in an embodiment of the present application is shown;
[0014] Figure 4 A more detailed block diagram of an audio processing circuit in one embodiment of the present application is shown.
[0015] Figure 5A schematic diagram showing an echo cancellation system in an embodiment of the present application; and
[0016] Figure 6 A flowchart of an audio processing method with an echo cancellation mechanism in one embodiment of the present application is shown. DETAILED DESCRIPTION
[0017] One of the purposes of the present application is to provide an audio processing device and method with an echo cancellation mechanism, by selecting a signal processed by a power amplifier circuit of a playback device as a reference signal in the echo cancellation operation, thereby improving the accuracy of the feedback mechanism and thus improving the performance of the echo cancellation.
[0018] Please refer to Figure 1 . Figure 1 A block diagram showing an audio processing device 100 with an echo cancellation mechanism, a playback device 110 and a sound receiving device 120 in one embodiment of the present application.
[0019] The audio processing device 100 can be operated by a local user, using the playback device 110 and the sound receiving device 120 disposed outside the audio processing device 100 as interfaces to perform voice communication with an external device (not shown) operated by a remote user.
[0020] More specifically, the audio processing device 100 receives an input digital audio signal IDAS from an external device (not shown) operated by a remote user through, for example but not limited to, a network or other data transmission methods, and generates an output analog audio signal OAAS after processing, which is transmitted to the playback device 110 to play the playback sound PV for the local user to listen to. In one embodiment, the playback device 110 is a speaker.
[0021] The sound receiving device 120 receives the user voice UV of the local user, and also receives the playback sound PV played by the playback device 110, and finally generates a sound receiving signal RS and receives it by the audio processing device 100. In one embodiment, the sound receiving device 120 is a microphone.
[0022] One of the main purposes of the audio processing device 100 is to process and transmit the user voice UV received by the sound receiving device 120 to a remote user for listening. In order to prevent the remote user from hearing his own echo due to the sound receiving signal RS including the playback sound PV, the audio processing device 100 can receive the amplified signal AS generated by the playback device 110 according to the echo cancellation mechanism, and perform echo cancellation on the component corresponding to the playback sound PV in the sound receiving signal RS. The audio processing device 100 then transmits the output digital audio signal ODAS to an external device through, for example but not limited to, a network or other data transmission methods.
[0023] The structure and operation of the audio processing device 100 will be described in more detail below.
[0024] Please also refer to Figure 2 . Figure 2 A more detailed block diagram of the audio processing device 100 in one embodiment of the present application is shown.
[0025] The audio processing device 100 includes an audio transmission circuit 200, an audio processing circuit 210, a digital-to-analog conversion circuit 220, an analog-to-digital conversion circuit 230, a processor 240, and a storage circuit 250. The storage circuit 250 is configured to Figure 2 The audio transmission circuit 200, the audio processing circuit 210 and the processor 240 included in the dotted frame are electrically coupled to each other so that these circuits can perform data storage and reading.
[0026] The audio transmission circuit 200 receives an input digital audio signal IDAS from an external device. The audio transmission circuit 200 may receive the input digital audio signal IDAS via, for example, but not limited to, a network or other data transmission methods. In one embodiment, when the input digital audio signal IDAS is in a voice-encoded format, the audio processing device 100 may further include a decoding circuit (not shown) to perform voice decoding on the input digital audio signal IDAS.
[0027] The audio processing circuit 210 is configured to perform audio processing on the input digital audio signal IDAS. Figure 2 In FIG. 2 , the audio processing circuit 210 is illustrated as receiving the input digital audio signal IDAS directly from the audio transmission circuit 200 . However, in practice, the input digital audio signal IDAS received by the audio transmission circuit 200 may be temporarily stored by the storage circuit 250 before being retrieved by the audio processing circuit 210 .
[0028] The digital-to-analog conversion circuit 220 performs digital-to-analog conversion according to the input digital audio signal IDAS to generate an output analog audio signal OAAS to the playback device 110 . In one embodiment, the digital-to-analog conversion circuit 220 transmits the output analog audio signal OAAS to the playback device 110 via the line output pin 235 .
[0029] In one embodiment, Figure 1 The playback device 110 includes a power amplifier circuit 130 and a speaker 140 .
[0030] The power amplifier circuit 130 is configured to perform power amplification on the output analog audio signal OAAS to generate an amplified signal AS. In different embodiments, the power amplifier circuit 130 may be, for example but not limited to, a Class A analog amplifier or a Class D digital amplifier. In one embodiment, the amplification factor of the power amplifier circuit 130 may be 2 times.
[0031] The speaker 140 is configured to play the amplified signal AS to generate a playback sound PV that can be heard by the user.
[0032] The analog-to-digital conversion circuit 230 performs analog-to-digital conversion on the amplified signal AS generated by the power amplifier circuit 130 to generate an amplified digital signal ADS, and performs analog-to-digital conversion on the received signal RS generated by the receiving device 120 to generate an amplified digital signal ADS and a received digital signal RDS, respectively.
[0033] The sound receiving device 120 is actually configured to receive the user's voice UV. However, when the sound receiving device 120 is physically close to the playback device 110, it will also receive the playback sound PV generated by the playback circuit. Therefore, the sound receiving signal RS generated by the sound receiving device 120 will include both the user's voice UV and the playback sound PV generated according to the input digital audio signal IDAS.
[0034] In one embodiment, the analog-to-digital conversion circuit 230 receives the amplified signal AS through the line input pin 245A and receives the received signal RS through the received input pin 245B.
[0035] In one embodiment, the analog-to-digital conversion circuit 230 includes a single analog-to-digital conversion circuit having two channels corresponding to the amplified signal AS and the received signal RS, respectively. In another embodiment, the analog-to-digital conversion circuit 230 includes two analog-to-digital conversion sub-circuits (not shown) corresponding to the amplified signal AS and the received signal RS, respectively.
[0036] The analog-to-digital conversion circuit 230 can process the amplified signal AS and the received sound signal RS independently of each other. In more detail, since the amplified signal AS and the received sound signal RS are generated in different ways, the time points at which they are generated and the magnitudes of their strengths are also different. Therefore, the analog-to-digital conversion circuit 230 does not convert the amplified signal AS and the received sound signal RS at the same time. Moreover, the analog-to-digital conversion circuit 230 can set different gain values for the amplified signal AS and the received sound signal RS for processing.
[0037] In one embodiment, after receiving the amplified signal AS, the analog-to-digital conversion circuit 230 does not amplify the amplified signal AS any more.
[0038] The following will provide examples of detailed circuit connections between the audio processing device 100 , the playback device 110 , and the sound receiving device 120 .
[0039] Please also refer to FIG. 3A to FIG. 3C . Figure 3A A circuit diagram related to the power amplifier circuit 130 in one embodiment of the present application is shown. Figure 3B A circuit diagram related to the line input pin 245A in one embodiment of the present application is shown. Figure 3C A circuit diagram related to the audio input pin 245B in one embodiment of the present application is shown.
[0040] like Figure 3A As shown, the power amplifier circuit 130 is electrically coupled to the line output pin 235 through the line 300 to receive the output analog audio signal OAAS, and the GPIO pin 150 controls the switch of the speaker 140 by enabling the control 130. The GPIO pin 150 is electrically coupled to the line input pin 245A through the line 320 to transmit the amplified signal AS to the analog-to-digital conversion circuit 230.
[0041] like Figure 3B As shown, the line input pin 245A selectively receives the amplified signal AS through the low-pass filter circuit 330 and the voltage divider circuit 340 .
[0042] In one embodiment, the low-pass filter circuit 330 includes a resistor R1 and a capacitor C1, and can be configured according to the type of the power amplifier circuit 130 to filter the amplified signal AS. For example, in a numerical example, when the power amplifier circuit 130 is a class D digital amplifier, the resistor R1 is 100 ohms and the capacitor is 47 nanofarads. When the power amplifier circuit 130 is a class A analog amplifier, the resistor R1 can be configured as a 0 ohm resistor (OR), and the capacitor C1 can be configured as "not connected (NC)".
[0043] The voltage divider circuit 340 is configured to divide the filtered amplified signal AS so that the voltage of the amplified signal AS is less than a preset level. In a numerical example, when the undivided amplified signal AS is 5 volts, the voltage divider circuit 340 can control the divided amplified signal AS to a voltage within a peak-to-peak value (Vp-p) of 3 volts.
[0044] like Figure 3C As shown, the audio input pin 245B is filtered by the capacitance circuit 350 to receive the audio signal RS from the audio receiving device 120. It should be noted that Figure 3C The structure of the capacitive resistor circuit 350 is only an example, and the present application is not limited thereto.
[0045] After receiving the amplified digital signal ADS and the received digital signal RDS, the audio processing circuit 210 is configured to perform audio processing on the amplified digital signal ADS and the received digital signal RDS and then the processor 240 performs echo cancellation according to the processed amplified digital signal PADS and the processed received digital signal PRDS.
[0046] Please refer to Figure 4 . Figure 4 A more detailed block diagram of the audio processing circuit 210 is shown in FIG. Figure 4 As shown, the audio processing circuit 210 includes a signal conversion circuit 400 , a resampling circuit 410 , a filtering circuit 420 , and a gain adjustment circuit 430 .
[0047] The signal conversion circuit 400 is configured to convert the format of the amplified digital signal ADS and the received digital signal RDS, for example but not limited to, from a pulse density modulation (PDM) format to a pulse code modulation (PCM) format.
[0048] The re-sampling circuit 410 is configured to adjust the sampling rate of the format-converted amplified digital signal ADS and the received digital signal RDS, such as but not limited to converting from a high sampling rate to a low sampling rate.
[0049] The filter circuit 420 is configured to filter the amplified digital signal ADS and the received digital signal RDS after the sampling rate is adjusted.
[0050] The gain adjustment circuit 430 is configured to adjust the gain of the filtered amplified digital signal ADS and the received digital signal RDS so that the processor 240 can perform echo cancellation accordingly.
[0051] exist Figure 2 In the figure, the processor 240 is illustrated as receiving the processed amplified digital signal PADS and the processed received digital signal PRDS directly from the audio processing circuit 210. However, in practice, the audio processing circuit 210 may include a direct memory access circuit 440 configured to transmit the processed amplified digital signal PADS and the processed received digital signal PRDS to the storage circuit 250 for temporary storage, and then retrieved by the processor 240 for performing echo cancellation.
[0052] It should be noted that each circuit included in the audio processing circuit 210 is illustrated as a single circuit. However, in practice, individual circuits may be set to process the amplified digital signal ADS and the received digital signal RDS in different paths. Moreover, the circuit structure and the processing performed by the audio processing circuit 210 are only examples. In other embodiments, the audio processing circuit 210 may also include different circuits or perform different processing. The present application is not limited thereto.
[0053] Furthermore, the audio processing performed by the audio processing circuit 210 on the input digital audio signal IDAS may be the same as the audio processing performed on the amplified digital signal ADS and the received digital signal RDS, or may include different audio processing according to actual needs.
[0054] The processor 240 executes an echo cancellation algorithm to retrieve the processed amplified digital signal PADS and the processed received digital signal PRDS from the storage circuit 250, and then performs echo cancellation on the processed received digital signal PRDS according to the processed amplified digital signal PADS to generate an output digital audio signal ODAS and transmit it to an external device through the audio transmission circuit 200. In one embodiment, the processor 240 executes the echo cancellation algorithm by executing internal software.
[0055] Please refer to Figure 5 . Figure 5 A schematic diagram of an echo cancellation system 500 is shown in one embodiment of the present application. In one embodiment, the echo cancellation system 500 is implemented by a software module executed by the processor 240. Figure 5 As shown, the echo cancellation system 500 includes an adaptive filtering module 510 and a nonlinear processing module 520 .
[0056] The adaptive filtering module 510 is configured to calculate and generate an error signal ES through an adaptive mechanism using a Normalized Least Mean Square (NLMS) algorithm on the processed amplified digital signal PADS and the processed received digital signal PRDS.
[0057] In one embodiment, the adaptive filtering module 510 further includes a normalized least square root mean square calculation module 530 and an error calculation module 540. The normalized least square root mean square calculation module 530 performs calculations based on the processed amplified digital signal PADS and the feedback error signal ES to generate an echo estimation signal EES. The error calculation module 540 further calculates the error signal ES based on the processed received digital signal PRDS and the echo estimation signal EES.
[0058] Furthermore, the non-linear processing module 520 performs non-linear processing on the error signal ES to generate an output digital audio signal ODAS.
[0059] In one embodiment, the audio processing device 100 may further include a coding circuit (not shown) to selectively perform speech coding on the output digital audio signal ODAS, and then transmit it to an external device operated by a remote user via, for example but not limited to, a network or other data transmission methods.
[0060] Therefore, the audio processing device 100 of the present application can improve the accuracy of the feedback mechanism by selecting the signal processed by the power amplifier circuit 130 of the playback device 110 as the reference signal for the echo cancellation operation, thereby improving the performance of the echo cancellation.
[0061] In more detail, since the reference signal for the echo cancellation operation in the present application is the amplified signal AS which is amplified by the power amplifier circuit 130 and then directly led back to the audio processing device 100 through the line, it is most similar to the playback sound PV received by the sound receiving device 120. In addition, the amplified signal AS and the playback sound PV in the sound receiving signal RS are both generated by converting digital audio into analog audio through the digital-to-analog conversion circuit 220, and the similarity is high. The only difference is the processing process of the speaker 140 and the sound receiving device 120. Therefore, this method can have a better echo cancellation effect and is easier to control the echo cancellation processing process.
[0062] Please refer to Figure 6 . Figure 6 A flowchart of an audio processing method 600 with an echo cancellation mechanism is shown in one embodiment of the present application.
[0063] In addition to the aforementioned apparatus, the present application further discloses an audio processing method 600, which is applied to, for example, but not limited to Figure 2 In the audio processing device 100 of FIG. 1 , an embodiment of the audio processing method 600 includes the following steps.
[0064] In step S610 , an input digital audio signal IDAS is received from an external device via the audio transmission circuit 200 .
[0065] In step S620, the digital-to-analog conversion circuit 220 performs digital-to-analog conversion according to the input digital audio signal IDAS to generate an output analog audio signal OAAS to the playback device 110, wherein the playback device 110 includes a power amplifier circuit 130 and a speaker 140, the power amplifier circuit 130 is used to amplify the output analog audio signal OAAS to generate an amplified signal AS, and the speaker 140 is used to play the amplified signal AS to generate a playback sound PV.
[0066] In step S630, the analog-to-digital conversion circuit 230 performs analog-to-digital conversion on the amplified signal AS generated by the power amplifier circuit 130 to generate an amplified digital signal ADS, and performs analog-to-digital conversion on the received signal RS generated by the receiving device 120 to generate a received digital signal RDS, wherein the received signal RS includes a component of the playback sound PV.
[0067] In step S640 , the processor 240 executes an echo cancellation algorithm to perform echo cancellation according to the amplified digital signal ADS and the received digital signal RDS to generate an output digital audio signal ODAS.
[0068] In step S650 , the output digital audio signal ODAS is transmitted to an external device via the audio transmission circuit 200 .
[0069] It should be noted that the above implementation is only an example. In other embodiments, those skilled in the art may make changes without violating the spirit of the present application.
[0070] Although the embodiments of the present case are described above, these embodiments are not intended to limit the present case. Those with ordinary knowledge in the technical field may make changes to the technical features of the present case based on the explicit or implicit contents of the present case. All these changes may fall within the scope of patent protection sought in the present case. In other words, the scope of patent protection in the present case shall be subject to the scope of the patent application defined in this specification.
[0071]
Explanation of symbols
[0072] 100: audio processing device;
[0073] 110: playback device;
[0074] 120: radio receiver;
[0075] 130: power amplifier circuit;
[0076] 140: Speaker;
[0077] 150: GPIO pin;
[0078] 200: audio transmission circuit;
[0079] 210: audio processing circuit;
[0080] 220: digital to analog conversion circuit;
[0081] 230: analog to digital conversion circuit;
[0082] 235: Line output pin;
[0083] 240: processor;
[0084] 245A: Line input pin;
[0085] 245B: Radio input pin;
[0086] 250: storage circuit;
[0087] 300, 310, 320: lines;
[0088] 330: low pass filter circuit;
[0089] 340: voltage divider circuit;
[0090] 400: signal conversion circuit;
[0091] 410: resampling circuit;
[0092] 420: filter circuit;
[0093] 430: gain adjustment circuit;
[0094] 440: direct memory access circuit;
[0095] 500: echo cancellation system;
[0096] 510: adaptive filtering module;
[0097] 520: nonlinear processing module;
[0098] 530: Regularized least square root mean square calculation module;
[0099] 540: error calculation module;
[0100] 600: audio processing method;
[0101] S610~S650: steps;
[0102] AS: amplify signal;
[0103] ADS: Amplify digital signal;
[0104] C1: capacitor;
[0105] EES: echo estimation signal;
[0106] ES: error signal;
[0107] IDAS: input digital audio signal;
[0108] OAAS: output analog audio signal;
[0109] ODAS: output digital audio signal;
[0110] PADS: processed amplified digital signal;
[0111] PRDS: Processed Radio Digital Signal;
[0112] PV: play sound;
[0113] R1: resistor;
[0114] RS: radio signal;
[0115] RDS: Radio digital signal;
[0116] UV: User Voice.
Claims
1. An audio processing device with an echo cancellation mechanism, characterized in that: include: an audio transmission circuit configured to receive an input digital audio signal from an external device; a digital-to-analog conversion circuit, configured to perform digital-to-analog conversion according to the input digital audio signal to generate an output analog audio signal to a playback device, wherein the playback device includes a power amplifier circuit and a speaker, the power amplifier circuit is configured to perform power amplification on the output analog audio signal to generate an amplified signal, and the speaker is configured to play the amplified signal to generate a playback sound; an analog-to-digital conversion circuit configured to perform analog-to-digital conversion on the amplified signal generated by the power amplifier circuit to generate an amplified digital signal, and to perform analog-to-digital conversion on the received signal generated by the receiving device to generate a received digital signal, wherein the received signal includes a component of the played sound; and a processor configured to execute an echo cancellation algorithm to perform echo cancellation on the received digital signal according to the amplified digital signal to generate an output digital audio signal and transmit it to the external device through the audio transmission circuit; The audio processing device further comprises: an audio processing circuit configured to perform audio processing on the amplified digital signal and the received digital signal and then perform echo cancellation by the processor; The audio processing circuit comprises: A signal conversion circuit, configured to perform format conversion on the amplified digital signal and the received digital signal; A resampling circuit is configured to adjust the sampling rate of the amplified digital signal and the received digital signal after the format conversion; A filter circuit configured to filter the amplified digital signal and the received digital signal after the sampling rate is adjusted; and The gain adjustment circuit is configured to perform gain adjustment on the amplified digital signal and the received sound digital signal after the filtering process.
2. The audio processing device according to claim 1, characterized in that The audio processing device also includes: a storage circuit, which is configured to temporarily store the input digital audio signal and then perform audio processing by the audio processing circuit, and temporarily store the amplified digital signal and the received digital signal after the audio processing by the audio processing circuit and then perform echo cancellation by the processor.
3. The audio processing device according to claim 2, characterized in that: The audio processing circuit includes: a direct memory access circuit configured to transmit the amplified digital signal and the received digital signal after the audio processing to the storage circuit for storage.
4. The audio processing device according to claim 1, characterized in that: The analog-to-digital conversion circuit asynchronously performs conversion of the amplified signal and the received sound signal.
5. The audio processing device according to claim 1, characterized in that: The processor is configured to perform adaptive filtering on the amplified digital signal and the received digital signal to generate an error signal, and perform nonlinear processing on the error signal to generate the output digital audio signal.
6. The audio processing device according to claim 1, characterized in that: After the amplified signal is received by the low-pass filter circuit and the voltage divider circuit, the analog-to-digital conversion is performed by the analog-to-digital conversion circuit.
7. The audio processing device according to claim 1, characterized in that: The analog-to-digital conversion circuit includes a single analog-to-digital conversion circuit having two channels corresponding to the amplified signal and the received audio signal respectively.
8. An audio processing method with an echo cancellation mechanism, applied to an audio processing device, characterized in that: include: receiving an input digital audio signal from an external device via an audio transmission circuit; Performing digital-to-analog conversion according to the input digital audio signal through a digital-to-analog conversion circuit to generate an output analog audio signal to a playback device, wherein the playback device includes a power amplifier circuit and a speaker, the power amplifier circuit is used to amplify the output analog audio signal to generate an amplified signal, and the speaker is used to play the amplified signal to generate a playback sound; Performing analog-to-digital conversion on the amplified signal generated by the power amplifier circuit to generate an amplified digital signal through an analog-to-digital conversion circuit, and performing analog-to-digital conversion on the received signal generated by the receiving device to generate a received digital signal, wherein the received signal includes a component of the played sound; executing an echo cancellation algorithm through a processor to perform echo cancellation on the received digital signal according to the amplified digital signal to generate an output digital audio signal; and transmitting the output digital audio signal to the external device through the audio transmission circuit; The method further comprises: After the amplified digital signal and the received digital signal are subjected to audio processing by the audio processing circuit, the processor performs echo cancellation; The step of performing audio processing on the amplified digital signal and the received digital signal by an audio processing circuit includes: Performing format conversion on the amplified digital signal and the received digital signal; Adjusting the sampling rate of the amplified digital signal and the received digital signal after format conversion; Performing filtering processing on the amplified digital signal and the received digital signal after the sampling rate is adjusted; and The gain of the amplified digital signal and the received digital signal after filtering is adjusted.
9. The audio processing method according to claim 8, characterized in that: The analog-to-digital conversion circuit asynchronously performs conversion on the amplified signal and the collected sound signal.
10. The audio processing method according to claim 8, characterized in that: The echo cancellation algorithm is executed by the processor, including: The amplified digital signal and the received digital signal are adaptively filtered to generate an error signal, and the error signal is nonlinearly processed to generate the output digital audio signal.
11. The audio processing method according to claim 8, characterized in that: Before the analog-to-digital conversion circuit performs analog-to-digital conversion on the amplified signal generated by the power amplifier circuit to generate an amplified digital signal, the method further includes: The amplified signal is received through a low-pass filter circuit and a voltage divider circuit.
12. The audio processing method according to claim 8, characterized in that: The analog-to-digital conversion circuit includes a single analog-to-digital conversion circuit having two channels corresponding to the amplified signal and the received audio signal respectively.
