DIGITAL FILTER
20170222627 · 2017-08-03
Assignee
Inventors
Cpc classification
International classification
Abstract
A digital filter includes: integration calculation units (10) that are cascade-connected, are fed time-division-multiplexed data, the time-division-multiplexed data being formed of pieces of data on M channels that are time-division multiplexed, the pieces of data on the respective channels being updated at a rate equal to a sampling frequency f.sub.s, operate in accordance with a clock having a frequency f.sub.s×M, and integrate the time-division-multiplexed data for every M samples; a frequency conversion unit (11) that operates in accordance with a clock having a frequency f.sub.D×M, decimates data at the sampling frequency f.sub.s input from the integration calculation unit (10) in the last stage at a sampling frequency f.sub.D, and delays data obtained as a result of decimation by (M−1) samples; and difference calculation units (12) that operate in accordance with the clock having the frequency f.sub.D×M, are cascade-connected to the output of the frequency conversion unit (11), and each subtract, from data input thereto, data M samples before.
Claims
1. A digital filter, comprising: a plurality of integration calculation units that are cascade-connected, are fed time-division-multiplexed data, the time-division-multiplexed data being formed of pieces of data on M channels (M is an integer equal to or larger than two) that are time-division multiplexed, the pieces of data on the respective channels being updated at a rate equal to a sampling frequency f.sub.s, operate in accordance with a clock having a frequency f.sub.s×M, and integrate the time-division-multiplexed data for every M samples; a frequency conversion unit that operates in accordance with a clock having a frequency f.sub.D×M for performing sampling on each of the channels at a frequency equal to a sampling frequency f.sub.D=f.sub.s/N (N is an integer equal to or larger than two), decimates data at the sampling frequency f.sub.s input from an integration calculation unit in a last stage among the integration calculation units at the sampling frequency f.sub.D, and delays data obtained as a result of decimation by (M−1) samples; and a plurality of difference calculation units that operate in accordance with the clock having the frequency f.sub.D×M for performing sampling on each of the channels at the frequency equal to the sampling frequency f.sub.D, are cascade-connected to an output of the frequency conversion unit, and each subtract, from data input thereto, data M samples before the input data.
2. The digital filter according to claim 1, wherein each of the integration calculation units is constituted by an addition unit that adds input time-division-multiplexed data to an integration result one sample before, and M cascade-connected first delay units that each delay an integration result input from the addition unit by a cycle of the clock having the frequency f.sub.s×M to feed data obtained in a last stage thereof to the addition unit, the frequency conversion unit is constituted by M cascade-connected flip-flops that retain and output, for each clock having the frequency f.sub.D×M, data input from an integration calculation unit in a last stage among the integration calculation units, and each of the difference calculation units is constituted by M cascade-connected second delay units that each delay data input from the frequency conversion unit by a cycle of the clock having the frequency f.sub.D×M, and a subtraction unit that subtracts output data from a second delay unit in a last stage among the second delay units from the data input from the frequency conversion unit.
3. A digital filter, comprising: a multiplexer that is fed pieces of data on M channels (M is an integer equal to or larger than two) at a sampling frequency f.sub.s, and generates time-division-multiplexed data formed of the pieces of data on the M channels that are time-division multiplexed, the pieces of data on the respective channels being updated at a rate equal to the sampling frequency f.sub.s; a plurality of integration calculation units that are cascade-connected to an output of the multiplexer, operate in accordance with a clock having a frequency f.sub.s×M, and integrate the time-division-multiplexed data for every M samples; a frequency conversion unit that operates in accordance with a clock having a frequency f.sub.D×M for performing sampling on each of the channels at a frequency equal to a sampling frequency f.sub.D=f.sub.s/N (N is an integer equal to or larger than two), decimates data at the sampling frequency f.sub.s input from an integration calculation unit in a last stage among the integration calculation units at the sampling frequency f.sub.D, and delays data obtained as a result of decimation by (M−1) samples; and a plurality of difference calculation units that operate in accordance with the clock having the frequency f.sub.D×M for performing sampling on each of the channels at the frequency equal to the sampling frequency f.sub.D, are cascade-connected to an output of the frequency conversion unit, and each subtract, from data input thereto, data M samples before the input data.
4. The digital filter according to claim 3, wherein each of the integration calculation units is constituted by an addition unit that adds input time-division-multiplexed data to an integration result one sample before, and M cascade-connected first delay units that each delay an integration result input from the addition unit by a cycle of the clock having the frequency f.sub.s×M to feed data obtained in a last stage thereof to the addition unit, the frequency conversion unit is constituted by M cascade-connected flip-flops that retain and output, for each clock having the frequency f.sub.D×M, data input from an integration calculation unit in a last stage among the integration calculation units, and each of the difference calculation units is constituted by M cascade-connected second delay units that each delay data input from the frequency conversion unit by a cycle of the clock having the frequency f.sub.D×M, and a subtraction unit that subtracts output data from a second delay unit in a last stage among the second delay units from the data input from the frequency conversion unit.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
DESCRIPTION OF EMBODIMENTS
First Embodiment
[0024] Hereinafter, embodiments of the present invention are described with reference to the drawings.
[0025] The digital filter according to this embodiment is fed data formed of pieces of data on M channels that are time-division multiplexed, as illustrated in
[0026]
[0027] The frequency conversion unit 11 operates in accordance with the clock having the frequency f.sub.D×M for performing sampling on each of the channels at the frequency equal to the sampling frequency f.sub.D=f.sub.s/N (where N, which is the frequency ratio for down-sampling, is an integer equal to or larger than two), decimates data at the sampling frequency f.sub.s input from the integration calculation unit 10 in the last stage at the sampling frequency f.sub.D, and delays data at the sampling frequency f.sub.D obtained as a result of decimation by (M−1) samples.
[0028]
[0029] The flip-flop 17 in the first stage retains and outputs, for each clock having the frequency f.sub.D×M, data at the sampling frequency f.sub.s input from the integration calculation unit 10. The flip-flop 17 in the first stage operates in accordance with the clock having the frequency f.sub.D×M. Regarding the pieces of data on the respective channel, the pieces of data, which occur at the sampling frequency f.sub.s, are decimated at the sampling frequency f.sub.D.
[0030] Each of the flip-flops 17 other than the flip-flop 17 in the first stage retains and outputs, for each clock having the frequency f.sub.D×M, data at the sampling frequency f.sub.D×M input from the flip-flop 17 in the preceding stage to thereby delay the input data by one sample (by the cycle of the clock having the frequency f.sub.D×M). Time-division-multiplexed data output from the frequency conversion unit 11 is as illustrated in
[0031]
[0032] As described above, in this embodiment, in order to process input time-division-multiplexed data formed of pieces of data on M channels that are time-division multiplexed, the M delay units 14 and the M delay units 15, which correspond to the number of channels M, are respectively provided in each of the integration calculation units 10 and in each of the difference calculation units 12 that constitute the digital filter. Further, in contrast to the frequency conversion unit 202 according to the prior art, which is implemented by using a single flip-flop, the frequency conversion unit 11 is constituted by the M flip-flops 17, which correspond to the number of channels M. Accordingly, unlike the prior art, it is possible to process inputs from M channels without a need to provide M digital filters, and to reduce the circuit scale and cost of the digital filter.
[0033] In the case where the plurality of digital filters 101 are provided as in the prior art illustrated in
[0034] Table 1 shows the circuit scale (combination result of FPGA (Field Programmable Gate Array)) according to the prior art and that according to this embodiment, for example. The example shown in Table 1 assumes the number of input channels to be four. That is, in the case of the prior art, four digital filters are provided. It is found that the circuit scale can be significantly reduced with this embodiment compared to the prior art.
TABLE-US-00001 TABLE 1 FPGA (Cyclone II) Combination Result Prior art Embodiment Combinational 5188 300 Circuit Scale Register Scale 1092 291
[0035] Note that this embodiment is applicable not only to a decimation filter provided in the stage subsequent to the multi-input ΔΣ modulator proposed in Japanese Patent No. 4171222 but also to any digital filter to which time-division-multiplexed data is input.
Second Embodiment
[0036] The first embodiment assumes that time-division-multiplexed data is input to the digital filter; however, time-division-multiplexed data may be generated within a digital filter.
[0037] The multiplexer 18 is fed pieces of data on M channels at the sampling frequency f.sub.s and outputs the pieces of data on the M channels by sequentially selecting the channels one by one in synchronization with the clock having the frequency f.sub.s×M to thereby generate time-division-multiplexed data formed of the pieces of data on the M channels that are time-division multiplexed. As described in the first embodiment, the pieces of data on the respective channels are updated at a rate equal to the sampling frequency f.sub.s.
[0038] The remaining components are as described in the first embodiment.
[0039] Accordingly, time-division-multiplexed data can be input to the integration calculation units 10 of the digital filter in this embodiment, and therefore, an effect similar to that of the first embodiment can be achieved even if pieces of data on M channels are simultaneously input.
[0040] The first embodiment and the second embodiment do not respectively mention the bit width of signal lines from the input to the output of the digital filter illustrated in FIG. 1 and the bit width of signal lines from the input to the output of the digital filter illustrated in
INDUSTRIAL APPLICABILITY
[0041] The present invention is applicable to a digital filter.
REFERENCE SIGNS LIST
[0042] 10 . . . integration calculation unit, 11 . . . frequency conversion unit, 12 . . . difference calculation unit, 13 . . . addition unit, 14, 15 . . . delay unit, 16 . . . subtraction unit, 17 . . . flip-flop, 18 . . . multiplexer.