CN106330874B - A kind of method of quick exploitation BMS transport protocol - Google Patents
A kind of method of quick exploitation BMS transport protocol Download PDFInfo
- Publication number
- CN106330874B CN106330874B CN201610679849.5A CN201610679849A CN106330874B CN 106330874 B CN106330874 B CN 106330874B CN 201610679849 A CN201610679849 A CN 201610679849A CN 106330874 B CN106330874 B CN 106330874B
- Authority
- CN
- China
- Prior art keywords
- bms
- transport protocol
- transmission information
- function
- exploitation
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/26—Special purpose or proprietary protocols or architectures
Landscapes
- Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
Abstract
A kind of method that the present invention discloses quickly exploitation BMS transport protocol, step include: that S1 classifies to transmission information, and transmission information described in every class and transmission information parameter form transport protocol content;S2 transmits the corresponding coffret function of information development described in every class, and to all kinds of corresponding switching variables of coffret function setup;S3 is by the switching variable of the coffret function and transmission information parameter storage into the memory module of BMS;The BMS reads the switching variable and transmission information parameter from memory module, calls and runs the interface function of the corresponding coffret function of the switching variable, call according to the transmission information parameter and transmit corresponding transport protocol content.The present invention can not only be rapidly performed by the exploitation of BMS system transport protocol, shorten the development time of BMS project, and can also reduce and the probability of program error occur when developing again or changing project, provide a kind of method of stronger exploitation BMS transport protocol of reliability.
Description
Technical field
The present invention relates to the transmission methods of a kind of new-energy automobile and energy storage field, more particularly to a kind of quickly exploitation
The method of BMS transport protocol.
Background technique
In new energy field, new energy product is widely used in electric car.Electric car must configure cell tube
Reason system and host computer could be managed new energy product.In the prior art, the biography of host computer and battery management system
Defeated agreement must correspond, that is to say, that battery management system must be for the corresponding transmission association of each master system exploitation
View.Since the vehicle of different vendor's electric car is different, host computer and the transport protocol of battery management system are also different, even
Same manufacturer, there is also different vehicles, so this results in the transport protocol thousand poor ten thousand of host computer and battery management system
Not, this allows for each project and requires to spend many time on developing new transport protocol.Moreover, if it is right
When transport protocol changes, project engineer similarly needs to take time to remodify code, also in addition to take time to carry out
Debugging, and since the code spice of each engineer is inconsistent, when project is joined, Multiple Code style is also held
Easily there is the problems such as program error.It repeatedly modifies in this way or debugging routine, not only increases the workload of engineer, but also
The difficulty of protocol development is also increased, the reliability of development process is reduced.
Summary of the invention
The purpose of the present invention is overcoming shortcoming in the prior art, one kind quickly exploitation transport protocol, shortening are provided
The development time of BMS project, the method for increasing development process reliability.
The purpose of the present invention is achieved through the following technical solutions:
A kind of method of quick exploitation BMS transport protocol, step include:
S1 classifies to transmission information, and transmission information described in every class and transmission information parameter form transport protocol content;
S2 transmits the corresponding coffret function of information development described in every class, and the coffret function described in every class is set
Set corresponding switching variable;
Whether the interface that the switching variable is used to control corresponding coffret function enables;
S3 is by the switching variable of the coffret function and transmission information parameter storage into the memory module of BMS;
BMS described in S4 reads the switching variable and transmission information parameter from memory module, calls and runs described open
The interface function for closing the corresponding coffret function of variable is called according to the transmission information parameter and transmits corresponding transmission association
Discuss content.
Scheme as a further preference, the step S3 specifically:
The switching variable and transmission information parameter that the coffret function is configured by host computer, transmit and store institute
It states in the memory module of BMS.
Scheme as a further preference further includes that the coffret function that will be developed carries out validation test in step S2
Step.
Scheme as a further preference, the transport packet include information of voltage, current information and temperature information.
Scheme as a further preference, the transmission information parameter includes offset and resolution ratio.
Scheme as a further preference, the memory module of the BMS are EEPROM.
Specifically, if transmission information be voltage, that in BMS accordingly be equipped with voltage transmission information interface function and
Information of voltage switching variable, information of voltage switching variable control the operation of the interface function of voltage transmission information interface function, into
And control the unlatching or closing of information of voltage transmission.
Similarly, when the information of transmission be electric current or temperature when, in BMS accordingly be equipped with transmission information interface function and
Switching variable, switching variable control transmission information interface function interface function whether run, thus control current information or
Temperature information transmission is turned on or off.
Further, if transmission information be voltage, electric current and temperature in two of them or it is multiple when, BMS meeting
The corresponding corresponding transmission information interface function of switching variable operation is controlled, realizes the transmission of two or more information.
The present invention compared with the prior art the advantages of and have the beneficial effect that:
The present invention can realize transmission function by all kinds of BMS transport protocols of unitized overall development on BMS with corresponding host computer
Can, and open the transmission of corresponding protocol contents.The present invention can not only be rapidly performed by the exploitation of BMS system transport protocol, contracting
The development time of short BMS project, and can also reduce and the probability of program error occur when developing again or changing project, it mentions
A kind of method for having supplied stronger exploitation BMS transport protocol of reliability.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the method for quickly exploitation BMS transport protocol of the present invention.
Specific embodiment
To facilitate the understanding of the present invention, a more comprehensive description of the invention is given in the following sections with reference to the relevant attached drawings.In attached drawing
Give better embodiment of the invention.But the invention can be realized in many different forms, however it is not limited to herein
Described embodiment.On the contrary, the purpose of providing these embodiments is that making to understand more the disclosure
Add thorough and comprehensive.
It should be noted that it can directly on the other element when element is referred to as " being fixed on " another element
Or there may also be elements placed in the middle.When an element is considered as " connection " another element, it, which can be, is directly connected to
To another element or it may be simultaneously present centering elements.Term as used herein " vertical ", " horizontal ", " left side ",
" right side " and similar statement for illustrative purposes only, are not meant to be the only embodiment.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention
The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.Term " and or " used herein includes one or more
Any and all combinations of relevant listed item.
A kind of method of quick exploitation BMS transport protocol, step include:
S1 classifies to transmission information, and transmission information described in every class and transmission information parameter form transport protocol content;
S2 transmits the corresponding coffret function of information development described in every class, and the coffret function described in every class is set
Set corresponding switching variable;
Whether the interface that the switching variable is used to control corresponding coffret function enables;
S3 is by the switching variable of the coffret function and transmission information parameter storage into the memory module of BMS;
BMS described in S4 reads the switching variable and transmission information parameter from memory module, calls and runs described open
The interface function for closing the corresponding coffret function of variable is called according to the transmission information parameter and transmits corresponding transmission association
Discuss content.
The step S1 specifically: various transport protocol contents are for statistical analysis, classify to transmission information, often
Transmission information described in class and transmission information parameter form transport protocol content;
The step S3 specifically: the switching variable and transmission information ginseng of the coffret function are configured by host computer
It counts, in the memory module for transmitting and storing the BMS.
Wherein, further include the steps that the coffret function that will be developed carries out validation test in step S2.Because setting
It after good coffret function, needs to be packaged coffret function, so in order to ensure coffret function and transmission are believed
Cease it is with uniformity, improve accuracy, it is therefore necessary to be equipped with validation test process.
Transmission information parameter includes offset and resolution ratio in one of the embodiments, but is not limited to the two
Transmit information parameter.And the voltage data of BMS sampling, it needs really reflect true voltage by the conversion of resolution ratio
Value.
Wherein, transport packet includes information of voltage, current information and temperature information, but is not limited solely to this three.
Specifically, that is equipped with voltage transmission information interface function and information of voltage accordingly in BMS if the information of transmission is voltage
Whether the interface function of switching variable, information of voltage switching variable control voltage transmission information interface function runs, and then controls
The unlatching or closing of information of voltage transmission.
Similarly, when the information of transmission be electric current or temperature when, in BMS accordingly be equipped with transmission information interface function and
Switching variable, switching variable control transmission information interface function interface function whether run, thus control current information or
Temperature information transmission is turned on or off.
Further, if the information of transmission is either multiple for the two of them in voltage, electric current and temperature, BMS
The corresponding corresponding transmission information interface function of switching variable operation can be controlled, realizes the transmission of two or multiple information.
All kinds of BMS transport protocols of the upper unitized overall development of BMS can realize transfer function with corresponding host computer, and open phase
The transmission for the protocol contents answered.The present invention can not only be rapidly performed by the exploitation of BMS system transport protocol, shorten BMS project
Development time, and can also reduce and the probability of program error occur when developing again or changing project, providing one kind can
By the method for the stronger exploitation BMS transport protocol of property.
Only several embodiments of the present invention are expressed for embodiment described above, and the description thereof is more specific and detailed, but
It cannot be construed as a limitation to the scope of the present invention.It should be pointed out that for the ordinary skill people of this field
For member, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to of the invention
Protection scope.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (6)
1. a kind of method of quickly exploitation BMS transport protocol characterized by comprising
S1, classify to transmission information, transmission information described in every class and transmission information parameter form transport protocol content;
S2, the corresponding coffret function of information development, and the coffret function setup described in every class are transmitted described in every class
Corresponding switching variable;
Whether the interface that the switching variable is used to control corresponding coffret function enables;
S3, the switching variable of the coffret function and transmission information parameter are stored into the memory module of BMS;
S4, the BMS read the switching variable and transmission information parameter from memory module, call and run the switch change
The interface function for measuring corresponding coffret function is called according to the transmission information parameter and is transmitted in corresponding transport protocol
Hold.
2. the method for quick exploitation BMS transport protocol according to claim 1, which is characterized in that the step S3 is specific
Are as follows:
The switching variable and transmission information parameter that the coffret function is configured by host computer, transmit and store described
In the memory module of BMS.
3. the method for quick exploitation BMS transport protocol according to claim 1, which is characterized in that further include in step S2
The step of coffret function of exploitation is subjected to validation test.
4. the method for quick exploitation BMS transport protocol according to claim 1, which is characterized in that the transport packet
Include information of voltage, current information and temperature information.
5. the method for quick exploitation BMS transport protocol according to claim 1, which is characterized in that the transmission information ginseng
Number includes offset and resolution ratio.
6. the method for quick exploitation BMS transport protocol according to claim 1, which is characterized in that the storage mould of the BMS
Block is EEPROM.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610679849.5A CN106330874B (en) | 2016-08-17 | 2016-08-17 | A kind of method of quick exploitation BMS transport protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610679849.5A CN106330874B (en) | 2016-08-17 | 2016-08-17 | A kind of method of quick exploitation BMS transport protocol |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106330874A CN106330874A (en) | 2017-01-11 |
CN106330874B true CN106330874B (en) | 2019-08-30 |
Family
ID=57743079
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610679849.5A Active CN106330874B (en) | 2016-08-17 | 2016-08-17 | A kind of method of quick exploitation BMS transport protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106330874B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102999331A (en) * | 2012-11-13 | 2013-03-27 | 北京空间飞行器总体设计部 | Hardware blocking layer of onboard software and onboard data communication method |
EP2592684A1 (en) * | 2010-08-13 | 2013-05-15 | LG Chem, Ltd. | Secondary battery management apparatus |
CN104125086A (en) * | 2013-04-28 | 2014-10-29 | 深圳市同洲电子股份有限公司 | Network management multi-protocol adaption method, device and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200913433A (en) * | 2007-09-10 | 2009-03-16 | J Tek Inc | Scattered energy storage control system |
-
2016
- 2016-08-17 CN CN201610679849.5A patent/CN106330874B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2592684A1 (en) * | 2010-08-13 | 2013-05-15 | LG Chem, Ltd. | Secondary battery management apparatus |
CN102999331A (en) * | 2012-11-13 | 2013-03-27 | 北京空间飞行器总体设计部 | Hardware blocking layer of onboard software and onboard data communication method |
CN104125086A (en) * | 2013-04-28 | 2014-10-29 | 深圳市同洲电子股份有限公司 | Network management multi-protocol adaption method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN106330874A (en) | 2017-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110515366B (en) | Fault diagnosis method and device | |
WO2019174504A1 (en) | Method and device for establishing a logical channel, and vehicle communication interface (vci) | |
US20040112124A1 (en) | Method for carrying out a telediagnosis on a motor vehicle, vehicle diagnosis module and service center | |
CN107608337A (en) | Automobile remote diagnostic method and apparatus, mobile terminal, electronic equipment and server | |
CN110750790B (en) | CAN bus vulnerability detection method and device, terminal equipment and medium | |
WO2021203604A1 (en) | Update test method and apparatus for vehicle component, and computer device and storage medium | |
CN107423492B (en) | Forklift diagnosis test method and system based on template | |
CN108227674A (en) | For the method and system of diagnosis or the configuration of vehicle | |
ITTV20090177A1 (en) | PROGRAMMABLE VEHICULAR DIAGNOSIS SYSTEM | |
CN111786862A (en) | Control system and control method thereof and all-terrain vehicle | |
CN109041140A (en) | It is switched fast wireless network methods, Intelligent hardware and terminal device | |
CN213715751U (en) | Domain controller | |
CN113347273B (en) | Vehicle-mounted Ethernet data conversion method, device, equipment and medium | |
US20140180539A1 (en) | Virtual sensor network system and method for convergence of heterogeneous sensors | |
CN106096400B (en) | A kind of parallel LSM framework implementation method of linux kernel | |
CN109240964B (en) | Diagnostic equipment communication method, diagnostic terminal and diagnostic box | |
CN104683126B (en) | Network management based on CAN | |
KR20200075626A (en) | Wireless update system and method capable of ecu update of vehicle | |
CN110493294A (en) | Update method, system, readable storage medium storing program for executing and the terminal of vehicle electronic circuit module | |
CN106330874B (en) | A kind of method of quick exploitation BMS transport protocol | |
WO2019232677A1 (en) | Permission management method, system, mobile terminal, shared charging device, and server | |
CN104637110A (en) | Communication system used for vehicle and information station | |
CN109450954A (en) | Auto communication interface equipment and its authentication method | |
WO2023082184A1 (en) | Serial port switching apparatus and method, and device, storage medium, system and vehicle | |
CN114488997B (en) | ECU (electronic control Unit) refreshing method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |