Methods and apparatus for performing buffer fill level controlled dynamic power scaling
10136384 ยท 2018-11-20
Assignee
Inventors
Cpc classification
Y02D30/70
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
International classification
Abstract
Integrated circuits with wireless communications circuitry are provided. The wireless communications circuitry may include an input FIFO, an output FIFO, a processing module interposed between the input and output FIFOs, and dynamic power control circuitry that controls the performance of the processing module. The input and output FIFOs may provide fill level information to the processing module. The dynamic power control circuitry may analyze the current fill level information received from the input and output FIFOs and may increase the operating frequency and/or boost the power supply voltage of the processing module in response to detecting that the input FIFO is filling up faster than the output FIFO or may decrease the operating frequency and/or reduce the power supply voltage of the processing module in response to detecting that the output FIFO is filling up faster than the input FIFO.
Claims
1. An integrated circuit, comprising: an input first-in first-out (FIFO) circuit; an output first-in first-out (FIFO) circuit; a processing module coupled between the input FIFO circuit and the output FIFO circuit; and dynamic power control circuitry that receives fill level information from the input and output FIFO circuits and that adjusts the performance of the processing module based on the received fill level information, wherein the dynamic power control circuitry is configured to increase the performance of the processing module at a first rate of change in response to determining that the input FIFO circuit is filling up faster than the output FIFO circuit and is further configured to decrease the performance of the processing module at a second rate of change that is different than the first rate of change in response to determining that the output FIFO circuit is filling up faster than the input FIFO circuit.
2. The integrated circuit defined in claim 1, wherein the dynamic power control circuitry adjusts the performance of the processing module by dynamically adjusting an operating frequency of the processing module.
3. The integrated circuit defined in claim 2, wherein the dynamic power control circuitry adjusts the performance of the processing module by dynamically adjusting a power supply voltage that biases the processing module.
4. The integrated circuit defined in claim 1, wherein the dynamic power control circuitry adjusts the performance of the processing module by dynamically adjusting a power supply voltage that biases the processing module.
5. The integrated circuit defined in claim 1, wherein the dynamic power control circuitry adjusts the performance of the processing module according to a lookup table that is stored on the integrated circuit.
6. The integrated circuit defined in claim 1, wherein the dynamic power control circuitry holds the performance of the processing module at a fixed level for a range of FIFO circuit fill levels.
7. The integrated circuit defined in claim 1, wherein the input FIFO circuit, the processing module, and the output FIFO comprise part of wireless communications circuitry.
8. A method of operating an integrated circuit, comprising: buffering data with an input first-in first-out (FIFO) circuit; receiving the buffered data from the input FIFO at a processing module; performing signal processing operations on the received buffered data using the processing module; receiving the processed data from the processing module at an output first-in first-out (FIFO) circuit; and with dynamic power control circuitry, receiving fill level information from the input and output FIFO circuits and adjusting the performance of the processing module based at least partly on the received fill level information by: boosting the performance of the processing module at a first rate of change in response to detecting that the input FIFO circuit exhibits a fill level that is greater than a first target amount; and reducing the performance of the processing module at a second rate of change that is different than the first rate of change in response to detecting that the output FIFO circuit exhibits a fill level that is greater than a second target amount.
9. The method defined in claim 8, wherein adjusting the performance of the processing module comprises: using the dynamic power control circuitry to adjust an operating frequency of the processing module.
10. The method defined in claim 8, wherein adjusting the performance of the processing module comprises: using the dynamic power control circuitry to adjust a power supply voltage that biases the processing module.
11. An integrated circuit, comprising: a first-in first-out (FIFO) circuit having a fill level; a processing module that is coupled to the FIFO circuit; and power control circuitry that holds the power consumption of the processing module at a fixed level when the fill level of the FIFO circuit is between a first predetermined fill level and a second predetermined fill level and that adjusts the power consumption of the processing module at a given rate of change when the fill level of the FIFO circuit is less than the first predetermined fill level and when the fill level of the FIFO circuit is greater than the second predetermined fill level.
12. The integrated circuit defined in claim 11, wherein the FIFO circuit and the processing module comprise part of wireless communications circuitry.
13. The integrated circuit defined in claim 11, wherein the processing module has an input that receives data packets from the FIFO circuit.
14. The integrated circuit defined in claim 11, wherein the processing module has an output that feeds data packets to the FIFO circuit.
15. The integrated circuit defined in claim 11, further comprising: an additional first-in first-out (FIFO) circuit having a fill level, wherein the processing module is interposed between the FIFO circuit and the additional FIFO circuit, and wherein the power control circuitry is further configured to dynamically adjust the power consumption of the processing module at least partly based on the fill level of the additional FIFO circuit.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION
(8) An integrated circuit with wireless communications capabilities is provided. In accordance with an embodiment, a wireless integrated circuit may include a baseband processor, an antenna, and a transceiver coupled between the baseband processor and the antenna. The transceiver may include transmitter circuitry in a transmit (TX) path and receiver circuitry in a receive (RX) path. The transmitter circuitry and the receiver circuitry may each include an input first-in first-out (FIFO) circuit, an output FIFO circuit, and processing module coupled between the input and output FIFO circuits.
(9) To help minimize power consumption of the wireless integrated circuit, the integrated circuit may also include power control circuitry that is used to provide adjustable power supply voltage and/or clock signals to the processing module. In response to detecting that the input FIFO has a fill level exceeding a first predetermined threshold, the power control circuitry may dynamically increase the power supply voltage and/or increase the frequency of the clock signal that is fed to the processing module so that the processing module can increase the speed at which information is retrieved from the input FIFO (and vice versa). In response to detecting that the output FIFO has a fill level exceeding a second predetermined threshold, the power control circuitry may adaptively decrease the power supply voltage and/or lower the frequency of the clock signal that is fed to the processing module so that the processing module outputs information to the output FIFO at a slower rate (and vice versa).
(10) The methods and apparatus described herein may be incorporated into any suitable circuit. For example, the method and apparatus may also be incorporated into numerous types of devices such as microprocessors, digital signal processors, application specific standard products (ASSPs), application specific integrated circuits (ASICs), programmable array logic (PAL), programmable logic arrays (PLAs), field programmable logic arrays (FPLAs), electrically programmable logic devices (EPLDs), electrically erasable programmable logic devices (EEPLDS), logic cell arrays (LCA), field programmable gate arrays (FPGAs), just to name a few.
(11) In one suitable embodiment of the present invention, integrated circuits are used in wireless communications circuitry that supports radio-frequency communications capabilities. As shown in
(12) Baseband processor 102 (sometimes referred to as a digital signal processor or DSP) may be used to handle raw and processed data associated with wireless (antenna) performance metrics for received signals such as received power, transmitted power, frame error rate, bit error rate, channel quality measurements based on signal-to-interference ratio (SINR) and signal-to-noise ratio (SNR) information, channel quality measurements based on signal quality data, information on whether responses (acknowledgements) are being received from a cellular telephone tower corresponding to requests from the electronic device, information on whether a network access procedure has succeeded, information on how many re-transmissions are being requested over a cellular link between the electronic device and a cellular tower, information on whether a loss of signaling message has been received, information on whether paging signals have been successfully received, and other information that is reflective of the performance of wireless circuitry 100.
(13) Processor 102 may directly interface with the transceiver. As shown in
(14) Transmit input FIFO 104-1 may have an input that receives transmit data from baseband processor 102 and an output that feeds transmit processing module 106-1. Transmit processing module 106-1 may perform any number of desired signal processing operations on the transmit data received from transmit input FIFO 104-1 and may provide the processed transmit data to the input of transmit output FIFO 108-1. Transmit output FIFO 108-1 may serve to buffer the processed transmit data and selectively output the processed transmit data to digital-to-analog converter (DAC) 110 to convert the transmit data into analog signals.
(15) The converted analog signals may then be fed through up-conversion circuit 114 to convert the signals from baseband to higher frequencies that are suitable for wireless transmission. Up-conversion circuit 114 may be coupled to the transmit port of RF front-end module 118. The transmit circuitry described above is merely illustrative. If desired, other suitable wireless components (e.g., matching circuits, filters, amplifiers, etc.) may be interposed in the transmit path to help with the wireless transmission of data via antenna 120.
(16) Wireless signals that are received at antenna 120 may be fed to the receive (RX) port of front-end module 118. The received signals may be fed through a down-converter 116 to convert the signals from radio-frequencies down towards baseband frequencies. The down-converted signals may then be fed through analog-to-digital converter (ADC) 112 to convert the received analog signals into corresponding digital signals.
(17) Receive input FIFO 104-2 may have an input that receives the RX digital data from data converter 112 and an output that feeds receive processing module 106-2. Receive processing module 106-2 may perform any number of desired signal processing operations on the data received from RX input FIFO 104-2 and may provide the processed receive data to the input of transmit output FIFO 108-2. Receive output FIFO 108-2 may serve to buffer the processed receive data and selectively output the processed RX data to baseband processor 102. The receive circuitry described above is merely illustrative. If desired, other suitable wireless components may be interposed in the receive path to help with the wireless reception of data in circuitry 100.
(18) Wireless communications circuitry 100 may also include a system controller such as system controller 122 and associated dynamic power control circuitry 124. System controller 122 (sometimes referred to as the applications controller) may at least be used to control when data is being loaded into the input FIFOs and when data is drawn from the output FIFOs.
(19) As an example, system controller 122 may provide a write enable control input to transmit input FIFO 104-1 via path 126 and may provide a read enable control input to transport output FIFO 108-1 via path 128 (e.g., the write enable may be determined by the baseband sampling rate, whereas the read enable may be determined by the DAC operating clock). System controller 112 may also be used to provide a write enable control input signal to FIFO 104-2 and a read enable control input signal to FIFO 108-2 (not shown). In general, the TX/RX input FIFOs may receive read enable control signals from either controller 122 or the associated processing module, whereas the TX/RX output FIFOs may receive write enable control signals from either controller 122 or the associated processing module.
(20) In accordance with an embodiment, dynamic power control circuitry 124 may be configured to adaptively adjust the performance of the transmit and receive processing modules based on the current state of the associated FIFOs. The FIFOs in the transmit and receive paths (e.g., FIFO circuits 104-1, 108-1, 104-2, and 108-2) may be configured to report the number of used words in some level of granularity that is reflective of its current fill level to dynamic power control circuitry 124. For example, input FIFOs 104-1 and 104-2 may provide corresponding input fill levels in to circuitry 124, whereas output FIFOs 108-1 and 108-2 may provide corresponding output fill levels out to circuitry 124.
(21) Dynamic power control circuitry 124 may be adapted to control the voltage and clock for the transmit and receive processing modules as a function of system parameters such as the input and output FIFO fill levels. In the example of
(22) To increase the performance of the processing modules, circuitry 124 may increase the power supply voltages Vc1 and Vc2 and/or increase the frequencies Clk1 and Clk2. To decrease the performance of the processing modules, circuitry 124 may reduce the power supply voltage Vc1 and Vc2 and/or decrease the frequencies of Clk1 and Clk2. In one suitable approach, the voltage and clock frequencies may be scaled in tandem. In another suitable approach, only the voltage is scaled while the clock frequency is fixed. In yet another suitable approach, only the clock frequency is scaled while the voltage is kept constant. If desired, the transmit and receive processing modules may be adjusted separately (e.g., circuitry 124 may be used to increase the performance of TX processing module 106-1 while decreasing the performance of RX processing module 106-2, and vice versa). In general, the frequencies of Clk1 and Clk2 can be tuned by controlling a phase-locked loop (PPL) generating the different clock signals for circuitry 100.
(23) In certain embodiments, power control circuitry 124 may also be configured to adjust the back body biasing of transistors in the transmit and receive processing modules to adjust the power mode. For example, power control circuitry 124 may provide a body biasing signal biases the bulk terminal of transistors in TX processing module 106-1 in a way that increases the threshold voltage of the transistors, thereby decreasing the performance while substantially reducing power consumption (i.e., by reducing leakage currents). As another example, power control circuitry 124 may provide a body biasing signal biases the bulk terminal of transistors in RX processing module 106-2 in a way that decreases the threshold voltage of the transistors, thereby enhancing the performance of module 106-2 at the expense of increased power consumption.
(24) As described above, power control circuitry 124 may adjust the frequency (fclk) of the clock signals and the power supply voltages Vc based on the current fill level of the input and output FIFOs. Consider only the transmit FIFOs for the sake of clarity. On the input side, there should be sufficient headroom in the TX input FIFO 104-1 to accept more incoming data from the baseband processor. On the output side, there should be adequate data residing in the TX output FIFO 108-1 so that the system does not stall. To ensure that these requirements are met, a desired input fill level and desired output fill level may be pre-selected. The desired input and output fill levels are sometimes referred to as target operating points for the FIFOs. Then the actual operating level of the FIFOs deviates from these target operating points, the voltage and clock frequency can be scaled to reduce the detected deviation.
(25)
(26)
(27)
fclk=[0.5*(in_targ+k1*e.sub.in)/in_targ+0.5*(out_targ+k2*e.sub.out)/out_targ]*fnom (1)
where in_targ represents the target input FIFO fill level, and where out_targ represents the target output FIFO fill level. Constants k1 and k2 can be tuned individually to set the loop gain of the system. In general, the loop should be sufficiently sensitive so that the system can react quickly enough when the input FIFO approaches the upper target limit and when the output FIFO approaches the lower target limit.
(28) Power control circuitry 124 may also be used to adjust the power supply voltage based on a similar scheme.
(29)
(30)
Vc=[0.5*(in_targ+kA*e.sub.in)/in.sub.targ+0.5*(out_targ+kB*e.sub.out)/out_targ]*Vdd,nom (2)
where in_targ represents the predetermined input FIFO threshold, and where out_targ represents the predetermined output FIFO threshold. Constants kA and kB can be tuned individually to set the loop gain of the system. In general, the loop should be sufficiently sensitive so that the system can react quickly enough when the input FIFO approaches the upper target limit and when the output FIFO approaches the lower target limit. If desired, the different fclk and Vc values corresponding to different e.sub.in and e.sub.out combinations may be stored in a lookup table on the integrated circuit so that equations (1) and (2) need not be computed on the fly.
(31) The equation (1) and (2) are also merely illustrative. In other arrangement, the power control circuitry 124 may analyze the fill level information received from the input and output FIFOs and may increase fclk and/or boost Vc in response to detecting that the input FIFO is filling up faster than the output FIFO or may decrease fclk and/or reduce Vc in response to detecting that the output FIFO is filling up faster than the input FIFO.
(32) In applications where the wireless communications circuitry 100 of
(33) If desired, an acceptable range of fill levels may also be applied to the output FIFO (as a function of output FIFO error e.sub.out). As described previously, fclk is generally a function of both e.sub.in and e.sub.out, both of which can have a predefined range of acceptable error values. If desired, power supply Vc that is supplied to the processing modules can also be a function of both e.sub.in and e.sub.out, both of which has a predetermined range of acceptable error values similar to that described in
(34) The examples above relating to the transmit input/output FIFOs 104-1 and 108-1 and the transmit processing module 106-1 described in connection with
(35)
(36) The input and output FIFOs associated with the TX and RX processing modules may provide fill level information to the processing modules. The TX and RX processing modules may receive the current fill level information from the FIFOs and determine whether to maintain, increase, or decrease fclk and Vc. In response to detecting that the input FIFO fills up faster than the output FIFO, power control circuitry 124 may be configured to increase fclk and/or Vc to enhance the performance of the associated processing module (in state 602). In response to detecting that the output FIFO fills up faster than the input FIFO, power control circuitry 124 may be configured to decrease fclk and/or Vc to reduce the performance of the associated processing module (in state 604).
(37) The example of
(38) The embodiments described above in association with wireless communications circuitry are merely illustrative and are not intended to limit the scope of the present invention. If desired, the dynamic power control can be applied to wireline applications, radar systems, or any other systems with non-deterministic data load. For example, in wireline applications, it may be common to have a stream of packets being delivered by the system, where the exact number of packets are hard to predict. These systems may be designed to run at maximum packet rate, but would also benefit from the dynamic power savings when not running at the maximum rate. As another example, in radar systems, when no peaks are detected above a predetermined threshold, the radar sees empty space and as a result, the radar measurements can be slowed down until peaks (or targets) are found. When targets are detected, the processing of the radar unit can then be ramped up based on the number of targets that need to be processed.
(39) The foregoing is merely illustrative of the principles of this invention and various modifications can be made by those skilled in the art without departing from the scope and spirit of the invention. The foregoing embodiments be implemented individually or in any combination.