Vehicle double-battery voltage regulating system and method based on cascade PID (Proportion Integration Differentiation) control
By adopting a vehicle dual-battery voltage regulation system based on cascade PID control in smart cars, the stability of low-voltage battery power supply and the reliability of autonomous driving functions are achieved, and the problems of insufficient low-voltage battery power supply and imbalance of dual-battery voltage are solved. , improves the power supply stability and charging efficiency of the system.
Patent Information
- Application Number
- CN202411113669.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-12-03
AI Technical Summary
The existing technology has insufficient power supply stability in smart cars, resulting in abnormal autonomous driving functions. The dual-battery power supply solution is difficult to stabilize due to voltage imbalance problem, so how to achieve voltage balance is of great significance.
The vehicle dual-battery voltage regulation system based on cascade PID control is adopted. By monitoring the status of the main low-voltage lithium battery, auxiliary low-voltage lithium battery and high-voltage lithium battery, the vehicle computing center and controller are used to perform dual closed-loop cascade PID control, and dynamically adjust it. The target charging and discharging voltage of the charging and discharging distribution unit achieves voltage balance.
It improves the system power supply stability, provides power redundancy guarantee for scenarios such as advanced autonomous driving, avoids battery failure problems, refined adjustment of dual-battery voltage balance, improves charging efficiency, and reduces costs.
Smart Images

Figure CN119058477A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of new energy vehicles, and in particular, relates to a vehicle dual-battery voltage regulation system and method based on cascade PID control. Background Art
[0002] With the rapid development of smart cars, more and more electrical appliances are integrated into vehicles, which improves the user experience. However, with the increase in load, the low-voltage battery power supply required for the functional safety of the vehicle is insufficiently stable or even underpowered. For example, autonomous driving requires a stable power supply from a low-voltage battery. Low battery power will cause abnormal autonomous driving functions. The L3 high-level intelligent driving has a high safety level, and the number of related sensors and radars has increased. The discharge power of the low-voltage battery needs to be improved urgently. In addition, the functional complexity increases, the network segment load rate is too high, and communication loss is inevitable. For example, if the high voltage is increased or decreased instantly, once the low-voltage battery fails, the related sensors will not be powered in time, which will also affect the autonomous driving related functions and cause safety hazards.
[0003] Existing technologies for solving low-voltage battery power feeding mostly adopt the approach of increasing battery capacity, which reduces the risk of power feeding to a certain extent, but cannot avoid the problem of battery failure; the current solution for low-voltage battery failure is mostly to power the low-voltage components of intelligent driving through DCDC backup, but here the power supply is indirectly controlled by software, which is far less stable than the physical power supply of the battery, and will affect the instantaneous response speed of intelligent driving related functions; in order to meet the low-voltage power supply needs of application scenarios such as high-level intelligent driving, a dual-battery power supply solution has also been introduced, but as the power supply circuit becomes complicated, dual-battery voltage imbalance problems occur frequently, making power supply more difficult to stabilize; therefore, how to finely adjust the voltage balance between the two according to the vehicle operating conditions and the status of the dual batteries is of great research significance. Summary of the invention
[0004] The present invention aims to overcome the shortcomings of the prior art and proposes a vehicle dual-battery voltage regulation system and method based on cascade PID control to achieve the following objectives: the system and method of the present invention are used to achieve voltage balance of the dual batteries of an electric vehicle, thereby improving the power supply stability of the system and improving the reliability of functions such as automatic driving.
[0005] In order to achieve the above-mentioned purpose, the technical solution adopted by the present invention is: a vehicle dual-battery voltage regulation system based on cascade PID control, the system includes a main low-voltage lithium battery, an auxiliary low-voltage lithium battery, a high-voltage lithium battery, a high-voltage lithium battery management system, a main low-voltage lithium battery management system, an auxiliary low-voltage lithium battery management system, a left domain controller, a right domain controller, a vehicle computing center, a vehicle controller, a charge and discharge distribution unit, a drive controller, and a battery isolation module, wherein:
[0006] The main low-voltage lithium battery and the auxiliary low-voltage lithium battery are both used to supply power to the low-voltage load;
[0007] The high-voltage lithium battery is used to supply power to the charge-discharge power distribution unit, and at the same time supplies power to the high-voltage load through the control of the drive controller;
[0008] The main low-voltage lithium battery management system is used to monitor the status of the main low-voltage lithium battery;
[0009] The auxiliary low-voltage lithium battery management system is used to monitor the status of the auxiliary low-voltage lithium battery;
[0010] The high-voltage lithium battery management system is used to monitor the state of the high-voltage lithium battery and control the power output of the high-voltage lithium battery to the charging and discharging distribution unit according to the high-voltage power-on state of the vehicle;
[0011] The left domain controller is used to send the vehicle power status and the auxiliary low-voltage lithium battery status monitored by the auxiliary low-voltage lithium battery management system to the vehicle computing center;
[0012] The right domain controller is used to send the main low-voltage lithium battery status monitored by the main low-voltage lithium battery management system to the vehicle computing center;
[0013] The vehicle computing center is used to dynamically adjust the target charge and discharge voltage of the charge and discharge distribution unit through double closed-loop cascade PID control according to the status of the main low-voltage lithium battery, the status of the auxiliary low-voltage lithium battery, and the status of the battery isolation module, and send it to the vehicle controller;
[0014] The vehicle controller is used to realize high-voltage power-on by controlling the high-voltage lithium battery management system and the charge-discharge distribution unit when receiving the target charge-discharge voltage and detecting that the vehicle meets the high-voltage power-on condition, wherein the charge-discharge distribution unit operates according to the target charge-discharge voltage;
[0015] The charging and discharging power distribution unit is used to collect the high-voltage power-on status of the whole vehicle, and in combination with the control command of the whole vehicle controller, to supply power to the main low-voltage lithium battery, the auxiliary low-voltage lithium battery and the low-voltage load according to the target charging and discharging voltage;
[0016] The battery isolation module is used to control the connection and disconnection between the charge and discharge power distribution unit and the auxiliary low-voltage lithium battery.
[0017] Preferably, the system is provided with a high-voltage pre-charging circuit, which includes a main positive relay, a main negative relay, a pre-charging relay, a pre-charging resistor, and a pre-charging capacitor, wherein the pre-charging relay is connected in series with the pre-charging resistor and then in parallel with the main positive relay, and the whole after parallel connection is connected in series between the positive output terminal of the high-voltage lithium battery and one end of the pre-charging capacitor; the main negative relay is connected in series between the other end of the pre-charging capacitor and the negative output terminal of the high-voltage lithium battery; the pre-charging capacitor is built into the drive controller; and the on and off of the main positive relay, the main negative relay, and the pre-charging relay are controlled by the high-voltage lithium battery management system.
[0018] Preferably, the system is provided with a pre-charging management mechanism when high voltage is powered on: when the high voltage of the whole vehicle is powered on, the whole vehicle controller sends a high voltage command to the high voltage lithium battery management system, and the high voltage lithium battery management system controls the main positive relay to be disconnected and the pre-charging relay to be closed. At this time, the charging and discharging distribution unit boosts the output voltage of the main low voltage battery and the auxiliary low voltage battery and supplies power to the circuit where the drive controller is located, thereby charging the pre-charging capacitor. After the pre-charging is completed, the high voltage lithium battery management system controls the main positive relay to be closed and the pre-charging relay to be disconnected to complete the high voltage power-on.
[0019] Preferably, the charging and discharging power distribution unit includes a control unit and a DCDC converter, the control unit is used to collect the high-voltage power-on status of the whole vehicle, and control the DCDC converter in combination with the control command of the whole vehicle controller, the control unit is connected to the DCDC converter and the whole vehicle controller; the DCDC converter is connected to the high-voltage lithium battery, the main low-voltage lithium battery, the auxiliary low-voltage lithium battery, and the low-voltage load to achieve voltage conversion.
[0020] At the same time, the present invention also proposes a vehicle dual battery voltage regulation method based on cascade PID control, the method is applied to the above-mentioned vehicle dual battery voltage regulation system based on cascade PID control, and the method includes the following steps:
[0021] S1. Processing the battery status information monitored by the main low-voltage lithium battery management system and the auxiliary low-voltage lithium battery management system through an RC filter;
[0022] S2. Set the battery target SOC according to the vehicle power state. If the vehicle power state is Off or Comfortable, use the static target SOC, otherwise use the dynamic target SOC;
[0023] S3. According to the state of the main low-voltage lithium battery, the state of the auxiliary low-voltage lithium battery, and the state of the battery isolation module, the target charge and discharge voltage of the charge and discharge distribution unit is adjusted through dual closed-loop cascade PID control to achieve charge and discharge voltage balance of the main and auxiliary low-voltage lithium batteries; the dual closed-loop cascade PID control includes two PID controllers connected in series, namely the front-stage PI loop and the secondary PI loop, and at the same time, the target charge and discharge current is introduced as an intermediate control variable; wherein the difference between the actual SOC of the current battery and the target SOC is used as the input of the front-stage PI loop, that is, the target charge and discharge current is calculated by using the front-stage PI loop as a SOC closed-loop compensator; the difference between the actual current of the current battery and the target charge and discharge current is used as the input of the secondary PI loop, that is, the target charge and discharge voltage is calculated by using the front-stage PI loop as a current closed-loop compensator;
[0024] S4. When the high voltage is powered on, the charge and discharge distribution unit operates according to the target charge and discharge voltage. When the target charge and discharge voltage is less than the low-voltage lithium battery's own voltage, the low-voltage lithium battery discharges to the outside; when the target charge and discharge voltage is greater than or equal to the low-voltage lithium battery's own voltage, the low-voltage lithium battery charges.
[0025] Preferably, in step S1, the RC filter adopts a first-order filtering algorithm, and its formula is as follows:
[0026] Y(n)=α * X(n)+(1-α)Y(n-1);
[0027] Among them, α is the filter coefficient, X(n) is the current sampling value, Y(n-1) is the previous filter output value, Y(n) is the current filter output value, and n is used to identify the item in the input and output sequence;
[0028] The filter coefficient α is set as follows: First, U=IR, Q=It, C=Q / U is differentiated to obtain the differential equation:
[0029]
[0030] So we get the filter coefficient Where U is voltage, I is current, t represents the time taken for the charge Q to flow, R is impedance, T is the filter calculation period, C is capacitance, and Q is the charge.
[0031] Preferably, the step S3 specifically includes the following sub-steps:
[0032] S31, according to the difference between the current main low-voltage lithium battery SOC and the target SOC, or the difference between the auxiliary low-voltage lithium battery SOC and the target SOC, perform PI closed-loop control, i.e., SOC compensator, obtain target charge and discharge current, and limit the target charge and discharge current;
[0033] S32. According to the difference between the current main low-voltage lithium battery current and the target charge and discharge current, or the difference between the auxiliary low-voltage lithium battery current and the target charge and discharge current, a PID closed-loop control, i.e., a current compensator, is performed to obtain a target charge and discharge voltage, and a limit processing is performed on the target charge and discharge voltage.
[0034] Preferably, the target charge and discharge current and voltage limits are processed, that is, the target charge and discharge current and voltage are ensured to be within the internal current and voltage limits, and the internal current and voltage limits are realized by a pre-calibrated two-dimensional MAP table, wherein the independent variables of the two-dimensional MAP table are the temperature and SOC of the low-voltage lithium battery, respectively, and the internal current limit and internal voltage limit of the current battery during charging and discharging are calculated according to the temperature and SOC; at the same time, when calculating the internal current limit and voltage limit, the upper and lower current limits and the upper and lower voltage limits set by the low-voltage lithium battery management system are also referred to; when the battery isolation module is closed, the final internal voltage limit should be the minimum value of the internal voltage limits of the main low-voltage lithium battery and the auxiliary low-voltage lithium battery, and when the battery isolation module is disconnected, the final internal voltage limit is equal to the internal voltage limit of the main low-voltage lithium battery.
[0035] Preferably, according to the status of the main low-voltage lithium battery, the status of the auxiliary low-voltage lithium battery, and the status of the battery isolation module, step S3 includes the following application situations:
[0036] Case 1: When the battery isolation module is disconnected and there is a voltage balance request and the voltage of the main low-voltage lithium battery is higher than that of the auxiliary low-voltage lithium battery, the main low-voltage lithium battery is discharged until the voltages of the two are balanced. When the voltage difference between the main low-voltage lithium battery and the auxiliary low-voltage lithium battery exceeds a preset value, it is considered that a voltage balance request is issued;
[0037] Case 2: When the battery isolation module is disconnected and there is a voltage balance request and the voltage of the main low-voltage lithium battery is lower than that of the auxiliary low-voltage lithium battery, the main low-voltage lithium battery is charged until the voltages of the two are balanced;
[0038] Case 3: When the battery isolation module is disconnected and there is no voltage balancing request, the auxiliary low-voltage lithium battery is ignored, and the target charge and discharge voltage of the main low-voltage lithium battery is calculated by the SOC compensator and the current compensator as the target charge and discharge voltage of the final charging distribution unit;
[0039] Case 4: When the battery isolation module is closed, the target charge and discharge voltages of the main low-voltage lithium battery and the auxiliary low-voltage lithium battery are calculated by the SOC compensator and the current compensator respectively, and the minimum value of the two voltages is taken as the target charge and discharge voltage of the final charging distribution unit.
[0040] Preferably, in step S3, the closed-loop compensation adopts a PID control algorithm, and its formula is as follows:
[0041]
[0042] In the formula, K p is the proportionality coefficient, is the integration coefficient, is the differential coefficient, u(k) refers to the control at the kth sampling moment, e(k) refers to the deviation at the kth sampling moment, T is the sampling period, T i is the integration time, T d is the differential time;
[0043] The attenuation curve method is used to calculate the parameter K p , K i and K d To perform tuning, follow the steps below:
[0044] a) First, set the integral time to the maximum and the differential time to zero to make the control system run; set the attenuation proportionality K pr Amplify, then gradually reduce the attenuation ratio K pr , observe the output of the regulator and the fluctuation of the control process until the attenuation ratio K is found pr Until the attenuation process reaches 4:1;
[0045] b) Measure the decay period and the rise time T of the first peak r , and its operation steps are the same as those of step a);
[0046] c) According to the attenuation ratio K pr and decay period T r , and then select PID parameters according to the controller type, where PI control corresponds to K p =1.2K pr ; T i =0.5T r , PID control corresponds to K p =0.8K pr ; T i =0.3T pr , T d =0.1T pr , and then through K is calculated by the formula i Integration coefficient and K d Differentiation coefficient.
[0047] The technical effects of the present invention are:
[0048] 1. Low-voltage power supply through dual battery circuits provides power redundancy for scenarios such as high-level autonomous driving, avoiding battery failure problems;
[0049] 2. Finely adjust the dual battery voltage balance according to the battery isolation module and the dual battery status to make the power supply more stable. Based on the dual closed-loop cascade PID control, the target charging voltage can change dynamically with the battery SOC and current to improve the charging efficiency;
[0050] 3. The low-voltage battery is discharged to the high-voltage circuit capacitor through reverse boosting by the charge and discharge distribution unit to replace the traditional high-voltage pre-charging circuit, thus reducing costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 A structural diagram of a vehicle dual-battery voltage regulation system based on cascade PID control provided in an embodiment of the present application;
[0052] Figure 2 A charging, discharging and power supply schematic diagram of a vehicle dual-battery voltage regulation system based on cascade PID control provided in an embodiment of the present application;
[0053] Figure 3 A cascade PID control principle diagram of a vehicle dual battery voltage regulation system based on cascade PID control provided in an embodiment of the present application;
[0054] Figure 4 A charge and discharge voltage regulation flow chart of a vehicle dual battery voltage regulation system based on cascade PID control provided in an embodiment of the present application. DETAILED DESCRIPTION
[0055] The following is a further detailed description of the specific implementation of the present invention by describing the embodiments with reference to the accompanying drawings, with the purpose of helping those skilled in the art to have a more complete, accurate and in-depth understanding of the inventive concept and technical solution of the present invention and to facilitate its implementation. In order to make the technical solution of the present invention clearer, the present invention is explained by the following embodiments.
[0056] A vehicle dual battery voltage regulation system based on cascade PID control, such as Figure 1 As shown, the system includes a main low-voltage lithium battery, an auxiliary low-voltage lithium battery, a high-voltage lithium battery, a high-voltage lithium battery management system (BMS), a main low-voltage lithium battery management system (RLBMS), an auxiliary low-voltage lithium battery management system (FLBMS), a left domain controller (FLZCU), a right domain controller (FRZCU), a vehicle computing center (VCC), a vehicle controller (VCU), a charge and discharge distribution unit (CDU), a drive controller (MCU), and a battery isolation module (PNG).
[0057] Specifically, the auxiliary low-voltage lithium battery is connected to the left domain controller through the auxiliary low-voltage lithium battery management system; the main low-voltage lithium battery is connected to the right domain controller through the main low-voltage lithium battery management system; the whole vehicle computing center is respectively connected to the left domain controller, the right domain controller, and the whole vehicle controller; the whole vehicle controller is respectively connected to the high-voltage lithium battery management system and the charge and discharge distribution unit; the high-voltage lithium battery management system is connected to the high-voltage lithium battery; the high-voltage lithium battery is connected to the high-voltage load through the drive controller; the charge and discharge distribution unit is respectively connected to the high-voltage lithium battery, the main low-voltage lithium battery, and the low-voltage load; the charge and discharge distribution unit is connected to the auxiliary low-voltage lithium battery through the battery isolation module.
[0058] The main low-voltage lithium battery and the auxiliary low-voltage lithium battery are both used to supply power to low-voltage loads. In this embodiment, the main low-voltage lithium battery and the auxiliary low-voltage lithium battery are connected in parallel and arranged at the left front and right rear positions of the vehicle respectively.
[0059] The high-voltage lithium battery is used to supply power to the charging and discharging power distribution unit, and at the same time supplies power to the high-voltage load through the control of the drive controller; in this embodiment, the high-voltage load is a motor, and the corresponding drive controller is a motor controller.
[0060] The main low-voltage lithium battery management system is used to monitor the status of the main low-voltage lithium battery; the auxiliary low-voltage lithium battery management system is used to monitor the status of the auxiliary low-voltage lithium battery.
[0061] The high-voltage lithium battery management system is used to monitor the status of the high-voltage lithium battery, and at the same time control the power output of the high-voltage lithium battery to the charging and discharging distribution unit according to the high-voltage power-on status of the entire vehicle.
[0062] The left domain controller is used to send the vehicle power status and the auxiliary low-voltage lithium battery status monitored by the auxiliary low-voltage lithium battery management system to the whole vehicle computing center; the right domain controller is used to send the main low-voltage lithium battery status monitored by the main low-voltage lithium battery management system to the whole vehicle computing center.
[0063] The vehicle computing center is used to dynamically adjust the target charging and discharging voltage of the charging and discharging distribution unit through double closed-loop cascade PID control according to information such as the main low-voltage lithium battery status, the auxiliary low-voltage lithium battery status, the battery isolation module status, and the vehicle power status, and send it to the vehicle controller.
[0064] The vehicle controller is used to achieve high voltage power-on by controlling the high-voltage lithium battery management system and the charge and discharge distribution unit when the target charge and discharge voltage is received and it is detected that the vehicle meets the high voltage conditions (for example, the high voltage conditions may include whether the initialization of each controller of the vehicle is completed, whether the high voltage pre-charging is completed, etc.), wherein the charge and discharge distribution unit operates according to the target charge and discharge voltage.
[0065] The charge and discharge distribution unit is used to collect the high-voltage power-on state of the vehicle, and combined with the control command of the vehicle controller, the main low-voltage lithium battery, the auxiliary low-voltage lithium battery and the low-voltage load are powered and output according to the target charge and discharge voltage; for example, in an embodiment, the charge and discharge distribution unit can convert the 400V\800V voltage output by the high-voltage lithium battery into a 13V adjustable voltage to charge the main low-voltage lithium battery, the auxiliary low-voltage lithium battery or to power the low-voltage load when the high-voltage of the vehicle is powered on. The charge and discharge distribution unit of this embodiment includes a control unit and a DCDC converter, the control unit is used to collect the high-voltage power-on state of the vehicle, and combined with the control command of the vehicle controller to control the DCDC converter, the control unit is connected to the DCDC converter and the vehicle controller; the DCDC converter is connected to the high-voltage lithium battery, the main low-voltage lithium battery, the auxiliary low-voltage lithium battery, and the low-voltage load to realize voltage conversion. The control unit can be a control chip such as ECU and CPU when it is specifically implemented.
[0066] The battery isolation module is used to control the connection and disconnection between the charge and discharge power distribution unit and the auxiliary low-voltage lithium battery. In this embodiment, when the voltage difference between the two sides of the battery isolation module exceeds 1V, the battery isolation module will be disconnected.
[0067] In this embodiment, the auxiliary low-voltage lithium battery management system and the left domain controller, the main low-voltage lithium battery management system and the right domain controller, the vehicle controller and the high-voltage lithium battery management system, and the vehicle controller and the charging and discharging distribution unit all communicate through the CAN bus, which is a commonly used communication method for the whole vehicle and has the advantages of low cost and high reliability; the left domain controller and the vehicle computing center, as well as the right domain controller and the vehicle computing center, both use Ethernet (ETH) based on Some / IP point-to-point dynamic communication, which has higher transmission efficiency and more stable transmission; the vehicle computing center and the vehicle controller communicate through the RTE virtual bus, which has the advantage of stronger real-time performance, thereby improving the system control efficiency.
[0068] References Figure 2As shown in the charging and discharging and power supply principle diagram, the high-voltage lithium battery, auxiliary low-voltage lithium battery, main low-voltage lithium battery, high-voltage load, and charging and discharging distribution unit are connected in parallel. In this embodiment, after the high voltage is powered on, the one with the highest terminal voltage among the charging and discharging distribution unit, auxiliary low-voltage lithium battery, and main low-voltage lithium battery constructs a corresponding load power supply circuit to supply power to the low-voltage load, realizing power supply redundancy backup. After the high voltage is powered off, the main lithium low-voltage battery and auxiliary lithium low-voltage battery supply power to the low-voltage load. In addition, refer to Figure 2 The system is also provided with a high-voltage pre-charge circuit, which includes a main positive relay, a main negative relay, a pre-charge relay, a pre-charge resistor, and a pre-charge capacitor, wherein the pre-charge relay is connected in series with the pre-charge resistor and then in parallel with the main positive relay, and the whole after parallel connection is connected in series between the positive output end of the high-voltage lithium battery and one end of the pre-charge capacitor; the main negative relay is connected in series between the other end of the pre-charge capacitor and the negative output end of the high-voltage lithium battery; the pre-charge capacitor is built in the drive controller; the main positive relay, the main negative relay, and the pre-charge relay are turned on and off by the high-voltage lithium battery management system.
[0069] Based on the above-mentioned high-voltage pre-charge circuit, the pre-charge management mechanism of the present invention during high-voltage power-on is as follows: when the whole vehicle is powered on at high voltage, the whole vehicle controller sends a high-voltage instruction to the high-voltage lithium battery management system, and the high-voltage lithium battery management system controls the main positive relay to disconnect and the pre-charge relay to close. At this time, the charge and discharge distribution unit boosts the output voltage of the main low-voltage battery and the auxiliary low-voltage battery and supplies power to the circuit where the drive controller is located, thereby charging the pre-charge capacitor. After the pre-charge is completed, the high-voltage lithium battery management system controls the main positive relay to close and the pre-charge relay to disconnect, completing the high-voltage power-on. The high-voltage circuit pre-charge management of the present invention prevents the contactor from being damaged due to overcurrent adhesion when the large capacitor of the motor controller is charged when the high voltage is on, thereby ensuring system safety.
[0070] Based on the above-mentioned dual-battery voltage regulation system, the present invention further proposes a vehicle dual-battery voltage regulation method based on cascade PID control. When the vehicle is powered on at high voltage, the charge and discharge distribution unit is controlled to convert the high voltage of the high-voltage battery into low voltage to supply power to the low-voltage load and charge the low-voltage battery. The reference voltage isolation switch state, vehicle power supply state, main and auxiliary low-voltage battery SOC (SOC represents battery state of charge), voltage and current and other information are used to adjust the target charge and discharge voltage of the charge and discharge distribution unit through dual closed-loop cascade PID control; when the target charge and discharge voltage is less than the low-voltage lithium battery's own voltage, the low-voltage lithium battery discharges to the outside; when the target charge and discharge voltage is greater than or equal to the low-voltage lithium battery's own voltage, the low-voltage lithium battery is charged. Reasonable calculation of the target charge and discharge voltage can achieve voltage balance after the main and auxiliary low-voltage lithium batteries are charged and discharged, involving input signal filtering processing, SOC, current compensator dual closed-loop cascade PID control, and PID setting mechanism, and specifically includes the following steps:
[0071] S1. Processing the battery status information monitored by the main low-voltage lithium battery management system and the auxiliary low-voltage lithium battery management system through an RC filter.
[0072] In step S1 of this embodiment, the RC filter adopts a first-order filtering algorithm, and its formula is as follows:
[0073] Y(n)=α * X(n)+(1-α)Y(n-1);
[0074] Among them, α is the filter coefficient, X(n) is the current sampling value, Y(n-1) is the last filter output value, Y(n) is the current filter output value, and n is used to identify the item in the input and output sequence. The filter coefficient α is the key. The smaller α is, the stronger the filter effect and the smoother the output curve. If it is too small, it will deviate from the true value.
[0075] The filter coefficient α is set as follows: First, U=IR, Q=It, C=Q / U is differentiated to obtain the differential equation:
[0076]
[0077] So we get the filter coefficient Where U is voltage, I is current, t represents the time taken for the charge Q to flow, R is impedance, T is the filter calculation period, C is capacitance, and Q is the charge.
[0078] S2. Set the battery target SOC according to the vehicle power state. If the vehicle power state is Off or Comfortable, use the static target SOC, otherwise (the vehicle power state is On) use the dynamic target SOC. The static target SOC of this embodiment is 100%, and the dynamic target SOC is 92%. Both can be flexibly changed according to actual conditions during implementation.
[0079] S3. According to the status of the main low-voltage lithium battery, the status of the auxiliary low-voltage lithium battery, and the status of the battery isolation module, the target charge and discharge voltage of the charge and discharge distribution unit is adjusted through double closed-loop cascade PID control to achieve charge and discharge voltage balance of the main and auxiliary low-voltage lithium batteries.
[0080] The dual closed-loop cascade PID control refers to a control strategy that uses two PID controllers working in series, in which the output of the outer loop controller is used as the set value of the inner loop controller, and is controlled by the output of the inner loop controller, thereby having a better control effect on the outer loop controlled quantity. Figure 3 The figure shows a schematic diagram of the cascade PID control of a dual-battery voltage regulation system for intelligent driving provided by an embodiment of the present application. The dual closed-loop cascade PID control of this embodiment includes two PID controllers connected in series, namely the front-stage PI loop and the secondary PI loop. At the same time, the target charge and discharge current is introduced as an intermediate control variable; wherein, the difference between the actual SOC of the current battery and the target SOC is used as the input of the front-stage PI loop, that is, the target charge and discharge current is calculated by the front-stage PI loop as a SOC closed-loop compensator; the difference between the actual current of the current battery and the target charge and discharge current is used as the input of the secondary PI loop, that is, the target charge and discharge voltage is calculated by the front-stage PI loop as a current closed-loop compensator. The control parameters of the PID are pre-set to ensure a stable increase in battery power and improve charging efficiency.
[0081] Step S3 of this embodiment includes the following sub-steps:
[0082] S31, according to the difference between the current main low-voltage lithium battery SOC and the target SOC, or the difference between the auxiliary low-voltage lithium battery SOC and the target SOC, perform PI closed-loop control, i.e., SOC compensator, obtain target charge and discharge current, and limit the target charge and discharge current;
[0083] S32. According to the difference between the current main low-voltage lithium battery current and the target charge and discharge current, or the difference between the auxiliary low-voltage lithium battery current and the target charge and discharge current, a PID closed-loop control, i.e., a current compensator, is performed to obtain a target charge and discharge voltage, and a limit processing is performed on the target charge and discharge voltage.
[0084] It should be noted that the limit processing of the target charge and discharge current and voltage, that is, to ensure that the target charge and discharge current and voltage are within the internal current and voltage limits, so that the charge and discharge voltage can be dynamically adjusted with the temperature, SOC and current changes, and finally the target value is output to control the stable growth of SOC. In this embodiment, the internal current and voltage limits are realized by a pre-calibrated two-dimensional MAP table (the voltage and current of the battery during charge and discharge can be calibrated respectively), wherein the independent variables of the two-dimensional MAP table are the temperature and SOC of the low-voltage lithium battery, and the internal current limit and internal voltage limit of the current battery during charge and discharge are calculated according to the temperature and SOC, and the calculated values are all saved in the two-dimensional MAP table; at the same time, when calculating the internal current limit and voltage limit, the current upper and lower limits and voltage upper and lower limits set by the low-voltage lithium battery management system should also be referred to, so as to ensure system safety. When the battery isolation module is closed, the final internal voltage limit should be the minimum value of the internal voltage limits of the main low-voltage lithium battery and the auxiliary low-voltage lithium battery. When the battery isolation module is disconnected, the final internal voltage limit is equal to the internal voltage limit of the main low-voltage lithium battery.
[0085] like Figure 4 As shown, this embodiment performs dual closed-loop cascade PID control adjustment according to the main low-voltage lithium battery state, the auxiliary low-voltage lithium battery state, and the battery isolation module state, wherein the battery isolation module state refers to when the voltage difference on both sides of the battery isolation module bridge switch exceeds 1V, the battery isolation module will be disconnected; according to the main low-voltage lithium battery state and the auxiliary low-voltage lithium battery state, the battery isolation module state refers to when the voltage difference between the main low-voltage lithium battery state and the auxiliary low-voltage lithium battery to the ground exceeds 0.5V and voltage balance is required. The vehicle computing center can control the DCDC converter of the charge and discharge distribution unit to operate according to the target charge and discharge voltage according to the battery isolation module switch state and the voltage balance request until the battery voltage difference is lower than 0.5V and the dual battery voltages are balanced. At the same time, if the battery isolation module is disconnected at this time, it is controlled to close. Specifically, step S3 of this embodiment includes the following application scenarios:
[0086] Case 1: When the battery isolation module is disconnected and there is a voltage balance request and the voltage of the main low-voltage lithium battery is higher than that of the auxiliary low-voltage lithium battery, the target charge and discharge voltage of the charge and discharge distribution unit is adjusted to discharge the main low-voltage lithium battery until the voltage of the two is balanced, that is, the target charge and discharge voltage of the charge and discharge distribution unit is less than the voltage of the main low-voltage lithium battery. Among them, when the voltage difference between the main low-voltage lithium battery state and the auxiliary low-voltage lithium battery exceeds the preset value, it is deemed to be a voltage balance request. The preset value of this embodiment is 0.5V, which can be flexibly set according to actual conditions during specific implementation. The specific voltage adjustment steps for Case 1 are as follows:
[0087] a. Set the target SOC to the auxiliary low-voltage lithium battery SOC. Since the voltage of the main low-voltage lithium battery is higher than that of the auxiliary low-voltage lithium battery (it can be regarded as the main low-voltage lithium battery SOC is higher than the auxiliary low-voltage lithium battery SOC), the difference between the target SOC and the current main low-voltage lithium battery SOC is negative. At this time, the target charge and discharge current calculated by the SOC compensator is a negative value;
[0088] b. The target charge and discharge current is constrained by a limit value, wherein the minimum current limit value between the current limit value obtained through the discharge current MAP table and the current limit value set by the main low-voltage lithium battery management system is used as the lower limit of the target charge and discharge current. In this embodiment, the lower limit is taken from the discharge current MAP table and is a negative value. At this time, the target charge and discharge current is also a negative value, and the difference between the target charge and discharge current and the current main low-voltage lithium battery current is negative, and then the calculated target charge and discharge voltage can be made close to the lower limit of the discharge voltage MAP table through the current compensator;
[0089] c. The target charge and discharge voltage is subject to a limit value constraint, wherein the minimum voltage limit value among the voltage limit value of the discharge voltage MAP table, the voltage limit value set by the main low-voltage lithium battery management system, and the real-time voltage of the auxiliary low-voltage lithium battery is used as the lower limit of the target charge and discharge voltage;
[0090] Case 2: When the battery isolation module is disconnected and there is a voltage balance request and the voltage of the main low-voltage lithium battery is lower than that of the auxiliary low-voltage lithium battery, the target charge and discharge voltage of the charge and discharge distribution unit is adjusted to charge the main low-voltage lithium battery until the voltage of the two is balanced, that is, the target charge and discharge voltage of the charge and discharge distribution unit is greater than or equal to the voltage of the main low-voltage lithium battery. The steps are as follows:
[0091] a. The target SOC is set to the auxiliary low-voltage lithium battery SOC, and the difference between the target SOC and the current main low-voltage lithium battery SOC is positive. At this time, the target charge and discharge current calculated by the SOC compensator is a positive value;
[0092] b. The target charge and discharge current is subject to a limit value constraint, wherein the minimum current limit value between the current limit value obtained through the charging current MAP table and the current limit value set by the main low-voltage lithium battery management system is used as the lower limit of the target charge and discharge current. In this embodiment, the lower limit is taken from the charging current MAP table and is a positive value. At this time, the target charge and discharge current is also a positive value, and the difference between the target charge and discharge current and the current main low-voltage lithium battery current is positive, and then the calculated target charge and discharge voltage can be made close to the upper limit of the charging voltage MAP table through the current compensator;
[0093] Case 3: When the battery isolation module is disconnected and there is no voltage balancing request, the auxiliary low-voltage lithium battery is ignored, and the target charge and discharge voltage of the main low-voltage lithium battery is calculated by the SOC compensator and the current compensator as the target charge and discharge voltage of the final charging distribution unit;
[0094] Case 4: When the battery isolation module is closed, the target charge and discharge voltages of the main low-voltage lithium battery and the auxiliary low-voltage lithium battery are calculated by the SOC compensator and the current compensator respectively, and the minimum value of the two voltages is taken as the target charge and discharge voltage of the final charging distribution unit.
[0095] Specifically, in step S3 of this embodiment, the closed-loop compensation adopts a PID control algorithm, and its formula is as follows:
[0096]
[0097] In the formula, K p is the proportionality coefficient, is the integration coefficient, is the differential coefficient, u(k) refers to the control at the kth sampling moment, e(k) refers to the deviation at the kth sampling moment, T is the sampling period, T i is the integration time, T d is the differential time.
[0098] At the same time, the attenuation curve method is used to adjust the parameter K p , K i and K d To perform the adjustment, the steps are as follows:
[0099] a) First, set the integral time to the maximum and the differential time to zero to make the control system run; set the attenuation proportionality K pr Amplify, then gradually reduce the attenuation ratio K pr , observe the output of the regulator and the fluctuation of the control process until the attenuation ratio K is found pr Until the attenuation process reaches 4:1;
[0100] b) Measure the decay period and the rise time T of the first peak r , and its operation steps are the same as those of step a);
[0101] c) According to the attenuation ratio K pr and decay period T r , and then select PID parameters according to the controller type (SOC compensator, current compensator), where PI control (SOC compensator) corresponds to K p =1.2K pr ; T i =0.5T r , PID control (current compensator) corresponds to K p =0.8K pr ; T i =0.3T pr , T d =0.1T pr , and then through K is calculated by the formula i Integration coefficient and K d Differentiation coefficient.
[0102] S4. When the high voltage is powered on, the charging and discharging distribution unit operates according to the target charging and discharging voltage. When the target charging and discharging voltage is lower than the voltage of the low-voltage lithium battery itself, the low-voltage lithium battery discharges externally, that is, the battery has a discharge function under high voltage, thereby ensuring the safe power supply of the low-voltage load when the high voltage is powered on and avoiding the risk of overcharging. When the target charging and discharging voltage is greater than or equal to the voltage of the low-voltage lithium battery itself, the low-voltage lithium battery is charged to ensure the stability of the battery power.
[0103] The present invention is described above by way of example in conjunction with the accompanying drawings. Obviously, the specific implementation of the present invention is not limited to the above-mentioned methods. As long as various non-substantial improvements are made using the method concept and technical solution of the present invention; or the above concept and technical solution of the present invention are directly applied to other occasions without improvement, they are all within the protection scope of the present invention.
Claims
1. A vehicle dual battery voltage regulation system based on cascade PID control, characterized in that: The system includes a main low-voltage lithium battery, an auxiliary low-voltage lithium battery, a high-voltage lithium battery, a high-voltage lithium battery management system, a main low-voltage lithium battery management system, an auxiliary low-voltage lithium battery management system, a left domain controller, a right domain controller, a vehicle computing center, a vehicle controller, a charge and discharge distribution unit, a drive controller, and a battery isolation module, wherein: The main low-voltage lithium battery and the auxiliary low-voltage lithium battery are both used to supply power to the low-voltage load; The high-voltage lithium battery is used to supply power to the charge-discharge power distribution unit, and at the same time supplies power to the high-voltage load through the control of the drive controller; The main low-voltage lithium battery management system is used to monitor the status of the main low-voltage lithium battery; The auxiliary low-voltage lithium battery management system is used to monitor the status of the auxiliary low-voltage lithium battery; The high-voltage lithium battery management system is used to monitor the state of the high-voltage lithium battery and control the power output of the high-voltage lithium battery to the charging and discharging distribution unit according to the high-voltage power-on state of the vehicle; The left domain controller is used to send the vehicle power status and the auxiliary low-voltage lithium battery status monitored by the auxiliary low-voltage lithium battery management system to the vehicle computing center; The right domain controller is used to send the main low-voltage lithium battery status monitored by the main low-voltage lithium battery management system to the vehicle computing center; The vehicle computing center is used to dynamically adjust the target charge and discharge voltage of the charge and discharge distribution unit through double closed-loop cascade PID control according to the status of the main low-voltage lithium battery, the status of the auxiliary low-voltage lithium battery, and the status of the battery isolation module, and send it to the vehicle controller; The vehicle controller is used to realize high-voltage power-on by controlling the high-voltage lithium battery management system and the charge-discharge distribution unit when receiving the target charge-discharge voltage and detecting that the vehicle meets the high-voltage power-on condition, wherein the charge-discharge distribution unit operates according to the target charge-discharge voltage; The charging and discharging power distribution unit is used to collect the high-voltage power-on status of the whole vehicle, and in combination with the control command of the whole vehicle controller, to supply power to the main low-voltage lithium battery, the auxiliary low-voltage lithium battery and the low-voltage load according to the target charging and discharging voltage; The battery isolation module is used to control the connection and disconnection between the charge and discharge power distribution unit and the auxiliary low-voltage lithium battery.
2. According to claim 1, a vehicle dual battery voltage regulation system based on cascade PID control is characterized in that: The system is provided with a high-voltage pre-charging circuit, which includes a main positive relay, a main negative relay, a pre-charging relay, a pre-charging resistor, and a pre-charging capacitor, wherein the pre-charging relay is connected in series with the pre-charging resistor and then in parallel with the main positive relay, and the whole after parallel connection is connected in series between the positive output terminal of the high-voltage lithium battery and one end of the pre-charging capacitor; the main negative relay is connected in series between the other end of the pre-charging capacitor and the negative output terminal of the high-voltage lithium battery; the pre-charging capacitor is built in the drive controller; the main positive relay, the main negative relay, and the pre-charging relay are turned on and off by the high-voltage lithium battery management system.
3. A vehicle dual battery voltage regulation system based on cascade PID control according to claim 2, characterized in that: The system is provided with a pre-charge management mechanism when high voltage is powered on: when the whole vehicle is powered on at high voltage, the whole vehicle controller sends a high voltage command to the high voltage lithium battery management system, and the high voltage lithium battery management system controls the main positive relay to be disconnected and the pre-charge relay to be closed. At this time, the charge and discharge distribution unit boosts the output voltage of the main low voltage battery and the auxiliary low voltage battery and supplies power to the circuit where the drive controller is located, thereby charging the pre-charge capacitor. After the pre-charge is completed, the high voltage lithium battery management system controls the main positive relay to be closed and the pre-charge relay to be disconnected to complete the high voltage power-on.
4. A vehicle dual battery voltage regulation system based on cascade PID control according to any one of claims 1 to 3, characterized in that: The charging and discharging power distribution unit includes a control unit and a DCDC converter. The control unit is used to collect the high-voltage power-on status of the whole vehicle and control the DCDC converter in combination with the control command of the whole vehicle controller. The control unit is connected to the DCDC converter and the whole vehicle controller; the DCDC converter is connected to the high-voltage lithium battery, the main low-voltage lithium battery, the auxiliary low-voltage lithium battery, and the low-voltage load to achieve voltage conversion.
5. A vehicle dual battery voltage regulation method based on cascade PID control, characterized in that: The method is applied to a vehicle dual battery voltage regulation system based on cascade PID control according to any one of claims 1 to 4, and the method comprises the following steps: S1. Processing the battery status information monitored by the main low-voltage lithium battery management system and the auxiliary low-voltage lithium battery management system through an RC filter; S2. Set the battery target SOC according to the vehicle power state. If the vehicle power state is Off or Comfortable, use the static target SOC, otherwise use the dynamic target SOC; S3. According to the state of the main low-voltage lithium battery, the state of the auxiliary low-voltage lithium battery, the state of the battery isolation module, and the state of the vehicle power supply, the target charge and discharge voltage of the charge and discharge distribution unit is adjusted through dual closed-loop cascade PID control to achieve charge and discharge voltage balance of the main and auxiliary low-voltage lithium batteries; the dual closed-loop cascade PID control includes two PID controllers connected in series, namely the front-stage PI loop and the secondary PI loop, and at the same time, the target charge and discharge current is introduced as an intermediate control variable; wherein the difference between the actual SOC of the current battery and the target SOC is used as the input of the front-stage PI loop, that is, the target charge and discharge current is calculated by using the front-stage PI loop as a SOC closed-loop compensator; the difference between the actual current of the current battery and the target charge and discharge current is used as the input of the secondary PI loop, that is, the target charge and discharge voltage is calculated by using the front-stage PI loop as a current closed-loop compensator; S4. When the high voltage is powered on, the charge and discharge distribution unit operates according to the target charge and discharge voltage. When the target charge and discharge voltage is less than the low-voltage lithium battery's own voltage, the low-voltage lithium battery discharges to the outside; when the target charge and discharge voltage is greater than or equal to the low-voltage lithium battery's own voltage, the low-voltage lithium battery charges.
6. A vehicle dual battery voltage regulation method based on cascade PID control according to claim 5, characterized in that: In step S1, the RC filter adopts a first-order filtering algorithm, and its formula is as follows: Y(n)=α * X(n)+(1-α)Y(n-1): Among them, α is the filter coefficient, X(n) is the current sampling value, Y(n-1) is the previous filter output value, Y(n) is the current filter output value, and n is used to identify the item in the input and output sequence; The filter coefficient α is set as follows: First, U=IR, Q=It, C=Q / U is differentiated to obtain the differential equation: So we get the filter coefficient Where U is voltage, I is current, t represents the time taken for the charge Q to flow, R is impedance, T is the filter calculation period, C is capacitance, and Q is the charge.
7. A vehicle dual battery voltage regulation method based on cascade PID control according to claim 5, characterized in that: The step S3 specifically includes the following sub-steps: S31, according to the difference between the current main low-voltage lithium battery SOC and the target SOC, or the difference between the auxiliary low-voltage lithium battery SOC and the target SOC, perform PI closed-loop control, i.e., SOC compensator, obtain target charge and discharge current, and limit the target charge and discharge current; S32. According to the difference between the current main low-voltage lithium battery current and the target charge and discharge current, or the difference between the auxiliary low-voltage lithium battery current and the target charge and discharge current, a PID closed-loop control, i.e., a current compensator, is performed to obtain a target charge and discharge voltage, and a limit processing is performed on the target charge and discharge voltage.
8. The vehicle dual battery voltage regulation method based on cascade PID control according to claim 7 is characterized in that: The target charge and discharge current and voltage limit processing is to ensure that the target charge and discharge current and voltage are within the internal current and voltage limits. The internal current and voltage limits are realized by a pre-calibrated two-dimensional MAP table, wherein the independent variables of the two-dimensional MAP table are the temperature and SOC of the low-voltage lithium battery, respectively, and the internal current limit and internal voltage limit of the current battery during charging and discharging are calculated according to the temperature and SOC; at the same time, when calculating the internal current limit and voltage limit, the upper and lower current limits and the upper and lower voltage limits set by the low-voltage lithium battery management system shall also be referred to; when the battery isolation module is closed, the final internal voltage limit shall be the minimum value of the internal voltage limits of the main low-voltage lithium battery and the auxiliary low-voltage lithium battery, and when the battery isolation module is disconnected, the final internal voltage limit shall be equal to the internal voltage limit of the main low-voltage lithium battery.
9. A vehicle dual battery voltage regulation method based on cascade PID control according to claim 8, characterized in that: According to the status of the main low-voltage lithium battery, the status of the auxiliary low-voltage lithium battery, the vehicle power status, and the battery isolation module status, step S3 includes the following application scenarios: Case 1: When the battery isolation module is disconnected and there is a voltage balance request and the voltage of the main low-voltage lithium battery is higher than that of the auxiliary low-voltage lithium battery, the main low-voltage lithium battery is discharged until the voltages of the two are balanced. When the voltage difference between the main low-voltage lithium battery and the auxiliary low-voltage lithium battery exceeds a preset value, it is considered that a voltage balance request is issued; Case 2: When the battery isolation module is disconnected and there is a voltage balance request and the voltage of the main low-voltage lithium battery is lower than that of the auxiliary low-voltage lithium battery, the main low-voltage lithium battery is charged until the voltages of the two are balanced; Case 3: When the battery isolation module is disconnected and there is no voltage balancing request, the auxiliary low-voltage lithium battery is ignored, and the target charge and discharge voltage of the main low-voltage lithium battery is calculated by the SOC compensator and the current compensator as the target charge and discharge voltage of the final charging distribution unit; Case 4: When the battery isolation module is closed, the target charge and discharge voltages of the main low-voltage lithium battery and the auxiliary low-voltage lithium battery are calculated by the SOC compensator and the current compensator respectively, and the minimum value of the two voltages is taken as the target charge and discharge voltage of the final charging distribution unit.
10. A vehicle dual battery voltage regulation method based on cascade PID control according to any one of claims 5 to 9, characterized in that: In step S3, the closed-loop compensation adopts a PID control algorithm, and its formula is as follows: In the formula, K p is the proportionality coefficient, is the integration coefficient, is the differential coefficient, u(k) refers to the control at the kth sampling moment, e(k) refers to the deviation at the kth sampling moment, T is the sampling period, T i is the integration time, T d is the differential time; The attenuation curve method is used to calculate the parameter K p , K i and K d To perform tuning, follow the steps below: a) First, set the integral time to the maximum and the differential time to zero to make the control system run; set the attenuation proportionality K pr Amplify, then gradually reduce the attenuation ratio K pr , observe the output of the regulator and the fluctuation of the control process until the attenuation ratio K is found pr Until the attenuation process reaches 4:1; b) Measure the decay period and the rise time T of the first peak r , and its operation steps are the same as those of step a); c) According to the attenuation ratio K pr and decay period T r , and then select PID parameters according to the controller type, where PI control corresponds to K p =1.2K pr ; T i =0.5T r , PID control corresponds to K p =0.8K pr ; T i =0.3T pr , T d =0.1T pr , and then through K is calculated by the formula i Integration coefficient and K d Differential coefficient.
