Summary of the invention
The problem that the present invention solves is to provide a kind of electric power controller and method, and the power supply signal that work efficiency and the power supply of system power supply offered functional unit is optimized, to reduce system power dissipation.
For addressing the above problem, the invention provides a kind of electric power controller, comprising:
Detecting unit, duty and/or the working environment of the described functional unit of detection produce corresponding detection signal;
The power supply output unit is inputted described detection signal, and the duty corresponding according to described detection signal and/or working environment produce described power supply signal.
Optionally, described duty comprises the mode of operation of functional unit, and described detecting unit comprises mode detector, detects the mode of operation of described functional unit, and the detection signal of described correspondence comprises mode detection signal.
Optionally, described functional unit comprises power amplifier, and described duty comprises the power consumption of described power amplifier, and described detecting unit comprises power detector, detect the output power of described power amplifier, the detection signal of described correspondence comprises the power detection signal.
Optionally, described working environment comprises the environment temperature of functional unit, and described detecting unit comprises temperature sensor, detects the environment temperature of described functional unit, and the detection signal of described correspondence comprises temperature detection signal.
Optionally, described working environment comprises the supply voltage of battery, and described detecting unit comprises voltage sensor, detects the supply voltage of described battery, and the detection signal of described correspondence comprises the battery detecting signal.
Optionally, described power supply output unit comprises linear power supply, Switching Power Supply and control circuit, the described detection signal of described control circuit input, duty and/or the working environment corresponding according to described detection signal select described Switching Power Supply and/or linear power supply to produce described power supply signal.
Optionally, described control circuit is also controlled the switching frequency of described Switching Power Supply according to described detection signal.
Optionally, described control circuit is duty and/or the working environment corresponding according to described detection signal also, adjusts the size of described power supply signal.
Optionally, described functional unit comprises radio frequency transceiver, and the mode of operation of described radio frequency transceiver comprises standby mode, receiving mode and sending mode.
Optionally, described power supply output unit comprises linear power supply, Switching Power Supply and control circuit, and at standby mode, described control circuit selects described Switching Power Supply to produce described power supply signal; At receiving mode, described control circuit selects described linear power supply to produce described power supply signal; At sending mode, described control circuit selects described Switching Power Supply to produce described power supply signal.
For addressing the above problem, the invention provides a kind of method for managing power supply, comprising:
Detect duty and/or the working environment of described functional unit;
Produce described power supply signal according to described duty and/or working environment.
Optionally, described duty comprises the mode of operation of functional unit.
Optionally, described functional unit comprises power amplifier, and described duty comprises the power consumption of described power amplifier.
Optionally, described working environment comprises the environment temperature of functional unit.
Optionally, described working environment comprises the supply voltage of battery.
Optionally, the described power supply signal of described generation comprises: select Switching Power Supply and/or linear power supply to produce described power supply signal.
Optionally, the described power supply signal of described generation also comprises: the switching frequency of controlling described Switching Power Supply.
Optionally, the described power supply signal of described generation also comprises: the size of adjusting described power supply signal.
Optionally, described functional unit comprises radio frequency transceiver, the mode of operation of described radio frequency transceiver comprises standby mode, receiving mode and sending mode, and the described power supply signal of described generation comprises: at standby mode, select described Switching Power Supply to produce described power supply signal; At receiving mode, select described linear power supply to produce described power supply signal; At sending mode, select described Switching Power Supply to produce described power supply signal.
Technique scheme is by duty and/or the working environment of measuring ability unit, and the power supply signal that offers described functional unit according to the duty that detects and/or working environment adjustment, namely manage according to the real-world operation state of the hardware module power supply to system, therefore can effectively reduce system power dissipation, extend the system standby time.
Embodiment
Management to system power supply in prior art is generally by the part in system or hardware module are powered or cut off the electricity supply to realize power consumption control, but in the situation that fixing power supply mode is adopted in power supply, as the power supply signal to hardware output fixed voltage or electric current, the actual working state for hardware is not optimized, and has the excessive problem of power consumption.Technical scheme of the present invention increases detecting unit in electric power controller, duty and working environment to relevant functional unit detect, thereby the work efficiency of the real-time described electric power controller of adjustment and the power supply signal of output reduce system power dissipation.
Power supply of the prior art mainly comprises linear power supply and Switching Power Supply, the principle of work of linear power supply is mainly first to reduce voltage magnitude after the dc signal process linear transformer with input, obtain dc signal through after filtering again, be the power supply of the hardware circuit in functional unit; The principle of work of Switching Power Supply is mainly to come conducting and the cut-off of gauge tap pipe by the switching signal that high speed is switched, dc signal is converted into high-frequency electric signal, offer transformer and carry out transformation and rectification, thereby produce one or more groups power supply signal, be the power supply of the hardware circuit in functional unit.Both compare, the power supply signal ripple of linear power supply output is less, but efficient is lower; The power supply signal ripple of Switching Power Supply output is larger, but efficient is higher.Described efficient refers to the ratio of the power supply signal power of the power supply signal power of power supply output and input.In prior art, often only adopt according to the actual requirements a kind of power supply wherein to power, perhaps have simultaneously two kinds of power supplys concurrently, but for fixing functional unit or hardware circuit, only the fixing a kind of power supply wherein of using is powered, do not carry out real-time adjustment according to the duty of functional unit or hardware circuit, the characteristics that do not take full advantage of two kinds of power supplys realize the optimal control of power consumption.
The invention provides a kind of electric power controller, increased detecting unit, duty and/or working environment to functional unit carry out real-time detection, and adjust accordingly power supply mode and power supply signal, under the prerequisite of assurance system normal operation, improve the work efficiency of electric power controller and adjust the size of power supply signal, realize the optimal control to power consumption.
For above-mentioned purpose of the present invention, feature and advantage can more be become apparent, below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in detail.
Set forth detail in the following description so that fully understand the present invention.But the present invention can be different from alternate manner described here and implements with multiple, and those skilled in the art can be in the situation that do similar popularization without prejudice to intension of the present invention.Therefore the present invention is not subjected to the restriction of following public embodiment.
Fig. 1 shows the high-level schematic functional block diagram of the electric power controller of embodiment of the present invention, as shown in Figure 1, comprising: detecting unit 101, and duty and/or the working environment of measuring ability unit 103 produce corresponding detection signal; Power supply output unit 102, input described detection signal, the duty corresponding according to described detection signal and/or working environment produce power supply signal, offer described functional unit 103, and described generation power supply signal can comprise size and the power supplying efficiency of adjusting power supply signal.In practical work process, duty and/or the working environment of 101 pairs of described functional units 103 of described detecting unit carry out real-time monitoring, and produce corresponding detection signal and input to described power supply output unit 102, duty and/or working environment that described power supply output unit 102 is corresponding according to current detection signal, the size of power supply signal, the ripple size of power supply signal and the work efficiency of whole electric power controller are adjusted accordingly, reduced its power consumption under the prerequisite that guarantees described functional unit 103 normal operations.
Fig. 2 shows the high-level schematic functional block diagram of the electric power controller of the embodiment of the present invention, described electric power controller is used for providing power supply signal to functional unit 1031, functional unit described in this enforcement 1031 mainly comprises radio frequency transceiver, described radio frequency transceiver comprises power amplifier (power amplifier), as shown in Figure 2, described electric power controller mainly comprises: voltage sensor 1011, and the supply voltage of detection battery produces the battery detecting signal; Temperature sensor 1012 detects the temperature of described functional unit 1031 work at present environment, produces temperature detection signal; Power detector 1013 detects the output signal power of the power amplifier in described functional unit 1031, produces the power detection signal; Mode detector 1014 detects the mode of operation of described functional unit 1031, produces mode detection signal; Control circuit 1021, input described battery detecting signal, temperature detection signal, power detection signal and mode detection signal, control and select to adopt Switching Power Supply 1022 and/or linear power supply 1023 to produce described power supply signal, and adjust the size of described power supply signal according to described battery detecting signal, temperature detection signal, power detection signal and mode detection signal.Wherein, when using Switching Power Supply 1033 to produce power supply signal, described control circuit 1021 is also controlled the switching signal of described Switching Power Supply 1022, controls its switching frequency, thereby adjusts the ripple size of described power supply signal and the work efficiency of Switching Power Supply.
Voltage sensor described in Fig. 2 1011, temperature sensor 1012, power detector 1013 and mode detector 1014 are corresponding to the described detecting unit 101 in Fig. 1, and corresponding detection signal comprises described battery detecting signal, temperature detection signal, power detection signal and mode detection signal; Described control circuit 1021, Switching Power Supply 1022 and linear power supply 1023 are corresponding to the described power supply output unit 102 in Fig. 1, and described functional unit 1031 is corresponding to the described functional unit 103 in Fig. 1.In the present embodiment, the functional module of each shown in Fig. 2 is integrated on same semi-conductor chip.
Functional unit described in the present embodiment 1031 mainly comprises radio-frequency transmitter, and in addition, described functional unit 1031 can also comprise in other embodiments: baseband processing module, input/output interface module, memory module etc.Described radio frequency transceiver specifically comprises receiving mixer, receives ifd module, transmitting mixer, emission medium-frequency module, phaselocked loop (PLL), power amplifier.The duty of functional unit described in the present embodiment 1031 specifically comprises the mode of operation of described radio frequency transceiver, mainly is divided into: standby mode, and all hardware module under this pattern in described radio frequency transceiver is in holding state, and is not in running order; Receiving mode, the receiving mixer under this pattern in described radio frequency transceiver, reception ifd module, phaselocked loop and power amplifier enter duty, and transmitting mixer and emission medium-frequency module keep holding state; Sending mode, the transmitting mixer under this pattern in described radio frequency transceiver, emission medium-frequency module, phaselocked loop and power amplifier enter duty, and receiving mixer and reception ifd module keep holding state.
Need to prove, concrete circuit design process has determined the representative value (typical value) of the power supply signal that above-mentioned each hardware module can work, under described operating voltage and working current with representative value, each hardware module has optimum performance, each performance parameter is all optimal value as gain (gain), signal to noise ratio (S/N ratio) (signal noiserate, SNR), bandwidth (band width) etc.If the operating voltage that power supply signal provides and working current less than described representative value, can cause above-mentioned performance parameter variation; Operating voltage and working current can cause power consumption excessive greater than described representative value, even can cause the damage of device.
Described Switching Power Supply 1022 comprises boost (boost) module and step-down (buck) module, described boost module is used for output voltage higher than the situation of input voltage, the supply voltage that in functional unit 1031, certain hardware module requires as described is higher than the supply voltage of battery, inputs to this hardware module after using boost module that the supply voltage of battery is raise; In contrast, described voltage reduction module is used for output voltage lower than the situation of input voltage.
The boost module of described Switching Power Supply 1022 and voltage reduction module all have width modulation (pulse widthmodulation, PWM) pattern and burst (burst) pattern.Under PWM mode, the switching signal of described Switching Power Supply 1022 is modulated by pulse-width signal, if switching frequency is higher, the ripple of the power supply signal that produces is less, corresponding less to the interference of hardware circuit, but its efficient is lower, makes system power dissipation larger; If switching frequency is lower, the ripple of the power supply signal that produces is larger, and is larger to the interference of hardware circuit, but efficient is relatively high, can reduce power consumption.Under burst mode, the signal that life cycle is larger carries out secondary modulation to described pulse-width signal, reduced on-off times, improved the efficient of Switching Power Supply, but the power of exporting accordingly power supply signal is lower, burst mode is mainly used under standby mode, functional unit being powered in the present embodiment, hereinafter will be described in detail.
Compare with Switching Power Supply 1022, the ripple of the power supply signal of described linear power supply 1023 its generations is less, thereby interference and noise less that described functional unit 1031 is caused.But compare with Switching Power Supply 1022, its efficient is lower, in the situation that select described linear power supply 1023 to power, system power dissipation is larger.
Described control circuit 1021 is used for controlling selects described Switching Power Supply 1022 and/or 1023 pairs of described functional units 1031 of linear power supply (the present embodiment is specially radio frequency transceiver) that power supply signal is provided.Described control circuit can also control frequency, the selection boost module of the switching signal of described Switching Power Supply 1022 or voltage reduction module is powered and select PWM mode or burst mode to power.Described control circuit can also be controlled reference voltage and the reference current in described Switching Power Supply 1022 and linear power supply 1023 in addition, thereby controls the size of the power supply signal of its output, comprises the size of operating voltage and working current.
Described voltage sensor 1011 is for detection of cell voltage, when cell voltage during lower than default normal voltage, show that battery electric quantity is not enough, the battery detecting signal that generates inputs to described control circuit 1021, reduce described Switching Power Supply 1022 and the operating voltage of linear power supply 1023 generations and the size of working current, thereby reduce the power consumption of whole system, extend the system standby time take loss partial circuit performance as cost.In addition, at battery electric quantity wretched insufficiency, cell voltage during seriously lower than described default normal voltage, only use described Switching Power Supply 1022 power and abandon using linear power supply 1023 to power, and adopt boost module wherein to produce operating voltage and working current.Because the efficient of Switching Power Supply 1022 is relatively high, therefore can extend as far as possible the stand-by time of system when battery electric quantity is not enough, in addition, adopt boost module can guarantee in the situation that cell voltage is too low, the magnitude of voltage of the operating voltage of output still can satisfy the desired magnitude of voltage of functional unit normal operation.
Described temperature sensor 1012 is for detection of the temperature of working environment, when environment temperature too high, during higher than default the first standard temperature, the temperature detection signal that produces inputs to described control circuit 1021, the operating voltage that the described Switching Power Supply 1022 that raises and linear power supply 1023 produce and the size of working current guarantee that described functional unit 1031 can work at higher temperature.Too low when environment temperature, during lower than default the second standard temperature, the temperature detection signal of generation inputs to described control circuit 1021, reduces described Switching Power Supply 1022 and the operating voltage of linear power supply 1023 generations and the size of working current.Because the representative value of the power supply signal of hardware circuit normal operation in the lower situation of temperature also decreases, therefore, reduce the normal operation that operating voltage and working current have guaranteed system on the one hand, reduced on the other hand the power consumption of system.
Described power detector 1013 is for detection of the power of the output signal of the power amplifier in described functional unit 1031, when the power of described output signal less, during lower than default standard output power, reduce the power supply signal that offers described power amplifier, the power of output signal is less due to this moment, use less power supply signal under the prerequisite that guarantees its normal operation, reduce the power consumption of power amplifier itself; During higher than default standard output power, offer the power supply signal of power amplifier for the representative value of its power supply signal when the power of described output signal, guarantee its normal operation.
According to inventor's Research statistics, the power consumption of power amplifier accounts for 20% to 30% of described radio frequency transceiver total power consumption, the detecting unit of the present embodiment has comprised power detector, power consumption for power amplifier is carried out special optimization, thereby reduced significantly the total power consumption of whole radio frequency transceiver, extended stand-by time.Need to prove, only comprise in the present embodiment a default standard output power, can preset a plurality of standard output powers in other embodiments, as 2,3,5 etc., be a plurality of scopes with the power divider of the output signal of described power amplifier, provide corresponding power supply signal to it in each scope, further optimize its power consumption, extend the stand-by time of system.
Described mode detector 1014 is preferably digital signal processor (DSP in the present embodiment, digitalsignal processor), detect the duty of described functional unit 1031, be specially the mode of operation of described radio frequency transceiver in the present embodiment, comprise standby mode, receiving mode and sending mode.If described radio frequency transceiver is standby mode, the mode detection signal that described digital signal processor produces inputs to described control circuit 1021, control circuit 1021 produces control signal, adopt 1022 pairs of described radio frequency transceivers of described Switching Power Supply to power, and control described Switching Power Supply 1022 and enter burst mode.Due to the efficient of described Switching Power Supply 1022 than linear power supply 1023 height, and under burst mode in Switching Power Supply the on off state of switching tube switch lessly, therefore further improved efficient, reduced power consumption.In the present embodiment, described digital signal processor also is used for carrying out the part Base-Band Processing, produces the baseband signal that is used for emission, and processes the baseband signal that receives.
If described radio frequency transceiver works in receiving mode, the mode detection signal that described digital signal processor produces inputs to described control circuit 1021, control circuit 1021 produces control signal, adopts 1023 pairs of described radio frequency transceivers of described linear power supply to power.Described radio frequency transceiver works in receiving mode, show that wherein receiving mixer, reception ifd module, phaselocked loop and power amplifier are in running order, the signal power that receives in receiving course is often less, therefore described receiving mixer is very responsive to noise, select the less linear power supply of ripple, can effectively prevent from having avoided the impact of its signal to noise ratio (S/N ratio) to received signal by the noise of power supply signal generation itself.
If described radio frequency transceiver works in sending mode, the mode detection signal that described digital signal processor produces inputs to described control circuit 1021, control circuit 1021 produces control signal, adopts 1022 pairs of described radio frequency transceivers of described Switching Power Supply to power.Described radio frequency transceiver works in sending mode, shows that wherein transmission frequency mixer, transmission ifd module, phaselocked loop and power amplifier are in running order.To noise and insensitive, therefore select Switching Power Supply due to above-mentioned module in process of transmitting, although the power supply signal ripple of its output is larger, because its efficient is higher, therefore can effectively reduce system power dissipation, extend the system standby time.Need to prove, in sending mode, the mode detection signal that described digital signal processor produces also is used for controlling the switching frequency of described Switching Power Supply 1022, adjust the work efficiency of described Switching Power Supply 1022 and the ripple size of output power supply signal, guarantee when increasing work efficiency, the ripple of power supply signal can't affect the normal operation of described radio frequency transceiver.
Need to prove, the electric power controller of the present embodiment shown in Figure 2 has comprised mode detector 1014, power detector 1013, temperature sensor 1012 and voltage sensor 1011, and namely detecting unit has the duty (for example power consumption of mode of operation, power amplifier) of measuring ability unit 1031 and the function of working environment (for example supply voltage of environment temperature, battery) concurrently.In other embodiments of the invention, can only comprise one of them or wherein several combination, as mode detector 1014 as described in only comprising, produce corresponding power supply signal according to the mode of operation of described functional unit 1031, and the power of voltage, temperature and power amplifier is not detected.
Corresponding above-mentioned electric power controller, embodiments of the invention also provide a kind of method for managing power supply, and being used for provides power supply signal to functional unit, as shown in Figure 3, comprising: execution in step S101, duty and/or the working environment of the described functional unit of detection; Execution in step S102 produces described power supply signal according to described duty and/or working environment.
Similar with the electric power controller in above-described embodiment, described functional unit is preferably radio frequency transceiver, comprising power amplifier.Described duty comprises the mode of operation of described radio frequency transceiver, is divided into standby mode, receiving mode and sending mode, at standby mode, selects described Switching Power Supply to produce described power supply signal; At receiving mode, select described linear power supply to produce described power supply signal; Select described Switching Power Supply to produce described power supply signal at sending mode.Described duty also comprises the power consumption of described power amplifier, according to the output power of described power amplifier, controls accordingly the size of described power supply signal, and concrete control procedure is consistent with above-described embodiment, just repeats no more here.Described working environment comprises the environment temperature of functional unit and/or the supply voltage of battery.
The method for managing power supply of the present embodiment can the selector switch power supply and/or linear power supply functional unit is powered, particularly, can select Switching Power Supply and/or linear power supply to produce the power supply signal that offers functional unit according to one in the supply voltage of the power consumption of described mode of operation, power amplifier, environment temperature, battery or several combination, and, also can adjust the size of switching frequency and the described power supply signal of described Switching Power Supply.Concrete adjustment process and the electric power controller in above-described embodiment are similar, just repeat no more here.
In sum, the invention discloses a kind of electric power controller and method, detect by duty and/or working environment to functional unit, and the work efficiency of corresponding adjustment System power supply and the size that offers the power supply signal of functional unit, reduce system power dissipation, extended stand-by time.
Although the present invention with preferred embodiment openly as above; but it is not to limit the present invention; any those skilled in the art without departing from the spirit and scope of the present invention; can utilize method and the technology contents of above-mentioned announcement to make possible change and modification to technical solution of the present invention; therefore; every content that does not break away from technical solution of the present invention; to any simple modification, equivalent variations and modification that above embodiment does, all belong to the protection domain of technical solution of the present invention according to technical spirit of the present invention.