CN113917338A - Battery detection method for CAN or RS485 communication interface - Google Patents

Battery detection method for CAN or RS485 communication interface Download PDF

Info

Publication number
CN113917338A
CN113917338A CN202111201679.7A CN202111201679A CN113917338A CN 113917338 A CN113917338 A CN 113917338A CN 202111201679 A CN202111201679 A CN 202111201679A CN 113917338 A CN113917338 A CN 113917338A
Authority
CN
China
Prior art keywords
serial number
bus serial
communication
mapping
bus
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
CN202111201679.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.)
Shenzhen Xinweier Electronics Co Ltd
Original Assignee
Shenzhen Xinweier Electronics 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 Shenzhen Xinweier Electronics Co Ltd filed Critical Shenzhen Xinweier Electronics Co Ltd
Priority to CN202111201679.7A priority Critical patent/CN113917338A/en
Publication of CN113917338A publication Critical patent/CN113917338A/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/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/367Software therefor, e.g. for battery testing using modelling or look-up tables
    • 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

Landscapes

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

Abstract

The invention provides a battery detection method for setting a CAN or RS485 communication interface, which comprises the steps of entering a process step edition through a battery detection system, setting a CAN communication DBC signal or a bus serial number sent by a CAN binary system or an RS485 communication signal or a bus serial number sent by an RS485 binary system in an edition process step flow, and storing CAN/RS485 communication bus serial number parameters into process step flow files; the bus serial number mapping man-machine interaction interface on the battery detection system software is clicked, and the bus serial number mapping is carried out on the channel, so that the invention has the beneficial effects that: the system supports the reading of multi-path CAN/RS485 communication self-defined bus signals, supports the binary data sending of multi-path CAN/RS485 communication self-defined buses, meets the requirement that a user CAN flexibly apply the communication of self-defined bus serial numbers in a laboratory, CAN efficiently apply idle buses, CAN be suitable for the communication of battery detection equipment channels matched with fixed bus serial numbers in production, greatly improves the flexibility of battery test system software, and greatly reduces the work of repeated editing of process steps in the mass production stage.

Description

Battery detection method for CAN or RS485 communication interface
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of battery testing, in particular to a battery detection method for CAN or RS485 communication interface setting.
[ background of the invention ]
With the continuous development of battery technology, a lot of batteries are equipped with the BMS, and each manufacturer has inconsistent requirements on the technical protocol of the BMS, so that various communication modes exist, and CAN and RS485 communication are communication modes with wide application. Some batteries need to carry out multi-path CAN communication and multi-path RS485 communication at the same time, which requires that battery detection equipment CAN support multi-path bus communication, and meanwhile, due to the characteristics of CAN/RS485 bus communication, the same bus cannot be used for communication at the same time under the same equipment, otherwise, the communication CAN be influenced mutually, and the habits of use in different environments are different. In the laboratory, the battery variety is various, and every type of battery all can have different characteristics, connects the battery on different communication box interfaces before the test, and the customer needs edit different work step flows according to the characteristics of battery, uses different buses and BMS battery management system communication according to the available bus of battery check out test set now, and the flexibility is higher. In the mass production, the battery test is the wholesale nature, and the quantity is tens to several millions and varies, and the mode of battery and communication box interface wiring is fixed, and the test scheme that same batch battery adopted is also the same, uses fixed bus and BMS battery management system communication.
[ summary of the invention ]
The invention aims to solve the defects that the traditional battery detection equipment does not support the function of multi-path CAN/RS485 communication and CAN not efficiently apply a CAN/RS485 communication interface, and provides a novel battery detection method arranged on a CAN or RS485 communication interface.
The invention is realized by the following technical scheme:
a battery detection method set by a CAN or RS485 communication interface comprises the following steps:
s1: through a battery detection system, entering process step editing, wherein a CAN communication DBC signal or a bus serial number sent by a CAN binary system or an RS485 communication signal or a bus serial number sent by an RS485 binary system is set in an editing process step, and CAN/RS485 communication bus serial number parameters are stored in a process step flow file;
s2: clicking a bus serial number mapping man-machine interaction interface on the battery detection system software, and carrying out bus serial number mapping on a channel or binding a CAN/RS485 communication interface on the channel;
s3: loading the step flow file by the channel, analyzing the step flow file, and acquiring the step flow and the serial number of the CAN/RS485 communication bus in the step flow file to obtain step test parameters;
s4: starting bus serial number mapping is available according to a battery detection system, whether the bus serial number is started or not is judged, if the bus serial number is not started, the step 5 is skipped, and the step 6 is directly executed;
s5: acquiring the bus serial number of the channel in the step 2, converting the bus serial number in the step test parameters into the bus serial number of the channel mapping, and generating new step test parameters;
s6: sending the step testing parameters to the equipment, starting a testing process by a channel, carrying out CAN/RS485 communication with a BMS battery management system, and carrying out data interaction according to the step testing parameters;
s7: the execution in step S6 is stopped to test the flow, and the flow ends.
Further, a bus serial number mapping human-computer interaction interface is arranged on the battery detection system software in the step S2, and CAN and RS485 bus serial number mapping is performed on the channel of the detection device, that is, the channel is bound with a CAN/RS485 communication interface.
Further, CAN and RS485 bus serial number mapping is carried out on the channel of the detection equipment, the bus serial number in the process flow is converted into the bus serial number of the channel mapping according to whether the bus serial number mapping is started or not, and the bus serial number of the channel mapping is used for communicating with the BMS battery management system after the test is started; and if not, not processing the bus serial number in the process flow, and directly using the bus serial number in the process flow to communicate with the BMS battery management system after the channel starting test.
Further, when the process flow is edited, the bus serial number of CAN communication DBC signals or RS485 communication signals or CAN/RS485 communication binary system sending data is directly set.
Further, the bus serial number mapping parameters include, but are not limited to, a device number, a unit number, a channel number, CAN, RS485, wherein the CAN or RS485 communication interface supports multi-path mapping.
Furthermore, a revocation mapping module, a revocation CAN mapping module, a revocation RS485 mapping module, a complete clearing module, an average mapping CAN module, an average mapping RS485 module, a user-defined CAN module and a user-defined RS485 module are arranged on the bus serial number mapping man-machine interaction interface, so that a user CAN map CAN and RS485 bus serial numbers of the channels quickly, and after the operation is finished, bus serial number parameters mapped by the channels are stored.
The invention has the beneficial effects that: the multi-channel CAN communication self-defined bus DBC signal reading is supported, the multi-channel CAN communication self-defined bus binary data sending is supported, the multi-channel RS485 communication self-defined bus signal reading is supported, the multi-channel RS485 communication self-defined bus binary data sending is supported, the user CAN flexibly apply self-defined bus serial number communication in a laboratory scene, an idle bus CAN be efficiently applied, the multi-channel CAN bus serial number reading device CAN be suitable for communication of battery detection equipment channels matched with fixed bus serial numbers in a production environment, the flexibility of battery test system software is greatly improved, and meanwhile, the work of repeated editing of a working step flow in a mass production stage is greatly reduced.
[ description of the drawings ]
FIG. 1 is a schematic diagram of a battery detection method of a CAN or RS485 communication interface according to the present invention;
FIG. 2 is a schematic flow chart of a battery detection method provided by the CAN or RS485 communication interface of the present invention;
FIG. 3 is a schematic flow chart of a battery detection method according to an embodiment 1 of the present invention, which is configured with a CAN or RS485 communication interface;
FIG. 4 is a schematic flow chart of a battery detection method in accordance with an embodiment 2 of the present invention, which is configured with a CAN or RS485 communication interface;
[ detailed description ] embodiments
The invention is further described with reference to the accompanying drawings and the detailed description:
it is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings. In addition, the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
Example 1:
as shown in fig. 1 and fig. 2, a battery detection method for a CAN or RS485 communication interface includes the following steps:
s1: through a battery detection system, entering process step editing, wherein a CAN communication DBC signal or a bus serial number sent by a CAN binary system or an RS485 communication signal or a bus serial number sent by an RS485 binary system is set in an editing process step, and CAN/RS485 communication bus serial number parameters are stored in a process step flow file;
s2: clicking a bus serial number mapping man-machine interaction interface on the battery detection system software, and carrying out bus serial number mapping on a channel or binding a CAN/RS485 communication interface on the channel;
s3: loading the step flow file by the channel, analyzing the step flow file, and acquiring the step flow and the serial number of the CAN/RS485 communication bus in the step flow file to obtain step test parameters;
s4: starting bus serial number mapping is available according to a battery detection system, whether the bus serial number is started or not is judged, if the bus serial number is not started, the step 5 is skipped, and the step 6 is directly executed;
s5: acquiring the bus serial number of the channel in the step 2, converting the bus serial number in the step test parameters into the bus serial number of the channel mapping, and generating new step test parameters;
s6: sending the step testing parameters to the equipment, starting a testing process by a channel, carrying out CAN/RS485 communication with a BMS battery management system, and carrying out data interaction according to the step testing parameters;
s7: the execution in step S6 is stopped to test the flow, and the flow ends.
Preferably, a bus serial number mapping human-computer interaction interface is arranged on the battery detection system software in the step S2, and CAN and RS485 bus serial number mapping is performed on a channel of the detection device, that is, the channel is bound with a CAN/RS485 communication interface.
Preferably, CAN and RS485 bus serial number mapping is carried out on the channel of the detection equipment, the bus serial number in the process flow is converted into the bus serial number of the channel mapping according to whether the bus serial number mapping is started or not, and the bus serial number of the channel mapping is used for communicating with the BMS battery management system after the test is started; and if not, not processing the bus serial number in the process flow, and directly using the bus serial number in the process flow to communicate with the BMS battery management system after the channel starting test.
Preferably, when the process flow is edited, the bus serial number of the CAN communication DBC signal or the RS485 communication signal or the CAN/RS485 communication binary system sending data is directly set.
Preferably, the bus serial number mapping parameters include, but are not limited to, a device number, a unit number, a channel number, CAN, RS485, wherein the CAN or RS485 communication interface supports multi-way mapping.
Preferably, the bus serial number mapping man-machine interaction interface is provided with a revocation mapping module, a revocation CAN mapping module, a revocation RS485 mapping module, an all clearing module, an average mapping CAN module, an average mapping RS485 module, a user-defined CAN module and a user-defined RS485 module, so that a user CAN map CAN and RS485 bus serial numbers of the channels quickly, and after the operation is completed, bus serial number parameters mapped by the channels are stored.
Example 2:
as shown in fig. 2, a battery detection method for setting a CAN or RS485 communication interface, which first performs bus serial number mapping and then edits process steps, includes the following steps:
s1: clicking bus serial number mapping on battery detection system software, and performing bus serial number mapping on a channel or binding a CAN/RS485 communication interface on the channel;
s2: then entering a process step edition through a battery detection system, wherein a CAN communication DBC signal or a bus serial number sent by a CAN binary system or an RS485 communication signal or a bus serial number sent by an RS485 binary system is set in an edition process step flow, and CAN/RS485 communication bus serial number parameters are stored in a process step flow file;
s3: loading the step flow file by the channel, analyzing the step flow file, and acquiring the step flow and the serial number of the CAN/RS485 communication bus in the step flow file to obtain step test parameters;
s4: starting bus serial number mapping is available according to a battery detection system, whether the bus serial number is started or not is judged, if the bus serial number is not started, the step 5 is skipped, and the step 6 is directly executed;
s5: acquiring the bus serial number of the channel in the step 2, converting the bus serial number in the step test parameters into the bus serial number of the channel mapping, and generating new step test parameters;
s6: sending the step testing parameters to the equipment, starting a testing process by a channel, carrying out CAN/RS485 communication with a BMS battery management system, and carrying out data interaction according to the step testing parameters;
s7: the execution in step S5 is stopped to test the flow, and the flow ends.
Example 3:
as shown in fig. 3, a battery detection method for a CAN or RS485 communication interface includes the following steps, without performing bus serial number mapping or starting bus serial number mapping:
s1: through a battery detection system, entering process step editing, wherein a CAN communication DBC signal or a bus serial number sent by a CAN binary system or an RS485 communication signal or a bus serial number sent by an RS485 binary system is set in an editing process step, and CAN/RS485 communication bus serial number parameters are stored in a process step flow file;
s2: loading the step flow file by the channel, analyzing the step flow file, and acquiring the step flow and the serial number of the CAN/RS485 communication bus in the step flow file to obtain step test parameters;
s3: sending the step testing parameters to the equipment, starting a testing process by a channel, carrying out CAN/RS485 communication with a BMS battery management system, and carrying out data interaction according to the step testing parameters;
s4: the execution in step S3 is stopped to test the flow, and the flow ends.
Appropriate changes and modifications to the embodiments described above will become apparent to those skilled in the art from the disclosure and teachings of the foregoing description. Therefore, the present invention is not limited to the specific embodiments disclosed and described above, and some modifications and variations of the present invention should fall within the scope of the claims of the present invention. Furthermore, although specific terms are employed herein, they are used in a generic and descriptive sense only and not for purposes of limitation.

