CIC and FIR filter cascade design method and system
By simulating the amplitude-frequency cascade effect of CIC and FIR filters in MATLAB, combined with the resource margin, and selecting the CIC series and FIR order, the problem of being unable to accurately determine the filtering effect and resource optimization in the existing technology is solved, and the Efficient filtering effects in baseband processing.
Patent Information
- Application Number
- CN202210570612.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-24
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-05-24
AI Technical Summary
The existing technology fails to unify the design of CIC and FIR filters as a whole, resulting in the inability to accurately determine the CIC stage and FIR order for the required filtering effect, and does not consider the resource margin, making it impossible to obtain the least optimal stage. joint plan.
By simulating the amplitude-frequency cascade effect of CIC and FIR filters in matlab, combined with the resource margin, the CIC series and FIR order are accurately selected to determine the most appropriate and least resource solution to meet the required filtering effect.
It achieves the required filtering effect accurately in baseband processing, which has great application significance, optimizes resource usage, and meets system requirements.
Smart Images

Figure CN114978108B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of baseband processing, and in particular to a CIC and FIR filter cascade scheme design method and system. Background Art
[0002] In baseband processing technology, FIR and CIC are common digital filters. Especially when processing narrowband signals, CIC filters have the advantage of not consuming multipliers. CIC filters and FIR filters are often cascaded in extraction systems. However, in the current technology, the CIC filter and the FIR filter are designed separately, that is, the CIC filter and the FIR filter are designed separately. For example, the invention patent application with the publication number CN 105066990 A discloses a high-precision digital filter suitable for strapdown inertial navigation, which includes a sampling comb filter, an FIR two-decimation compensation filter, and an FIR four-decimation filter; the sampling comb filter is implemented by an efficient downsampling filter structure proposed by Hogenauer, which is used to achieve high-rate frequency reduction; the FIR two-decimation compensation filter is generated by the 'fir2' function in matlab, which can design a multi-passband arbitrary response curve phase FIR filter, which is mainly used to compensate for the attenuation of the front-stage CIC filter at the passband edge and realize double extraction; the FIR four-decimation filter uses the Parks-McClellan algorithm to calculate the coefficients of the optimal filter, and the filter uses a filter with low passband ripple, narrow transition band, large stopband attenuation, and high filter order. It is suitable for the data sampling requirements of the strapdown inertial navigation system.
[0003] The article "A Low-Power Digital Filter Design Based on CIC and FIR (Journal of University of Science and Technology of China, Vol. 41, No. 10, October 2011, Kong Yang et al.)" proposes a low-power digital filtering solution based on CIC filter and FIR filter. The system consists of a four-stage front-end CIC filter, a three-stage front-end FIR filter and a one-stage offline equalization FIR filter. The amplitude-frequency characteristics and phase-frequency characteristics of each stage of the filter and the entire system are studied, and the performance is verified through simulation.
[0004] However, none of them designs the CIC filter and the FIR filter as a whole, so the CIC level and the FIR order to achieve the required filtering effect cannot be precisely determined; and the resource margin is not considered, so the cascade solution with the least and optimal resources cannot be obtained. Summary of the invention
[0005] The technical problem to be solved by the present invention is how to ensure that the designed CIC and FIR filter cascade can meet the required filtering effect.
[0006] The present invention solves the above technical problems through the following technical means:
[0007] On the one hand, the present invention proposes a CIC and FIR filter cascade design method, the method comprising:
[0008] Simulate the amplitude-frequency cascade effect of CIC filter and FIR filter in different filtering schemes during decimation / interpolation in Matlab;
[0009] According to the amplitude-frequency cascade effects corresponding to different filtering schemes and the resource margin of the program, determine the cascade scheme of CIC filter and FIR filter;
[0010] In simulation, the frequency domain filter response of the first-stage CIC filter is normalized with the baseband data sampling rate fs, and the amplitude-frequency response of the first-stage CIC filter is:
[0011] N*20*log10(abs(sin(D1*x) / sin(x) / D1))
[0012] Where N is the number of CIC filter stages, D1 is the first stage decimation multiple, x is the equally divided [0, 180] angle interval, and D1 is the decimation multiple of this stage;
[0013] The frequency response of the FIR filter is normalized to the sampling rate fs / D1 after decimation / interpolation. The frequency response of the FIR filter is:
[0014] 20*log10(abs(fft(coeff)))
[0015] Where coeff is the FIR filter coefficient.
[0016] The present invention accurately simulates the CIC and FIR frequency domain cascade effects in MATLAB, accurately selects the CIC level and the FIR order according to the amplitude-frequency cascade effects of different filtering schemes and combines the resource margin of the program, so as to meet the system requirements with the most appropriate and minimum resources and satisfy the required filtering effect, and has great application significance in actual baseband processing.
[0017] Furthermore, during simulation, the method further includes:
[0018] Under different filtering schemes, the minimum order that meets the system requirements is selected as the order of the FIR filter.
[0019] Furthermore, the amplitude-frequency cascade effect of CIC filter and FIR filter in different filtering schemes in the decimation / interpolation process is simulated in Matlab, including:
[0020] Simulating the amplitude-frequency response of the CIC filter;
[0021] The amplitude-frequency response of the FIR filter is repeated at a decimation factor D1, and then added to the amplitude-frequency response of the CIC filter, wherein when the amplitude-frequency response is repeated at a decimation factor D1, the horizontal axis sampling rate is widened to fs, and the number of points is increased to N_fft.
[0022] Furthermore, the CIC and FIR filter cascade schemes are determined based on the amplitude-frequency cascade effects corresponding to different filtering schemes and in combination with the resource margin of the program, including:
[0023] The multiplier consumed by the CIC filter is 0, and the number of multipliers consumed by the FIR filter is the filter order divided by the total decimation ratio, and the resource consumption corresponding to the filtering scheme is estimated. The total decimation ratio is D1*D2, where D2 is the decimation multiple of the FIR filter;
[0024] According to the amplitude-frequency cascade effect corresponding to the filtering scheme and the resource consumption corresponding to the filtering scheme, combined with the resource margin of the program, the CIC and FIR filter cascade scheme is determined.
[0025] In addition, the present invention also proposes a CIC and FIR filter cascade scheme design system, the system comprising:
[0026] The simulation module is used to simulate the amplitude-frequency cascade effect of CIC filter and FIR filter in different filtering schemes during the extraction / interpolation process in Matlab;
[0027] A determination module is used to determine the CIC and FIR filter cascade schemes according to the amplitude-frequency cascade effects corresponding to different filtering schemes and the resource margin of the program;
[0028] In simulation, the frequency domain filter response of the first-stage CIC filter is normalized with the baseband data sampling rate fs, and the amplitude-frequency response of the first-stage CIC filter is:
[0029] N*20*log10(abs(sin(D1*x) / sin(x) / D1))
[0030] Where N is the number of CIC filter stages, D1 is the first stage decimation multiple, x is the equally divided [0, 180] angle interval, and D1 is the decimation multiple of this stage;
[0031] The frequency response of the FIR filter is normalized to the sampling rate fs / D1 after decimation / interpolation. The frequency response of the FIR filter is:
[0032] 20*log10(abs(fft(coeff)))
[0033] Where coeff is the FIR filter coefficient.
[0034] Furthermore, the system further comprises:
[0035] The order setting unit is used to select the minimum order that meets the system requirements as the order of the FIR filter under different filtering schemes.
[0036] Furthermore, the simulation module includes:
[0037] A first simulation unit, used for simulating the amplitude-frequency response of the CIC filter;
[0038] The second simulation unit is used to repeat the amplitude-frequency response of the FIR filter at a decimation multiple D1, and then add it to the amplitude-frequency response of the CIC filter, wherein when the amplitude-frequency response is repeated at a decimation multiple D1, the horizontal axis sampling rate is widened to fs, and the number of points is increased to N_fft.
[0039] Furthermore, the determination module includes:
[0040] A resource consumption estimation unit, configured to estimate the resource consumption corresponding to the filtering scheme by assuming that the multiplier consumed by the CIC filter is 0 and the number of multipliers consumed by the FIR filter is the filter order divided by the total decimation ratio, wherein the total decimation ratio is D1*D2, and D2 is the decimation multiple of the FIR filter;
[0041] The scheme determination unit is used to determine the CIC and FIR filter cascade scheme according to the amplitude-frequency cascade effect corresponding to the filtering scheme and the resource consumption corresponding to the filtering scheme, combined with the resource margin of the program.
[0042] The advantages of the present invention are:
[0043] (1) The present invention accurately simulates the CIC and FIR frequency domain cascade effects in MATLAB, accurately selects the CIC level and FIR order according to the amplitude-frequency cascade effects of different filtering schemes and the resource margin of the program, and achieves the system requirements with the most appropriate and minimum resources to meet the required filtering effect, which has great application significance in actual baseband processing.
[0044] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a flow chart of the CIC and FIR filter cascade design method of the present invention;
[0046] Figure 2 This is a schematic diagram of the simulation effect of using 4-level CIC + 26-order FIR in the present invention;
[0047] Figure 3 This is a schematic diagram of the simulation effect of using 4-level CIC + 18-order FIR in the present invention;
[0048] Figure 4 This is a schematic diagram of the simulation effect of using 3-level CIC + 72-order FIR in the present invention;
[0049] Figure 5 It is a structural diagram of the CIC and FIR filter cascade design system of the present invention. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in combination with the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0051] Reference Figure 1 The embodiment of the present invention proposes a CIC and FIR filter cascade design method, the method comprising the following steps:
[0052] S10. Simulate the amplitude-frequency cascade effect of CIC filter and FIR filter in different filtering schemes during decimation / interpolation in Matlab;
[0053] S20, determining a CIC filter and FIR filter cascade scheme according to the amplitude-frequency cascade effects corresponding to different filtering schemes and combining the resource margin of the program;
[0054] In simulation, the frequency domain filter response of the first-stage CIC filter is normalized with the baseband data sampling rate fs, and the amplitude-frequency response of the first-stage CIC filter is:
[0055] N*20*log10(abs(sin(D1*x) / sin(x) / D1))
[0056] Where N is the number of CIC filter stages, D1 is the first stage decimation multiple, x is the equally divided [0, 180] angle interval, and D1 is the decimation multiple of this stage;
[0057] The frequency response of the FIR filter is normalized to the sampling rate fs / D1 after decimation / interpolation. The frequency response of the FIR filter is:
[0058] 20*log10(abs(fft(coeff)))
[0059] Where coeff is the FIR filter coefficient.
[0060] It should be noted that in the amplitude-frequency response formula of the first-stage CIC filter, x is an equally divided angle interval of [0, 180]. In this embodiment, 1024 equal divisions are selected. For the convenience of comparison, the amplitude response of the passband has been normalized to 0 dB. The amplitude-frequency response of the second-stage FIR is 20*log10(abs(fft(coeff))), that is, the filter coefficient coeff is directly subjected to a (1024-point) FFT and then the amplitude logarithm is taken.
[0061] Different from the related art in which CIC filters and FIR filters are designed separately, in this embodiment, the frequency domain cascade effect of CIC and FIR is accurately simulated in MATLAB. According to the amplitude-frequency cascade effect of different filtering schemes and the resource margin of the program, the CIC level and FIR order are accurately selected to meet the system requirements with the most appropriate and least resources and satisfy the required filtering effect, which has great application significance in actual baseband processing.
[0062] It should be noted that CIC has poor in-band flatness and needs to be placed where the sampling rate is high. If there is three-stage decimation, the typical one is CIC+FIR1+FIR2. The normalized frequency of the first-stage CIC filter is fs, and the normalized frequency of the second-stage FIR1 filter is fs / D1, repeated D1 times; the normalized frequency of the third-stage FIR2 filter is fs / D1 / D2, repeated D1*D2 times, and the amplitude-frequency response of the third-stage FIR2 filter is 20*log10(abs(fft(coeff))).
[0063] In one embodiment, during simulation, the method further includes:
[0064] Under different filtering schemes, the minimum order that meets the system requirements is selected as the order of the FIR filter.
[0065] In one embodiment, the step S10 includes the following steps:
[0066] S11, simulating the amplitude-frequency response of the CIC filter;
[0067] S12, repeating the amplitude-frequency response of the FIR filter at a decimation factor D1, and then adding it to the amplitude-frequency response of the CIC filter, wherein when the amplitude-frequency response is repeated at a decimation factor D1, the horizontal axis sampling rate is widened to fs, and the number of points is increased to N_fft.
[0068] In one embodiment, the step S20 includes the following steps:
[0069] S21, assuming that the number of multipliers consumed by the CIC filter is 0 and the number of multipliers consumed by the FIR filter is the filter order divided by the total decimation ratio, estimating the resource consumption corresponding to the filtering scheme, where D1*D2 is the total decimation ratio and D2 is the decimation multiple of the FIR filter;
[0070] S22, determining a CIC and FIR filter cascade scheme according to the amplitude-frequency cascade effect corresponding to the filtering scheme and the resource consumption corresponding to the filtering scheme, combined with the resource margin of the program.
[0071] It should be noted that this embodiment uses the implementation in FPGA as an example to estimate the consumed resources. The number of multipliers consumed by CIC is 0, and the number of multipliers consumed by FIR is the filter order divided by the total decimation ratio. CIC consumes less LUTRAM, and FIR consumes less LUT, FF, and Slice.
[0072] It should be noted that in the actual extraction process, flexible choices should be made based on resource margin. If multiplier resources are scarce but register resources are sufficient, a filtering scheme that increases the CIC level and reduces the FIR order can be chosen. Correspondingly, if multiplier resources are sufficient but register resources are scarce, a filtering scheme that reduces the CIC level and increases the FIR order can be chosen.
[0073] In the embodiment of the present invention, it is assumed that the baseband data rate required by the system is 140MHz, the first stage is 7-pumped to 20MHz, and the second stage is 5-pumped to 4MHz; the passband bandwidth is 1MHz, the in-band fluctuation is 0.1dB, and the out-of-band suppression ratio is 80dB. Two solutions are considered:
[0074] Solution 1: The first stage is implemented with a 4-stage CIC, and the second stage is implemented with a 26-order FIR filter. The amplitude-frequency cascade effect during the extraction process is as follows: Figure 2 shown.
[0075] The frequency domain filtering response of the first-stage CIC filter is normalized to 140MHz, specifically: N*20*log10(abs(sin(D1*w / 2). / sin(w / 2) / D1)). When this scheme simulates the frequency domain filtering effect of CIC, N is 4, D1 is 7, and w is the angle interval [0, 360] equally divided by N_fft (this paper selects 1024*7=7168). The amplitude-frequency response of the second-stage FIR filter is normalized to 20MHz, specifically: 20*log10(abs(fft(coeff))), that is, the filter coefficient coeff is subjected to a (1024-point) FFT and then the amplitude logarithm is taken. The amplitude-frequency response of the second-stage FIR is then repeated 7 times (at this time, the horizontal axis sampling rate is widened to fs(140MHz), and the number of points is increased to N_fft, which is consistent with the first stage), and then directly added to the amplitude-frequency response of the first-stage CIC.
[0076] It can be seen that at this time, all out-band signals can be filtered to below -80dB by the overall filter.
[0077] As a comparison, this embodiment also shows the case where the second stage uses an 18th-order FIR. The amplitude-frequency cascade effect during the extraction process is as follows: Figure 3 As shown, it can be seen that at this time, the signal suppression ratio of the decimation filter to 17.1MHz is only -74dB.
[0078] Solution 2: The first stage is implemented with a 3-stage CIC, and the second stage has the same passband bandwidth of 1MHz, in-band fluctuation of 0.1dB, and out-of-band suppression ratio of 80dB. The second stage is implemented with a 72-order filter. The amplitude-frequency cascade effect in the extraction process is as follows: Figure 4 As shown, it can be seen that at this time, the out-of-band signals can be filtered to below 80dbm by the overall filter.
[0079] When this scheme simulates the amplitude-frequency response of the first-stage CIC, N is 3 and D1 is 7; the method for simulating the amplitude-frequency response of the second-stage FIR is the same as scheme one.
[0080] Comparing the two solutions, it can be clearly seen that when the first-stage CIC level is higher, the second-stage FIR needs fewer levels to ensure the same indicators (passband, in-band fluctuation, out-of-band suppression), and the number of multipliers is also less. Therefore, in the actual extraction process, flexible choices should be made based on resource margins. If multiplier resources are scarce and register resources are sufficient, a filtering solution that increases the CIC level and reduces the FIR level (Scheme 1) can be selected; correspondingly, if multiplier resources are sufficient and register resources are scarce, a filtering solution that reduces the CIC level and increases the FIR level (Scheme 2) can be selected.
[0081] The above descriptions are all based on the extraction system as an example. This method is also effective in the interpolation system, and the simulation method can be transplanted without distinction. For example, if the baseband data rate is 5MHz, the first stage is interpolated four times to 20MHz, using FIR filtering (the amplitude-frequency response is normalized to 20MHz), the second stage is interpolated seven times to 140MHz, using CIC filtering (the amplitude-frequency response is normalized to 140M), and the overall filtering effect is the same as Figure 4 Consistent.
[0082] In addition, refer to Figure 5 The embodiment of the present invention further proposes a CIC and FIR filter cascade scheme design system, the system comprising:
[0083] Simulation module 10 is used to simulate the amplitude-frequency cascade effect of CIC filter and FIR filter in different filtering schemes during the extraction / interpolation process in Matlab;
[0084] A determination module 20 is used to determine a CIC filter and a FIR filter cascade scheme according to the amplitude-frequency cascade effects corresponding to different filtering schemes and in combination with the resource margin of the program;
[0085] In simulation, the frequency domain filter response of the first-stage CIC filter is normalized with the baseband data sampling rate fs, and the amplitude-frequency response of the first-stage CIC filter is:
[0086] N*20*log10(abs(sin(D1*x) / sin(x) / D1))
[0087] Where N is the number of CIC filter stages, D1 is the first stage decimation multiple, x is the equally divided [0, 180] angle interval, and D1 is the decimation multiple of this stage;
[0088] The frequency response of the FIR filter is normalized to the sampling rate fs / D1 after decimation / interpolation. The frequency response of the FIR filter is:
[0089] 20*log10(abs(fft(coeff)))
[0090] Where coeff is the FIR filter coefficient.
[0091] In one embodiment, the system further comprises:
[0092] The order setting unit is used to select the minimum order that meets the system requirements as the order of the FIR filter under different filtering schemes.
[0093] In one embodiment, the simulation module 10 includes:
[0094] A first simulation unit, used for simulating the amplitude-frequency response of the CIC filter;
[0095] The second simulation unit is used to repeat the amplitude-frequency response of the FIR filter at a decimation multiple D1, and then add it to the amplitude-frequency response of the CIC filter, wherein when the amplitude-frequency response is repeated at a decimation multiple D1, the horizontal axis sampling rate is widened to fs, and the number of points is increased to N_fft.
[0096] In one embodiment, the determining module 20 includes:
[0097] A resource consumption estimation unit, configured to estimate resource consumption corresponding to the filtering scheme by assuming that the multiplier consumed by the CIC filter is 0 and the number of multipliers consumed by the FIR filter is the filter order divided by the total decimation ratio, wherein D1*D2 is the total decimation ratio and D2 is the decimation multiple of the FIR filter;
[0098] The scheme determination unit is used to determine the CIC and FIR filter cascade scheme according to the amplitude-frequency cascade effect corresponding to the filtering scheme and the resource consumption corresponding to the filtering scheme, combined with the resource margin of the program.
[0099] It should be noted that other embodiments or implementation methods of the CIC and FIR filter cascade design system of the present invention can refer to the above-mentioned method embodiments, which will not be repeated here.
[0100] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0101] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0102] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A CIC and FIR filter cascade design method, characterized in that: The method comprises: Simulate the amplitude-frequency cascade effect of CIC filter and FIR filter in different filtering schemes during decimation / interpolation in Matlab; According to the amplitude-frequency cascade effects corresponding to different filtering schemes and the resource margin of the program, determine the cascade scheme of CIC filter and FIR filter; In simulation, the frequency domain filter response of the first-stage CIC filter is normalized with the baseband data sampling rate fs, and the amplitude-frequency response of the first-stage CIC filter is: N*20*log10(abs(sin(D1*x) / sin(x) / D1)) Where N is the number of CIC filter stages, D1 is the first stage decimation multiple, x is the equally divided [0, 180] angle interval, and D1 is the decimation multiple of this stage; The frequency response of the FIR filter is normalized to the sampling rate fs / D1 after decimation / interpolation. The frequency response of the FIR filter is: 20*log10(abs(fft(coeff))) Where coeff is the FIR filter coefficient.
2. The CIC and FIR filter cascade design method according to claim 1, characterized in that: During simulation, the method further includes: Under different filtering schemes, the minimum order that meets the system requirements is selected as the order of the FIR filter.
3. The CIC and FIR filter cascade design method according to claim 1, characterized in that: The amplitude-frequency cascade effect of CIC filter and FIR filter in different filtering schemes in the decimation / interpolation process simulated in matlab includes: Simulating the amplitude-frequency response of the CIC filter; The amplitude-frequency response of the FIR filter is repeated at a decimation factor D1, and then added to the amplitude-frequency response of the CIC filter, wherein when the amplitude-frequency response is repeated at a decimation factor D1, the horizontal axis sampling rate is widened to fs, and the number of points is increased to N_fft.
4. The CIC and FIR filter cascade design method according to claim 1, characterized in that: The method of determining the CIC and FIR filter cascade schemes according to the amplitude-frequency cascade effects corresponding to different filtering schemes and combining the resource margin of the program includes: The multiplier consumed by the CIC filter is 0, and the number of multipliers consumed by the FIR filter is the filter order divided by the total decimation ratio, and the resource consumption corresponding to the filtering scheme is estimated. The total decimation ratio is D1*D2, where D2 is the decimation multiple of the FIR filter; According to the amplitude-frequency cascade effect corresponding to the filtering scheme and the resource consumption corresponding to the filtering scheme, combined with the resource margin of the program, the CIC and FIR filter cascade scheme is determined.
5. A CIC and FIR filter cascade design system, characterized in that: The system comprises: The simulation module is used to simulate the amplitude-frequency cascade effect of CIC filter and FIR filter in different filtering schemes during the decimation / interpolation process in Matlab; A determination module is used to determine the cascade scheme of CIC filter and FIR filter according to the amplitude-frequency cascade effects corresponding to different filtering schemes and the resource margin of the program; In simulation, the frequency domain filter response of the first-stage CIC filter is normalized with the baseband data sampling rate fs, and the amplitude-frequency response of the first-stage CIC filter is: N*20*log10(abs(sin(D1*x) / sin(x) / D1)) Where N is the number of CIC filter stages, D1 is the first stage decimation multiple, x is the equally divided [0, 180] angle interval, and D1 is the decimation multiple of this stage; The frequency response of the FIR filter is normalized to the sampling rate fs / D1 after decimation / interpolation. The frequency response of the FIR filter is: 20*log10(abs(fft(coeff))) Where coeff is the FIR filter coefficient.
6. The CIC and FIR filter cascade design system as claimed in claim 5, characterized in that: The system further comprises: The order setting module is used to select the minimum order that meets the system requirements as the order of the FIR filter under different filtering schemes.
7. The CIC and FIR filter cascade design system as claimed in claim 5, characterized in that: The simulation module comprises: A first simulation unit, used for simulating the amplitude-frequency response of the CIC filter; The second simulation unit is used to repeat the amplitude-frequency response of the FIR filter at a decimation multiple D1, and then add it to the amplitude-frequency response of the CIC filter, wherein when the amplitude-frequency response is repeated at a decimation multiple D1, the horizontal axis sampling rate is widened to fs, and the number of points is increased to N_fft.
8. The CIC and FIR filter cascade design system as claimed in claim 5, characterized in that: The determining module comprises: A resource consumption estimation unit, configured to estimate the resource consumption corresponding to the filtering scheme by assuming that the multiplier consumed by the CIC filter is 0 and the number of multipliers consumed by the FIR filter is the filter order divided by the total decimation ratio, wherein the total decimation ratio is D1*D2, and D2 is the decimation multiple of the FIR filter; The scheme determination unit is used to determine the CIC and FIR filter cascade scheme according to the amplitude-frequency cascade effect corresponding to the filtering scheme and the resource consumption corresponding to the filtering scheme, combined with the resource margin of the program.
