System and method for testing automatic charging function of battery
By using the simulation test module to control the charging and consumption module to switch the power consumption mode and charging mode in the test system of the automatic battery recharge function, the problem of long test cycles and uncontrollable power consumption in the existing technology is solved, and efficient automatic battery recharge function testing is achieved.
Patent Information
- Application Number
- CN202411908047.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2025-03-28
AI Technical Summary
In the prior art, the test cycle of the automatic power recharge function of the vehicle battery is too long, and the power consumption is uncontrollable, resulting in poor test efficiency.
Design a test system with automatic battery recharge function, including a charging and consumption module and a simulation test module. The simulation test module is connected to the vehicle controller and the charging and consumption module, and the charging and consumption module is connected to the vehicle battery unit. The simulation test module controls the charging and consumption module to switch the power consumption mode and charging mode, and achieves rapid adjustment of the power capacity of the vehicle battery unit.
The low-voltage automatic power recharge test cycle is shortened, the test efficiency is improved, and it can quickly and accurately determine whether the automatic power recharge function of the vehicle battery unit is normal.
Smart Images

Figure CN119716330A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of vehicles, and in particular relates to a testing system and method for an automatic charging function of a battery. Background Art
[0002] With the development of new energy vehicles, low-voltage batteries in new energy vehicles usually also have independent control units. In order to avoid power feeding from the low-voltage battery, the control unit has the function of waking up the vehicle and using the high-voltage battery to automatically recharge the low-voltage battery when the vehicle is in sleep mode.
[0003] At present, the test of the automatic power replenishment function is carried out on the vehicle, but this method has problems such as long test cycle and uncontrollable power consumption due to the low static power consumption of the vehicle and slow power consumption, which ultimately leads to poor test efficiency. Summary of the invention
[0004] The embodiments of the present invention provide a system and method for testing the automatic charging function of a battery, which can improve the testing efficiency of the automatic charging function of a vehicle battery.
[0005] In a first aspect, an embodiment of the present invention provides a test system for a battery automatic charging function, comprising: a charging and consuming module and a simulation test module, wherein the simulation test module is connected to a vehicle controller and the charging and consuming module, and the charging and consuming module is connected to a vehicle battery unit;
[0006] The simulation test module is used to detect whether a first control signal output by the vehicle controller is received when the charging and consuming module is in the power consumption mode, and the first control signal is used by the simulation test module to control the charging and consuming module to switch from the power consumption mode to the charging mode. The power consumption mode is used by the charging and consuming module to consume the power of the vehicle battery unit, and the charging mode is used by the charging and consuming module to replenish the power of the vehicle battery unit;
[0007] The simulation test module is used to output a first test result, which indicates whether the automatic battery charging function is normal.
[0008] In an achievable implementation, the simulation test module is further configured to control the charging and consuming module to switch from the power consumption mode to the charging mode when receiving the first control signal;
[0009] The simulation test module is further used to detect whether a second control signal output by the vehicle controller is received after the charging and consuming module switches to the charging mode, and the second control signal is used by the simulation test module to control the charging and consuming module to switch from the charging mode to the consuming mode;
[0010] The simulation test module is further used to output a second test result, where the second test result is used to indicate whether the automatic battery charging function is normal.
[0011] In another feasible implementation, the simulation test module is used to control the charging and consuming module to switch from the charging mode to the consuming mode when receiving the second control signal.
[0012] In another achievable implementation, the device further includes a signal analysis module, wherein the signal analysis module is connected to the simulation test module;
[0013] The signal analysis module is used to obtain the first test result and / or the second test result from the simulation test module to determine whether the automatic charging function of the vehicle battery unit is normal.
[0014] In another achievable embodiment, the charging and consuming module includes a bidirectional power supply, a first circuit and a second circuit, the bidirectional power supply is connected to the simulation test module, the bidirectional power supply is connected to the vehicle battery unit through the first circuit, and the bidirectional charging and consuming module is also connected to the vehicle battery unit through the second circuit;
[0015] The first loop is used for the vehicle battery unit to supply power to the bidirectional power supply, so that the bidirectional power supply consumes power of the vehicle battery unit;
[0016] The second circuit is used for the bidirectional power supply to supply power to the vehicle battery unit, so that the bidirectional power supply replenishes the power of the battery unit.
[0017] In another achievable implementation, the charging and consuming module further includes a converter, and the bidirectional power supply is connected to the second circuit via the converter;
[0018] The converter is used to convert the high voltage power output by the charging and consuming module into a low voltage power and input it into the vehicle battery unit, so that the bidirectional power supply can replenish the power of the battery unit.
[0019] In another achievable embodiment, the charging and consuming module includes a high-voltage power supply, a first controller, a low-voltage load, and a second controller, wherein the high-voltage power supply is connected to the first circuit through the first controller, and the low-voltage load is connected to the second circuit through the second controller; the first controller and the second controller are both connected to the simulation test module;
[0020] The first controller is used to control the high-voltage power supply to supply power to the vehicle battery unit when receiving the first control signal;
[0021] The second controller is used to control the vehicle battery unit to supply power to the low-voltage load upon receiving the second control signal.
[0022] In yet another achievable implementation, the vehicle battery unit includes a third controller and a battery body, and the third controller is connected to the battery body and the vehicle controller.
[0023] In a second aspect, an embodiment of the present invention provides a method for testing a battery automatic charging function, which is applied to a test system for a battery automatic charging function, wherein the test system for the battery automatic charging function includes a charging and consumption module and a simulation test module, wherein the simulation test module is connected to a vehicle controller and the charging and consumption module, and the charging and consumption module is connected to a vehicle battery unit; the method includes:
[0024] When the charging and consuming module is in the power consumption mode, detecting whether a first control signal output by the vehicle controller is received, the first control signal is used by the simulation test module to control the charging and consuming module to switch from the power consumption mode to the charging mode, the power consumption mode is used by the charging and consuming module to consume the power of the vehicle battery unit, and the charging mode is used by the charging and consuming module to replenish the power of the vehicle battery unit;
[0025] According to whether the first control signal output by the vehicle controller is received, a corresponding first test result is output.
[0026] The test system and method for the automatic battery replenishment function provided in the embodiment of the present invention control the charging and consuming modules to switch modes through the simulation test module. The charging and consuming modules can be used as the consumption end or the power replenishment end, thereby realizing rapid adjustment of the power in the vehicle battery unit, thereby shortening the low-voltage automatic power replenishment test cycle and improving the test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the following is a brief introduction to the drawings required for use in the embodiment of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0028] Figure 1 A schematic diagram of the structure of a test system for the automatic battery charging function provided in an embodiment of the present application;
[0029] Figure 2 A schematic diagram of the hardware structure of the test framework provided in the embodiment of the present application;
[0030] Figure 3 A schematic diagram of the hardware structure of a test framework provided in another embodiment;
[0031] Figure 4 A flowchart of a method for testing the automatic battery charging function provided in an embodiment of the present application;
[0032] Figure 5 A schematic flow chart of a method for testing the automatic battery charging function provided by another embodiment of the present application;
[0033] Figure 6 A flowchart of a method for testing the automatic battery charging function provided in yet another embodiment of the present application. DETAILED DESCRIPTION
[0034] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present invention, rather than to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by illustrating examples of the present invention.
[0035] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0036] Electric new energy vehicles are different from traditional fuel vehicles. New energy vehicles have independent control units for their low-voltage batteries. In order to avoid the low-voltage battery feeding, the control unit has the function of waking up the new energy vehicle and using the high-voltage battery to automatically recharge the low-voltage battery when the new energy vehicle is in sleep mode. At present, when testing the automatic recharging control strategy of the low-voltage battery on the vehicle, there are problems such as low static power consumption of the vehicle, slow power consumption, long test cycle and uncontrollable power consumption. In addition, the conventional vehicle control unit (VCU) hardware-in-the-loop simulation (HIL) bench is only equipped with VCU-related hardware resources, and cannot achieve a closed-loop test in which the low-voltage battery wakes up the VCU and recharges the low-voltage battery together with the high-voltage battery.
[0037] In order to solve the problems of the prior art, an embodiment of the present invention provides a test scheme for the automatic charging function of the battery, which can improve the test efficiency of the automatic charging function of the vehicle's low-voltage battery, and quickly and accurately determine whether the automatic charging function of the low-voltage battery is normal. Specifically, the VCU is combined with the VCU hardware-in-the-loop system, uses a bidirectional high-voltage power supply to simulate a high-voltage battery and a low-voltage load, and converts the high voltage into a low voltage through a DC-DC converter, thereby realizing hardware-in-the-loop testing of the automatic charging function of the low-voltage battery.
[0038] The technical solution of the present application is described in detail below through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0039] Figure 1 A schematic diagram of the structure of the test system for the automatic battery charging function provided in the embodiment of the present application, such as Figure 1 As shown, the battery automatic charging function test system 100 includes a charging and consumption module 110 and a simulation test module 120 .
[0040] The simulation test module 120 is connected to the vehicle controller 130 and the charging and consumption module 110 , and the charging and consumption module 110 is connected to the vehicle battery unit 140 .
[0041] In this embodiment, the vehicle battery unit includes a third controller and a battery body, and the third controller is connected to the battery body and the vehicle controller. The automatic charging function is triggered by the third controller. When the automatic charging function is normal, when the power in the battery body is lower than the threshold, the third controller initiates a charging request to the VCU, and the VCU further controls the power battery to deliver power to the battery body to replenish the power of the battery body.
[0042] In this embodiment, the simulation test module may refer to a VCU hardware-in-the-loop test bench, which is responsible for simulating the controller area network (CAN) signals and / or local interconnect network (LIN) signals of the vehicle's interactive controller with the VCU and the hard-wired signals of actuators and sensors outside the VCU to ensure the integrity of the VCU functions.
[0043] Among them, VCU is one of the core components of electric new energy vehicles. It is responsible for managing and controlling various functions and systems of the vehicle, including battery management system, motor control, energy recovery, charging management, etc. Through VCU, vehicle performance can be optimized, energy utilization efficiency can be improved, and vehicle safety and reliability can be ensured.
[0044] In this embodiment, since vehicles (including pure electric vehicles, hybrid electric vehicles and fuel vehicles) are usually equipped with low-voltage batteries, the test system for the automatic power replenishment function provided in this embodiment can be widely used in the above-mentioned pure electric vehicles, hybrid electric vehicles and fuel vehicles. Through the test system for the automatic power replenishment function, it is verified whether the automatic power replenishment function of the low-voltage battery can operate normally.
[0045] The automatic charging function refers to the process in which the system starts the power battery to charge the low-voltage battery when the battery power is low in pure electric vehicles, hybrid vehicles and fuel vehicles when they are parked. This function ensures that there is enough power to start the vehicle and maintain the operation of basic electrical equipment even after the vehicle has been parked for a long time.
[0046] The realization of the automatic charging function depends on multiple sensors and control systems inside the vehicle. For example, the vehicle communication module can periodically wake up the CAN network, and the body control module is responsible for detecting the low-voltage battery voltage and sending a charging request to the VCU when necessary. After receiving the request, the VCU will control the high-voltage system connection and start the charging mode. The automatic charging function can improve the convenience and reliability of the car.
[0047] Continue to refer to the above Figure 1 In this embodiment, the simulation test module 120 is used to detect whether the first control signal output by the vehicle controller 130 is received when the charging and consuming module 110 is in the power consumption mode, and output a first test result.
[0048] Among them, the first test result represents whether the first control signal is received. The first control signal is used to simulate the test module to control the charging and consumption module 110 to switch from the power consumption mode to the charging mode. The power consumption mode is used for the charging and consumption module 110 to consume the power of the vehicle battery unit 140, and the charging mode is used for the charging and consumption module 110 to replenish the power of the vehicle battery unit 140.
[0049] In this embodiment, the vehicle battery unit 140 may include the above-mentioned low-voltage battery. When the power of the low-voltage battery is low, if the automatic charging function can operate normally, the vehicle battery unit 140 will notify the vehicle controller 130 to start the power battery to charge the low-voltage battery.
[0050] In actual applications, the automatic charging function of the low-voltage battery is currently tested directly on the vehicle to see if it is normal. However, in this process, the static power consumption of the vehicle is small and the power consumption is slow, which leads to problems such as long test cycle and uncontrollable power consumption, affecting the test efficiency of the testers.
[0051] In this embodiment, based on the above situation, this embodiment is configured with a charging and consuming module 110, and the power in the vehicle battery unit 140 is quickly consumed by the charging and consuming module 110. Among them, the charging and consuming module 110 has two modes: (1) power consumption mode; (2) charging mode. These two modes are controlled and switched by the simulation test module 120. When the charging and consuming module 110 is in the power consumption mode, it can be equivalent to a low-voltage load. At this time, if the vehicle battery unit 140 has enough power, it will supply power to the charging and consuming module 110, and the power will be consumed. When the charging and consuming module 110 is in the charging mode, it can be equivalent to a high-voltage power supply, which can charge the vehicle battery unit 140 and replenish the power lost in the vehicle battery unit 140. In this way, by adjusting the charging and consuming module 110 to be in different modes, the vehicle battery unit 140 can be quickly replenished or consumed. This shortens the test cycle and can test whether the vehicle battery unit 140 can use the VCU to realize the automatic power replenishment function in a short time.
[0052] In this embodiment, the simulation test module controls the mode switching of the power charging and consuming module through the first control signal.
[0053] In addition, when the charging and consumption module switches to the power consumption mode and continues to consume the power in the vehicle battery unit, if the vehicle battery unit finds that the remaining power is insufficient, it needs to trigger the VCU to initiate a power replenishment request. At this time, after the VCU responds to the power replenishment request, it needs to output a control signal to trigger the simulation test module, and the simulation test module will further start the power battery to charge the vehicle battery unit.
[0054] Among them, the simulation test module starts the power battery to charge the vehicle battery unit, which can mean that the simulation test module outputs a first control signal to the charging and consumption module to switch the charging and consumption module from the consumption mode to the charging mode. Among them, if the simulation test module does not receive the first control signal, it means that the vehicle battery unit has not initiated a power replenishment request, or the VCU has not responded to the power replenishment request and output a control signal to the simulation test module. At this time, the simulation test module can output an abnormal test result of the "battery automatic power replenishment function", that is, the vehicle battery unit cannot trigger automatic power replenishment.
[0055] The embodiment of the present application controls the charging and consuming modules to switch modes through the simulation test module. The charging and consuming modules can be used as a consumption end or as a power replenishment end, thereby realizing rapid adjustment of the power in the vehicle battery unit, thereby shortening the low-voltage automatic power replenishment test cycle and improving test efficiency.
[0056] The working process of the simulation test module is described in detail below through some embodiments.
[0057] Continue to combine the above Figure 1 Based on the above embodiments, in some embodiments, the simulation test module is also used to control the charging and consumption module to switch from the power consumption mode to the charging mode when receiving the first control signal.
[0058] In addition, the simulation test module is also used to detect whether the second control signal output by the vehicle controller is received and output a second test result after the charging and consumption module switches to the charging mode.
[0059] The second control signal is used for the simulation test module to control the charging and consuming module to switch from the charging mode to the consuming mode; and the second test result is used to indicate whether the second control signal is received.
[0060] In this embodiment, if the simulation test module receives the first control signal, it will control the charging and consuming module to switch from the consuming module to the charging mode. At this time, the charging and consuming module will supply electrical energy to the vehicle battery unit to replenish the power lost in the vehicle battery unit.
[0061] Among them, the capacity of the vehicle's battery unit has an upper limit. When the amount of electricity stored in the vehicle's battery unit reaches the upper limit, the charging and consuming module no longer needs to continue to supply power (when the vehicle's battery unit has reached the upper limit, if the charging and consuming module continues to supply power for a long time, there may be safety risks). At this time, the power supply circuit of the charging and consuming module can be cut off or the charging and consuming module can be switched to the power consumption mode to continue consuming the electrical energy stored in the vehicle's battery unit, thereby entering the next automatic power replenishment function test cycle. Such continuous cycles can improve the accuracy of the test results.
[0062] In this embodiment, in addition to realizing automatic charging of the vehicle battery unit, the automatic charging function should also be able to realize automatic power off. That is, when the vehicle battery unit reaches the upper limit value, the vehicle battery unit should initiate a power off request to the VCU, and the VCU needs to respond to the power off request and control the power battery to stop supplying power to the vehicle battery unit.
[0063] For this purpose, when the simulation test module switches the charging and consuming module to the charging mode, after a period of charging time, the simulation test module should receive a second control signal, and control the charging and consuming module to stop charging the vehicle battery unit through the second control signal. If the simulation test module does not receive the second control signal, it means that the automatic charging function cannot achieve automatic power off. At this time, the simulation test module can also output the test result of "battery automatic charging function" abnormality, that is, the vehicle battery unit cannot trigger automatic power off.
[0064] The embodiment of the present application detects whether the second control signal output by the vehicle controller is received through the simulation test module, and can detect whether the vehicle battery unit can trigger automatic power-off, thereby achieving a comprehensive test of the battery's automatic power replenishment function and improving the test accuracy of the battery's automatic power replenishment function.
[0065] Furthermore, in some embodiments, the simulation test module is used to control the charging and consuming module to switch from the charging mode to the consuming mode when receiving the second control signal.
[0066] In this embodiment, after the charging and power consumption module switches from the charging mode to the power consumption mode, the charging and power consumption module will no longer continue to charge the vehicle battery unit, and will continue to consume the power in the vehicle battery unit. In this way, the test can be repeated in a cycle, and the simulation test module can output multiple test results. Based on these test results, it can be more accurately determined whether the automatic charging function of the vehicle battery unit is normal.
[0067] Exemplarily, in some other embodiments, the simulation test module may be connected to the signal analysis module to output the first test result and / or the second test result to the signal analysis module.
[0068] Among them, the signal analysis module is used for the first test result and / or the second test result to determine whether the automatic charging function of the vehicle battery unit is normal.
[0069] In this embodiment, the signal analysis module may be integrated in the processor. The processor may be connected to the display. After analyzing the first test result and / or the second test result, the signal analysis module may determine whether the automatic charging function of the vehicle battery unit is normal, and output the result on the display accordingly for the tester to view.
[0070] Exemplarily, if the first test result means that the simulation test module does not receive the first control signal, it means that the vehicle battery unit cannot trigger power replenishment and the automatic power replenishment function is abnormal; if the second test result means that the simulation test module does not receive the second control signal, it means that the vehicle battery unit cannot trigger automatic power off, and the automatic power replenishment function is also abnormal.
[0071] The embodiment of the present application outputs the above-mentioned first test result and / or second test result to the signal analysis module, and the signal analysis module determines whether the automatic charging function of the vehicle battery unit is normal, thereby realizing bench closed-loop testing of low-voltage batteries of electric new energy vehicles, greatly reducing the workload of test engineers in actual vehicle testing and shortening the test time.
[0072] Figure 2 The hardware structure diagram of the test framework provided in the embodiment of the present application is as follows: Figure 2 As shown, a first loop 210 and a second loop 220 may be provided between the bidirectional power supply 200 and the vehicle battery unit 140. The charging and consuming module includes the bidirectional power supply 200, the first loop 210 and the second loop 220, the bidirectional power supply is connected to the simulation test module, the bidirectional power supply is connected to the vehicle battery unit through the first loop 210, and the bidirectional charging and consuming module is also connected to the vehicle battery unit through the second loop 220.
[0073] Among them, the first circuit is used for the vehicle battery unit to supply power to the bidirectional power supply, so that the bidirectional power supply consumes the power of the vehicle battery unit; the second circuit is used for the bidirectional power supply to supply power to the vehicle battery unit, so that the bidirectional power supply replenishes the power of the battery unit.
[0074] In this embodiment, the bidirectional power supply may refer to a bidirectional programmable DC power supply, which can realize the function of a current source or a voltage source. When realizing the voltage source function, it can provide power to the outside, and when realizing the current source function, it can absorb power and return energy to the power grid, and has the function of dual-quadrant operation.
[0075] For example, the charging and consuming module includes a bidirectional high-voltage power supply, which has two independently controllable inputs and outputs (i.e., the first circuit and the second circuit). It can simulate the discharge of the high-voltage battery pack and the consumption of the energy of the low-voltage battery (i.e., the vehicle battery unit) by the low-voltage load.
[0076] In this embodiment, the first circuit is mainly used to supply power from the vehicle battery unit to the bidirectional power supply. When the vehicle battery unit has sufficient power, the electric energy can be transmitted to the bidirectional power supply through the first circuit, so that the bidirectional power supply consumes the power of the vehicle battery unit. The second circuit is used for the bidirectional power supply to supply power to the vehicle battery unit. When the power of the vehicle battery unit is low, the bidirectional power supply can replenish the power of the vehicle battery unit through the second circuit. It ensures that even in long-term testing or low-power conditions, the vehicle battery unit can maintain a certain power level, avoiding the impact of insufficient power on the test or the normal start of the vehicle.
[0077] In this embodiment, a bidirectional power supply is used to perform a low-voltage automatic power replenishment test, and the bidirectional power supply can be used as a consumption end or as a power replenishment end. This can increase the power consumption speed and power replenishment speed of the vehicle battery unit, shorten the test cycle, and further improve the test efficiency.
[0078] Furthermore, Figure 3 A schematic diagram of the hardware structure of a test framework provided in another embodiment is shown in FIG. Figure 3 As shown, the battery automatic charging function test system may include a vehicle controller hardware-in-the-loop test bench 310, a bidirectional high-voltage power supply 320 and a converter 330.
[0079] The bidirectional high-voltage power supply 320 may refer to the bidirectional power supply mentioned above, and the bidirectional high-voltage power supply 320 is connected to the second circuit through a converter. When the bidirectional high-voltage power supply 320 needs to charge the vehicle battery unit (i.e., the charging and consuming module is switched to the charging mode), the converter 330 converts the high-voltage power output by the bidirectional high-voltage power supply 320 into a low-voltage power supply, and then inputs it into the vehicle battery unit to replenish the power of the battery unit.
[0080] In this embodiment, the VCU hardware-in-the-loop bench can refer to a simulation test platform (i.e., the simulation test module mentioned above), which can be used for the development and verification of the whole vehicle controller of electric new energy vehicles. It simulates the operating state of the controlled object (such as various components and systems of the vehicle) through the real-time simulation model in the real-time processor, and connects to the VCU controller under test through the I / O interface to build a virtual controller test environment. The VCU hardware-in-the-loop bench is mainly composed of three parts: hardware platform, management software and simulation model.
[0081] The converter may be a DC / DC converter (DC-DC converter). A converter is a device that can convert electrical energy of one voltage value into electrical energy of another voltage value in a DC circuit. In this embodiment, when the charging and consuming module enters the charging mode, since the charging and consuming module needs to charge the vehicle battery unit, it needs to output a high voltage. At this time, the voltage can be adjusted by the converter to reduce the high voltage to a low voltage that the vehicle battery unit can withstand, so as to prevent the vehicle battery unit from being damaged under the condition of continuous high voltage input during the charging process.
[0082] In this embodiment, the vehicle control unit is responsible for responding to the automatic recharging request of the low-voltage battery (equivalent to the vehicle battery unit) and waking up the VCU hardware-in-the-loop test bench through network management messages. The VCU hardware-in-the-loop test bench is responsible for simulating the CAN / LIN signals of the interactive controller on the vehicle and the hard-wired signals of the actuators and sensors outside the VCU to ensure the integrity of the VCU function. The bidirectional high-voltage power supply has two independently controllable inputs and outputs. It can simulate the external discharge of the high-voltage battery pack and the energy consumption of the low-voltage battery by the low-voltage load. The DC-DC converter is used to convert the high voltage to low voltage when the bidirectional high-voltage power supply is in the DC high-voltage output mode. After feeding itself, the low-voltage battery sends a recharge request to the VCU.
[0083] Among them, the vehicle control unit is combined with the VCU hardware-in-the-loop test bench, uses a bidirectional high-voltage power supply to simulate high-voltage batteries and low-voltage loads, and converts high voltage into low voltage through a DC-DC converter, which can realize hardware-in-the-loop testing of the low-voltage battery automatic charging function.
[0084] In an embodiment of the present application, by adding a converter, a high voltage can be converted into a low voltage suitable for charging the vehicle battery cell. In addition, during the charging process, the converter can also provide electrical isolation to protect the vehicle battery cell from damage such as overvoltage and overcurrent, thereby ensuring the stability and safety of the vehicle battery cell during the charging process.
[0085] In some other embodiments, the charging and consuming module includes a high-voltage power supply, a first controller, a low-voltage load, and a second controller, the high-voltage power supply is connected to the first circuit through the first controller, and the low-voltage load is connected to the second circuit through the second controller; the first controller and the second controller are both connected to the simulation test module;
[0086] a first controller, configured to control the high voltage power supply to supply power to the vehicle battery unit upon receiving a first control signal;
[0087] The second controller is used to control the vehicle battery unit to supply power to the low-voltage load when receiving the second control signal.
[0088] In this embodiment, the first controller may be a switch controller. When receiving the first control signal, the switch controller is closed, and the high-voltage power supply is connected to the vehicle battery unit. At this time, the high-voltage power supply can transmit electric energy to the vehicle battery unit to replenish the power of the vehicle battery unit. At the same time, the second controller may also be a switch controller. When the high-voltage power supply is connected to the vehicle battery unit to replenish the power of the vehicle battery unit, the second controller may be cut off. At this time, the vehicle battery unit is disconnected from the low-voltage load, and the vehicle battery unit does not transmit electric energy to the low-voltage load. At this time, the charging and consumption module is in charging mode.
[0089] When the second controller receives the second control signal, the second controller is turned off, the low-voltage load is connected to the vehicle battery unit, the vehicle battery unit transmits power to the low-voltage load, and the power in the vehicle battery unit is consumed. At the same time, the first controller is cut off, the high-voltage power supply is disconnected from the vehicle battery unit, and the high-voltage power supply no longer transmits power to the vehicle battery unit. At this time, the charging and consumption module is in the power consumption mode.
[0090] In this embodiment, the charging and consuming module can be a bidirectional programmable power supply, which is a power supply device with bidirectional current transmission capability, and can be programmed and controlled according to demand to achieve bidirectional transmission of electric energy. Specifically, the bidirectional programmable power supply can not only transmit electric energy from the power supply to the vehicle battery unit, but also feed electric energy from the vehicle battery unit back to the power supply, achieving efficient energy conversion, and has the characteristics of high precision and high stability.
[0091] In an embodiment of the present application, by configuring the first controller and the second controller, energy can flow flexibly between the high-voltage power supply, the vehicle battery unit and the low-voltage load, thereby improving energy utilization efficiency. At the same time, the first controller and the second controller are both connected to the simulation test module, and they can work independently according to the instructions of the simulation test module to achieve precise control of the high-voltage power supply output and the discharge of the vehicle battery unit, and can adapt to different test requirements and work scenarios, thereby improving the accuracy and reliability of the test. In addition, by integrating the high-voltage power supply, the first controller, the low-voltage load and the second controller, it is possible to simulate a real working environment and conduct a comprehensive test on the vehicle battery unit, such as the battery's charging performance, discharge performance, durability, etc., which helps to improve test efficiency and shorten the product development cycle.
[0092] It should be noted that it should be understood that the division of the above modules is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. For example, the signal analysis module can be a separately established processing element, or it can be integrated in a chip of the above-mentioned device, and it can also be stored in the memory in the form of program code. In addition, all or part of these modules can be integrated together, or they can be implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. For example, the above modules can be one or more integrated circuits configured to implement the above method, such as: one or more application specific integrated circuits (ASIC), or, one or more microprocessors (digital signal processors, DSP), or, one or more field programmable gate arrays (field programmable gate arrays, FPGA), etc. For another example, when a module above is implemented in the form of a processing element scheduling a program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program codes. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0093] The following is an embodiment of the method of the present application, which can be applied to the above-mentioned battery automatic charging function test system. For details not disclosed in the embodiment of the method of the present application, please refer to the various embodiments of the battery automatic charging function test system mentioned above in the present application.
[0094] Figure 4 The flowchart of the test method of the battery automatic charging function provided in the embodiment of the present application is shown in FIG. The method can be applied to the test system of the battery automatic charging function. The test system of the battery automatic charging function includes a charging and consumption module and a simulation test module. The simulation test module is connected to the vehicle controller and the charging and consumption module. The charging and consumption module is connected to the vehicle battery unit. Figure 4 As shown, the method may specifically include the following steps:
[0095] Step S410: When the charging and consuming module is in the power consuming mode, detecting whether a first control signal output by the vehicle controller is received.
[0096] Among them, the first control signal is used for the simulation test module to control the charging and consuming module to switch from the power consumption mode to the charging mode. The power consumption mode is used for the charging and consuming module to consume the power of the vehicle battery unit, and the charging mode is used for the charging and consuming module to supplement the power of the vehicle battery unit.
[0097] Step S420: Output a corresponding first test result according to whether a first control signal output by the vehicle controller is received.
[0098] The embodiment of the present application controls the charging and consuming modules to switch modes through the simulation test module. The charging and consuming modules can be used as a consumption end or as a power replenishment end, thereby realizing rapid adjustment of the power in the vehicle battery unit, thereby shortening the low-voltage automatic power replenishment test cycle and improving test efficiency.
[0099] Furthermore, Figure 5 A flowchart of a method for testing the automatic battery charging function provided by another embodiment of the present application is shown in FIG. Figure 5 As shown, the method may specifically include the following steps:
[0100] Step S510: when receiving the first control signal, control the charging and consuming module to switch from the power consumption mode to the charging mode.
[0101] Step S520: After the charging and consuming module switches to the charging mode, detecting whether a second control signal output by the vehicle controller is received.
[0102] The second control signal is used for the simulation test module to control the charging and consuming module to switch from the charging mode to the consuming mode.
[0103] Step S530: Output a corresponding second test result according to whether a second control signal output by the vehicle controller is received.
[0104] The embodiment of the present application detects whether the second control signal output by the vehicle controller is received through the simulation test module, and can detect whether the vehicle battery unit can trigger automatic power-off, thereby achieving a comprehensive test of the battery's automatic power replenishment function and improving the test accuracy of the battery's automatic power replenishment function.
[0105] The entire automatic power replenishment function test process is described in detail below through a complete embodiment.
[0106] Figure 6 A flowchart of a method for testing the automatic battery charging function provided by another embodiment of the present application is shown in FIG. Figure 6 As shown, it includes the following steps:
[0107] Step S610: The bidirectional power supply simulates a DC load and consumes power from the low-voltage battery.
[0108] Step S620: The low-voltage battery is low on power and requires recharging.
[0109] Step S630: The low-voltage battery network management message or hard-wire signal wakes up the VCU.
[0110] Step S640: The VCU wakes up the hardware-in-the-loop test bench.
[0111] Step S650: The VCU hardware-in-the-loop test bench sets the bidirectional power supply mode to a DC high-voltage power output mode.
[0112] Step S660: The DC-DC converter converts the high voltage output of the high voltage power supply into a low voltage.
[0113] Step S670: The low-voltage side of the DC-DC converter replenishes power to the low-voltage battery.
[0114] Step S680: After the charging is completed, the low-voltage battery, VCU and PMS enter sleep mode.
[0115] Step S690: The VCU hardware-in-the-loop test bench sets the bidirectional power supply to a DC low-voltage power consumption mode and then enters sleep mode.
[0116] In this embodiment, for step S610, the bidirectional power supply simulates a DC load to consume the power of the low-voltage battery, and the power consumption can be set here according to the test requirements. For step S620, the low-voltage battery determines that its own power is lower than the threshold and requests for recharging. For step S630, the low-voltage battery wakes up the VCU through a hard-wired signal or a network management message. For step S640, the VCU hardware-in-the-loop test bench is awakened after detecting the network management message of the VCU, and begins to simulate the hard-wired signals of the VCU peripheral controller CAN / LIN or the actuators and sensors. For step S650, the VCU hardware-in-the-loop test bench sets the bidirectional power supply to a DC high-voltage power output mode, in which the bidirectional power supply can provide high voltage to the DCDC and stop consuming the low-voltage battery power. For step S660, the DCDC converts the high voltage output of the high-voltage power supply into low voltage. For step S670, the low-voltage side of the DCDC recharges the low-voltage battery. For step S680, after the DCDC completes the charging of the low-voltage battery, the low-voltage battery, VCU and PMS enter sleep mode. For step S690, after the VCU hardware-in-the-loop test bench sets the bidirectional power supply to the DC low-voltage power consumption mode, it enters sleep mode to prepare for the next test as a DC load to consume the energy of the low-voltage battery.
[0117] The embodiment of the present application can realize the function of a current source or a voltage source by using a bidirectional programmable DC power supply, which can provide power to the outside, absorb power, and return energy to the power grid, and has the function of dual-quadrant operation. In addition, since the conventional VCU HIL test bench is only equipped with VCU-related hardware resources, it is impossible to realize a closed-loop test in which a low-voltage battery wakes up the VCU and replenishes power for the low-voltage battery together with the high-voltage battery. And different from the current automatic power replenishment control strategy of the low-voltage battery when tested on the vehicle, there are problems such as low static power consumption of the vehicle, slow power consumption, long test cycle and uncontrollable power consumption. This application combines VCU with a VCU hardware-in-the-loop test bench, uses a bidirectional high-voltage power supply to simulate a high-voltage battery and a low-voltage load, and converts high voltage into low voltage through a DC-DC converter, which can realize hardware-in-the-loop testing of the automatic power replenishment function of the low-voltage battery, shorten the test cycle, and improve test efficiency.
[0118] In the present application, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship; in the formula, the character " / " indicates that the previous and next associated objects are in a "division" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0119] It is to be understood that the various numerical numbers involved in the embodiments of the present application are only for the convenience of description and are not intended to limit the scope of the embodiments of the present application. In the embodiments of the present application, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0120] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.
[0121] The functional blocks shown in the above structural block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present invention are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or communication link by a data signal carried in a carrier. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memory (Read-Only Memory, ROM), flash memory, erasable read-only memory (Erasable ReadOnly Memory, EROM), floppy disks, compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical discs, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0122] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.
[0123] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0124] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system, module and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.
Claims
1. A battery automatic charging function test system, characterized in that: include: A charging and consumption module and a simulation test module, wherein the simulation test module is connected to a vehicle controller and the charging and consumption module, and the charging and consumption module is connected to a vehicle battery unit; The simulation test module is used to detect whether a first control signal output by the vehicle controller is received when the charging and consuming module is in the power consumption mode, and the first control signal is used by the simulation test module to control the charging and consuming module to switch from the power consumption mode to the charging mode. The power consumption mode is used by the charging and consuming module to consume the power of the vehicle battery unit, and the charging mode is used by the charging and consuming module to replenish the power of the vehicle battery unit; The simulation test module is used to output a first test result, which indicates whether the automatic battery charging function is normal.
2. The system according to claim 1, characterized in that The simulation test module is further configured to control the charging and consuming module to switch from the power consumption mode to the charging mode when receiving the first control signal; The simulation test module is further used to detect whether a second control signal output by the vehicle controller is received after the charging and consuming module switches to the charging mode, and the second control signal is used by the simulation test module to control the charging and consuming module to switch from the charging mode to the consuming mode; The simulation test module is further used to output a second test result, where the second test result is used to indicate whether the automatic battery charging function is normal.
3. The system according to claim 2, characterized in that The simulation test module is used to control the charging and consuming module to switch from the charging mode to the consuming mode when receiving the second control signal.
4. The system according to claim 2, characterized in that It also includes a signal analysis module, which is connected to the simulation test module; The signal analysis module is used to obtain the first test result and / or the second test result from the simulation test module to determine whether the automatic charging function of the vehicle battery unit is normal.
5. The system according to claim 1, characterized in that The charging and consuming module includes a bidirectional power supply, a first circuit and a second circuit, the bidirectional power supply is connected to the simulation test module, the bidirectional power supply is connected to the vehicle battery unit through the first circuit, and the bidirectional power supply is also connected to the vehicle battery unit through the second circuit; The first loop is used for the vehicle battery unit to supply power to the bidirectional power supply, so that the bidirectional power supply consumes power of the vehicle battery unit; The second circuit is used for the bidirectional power supply to supply power to the vehicle battery unit, so that the bidirectional power supply can replenish the power of the battery unit.
6. The system according to claim 5, characterized in that The charging and consuming module further includes a converter, and the bidirectional power supply is connected to the second circuit via the converter; The converter is used to convert the high voltage power output by the charging and consuming module into a low voltage power and input it into the vehicle battery unit, so that the bidirectional power supply can replenish the power of the battery unit.
7. The system according to claim 5, characterized in that The charging and consuming module includes a high-voltage power supply, a first controller, a low-voltage load, and a second controller. The high-voltage power supply is connected to the first circuit through the first controller, and the low-voltage load is connected to the second circuit through the second controller; the first controller and the second controller are both connected to the simulation test module; The first controller is used to control the high voltage power supply to supply power to the vehicle battery unit when receiving a first control signal; The second controller is used to control the vehicle battery unit to supply power to the low-voltage load when receiving a second control signal.
8. The system according to claim 1, characterized in that The vehicle battery unit includes a third controller and a battery body, and the third controller is connected to the battery body and the vehicle controller.
9. A method for testing the automatic charging function of a battery, characterized in that: A test system for automatic battery charging function, the test system for automatic battery charging function comprising a charging and consumption module and a simulation test module, the simulation test module is connected to a vehicle controller and the charging and consumption module, the charging and consumption module is connected to a vehicle battery unit; the method comprises When the charging and consuming module is in the power consumption mode, detecting whether a first control signal output by the vehicle controller is received, the first control signal is used by the simulation test module to control the charging and consuming module to switch from the power consumption mode to the charging mode, the power consumption mode is used by the charging and consuming module to consume the power of the vehicle battery unit, and the charging mode is used by the charging and consuming module to replenish the power of the vehicle battery unit; According to whether the first control signal output by the vehicle controller is received, a corresponding first test result is output.
10. The method according to claim 9, characterized in that Also includes: When receiving the first control signal, controlling the charging and consuming module to switch from the power consumption mode to the charging mode; After the charging and consuming module switches to the charging mode, detecting whether a second control signal output by the vehicle controller is received, the second control signal is used by the simulation test module to control the charging and consuming module to switch from the charging mode to the consuming mode; According to whether the second control signal output by the vehicle controller is received, a corresponding second test result is output.