CN116582109A - Filter construction method, device, computer equipment and readable storage medium - Google Patents

Filter construction method, device, computer equipment and readable storage medium Download PDF

Info

Publication number
CN116582109A
CN116582109A CN202310436306.0A CN202310436306A CN116582109A CN 116582109 A CN116582109 A CN 116582109A CN 202310436306 A CN202310436306 A CN 202310436306A CN 116582109 A CN116582109 A CN 116582109A
Authority
CN
China
Prior art keywords
filter
sub
target
configuration scheme
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310436306.0A
Other languages
Chinese (zh)
Inventor
程号
詹俊鲲
李东妍
戎晓龙
杨晓东
霍军政
张伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi'an Xidian International Engineering Co ltd
China XD Electric Co Ltd
Original Assignee
Xi'an Xidian International Engineering Co ltd
China XD Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xi'an Xidian International Engineering Co ltd, China XD Electric Co Ltd filed Critical Xi'an Xidian International Engineering Co ltd
Priority to CN202310436306.0A priority Critical patent/CN116582109A/en
Publication of CN116582109A publication Critical patent/CN116582109A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H17/00Networks using digital techniques
    • H03H17/02Frequency selective networks
    • H03H17/06Non-recursive filters
    • H03H17/0621Non-recursive filters with input-sampling frequency and output-delivery frequency which differ, e.g. extrapolation; Anti-aliasing
    • H03H17/0635Non-recursive filters with input-sampling frequency and output-delivery frequency which differ, e.g. extrapolation; Anti-aliasing characterized by the ratio between the input-sampling and output-delivery frequencies
    • H03H17/0671Cascaded integrator-comb [CIC] filters
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H17/00Networks using digital techniques
    • H03H17/02Frequency selective networks
    • H03H17/0223Computation saving measures; Accelerating measures
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H17/00Networks using digital techniques
    • H03H2017/0072Theoretical filter design
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Complex Calculations (AREA)

Abstract

The application relates to a method and a device for constructing a filter, computer equipment and a readable storage medium, and relates to the technical field of filter design. The method comprises the following steps: determining an order range and a total extraction rate of the target filter according to the order of a modulator corresponding to the target filter to be constructed and the output data bit number of the target filter; then, determining at least one selectable number of sub-filters included in the target filter according to the order range; then, constructing sub-filter extraction rate configuration schemes corresponding to each selectable number on the condition that the product of the extraction rates of the sub-filters included in the target filter is equal to the total extraction rate; further, the target number of sub-filters included in the target filter and the decimation rate of each sub-filter are determined according to the calculated amount of the decimation rate configuration scheme of each sub-filter. The method can reasonably configure the extraction rate of the sub-filter corresponding to the filter, construct the filter with the minimum calculation amount and effectively improve the working efficiency.

Description