Claims (6)

1. A battery detection method set by a CAN or RS485 communication interface is characterized by comprising the following steps:
s1: through a battery detection system, entering process step editing, wherein a CAN communication DBC signal or a bus serial number sent by a CAN binary system or an RS485 communication signal or a bus serial number sent by an RS485 binary system is set in an editing process step, and CAN/RS485 communication bus serial number parameters are stored in a process step flow file;
s2: clicking a bus serial number mapping man-machine interaction interface on the battery detection system software, and carrying out bus serial number mapping on a channel or binding a CAN/RS485 communication interface on the channel;
s3: loading the step flow file by the channel, analyzing the step flow file, and acquiring the step flow and the serial number of the CAN/RS485 communication bus in the step flow file to obtain step test parameters;
s4: starting bus serial number mapping is available according to a battery detection system, whether the bus serial number is started or not is judged, if the bus serial number is not started, the step 5 is skipped, and the step 6 is directly executed;
s5: acquiring the bus serial number of the channel in the step 2, converting the bus serial number in the step test parameters into the bus serial number of the channel mapping, and generating new step test parameters;
s6: sending the step testing parameters to the equipment, starting a testing process by a channel, carrying out CAN/RS485 communication with a BMS battery management system, and carrying out data interaction according to the step testing parameters;
s7: the execution in step S6 is stopped to test the flow, and the flow ends.
2. The method of claim 1 for testing a battery installed in a CAN or RS485 communication interface, further comprising: and (4) setting a bus serial number mapping man-machine interaction interface on the battery detection system software in the step (S2), and carrying out CAN and RS485 bus serial number mapping on the channel of the detection equipment, namely binding the channel with a CAN/RS485 communication interface.
3. The method of claim 2 for detecting a battery installed in a CAN or RS485 communication interface, further comprising: the method comprises the steps of carrying out CAN and RS485 bus serial number mapping on a channel of the detection equipment, converting the bus serial number in the process flow into the bus serial number of the channel mapping according to whether the bus serial number mapping is started or not, and communicating with a BMS battery management system by using the bus serial number of the channel mapping after starting the test; and if not, not processing the bus serial number in the process flow, and directly using the bus serial number in the process flow to communicate with the BMS battery management system after the channel starting test.
4. The method of claim 3 for testing a battery installed in a CAN or RS485 communication interface, further comprising: when the process flow is edited, the bus serial number of CAN communication DBC signals or RS485 communication signals or CAN/RS485 communication binary system sending data is directly set.
5. The method of claim 1 for testing a battery installed in a CAN or RS485 communication interface, further comprising: the bus serial number mapping parameters include, but are not limited to, a device number, a unit number, a channel number, a CAN and an RS485, wherein the CAN or RS485 communication interface supports multi-path mapping.
6. The method of claim 1 for testing a battery installed in a CAN or RS485 communication interface, further comprising: the bus serial number mapping man-machine interaction interface is provided with a revocation mapping module, a revocation CAN mapping module, a revocation RS485 mapping module, a complete clearing module, an average mapping CAN module, an average mapping RS485 module, a user-defined CAN module and a user-defined RS485 module, a user CAN conveniently and quickly map CAN and RS485 bus serial numbers of channels, and after the operation is completed, bus serial number parameters mapped by the channels are stored.
CN202111201679.7A 2021-10-15 2021-10-15 Battery detection method for CAN or RS485 communication interface Pending CN113917338A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111201679.7A CN113917338A (en) 2021-10-15 2021-10-15 Battery detection method for CAN or RS485 communication interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111201679.7A CN113917338A (en) 2021-10-15 2021-10-15 Battery detection method for CAN or RS485 communication interface

