De-aliasing filter order determination method, control method, device, equipment and medium

By obtaining the parameters of the measured signal and sampling circuit, the transition band and minimum order of the default frequency filter are determined, and the variable order control method is adopted to solve the inaccurate determination of the default frequency filter order in the prior art. The problem has improved the design efficiency and stability of the data acquisition circuit.

CN119010837APending Publication Date: 2024-11-22INST OF GEOPHYSICAL & GEOCHEMICAL EXPLORATION CHINESE ACAD OF GEOLOGICAL SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411180450.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The prior art cannot accurately determine the minimum order of the defalse frequency filter, resulting in complex circuit structure, increased debugging difficulty, and poor stability.

Method used

By obtaining the frequency parameters of the measured signal and the sampling parameters of the sampling circuit, the transition band frequency range width and minimum order of the default frequency filter are determined, and the default frequency filter control method with variable order is used to adjust the filter to Minimum order to perform filtering operations.

Benefits of technology

The minimum order of the defalse frequency filter is accurately determined, which simplifies the design of the data acquisition circuit, improves the design efficiency, and avoids circuit complexity and stability problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119010837A_ABST
    Figure CN119010837A_ABST
Patent Text Reader

Abstract

The invention discloses a de-aliasing filter order determination method and device, a control method and device, equipment and a medium, is applied to the technical field of filters, and is used for solving the problem that the minimum order of a de-aliasing filter cannot be accurately determined in the prior art. The method specifically comprises the following steps: acquiring a frequency parameter of a measured signal and a sampling parameter of a sampling circuit; the sampling parameters comprise a sampling frequency and a sampling dynamic range; determining the frequency range width of a transition band of a false frequency removal filter according to the frequency parameter of the measured signal and the sampling frequency; and determining the minimum order of the aliasing filter according to the frequency range width of the transition zone and the sampling dynamic range. Therefore, according to the frequency parameter of the measured signal, the sampling frequency of the sampling circuit and the sampling dynamic range of the sampling circuit, the alias removal filter capable of realizing filtering and alias removal and passing through the minimum order of the measured signal is determined, the technical problem that the minimum order of the alias removal filter cannot be accurately calculated is solved, and the design efficiency of the data acquisition circuit is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of filter design, and in particular to a method for determining the order of an anti-aliasing filter, a control method, a device, equipment and a medium. Background Art

[0002] The anti-aliasing filter (AAF) is provided before the sampling circuit and is a filter used to filter out unwanted aliasing frequencies.

[0003] At present, in the data acquisition system, the design of the anti-aliasing filter set before the sampling circuit mainly relies on the designer's experience and estimation, and it is impossible to accurately determine the minimum order of the anti-aliasing filter. In order to ensure the effect of suppressing the interference caused by the aliasing during the sampling process, the designer often adopts a design method with a margin when designing, and adopts a higher order anti-aliasing filter, which inevitably makes the circuit structure complex, the debugging difficulty increased, and the stability deteriorated. Summary of the invention

[0004] The embodiments of the present application provide a method, a control method, a device, a equipment and a medium for determining the order of an anti-aliasing filter, so as to solve the problem in the prior art that the minimum order of the anti-aliasing filter cannot be accurately determined.

[0005] The technical solutions provided by the embodiments of this application are as follows:

[0006] On the one hand, an embodiment of the present application provides a method for determining an order of an anti-aliasing filter, comprising:

[0007] Obtaining frequency parameters of the measured signal and sampling parameters of the sampling circuit; wherein the sampling parameters include sampling frequency and sampling dynamic range;

[0008] Determine the frequency span width of the transition band of the anti-aliasing filter according to the frequency parameter of the measured signal and the sampling frequency of the sampling circuit;

[0009] The minimum order of the anti-aliasing filter is determined according to the frequency bandwidth of the transition band and the sampling dynamic range of the sampling circuit.

[0010] In a possible implementation, determining the frequency span width of the transition band of the anti-aliasing filter according to the frequency parameter of the measured signal and the sampling frequency of the sampling circuit includes:

[0011] Based on the frequency parameters of the measured signal, determining the highest frequency of the measured signal as the corner frequency of the anti-aliasing filter;

[0012] The product of the sampling frequency of the sampling circuit and the preset sampling factor is used as the stop band starting frequency of the anti-aliasing filter;

[0013] The frequency span of the transition band of the anti-aliasing filter is determined based on the corner frequency and the stopband start frequency.

[0014] In a possible implementation, determining the minimum order of the anti-aliasing filter according to the frequency span width of the transition band and the sampling dynamic range of the sampling circuit includes:

[0015] The ratio of the frequency bandwidth of the transition band to the sampling dynamic range of the sampling circuit is processed as a negative value, and the ratio after the negative value processing is used as the attenuation steepness of the transition band of the anti-aliasing filter;

[0016] The minimum order of the anti-aliasing filter is determined according to the attenuation steepness of the transition band.

[0017] On the other hand, an embodiment of the present application provides a method for controlling an anti-aliasing filter, comprising:

[0018] The method for determining the order of an anti-aliasing filter provided in an embodiment of the present application is used to determine the minimum order of the anti-aliasing filter;

[0019] The anti-aliasing filter is controlled to be adjusted to a minimum order, so as to perform a filtering operation on the measured signal input to the sampling circuit through the anti-aliasing filter of the minimum order.

[0020] In a possible implementation, controlling the anti-aliasing filter to be adjusted to a minimum order includes:

[0021] Inputting the minimum order of the anti-aliasing filter and the corner frequency of the anti-aliasing filter into the parameter determination model to obtain the component parameters output by the parameter determination model;

[0022] The resistor and capacitor connected to the anti-aliasing filter are controlled according to the component parameters.

[0023] In a possible implementation manner, the parameter determination model presets the correlation relationship between the corner frequencies corresponding to the anti-aliasing filters of different orders and the component parameters.

[0024] On the other hand, an embodiment of the present application provides a device for determining an order of an anti-aliasing filter, comprising:

[0025] A parameter acquisition unit, used to acquire the frequency parameters of the measured signal and the sampling parameters of the sampling circuit; wherein the sampling parameters include the sampling frequency and the sampling dynamic range;

[0026] A transition band determination unit, used to determine the frequency span width of the transition band of the anti-aliasing filter according to the frequency parameter of the measured signal and the sampling frequency of the sampling circuit;

[0027] The minimum order determination unit is used to determine the minimum order of the anti-aliasing filter according to the frequency span width of the transition band and the sampling dynamic range of the sampling circuit.

[0028] On the other hand, an embodiment of the present application provides a device for controlling an anti-aliasing filter, comprising:

[0029] An order determination unit, used to determine the minimum order of the anti-aliasing filter by adopting an anti-aliasing filter order determination method;

[0030] The order adjustment unit is used to control the anti-aliasing filter to adjust to the minimum order, so as to perform a filtering operation on the measured signal input to the sampling circuit through the anti-aliasing filter of the minimum order.

[0031] On the other hand, an embodiment of the present application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for determining the order of an anti-aliasing filter or the method for controlling the order of an anti-aliasing filter provided in an embodiment of the present application is implemented.

[0032] On the other hand, an embodiment of the present application further provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed by a processor, the anti-aliasing filter order determination method or anti-aliasing filter order control method provided in the embodiment of the present application is implemented.

[0033] The beneficial effects of the embodiments of the present application are as follows:

[0034] In an embodiment of the present application, based on the frequency parameters of the measured signal, the sampling frequency of the sampling circuit, and the sampling dynamic range of the sampling circuit, a minimum-order anti-aliasing filter that can filter out aliasing and pass the measured signal is determined, thereby solving the technical problem of not being able to accurately determine the minimum order of the anti-aliasing filter and improving the design efficiency of the data acquisition circuit.

[0035] Other features and advantages of the present application will be described in the subsequent description, and in part, will become apparent from the description, or will be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0037] Figure 1 Schematic diagram of the general flow of the method for determining the order of the anti-aliasing filter in the embodiment of the present application;

[0038] Figure 2 Schematic diagram of the general flow of the anti-aliasing filter control method in the embodiment of the present application;

[0039] Figure 3 A schematic diagram of a specific flow chart of a method for determining an order of an anti-aliasing filter in an embodiment of the present application;

[0040] Figure 4 This is a functional structure diagram of a device for determining the order of an anti-aliasing filter in an embodiment of the present application;

[0041] Figure 5 This is a functional structure diagram of the anti-aliasing filter control device in an embodiment of the present application;

