CN116208438A - Upper computer interaction method of power battery system and single voltage and/or temperature display method - Google Patents

Upper computer interaction method of power battery system and single voltage and/or temperature display method Download PDF

Info

Publication number
CN116208438A
CN116208438A CN202211721128.8A CN202211721128A CN116208438A CN 116208438 A CN116208438 A CN 116208438A CN 202211721128 A CN202211721128 A CN 202211721128A CN 116208438 A CN116208438 A CN 116208438A
Authority
CN
China
Prior art keywords
upper computer
bms
battery
data
response message
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
Application number
CN202211721128.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.)
Guangzhou Juwan Technology Research Co ltd
Original Assignee
Guangzhou Juwan Technology Research 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 Guangzhou Juwan Technology Research Co ltd filed Critical Guangzhou Juwan Technology Research Co ltd
Priority to CN202211721128.8A priority Critical patent/CN116208438A/en
Publication of CN116208438A publication Critical patent/CN116208438A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/425Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/425Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
    • H01M2010/4271Battery management systems including electronic circuits, e.g. control of current or voltage to keep battery in healthy state, cell balancing
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/425Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
    • H01M2010/4278Systems for data transfer from batteries, e.g. transfer of battery parameters to a controller, data transferred between battery controller and main controller
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a power battery system upper computer interaction method and a battery cell voltage and/or temperature display method, wherein the power battery system upper computer interaction method comprises the following steps: based on the CAN communication protocol, the communication protocol is defined by self: the upper computer supports the whole vehicle CAN and the internal CAN of the battery system, and all messages adopt an event-triggered sending mode; the data identifier is defined according to the CAN 2.0B extended frame format in ISO 11898, and the most significant bit is allocated from 0x 15; wherein the Message includes a device data request, a BMS data response, a device control request, and a BMS control response; the interaction between the upper computer and the battery management system comprises data interaction and control interaction. The method takes CAN communication as a carrier, and CAN realize the software platformization of the upper computer by self-defining a communication protocol, has strong universality for different projects, and the data interaction and control interaction flow is simple and convenient.

Description

