ARITHMETIC PROCESSING APPARATUS, METHOD, AND PROGRAM
20220116025 · 2022-04-14
Assignee
Inventors
Cpc classification
H03H17/0219
ELECTRICITY
International classification
Abstract
An arithmetic processing apparatus according to the present disclosure includes a digital filter. The arithmetic processing apparatus further includes a dummy data input unit configured to input dummy data to the digital filter when there is no input data input to the digital filter. The arithmetic processing apparatus further includes a cancellation processing unit configured to perform, on output data output from the digital filter, arithmetic processing for canceling an output component caused by the dummy data.
Claims
1. An arithmetic processing apparatus comprising: a digital filter; a dummy data input unit configured to input dummy data to the digital filter when there is no input data input to the digital filter; and a cancellation processing unit configured to perform, on output data output from the digital filter, arithmetic processing for canceling an output component caused by the dummy data.
2. The arithmetic processing apparatus according to claim 1, wherein the dummy data input unit comprises a buffer configured to transmit the input data, calculates a signal power of an input signal input via the buffer, and inputs the dummy data to the digital filter when the signal power is equal to or less than a threshold.
3. The arithmetic processing apparatus according to claim 1, wherein the dummy data input unit comprises a dummy data table that stores the dummy data.
4. The arithmetic processing apparatus according to claim 1, wherein the cancellation processing unit comprises a cancellation data table that stores cancellation data used for the arithmetic processing for canceling the output component caused by the dummy data.
5. The arithmetic processing apparatus according to claim 1, wherein the digital filter is a Finite Impulse Response (FIR) filter.
6. The arithmetic processing apparatus according to claim 5, wherein when the dummy data pieces are stored respectively in delay elements included in the FIR filter, zero is output as the output data.
7. An arithmetic processing method comprising: inputting dummy data to a digital filter when there is no input data input to the digital filter; and performing, on output data output from the digital filter, arithmetic processing for canceling an output component caused by the dummy data.
8. A non-transitory computer readable medium storing a program for causing an arithmetic processing apparatus to: input dummy data to a digital filter when there is no input data input to the digital filter; and perform, on output data output from the digital filter, arithmetic processing for canceling an output component caused by the dummy data.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0010] The above and other aspects, features and advantages of the present disclosure will become more apparent from the following description of certain example embodiments when taken in conjunction with the accompanying drawings, in which:
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
EXAMPLE EMBODIMENT
[0018] Example embodiments will be described hereinafter with reference to the drawings. Note that since the drawings are drawn in a simplified manner, the technical scope of the example embodiments should not be narrowly interpreted based on the descriptions of the drawings. Further, the same elements are denoted by the same reference numerals or symbols, and redundant descriptions will be omitted.
[0019] In the following example embodiments, when necessary, the present disclosure is explained by using separate sections or separate example embodiments. However, those example embodiments are not unrelated with each other, unless otherwise specified. That is, they are related in such a manner that one example embodiment is a modified example, an application example, a detailed example, or a supplementary example of a part or the whole of another example embodiment. Further, in the following example embodiments, when the number of elements or the like (including numbers, values, quantities, ranges, and the like) is mentioned, the number is not limited to that specific number except for cases where the number is explicitly specified or the number is obviously limited to a specific number based on its principle. That is, a larger number or a smaller number than the specific number may also be used.
[0020] Further, in the following example embodiments, their components (including operation steps and the like) are not necessarily indispensable except for cases where the component is explicitly specified or the component is obviously indispensable based on its principle. Similarly, in the following example embodiments, when a shape, a position relation, or the like of a component(s) or the like is mentioned, shapes or the likes that are substantially similar to or resemble that shape are also included in that shape except for cases where it is explicitly specified or they are eliminated based on its principle. This is also true for the above-described number or the like (including numbers, values, quantities, ranges, and the like).
First Example Embodiment
[0021] The configuration of an arithmetic processing apparatus 1 according to this example embodiment will be described with reference to
[0022] The arithmetic processing apparatus 1 according to this example embodiment includes a digital filter 2, a dummy data input unit 3, and a cancellation processing unit 4. As the digital filter 2, various types of digital filters such as a Finite Impulse Response (FIR) filter and an Infinite Impulse Response (IIR) filter can be used.
[0023] The dummy data input unit 3 inputs dummy data to the digital filter 2 when there is no input data input to the digital filter 2.
[0024] The cancellation processing unit 4 performs, on output data output from the digital filter 2, arithmetic processing for canceling an output component caused by the dummy data input by the dummy data input unit 3.
[0025] According to the arithmetic processing apparatus 1 according to this example embodiment, it is possible to prevent a rapid increase or decrease in a current in a device using a large number of digital filters.
Second Example Embodiment
[0026] The configuration of the arithmetic processing apparatus 1 according to this example embodiment will be described with reference to
[0027]
[0028] When there is no data input to the FIR filter 10, dummy data d.sub.m stored in a dummy data table 11 is input to the FIR filter 10. Further, an input/dummy data switching circuit 12 for selecting either input data X.sub.n or dummy data d.sub.m input from the dummy data table 11 is provided in an input unit of the FIR filter 10.
[0029] A cancellation data table 13 stores cancellation data used for arithmetic processing for canceling an output component from the FIR filter 10 caused by dummy data. Further, a cancellation data switching circuit 14 that selects either data “0” or cancellation data input from the cancellation data table 13 is provided.
[0030] An adder 15 for cancellation that adds data output from the cancellation data switching circuit 14 to data output from the FIR filter 10 is provided in an output unit of the FIR filter 10. An output data switching circuit 16 that selects either data input from the adder 15 for cancellation or “0” is further provided in the output unit.
[0031] Note that although the digital filter is described as being the FIR filter 10 in this example embodiment, various types of digital filters such as an IIR filter can instead be used as the digital filter.
[0032] Here, a configuration example of the FIR filter 10 according to this example embodiment will be described. As shown in
[0033] Data X.sub.n to X.sub.n−4 output from the input/dummy data switching circuit 12 are stored in the delay elements R.sub.0 to R.sub.4, respectively. The input data is delayed by one unit time in the order of delay elements R.sub.4, R.sub.3, R.sub.2, R.sub.1, and R.sub.0, and then input to the respective multipliers A.sub.0, A.sub.1, A.sub.2, A.sub.3, and A.sub.4.
[0034] The multiplier A.sub.0 multiplies the data X.sub.n stored in the delay element R.sub.4 by a tap coefficient a.sub.0, and outputs the data that has been subjected to the coefficient multiplication to the in-filter adder 17. The multiplier A.sub.1 multiplies the data X.sub.n−1 delayed by one unit time by a tap coefficient a.sub.1, and outputs the data that has been subjected to the coefficient multiplication to the in-filter adder 17. The multiplier A.sub.2 multiplies the data X.sub.n−2 delayed by two unit times by a tap coefficient a.sub.2, and outputs the data that has been subjected to the coefficient multiplication to the in-filter adder 17. The multiplier A.sub.3 multiplies the data X.sub.n−3 delayed by three unit times by a tap coefficient a.sub.3, and outputs the data that has been subjected to the coefficient multiplication to the in-filter adder 17. The multiplier A.sub.4 multiplies the data X.sub.n−4 delayed by four unit times by a tap coefficient a.sub.4, and outputs the data that has been subjected to the coefficient multiplication to the in-filter adder 17.
[0035] The adder 17 obtains the data output from the FIR filter 10 by adding all the data that has been subjected to the coefficient multiplication and that is output from each of the multipliers A.sub.0 to A.sub.4.
[0036] As shown in
[0037] As shown in
[0038] The output data switching circuit 16 selects zero as output data when the dummy data pieces d.sub.m are stored respectively in the delay elements of the FIR filter 10.
[0039] A configuration of an Orthogonal Frequency Division Multiplexing (OFDM) signal generation unit 20 that determines whether or not dummy data d.sub.m is input to the FIR filter 10 will be described below with reference to
[0040] When the input/dummy data switching circuit 12 can clearly determine the timing at which the input data X.sub.n becomes zero, the input/dummy data switching circuit 12 selects the dummy data d.sub.m and outputs the selected data in accordance with this timing. However, when the input/dummy data switching circuit 12 cannot determine the timing at which the input data X.sub.n becomes zero, a power calculation unit 21 of the OFDM signal generation unit 20 calculates power of an input signal.
[0041] As shown in
[0042] As shown in
Description of Operation of Arithmetic Processing Unit According to this Example Embodiment
[0043] An operation of the arithmetic processing apparatus 1 according to this example embodiment will be described in time series with reference to
[0044] In
[0045] Here, an output y(n) of the FIR filter 10 of which the number of taps is N is as shown in the following Expression (1). Note that N=5 in this example embodiment. In Expression (1), a.sub.k represents a tap coefficient and x.sub.n−k represents input data.
[0046]
[0047] A data table(n) for cancellation stored in the cancellation data table 13 is as shown in the following Expression (2). Note that n=0 to (N×2−1). In Expression (2), d.sub.n−k is data used as a dummy. Note that d.sub.n−k is not zero if (n−k)<N, and is zero otherwise.
[0048] Next,
[0049] At this time, the value of the dummy data table 11 is repeatedly input while the input data is zero. That is, in Expression (2), the process is repeated until n=(n+1) mod (N−1).
[0050] At this time, by sequentially inputting dummy data in the dummy data table 11 to the FIR filter 10 at each unit time, the in-filter adder 17 of the FIR filter 10 is operated and thus the current can be continuously consumed without any extreme change therein.
[0051] Further,
[0052] Lastly,
[0053] By the arithmetic processing apparatus 1 according to this example embodiment, it is possible to prevent there being any time when there is no input to the FIR filter 10. Thus, the arithmetic circuit and the delay elements R.sub.0 to R.sub.4 continue the switching operations, and the power consumption becomes equal to that in a normal operation. Therefore, the power consumption in the FIR filter 10 is smoothed (i.e., stabilized).
[0054] The current of the input/dummy data switching circuit 12 and the cancellation data switching circuit 14 for selecting data from the dummy data table 11 and the cancellation data table 13 and outputting the selected data is smaller than the current consumed by the FIR filter 10 itself. Therefore, by providing a circuit that inputs dummy data and a circuit that cancels an output component caused by the dummy data, it is possible to smooth (i.e., stabilize) the power consumption of the circuit.
[0055] As described above, by providing a circuit that inputs dummy data while there is no input to a digital filter and a circuit that cancels the influence of inputting the dummy data on the output of the digital filter, it is possible to smooth (i.e., stabilize) the power consumption of the arithmetic processing apparatus 1.
Other Example Embodiments
[0056] Although the present disclosure has been described as a hardware configuration in the above-described example embodiments, the present disclosure is not limited thereto. The arithmetic processing apparatus 1 according to the present disclosure may be applied as, for example, an arithmetic processing method. That is, the arithmetic processing method includes inputting dummy data to a digital filter when there is no input data input to the digital filter, and performing, on output data output from the digital filter, arithmetic processing for canceling an output component caused by the dummy data.
[0057] All or part of the arithmetic processing apparatus 1 can be implemented by hardware circuitry, software process or a combination thereof. Further, in the present disclosure, all or part of processing in the arithmetic processing apparatus 1 can be implemented by causing a Central Processing Unit (CPU) to execute a computer program.
[0058] In the above-described examples, the program can be stored and provided to a computer using any type of non-transitory computer readable media. Non-transitory computer readable media include any type of tangible storage media. Examples of non-transitory computer readable media include magnetic storage media (such as floppy disks, magnetic tapes, hard disk drives, etc.), optical magnetic storage media (e.g., magneto-optical disks), CD-ROM (compact disc read only memory), CD-R (compact disc recordable), CD-R/W (compact disc rewritable), and semiconductor memories (such as mask ROM, PROM (programmable ROM), EPROM (erasable PROM), flash ROM, RAM (random access memory), etc.). The program may be provided to a computer using any type of transitory computer readable media. Examples of transitory computer readable media include electric signals, optical signals, and electromagnetic waves. Transitory computer readable media can provide the program to a computer via a wired communication line (e.g., electric wires, and optical fibers) or a wireless communication line.
[0059] The above-described program is an arithmetic processing program for causing the arithmetic processing apparatus 1 to input dummy data to a digital filter when there is no input data input to the digital filter, and perform, on output data output from the digital filter, arithmetic processing for canceling an output component caused by the dummy data.
[0060] While the disclosure has been particularly shown and described with reference to example embodiments thereof, the disclosure is not limited to these example embodiments. It will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present disclosure as defined by the claims.
[0061] According to the present disclosure, it is possible to prevent a rapid increase or decrease in a current in a device using a large number of digital filters.