[0042] Figure 6 Schematic diagram of the hardware structure of the electronic device in the embodiment of the present application. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and beneficial effects of this application clearer, the technical solution in the embodiment of this application will be clearly and completely described below in conjunction with the drawings in the embodiment of this application. Obviously, the described embodiment is only a part of the embodiment of this application, not all the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0044] The present application embodiment provides a method for determining the order of an anti-aliasing filter, see Figure 1 As shown, the general process of the method for determining the order of the anti-aliasing filter provided in the embodiment of the present application is as follows:

[0045] Step 101: Obtain frequency parameters of a measured signal and sampling parameters of a sampling circuit; wherein the sampling parameters include a sampling frequency and a sampling dynamic range.

[0046] In practical applications, the measured signal is the signal that the sampling circuit needs to collect. The frequency parameter of the measured signal can be the frequency range of the measured signal or the highest frequency of the measured signal. The sampling circuit is used to collect the measured signal and convert the measured signal from a continuous analog signal to a discrete digital signal. The sampling circuit includes an analog-to-digital conversion chip. The sampling parameters of the sampling circuit include the sampling frequency and the sampling dynamic range, where the sampling frequency of the sampling circuit is the analog-to-digital conversion speed of the sampling circuit; the sampling dynamic range of the sampling circuit refers to the signal amplitude range that the sampling circuit can distinguish.

[0047] Step 102: Determine the frequency span width of the transition band of the anti-aliasing filter according to the frequency parameter of the measured signal and the sampling frequency of the sampling circuit.

[0048] In practical applications, the frequency range of the transition band of the anti-aliasing filter can be determined according to the frequency parameters of the measured signal and the sampling frequency of the sampling circuit, and the frequency span width of the transition band can be determined according to the frequency range of the transition band. Specifically, the frequency span width of the transition band of the anti-aliasing filter can be determined according to the frequency parameters of the measured signal and the sampling frequency of the sampling circuit, which can be adopted but not limited to the following methods:

[0049] Firstly, based on the frequency parameters of the measured signal, the highest frequency of the measured signal is determined as the corner frequency of the anti-aliasing filter;

[0050] Then, the product of the sampling frequency of the sampling circuit and the preset sampling factor is used as the stop band starting frequency of the anti-aliasing filter;

[0051] Finally, the frequency span of the transition band of the anti-aliasing filter is determined according to the corner frequency and the stopband start frequency.

[0052] In specific implementation, the highest frequency of the measured signal can be obtained based on the frequency parameters of the measured signal. In order to ensure that the measured signal can pass through the anti-aliasing filter without being filtered out, the highest frequency of the measured signal is used as the cutoff frequency of the anti-aliasing filter. Signals lower than the highest frequency of the measured signal can pass through the anti-aliasing filter, and aliased signals higher than the highest frequency of the measured signal are attenuated or filtered out. Since the sampling theorem requires that the sampling frequency is at least twice the highest frequency of the measured signal, the sampling factor is set, and the product of the sampling frequency of the sampling circuit and the preset sampling factor is used as the stopband start frequency of the anti-aliasing filter to ensure that the discrete digital signal can capture all the information in the original continuous analog signal. Among them, the smaller the sampling factor, the finer the sampling of the measured signal. The value range of the sampling factor is (0, 0.5], and the sampling factor is generally selected as 0.5. Substituting the turning frequency and the stopband start frequency into formula (1) can obtain the frequency bandwidth of the transition band of the anti-aliasing filter.

[0053]

[0054] Where x is the frequency bandwidth of the transition band of the anti-aliasing filter, f n is the stopband start frequency, and f0 is the turn frequency.

[0055] Step 103: Determine the minimum order of the anti-aliasing filter according to the frequency span width of the transition band and the sampling dynamic range of the sampling circuit.

[0056] In practical applications, since the attenuation steepness of the transition bands of filters of different orders is known, the attenuation steepness of the transition band of the anti-aliasing filter is determined according to the frequency span width of the transition band and the sampling dynamic range of the sampling circuit. By comparing the attenuation steepness of the transition band of the anti-aliasing filter with the attenuation steepness of the transition bands of filters of various known orders, the minimum order of the anti-aliasing filter can be determined. Specifically, the minimum order of the anti-aliasing filter can be determined according to the frequency span width of the transition band and the sampling dynamic range of the sampling circuit, which can be adopted but not limited to the following methods:

[0057] Firstly, the ratio of the frequency bandwidth of the transition band to the sampling dynamic range of the sampling circuit is processed by negation, and the ratio after the negative value processing is used as the attenuation steepness of the transition band of the anti-aliasing filter;

