This application is based upon and claims the benefit of priority from Japanese patent application No. 2020-172329, filed on Oct. 13, 2020, the disclosure of which is incorporated herein in its entirety by reference.
The present disclosure relates to an arithmetic processing unit, a method, and a program.
In communication of a cellular telephone or the like, a Time Division Multiplex (TDM) system in which digital signals are temporally divided and the divided signals are multiplexed may be used. In the case of the TDM system, for example, at the beginning of the downlink communication, when an input to a filter in the uplink communication is stopped, a high-voltage current may instantaneously flow through a power supply line.
In recent years, a semiconductor chip such as a Field Programmable Gate Array (FPGA), which has started to be used for a mobile device such as a cellular telephone, has a large scale circuit and uses a large number of digital filters such as Finite Impulse Response (FIR) filters. In such a case, there is a problem such as a rapid increase or decrease of power consumption when a filter circuit is switched to be used or not used. In order to solve this problem, it is necessary to operate an arithmetic unit provided in a filter having a large power consumption even when the arithmetic unit is not in use, and thereby smooth (i.e., stabilize) the power consumption. Patent Literature 1 (Japanese Unexamined Patent Application Publication No. 2008-072164) discloses a technique related to a dummy data generation circuit that outputs dummy data from a dummy data table when data is not input for a predetermined period of time.
However, in the case of a hard macro into which a filter circuit is incorporated as hardware, an internal circuit cannot be changed in accordance with the intended use. For example, even when the arithmetic unit is operated, it is often not possible to take measures such as cutting off only its output and thereby eliminating the influence of its output on the filter output. Further, when dummy data is input from the outside like in the case of Patent Literature 1, it is necessary to additionally provide an arithmetic circuit for canceling the influence of inputting the dummy data on the output. At this time, it is necessary to perform design while taking into consideration the current consumed by the arithmetic circuit additionally provided. Further, although it is possible to smooth (i.e., stabilize) the consumption current by providing a dummy circuit in accordance with the power consumption of the arithmetic circuit, it is difficult to do so when the scale of the dummy circuit is large. Therefore, it is difficult to prevent, without using an arithmetic circuit or the like additionally provided, a rapid increase or decrease in a current in a device using a large number of digital filters.
An object of the present disclosure is to provide an arithmetic processing apparatus, a method, and a program for solving the above-described problem.
An arithmetic processing apparatus according to the present disclosure comprises: 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.
An arithmetic processing method according to the present disclosure comprises: 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.
A program according to the present disclosure causes 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.
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:
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.
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.
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).
The configuration of an arithmetic processing apparatus 1 according to this example embodiment will be described with reference to
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.
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.
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.
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.
The configuration of the arithmetic processing apparatus 1 according to this example embodiment will be described with reference to
When there is no data input to the FIR filter 10, dummy data dm 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 Xn or dummy data dm input from the dummy data table 11 is provided in an input unit of the FIR filter 10.
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.
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.
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.
Here, a configuration example of the FIR filter 10 according to this example embodiment will be described. As shown in
Data Xn to Xn−4 output from the input/dummy data switching circuit 12 are stored in the delay elements R0 to R4, respectively. The input data is delayed by one unit time in the order of delay elements R4, R3, R2, R1, and R0, and then input to the respective multipliers A0, A1, A2, A3, and A4.
The multiplier A0 multiplies the data Xn stored in the delay element R4 by a tap coefficient a0, and outputs the data that has been subjected to the coefficient multiplication to the in-filter adder 17. The multiplier A1 multiplies the data Xn−1 delayed by one unit time by a tap coefficient a1, and outputs the data that has been subjected to the coefficient multiplication to the in-filter adder 17. The multiplier A2 multiplies the data Xn−2 delayed by two unit times by a tap coefficient a2, and outputs the data that has been subjected to the coefficient multiplication to the in-filter adder 17. The multiplier A3 multiplies the data Xn−3 delayed by three unit times by a tap coefficient a3, and outputs the data that has been subjected to the coefficient multiplication to the in-filter adder 17. The multiplier A4 multiplies the data Xn−4 delayed by four unit times by a tap coefficient a4, and outputs the data that has been subjected to the coefficient multiplication to the in-filter adder 17.
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 A0 to A4.
As shown in
As shown in
The output data switching circuit 16 selects zero as output data when the dummy data pieces dm are stored respectively in the delay elements of the FIR filter 10.
A configuration of an Orthogonal Frequency Division Multiplexing (OFDM) signal generation unit 20 that determines whether or not dummy data dm is input to the FIR filter 10 will be described below with reference to
When the input/dummy data switching circuit 12 can clearly determine the timing at which the input data Xn becomes zero, the input/dummy data switching circuit 12 selects the dummy data dm 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 Xn becomes zero, a power calculation unit 21 of the OFDM signal generation unit 20 calculates power of an input signal.
As shown in
As shown in
An operation of the arithmetic processing apparatus 1 according to this example embodiment will be described in time series with reference to
In
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), ak represents a tap coefficient and xn−k represents input data.
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), dn−k is data used as a dummy. Note that dn−k is not zero if (n−k)<N, and is zero otherwise.
Next,
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).
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.
Further,
Lastly,
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 R0 to R4 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).
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.
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.
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.
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.
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.
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.
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.
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.
Number | Date | Country | Kind |
---|---|---|---|
2020-172329 | Oct 2020 | JP | national |