CN214205064U - Charger output voltage calibration circuit - Google Patents

Charger output voltage calibration circuit Download PDF

Info

Publication number
CN214205064U
CN214205064U CN202023181546.1U CN202023181546U CN214205064U CN 214205064 U CN214205064 U CN 214205064U CN 202023181546 U CN202023181546 U CN 202023181546U CN 214205064 U CN214205064 U CN 214205064U
Authority
CN
China
Prior art keywords
voltage
adc
mcu chip
output
circuit
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.)
Active
Application number
CN202023181546.1U
Other languages
Chinese (zh)
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 RUIBIDA TECHNOLOGY CO LTD
Original Assignee
SHENZHEN RUIBIDA 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 RUIBIDA TECHNOLOGY CO LTD filed Critical SHENZHEN RUIBIDA TECHNOLOGY CO LTD
Priority to CN202023181546.1U priority Critical patent/CN214205064U/en
Application granted granted Critical
Publication of CN214205064U publication Critical patent/CN214205064U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The utility model provides a charger output voltage calibration circuit, belongs to battery intelligent charging ware field for solve present minute battery charger output voltage precision low, the error is big, hardly differentiate the battery and charge, the problem of what electric quantity was when discharging, calibration circuit connects on charging circuit, charging circuit includes interchange input interface and direct current output interface, output interface is connected with MOS pipe Q21 that is used for the output of control voltage, calibration circuit includes: MCU chip U4 and sampling circuit, sampling circuit and charging circuit's output interface connection and gather the voltage of output interface, sampling circuit feeds back the voltage feedback who gathers to MCU chip U4, and MCU chip U4 is controlled MOS pipe Q21 according to the corresponding PWM duty cycle signal of the voltage value output who gathers, the utility model discloses calibration circuit adjusts and compensates charger output voltage through MCU control, effectual improvement accuracy, reduces the error, can use the audio-visual demonstration battery power of LED lamp according to the voltage size that detects the direct current output interface.

Description

Charger output voltage calibration circuit
Technical Field
The utility model belongs to battery intelligent charging ware field, concretely relates to charger output voltage calibration circuit.
Background
The storage battery is widely applied to various industries as a common power supply element, and usually the storage battery needs to be charged by a storage battery charger after consuming electric energy, but most of the existing storage battery chargers have low output voltage precision and large errors, are difficult to judge the electric quantity of the battery during charging and discharging, and lack of an effective solution.
SUMMERY OF THE UTILITY MODEL
In order to solve the above problem, the utility model provides a charger output voltage calibration circuit.
The utility model adopts the following technical scheme:
a charger output voltage calibration circuit is connected to a charging circuit, the charging circuit comprises an alternating current input interface and a direct current output interface, and the charging circuit converts alternating current input from the alternating current input interface into direct current and outputs the direct current from the direct current output interface;
the output interface is connected with a MOS tube Q21 for controlling voltage output, and the calibration circuit comprises: the sampling circuit is connected with an output interface of the charging circuit and used for collecting voltage of the output interface, the sampling circuit feeds the collected voltage back to the MCU chip U4, and the MCU chip U4 outputs a corresponding PWM duty ratio signal according to the collected voltage value to control the MOS tube Q21 and adjust output voltage;
the MCU chip U4 is internally provided with a reference ADC value, the MCU chip U4 is internally provided with an analog-to-digital conversion module, and the MCU chip U4 adjusts the PWM duty ratio after comparing the acquired voltage ADC value with the reference ADC value.
Optionally, the reference ADC value is obtained by sampling in connection with an external accurate reference voltage value, the sampling circuit is connected to the external accurate reference voltage value to continuously acquire the voltage for 101 times, detect whether the voltage is in a set voltage range in the acquisition process, when the voltage is not in the set voltage range, clear all the acquired data and acquire again, sort the acquired ADC values from large to small, and store the 51 st ADC value into the FLASH as the reference ADC value.
Optionally, the MCU chip U4 is MT005C6PB-TSSOP20 in model.
Optionally, the sampling circuit is formed by serially connecting a resistor R98 and a resistor R99, an input end of the resistor R98 is connected to a positive end of the dc output interface, an output end of the resistor R98 is connected to an input end of the resistor R99 and a first ADC port of the MCU chip U4, an output end of the resistor R99 is grounded, and the resistor R99 is connected in parallel to a diode D16.
Optionally, the second ADC port, the third ADC port, the fourth ADC port, and the fifth ADC port of the MCU chip U4 are connected to one LED lamp, respectively, and the LED lamps are controlled to emit light according to the voltage of the dc output interface detected by the first ADC port, so as to display the battery power.
A charger output voltage calibration method comprises the following specific steps:
s1, setting a reference ADC value for the MCU chip U4, continuously collecting the voltage for 101 times by connecting a sampling circuit with an external accurate reference voltage value, detecting whether the voltage is in a set voltage range in the collection process, and when the voltage is not in the set voltage range, clearing all collected data and then collecting again;
s2, sequencing the ADC values collected in the step S1 from large to small, and storing the 51 st ADC value into the FLASH as a reference ADC value;
s3, the commercial power is switched in, the MCU chip U4 detects whether the circuit in the FLASH stores the marked PWM calibration value, when the marked PWM calibration value is detected, the circuit is calibrated, the calibration is not needed again, and the PWM value in the FLASH is extracted and then the step S7 is carried out;
when detecting that the PWM calibration value is not marked, it indicates that the PWM calibration value is not calibrated, and needs to be calibrated, and the process proceeds to step S4;
s4, the MCU chip U4 outputs 50% PWM duty ratio initially;
s5, connecting a direct current output interface through a sampling circuit, comparing the acquired ADC value with the reference ADC value stored in the FLASH in the step S2, and when the acquired ADC value is larger than the reference ADC value, turning down the PWM duty ratio by the MCU chip U4; when the acquired ADC value is smaller than the reference ADC value, the MCU chip U4 increases the PWM duty ratio;
s6, when the difference between the acquired ADC data and the ADC data in the FLASH is more than or equal to 8, repeating the step S5;
when the difference between the acquired ADC data and the ADC data in the FLASH is less than 8, storing the current PWM value in the FLASH as a PWM calibration value and marking the PWM calibration value;
and S7, outputting the PWM calibration value to correct the output voltage, and finishing voltage calibration.
The beneficial effects of the utility model reside in that, the utility model discloses a calibration circuit adjusts and compensates charger output voltage through MCU control, can effectual improvement accuracy, reduces the error, can use the audio-visual display battery electric quantity of LED lamp simultaneously according to the voltage size that detects direct current output interface.
Drawings
FIG. 1 is a circuit diagram of the present invention;
fig. 2 is a partial enlarged view of the circuit of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the invention.
As shown in fig. 1 and 2, a charger output voltage calibration circuit 100 is connected to a charging circuit, which includes an ac input interface and a dc output interface 200, and converts ac input from the ac input interface into dc and outputs the dc from the dc output interface 200;
the output interface is connected with a MOS transistor Q21 for controlling voltage output, and the calibration circuit 100 includes: MCU chip U4 and sampling circuit 10, sampling circuit 10 and charging circuit's output interface connection and gather the voltage of output interface, sampling circuit 10 feeds back the voltage of gathering to MCU chip U4, MCU chip U4 is according to the corresponding PWM duty cycle signal of voltage value output that gathers and is controlled MOS pipe Q21, adjustment output voltage.
The MCU chip U4 is internally provided with a reference ADC value, the MCU chip U4 is internally provided with an analog-to-digital conversion module, and the MCU chip U4 adjusts the PWM duty ratio after comparing the acquired voltage ADC value with the reference ADC value.
When the acquired ADC value is larger than the reference ADC value, the MCU chip U4 reduces the PWM duty ratio; and when the acquired ADC value is smaller than the reference ADC value, the MCU chip U4 increases the PWM duty ratio. The model of the MCU chip U4 is MT005C6PB-TSSOP 20.
The reference ADC value is obtained after being connected with an external accurate reference voltage value for sampling, the sampling circuit is connected with the external accurate reference voltage value to continuously acquire voltage for 101 times, whether the detected voltage is in a set voltage range in the acquisition process is detected, when the voltage is not in the set voltage range, all acquired data are cleared and then acquired again, the acquired ADC values are sequenced from large to small, and the 51 st ADC value is taken as the reference ADC value.
As shown in fig. 1 and 2, the sampling circuit 10 is formed by connecting a resistor R98 and a resistor R99 in series, an input end of the resistor R98 is connected with a positive end of the dc output interface 200, an output end of the resistor R98 is connected with an input end of the resistor R99 and a first ADC port of the MCU chip U4 (pin 14 in the drawing), an output end of the resistor R99 is grounded, and the resistor R99 is connected in parallel with a diode D16.
As shown in fig. 1 and 2, the second ADC port, the third ADC port, the fourth ADC port, and the fifth ADC port ( pins 12, 13, 15, and 16 in the figure) of the MCU chip U4 are respectively connected to one LED lamp 20, and different LED lamps 20 are respectively controlled to emit light according to the voltage of the dc output interface 200 detected by the first ADC port (pin 14 in the figure), so as to intuitively display the battery power.
The utility model also provides a charger output voltage calibration method, the concrete step of method is as follows:
s1, setting a reference ADC value for the MCU chip U4, continuously collecting the voltage for 101 times by connecting a sampling circuit with an external accurate reference voltage value, detecting whether the voltage is in a set voltage range in the collection process, and when the voltage is not in the set voltage range, clearing all collected data and then collecting again;
s2, sequencing the ADC values collected in the step S1 from large to small, and storing the 51 st ADC value into the FLASH as a reference ADC value;
s3, the commercial power is switched in, the MCU chip U4 detects whether the circuit in the FLASH stores the marked PWM calibration value, when the marked PWM calibration value is detected, the circuit is calibrated, the calibration is not needed again, and the PWM value in the FLASH is extracted and then the step S7 is carried out;
when detecting that the PWM calibration value is not marked, it indicates that the PWM calibration value is not calibrated, and needs to be calibrated, and the process proceeds to step S4;
s4, the MCU chip U4 outputs 50% PWM duty ratio initially;
s5, connecting a direct current output interface through a sampling circuit, comparing the acquired ADC value with the reference ADC value stored in the FLASH in the step S2, and when the acquired ADC value is larger than the reference ADC value, turning down the PWM duty ratio by the MCU chip U4; when the acquired ADC value is smaller than the reference ADC value, the MCU chip U4 increases the PWM duty ratio;
s6, when the difference between the acquired ADC data and the ADC data in the FLASH is more than or equal to 8, repeating the step S5;
when the difference between the acquired ADC data and the ADC data in the FLASH is less than 8, storing the current PWM value in the FLASH as a PWM calibration value and marking the PWM calibration value;
and S7, outputting the PWM calibration value to correct the output voltage, and finishing voltage calibration.
The beneficial effects of the utility model reside in that, the utility model discloses a calibration circuit adjusts and compensates charger output voltage through MCU control, can effectual improvement accuracy, reduces the error, can use the audio-visual display battery electric quantity of LED lamp simultaneously according to the voltage size that detects direct current output interface.