[0058] Then, the minimum order of the anti-aliasing filter is determined according to the attenuation steepness of the transition band.

[0059] In specific implementation, the negative value processing is to convert the ratio of the frequency bandwidth of the transition band to the sampling dynamic range of the sampling circuit into a negative number. Since the attenuation steepness of the transition band of the first-order filter is -6dB / octave, the attenuation steepness of the transition band of the second-order filter is -12dB / octave, and the attenuation steepness of the transition band of the third-order filter is -18dB / octave, the attenuation steepness of the transition band of the filter increases by -6dB / octave for every increase in the order of the filter. Therefore, the minimum order of the anti-aliasing filter can be determined by the following formula (2).

[0060]

[0061] Wherein, Trunc is a rounding function, k is the attenuation steepness of the transition band of the anti-aliasing filter, and Num is the minimum order of the transition band of the anti-aliasing filter.

[0062] In this way, the present application determines the minimum order anti-aliasing filter that can achieve filtering and aliasing and pass the measured signal based on the frequency parameters of the measured signal, the sampling frequency of the sampling circuit, and the sampling dynamic range of the sampling circuit, thereby avoiding the redundant and complex circuit structure, increased debugging difficulty, and poor stability caused by the use of a higher-order anti-aliasing filter, solving the technical problem of being unable to accurately determine the minimum order of the anti-aliasing filter, and improving the design efficiency of the data acquisition circuit.

[0063] It is worth mentioning that after obtaining the frequency parameters of the measured signal and the sampling parameters of the sampling circuit, the minimum order of the anti-aliasing filter can be determined based on the order evaluation model. The order evaluation model determines the frequency span width of the transition band of the anti-aliasing filter according to the frequency parameters of the measured signal and the sampling frequency of the sampling circuit; and determines the minimum order of the anti-aliasing filter according to the frequency span width of the transition band and the sampling dynamic range of the sampling circuit. The order evaluation model can be a neural network model or a linear regression model. The order evaluation model is trained in the following way.

[0064] First, a training set is obtained; wherein the training set includes multiple data groups, each data group includes a frequency parameter and a sampling parameter, and the parameter values ​​of each data group are different.

[0065] Then, each data group in the training set is input into the order evaluation model respectively to obtain the order prediction result corresponding to each data group; wherein the order prediction result includes the corresponding prediction order.

[0066] Finally, based on the predicted order and target order corresponding to each data group, the model parameters of the order evaluation model are updated; wherein the target order is the minimum order of the anti-aliasing filter corresponding to the data group in the training set.

[0067] Based on the above embodiments, see Figure 2 As shown, the present application proposes a method for controlling an anti-aliasing filter, wherein the anti-aliasing filter is a variable order filter, and the method for controlling the anti-aliasing filter at least includes:

[0068] Step 201: using the method for determining the order of the anti-aliasing filter in the above embodiment to determine the minimum order of the anti-aliasing filter;

[0069] Step 202: Control the anti-aliasing filter to adjust to a minimum order, so as to perform a filtering operation on the measured signal input to the sampling circuit through the anti-aliasing filter of the minimum order.

[0070] In practical applications, the anti-aliasing filter is a low-pass filter with a variable order. The controller can achieve the setting of anti-aliasing filters of different orders by controlling the switch in the variable order filter, the capacitance of the adjustable capacitor, the resistance of the adjustable resistor, and the number of connected adjustable capacitors and adjustable resistors. Specifically, the anti-aliasing filter can be controlled to be adjusted to the minimum order by, but not limited to, the following methods:

[0071] Firstly, the minimum order of the anti-aliasing filter and the corner frequency of the anti-aliasing filter are input into the parameter determination model to obtain the component parameters output by the parameter determination model;

[0072] Then, the resistor and capacitor connected to the anti-aliasing filter are controlled according to the component parameters.

[0073] In practical applications, the component parameters include the number and value of capacitors, the number and value of resistors. The parameter determination model presets the correlation between the corner frequencies corresponding to the anti-aliasing filters of different orders and the component parameters.

