Digital filter
10243540 ยท 2019-03-26
Assignee
Inventors
Cpc classification
International classification
H03M3/00
ELECTRICITY
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.sM, 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.DM, 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 (M1) samples; and difference calculation units (12) that operate in accordance with the clock having the frequency f.sub.DM, 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 circuits 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 being 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 first clock having a frequency f.sub.sM, and integrate the time-division-multiplexed data for every M samples; a frequency conversion circuit that operates in accordance with a second clock having a frequency f.sub.DM for performing sampling on each of the channels at a frequency equal to a sampling frequency f.sub.D=f.sub.s/N (N being an integer equal to or larger than two), decimates data at the sampling frequency f.sub.s input from an integration calculation circuit in a last stage among the integration calculation circuits at the sampling frequency f.sub.D, and delays data obtained as a result of decimation by (M1) samples; and a plurality of difference calculation circuits that operate in accordance with the second clock having the frequency f.sub.DM 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 circuit, 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 includes an adder that adds input time-division-multiplexed data to an integration result one sample before, and M cascade-connected first delay circuits that each delay an integration result input from the adder by a cycle of the first clock having the frequency f.sub.sM to feed data obtained in a last stage thereof to the adder; the frequency conversion circuit includes M cascade-connected flip-flops that retain and output, for each cycle of the second clock having the frequency f.sub.DM, data input from the integration calculation circuit in the last stage among the integration calculation circuits; and each of the difference calculation circuits includes M cascade-connected second delay circuits that each delay data input from the frequency conversion circuit by a cycle of the second clock having the frequency f.sub.nM, and a subtractor that subtracts output data from a second delay circuit in a last stage among the second delay circuits from the data input from the frequency conversion circuit.
3. A digital filter, comprising: a multiplexer that is fed pieces of data on M channels (M being 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 circuits that are cascade-connected to an output of the multiplexer, operate in accordance with a first clock having a frequency f.sub.sM, and integrate the time-division-multiplexed data for every M samples; a frequency conversion circuit that operates in accordance with a second clock having a frequency f.sub.DM for performing sampling on each of the channels at a frequency equal to a sampling frequency f.sub.D=f.sub.s/N (N being an integer equal to or larger than two), decimates data at the sampling frequency f.sub.s input from an integration calculation circuit in a last stage among the integration calculation circuits at the sampling frequency f.sub.D, and delays data obtained as a result of decimation by (M1) samples; and a plurality of difference calculation circuits that operate in accordance with the second clock having the frequency f.sub.DM 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 circuit, 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 circuits includes an adder that adds input time-division-multiplexed data to an integration result one sample before, and M cascade-connected first delay circuits that each delay an integration result input from the adder by a cycle of the first clock having the frequency f.sub.sM to feed data obtained in a last stage thereof to the adder, the frequency conversion circuit includes M cascade-connected flip-flops that retain and output, for each cycle of the second clock having the frequency f.sub.DM, data input from the integration calculation circuit in the last stage among the integration calculation circuits, and each of the difference calculation circuits includes M cascade-connected second delay circuits that each delay data input from the frequency conversion circuit by a cycle of the second clock having the frequency f.sub.DM, and a subtractor that subtracts output data from a second delay circuit in a last stage among the second delay circuits from the data input from the frequency conversion circuit.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DESCRIPTION OF EMBODIMENTS
(11) [First Embodiment]
(12) Hereinafter, embodiments of the present invention are described with reference to the drawings.
(13) 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
(14)
(15) The frequency conversion unit 11 operates in accordance with the clock having the frequency f.sub.DM 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 (M1) samples.
(16)
(17) The flip-flop 17 in the first stage retains and outputs, for each clock having the frequency f.sub.DM, 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.DM. 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.
(18) 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.DM, data at the sampling frequency f.sub.DM 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.DM). Time-division-multiplexed data output from the frequency conversion unit 11 is as illustrated in
(19)
(20) 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.
(21) In the case where the plurality of digital filters 101 are provided as in the prior art illustrated in
(22) 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.
(23) TABLE-US-00001 TABLE 1 FPGA (Cyclone II) Combination Result Prior art Embodiment Combinational 5188 300 Circuit Scale Register Scale 1092 291
(24) 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.
(25) [Second Embodiment]
(26) 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.
(27) 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.sM 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.
(28) The remaining components are as described in the first embodiment.
(29) 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.
(30) 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
(31) The present invention is applicable to a digital filter.
REFERENCE SIGNS LIST
(32) 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.