Filter construction method, device, computer equipment and readable storage medium
Technical Field
The present application relates to the field of filter design technologies, and in particular, to a method and apparatus for constructing a filter, a computer device, and a readable storage medium.
Background
Currently, CIC filters (Cascaded Integrator-Comb filters) have increasingly become the most popular filters in hardware design. For example, in an online monitoring device and an overall station monitoring system for complex devices such as a Converter transformer device, a Converter valve, a GIS device (Gas Insulated Switchgear, a gas insulated switchgear) for a high-voltage direct-current Converter station of a power system, a higher requirement is put on the conversion efficiency of an ADC (Analog to Digital Converter, an analog-digital Converter), while a CIC filter is used as a critical component of a Sigma-Delta type ADC (Sigma-Delta-Converter, sigma-Delta discrete type ADC), and the selection of the CIC filter has a critical influence on the performance of the Sigma-Delta type ADC. The frequency response of the CIC filter consists of a series of regularly distributed peaks that look like a comb. The CIC filter can superimpose a signal on its delayed signal to produce phase cancellation, an important feature of which is that it can be implemented without multiplication, but with addition/subtraction.
In general, in order to reduce the addition/subtraction amount of the CIC filter, a CIC filter of a higher order is split into a plurality of sub-filters of a lower order, and the output of the sub-filter of a previous stage is used as the input of the sub-filter of a subsequent stage. This simple splitting approach, while capable of reducing the computation of CIC filters to some extent, still requires significant computation for higher order filters.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a construction method, apparatus, computer device, and readable storage medium capable of constructing a filter with a small calculation amount.
In a first aspect, the present application provides a method for constructing a filter, the method comprising:
determining an order range and a total extraction rate of the target filter according to the order of a modulator corresponding to the target filter to be constructed and the output data bit number of the target filter;
determining at least one selectable number of sub-filters included in the target filter according to the order range;
constructing a sub-filter decimation rate configuration scheme corresponding to each selectable number on the condition that the product of the decimation rates of the sub-filters included in the target filter is equal to the total decimation rate; wherein the decimation rate of the sub-filter is a non-1 factor of the total decimation rate;
And determining the target number of the sub-filters contained in the target filter and the extraction rate of each sub-filter according to the calculated amount of the extraction rate configuration scheme of each sub-filter.
In one embodiment, determining the order range and the total decimation rate of the target filter according to the order of the modulator corresponding to the target filter to be constructed and the output data bit number of the target filter includes:
determining an order lower limit value in an order range of the target filter according to the order of the modulator corresponding to the target filter to be constructed;
determining the total extraction rate of the target filter according to the output data bit number of the target filter and the order lower limit value;
and determining an order upper limit value in the order range according to the total extraction rate.
In one embodiment, determining the total decimation rate of the target filter according to the output data bit number of the target filter and the lower order limit value includes:
and determining the total extraction rate of the target filter by taking 2 as a base number and taking the ratio between the output data bit number of the target filter and the lower limit value of the order as an index.
In one embodiment, determining the target number of sub-filters included in the target filter and the decimation rate of each sub-filter according to the calculation amount of the decimation rate configuration scheme of each sub-filter includes:
For each sub-filter extraction rate configuration scheme, determining addition and subtraction calculated amount of the target filter under the sub-filter extraction rate configuration scheme according to the extraction rate of each sub-filter corresponding to the sub-filter extraction rate configuration scheme and the position of each sub-filter in the target filter;
selecting a target configuration scheme from all the sub-filter extraction rate configuration schemes according to the addition and subtraction calculated amount of the target filter under all the sub-filter extraction rate configuration schemes;
taking the selectable number corresponding to the target configuration scheme as the target number of the sub-filters contained in the target filter;
the extraction rate of each sub-filter corresponding to the target configuration scheme is taken as the extraction rate of each sub-filter contained in the target filter.
In one embodiment, determining the addition and subtraction calculation amount of the target filter under the sub-filter decimation rate configuration scheme according to the decimation rate of each sub-filter and the position of each sub-filter in the target filter, where the decimation rate configuration scheme corresponds to the sub-filter decimation rate scheme includes:
determining addition and subtraction computation load of each sub-filter corresponding to the sub-filter extraction rate configuration scheme according to the extraction rate of each sub-filter corresponding to the sub-filter extraction rate configuration scheme and the position of each sub-filter in the target filter;
And taking the sum of the addition and subtraction calculated amounts of all the sub-filters corresponding to the sub-filter decimation rate configuration scheme as the addition and subtraction calculated amount of the target filter under the sub-filter decimation rate configuration scheme.
In one embodiment, selecting the target configuration scheme from the sub-filter decimation rate configuration schemes according to the addition and subtraction calculated amount of the target filter under the sub-filter decimation rate configuration schemes includes:
and taking the sub-filter extraction rate configuration scheme corresponding to the minimum addition and subtraction calculation amount in the sub-filter extraction rate configuration schemes corresponding to the target filter as a target configuration scheme.
In one embodiment, determining the addition and subtraction computation load of each sub-filter corresponding to the sub-filter decimation rate configuration scheme according to the decimation rate of each sub-filter corresponding to the sub-filter decimation rate configuration scheme and the position of each sub-filter in the target filter includes:
constructing a transfer function of each sub-filter corresponding to the sub-filter decimation rate configuration scheme according to the decimation rate of the sub-filter and the position of the sub-filter in the target filter;
and determining the addition and subtraction calculated quantity of the sub-filter according to the polynomial corresponding to the transfer function and the extraction rate of the sub-filter.
In a second aspect, the present application also provides a device for constructing a filter, including:
the first determining module is used for determining the order range and the total extraction rate of the target filter according to the order of the modulator corresponding to the target filter to be constructed and the output data bit number of the target filter;
a second determining module, configured to determine at least one selectable number of sub-filters included in the target filter according to the order range;
the scheme construction module is used for constructing sub-filter extraction rate configuration schemes corresponding to various selectable numbers on the condition that the product of the extraction rates of the sub-filters contained in the target filter is equal to the total extraction rate; wherein the decimation rate of the sub-filter is a non-1 factor of the total decimation rate;
the filter construction module is used for determining the target number of the sub-filters contained in the target filter and the extraction rate of each sub-filter according to the calculated amount of the extraction rate configuration scheme of each sub-filter.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory and a processor, the memory stores a computer program, and the processor executes the computer program to realize the following steps:
Determining an order range and a total extraction rate of the target filter according to the order of a modulator corresponding to the target filter to be constructed and the output data bit number of the target filter;
determining at least one selectable number of sub-filters included in the target filter according to the order range;
constructing a sub-filter decimation rate configuration scheme corresponding to each selectable number on the condition that the product of the decimation rates of the sub-filters included in the target filter is equal to the total decimation rate; wherein the decimation rate of the sub-filter is a non-1 factor of the total decimation rate;
and determining the target number of the sub-filters contained in the target filter and the extraction rate of each sub-filter according to the calculated amount of the extraction rate configuration scheme of each sub-filter.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
determining an order range and a total extraction rate of the target filter according to the order of a modulator corresponding to the target filter to be constructed and the output data bit number of the target filter;
determining at least one selectable number of sub-filters included in the target filter according to the order range;
Constructing a sub-filter decimation rate configuration scheme corresponding to each selectable number on the condition that the product of the decimation rates of the sub-filters included in the target filter is equal to the total decimation rate; wherein the decimation rate of the sub-filter is a non-1 factor of the total decimation rate;
and determining the target number of the sub-filters contained in the target filter and the extraction rate of each sub-filter according to the calculated amount of the extraction rate configuration scheme of each sub-filter.
In a fifth aspect, the application also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of:
determining an order range and a total extraction rate of the target filter according to the order of a modulator corresponding to the target filter to be constructed and the output data bit number of the target filter;
determining at least one selectable number of sub-filters included in the target filter according to the order range;
constructing a sub-filter decimation rate configuration scheme corresponding to each selectable number on the condition that the product of the decimation rates of the sub-filters included in the target filter is equal to the total decimation rate; wherein the decimation rate of the sub-filter is a non-1 factor of the total decimation rate;
And determining the target number of the sub-filters contained in the target filter and the extraction rate of each sub-filter according to the calculated amount of the extraction rate configuration scheme of each sub-filter.
According to the method, the device, the computer equipment and the readable storage medium for constructing the filter, the order range and the total extraction rate of the target filter are determined by combining the order of the modulator corresponding to the target filter to be constructed and the output data bit number of the target filter, and based on the order range and the total extraction rate, a plurality of alternative sub-filter extraction rate configuration schemes are constructed on the condition that the product of the extraction rates of the sub-filters contained in the target filter is equal to the total extraction rate, and further the calculated amount is taken as a constraint to determine the target number of the sub-filters contained in the target filter to be constructed and the extraction rate of each sub-filter.
Drawings
FIG. 1 is an application environment diagram of a method of constructing a filter in one embodiment;
FIG. 2 is a flow chart of a method of constructing a filter in one embodiment;
FIG. 3 is a flow chart of determining the order range and the total decimation rate of a target filter according to an embodiment;
FIG. 4 is a flow chart of determining sub-filter related information included in a target filter according to an embodiment;
FIG. 5 is a flow chart of determining the addition and subtraction of sub-filters in one embodiment;
FIG. 6 is a flow chart of a method of constructing a filter according to another embodiment;
FIG. 7 is a block diagram of a construction apparatus of a filter in one embodiment;
FIG. 8 is a block diagram showing a construction apparatus of a filter according to still another embodiment;
FIG. 9 is a block diagram showing a construction apparatus of a filter according to still another embodiment;
fig. 10 is an internal structural view of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The method for constructing the filter provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process, such as data related to a modulator corresponding to a target filter to be constructed. The data storage system may be integrated on the server 104 or may be located on a cloud or other network server. Specifically, the server 104 determines an order range and a total extraction rate of the target filter according to the order of the modulator corresponding to the target filter to be constructed and the output data bit number of the target filter; then, determining at least one selectable number of sub-filters included in the target filter according to the order range; and constructing a sub-filter decimation rate configuration scheme corresponding to each selectable number on the condition that the product of the decimation rates of the sub-filters included in the target filter is equal to the total decimation rate; wherein the decimation rate of the sub-filter is a non-1 factor of the total decimation rate; further, the target number of sub-filters included in the target filter and the decimation rate of each sub-filter are determined according to the calculated amount of the decimation rate configuration scheme of each sub-filter. Further, the server 104 may also feed back the target number of sub-filters included in the target filter and the decimation rate of each sub-filter to the terminal 102 through interaction with the terminal 102, and the terminal 102 feeds back the construction scheme of the target filter to the filter construction personnel.
The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices, where the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices, and the like. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. The server 104 may be implemented as a stand-alone server or as a server cluster of multiple servers.
In one embodiment, as shown in fig. 2, a method for constructing a filter is provided, and the method is applied to the server 104 in fig. 1 for illustration, and includes the following steps:
s201, determining the order range and the total extraction rate of the target filter according to the order of the modulator corresponding to the target filter to be constructed and the output data bit number of the target filter.
Specifically, the target filter to be constructed is a CIC filter (Cascaded Integrator-Comb filter), and the modulator corresponding to the target filter to be constructed is a modulator connected to the CIC filter in an ADC (Analog to Digital Converter, analog-digital converter).
In this embodiment, the ADC may be a Sigma-Delta (Sigma-Delta-Converter, sigma-Delta discrete) ADC; accordingly, the modulator may be a sigma-delta modulator, which is a modulator using techniques such as oversampling and noise shaping, and which primarily implements signal sampling and delta coding processes whose output and feedback are coarsely quantized, often with only a 1-bit stream representing either a high level or a low level output. In the condition that the loop of the ADC is relatively stable, the output is a rough representation of the input, in other words, the target filter obtains the rough output of the corresponding modulator, and the rough output is converted into a precise digital signal through decimation filtering processing, and then the precise digital signal is output.
In practical application, when the extraction rate required by the sigma-delta modulator connected with the target filter is larger, the passband and the transition band of the target filter are very narrow, so that the order of the target filter is very large, and the calculated amount of the target filter is greatly increased, and the system power consumption and the chip area are increased during implementation. Therefore, the order of the front-end sigma-delta modulator of the target filter should be taken into account when constructing the target filter. For example, the order of the target filter is at least 1 greater than the order of the corresponding sigma-delta modulator, thereby preventing noise modulation of excessive distortion outside the sidebands from entering baseband.
Meanwhile, since the number of bits of the output data of the target filter is a multiple of the number of bits of the input data, in other words, the input data is a 1-bit stream, the output data is an n-bit stream, and the size of n is related to the order and the total decimation rate of the target filter.
Thus, when determining the order of the corresponding sigma-delta modulator, and the output data bits n of the target filter, the order range and the total decimation rate of the target filter can be derived. That is, in the overall construction of the target filter, the order of the modulator corresponding to the target filter and the number of bits of output data of the target filter are determined based on the actual application, and then the order range and the total extraction rate of the target filter can be determined according to the corresponding order of the modulator and the number of bits of output data of the target filter.
S202, determining at least one selectable number of sub-filters contained in the target filter according to the order range.
Currently, in order to reduce the addition and subtraction calculation amount of the CIC filter, one high-order CIC filter is often simply split into a plurality of cascaded low-order filters. For example, for a 5-order filter, it can be split into two 2-order filters and one 1-order filter; as another example, for a 12-order filter, it can be split into 3 4-order filters. The splitting mode can reduce the overall calculation amount of the filter to a certain extent by reducing the order of the CIC filter.
It can be understood that the higher the order of the target filter, the more splitting modes are possible, and the calculation amount of the target filter constructed in different splitting modes is inconsistent, and when the order of the target filter is higher, the calculation amount required after simple splitting is still higher. Based on this, after determining the order range of the target filter, all splitting modes may be classified according to the number of sub-filters split by the target filter in different splitting modes, that is, at least one selectable number of sub-filters included in the target filter may be determined according to the order range, and then classified according to different selectable numbers.
Optionally, the order of the target filter is the same as the number of sub-filters comprised by the target filter. For example, determining the order of the target filter ranges from 4 to 7 orders, then corresponds to determining the number of selectable sub-filters included in the target filter to be 4 to 7.
S203, constructing sub-filter extraction rate configuration schemes corresponding to each selectable number on the condition that the product of the extraction rates of the sub-filters included in the target filter is equal to the total extraction rate.
Wherein the decimation rate of the sub-filter is a non-1 factor of the total decimation rate.
The sub-filters included in the target filter are arranged in a cascade, the output of the former sub-filter serves as the input of the latter sub-filter, and the product of the decimation rates of all the cascade sub-filters is the total decimation rate of the target filter. Then, in the case where the total decimation rate of the target filter to be constructed has been determined, all the sub-filter decimation rate configuration schemes of the target filter may be constructed on the condition that the product of the decimation rates of the sub-filters included in the target filter is equal to the total decimation rate.
Specifically, according to the selectable number of sub-filters included in the target filter, a sub-filter decimation rate configuration scheme of the target filter corresponding to each selectable number is constructed on the condition that the product of the decimation rates of the sub-filters included in the target filter is equal to the total decimation rate.
In an actual application scenario, if it is determined that the total decimation rate of the target filter to be constructed is 128, then the product of the decimation rates of all the sub-filters included in the target filter should also be 128; wherein the decimation rate of the sub-filter is a non-1 factor of the total decimation rate. In this application scenario, if the optional number of sub-filters is not considered, then the decimation rate of the sub-filters may be 2, 4, 8, 16, 32, 64, 128.
Accordingly, if the order range of the target filter is determined to be 4 to 7 according to the modulator order of the front end of the target filter and the number of output data bits required by the target filter, this corresponds to determining the number of selectable sub-filters included in the target filter to be 4 to 7.
Further, classifying according to the selectable number of the sub-filters to obtain a cascading mode of the sub-filters corresponding to each selectable number, and then constructing a corresponding sub-filter extraction rate configuration scheme. The method comprises the following steps:
(1) When the selectable number of the sub-filters is 4, the corresponding sub-filter cascade manner includes: one decimation rate 16 sub-filter and three decimation rate 2 sub-filters are cascaded, or one decimation rate 8 sub-filter, one decimation rate 4 sub-filter and two decimation rate 2 sub-filters are cascaded, or three decimation rate 4 sub-filters and one decimation rate 2 sub-filter are cascaded.
(2) When the selectable number of the sub-filters is 5, the corresponding sub-filter cascading manner includes: one decimation rate 8 sub-filter and four decimation rate 2 sub-filters are cascaded, or two decimation rate 4 sub-filters and three decimation rate 2 sub-filters are cascaded.
(3) When the selectable number of the sub-filters is 6, the corresponding sub-filter cascade manner includes: one decimation rate 4 sub-filter and five decimation rate 2 sub-filters are cascaded.
(4) When the selectable number of the sub-filters is 7, the corresponding sub-filter cascade manner includes: seven sub-filters with decimation rate 2 are cascaded.
Each sub-filter decimation rate configuration scheme includes, but is not limited to, the number of sub-filters used in the cascade, the decimation rate of each sub-filter, and the order, type, delay, center frequency, bandwidth, etc. of each sub-filter.
In an embodiment, the relevant data for constructing the sub-filter decimation rate configuration scheme may be stored in different lists, and the construction of the sub-filter decimation rate configuration scheme is achieved by selecting the relevant data from the different lists. For example, the selectable number of the sub-filters included in the target filter is stored in a first list, the extraction rate of each sub-filter is stored in a second list, and according to the construction rule of the target filter, the data in the first list and the data in the second list are orderly combined to form a plurality of sub-filter extraction rate configuration schemes corresponding to the target filter.
In the overall construction of the target filter, in order to further reduce the calculation amount, a sub-filter with a higher extraction rate may be constructed as a next-stage target filter, and the construction steps are identical to those of the target filter, which will not be described in detail.
S204, determining the target number of the sub-filters contained in the target filter and the extraction rate of each sub-filter according to the calculated amount of the extraction rate configuration scheme of each sub-filter.
And determining the calculated amount of each sub-filter extraction rate configuration scheme aiming at the sub-filter extraction rate configuration schemes corresponding to the selectable numbers. Since CIC filters do not require multiplication but only addition and/or subtraction, the calculation amounts here refer to addition and subtraction calculations.
According to the addition and subtraction calculated amount of each sub-filter extraction rate configuration scheme, determining the scheme with the minimum addition and subtraction calculated amount in all sub-filter extraction rate configuration schemes, and taking the scheme as the sub-filter extraction rate configuration scheme of the target filter, namely the target configuration scheme, and then determining the target number of sub-filters contained in the corresponding target filter and the extraction rate of each sub-filter based on the target configuration scheme, thereby constructing the target filter.
In the method for constructing the filter, the order range and the total extraction rate of the target filter are determined according to the order of the modulator corresponding to the target filter to be constructed and the output data bit number of the target filter; then, determining at least one selectable number of sub-filters included in the target filter according to the order range; then, constructing sub-filter extraction rate configuration schemes corresponding to each selectable number on the condition that the product of the extraction rates of the sub-filters included in the target filter is equal to the total extraction rate; wherein the decimation rate of the sub-filter is a non-1 factor of the total decimation rate; further, the target number of sub-filters included in the target filter and the decimation rate of each sub-filter are determined according to the calculated amount of the decimation rate configuration scheme of each sub-filter.
Compared with the simple splitting of the high-order filter into a plurality of low-order filters in the prior art, the method has the advantages that the order range and the total extraction rate of the target filter are limited, the extraction rate configuration scheme of the sub-filter corresponding to the target filter is constructed on the condition that the product of the extraction rates of the sub-filters contained in the target filter is equal to the total extraction rate, the target number of the sub-filters contained in the target filter to be constructed and the extraction rate of each sub-filter are determined on the basis of the calculated amount as constraints, so that the target filter is constructed, the extraction rate of the sub-filter corresponding to the target filter is reasonably configured under the condition that the filter design requirement is met, the target filter with small calculated amount is constructed, and the working efficiency of the filter is effectively improved.
In order to construct a target filter that meets the filtering effect requirement, in one embodiment, the step S201 is refined on the basis of the above embodiment. As shown in fig. 3, the method specifically includes the following steps:
s301, determining an order lower limit value in an order range of a target filter according to the order of a modulator corresponding to the target filter to be constructed.
The sigma-delta modulator to which the target filter corresponds introduces a degree of noise and interference that the target filter should eliminate. While if the order of the target filter is lower than the order of the corresponding sigma-delta modulator, it may not be possible to remove all unwanted signals, resulting in a reduced signal quality. Therefore, when constructing the target filter, the order of the sigma-delta modulator corresponding to the target filter should be considered so that the order of the target filter is at least 1 greater than the order of the sigma-delta modulator, thereby preventing noise modulation of excessive distortion outside the sidebands from entering the baseband.
Specifically, the lower limit value of the order in the order range of the target filter is determined according to the order of the modulator corresponding to the target filter to be constructed. For example, the modulator at the front end of the target filter is 3-order, and in order not to affect the filtering effect of the target filter, the lower limit value of the order range of the target filter may be 4.
S302, determining the total extraction rate of the target filter according to the output data bit number of the target filter and the order lower limit value.
In the actual construction of the filter, the number of output data bits of the target filter to be constructed is often determined based on different requirements. The number of output data bits of the target filter is a multiple of the number of input data bits, that is, if the input data is a 1-bit stream, the output data is an n-bit stream.
The output data bit number of the target filter, the order number of the target filter and the total extraction rate of the target filter satisfy the following relation:
n=Klog 2 R;
where n is the number of output data bits of the target filter, K is the order of the target filter, and R is the total decimation rate of the target filter.
Converting the relation among the output data bit number, the order number and the total extraction rate of the target filter to obtain the total extraction satisfying relation of the target filter
As can be seen from the above-mentioned relation, when the number of output data bits of the desired target filter is stable, the larger the order K of the target filter is, the smaller the total decimation rate R is, whereas the smaller the order K of the target filter is, the larger the total decimation rate R is. Therefore, in order to construct a target filter that meets the filtering effect requirement, the lower limit value of the order in the order range may be substituted into the relational expression, and the ratio between the output data bit number of the target filter and the lower limit value of the order is used as an index to determine the total decimation rate of the target filter. Namely, the total extraction rate of the target filter is determined by taking 2 as a base number and taking the ratio between the output data bit number of the target filter and the lower limit value of the order as an index.
S303, determining an order upper limit value in the order range according to the total extraction rate.
Alternatively, the order of the target filter without splitting the target filter will be assumed as the upper-order limit value in the order range. For example, the total decimation rate of the target filter to be constructed is 128, and the maximum order of the target filter may be determined to be 7, i.e., the upper order limit value of the order range may be determined to be 7.
In general, the higher the order of the filter, the better the filtering effect, but the cost increases. Therefore, the order range of the filter can also be limited based on other situations, such as the filtering effect and the cost requirement. It should be noted that this is only an alternative implementation of the present embodiment, and does not mean that the order range of the filter must be limited.
In order to accurately determine a preferred solution in the extraction rate configuration schemes of each sub-filter, and thus construct a target filter with a minimum calculation amount, in an embodiment, as shown in fig. 4, the extraction rate configuration schemes of each sub-filter may be screened according to the magnitude of the addition and subtraction calculation amount of each sub-filter in the extraction rate configuration schemes of each sub-filter, and further refine the S204, and the method specifically may include the following steps:
S401, for each sub-filter extraction rate configuration scheme, determining the addition and subtraction calculated amount of the target filter under the sub-filter extraction rate configuration scheme according to the extraction rate of each sub-filter corresponding to the sub-filter extraction rate configuration scheme and the position of each sub-filter in the target filter.
And determining the calculated amount of each sub-filter extraction rate configuration scheme aiming at the sub-filter extraction rate configuration schemes corresponding to the selectable numbers. Since CIC filters do not require multiplication but only addition and/or subtraction, the calculation amounts here refer to addition and subtraction calculations.
Specifically, the magnitude of the addition and subtraction calculation amount of the target filter in each sub-filter decimation rate arrangement scheme depends on the manner in which the decimation rate and the position of each sub-filter are arranged in each sub-filter decimation rate arrangement scheme. The position of the sub-filter refers to the arrangement position of the sub-filter when the sub-filter is cascaded to form the corresponding target filter, namely the order of the sub-filter. For example. For a target filter, the target filter is composed of three sub-filters in cascade, the output of one sub-filter is the input of the next sub-filter, wherein the order of the sub-filter arranged at the first is 1 order, the order of the sub-filter arranged at the second is 2 order, and the order of the sub-filter arranged at the third is 3 order.
Optionally, for each sub-filter decimation rate configuration scheme, the decimation rate of each sub-filter corresponding to the sub-filter decimation rate configuration scheme and the position of each sub-filter in the target filter may be input to a pre-trained calculation amount determining model, where the calculation amount determining model determines, based on its own parameters, the addition and subtraction calculation amount of the target filter under the sub-filter decimation rate configuration scheme.
Or determining the addition and subtraction calculated amount of each sub-filter corresponding to the sub-filter extraction rate configuration scheme according to the extraction rate of each sub-filter corresponding to the sub-filter extraction rate configuration scheme and the position of each sub-filter in the target filter; and taking the sum of the addition and subtraction calculated amounts of all the sub-filters corresponding to the sub-filter decimation rate configuration scheme as the addition and subtraction calculated amount of the target filter under the sub-filter decimation rate configuration scheme.
Specifically, for each sub-filter decimation rate configuration scheme, the addition and subtraction amounts of each sub-filter under the sub-filter decimation rate configuration scheme may be determined separately. After the addition and subtraction calculated amounts of all the sub-filters are respectively determined, the addition and subtraction calculated amounts of the target filter under the sub-filter decimation rate configuration scheme can be obtained through summation.
For each sub-filter in the sub-filter decimation rate configuration scheme, the decimation rate of the sub-filter and the position of the sub-filter in the target filter can be combined with the basic transfer function of the filter (i.e., the transfer function of the first-order CIC filter), so as to determine the addition and subtraction computation amount of the sub-filter.
S402, selecting a target configuration scheme from all the sub-filter extraction rate configuration schemes according to the addition and subtraction calculated amount of the target filter under all the sub-filter extraction rate configuration schemes.
And determining the optimal scheme in all the sub-filter extraction rate configuration schemes according to the addition and subtraction calculated amount of the target filter under each sub-filter extraction rate configuration scheme, and taking the optimal scheme as the target configuration scheme of the target filter.
In an alternative embodiment, the sub-filter decimation rate configuration scheme corresponding to the minimum addition and subtraction calculation amount in the sub-filter decimation rate configuration schemes corresponding to the target filter is used as the target configuration scheme.
S403, the selectable number corresponding to the target configuration scheme is used as the target number of the sub-filters contained in the target filter.
Before all the sub-filter decimation rate schemes are screened according to the addition and subtraction computation amount of the target filter under the sub-filter decimation rate scheme, the embodiment is based on the sub-filter decimation rate scheme which is constructed by sorting according to the selectable number. There is a corresponding selectable number of sub-filters per sub-filter decimation rate configuration scheme. Correspondingly, after determining the target configuration scheme corresponding to the target filter, the selectable number corresponding to the target configuration scheme is used as the target number of the sub-filters contained in the target filter.
S404, the extraction rate of each sub-filter corresponding to the target configuration scheme is taken as the extraction rate of each sub-filter contained in the target filter.
The target configuration scheme includes, but is not limited to, the selectable number of sub-filters included in the target filter and the decimation rate of each sub-filter. Therefore, the decimation rate of each sub-filter corresponding to the target arrangement scheme can be directly used as the decimation rate of each sub-filter included in the target filter.
Further, the target filter is constructed according to the determined target number of the sub-filters included in the target filter and the extraction rate of each sub-filter.
In order to determine the calculation amount of each sub-filter under each sub-filter decimation rate configuration scheme, in an embodiment, as shown in fig. 5, the transfer functions of the sub-filters may be equivalently replaced and expanded, and the step S401 may be refined according to the expansion rule of the polynomial, which may specifically include the following steps:
s501, constructing a transfer function of each sub-filter corresponding to the sub-filter decimation rate configuration scheme according to the decimation rate of the sub-filter and the position of the sub-filter in the target filter.
The transfer function of the first order CIC filter is:
wherein K is the order of the CIC filter, and R is the decimation rate of the CIC filter.
Specifically, for each sub-filter corresponding to the sub-filter decimation rate configuration scheme, according to the position of the sub-filter in the target filter, the order of the sub-filter can be determined, and then according to the decimation rate of the sub-filter and the order of the sub-filter, the transfer function of the sub-filter can be constructed by combining the transfer function of the first-order CIC filter.
For example, for the mth sub-filter in the sub-filter decimation rate configuration, the transfer function of the sub-filter can be expressed as:
wherein K is m Order of mth sub-filter, R m Is K th m Decimation rate of the sub-filters of the order.
Further, in this embodiment, the objective filter is composed of a cascade of sub-filters, so its transfer function can be expressed as:
s502, determining the addition and subtraction calculation amount of the sub-filter according to the polynomial corresponding to the transmission function and the extraction rate of the sub-filter.
And for each sub-filter, expanding a transfer function corresponding to the sub-filter to obtain a corresponding polynomial, and determining the addition and subtraction calculated amount generated when the sub-filter performs one-time extraction according to the number of terms of the polynomial. For example, for a sub-filter, the transfer function of the sub-filter is expanded to obtain a polynomial of n terms, and when the polynomial is subjected to addition and/or subtraction, the number of addition and/or subtraction is n-1, and then the addition and subtraction calculation amount generated by the sub-filter in one extraction is n-1.
Optionally, the decimation number of each sub-filter in a unit decimation time is a decimation rate. Furthermore, for each sub-filter, the product of the addition and subtraction amount of the sub-filter generated during one decimation and the number of decimations (i.e., decimation rate) per unit decimation time is determined as the addition and subtraction amount of the sub-filter per unit decimation time.
Further, after determining the addition and subtraction of each sub-filter corresponding to the sub-filter decimation rate configuration scheme, the sum of the addition and subtraction of each sub-filter corresponding to the sub-filter decimation rate configuration scheme may be used as the addition and subtraction calculation amount of the target filter under the sub-filter decimation rate configuration scheme.
Alternatively, in an embodiment, the addition and subtraction amount a of the target filter in the unit decimation time under each sub-filter decimation rate configuration scheme may be expressed as:
wherein K is 1 R is the calculated amount of the first order sub-filter, K M For the calculation amount of the sub-filter of the last order,the sum of the calculated amounts of all the sub-filters included in the target filter except the first-order and last-order sub-filters is calculated.
And comparing the addition and subtraction computation amounts corresponding to different sub-filter extraction rate configuration schemes in pairs, thereby determining a target configuration scheme with the minimum addition and subtraction computation amount in each sub-filter extraction rate configuration scheme.
Specifically, the formula derivation process of the addition and subtraction computation amount a of the target filter in the unit decimation time under each sub-filter decimation rate configuration scheme is as follows:
in the transfer function of the filter, z -1 Representing a delay of one point, z -R Representing a delay of R points, thus for 1-z -R Delay and then R 1 Sub-extraction, equivalent to 1-z -1 R is firstly carried out 1 And extracting again, and delaying again. And according to the relation between the delay-before-extraction and the delay-before-extraction, the addition and subtraction calculated amount generated by each sub-filter during one extraction is equivalently replaced.
(1) After the transfer function of the first order sub-filter is replaced, the methodIts expansion is K 1 +1 term, i.e. K 1 Performing addition and subtraction operations for times, wherein the extraction rate is R 1 R 2 ...R M The addition and subtraction calculated amount in unit extraction time is K 1 R。
(2) After the transfer function of the second order sub-filter is replaced, the methodGo through |K 2 -K 1 The extraction rate is R after the addition and subtraction operation 2 ...R M The addition and subtraction amount in the unit extraction time is |K 2 -K 1 |R 2 ...R M
(3) After the transfer function of the sub-filter of the third order to the last is replaced, obtaining (1-z-1) - (KM-1-KM-2), performing KM-1-KM-2 addition and subtraction operation, wherein the extraction rate is RM-1RM, and the addition and subtraction calculated amount in unit extraction time is |K M-1 -K M-2 |R M-1 R M
(4) After the transfer function of the penultimate sub-filter is replaced, obtaining (1-z-1) - (KM-KM-1), performing KM-KM-1 addition and subtraction operation, wherein the extraction rate is RM, and the addition and subtraction calculated amount in unit extraction time is |K M -K M-1 |R M
(5) After the transfer function of the sub-filter of the last order is replaced, the method is obtainedExpansion of the solution to obtain a polynomial +.>Co-K M +1 term, i.e. K M Adding and subtracting operations, wherein the addition and subtraction calculated amount in unit extraction time is K M
And summing up the addition and subtraction calculated amounts of each order of sub-filters contained in the target filter in unit extraction time, so as to determine the addition and subtraction calculated amounts of the target filter in unit extraction time.
In one embodiment, as shown in fig. 6, a preferred example of a method of constructing a filter is provided.
The specific process is as follows:
s601, determining an order lower limit value in an order range of a target filter according to the order of a modulator corresponding to the target filter to be constructed.
S602, taking 2 as a base number, taking the ratio between the output data bit number of the target filter and the order lower limit value as an index, and determining the total extraction rate of the target filter.
S603, determining an order upper limit value in the order range according to the total extraction rate.
S604, determining at least one selectable number of sub-filters included in the target filter according to the order range.
S605, constructing sub-filter extraction rate configuration schemes corresponding to each selectable number on the condition that the product of the extraction rates of the sub-filters included in the target filter is equal to the total extraction rate.
Wherein the decimation rate of the sub-filter is a non-1 factor of the total decimation rate.
S606, for each sub-filter extraction rate configuration scheme, determining the addition and subtraction calculated amount of the target filter under the sub-filter extraction rate configuration scheme according to the extraction rate of each sub-filter corresponding to the sub-filter extraction rate configuration scheme and the position of each sub-filter in the target filter.
Specifically, for each sub-filter corresponding to each sub-filter decimation rate configuration scheme, constructing a transfer function of the sub-filter according to the decimation rate of the sub-filter and the position of the sub-filter in the target filter; determining addition and subtraction calculated quantity of the sub-filter according to a polynomial corresponding to the transfer function and the extraction rate of the sub-filter; and taking the sum of the addition and subtraction calculated amounts of all the sub-filters corresponding to the sub-filter decimation rate configuration scheme as the addition and subtraction calculated amount of the target filter under the sub-filter decimation rate configuration scheme.
S607, the sub-filter extraction rate configuration scheme corresponding to the minimum addition and subtraction calculation amount in the sub-filter extraction rate configuration schemes corresponding to the target filter is taken as the target configuration scheme.
And S608, taking the selectable number corresponding to the target configuration scheme as the target number of the sub-filters contained in the target filter.
S609, the decimation ratio of each sub-filter corresponding to the target arrangement scheme is set as the decimation ratio of each sub-filter included in the target filter.
The specific process of S601 to S609 may refer to the description of the foregoing method embodiment, and the implementation principle and technical effects are similar, and are not repeated herein.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a filter construction device for realizing the filter construction method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiment of the device for constructing one or more filters provided below may be referred to the limitation of the method for constructing a filter hereinabove, and will not be described herein.
In one embodiment, as shown in fig. 7, there is provided a filter constructing apparatus 1 including: a first determination module 10, a second determination module 20, a solution construction module 30 and a filter construction module 40, wherein:
a first determining module 10, configured to determine an order range and a total decimation rate of the target filter according to an order of a modulator corresponding to the target filter to be constructed and an output data bit number of the target filter;
a second determining module 20, configured to determine at least one selectable number of sub-filters included in the target filter according to the order range;
a scheme construction module 30, configured to construct a sub-filter decimation rate configuration scheme corresponding to each selectable number on the condition that a product of decimation rates of sub-filters included in the target filter is equal to the total decimation rate; wherein the decimation rate of the sub-filter is a non-1 factor of the total decimation rate;
The filter construction module 40 is configured to determine, according to the calculated amount of the decimation rate configuration scheme of each sub-filter, the target number of sub-filters included in the target filter, and the decimation rate of each sub-filter.
In one embodiment, on the basis of fig. 7, as shown in fig. 8, the first determining module 10 may include:
a lower limit value determining unit 11, configured to determine an order lower limit value in an order range of the target filter according to an order of a modulator corresponding to the target filter to be constructed;
a total decimation rate determining unit 12 for determining the total decimation rate of the target filter according to the output data bit number of the target filter and the lower limit value of the order;
an upper limit value determining unit 13 for determining an upper limit value of the order in the order range based on the total extraction rate.
In one embodiment, the total extraction rate determining unit 12 may specifically be configured to:
and determining the total extraction rate of the target filter by taking 2 as a base number and taking the ratio between the output data bit number of the target filter and the lower limit value of the order as an index.
In one embodiment, on the basis of fig. 7, as shown in fig. 9, the filter construction module 40 may include:
a calculation amount determining unit 41, configured to determine, for each sub-filter decimation rate configuration scheme, an addition and subtraction calculation amount of the target filter under the sub-filter decimation rate configuration scheme according to the decimation rate of each sub-filter corresponding to the sub-filter decimation rate configuration scheme and the position of each sub-filter in the target filter;
A screening unit 42, configured to select a target configuration scheme from the sub-filter decimation rate configuration schemes according to the addition and subtraction calculated amounts of the target filter under the sub-filter decimation rate configuration schemes;
a first construction unit 43, configured to use the selectable number corresponding to the target configuration scheme as the target number of sub-filters included in the target filter;
the second construction unit 44 is configured to set the decimation rate of each sub-filter corresponding to the target configuration scheme as the decimation rate of each sub-filter included in the target filter.
In one embodiment, the above-described calculation amount determination unit 41 may include:
a first determining subunit, configured to determine an addition and subtraction computation load of each sub-filter corresponding to the sub-filter decimation rate configuration scheme according to the decimation rate of each sub-filter corresponding to the sub-filter decimation rate configuration scheme and the position of each sub-filter in the target filter;
and the second determining subunit is used for taking the sum of the addition and subtraction calculated amounts of all the sub-filters corresponding to the sub-filter decimation rate configuration scheme as the addition and subtraction calculated amount of the target filter under the sub-filter decimation rate configuration scheme.
In one embodiment, the screening unit 42 may specifically be configured to:
And taking the sub-filter extraction rate configuration scheme corresponding to the minimum addition and subtraction calculation amount in the sub-filter extraction rate configuration schemes corresponding to the target filter as a target configuration scheme.
In one embodiment, the first determining subunit may specifically be configured to:
constructing a transfer function of each sub-filter corresponding to the sub-filter decimation rate configuration scheme according to the decimation rate of the sub-filter and the position of the sub-filter in the target filter; and determining the addition and subtraction calculated quantity of the sub-filter according to the polynomial corresponding to the transfer function and the extraction rate of the sub-filter.
The respective modules in the above-described filter constructing apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure of which may be as shown in fig. 10. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing data such as addition and subtraction calculation amount of the target filter. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of constructing a filter.
It will be appreciated by those skilled in the art that the structure shown in FIG. 10 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, implements the steps of the method embodiments described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (10)

1. A method of constructing a filter, the method comprising:
determining an order range and a total extraction rate of a target filter according to the order of a modulator corresponding to the target filter to be constructed and the output data bit number of the target filter;
determining at least one selectable number of sub-filters included in the target filter according to the order range;
Constructing a sub-filter decimation rate configuration scheme corresponding to each selectable number on the condition that the product of the decimation rates of the sub-filters included in the target filter is equal to the total decimation rate; wherein the decimation rate of the sub-filter is a non-1 factor of the total decimation rate;
and determining the target number of the sub-filters contained in the target filter and the extraction rate of each sub-filter according to the calculated amount of the extraction rate configuration scheme of each sub-filter.
2. The method according to claim 1, wherein determining the order range and the total decimation rate of the target filter according to the order of the modulator corresponding to the target filter to be constructed and the output data bit number of the target filter comprises:
determining an order lower limit value in an order range of a target filter according to the order of a modulator corresponding to the target filter to be constructed;
determining the total extraction rate of the target filter according to the output data bit number of the target filter and the order lower limit value;
and determining an order upper limit value in the order range according to the total extraction rate.
3. The method of claim 2, wherein said determining the total decimation rate of the target filter based on the output data bits of the target filter and the lower order limit comprises:
And determining the total extraction rate of the target filter by taking 2 as a base number and taking the ratio between the output data bit number of the target filter and the order lower limit value as an index.
4. The method according to claim 1, wherein determining the target number of sub-filters included in the target filter and the decimation rate of each sub-filter according to the calculation amount of the decimation rate configuration scheme of each sub-filter includes:
determining the addition and subtraction calculated amount of the target filter under the extraction rate configuration scheme of the sub-filter according to the extraction rate of each sub-filter corresponding to the extraction rate configuration scheme of the sub-filter and the position of each sub-filter in the target filter aiming at the extraction rate configuration scheme of each sub-filter;
selecting a target configuration scheme from all the sub-filter extraction rate configuration schemes according to the addition and subtraction calculated amount of the target filter under all the sub-filter extraction rate configuration schemes;
taking the selectable number corresponding to the target configuration scheme as the target number of the sub-filters contained in the target filter;
and taking the extraction rate of each sub-filter corresponding to the target configuration scheme as the extraction rate of each sub-filter contained in the target filter.
5. The method according to claim 4, wherein determining the addition and subtraction calculation amount of the target filter under the sub-filter decimation rate configuration scheme according to the decimation rate of each sub-filter corresponding to the sub-filter decimation rate configuration scheme and the position of each sub-filter in the target filter comprises:
determining addition and subtraction computation load of each sub-filter corresponding to the sub-filter extraction rate configuration scheme according to the extraction rate of each sub-filter corresponding to the sub-filter extraction rate configuration scheme and the position of each sub-filter in the target filter;
and taking the sum of the addition and subtraction calculated amounts of all the sub-filters corresponding to the sub-filter decimation rate configuration scheme as the addition and subtraction calculated amount of the target filter under the sub-filter decimation rate configuration scheme.
6. The method of claim 4, wherein selecting the target configuration scheme from among the sub-filter decimation rate configuration schemes based on the amount of addition and subtraction of the target filter under each sub-filter decimation rate configuration scheme, comprises:
and taking the sub-filter extraction rate configuration scheme corresponding to the minimum addition and subtraction calculation amount in the sub-filter extraction rate configuration schemes corresponding to the target filter as a target configuration scheme.
7. The method according to claim 5, wherein determining the addition and subtraction amounts of the respective sub-filters corresponding to the sub-filter decimation rate configuration scheme according to the decimation rate of the respective sub-filters corresponding to the sub-filter decimation rate configuration scheme and the positions of the respective sub-filters in the target filter comprises:
for each sub-filter corresponding to the sub-filter decimation rate configuration scheme, constructing a transfer function of the sub-filter according to the decimation rate of the sub-filter and the position of the sub-filter in the target filter;
and determining the addition and subtraction calculated quantity of the sub-filter according to the polynomial corresponding to the transfer function and the extraction rate of the sub-filter.
8. A filter construction apparatus, the apparatus comprising:
the first determining module is used for determining the order range and the total extraction rate of the target filter according to the order of the modulator corresponding to the target filter to be constructed and the output data bit number of the target filter;
a second determining module, configured to determine at least one selectable number of sub-filters included in the target filter according to the order range;
A scheme construction module, configured to construct a sub-filter decimation rate configuration scheme corresponding to each selectable number on the condition that a product of decimation rates of sub-filters included in the target filter is equal to the total decimation rate; wherein the decimation rate of the sub-filter is a non-1 factor of the total decimation rate;
and the filter construction module is used for determining the target number of the sub-filters contained in the target filter and the decimation rate of each sub-filter according to the calculated amount of the decimation rate configuration scheme of each sub-filter.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202310436306.0A 2023-04-21 2023-04-21 Filter construction method, device, computer equipment and readable storage medium Pending CN116582109A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310436306.0A CN116582109A (en) 2023-04-21 2023-04-21 Filter construction method, device, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310436306.0A CN116582109A (en) 2023-04-21 2023-04-21 Filter construction method, device, computer equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN116582109A true CN116582109A (en) 2023-08-11

