Filtering system, filtering control method thereof and audio equipment
Through the filtering system of multi-filter paths and digital potentiometers, the filter function is switched according to the noise band, and the problem that RC filter cannot suppress dynamic noise floor is solved, improving the audio signal quality and user experience.
Patent Information
- Application Number
- CN202510360229.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-25
- Publication Date
- 2025-07-25
AI Technical Summary
In the prior art, fixed parameters RC filters cannot effectively suppress the dynamically changing noise floor, resulting in a degradation of sound quality, and may mistakenly filter out effective audio signals, affecting the user's auditory experience.
The filter module using multiple filter paths is used to control the switch module according to the noise band through the control module, which realizes gate and function switching of the filter path, and adjusts the filter parameters in combination with a digital potentiometer and capacitor to achieve flexible noise suppression.
Accurate suppression of dynamic noise is achieved, sound quality is improved, user auditory experience is improved, hardware costs are reduced, and circuit flexibility is enhanced.
Smart Images

Figure CN120377864A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of audio signal processing, and particularly relates to a filtering system, a filtering control method thereof, and an audio device. Background Art
[0002] In the technical field of audio signal processing, background noise refers to the noise at the background level that persists in the audio signal. Its sources may include various factors such as thermal noise of circuit components, environmental electromagnetic interference, power supply fluctuations, etc. Background noise not only reduces the signal-to-noise ratio of the audio signal, but also has a negative impact on the sound quality and affects the user's auditory experience. However, background noise is a long-existing problem and is difficult to completely eliminate. Therefore, in practical applications, how to reduce the negative impact of background noise on sound quality is crucial.
[0003] In the related art, the negative impact of background noise on sound quality is mostly reduced by an RC filter with fixed parameters. Among them, the RC filter forms an attenuation effect on signals within a specific frequency range through the combination of a resistor (R) and a capacitor (C), so as to achieve the purpose of filtering background noise in the audio signal.
[0004] However, in some scenarios, the filtering effect of the above method is limited and cannot effectively suppress background noise. Summary of the Invention
[0005] Embodiments of the present application provide a filtering system, a filtering control method thereof, and an audio device, so as to achieve the effect of flexibly and accurately suppressing background noise in the audio signal.
[0006] In a first aspect, embodiments of the present application provide a filtering system, including: a control module, a switching module, and a filter module including a plurality of filter paths, where the filtering functions corresponding to different filter paths are different;
[0007] Among them, the control module is respectively connected to the switching module and the filter module, and the switching module is also connected to the filter module;
[0008] The control module is configured to determine the noise frequency band in the audio signal to be output, and according to the noise frequency band, control the switching module to turn on the target filter path corresponding to the noise frequency band, where the target filter path is at least one of the plurality of filter paths; and transmit the audio signal to be output to the target filter path to filter the audio signal to be output through the target filter path, so as to obtain the output audio signal corresponding to the audio signal to be output.
[0009] In a possible implementation manner, the plurality of filter paths are arranged in parallel.
[0010] In a possible implementation manner, a connection path is provided between different filter paths, and a switching component is provided on the connection path;
[0011] Correspondingly, the control module is further configured to control the disconnection or connection of the switch component.
[0012] In a possible implementation, at least one filter is provided in the filter path, and the filter includes at least a low-pass filter, a high-pass filter, a band-pass filter, and a band-stop filter.
[0013] In a possible implementation, the filter includes a digital potentiometer and a digital capacitor; the control module is further configured to adjust the resistance value of the digital potentiometer according to the noise frequency band, and / or adjust the capacitance value of the digital capacitor according to the noise frequency band.
[0014] In a possible implementation, the switch module includes a plurality of gating components, and the gating components are arranged between the control module and the corresponding filter path; the control module is further configured to control the gating components to conduct or disconnect.
[0015] In a possible implementation, the control module is further configured to: perform spectral analysis on the audio signal to be output to obtain a spectral analysis result; determine the noise frequency band according to the spectral analysis result.
[0016] In a second aspect, an embodiment of the present application provides a filtering control method, which is applied to a control module in a filtering system as described in the first aspect and / or various possible implementations of the first aspect, and includes:
[0017] Determine the noise frequency band in the audio signal to be output;
[0018] According to the noise frequency band, control the switch module in the filtering system to conduct the target filter path corresponding to the noise frequency band, where the target filter path is at least one of a plurality of filter paths in the filtering system;
[0019] Transmit the audio signal to be output to the target filter path, so as to filter the audio signal to be output through the target filter path to obtain an output audio signal corresponding to the audio signal to be output.
[0020] In a possible implementation, determining the noise frequency band in the audio signal to be output includes:
[0021] Perform spectral analysis on the audio signal to be output to obtain a spectral analysis result;
[0022] Determine the noise frequency band according to the spectral analysis result by using a genetic algorithm, where the genetic algorithm includes selection, crossover, and mutation.
[0023] In a third aspect, an embodiment of the present application provides an audio device, including:
[0024] An audio circuit;
[0025] As a filtering system in the first aspect and / or various possible embodiments of the first aspect, it is used to collect the audio signal to be output by the audio circuit, perform filtering processing on the audio signal to be output, and obtain and output the output audio signal corresponding to the audio signal to be output.
[0026] The filtering system, its filtering control method, and the audio device provided by the embodiments of the present application achieve effective suppression of noise in the input signal, reduce the negative impact of background noise on the sound quality, and improve the user's auditory experience by setting a filter module containing multiple filter paths and controlling the switch module by the control module according to the frequency band of the noise in the input signal to implement the gating of the filter path, thereby realizing the switching of the filter function. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application.
[0028] Figure 1 Schematic structural diagram of the filtering system provided by the embodiments of the present application Figure 1 ;
[0029] Figure 2 Schematic structural diagram of the filtering system provided by the embodiments of the present application Figure 2 ;
[0030] Figure 3 Schematic flowchart of the filtering control method provided by the embodiments of the present application;
[0031] Figure 4 Schematic structural diagram of the audio device provided by the embodiments of the present application.
[0032] Through the above-mentioned accompanying drawings, specific embodiments of the present application have been shown, and there will be more detailed descriptions hereinafter. These drawings and textual descriptions are not intended to limit the scope of the concept of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0033] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0034] In an audio circuit, the background noise often changes dynamically, and its frequency range is not fixed. Related technologies use a fixed-parameter RC filter to suppress background noise. Since the parameters of the RC filter are not adjustable and the filtering range is fixed, it is impossible to effectively suppress these dynamically changing noises, resulting in a decline in the quality of the audio signal. In addition, if excessive filtering is performed, it may also cause effective audio signals to be misfiltered, affecting the richness of the timbre and the clarity of the sound, and reducing the user's auditory experience.
[0035] In response to this, an embodiment of the present application provides a filtering system. By setting a filter module containing multiple filter paths, the control module controls the switch module according to the frequency band of the noise in the audio signal to be output, realizes the selection of the filter path, thereby realizes the switching of the filter function, achieves the effect of effectively suppressing the noise in the input signal, reduces the negative impact of the background noise on the sound quality, and improves the user's auditory experience.
[0036] The following uses specific embodiments to elaborate in detail on the technical solution of the present application and how the technical solution of the present application solves the above technical problems. These specific embodiments below can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.
[0037] Figure 1 is a schematic structural diagram of the filtering system provided by the present application. As Figure 1 shown, the system includes: a control module 101, a switch module 102, and a filter module 103 including multiple filter paths. Among them, the filtering functions corresponding to different filter paths are different;
[0038] Among them, the control module 101 is respectively connected to the switch module 102 and the filter module 103, and the switch module 102 is also connected to the filter module 103;
[0039] The control module 101 is configured to determine the noise frequency band in the audio signal to be output, and according to the noise frequency band, control the switch module to turn on the target filter path corresponding to the noise frequency band. The target filter path is at least one of the multiple filter paths; and, transmit the audio signal to be output to the target filter path to filter the audio signal to be output through the target filter path, so as to obtain the output audio signal corresponding to the audio signal to be output.
[0040] In some embodiments, the control module 101 can be implemented by a microcontroller unit (MCU) or a field programmable gate array (FPGA). The control module 101 first collects an audio signal from the audio circuit, performs spectral analysis on the audio signal to determine the frequency band range of the noise, and based on the noise range of the frequency band of the noise, it can determine what kind of filter function is needed, such as a low-pass filter, a high-pass filter, a band-pass filter or a band-stop filter. Multiple filter paths with corresponding functions are set in the filter module 103. When the control module 101 determines the required filter function, the control switch module 102 conducts the target filter path corresponding to the noise frequency band to implement the selection of the filter path. The control module 101 transmits the audio signal to be output to the target filter path to implement the suppression of the noise in the audio signal.
[0041] There are various implementation manners for the switch module 102. Exemplarily, in one implementation manner, the switch module 102 is composed of multiple single-pole single-throw relay switches. In this implementation manner, a single-pole single-throw relay switch is set on each filter path, and each relay switch can be closed or opened under the control of the control module 101. The control module 101 controls the relay switch on the corresponding filter path to be closed according to the noise frequency band to implement the conduction of the filter path.
[0042] In another example, the switch module 102 is composed of a multi-pole multi-throw relay switch. The multi-pole multi-throw relay switch is provided with multiple contacts, and each contact is connected to a filter path. The disconnection and conduction of the filter path are achieved by controlling the disconnection and closing of the contacts. The control module 101 controls the relay contact connected to the corresponding filter path to be closed according to the noise frequency band to implement the conduction of the filter path.
[0043] In addition, a transistor switch can also be used to implement the switch module 102. By controlling the on and off states of the transistor switch, the gating function of digital and analog signals can be efficiently implemented. A transistor switch is set on each filter path, and the control module 101 controls the conduction or cut-off of the transistor switch to implement the control of the corresponding filter path.
[0044] The filter module 103 includes multiple filter paths, and a filter circuit is set on each filter path. Specifically, the filter circuit can be a passive filter, such as an RC filter or an LC filter, or an active filter.
[0045] The filter system provided by the embodiments of the present application sets a filter module containing multiple filter paths. The control module controls the switch module according to the frequency band of the noise in the input signal to implement the gating of the filter paths, thereby realizing the switching of the filter functions and achieving the effect of effectively suppressing the noise in the input signal.
[0046] In a possible implementation manner, the multiple filter paths are arranged in parallel.
[0047] Figure 2 Schematic structure of the filtering system provided by the embodiments of the present application Figure 2 For example, as Figure 2 shown, the filter module is composed of four paths, namely a low-pass filter path, a high-pass filter path, a band-pass filter path, and a band-stop filter path. The four filter paths are arranged in parallel. The switch module is respectively connected to the four filter paths and sends a conduction signal to the target filter path according to the control information of the control module 101 to realize the conduction of the filter path. The audio signal from the control module passes through the conduction filter path to realize the suppression of the noise.
[0048] The filtering system provided by the embodiments of the present application arranges the multiple filter paths in parallel, which is convenient for the gating control of the filter paths and is beneficial to the efficient suppression of the noise in the audio signal.
[0049] In a possible implementation manner, a connection path is set between different filter paths, and a switch component is set on the connection path; correspondingly, the control module is further used to control the disconnection or closing of the switch component.
[0050] It can be understood that different filters are connected for common filtering, and various filtering effects can be achieved. For example, the filter module is provided with a low-pass filter path and a high-pass filter path, and a connection path and a switch component are set between the low-pass filter and the high-pass filter. The connection path and the switch component are used to form a series connection between the low-pass filter path and the high-pass filter path. When the switch component is closed, this filter module can achieve the effect of a band-stop filter.
[0051] Another example, the filter module is provided with a low-pass filter path and a high-pass filter path, and a connection path and a switch component are set between the low-pass filter and the high-pass filter. The connection path and the switch component are used to form a parallel connection between the low-pass filter path and the high-pass filter path. When the switch component is closed, this filter module can achieve the effect of a band-pass filter.
[0052] The filtering system provided by the embodiment of the present application can realize multiple filtering functions, reduce the hardware cost, and improve the flexibility of the circuit by setting connection paths and switch components between different filter paths and controlling the switch components by a control module, so as to combine the originally single-function filter paths.
[0053] In a possible implementation manner, at least one type of filter is provided in the filter path, and the filter at least includes a low-pass filter, a high-pass filter, a band-pass filter, and a band-stop filter.
[0054] Specifically, one type of filter can be provided in the filter path. For example, a high-pass filter is set in one filter path, or a low-pass filter path is set in one filter path.
[0055] In addition, multiple filters can also be provided in one filter path to achieve combined filtering. For example, a low-pass filter and a high-pass filter are set in one filter path, and the low-pass filter and the high-pass filter are in series. Then, this filter path can achieve the effect of band-pass filtering.
[0056] In another example, a low-pass filter and a high-pass filter are set in one filter path, and the low-pass filter and the high-pass filter are in parallel. Then, this filter path can achieve the effect of band-stop filtering.
[0057] In the filtering system provided by the embodiment of the present application, at least one type of filter is provided in the filter path to effectively suppress the noise in the audio signal, and more filtering functions can be achieved by combining multiple filters in the filter path, so as to flexibly and efficiently suppress the noise in the audio signal.
[0058] In a possible implementation manner, the filter includes a digital potentiometer and a digital capacitor; the control module is further configured to adjust the resistance value of the digital potentiometer according to the noise frequency band, and / or adjust the capacitance value of the digital capacitor according to the noise frequency band.
[0059] Among them, the digital potentiometer, also known as a numerically controlled programmable resistor, is a new type of integrated circuit for digital and analog mixed signal processing that replaces the traditional mechanical potentiometer (analog potentiometer). The digital potentiometer is controlled by a digital input to generate an analog output. Depending on the digital potentiometer, the maximum tap current can range from a few hundred microamperes to several milliamperes. The digital potentiometer adjusts the resistance value in a numerically controlled manner and has significant advantages such as flexible use, high adjustment accuracy, no contacts, low noise, not easily soiled, vibration resistance, interference resistance, small size, and long life. The digital capacitor is a capacitor device that can adjust the capacitance value under the control of a digital input.
[0060] In some embodiments, the filter is in the form of an RC filter, whose cut-off frequency is determined by a resistor R and a capacitor C. The resistor R is made adjustable by a digital potentiometer, and the capacitor C is made adjustable by a digital capacitor. The control module first detects the frequency band of the noise to obtain the frequency range of the noise, sets the cut-off frequency of the filter according to the frequency range of the noise, calculates the required resistor value and capacitor value for the filter according to the cut-off frequency, controls the digital potentiometer to be set to the required resistor value, and controls the digital capacitor to be set to the required capacitor value.
[0061] The filtering system provided by the embodiment of the present application sets a digital potentiometer in the filter to make the resistance value of the filter adjustable, sets a digital capacitor to make the capacitance value adjustable, and further makes the cut-off frequency of the filter adjustable, making the filtering range of the filter more flexible and capable of accurately suppressing the noise in the audio signal.
[0062] In a possible implementation manner, the switch module includes a plurality of gating components, and the gating components are arranged between the control module and the corresponding filter path; the control module is further configured to control the gating components to be turned on or off.
[0063] As Figure 2 shown, a gating component is connected to each filter path and is controlled by the control module 101 to gate a certain path to be turned on. Exemplarily, the control module 101 controls the low-pass filter path to be turned on, and the high-pass filter path, the band-pass filter path, and the band-stop filter path to be turned off.
[0064] The filtering system provided by the embodiment of the present application sets a gating component between the control module and the corresponding filter path. The controller controls the on or off of the conducting component to conduct the control of the filter path, making the switching between the filter paths more flexible and simple.
[0065] In a possible implementation manner, the control module is further configured to: perform spectrum analysis on the audio signal to be output to obtain a spectrum analysis result; and determine the noise frequency band according to the spectrum analysis result.
[0066] Specifically, the control module collects the audio signal to be output, divides the audio signal into short-time frames (such as 20 - 40 ms), and uses a Hamming window or a Hanning window to reduce spectral leakage; subtracts the mean value of the signal to eliminate the DC component; performs Fourier transform on each frame of the signal to obtain the spectrum; extracts the frequency-domain characteristics of the noise, such as detecting fixed-frequency peaks of 50 Hz / 60 Hz (power interference) or spikes at other fixed frequencies, broadband energy distribution, and spectral flatness; performs time-domain analysis on the audio signal, such as calculating the root mean square value of each frame. A sudden change in the root mean square may indicate transient noise (such as a pop sound), calculates the zero-crossing rate. The zero-crossing rate of high-frequency noise (such as hissing) is relatively high, while that of speech is usually low, calculates the short-time energy. The energy of a noise frame may be significantly lower or higher than that of a normal signal (such as the background noise in a silent segment); performs signal-to-noise ratio estimation. If the clean signal is known, calculates the signal-to-noise ratio. Otherwise, estimates the background noise level through the silent segment.
[0067] In addition, machine learning methods can also be used to extract the characteristics of the noise signal in the audio signal, so as to determine the frequency band of the noise in the spectrum.
[0068] For the filtering system provided by the embodiments of the present application, the control module determines the noise frequency band through spectral analysis of the signal to be output, providing a basis for subsequent selection of filter paths and adjustment of filter parameters in the filtering system.
[0069] The embodiments of the present application provide a filtering control method, which is applied to the control module in the filtering system in various possible implementation manners as described in the above embodiments. Figure 3 The following is a schematic flowchart of the filtering control method provided by the embodiments of the present application. The method includes the following steps:
[0070] S301. Determine the noise frequency band in the audio signal to be output.
[0071] Specifically, first perform spectral analysis on the audio signal to be output, obtain the frequency-domain characteristics of the noise through frequency-domain analysis or machine learning methods, and then determine the frequency band of the noise.
[0072] S302. According to the noise frequency band, control the switch module in the filtering system to turn on the target filter path corresponding to the noise frequency band, where the target filter path is at least one of multiple filter paths in the filtering system.
[0073] Exemplarily, if it is determined that the noise frequency band is 300 Hz, the low-pass filter path is selected to be turned on to suppress the noise; if it is determined that the noise frequency band is 0 Hz to 50 Hz, the high-pass filter path is selected to be turned on to suppress the noise; if it is determined that the noise frequency band is 50 Hz to 80 Hz, the band-stop filter path is selected to be turned on to suppress the noise; if it is determined that the noise frequency bands are 30 Hz to 50 Hz and 80 Hz to 90 Hz, the band-pass filter path can be selected to retain the effective signal, or a combination of the band-stop filter path and the high-pass filter path, or a combination of the band-stop filter path and the low-pass filter path, or a combination of the band-stop filter path and the high-pass filter path can be selected to suppress the noise.
[0074] S303. Transmit the audio signal to be output to the target filter path, so as to filter the audio signal to be output through the target filter path to obtain the output audio signal corresponding to the audio signal to be output.
[0075] The filtering control method provided by the embodiments of the present application can automatically select an appropriate filter path according to the frequency band of the noise in the audio signal to be output, and suppress the noise flexibly and accurately.
[0076] In a possible implementation manner, determining the noise frequency band in the audio signal to be output includes:
[0077] Perform spectrum analysis on the audio signal to be output to obtain a spectrum analysis result; according to the spectrum analysis result, use a genetic algorithm to determine the noise frequency band, where the genetic algorithm includes selection, crossover, and mutation.
[0078] The genetic algorithm is an optimization algorithm based on the theory of biological evolution, and its basic concept stems from the ideas of natural selection and genetic variation. In the genetic algorithm, the solution to the problem is encoded into chromosomes, and multiple chromosomes form a population. Each chromosome in the population has a fitness value, which is used to evaluate its advantages and disadvantages in solving the problem.
[0079] The operation process of the genetic algorithm mainly includes three basic operations: selection, crossover, and mutation. The selection operation is to select some better chromosomes from the current population according to the fitness values of the chromosomes, so that they have the opportunity to participate in the reproduction of the next generation. The higher the fitness value of the chromosome, the greater the probability of being selected. The crossover operation is to pair the selected chromosomes and then exchange some of their genes to generate new chromosomes. Through the crossover operation, the genes in the population can be recombined to increase the diversity of the population. The mutation operation is to randomly change some genes of the chromosome to prevent the algorithm from falling into a local optimal solution. Although the probability of the mutation operation occurring is low, it can introduce new genes into the population and help to find better solutions.
[0080] Specifically, first, convert the noise frequency band identification into an optimization problem and define the chromosome structure. Design a fitness function to evaluate whether the frequency band corresponding to the chromosome is noise. Initialize the population. For example, the initial population can be randomly generated within the frequency range (such as from 0 Hz to the Nyquist frequency), and note that constraint conditions need to be set, where the starting frequency is less than the ending frequency to avoid invalid frequency bands. Use the genetic algorithm, which consists of three steps: selection, crossover, and mutation. In the selection step, roulette wheel selection or tournament selection can be used to retain individuals with high fitness. In the crossover step, real-number coding or binary coding can be used to encode the individuals. In the mutation step, the frequency value can be randomly perturbed (such as Gaussian mutation) or the bits of the binary coding can be randomly flipped. Set the iteration termination condition, such as the maximum number of iterations. Select the chromosome with the highest fitness as the noise frequency band.
[0081] The filtering control method provided by the embodiment of the present application performs spectrum analysis on the audio signal to be output. According to the spectrum analysis result, the genetic algorithm is used to identify the noise frequency band. Through population iteration and crossover and mutation operations, the genetic algorithm can avoid falling into local optima, be able to find multiple potential noise frequency bands in complex spectra, and does not rely on the statistical characteristics of noise or prior assumptions about the frequency band positions, and is applicable to the identification of new or time-varying noises. By adjusting the coding method and fitness function, it can be adapted to different noise types and target requirements.
[0082] The embodiment of the present application provides an audio device. Figure 4 It is a schematic structural diagram of the audio device provided by the embodiment of the present application. The audio device 40 includes: an audio circuit 401; a filtering system 402 in various possible implementation manners as described in the above embodiments, which is used to collect the audio signal to be output of the audio circuit, perform filtering processing on the audio signal to be output, and obtain and output the output audio signal corresponding to the audio signal to be output.
[0083] The audio device provided by the embodiment of the present application can flexibly suppress the noise in the audio circuit and improve the user's auditory experience.
[0084] The division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces. The indirect coupling or communication connection of devices or units can be in electrical, mechanical or other forms.
[0085] The unit described as a separation component may or may not be physically separated. The component shown as a unit may or may not be a physical unit, that is, it may be located in one place or may be distributed across multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0086] In addition, in each embodiment of the present invention, each functional unit may be integrated in a processing unit, may exist physically separately for each unit, or two or more units may be integrated in one unit.
[0087] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in each embodiment of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0088] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When this program is executed, it executes the steps including the above method embodiments; and the aforementioned storage medium includes: various media such as ROM, RAM, magnetic disks, or optical discs that can store program codes.
[0089] Finally, it should be noted that: After considering the specification and practicing the invention disclosed herein, those skilled in the art will easily think of other implementation schemes of the present invention. The present invention aims to cover any variations, uses, or adaptive changes of the present invention. These variations, uses, or adaptive changes follow the general principles of the present invention and include common general knowledge or conventional technical means in the technical field not disclosed in the present invention. It is not limited to the exact structure described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present invention is only limited by the appended claims.
Claims
1. A filtering system, characterized in that, Comprising: A control module, a switch module, and a filter module including a plurality of filter paths, wherein the filtering functions corresponding to different said filter paths are different; Wherein, the control module is respectively connected to the switch module and the filter module, and the switch module is also connected to the filter module; The control module is configured to determine the noise frequency band in the audio signal to be output, and according to the noise frequency band, control the switch module to turn on the target filter path corresponding to the noise frequency band, where the target filter path is at least one of the plurality of filter paths; and, transmit the audio signal to be output to the target filter path to filter the audio signal to be output through the target filter path to obtain the output audio signal corresponding to the audio signal to be output.
2. The filtering system according to claim 1, wherein The plurality of filter paths are arranged in parallel.
3. The filtering system according to claim 2, wherein A connection path is provided between different said filter paths, and a switch component is provided on the connection path; Correspondingly, the control module is further configured to control the opening or closing of the switch component.
4. The filtering system according to any one of claims 1 to 3, characterized in that At least one type of filter is provided in the filter path, and the filter at least includes a low-pass filter, a high-pass filter, a band-pass filter, and a band-stop filter.
5. The filter system according to claim 4, characterized in that, The filter includes a digital potentiometer and a digital capacitor; the control module is further configured to adjust the resistance value of the digital potentiometer according to the noise frequency band, and / or adjust the capacitance value of the digital capacitor according to the noise frequency band.
6. The filtering system according to claim 4, wherein The switch module includes a plurality of gating components, and the gating components are provided between the control module and the corresponding filter path; the control module is further configured to control the gating components to conduct or disconnect.
7. The filtering system according to claim 4, wherein The control module is further configured to: perform spectrum analysis on the audio signal to be output to obtain a spectrum analysis result; determine the noise frequency band according to the spectrum analysis result.
8. A filtering control method, characterized in that, A control module applied to the filtering system according to any one of claims 1 to 7, the filtering control method includes: Determine the noise frequency band in the audio signal to be output; According to the noise frequency band, control the switch module in the filtering system to turn on the target filter path corresponding to the noise frequency band, where the target filter path is at least one of the plurality of filter paths in the filtering system; Transmit the audio signal to be output to the target filter path to filter the audio signal to be output through the target filter path to obtain the output audio signal corresponding to the audio signal to be output.
9. The filtering control method according to claim 8, wherein The determining the noise frequency band in the audio signal to be output includes: Performing spectrum analysis on the audio signal to be output to obtain a spectrum analysis result; Determine the noise frequency band according to the spectrum analysis result by using a genetic algorithm, where the genetic algorithm includes selection, crossover, and mutation.
10. An audio device, characterized in that, Comprising: An audio circuit; The filtering system according to any one of claims 1 to 7, configured to collect the audio signal to be output of the audio circuit, perform filtering processing on the audio signal to be output, and obtain and output the output audio signal corresponding to the audio signal to be output.