Active-standby switching audio processing method and system
By using ultrasonic signal superposition technology and time-frequency conversion technology in the audio system, the rapid fault detection and switching of the audio system is achieved, solving the problems of low detection accuracy and slow response in the existing technology, and improving the user experience.
Patent Information
- Application Number
- CN202510183531.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-19
- Publication Date
- 2025-05-23
AI Technical Summary
The existing audio systems have low accuracy in fault detection, long detection time, which affects the user experience.
By superimposing the ultrasonic signal with a preset frequency to the target main amplifier and the original audio signal, the high-pass filtering circuit and time-frequency conversion technology are used to analyze the signal spectrum in real time, extract key information, and achieve rapid fault detection and switching.
Improves the accuracy and response speed of fault detection, ensures the continuity and stability of audio output, and improves the user experience.
Smart Images

Figure CN120034791A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of audio processing, and in particular to an audio processing method and system for active / standby switching. Background Art
[0002] In audio systems, it is crucial to ensure signal continuity and high-quality output. Especially in some critical occasions, such as concerts, lectures, broadcasts, etc., audio interruption or distortion may lead to serious consequences. Therefore, the use of active-standby switchers can greatly improve the reliability of audio systems.
[0003] Audio equipment is often exposed to various working environments and may be affected by power fluctuations, hardware failures, poor connections, etc. The design concept of the active-standby switcher is based on network redundancy and fault recovery mechanism, ensuring that when the main signal chain fails, the backup signal chain can quickly take over, thus achieving seamless switching.
[0004] The existing conventional method is to detect the main signal chain so as to quickly switch to the backup signal chain when the main signal chain fails. The real-time detection of the main signal chain generally extracts the characteristics of the audio signal, such as extracting the spectral characteristics through Fourier transform, or evaluating the audio signal through parameters such as short-time energy, zero crossing rate, and peak-to-peak level in the time domain, and then determines whether a fault occurs.
[0005] Although this method can achieve the purpose of fault detection, the detection accuracy is not high due to signal fluctuations caused by problems with the audio signal itself and transmission link problems. In addition, the detection process takes a long time, affecting the user experience.
[0006] Using 22kHz audio signals for monitoring is an efficient processing method. The selection of this frequency can not only effectively avoid low-frequency interference heard by the human ear, but also analyze the signal spectrum in real time through algorithms such as Fourier transform to extract key information. This method improves the accuracy and response speed of fault detection. Summary of the invention
[0007] The purpose of the present invention is to provide an audio processing method and system for active-standby switching, which can effectively avoid low-frequency interference heard by the human ear, and can also analyze the signal spectrum in real time through algorithms such as Fourier transform, extract key information, and effectively improve the accuracy and response speed of fault detection.
[0008] To achieve the above object, a first aspect of an embodiment of the present invention discloses an audio processing method for active / standby switching, which comprises the following steps:
[0009] Inputting an ultrasonic signal of a preset frequency into a target main power amplifier to superimpose the ultrasonic signal with the original audio signal input into the target main power amplifier to obtain a mixed signal for playback by the target main power amplifier;
[0010] Receiving the mixed signal and passing the mixed signal through a high-pass filter circuit to obtain a filtered detection signal;
[0011] Converting the detection signal into a digital signal, and converting the digital signal into a frequency domain signal by time-frequency transformation;
[0012] The maximum frequency of the frequency domain signal is obtained, and the maximum frequency is compared with the preset frequency. When the difference between the maximum frequency and the preset frequency exceeds a preset range, the target main power amplifier is disconnected and the original audio signal is switched to the backup power amplifier corresponding to the target main power amplifier, and the backup power amplifier plays the original audio signal.
[0013] As an optional implementation, in the first aspect of the embodiment of the present invention, when there are multiple target main power amplifiers, a detection control signal is received, the number of target main power amplifiers is determined according to the detection control signal, and a multi-channel ultrasonic signal is generated, and the multi-channel ultrasonic signal corresponds one-to-one to the multiple target main power amplifiers, so as to be superimposed with the original audio signals received by the multiple target main power amplifiers respectively.
[0014] As an optional implementation, in the first aspect of the embodiment of the present invention, each target main power amplifier corresponds to a backup power amplifier, and when the target main power amplifier is disconnected, it switches to the corresponding backup power amplifier.
[0015] As an optional implementation, in the first aspect of the embodiment of the present invention, when the original audio signals corresponding to multiple target main amplifiers are the same, when one of the target main amplifiers is disconnected, the corresponding original audio signal is switched to any idle backup amplifier.
[0016] As an optional implementation manner, in a first aspect of the embodiment of the present invention, converting the digital signal into a frequency domain signal by time-frequency transformation includes:
[0017] The digital signal is subjected to fast Fourier transform to obtain its corresponding frequency domain signal.
[0018] As an optional implementation, in the first aspect of the embodiment of the present invention, when the backup power amplifier plays the original audio signal, the ultrasonic signal is superimposed on the original audio signal received by the backup power amplifier, and the superimposed signal received by the backup power amplifier is detected.
[0019] A second aspect of an embodiment of the present invention discloses an audio processing system for active / standby switching, comprising an audio chip, a target active power amplifier, a standby power amplifier, and a high-pass filter circuit, wherein the audio chip is used for:
[0020] Inputting an ultrasonic signal of a preset frequency into a target main power amplifier to superimpose the ultrasonic signal with the original audio signal input into the target main power amplifier to obtain a mixed signal for playback by the target main power amplifier;
[0021] receiving a mixed signal filtered by a high-pass filter circuit and recording the signal as a detection signal;
[0022] Converting the detection signal into a digital signal, and converting the digital signal into a frequency domain signal by time-frequency transformation;
[0023] The maximum frequency of the frequency domain signal is obtained, and the maximum frequency is compared with the preset frequency. When the difference between the maximum frequency and the preset frequency exceeds a preset range, the target main power amplifier is disconnected and the original audio signal is switched to the backup power amplifier corresponding to the target main power amplifier, and the backup power amplifier plays the original audio signal.
[0024] As an optional implementation, in the second aspect of the embodiment of the present invention, when there are multiple target main power amplifiers, the audio processing system also includes a detection control unit, which is used to generate a detection control signal, and the audio chip is also used to determine the number of target main power amplifiers according to the detection control signal, and generate multi-channel ultrasonic signals, the multi-channel ultrasonic signals corresponding one-to-one to the multiple target main power amplifiers, so as to be superimposed with the original audio signals received by the multiple target main power amplifiers respectively.
[0025] As an optional implementation, in the second aspect of the embodiment of the present invention, the audio chip includes a pilot generation unit, an A / D converter, a time-frequency conversion unit, a judgment unit and a switching unit, wherein the pilot generation unit is used to generate an ultrasonic signal, the A / D converter is used to convert the detection signal into a digital signal, the time-frequency conversion unit is used to convert the digital signal into a frequency domain signal, the judgment unit is used to obtain the maximum frequency of the frequency domain signal and compare the maximum frequency with the preset frequency, and the switching unit is used to disconnect the target main power amplifier and switch the original audio signal to the backup power amplifier corresponding to the target main power amplifier when the difference between the maximum frequency and the preset frequency exceeds a preset range, and the backup power amplifier plays the original audio signal.
[0026] As an optional implementation, in the second aspect of the embodiment of the present invention, the audio chip also includes a detection receiving unit and a multi-channel output unit, wherein the detection receiving unit is used to receive the detection control signal, and the multi-channel output unit is used to control the multi-channel output unit according to the detection control signal to divide the ultrasonic signal generated by the pilot generation unit into multiple channels, and superimpose them with the original audio signals received by the corresponding target main power amplifiers.
[0027] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0028] The embodiment of the present invention can effectively avoid low-frequency interference heard by human ears by adding ultrasonic signals to the original audio signals, and can also analyze the signal spectrum in real time through algorithms such as Fourier transform to extract key information, so as to more sensitively capture problems in the audio link and effectively improve the accuracy of fault detection;
[0029] Taking into account the actual user experience, it has the ability to respond to faults quickly while maintaining stable audio output. Its design is easy to understand and operate, meeting the high requirements of modern audio systems for flexibility and reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 A schematic flow chart of an audio processing method for active / standby switching according to the present invention;
[0031] Figure 2 It is a structural principle block diagram of the audio processing system for active / standby switching of the present invention;
[0032] Figure 3 This is a block diagram of the structure principle of the audio chip of the present invention;
[0033] Figure 4 The structural principle framework of the audio processing system with multiple main and standby amplifiers of the present invention is shown in FIG. Figure 1 ;
[0034] Figure 5 The structural principle framework of the audio processing system with multiple main and standby amplifiers of the present invention is shown in FIG. Figure 2 . DETAILED DESCRIPTION
[0035] Below, in conjunction with the accompanying drawings and specific embodiments, the present invention is further described. It should be noted that, under the premise of no conflict, the various embodiments described below or the various technical features can be arbitrarily combined to form a new embodiment. Except for special instructions, the materials and equipment used in this embodiment can be purchased from the market. Examples of the embodiments are shown in the accompanying drawings, in which the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.
[0036] In the description of the present application, it should be understood that the terms "upper", "lower", "front", "back", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as a limitation on the present application. In the description of the present application, "plurality" means two or more, unless otherwise precisely and specifically specified.
[0037] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "connected", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, or it can be connected through an intermediary medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0038] The terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or apparatuses.
[0039] Embodiment 1
[0040] Please refer to Figure 1 As shown, the first embodiment of the present invention discloses an audio processing method for active / standby switching, which mainly includes the following steps:
[0041] S110 , inputting an ultrasonic signal of a preset frequency into a target main power amplifier to superimpose the ultrasonic signal with the original audio signal input into the target main power amplifier to obtain a mixed audio signal for playing by the target main power amplifier.
[0042] The executor of the audio processing method for master-slave switching in the embodiment of the present invention is an audio chip, which can also be called a master-slave switcher, which has the ability to monitor audio signals in real time. Once a failure or abnormality of the main power amplifier (such as frequency deviation, etc.) is detected, it can automatically switch to the backup power amplifier in time to ensure the continuity of the audio output.
[0043] In a preferred embodiment of the present invention, an ultrasonic signal is generated by an audio chip and superimposed on the original audio signal input to the target main power amplifier. Therefore, on the one hand, when the target main power amplifier plays the original audio signal, since the ultrasonic signal is not audible to the human ear, it can avoid interfering with the normal playback of the original audio signal. On the other hand, in the subsequent detection process, it is only necessary to extract the ultrasonic signal to complete the detection. That is, if the corresponding ultrasonic signal can be extracted, it means that the target main power amplifier is playing normally. Otherwise, it means that there is a fault in the target main power amplifier, and it can be quickly switched to the backup power amplifier. It can be understood that the main power amplifier and its corresponding backup power amplifier can be converted to each other, that is, one of the two associated power amplifiers can be arbitrarily defined as the main power amplifier and the other as the backup power amplifier.
[0044] There are many ways to generate ultrasonic signals from audio signals. For example, ultrasonic signals can be generated through PWM, or through corresponding matching signals such as timers. The ultrasonic signal here is recorded as a pilot signal. For example, the frequency of the pilot signal can be set to 22KHz. In other embodiments, ultrasonic signals can be generated by other methods and then called by the audio chip.
[0045] The pilot signal and the original audio signal are sent to the target main amplifier together, where they are superimposed to form a mixed signal, which is played by the target main amplifier. Assume that we set the frequency of the ultrasonic signal to 22kHz, and the original audio signal is a piece of music. The two signals are superimposed together through a superimposer, and then the superimposed signal is sent to the target main amplifier for amplification. Since the frequency of the pilot signal is not audible to the human ear, the audio signal played by the target main amplifier is still the original audio signal, which will not have any impact on the user.
[0046] In some scenarios, there may be multiple target main amplifiers, and there are multiple ways to determine which target main amplifiers are included. For example, a signal is sent to the I / O port of the audio chip by means of a touch button or a mechanical button, and the number of target main amplifiers and which target main amplifiers are determined according to the pin of the audio signal receiving signal, and then the same ultrasonic signal is sent to all the target main amplifiers, or the contact with the audio chip is suggested through APP, mini-program or web page, and the target input is realized through these methods, or the target main amplifier is determined through voice, and the audio chip recognizes the voice signal.
[0047] Sending the same ultrasonic signal to all of these target main amplifiers can be achieved by building a voltage follower circuit through an audio distributor or a multi-channel operational amplifier (such as LM324, OP275), or by software.
[0048] S120 , receiving the mixed signal and passing the mixed signal through a high-pass filter circuit to obtain a filtered detection signal.
[0049] The mixed signal is collected and input into a high-pass filter circuit, so that the high-frequency signal in the mixed signal, namely the ultrasonic signal, can pass through, while the original audio signal is filtered out to obtain a detection signal.
[0050] S130, converting the detection signal into a digital signal, and converting the digital signal into a frequency domain signal through time-frequency transformation.
[0051] After the audio chip receives the detection signal, it converts the detection signal from an analog signal to a digital signal through its internal integrated A / D converter. Of course, the A / D converter can also be external to the audio chip. The converted digital signal can be time-to-frequency transformed. Time-to-frequency transformation is the conversion of digital signals from time domain to frequency domain, which can be achieved through fast Fourier transform.
[0052] The formula for discrete Fourier transform DFT is:
[0053]
[0054] Where x(n) is the nth sample value in the digital signal, X(k) is the complex value of the kth frequency branch in the frequency domain, and N is the total number of sampling points.
[0055] Direct calculation of DFT requires O(N 2 ), which is inefficient when the number of samples N is large.
[0056] Fast Fourier Transform (FFT) greatly reduces the amount of calculation by decomposing the calculation of DFT into multiple small-scale DFTs. Specifically, FFT uses the symmetry and periodicity of the signal to decompose a signal of length N into two signals of length N / 2 (samples with even and odd indices), and then performs recursive calculations. First, the DFT of length N / 2 is calculated, and then the DFT of length N is calculated through the merging step. The overall complexity can be reduced to O(NlogN), thereby achieving the purpose of fast calculation and improving the response speed.
[0057] S140, obtaining the maximum frequency of the frequency domain signal, and comparing the maximum frequency with the preset frequency, when the difference between the maximum frequency and the preset frequency exceeds a preset range, disconnecting the target main power amplifier and switching the original audio signal to a backup power amplifier corresponding to the target main power amplifier, and having the backup power amplifier play the original audio signal.
[0058] Normally, the maximum frequency of the obtained frequency domain signal should be the same as the frequency of the input ultrasonic signal, or there may be slight differences due to the mechanism of ultrasonic signal generation. Therefore, if the difference between the maximum frequency and the preset frequency, that is, the frequency of the set ultrasonic signal (which can be an absolute value) is within a preset range, for example 0-200Hz, it means that the target main power amplifier is working normally. On the contrary, if the difference between the two is large and deviates from the preset range, it means that there is an abnormality in the target main power amplifier. The audio chip can quickly switch the abnormal target main power amplifier to its corresponding backup power amplifier, so that the backup power amplifier continues to play the original audio signal.
[0059] In other embodiments, the same ultrasonic signal may also be applied to the standby power amplifier to perform similar detection to the above process. If both the main and standby power amplifiers are abnormal, an alarm signal is issued. For example, the lines corresponding to the main and standby power amplifiers will trigger a buzzer alarm to warn the user to perform inspection and maintenance. This alarm mechanism is an important function to ensure that users respond in a timely manner, which helps to reduce potential losses.
[0060] It is understandable that if there are multiple target main amplifiers, it is only necessary to disconnect the target main amplifier with an abnormality and switch to its corresponding standby amplifier. In other embodiments, when the multiple target main amplifiers all play the same original audio signal, the standby amplifiers can also be shared. When an abnormal target main amplifier appears, the abnormal target main amplifier is disconnected and its corresponding playback function is switched to any idle standby amplifier.
[0061] Embodiment 2
[0062] Embodiment 2 provides an audio processing system with active / standby switching. Figure 2 As shown, it mainly includes an audio chip 10, a main power amplifier 31, a backup power amplifier 32 (referred to as the backup power amplifier) and a high-pass filter circuit 40, wherein the audio chip 10 is used for:
[0063] Inputting an ultrasonic signal of a preset frequency to a target main power amplifier to be superimposed with an original audio signal 20 input to the target main power amplifier to obtain a mixed signal for playback by the target main power amplifier;
[0064] receiving a mixed signal filtered by a high-pass filter circuit and recording the signal as a detection signal;
[0065] Converting the detection signal into a digital signal, and converting the digital signal into a frequency domain signal by time-frequency transformation;
[0066] The maximum frequency of the frequency domain signal is obtained, and the maximum frequency is compared with the preset frequency. When the difference between the maximum frequency and the preset frequency exceeds a preset range, the target main power amplifier is disconnected and the original audio signal is switched to the backup power amplifier corresponding to the target main power amplifier, and the backup power amplifier plays the original audio signal.
[0067] When there are multiple main power amplifiers, the audio processing system also includes a detection control unit 50, which is used to generate a detection control signal, which can be implemented by connecting a touch button to the I / O port of the audio chip, and of course, it can also be implemented in other ways. The audio chip determines the number of target main power amplifiers according to the detection control signal, and generates multi-channel ultrasonic signals. The multi-channel ultrasonic signals correspond one-to-one to the multiple target main power amplifiers, so as to be superimposed with the original audio signals received by the multiple target main power amplifiers respectively.
[0068] Please refer to Figure 3 As shown, the audio chip 10 includes a detection and receiving unit 11, a pilot generating unit 12, a multi-channel output unit 13, an A / D converter 14, a time-frequency conversion unit 15, a judgment unit 16 and a switching unit 17.
[0069] The detection receiving unit 11, for example, can be a processor of an audio chip or other device or software unit with a detection function. The detection receiving unit 11 receives the detection control signal sent by the detection control unit 50 to determine the corresponding target main power amplifier, and then controls the multi-channel output unit 13 to divide the ultrasonic signal generated by the pilot generation unit 12 into multiple channels, and superimposes them with the original audio signal 20 received by the corresponding target main power amplifier.
[0070] The A / D converter 14 is used to convert the detection signal into a digital signal, the time-frequency conversion unit 15 is used to convert the digital signal into a frequency domain signal, the judgment unit 16 is used to obtain the maximum frequency of the frequency domain signal and compare the maximum frequency with the preset frequency, and the switching unit 17 is used to disconnect the target main power amplifier and switch the original audio signal to the backup power amplifier corresponding to the target main power amplifier when the difference between the maximum frequency and the preset frequency exceeds a preset range, and the backup power amplifier plays the original audio signal.
[0071] According to whether the original audio signals of multiple main and standby power amplifiers 30 are the same, they can be divided into two categories. One category is that each main and standby power amplifier 30 is input with a different original audio signal, and the other category is that each main and standby power amplifier is input with the same original audio signal. Of course, there is also a mixed category, that is, some main and standby power amplifiers are input with the same original audio signal, and some main and standby power amplifiers are input with different original audio signals. This method combines the first two methods, and its circuit design integrates the situations of the two, which will not be repeated here.
[0072] Take the case of a multi-channel target main amplifier consisting of two main and standby amplifiers (i.e. both main and standby amplifiers need to be tested) as an example. Please refer to Figure 4 As shown, when the first main power amplifier 311 (i.e. Figure 4 The main power amplifier 1) and the first main power amplifier 312 (i.e. Figure 4 When both the main power amplifier 2 in the amplifier 1 and the main power amplifier 2 in the amplifier 2 need to be detected, and the two input different original audio signals, respectively recorded as the first original audio signal 21 (ie Figure 4 The original audio signal 1 in the figure) and the second original audio signal 22 (i.e. Figure 4 The original audio 2) in the back-up power amplifier needs to correspond to the corresponding main power amplifier one by one, and the ultrasonic signal is divided into two identical signals by the multi-channel output unit, which are respectively recorded as the first ultrasonic signal and the second ultrasonic signal.
[0073] The first main power amplifier 311 and the first backup power amplifier 321 (i.e. Figure 4 The parallel input end of the backup power amplifier 1 in the embodiment receives the superimposed signal of the first original audio signal 21 and the first ultrasonic signal, and the parallel output end outputs the first mixed signal to the high-pass filter circuit 40. Similarly, the second main power amplifier 312 and the second backup power amplifier 322 (i.e. Figure 4 The parallel input end of the backup power amplifier 2 receives the superimposed signal of the second original audio signal 22 and the second ultrasonic signal, and the parallel output end outputs the second mixed signal to the high-pass filter circuit 40.
[0074] Initially, the two lines respectively realize audio playback through the first main power amplifier 311 and the second main power amplifier 312. The audio chip processes the received first mixed signal and the second mixed signal accordingly to determine whether there is an abnormality in the currently running first main power amplifier 311 and the second main power amplifier 312. When either of them has an abnormality, they are disconnected and switched to the corresponding backup amplifier.
[0075] Please refer to Figure 5 As shown, when the first main power amplifier 311 (i.e. Figure 5 The main power amplifier 1) and the first main power amplifier 312 (i.e. Figure 5When both the main power amplifier 2) need to be detected, and both input the same original audio signal, that is, the original audio signal 20, the backup power amplifier needs to correspond one-to-one with the corresponding main power amplifier, and the ultrasonic signal is still divided into two identical signals by the multi-channel output unit, which are respectively recorded as the first ultrasonic signal and the second ultrasonic signal.
[0076] The first main power amplifier 311 and the first standby power amplifier 321 (i.e. Figure 5 The backup power amplifier 1), the second main power amplifier 312, the second backup power amplifier 322 (ie Figure 5 The input end of the backup power amplifier 2) receives the superimposed signal of the original audio signal 20 and the first ultrasonic signal (it can also be the first ultrasonic signal), and the output ends of the four respectively output mixed signals to the high-pass filter circuit 40.
[0077] Initially, the two lines respectively realize audio playback through the first main power amplifier 311 and the second main power amplifier 312. The audio chip processes the received first mixed signal and the second mixed signal accordingly to determine whether there is an abnormality in the currently running first main power amplifier 311 and the second main power amplifier 312. If there is an abnormality in either of them, it will be disconnected and switched to any idle standby power amplifier. It can be understood that Figure 5 When there are more main power amplifiers, the number of backup power amplifiers can be equal to the number of main power amplifiers, or less than the number of main power amplifiers, or more than the number of main power amplifiers. In this case, unless all idle backup power amplifiers are abnormal, no alarm signal may be issued.
[0078] Finally, it should be noted that the above-mentioned implementation modes are only optional embodiments of the present invention and cannot be used to limit the scope of protection of the present invention. Any non-substantial changes and substitutions made by technicians in this field on the basis of the present invention are within the scope of protection required by the present invention.
Claims
1. An audio processing method for active / standby switching, characterized in that: It includes the following steps: Inputting an ultrasonic signal of a preset frequency into a target main power amplifier to superimpose the ultrasonic signal with the original audio signal input into the target main power amplifier to obtain a mixed signal for playback by the target main power amplifier; Receiving the mixed signal and passing the mixed signal through a high-pass filter circuit to obtain a filtered detection signal; Converting the detection signal into a digital signal, and converting the digital signal into a frequency domain signal by time-frequency transformation; The maximum frequency of the frequency domain signal is obtained, and the maximum frequency is compared with the preset frequency. When the difference between the maximum frequency and the preset frequency exceeds a preset range, the target main power amplifier is disconnected and the original audio signal is switched to the backup power amplifier corresponding to the target main power amplifier, and the backup power amplifier plays the original audio signal.
2. The audio processing method for active / standby switching according to claim 1, characterized in that: When there are multiple target main power amplifiers, a detection control signal is received, the number of target main power amplifiers is determined according to the detection control signal, and a multi-channel ultrasonic signal is generated. The multi-channel ultrasonic signal corresponds one-to-one to the multiple target main power amplifiers, so as to be superimposed with the original audio signals received by the multiple target main power amplifiers respectively.
3. The audio processing method for active / standby switching according to claim 2, characterized in that: Each target main power amplifier corresponds to a backup power amplifier, and when the target main power amplifier is disconnected, it switches to the corresponding backup power amplifier.
4. The audio processing method for active / standby switching according to claim 2, characterized in that: When the original audio signals corresponding to the multiple target main power amplifiers are the same, when one of the target main power amplifiers is disconnected, the corresponding original audio signal is switched to any idle standby power amplifier.
5. The audio processing method for active / standby switching according to any one of claims 1 to 4, characterized in that: The digital signal is converted into a frequency domain signal by time-frequency transformation, comprising: The digital signal is subjected to fast Fourier transform to obtain its corresponding frequency domain signal.
6. The audio processing method for active / standby switching according to any one of claims 1 to 4, characterized in that: When the standby power amplifier plays the original audio signal, the ultrasonic signal is superimposed on the original audio signal received by the standby power amplifier, and the superimposed signal received by the standby power amplifier is detected.
7. An audio processing system with active / standby switching, characterized in that: It includes an audio chip, a target main power amplifier, a backup power amplifier and a high-pass filter circuit, wherein the audio chip is used for: Inputting an ultrasonic signal of a preset frequency into a target main power amplifier to superimpose the ultrasonic signal with the original audio signal input into the target main power amplifier to obtain a mixed signal for playback by the target main power amplifier; receiving a mixed signal filtered by a high-pass filter circuit and recording the signal as a detection signal; Converting the detection signal into a digital signal, and converting the digital signal into a frequency domain signal by time-frequency transformation; The maximum frequency of the frequency domain signal is obtained, and the maximum frequency is compared with the preset frequency. When the difference between the maximum frequency and the preset frequency exceeds a preset range, the target main power amplifier is disconnected and the original audio signal is switched to the backup power amplifier corresponding to the target main power amplifier, and the backup power amplifier plays the original audio signal.
8. The audio processing system for active / standby switching according to claim 7, characterized in that: When there are multiple target main power amplifiers, the audio processing system also includes a detection control unit, which is used to generate a detection control signal. The audio chip is also used to determine the number of target main power amplifiers according to the detection control signal and generate multi-channel ultrasonic signals. The multi-channel ultrasonic signals correspond one-to-one to the multiple target main power amplifiers, so as to be superimposed with the original audio signals received by the multiple target main power amplifiers respectively.
9. The audio processing system for active / standby switching according to claim 8, characterized in that: The audio chip includes a pilot generation unit, an A / D converter, a time-frequency conversion unit, a judgment unit and a switching unit, wherein the pilot generation unit is used to generate an ultrasonic signal, the A / D converter is used to convert the detection signal into a digital signal, the time-frequency conversion unit is used to convert the digital signal into a frequency domain signal, the judgment unit is used to obtain the maximum frequency of the frequency domain signal and compare the maximum frequency with the preset frequency, and the switching unit is used to disconnect the target main power amplifier and switch the original audio signal to the backup power amplifier corresponding to the target main power amplifier when the difference between the maximum frequency and the preset frequency exceeds a preset range, and the backup power amplifier plays the original audio signal.
10. The active / standby switching audio processing system according to claim 9, characterized in that: The audio chip also includes a detection receiving unit and a multi-channel output unit, wherein the detection receiving unit is used to receive the detection control signal, and the multi-channel output unit is used to control the multi-channel output unit to divide the ultrasonic signal generated by the pilot generation unit into multiple channels according to the detection control signal, and superimpose them with the original audio signals received by the corresponding target main power amplifiers respectively.