[0074] In this way, since the anti-aliasing filter can be a variable order filter, the anti-aliasing filter order determination method is applied to the anti-aliasing filter control method, and the anti-aliasing filter can be controlled to be adjusted to the minimum order, so that the minimum order anti-aliasing filter can perform a filtering operation on the measured signal input to the sampling circuit, thereby effectively suppressing the interference caused by the aliasing during the sampling process, and when the frequency parameters of the external measured signal and the sampling parameters of the sampling circuit change, the minimum order of the anti-aliasing filter can be adaptively adjusted in time according to the changed parameters, and it has good adaptability to changes in the external measured signal and the sampling circuit.

[0075] The following uses "a 1KHz anti-aliasing filter for collecting the highest frequency of the measured signal in the data acquisition system" as a specific application scenario to further describe the method for determining the order of the anti-aliasing filter provided in the embodiment of the present application. Figure 3 As shown, the specific process of the method for determining the order of the anti-aliasing filter provided in the embodiment of the present application is as follows:

[0076] Step 301: Obtain the highest frequency f of the measured signal max is 1KHz, get the sampling frequency f of the sampling circuit s The sampling frequency is 100KHz, and the sampling dynamic range DR of the sampling circuit is 100dB.

[0077] Step 302: According to the highest frequency f of the measured signal max Determine the corner frequency f0 of the anti-aliasing filter, that is, f0 = f max =1KHz.

[0078] Step 303: Set the sampling frequency f of the sampling circuit s The product of the preset sampling factor is used as the stopband start frequency f of the anti-aliasing filter. n , where the sampling factor is 0.5,

[0079] Step 304: According to the turning frequency f0 and the stopband start frequency f n Determine the frequency span x of the transition band of the anti-aliasing filter, that is,

[0080] Step 305: Negate the ratio of the frequency bandwidth x of the transition band to the sampling dynamic range DR of the sampling circuit, and determine the ratio after the negative value processing as the attenuation steepness k of the transition band of the anti-aliasing filter, that is,

[0081] Step 306: Determine the minimum order Num of the anti-aliasing filter according to the attenuation steepness k of the transition band and the attenuation steepness -6 (dB / octave) of the transition band of the first-order low-pass filter, that is, That is, a third-order low-pass filter circuit is used as an anti-aliasing filter, and the attenuation steepness of the anti-aliasing filter is -18dB / octave. The minimum attenuation of the stop band of the anti-aliasing filter is about -101dB, which is higher than the dynamic range of the ADC, and the influence of the aliasing signal on the measurement result can be ignored.

[0082] Based on the above embodiments, the present application provides a device for determining the order of an anti-aliasing filter. Figure 4 As shown, the anti-aliasing filter order determination device 400 provided in the embodiment of the present application at least includes:

[0083] The parameter acquisition unit 401 is used to acquire the frequency parameters of the measured signal and the sampling parameters of the sampling circuit; wherein the sampling parameters include the sampling frequency and the sampling dynamic range;

[0084] A transition band determination unit 402, configured to determine a frequency span width of a transition band of an anti-aliasing filter according to a frequency parameter of a measured signal and a sampling frequency of a sampling circuit;

[0085] The minimum order determination unit 403 is used to determine the minimum order of the anti-aliasing filter according to the frequency span width of the transition band and the sampling dynamic range of the sampling circuit.

[0086] In a possible implementation manner, the transition zone determination unit 402 is specifically configured to:

[0087] Based on the frequency parameters of the measured signal, determining the highest frequency of the measured signal as the corner frequency of the anti-aliasing filter;

[0088] The product of the sampling frequency of the sampling circuit and the preset sampling factor is used as the stop band starting frequency of the anti-aliasing filter;

[0089] The frequency span of the transition band of the anti-aliasing filter is determined based on the corner frequency and the stopband start frequency.

[0090] In a possible implementation manner, the minimum order determining unit 403 is specifically configured to:

[0091] The ratio of the frequency bandwidth of the transition band to the sampling dynamic range of the sampling circuit is processed as a negative value, and the ratio after the negative value processing is used as the attenuation steepness of the transition band of the anti-aliasing filter;

[0092] The minimum order of the anti-aliasing filter is determined according to the attenuation steepness of the transition band.

[0093] It should be noted that the principle of solving the technical problem by the device 400 for determining the order of an anti-aliasing filter provided in the embodiment of the present application is similar to the method for determining the order of an anti-aliasing filter provided in the embodiment of the present application. Therefore, the implementation of the device 400 for determining the order of an anti-aliasing filter provided in the embodiment of the present application can refer to the implementation of the method for determining the order of an anti-aliasing filter provided in the embodiment of the present application, and the repeated parts will not be repeated.

[0094] Based on the above embodiments, the present application provides a control device for a de-aliasing filter. Figure 5 As shown, the anti-aliasing filter control device 500 provided in the embodiment of the present application at least includes:

[0095] The order determination unit 501 is used to determine the minimum order of the anti-aliasing filter by adopting the anti-aliasing filter order determination method;

[0096] The order adjustment unit 502 is used to control the anti-aliasing filter to be adjusted to a minimum order, so as to perform a filtering operation on the measured signal input to the sampling circuit through the anti-aliasing filter of the minimum order.

[0097] In a possible implementation manner, the order adjustment unit 502 is specifically configured to:

[0098] Inputting the minimum order of the anti-aliasing filter and the corner frequency of the anti-aliasing filter into the parameter determination model to obtain the component parameters output by the parameter determination model;

[0099] The resistor and capacitor connected to the anti-aliasing filter are controlled according to the component parameters.

[0100] It should be noted that the principle of solving the technical problem by the de-aliasing filter control device 500 provided in the embodiment of the present application is similar to the de-aliasing filter control method provided in the embodiment of the present application. Therefore, the implementation of the de-aliasing filter control device 500 provided in the embodiment of the present application can refer to the implementation of the de-aliasing filter control method provided in the embodiment of the present application, and the repeated parts will not be repeated.

[0101] After introducing the anti-aliasing filter order determination method, anti-aliasing filter order control method, anti-aliasing filter order determination device and anti-aliasing filter order control device provided in the embodiments of the present application, the electronic device provided in the embodiments of the present application is briefly introduced next.

[0102] See also Figure 6 As shown, the electronic device 600 provided in the embodiment of the present application includes at least: a processor 601, a memory 602, and a computer program stored in the memory 602 and executable on the processor 601. When the processor 601 executes the computer program, the method for determining the order of the anti-aliasing filter or the method for controlling the order of the anti-aliasing filter provided in the embodiment of the present application is implemented.

[0103] It should be noted that Figure 6 The electronic device 600 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0104] The electronic device 600 provided in the embodiment of the present application may further include a bus 603 connecting different components (including the processor 601 and the memory 602). The bus 603 represents one or more of several types of bus structures, including a memory bus, a peripheral bus, a local bus, and the like.

[0105] The memory 602 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 6021 and / or a cache memory 6022 , and may further include a read-only memory (ROM) 6023 .

[0106] The memory 602 may also include a program tool 6025 having a set (at least one) of program modules 6024, including but not limited to: an operating subsystem, one or more applications, other program modules and program data, each of which or some combination may include the implementation of a network environment.

[0107] The electronic device 600 may also communicate with one or more external devices 604 (e.g., keyboards, remote controls, etc.), and may also communicate with one or more devices that enable a user to interact with the electronic device 600 (e.g., mobile phones, computers, etc.), and / or communicate with any device that enables the electronic device 600 to communicate with one or more other electronic devices 600 (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 605. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 606. Figure 6 As shown, the network adapter 606 communicates with other modules of the electronic device 600 via the bus 603. It should be understood that although Figure 6Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, disk arrays (Redundant Arrays of Independent Disks, RAID) subsystems, tape drives, and data backup storage subsystems.

[0108] The computer-readable storage medium provided in the embodiment of the present application is introduced below. The computer-readable storage medium provided in the embodiment of the present application stores computer instructions, and when the computer instructions are executed by the processor, the method for determining the order of the anti-aliasing filter or the method for controlling the order of the anti-aliasing filter provided in the embodiment of the present application is implemented. Specifically, the computer instructions can be built-in or installed in the electronic device 600, so that the electronic device 600 can implement the method for determining the order of the anti-aliasing filter or the method for controlling the order of the anti-aliasing filter provided in the embodiment of the present application by executing the built-in or installed computer instructions.

[0109] In addition, the method for determining the order of a de-aliasing filter or the method for controlling the order of a de-aliasing filter provided in the embodiments of the present application can also be implemented as a program product, which includes a program code. When the program product can be run on an electronic device 600, the program code is used to enable the electronic device 600 to execute the method for determining the order of a de-aliasing filter or the method for controlling the order of a de-aliasing filter provided in the embodiments of the present application.

[0110] The program product provided in the embodiments of the present application may adopt any combination of one or more readable media, wherein the readable medium may be a readable signal medium or a readable storage medium, and the readable storage medium may be but is not limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination of the above. Specifically, more specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, RAM, ROM, Erasable Programmable Read Only Memory (EPROM), optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0111] The program product provided in the embodiment of the present application may adopt a CD-ROM and include program code, and may also be run on a computing device. However, the program product provided in the embodiment of the present application is not limited thereto. In the embodiment of the present application, the readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.

