CN109888897A - Charge control method, battery charge controller and power supply adaptor - Google Patents

Charge control method, battery charge controller and power supply adaptor Download PDF

Info

Publication number
CN109888897A
CN109888897A CN201910130329.2A CN201910130329A CN109888897A CN 109888897 A CN109888897 A CN 109888897A CN 201910130329 A CN201910130329 A CN 201910130329A CN 109888897 A CN109888897 A CN 109888897A
Authority
CN
China
Prior art keywords
charging current
limit value
preset
output voltage
lower limit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910130329.2A
Other languages
Chinese (zh)
Other versions
CN109888897B (en
Inventor
廖跃飞
黄瑞光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Electric General Technology Co Ltd
Original Assignee
Shenzhen Electric General Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Electric General Technology Co Ltd filed Critical Shenzhen Electric General Technology Co Ltd
Priority to CN201910130329.2A priority Critical patent/CN109888897B/en
Publication of CN109888897A publication Critical patent/CN109888897A/en
Application granted granted Critical
Publication of CN109888897B publication Critical patent/CN109888897B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Dc-Dc Converters (AREA)

Abstract

The present invention is suitable for power technique fields, provide a kind of charge control method, suitable for carrying out the power supply adaptor of charge control by pwm signal, include the following steps: to detect the running parameter of power supply adaptor in each detection cycle of constant-current constant-voltage charging program;The duty ratio of the pwm signal is adjusted according to the running parameter of detection, so that the output voltage of power supply adaptor is maintained between preset output voltage limit value and output voltage lower limit value, and charging current is maintained between preset charging current upper limit value and charging current lower limit value;Wherein, the preset charging current upper limit value and charging current lower limit value determine in charging soft start routine.The present invention ensure that power supply adaptor can maintain the charging of constant current constant voltage state and exportable maximum current, maximum power charging realized, so as to shorten the charging time by adjusting the duty ratio of the pwm signal according to the running parameter of power supply adaptor.

Description

Charge control method, battery charge controller and power supply adaptor
Technical field
The invention belongs to power technique fields more particularly to a kind of charge control method, battery charge controller and power supply are suitable Orchestration.
Background technique
Current the most of of USB Power Adapter use are AC-DC+DC-DC, pass through AC-DC first for 220V alternating current It is converted into direct current by rectifier bridge rectification, 5V is converted by DC-DC reduction voltage circuit again later or other DC voltages are believed Number output.Wherein again some DC-DC current limiting functions, some do not have, directly close export.
For example, if current power adapter can only export 5V/1A, and the specified input current of startup power supply is 5V/2A, such as Fruit is charged at this time using simulation control, then can always be dragged down input voltage, power supply adaptor is constantly in limited current state, cannot It realizes maximum power charging, the time of charging can be extended.
Summary of the invention
The technical problems to be solved by the invention are how to realize that maximum power charges, and shorten the charging time.
In order to solve the above technical problems, in a first aspect, the embodiments of the present invention are implemented as follows, a kind of charge control side Method, suitable for carrying out the power supply adaptor of charge control by pwm signal, the charge control method includes the following steps:
In each detection cycle of constant-current constant-voltage charging program, the running parameter of power supply adaptor is detected;
The duty ratio of the pwm signal is adjusted according to the running parameter of detection, so that the output voltage of power supply adaptor is protected It holds between preset output voltage limit value and output voltage lower limit value, and charging current is maintained in preset charging current Between limit value and charging current lower limit value;Wherein, the preset charging current upper limit value is charging with charging current lower limit value It is determined in soft start routine.
Second aspect, the embodiment of the invention also provides a kind of battery charge controllers, suitable for being filled by pwm signal The power supply adaptor of electric control, the battery charge controller include constant-current constant-voltage charging unit, the constant-current constant-voltage charging unit Include:
Detection module, for detecting the work of power supply adaptor in each detection cycle of constant-current constant-voltage charging module Parameter;
PWM adjustment module, for adjusting the duty of the pwm signal according to detection module running parameter detected Than, so that the output voltage of power supply adaptor is maintained between preset output voltage limit value and output voltage lower limit value, and Charging current is maintained between preset charging current upper limit value and charging current lower limit value;Wherein, the preset charging electricity Upper limit value and charging current lower limit value is flowed to determine when carrying out charging soft start.
The third aspect, the embodiment of the invention also provides a kind of power supply adaptor, the power supply adaptor includes DC-DC electricity Voltage conversion circuit and MCU, the MCU have the input voltage sample port, output voltage sample port, charging of power supply adaptor Current sample port, pwm control signal output port;The MCU is for storing and running computer program, the MCU operation When the computer program, it can be achieved that charge control method described in first aspect with to the DC-DC voltage conversion circuit into Row control.
Above-mentioned various aspects embodiment, by the duty for adjusting the pwm signal according to the running parameter of power supply adaptor Than, so that the output voltage of power supply adaptor is maintained between preset output voltage limit value and output voltage lower limit value, and Charging current is maintained between preset charging current upper limit value and charging current lower limit value, ensure that power supply adaptor can maintain In the charging of constant current constant voltage state and exportable maximum current, maximum power charging is realized, so as to shorten the charging time.
Detailed description of the invention
Fig. 1 is the flow chart for the charge control method that first embodiment of the invention provides;
Fig. 2 is the flow chart for the constant-current constant-voltage charging program that first embodiment of the invention provides;
Fig. 3 is a kind of preferred flow chart for the charge control method that first embodiment of the invention provides;
Fig. 4 is the flow chart for the charging soft start routine that first embodiment provides;
Fig. 5 is the structure principle chart for the battery charge controller that second embodiment of the invention provides;
Fig. 6 is a kind of preferred structure principle chart for the battery charge controller that second embodiment of the invention provides;
Fig. 7 is the structure principle chart for the power supply adaptor that third embodiment of the invention provides.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Fig. 1 shows the process of the charge control method of first embodiment of the invention offer, is applicable to pass through pwm signal Carry out the power supply adaptor of charge control.Details are as follows:
Step S101 detects the running parameter of power supply adaptor in each detection cycle of constant-current constant-voltage charging program.
Specifically, power supply adaptor is used to convert alternating current to suitable direct current supply load, power supply adaptor packet DC-DC voltage conversion circuit is included, voltage up converting circuit (Boost circuit) is specifically can be, is also possible to decompression converting circuit (Buck circuit), the charge circuit between the voltage conversion circuit and load are equipped with a switching tube, the switch shape of the switching tube State is controlled by above-mentioned pwm signal, the duty ratio of the pwm signal it is higher, illustrate the place that switching tube can be more long in identical duration In on state, charge circuit is also more long in running order.
In the present embodiment, the working procedure of power supply adaptor includes charging soft start routine and constant-current constant-voltage charging program, In addition to being mainly used for increasing charging current slowly in charging soft start routine, reduce to devices such as rear end capacitor, switching tubes Impact is also used to determine charging current upper limit value and charging current lower limit value, later by the charging current upper limit value and charging electricity Limit value is flowed down as parameter and is transmitted to constant-current constant-voltage charging program, as the target component of electric current, so that control is unlikely to adjust repeatedly Section causes electric current or output voltage to shake.
Above-mentioned running parameter may include the output voltage of power supply adaptor, charging current, also may further include electricity The input voltage of source adapter specifically can be selected flexibly according to the actual situation.
Step S102 adjusts the duty ratio of the pwm signal according to the running parameter of detection, so that power supply adaptor is defeated Voltage is maintained between preset output voltage limit value and output voltage lower limit value out, and charging current is maintained at preset and fills Between electric current upper limit value and charging current lower limit value.
Current embodiment require that controlling output voltage and charging current, to guarantee that power supply adaptor work can constant current perseverance Pressure charges to load.Wherein, the preset charging current upper limit value and charging current lower limit value are in charging soft start routine Middle determination.
As the first implementation of the present embodiment, when running parameter includes output voltage, the charging electricity of power supply adaptor When stream, referring to Fig. 2, this step specifically includes:
If the output voltage is greater than preset output voltage limit value, the duty ratio of the pwm signal is turned down 1 One step;Wherein, the occurrence of an one step can according to circumstances flexible setting, such as be set as 1% duty ratio, Or 0.5% duty ratio.
If the output voltage is not more than preset output voltage limit value, further judge whether output voltage is less than Whether preset output voltage lower limit value and charging current are less than preset charging current lower limit value, and are defeated in judging result 1 one step is turned up in the duty ratio of the pwm signal when voltage is less than preset output voltage lower limit value out, is tied in judgement Fruit is that 1 one step is turned up in the duty ratio of the pwm signal when charging current is less than preset charging current lower limit value.
If the charging current is greater than preset charging current upper limit value, the duty ratio of the pwm signal is turned down 1 One step.
If the charging current is not more than preset charging current upper limit value, further judge whether output voltage is less than Whether preset output voltage lower limit value and charging current are less than preset charging current lower limit value, and are defeated in judging result 1 one step is turned up in the duty ratio of the pwm signal when voltage is less than preset output voltage lower limit value out, is tied in judgement Fruit is that 1 one step is turned up in the duty ratio of the pwm signal when charging current is less than preset charging current lower limit value.
The first implementation is not by exceeding adapter maximum current for the charging current control of power supply adaptor Value ensure that power supply adaptor exports maximum current, to guarantee constant-current charge, use Hysteresis control, charging to charging current Electric current just turns down charging current when being more than preset charging current upper limit value, just will when lower than preset charging current lower limit value Charging current is turned up;In addition, by by output voltage control between output voltage lower limit value and output voltage limit value, can be with Guarantee to export stable voltage, avoids over-charging of battery, therefore, can realize constant-voltage charge after first constant current on the whole.
As second of implementation of the present embodiment, on the basis of the first above-mentioned implementation, running parameter is also It may include the input voltage of power supply adaptor, referring again to Fig. 2, at this point, this step is specific further include:
If the input voltage is less than preset input voltage threshold value (4.7V as shown in Figure 2), by the pwm signal Duty ratio turn down 1 one step.
If the input voltage is not less than preset input voltage threshold value, it is pre- further to judge whether output voltage is less than Whether the output voltage lower limit value and charging current set are less than preset charging current lower limit value, and are output in judging result 1 one step is turned up in the duty ratio of the pwm signal when voltage is less than preset output voltage lower limit value, in judging result 1 one step is turned up in the duty ratio of the pwm signal when being less than preset charging current lower limit value for charging current.
It will lead to that input voltage is too low, and limiting case can even draw input voltage to close if charging current is too big 0V. at this time program can mistake think not input, cause charging to be closed, and this method is also that efficiency is low-down, so It in order to maximum power charging, needs to control input voltage, too low (got higher can with) that cannot allow it falls.Second In implementation when detecting that input voltage is less than preset input voltage threshold value (such as 4.7V shown in Fig. 2), it is considered as Charging current is excessive, needs to turn down the duty ratio of pwm signal, therefore, second implementation by again to input voltage into Row control, what input voltage will not be drawn is too low so that influencing delivery efficiency.In addition, the constant current constant voltage phase charge control time Period is not necessarily 1ms, may be set to be other time cycles.
Further, as shown in figure 3, the charge control method also needs before entering constant-current constant-voltage charging program Charging soft start is carried out, is specifically included:
Charger insertion is detected whether;
When having detected charger insertion, further whether detection charging soft start routine is completed, if so, described in Constant-current constant-voltage charging program, if it is not, executing charging soft start routine.
Fig. 4 further illustrates the implementation procedure of soft start routine, comprising:
Judge whether the input voltage of power supply adaptor is less than preset input voltage threshold value (such as 4.7V), if so, Soft start counter is added 1, if it is not, 1 one step then is turned up in the duty ratio of the pwm signal.
Judge whether the input current of power supply adaptor exceeds predetermined amplitude (such as the input current threshold of input current threshold value The 110% of value), if so, the soft start counter is added 1, if it is not, 1 list then is turned up in the duty ratio of the pwm signal Position step-length.
Judge whether the output voltage of power supply adaptor is greater than preset output voltage limit value, if so, by described soft Starting counter adds 1, if it is not, 1 one step then is turned up in the duty ratio of the pwm signal.
After the soft start counter adds 1 every time, the duty ratio of the pwm signal turns down 1 one step, and judges Whether present charging current value is greater than history pairs of maximum charging current values.
If present charging current value is not more than history pairs of maximum charging current values, the soft start counter is further judged Aggregate-value whether have reached count upper-limit (such as 3 times);If present charging current value is greater than history pairs of maximum charging current values, The soft start counter is then further judged after present charging current value is updated to history pairs of maximum charging current values Whether aggregate-value has reached count upper-limit.
If the aggregate-value of the soft start counter has reached count upper-limit, by history maximum charging current at this time Value is used as the charging current upper limit value, and determines the charging current lower limit value based on the charging current upper limit value, then The soft start counter and history pairs of maximum charging current values are reset.If the aggregate-value of the soft start counter is not up to Count upper-limit, and soft start is also time-out, then carries out soft start according to the pairs of maximum charging current values of default.
Similarly, the occurrence of an one step can according to circumstances flexible setting, such as be set as 1% duty ratio, Or 0.5% duty ratio.
It must be that duty ratio (duty) slowly rises up since 0 to pwm signal adjusting in charging soft start routine, and There is the upper limit, cannot be 100%duty, general maximum is set as 90%, with specific reference to output voltage and input voltage ratio calculation.
First embodiment adjusts the duty ratio of the pwm signal according to the running parameter of power supply adaptor, so that power supply The output voltage of adapter is maintained between preset output voltage limit value and output voltage lower limit value, and charging current is kept Between preset charging current upper limit value and charging current lower limit value, it ensure that power supply adaptor can maintain constant current constant voltage shape State charging and exportable maximum current realize maximum power charging, so as to shorten the charging time.
Fig. 5 shows the structural principle of the battery charge controller of second embodiment of the invention offer, is applicable to pass through PWM The power supply adaptor of signal progress charge control.Referring to Fig. 5, battery charge controller includes constant-current constant-voltage charging unit 51, constant current Constant-voltage charge unit 51 includes detection module 511 and PWM adjustment module 512.
Wherein, detection module 511 is used in each detection cycle of constant-current constant-voltage charging module, detects power supply adaptor Running parameter.
Specifically, power supply adaptor is used to convert alternating current to suitable direct current supply load, power supply adaptor packet Voltage conversion circuit is included, specifically can be voltage up converting circuit (Boost circuit), is also possible to decompression converting circuit (Buck electricity Road), the charge circuit between the voltage conversion circuit and load is equipped with a switching tube, and the switch state of the switching tube is controlled by Above-mentioned pwm signal, the duty ratio of the pwm signal it is higher, illustrate that switching tube can be more long in identical duration is on shape State, charge circuit are also more long in running order.In the present embodiment, the working procedure of power supply adaptor includes charging soft start Program and constant-current constant-voltage charging program, for determining charging current upper limit value and charging current lower limit in the soft start routine that charges Value is transmitted to constant-current constant-voltage charging program using the charging current upper limit value and charging current lower limit value as parameter later, as electricity The target component of stream causes electric current or output voltage to shake so that control is unlikely to adjust repeatedly.Above-mentioned running parameter can wrap Output voltage, the charging current for including power supply adaptor, also may further include the input voltage of power supply adaptor, specifically can be with It flexibly selects according to the actual situation.
PWM adjustment module 512 is used to adjust accounting for for the pwm signal according to detection module running parameter detected Empty ratio, so that the output voltage of power supply adaptor is maintained between preset output voltage limit value and output voltage lower limit value, And charging current is maintained between preset charging current upper limit value and charging current lower limit value.
Current embodiment require that controlling output voltage and charging current, to guarantee that power supply adaptor work can constant current perseverance Pressure charges to load.Wherein, the preset charging current upper limit value and charging current lower limit value are in charging soft start routine Middle determination.
As the first implementation of the present embodiment, when running parameter includes output voltage, the charging electricity of power supply adaptor When stream, PWM adjustment module 512 includes: that the first adjusting submodule 5121 and second adjusts submodule 5122.
First, which adjusts submodule 5121, is used for when the output voltage is greater than preset output voltage limit value, will be described The duty ratio of pwm signal turns down 1 one step;It is also used in the output voltage no more than preset output voltage limit value When, further judge whether output voltage is less than whether preset output voltage lower limit value and charging current are less than preset fill Electric floor level of electric current, and be when output voltage is less than preset output voltage lower limit value by the pwm signal in judging result 1 one step is turned up in duty ratio, is when charging current is less than preset charging current lower limit value by the PWM in judging result 1 one step is turned up in the duty ratio of signal.
Second, which adjusts submodule 5122, is used for when the charging current is greater than preset charging current upper limit value, will be described The duty ratio of pwm signal turns down 1 one step;It is also used in the charging current no more than preset charging current upper limit value When, further judge whether output voltage is less than whether preset output voltage lower limit value and charging current are less than preset fill Electric floor level of electric current, and be when output voltage is less than preset output voltage lower limit value by the pwm signal in judging result 1 one step is turned up in duty ratio, is when charging current is less than preset charging current lower limit value by the PWM in judging result 1 one step is turned up in the duty ratio of signal.
The first implementation is not by exceeding adapter maximum current for the charging current control of power supply adaptor Value ensure that power supply adaptor exports maximum current.
As second of implementation of the present embodiment, when running parameter further includes the input voltage of power supply adaptor, PWM Adjustment module 512 further includes that third adjusts submodule 5123, for being less than preset input voltage threshold value in the input voltage When, the duty ratio of the pwm signal is turned down into 1 one step;It is also used in the input voltage not less than preset input When voltage threshold, further judge whether output voltage is less than whether preset output voltage lower limit value and charging current are less than Preset charging current lower limit value, and being in judging result will be described when output voltage is less than preset output voltage lower limit value 1 one step is turned up in the duty ratio of pwm signal, when judging result is that charging current is less than preset charging current lower limit value 1 one step is turned up in the duty ratio of the pwm signal.
Second of implementation will not draw input voltage too low so that shadow by controlling again input voltage Ring delivery efficiency.
Further, battery charge controller further includes charging soft start unit 52, for judging the input of power supply adaptor Whether voltage is less than preset input voltage threshold value, if so, soft start counter is added 1, if it is not, then by the pwm signal Duty ratio be turned up 1 one step;It is also used to judge whether the input current of power supply adaptor exceeds input current threshold value Predetermined amplitude, if so, the soft start counter is added 1, if it is not, 1 unit then is turned up in the duty ratio of the pwm signal Step-length;It is also used to judge whether the output voltage of power supply adaptor is greater than preset output voltage limit value, if so, will be described Soft start counter adds 1, if it is not, 1 one step then is turned up in the duty ratio of the pwm signal;It is also used to soft open described After dynamic counter adds 1 every time, the duty ratio of the pwm signal turns down 1 one step, and judges that present charging current value is It is no to be greater than history pairs of maximum charging current values;
Charging soft start unit 52 is also used to when present charging current value is no more than history pairs of maximum charging current values, into one Step judges whether the aggregate-value of the soft start counter has reached count upper-limit;If present charging current value is greater than history most Big charging current value then further judges after present charging current value is updated to history pairs of maximum charging current values described soft Whether the aggregate-value of starting counter has reached count upper-limit;
Charging soft start unit 52 is also used to when the aggregate-value of the soft start counter has reached count upper-limit, will History pairs of maximum charging current values at this time determines institute as the charging current upper limit value, and based on the charging current upper limit value Charging current lower limit value is stated, then resets the soft start counter and history pairs of maximum charging current values.
Second embodiment PWM adjustment module 512 adjusts accounting for for the pwm signal according to the running parameter of power supply adaptor Empty ratio, so that the output voltage of power supply adaptor is maintained between preset output voltage limit value and output voltage lower limit value, And charging current is maintained between preset charging current upper limit value and charging current lower limit value, ensure that power supply adaptor can be tieed up It holds in the charging of constant current constant voltage state and exportable maximum current, maximum power charging is realized, so as to shorten the charging time.
Referring to Fig. 7, third embodiment of the invention additionally provides a kind of power supply adaptor, this power supply adaptor can be with built-in In charger, it can also be built in and be electrically charged in equipment, independently of charger and equipment can also be electrically charged.
Power supply adaptor includes voltage conversion circuit 71 and MCU 72.The input terminal Vin+ and Vin- of voltage conversion circuit 71 5V charger is connect, output end vo ut+ and Vout- connect battery and be achieved that the USB charging for carrying out 5V to battery.
Input voltage sample port Vin that MCU 72 has, output voltage sample port Vout, charge current sample port Chg_I, pwm control signal output port Mos_drive also have charging identification port Vin_Det;MCU 72 is for storing simultaneously Computer program is run, it can be achieved that charge control method described in first embodiment when MCU 72 runs the computer program. Each port MCU 72 is defined as follows:
Input voltage sample port Vin: can use ADC Sampling Interface, sample to the input voltage of charger, pass through difference Divide the potential-divider networks such as amplifying circuit or electric resistance partial pressure (or differential signal network) to divide input voltage in proportion and pass to MCU 72, Realize the sampling to input voltage.
Output voltage sample port Vout: for the voltage sample of rear end (battery-end), realization to output voltage Control.
Charge current sample port Chg_I: in real time sampling input current, realizes the control to input current.
Pwm control signal output port Mos_drive: the driving signal output end of switching tube Q in voltage conversion circuit 71, When it is implemented, the pwm signal of output may also pass through the control terminal for being supplied to switching tube Q after a drive amplification circuit.
Charging identification port Vin_Det: the charging input identification signal of charger is acquired, is used for waking up MCU72, charging When device does not work, MCU 72 can be with suspend mode, to reduce loss.
Input voltage (Vin), output voltage (Vout), charging input current Chg_ of the MCU 72 to voltage conversion circuit 71 I carries out real-time sampling.Voltage and current signal of the MCU 72 according to input, the pulsewidth tune of control Mos_drive output specific frequency Whole wave (PWM) realizes the purpose to battery constant-current constant-voltage charging.Input voltage and electric current are controlled simultaneously, realize charging current most When big, just output voltage is also maximum, realizes maximum power charging.
Fig. 7 is the structure for being illustrated voltage conversion circuit 71 with (boost) conversion circuit that boosts, it should be understood that voltage Conversion circuit 71 can also be using decompression (buck) conversion circuit or other charging circuits adjusted by single PW M, it is only necessary to One 8 basic single-chip microcontroller can be achieved with normal charge control, does not need switch periods control one by one, it is high not need price Expensive DSP (Digital Signal Processing, digital processing signal) processor control, simple economy.
The control that the various embodiments described above can charge to battery using software realization completely, charging designs can be than in the past more Quickly, flexibly, it is economical, can easily match various 5V USB adapters.Simplify hardware design complexity, reduce BOM at This.It is applicable to mobile phone charging control circuit, charger baby charging control circuit, solar energy MPPT (Maximum Power Point Tracking, maximum power point tracking) controller etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (10)

1. a kind of charge control method, suitable for carrying out the power supply adaptor of charge control by pwm signal, which is characterized in that The charge control method includes the following steps:
In each detection cycle of constant-current constant-voltage charging program, the running parameter of power supply adaptor is detected;
The duty ratio of the pwm signal is adjusted according to the running parameter of detection, so that the output voltage of power supply adaptor is maintained at Between preset output voltage limit value and output voltage lower limit value, and charging current is maintained at preset charging current upper limit value Between charging current lower limit value;Wherein, the preset charging current upper limit value is with charging current lower limit value in soft open of charging It is determined in dynamic program.
2. charge control method as described in claim 1, which is characterized in that the running parameter includes the defeated of power supply adaptor Voltage, charging current out;The running parameter according to detection adjusts the duty ratio of the pwm signal, so that power supply adaptor Output voltage be maintained between preset output voltage limit value and output voltage lower limit value, and charging current is maintained at preset Charging current upper limit value and charging current lower limit value between, comprising:
If the output voltage is greater than preset output voltage limit value, the duty ratio of the pwm signal is turned down into 1 unit Step-length;
If the output voltage is not more than preset output voltage limit value, it is preset further to judge whether output voltage is less than Output voltage lower limit value and charging current whether be less than preset charging current lower limit value, and be output electricity in judging result 1 one step is turned up in the duty ratio of the pwm signal when pressure is less than preset output voltage lower limit value, is in judging result 1 one step is turned up in the duty ratio of the pwm signal when charging current is less than preset charging current lower limit value;
If the charging current is greater than preset charging current upper limit value, the duty ratio of the pwm signal is turned down into 1 unit Step-length;
If the charging current is not more than preset charging current upper limit value, it is preset further to judge whether output voltage is less than Output voltage lower limit value and charging current whether be less than preset charging current lower limit value, and be output electricity in judging result 1 one step is turned up in the duty ratio of the pwm signal when pressure is less than preset output voltage lower limit value, is in judging result 1 one step is turned up in the duty ratio of the pwm signal when charging current is less than preset charging current lower limit value.
3. charge control method as claimed in claim 2, which is characterized in that the running parameter further includes power supply adaptor Input voltage;The running parameter according to detection adjusts the duty ratio of the pwm signal, so that the output electricity of power supply adaptor Pressure is maintained between preset output voltage limit value and output voltage lower limit value, and charging current is maintained at preset charging electricity It flows between upper limit value and charging current lower limit value, further includes:
If the input voltage is less than preset input voltage threshold value, the duty ratio of the pwm signal is turned down into 1 unit step It is long;
If the input voltage is not less than preset input voltage threshold value, it is preset further to judge whether output voltage is less than Whether output voltage lower limit value and charging current are less than preset charging current lower limit value, and are output voltage in judging result 1 one step is turned up in the duty ratio of the pwm signal when less than preset output voltage lower limit value, is to fill in judging result 1 one step is turned up in the duty ratio of the pwm signal when electric current is less than preset charging current lower limit value.
4. charge control method as described in any one of claims 1 to 3, which is characterized in that entering constant-current constant-voltage charging journey Before sequence, the charge control method further include:
Charger insertion is detected whether;
When having detected charger insertion, further whether detection charging soft start routine is completed, if so, into the constant current Constant-voltage charge program, if it is not, executing charging soft start routine.
5. charge control method as claimed in claim 4, which is characterized in that the execution charging soft start routine includes executing Following step:
Judge whether the input voltage of power supply adaptor is less than preset input voltage threshold value, if so, by soft start counter Add 1, if it is not, 1 one step then is turned up in the duty ratio of the pwm signal;
Judge whether the input current of power supply adaptor exceeds the predetermined amplitude of input current threshold value, if so, soft opening described Dynamic counter adds 1, if it is not, 1 one step then is turned up in the duty ratio of the pwm signal;
Judge whether the output voltage of power supply adaptor is greater than preset output voltage limit value, if so, by the soft start Counter adds 1, if it is not, 1 one step then is turned up in the duty ratio of the pwm signal;
After the soft start counter adds 1 every time, the duty ratio of the pwm signal turns down 1 one step, and judges current Whether charging current value is greater than history pairs of maximum charging current values;
If present charging current value is not more than history pairs of maximum charging current values, the tired of the soft start counter is further judged Whether evaluation has reached count upper-limit;If present charging current value is greater than history pairs of maximum charging current values, will currently fill Electric current value is updated to whether further judge the aggregate-value of the soft start counter after history pairs of maximum charging current values Through reaching count upper-limit;
If the aggregate-value of the soft start counter has reached count upper-limit, history pairs of maximum charging current values at this time is made For the charging current upper limit value, and the charging current lower limit value is determined based on the charging current upper limit value, then by institute It states soft start counter and history pairs of maximum charging current values is reset;If the aggregate-value of the soft start counter not up to counts The upper limit, and soft start is also time-out, then carries out soft start according to the pairs of maximum charging current values of default.
6. a kind of battery charge controller, suitable for carrying out the power supply adaptor of charge control by pwm signal, which is characterized in that The battery charge controller includes constant-current constant-voltage charging unit, and the constant-current constant-voltage charging unit includes:
Detection module, for detecting the running parameter of power supply adaptor in each detection cycle of constant-current constant-voltage charging module;
PWM adjustment module, for adjusting the duty ratio of the pwm signal according to detection module running parameter detected, So that the output voltage of power supply adaptor is maintained between preset output voltage limit value and output voltage lower limit value, and charge Electric current is maintained between preset charging current upper limit value and charging current lower limit value;Wherein, in the preset charging current Limit value and charging current lower limit value are determined when carrying out charging soft start.
7. battery charge controller as claimed in claim 6, which is characterized in that the running parameter includes the defeated of power supply adaptor Voltage, charging current out;The PWM adjustment module includes:
First adjust submodule, for the output voltage be greater than preset output voltage limit value when, by the pwm signal Duty ratio turn down 1 one step;It is also used to when the output voltage is no more than preset output voltage limit value, into one Step judges whether output voltage is less than whether preset output voltage lower limit value and charging current are less than preset charging current Lower limit value, and be when output voltage is less than preset output voltage lower limit value by the duty ratio of the pwm signal in judging result 1 one step is turned up, is when charging current is less than preset charging current lower limit value by the pwm signal in judging result 1 one step is turned up in duty ratio;
Second adjust submodule, for the charging current be greater than preset charging current upper limit value when, by the pwm signal Duty ratio turn down 1 one step;It is also used to when the charging current is no more than preset charging current upper limit value, into one Step judges whether output voltage is less than whether preset output voltage lower limit value and charging current are less than preset charging current Lower limit value, and be when output voltage is less than preset output voltage lower limit value by the duty ratio of the pwm signal in judging result 1 one step is turned up, is when charging current is less than preset charging current lower limit value by the pwm signal in judging result 1 one step is turned up in duty ratio.
8. battery charge controller as claimed in claim 7, which is characterized in that the running parameter further includes power supply adaptor Input voltage;The PWM adjustment module further include:
Third adjust submodule, for the input voltage be less than preset input voltage threshold value when, by the pwm signal Duty ratio turns down 1 one step;It is also used to further sentence when the input voltage is not less than preset input voltage threshold value Whether disconnected output voltage is less than whether preset output voltage lower limit value and charging current are less than preset charging current lower limit Value, and be that the duty ratio of the pwm signal is turned up 1 when output voltage is less than preset output voltage lower limit value in judging result A one step is when charging current is less than preset charging current lower limit value by the duty of the pwm signal in judging result Than 1 one step is turned up.
9. such as the described in any item battery charge controllers of claim 6-8, which is characterized in that the battery charge controller also wraps It includes:
Charge soft start unit, for judging whether the input voltage of power supply adaptor is less than preset input voltage threshold value, if It is that soft start counter is then added 1, if it is not, 1 one step then is turned up in the duty ratio of the pwm signal;It is also used to judge Whether the input current of power supply adaptor exceeds the predetermined amplitude of input current threshold value, if so, by the soft start counter Add 1, if it is not, 1 one step then is turned up in the duty ratio of the pwm signal;It is also used to judge the output electricity of power supply adaptor Whether pressure is greater than preset output voltage limit value, if so, the soft start counter is added 1, if it is not, then by the PWM 1 one step is turned up in the duty ratio of signal;It is also used to after the soft start counter adds 1 every time, the pwm signal Duty ratio turns down 1 one step, and judges whether present charging current value is greater than history pairs of maximum charging current values;
It is also used to further judge that the soft start counts when present charging current value is no more than history pairs of maximum charging current values Whether the aggregate-value of device has reached count upper-limit;If present charging current value is greater than history pairs of maximum charging current values, inciting somebody to action Present charging current value is updated to the aggregate-value that history pairs of maximum charging current values further judges the soft start counter later Whether count upper-limit is had reached;
It is also used to when the aggregate-value of the soft start counter has reached count upper-limit, by history maximum charge electricity at this time Flow valuve determines the charging current lower limit value as the charging current upper limit value, and based on the charging current upper limit value, so The soft start counter and history pairs of maximum charging current values are reset afterwards.
10. a kind of power supply adaptor, which is characterized in that the power supply adaptor includes DC-DC voltage conversion circuit and MCU, institute State input voltage sample port, output voltage sample port, charge current sample port, PWM control of the MCU with power supply adaptor Signal output port processed;The MCU can when the MCU runs the computer program for storing and running computer program Realize charge control method described in any one in claim 1 to 5 to control to the DC-DC voltage conversion circuit System.
CN201910130329.2A 2019-02-21 2019-02-21 Charging control method, charging control device and power adapter Active CN109888897B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910130329.2A CN109888897B (en) 2019-02-21 2019-02-21 Charging control method, charging control device and power adapter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910130329.2A CN109888897B (en) 2019-02-21 2019-02-21 Charging control method, charging control device and power adapter

Publications (2)

Publication Number Publication Date
CN109888897A true CN109888897A (en) 2019-06-14
CN109888897B CN109888897B (en) 2021-08-31

Family

ID=66928717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910130329.2A Active CN109888897B (en) 2019-02-21 2019-02-21 Charging control method, charging control device and power adapter

Country Status (1)

Country Link
CN (1) CN109888897B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365076A (en) * 2019-07-10 2019-10-22 东莞启益电器机械有限公司 Can intelligent measurement charger maximum output charging current charging circuit
CN110994709A (en) * 2019-11-07 2020-04-10 广东尚研电子科技有限公司 Battery charging capacity control method and controller
CN111884276A (en) * 2020-04-20 2020-11-03 珠海市杰理科技股份有限公司 Charging system, charging equipment and charging control method
CN113162182A (en) * 2021-04-30 2021-07-23 杰华特微电子股份有限公司 Charging control method of power supply equipment and power supply equipment
CN113572229A (en) * 2021-07-16 2021-10-29 南京西普尔科技实业有限公司 Method and device for presetting parameters of electric bicycle charger
WO2022217857A1 (en) * 2021-04-14 2022-10-20 湖南进芯电子科技有限公司 Charging control method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105790345A (en) * 2014-12-26 2016-07-20 中兴通讯股份有限公司 Charging control method and device
CN205407320U (en) * 2016-02-25 2016-07-27 安克科技有限公司 Charger
CN106712210A (en) * 2017-02-16 2017-05-24 杰华特微电子(杭州)有限公司 Power equipment and charging control method therefor
CN108964161A (en) * 2017-05-23 2018-12-07 深圳市美好创亿医疗科技有限公司 The charging management method and charging circuit of charging circuit
CN109066885A (en) * 2018-09-04 2018-12-21 深圳市蓝禾技术有限公司 The charging method of charger and the charger

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105790345A (en) * 2014-12-26 2016-07-20 中兴通讯股份有限公司 Charging control method and device
CN205407320U (en) * 2016-02-25 2016-07-27 安克科技有限公司 Charger
CN106712210A (en) * 2017-02-16 2017-05-24 杰华特微电子(杭州)有限公司 Power equipment and charging control method therefor
CN108964161A (en) * 2017-05-23 2018-12-07 深圳市美好创亿医疗科技有限公司 The charging management method and charging circuit of charging circuit
CN109066885A (en) * 2018-09-04 2018-12-21 深圳市蓝禾技术有限公司 The charging method of charger and the charger

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365076A (en) * 2019-07-10 2019-10-22 东莞启益电器机械有限公司 Can intelligent measurement charger maximum output charging current charging circuit
CN110365076B (en) * 2019-07-10 2024-04-16 东莞启益电器机械有限公司 Charging circuit capable of intelligently detecting maximum output charging current of charger
CN110994709A (en) * 2019-11-07 2020-04-10 广东尚研电子科技有限公司 Battery charging capacity control method and controller
CN111884276A (en) * 2020-04-20 2020-11-03 珠海市杰理科技股份有限公司 Charging system, charging equipment and charging control method
CN111884276B (en) * 2020-04-20 2022-02-11 珠海市杰理科技股份有限公司 Charging system, charging equipment and charging control method
WO2022217857A1 (en) * 2021-04-14 2022-10-20 湖南进芯电子科技有限公司 Charging control method and system
CN113162182A (en) * 2021-04-30 2021-07-23 杰华特微电子股份有限公司 Charging control method of power supply equipment and power supply equipment
CN113572229A (en) * 2021-07-16 2021-10-29 南京西普尔科技实业有限公司 Method and device for presetting parameters of electric bicycle charger

Also Published As

Publication number Publication date
CN109888897B (en) 2021-08-31

Similar Documents

Publication Publication Date Title
CN109888897A (en) Charge control method, battery charge controller and power supply adaptor
CN102946131B (en) Adaptive input power charger and method for controlling input current of charger
CN107231012B (en) A kind of method of quick charge, terminal, charger and system
CN104184180A (en) Electronic cigarette high-efficient charging device and method
CN104467116B (en) Charging method, device and charger
CN104158241B (en) A kind of charge control method, device and a kind of POS terminal
CN108521153B (en) Wireless charging transmitting circuit and wireless charging device
CN104467117B (en) Charging method, device and charger
CN111900781B (en) Charging method, charging equipment and charging control chip
CN107733000B (en) Charging method and charger
CN203481855U (en) Portable power supply device
CN103248100A (en) Back-up power source charging-discharging control circuit
CN103219754A (en) Single-loop charging device and single-loop charging method
US9425648B2 (en) Mobile device solar powered charging apparatus, method, and system
CN210490543U (en) Multi-stage energy storage element parallel charging and discharging system
TW201944689A (en) Alternating current signal power conversion system used for cell charging, and charging system and method
CN102237703A (en) Intermittently outputted power supply system
CN104426220A (en) Voltage regulation circuit
CN109066885B (en) Charger and charging method of the charger
CN103248099B (en) A kind of intelligent charge control circuit
CN106655444A (en) Electronic equipment and charging method thereof
CN214176969U (en) Wide voltage range charging conversion circuit and charging device
CN205565772U (en) Portable power source with charge management
CN203278326U (en) Intelligent charging control circuit
CN104467122B (en) Charging method, device, charger, electronic installation and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant