A dual battery management method and system based on 485 communication

Through the dual-battery management method based on 485 communication, the parallelizer and switch tube are used to control the mutual charging and parallel charging and discharging of the battery pack, the problem of large size and safety hazards of the battery pack is solved, and the convenience of replacement and battery life are improved.

CN115249992BActive Publication Date: 2024-12-03HUIZHOU CHAOLIYUAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110469383.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-28
Publication Date
2024-12-03
Estimated Expiration
2041-04-28

AI Technical Summary

Technical Problem

In the prior art, the volume and weight of a single battery pack are large, resulting in inconvenient replacement, and the battery pack directly connected in parallel has safety risks, especially in the case of large voltage differences.

Method used

Using the dual-battery management method based on 485 communication, the current and voltage data of the two battery packs are read through the parallel device, and the status of the enable terminal of the switch tube is controlled to realize the mutual charging and parallel charging and discharge between the battery packs, with the maximum preset Current and minimum voltage thresholds for safety.

Benefits of technology

It effectively reduces safety risks, improves the convenience of replacement of the battery pack and the range of the cruising range, and meets application needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115249992B_ABST
    Figure CN115249992B_ABST
Patent Text Reader

Abstract

The present invention discloses a dual battery management method based on 485 communication, which is implemented based on a parallelizer, a No. 1 battery pack and a No. 2 battery pack. The parallelizer includes a No. 1 control unit, a No. 2 control unit, a switch tube Q1 and a switch tube Q2. The parallelizer obtains the current C1 of the No. 1 battery pack, the current C2 of the No. 2 battery pack, the voltage V1 of the No. 1 battery pack and the voltage V2 of the No. 2 battery pack through a 485 bus. The method includes: in the external discharge or internal charging step, the connection point between the second switch end of the switch tube Q2 and the second switch end of the switch tube Q1 is connected to the positive pole of the electric device or the charger, and according to the mutual relationship between the current C1, the current C2, the current C3 and the current C4, and the mutual relationship between the voltage V1, the voltage V2 and the voltage V3, the level state of the enable terminal EN1 and the enable terminal EN2 is controlled, and then one of the switch tubes Q1 and the switch tube Q2 is controlled to be turned on or turned on at the same time. The present invention can realize the charge and discharge management of the dual battery pack.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a dual battery management method, and in particular to a dual battery management method and system based on 485 communication. Background Art

[0002] In recent years, with the rapid development of the express delivery industry, people have higher and higher requirements for vehicle range, and at the same time, the convenience of battery replacement has become more and more urgent. In the traditional way, in order to increase the range, the size and weight of a single battery pack will be very large, which brings great inconvenience to replacement. In addition, if two battery packs with very different voltages are simply connected in parallel, there will be obvious safety hazards. Summary of the invention

[0003] The technical problem to be solved by the present invention is that, in view of the deficiencies in the prior art, a dual battery management method and system is provided, which reads the current data of battery pack 1 and battery pack 2 through a 485 bus and controls the access status of the two battery packs according to pre-set data.

[0004] In order to solve the above technical problems, the present invention adopts the following technical solutions.

[0005] A dual battery management method based on 485 communication, the method is implemented based on a parallelizer, a No. 1 battery group and a No. 2 battery group, the parallelizer includes a No. 1 control unit, a No. 2 control unit, a switch tube Q1 and a switch tube Q2, the first switch end of the switch tube Q1 is connected to the positive electrode of the No. 1 battery group, the control end of the switch tube Q1 is connected to the No. 1 control unit, the first switch end of the switch tube Q2 is connected to the positive electrode of the No. 2 battery group, the control end of the switch tube Q2 is connected to the No. 2 control unit, the second switch end of the switch tube Q2 is connected to the second switch end of the switch tube Q1, the No. 1 control unit includes an enable end EN1, the No. 2 control unit includes an enable end EN2, the No. 1 control unit controls the switch tube Q1 to open, the parallelizer obtains the current C1 of the No. 1 battery group and the current C2 of the No. 2 battery group through a 485 bus. The current C2, the voltage V1 of battery group 1 and the voltage V2 of battery group 2, the current output by the parallel device or input to the parallel device is recorded as current C3, the parallel device is preset with a maximum current C4 that allows battery group 1 and battery group 2 to charge each other, and the parallel device is preset with a minimum voltage V3 that allows battery group 1 and battery group 2 to charge in parallel; the method comprises: in the external discharging or internal charging step, connecting the connection point between the second switch end of the switch tube Q2 and the second switch end of the switch tube Q1 to the positive electrode of the electrical equipment or the charger, and according to the mutual relationship between the current C1, the current C2, the current C3, and the current C4, and the mutual relationship between the voltage V1, the voltage V2 and the voltage V3, controlling the level state of the enable terminal EN1 and the enable terminal EN2, thereby controlling one of the switch tubes Q1 and Q2 to be turned on or turned on at the same time.