Upper computer interaction method of power battery system and single voltage and/or temperature display method
Technical Field
The invention relates to the technical field of power battery systems, in particular to an upper computer interaction method of a power battery system and a battery cell voltage and/or temperature display method.
Background
In 2021, the domestic new energy automobile market rapidly develops, the new energy automobile in China is sold for more than 350 ten thousand, the permeability is improved to about 15%, and the after-sales team matched with each manufacturer is actively deployed along with the increasing of the storage quantity of the new energy automobile. The power battery system is taken as one of the most important core parts of the new energy vehicle, after-sales repair and maintenance work is very important, and a general whole vehicle factory can acquire and diagnose basic information of the power battery by using an after-sales diagnostic instrument tool facing the vehicle, but core parameters are displayed less; and the upper computer software of the Battery Management System (BMS) is communicated with the BMS to check various parameters, faults, service life states and other core parameters of the power battery system, thereby being beneficial to realizing the aim and the aim of after-sale service of the battery system and efficiently serving vehicles and users.
The existing upper computer interaction flow of the lithium ion power battery system is developed based on Unified Diagnostic Services protocol or based on a customized whole vehicle CAN communication matrix, wherein the former needs to define a Data Identifier (Data Identifier) and a diagnosis fault code (Diagnostic Trouble Code), the latter needs to define a message Identifier (Message Identifier), the Data Identifier needs to define byte length, and the message needs to define the length and position of a specific Signal (Signal). For the same parameter (such as total internal pressure of a power battery system), the definitions of new energy automobiles with different models are different, and as a developer of a battery management system (Battery Management System), the new energy automobiles are required to be customized and developed according to UDS parameter tables or CAN communication matrixes of different clients (whole automobile factories or power battery factories), so that the new energy automobiles are difficult to popularize in a platform mode, and the time cost for development and maintenance is high.
In addition, the existing BMS upper computer has two schemes for displaying the voltage and the temperature of the battery cells, and scheme 1 often adopts a grouping mode with a fixed number, for example, for a battery system consisting of 160 strings of batteries and 30 battery temperatures NTC, 20 cell voltages are fixedly divided into one group, 8 groups are displayed on one page, and NTC serial numbers 1 to 30 are arranged. Scheme 2 is categorized by cell sampling units, e.g., 4 sampling units are grouped into 4 groups, each collecting 40 strings of cell voltages and 8 cell temperatures, and the display is also displayed in this grouping. However, for different vehicle type projects or different battery system structures, the scheme 1 is simple and rough in grouping mode, is irrelevant to the actual battery information sampling layout, and has no actual maintenance instruction significance; although the scheme 2 is divided into groups according to sampling units, the sampling units are difficult to position to the target battery cells through a large number of wire harnesses in after-sale maintenance, and time and labor are wasted.
Disclosure of Invention
In order to solve the defects in the prior art, the invention provides a power battery system upper computer interaction method and a battery cell voltage and/or temperature display method, wherein the power battery system upper computer interaction method uses CAN communication as a carrier, a communication protocol is defined by a developer, so that upper computer software platformization CAN be realized, and when the power battery system upper computer interaction method is oriented to different whole factories or power battery factories, only individual parameters CAN be configured for use without redevelopment; according to the method for displaying the single battery voltage and the temperature, the upper computer and the battery management system are used for interaction, the number of current battery system modules, the number of battery single units and the number of temperature probes of each module are automatically identified, single battery information is dynamically displayed, and when after-sales maintenance is carried out, a target cell is positioned through the modules, so that the method is visual and convenient, and the working efficiency is greatly improved.
The first object of the invention is to provide a power battery system host computer interaction method.
A second object of the present invention is to provide a method for displaying the voltage and temperature of a single body.
The first object of the present invention can be achieved by adopting the following technical scheme:
an interaction method of a host computer of a power battery system, the method comprising:
based on the CAN communication protocol, the communication protocol is defined by self: the upper computer supports the whole vehicle CAN and the internal CAN of the battery system, and all messages adopt an event-triggered sending mode; the data identifier is defined according to the CAN 2.0B extended frame format in ISO 11898, and the most significant bit is allocated from 0x 15; the Message comprises a device data request Message, a BMS data response Message, a device control request Message and a BMS control response Message;
the interaction between the upper computer and the battery management system comprises data interaction and control interaction.
Furthermore, the data interaction comprises a handshake phase and a communication phase, and the communication phase can be entered after the handshake in the handshake phase is successful; control interaction is allowed only when the communication phase is entered.
Further, the handshake phase includes:
after clicking the interface 'connection' of the upper computer, the upper computer sends a device data request message according to a specific period T1, wherein the device data request message comprises a handshake phase state; wherein, T1 is a set value, and the upper computer sends a device data request message and a device control request message in T1;
after receiving the equipment data request message, the battery management system replies a BMS data response message with a specific period T1 within a fixed time T2, wherein the BMS data response message comprises a software version number; wherein T2 is a set value, and t2=it 1, i is a positive integer greater than 1;
in the fixed time T2, if the upper computer does not receive the BMS data response message, displaying that the connection fails and requesting to detect the communication equipment and the BMS; otherwise: if the upper computer receives the BMS data response message containing the software version number, the upper computer stops sending the equipment data request message, and displays the connection success and the software version number on an upper computer interface, so that the handshake between the upper computer and the battery management system is successful.
Further, the communication stage includes:
the upper computer sends a device data request message according to a specific period T1, wherein the device data request message comprises a communication stage state; wherein, T1 is a set value, and the upper computer sends a device data request message and a device control request message in T1;
after receiving the device data request message, the battery management system replies a BMS data response message with a specific period T1 within a fixed time T3, wherein the BMS data response message at least comprises a BMS data response message I, and the BMS data response message I comprises a software version number; t3 is a set value, and t3=jt1, j is a positive integer greater than 1;
and in the fixed time T3, if the upper computer does not receive the BMS data response message I, displaying data transmission interruption on an upper computer interface, checking equipment communication and BMS, otherwise, analyzing and displaying the received BMS data response message.
Further, the control interaction comprises control of current function parameter display and command parameter writing, executing and displaying.
Further, the controlling the current function parameter display includes:
when clicking a BMS control page of an upper computer, the upper computer continuously transmits an equipment control request message according to a specific period T1, wherein the equipment control request message comprises a data display request signal, and a communication protocol defines the signal value as 0xFF so as to distinguish the signal value from a signal default value; wherein, T1 is a set value, and the upper computer sends a device data request message and a device control request message in T1;
after receiving the equipment control request message, the battery management system continuously transmits a BMS control response message according to a specific period T1, and the communication protocol correspondingly defines a data display request signal as 0xFF so that an upper computer can carry out a prompt of successful connection on an interface and display current parameters; wherein, the BMS control response message contains a data display response signal.
Further, the control command parameter writing, executing and displaying includes:
when parameters are written in the Function A parameter writing frame, the upper computer continuously sends a Function A writing validity signal A_FunctionValid and a parameter value signal A_Function according to a specific period T1; the A_function signal value is obtained by converting parameters input by a user according to a communication protocol; wherein, T1 is a set value, and the upper computer sends a device data request message and a device control request message in T1;
after receiving the signal, the battery management system continuously transmits a Function A write response state signal reply_A_function_St=0x1 and a Function A response parameter value signal A_function according to a specific period T1;
and the upper computer analyzes and displays the signals according to the communication protocol according to the signals fed back by the battery management system.
The second object of the invention can be achieved by adopting the following technical scheme:
the display method of the battery cell voltage and/or the temperature is realized based on the above-mentioned power battery system upper computer interaction method, and the method comprises the following steps:
the BMS data response message comprises at least one of a BMS data response message Wen Er and a BMS data response message III, and further comprises a BMS data response message IV; wherein, the BMS data response message Wen Erbao includes single voltage information, and the BMS data response message Wen Sanbao includes temperature probe information;
the BMS data response message IV at least defines a group of signals in the number of battery module single cells and the number of battery module temperature probes, and comprises the number of battery modules in the corresponding group and the signal value of the battery module where the battery module is located;
and displaying the single voltage information of the BMS data response message II and/or the single temperature information of the BMS data response message III based on the number of the battery modules and the signal value of the battery module.
Further, the battery cell voltage and/or temperature is displayed in the form of a table, including:
determining the number of each group of tables according to the number of battery modules in the battery system, wherein the number of rows of each table is determined by a signal value of the battery module where the table is positioned, and the signal value is confirmed by a battery management system according to the arrangement of a battery sampling schematic diagram of a battery system project or a vehicle model project; the column number of each table is a set value; sequentially filling the single voltage information and the temperature probe information into corresponding tables according to serial numbers; wherein the column and row information of the table can be interchanged.
Further, analyzing the signals of the number of the single battery module cores of all the battery modules in the battery system by the upper computer to obtain the number of the battery modules in the number of the single battery module cores; and analyzing the quantity signals of all the battery module temperature probes in the battery system through the upper computer to obtain the number of the battery modules in the quantity of the battery module temperature probes.
Compared with the prior art, the invention has the following beneficial effects:
1. according to the interaction method of the upper computer of the power battery system, based on the CAN 2.0B communication protocol, the BMS developer defines the communication matrix by itself, so that the upper computer software is implemented, the universality for different projects is high, the data interaction and control interaction flow is simple and convenient, and the upper computer software and the lower computer software are stable and reliable.
2. The display method of the single voltage and the temperature provided by the invention is in one-to-one correspondence with the physical positions of the module cell and the temperature from the structure of the battery system, shortens the time and the energy of after-sales personnel of the battery system in maintenance practice, improves the service efficiency and saves the labor cost.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the structures shown in these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an interaction message definition between a host computer and a battery management system according to embodiment 1 of the present invention.
Fig. 2 is a flowchart of data interaction between the host computer and the battery management system according to embodiment 1 of the present invention.
Fig. 3 shows the specific meanings of BMS data response messages one to four in embodiment 1 of the present invention.
Fig. 4 is a flow chart of control interaction between the host computer and the battery management system in embodiment 1 of the present invention.
FIG. 5 is a diagram showing an exemplary voltage display of a module cell according to embodiment 1 of the present invention.
Fig. 6 is a diagram showing an example of module temperature information in embodiment 1 of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments, and all other embodiments obtained by those skilled in the art without making any inventive effort based on the embodiments of the present invention are within the scope of protection of the present invention. It should be understood that the description of the specific embodiments is intended for purposes of illustration only and is not intended to limit the scope of the present application.
Example 1:
as shown in fig. 1, the embodiment provides a method for interaction between an upper computer and a power battery system, which specifically includes:
first, the root of the interaction between the upper computer and the battery management system BMS is the communication protocol, and the communication protocol is defined by BMS developers. In consideration of use convenience, the upper computer needs to support the whole CAN and the internal CAN of the battery system. To reduce the impact of load rate on the overall vehicle power CAN (Vehicle Electronic Power System CAN) communication quality, all messages are sent in an event-triggered manner. The data Identifier (ID) is defined according to the CAN 2.0B extended frame format in ISO 11898, and the highest bit is distributed from 0x15, so that message conflict with other network nodes of the whole vehicle CAN CAN be avoided. Message is divided into four categories: (1) device (upper computer) data request, (2) BMS data response, (3) device control request, (4) BMS control response. Considering that the battery system data information is more, the number of data messages is defined as 4. The definition of the communication protocol is shown in table 1 and fig. 1.
Table 1 definition of the messages interacted between the upper computer and BMS
ID(hex) Message Frame type Transmission method
15000001 Device_Data_Request Extended frame Event type
15000002 BMS_Control_Reply Extended frame Event type
15000003 Device_Control_Request Extended frame Event type
15000004 BMS_Data_Reply1 Extended frame Event type
15000005 BMS_Data_Reply2 Extended frame Event type
15000006 BMS_Data_Reply3 Extended frame Event type
15000007 BMS_Data_Reply4 Extended frame Event type
Next, an interaction flow is defined.
The upper computer and BMS interaction flow is divided into a data interaction flow and a control interaction flow, wherein:
(1) And (5) a data interaction flow.
As shown in fig. 2, the data interaction flow is further divided into a handshake phase and a communication phase.
(1-1) handshake phase.
After the user clicks the "connect" interface of the upper computer, the upper computer sends a device Data request message according to a specific period T1, the message needs to include a handshake phase state Signal, and after the BMS receives the message, the BMS replies a BMS Data response message one (bms_data_reply1) with the fixed period T1 within a fixed time T2, where the message needs to include a software version number Signal. When the upper computer does not receive the BMS data response message I within the fixed time T2, displaying that the connection fails and requesting to detect the communication equipment and the BMS; otherwise, if the upper computer receives the BMS data response message I containing the software version number in the T2 time, the equipment data request message is stopped, the connection success and the software version number are displayed on the upper computer interface, the upper computer and the BMS handshake succeed, and the communication stage is entered.
(1-2) a communication stage.
In the communication stage, the upper computer sends a device Data request message according to T1, the message needs to contain a communication stage state Signal, after the BMS receives the message, the BMS Data response message I (BMS_Data_Reply 1), the BMS Data response message Wen Er (BMS_Data_Reply 2), the BMS Data response message Wen San (BMS_Data_Reply 3) and the BMS Data response message IV (BMS_Data_Reply 4) are replied in a fixed period T1 within a fixed time T3, and the upper computer analyzes and displays the message; if the BMS data response message one is not received within the fixed time T3, displaying "data transmission interrupt, please check the device communication and BMS".
The number of the BMS data response messages is determined according to the content. In this embodiment, the BMS data response messages include four messages: BMS_Data_Reply1BMS_Data_Reply2, BMS_Data_Reply3, and BMS_Data_Reply4; the specific meaning of the BMS data response messages one to four is shown in fig. 3. Because each message is sent in a paging mode, if the content is too much, the actual period is longer, and the timeliness is lost, so that the current data content is comprehensively considered, and four messages are properly selected.
(2) And controlling the interaction flow.
Entering a communication stage to allow control instruction interaction. As shown in FIG. 4, the control instruction interaction is divided into two links, namely display of current parameters of the control function and writing, execution and display of parameters of the control command.
(2-1) first, the control function current parameter is displayed.
When the user clicks the upper computer BMS control page, the upper computer continuously sends a device control Request message (ID 0x 15000003) according to a fixed period T1, and it should be noted that the message needs to include a data display Request signal datadisplay_request, and the communication protocol may define the signal value as 0xFF so as to distinguish from the signal default value. After the BMS receives the message, continuously sending a BMS Control response message according to the same fixed period T1, wherein the message comprises a data display response signal BMS_control_reply, and the communication protocol can define the signal value as 0xFF corresponding to a data display request signal sent by the upper computer so that the upper computer can carry out a prompt of successful connection on an interface and display the current parameters.
(2-2) next, control command parameters are written, executed, and displayed.
When a user writes parameters in the Function A parameter writing frame, the upper computer continuously sends a Function A writing validity signal A_FunctionValid=0x1 (Valid) and a Function A writing parameter value signal A_Function (the signal value is the parameter input by the user and converted according to a communication protocol) according to a T1 period; after the BMS receives the signal, the write response state signal reply_A_function_St=0x1 (configured successfully) of the Function A and the response parameter value signal A_function are continuously sent according to the period T1, and the upper computer analyzes and displays the signal according to a communication protocol according to the signal fed back by the BMS.
The embodiment also provides a method for identifying the number of the battery system modules and displaying the battery monomer information in a grouping manner, which specifically comprises the following steps:
firstly, drawing module single battery cells and temperature tables, and confirming the number of the tables and the number of rows of each table. The communication protocol bms_data_reply2 message may define two sets of signals, the 1 st set is the number of module unit cells, the number of module unit cells is sequentially arranged to the number of module unit cells 20, the 2 nd set is the number of module temperature probes, the number of module unit temperature probes is sequentially arranged to the number of module unit temperature probes 20, and the two sets of signal values are confirmed by the BMS according to the battery sampling schematic diagram arrangement of the battery system item or the vehicle model item.
If the N number of the upper computer identifies N number of the battery system of item a according to the 20 number of the single battery cells, if the N number of the upper computer is not 0 and the n+1 number of the battery system of item a is 0, the N number of the battery system of item a is N.
In this embodiment, N is 8. Each of the first 6 modules contains 20 strings of battery cells and 2 temperature probes, and each of the second two modules contains 32 strings of battery cells and 3 temperature probes. Thus, the number of single cells of the module 1, the number of single cells of the module 2, the number of single cells of the module 3, the number of single cells of the module 4, the number of single cells of the module 5, the number of single cells of the module 6 and the like 6 signal values should be 20, and the number of temperature probes of the module 1, the number of temperature probes of the module 2, the number of temperature probes of the module 3, the number of temperature probes of the module 4, the number of temperature probes of the module 5, the number of temperature probes of the module 6 and the like 6 signal values should be 2; the signal values of the number of the single battery cores of the module 7 and the number of the single battery cores of the module 8 are 32, and the signal values of the number of the temperature probes of the module 7 and the number of the temperature probes of the module 8 are 3; the signal values of the number of the single battery cores of the modules 9-20, the number of the temperature probes of the modules 9-20 and the like are 0.
The upper computer analyzes the number signals of the single cores of 20 modules, and can draw the single voltage display page into 8 tables:
module 1 cell voltage … … module 8 cell voltage: (1) each table comprises 2 columns, wherein the 1 st column is the serial number of the single battery cell in the whole battery system, and the 2 nd column is the voltage of the single battery cell; (2) the first 6 tables contain 21 rows, with row 1 representing the header and row 20 representing a single cell; (3) the 7 th and 8 th tables contain 33 rows, with row 1 representing the header and row 32 each representing a single cell. An example of a module cell voltage display is shown in fig. 5.
Similarly, the upper computer analyzes the number signals of the temperature probes of 20 modules, and can draw 8 tables:
the temperature probe of the module 1 and the temperature probe of the module … … and the temperature probe of the module 8 are respectively: (4) each table comprises 2 columns, wherein the 1 st column is the serial number of the temperature probe in the whole battery system, and the 2 nd column is the temperature value; (5) the first 6 tables contain 3 rows and the 7 th and 8 th tables contain 4 rows. An example of a display of the module temperature information is shown in fig. 6.
Secondly, the communication protocol bms_datareply 3 message can define all the cell voltage value signals and the module temperature probe value signals, such as 400 signals reserved for cell voltage: voltCell001 to VoltCell400, the modular temperature probe reserves 200 signals: tempcell001 to Tempcell200. And the upper computer receives the monomer voltage value signal and the module temperature probe value signal sent by the BMS and sequentially fills the voltage and the temperature into the drawn module monomer voltage and module temperature probe table.
Those skilled in the art will appreciate that all or part of the steps in a method implementing the above embodiments may be implemented by a program to instruct related hardware, and the corresponding program may be stored in a computer readable storage medium.
It should be noted that although the method operations of the above embodiments are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in that particular order or that all illustrated operations be performed in order to achieve desirable results. Rather, the depicted steps may change the order of execution. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform.
In summary, the method for interaction between the upper computer of the power battery system provided by the invention comprises the following steps: based on the CAN communication protocol, the BMS developer defines the communication protocol by himself: the upper computer supports the whole vehicle CAN and the internal CAN of the battery system, and all messages adopt an event-triggered sending mode; the data identifier is defined according to the CAN 2.0B extended frame format in ISO 11898, and the most significant bit is allocated from 0x 15; wherein the Message includes a device data request, a BMS data response, a device control request, and a BMS control response; the interaction between the upper computer and the battery management system comprises data interaction and control interaction. The method takes CAN communication as a carrier, and CAN realize the software platformization of the upper computer by self definition of a communication protocol by a developer, has strong universality for different projects, and the data interaction and control interaction flow is simple and convenient. The single voltage and temperature display method starts from the battery system structure and corresponds to the physical positions of the module cells and the temperature one by one, so that the time and energy of after-sales personnel of the battery system in maintenance practice are shortened, the service efficiency is improved, and the labor cost is saved.
The above-mentioned embodiments are only preferred embodiments of the present invention, but the protection scope of the present invention is not limited thereto, and any person skilled in the art can make equivalent substitutions or modifications according to the technical solution and the inventive concept of the present invention within the scope of the present invention disclosed in the present invention patent, and all those skilled in the art belong to the protection scope of the present invention.

Claims (10)

1. The upper computer interaction method of the power battery system is characterized by comprising the following steps of:
based on the CAN communication protocol, the communication protocol is defined by self: the upper computer supports the whole vehicle CAN and the internal CAN of the battery system, and all messages adopt an event-triggered sending mode; the data identifier is defined according to the CAN 2.0B extended frame format in ISO 11898, and the most significant bit is allocated from 0x 15; the Message comprises a device data request Message, a BMS data response Message, a device control request Message and a BMS control response Message;
the interaction between the upper computer and the battery management system comprises data interaction and control interaction.
2. The method for interaction between a host computer and a power battery system according to claim 1, wherein the data interaction includes a handshake phase and a communication phase, and the communication phase can be entered after the handshake in the handshake phase is successful; control interaction is allowed only when the communication phase is entered.
3. The method of claim 2, wherein the handshaking phase comprises:
after clicking the interface 'connection' of the upper computer, the upper computer sends a device data request message according to a specific period T1, wherein the device data request message comprises a handshake phase state; wherein, T1 is a set value, and the upper computer sends a device data request message and a device control request message in T1;
after receiving the equipment data request message, the battery management system replies a BMS data response message with a specific period T1 within a fixed time T2, wherein the BMS data response message comprises a software version number; wherein T2 is a set value, and t2=it 1, i is a positive integer greater than 1;
in the fixed time T2, if the upper computer does not receive the BMS data response message, displaying that the connection fails and requesting to detect the communication equipment and the BMS; otherwise: if the upper computer receives the BMS data response message containing the software version number, the upper computer stops sending the equipment data request message, and displays the connection success and the software version number on an upper computer interface, so that the handshake between the upper computer and the battery management system is successful.
4. The method of claim 2, wherein the communication phase comprises:
the upper computer sends a device data request message according to a specific period T1, wherein the device data request message comprises a communication stage state; wherein, T1 is a set value, and the upper computer sends a device data request message and a device control request message in T1;
after receiving the device data request message, the battery management system replies a BMS data response message with a specific period T1 within a fixed time T3, wherein the BMS data response message at least comprises a BMS data response message I, and the BMS data response message I comprises a software version number; t3 is a set value, and t3=jt1, j is a positive integer greater than 1;
and in the fixed time T3, if the upper computer does not receive the BMS data response message I, displaying data transmission interruption on an upper computer interface, checking equipment communication and BMS, otherwise, analyzing and displaying the received BMS data response message.
5. The method of claim 1, wherein the controlling the interaction includes controlling a current function parameter display and a command parameter write, execute, and display.
6. The method for interaction between a host computer and a power battery system according to claim 5, wherein the controlling the current function parameter display comprises:
when clicking a BMS control page of an upper computer, the upper computer continuously transmits an equipment control request message according to a specific period T1, wherein the equipment control request message comprises a data display request signal, and a communication protocol defines the signal value as 0xFF so as to distinguish the signal value from a signal default value; wherein, T1 is a set value, and the upper computer sends a device data request message and a device control request message in T1;
after receiving the equipment control request message, the battery management system continuously transmits a BMS control response message according to a specific period T1, and the communication protocol correspondingly defines a data display request signal as 0xFF so that an upper computer can carry out a prompt of successful connection on an interface and display current parameters; wherein, the BMS control response message contains a data display response signal.
7. The method of claim 5, wherein controlling the writing, executing and displaying of command parameters comprises:
when parameters are written in the Function A parameter writing frame, the upper computer continuously sends a Function A writing validity signal A_FunctionValid and a parameter value signal A_Function according to a specific period T1; the A_function signal value is obtained by converting parameters input by a user according to a communication protocol; wherein, T1 is a set value, and the upper computer sends a device data request message and a device control request message in T1;
after receiving the signal, the battery management system continuously transmits a Function A write response state signal reply_A_function_St=0x1 and a Function A response parameter value signal A_function according to a specific period T1;
and the upper computer analyzes and displays the signals according to the communication protocol according to the signals fed back by the battery management system.
8. A method for displaying voltage and/or temperature of a battery cell, based on the method for interaction between the host computers of the power battery system according to any one of claims 1 to 7, characterized in that the method comprises:
the BMS data response message comprises at least one of a BMS data response message Wen Er and a BMS data response message III, and further comprises a BMS data response message IV; wherein, the BMS data response message Wen Erbao includes single voltage information, and the BMS data response message Wen Sanbao includes temperature probe information;
the BMS data response message IV at least defines a group of signals in the number of battery module single cells and the number of battery module temperature probes, and comprises the number of battery modules in the corresponding group and the signal value of the battery module where the battery module is located;
and displaying the single voltage information of the BMS data response message II and/or the single temperature information of the BMS data response message III based on the number of the battery modules and the signal value of the battery module.
9. The display method according to claim 8, wherein displaying the cell voltage and/or the temperature in the form of a table includes:
determining the number of each group of tables according to the number of battery modules in the battery system, wherein the number of rows of each table is determined by a signal value of the battery module where the table is positioned, and the signal value is confirmed by a battery management system according to the arrangement of a battery sampling schematic diagram of a battery system project or a vehicle model project; the column number of each table is a set value; sequentially filling the single voltage information and the temperature probe information into corresponding tables according to serial numbers; wherein the column and row information of the table can be interchanged.
10. The display method according to claim 8, wherein the number of battery modules in the number of battery module single cells is obtained by analyzing the number signals of all battery module single cells in the battery system by the upper computer; and analyzing the quantity signals of all the battery module temperature probes in the battery system through the upper computer to obtain the number of the battery modules in the quantity of the battery module temperature probes.
CN202211721128.8A 2022-12-30 2022-12-30 Upper computer interaction method of power battery system and single voltage and/or temperature display method Pending CN116208438A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211721128.8A CN116208438A (en) 2022-12-30 2022-12-30 Upper computer interaction method of power battery system and single voltage and/or temperature display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211721128.8A CN116208438A (en) 2022-12-30 2022-12-30 Upper computer interaction method of power battery system and single voltage and/or temperature display method