Claims (5)

1. A charger output voltage calibration circuit, the calibration circuit (100) is connected to a charging circuit, the charging circuit comprises an AC input interface and a DC output interface (200), the charging circuit converts AC input from the AC input interface into DC and outputs from the DC output interface (200);
the calibration circuit is characterized in that the output interface is connected with a MOS tube Q21 for controlling voltage output, and the calibration circuit (100) comprises: the sampling circuit (10) is connected with an output interface of the charging circuit and used for collecting voltage of the output interface, the sampling circuit (10) feeds the collected voltage back to the MCU chip U4, and the MCU chip U4 outputs a corresponding PWM duty ratio signal according to the collected voltage value to control the MOS tube Q21 and adjust the output voltage;
the MCU chip U4 is internally provided with a reference ADC value, the MCU chip U4 is internally provided with an analog-to-digital conversion module, and the MCU chip U4 adjusts the PWM duty ratio after comparing the acquired voltage ADC value with the reference ADC value.
2. The charger output voltage calibration circuit according to claim 1, wherein the reference ADC value is obtained by connecting and sampling with an external accurate reference voltage value, the sampling circuit is connected with the external accurate reference voltage value to continuously collect the voltage for 101 times, detect whether the voltage is in a set voltage range during the collection process, when the voltage is not in the set voltage range, remove all collected data and collect again, sort the collected ADC values from large to small, and take the 51 st ADC value as the reference ADC value.
3. The charger output voltage calibration circuit of claim 1, wherein the MCU chip U4 is of type MT005C6PB-TSSOP 20.
4. The charger output voltage calibration circuit according to claim 1, wherein the sampling circuit (10) is formed by serially connecting a resistor R98 and a resistor R99, an input end of the resistor R98 is connected with a positive terminal of the dc output interface (200), an output end of the resistor R98 is connected with an input end of the resistor R99 and a first ADC port of the MCU chip U4, an output end of the resistor R99 is connected to ground, and the resistor R99 is connected in parallel with a diode D16.
5. The charger output voltage calibration circuit according to claim 1, wherein the second ADC port, the third ADC port, the fourth ADC port and the fifth ADC port of the MCU chip U4 are respectively connected to one LED lamp (20), and the LED lamps (20) are controlled to emit light according to the voltage of the dc output interface (200) detected by the first ADC port, so as to display the battery power.
CN202023181546.1U 2020-12-25 2020-12-25 Charger output voltage calibration circuit Active CN214205064U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202023181546.1U CN214205064U (en) 2020-12-25 2020-12-25 Charger output voltage calibration circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202023181546.1U CN214205064U (en) 2020-12-25 2020-12-25 Charger output voltage calibration circuit

