CN117054896A - SOP function test method, device, equipment and storage medium - Google Patents
SOP function test method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN117054896A CN117054896A CN202311025622.5A CN202311025622A CN117054896A CN 117054896 A CN117054896 A CN 117054896A CN 202311025622 A CN202311025622 A CN 202311025622A CN 117054896 A CN117054896 A CN 117054896A
- Authority
- CN
- China
- Prior art keywords
- discharge
- compared
- value
- charging
- charge
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000010998 test method Methods 0.000 title claims abstract description 30
- 238000007599 discharging Methods 0.000 claims description 42
- 238000012360 testing method Methods 0.000 claims description 34
- 238000004590 computer program Methods 0.000 claims description 17
- 230000002159 abnormal effect Effects 0.000 claims description 10
- 238000004088 simulation Methods 0.000 description 14
- 238000000034 method Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000013461 design Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000012795 verification Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000011217 control strategy Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011990 functional testing Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/385—Arrangements for measuring battery or accumulator variables
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/396—Acquisition or processing of data for testing or for monitoring individual cells or groups of cells within a battery
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention discloses an SOP function test method, a device, equipment and a storage medium, wherein the SOP function test method comprises the following steps: obtaining a plurality of different combined values of a maximum value of the temperature of the analog battery cell, a minimum value of the temperature of the analog battery cell, a maximum value of the state of charge of the analog battery and a minimum value of the state of charge of the analog battery; for one continuous discharge duration, taking different combined values as input, and adopting a discharge MAP table corresponding to the continuous discharge duration to determine a discharge table lookup value corresponding to each combined value; taking the minimum discharge table lookup value as a discharge table lookup limit value; for a continuous charging duration, taking different combined values as input, and determining a charging lookup table value corresponding to each combined value by adopting a charging MAP table corresponding to the continuous charging duration; taking the minimum charging table look-up value as a charging table look-up limit value; and determining whether the SOP function is normal according to the discharge table lookup limit value and the charge table lookup limit value.
Description
Technical Field
The embodiment of the invention relates to a testing technology, in particular to a SOP function testing method, device, equipment and storage medium.
Background
The battery Power State (SOP) is a State parameter of the battery, and when the battery and the related battery system are used, related verification is needed to ensure that the battery Power does not exceed a set limit value in the process of charging and discharging the battery, thereby ensuring the service life of the battery.
When SOP function module test of battery system management software is performed, it is necessary to verify whether the output power limit and output current limit of SOP function module meet the standard, and at present, it is necessary to check the output values by manually searching the graphs and tables, so as to determine whether the output values meet the standard. The method has the following defects: the verification is carried out by relying on manpower, the verification efficiency is low, the steps of an automatic program related to verification are long, the readability is poor, and the maintenance is not easy.
Disclosure of Invention
The invention provides a SOP function test method, a device, equipment and a storage medium, so as to achieve the purpose of rapidly realizing automatic test of SOP functions.
In a first aspect, an embodiment of the present invention provides a method for testing an SOP function, including:
obtaining a maximum value, a minimum value, a maximum value and a minimum value of the simulated battery charge state;
Acquiring a plurality of different combined values of the maximum value, the minimum value, the maximum value and the minimum value of the simulated battery charge state;
for one continuous discharge duration, taking different combined values as input, and determining a discharge table lookup value corresponding to each combined value by adopting a discharge MAP table corresponding to the continuous discharge duration;
taking the smallest discharge table lookup value as a discharge table lookup limit value;
for one continuous charging duration, taking different combined values as input, and determining a charging lookup table value corresponding to each combined value by adopting a charging MAP table corresponding to the continuous charging duration;
taking the smallest charging lookup table value as a charging lookup table limit value;
and determining whether SOP functions are normal according to the discharging table look-up limit value and the charging table look-up limit value.
Optionally, determining whether the SOP function is normal according to the discharging table lookup limit value and the charging table lookup limit value includes:
determining whether the discharge limit value to be compared is abnormal or not in a specified temperature range and a specified SOC range according to the discharge table lookup limit value, and marking the comparison result as a first result;
determining whether the charging limit value to be compared is abnormal or not under a specified temperature range and a specified SOC range according to the charging table lookup limit value, and marking the comparison result as a second result;
And determining whether SOP functions are normal according to the first result and the second result.
Optionally, the discharge table look-up limit includes a discharge power limit and a discharge current limit;
determining four discharge power values and four discharge current values by adopting a discharge MAP table corresponding to the continuous discharge duration;
taking the smallest discharge power value as a discharge power limit value and taking the smallest discharge current value as the discharge current limit value;
the charging lookup table limit value comprises a charging power limit value and a charging current limit value;
determining four charging power values and four charging current values by adopting a charging MAP table corresponding to the continuous charging duration;
and taking the smallest charging power value as a discharging power limit value and taking the smallest charging current value as the charging current limit value.
Optionally, the discharge limit to be compared includes a discharge power limit to be compared and a discharge current limit to be compared, and the charge limit to be compared includes a charge power limit to be compared and a charge current limit to be compared;
generating the discharge power limit to be compared, the discharge current limit to be compared, the charge power limit to be compared and the charge current limit to be compared comprises:
A first sequence of discharge power to be compared, a first sequence of discharge current to be compared, a first sequence of charge power to be compared, a first sequence of charge current to be compared based on the first line Cheng Queding;
determining a second discharge power sequence to be compared, a second discharge current sequence to be compared, a second charge power sequence to be compared and a second charge current sequence to be compared based on a second thread executed in parallel with the first thread;
taking the minimum value in the first discharge power sequence to be compared and the second discharge power sequence to be compared as the discharge power limit value to be compared;
taking the minimum value in the first discharge current sequence to be compared and the second discharge current sequence to be compared as the discharge current limit value to be compared;
taking the minimum value in the first charging power sequence to be compared and the second charging power sequence to be compared as the charging power limit value to be compared;
and taking the minimum value in the first charging current sequence to be compared and the second charging current sequence to be compared as the charging current limit value to be compared.
Optionally, the temperatures of the battery cells corresponding to the first to-be-compared discharge power sequence, the first to-be-compared discharge current sequence, the first to-be-compared charge power sequence and the first to-be-compared charge current sequence are the same, and the charge states of the batteries are different;
And the temperatures of the battery cores corresponding to the second discharging power sequence to be compared, the second discharging current sequence to be compared, the second charging power sequence to be compared and the second charging current sequence to be compared are different, and the charge states of the batteries are the same.
Optionally, the discharging MAP table and the charging MAP table are two-dimensional MAP tables, and two dimensions of the two-dimensional MAP tables are the temperature of the battery core and the state of charge of the battery respectively.
Optionally, the duration of the continuous discharge and the duration of the continuous charge include 2 seconds, 10 seconds, 30 seconds, and 60 seconds, respectively.
In a second aspect, an embodiment of the present invention further provides an SOP function test apparatus, including an SOP function test unit, where the SOP function test unit includes a table lookup module and a judgment module:
the table look-up module is used for: obtaining a maximum value, a minimum value, a maximum value and a minimum value of the simulated battery charge state;
acquiring a plurality of different combined values of the maximum value, the minimum value, the maximum value and the minimum value of the simulated battery charge state;
for one continuous discharge duration, taking different combined values as input, and determining a discharge table lookup value corresponding to each combined value by adopting a discharge MAP table corresponding to the continuous discharge duration;
Taking the smallest discharge table lookup value as a discharge table lookup limit value;
for one continuous charging duration, taking different combined values as input, and determining a charging lookup table value corresponding to each combined value by adopting a charging MAP table corresponding to the continuous charging duration;
taking the smallest charging lookup table value as a charging lookup table limit value;
the judging module is used for: and determining whether SOP functions are normal according to the discharging table look-up limit value and the charging table look-up limit value.
In a third aspect, an embodiment of the present invention further provides an electronic device, including at least one processor, and a memory communicatively connected to the at least one processor;
the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor, so that the at least one processor can execute any one of the SOP function test methods described in the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer instructions, where the computer instructions are configured to cause a processor to implement any one of the SOP function testing methods described in the embodiments of the present invention when executed.
Compared with the prior art, the invention has the beneficial effects that: the embodiment provides an SOP function test method, in which a plurality of different combination values of a maximum value of an analog battery core temperature, a minimum value of the analog battery core temperature, a maximum value of the analog battery state of charge and a minimum value of the analog battery state of charge are obtained, a discharge table lookup limit value is automatically determined through a discharge MAP graph based on the plurality of different combination values, a charge table lookup limit value is automatically determined according to a charge MAP graph, and whether the SOP function of a (tested component) is abnormal is automatically determined according to the discharge table lookup limit value and the charge table lookup limit value.
Drawings
FIG. 1 is a flow chart of a SOP function test method in an embodiment;
FIG. 2 is a flow chart of another SOP function test method in an embodiment;
FIG. 3 is a schematic design block diagram of a look-up table model in an embodiment;
FIG. 4 is a schematic design block diagram of P_Dcha_Table in an embodiment;
fig. 5 is a schematic diagram of the electronic device structure in the embodiment.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a flowchart of an SOP function test method in an embodiment, and referring to fig. 1, the SOP function test method includes:
s101, obtaining a maximum value of the temperature of the analog battery cell, a minimum value of the temperature of the analog battery cell, a maximum value of the state of charge of the analog battery and a minimum value of the state of charge of the analog battery.
In this embodiment, the source of the simulated battery cell temperature maximum value, the simulated battery cell temperature minimum value, the simulated battery state of charge maximum value, and the simulated battery state of charge minimum value are set as the simulated values, and are not limited;
For example, the above values may be manually input;
or the maximum value and the minimum value of the temperature of the simulated battery cell can be the maximum value and the minimum value of the temperature of the simulated battery cell in the HIL test environment respectively;
the simulated battery state of charge maximum value and the simulated battery state of charge minimum value may be the maximum value and the minimum value, respectively, of the output battery states of charge when a specified control strategy (e.g., battery power state prediction) is performed for the component under test (e.g., BMS).
S102, acquiring various different combination values of the temperature of the analog battery core and the state of charge of the analog battery.
In this embodiment, the combination value of the simulated battery cell temperature and the simulated battery state of charge may be set according to the requirements of the functional test;
for example, four different combinations of obtaining the analog cell temperature maximum value, the analog cell temperature minimum value, the analog battery state of charge maximum value, and the analog battery state of charge minimum value may be set.
S103, aiming at one continuous discharge time length, taking a plurality of different combined values as input, and adopting a discharge MAP table corresponding to the continuous discharge time length to determine a discharge table lookup value corresponding to each combined value.
In this embodiment, the duration of continuous discharge is determined according to the requirements of the design or the simulation test, and accordingly, in this embodiment, the stored data or the acquired (generated) simulation test data is the data corresponding to the battery under the condition that the duration of continuous discharge is the specified duration.
In this embodiment, the discharge MAP table is generated by using values obtained through simulation test, actual measurement and/or interpolation, and the discharge MAP table at least includes two dimensions of a battery cell temperature and a battery state of charge;
accordingly, based on the discharge MAP table, one discharge table lookup value corresponding to each combination value can be obtained by each combination value.
In this embodiment, a set of cell temperatures and battery states of charge correspond to a discharge table, where the discharge table may be a power value, a current value, or other set value.
S104, taking the minimum discharge table look-up value as a discharge table look-up limit value.
In the present embodiment, when the discharge table lookup value is only one type of value, the discharge table lookup value with the smallest discharge table lookup value is taken as the discharge table lookup limit value;
if the discharge table lookup value comprises a plurality of types of numerical values, the minimum discharge table lookup value in the data is used as a discharge table lookup limit value corresponding to the data according to each discharge table lookup value.
S105, aiming at a continuous charging duration, taking a plurality of different combined values as input, and adopting a charging MAP table corresponding to the continuous charging duration to determine a charging lookup table value corresponding to each combined value.
In this embodiment, the charging MAP table is generated by using values obtained through simulation test, actual measurement and/or interpolation, and the charging MAP table at least includes two dimensions of a battery core temperature and a battery state of charge;
accordingly, based on the charging MAP table, a charging look-up table value corresponding to each combination value can be obtained by the combination value.
In this embodiment, a set of battery cell temperatures and battery states of charge correspond to a charging lookup table, where the charging lookup table may be a power value, a current value, or other set value types.
S106, taking the minimum charging lookup value as a charging lookup limit value.
In this embodiment, when the charging lookup table value is only one type of value, the smallest charging lookup table value is taken as the charging lookup table limit value;
if the charging table lookup value comprises a plurality of types of numerical values, respectively aiming at each charging table lookup value, and taking the smallest charging table lookup value in the data as a charging table lookup limit value corresponding to the data.
S107, determining whether the SOP function is normal according to the discharge table lookup limit value and the charge table lookup limit value.
In this embodiment, the SOP function test scheme is used to determine whether the SOP function configured in the tested component (e.g., BMS) can be normally executed, and specifically, the scheme is used to determine whether the SOP function in the tested component can output the correct charging and discharging limits when being executed.
Illustratively, in the present embodiment, the charge limit value, the discharge limit value, which are output when the SOP function (program) is executed, are acquired;
and respectively comparing the discharge table lookup limit value with the discharge limit value, and charging the table lookup limit value with the charge limit value, if the difference values are within the set threshold value range, judging that the SOP function is normal, otherwise, judging that the SOP function is abnormal.
In this embodiment, the implementation manner of the SOP function (program) configured in the tested component is not limited, and the specific details are not described in detail in the same manner as in the prior art.
In this embodiment, a plurality of different combination values of the simulated battery cell temperature and the simulated battery state of charge are set, so that the SOP values (the discharge table lookup limit value and the charge table lookup limit value) corresponding to all the required combination points (the battery cell temperature and the battery state of charge) can be verified through a round of test, thereby improving the execution efficiency of the SOP function test method, and simultaneously, the test cases corresponding to the SOP function test method are good in readability and easy to maintain.
The embodiment provides an SOP function test method, in which a plurality of different combination values of a maximum value of an analog battery core temperature, a minimum value of the analog battery core temperature, a maximum value of the analog battery state of charge and a minimum value of the analog battery state of charge are obtained, a discharge table lookup limit value is automatically determined through a discharge MAP graph based on the plurality of different combination values, a charge table lookup limit value is automatically determined according to a charge MAP graph, and whether the SOP function of a (tested component) is abnormal is automatically determined according to the discharge table lookup limit value and the charge table lookup limit value.
In this embodiment, compared with the traditional SOP test method, the efficiency of verifying whether the SOP functions normally is high through test verification, and the time can be shortened by about 90%.
Based on the scheme shown in fig. 1, in one possible embodiment, determining whether SOP functions normally include:
determining whether the discharge limit value to be compared is abnormal or not under the specified temperature range and the specified SOC range according to the discharge table lookup limit value, and marking the comparison result as a first result;
determining whether the charging limit value to be compared is abnormal or not under the specified temperature range and the specified SOC range according to the charging table lookup limit value, and marking the comparison result as a second result;
and determining whether the SOP function is normal according to the first result and the second result.
In this scheme, the discharge limit value to be compared is set to be the discharge limit value output under the specified condition when the SOP function in the tested component is executed, and the charge limit value to be compared is set to be the charge limit value output under the specified condition when the SOP function in the tested component is executed;
wherein, the specified conditions can be: the end point of the battery cell temperature interval is the same as the maximum value and the minimum value of the simulated battery cell temperature, and the end point of the battery state of charge interval is the same as the maximum value and the minimum value of the simulated battery state of charge.
Based on the scheme shown in fig. 1, in one possible embodiment, the discharge look-up table limit includes a discharge power limit, a discharge current limit;
determining four discharge power values and four discharge current values by adopting a discharge MAP table corresponding to the continuous discharge time length;
taking the minimum discharge power value as a discharge power limit value and taking the minimum discharge current value as a discharge current limit value;
the charging look-up limit comprises a charging power limit and a charging current limit;
determining four charging power values and four charging current values by adopting a charging MAP table corresponding to the continuous charging duration;
the minimum charge power value is taken as a discharge power limit value, and the minimum charge current value is taken as a charge current limit value.
In the scheme, for a duration of discharge, a discharge MAP table specifically includes a discharge power MAP table and a discharge current MAP table;
correspondingly, based on four different combined values, four discharge power values can be correspondingly obtained through a discharge power MAP table, and four discharge current values can be correspondingly obtained through a discharge current MAP table.
In this scheme, for a duration of charging, the charging MAP table specifically includes a charging power MAP table and a charging current MAP table;
Based on four different combination values, four charging power values can be correspondingly obtained through a charging power MAP table, and four charging current values can be correspondingly obtained through a charging current MAP table.
Further, on the basis that the discharge table look-up limit value comprises a discharge power limit value and a discharge current limit value, the charge table look-up limit value comprises a charge power limit value and a charge current limit value, the discharge limit value to be compared is set to comprise the discharge power limit value to be compared and the discharge current limit value to be compared, and the charge limit value to be compared comprises the charge power limit value to be compared and the charge current limit value to be compared.
In this scheme, generating to-be-compared discharge power limit, to-be-compared discharge current limit, to-be-compared charge power limit, to-be-compared charge current limit includes:
a first sequence of discharge power to be compared, a first sequence of discharge current to be compared, a first sequence of charge power to be compared, a first sequence of charge current to be compared based on the first line Cheng Queding;
determining a second discharge power sequence to be compared, a second discharge current sequence to be compared, a second charge power sequence to be compared and a second charge current sequence to be compared based on a second thread executed in parallel with the first thread;
taking the minimum value in the first discharge power sequence to be compared and the second discharge power sequence to be compared as a discharge power limit value to be compared;
Taking the minimum value in the first discharge current sequence to be compared and the second discharge current sequence to be compared as a discharge current limit value to be compared;
taking the minimum value in the first charging power sequence to be compared and the second charging power sequence to be compared as a charging power limit value to be compared;
and taking the minimum value in the first charging current sequence to be compared and the second charging current sequence to be compared as the charging current limit value to be compared.
In this solution, the first thread and the second thread may be configured with the same SOP function (program) as the component to be tested;
when the SOP functions (programs) in the first thread and the second thread are set to be executed, the input quantity is the same in type, the input quantity is different in value, and the value difference of the input quantity can be set according to simulation tests or setting requirements.
In this scheme, taking the first thread as an example, the input quantity is a numerical sequence, and each value or each group of values in the sequence corresponds to a first discharge power to be compared, a first discharge current to be compared, a first charge power to be compared and a first charge current to be compared;
and then a first discharge power sequence to be compared, a first discharge current sequence to be compared, a first charge power sequence to be compared and a first charge current sequence to be compared can be generated.
Further, determining a discharge power limit value to be compared, a discharge current limit value to be compared, a charge power limit value to be compared and a charge current limit value to be compared according to the first discharge power sequence to be compared, the first discharge current sequence to be compared, the first charge current sequence to be compared, the second discharge power sequence to be compared, the second discharge current sequence to be compared, the second charge power sequence to be compared and the second charge current sequence to be compared;
the first to-be-compared discharging power sequence, the first to-be-compared discharging current sequence, the first to-be-compared charging power sequence and the battery core corresponding to the first to-be-compared charging current sequence are the same in temperature and different in battery charge state;
the second discharging power sequence to be compared, the second discharging current sequence to be compared, the second charging power sequence to be compared and the corresponding battery core temperature of the second charging current sequence to be compared are different, and the battery charge states are the same.
In this embodiment, the input amount of the SOP function (program) is set as the cell temperature and the battery state of charge.
When the SOP function (program) in the first thread is set to be executed, the temperature of the battery core is a fixed value, the state of charge of the battery is a sequence, and correspondingly, the SOP function (program) generates a first discharging power sequence to be compared, a first discharging current sequence to be compared, a first charging power sequence to be compared, each first discharging power to be compared in the first charging current sequence to be compared, a first discharging current to be compared, a first charging power to be compared and a first charging current to be compared according to the temperature of the battery core and each corresponding state of charge of the battery.
For example, for the first thread, the cell temperature may be determined empirically or through simulation, for example, the cell temperature may be set to 25 ℃.
For example, for the first thread, the endpoint corresponding to the battery state of charge sequence may be the maximum value, the minimum value or the specified value of the simulated battery state of charge, and the step size of the battery state of charge sequence may be freely set according to the requirement of the simulation test.
And when the SOP function (program) in the second thread is set to be executed, the battery core temperature is a sequence, the battery charge state is a fixed value, and correspondingly, the SOP function (program) generates a second discharging power sequence to be compared, a second discharging current sequence to be compared, a second charging power sequence to be compared and each second discharging power to be compared, a second discharging current to be compared, a second charging power to be compared and a second charging current to be compared in the second charging current sequence to be compared according to the corresponding battery core temperature and the battery charge state.
For example, for the second thread, the end point corresponding to the cell temperature sequence may be the maximum value, the minimum value or the appointed value of the analog cell temperature, and the step length of the cell temperature sequence may be freely set according to the requirement of the simulation test.
For example, for the second thread, the battery state of charge may be empirically or experimentally determined, e.g., the battery state of charge may be set to 0.
In the scheme, a first thread and a second thread which are executed in parallel are used for generating a discharge power limit value to be compared, a discharge current limit value to be compared, a charge power limit value to be compared and a charge current limit value to be compared, wherein the first thread and the second thread are respectively used for generating a first discharge power sequence to be compared, a first discharge current sequence to be compared, a first charge power sequence to be compared, a first charge current sequence to be compared, a second discharge power sequence to be compared, a second discharge current sequence to be compared, a second charge power sequence to be compared, and a second charge current sequence to be compared, when the first thread is configured to generate the sequences, the temperature of a battery core is fixed, the state of charge of the battery is changed, and when the second thread generates the sequences, the temperature of the battery is changed, based on the first thread and the second thread, a value point to be compared for generating SOP can be set, so that the steps of a verification program are reduced, the readability of the test program is improved, and the test program is easy to maintain.
Based on the scheme shown in fig. 1, in one possible implementation, the discharging MAP table and the charging MAP table are respectively set to be two-dimensional MAP tables, and two dimensions of the two-dimensional MAP tables are respectively set to be the battery cell temperature and the battery charge state.
For example, in the present solution, a set of table lookup values corresponding to the battery cell temperature and the battery state of charge are set for a two-dimensional MAP table;
for example, if the discharge MAP table specifically includes a discharge power MAP table and a discharge current MAP table, one set of the cell temperature and the battery state of charge corresponds to one discharge power value for the discharge power MAP table, and one set of the cell temperature and the battery state of charge corresponds to one discharge current value for the discharge current MAP table.
Based on the scheme shown in fig. 1, in one possible embodiment, the set duration of continuous discharge and the set duration of continuous charge include 2 seconds, 10 seconds, 30 seconds, and 60 seconds, respectively.
Fig. 2 is a flowchart of another SOP function test method in an example, referring to fig. 2, in one possible embodiment, the SOP function test method includes:
s201, obtaining a maximum value of the temperature of the analog battery cell, a minimum value of the temperature of the analog battery cell, a maximum value of the state of charge of the analog battery and a minimum value of the state of charge of the analog battery.
In the scheme, the maximum value and the minimum value of the temperature of the simulation battery cell are set to be the maximum value and the minimum value of the temperature of the simulation battery cell in the HIL test environment respectively;
the simulated battery state of charge maximum value and the simulated battery state of charge minimum value may be the maximum value and the minimum value, respectively, of the battery states of charge output when a specified control strategy (battery power state prediction) is performed for the measured component (BMS).
S202, four different combination values of the temperature of the analog battery core and the state of charge of the analog battery are obtained.
In this scheme, set up simulation electric core temperature maximum value, simulation electric core temperature minimum value, simulation battery state of charge maximum value, simulation battery state of charge minimum value and respectively adopt max_battemp, min_battemp, max_batsoc, min_batsoc to represent, then four kinds of different combined values are respectively:
(Max_BatTemp,Max_BatSOC)、(Max_BatTemp,Min_BatSOC)、(Min_BatTemp,Max_BatSOC)、(Min_BatTemp,Min_BatSOC)。
s203, aiming at a continuous discharge duration, four different combined values are taken as input, four discharge power table lookup values are determined by adopting a discharge power MAP table corresponding to the continuous discharge duration, and four discharge current table lookup values are determined by adopting a corresponding discharge current MAP table.
S204, aiming at a continuous discharge duration, four different combined values are taken as input, four charging power lookup table values are determined by adopting a charging power MAP table corresponding to the continuous discharge duration, and four charging current lookup table values are determined by adopting a corresponding charging current MAP table.
S205, taking the minimum discharge power table lookup value as a discharge power limit value, taking the minimum discharge current table lookup value as a discharge current limit value, taking the minimum charge power table lookup value as a charge power limit value, and taking the minimum charge current table lookup value as a charge current limit value.
In combination with steps S203 to S205, in this embodiment, the set continuous discharging duration and continuous charging duration include 2 seconds, 10 seconds, 30 seconds, and 60 seconds, respectively.
Illustratively, in the present solution, the design implements steps S203 to S205 based on the simulink model.
In the scheme, a discharge power limit value corresponding to 2 seconds is set as a model_MaxDChaShot_P, and a discharge current limit value is set as a model_MaxDChaShot_I;
setting a discharge power limit value corresponding to 10 seconds as a model_MaxDChaLong_P and a discharge current limit value as a model_MaxDChaLong_I;
setting a discharge power limit value corresponding to 30 seconds as model_MaxDCha30s_P and a discharge current limit value as model_MaxDCha30s_I;
setting a discharge power limit value corresponding to 60 seconds as model_MaxDCha60deg.S_P and a discharge current limit value as model_MaxDCha60deg.S_I;
setting a charging power limit value corresponding to 2 seconds as model_MaxchaShot_P and a charging current limit value as model_MaxchaShot_I;
setting a charging power limit value corresponding to 10 seconds as model_Maxchalong_P and a charging current limit value as model_Maxchalong_I;
setting a charging power limit value corresponding to 30 seconds as model_Maxcha30s_P and a charging current limit value as model_Maxcha30s_I;
the charging power limit corresponding to 60 seconds is set to be model_maxcha60s_p, and the charging current limit is set to be model_maxcha60s_i.
FIG. 3 is a schematic block diagram of a lookup model in an embodiment, and referring to FIG. 3, a lookup model may be designed based on simulink, with the input of the lookup model being [ A ] specifically (Max_BatTemp, max_BatSOC), (Max_BatTemp, min_BatSOC), (Min_BatTemp, max_BatSOC), (Min_BatTemp, min_BatSOC);
the Table lookup model comprises four subunits, namely a discharge power Table lookup unit P_Dcha_Table, a discharge current Table lookup unit I_Dcha_Table, a charge power Table lookup unit P_cha_Table and a charge current Table lookup unit I_cha_Table;
the discharging power Table look-up unit p_dcha_table is used for outputting model_maxdchashot_ P, model _maxdchalong_ P, model _maxdcha30s_ P, model _maxdcha60deg.s_p;
the discharge current Table look-up unit i_dcha_table is specifically configured to output model_maxdchashot_ I, model _maxdchalong_ I, model _maxdcha30s_ I, model _maxdcha60deg s_i;
the charging power Table lookup unit p_cha_table is specifically configured to output model_maxchaloot_ P, model _maxchalong_ P, model _maxchale30s_ P, model _maxcha60deg s_p;
the charging current lookup unit i_cha_table is specifically configured to output model_maxchashot_ I, model _maxchalong_ I, model _maxcha30s_ I, model _maxcha60s_i.
Fig. 4 is a schematic design block diagram of a p_dcha_table in an embodiment, referring to fig. 4, taking the p_dcha_table as an example, the p_dcha_table includes a first power Table lookup module, a second power Table lookup module, a third power Table lookup module, and a fourth power Table lookup module;
the first power table look-up module configures a first power MAP p_dis_2s_result, the second power table look-up module configures a second power MAP p_dis_10s_result, the third power table look-up module configures a second power MAP p_dis_30s_result, and the fourth power table look-up module configures a second power MAP p_dis_60s_result;
the first power table look-up module is used for determining four discharge power table look-up values corresponding to the duration of 2 seconds, further determining the minimum value of the four discharge power table look-up values, and taking the minimum value as a discharge power limit value model_MaxDChashot_P corresponding to the duration of 2 seconds;
the second power table look-up module is used for determining four discharge power table look-up values corresponding to the continuous discharge time length of 10 seconds, further determining the minimum value of the four discharge power table look-up values, and taking the minimum value as a discharge power limit value model_MaxDChaLong_P corresponding to the continuous discharge time length;
the third power table look-up module is used for determining four discharge power table look-up values corresponding to the continuous discharge time length of 30 seconds, further determining the minimum value of the four discharge power table look-up values, and taking the minimum value as a discharge power limit value model_MaxDCha30s_P corresponding to the continuous discharge time length;
The fourth power table look-up module is used for determining four discharge power table look-up values corresponding to the continuous discharge time length of 60 seconds, further determining the minimum value of the four discharge power table look-up values, and taking the minimum value as a discharge power limit value model_MaxDCha60s_P corresponding to the continuous discharge time length;
taking the first power table look-up module as an example, each group of values in (max_battemp, max_bat soc), (max_battemp, min_bat soc), (min_bat, max_bat soc), and (min_bat, min_bat soc) can obtain a discharge power table look-up value through the first power MAP respectively, that is, four discharge power table look-up values can be obtained in total.
In this scheme, the design modes of the i_dcha_table, the p_cha_table, and the i_cha_table are the same as the p_dcha_table, and the difference is that the power MAP or the current MAP corresponding to the unit is configured in a different unit, and accordingly, the different unit outputs the corresponding discharge current limit, the charging power limit, or the charging current limit.
Illustratively, in this embodiment, the power MAP and the current MAP are determined according to calibration tests, and specific values thereof are related to the test standard and the battery type, and specific values are not listed in detail.
In the scheme, the power MAP is set to be a two-dimensional MAP graph, two-dimensional parameters are respectively the temperature of the battery core and the state of charge of the battery, and one group of two-dimensional parameters corresponds to one charging power table look-up value or one discharging power table look-up value;
The current MAP is set to be a two-dimensional MAP graph, two-dimensional parameters are the temperature of the battery core and the charge state of the battery respectively, and one group of two-dimensional parameters corresponds to a charging current table-lookup value or a discharging current table-lookup value.
S206, determining a discharge power limit value to be compared, a discharge current limit value to be compared, a charge power limit value to be compared and a charge current limit value to be compared based on the first thread and the second thread aiming at a continuous discharge time.
In the scheme, a first thread and a second thread are set to execute in parallel, and the first thread and the second thread are respectively configured with SOP functions (programs) which are the same as components to be tested;
setting a first thread for determining a group of discharge power limit value to be compared, discharge current limit value to be compared, charge power limit value to be compared and charge current limit value to be compared, wherein the discharge duration is 2 seconds, 10 seconds, 30 seconds, 60 seconds, and the charge duration is 2 seconds, 10 seconds, 30 seconds and 60 seconds;
specifically, for each duration, when the SOP function (program) in the first thread is set to execute, the temperature of the battery cell is 25 ℃ as a fixed value, the state of charge of the battery is a sequence, and one end point (maximum value or minimum value) of the state of charge of the battery can be determined according to the following formula:
Cal_MinSOC=(SOCloopCounter-1)×5
Cal_MaxSOC=(SOCloopCounter-1)×5
In the formula, SOCloopCoulter is a set value.
In the scheme, a first program is adopted for generating a first discharge power sequence to be compared, a first charge power sequence to be compared, a first discharge current sequence to be compared and a first charge current sequence to be compared aiming at one duration;
taking the minimum value in the first discharging power sequence to be compared as a discharging power limit value to be compared and taking the minimum value in the first charging power sequence to be compared as a charging power limit value to be compared;
taking the minimum value in the first discharging current sequence to be compared as a discharging current limit value to be compared and taking the minimum value in the first charging current sequence to be compared as a charging current limit value to be compared;
for example, for a duration of 2 seconds, the discharge power limit to be compared, the charge power limit to be compared, the discharge current limit to be compared, the charge current limit to be compared may be respectively noted as:
BMS_Max_DchaPwrShoT、BMS_Max_chaPwrShoT、BMS_Max_DchaIShoT、BMS_Max_ChrgIShoT。
setting a second thread to determine a group of discharge power limit value to be compared, discharge current limit value to be compared, charge power limit value to be compared and charge current limit value to be compared, wherein the discharge duration is 2 seconds, 10 seconds, 30 seconds, 60 seconds, and the charge duration is 2 seconds, 10 seconds, 30 seconds and 60 seconds;
Specifically, for each duration, the state of charge of the battery is a fixed value, the cell temperature is a sequence, and the cell temperature is determined according to the following formula:
Temp=-40+(TemploopCounter-1)×5
in the formula, temploopcounter is a set value.
In the scheme, a first thread is adopted for generating a second discharging power sequence to be compared, a second charging power sequence to be compared, a second discharging current sequence to be compared and a second charging current sequence to be compared aiming at one duration;
taking the minimum value in the second discharging power sequence to be compared as a discharging power limit value to be compared and the minimum value in the second charging power sequence to be compared as a charging power limit value to be compared;
and taking the minimum value in the second discharging current sequence to be compared as a discharging current limit value to be compared and the minimum value in the second charging current sequence to be compared as a charging current limit value to be compared.
S207, respectively comparing the discharge power limit value with the discharge power limit value to be compared, the discharge current limit value with the discharge current limit value to be compared, the charge power limit value with the charge power limit value to be compared, the charge current limit value with the charge current limit value to be compared, and determining whether the SOP function is normal according to the comparison result.
In the scheme, aiming at a first thread and a second thread, a discharge power limit value and a discharge power limit value to be compared with each other with the same duration are correspondingly compared, a discharge current limit value and a discharge current limit value to be compared are correspondingly compared, and a charge power limit value to be compared, a charge current limit value and a charge current limit value to be compared are correspondingly compared;
For example, for the case of the first thread and the duration of 2 seconds, based on the calculated amount of the first thread, the following values are compared correspondingly:
model_maxdchashot_p and bms_max_dcappwrshot;
model_maxdchashot_i and bms_max_dchaishot;
model_maxchashot_p and bms_max_chapwrshot;
model_MaxchaShot_I and BMS_Max_Chrgish;
for the case of the second thread with the duration of 2 seconds, based on the calculated amount of the second thread, the following amounts are compared correspondingly:
model_maxdchashot_p and bms_max_dcappwrshot;
model_maxdchashot_i and bms_max_dchaishot;
model_maxchashot_p and bms_max_chapwrshot;
model_MaxchaShot_I and BMS_Max_Chrgishot.
In the scheme, if any comparison result is the same as the set value, whether the SOP function of the component to be tested is normal is determined, otherwise, the SOP function of the component to be tested is abnormal is determined.
Example two
The embodiment provides an SOP function testing device, which comprises an SOP function testing unit, wherein the SOP function testing unit comprises a table look-up module and a judging module:
the table look-up module is used for: obtaining a maximum value, a minimum value, a maximum value and a minimum value of the simulated battery charge state;
Obtaining a plurality of different combined values of a maximum value of the temperature of the analog battery cell, a minimum value of the temperature of the analog battery cell, a maximum value of the state of charge of the analog battery and a minimum value of the state of charge of the analog battery;
for one continuous discharge duration, taking different combined values as input, and adopting a discharge MAP table corresponding to the continuous discharge duration to determine a discharge table lookup value corresponding to each combined value;
taking the minimum discharge table lookup value as a discharge table lookup limit value;
for a continuous charging duration, taking different combined values as input, and determining a charging lookup table value corresponding to each combined value by adopting a charging MAP table corresponding to the continuous charging duration;
taking the minimum charging table look-up value as a charging table look-up limit value;
the judging module is used for: and determining whether the SOP function is normal according to the discharge table lookup limit value and the charge table lookup limit value.
Specifically, in this embodiment, the SOP function test unit may be specifically configured to implement any one of the SOP function test schemes in the first embodiment, and the implementation manner and the beneficial effects of the SOP function test unit are the same as those of the corresponding content described in the first embodiment, which are not described herein.
Example III
Fig. 5 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 5, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the SOP function test method.
In some embodiments, the SOP function test method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the SOP function test method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the SOP function test method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.
Claims (10)
1. A SOP function test method, comprising:
obtaining a maximum value, a minimum value, a maximum value and a minimum value of the simulated battery charge state;
acquiring a plurality of different combined values of the maximum value, the minimum value, the maximum value and the minimum value of the simulated battery charge state;
for one continuous discharge duration, taking different combined values as input, and determining a discharge table lookup value corresponding to each combined value by adopting a discharge MAP table corresponding to the continuous discharge duration;
Taking the smallest discharge table lookup value as a discharge table lookup limit value;
for one continuous charging duration, taking different combined values as input, and determining a charging lookup table value corresponding to each combined value by adopting a charging MAP table corresponding to the continuous charging duration;
taking the smallest charging lookup table value as a charging lookup table limit value;
and determining whether SOP functions are normal according to the discharging table look-up limit value and the charging table look-up limit value.
2. The SOP function test method of claim 1, wherein determining whether SOP function is normal based on the discharge table look-up limit and the charge table look-up limit includes:
determining whether the discharge limit value to be compared is abnormal or not in a specified temperature range and a specified SOC range according to the discharge table lookup limit value, and marking the comparison result as a first result;
determining whether the charging limit value to be compared is abnormal or not under a specified temperature range and a specified SOC range according to the charging table lookup limit value, and marking the comparison result as a second result;
and determining whether SOP functions are normal according to the first result and the second result.
3. The SOP function test method of claim 2, wherein the discharge look-up table limit includes a discharge power limit, a discharge current limit;
Determining four discharge power values and four discharge current values by adopting a discharge MAP table corresponding to the continuous discharge duration;
taking the smallest discharge power value as a discharge power limit value and taking the smallest discharge current value as the discharge current limit value;
the charging lookup table limit value comprises a charging power limit value and a charging current limit value;
determining four charging power values and four charging current values by adopting a charging MAP table corresponding to the continuous charging duration;
and taking the smallest charging power value as a discharging power limit value and taking the smallest charging current value as the charging current limit value.
4. A SOP function test method as claimed in claim 3, wherein the discharge limit to be compared includes a discharge power limit to be compared and a discharge current limit to be compared, and the charge limit to be compared includes a charge power limit to be compared and a charge current limit to be compared;
generating the discharge power limit to be compared, the discharge current limit to be compared, the charge power limit to be compared and the charge current limit to be compared comprises:
a first sequence of discharge power to be compared, a first sequence of discharge current to be compared, a first sequence of charge power to be compared, a first sequence of charge current to be compared based on the first line Cheng Queding;
Determining a second discharge power sequence to be compared, a second discharge current sequence to be compared, a second charge power sequence to be compared and a second charge current sequence to be compared based on a second thread executed in parallel with the first thread;
taking the minimum value in the first discharge power sequence to be compared and the second discharge power sequence to be compared as the discharge power limit value to be compared;
taking the minimum value in the first discharge current sequence to be compared and the second discharge current sequence to be compared as the discharge current limit value to be compared;
taking the minimum value in the first charging power sequence to be compared and the second charging power sequence to be compared as the charging power limit value to be compared;
and taking the minimum value in the first charging current sequence to be compared and the second charging current sequence to be compared as the charging current limit value to be compared.
5. The SOP function test method of claim 4, wherein the first sequence of discharge powers to be compared, the first sequence of discharge currents to be compared, the first sequence of charge powers to be compared, and the first sequence of charge currents to be compared correspond to the same cell temperature, and the states of charge of the cells are different;
and the temperatures of the battery cores corresponding to the second discharging power sequence to be compared, the second discharging current sequence to be compared, the second charging power sequence to be compared and the second charging current sequence to be compared are different, and the charge states of the batteries are the same.
6. The SOP function test method according to any one of claims 1 to 5, wherein the discharging MAP table and the charging MAP table are two-dimensional MAP tables, respectively, and two dimensions of the two-dimensional MAP tables are a battery cell temperature and a battery state of charge, respectively.
7. The SOP function test method according to any one of claims 1 to 5, wherein the duration of the continuous discharge and the duration of the continuous charge include 2 seconds, 10 seconds, 30 seconds, 60 seconds, respectively.
8. The SOP function testing device is characterized by comprising an SOP function testing unit, wherein the SOP function testing unit comprises a table look-up module and a judging module:
the table look-up module is used for: obtaining a maximum value, a minimum value, a maximum value and a minimum value of the simulated battery charge state;
acquiring a plurality of different combined values of the maximum value, the minimum value, the maximum value and the minimum value of the simulated battery charge state;
for one continuous discharge duration, taking different combined values as input, and determining a discharge table lookup value corresponding to each combined value by adopting a discharge MAP table corresponding to the continuous discharge duration;
Taking the smallest discharge table lookup value as a discharge table lookup limit value;
for one continuous charging duration, taking different combined values as input, and determining a charging lookup table value corresponding to each combined value by adopting a charging MAP table corresponding to the continuous charging duration;
taking the smallest charging lookup table value as a charging lookup table limit value;
the judging module is used for: and determining whether SOP functions are normal according to the discharging table look-up limit value and the charging table look-up limit value.
9. An electronic device comprising at least one processor, and a memory communicatively coupled to the at least one processor;
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the SOP function test method of any of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to perform the SOP function test method of any of claims 1-7 when executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311025622.5A CN117054896A (en) | 2023-08-14 | 2023-08-14 | SOP function test method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311025622.5A CN117054896A (en) | 2023-08-14 | 2023-08-14 | SOP function test method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117054896A true CN117054896A (en) | 2023-11-14 |
Family
ID=88662076
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311025622.5A Pending CN117054896A (en) | 2023-08-14 | 2023-08-14 | SOP function test method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117054896A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118566758A (en) * | 2024-08-02 | 2024-08-30 | 四川工程职业技术大学 | Method, system and equipment for estimating discharge power peak value of battery pack |
-
2023
- 2023-08-14 CN CN202311025622.5A patent/CN117054896A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118566758A (en) * | 2024-08-02 | 2024-08-30 | 四川工程职业技术大学 | Method, system and equipment for estimating discharge power peak value of battery pack |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3975378A1 (en) | Charging method and apparatus, charging system, electronic device, storage medium | |
CN117054896A (en) | SOP function test method, device, equipment and storage medium | |
CN113361128A (en) | Abnormal battery cell screening method and system, computer equipment and storage medium | |
CN116008827A (en) | Determination method and device for lithium ion battery lithium precipitation potential and electronic equipment | |
CN114137415B (en) | Method and device for detecting heating value of battery pack, vehicle and storage medium | |
WO2024140107A1 (en) | Capacity attenuation coefficient determination method, device, and storage medium | |
EP4311074A1 (en) | Charging method and apparatus for energy storage power source, and device and medium | |
CN115754772B (en) | Battery capacity attenuation processing method, device, equipment and storage medium | |
CN116905604A (en) | Multi-mode control method, device, equipment and medium for hybrid engineering machinery | |
CN114200315B (en) | Method and device for predicting remaining charging time, electronic equipment and storage medium | |
CN116559693A (en) | Battery SOC evaluation method and device, electronic equipment and storage medium | |
CN116243195A (en) | Battery module service life determining method, device, equipment and storage medium | |
CN110994052A (en) | Method and device for prolonging battery endurance, storage medium and terminal equipment | |
CN117970131A (en) | Discharge MAP determining method, device, equipment and storage medium | |
CN106646264A (en) | Battery discharge tester | |
CN117559010B (en) | Power control device and method of energy storage system, storage medium and energy storage system | |
CN117907847A (en) | Abnormal battery screening method, device, equipment and storage medium | |
CN116027197A (en) | Method, device, equipment and storage medium for evaluating self-discharge consistency of battery | |
CN116298970A (en) | Electric quantity calculation method and device, electronic equipment and storage medium | |
CN116504042A (en) | Abnormal temperature alarm generation method, device, equipment and medium | |
CN115453362A (en) | Battery cell testing method and device, electronic equipment and storage medium | |
CN118348309A (en) | Method and device for testing charge and discharge power, vehicle and electronic equipment | |
CN116593916A (en) | Method and device for dynamically correcting SOH based on Internet, electronic equipment and medium | |
CN115015806A (en) | Battery cell short circuit judgment method and device and storage medium | |
CN116424155A (en) | Battery charge state determining method, device, equipment, medium and vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |