Control circuit of charging and discharging device
By designing a synchronous recovery control circuit in the charge and discharge device, and using latches and RC circuits to maintain the state before reset, the problem of signal loss during the reset process of the charge and discharge device is solved, ensuring the safety of battery packs and other devices and systems. stability.
Patent Information
- Application Number
- CN202420414221.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-04
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2034-03-04
AI Technical Summary
The control signal may be lost during the reset process of the charging and discharging device, resulting in damage and danger to the battery pack and other devices.
Design a control circuit that synchronizes the abnormal recovery of the first controller through the second controller and sends the status data before reset to the first controller to ensure that the original working status can be maintained after reset and avoid device damage. The control circuit includes a first controller, a second controller and a first latch. The latch is used to cache the output signal and maintain the output high-impedance state through the RC circuit to ensure the stability of the reset process.
It effectively avoids signal loss and device damage caused by reset, ensures that the charging and discharging device quickly returns to its original state after reset, and improves the robustness and safety of the system.
Smart Images

Figure CN221886088U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of charging and discharging, in particular to a control circuit of a charging and discharging device. Background Art
[0002] The charging and discharging device is used to charge and discharge the battery pack. There may be interference problems during the charging and discharging process, causing the controller to reset. During the reset process, the control signal may be lost and the work cannot be restored, causing damage and danger to the battery pack and other devices.
[0003] Therefore, it is necessary to design a control circuit that can maintain the working state before reset when the controller is abnormally reset. Utility Model Content
[0004] In view of the above technical problems existing in the prior art, the utility model provides a control circuit of a charging and discharging device, which synchronizes the abnormally recovered first controller with the second controller, sends the state data before the reset to the first controller, and maintains the state before the reset after the abnormality is recovered to avoid device damage.
[0005] The utility model discloses a control circuit of a charging and discharging device, comprising a first controller, a second controller and a first latch; the first controller is connected to the second controller; the control end of the first controller is connected to the input end of the first latch, and the output end of the first latch is connected to the charging and discharging circuit.
[0006] Preferably, the first controller is connected to the second controller via a bus.
[0007] Preferably, it further comprises a second latch connected to the first controller;
[0008] The output end of the first latch is connected to the charging circuit; the output end of the second latch is connected to the discharging circuit.
[0009] Preferably, the device further comprises a third latch and a fourth latch connected to the second controller.
[0010] Preferably, the first controller is connected to the first latch via a first resistor and connected to the second latch via a second resistor;
[0011] The second controller is connected to the third latch via a third resistor and is connected to the fourth latch via a fourth resistor.
[0012] Preferably, the model of the first latch is: 74HC573.
[0013] Preferably, an RC circuit is provided at the OE terminal of the first latch.
[0014] Preferably, the RC circuit includes a resistor and a capacitor connected in series or in parallel, the resistor is 200 kΩ, and the capacitor is 30 uF.
[0015] Compared with the prior art, the beneficial effects of the utility model are as follows: the first latch is used to cache the output signal of the first controller and then forward it to the charging and discharging circuit to control the charging and discharging device; the second controller is used to synchronize the operating status of the first controller. After the first controller is reset, the second controller synchronizes the operating status to the first controller, so that the first controller can quickly perform the corresponding operating status and maintain the output of the IO port of the first latch to avoid damage to devices such as the battery pack. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a control circuit logic block diagram of the charging and discharging device of the utility model;
[0017] Figure 2 This is a port diagram of the first latch.
[0018] Markings in the figure: 1 the first controller, 11 the first latch, 12 the second latch, 13 the RC circuit, 2 the second controller, 21 the third latch, 22 the fourth latch, R1 the first resistor, R2 the second resistor, R3 the third resistor, and R4 the fourth resistor. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical solution and advantages of the embodiment of the utility model clearer, the technical solution in the embodiment of the utility model will be clearly and completely described below in conjunction with the drawings in the embodiment of the utility model. Obviously, the described embodiment is a part of the embodiment of the utility model, not all of the embodiments. Based on the embodiment of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0020] The utility model is further described in detail below in conjunction with the accompanying drawings:
[0021] A control circuit for a charging and discharging device, such as Figure 1 As shown, it includes a first controller 1, a second controller 2 and a first latch 11; the first controller 1 is connected to the second controller 2; the control end of the first controller 1 is connected to the input end of the first latch 11, and the output end of the first latch 11 is connected to the charging and discharging circuit.
[0022] The first latch is used to cache the output signal of the first controller and then forward it to the charging and discharging circuit to control the charging and discharging device; the second controller is used to synchronize the operating status of the first controller. After the first controller is reset, the second controller synchronizes the operating status to the first controller, so that the first controller can quickly perform the corresponding operating status and maintain the output of the IO port of the first latch to avoid damage to devices such as the battery pack.
[0023] In addition, the second controller can also accumulate the number of resets of the first controller. When the number of resets or the frequency exceeds a threshold, the controller can stop working and prompt the administrator that the system is unstable.
[0024] The first controller 1 is connected to the second controller 2 via a CAN bus. Optionally, a second latch 12 connected to the first controller 1 is further provided; the output end of the first latch 11 is connected to the charging circuit, and is used to output a control signal to the charging circuit; the output end of the second latch 12 is connected to the discharging circuit, and can be used to output a control signal to the discharging circuit.
[0025] Optionally, a third latch 21 and a fourth latch 22 connected to the second controller 2 are further provided, and the third latch 21 and the fourth latch 22 are respectively used to cache the output signal of the second controller. To provide robustness of the control circuit, the second controller 2 is usually not involved in the control, but the second controller 2 can also be used to control certain parts.
[0026] The first controller 1 is connected to the first latch 11 through the first resistor R1 and to the second latch 12 through the second resistor R2; the second controller 2 is connected to the third latch 21 through the third resistor R3 and to the fourth latch 22 through the fourth resistor R4. More specifically, the multiple output pins of the first controller 1 are connected to the corresponding input pins of the first latch 11 through a first resistor R1 respectively. The connection methods of the second latch 12, the third latch 21 and the fourth latch 22 are similar, and the utility model will not repeat them.
[0027] In a specific embodiment, the latch may be of type 74HC573, but is not limited thereto. The OE terminals of the first latch 11 and the second latch 12 are provided with RC circuits 13, respectively. During the reset process, the RC circuit provides a high level to the OE terminal, so that the output state of the output terminal is a high impedance state, that is, there is no output, thereby avoiding errors and damage caused by unstable signals during the reset process. Figure 2 The port distribution of the first latch is shown.
[0028] The RC circuit 13 includes a resistor and a capacitor connected in series or in parallel, the resistor is 200 kΩ, and the capacitor is 30 uF. The high level of the OE terminal can be maintained for about 6 seconds, that is, the output state is a high impedance state, and the first controller 11 needs to complete the state before reset within 6 seconds. That is, the RC circuit is used to temporarily control the holding circuit to make the output high impedance state. In a specific test, the reset abnormality recovery can be quickly performed within 1 second.
[0029] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may be subject to various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A control circuit for a charging and discharging device, It is characterized in that It comprises a first controller (1), a second controller (2) and a first latch (11); The first controller (1) is connected to the second controller (2); The control end of the first controller (1) is connected to the input end of the first latch (11), and the output end of the first latch (11) is connected to the charging and discharging circuit.
2. The control circuit according to claim 1, It is characterized in that The first controller (1) is connected to the second controller (2) via a CAN bus.
3. The control circuit according to claim 1, It is characterized in that Also includes a second latch (12) connected to the first controller (1); The output end of the first latch (11) is connected to a charging circuit; the output end of the second latch (12) is connected to a discharging circuit.
4. The control circuit according to claim 3, It is characterized in that It also includes a third latch (21) and a fourth latch (22) connected to the second controller (2).
5. The control circuit according to claim 4, It is characterized in that The first controller (1) is connected to the first latch (11) via a first resistor (R1) and is connected to the second latch (12) via a second resistor (R2); The second controller (2) is connected to the third latch (21) via a third resistor (R3) and is connected to the fourth latch (22) via a fourth resistor (R4).
6. The control circuit according to claim 1, It is characterized in that The model of the first latch (11) is: 74HC573.
7. The control circuit according to claim 1, It is characterized in that An RC circuit (13) is provided at the OE terminal of the first latch (11).
8. The control circuit according to claim 7, It is characterized in that The RC circuit (13) comprises a resistor and a capacitor connected in series or in parallel, the resistor is 200 kΩ, and the capacitor is 30 uF.