Publications (1)

Publication Number Publication Date
CN214205064U true CN214205064U (en) 2021-09-14

Family

ID=77657575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202023181546.1U Active CN214205064U (en) 2020-12-25 2020-12-25 Charger output voltage calibration circuit

Country Status (1)

Country Link
CN (1) CN214205064U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114779146A (en) * 2022-04-07 2022-07-22 荣信汇科电气股份有限公司 One-key self-calibration tool device and method for battery voltage sampling precision

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114779146A (en) * 2022-04-07 2022-07-22 荣信汇科电气股份有限公司 One-key self-calibration tool device and method for battery voltage sampling precision

Similar Documents

Publication Publication Date Title
CN201440614U (en) Charge control circuit
CN112510801A (en) Charger output voltage calibration circuit and calibration method
CN111426965B (en) Method for calculating electric quantity of battery
CN201355771Y (en) Intelligent charger of electric automobile batteries
CN1933277B (en) Method for charger identifying battery variety and charger circuit thereof
CN214205064U (en) Charger output voltage calibration circuit
CN104779670A (en) Method for detecting whether storage battery is fully charged or not
CN106291386A (en) A kind of method of quick detection rechargeable battery capacity and detection device thereof
CN207457464U (en) A kind of accumulator wireless monitor system based on technology of Internet of things
CN201226449Y (en) Voltage-boosting type charge control circuit and electronic device
CN101795009B (en) Battery charging device and method thereof
CN109116255A (en) A kind of accumulator charging and discharging state judgment method based on voltage
CN208078130U (en) Multichannel Li-Battery monitor and combo device
CN201937299U (en) Charging device
CN212231114U (en) Lithium battery pack charging device
CN210201544U (en) Intelligent calibration output charger
CN202798085U (en) Simplified storage battery charging maximum power point tracking (MPPT) control circuit
CN203416011U (en) Solar charging control loop
CN208581085U (en) GPRS power supply circuit and its manufactured intellectual water meter
CN107453382B (en) Stable power supply and control method
CN207234417U (en) A kind of stabilized power source
CN2257629Y (en) Intelligence quick charger for plumbous acid accumulator
CN220709320U (en) SOC detection circuit of battery management system, battery management system and electric vehicle
CN110061555A (en) Intelligence calibration output charger
CN218526107U (en) Intelligent charging and discharging controller for storage battery

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant