A kind of electric quantity of lithium battery analog voltage output device
Technical field
The present invention relates to a kind of battery capacity output device, a kind of especially electric quantity of lithium battery analog voltage output device.
Background technology
During existing industrial circle lithium battery use, the existing lead-acid battery charging system of over-borrowing utilizes sampling electricity
The method of cell voltage calculates lithium battery remaining capacity.But since the discharge platform voltage of lithium battery is than shallower, battery electricity is utilized
Pressure calculates battery dump energy error and is more than 30%, and when especially load current impact is big, error is more than 50%, and battery is made
With replacement charge-carrying belt come very big maloperation, the normal usage time of influence.
The content of the invention
The technical problem to be solved in the present invention and the technical assignment proposed are prior art to be improved with being improved,
A kind of electric quantity of lithium battery analog voltage output device is provided, accurate purpose is monitored to reach electricity.For this purpose, the present invention take with
Lower technical solution.
A kind of electric quantity of lithium battery analog voltage output device, it is characterised in that:Including isolation circuit, regulator circuit, filtering
Sample circuit, reducing power consumption circuit, the filtering sampling circuit are connected by isolation circuit with lithium battery manager, and described is steady
Volt circuit is connected to provide regulated power supply for filtering sampling circuit with filtering sampling circuit;The output terminal of the filter circuit with
Industrial personal computer input port is connected;Upper voltage limit of the voltage of regulated power supply as filtering sampling circuit output end;Lithium battery manager
Delivery outlet be connected with isolation circuit with to isolation circuit output corresponding to battery capacity PWM duty cycle, filtering sampling circuit
PWM copped waves are filtered, and export an analog voltage between 0V- regulated power supply voltage values.Increase in lithium battery
Analog electrical energy output device is added, when lithium battery works normally, the remaining capacity of lithium battery is converted into analog electrical energy
The remaining capacity of lithium battery when regulated power supply voltage value is 4.8V, can be converted into the analog electrical energy output of 0-4.8V by output,
So all equipment can easily identify electric quantity signal, and to judge the remaining capacity of battery, remaining capacity precision judges
It can reach within 3%, substantially increase the service efficiency of battery, improve economic benefit and social benefit.Regulator circuit inputs
There is larger pressure difference at end with cell voltage, and circuit power consumption can be reduced using reducing power consumption circuit, improves reliability, peripheral circuit with it is interior
Portion's lithium battery circuit is adopted for isolation circuit, in external circuit accidental damage, ensures the reliability of internal circuit.
As further improving and supplementing to above-mentioned technical proposal, present invention additionally comprises following additional technical features.
The reducing power consumption circuit is connected with regulator circuit.
The input terminal of isolation circuit is connected with lithium battery manager output terminal, the output terminal of isolation circuit and regulator circuit and
Filtering sampling circuit is connected.
The isolation circuit is optocoupler U1 isolation circuits, and the optocoupler U1 isolation circuits include light emitting diode, light
Electric triode, the collector of phototriode are connected with circuit output end of pressure-stabilizing, the emitter and filtering sampling of phototriode
Circuit input end is connected.
The isolation circuit further includes 3rd resistor R3, the 3rd resistor R3 and is arranged on the output of lithium battery manager
Between mouth and light emitting diode cathode, the anode of the light emitting diode is connected with the power end of lithium battery manager.3rd
Resistance R3 is the current-limiting resistance that PWM inputs optocoupler U1, protects optocoupler U1 and lithium battery interior circuit.
The filtering sampling circuit includes first resistor R1, the 4th resistance R4, the first capacitance C1, first resistor R1 and the
It is associated after one capacitance C1 series connection with the 4th resistance R4.4th resistance R4 is the discharge resistance of analog output voltage, is controlled in PWM high
Level, optocoupler U1 turn off when, to analog voltage filtering the first capacitance C1 carry out discharge treatment, keep system stability and
Heighten the response time of output analog voltage.First resistor R1 is the charging resistor of inductance analogy output voltage, if resistance value is excessive
Then voltage output reaction is slack-off, and output voltage fluctuation can be big if resistance value is too small, and output voltage is unstable.First capacitance C1 is mould
Intend power supply output filter capacitor, the output of 0 ~ 4.8V analog voltages is made more to stablize, there is certain carrying load ability.
The first resistor R1, one end of the 4th resistance R4 are connected with the output terminal of isolation circuit, first resistor R1's
The other end is connected with the anode of the first capacitance C1, the cathode of the first capacitance C1 and the other end of the 4th resistance R4 and power cathode phase
Even.
The regulator circuit includes source of stable pressure VR1, zener diode D1, the 3rd capacitance C3, the second capacitance C2, described
Zener diode D1, the 3rd capacitance C3 are arranged on the input side of source of stable pressure VR1, and the second capacitance C2 is arranged on source of stable pressure VR1's
Outlet side.Zener diode D1 reduces impact of the external voltage to source of stable pressure VR1, improves product reliability.
The reducing power consumption circuit includes second resistance R2, the second resistance R2 and is arranged on the input side of source of stable pressure VR1.
Second resistance R2 is current-limiting resistance, can improve system reliability.
The anode of the 3rd capacitance C3, second resistance R2 one end are connected with industrial controlled machine positive pole, the 3rd capacitance C3
Cathode be connected with the cathode of the second capacitance C2 with industrial controlled machine power cathode;The other end of second resistance R2 and zener diode D1
Cathode is connected;Zener diode D1 anodes are connected with source of stable pressure VR1 input terminals;The output terminal of source of stable pressure VR1 and the second capacitance C2
Anode, isolation circuit is connected.
Advantageous effect:When lithium battery works normally, the remaining capacity of lithium battery is converted into analog electrical energy output,
So all equipment can easily identify electric quantity signal, and to judge the remaining capacity of battery, remaining capacity precision judges
It can reach within 3%, substantially increase the service efficiency of battery, improve economic benefit and social benefit.Solves battery
Electricity calculates the data transmission problems between industrial personal computer, improves the service efficiency of battery, extends the physical life of battery, increases
The product stability of industrial personal computer is added.
Description of the drawings
Fig. 1 is that the present invention uses structure chart.
Fig. 2 is circuit structure diagram of the present invention.
Specific embodiment
Technical scheme is described in further detail below in conjunction with Figure of description.
As shown in Figure 1, electric quantity of lithium battery analog voltage output device between lithium battery manager and industrial personal computer, solves
The electricity of battery calculates the data transmission problems between industrial personal computer.
As shown in Fig. 2, electric quantity of lithium battery analog voltage output device includes isolation circuit, regulator circuit, filtering sampling electricity
Road, reducing power consumption circuit, the filtering sampling circuit are connected by isolation circuit with lithium battery manager, the regulator circuit
It is connected to provide regulated power supply for filtering sampling circuit with filtering sampling circuit;The output terminal and industrial personal computer of the filter circuit
Input port is connected;Upper voltage limit of the voltage of regulated power supply as filtering sampling circuit output end;The output of lithium battery manager
Mouth is connected with isolation circuit with the PWM duty cycle to isolation circuit output corresponding to battery capacity, and filtering sampling circuit cuts PWM
Ripple is filtered, and exports an analog voltage between 0V- regulated power supply voltage values.
The input terminal of isolation circuit is connected with lithium battery manager output terminal, the output terminal of isolation circuit and regulator circuit and
Filtering sampling circuit is connected.
The isolation circuit is optocoupler U1 isolation circuits, and the optocoupler U1 isolation circuits include light emitting diode, light
Electric triode, the collector of phototriode are connected with circuit output end of pressure-stabilizing, the emitter and filtering sampling of phototriode
Circuit input end is connected.Optocoupler U1 isolation circuits primarily serve the effect of electrical isolation, while phototriode pressure built in requirement
Drop is less than 0.3V.
For protection optocoupler U1 and lithium battery interior circuit, the isolation circuit further includes 3rd resistor R3, described
3rd resistor R3 is arranged between the delivery outlet of lithium battery manager and light emitting diode cathode, the anode of the light emitting diode
It is connected with the power end of lithium battery manager.3rd resistor R3 is the current-limiting resistance that PWM inputs optocoupler U1.
The filtering sampling circuit includes first resistor R1, the 4th resistance R4, the first capacitance C1, first resistor R1 and the
It is associated after one capacitance C1 series connection with the 4th resistance R4.The first resistor R1, one end of the 4th resistance R4 and isolation circuit
Output terminal is connected, and the other end of first resistor R1 is connected with the anode of the first capacitance C1, the cathode of the first capacitance C1 and the 4th electricity
The other end of resistance R4 is connected with power cathode.First resistor R1 is the charging resistor of inductance analogy output voltage, if resistance value is excessive
Then voltage output reaction is slack-off, and output voltage fluctuation can be big if resistance value is too small, and output voltage is unstable;First capacitance C1 is
Analog power output filter capacitor makes the output of 0 ~ 4.8V analog voltages more stablize, has certain carrying load ability.4th resistance
R4 is the discharge resistance of analog output voltage, and high level is controlled in PWM, and when optocoupler U1 is turned off, the first capacitance C1 is carried out
Discharge treatment keeps system stability and heightens the response time of output analog voltage.
The regulator circuit includes source of stable pressure VR1, zener diode D1, the 3rd capacitance C3, the second capacitance C2, described
Zener diode D1, the 3rd capacitance C3 are arranged on the input side of source of stable pressure VR1, and the second capacitance C2 is arranged on source of stable pressure VR1's
Outlet side.Source of stable pressure VR1 provides operating voltage, it is desirable that within 4.8V ± 0.048V scopes, to have enough to meet output voltage
Precision.Zener diode D1 reduces impact of the external voltage to source of stable pressure VR1, improves product reliability.Second capacitance C2 is
Source of stable pressure VR1 exports the filter capacitor of 4.8V, and system is made more to stablize;3rd capacitance C3 is defeated for source of stable pressure VR1V first resistors R1
Enter the filter capacitor of 0 ~ 40V, system is made more to stablize.
The reducing power consumption circuit includes second resistance R2, the second resistance R2 and is arranged on the input side of source of stable pressure VR1.
Second resistance R2 is current-limiting resistance, using 1W power, can improve system reliability.
The anode of the 3rd capacitance C3, second resistance R2 one end are connected with industrial controlled machine positive pole, the 3rd capacitance C3
Cathode be connected with the cathode of the second capacitance C2 with industrial controlled machine power cathode;The other end of second resistance R2 and zener diode D1
Cathode is connected;Zener diode D1 anodes are connected with source of stable pressure VR1 input terminals;The output terminal of source of stable pressure VR1 and the second capacitance C2
Anode, isolation circuit is connected.
The technical program employs the circuit of external power supply, is additionally arranged 4.8V source of stable pressure VR1, optocoupler U1, resistance, capacitance etc.
Device by controlling the duty cycle of PWM after the completion of the calculating of lithium battery interior remaining capacity, makes the voltage stabilization on capacitance at certain
On a voltage value, so external industrial personal computer can identify the remaining capacity of lithium battery by detecting this voltage.This circuit into
This is low, reliability is high, widely applicable, so as to be widely used in a variety of applications in the product.
The logical industrial personal computer power of P+ and P- termination of device, in the range of 0-40V, VCC connects lithium with PWM for supply voltage requirement
Battery manager, at this time circuit start-up operation.
Lithium battery manager working frequency 1K ~ 100KHz, output duty cycle represent the remaining capacity of lithium battery from 0 ~ 100%
Value.After circuit P+ is connected with P-, source of stable pressure VR1V first resistors R1 output 4.8V voltages are powered, pwm signal passes through for optocoupler U1
The switch model of the same frequency is exported after optocoupler U1 isolation, when PWM inputs are low level, optocoupler U1 conductings are led at this time
It crosses first resistor R1 to charge for the first capacitance C1, the rise of the first capacitance C1 voltages, when PWM inputs are high level, optocoupler U1 is closed
Disconnected, the first capacitance C1 is discharged by first resistor R1 and the 4th resistance R4 at this time, so in the case where PWM duty cycle is certain,
The remaining capacity of lithium battery numerically, is thus converted between 0 ~ 4.8V by the voltage stabilization on the first capacitance C1 accordingly
A DC voltage range in, industrial personal computer can normally judge the remaining capacity of battery after this numerical value by reading,
Improve the work efficiency of battery.
At work, isolated when pwm signal is come in by optocoupler U1 and exported, it is right by first resistor R1 current limlitings
First capacitance C1 carries out charge and discharge, and OUT terminal can export the analog voltage of 0 ~ 4.8V at this time.Industrial personal computer can be by detecting this voltage
The remaining capacity of lithium battery is judged, confirming whether lithium battery needs charging process.
Figure 1 above, a kind of electric quantity of lithium battery analog voltage output device shown in 2 are specific embodiments of the present invention,
Through embodying substantive distinguishing features of the present invention and progress, under the enlightenment of the present invention, it can be carried out according to actual use needs
The equivalent modifications of shape, structure etc., this programme protection domain row.