CN111901191A - BMS national standard quick-charging protocol testing method based on dSPACE - Google Patents

BMS national standard quick-charging protocol testing method based on dSPACE Download PDF

Info

Publication number
CN111901191A
CN111901191A CN202010649727.8A CN202010649727A CN111901191A CN 111901191 A CN111901191 A CN 111901191A CN 202010649727 A CN202010649727 A CN 202010649727A CN 111901191 A CN111901191 A CN 111901191A
Authority
CN
China
Prior art keywords
charging
national standard
bms
control board
main control
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.)
Withdrawn
Application number
CN202010649727.8A
Other languages
Chinese (zh)
Inventor
葛金龙
梁瑞
秦兴权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fish Green Energy Technology Ningbo Co ltd
Original Assignee
Fish Green Energy Technology Ningbo Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Fish Green Energy Technology Ningbo Co ltd filed Critical Fish Green Energy Technology Ningbo Co ltd
Priority to CN202010649727.8A priority Critical patent/CN111901191A/en
Publication of CN111901191A publication Critical patent/CN111901191A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a BMS national standard quick-charging protocol testing method based on dSPACE, which comprises the following steps: building a national standard quick charging protocol model; compiling and downloading a national standard quick charge protocol model into a real-time processor RTPC (real time PC) of the dSPACE testing equipment, and connecting a BMS (battery management system) main control board with the dSPACE testing equipment; verifying the BMS main control board according to a flow specified by a national standard rapid charging protocol; after the verification is completed, testing the abnormal condition existing in the rapid charging process; the CAN monitoring tool is used as an auxiliary verification tool to verify the charging process and locate the reasons of abnormal conditions in the charging process; according to the invention, the national standard quick-charging protocol model is operated in the real-time processor RTPC, the dSPACE testing equipment is connected with the BMS main control board, the quick-charging function algorithm in the BMS main control board is quickly verified, and the problems that the manual testing difficulty is large, the period is long and the positioning is difficult when the problem occurs are solved.

Description

BMS national standard quick-charging protocol testing method based on dSPACE
Technical Field
The invention belongs to the technical field of BMS national standard quick charging tests of new energy automobiles, and particularly relates to a method for testing a BMS national standard quick charging protocol based on dSPACE.
Background
When the national standard of new energy automobile BMS fills test manual test soon, there are the degree of difficulty big, the cycle length, problem location when the test goes wrong inaccurate and take time limitation problem such as long.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a dSPACE-based BMS national standard quick-charging protocol testing method aiming at the defects of the prior art, the dSPACE-based BMS national standard quick-charging protocol testing method is characterized in that a national standard quick-charging protocol model is operated to a real-time processor RTPC (remote terminal controller) of real-time operation testing equipment dSPACE, the dSPACE testing equipment is connected with a BMS main control board downloaded with a quick-charging algorithm program, when the BMS quick-charging is tested, a quick-charging function algorithm in the BMS main control board can be quickly verified, and the problems of great difficulty, long period and difficulty in positioning when problems occur in manual testing are solved.
In order to achieve the technical purpose, the technical scheme adopted by the invention is as follows:
a BMS national standard quick-charging protocol testing method based on dSPACE comprises the following steps:
step 1: building a national standard quick charging protocol model under a simulation environment based on the national standard quick charging protocol;
step 2: fusing, compiling and downloading a national standard rapid charging protocol model without errors into a real-time processor RTPC (real time processor) of the dSPACE testing equipment, and connecting the BMS main control board downloaded with the rapid charging algorithm model with the dSPACE testing equipment;
and step 3: verifying the quick charge algorithm function of a quick charge algorithm model in the BMS main control board according to a flow specified by a national standard quick charge protocol;
and 4, step 4: after the verification is completed, testing the abnormal condition existing in the rapid charging process;
and 5: in the process of verifying the function of the quick charging algorithm, the CAN monitoring tool is used as an auxiliary verification tool to verify the charging process and locate the reason of the abnormal condition in the charging process (the implementation method is that other tools are used, such as an upper computer of dSPACE, a Peak CAN tool, a CANoe tool of Vector and the like, and even other tools are used for reporting error information in the charging process according to other tools to locate the problem).
As a further improved technical scheme of the invention, the step 1 is as follows:
and constructing a national standard quick charge protocol model under the Matlab/Simulink environment based on the national standard quick charge protocol.
As a further improved technical solution of the present invention, the step 3 of the process specified by the chinese standard fast charging protocol includes:
the method comprises the steps of physical connection completion, low-voltage auxiliary power-on, a charging handshake phase, a charging parameter configuration phase, a charging phase and a charging end phase.
As a further improved technical solution of the present invention, the charging process to be verified in step 3 includes:
in the charging handshake stage, the charging parameter configuration stage, the charging stage and the charging end stage, if the national standard quick charging protocol model and the BMS main control board do not receive the message of the other party or the correct message within the specified time, the judgment is overtime, and when the overtime occurs, the BMS main control board or the national standard quick charging protocol model sends the specified error message, and the charging process is terminated;
in the charging parameter configuration stage, the charging stage and the charging finishing stage, the BMS main control panel detects the charging voltage and the charging current of the national standard quick charging protocol model, judges whether the faults of charging voltage overvoltage and charging current overcurrent exist or not, and if yes, the charging process is terminated;
if the charging process is normal, after the voltage of the BMS main control board reaches a full-charge state, the BMS main control board sends a charging termination request to the national standard quick charging protocol model, the national standard quick charging protocol model detects the self state after receiving the request of the BMS main control board, judges whether a charging termination condition is met, and if the charging termination condition is met, the charging is terminated;
when the BMS main control board is executed according to the flow, the quick charging algorithm model of the BMS main control board meets the requirements of the national standard quick charging protocol; otherwise, the quick charging algorithm model of the BMS main control board does not meet the requirements of the national standard quick charging protocol.
As a further improved technical solution of the present invention, the abnormal condition in step 4 refers to an abnormal condition that the BMS main control board cannot charge or the charging is terminated when the BMS main control board is not fully charged during the charging process.
As a further improvement of the present invention, the abnormal condition includes an abnormal condition of the charging voltage overvoltage, an abnormal condition of the charging current overcurrent, and an abnormal condition of the timeout.
As a further improved technical solution of the present invention, the testing of the abnormal condition existing in the rapid charging process includes:
under the abnormal condition, testing whether the BMS main control board has the charging flow termination in the charging process, if so, enabling the quick charging algorithm model of the BMS main control board to meet the requirements of the national standard quick charging protocol; otherwise, the quick charging algorithm model of the BMS main control board does not meet the requirements of the national standard quick charging protocol.
The invention has the beneficial effects that:
the invention provides a method for verifying a rapid charging function algorithm in a BMS main control board by building a national standard rapid charging protocol model in a Matlab \ Simulink environment, compiling and downloading the model into an RTPC (remote terminal controller) of automatic testing equipment dSPACE (decentralized peripheral component interconnect), and realizing the purpose of automatically testing and verifying the rapid charging function algorithm in the BMS main control board by means of the dSPACE equipment based on the method. Compared with a manual test, the test process is simple, the speed is high, the time is short, the charging process can be verified through the auxiliary verification tool, and the reason for the abnormal situation in the charging process can be quickly positioned.
Drawings
Fig. 1 is a schematic diagram of the charge test conversion.
Fig. 2 is a flow chart of national standard fast charging.
Detailed Description
The following further description of embodiments of the invention is made with reference to the accompanying figures 1-2:
the national standard rapid charging protocol is used as a national standard and must be observed in new energy electric vehicles and energy storage devices, the BMS module must design a functional algorithm model for rapid charging based on the national standard rapid charging protocol, the algorithm must be tested after the BMS design completes the rapid charging algorithm function, and whether the national standard rapid charging requirement is met is verified. The manual test has many disadvantages, and the invention is designed based on the problems.
As shown in fig. 1, the conventional national standard quick charging test includes a charger, a charging protocol and a BMS controller, the charger can be omitted by applying the invention, the charging protocol is replaced by a Simulink model, and only a dSPACE device and a BMS main control board are needed when the test is performed after the reduction. The method comprises the following specific steps:
a BMS national standard quick-charging protocol testing method based on dSPACE comprises the following steps:
step 1: according to the technical requirements of the national standard rapid charging protocol, a model of the national standard rapid charging protocol, called the national standard rapid charging protocol model for short, is built by using a Matlab \ Simulink tool.
The national standard quick charge protocol is an interactive response flow based on a time sequence, so that a tool used when the quick charge protocol is built is a Statefill state machine module in a Matlab \ Simulink environment, and a state diagram, transfer and the like under a Statefill state machine are mainly used.
The establishment of the national standard quick charging protocol model of the embodiment is established according to GBT 27930-.
Step 2: and the national standard rapid charging protocol model is compiled and downloaded to a real-time processor RTPC of the dSPACE test equipment without errors, the dSPACE test equipment is connected with the BMS main control board downloaded with the rapid charging algorithm model, and dSPACE test software and other monitoring software required to be used are opened.
And step 3: according to the flow specified by the national standard quick charging protocol, the flow is shown in fig. 2, and the quick charging algorithm function of the quick charging algorithm model in the BMS master control board is verified in the dSPACE test software according to the four-stage flow of the quick charging.
The process specified by the international fast charging protocol, as shown in fig. 2, includes: the method comprises the steps of physical connection completion, low-voltage auxiliary power-on, a charging handshake phase, a charging parameter configuration phase, a charging phase and a charging end phase.
In the charging handshake stage, the charging parameter configuration stage, the charging stage and the charging end stage, if the national standard quick charging protocol model and the BMS host control board do not receive a message of the other party or a correct message within a specified time, it is determined as timeout (timeout means that a complete data packet or a correct data packet of the other party is not received within the specified time), and when timeout occurs, the BMS host control board or the national standard quick charging protocol model sends a specified error message, and the charging process is terminated. In the charging parameter configuration stage, the charging stage and the charging finishing stage, the BMS main control panel detects the charging voltage and the charging current of the national standard quick charging protocol model, judges whether faults of charging voltage overvoltage and charging current overcurrent exist or not, and if the faults exist, the charging process is terminated. If the charging process is normal, after the voltage of BMS main control board reached the full state of electricity, the BMS main control board can send the termination request of charging to national standard quick charge protocol model, and national standard quick charge protocol model can detect self state after receiving the request of BMS main control board, judges whether satisfy the end condition that charges, if satisfy the condition that charges, the end of charging. What has been described above is a charging process that requires verification, i.e., verification of a charging algorithm. When the BMS main control board executes the charging termination or the charging is finished according to the flow, the quick charging algorithm model of the BMS main control board meets the requirements of the national standard quick charging protocol; otherwise, the quick charging algorithm model of the BMS main control board does not meet the requirements of the national standard quick charging protocol.
And 4, step 4: and after the verification is finished, testing the abnormal condition existing in the rapid charging process.
The abnormal condition refers to an abnormal condition that the BMS main control board cannot be charged or the charging is terminated when the BMS main control board is not fully charged during the charging process. The abnormal conditions include an abnormal condition of the charging voltage overvoltage, an abnormal condition of the charging current overcurrent, and an abnormal condition of the timeout.
Under the abnormal condition, testing whether the BMS main control board has the charging flow termination in the charging process, if so, enabling the quick charging algorithm model of the BMS main control board to meet the requirements of the national standard quick charging protocol; otherwise, the quick charging algorithm model of the BMS main control board does not meet the requirements of the national standard quick charging protocol.
And 5: in the process of verifying the function of the quick charging algorithm, the CAN monitoring tool is used as an auxiliary verification tool to verify the charging process and locate the reason of the abnormal condition in the charging process (the implementation method is that other tools are used, such as an upper computer of dSPACE, a Peak CAN tool, a CANoe tool of Vector and the like, and even other tools are used for reporting error information in the charging process according to other tools to locate the problem).
And the CAN monitoring tool and other auxiliary testing tools of the dSPACE testing equipment judge the test result so as to judge whether the test result meets the expected purpose.
When BMS fast charging is required to be tested, the dSPACE testing equipment is used for testing the national standard fast charging algorithm function of the BMS in the embodiment, and the test verification of the fast charging function algorithm in the BMS is realized.
The scope of the present invention includes, but is not limited to, the above embodiments, and the present invention is defined by the appended claims, and any alterations, modifications, and improvements that may occur to those skilled in the art are all within the scope of the present invention.

Claims (7)

1. A BMS national standard quick-charging protocol testing method based on dSPACE is characterized in that: the method comprises the following steps:
step 1: building a national standard quick charging protocol model under a simulation environment based on the national standard quick charging protocol;
step 2: fusing, compiling and downloading a national standard rapid charging protocol model without errors into a real-time processor RTPC (real time processor) of the dSPACE testing equipment, and connecting the BMS main control board downloaded with the rapid charging algorithm model with the dSPACE testing equipment;
and step 3: verifying the quick charge algorithm function of a quick charge algorithm model in the BMS main control board according to a flow specified by a national standard quick charge protocol;
and 4, step 4: after the verification is completed, testing the abnormal condition existing in the rapid charging process;
and 5: in the process of verifying the function of the quick charging algorithm, the CAN monitoring tool is used as an auxiliary verification tool to verify the charging process and locate the reason of abnormal conditions in the charging process.
2. The dSPACE-based BMS national standard rapid charging protocol testing method according to claim 1, characterized in that: the step 1 is as follows:
and constructing a national standard quick charge protocol model under the Matlab/Simulink environment based on the national standard quick charge protocol.
3. The dSPACE-based BMS national standard rapid charging protocol testing method according to claim 1, characterized in that: the process specified by the Chinese standard rapid charging protocol in the step 3 comprises the following steps:
the method comprises the steps of physical connection completion, low-voltage auxiliary power-on, a charging handshake phase, a charging parameter configuration phase, a charging phase and a charging end phase.
4. The dSPACE-based BMS national standard rapid charging protocol testing method according to claim 3, characterized in that: the charging process needing to be verified in the step 3 comprises the following steps:
in the charging handshake stage, the charging parameter configuration stage, the charging stage and the charging end stage, if the national standard quick charging protocol model and the BMS main control board do not receive the message of the other party or the correct message within the specified time, the judgment is overtime, and when the overtime occurs, the BMS main control board or the national standard quick charging protocol model sends the specified error message, and the charging process is terminated;
in the charging parameter configuration stage, the charging stage and the charging finishing stage, the BMS main control panel detects the charging voltage and the charging current of the national standard quick charging protocol model, judges whether the faults of charging voltage overvoltage and charging current overcurrent exist or not, and if yes, the charging process is terminated;
if the charging process is normal, after the voltage of the BMS main control board reaches a full-charge state, the BMS main control board sends a charging termination request to the national standard quick charging protocol model, the national standard quick charging protocol model detects the self state after receiving the request of the BMS main control board, judges whether a charging termination condition is met, and if the charging termination condition is met, the charging is terminated;
when the BMS main control board is executed according to the flow, the quick charging algorithm model of the BMS main control board meets the requirements of the national standard quick charging protocol; otherwise, the quick charging algorithm model of the BMS main control board does not meet the requirements of the national standard quick charging protocol.
5. The dSPACE-based BMS national standard rapid charging protocol testing method according to claim 3, characterized in that: the abnormal condition in step 4 refers to an abnormal condition that the BMS host control board cannot charge or the charging is terminated when the BMS host control board is not fully charged.
6. The dSPACE-based BMS national standard rapid charging protocol testing method according to claim 3, characterized in that: the abnormal conditions include an abnormal condition of charging voltage overvoltage, an abnormal condition of charging current overcurrent, and an abnormal condition of timeout.
7. The dSPACE-based BMS national standard rapid charging protocol testing method according to claim 3, characterized in that: the testing of the abnormal condition existing in the rapid charging process comprises the following steps:
under the abnormal condition, testing whether the BMS main control board has the charging flow termination in the charging process, if so, enabling the quick charging algorithm model of the BMS main control board to meet the requirements of the national standard quick charging protocol; otherwise, the quick charging algorithm model of the BMS main control board does not meet the requirements of the national standard quick charging protocol.
CN202010649727.8A 2020-07-08 2020-07-08 BMS national standard quick-charging protocol testing method based on dSPACE Withdrawn CN111901191A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010649727.8A CN111901191A (en) 2020-07-08 2020-07-08 BMS national standard quick-charging protocol testing method based on dSPACE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010649727.8A CN111901191A (en) 2020-07-08 2020-07-08 BMS national standard quick-charging protocol testing method based on dSPACE

Publications (1)

Publication Number Publication Date
CN111901191A true CN111901191A (en) 2020-11-06

Family

ID=73191939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010649727.8A Withdrawn CN111901191A (en) 2020-07-08 2020-07-08 BMS national standard quick-charging protocol testing method based on dSPACE

Country Status (1)

Country Link
CN (1) CN111901191A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105676063A (en) * 2016-01-07 2016-06-15 山东海兴电力科技有限公司 Modeling and fault locating method for non-uniform line of power grid
CN106066643A (en) * 2016-06-16 2016-11-02 上海科梁信息工程股份有限公司 The test system and method for Bidirectional charging-discharging machine controller
CN108023790A (en) * 2017-12-06 2018-05-11 中汽研(天津)汽车工程研究院有限公司 A kind of off-board machine equipment and its application process of charging of new-energy automobile simulation
CN109142920A (en) * 2018-08-09 2019-01-04 香港生产力促进局 It is configurable to the battery simulation system and method for detection BMS function
CN109672588A (en) * 2018-12-20 2019-04-23 国网北京市电力公司 Charging method, storage medium and processor
CN111123891A (en) * 2019-12-24 2020-05-08 国联汽车动力电池研究院有限责任公司 BMS-based quick charging test method, system, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105676063A (en) * 2016-01-07 2016-06-15 山东海兴电力科技有限公司 Modeling and fault locating method for non-uniform line of power grid
CN106066643A (en) * 2016-06-16 2016-11-02 上海科梁信息工程股份有限公司 The test system and method for Bidirectional charging-discharging machine controller
CN108023790A (en) * 2017-12-06 2018-05-11 中汽研(天津)汽车工程研究院有限公司 A kind of off-board machine equipment and its application process of charging of new-energy automobile simulation
CN109142920A (en) * 2018-08-09 2019-01-04 香港生产力促进局 It is configurable to the battery simulation system and method for detection BMS function
CN109672588A (en) * 2018-12-20 2019-04-23 国网北京市电力公司 Charging method, storage medium and processor
CN111123891A (en) * 2019-12-24 2020-05-08 国联汽车动力电池研究院有限责任公司 BMS-based quick charging test method, system, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
于杰: "电池管理***仿真测试***研究与开发", 《中国优秀硕士学位论文全文数据库》 *

Similar Documents

Publication Publication Date Title
CN107807290B (en) Direct current charging pile detection system and detection method
CN105823957B (en) Electric automobile direct current interface connection state and communication performance test system that charges
CN110239391B (en) Charging method and charging pile system suitable for electric automobile
CN108646105B (en) BMS alternating current charging process simulation test equipment
CN106019002B (en) Verification test platform for battery management system and test method thereof
CN205246841U (en) Alternating -current charging stake testing arrangement with electric energy repayment function
CN105404568A (en) CAN bus test system and test method
CN105291875B (en) A kind of electric vehicle rapid charging method
CN111060829B (en) System and method for performing PACK detection on PACK battery PACK
CN108494808A (en) Charger communication protocol detection device
CN112532476A (en) BMS (battery management system) protocol simulation test system and test method for V2G electric vehicle
CN110824367A (en) Hardware-in-loop test system and method for new energy automobile battery management system
CN111884776A (en) Charging pile protocol consistency testing method
CN106814326B (en) Battery pack charging and discharging test system
CN112557712B (en) Parallel pulse current test system
CN109613348A (en) A kind of high-voltaghe compartment tooling automatic detection device
CN112186820A (en) Charger and charging method
CN102043105B (en) Full-function test device and test method of AC (alternating current) charging pile
CN208190681U (en) Charger communication protocol detection device
JP2022519956A (en) Battery test system
CN117744374A (en) ChaoJi charging simulation test system and method
CN101846728B (en) Incoming inspection device of power battery for hybrid electric vehicle and inspection method
CN103701656A (en) Testing method and system of broadband access unit
CN111901191A (en) BMS national standard quick-charging protocol testing method based on dSPACE
CN112946492B (en) Aging test method and system for battery pack without communication interface

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20201106