Publications (1)

Publication Number Publication Date
CN113917338A true CN113917338A (en) 2022-01-11

Family

ID=79240622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111201679.7A Pending CN113917338A (en) 2021-10-15 2021-10-15 Battery detection method for CAN or RS485 communication interface

Country Status (1)

Country Link
CN (1) CN113917338A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103543640A (en) * 2013-09-30 2014-01-29 广东电网公司电力科学研究院 Test system for battery management system
CN111077468A (en) * 2019-12-27 2020-04-28 孚能科技(赣州)股份有限公司 Battery test flow generation method and generation device
CN113064083A (en) * 2021-03-12 2021-07-02 深圳市新威尔电子有限公司 BTS client battery test method
CN113281653A (en) * 2021-05-28 2021-08-20 深圳市新威尔电子有限公司 Method for generating battery test editing process flow
CN113406514A (en) * 2021-06-15 2021-09-17 深圳市新威尔电子有限公司 Battery test equipment identification system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103543640A (en) * 2013-09-30 2014-01-29 广东电网公司电力科学研究院 Test system for battery management system
CN111077468A (en) * 2019-12-27 2020-04-28 孚能科技(赣州)股份有限公司 Battery test flow generation method and generation device
CN113064083A (en) * 2021-03-12 2021-07-02 深圳市新威尔电子有限公司 BTS client battery test method
CN113281653A (en) * 2021-05-28 2021-08-20 深圳市新威尔电子有限公司 Method for generating battery test editing process flow
CN113406514A (en) * 2021-06-15 2021-09-17 深圳市新威尔电子有限公司 Battery test equipment identification system and method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
NEWARE ON: "【辅助通道的映射】-新威软件篇", pages 1 - 10, Retrieved from the Internet <URL:http://www.neware-technology.com/neware-tester-aux-channel-reset-map/> *
NEWARE ON: "【通道复制】-新威尔软件篇", pages 1 - 2, Retrieved from the Internet <URL:http://www.neware-technology.com/neware-battery-testing-system-copy-channel/> *
NEWARE ON: "CT-4000系列新威电池测试仪BTS8.0软件联机操作教程", pages 1 - 20, Retrieved from the Internet <URL:https://www.neware-technology.com/ct-4000-series-neware-battery-tester-connection-bts8-0/> *

Similar Documents

Publication Publication Date Title
CN102567203B (en) A kind of method and system of test distributed file system performance
CN108803577B (en) Diagnosis method, upper computer and lower computer
CN107656126B (en) CAN-based automatic testing method and system for quiescent current of vehicle-mounted sound equipment
CN210041853U (en) Automatic test system for automobile CAN/LIN bus
CN106646315B (en) A kind of Auto-Test System and its test method of digital measuring instruments
CN113612654B (en) Vehicle-mounted gateway function test method based on database
CN111045416B (en) Method and device for analyzing CAN (controller area network) signal of whole vehicle by using diagnosis message
CN113189970B (en) Hardware-in-loop automatic test method and system of CAN bus controller and storage medium
CN103605359A (en) Automobile diagnostic system and method
CN112839323A (en) Bluetooth device testing method and device, terminal and computer readable storage medium
CN111427321A (en) Multi-protocol-compatible MES data acquisition system and method thereof
CN111698268A (en) Equipment communication protocol converter
CN111651232A (en) One-machine multi-control method, device and system and electronic equipment
CN113917338A (en) Battery detection method for CAN or RS485 communication interface
CN112181810B (en) Intelligent bicycle debugging system based on TCN (train control network)
CN113126993A (en) Automatic testing method and system applied to vehicle detection software
CN115542875A (en) Vehicle detection method based on SOA service and related equipment
CN113985849A (en) Method for writing DTC (digital control channel) read ECU (electronic control unit) version of automatic clear-reading whole vehicle based on CANoe software
CN102854875B (en) Automobile air conditioner controller testing method and system
CN112180891B (en) ECU offline operation fault troubleshooting and analyzing method
CN113866653A (en) Battery test channel mapping method
CN107704417A (en) The method and its communication system to be communicated with equipment under test
CN112491653A (en) Automatic test system and test method for communication equipment
CN106199303B (en) Expected harness relationship creation system and its creation method in harness test
CN114003549B (en) 5G radio frequency unit testing method and device based on heterogeneous SOC

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