Charging control circuit and electronic equipment
By designing a charging control circuit that includes a switching unit, a comparator unit, and a processor, the safety issues of charging and continuing to charge after the energy storage device is completed are solved, thus realizing safe charging of the energy storage device.
Patent Information
- Application Number
- CN202422383111.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2034-09-29
AI Technical Summary
Safety issues that may arise when energy storage devices are charging and continuing to charge after being fully charged include the safety hazards caused by backflow of electricity and overcharging.
Design a charging control circuit, including a switching unit, a comparator unit, a processor, and a charging input/output unit. The comparator unit obtains voltage information, the processor determines the charging completion rate, and the switching unit controls the charging process to prevent backflow of electrical energy and overcharging.
This effectively avoids safety issues caused by backflow of electrical energy and overcharging in energy storage devices, and improves the safety of charging energy storage devices.
Smart Images

Figure CN223472049U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to power supply design field, especially is involved in a kind of charging control circuit and electronic equipment. BACKGROUND
[0002] Energy storage device is to store energy using equipment, and release when needed, and has been widely used in various trades and professions at present.But since energy storage device needs power supply to charge it, therefore in the process of being disconnected with power supply, it can cause safety problem due to the backflow of electric energy in energy storage device, or continue to charge after power supply charges energy storage device to reach full standard, which also can cause safety problem.
[0003] In view of the above-mentioned technology, seeking a kind of charging control circuit is the problem of the person skilled in the art to be solved urgently. CONTENT OF UTILITY MODEL
[0004] The utility model aims at providing a kind of charging control circuit and electronic equipment, can solve the safety problem caused by the backflow of electric energy in energy storage device or continue to charge after power supply charges energy storage device to reach full standard in technology.
[0005] To solve the above-mentioned technical problem, the utility model provides a kind of charging control circuit in one aspect, comprising: switch unit, comparator unit, processor, charging input unit and charging output unit;
[0006] charging input unit is connected with power supply, and charging output unit is connected with energy storage device;
[0007] the first input end of charging input unit, the first end of switch unit is connected with the first end of comparator unit, for obtaining the first power voltage in charging input unit;The first output end of charging output unit, the second end of switch unit is connected with the second end of comparator unit, for obtaining the first energy storage device voltage in charging output unit;The third end of switch unit is connected with the third end of comparator unit, for outputting the control level of comparator unit based on the comparison result of first power voltage and first energy storage device voltage to switch unit;
[0008] The first input end of the processor is connected with the charging input unit, for obtaining the second power supply voltage of the charging input unit; the second input end of the processor is connected with the charging output unit, for obtaining the second energy storage device voltage of the charging output unit; the third output end of the processor is connected with the fourth end of the comparator unit; the processor determines the charging completion degree state of the current energy storage device according to the second power supply voltage and the second energy storage device voltage, and sends a state signal representing the charging completion degree state of the energy storage device to the fourth end of the comparator unit, so that the third end of the comparator unit outputs a control level of the comparator unit based on the comparison result of the state signal and the first energy storage device voltage to the switch unit;
[0009] The switch unit controls the conduction or disconnection between the charging input unit and the charging output unit according to the control level.
[0010] Preferably, the switch unit comprises a first MOS tube, a second MOS tube and a first diode group.
[0011] The source of the first MOS tube is connected with the charging input unit as the first end of the switch unit; the drain of the first MOS tube is connected with the drain of the second MOS tube and grounded; the gate of the first MOS tube is connected with the first end of the first diode group, the gate of the second MOS tube is connected with the second end of the first diode group, and the third end of the first diode group is connected with the third end of the comparator unit as the third end of the switch unit.
[0012] The source of the second MOS tube is connected with the charging output unit as the second end of the switch unit.
[0013] Preferably, the switch unit further comprises a light emitting diode, a first resistor, a second resistor, a third resistor, a fourth resistor and a fifth resistor.
[0014] The first end of the first resistor is connected with the drain of the first MOS tube and the drain of the second MOS tube; the second end of the first resistor is connected with the anode of the light emitting diode; the cathode of the light emitting diode is grounded; the first end of the second resistor is connected with the source of the first MOS tube and the first input end of the charging input unit, and the second end of the second resistor is connected with the gate of the first MOS tube and the first end of the third resistor;
[0015] The first end of the fourth resistor is connected with the source of the second MOS tube and the first output end of the charging output unit, and the second end of the fourth resistor is connected with the gate of the second MOS tube and the first end of the fifth resistor;
[0016] The first end of the first diode group is connected with the second end of the third resistor; the second end of the first diode group is connected with the second end of the fifth resistor.
[0017] Preferably, the comparator unit comprises a comparator and a triode.
[0018] The base of the transistor is connected to the third output terminal of the processor as the fourth terminal of the comparator unit; and the emitter of the transistor is grounded.
[0019] The inverting input terminal of the comparator and the collector of the transistor are connected to the first input terminal of the charging input unit as the first terminal of the comparator unit; the non-inverting input terminal of the comparator is connected to the first output terminal of the charging output unit as the second terminal of the comparator unit; and the output terminal of the comparator is connected to the third terminal of the switch unit as the third terminal of the comparator unit.
[0020] The ground pin of the comparator is grounded.
[0021] Preferably, the comparator unit further comprises a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor, a first capacitor and a second capacitor.
[0022] The first terminal of the sixth resistor is connected to the third output terminal of the processor; and the second terminal of the sixth resistor is connected to the base of the transistor.
[0023] The first terminal of the seventh resistor is connected to the first input terminal of the charging input unit; and the second terminal of the seventh resistor is connected to the collector of the transistor, the first terminal of the first capacitor, the first terminal of the eighth resistor and the inverting input terminal of the comparator.
[0024] The first terminal of the ninth resistor is connected to the first output terminal of the charging output unit; and the second terminal of the ninth resistor is connected to the first terminal of the tenth resistor, the first terminal of the second capacitor and the non-inverting input terminal of the comparator.
[0025] The second terminal of the first capacitor, the second terminal of the eighth resistor, the second terminal of the second capacitor and the second terminal of the tenth resistor are grounded.
[0026] Preferably, the comparator unit further comprises a second diode group and a third capacitor.
[0027] The first terminal of the second diode group is connected to the first input terminal of the charging input unit; the second terminal of the second diode group is connected to the first output terminal of the charging output unit; and the third terminal of the second diode group is connected to the positive pin of the comparator and the first terminal of the third capacitor.
[0028] The second terminal of the third capacitor is grounded.
[0029] Preferably, the first diode group comprises a first diode and a second diode connected to the negative terminal; the negative terminals of the first diode and the second diode are connected to the third terminal of the comparator unit; the positive terminal of the first diode is connected to the second terminal of the third resistor; and the positive terminal of the second diode is connected to the second terminal of the fifth resistor.
[0030] The second diode group comprises a third diode and a fourth diode connected in negative polarity, the negative poles of the third diode and the fourth diode are connected to the positive pin of the comparator, the positive pole of the third diode is connected to the first input end of the charging input unit, and the positive pole of the fourth diode is connected to the first output end of the charging output unit.
[0031] Preferably, the charging input unit comprises a charging port, a first TVS tube, a second TVS tube, a fourth capacitor, a fifth capacitor, an eleventh resistor and a twelfth resistor.
[0032] The charging port is used for being connected to a power supply, and a first end of the charging port serves as the first input end of the charging input unit.
[0033] The cathode of the first TVS tube is connected to the first end of the charging port, the first end of the switch unit, the first end of the comparator unit, the cathode of the second TVS tube, the first end of the fourth capacitor, the first end of the fifth capacitor and the first end of the eleventh resistor.
[0034] The anode of the first TVS tube, the second end of the charging port, the third end of the charging port, the anode of the second TVS tube, the second end of the fourth capacitor and the second end of the fifth capacitor are grounded.
[0035] The second end of the eleventh resistor is connected to the first end of the twelfth resistor and the first input end of the processor.
[0036] The second end of the twelfth resistor is grounded.
[0037] Preferably, the charging output unit comprises a power transmission port, a sixth capacitor, a seventh capacitor, a thirteenth resistor and a fourteenth resistor.
[0038] The power transmission port is used for being connected to an energy storage device, and a first end of the power transmission port serves as the first output end of the charging output unit.
[0039] The first end of the sixth capacitor is connected to the first end of the seventh capacitor, the first end of the thirteenth resistor, the first end of the power transmission port and the second end of the comparator unit, and the second end of the sixth capacitor, the second end of the seventh capacitor, the first end of the fourteenth resistor and the second end of the power transmission port are grounded.
[0040] The second end of the thirteenth resistor is connected to the second end of the fourteenth resistor and the second input end of the processor.
[0041] In another aspect, the application further provides an electronic device comprising the charging control circuit.
[0042] The utility model provides a kind of charging control circuit, comprising: switching unit, comparator unit, processor, charging input unit and charging output unit;Wherein, charging input unit is connected with power supply, and charging output unit is connected with energy storage device;The first end of comparator unit is connected with the first input end of charging input unit, the first end of switching unit, for obtaining the first power supply voltage in charging input unit;The second end of comparator unit is connected with the first output end of charging output unit, the second end of switching unit, for obtaining the first energy storage device voltage in charging output unit;The third end of comparator unit is connected with the third end of switching unit;For the control level of the comparison result in comparator unit based on first power supply voltage and first energy storage device voltage is output to switching unit;The first input end of processor is connected with charging input unit, for obtaining the second power supply voltage of charging input unit;The second input end of processor is connected with charging output unit, for obtaining the second energy storage device voltage of charging output unit;The third output end of processor is connected with the fourth end of comparator unit;For processor determines the charging completion degree state of current energy storage device according to second power supply voltage and second energy storage device voltage, and state signal for representing the charging completion degree state of energy storage device is sent to the fourth end of comparator unit, so that the third end of comparator unit is output to switching unit the control level of the comparison result in comparator unit based on state signal and first energy storage device voltage;Switching unit controls the conduction or disconnection between charging input unit and charging output unit according to control level.Visibly, the application avoids the security problem caused by the backflow of electric energy in energy storage device by the combination of comparator unit and switching unit, still avoids the security problem caused by the charging of power supply to energy storage device when energy storage device is in full state by the combination of comparator unit, switching unit and processor, and the safety of charging of power supply to energy storage device is improved as a whole. BRIEF DESCRIPTION OF DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the utility model, the drawings needed in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the utility model, and other drawings can be obtained by those skilled in the art without creative labor.
[0044] Figure 1 The structural diagram of the charging control circuit provided by the embodiments of the application is shown in the figure.
[0045] Figure 2 The circuit diagram of the charging control circuit provided by the embodiments of the application is shown in the figure. DETAILED DESCRIPTION
[0046] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0047] The core of the utility model is to provide a charging control circuit and an electronic device.
[0048] In order to enable those skilled in the art to better understand the present invention, the present invention will be described in further detail below with reference to the accompanying drawings and specific implementation methods.
[0049] Figure 1 This is a structural diagram of a charging control circuit provided in an embodiment of the present application, such as Figure 1 As shown, it includes: a switch unit 1, a comparator unit 2, a processor 3, a charging input unit 4 and a charging output unit 5. In addition, Figure 1 The device also includes a power supply 6 and an energy storage device 7. During charging, the circuit connections are as follows: the charging input unit 4 is connected to the power supply 6, and the charging output unit 5 is connected to the energy storage device 7; the first terminal of the comparator unit 2 is connected to the first input terminal of the charging input unit 4 and the first terminal of the switch unit 1; the second terminal of the comparator unit 2 is connected to the first output terminal of the charging output unit 5 and the second terminal of the switch unit 1; the third terminal of the comparator unit 2 is connected to the third terminal of the switch unit 1; the first input terminal of the processor 3 is connected to the charging input unit 4; the second input terminal of the processor 3 is connected to the charging output unit 5; and the third output terminal of the processor 3 is connected to the fourth terminal of the comparator unit 2.
[0050] In a specific embodiment, the switch unit 1 connects the charging input unit 4 and the charging output unit 5, for controlling the on or off between the charging input unit 4 and the charging output unit 5. The first end of the comparator unit 2 and the second end of the comparator unit 2 are connected to the charging input unit 4 and the charging output unit 5 respectively, for obtaining the first power supply voltage and the first energy storage device voltage representing the current connection point, where the first power supply voltage is usually the voltage of the power supply connection end of the charging input unit, and the first energy storage device voltage is usually the voltage of the energy storage device connection end of the charging output unit. For example, when the first power supply voltage < the first energy storage device voltage, the third end of the comparator unit 2 outputs a high level (control level), and the switch unit 1 is off; when the first power supply voltage ≥ the first energy storage device voltage, the comparator unit 2 outputs a low level (control level), and the switch unit 1 is on. It can be understood that the on or off of the switch unit determined by the comparison result of the first power supply voltage and the first energy storage device voltage can be used to prevent the backflow of the energy of the energy storage device. The first input end of the processor 3 and the second input end of the processor 3 are connected to the charging input unit 4 and the charging output unit 5 respectively, for obtaining the second power supply voltage and the second energy storage device voltage representing the current connection point. The processor determines the charging completion degree state of the current energy storage device according to the second power supply voltage and the second energy storage device voltage, and sends a state signal representing the charging completion degree state of the energy storage device to the fourth end of the comparator unit through the third output end of the processor, so that the third end of the comparator unit outputs a control level based on the comparison result of the state signal and the first energy storage device voltage to the switch unit. For example, when the difference between the second power supply voltage and the second energy storage device voltage reaches a preset range, the processor 3 can consider that the energy storage device 7 is fully charged and then output a state signal representing the charging completion of the energy storage device 7, and send it to the comparator unit 2 through the fourth end of the comparator unit 2, so that the comparator unit 2 outputs a high level (control level) according to the current charging completion state signal and the current first energy storage device voltage, and the switch unit 1 is off to avoid overcharging of the energy storage device 7; when the difference between the second power supply voltage and the second energy storage device voltage is not in the preset range, the processor 3 can consider that the energy storage device 7 is not fully charged and then output a state signal representing the charging completion of the energy storage device 7 at this time, and send it to the comparator unit 2 through the fourth end of the comparator unit 2, so that the comparator unit 2 outputs a low level (control level) according to the current charging completion state signal and the current first energy storage device voltage comparison result, and the switch unit 1 is on to ensure that the power supply 6 continuously charges the energy storage device 7. It can be understood that during the charging process, the second end of the comparator unit still obtains the first energy storage device voltage of the first output end of the charging output unit.
[0051] Therefore, the principle of the charging control circuit provided by the application is that the comparator unit 2 acquires the first power supply voltage and the first energy storage device voltage, and sends a corresponding control level to the switch unit 1 according to the size relationship between the first power supply voltage and the first energy storage device voltage, and then the switch unit 1 controls the conduction or disconnection between the charging input unit 4 and the charging output unit 5 according to the control level, thereby avoiding the safety problem caused by the backflow of electric energy in the energy storage device 7. The processor 3 acquires the second power supply voltage and the second energy storage device voltage, determines the charging completion state (full or not full) of the energy storage device 7 according to the difference between the second power supply voltage and the second energy storage device voltage, and sends a state signal representing the state of the energy storage device 7 to the comparator unit 2, and then the comparator unit 2 sends a corresponding control level to the switch unit 1 according to the comparison result of the state signal and the first energy storage device voltage, and finally the switch unit 1 controls the conduction or disconnection between the charging input unit 4 and the charging output unit 5 according to the control level, thereby avoiding the safety problem that the power supply 6 still charges the energy storage device 7 when the energy storage device 7 is in a full state. Here, the energy storage device 7 is not specifically limited, for example, it can be a battery.
[0052] In the application, the positions where the charging input unit 4 acquires the first power supply voltage and the second power supply voltage can be the same or different, and the positions where the charging output unit 5 acquires the first energy storage device voltage and the second energy storage device voltage can be the same or different, but based on the second power supply voltage and the second energy storage device voltage being delivered to the processor 3, in order to protect the processor 3 and avoid the processor 3 receiving a signal that is too large, resistors are usually arranged between the positions where the first power supply voltage and the second power supply voltage are acquired for voltage division, and the same resistors are arranged between the positions where the first energy storage device voltage and the second energy storage device voltage are acquired for voltage division, and the resistance values of the resistors between the positions where the first energy storage device voltage and the second energy storage device voltage are acquired are the same as the resistance values of the resistors between the positions where the first power supply voltage and the second power supply voltage are acquired, that is, when the power supply 6 and the energy storage device 7 are connected through the charging control circuit, the resistance value of the voltage division resistor between the power supply 6 and the position where the second power supply voltage is collected is the same as the resistance value of the resistor between the energy storage device 7 and the position where the second energy storage device voltage is collected.
[0053] It should be noted that the application does not limit the specific structure of the switch unit 1 and the comparator unit 2, as long as the functions of switching and comparison are met, and the user can set them as needed.
[0054] The utility model provides a kind of charging control circuit, comprising: switching unit, comparator unit, processor, charging input unit and charging output unit;Wherein, charging input unit is connected with power supply, and charging output unit is connected with energy storage device;The first end of comparator unit is connected with the first input end of charging input unit, the first end of switching unit, for obtaining the first power voltage in charging input unit;The second end of comparator unit is connected with the first output end of charging output unit, the second end of switching unit, for obtaining the first energy storage device voltage in charging output unit;The third end of comparator unit is connected with the third end of switching unit;For the control level of the comparison result in comparator unit based on first power voltage and first energy storage device voltage is output to switching unit;The first input end of processor is connected with charging input unit, for obtaining the second power voltage of charging input unit;The second input end of processor is connected with charging output unit, for obtaining the second energy storage device voltage of charging output unit;The third output end of processor is connected with the fourth end of comparator unit;For processor determines the charging completion degree state of current energy storage device according to second power voltage and second energy storage device voltage, and sends the state signal for representing the charging completion degree state of energy storage device to the fourth end of comparator unit, so that the third end of comparator unit exports the control level of the comparison result in comparator unit based on state signal and first energy storage device voltage to switching unit;Switching unit controls the conduction or disconnection between charging input unit and charging output unit according to control level.Visibly, the application avoids the security problem caused by the backflow of electric energy in energy storage device by the combination of comparator unit and switching unit, still avoids the security problem caused by the charging of power supply to energy storage device when energy storage device is in full state by the combination of comparator unit, switching unit and processor, and improves the safety of charging of power supply to energy storage device as a whole.
[0055] On the basis of the above embodiment, as a preferred embodiment, as Figure 2As shown, the switch unit 1 comprises one or more of the first MOS Q1, the second MOS Q2, the light emitting diode DS, the first resistor R1, the second resistor R2, the third resistor R3, the fourth resistor R4, the fifth resistor R5 and the first diode group VD1. The connection relationship of the circuit is as follows: the source of the first MOS Q1 is connected with the charging input unit 4 as the first end of the switch unit 1; the drain of the first MOS Q1 is connected with the drain of the second MOS Q2 and grounded; the gate of the first MOS Q1 is connected with the first end of the first diode group VD1, the gate of the second MOS Q2 is connected with the second end of the first diode group VD1, and the third end of the first diode group is connected with the third end of the comparator unit 2 as the third end of the switch unit 1; the source of the second MOS Q2 is connected with the charging output unit 5 as the second end of the switch unit 1; the first end of the first resistor R1 is connected with the drain of the first MOS Q1 and the drain of the second MOS Q2; the second end of the first resistor R1 is connected with the anode of the light emitting diode DS; the cathode of the light emitting diode DS is grounded; the first end of the second resistor R2 is connected with the source of the first MOS Q1 and the first input end of the charging input unit 4; the second end of the second resistor R2 is connected with the gate of the first MOS Q1 and the first end of the third resistor R3; the first end of the fourth resistor R4 is connected with the source of the second MOS Q2 and the first output end of the charging output unit 5; the second end of the fourth resistor R4 is connected with the gate of the second MOS Q2 and the first end of the fifth resistor R5; the first end of the first diode group VD1 is connected with the second end of the third resistor R3; the second end of the first diode group VD1 is connected with the second end of the fifth resistor R5, and the third end of the first diode group VD1 is connected with the third end of the comparator unit 2 as the third end of the switch unit 1.
[0056] The first diode group VD1 is composed of two diodes, i.e. the first diode and the second diode, wherein the negative poles of the two diodes are connected and commonly serve as the third end of the first diode group VD1; the positive poles of the two diodes respectively serve as the first end of the first diode group VD1 and the second end of the first diode group VD1.
[0057] On the basis of the above embodiment, as a preferred embodiment, the first diode group VD1 is composed of two diodes, i.e. the first diode and the second diode, wherein the negative poles of the two diodes are connected and commonly serve as the third end of the first diode group VD1; the positive poles of the two diodes respectively serve as the first end of the first diode group VD1 and the second end of the first diode group VD1. Figure 2As shown, the comparator unit 2 comprises one or more of a comparator N3A, a triode V21, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, a tenth resistor R10, a first capacitor C1, a second capacitor C2, a second diode group VD2, and a third capacitor C3. The connection relationship of the circuit thereof is as follows: the base of the triode V21 is connected to the fourth end of the comparator unit 2 and the third output end of the processor 3; the emitter of the triode V21 is grounded; the inverting input end of the comparator N3A and the collector of the triode V21 are connected to the first input end of the charging input unit 4 as the first end of the comparator unit 2; the non-inverting input end of the comparator N3A is connected to the first output end of the charging output unit 5 as the second end of the comparator unit 2; the output end of the comparator N3A is connected to the third end of the switch unit 1 as the third end of the comparator unit 2; the ground pin of the comparator N3A is grounded; the first end of the sixth resistor R6 is connected to the third output end of the processor N3A; the second end of the sixth resistor R6 is connected to the base of the triode V21; the first end of the seventh resistor R7 is connected to the first input end of the charging input unit 4; the second end of the seventh resistor R7 is connected to the collector of the triode V21, the first end of the first capacitor C1, the first end of the eighth resistor R8, and the inverting input end of the comparator N3A; the first end of the ninth resistor R9 is connected to the first output end of the charging output unit 5; the second end of the ninth resistor R9 is connected to the first end of the tenth resistor R10, the first end of the second capacitor C2, and the non-inverting input end of the comparator N3A; the second end of the first capacitor C1, the second end of the eighth resistor R8, the second end of the second capacitor C2, and the second end of the tenth resistor R10 are grounded; the first end of the second diode group VD2 is connected to the first input end of the charging input unit 4; the second end of the second diode group VD2 is connected to the first output end of the charging output unit 5; the third end of the second diode group VD2 is connected to the positive pin of the comparator N3A and the first end of the third capacitor C3; and the second end of the third capacitor C3 is grounded.
[0058] The second diode group VD2 is composed of two diodes, i.e., a third diode and a fourth diode. The negative poles of the two diodes are connected and commonly serve as the third end of the second diode group VD2; and the positive poles of the two diodes respectively serve as the first end of the second diode group VD2 and the second end of the second diode group VD2.
[0059] In a specific embodiment, the switch unit 1 connects the charging input unit 4 and the charging output unit 5, and is used to control the conduction or disconnection between the charging input unit 4 and the charging output unit 5. The first end of the comparator unit 2 and the second end of the comparator unit 2 are connected to the charging input unit 4 and the charging output unit 5 respectively, and are used to obtain the first power supply voltage VCC_24V and the first energy storage device voltage VCC_Bat representing the current connection point, when VCC_24V < VCC_Bat, the comparator unit 2 outputs a high level (control level), and the switch unit 1 is disconnected; when VCC_24V ≥ VCC_Bat, the comparator unit 2 outputs a low level (control level), and the switch unit 1 is turned on. Here, if the comparator unit 2 outputs a high level to the negative electrode of the first diode group VD1 connected in reverse series, a voltage clamping is formed, so that the two ends of the switch unit 1 are in an equipotential state, and then the switch unit 1 disconnects the connection between the charging input unit 4 and the charging output unit 5. The first resistor R1, the second resistor R2, the third resistor R3, the fourth resistor R4 and the fifth resistor R5 in the switch unit 1 are used for voltage division and current limiting to ensure the stable operation of the switch unit 1. The light-emitting diode DS in the switch unit 1 serves as a charging indicator during charging, and the first diode group VD1 is used for isolation.
[0060] The first input end of the processor 3 and the second input end of the processor 3 are connected with the charging input unit 4 and the charging output unit 5 respectively, for obtaining the second power supply voltage Pwr_AD and the second energy storage device voltage Bat_AD representing the current connection point, when the difference between Pwr_AD and Bat_AD reaches a preset range, the processor 3 can consider that the energy storage device 7 is full and then output a state signal Bat_Chang_OFF representing that the energy storage device 7 is fully charged, and send to the comparator unit 2 through the fourth end of the comparator unit 2, so that the comparator unit 2 outputs the corresponding high level (control level) according to the current state signal and the first energy storage device voltage VCC_Bat, and the switch unit 1 is disconnected to avoid overcharging of the energy storage device 7; when the difference between Pwr_AD and Bat_AD is not in the preset range, the processor 3 can consider that the energy storage device 7 is not full and then output a state signal representing that the energy storage device 7 is not fully charged at this time, and send to the comparator unit 2 through the fourth end of the comparator unit 2, so that the comparator unit 2 outputs the corresponding low level (control level) according to the state signal at this time and the first energy storage device voltage VCC_Bat, and the switch unit 1 is turned on to ensure that the power supply 6 continuously charges the energy storage device 7. For example: when the difference between Pwr_AD and Bat_AD reaches the preset range (for example, the difference is 0.1V), the processor 3 outputs a signal to the comparator unit 2, at this time the transistor V21 is turned on, and then the signal is compared with the first energy storage device voltage VCC_Bat, so that the comparator N3A outputs a high level, otherwise when the difference between Pwr_AD and the voltage Bat_AD does not reach the preset range, that is, it is not full, the comparator N3A outputs a low level. When the comparator N3A outputs a high level to the negative electrode of the second diode VD2 in reverse series, the voltage between the two ends is pulled up, so that the voltage between the two ends of the switch unit 1 is equal, so that the switch is turned off, the comparator N3A outputs a low level, and the voltage between the two ends is clamped to be low, so that the switch unit is turned on. The sixth resistor R6, the seventh resistor R7, the eighth resistor R8, the ninth resistor R9, the tenth resistor R10, the first capacitor C1, the second capacitor C2 and the third capacitor C3 in the comparator unit 2 have the function of voltage division and filtering, and the second diode group VD2 has the function of isolation.
[0061] It should be noted that the specific structure of the switch unit 1 and the comparator unit 2 provided in the present application is only one possible implementation, but is not limited to only this implementation, and can be set by the user as needed.
[0062] In addition, in order to ensure stable transmission of signals, Figure 2As shown, the charging input unit 4 includes: a charging port J21, a first TVS tube D1, a second TVS tube D2, a fourth capacitor C4, a fifth capacitor C5, an eleventh resistor R11 and a twelfth resistor R12. The charging output unit 5 includes: a power transmission port U51, a sixth capacitor C6, a seventh capacitor C7, a thirteenth resistor R13 and a fourteenth resistor R14. Among them, J21 is the charging port of the charging input unit 4, and U51 is the power transmission port of the charging output unit 5. The connection relationship of the circuit is: the charging port J21 is used to be connected with the power supply 6, the first end of the charging port J21 is used as the first input end of the charging input unit 4, the cathode of the first TVS tube D1 is connected with the first end of the charging port J21 of the charging input unit 4, the first end of the switch unit 1, the first end of the comparator unit 2, the cathode of the second TVS tube D2, the first end of the fourth capacitor C4, the first end of the fifth capacitor C5 and the first end of the eleventh resistor R11; the anode of the first TVS tube D1, the second end of the charging port J21 of the charging input unit 4, the third end of the charging port J21 of the charging input unit 4, the second end of the fourth capacitor C4 and the second end of the fifth capacitor C5 are grounded; the second end of the eleventh resistor R11 is connected with the first end of the twelfth resistor R12 and the first input end of the processor 3; the second end of the twelfth resistor R12 is grounded; the power transmission port U51 is used to be connected with the energy storage device 7; the first end of the power transmission port U51 is used as the first output end of the charging output unit 5; the first end of the sixth capacitor C6 is connected with the first end of the seventh capacitor C7, the first end of the thirteenth resistor R13 and the first end of the power transmission port U51 of the charging output unit 5 and the second end of the comparator unit 2; the second end of the sixth capacitor C6, the second end of the seventh capacitor C7, the first end of the fourteenth resistor R14 and the second end of the power transmission port U51 of the charging output unit 5 are grounded; the second end of the thirteenth resistor R13 is connected with the second end of the fourteenth resistor R14 and the second input end of the processor 3.
[0063] Among them, the first TVS tube D1 and the second TVS tube D2 in the charging input unit 4 are used to realize overcharge protection, and the fourth capacitor C4, the fifth capacitor C5, the eleventh resistor R11 and the twelfth resistor R12 together realize voltage division and filter power.
[0064] Among them, the sixth capacitor C6, the seventh capacitor C7, the thirteenth resistor R13 and the fourteenth resistor R14 in the charging output unit 5 together realize voltage division and filter function.
[0065] Need to be explained is that the embodiments provided in the application are only one possible implementation, but are not limited to only this implementation, and can be set by the user as needed.
[0066] In summary, the charging control circuit provided in the application comprises a switching unit, a comparator unit, a processor, a charging input unit and a charging output unit; the charging input unit is connected with a power supply, and the charging output unit is connected with an energy storage device; the first end of the comparator unit is connected with the first input end of the charging input unit and the first end of the switching unit, and is used to obtain a first power supply voltage in the charging input unit; the second end of the comparator unit is connected with the first output end of the charging output unit and the second end of the switching unit, and is used to obtain a first energy storage device voltage in the charging output unit; the third end of the comparator unit is connected with the third end of the switching unit; the comparator unit is used to output a control level based on the comparison result of the first power supply voltage and the first energy storage device voltage to the switching unit; the first input end of the processor is connected with the charging input unit, and is used to obtain a second power supply voltage of the charging input unit; the second input end of the processor is connected with the charging output unit, and is used to obtain a second energy storage device voltage of the charging output unit; the third output end of the processor is connected with the fourth end of the comparator unit; the processor is used to determine the charging completion degree state of the current energy storage device according to the second power supply voltage and the second energy storage device voltage, and send a state signal representing the charging completion degree state of the energy storage device to the fourth end of the comparator unit, so that the third end of the comparator unit outputs a control level based on the comparison result of the state signal and the first energy storage device voltage to the switching unit; the switching unit controls the conduction or disconnection between the charging input unit and the charging output unit according to the control level. Therefore, the combination of the comparator unit and the switching unit can avoid the safety problem caused by the backflow of electric energy in the energy storage device, and the combination of the comparator unit, the switching unit and the processor can still avoid the safety problem caused by the charging of the power supply to the energy storage device when the energy storage device is in the full state, thereby improving the safety of the charging of the power supply to the energy storage device as a whole.
[0067] The application also provides an electronic device comprising the charging control circuit described above and having the same beneficial effects. The embodiments of the electronic device are the same as the embodiments of the charging control circuit described above, and thus will not be described here.
[0068] The charging control circuit and the electronic device provided by the application are described in detail above. The embodiments in the specification are described in a progressive manner, and each embodiment mainly describes the differences from other embodiments. The same and similar parts of each embodiment can be referred to. For the device disclosed in the embodiments, the description is relatively simple because it corresponds to the method disclosed in the embodiments. The relevant parts can be referred to the method part. It should be noted that, for those skilled in the art, without departing from the principles of the application, the application can be improved and modified in many ways, and these improvements and modifications also fall within the protection scope of the claims of the application.
[0069] It is also to be noted that, as used in this specification and the appended claims, the singular forms "a," "an," and "the" include plural referents unless the context clearly dictates otherwise. Furthermore, the terms "comprising," "containing," or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements is not necessarily limited to only those elements, but can include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Claims
1. A charge control circuit, characterized by comprising: The application relates to a charging control circuit, which comprises a switch unit, a comparator unit, a processor, a charging input unit and a charging output unit. The charging input unit is connected with a power supply, and the charging output unit is connected with an energy storage device. The first end of the comparator unit is connected with the first input end of the charging input unit and the first end of the switch unit, and is used for acquiring a first power supply voltage in the charging input unit; the second end of the comparator unit is connected with the first output end of the charging output unit and the second end of the switch unit, and is used for acquiring a first energy storage device voltage in the charging output unit; the third end of the comparator unit is connected with the third end of the switch unit, and is used for outputting a control level in the comparator unit based on a comparison result of the first power supply voltage and the first energy storage device voltage to the switch unit; The first input end of the processor is connected with the charging input unit, and is used for acquiring a second power supply voltage of the charging input unit; the second input end of the processor is connected with the charging output unit, and is used for acquiring a second energy storage device voltage of the charging output unit; The third output end of the processor is connected with the fourth end of the comparator unit; the processor determines a charging completion degree state of the energy storage device according to the second power supply voltage and the second energy storage device voltage, and sends a state signal representing the charging completion degree state of the energy storage device to the fourth end of the comparator unit, so that the third end of the comparator unit outputs the control level in the comparator unit based on a comparison result of the state signal and the first energy storage device voltage to the switch unit; The switch unit controls the conduction or disconnection between the charging input unit and the charging output unit according to the control level. The switch unit comprises a first MOS tube, a second MOS tube and a first diode group.
2. The charge control circuit according to claim 1, characterized by The source of the first MOS tube is connected with the charging input unit as the first end of the switch unit; the drain of the first MOS tube is connected with the drain of the second MOS tube and grounded; the gate of the first MOS tube is connected with the first end of the first diode group, and the gate of the second MOS tube is connected with the second end of the first diode group; the third end of the first diode group is connected with the third end of the comparator unit as the third end of the switch unit; The source of the second MOS tube is connected with the charging output unit as the second end of the switch unit. The switch unit further comprises a light emitting diode, a first resistor, a second resistor, a third resistor, a fourth resistor and a fifth resistor.
3. The charge control circuit according to claim 2, characterized by The first end of the first resistor is connected with the drain of the first MOS tube and the drain of the second MOS tube; the second end of the first resistor is connected with the anode of the light emitting diode; and the cathode of the light emitting diode is grounded. The first end of the second resistor is connected with the source of the first MOS tube and the first input end of the charging input unit; the second end of the second resistor is connected with the gate of the first MOS tube and the first end of the third resistor. The first end of the fourth resistor is connected with the source of the second MOS tube and the first output end of the charging output unit; the second end of the fourth resistor is connected with the gate of the second MOS tube and the first end of the fifth resistor; The first end of the first diode group is connected with the second end of the third resistor; the second end of the first diode group is connected with the second end of the fifth resistor.
4. The charge control circuit according to claim 3, characterized by The comparator unit comprises a comparator and a triode; The base of the triode is connected with the third output end of the processor as the fourth end of the comparator unit; the emitter of the triode is grounded; The non-inverting input end of the comparator and the collector of the triode are connected with the first input end of the charging input unit as the first end of the comparator unit; the inverting input end of the comparator is connected with the first output end of the charging output unit as the second end of the comparator unit; the output end of the comparator is connected with the third end of the switch unit as the third end of the comparator unit; The grounding pin of the comparator is grounded.
5. The charge control circuit according to claim 4, characterized by The comparator unit further comprises a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor, a first capacitor and a second capacitor; The first end of the sixth resistor is connected with the third output end of the processor; the second end of the sixth resistor is connected with the base of the triode; The first end of the seventh resistor is connected with the first input end of the charging input unit; the second end of the seventh resistor is connected with the collector of the triode, the first end of the first capacitor, the first end of the eighth resistor and the non-inverting input end of the comparator; The first end of the ninth resistor is connected with the first output end of the charging output unit; the second end of the ninth resistor is connected with the first end of the tenth resistor, the first end of the second capacitor and the inverting input end of the comparator; The second end of the first capacitor, the second end of the eighth resistor, the second end of the second capacitor and the second end of the tenth resistor are grounded.
6. The charge control circuit according to claim 5, characterized by The comparator unit further comprises a second diode group and a third capacitor; The first end of the second diode group is connected with the first input end of the charging input unit; the second end of the second diode group is connected with the first output end of the charging output unit; the third end of the second diode group is connected with the positive pin of the comparator and the first end of the third capacitor; The second end of the third capacitor is grounded.
7. The charge control circuit according to claim 6, characterized by The first diode group comprises a first diode and a second diode connected with the negative poles, the negative poles of the first diode and the second diode are connected with the third end of the comparator unit, the positive pole of the first diode is connected with the second end of the third resistor, and the positive pole of the second diode is connected with the second end of the fifth resistor; The second diode group comprises a third diode and a fourth diode connected with the negative poles, the negative poles of the third diode and the fourth diode are connected with the positive pin of the comparator, the positive pole of the third diode is connected with the first input end of the charging input unit, and the positive pole of the fourth diode is connected with the first output end of the charging output unit.
8. The charge control circuit according to claim 1, characterized by The charging input unit comprises a charging port, a first TVS tube, a second TVS tube, a fourth capacitor, a fifth capacitor, an eleventh resistor and a twelfth resistor; The charging port is used for connecting with the power supply, and a first end of the charging port is used as a first input end of the charging input unit; A cathode of the first TVS tube is connected with a first end of the charging port, a first end of the switch unit, a first end of the comparator unit, a cathode of the second TVS tube, a first end of the fourth capacitor, a first end of the fifth capacitor and a first end of the eleventh resistor; An anode of the first TVS tube, a second end of the charging port, a third end of the charging port, an anode of the second TVS tube, a second end of the fourth capacitor and a second end of the fifth capacitor are grounded; A second end of the eleventh resistor is connected with a first end of the twelfth resistor and a first input end of the processor; A second end of the twelfth resistor is grounded.
9. The charge control circuit according to claim 1, wherein The charging output unit comprises a power transmission port, a sixth capacitor, a seventh capacitor, a thirteenth resistor and a fourteenth resistor; The power transmission port is used for connecting with the energy storage device, and a first end of the power transmission port is used as a first output end of the charging output unit; A first end of the sixth capacitor is connected with a first end of the seventh capacitor, a first end of the thirteenth resistor, a first end of the power transmission port and a second end of the comparator unit; a second end of the sixth capacitor, a second end of the seventh capacitor, a first end of the fourteenth resistor and a second end of the power transmission port are grounded; A second end of the thirteenth resistor is connected with a second end of the fourteenth resistor and a second input end of the processor.
10. An electronic device, comprising: The charging control circuit comprises the charging control circuit according to any one of claims 1-9. The charging control circuit comprises the charging control circuit according to any one of claims 1-9.