CN112362983A - Battery management system diagnosis method, upper computer and system - Google Patents

Battery management system diagnosis method, upper computer and system Download PDF

Info

Publication number
CN112362983A
CN112362983A CN202011077684.7A CN202011077684A CN112362983A CN 112362983 A CN112362983 A CN 112362983A CN 202011077684 A CN202011077684 A CN 202011077684A CN 112362983 A CN112362983 A CN 112362983A
Authority
CN
China
Prior art keywords
fault
controlling
terminal module
target
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
CN202011077684.7A
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.)
Dongfeng Times Wuhan Battery System Co ltd
Original Assignee
Dongfeng Times Wuhan Battery System 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 Dongfeng Times Wuhan Battery System Co ltd filed Critical Dongfeng Times Wuhan Battery System Co ltd
Priority to CN202011077684.7A priority Critical patent/CN112362983A/en
Publication of CN112362983A publication Critical patent/CN112362983A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/005Testing of electric installations on transport means
    • G01R31/006Testing of electric installations on transport means on road vehicles, e.g. automobiles or trucks
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Combustion & Propulsion (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a battery management system diagnosis method, an upper computer and a system, relating to the technical field of automobile diagnosis, wherein the method comprises the following steps: controlling the CAN equipment to send the diagnosis request to the BMS terminal module; the CAN equipment is a CAN box embedded with an application driver into a Labview program; controlling the BMS terminal module to diagnose according to the diagnosis request and generating a fault message in a corresponding format; controlling the CAN equipment to receive the fault message, and analyzing the fault message through a corresponding target communication protocol to obtain target fault information; and acquiring a control instruction based on the target fault information, controlling the CAN equipment to send the processed control instruction to the BMS terminal module through the control instruction based on the target communication protocol, and controlling the BMS terminal module to execute corresponding operation. When the BMS terminal module is diagnosed, the control instruction of the upper computer CAN be directly transmitted through the CAN equipment, and the BMS terminal module is driven to execute corresponding operation without using other equipment for adjustment.

Description

Battery management system diagnosis method, upper computer and system
Technical Field
The invention relates to the technical field of automobile diagnosis, in particular to a battery management system diagnosis method, an upper computer and a system.
Background
With the development of the current vehicle diagnosis System, many diagnostic instruments can only diagnose and troubleshoot faults of a specified vehicle, generally, a CANtest tool can only send messages according to a fixed format and a fixed period and cannot receive control signals sent by the specified diagnostic instruments, so that the vehicle is further controlled and diagnosed, a program interface is solidified, a secondary development function is not provided, data of the diagnostic instruments cannot be stored, the maintenance cost is high, and great inconvenience is brought to troubleshooting and troubleshooting of a Battery Management System (BMS).
Disclosure of Invention
The present invention is directed to overcome the above-mentioned drawbacks of the background art, and provides a method, a host computer and a system for diagnosing a BMS terminal module, which CAN directly transmit a control command from the host computer through a CAN device and drive the BMS terminal module to perform a corresponding operation without using another device for adjustment.
In a first aspect, a battery management system diagnostic method is provided, including the steps of:
controlling the CAN equipment to send the diagnosis request to the BMS terminal module; the CAN equipment is a CAN box embedded with an application driver to a Labview program;
controlling the BMS terminal module to diagnose according to the diagnosis request and generating a fault message in a corresponding format;
controlling the CAN equipment to receive the fault message, and analyzing the fault message through a corresponding target communication protocol to obtain target fault information;
and acquiring a control instruction based on the target fault information, controlling the CAN equipment to send the processed control instruction to the BMS terminal module through the control instruction based on the target communication protocol, and controlling the BMS terminal module to execute corresponding operation.
According to the first aspect, in a first possible implementation manner of the first aspect, before the step of controlling the CAN device to send the diagnosis request to the BMS terminal module, the method includes the following steps:
and acquiring communication protocols corresponding to different BMS terminal modules and fault information corresponding to different fault codes, and storing the fault information in a database.
According to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the step of controlling the CAN device to receive the fault message and analyzing the fault message through a corresponding target communication protocol to obtain target fault information includes the following steps:
controlling the CAN equipment to receive the fault message;
determining the corresponding target communication protocol according to the identification information of the BMS terminal module in the fault message;
calling the target communication protocol from the database to analyze the fault message to obtain a target fault code;
and determining target fault information corresponding to the target fault code according to the database.
According to the first possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the step of "acquiring a control instruction based on the target fault information, controlling the CAN device to send the processed control instruction to the BMS terminal module through the control instruction based on the target communication protocol, and controlling the BMS terminal module to perform a corresponding operation" includes the following steps:
acquiring a control instruction based on the target fault information;
identifying identification information of the BMS terminal module in the control command, and determining the corresponding target communication protocol according to the identification information;
packaging the control instruction into message information in a corresponding format according to the target communication protocol;
and controlling the CAN equipment to send the message information to the BMS terminal module, and controlling the BMS terminal module to execute corresponding operation.
According to the first aspect, in a fourth possible implementation manner of the first aspect, after the step of controlling the CAN device to receive the fault message and analyzing the fault message through a corresponding target communication protocol to obtain target fault information, the method includes the following steps:
and storing the target fault information according to a preset format.
In a second aspect, a host computer is provided, which includes:
a control module to: controlling a CAN device to send a diagnosis request to a BMS terminal module, wherein the CAN device is a CAN box embedded with an application drive to a Labview program; controlling the BMS terminal module to diagnose according to the diagnosis request and generating a fault message in a corresponding format;
the message analysis module is in communication connection with the control module and is used for: controlling the CAN equipment to receive the fault message, and analyzing the fault message through a corresponding target communication protocol to obtain target fault information;
the instruction control module is in communication connection with the message analysis module and is used for: and acquiring a control instruction based on the target fault information, controlling the CAN equipment to send the processed control instruction to the BMS terminal module through the control instruction based on the target communication protocol, and controlling the BMS terminal module to execute corresponding operation.
According to the second aspect, in a first possible implementation manner of the second aspect, the method further includes:
a data storage module to: and acquiring communication protocols corresponding to different BMS terminal modules and fault information corresponding to different fault codes, storing the fault information in a database, and storing the target fault information according to a preset format.
According to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the packet parsing module includes:
a message receiving unit, configured to: controlling the CAN equipment to receive the fault message;
a message analysis unit, which is in communication connection with the message receiving unit and the data storage module, and is used for: determining the corresponding target communication protocol according to the identification information of the BMS terminal module in the fault message; calling the target communication protocol from the database to analyze the fault message to obtain a target fault code; and determining target fault information corresponding to the target fault code according to the database.
According to a second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the instruction control module includes:
an instruction fetch unit to: acquiring a control instruction based on the target fault information;
the instruction control unit is in communication connection with the instruction acquisition unit and the data storage module and is used for: identifying identification information of the BMS terminal module in the control command, and determining the corresponding target communication protocol according to the identification information; packaging the control instruction into message information in a corresponding format according to the target communication protocol; and controlling the CAN equipment to send the message information to the BMS terminal module, and controlling the BMS terminal module to execute corresponding operation.
In a third aspect, a battery management system diagnostic system is provided, which comprises a CAN device and the above upper computer, wherein the CAN device is a CAN box embedded with an application driver to a Labview program.
Compared with the prior art, the method and the system CAN directly transmit the control instruction of the upper computer through the CAN equipment when diagnosing the BMS terminal module, drive the BMS terminal module to execute corresponding operation, and do not need to use other equipment for adjustment.
Drawings
Fig. 1 is a schematic flow chart of a battery management system diagnostic method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a battery management system diagnostic method according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating a battery management system diagnostic method according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of an upper computer according to another embodiment of the present invention.
Reference numerals:
100. an upper computer; 110. a control module; 120. a message parsing module; 121. a message receiving unit; 122. a message parsing unit; 130. an instruction control module; 131. an instruction acquisition unit; 132. an instruction control unit; 140. and a data storage module.
Detailed Description
Reference will now be made in detail to the present embodiments of the invention, examples of which are illustrated in the accompanying drawings. While the invention will be described in conjunction with the specific embodiments, it will be understood that they are not intended to limit the invention to the embodiments described. On the contrary, it is intended to cover alternatives, modifications, and equivalents as may be included within the spirit and scope of the invention as defined by the appended claims. It should be noted that the method steps described herein may be implemented by any functional block or functional arrangement, and that any functional block or functional arrangement may be implemented as a physical entity or a logical entity, or a combination of both.
In order that those skilled in the art will better understand the present invention, the following detailed description of the invention is provided in conjunction with the accompanying drawings and the detailed description of the invention.
Note that: the example to be described next is only a specific example, and does not limit the embodiments of the present invention necessarily to the following specific steps, values, conditions, data, orders, and the like. Those skilled in the art can, upon reading this specification, utilize the concepts of the present invention to construct more embodiments than those specifically described herein.
Referring to fig. 1, an embodiment of the present invention provides a battery management system diagnosis method, including the following steps:
s100, controlling a CAN device to send a diagnosis request to a BMS terminal module, wherein the CAN device is a CAN box embedded with an application drive to a Labview program;
s200, controlling the BMS terminal module to diagnose according to the diagnosis request and generating a fault message in a corresponding format;
s300, controlling the CAN equipment to receive the fault message, and analyzing the fault message through a corresponding target communication protocol to obtain target fault information;
s400, acquiring a control instruction based on the target fault information, controlling the CAN equipment to send the processed control instruction to the BMS terminal module through the control instruction based on the target communication protocol, and controlling the BMS terminal module to execute corresponding operation.
Specifically, in this embodiment, the CAN device application driver is embedded into the Labview program, an upper computer program based on the Labview is generated, the upper computer program has a configurable diagnostic ID port, and then the CAN device is connected to the BMS terminal module to be diagnosed to perform diagnosis.
The method comprises the steps that firstly, a user initiates a diagnosis request through an upper computer, CAN equipment transmits the diagnosis request to a BMS terminal module, a data acquisition unit of the BMS terminal module acquires various information of a battery system, a microprocessing unit of the BMS terminal module analyzes and processes the information to judge whether the battery system is in fault or normal, then a fault message in a corresponding format is generated based on a corresponding communication protocol, and the BMS terminal module sends the fault message to the CAN equipment through the CAN module unit and transmits the fault message to the upper computer through the CAN equipment.
After the upper computer receives the fault message, because the fault message is a message in a fixed format based on the communication protocol of the BMS terminal module, a user cannot directly check the fault message, and therefore the fault message needs to be analyzed through the same target communication protocol, and then target fault information is obtained. The upper computer displays the target fault information through the display screen so that a user can know the diagnosis result of the BMS terminal module conveniently.
And acquiring a control instruction based on the target fault information, namely acquiring an instruction issued by a user, wherein the control instruction can be diagnosis continuation or parameter adjustment. Because the BMS terminal module also intelligently receives and identifies the messages with the corresponding formats, the control instructions are processed and encapsulated into the messages with the corresponding formats based on the target communication protocol, and then the processed control instructions are sent to the BMS terminal module through the CAN equipment. The general CAN equipment only has the function of receiving and sending messages and cannot transmit instructions of an upper computer, and then the operation of the BMS terminal module is controlled through the CAN equipment, but the CAN equipment is a CAN box which is embedded into an application drive to a Labview program, so that the CAN equipment CAN be driven to control the BMS terminal module to analyze and process control instructions, and then corresponding operation is executed.
As shown in fig. 2, a CAN device application driver is embedded into a Labview program to generate a Lab view-based upper computer program, the Lab view-based upper computer program is provided with a configurable diagnosis ID port, one end of a CAN device is connected to a vehicle diagnosis port, the other end of the CAN device is connected to a PC, the CAN device collects BMS data, sends related instructions through the Lab view upper computer, performs data analysis and calculation, acquires diagnosis data from a CAN data interface of the BMS according to a communication protocol, and stores fault information in a local database.
When diagnosing BMS terminal module in this application, CAN directly pass through the control command of CAN equipment transmission host computer, drive BMS terminal module carries out corresponding operation, need not to use other equipment to adjust.
Alternatively, as shown in fig. 3, in another embodiment of the present application, before the step of controlling the CAN device to send the diagnosis request to the BMS terminal module by the S100, the method includes the following steps:
and S050 acquiring communication protocols corresponding to different BMS terminal modules and fault information corresponding to different fault codes, and storing the fault information in a database.
Specifically, many diagnostic instruments can only diagnose and troubleshoot faults of specified vehicles, and program interfaces are solidified, and do not have a secondary development function. The CAN device CAN receive and transmit messages in various formats, but the CAN device cannot analyze the messages, and a general diagnostic instrument CAN only analyze the messages in a fixed format.
In this embodiment, the host computer obtains the communication protocols that different BMS terminal modules correspond and the fault information that different fault codes correspond to and store in the database, when the host computer receives and dispatches the message, can call corresponding communication protocol respectively and carry out the analysis, and then the corresponding fault information of analysis.
The communication files of various vehicle types are imported, the fault diagnosis system can be developed according to the customization of the demand, and various vehicle-mounted terminals are supported. And abundant interfaces are provided, online configuration is carried out according to different diagnosis IDs, and convenience is brought to reading of fault code information.
Optionally, in another embodiment of the present application, the step of controlling, by the S300, the CAN device to receive the fault packet and analyze the fault packet through a corresponding target communication protocol to obtain target fault information includes the following steps:
s310, controlling the CAN equipment to receive the fault message;
s320, determining the corresponding target communication protocol according to the identification information of the BMS terminal module in the fault message;
s330, calling the target communication protocol from the database to analyze the fault message to obtain a target fault code;
s340, determining target fault information corresponding to the target fault code according to the database.
Specifically, in this embodiment, since the database of the upper computer stores the communication protocols corresponding to the different BMS terminal modules and the fault information corresponding to the different fault codes, after the Controller Area Network (CAN) device receives the fault message, the corresponding target communication protocol is determined according to the identification information of the BMS terminal module in the fault message, then the target communication protocol is called from the database to analyze the fault message to obtain the target fault code, the target fault information corresponding to the target fault code is determined through the database, the fault code is a fault code similar to 0123, and the fault information is an explanation specifically indicating the fault location and the fault reason, so that a user CAN directly know the diagnosis result of the BMS terminal module.
According to the method and the device, because the communication protocol CAN be configured and guided in according to the CAN communication matrix of each vehicle type based on the Labview development tool, an upper computer interface is visual, the secondary development function is strong, a configurable diagnosis ID interface is provided, the compatibility is good, data information is automatically recorded, and various diagnosis requirements CAN be met.
Optionally, in another embodiment of the present application, the step of S400 acquiring a control command based on the target fault information, controlling the CAN device to send the processed control command to the BMS terminal module through the control command based on the target communication protocol, and controlling the BMS terminal module to perform a corresponding operation includes the steps of:
s410, acquiring a control instruction based on the target fault information;
s420, identifying identification information of a BMS terminal module in the control command, and determining a corresponding target communication protocol according to the identification information;
s430, packaging the control instruction into message information in a corresponding format according to the target communication protocol;
s440, the CAN equipment is controlled to send the message information to the BMS terminal module, and the BMS terminal module is controlled to execute corresponding operation.
Specifically, in this embodiment, the upper computer acquires a control instruction based on the target fault information, the control instruction needs to be sent to the BMS terminal module, and the control instruction includes identification information of the BMS terminal module, so that the identification information of the BMS terminal module in the control instruction is identified, and the corresponding target communication protocol is determined from the database according to the identification information. And then packaging the control instruction into message information which CAN be identified by the BMS terminal module in the corresponding format based on the target communication protocol, and sending the message information to the BMS terminal module through the CAN equipment and driving the BMS terminal module to execute because the CAN equipment is a CAN box which is embedded into a Labview program and driven by an application.
The application discloses BMS fault diagnosis system based on Labview supports multiple diagnostic protocols, has brought a great deal of convenience for BMS's fault diagnosis, improves the transmission rate of data for the diagnosis is more nimble, has more the reliability. Meanwhile, the CAN box driven to the Labview program based on the embedded application CAN directly drive the BMS terminal module to diagnose and adjust, and is more convenient and faster.
Optionally, in another embodiment of the present application, after the step of S300 controlling the CAN device to receive the fault packet and analyzing the fault packet through a corresponding target communication protocol to obtain target fault information, the method includes the following steps:
s500, storing the target fault information according to a preset format.
Specifically, in this embodiment, the target fault information that the host computer will resolve out is stored according to predetermineeing the format, marks BMS terminal module's identification information and time information simultaneously, forms the diagnosis log to later date traces back.
According to the method and the system, the fault diagnosis data can be automatically stored in the local database according to the designed format, and manual storage is avoided.
Referring to fig. 4, an embodiment of the present invention provides an upper computer 100, including:
a control module 110 to: controlling a CAN device to send a diagnosis request to a BMS terminal module, wherein the CAN device is a CAN box embedded with an application drive to a Labview program; controlling the BMS terminal module to diagnose according to the diagnosis request and generating a fault message in a corresponding format;
a message parsing module 120, communicatively connected to the control module 110, and configured to: controlling the CAN equipment to receive the fault message, and analyzing the fault message through a corresponding target communication protocol to obtain target fault information;
an instruction control module 130, communicatively connected to the message parsing module 120, configured to: and acquiring a control instruction based on the target fault information, controlling the CAN equipment to send the processed control instruction to the BMS terminal module through the control instruction based on the target communication protocol, and controlling the BMS terminal module to execute corresponding operation.
Further comprising:
a data storage module 140 for: and acquiring communication protocols corresponding to different BMS terminal modules and fault information corresponding to different fault codes, storing the fault information in a database, and storing the target fault information according to a preset format.
The packet parsing module 120 includes:
a message receiving unit 121, configured to: controlling the CAN equipment to receive the fault message;
a message parsing unit 122, communicatively connected to the message receiving unit 121 and the data storage module 140, and configured to: determining the corresponding target communication protocol according to the identification information of the BMS terminal module in the fault message; calling the target communication protocol from the database to analyze the fault message to obtain a target fault code; and determining target fault information corresponding to the target fault code according to the database.
The instruction control module 130 includes:
an instruction fetch unit 131 to: acquiring a control instruction based on the target fault information;
an instruction control unit 132, communicatively connected to the instruction obtaining unit 131 and the data storage module 140, and configured to: identifying identification information of the BMS terminal module in the control command, and determining the corresponding target communication protocol according to the identification information; packaging the control instruction into message information in a corresponding format according to the target communication protocol; and controlling the CAN equipment to send the message information to the BMS terminal module, and controlling the BMS terminal module to execute corresponding operation.
Specifically, the functions of each module in this embodiment have been described in detail in the corresponding method embodiment, and therefore, a description thereof is not repeated.
The embodiment of the invention provides a battery management system diagnosis system, which comprises CAN equipment and the upper computer in the embodiment, wherein the CAN equipment is a CAN box embedded into an application driver to a Labview program.
Based on the same inventive concept, the embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements all or part of the method steps of the above method.
The present invention can implement all or part of the processes of the above methods, and can also be implemented by using a computer program to instruct related hardware, where the computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above method embodiments can be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
Based on the same inventive concept, an embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program running on the processor, and the processor executes the computer program to implement all or part of the method steps in the method.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the computer device and the various interfaces and lines connecting the various parts of the overall computer device.
The memory may be used to store computer programs and/or modules, and the processor may implement various functions of the computer device by executing or executing the computer programs and/or modules stored in the memory, as well as by invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (e.g., a sound playing function, an image playing function, etc.); the storage data area may store data (e.g., audio data, video data, etc.) created according to the use of the cellular phone. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, server, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), servers and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A battery management system diagnostic method, comprising the steps of:
controlling the CAN equipment to send the diagnosis request to the BMS terminal module; the CAN equipment is a CAN box embedded with an application driver to a Labview program;
controlling the BMS terminal module to diagnose according to the diagnosis request and generating a fault message in a corresponding format;
controlling the CAN equipment to receive the fault message, and analyzing the fault message through a corresponding target communication protocol to obtain target fault information;
and acquiring a control instruction based on the target fault information, controlling the CAN equipment to send the processed control instruction to the BMS terminal module through the control instruction based on the target communication protocol, and controlling the BMS terminal module to execute corresponding operation.
2. The battery management system diagnosis method of claim 1, wherein the step of controlling the CAN device to transmit the diagnosis request to the BMS terminal module is preceded by the step of:
and acquiring communication protocols corresponding to different BMS terminal modules and fault information corresponding to different fault codes, and storing the fault information in a database.
3. The battery management system diagnosis method according to claim 2, wherein the step of controlling the CAN device to receive the fault message and analyzing the fault message through a corresponding target communication protocol to obtain target fault information includes the steps of:
controlling the CAN equipment to receive the fault message;
determining the corresponding target communication protocol according to the identification information of the BMS terminal module in the fault message;
calling the target communication protocol from the database to analyze the fault message to obtain a target fault code;
and determining target fault information corresponding to the target fault code according to the database.
4. The battery management system diagnosis method of claim 2, wherein the steps of acquiring a control command based on the target fault information, controlling the CAN device to transmit a control command after processing to the BMS terminal module through the control command based on the target communication protocol, and controlling the BMS terminal module to perform a corresponding operation, comprise the steps of:
acquiring a control instruction based on the target fault information;
identifying identification information of the BMS terminal module in the control command, and determining the corresponding target communication protocol according to the identification information;
packaging the control instruction into message information in a corresponding format according to the target communication protocol;
and controlling the CAN equipment to send the message information to the BMS terminal module, and controlling the BMS terminal module to execute corresponding operation.
5. The battery management system diagnosis method according to claim 1, wherein after the step of controlling the CAN device to receive the fault message and analyzing the fault message by a corresponding target communication protocol to obtain target fault information, the method comprises the steps of:
and storing the target fault information according to a preset format.
6. A host computer, comprising:
a control module to: controlling a CAN device to send a diagnosis request to a BMS terminal module, wherein the CAN device is a CAN box embedded with an application drive to a Labview program; controlling the BMS terminal module to diagnose according to the diagnosis request and generating a fault message in a corresponding format;
the message analysis module is in communication connection with the control module and is used for: controlling the CAN equipment to receive the fault message, and analyzing the fault message through a corresponding target communication protocol to obtain target fault information;
the instruction control module is in communication connection with the message analysis module and is used for: and acquiring a control instruction based on the target fault information, controlling the CAN equipment to send the processed control instruction to the BMS terminal module through the control instruction based on the target communication protocol, and controlling the BMS terminal module to execute corresponding operation.
7. The upper computer of claim 6, further comprising:
a data storage module to: and acquiring communication protocols corresponding to different BMS terminal modules and fault information corresponding to different fault codes, storing the fault information in a database, and storing the target fault information according to a preset format.
8. The host computer of claim 7, wherein the message parsing module comprises:
a message receiving unit, configured to: controlling the CAN equipment to receive the fault message;
a message analysis unit, which is in communication connection with the message receiving unit and the data storage module, and is used for: determining the corresponding target communication protocol according to the identification information of the BMS terminal module in the fault message; calling the target communication protocol from the database to analyze the fault message to obtain a target fault code; and determining target fault information corresponding to the target fault code according to the database.
9. The upper computer of claim 7, wherein the instruction control module comprises:
an instruction fetch unit to: acquiring a control instruction based on the target fault information;
the instruction control unit is in communication connection with the instruction acquisition unit and the data storage module and is used for: identifying identification information of the BMS terminal module in the control command, and determining the corresponding target communication protocol according to the identification information; packaging the control instruction into message information in a corresponding format according to the target communication protocol; and controlling the CAN equipment to send the message information to the BMS terminal module, and controlling the BMS terminal module to execute corresponding operation.
10. A battery management system diagnostic system comprising a CAN device which is a CAN box embedded in an application driver driven into a Labview program, and the upper computer of any one of claims 6 to 9.
CN202011077684.7A 2020-10-10 2020-10-10 Battery management system diagnosis method, upper computer and system Pending CN112362983A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011077684.7A CN112362983A (en) 2020-10-10 2020-10-10 Battery management system diagnosis method, upper computer and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011077684.7A CN112362983A (en) 2020-10-10 2020-10-10 Battery management system diagnosis method, upper computer and system

Publications (1)

Publication Number Publication Date
CN112362983A true CN112362983A (en) 2021-02-12

Family

ID=74508291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011077684.7A Pending CN112362983A (en) 2020-10-10 2020-10-10 Battery management system diagnosis method, upper computer and system

Country Status (1)

Country Link
CN (1) CN112362983A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113780023A (en) * 2021-09-14 2021-12-10 东风时代(武汉)电池系统有限公司 Pack bar code writing system based on Labview and writing method thereof
CN113799650A (en) * 2021-10-18 2021-12-17 广州小鹏汽车科技有限公司 Battery data processing method and device
CN113799611A (en) * 2021-09-26 2021-12-17 上汽通用五菱汽车股份有限公司 Electric vehicle battery diagnosis and control method, vehicle-mounted terminal and readable storage medium
CN114710479A (en) * 2022-03-31 2022-07-05 三一电动车科技有限公司 Fault diagnosis method, device and system
CN115022418A (en) * 2022-07-12 2022-09-06 南京懂玫驱动技术有限公司 Data interaction method, device and system for electric power-assisted bicycle and storage medium
CN115903740A (en) * 2022-11-17 2023-04-04 中国第一汽车股份有限公司 BMS fault elimination system, battery assembly, electric vehicle and elimination method
CN116527720A (en) * 2023-06-29 2023-08-01 深圳艾为电气技术有限公司 Intelligent obstacle removing strategy acquisition method and device for electric compressor
CN116980499A (en) * 2023-08-10 2023-10-31 湖南银杏电池智能管理技术有限公司 BMS serial port data transmission method based on Modbus communication protocol
CN117041388A (en) * 2023-08-10 2023-11-10 湖南银杏电池智能管理技术有限公司 Data transmission method suitable for BMS (battery management system) products

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094113A (en) * 2007-06-01 2007-12-26 清华大学 Communication network test system for entire car of fuel cell car based on TTCAN
CN101859476A (en) * 2010-05-25 2010-10-13 金龙联合汽车工业(苏州)有限公司 Car fault diagnosis remote alarming system and method
CN101986223A (en) * 2010-07-21 2011-03-16 浙江吉利汽车研究院有限公司 Remote monitoring, diagnosis and calibration system of automobile
CN104834303A (en) * 2014-12-19 2015-08-12 北汽福田汽车股份有限公司 Vehicle fault diagnosis method and system, and vehicle
CN205333750U (en) * 2015-12-10 2016-06-22 安徽锐能科技有限公司 Portable battery management system diagnostic equipment
CN106707065A (en) * 2016-12-31 2017-05-24 安徽优旦科技有限公司 Battery management system standard DBC interface automatic testing system and method
CN107885187A (en) * 2017-10-19 2018-04-06 深圳市元征科技股份有限公司 A kind of automobile remote diagnostic method, user terminal and server
CN108170487A (en) * 2016-12-06 2018-06-15 比亚迪股份有限公司 DSP Program programming method, apparatus and vehicle
CN109144037A (en) * 2018-10-22 2019-01-04 江西博能上饶客车有限公司 A kind of portable integral new-energy passenger fault diagnosis system and device
CN109218335A (en) * 2018-11-14 2019-01-15 行云新能科技(深圳)有限公司 Data interactive method, terminal and storage medium based on battery management system
CN109752192A (en) * 2018-12-24 2019-05-14 东风航盛(武汉)汽车控制系统有限公司 A method of it is integrated based on bar code and promotes power assembly factory test process
CN111551799A (en) * 2020-04-09 2020-08-18 国网冀北电力有限公司计量中心 Detection system and method for direct-current charger

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094113A (en) * 2007-06-01 2007-12-26 清华大学 Communication network test system for entire car of fuel cell car based on TTCAN
CN101859476A (en) * 2010-05-25 2010-10-13 金龙联合汽车工业(苏州)有限公司 Car fault diagnosis remote alarming system and method
CN101986223A (en) * 2010-07-21 2011-03-16 浙江吉利汽车研究院有限公司 Remote monitoring, diagnosis and calibration system of automobile
CN104834303A (en) * 2014-12-19 2015-08-12 北汽福田汽车股份有限公司 Vehicle fault diagnosis method and system, and vehicle
CN205333750U (en) * 2015-12-10 2016-06-22 安徽锐能科技有限公司 Portable battery management system diagnostic equipment
CN108170487A (en) * 2016-12-06 2018-06-15 比亚迪股份有限公司 DSP Program programming method, apparatus and vehicle
CN106707065A (en) * 2016-12-31 2017-05-24 安徽优旦科技有限公司 Battery management system standard DBC interface automatic testing system and method
CN107885187A (en) * 2017-10-19 2018-04-06 深圳市元征科技股份有限公司 A kind of automobile remote diagnostic method, user terminal and server
CN109144037A (en) * 2018-10-22 2019-01-04 江西博能上饶客车有限公司 A kind of portable integral new-energy passenger fault diagnosis system and device
CN109218335A (en) * 2018-11-14 2019-01-15 行云新能科技(深圳)有限公司 Data interactive method, terminal and storage medium based on battery management system
CN109752192A (en) * 2018-12-24 2019-05-14 东风航盛(武汉)汽车控制系统有限公司 A method of it is integrated based on bar code and promotes power assembly factory test process
CN111551799A (en) * 2020-04-09 2020-08-18 国网冀北电力有限公司计量中心 Detection system and method for direct-current charger

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
卢光明等: "基于LabVIEW的电动汽车BMS数据监控系统", 工业技术创新, vol. 6, no. 2, pages 28 - 32 *
徐佳宁: "基于AEKF的锂离子电池SOC估计研究", 中国优秀硕士学位论文全文数据库工程科技Ⅱ辑, no. 6, pages 34 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113780023A (en) * 2021-09-14 2021-12-10 东风时代(武汉)电池系统有限公司 Pack bar code writing system based on Labview and writing method thereof
CN113780023B (en) * 2021-09-14 2024-01-30 东风时代(武汉)电池系统有限公司 Labview-based Pack bar code writing system and writing method thereof
CN113799611A (en) * 2021-09-26 2021-12-17 上汽通用五菱汽车股份有限公司 Electric vehicle battery diagnosis and control method, vehicle-mounted terminal and readable storage medium
CN113799650A (en) * 2021-10-18 2021-12-17 广州小鹏汽车科技有限公司 Battery data processing method and device
CN113799650B (en) * 2021-10-18 2024-01-09 广州小鹏汽车科技有限公司 Battery data processing method and device
CN114710479B (en) * 2022-03-31 2023-12-01 三一电动车科技有限公司 Fault diagnosis method, device and system
CN114710479A (en) * 2022-03-31 2022-07-05 三一电动车科技有限公司 Fault diagnosis method, device and system
CN115022418A (en) * 2022-07-12 2022-09-06 南京懂玫驱动技术有限公司 Data interaction method, device and system for electric power-assisted bicycle and storage medium
CN115903740A (en) * 2022-11-17 2023-04-04 中国第一汽车股份有限公司 BMS fault elimination system, battery assembly, electric vehicle and elimination method
CN116527720A (en) * 2023-06-29 2023-08-01 深圳艾为电气技术有限公司 Intelligent obstacle removing strategy acquisition method and device for electric compressor
CN116527720B (en) * 2023-06-29 2023-09-29 深圳艾为电气技术有限公司 Intelligent obstacle removing strategy acquisition method and device for electric compressor
CN117041388A (en) * 2023-08-10 2023-11-10 湖南银杏电池智能管理技术有限公司 Data transmission method suitable for BMS (battery management system) products
CN116980499A (en) * 2023-08-10 2023-10-31 湖南银杏电池智能管理技术有限公司 BMS serial port data transmission method based on Modbus communication protocol
CN117041388B (en) * 2023-08-10 2024-05-17 湖南银杏电池智能管理技术有限公司 Data transmission method suitable for BMS (battery management system) products

Similar Documents

Publication Publication Date Title
CN112362983A (en) Battery management system diagnosis method, upper computer and system
CN112034824A (en) Automobile diagnosis method, device, equipment and computer readable storage medium
CN111506047B (en) Vehicle diagnosis method, device and storage medium
CN108255152B (en) vehicle diagnosis method, diagnosis box and computer readable storage medium
CN108390863B (en) Data processing method and device
CN114844811A (en) Vehicle-mounted terminal testing method and system
CN111857103B (en) Vehicle diagnosis method, device, equipment and storage medium
CN116841874A (en) Test method and device for unified diagnosis service function, storage medium and electronic equipment
CN112509176B (en) Fault repair method and device based on vehicle data
CN115158400A (en) Urban rail vehicle-mounted equipment and testing method thereof
CN115470100A (en) Signal scene testing method and device for automobile parts
CN113934198A (en) Vehicle diagnosis method, vehicle diagnosis device, electronic device, and storage medium
WO2022256793A1 (en) Remote vehicle communications filtering
CN114490713A (en) Fault code management method, device, equipment and readable storage medium
CN114285840A (en) Vehicle data acquisition method, intelligent terminal and storage medium
CN114863582A (en) Vehicle-mounted diagnosis method and device, electronic equipment and readable storage medium
CN114765753A (en) Communication method and device of vehicle-mounted terminal, terminal equipment and storage medium
CN114124992B (en) Method, device, equipment and system for monitoring running state of whole vehicle domain controller
CN116224976B (en) Test method and device
CN109799763A (en) A kind of data processing method being directed to ECU, apparatus and system
KR20190063212A (en) Device and method for analysising can message using obd-ⅱ query
CN113156921A (en) Vehicle fault diagnosis system, method and storage medium
CN115947181B (en) Yarn mixing processing method, processing device and processing system of packer
CN114487758B (en) Test method and test system for semiconductor equipment
CN117667256A (en) Method, device and storage medium for starting vehicle diagnosis software

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