[0006] Preferably, the external discharge process includes the following steps: step S10, the connection point between the second switch end of the switch tube Q2 and the second switch end of the switch tube Q1 is connected to the electrical equipment, and then initially powered on, so that the enable end EN1 is high level H, and the enable end EN2 is high level H; step S11, the parallelizer reads the current C1, current C2, voltage V1 and voltage V2 through the 485 bus; step S12, the parallelizer determines whether the current C1*current C2 is less than 0, if it is less than 0, it means that the battery pack 1 and the battery pack 2 have a mutual charging current, and step S13 is executed; step S13, the parallelizer determines the positive one of the current C1 and the current C2, which is recorded as the mutual charging current Cx, where Cx>0; step S14, if the mutual charging current Cx is the current C1, and | If the mutual charging current Cx|>current C4, the enable terminal EN1 is set to a high level H, and the enable terminal EN2 is set to a low level L; if not, both the enable terminal EN1 and the enable terminal EN2 are set to a high level H; if the mutual charging current Cx is current C2, and |mutual charging current Cx|>current C4, the enable terminal EN1 is set to a low level L, and the enable terminal EN2 is set to a high level H, if not, both the enable terminal EN1 and the enable terminal EN2 are set to a high level H; step S15, the parallel device determines whether the absolute value of the voltage V1-voltage V2 is less than the voltage V3, if less than, it indicates that parallel discharge is possible, and at this time, both the enable terminal EN1 and the enable terminal EN2 are set to a high level H; otherwise, the state of step S14 is maintained; then the execution of step S11 is returned.

[0007] Preferably, the internal charging process includes the following steps: step S20, the connection point between the second switch end of the switch tube Q2 and the second switch end of the switch tube Q1 is connected to the charger, and then initially powered on, so that the enable end EN1 is at a high level H, and the enable end EN2 is at a high level H; step S21, the parallelizer reads the current C1, the current C2, the voltage V1 and the voltage V2 through the 485 bus; step S22, the parallelizer determines whether the current C1*current C2 is less than 0, if it is less than 0, it means that the battery pack 1 and the battery pack 2 have a mutual charging current, and step S23 is executed; step S23, the parallelizer determines that the current C1 and the current C2 are equal. The negative one is recorded as the mutual charging current Cx, where Cx>0; step S24, if the mutual charging current Cx is the current C1, and |mutual charging current Cx|>current C4, the enable terminal EN1 is set to a low level L, and the enable terminal EN2 is set to a high level H; if not, both the enable terminal EN1 and the enable terminal EN2 are set to a high level H; if the mutual charging current Cx is the current C2, and |mutual charging current Cx|>current C4, the enable terminal EN1 is set to a high level H, and the enable terminal EN2 is set to a low level L, if not, both the enable terminal EN1 and the enable terminal EN2 are set to a high level H; step S25, the parallel device determines whether the absolute value of the voltage V1-voltage V2 is less than the voltage V3, if less than, it indicates that parallel charging is possible, and at this time, both the enable terminal EN1 and the enable terminal EN2 are set to a high level H; otherwise, the state of step S24 is maintained; then return to execute step S21.

[0008] Preferably, it also includes a static step of current C1+current C2=0: step S30, the second switch end of the switch tube Q2 is connected to the second switch end of the switch tube Q1, and then initially powered on, so that the enable end EN1 is at a high level H, and the enable end EN2 is at a high level H; step S31, the parallel device reads the current C1, the current C2, and the voltage V1 through the 485 bus and voltage V2; step S31, the parallelizer determines whether current C1*current C2 is less than 0. If it is less than 0, it means that battery pack 1 and battery pack 2 have mutual charging current, and step S23 is executed; step S33, the parallelizer determines the absolute value of current C1 or current C2, recorded as mutual charging current Cx, where Cx>0; step S34, if |mutual charging current Cx|>current C4, both enable terminal EN1 and enable terminal EN2 are set to low level L; if not, both enable terminal EN1 and enable terminal EN2 maintain the current state; step S35, the parallelizer determines whether the absolute value of voltage V1-voltage V2 is less than voltage V3. If it is less than, it indicates that parallel charging is possible, and both enable terminal EN1 and enable terminal EN2 are set to high level H; otherwise, the state of step S34 is maintained; then return to execute step S31.

