Battery management system test method and device, equipment and storage medium
By updating the battery management system test method with dynamic voltage test range, the problem of low test accuracy in the existing technology is solved, and test results with higher precision and accuracy are achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-04
- Publication Date
- 2026-04-03
AI Technical Summary
In the existing technology, the method of obtaining the test results of the battery management system by judging whether the input voltage is within the preset fixed voltage test range is prone to introducing systematic errors, resulting in low test accuracy of the battery management system.
The system employs a dynamic voltage test range. By acquiring multiple previous input voltages from the battery management system, it updates the preset voltage test range, determines whether the target input voltage is within the dynamic voltage test range, and outputs a result indicating whether the test is qualified or unqualified.
It improves the testing accuracy of battery management systems, avoids systematic errors, enhances the accuracy and comprehensiveness of testing, and adapts to the performance verification needs under complex operating conditions.
Smart Images

Figure CN121784435A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a battery management system testing method, apparatus, equipment and storage medium. Background Technology
[0002] A Battery Management System (BMS) is essentially the smart manager of a battery pack. It monitors battery parameters such as voltage, current, and temperature in real time to control the charging and discharging process, thereby ensuring battery safety, extending lifespan, and optimizing performance. Therefore, the stable operation of the Battery Management System is of paramount importance.
[0003] In the prior art, the battery management system testing method involves periodically collecting the input voltage of the battery management system after powering it on through a power supply device, and obtaining the test result of the battery management system by determining whether the input voltage is within a preset fixed voltage test range.
[0004] However, in the existing technology, the test method of obtaining the test result of the battery management system by judging whether the input voltage is within the preset fixed voltage test range is prone to introducing errors in the entire system, resulting in low test accuracy of the battery management system. Summary of the Invention
[0005] This application provides a battery management system testing method, apparatus, device, and storage medium to solve the problem that the testing method of obtaining the test result of the battery management system by judging whether the input voltage is within a preset fixed voltage test range is prone to introducing errors in the entire system, resulting in low testing accuracy of the battery management system.
[0006] In a first aspect, this application provides a battery management system testing method, applied to electronic devices, comprising:
[0007] Select any battery management system to be tested;
[0008] Obtain the dynamic voltage test range corresponding to the battery management system, wherein the dynamic voltage test range is obtained by updating the preset voltage test range based on a plurality of previous first input voltages of the battery management system;
[0009] After powering on the battery management system using a power supply device at a preset voltage, the target input voltage within the battery management system is obtained.
[0010] Determine whether the target input voltage is within the dynamic voltage test range;
[0011] If the target input voltage is determined to be within the dynamic voltage test range, then the battery management system is deemed to have passed the test.
[0012] If the target input voltage is determined to be outside the dynamic voltage test range, then the battery management system test is deemed unqualified.
[0013] Output the test results of the battery management system, indicating whether the test is passed or failed.
[0014] In one possible design, the update process of the dynamic voltage test range includes: after the battery management system is connected to the power supply device, controlling the power supply device to power on the battery management system according to a preset voltage; after the battery management system is powered on, acquiring a first input voltage within the battery management system; determining whether the first input voltage is within the preset voltage test range; if the first input voltage is determined to be within the preset voltage test range, incrementing the test count by one to update the corresponding total test count; after determining that the total test count has reached a preset test count threshold, acquiring the first input voltage corresponding to each test count in the total test count; updating the preset voltage test range according to each first input voltage to obtain the dynamic voltage test range.
[0015] In one possible design, the step of acquiring the first input voltage within the battery management system after power-on includes: calibrating the output voltage of the power supply device after power-on, and determining whether the output voltage of the power supply device has completed calibration; if it is determined that the output voltage of the power supply device has completed calibration, then acquiring the first input voltage within the battery management system.
[0016] In one possible design, the step of obtaining the first input voltage corresponding to each test count in the total test count after determining that the total test count has reached the preset test count threshold includes: determining whether the total test count has reached the preset test count threshold; if the total test count has reached the preset test count threshold, obtaining the first input voltage corresponding to each test count in the total test count; or, if the total test count has not reached the preset test count threshold, controlling the power supply device to repeatedly power on the battery management system until the total test count reaches the preset test count threshold; and after the total test count reaches the preset test count threshold, obtaining the first input voltage corresponding to each test count in the total test count.
[0017] In one possible design, updating the preset voltage test range based on each first input voltage to obtain a dynamic voltage test range includes: calculating the overall average value based on each first input voltage, and calculating the overall standard deviation based on each first input voltage and the overall average value; updating the preset voltage test range based on the overall average value and the overall standard deviation according to the confidence interval principle of a normal distribution to obtain a dynamic voltage test range.
[0018] In one possible design, after the battery management system is connected to the power supply device, and the power supply device is controlled to power on the battery management system according to a preset voltage, the method further includes: after the battery management system is powered on, acquiring a first input voltage, input current, and system temperature within the battery management system; determining whether the first input voltage is within a preset voltage test range; if the first input voltage is determined to be within the preset voltage test range, incrementing the test count to update the corresponding total test count; after determining that the total test count has reached the preset test count threshold, acquiring the first input voltage, input current, and system temperature corresponding to each test count in the total test count; determining each input current and each system temperature as corresponding auxiliary parameters; and updating the preset voltage test range according to each first input voltage and the corresponding auxiliary parameters to obtain a dynamic voltage test range.
[0019] In one possible design, after outputting the test result of whether the battery management system is qualified or unqualified, the method further includes: if the battery management system is output as qualified, then continue to collect multiple second input voltages corresponding to a preset test count threshold in the battery management system; and continuously update the dynamic voltage test range based on the multiple second input voltages.
[0020] Secondly, this application provides a battery management system testing apparatus, applied to electronic devices, comprising:
[0021] Select Module, used to select any battery management system to be tested;
[0022] The first acquisition module is used to acquire the dynamic voltage test range corresponding to the battery management system, wherein the dynamic voltage test range is obtained by updating the preset voltage test range based on a plurality of previous first input voltages of the battery management system.
[0023] The second acquisition module is used to acquire the target input voltage in the battery management system after the battery management system is powered on by the power supply device according to the preset voltage.
[0024] The first judgment module is used to determine whether the target input voltage is within the dynamic voltage test range;
[0025] The first determining module is used to determine that the battery management system is qualified if the target input voltage is determined to be within the dynamic voltage test range.
[0026] The second determining module is used to determine that the battery management system test is unqualified if the target input voltage is determined to be outside the dynamic voltage test range.
[0027] The output module is used to output the test results of the battery management system, indicating whether the test is qualified or unqualified.
[0028] Thirdly, this application provides an electronic device, including: at least one processor and a memory;
[0029] The memory stores computer-executed instructions;
[0030] The at least one processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the battery management system test method as described in the first aspect and various possible designs of the first aspect.
[0031] Fourthly, this application provides a computer storage medium storing computer execution instructions, which, when executed by a processor, implement the battery management system testing method described in the first aspect and various possible designs of the first aspect.
[0032] The battery management system testing method, apparatus, equipment, and storage medium provided in this application involve selecting any battery management system to be tested; obtaining the dynamic voltage test range corresponding to the battery management system, wherein the dynamic voltage test range is obtained by updating a preset voltage test range based on multiple previous first input voltages of the battery management system; after powering on the battery management system through a power supply device according to the preset voltage, obtaining the target input voltage within the battery management system; determining whether the target input voltage is within the dynamic voltage test range; if the target input voltage is determined to be within the dynamic voltage test range, the battery management system is determined to be qualified; if the target input voltage is determined to be outside the dynamic voltage test range, the battery management system is determined to be unqualified; and outputting the test result indicating whether the battery management system is qualified or unqualified. By determining whether the target input voltage is within the dynamic voltage test range, the test result of the battery management system is obtained, avoiding the introduction of errors into the entire system and improving the testing accuracy of the battery management system. Attached Figure Description
[0033] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0034] Figure 1 This is a schematic diagram illustrating an application scenario of the battery management system testing method provided in the embodiments of this application;
[0035] Figure 2 A flowchart illustrating the battery management system testing method provided in this application embodiment. Figure 1 ;
[0036] Figure 3 A flowchart illustrating the battery management system testing method provided in this application embodiment. Figure 2 ;
[0037] Figure 4 This is a schematic diagram of the battery management system testing device provided in the embodiments of this application;
[0038] Figure 5 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0039] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0040] A Battery Management System (BMS) is essentially the intelligent manager of a battery pack. It monitors battery parameters such as voltage, current, and temperature in real time to control the charging and discharging process, thereby ensuring battery safety, extending lifespan, and optimizing performance. Therefore, the stable operation of the BMS is crucial. In existing technologies, BMS testing methods periodically collect the input voltage of the BMS after powering it on, and determine whether the input voltage falls within a preset fixed voltage test range to obtain the test results. However, this method of obtaining test results by judging whether the input voltage falls within the preset fixed voltage test range is prone to introducing errors into the entire system, resulting in low accuracy in BMS testing.
[0041] To address the aforementioned technical problems, this application proposes the following technical concept: Considering the battery management system to be tested and the dynamic voltage test range, the inventors test the target input voltage in the battery management system based on the dynamic voltage test range to obtain test results indicating whether the battery management system is qualified or unqualified, thereby improving the accuracy of the battery management system test.
[0042] Figure 1 This is a schematic diagram illustrating an application scenario of the battery management system testing method provided in the embodiments of this application.
[0043] like Figure 1 As shown, the scenario includes: power supply equipment 101, battery management system 102, and electronic equipment 103.
[0044] The battery management system 102 includes components such as a motherboard, a data acquisition board, a high-voltage control board, and a microprocessor.
[0045] Electronic device 103 can be a standalone device or a cluster of multiple devices.
[0046] Electronic device 103 selects any battery management system 102 to be tested; obtains the dynamic voltage test range corresponding to the battery management system 102; after powering on the battery management system 102 through power supply device 101 according to a preset voltage, it obtains the target input voltage within the battery management system 102; it determines whether the target input voltage is within the dynamic voltage test range; if the target input voltage is determined to be within the dynamic voltage test range, the battery management system 102 is determined to be qualified; if the target input voltage is determined to be outside the dynamic voltage test range, the battery management system 102 is determined to be unqualified; and it outputs the test result of whether the battery management system 102 is qualified or unqualified to the display interface of electronic device 103. The following detailed embodiments will provide a further explanation.
[0047] Figure 2 A flowchart illustrating the battery management system testing method provided in this application embodiment. Figure 1 The execution entity in this embodiment can be Figure 1 The electronic devices shown in the illustrated embodiments are not specifically limited in this embodiment. Figure 2 As shown, the method includes:
[0048] S201: Select any battery management system to be tested.
[0049] In this embodiment, the battery management system (BMS) is an electronic system for monitoring and controlling the rechargeable battery to ensure its safe and efficient operation.
[0050] S202: Obtain the dynamic voltage test range corresponding to the battery management system, wherein the dynamic voltage test range is obtained by updating the preset voltage test range based on the multiple first input voltages of the battery management system previously.
[0051] For example, the dynamic voltage test range is [9.5V, 10.5V]; the preset voltage test range is [9V, 11V].
[0052] S203: After powering on the battery management system through the power supply equipment according to the preset voltage, obtain the target input voltage in the battery management system.
[0053] In this embodiment, the target input voltage can also be understood as the internal voltage of the battery management system.
[0054] For example, the target input voltage is 10V.
[0055] S204: Determine whether the target input voltage is within the dynamic voltage test range.
[0056] For example, determine whether the target input voltage of 10V is within the dynamic voltage test range [9.5V, 10.5V].
[0057] S205: If the target input voltage is determined to be within the dynamic voltage test range, then the battery management system test is deemed qualified.
[0058] For example, if the target input voltage of 10V is determined to be within the dynamic voltage test range [9.5V, 10.5V], then the battery management system test is deemed qualified.
[0059] S206: If the target input voltage is determined to be outside the dynamic voltage test range, the battery management system test is deemed unqualified.
[0060] S207: Outputs the test result indicating whether the battery management system passed or failed the test.
[0061] In addition, after step S207, steps a~b are also included:
[0062] Step a: If the output battery management system shows a qualified test result, continue to collect multiple second input voltages corresponding to the preset test count threshold in the battery management system.
[0063] In this embodiment, the preset test count threshold can be any value among 500, 1000, or 2000, or other values.
[0064] For example, the preset test count threshold is 1000.
[0065] The second input voltage can also be understood as the internal voltage of the battery management system.
[0066] Step b: Continuously update the dynamic voltage test range based on multiple second input voltages.
[0067] In summary, the battery management system testing method provided in this embodiment selects any battery management system to be tested; obtains the dynamic voltage test range corresponding to the battery management system, wherein the dynamic voltage test range is obtained by updating the preset voltage test range based on multiple previous first input voltages of the battery management system; after powering on the battery management system through the power supply device according to the preset voltage, obtains the target input voltage within the battery management system; determines whether the target input voltage is within the dynamic voltage test range; if the target input voltage is determined to be within the dynamic voltage test range, the battery management system is determined to be qualified; if the target input voltage is determined to be outside the dynamic voltage test range, the battery management system is determined to be unqualified; and outputs the test result indicating whether the battery management system is qualified or unqualified. By determining whether the target input voltage is within the dynamic voltage test range, the test result of the battery management system is obtained, avoiding the introduction of errors into the entire system and improving the testing accuracy of the battery management system.
[0068] Furthermore, the battery management system testing method provided in this embodiment, by continuously collecting multiple second input voltages corresponding to a preset test count threshold within the battery management system if the output battery management system is a qualified test result, and continuously updating the dynamic voltage test range based on the multiple second input voltages, can achieve continuous updating of the dynamic voltage test range, thereby improving the accuracy of the subsequent battery management system.
[0069] Figure 3 A flowchart illustrating the battery management system testing method provided in this application embodiment. Figure 2 In the embodiments of this application, in Figure 2 Based on the provided embodiments, a detailed explanation of the specific implementation method for updating the dynamic voltage test range in S202 is given. For example... Figure 3 As shown, the method includes:
[0070] S301: After the battery management system is connected to the power supply equipment, control the power supply equipment to power on the battery management system according to the preset voltage.
[0071] In this embodiment, the preset voltage can be any of 10V, 12V or 15V, or other voltages.
[0072] For example, the preset voltage is 10V.
[0073] In addition, after step S301, steps a~f are also included:
[0074] Step a: After the battery management system is powered on, collect the first input voltage, input current and system temperature in the battery management system.
[0075] Step b: Determine whether the first input voltage is within the preset voltage test range.
[0076] Step c: If the first input voltage is determined to be within the preset voltage test range, then increment the test count by one to update the corresponding total test count.
[0077] Step d: After determining that the total test count has reached the preset test count threshold, obtain the first input voltage, input current and system temperature corresponding to each test count in the total test count.
[0078] Step e: Determine the corresponding auxiliary parameters for each input current and each system temperature.
[0079] Step f: Update the preset voltage test range according to each first input voltage and the corresponding auxiliary parameters to obtain the dynamic voltage test range.
[0080] For example, the dynamic voltage test range is a multivariate covariance matrix.
[0081] S302: After the battery management system is powered on, the first input voltage in the battery management system is collected.
[0082] Specifically, step S302 includes steps a~b:
[0083] Step a: After the battery management system is powered on, calibrate the output voltage of the power supply equipment and determine whether the output voltage of the power supply equipment has been calibrated.
[0084] In this embodiment, the output voltage calibration of the power supply equipment refers to the process of adjusting the output voltage of the power supply equipment by comparing it with a preset voltage to ensure that the output voltage is consistent with the preset voltage.
[0085] Step b: If the output voltage of the power supply equipment is determined to be calibrated, then the first input voltage in the battery management system is collected.
[0086] For example, the first output voltage is 10V.
[0087] The first input voltage can also be understood as the internal voltage of the battery management system.
[0088] S303: Determine whether the first input voltage is within the preset voltage test range.
[0089] In this embodiment, the preset voltage test range can be any of the following test ranges: [9V, 11V], [9V, 10V], or [10V, 11V], or other test ranges.
[0090] For example, the preset voltage test range is [9V, 11V].
[0091] In addition, if it is determined that the first input voltage is not within the preset voltage test range, a BMS abnormality prompt or a wiring harness connection abnormality prompt will be output to remind business personnel to perform relevant checks.
[0092] In addition, if it is determined that the first input voltage is not within the preset voltage test range, the first input voltage can be further calibrated in preparation for subsequent power-on or output abnormality prompts of the BMS.
[0093] S304: If the first input voltage is determined to be within the preset voltage test range, then increment the test count by one to update the corresponding total test count.
[0094] For example, if the first input voltage of 10V is determined to be within the preset voltage test range [9V, 11V], then the test count is increased by one to update the corresponding total test count.
[0095] S305: After determining that the total test count has reached the preset test count threshold, obtain the first input voltage corresponding to each test count in the total test count.
[0096] Specifically, step S305 includes steps a~d:
[0097] Step a: Determine whether the total test count has reached the preset test count threshold.
[0098] In this embodiment, the preset test count threshold can be any value among 500, 1000, or 2000, or other values.
[0099] For example, the preset test count threshold is 1000.
[0100] Step b: If the total test count is determined to have reached the preset test count threshold, then obtain the first input voltage corresponding to each test count in the total test count; or,
[0101] Step c: If it is determined that the total test count has not reached the preset test count threshold, control the power supply equipment to repeatedly power on the battery management system until the total test count reaches the preset test count threshold.
[0102] Step d: After the total test count reaches the preset test count threshold, obtain the first input voltage corresponding to each test count in the total test count.
[0103] S306: Update the preset voltage test range according to each first input voltage to obtain the dynamic voltage test range.
[0104] Specifically, step S306 includes steps a~b:
[0105] Step a: Calculate the overall average value based on each first input voltage, and calculate the overall standard deviation based on each first input voltage and the overall average value.
[0106] In this embodiment, the formula for calculating the overall average value based on each first input voltage is as follows:
[0107]
[0108] In the formula, This represents the overall average. This represents the total test count; Let be the i-th first input voltage.
[0109] In this embodiment, the formula for calculating the overall standard deviation based on each first input voltage and the overall average value is as follows:
[0110]
[0111] In the formula, The population standard deviation; This represents the total test count; This is the i-th first input voltage; This represents the overall average.
[0112] Step b: Based on the overall mean and overall standard deviation, update the preset voltage test range according to the confidence interval principle of normal distribution to obtain the dynamic voltage test range.
[0113] For example, the confidence interval principle for a normal distribution corresponds to (μ-3σ, μ+3σ).
[0114] For example, based on the overall mean and overall standard deviation, the preset voltage test range [9V, 11V] is updated according to the confidence interval principle of normal distribution (μ-3σ, μ+3σ) to obtain the dynamic voltage test range [9.5V, 10.5V].
[0115] In summary, the battery management system testing method provided in this embodiment involves connecting the battery management system to a power supply device, controlling the power supply device to power on the battery management system according to a preset voltage, acquiring the first input voltage within the battery management system after power-on, determining whether the first input voltage is within a preset voltage test range, incrementing the test count by one if the first input voltage is within the preset voltage test range, updating the corresponding total test count, acquiring the first input voltage corresponding to each test count in the total test count after determining that the total test count has reached a preset test count threshold, and updating the preset voltage test range according to each first input voltage to obtain a dynamic voltage test range.
[0116] Furthermore, the battery management system testing method provided in this embodiment collects the first input voltage, input current, and system temperature within the battery management system after it is powered on; determines whether the first input voltage is within a preset voltage test range; if the first input voltage is within the preset voltage test range, increments the test count to update the corresponding total test count; after determining that the total test count has reached a preset test count threshold, obtains the first input voltage, input current, and system temperature corresponding to each test count in the total test count; determines each input current and each system temperature as corresponding auxiliary parameters; and updates the preset voltage test range based on each first input voltage and the corresponding auxiliary parameters to obtain a dynamic voltage test range. This significantly improves the comprehensiveness of battery management system testing, reduces misjudgments caused by abnormal single parameters, and adapts to performance verification requirements under complex operating conditions.
[0117] In addition, the battery management system testing method provided in this embodiment calculates the overall average value based on each first input voltage and calculates the overall standard deviation based on each first input voltage and the overall average value; based on the overall average value and the overall standard deviation, the preset voltage test range is updated according to the confidence interval principle of normal distribution to obtain a dynamic voltage test range, which reduces the impact of the aging of the battery management system and the impedance difference of the connecting harness, thereby improving the test yield.
[0118] Figure 4 This is a schematic diagram of the battery management system testing device provided in an embodiment of this application. Figure 4 As shown, the battery management system testing device includes: a selection module 401, a first acquisition module 402, a second acquisition module 403, a first judgment module 404, a first determination module 405, a second determination module 406, and an output module 407.
[0119] Select module 401 to select any battery management system to be tested;
[0120] The first acquisition module 402 is used to acquire the dynamic voltage test range corresponding to the battery management system, wherein the dynamic voltage test range is obtained by updating the preset voltage test range based on the multiple first input voltages of the battery management system in the past.
[0121] The second acquisition module 403 is used to acquire the target input voltage in the battery management system after the battery management system is powered on by the power supply equipment according to the preset voltage.
[0122] The first judgment module 404 is used to determine whether the target input voltage is within the dynamic voltage test range;
[0123] The first determining module 405 is used to determine that the battery management system test is qualified if the target input voltage is determined to be within the dynamic voltage test range.
[0124] The second determining module 406 is used to determine that the battery management system test is unqualified if the target input voltage is not within the dynamic voltage test range.
[0125] Output module 407 is used to output the test results of the battery management system, indicating whether the test is qualified or unqualified.
[0126] In one possible implementation, the device further includes:
[0127] The control module is used to control the power supply equipment to power on the battery management system according to the preset voltage after the battery management system is connected to the power supply equipment.
[0128] The first acquisition module is used to acquire the first input voltage in the battery management system after the battery management system is powered on.
[0129] The second judgment module is used to determine whether the first input voltage is within the preset voltage test range;
[0130] The first addition module is used to add a test count if it is determined that the first input voltage is within the preset voltage test range, so as to update the corresponding total test count;
[0131] The third acquisition module is used to acquire the first input voltage corresponding to each test count in the total test count after determining that the total test count has reached the preset test count threshold.
[0132] The first update module is used to update the preset voltage test range according to each first input voltage to obtain the dynamic voltage test range.
[0133] In one possible implementation, the data acquisition module specifically includes:
[0134] The calibration unit is used to calibrate the output voltage of the power supply device after the battery management system is powered on, and to determine whether the output voltage of the power supply device has been calibrated.
[0135] The acquisition unit is used to acquire the first input voltage in the battery management system if it is determined that the output voltage of the power supply equipment has completed calibration.
[0136] In one possible implementation, the third acquisition module specifically includes:
[0137] The judgment unit is used to determine whether the total test count has reached the preset test count threshold.
[0138] The first acquisition unit is configured to acquire the first input voltage corresponding to each test count in the total test count if it is determined that the total test count has reached a preset test count threshold; or,
[0139] The control unit is used to control the power supply equipment to repeatedly power on the battery management system if it is determined that the total test count has not reached the preset test count threshold, until the total test count reaches the preset test count threshold.
[0140] The second acquisition unit is used to acquire the first input voltage corresponding to each test count in the total test count after the total test count reaches a preset test count threshold.
[0141] In one possible implementation, the update module specifically includes:
[0142] The calculation unit is used to calculate the overall average value based on each first input voltage, and to calculate the overall standard deviation based on each first input voltage and the overall average value;
[0143] The update unit is used to update the preset voltage test range according to the confidence interval principle of normal distribution based on the overall average value and overall standard deviation, so as to obtain the dynamic voltage test range.
[0144] In one possible implementation, the device further includes:
[0145] The second acquisition module is used to acquire the first input voltage, input current and system temperature in the battery management system after the battery management system is powered on.
[0146] The third judgment module is used to determine whether the first input voltage is within the preset voltage test range;
[0147] The second addition module is used to add a test count if the first input voltage is determined to be within the preset voltage test range, so as to update the corresponding total test count.
[0148] The third acquisition unit is used to acquire the first input voltage, input current and system temperature corresponding to each test count in the total test count after determining that the total test count has reached the preset test count threshold.
[0149] The third determining module is used to determine each input current and each system temperature as corresponding auxiliary parameters;
[0150] The second update module is used to update the preset voltage test range according to each first input voltage and the corresponding auxiliary parameters to obtain the dynamic voltage test range.
[0151] In one possible implementation, the device further includes:
[0152] The third acquisition module is used to continue acquiring multiple second input voltages corresponding to the preset test count threshold in the battery management system if the output battery management system shows a test result of passing the test.
[0153] The third update module is used to continuously update the dynamic voltage test range based on multiple second input voltages.
[0154] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.
[0155] Figure 5 This is a schematic diagram of the hardware structure of the electronic device provided in an embodiment of this application. Figure 5 As shown, the electronic device of this embodiment includes: a processor 501 and a memory 502; the memory stores computer-executable instructions; at least one processor executes the computer-executable instructions stored in the memory, causing at least one processor to execute the battery management system test method described above.
[0156] Alternatively, the memory 502 can be either standalone or integrated with the processor 501.
[0157] When the memory 502 is set up independently, the electronic device also includes a bus 503 for connecting the memory 502 and the processor 501.
[0158] This application also provides a computer storage medium storing computer execution instructions. When the processor executes the computer execution instructions, the above-mentioned battery management system testing method is implemented.
[0159] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described battery management system testing method.
[0160] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or modules, and may be electrical, mechanical, or other forms.
[0161] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to implement the solution of this embodiment according to actual needs.
[0162] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The unit composed of the above modules can be implemented in hardware or in the form of hardware plus software functional units.
[0163] The integrated modules described above, implemented as software functional modules, can be stored in a computer-readable storage medium. These software functional modules, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods of the various embodiments of this application.
[0164] It should be understood that the aforementioned processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly manifested as execution by a hardware processor, or execution by a combination of hardware and software modules within the processor.
[0165] The memory may include high-speed RAM, and may also include non-volatile storage (NVM), such as at least one disk storage device, and may also be a USB flash drive, external hard drive, read-only memory, disk or optical disc, etc.
[0166] 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 as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0167] The aforementioned storage media can be implemented from any type of volatile or non-volatile storage device or a combination thereof, such as Static Random-Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The storage media can be any available medium accessible to general-purpose or special-purpose computers.
[0168] An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Alternatively, the storage medium can be an integral part of the processor. Both the processor and the storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and storage medium can exist as discrete components in an electronic device or host device.
[0169] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0170] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A battery management system testing method, characterized in that, Applied to electronic devices, including: Select any battery management system to be tested; Obtain the dynamic voltage test range corresponding to the battery management system, wherein the dynamic voltage test range is obtained by updating the preset voltage test range based on a plurality of previous first input voltages of the battery management system; After powering on the battery management system using a power supply device at a preset voltage, the target input voltage within the battery management system is obtained. Determine whether the target input voltage is within the dynamic voltage test range; If the target input voltage is determined to be within the dynamic voltage test range, then the battery management system is deemed to have passed the test. If the target input voltage is determined to be outside the dynamic voltage test range, then the battery management system test is deemed unqualified. Output the test results of the battery management system, indicating whether the test is passed or failed.
2. The method according to claim 1, characterized in that, The update process for the dynamic voltage test range includes: After the battery management system is connected to the power supply device, the power supply device is controlled to power on the battery management system according to a preset voltage. After the battery management system is powered on, the first input voltage within the battery management system is collected; Determine whether the first input voltage is within a preset voltage test range; If the first input voltage is determined to be within the preset voltage test range, then the test count is incremented by one to update the corresponding total test count; After determining that the total test count has reached a preset test count threshold, the first input voltage corresponding to each test count in the total test count is obtained; The preset voltage test range is updated based on each first input voltage to obtain the dynamic voltage test range.
3. The method according to claim 2, characterized in that, After the battery management system is powered on, the first input voltage within the battery management system is collected, including: After the battery management system is powered on, the output voltage of the power supply device is calibrated, and it is determined whether the output voltage of the power supply device has been calibrated. If the output voltage of the power supply device is determined to be calibrated, the first input voltage in the battery management system is collected.
4. The method according to claim 2, characterized in that, The step of obtaining the first input voltage corresponding to each test count in the total test count after determining that the total test count has reached the preset test count threshold includes: Determine whether the total test count has reached a preset test count threshold; If it is determined that the total test count has reached the preset test count threshold, then the first input voltage corresponding to each test count in the total test count is obtained; or, If it is determined that the total test count has not reached the preset test count threshold, then the power supply device is controlled to repeatedly power on the battery management system until the total test count reaches the preset test count threshold. After the total test count reaches the preset test count threshold, the first input voltage corresponding to each test count in the total test count is obtained.
5. The method according to claim 2, characterized in that, The step of updating the preset voltage test range according to each first input voltage to obtain a dynamic voltage test range includes: Calculate the overall average value based on each first input voltage, and calculate the overall standard deviation based on each first input voltage and the overall average value; Based on the overall average value and the overall standard deviation, the preset voltage test range is updated according to the confidence interval principle of normal distribution to obtain the dynamic voltage test range.
6. The method according to claim 2, characterized in that, After the battery management system is connected to the power supply device, and the power supply device is controlled to power on the battery management system according to a preset voltage, the system further includes: After the battery management system is powered on, the first input voltage, input current and system temperature in the battery management system are collected; Determine whether the first input voltage is within a preset voltage test range; If the first input voltage is determined to be within the preset voltage test range, then the test count is incremented by one to update the corresponding total test count; After determining that the total test count has reached the preset test count threshold, the first input voltage, input current and system temperature corresponding to each test count in the total test count are obtained; Each input current and each system temperature are determined as the corresponding auxiliary parameters; The preset voltage test range is updated based on each first input voltage and its corresponding auxiliary parameters to obtain the dynamic voltage test range.
7. The method according to any one of claims 2 to 6, characterized in that, After outputting the test result indicating whether the battery management system passed or failed, the following steps are also included: If the battery management system outputs a test result indicating that the test is qualified, then continue to collect multiple second input voltages corresponding to the preset test count threshold in the battery management system; The dynamic voltage test range is continuously updated based on the plurality of second input voltages.
8. A battery management system testing device, characterized in that, Applied to electronic devices, including: Select Module, used to select any battery management system to be tested; The first acquisition module is used to acquire the dynamic voltage test range corresponding to the battery management system, wherein the dynamic voltage test range is obtained by updating the preset voltage test range based on a plurality of previous first input voltages of the battery management system. The second acquisition module is used to acquire the target input voltage in the battery management system after the battery management system is powered on by the power supply device according to the preset voltage. The first judgment module is used to determine whether the target input voltage is within the dynamic voltage test range; The first determining module is used to determine that the battery management system is qualified if the target input voltage is determined to be within the dynamic voltage test range. The second determining module is used to determine that the battery management system test is unqualified if the target input voltage is determined to be outside the dynamic voltage test range. The output module is used to output the test results of the battery management system, indicating whether the test is qualified or unqualified.
9. An electronic device, characterized in that, include: At least one processor and memory; The memory stores computer-executed instructions; The at least one processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the battery management system test method as described in any one of claims 1 to 7.
10. A computer storage medium, characterized in that, The computer storage medium stores computer execution instructions, and when the processor executes the computer execution instructions, it implements the battery management system testing method as described in any one of claims 1 to 7.