Family

ID=87540471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310436306.0A Pending CN116582109A (en) 2023-04-21 2023-04-21 Filter construction method, device, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN116582109A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102403986A (en) * 2011-11-25 2012-04-04 京信通信***(中国)有限公司 Multi-channel CIC (Cascade Integrator Comb) decimation filter and method for realizing same
CN106921367A (en) * 2017-03-03 2017-07-04 重庆湃芯微电子有限公司 A kind of decimation filter of digital of sigma delta ADC
CN107070434A (en) * 2017-03-08 2017-08-18 湘潭芯力特电子科技有限公司 A kind of compensating filter for cascade integral comb filter
KR102091752B1 (en) * 2019-01-21 2020-03-20 국방과학연구소 Converter and method for converting analog signal to digital signal by delta-sigma modulation and decimation
CN111211759A (en) * 2019-12-31 2020-05-29 京信通信***(中国)有限公司 Filter coefficient determination method and device and digital DAS system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102403986A (en) * 2011-11-25 2012-04-04 京信通信***(中国)有限公司 Multi-channel CIC (Cascade Integrator Comb) decimation filter and method for realizing same
CN106921367A (en) * 2017-03-03 2017-07-04 重庆湃芯微电子有限公司 A kind of decimation filter of digital of sigma delta ADC
CN107070434A (en) * 2017-03-08 2017-08-18 湘潭芯力特电子科技有限公司 A kind of compensating filter for cascade integral comb filter
KR102091752B1 (en) * 2019-01-21 2020-03-20 국방과학연구소 Converter and method for converting analog signal to digital signal by delta-sigma modulation and decimation
CN111211759A (en) * 2019-12-31 2020-05-29 京信通信***(中国)有限公司 Filter coefficient determination method and device and digital DAS system
WO2021136101A1 (en) * 2019-12-31 2021-07-08 京信网络***股份有限公司 Filter coefficient determining method and apparatus and digital das system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王尧: "适用于Sigma—Delta ADC的多抽取率数字滤波器设计", 电子技术应用, vol. 48, no. 1, pages 89 - 93 *
马绍宇 等: "Σ-Δ ADC中数字抽取滤波器的多级实现", 天津大学学报, vol. 40, no. 12, pages 1421 - 1425 *

