A test device and method for a battery management system
Patent Information
- Application Number
- CN202510547949.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-28
- Publication Date
- 2026-10-30
AI Technical Summary
[0003]本发明提供一种电池管理系统的测试装置及方法,以解决上述在电池管理系统在台架测试中,存在安全性低、成本高和体积大的技术问题
[0014]本申请实施例的有益效果:本申请提供一种电池管理系统的测试装置及方法,本申请实施例通过测试电源为各个电压采样点提供测试源电压,并通过预设放大系数和每一电压采样点的实际采样电压实现电池管理系统的测试,替代了通过多个单体电池模拟器模拟整车电池包的测试方案,提高电池管理系统的测试安全性,缩小场地占用,并节约测试成本,提高测试效率。
Smart Images

Figure CN123010694A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of battery management technology, and in particular to a testing apparatus and method for a battery management system. Background Technology
[0002] Hardware-in-the-Loop (HIL) test benches for Battery Management Systems (BMS) are essential tools for BMS software testing and have been adopted by various development companies. Typically, the HIL bench is equipped with the same number of individual battery simulators as the entire vehicle battery pack, and these simulators are connected in series to simulate the entire vehicle battery pack, with a total voltage reaching 400-800V. Operators must take appropriate safety precautions. The simulation of the entire vehicle battery pack results in high costs, large size, and high-voltage characteristics (400V-800V), placing significant demands on BMS software development in terms of funding, facilities, and personnel safety, limiting procurement volume, and impacting software development. Summary of the Invention
[0003] This invention provides a testing apparatus and method for a battery management system, in order to solve the aforementioned technical problems of low safety, high cost, and large size in bench testing of battery management systems.
[0004] In one embodiment of this application, a testing apparatus for a battery management system is provided, comprising: a test power supply, a battery management system, a plurality of relays under test (UUT) and a plurality of switches under test (SUT); the test power supply is used to provide a test source voltage for each voltage sampling point in the battery circuit of the vehicle battery pack, the test source voltage being less than the battery voltage of the vehicle battery pack; each UUT and each SUT are respectively connected to a target voltage sampling interface corresponding to the test power supply and the battery management system based on the battery circuit; the battery management system is used to control the on / off state of each UUT and each SUT, and to collect the actual sampling voltage of each voltage sampling point, and to simulate the test sampling voltage of each voltage sampling point according to a preset amplification factor and each actual sampling voltage, so as to test the battery management system.
[0005] In one embodiment of this application, the relay control interface of the relay under test is connected to the management control interface of the battery management system; the first power interface of the relay under test is connected to the test power supply, and the second power interface of the relay under test is connected to the corresponding voltage sampling point.
[0006] In one embodiment of this application, each of the relays under test includes a main positive relay, a pre-charge relay, and a main negative relay; the first power interface of the main positive relay and the first power interface of the pre-charge relay are both connected to the positive terminal of the test power supply; the second power interface of the main positive relay and the second power interface of the pre-charge relay are both connected to the main positive voltage sampling interface of the battery management system through the voltage sampling point after the main positive relay; the first power interface of the main negative relay is connected to the negative terminal of the test power supply, and the second power interface of the main negative relay is connected to the main negative voltage sampling interface of the battery management system through the voltage sampling point after the main negative relay; wherein, the target voltage sampling interface includes the main positive voltage sampling interface and the main negative voltage sampling interface.
[0007] In one embodiment of this application, the number of relays under test is two; the first switch under test is used to simulate the voltage sampling point before the fuse, and is connected between the positive terminal of the test power supply and the voltage sampling interface before the fuse of the battery management system; the second switch under test is used to simulate the voltage sampling point after the fuse, and is connected between the positive terminal of the test power supply and the voltage sampling interface after the fuse of the battery management system; wherein, the target voltage sampling interface further includes the voltage sampling interface before the fuse and the voltage sampling interface after the fuse.
[0008] In one embodiment of this application, the test power supply is an external power supply or the operating power supply corresponding to the battery management system.
[0009] In one embodiment of this application, the test source voltage of the test power supply is one of 12V, 24V, 36V, and 48V.
[0010] In one embodiment of this application, the device further includes a plurality of voltage simulators; the voltage simulators are used to simulate the voltage of a plurality of individual cells and / or the temperature of a plurality of individual cells in the vehicle battery pack; the negative terminal of the voltage simulators is connected to a plurality of individual cell negative terminal sampling interfaces in the battery management system, and the positive terminal of the voltage simulators is connected to a plurality of individual cell positive terminal sampling interfaces in the battery management system.
[0011] In one embodiment of this application, a testing method for a battery management system is provided, comprising: acquiring a test control command for the battery management system; responding to the test control command by closing or opening at least one of a corresponding switch under test and a relay under test, and acquiring the actual sampling voltage of the voltage sampling point corresponding to the test control command; and determining the product of the actual sampling voltage of the voltage sampling point and a preset amplification factor as the test sampling voltage of the voltage sampling point to test the battery management system.
[0012] In one embodiment of this application, responding to the test control command, closing or opening at least one of the corresponding switch under test and relay under test includes: if the test control command is used to simulate normal operation of a fuse, then closing the first switch under test and the second switch under test; if the test control command is used to simulate fuse blowing or a voltage sampling fault after the fuse, then closing the first switch under test and opening the second switch under test; if the test control command is used to simulate an open circuit before the fuse, then opening the first switch under test and the second switch under test; if the test control command is used to simulate a voltage sampling fault before the fuse, then opening the first switch under test and closing the second switch under test.
[0013] In one embodiment of this application, the test control command includes a simulation control command for at least one of the following processes: vehicle power-on process, vehicle power-off process, charging process, and fault process.
[0014] The beneficial effects of the embodiments of this application are as follows: This application provides a test device and method for a battery management system. The embodiments of this application provide test source voltage to each voltage sampling point through a test power supply, and realize the test of the battery management system through a preset amplification factor and the actual sampling voltage of each voltage sampling point. This replaces the test scheme of simulating the whole vehicle battery pack through multiple single-cell battery simulators, improves the test safety of the battery management system, reduces the site occupation, saves test costs, and improves test efficiency.
[0015] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:
[0017] Figure 1 A schematic diagram of the electrical principle of the vehicle battery pack is shown.
[0018] Figure 2 A schematic diagram of a test apparatus for a battery management system according to an embodiment of this application is shown;
[0019] Figure 3 A schematic diagram of a single-cell voltage sampling according to an embodiment of this application is shown;
[0020] Figure 4A flowchart illustrating a test method for a battery management system according to an embodiment of this application is shown;
[0021] Figure 5 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown. Detailed Implementation
[0022] The following specific examples illustrate the implementation of this application. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. This application can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be noted that, unless otherwise specified, the following embodiments and features in the embodiments can be combined with each other.
[0023] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of this application. Therefore, the drawings only show the components related to this application and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the shape, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0024] In the following description, numerous details are explored to provide a more thorough explanation of embodiments of the present application. However, it will be apparent to those skilled in the art that embodiments of the present application may be practiced without these specific details. In other embodiments, well-known structures and devices are shown in block diagram form rather than in detail to avoid obscuring embodiments of the present application.
[0025] In related technologies, battery management systems have technical problems such as low safety, high cost, and large size during bench testing.
[0026] To address the aforementioned technical problems, this application provides a testing apparatus and method for a battery management system. The implementation details of the technical solutions in the embodiments of this application are described in detail below.
[0027] In one embodiment of this application, a test apparatus for a battery management system includes: a test power supply, a battery management system, multiple relays under test (DUTs), and multiple switches under test (SUTs). The test power supply provides a test source voltage for each voltage sampling point in the battery circuit of the vehicle battery pack, and the test source voltage is less than the battery voltage of the vehicle battery pack. Each DUT and each SUT is connected to a target voltage sampling interface corresponding to the test power supply and the battery management system, respectively, based on the battery circuit. The battery management system controls the on / off state of each DUT and each SUT, and collects the actual sampling voltage of each voltage sampling point. It simulates the test sampling voltage of each voltage sampling point according to a preset amplification factor and each actual sampling voltage to test the battery management system.
[0028] Please see Figure 1 , Figure 1 A schematic diagram illustrating the electrical principles of the vehicle's battery pack is shown. Figure 1 As shown, the electrical schematic includes a vehicle battery pack 101 consisting of individual battery cells connected in series, a Battery Management System (BMS) 102, a voltage sampling point 103 before the fuse, a fuse 104, a voltage sampling point 105 after the fuse, a current sensor 106, a main positive relay 107, a pre-charge relay 108, a voltage sampling point 109 after the main positive relay, a main negative relay 110, and a voltage sampling point 111 after the main negative relay. The Battery Management System 102 is used to collect the voltage at each sampling point and control various relays; the current sensor 106 is used to collect current and feed it back to the Battery Management System 102. During vehicle power-on, vehicle power-off, and charging processes, various relays are controlled to operate. After each relay closes, the voltage at its corresponding sampling point changes adaptively. The BMS uses these voltage changes to determine whether the vehicle battery pack is operating normally.
[0029] In one embodiment of this application, please refer to [the relevant documentation]. Figure 1 ,like Figure 1 As shown, R1 is a resistor used to limit the current or voltage division of the battery circuit in the vehicle battery pack; R2 is a pre-charge resistor used to limit the instantaneous large current flowing into the capacitive load; HV+ is the positive terminal of the vehicle battery pack, and HV- is the negative terminal of the vehicle battery pack.
[0030] In one embodiment of this application, the test source voltage is a first voltage, which is determined to improve operator safety, and is a low voltage. For example, the first voltage is determined by the human body safety voltage.
[0031] In one embodiment of this application, during the actual vehicle power-on process, the voltage signals collected by the BMS, such as the voltage before and after the fuse, the voltage after the main positive relay / pre-charge relay, and the voltage after the main negative relay, constitute a second voltage. This second voltage is a high voltage and is derived based on the battery voltage of the vehicle's battery pack, for example, 400V to 800V.
[0032] In one embodiment of this application, a first voltage can be set to be equal to the battery voltage of the vehicle battery pack multiplied by a preset voltage percentage. The preset voltage percentage is the reciprocal of a preset amplification factor.
[0033] In one embodiment of this application, the test source voltage of the test power supply is one of 12V, 24V, 36V, and 48V.
[0034] In one embodiment of this application, the operating voltage of the relay under test is a third voltage. The third voltage is determined based on various standards, and the determination of the third voltage aims to improve operator safety. The third voltage is a low voltage, for example, one of 12V, 24V, 36V, or 48V, and the third voltage corresponds to the first voltage.
[0035] In one embodiment of this application, the test power supply is an external power supply or the operating power supply corresponding to the battery management system.
[0036] In one embodiment of this application, the BMS is tested using two power supply devices. For example, the first power supply device is the working power supply corresponding to the BMS, thereby providing the working voltage of the BMS, and the second power supply device is an external power supply, providing the test source voltage for the voltage sampling point; or, the BMS is tested using one power supply device, that is, the working power supply provides the working voltage of the BMS and the test source voltage for the voltage sampling point at the same time.
[0037] In one embodiment of this application, please refer to Figure 2 , Figure 2 A schematic diagram of a test apparatus for a battery management system according to an embodiment of this application is shown. Figure 2 As shown, the battery management system test apparatus includes a test power supply 201, a battery management system 202, and multiple relays and switches under test, connected in a manner based on... Figure 1 The electrical schematic diagram of the vehicle battery pack is shown for circuit connection.
[0038] In one embodiment of this application, the relay control interface of the relay under test is connected to the management control interface of the battery management system; the first power interface of the relay under test is connected to the test power supply, and the second power interface of the relay under test is connected to the corresponding voltage sampling point.
[0039] In one embodiment of this application, please refer to [the relevant documentation]. Figure 2 ,like Figure 2 As shown, each relay under test includes a main positive relay 203, a pre-charge relay 204, and a main negative relay 205. The first power interface of the main positive relay 203 and the first power interface of the pre-charge relay 204 are both connected to the positive terminal of the test power supply 201. The second power interface of the main positive relay 203 and the second power interface of the pre-charge relay 204 are both connected to the main positive voltage sampling interface of the battery management system 202 through the voltage sampling point after the main positive relay. The first power interface of the main negative relay 205 is connected to the negative terminal of the test power supply 201, and the second power interface of the main negative relay 205 is connected to the main negative voltage sampling interface of the battery management system 202 through the voltage sampling point after the main negative relay. The target voltage sampling interface includes the main positive voltage sampling interface and the main negative voltage sampling interface. The main positive voltage sampling interface of the battery management system 202 is identified by "C", the main negative voltage sampling interface of the battery management system 202 is identified by "F", the main positive voltage sampling point is identified by "solid dot", and the main negative voltage sampling point is identified by "hollow dot".
[0040] In one embodiment of this application, the relay control interface includes a low-side control interface and a high-side control interface for the relay under test. The management control interface includes a low-side management sub-interface and a high-side management sub-interface. The low-side management sub-interface is connected to the low-side control interface to form a low-side control line; the high-side management sub-interface is connected to the high-side control interface to form a high-side control line, thereby controlling the energizing mode of the coil of the relay under test, and thus controlling the on / off state of the relay under test.
[0041] In one embodiment of this application, please refer to [the relevant documentation]. Figure 2 ,like Figure 2 As shown, "A_1" is the first low-side management sub-interface of the battery management system 202, which is connected to the low-side control interface of the main positive relay 203; "B_1" is the first high-side management sub-interface of the battery management system 202, which is connected to the high-side control interface of the main positive relay 203; "A_2" is the second low-side management sub-interface, which is connected to the low-side control interface of the pre-charge relay 204; "B_2" is the second high-side management sub-interface, which is connected to the high-side control interface of the pre-charge relay 204; "A_3" is the third low-side management sub-interface, which is connected to the low-side control interface of the main negative relay 205; and "B_3" is the third high-side management sub-interface, which is connected to the high-side control interface of the main negative relay 205.
[0042] In one embodiment of this application, please refer to [the relevant documentation]. Figure 2 ,like Figure 2As shown, there are two relays under test; the first switch 206 is used to simulate the voltage sampling point before the fuse, and is connected between the positive terminal of the test power supply 201 and the voltage sampling interface before the fuse of the battery management system 202; the second switch 207 is used to simulate the voltage sampling point after the fuse, and is connected between the positive terminal of the test power supply 201 and the voltage sampling interface after the fuse of the battery management system 202; wherein, the target voltage sampling interface also includes a voltage sampling interface before the fuse and a voltage sampling interface after the fuse, which are identified by "D" and "E".
[0043] In one embodiment of this application, the device further includes a plurality of voltage simulators; the voltage simulators are used to simulate the voltage of a plurality of individual cells and / or the temperature of a plurality of individual cells in the vehicle battery pack; the negative terminals of the voltage simulators are respectively connected to a plurality of individual cell negative terminal sampling interfaces in the battery management system, and the positive terminals of the voltage simulators are respectively connected to a plurality of individual cell positive terminal sampling interfaces in the battery management system.
[0044] In one embodiment of this application, please refer to Figure 3 , Figure 3 A schematic diagram of a single-cell voltage sampling according to an embodiment of this application is shown. Figure 3 As shown, there are two voltage simulators, which together simulate the real-world performance of x different cell voltages in a vehicle battery pack.
[0045] This application constructs a low-voltage test device for a battery management system (BMS) that simulates the processes of vehicle power-on, power-off, charging, and fault diagnosis using common low-voltage relays under test (DUTs), wiring harnesses, and low-voltage test power supplies. Compared to hardware-in-the-loop (HIL) test benches for BMS using individual battery simulators, such as workbench or rack-mount designs, the test device provided in this application can reduce the space required by tens of times; for example, the footprint can be reduced to the floor area of a 15-inch laptop. Furthermore, this device is characterized by low-voltage safety and low cost, thereby saving on BMS testing costs and improving efficiency.
[0046] Please see Figure 4 , Figure 4 A flowchart illustrating a testing method for a battery management system according to an embodiment of this application is shown. Figure 4 As shown, in an exemplary embodiment, the test method for the battery management system includes at least steps S410 to S430, which are described in detail below:
[0047] Step S410: Obtain the test control command from the battery management system.
[0048] In one embodiment of this application, the test control command includes a simulation control command for at least one of the following processes: vehicle power-on process, vehicle power-off process, charging process, and fault process.
[0049] In one embodiment of this application, the test control command can be actively generated by the battery management system or sent from the host computer to the battery management system.
[0050] In step S420, in response to the test control command, close or open at least one of the corresponding switch under test and relay under test, and collect the actual sampled voltage of the voltage sampling point corresponding to the test control command.
[0051] In one embodiment of this application, responding to a test control command, closing or opening at least one of the corresponding switch under test and relay under test includes: if the test control command is used to simulate normal operation of a fuse, then closing the first switch under test and the second switch under test; if the test control command is used to simulate fuse blowing or a voltage sampling fault after the fuse, then closing the first switch under test and opening the second switch under test; if the test control command is used to simulate an open circuit before the fuse, then opening the first switch under test and the second switch under test; if the test control command is used to simulate a voltage sampling fault before the fuse, then opening the first switch under test and closing the second switch under test.
[0052] Step S430: The product of the actual sampled voltage of the voltage sampling point and the preset amplification factor is determined as the test sampled voltage of the voltage sampling point to test the battery management system.
[0053] In one embodiment of this application, when the test source voltage is 12V, the preset amplification factor can be set to 30 to simulate a vehicle battery pack with a battery voltage of 360V. This application uses this as an example to explain the voltage sampling process.
[0054] In one embodiment of this application, the precharge relay is closed by the low-side control line and the high-low-side control line between the precharge relay and the battery management system to obtain the actual sampled voltage of the voltage sampling point after the main positive relay is in the open state.
[0055] In one embodiment of this application, if the actual sampling voltage of the voltage sampling point after the main positive relay is 12V, then the test sampling voltage of the voltage sampling point after the main positive relay = 12V × 30 = 360V. After the battery management system determines that the test sampling voltage is correct, the battery management system generates a test control command corresponding to closing the main positive relay, or the host computer sends a test control command corresponding to closing the main positive relay to the battery management system.
[0056] In one embodiment of this application, the precharge relay is closed via the low-side control line and the high-low-side control line between the main positive relay and the battery management system to collect the actual sampled voltage of the voltage sampling point after the main positive relay when the precharge relay is in an open or closed state.
[0057] In one embodiment of this application, if both the main positive relay and the pre-charge relay are in the closed state, and the actual sampling voltage of the voltage sampling point after the main positive relay is 12V, then the test sampling voltage of the voltage sampling point after the main positive relay = 12V × 30 = 360V. After the battery management system determines that the test sampling voltage is correct, the battery management system generates a test control command to disconnect the pre-charge relay, or the host computer sends a test control command to disconnect the pre-charge relay to the battery management system.
[0058] In one embodiment of this application, by disconnecting the precharge relay through the low-side control line and the high-low-side control line between the precharge relay and the battery management system, the actual sampled voltage of the voltage sampling point after the main positive relay is in the closed state can continue to be collected.
[0059] In one embodiment of this application, the main negative relay is closed via the low-side control line and the high-low-side control line between the main negative relay and the battery management system. If the actual sampled voltage at the voltage sampling point after the main negative relay is 0V, then the test sampled voltage at the voltage sampling point after the main negative relay is 0V.
[0060] In one embodiment of this application, if the actual sampling voltage obtained when the first switch to be tested is closed is 12V, then the test sampling voltage of the voltage sampling point before the fuse = 12V × 30 = 360V.
[0061] In one embodiment of this application, if the actual sampling voltage obtained when the second switch to be tested is closed is 12V, then the test sampling voltage of the voltage sampling point after the fuse = 12V × 30 = 360V.
[0062] In one embodiment of this application, testing the battery management system includes: the battery management system determining the sampling response result of the test control command based on the test sampling voltage; and comparing the sampling response result with the preset response result of the test control command to obtain the test result of the battery management system.
[0063] Embodiments of this application also provide an electronic device, including: one or more processors; and a storage device for storing one or more programs, which, when executed by one or more processors, cause the electronic device to implement the test method of the battery management system provided in the above embodiments.
[0064] Please see Figure 5 , Figure 5A schematic diagram of a computer system suitable for implementing the embodiments of this application is shown. It should be noted that... Figure 5 The computer system 500 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0065] like Figure 5 As shown, the computer system 500 includes a Central Processing Unit (CPU) 501, which can perform various appropriate actions and processes, such as executing the methods described in the above embodiments, based on programs stored in Read-Only Memory (ROM) 502 or programs loaded from storage portion 508 into Random Access Memory (RAM) 503. The RAM 503 also stores various programs and data required for system operation. The CPU 501, ROM 502, and RAM 503 are interconnected via a bus 504. An Input / Output (I / O) interface 505 is also connected to the bus 504.
[0066] The following components are connected to I / O interface 505: an input section 506 including a keyboard, mouse, etc.; an output section 507 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to I / O interface 505 as needed. Removable media 511, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 510 as needed so that computer programs read from them can be installed into storage section 508 as needed.
[0067] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 509, and / or installed from removable medium 511. When the computer program is executed by central processing unit (CPU) 501, it performs various functions defined in the system of this application.
[0068] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.
[0069] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0070] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, touch terminal, or network device, etc.) to execute the methods according to the embodiments of this application.
[0071] Another aspect of this application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a computer's processor, causes the computer to perform the test method of the battery management system provided in the various embodiments described above. This computer-readable storage medium may be included in the electronic device described in the above embodiments, or it may exist independently and not assembled into the electronic device.
[0072] In the above embodiments, unless otherwise specified, the use of ordinal numbers such as "first" and "second" to describe common objects only indicates that they refer to different instances of the same object, rather than indicating that the objects being described must be in a given order, whether temporally, spatially, sequentially, or in any other way.
[0073] The above embodiments are merely illustrative of the principles and effects of this application and are not intended to limit this application. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of this application. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in this application should still be covered by the claims of this application.
Claims
1. A testing device for a battery management system, characterized in that, The device includes: a test power supply, a battery management system, multiple relays under test, and multiple switches under test; The test power supply is used to provide test source voltage for each voltage sampling point in the battery circuit of the vehicle battery pack, and the test source voltage is less than the battery voltage of the vehicle battery pack. Each of the relays under test and each of the switches under test are respectively connected to the target voltage sampling interface of the test power supply and the battery management system based on the battery circuit. The battery management system is used to control the on / off state of each of the relays under test and each of the switches under test, and to collect the actual sampling voltage of each voltage sampling point. Based on the preset amplification factor and each actual sampling voltage, the system simulates the test sampling voltage of each voltage sampling point to test the battery management system.
2. The testing apparatus for the battery management system according to claim 1, characterized in that, The relay control interface of the relay under test is connected to the management control interface of the battery management system; The first power interface of the relay under test is connected to the test power supply, and the second power interface of the relay under test is connected to the corresponding voltage sampling point.
3. The testing apparatus for the battery management system according to claim 2, characterized in that, Each of the relays under test includes a main positive relay, a pre-charge relay, and a main negative relay; The first power interface of the main positive relay and the first power interface of the precharge relay are both connected to the positive terminal of the test power supply; The second power interface of the main positive relay and the second power interface of the precharge relay are both connected to the main positive voltage sampling interface of the battery management system through the voltage sampling point after the main positive relay. The first power interface of the main negative relay is connected to the negative terminal of the test power supply, and the second power interface of the main negative relay is connected to the main negative voltage sampling interface of the battery management system through the voltage sampling point after the main negative relay. The target voltage sampling interface includes the main positive voltage sampling interface and the main negative voltage sampling interface.
4. The testing apparatus for the battery management system according to claim 1, characterized in that, The number of relays under test is two; The first switch under test is used to simulate the voltage sampling point before the fuse and is connected between the positive terminal of the test power supply and the voltage sampling interface before the fuse of the battery management system. The second switch under test is used to simulate the voltage sampling point after the fuse, and is connected between the positive terminal of the test power supply and the voltage sampling interface after the fuse of the battery management system. The target voltage sampling interface further includes the pre-fuse voltage sampling interface and the post-fuse voltage sampling interface.
5. The testing apparatus for the battery management system according to any one of claims 1-4, characterized in that, The test power supply is an external power supply or the operating power supply corresponding to the battery management system.
6. The testing apparatus for the battery management system according to any one of claims 1-4, characterized in that, The test source voltage of the test power supply is one of 12V, 24V, 36V, or 48V.
7. The testing apparatus for the battery management system according to any one of claims 1-4, characterized in that, The device also includes multiple voltage simulators; The voltage simulator is used to simulate the voltage of multiple individual cells and / or the temperature of multiple individual cells in the vehicle battery pack. The negative terminal of the voltage simulator is connected to multiple individual negative terminal sampling interfaces in the battery management system, and the positive terminal of the voltage simulator is connected to multiple individual positive terminal sampling interfaces in the battery management system.
8. A test method for a battery management system, characterized in that, The method is implemented based on the test apparatus of the battery management system according to any one of claims 1-7, and includes: Obtain test control commands from the battery management system; In response to the test control command, at least one of the corresponding switch under test and relay under test is closed or opened, and the actual sampled voltage of the voltage sampling point corresponding to the test control command is collected; The product of the actual sampled voltage at the voltage sampling point and the preset amplification factor is determined as the test sampled voltage at the voltage sampling point, in order to test the battery management system.
9. The test method for the battery management system according to claim 8, characterized in that, In response to the test control command, closing or opening at least one of the corresponding switch under test and relay under test includes: If the test control command is used to simulate the normal operation of the fuse, then the first and second switches under test are closed; If the test control command is used to simulate a fuse blowout or a voltage sampling fault after the fuse, then the first switch under test is closed and the second switch under test is opened. If the test control command is used to simulate a circuit break before the fuse, then the first and second switches under test are disconnected. If the test control command is used to simulate a fault in the voltage sampling of the fuse, then the first switch under test is disconnected and the second switch under test is closed.
10. The test method for the battery management system according to claim 8, characterized in that, The test control commands include simulation control commands for at least one of the following processes: vehicle power-on process, vehicle power-off process, charging process, and fault process.