[0009] A dual battery management system based on 485 communication, the system includes a parallelizer, a No. 1 battery pack and a No. 2 battery pack, the parallelizer includes a No. 1 control unit, a No. 2 control unit, a switch tube Q1 and a switch tube Q2, the first switch end of the switch tube Q1 is connected to the positive electrode of the No. 1 battery pack, the control end of the switch tube Q1 is connected to the No. 1 control unit, the first switch end of the switch tube Q2 is connected to the positive electrode of the No. 2 battery pack, the control end of the switch tube Q2 is connected to the No. 2 control unit, the second switch end of the switch tube Q2 is connected to the second switch end of the switch tube Q1, the No. 1 control unit includes an enable end EN1, the No. 2 control unit includes an enable end EN2, the No. 1 control unit controls the switch tube Q1 to open, the parallelizer obtains the current C1 of the No. 1 battery pack and the current C2 of the No. 2 battery pack through the 485 bus The parallel device is used for: in the external discharging or internal charging step, connecting the connection point between the second switch end of the switch tube Q2 and the second switch end of the switch tube Q1 to the positive electrode of the electrical equipment or the charger, and controlling the level states of the enable terminal EN1 and the enable terminal EN2 according to the mutual relationship among the current C1, the current C2, the current C3, and the current C4, and the mutual relationship among the voltages V1, V2, and V3, so as to control one of the switch tubes Q1 and Q2 to be turned on or turned on at the same time.

[0010] Preferably, the switch tube Q1 and the switch tube Q2 are both MOS tubes.

[0011] In the dual battery management method based on 485 communication disclosed in the present invention, the parallelizer reads the current data of battery pack 1 and battery pack 2 through the 485 bus, and determines the size of the current battery mutual charging current through the current data of the two battery packs. When the mutual charging current of the two battery packs exceeds the set value inside the parallelizer, the parallelizer cuts off the mutual charging path. At the same time, the hardware maximum mutual charging current size is also set inside the parallelizer, which can quickly handle abnormal mutual charging faults, greatly reduce safety hazards, and better meet application requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 It is a principle diagram of the present invention in a parallel discharge state;

[0013] Figure 2 It is a principle diagram of the present invention in a parallel charging state;

[0014] Figure 3A schematic diagram of the relationship between current and voltage in an external discharge state in a preferred embodiment of the present invention;

[0015] Figure 4 A schematic diagram of the relationship between current and voltage in a parallel charging state in a preferred embodiment of the present invention;

[0016] Figure 5 Schematic diagram of the relationship between current and voltage in a static state in a preferred embodiment of the present invention. DETAILED DESCRIPTION

[0017] The present invention is described in more detail below with reference to the accompanying drawings and embodiments.

[0018] The present invention discloses a dual battery management method based on 485 communication, combined with Figures 1 to 5 As shown, the method is implemented based on a parallelizer, a No. 1 battery pack and a No. 2 battery pack. The parallelizer includes a No. 1 control unit, a No. 2 control unit, a switch tube Q1 and a switch tube Q2. The first switch end of the switch tube Q1 is connected to the positive electrode of the No. 1 battery pack, the control end of the switch tube Q1 is connected to the No. 1 control unit, the first switch end of the switch tube Q2 is connected to the positive electrode of the No. 2 battery pack, the control end of the switch tube Q2 is connected to the No. 2 control unit, the second switch end of the switch tube Q2 is connected to the second switch end of the switch tube Q1, the No. 1 control unit includes an enable end EN1, the No. 2 control unit includes an enable end EN2, the No. 1 control unit controls the switch tube Q1 to open, the parallelizer obtains the current C1 of the No. 1 battery pack, the current C2 of the No. 2 battery pack, the voltage V1 of the No. 1 battery pack and the voltage V2 of the No. 2 battery pack through the 485 bus, the current output or input of the parallelizer is recorded as current C3, and the parallelizer is preset with a setting that allows the No. 1 battery pack to be connected with the No. 2 battery pack. The parallel device is preset with a minimum voltage V3 that allows battery group 1 and battery group 2 to be charged in parallel; the method comprises:

[0019] In the external discharging or internal charging step, the connection point between the second switch end of the switch tube Q2 and the second switch end of the switch tube Q1 is connected to the positive electrode of the electrical device or the charger, and the level states of the enable terminal EN1 and the enable terminal EN2 are controlled according to the relationship between the current C1, the current C2, the current C3, and the current C4, and the relationship between the voltage V1, the voltage V2, and the voltage V3, so as to control one of the switch tube Q1 and the switch tube Q2 to be turned on or both of them to be turned on.

[0020] The principle of the above method is as follows:

[0021] See also Figure 1, in the parallel discharge state, the voltage of pin 1 of the control unit is greater than or equal to the voltage of pin 3. The output of pin 2 of the control unit is high, and the discharge MOS is turned on. When the MOS is on, after the reverse current flowing through Q1 (the current flows from pin 3 to pin 1) exceeds the current setting value of the control unit, the discharge MOS is turned off. When the voltage of pin 1 is greater than or equal to the voltage of pin 3, the control unit outputs high again, and the discharge MOS is turned on. For the convenience of explanation, switches K1 and K2 are added in the figure to indicate the switching states of the two MOS transistors. Assume that the voltage of battery pack #2 is greater than that of battery pack #1. When K1 is closed, battery pack #1 discharges to the load. At this time, when K2 is closed, since U1 < U2, battery pack #2 charges battery pack #1. When the charging current exceeds the internal hardware current setting value of control unit #1, the output of pin 2 of control unit #1 is low, turning off Q1 to block the reverse current. At this time, only battery pack #2 discharges to the outside. When the voltage of pin 1 of control unit #1 is greater than or equal to the voltage of pin 3, Q1 is turned on, and battery packs #1 and #2 discharge to the load simultaneously, thus meeting the requirement of automatic parallel discharge.

[0022] Please refer to Figure 2 , in the parallel charging state, when the voltage of pin 1 of the control unit is greater than or equal to the voltage of pin 3, the output of pin 2 of the control unit is high voltage, and the charging MOS is turned on. When the MOS is on, after the reverse current flowing through Q3 (the current flowing from pin 3 to pin 1) exceeds the setting value of the control unit, Q3 is turned off. When the voltage of pin 1 is less than or equal to the voltage of pin 3, the control unit outputs high, and Q3 is turned on again. For the convenience of explanation, switches K1 and K2 are added in the figure to indicate the switching states of the two MOS transistors. Assume that the voltage of battery pack #1 is greater than that of battery pack #2. When K1 is closed, the charger charges battery pack #1. When K2 is closed, since U2 < U1, battery pack #1 charges battery pack #2. When the reverse current flowing through Q3 (the current flows from pin 3 to pin 1) exceeds the internal hardware current setting value of control unit #1, Q3 is turned off to block the reverse current. At this time, the charger only charges battery pack #2, and at the same time, the voltage of pin 1 of control unit #1 is less than the voltage of pin 3. When it is charged to the voltage of pin 1 of control unit #1 is greater than or equal to the voltage of pin 3, Q3 is turned on, and the charger charges battery packs #1 and #2 simultaneously, thus meeting the requirement of automatic parallel charging.

[0023] Based on the above principle, it can be seen that the parallelizer in the present invention reads the current data of battery pack #1 and battery pack #2 through the 485 bus, judges the magnitude of the mutual charging current of the current battery through the current data of the two battery packs, and when the mutual charging current of the two battery packs exceeds the setting value inside the parallelizer, the parallelizer cuts off the mutual charging path. At the same time, the magnitude of the maximum mutual charging current of the hardware is also set inside the parallelizer, which can quickly handle abnormal mutual charging faults, greatly reducing potential safety hazards and better meeting the application requirements.

[0024] In this embodiment, the external discharge process includes the following steps:

[0025] Step S10, the connection point between the second switch end of the switch tube Q2 and the second switch end of the switch tube Q1 is connected to the electrical equipment, and then initially powered on, so that the enable terminal EN1 is at a high level H, and the enable terminal EN2 is at a high level H;

[0026] Step S11, the parallelizer reads the current C1, the current C2, the voltage V1 and the voltage V2 through the 485 bus;

[0027] Step S12, the parallel device determines whether the current C1*current C2 is less than 0. If it is less than 0, it means that the No. 1 battery pack and the No. 2 battery pack have a mutual charging current, and step S13 is executed;

[0028] Step S13, the parallel device determines which one of the currents C1 and C2 is positive, and records it as the mutual charging current Cx, where Cx>0;

[0029] Step S14, if the mutual charging current Cx is the current C1, and |the mutual charging current Cx|>the current C4, the enable terminal EN1 is set to a high level H, and the enable terminal EN2 is set to a low level L; if not, both the enable terminal EN1 and the enable terminal EN2 are set to a high level H; if the mutual charging current Cx is the current C2, and |the mutual charging current Cx|>the current C4, the enable terminal EN1 is set to a low level L, and the enable terminal EN2 is set to a high level H; if not, both the enable terminal EN1 and the enable terminal EN2 are set to a high level H;

[0030] Step S15, the parallel device determines whether the absolute value of the voltage V1-voltage V2 is less than the voltage V3. If so, it indicates that the parallel discharge can be performed. At this time, both the enable terminal EN1 and the enable terminal EN2 are set to a high level H; otherwise, the state of step S14 is maintained;

[0031] Then return to execute step S11.

[0032] As a preferred method, the internal charging process includes the following steps:

[0033] Step S20, the connection point between the second switch end of the switch tube Q2 and the second switch end of the switch tube Q1 is connected to the charger, and then initially powered on, so that the enable terminal EN1 is at a high level H, and the enable terminal EN2 is at a high level H;

[0034] Step S21, the parallelizer reads the current C1, the current C2, the voltage V1 and the voltage V2 through the 485 bus;

[0035] Step S22, the parallel device determines whether the current C1*current C2 is less than 0. If it is less than 0, it means that the No. 1 battery pack and the No. 2 battery pack have a mutual charging current, and step S23 is executed;

[0036] Step S23, the parallel device determines that the current C1 and the current C2 are negative, which is recorded as the mutual charging current Cx, where Cx>0;

[0037] Step S24, if the mutual charging current Cx is the current C1, and |the mutual charging current Cx|>the current C4, the enable terminal EN1 is set to a low level L, and the enable terminal EN2 is set to a high level H; if not, both the enable terminal EN1 and the enable terminal EN2 are set to a high level H; if the mutual charging current Cx is the current C2, and |the mutual charging current Cx|>the current C4, the enable terminal EN1 is set to a high level H, and the enable terminal EN2 is set to a low level L; if not, both the enable terminal EN1 and the enable terminal EN2 are set to a high level H;

[0038] Step S25, the parallel device determines whether the absolute value of the voltage V1-voltage V2 is less than the voltage V3. If so, it indicates that parallel charging is possible, and the enable terminal EN1 and the enable terminal EN2 are both set to a high level H; otherwise, the state of step S24 is maintained;

[0039] Then return to execute step S21.

[0040] In addition, the present invention also includes a stationary step with current C1+current C2=0:

[0041] Step S30, the second switch end of the switch tube Q2 is connected to the second switch end of the switch tube Q1, and then initially powered on, so that the enable end EN1 is at a high level H, and the enable end EN2 is at a high level H;

[0042] Step S31, the parallelizer reads the current C1, the current C2, the voltage V1 and the voltage V2 through the 485 bus;

[0043] Step S31, the parallel device determines whether the current C1*current C2 is less than 0. If it is less than 0, it means that the No. 1 battery pack and the No. 2 battery pack have a mutual charging current, and step S23 is executed;

[0044] Step S33, the parallel device determines the absolute value of the current C1 or the current C2, which is recorded as the mutual charging current Cx, where Cx>0;

[0045] Step S34, if |mutual charging current Cx|>current C4, both the enable terminal EN1 and the enable terminal EN2 are set to a low level L; if not, both the enable terminal EN1 and the enable terminal EN2 maintain the current state;

[0046] Step S35, the parallel device determines whether the absolute value of the voltage V1-voltage V2 is less than the voltage V3. If so, it indicates that parallel charging is possible, and the enable terminal EN1 and the enable terminal EN2 are both set to a high level H; otherwise, the state of step S34 is maintained;

[0047] Then return to execute step S31.

[0048] With respect to the above-mentioned external discharge process, internal charging process and static process, the present invention preferably uses the following embodiments for detailed explanation.

[0049] Embodiment 1

[0050] In this embodiment, when the mutual charging current of the two battery packs is less than the hardware setting value of the control unit, if the magnitude of the mutual charging current needs to be accurately controlled, the current, voltage and other data of the two battery packs need to be read through the 485 bus, and the switch state of the charging and discharging MOS needs to be controlled through the MCU. For ease of explanation, the following symbols are defined:

[0051] C1 is the current of battery pack #1, where a negative current indicates discharge and a positive current indicates charge;

[0052] C2 is the current of battery pack #2, where a negative current indicates discharge and a positive current indicates charge;

[0053] C3 is the current output or input of the parallel device, where a negative current indicates external discharge and a positive current indicates internal charging;

[0054] C4 is the maximum allowable mutual charging current set by the software;

[0055] V1 is the voltage of battery pack #1;

[0056] V2 is the voltage of battery pack #2;

[0057] V3 is the minimum voltage allowed for parallel connection.

[0058] First, see Figure 3 In the case of external discharge, EN1 and EN2 are set high, Q1 and Q2 are turned on, otherwise Q1 and Q2 are turned off. The specific operation process is as follows:

[0059] 1) Initial power-on, EN1 is H, EN2 is H (high level);

[0060] 2) The parallelizer reads C1, C2, V1, and V2 through the 485 bus;

[0061] 3) Determine whether C1*C2 is less than 0. If it is less than 0, it means that there is mutual charging current between the two groups of batteries, then execute step 4;

[0062] 4) Determine which of C1 and C2 is positive. The positive value indicates the magnitude of the mutual charging current, which is recorded as Cx (where Cx>0);

[0063] 5) If Cx is C1, |Cx|>C4, then EN1 is H and EN2 is L (low level), otherwise EN1 and EN2 are both H. If Cx is C2, and |Cx|>C4, then EN1 is L and EN2 is H, otherwise EN1 and EN2 are both H;

[0064] 6) Determine whether the absolute value of V1-V2 is less than V3. If it is less than V3, it means that parallel discharge is possible. At this time, EN1 is H and EN2 is H. Otherwise, maintain the state of step 5.

[0065] 7) Return to step 2.

[0066] Second, see Figure 4 In the case of internal charging, that is, C1+C2>0, the specific implementation process is as follows:

[0067] 1) Initial power-on, EN1 is H, EN2 is H;

[0068] 2) The parallelizer reads C1, C2, V1, and V2 through the 485 bus;

[0069] 3) Determine whether C1*C2 is less than 0. If it is less than 0, it means that there is mutual charging current between the two groups of batteries, then execute step 4;

[0070] 4) Determine which of C1 and C2 is negative. The negative value is the magnitude of the mutual charging current, recorded as Cx (where Cx<0);

[0071] 5) If Cx is C1 and |Cx|>C4, then EN1 is L and EN2 is H, otherwise both EN1 and EN2 are H. If Cx is C2 and |Cx|>C4, then EN1 is H and EN2 is L, otherwise both EN1 and EN2 are H;

[0072] 6) Determine whether the absolute value of V1-V2 is less than V3. If it is less than V3, it means that parallel charging is possible. At this time, EN1 is H and EN2 is H. Otherwise, maintain the state of step 5.

[0073] 7) Execute step 2 again.

[0074] Also, see Figure 5 This embodiment also involves a stationary situation, and the specific operation process is as follows:

[0075] 1) Initial power-on, EN1 is H, EN2 is H;

[0076] 2) The parallelizer reads C1, C2, V1, and V2 through the 485 bus;

[0077] 3) Determine whether C1*C2 is less than 0. If it is less than 0, it means that there is mutual charging current between the two groups of batteries, then execute step 4;

[0078] 4) Determine the absolute value of C1 or C2, which is the magnitude of the mutual charging current, recorded as Cx;

[0079] 5) If |Cx|>C4, EN1 is L and EN2 is L, otherwise EN1 and EN2 maintain their previous states;

[0080] 6) Determine whether the absolute value of V1-V2 is less than V3. If it is less than V3, it means that parallel charging is possible. At this time, EN1 is H and EN2 is H. Otherwise, maintain the state of step 5.

[0081] 7) Execute step 2 again.

[0082] Based on the above dual battery management method, the present invention also relates to a dual battery management system based on 485 communication, Figure 5 As shown, the system includes a parallel device, a No. 1 battery pack and a No. 2 battery pack. The parallel device includes 1 A control unit No. 1, a control unit No. 2, a switch tube Q1 and a switch tube Q2, wherein the first switch end of the switch tube Q1 is connected to the positive electrode of the No. 1 battery pack, the control end of the switch tube Q1 is connected to the No. 1 control unit, the first switch end of the switch tube Q2 is connected to the positive electrode of the No. 2 battery pack, the control end of the switch tube Q2 is connected to the No. 2 control unit, the second switch end of the switch tube Q2 is connected to the second switch end of the switch tube Q1, the No. 1 control unit includes an enable end EN1, the No. 2 control unit includes an enable end EN2, the No. 1 control unit controls the switch tube Q1 to turn on, the parallelizer obtains the current C1 of the No. 1 battery pack, the current C2 of the No. 2 battery pack, the voltage V1 of the No. 1 battery pack and the voltage V2 of the No. 2 battery pack through the 485 bus, the current output or input of the parallelizer is recorded as the current C3, the parallelizer is preset with a maximum current C4 that allows the No. 1 battery pack and the No. 2 battery pack to charge each other, and the parallelizer is preset with a minimum voltage V3 that allows the No. 1 battery pack and the No. 2 battery pack to charge in parallel;

[0083] The parallel device is used to: in the external discharging or internal charging step, connect the connection point of the second switch end of the switch tube Q2 and the second switch end of the switch tube Q1 to the positive electrode of the electrical equipment or the charger, and control the level states of the enable terminal EN1 and the enable terminal EN2 according to the relationship between the current C1, the current C2, the current C3, and the current C4, and the relationship between the voltage V1, the voltage V2, and the voltage V3, so as to control one of the switch tube Q1 and the switch tube Q2 to be turned on or turned on at the same time.

[0084] Furthermore, the switch tube Q1 and the switch tube Q2 are both MOS tubes.

[0085] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions or improvements made within the technical scope of the present invention should be included in the scope of protection of the present invention.

Claims

1. A dual battery management method based on 485 communication, characterized in that: The method is implemented based on a parallelizer, a No. 1 battery pack and a No. 2 battery pack. The parallelizer includes a No. 1 control unit, a No. 2 control unit, a switch tube Q1 and a switch tube Q2. The first switch end of the switch tube Q1 is connected to the positive electrode of the No. 1 battery pack, the control end of the switch tube Q1 is connected to the No. 1 control unit, the first switch end of the switch tube Q2 is connected to the positive electrode of the No. 2 battery pack, the control end of the switch tube Q2 is connected to the No. 2 control unit, the second switch end of the switch tube Q2 is connected to the second switch end of the switch tube Q1, and the No. 1 control unit includes an enable The parallelizer obtains the current C1 of the No. 1 battery group, the current C2 of the No. 2 battery group, the voltage V1 of the No. 1 battery group and the voltage V2 of the No. 2 battery group through the 485 bus. The current output or input of the parallelizer is recorded as the current C3. The parallelizer is preset with the maximum current C4 that allows the No. 1 battery group and the No. 2 battery group to charge each other. The parallelizer is preset with the minimum voltage V3 that allows the No. 1 battery group and the No. 2 battery group to charge in parallel. The method comprises: In the external discharge or internal charging step, the connection point between the second switch end of the switch tube Q2 and the second switch end of the switch tube Q1 is connected to the positive electrode of the electrical device or the charger, and the level states of the enable terminal EN1 and the enable terminal EN2 are controlled according to the mutual relationship among the current C1, the current C2, the current C3, and the current C4, and the mutual relationship among the voltage V1, the voltage V2, and the voltage V3, so as to control one of the switch tube Q1 and the switch tube Q2 to be turned on or both of them to be turned on; It also includes a stationary step where current C1 + current C2 = 0: Step S30, the second switch end of the switch tube Q2 is connected to the second switch end of the switch tube Q1, and then initially powered on, so that the enable end EN1 is at a high level H, and the enable end EN2 is at a high level H; Step S31, the parallelizer reads the current C1, the current C2, the voltage V1 and the voltage V2 through the 485 bus; Step S31, the parallel device determines whether the current C1*current C2 is less than 0. If it is less than 0, it means that the No. 1 battery pack and the No. 2 battery pack have a mutual charging current, and step S23 is executed; Step S33, the parallel device determines the absolute value of the current C1 or the current C2, which is recorded as the mutual charging current Cx, where Cx>0; Step S34, if |mutual charging current Cx|>current C4, both the enable terminal EN1 and the enable terminal EN2 are set to a low level L; if not, both the enable terminal EN1 and the enable terminal EN2 maintain the current state; Step S35, the parallel device determines whether the absolute value of the voltage V1-voltage V2 is less than the voltage V3. If so, it indicates that parallel charging is possible, and the enable terminal EN1 and the enable terminal EN2 are both set to a high level H; otherwise, the state of step S34 is maintained; Then return to execute step S31.

2. The dual battery management method based on 485 communication as claimed in claim 1, characterized in that: The external discharge process includes the following steps: Step S10, the connection point between the second switch end of the switch tube Q2 and the second switch end of the switch tube Q1 is connected to the electrical equipment, and then initially powered on, so that the enable terminal EN1 is at a high level H, and the enable terminal EN2 is at a high level H; Step S11, the parallelizer reads the current C1, the current C2, the voltage V1 and the voltage V2 through the 485 bus; Step S12, the parallel device determines whether the current C1*current C2 is less than 0. If it is less than 0, it means that the No. 1 battery pack and the No. 2 battery pack have a mutual charging current, and step S13 is executed; Step S13, the parallel device determines which one of the currents C1 and C2 is positive, and records it as the mutual charging current Cx, where Cx>0; Step S14, if the mutual charging current Cx is the current C1, and |the mutual charging current Cx|>the current C4, the enable terminal EN1 is set to a high level H, and the enable terminal EN2 is set to a low level L; if not, both the enable terminal EN1 and the enable terminal EN2 are set to a high level H; if the mutual charging current Cx is the current C2, and |the mutual charging current Cx|>the current C4, the enable terminal EN1 is set to a low level L, and the enable terminal EN2 is set to a high level H; if not, both the enable terminal EN1 and the enable terminal EN2 are set to a high level H; Step S15, the parallel device determines whether the absolute value of the voltage V1-voltage V2 is less than the voltage V3. If so, it indicates that the parallel discharge can be performed. At this time, both the enable terminal EN1 and the enable terminal EN2 are set to a high level H; otherwise, the state of step S14 is maintained; Then return to execute step S11.

3. The dual battery management method based on 485 communication as claimed in claim 1, characterized in that: The internal charging process includes the following steps: Step S20, the connection point between the second switch end of the switch tube Q2 and the second switch end of the switch tube Q1 is connected to the charger, and then initially powered on, so that the enable terminal EN1 is at a high level H, and the enable terminal EN2 is at a high level H; Step S21, the parallelizer reads the current C1, the current C2, the voltage V1 and the voltage V2 through the 485 bus; Step S22, the parallel device determines whether the current C1*current C2 is less than 0. If it is less than 0, it means that the No. 1 battery pack and the No. 2 battery pack have a mutual charging current, and step S23 is executed; Step S23, the parallel device determines that the current C1 and the current C2 are negative, which is recorded as the mutual charging current Cx, where Cx>0; Step S24, if the mutual charging current Cx is the current C1, and |the mutual charging current Cx|>the current C4, the enable terminal EN1 is set to a low level L, and the enable terminal EN2 is set to a high level H; if not, both the enable terminal EN1 and the enable terminal EN2 are set to a high level H; if the mutual charging current Cx is the current C2, and |the mutual charging current Cx|>the current C4, the enable terminal EN1 is set to a high level H, and the enable terminal EN2 is set to a low level L; if not, both the enable terminal EN1 and the enable terminal EN2 are set to a high level H; Step S25, the parallel device determines whether the absolute value of the voltage V1-voltage V2 is less than the voltage V3. If so, it indicates that parallel charging is possible, and the enable terminal EN1 and the enable terminal EN2 are both set to a high level H; otherwise, the state of step S24 is maintained; Then return to execute step S21.

4. A dual battery management system based on 485 communication for implementing the method described in claim 1, characterized in that: The system includes a parallelizer, a No. 1 battery pack and a No. 2 battery pack. The parallelizer includes a No. 1 control unit, a No. 2 control unit, a switch tube Q1 and a switch tube Q2. The first switch end of the switch tube Q1 is connected to the positive electrode of the No. 1 battery pack, the control end of the switch tube Q1 is connected to the No. 1 control unit, the first switch end of the switch tube Q2 is connected to the positive electrode of the No. 2 battery pack, the control end of the switch tube Q2 is connected to the No. 2 control unit, the second switch end of the switch tube Q2 is connected to the second switch end of the switch tube Q1, and the No. 1 control unit includes The parallel device includes an enable terminal EN1, the control unit No. 2 includes an enable terminal EN2, the control unit No. 1 controls the switch tube Q1 to open, the parallel device obtains the current C1 of the battery group No. 1, the current C2 of the battery group No. 2, the voltage V1 of the battery group No. 1 and the voltage V2 of the battery group No. 2 through the 485 bus, the current output or input of the parallel device is recorded as the current C3, the parallel device is preset with a maximum current C4 that allows the battery group No. 1 and the battery group No. 2 to charge each other, and the parallel device is preset with a minimum voltage V3 that allows the battery group No. 1 and the battery group No. 2 to charge in parallel; The parallel device is used to: in the external discharging or internal charging step, connect the connection point of the second switch end of the switch tube Q2 and the second switch end of the switch tube Q1 to the positive electrode of the electrical equipment or the charger, and control the level states of the enable terminal EN1 and the enable terminal EN2 according to the relationship between the current C1, the current C2, the current C3, and the current C4, and the relationship between the voltage V1, the voltage V2, and the voltage V3, so as to control one of the switch tube Q1 and the switch tube Q2 to be turned on or turned on at the same time.

5. The dual battery management system based on 485 communication as claimed in claim 4, characterized in that: The switch tube Q1 and the switch tube Q2 are both MOS tubes.