Similar Documents

Publication Publication Date Title
CN107636965B (en) Sparse cascaded integration comb filter
US6577259B1 (en) Sigma-delta modulator
Shahein et al. A novel hybrid monotonic local search algorithm for FIR filter coefficients optimization
CN103269212B (en) Low cost low-power consumption Multilevel FIR filter implementation method able to programme
US9954514B2 (en) Output range for interpolation architectures employing a cascaded integrator-comb (CIC) filter with a multiplier
JP3636130B2 (en) Trellis type noise shaping modulator
Mehrnia et al. Optimal factoring of FIR filters
CN110581699A (en) CIC decimation filter using integral reset to support a reduced number of differentiators
CN116582109A (en) Filter construction method, device, computer equipment and readable storage medium
US10498312B2 (en) Glitch immune cascaded integrator comb architecture for higher order signal interpolation
CN110957996A (en) Multiplier-free FRM filter bank optimization design method based on ABC algorithm
CN106505971A (en) A kind of low complex degree FIR filter structure of the row that rearranged based on structured adder order
US6151613A (en) Digital filter and method for a MASH delta-sigma modulator
CN113536714B (en) Method for optimally constructing modulator system
CN112491391B (en) Interpolation filter implementation structure of audio DAC
Kilambi et al. A diversity controlled genetic algorithm for optimization of FRM digital filters over DBNS multiplier coefficient space
US20080055132A1 (en) Sigma-Delta Circuit And Related Method with Time Sharing Architecture
JP3322030B2 (en) Sampling rate converter
Mottaghi-Kashtiban et al. FIR filters involving shifts and only two additions, efficient for short word-length signal processing
Mankani et al. Power and area optimization of decimation filter for application in Sigma Delta ADC
JP7233636B2 (en) Data quantization processing method, device, electronic device and storage medium
CN109981078B (en) Data processing method, device and storage medium
CN212231426U (en) Digital decimation filter and analog-to-digital converter
Sonika et al. Design and implementation of sigma–delta digital to analog converter
Kalaipoonguzhali et al. RETRACTED ARTICLE: An enhanced design and random optimization for oversampling∆∑ modulator

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination