Battery pack relay function test method and device

By combining voltage pre-charging and rapid discharging processes for the battery pack relay, the problems of instantaneous high-current discharge and transient interference during relay closure and opening are solved, achieving stable and accurate test results and efficient relay status identification.

CN121995203APending Publication Date: 2026-05-08CHINA FAW CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA FAW CO LTD
Filing Date
2025-12-15
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

In the prior art, the battery pack relay generates instantaneous large current discharge and transient interference when it is closed or opened, which causes overcurrent impact or burning of the sampling chip in the control unit, making it difficult to obtain a stable and accurate voltage value, thus affecting the accuracy and reliability of the test.

Method used

By constructing a test circuit that simulates the pre-charging and power-on process of a vehicle, the high-voltage port is pre-charged, and a discharge resistor is connected after disconnecting the positive relay of the high-voltage circuit to rapidly discharge the external Y capacitor of the battery pack interface. Voltage information is collected to obtain the functional test results of the relay.

Benefits of technology

To ensure that the relay's operating state is not affected by transient voltage and current disturbances, obtain stable and accurate test results, improve the reliability and efficiency of testing, reduce uncertainty, and enhance the reliability and consistency of relay adhesion detection and response characteristic detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121995203A_ABST
    Figure CN121995203A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of battery testing, in particular to a battery pack relay function testing method and device, and the method comprises the steps: carrying out the voltage pre-charging of a high-voltage port based on a testing circuit before a main positive relay is closed, and controlling the voltage difference between the interior and exterior of a battery pack to be within a threshold value after the main positive relay is closed; based on a discharging loop of the battery pack EOL test equipment, after a positive pole relay of a high-voltage loop is disconnected, a discharging resistor is connected, a Y capacitor outside a battery pack interface is rapidly discharged, voltage information of a battery pack charging interface is collected, and a function test result of the relay is obtained according to the voltage information of the charging interface. Therefore, the problems that when the relay is switched on or switched off, instantaneous large-current discharge and other transient interference are possibly generated, overcurrent impact and even ablation are easily caused to a sampling chip in the control unit, a stable and accurate voltage value is difficult to obtain by the testing device in a short time, and the abnormal action of the relay cannot be effectively identified are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of battery testing technology, and in particular to a method and apparatus for testing the function of a battery pack relay. Background Technology

[0002] In related technologies, battery pack relay function testing mainly involves controlling the closing or opening of the relay to simulate the power-on or power-off process of the high-voltage circuit, and using basic measuring tools such as multimeters to monitor the voltage and current changes at the high-voltage end of the battery pack, thereby observing and judging the operating status of the relay and its control unit.

[0003] However, because the relay may generate a large instantaneous current discharge when it is closed, it can easily cause overcurrent impact or even burn-out to the sampling chip in the control unit. At the same time, after the positive relay is disconnected, transient voltage fluctuations are likely to occur, making it difficult for the test device to obtain a stable and accurate voltage value in a short period of time. As a result, it is impossible to effectively identify abnormal relay operation, which affects the accuracy and reliability of the test and urgently needs to be solved. Summary of the Invention

[0004] This application provides a method and apparatus for testing the function of a battery pack relay, in order to solve the problem in the related art that, when a relay is closed or opened, it may generate a momentary large current discharge and other transient interference, which can easily cause overcurrent impact or even burn-out to the sampling chip in the control unit, making it difficult for the testing device to obtain a stable and accurate voltage value in a short period of time, thus making it impossible to effectively identify abnormal relay operation.

[0005] The first aspect of this application provides a method for testing the function of a battery pack relay, comprising the following steps: constructing a test circuit simulating the pre-charging and power-on process of a vehicle; based on the test circuit, pre-charging the high-voltage port before the main positive relay closes, and controlling the voltage difference between the inside and outside of the battery pack within a preset threshold after the main positive relay closes; based on the discharge circuit of the battery pack EOL (End-of-Line) test equipment, after disconnecting the positive relay of the high-voltage circuit, connecting a discharge resistor to rapidly discharge the Y capacitor outside the battery pack interface to collect the voltage information of the battery pack charging interface, and obtaining the functional test result of the relay based on the voltage information of the charging interface.

[0006] Through the above technical means, the embodiments of this application can perform functional tests on the relay after pre-charging the high-voltage port and connecting the discharge resistor. This ensures that the relay's operating state is not affected by transient voltage and current disturbances, thereby obtaining stable and accurate test results. It can reduce test uncertainty, improve the reliability and consistency of relay adhesion detection, controllability detection, and response characteristic detection, and significantly improve the efficiency and pass rate of the test process.

[0007] Optionally, in one embodiment of this application, the method further includes: acquiring voltage information from the battery pack output interface; and obtaining control information and / or adhesion information of the relay based on the voltage information from the output interface.

[0008] Through the above technical means, the embodiments of this application can obtain the controlled information and / or adhesion information of the relays based on the voltage information, accurately identify the actual operating state of each relay under the current test command, and further generate a relay state judgment table, providing a basis for subsequent functional testing, anomaly diagnosis and vehicle consistency analysis.

[0009] Optionally, in one embodiment of this application, before pre-charging the high-voltage port, the method further includes: simulating the pre-charging function of the vehicle-mounted DC (Direct Current) / DC assembly based on a preset bidirectional constant current power supply, and determining the selection of the charging resistor to complete the pre-charging function.

[0010] Through the above technical means, the embodiments of this application can simulate the pre-charging function of the vehicle DC / DC assembly, determine the selection of the charging resistor, and realistically reproduce the power-on characteristics of the vehicle's high-voltage system in the test environment. This ensures that the voltage rise curve, thermal load, and current limiting capability of the charging resistor during the pre-charging process are consistent with those of the actual vehicle. By reasonably selecting the resistance value and power specifications of the pre-charging resistor, it is possible to effectively limit the inrush current during the pre-charging stage, avoid relay contact impact and sampling circuit overcurrent, thereby achieving safe and stable pre-charging behavior and improving the reliability and accuracy of the test results.

[0011] Optionally, in one embodiment of this application, before testing, the method further includes: identifying the user's testing requirements; and generating at least one test task for the battery pack relay based on the testing requirements.

[0012] Through the above technical means, the embodiments of this application can generate test tasks for battery pack relays according to the user's test requirements, which can match the test process with the actual use scenario, thereby achieving more targeted relay function verification, ensuring that the test content fully covers the user's needs, and improving test efficiency and the accuracy of test results.

[0013] A second aspect of this application provides a battery pack relay function testing device, comprising: a construction module for constructing a test circuit simulating the pre-charging and power-on process of a vehicle; a control module for pre-charging the high-voltage port before the main positive relay closes, and controlling the voltage difference between the inside and outside of the battery pack within a preset threshold after the main positive relay closes; and a testing module for connecting a discharge resistor to the Y capacitor outside the battery pack interface after the positive relay of the high-voltage circuit is disconnected, based on the discharge circuit of the battery pack EOL testing equipment, to rapidly discharge the Y capacitor outside the battery pack interface by collecting the voltage information of the battery pack charging interface, and obtaining the function test result of the relay based on the voltage information of the charging interface.

[0014] Optionally, in one embodiment of this application, it further includes: a data acquisition module for acquiring voltage information of the battery pack output interface; and an acquisition module for obtaining control information and / or adhesion information of the relay based on the voltage information of the output interface.

[0015] Optionally, in one embodiment of this application, it further includes: a simulation module, used to simulate the pre-charging function of the vehicle DC / DC assembly based on a preset bidirectional constant current power supply, and to determine the selection of the charging resistor to complete the pre-charging function.

[0016] Optionally, in one embodiment of this application, it further includes: an identification module for identifying user test requirements; and a generation module for generating at least one test task for the battery pack relay based on the test requirements.

[0017] A third aspect of this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the battery pack relay function testing method as described in the above embodiments.

[0018] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described battery pack relay function testing method.

[0019] A fifth aspect of this application provides a computer program product, including a computer program that, when executed, is used to implement the above-described battery pack relay function testing method.

[0020] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0021] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein: Figure 1 This is a schematic diagram comparing the high-voltage principles of two battery packs according to one embodiment of this application; Figure 2 This is a schematic diagram of the structure of an EOL device according to an embodiment of this application; Figure 3 This is a schematic diagram of the control circuit principle of one embodiment of this application; Figure 4 This is a flowchart of a battery pack relay function testing method according to an embodiment of this application; Figure 5 This is a schematic diagram of the vehicle pre-charging circuit according to one embodiment of this application; Figure 6 This is a flowchart of a battery pack relay function testing method according to an embodiment of this application; Figure 7 This is a block diagram of a battery pack relay function testing device according to an embodiment of this application; Figure 8 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application.

[0022] Figure label: 201-Display, 202-Industrial PC, 203-22V Programmable Power Supply, 204-Digital Multimeter, 205-Constant Voltage Power Supply, 206-CAN (Controller Area Network) Card, 207-Relay Control Board, 208-Switch; 10-Battery Pack Relay Function Test Device; 100-Building Module, 200-Control Module, 300-Test Module; 801-Memory, 802-Processor, 803-Communication Interface. Detailed Implementation

[0023] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.

[0024] The following describes a battery pack relay function testing method and apparatus according to embodiments of this application with reference to the accompanying drawings. To address the technical problem mentioned in the background art, where relays may generate instantaneous high-current discharges and other transient interferences when closing or opening, easily causing overcurrent surges or even burn-out of the sampling chip in the control unit, making it difficult for the testing device to obtain stable and accurate voltage values ​​in a short time, and thus failing to effectively identify abnormal relay operation, this application provides a battery pack relay function testing method. In this method, the high-voltage port is first pre-charged based on the test circuit, and then the external Y capacitor of the battery pack interface is rapidly discharged based on the discharge circuit of the battery pack EOL testing equipment. The functional test results of the relay are obtained based on the voltage information. By performing a pre-charging operation on the high-voltage port, the high-current surge generated when the relay is directly closed is avoided, reducing the risk of impact on the relay contacts and sampling chip, thereby quickly completing the pre-charging function and ensuring the safe closure of the relay in the battery pack output circuit. At the same time, the interface voltage is quickly discharged through the discharge resistor, which can stabilize the interface voltage in a short time and ensure that the voltage sampling results are stable and reliable. By using the combination of pre-charging and rapid discharging, the number of times high voltage is repeatedly applied during the test can be reduced, the single test time can be shortened, the stability of the relay test process can be improved, and the pass rate of the test can be increased. This solves the problem that relays may generate instantaneous high current discharges and other transient interferences when they close or open, which can easily cause overcurrent surges or even burn-out to the sampling chip in the control unit, making it difficult for the testing device to obtain stable and accurate voltage values ​​in a short time, thus making it impossible to effectively identify abnormal relay operation.

[0025] Before describing the battery pack relay function test method of the embodiments of this application, the system structure and application scenarios involved in the embodiments of this application will be described first.

[0026] like Figure 1 As shown, some types of battery packs lack a pre-charge resistor in their output circuit. During the testing process, a significant voltage difference exists between the battery pack's high-voltage interface and the external circuit when the main positive and negative relays are closed. This causes a large instantaneous current discharge in the high-voltage circuit, and through electromagnetic induction between the high and low voltage circuits, a large instantaneous current (approximately 2A) is also generated in the low-voltage circuit, easily burning out the sampling chip within the control unit. Based on statistical analysis of a certain battery prototype in this application, the chip burning rate due to this problem is approximately 10%, significantly impacting product quality.

[0027] Secondly, there is a Y capacitor (virtual capacitor formed by the external cables of the battery pack) between the high-voltage interface of the battery pack and the wiring harness of the test equipment. When the positive relay (output positive, charging positive) is disconnected, it is difficult to obtain a stable and accurate voltage value within a short time (within 10 seconds) when measuring the voltage of the high-voltage interface with a multimeter. This can easily lead to test misjudgment, and the test may need to be repeated, affecting the test cycle and the first pass rate.

[0028] Therefore, this application provides a method for testing the function of a battery pack relay to solve the above problems.

[0029] As one possible way to achieve this, such as Figure 2 As shown in the diagram, this application provides a structural diagram of an EOL (Electronic Online Response) device, which may include, but is not limited to, a display 201, an industrial computer 202, a 22V programmable power supply 203, a digital multimeter 204, a constant voltage power supply 205, a CAN card 206, a relay control board 207, and a switch 208. 2) Display 201: Can be used to display the battery pack testing process and results; 2) Industrial PC 202: It can install host computer test software based on the Windows platform, and control the internal instruments and components of the equipment through RS (Recommended Standard) 232 interface and LAN (Local Area Network) interface to realize the battery pack relay test function; 3) 22V programmable power supply 203: It can be controlled by the host computer test software to output 9~26V constant voltage DC power for the low voltage system of the battery pack, ensuring that the battery BMS (Battery Management System) works normally during the test; 4) Digital multimeter 204: can be used to collect the voltage of the battery pack charging interface and output interface, and to determine whether there is a control failure or sticking problem of the charging+, charging-, output+, and output- relays; 5) Constant voltage power supply 205: can provide a constant voltage power supply of about 400V, simulating the function of a vehicle inverter; 6) CAN Card 206: It can interface with the EV (Electric Vehicle) CAN network and control the closing and opening of the battery pack relays through the diagnostic protocol; 7) Relay control board 207: Composed of relays and control circuits, it can send different relay control commands through the host computer to realize the docking of different interfaces of the battery pack with the sampling end of the multimeter, and realize the relay detection function in the battery pack; 8) Switch 208: It can be used to realize multi-channel signal selection, measurement loop switching and automated testing, ensuring testing efficiency and security.

[0030] Furthermore, such as Figure 3As shown in the figure, this application provides a schematic diagram of a test circuit, which mainly includes components such as a constant voltage power supply, a relay control board, pre-charge relays (KM1, KM2), sampling relays (KM3, KM4), and a discharge relay (KM5). The pre-charge relay can pre-charge the bus capacitor before the circuit is closed to avoid the impact of a large current during power-on. The sampling relay is connected to the sampling circuit to ensure the accuracy of voltage and current measurements. The discharge circuit is controlled by the discharge relay to realize the controllable discharge function.

[0031] Based on the EOL equipment and test circuit provided in the above embodiments, the battery pack relay function test method of this application embodiment can be implemented. The battery pack relay function test method of this application embodiment will be described in detail below.

[0032] Specifically, Figure 4 This is a flowchart illustrating a battery pack relay function testing method provided in an embodiment of this application.

[0033] like Figure 4 As shown, the battery pack relay function test method includes the following steps: In step S401, a test circuit simulating the pre-charging and power-on process of the whole vehicle is constructed.

[0034] The pre-charging process of the vehicle can refer to the process of slowly charging the high-voltage bus through a pre-charging circuit (generally including a pre-charging relay and a current-limiting resistor) before the power battery is connected to the high-voltage load of the vehicle (such as the vehicle main relay, inverter, DC-DC, air conditioning compressor, etc.), so that the capacitor voltage gradually rises to the battery voltage.

[0035] For example, such as Figure 5 As shown, the vehicle can convert the 12V / 24V DC power supplied by the battery into DC power close to the battery pack voltage through the on-board DC / DC converter, and load it onto the external output connector of the battery pack. This step is the pre-charging before the battery is powered on. After pre-charging, the BMS controls the output + and output - relays to close, the battery outputs voltage to the outside, the on-board DC / DC converter disconnects the pre-charging circuit, and the battery is powered on.

[0036] The test circuit of this application embodiment can simulate the actual working state of the battery pack during charging, discharging and precharging processes, thereby verifying the reliability of relay operation, sampling accuracy and voltage and current response.

[0037] In step S402, based on the test circuit, the high-voltage port is pre-charged before the main positive relay is closed, and the voltage difference between the inside and outside of the battery pack is controlled within a preset threshold after the main positive relay is closed.

[0038] Among them, the main positive relay can refer to the core switching relay of the high-voltage positive circuit of the battery pack, which controls the connection and disconnection of the vehicle's high-voltage bus. Together with the main negative relay and the pre-charge relay, it realizes the power-on and power-off of the battery pack and the safety management of the vehicle's high-voltage system.

[0039] Pre-charging refers to establishing a low-current charging path between the battery pack and the load before the main relay closes. This allows the voltage of the load-side bus capacitor to gradually increase, thus controlling the voltage difference between the inside and outside of the battery pack within a safe threshold. This prevents the main relay from experiencing excessive inrush current upon closing. Pre-charging methods include, but are not limited to: current-limiting pre-charging using a fixed resistor, adaptive pre-charging using a positive temperature coefficient thermistor, and active pre-charging using an electronic current-limiting module. The preset threshold can be set to 5V, 10V, 2V, or 1% to 3% of the internal voltage according to safety requirements to ensure that the voltage difference between the inside and outside of the battery pack is controlled within a safe range, thereby avoiding the inrush current generated when the relay closes.

[0040] The pre-charging method and preset threshold can be set by those skilled in the art according to the actual situation, and no specific restrictions are imposed here.

[0041] Optionally, in one embodiment of this application, before pre-charging the high-voltage port, the method further includes: simulating the pre-charging function of the vehicle DC / DC assembly based on a preset bidirectional constant current power supply, and determining the selection of the charging resistor to complete the pre-charging function.

[0042] As a specific example, embodiments of this application may employ a battery pack EOL testing device to simulate the pre-charging function of the entire vehicle.

[0043] First, the EOL device is equipped with a programmable bidirectional constant voltage power supply to precharge the battery pack output port. The specific steps are as follows: (1) The BMS system inside the battery pack can read the internal voltage value of the battery pack. Under normal relay function, the error between the battery voltage reported by the BMS and the actual output voltage of the battery pack is within 10V, that is, the output voltage of the battery pack -10V ≤ the voltage value reported by the BMS ≤ the output voltage of the battery pack +10V.

[0044] (2) The error between the constant voltage output value set by the host computer software and the voltage value reported by the BMS is within ±20V, that is: BMS reported voltage value -20V ≤ constant voltage output voltage value ≤ BMS reported voltage value +20V.

[0045] (3) Control the pre-charge relay to close, start the constant voltage source to output, and pre-charge the voltage outside the high voltage interface of the battery pack. The pre-charge time is calculated as follows: t=5RC, Where: t represents the time required for the precharge voltage to rise to the required voltage, in seconds; R represents the selected precharge resistance value, in ohms; C represents the capacitance value on the test circuit, in farads; and 5 represents the time required for precharge to 98% of the constant voltage source set voltage value.

[0046] In summary, the embodiments of this application can use battery pack EOL testing equipment and testing circuits to precharge the high-voltage port before the main positive relay closes, control the voltage difference between the inside and outside of the battery pack within a threshold (e.g., 20V) after the main positive relay closes, suppress the magnitude of the instantaneous current generated in the high-voltage circuit, and indirectly control the magnitude of the induced current generated in the low-voltage circuit to below the current value acceptable to the chip (e.g., 50mA), thereby eliminating the problem of damage to the control unit chip caused by testing.

[0047] In step S403, based on the discharge circuit of the battery pack EOL test equipment, after the positive relay of the high voltage circuit is disconnected, a discharge resistor is connected to rapidly discharge the external Y capacitor of the battery pack interface to collect the voltage information of the battery pack charging interface, and the functional test result of the relay is obtained based on the voltage information of the charging interface.

[0048] The method of collecting voltage information from the battery pack charging interface includes, but is not limited to: direct measurement with a multimeter, high-precision sampling with a data acquisition card, and real-time online acquisition with a voltage sensor. These methods can be set by those skilled in the art according to the actual situation, and no specific restrictions are imposed here.

[0049] In actual implementation, the embodiments of this application can add a discharge circuit inside the battery pack EOL test equipment. After disconnecting the positive relay of the high voltage circuit (such as the main positive relay or the charging positive relay), a discharge resistor is connected to quickly discharge the Y capacitor outside the battery pack interface (e.g., the time is less than 2 seconds). After the discharge is completed, a multimeter is used to sample the voltage to determine whether the relay is stuck, refuses to operate, or has a hysteresis.

[0050] Optionally, in one embodiment of this application, the method further includes: acquiring voltage information from the battery pack output interface; and obtaining control information and / or adhesion information of the relay based on the voltage information from the output interface.

[0051] As a specific example, this application embodiment can determine the controlled information and / or sticking information of the relay based on voltage information. To facilitate a unified determination of the relay action results under different control states, as shown in Table 1, the control signal, circuit voltage information, and corresponding relay state can be mapped and classified to form standardized relay state judgment rules. Table 1 is a table of battery pack relay testing procedures and judgment criteria; columns 2-5 represent the relay control state, with 1 indicating relay closure and 0 indicating relay openness; OCV (Open Circuit Voltage).

[0052] Table 1

[0053] Through the above technical means, the estimated testing time for a single battery pack in this application embodiment is reduced by 16 seconds, and the first-pass yield is increased to over 99.9%.

[0054] Optionally, in one embodiment of this application, before testing, the method further includes: identifying the user's testing requirements; and generating at least one test task for the battery pack relay based on the testing requirements.

[0055] For example, testing requirements may include, but are not limited to: relay sticking detection requirements, relay action consistency detection requirements, pre-charge function verification requirements, and relay closing / opening response time detection requirements. For different testing requirements, embodiments of this application can generate corresponding test tasks to ensure the automation and specificity of the testing process. For example, for relay sticking detection requirements, embodiments of this application can generate test tasks including voltage residual detection under a disconnect command and contact status confirmation; for pre-charge function verification requirements, embodiments of this application can generate test tasks including pre-charge resistance circuit integrity check and pre-charge voltage rise curve monitoring.

[0056] By automatically matching and generating corresponding test tasks based on test requirements, test schemes can be made more systematic and standardized, thereby improving the accuracy of relay status identification and test efficiency, and reducing the complexity of manual configuration.

[0057] The following is a specific example, such as Figure 6 The following description further illustrates the battery pack relay function testing method according to an embodiment of this application; the embodiment of this application may include the following steps: In step S601, the test is started.

[0058] First, before starting the test, plug in the test harness and ensure a secure connection.

[0059] In step S602, the host computer software controls the programmable power supply to supply power, and the battery pack BMS starts working.

[0060] In the embodiments of this application, the output voltage of the programmable power supply can be controlled between 9 and 16V, and the specific setting value is adjusted according to the low-voltage power supply requirements of the battery pack and the cable length.

[0061] In step S603, the relay board and the relays inside the battery pack are closed according to the process test sequence.

[0062] Furthermore, in the embodiments of this application, the output-, charging-, and charging+ relays can be closed sequentially according to the relay closing sequence in Table 1.

[0063] In step S604, a multimeter is connected to measure the voltage at the high-voltage port.

[0064] In this embodiment, the sampling relay can be closed to measure the battery pack charging interface voltage using a multimeter. In step S605, it is determined whether the charging+ and charging- relays are controlled.

[0065] Specifically, in the embodiments of this application, the control of the charging+ and charging- relays can be determined according to the voltage range given in Table 1.

[0066] In step S606, the battery pack interface output voltage is read after the discharge resistor is connected and discharged.

[0067] In this embodiment, the discharge relay can be closed and connected to the discharge resistor. After discharging through the discharge resistor, the output voltage of the battery pack interface can be read. After discharging through the charging interface, the discharge relay can be disconnected.

[0068] In step S607, it is determined whether the relay is stuck together.

[0069] In this embodiment of the application, a multimeter can be used to measure the output voltage of the battery pack charging interface, and the charging+ and charging- relays can be determined to be stuck according to the voltage range given in Table 1.

[0070] In step S608, the battery pack voltage reported by the BMS is read.

[0071] In step S609, the high-voltage interface is pre-charged.

[0072] In this embodiment, the constant voltage power supply output voltage can be set according to the voltage value reported by the BMS, and the voltage of the high voltage interface can be pre-charged.

[0073] In step S610, the main positive relay is closed.

[0074] In actual operation, the battery pack relay can be closed when the voltage difference between the inside and outside of the high-voltage interface is within 20V.

[0075] In step S611, the precharge is disconnected.

[0076] Once the relay inside the battery pack has closed, the pre-charge is disconnected.

[0077] In step S612, it is determined whether the output + and output - relays are controlled.

[0078] Close the output + relay, use a multimeter to measure the voltage at the battery pack output interface, and determine whether the output + and output - relays are controlled based on the output voltage value.

[0079] In step S613, the battery pack interface output voltage is read after the discharge resistor is connected and discharged.

[0080] Close the discharge relay and connect the discharge resistor. After discharging with the discharge resistor, read the output voltage of the battery pack interface. After discharging the output interface, disconnect the discharge relay.

[0081] In step S614, it is determined whether the relay is stuck.

[0082] In this embodiment, a multimeter can be used to measure the voltage of the battery pack output interface, and the output + and output - relays can be determined to be stuck according to the voltage range given in Table 1.

[0083] In step S615, the test results are output.

[0084] Once the test is complete and the equipment displays the test results, the device will release the device if all tests are passed.

[0085] According to the battery pack relay function testing method proposed in this application, the high-voltage port is first pre-charged based on the test circuit, and then the external Y capacitor of the battery pack interface is rapidly discharged based on the discharge circuit of the battery pack EOL test equipment. The functional test result of the relay is obtained based on the voltage information. By performing a pre-charge operation on the high-voltage port, the large current surge generated when the relay is directly closed is avoided, reducing the risk of impact on the relay contacts and sampling chip, thereby quickly completing the pre-charge function and ensuring the safe closure of the relay in the battery pack output circuit. At the same time, the interface voltage is quickly discharged through the discharge resistor, which can stabilize the interface voltage in a short time and ensure that the voltage sampling result is stable and reliable. With the combination of pre-charge and rapid discharge, the number of times high voltage is repeatedly applied during the test can be reduced, the single test time can be shortened, the stability of the relay test process can be improved, and the pass rate of the test can be increased.

[0086] Next, the battery pack relay function testing device according to the embodiments of this application is described with reference to the accompanying drawings.

[0087] Figure 7 This is a block diagram of a battery pack relay function testing device according to an embodiment of this application.

[0088] like Figure 7As shown, the battery pack relay function testing device 10 includes: a construction module 100, a control module 200, and a testing module 300.

[0089] Among them, the construction module 100 is used to construct a test circuit that simulates the pre-charging and power-on process of the whole vehicle.

[0090] The control module 200 is used to precharge the high-voltage port based on the test circuit before the main positive relay is closed, and to control the voltage difference between the inside and outside of the battery pack within a preset threshold after the main positive relay is closed.

[0091] Test module 300 is used in the discharge circuit of the battery pack EOL test equipment. After the positive relay of the high voltage circuit is disconnected, a discharge resistor is connected to rapidly discharge the external Y capacitor of the battery pack interface to collect the voltage information of the battery pack charging interface. Based on the voltage information of the charging interface, the functional test results of the relay are obtained.

[0092] Optionally, in one embodiment of this application, it further includes: a collection module and an acquisition module.

[0093] The acquisition module is used to acquire voltage information from the battery pack's output interface.

[0094] The acquisition module is used to obtain the control information and / or adhesion information of the relay based on the voltage information of the output interface.

[0095] Optionally, in one embodiment of this application, a simulation module is also included.

[0096] The simulation module is used to simulate the pre-charging function of the vehicle DC / DC assembly based on a preset bidirectional constant current power supply, and to determine the selection of the charging resistor in order to complete the pre-charging function.

[0097] Optionally, in one embodiment of this application, it further includes an identification module and a generation module.

[0098] The identification module is used to identify the user's testing requirements.

[0099] The generation module is used to generate at least one test task for the battery pack relay based on test requirements.

[0100] It should be noted that the foregoing explanation of the battery pack relay function test method embodiment also applies to the battery pack relay function test device of this embodiment, and will not be repeated here.

[0101] According to the battery pack relay function testing device proposed in this application, the high-voltage port is first pre-charged based on the test circuit, and then the external Y capacitor of the battery pack interface is rapidly discharged based on the discharge circuit of the battery pack EOL test equipment. The functional test result of the relay is obtained based on the voltage information. By performing a pre-charge operation on the high-voltage port, the large current surge generated when the relay is directly closed is avoided, reducing the impact risk on the relay contacts and sampling chip, thereby quickly completing the pre-charge function and ensuring the safe closure of the relay in the battery pack output circuit. At the same time, the interface voltage is quickly discharged through the discharge resistor, which can stabilize the interface voltage in a short time and ensure that the voltage sampling result is stable and reliable. With the combination of pre-charge and rapid discharge, the number of times high voltage is repeatedly applied during the test can be reduced, the single test time can be shortened, the stability of the relay test process can be improved, and the pass rate of the test can be increased.

[0102] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device may include: The memory 801, the processor 802, and the computer program stored on the memory 801 and capable of running on the processor 802.

[0103] When the processor 802 executes the program, it implements the battery pack relay function test method provided in the above embodiments.

[0104] Furthermore, electronic devices also include: Communication interface 803 is used for communication between memory 801 and processor 802.

[0105] The memory 801 is used to store computer programs that can run on the processor 802.

[0106] The memory 801 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0107] If the memory 801, processor 802, and communication interface 803 are implemented independently, then the communication interface 803, memory 801, and processor 802 can be interconnected via a bus to complete communication between them. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized into address buses, data buses, control buses, etc. For ease of representation, Figure 8 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0108] Optionally, in a specific implementation, if the memory 801, processor 802, and communication interface 803 are integrated on a single chip, then the memory 801, processor 802, and communication interface 803 can communicate with each other through an internal interface.

[0109] The processor 802 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.

[0110] This embodiment also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the above-described battery pack relay function testing method.

[0111] This application also provides a computer program product, including a computer program that can run computer instructions. When the computer instructions are executed by a processor, they implement the battery pack relay function testing method provided in this application.

[0112] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0113] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0114] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.

[0115] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.

[0116] It should be understood that the various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, it can be implemented using any one or more of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0117] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.

[0118] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

[0119] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.

Claims

1. A method for testing the function of a battery pack relay, characterized in that, Includes the following steps: Construct a test circuit to simulate the pre-charging and power-on process of a vehicle; Based on the test circuit, the high-voltage port is pre-charged before the main positive relay is closed, and the voltage difference between the inside and outside of the battery pack is controlled within a preset threshold after the main positive relay is closed. Based on the discharge circuit of the battery pack EOL test equipment, after disconnecting the positive relay of the high-voltage circuit, a discharge resistor is connected to rapidly discharge the Y capacitor outside the battery pack interface to collect the voltage information of the battery pack charging interface. The functional test results of the relay are obtained based on the voltage information of the charging interface.

2. The method according to claim 1, characterized in that, Also includes: Collect voltage information from the battery pack output interface; The controlled information and / or adhesion information of the relay are obtained based on the voltage information of the output interface.

3. The method according to claim 1, characterized in that, Before pre-charging the high-voltage port, the following steps are also included: Based on a preset bidirectional constant current power supply, the pre-charging function of the vehicle DC / DC assembly is simulated, and the selection of the charging resistor is determined to complete the pre-charging function.

4. The method according to claim 1, characterized in that, Before the test, it also includes: Identify the user's testing needs; Generate at least one test task for the battery pack relay based on the test requirements.

5. A battery pack relay function testing device, characterized in that, include: The building block is used to construct test circuits that simulate the pre-charging and power-on process of a vehicle. The control module is used to precharge the high-voltage port before the main positive relay is closed, based on the test circuit, and to control the voltage difference between the inside and outside of the battery pack to be within a preset threshold after the main positive relay is closed. The test module is used in the discharge circuit of the battery pack EOL test equipment. After the positive relay of the high voltage circuit is disconnected, a discharge resistor is connected to rapidly discharge the Y capacitor outside the battery pack interface to collect the voltage information of the battery pack charging interface. The functional test results of the relay are obtained based on the voltage information of the charging interface.

6. The apparatus according to claim 5, characterized in that, Also includes: The acquisition module is used to acquire voltage information from the battery pack's output interface; The acquisition module is used to obtain the controlled information and / or adhesion information of the relay based on the voltage information of the output interface.

7. The apparatus according to claim 5, characterized in that, Also includes: The simulation module is used to simulate the pre-charging function of the vehicle DC / DC assembly based on a preset bidirectional constant current power supply, and to determine the selection of the charging resistor in order to complete the pre-charging function.

8. An electronic device, characterized in that, include: The device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the battery pack relay function test method as described in any one of claims 1-4.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the battery pack relay function test method as described in any one of claims 1-4.

10. A computer program product, comprising a computer program, characterized in that, The computer program is executed to implement the battery pack relay function test method as described in any one of claims 1-4.