Publications (1)

Publication Number Publication Date
CN116208438A true CN116208438A (en) 2023-06-02

Family

ID=86512138

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211721128.8A Pending CN116208438A (en) 2022-12-30 2022-12-30 Upper computer interaction method of power battery system and single voltage and/or temperature display method

Country Status (1)

Country Link
CN (1) CN116208438A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117041388A (en) * 2023-08-10 2023-11-10 湖南银杏电池智能管理技术有限公司 Data transmission method suitable for BMS (battery management system) products

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117041388A (en) * 2023-08-10 2023-11-10 湖南银杏电池智能管理技术有限公司 Data transmission method suitable for BMS (battery management system) products
CN117041388B (en) * 2023-08-10 2024-05-17 湖南银杏电池智能管理技术有限公司 Data transmission method suitable for BMS (battery management system) products

Similar Documents

Publication Publication Date Title
CN109039824B (en) Automatic test system and method for wireless remote communication protocol of vehicle-mounted terminal
CN109213132B (en) Method, device and equipment for generating UDS (Universal description System) diagnosis interface software
CN110443573A (en) Examination & approval management platform and its measures and procedures for the examination and approval, workflow generation method
CN107370637B (en) Vehicle-mounted ECU communication function automatic test system and method
CN116208438A (en) Upper computer interaction method of power battery system and single voltage and/or temperature display method
CN212846495U (en) Test system for rail train control logic
CN113092130A (en) Method for simulating conformance test of electric automobile and vehicle-mounted terminal
CN115549782A (en) Information query method of optical module and related assembly thereof
CN116295587A (en) Sensor simulation semi-automatic test system and method
CN115933591A (en) Controller diagnosis method, device, equipment and storage medium
CN112346996B (en) Autonomous arrangement testing method for reliability of load identification module
CN113965447B (en) Online cloud diagnosis method, device, system, equipment and storage medium
CN114417598A (en) Digital twin power grid componentization mapping method and device and electronic equipment
CN113703366A (en) Fuel cell visual control system and method
Xu et al. Design of vehicle gateway automatic test system based on CANoe
CN115473837B (en) Communication test tool capable of configuring protocol and communication test method based on communication test tool
CN116841243B (en) Intelligent PLC protocol format deducing method, fuzzy test method and device
CN110083523A (en) Interface test method, device, computer installation and readable storage medium storing program for executing
CN102722592A (en) Universal digital information recording device and method
CN111786842A (en) Data processing method and hardware-in-the-loop test system
CN111209161B (en) Method and system for automatically generating configuration file based on interface monitoring
CN213069582U (en) Intelligent fault diagnosis system and intelligent control box
CN108009094A (en) A kind of computer software testing system
CN116880323A (en) Portable vehicle diagnostic instrument and vehicle diagnostic system and method
CN116466682A (en) Diagnosis fault design and data coupling system based on ADAS product integrated architecture

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