A kind of charge control system and control method
Technical field
The present invention relates to switch power technology field, especially a kind of charge control system and control method.
Background technology
With the development of energy storage technology, using lead-acid battery, particularly lithium battery as the new energy technology of representative, in electronic work
The fields such as tool, booster vehicle are widely used.The electric energy that energy-storage battery is stored needs to be supplemented by charger,
It can be seen that charger is in the field importance.Based on factors such as safe voltages, existing charger construction is as shown in Figure 1, using becoming
The mode of power conversion is isolated in depressor.Primary side uses Flyback configuration, and secondary is by resistance to output current(That is charging current)Into
Row uses, and is used to output voltage by electric resistance partial pressure, by operational amplifier, TL431, optocoupler etc. control signal,
That is PWM duty cycle signal is transmitted to primary side, to form closed-loop control, the charging that battery needs is realized, according to charging current time
Side indicates the charged state of battery.The circuit structure is complicated, and component counts are more, of high cost.
Invention content
The technical problem to be solved by the present invention is to:In view of the above problems, a kind of charge control system is provided
And control method.
The technical solution adopted by the present invention is as follows:A kind of charge control system, including primary side and secondary side, the primary side use
Flyback configuration, the Flyback configuration include PWM controller, and the PWM controller includes sampling and keep module, amplifier compensation mould
Module and current comparing module occur for block, pwm signal, and the sampling and keep module is after primary side shutdown in secondary side time of afterflow
It acquires original edge voltage signal and exports crest voltage, the crest voltage connects current comparing module, the current comparing module
Output signal is indicated for charged state;The crest voltage is also connected with the amplifier compensating module, the amplifier compensating module
It connects pwm signal and module occurs.
Further, the secondary side includes output rectifier and filter and constant-voltage control circuit, the secondary side it is secondary around
The output signal of group connection output rectifier and filter, the current rectifying and wave filtering circuit exports direct current under constant-voltage control circuit effect
Signal.
Further, the amplifier compensating module includes error amplifier and compensating electric capacity, and the crest voltage connection misses
The in-phase input end of the inverting input of poor amplifier, the error amplifier connects voltage-reference, and the compensating electric capacity connects
The output end of error amplifier is connect, the output end of the error amplifier is also connected with pwm signal and module occurs.
Further, the current comparing module includes potential-divider network, filter capacitor and comparator, and the potential-divider network is adopted
With concatenated first resistor and second resistance, the first resistor connects crest voltage, and the second resistance is grounded, and described first
Resistance and the link node of second resistance connection filter capacitor are grounded again, and the link node of the first resistor and second resistance is also
The inverting input of comparator is connected, the in-phase input end connection of the comparator is used for the voltage of Charge Proportional value decision condition
Signal, the comparator export charged state indication signal.
Further, the voltage signal can be divided by voltage-reference and be obtained, and can also be applied voltage signal.
The invention also discloses a kind of charge control methods, specifically include following procedure:It is continuous in secondary side after primary side shutdown
It flows in the time, charger primary side acquires original edge voltage signal and exports crest voltage;The crest voltage is carried out by potential-divider network
Partial pressure obtains voltage signal values after filtering again, and the voltage signal values and charging current ratio decision content are realized after being compared to be filled
Electricity condition indicates.
Further, the crest voltage obtains smooth voltage after being filtered by amplification, then smooth voltage is modulated into PWM
Signal controls turning on and off for primary side.
Compared with prior art, having the beneficial effect that using above-mentioned technical proposal:The PWM that the present invention passes through charger primary side
The structure setting of controller realizes that primary side carries out charged state instruction;The structure is easily achieved and carries out Integrated design, greatly
The application circuit of charge control is simplified, system cost is reduced.
Description of the drawings
Fig. 1 is charger construction schematic diagram in the prior art.
Fig. 2 is charger construction schematic diagram in the present invention.
Fig. 3 is the structural schematic diagram of PWM controller in charger of the present invention.
Fig. 4 is a specific implementation circuit diagram of PWM controller in charger of the present invention.
Fig. 5 is the oscillogram of the primary each signal in the process of complete job in PWM controller.
Specific implementation mode
The present invention is described further below in conjunction with the accompanying drawings.
As shown in Fig. 2, being a kind of charge control system, including primary side and secondary side, the primary side uses Flyback configuration, described
Flyback configuration includes PWM controller, as shown in figure 3, the PWM controller include sampling and keep module, amplifier compensating module,
Module and current comparing module occur for pwm signal, and the sampling and keep module is adopted after primary side shutdown in secondary side time of afterflow
Collect original edge voltage signal and export crest voltage, the crest voltage connects current comparing module, and crest voltage compares mould in electric current
It is compared with current ratio decision content after being handled in block, if less than the current ratio decision content of setting, the electric current compares
The output signal instruction charged state of module changes;The crest voltage is also connected with the amplifier compensating module, the fortune
It puts compensating module connection pwm signal and module occurs, obtain PWM duty cycle and control signal, control turning on and off for primary side.
It is illustrated in figure 4 a kind of specific implementation circuit of PWM controller, including:Sampling holder 101, error amplifier
102, PWM generator 103, compensating electric capacity 104, the potential-divider network being made of resistance R1 105 and resistance R2 106, filter capacitor
107, comparator 108, primary current sampling resistor voltage 201, the secondary time of afterflow 202 that primary side detects(Auxiliary can be passed through
Voltage on winding obtains the time of afterflow), voltage-reference 203, peak voltage signal 204, current ratio decision content 205
(The charge condition set, current ratio decision content 205 can be divided by voltage-reference 203 and be obtained, and can also be outer power-up
Press signal), 206 be triangular-wave generator, and 207 be charged state indication signal(207 indicate the output of charged state, are not limited to
High level or low level are effective), 208 for PWM duty cycle control signal, 209 for charging current with respect to value signal;The sampling
Retainer 101 realizes that original edge voltage signal is acquired in secondary side time of afterflow after primary side shutdown exports crest voltage, described to adopt
Sample retainer 101 export crest voltage connection error amplifier 102 inverting input, the error amplifier 102 it is same
Phase input terminal connects voltage-reference 203, and the compensating electric capacity 104 connects the output end of error amplifier 102, and the error is put
The output end of big device 102 is also connected with PWM generator 103.The resistance R1 105 and resistance R2 106 connects, the resistance R1
105 connection crest voltages, the resistance R2 106 are grounded, and the resistance R1105 connects filter with the link node of resistance R2 106
Wave capacitance 107 is grounded again, and the link node of the resistance R1105 and resistance R2 106 are also connected with the anti-phase input of comparator 108
End, the in-phase input end connection of the comparator 108 are used for the voltage signal of Charge Proportional value decision condition, the comparator
108 output charged state indication signals.
It is illustrated in figure 5 the oscillogram of each signal in foregoing circuit structure, primary current sampling resistor voltage 201 is continuous
Shown in flowing 204 in 202 period of time peak value sampling holding high level such as Fig. 5, peak sampling and holding signal first passes through resistance R1
The potential-divider network of 105 and resistance R2 106 is filtered by filter capacitor 107 again, obtains charging current with respect to value signal 209, charging
Current relative value signal 209 is compared with current ratio decision content 205, when charging current is less than electric current with respect to value signal 209
After 205 signal of ratio decision content, indicate that output current has been less than setting value, charged state is changed, charged state instruction
The output of signal 207 is high level.
The invention is not limited in specific implementation modes above-mentioned.The present invention is not limited to charged state indication signals 207
High level or low level are effective, as long as meaning signal designation, all in the protection domain of the patent of invention;The present invention is unlimited
In the acquisition pattern of 202 signal of time of afterflow, present case is obtained by the auxiliary winding of transformer.The present invention is not limited to power
Topological circuit, the primary sides current constant control structure such as anti-design or LLC;The present invention is not limited to 203 signals of voltage-reference
Acquisition pattern can be obtained by Vref, or external given.
The present invention expands to any new feature disclosed in the present specification or any new combination, and any disclosed
The step of new method or process or any new combination.If those skilled in the art, in the spiritual institute for not departing from the present invention
The unsubstantiality done is altered or modified, and should all belong to the range of the claims in the present invention protection.