[0112] It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.

[0113] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0114] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0115] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for determining the order of an anti-aliasing filter, characterized in that: include: Acquire frequency parameters of the measured signal and sampling parameters of the sampling circuit; wherein the sampling parameters include sampling frequency and sampling dynamic range; Determining the frequency span width of the transition band of the anti-aliasing filter according to the frequency parameter of the measured signal and the sampling frequency of the sampling circuit; The minimum order of the anti-aliasing filter is determined according to the frequency span width of the transition band and the sampling dynamic range of the sampling circuit.

2. The method for determining the order of an anti-aliasing filter according to claim 1, wherein: The step of determining the frequency span width of the transition band of the anti-aliasing filter according to the frequency parameter of the measured signal and the sampling frequency of the sampling circuit comprises: Based on the frequency parameters of the measured signal, determining the highest frequency of the measured signal as the corner frequency of the anti-aliasing filter; The product of the sampling frequency of the sampling circuit and the preset sampling factor is used as the stop band starting frequency of the anti-aliasing filter; The frequency span of the transition band of the anti-aliasing filter is determined according to the corner frequency and the stop band start frequency.

3. The method for determining the order of an anti-aliasing filter according to claim 1, wherein: The step of determining the minimum order of the anti-aliasing filter according to the frequency span width of the transition band and the sampling dynamic range of the sampling circuit comprises: The ratio of the frequency span width of the transition band to the sampling dynamic range of the sampling circuit is processed as a negative value, and the ratio after the negative value processing is used as the attenuation steepness of the transition band of the anti-aliasing filter; The minimum order of the anti-aliasing filter is determined according to the attenuation steepness of the transition band.

4. A method for controlling an anti-aliasing filter, characterized in that: The anti-aliasing filter is a variable order filter, comprising: Determine the minimum order of the anti-aliasing filter by using the method for determining the order of the anti-aliasing filter according to any one of claims 1 to 3; The anti-aliasing filter is controlled to be adjusted to the minimum order, so as to perform a filtering operation on the measured signal input to the sampling circuit through the anti-aliasing filter of the minimum order.

5. The anti-aliasing filter control method according to claim 4, characterized in that: The controlling the anti-aliasing filter to adjust to the minimum order comprises: Inputting the minimum order of the anti-aliasing filter and the corner frequency of the anti-aliasing filter into a parameter determination model to obtain component parameters output by the parameter determination model; The resistor and capacitor connected to the anti-aliasing filter are controlled according to the component parameters.

6. The anti-aliasing filter control method according to claim 5, characterized in that: The parameter determination model presets the correlation relationship between the corner frequencies corresponding to the anti-aliasing filters of different orders and the component parameters.

7. A device for determining the order of an anti-aliasing filter, characterized in that: include: A parameter acquisition unit, used to acquire the frequency parameters of the measured signal and the sampling parameters of the sampling circuit; wherein the sampling parameters include the sampling frequency and the sampling dynamic range; A transition band determination unit, used to determine the frequency span width of the transition band of the anti-aliasing filter according to the frequency parameter of the measured signal and the sampling frequency of the sampling circuit; The minimum order determination unit is used to determine the minimum order of the anti-aliasing filter according to the frequency span width of the transition band and the sampling dynamic range of the sampling circuit.

8. A control device for an anti-aliasing filter, characterized in that: include: An order determination unit, configured to determine a minimum order of the anti-aliasing filter by using an anti-aliasing filter order determination method; The order adjustment unit is used to control the anti-aliasing filter to adjust to the minimum order, so as to perform a filtering operation on the measured signal input to the sampling circuit through the anti-aliasing filter of the minimum order.

9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for determining the order of an anti-aliasing filter as described in any one of claims 1 to 3 or the method for controlling an anti-aliasing filter as described in any one of claims 4 to 6 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method for determining the order of an anti-aliasing filter according to any one of claims 1 to 3 or the method for controlling an anti-aliasing filter according to any one of claims 4 to 6 is implemented.