CN102226877A - General CAN (controller area network) monitoring method based on network protocols - Google Patents
General CAN (controller area network) monitoring method based on network protocols Download PDFInfo
- Publication number
- CN102226877A CN102226877A CN2011101255150A CN201110125515A CN102226877A CN 102226877 A CN102226877 A CN 102226877A CN 2011101255150 A CN2011101255150 A CN 2011101255150A CN 201110125515 A CN201110125515 A CN 201110125515A CN 102226877 A CN102226877 A CN 102226877A
- Authority
- CN
- China
- Prior art keywords
- monitoring
- configuration file
- network
- level controller
- target
- 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
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Small-Scale Networks (AREA)
Abstract
The invention provides a general CAN (controller area network) monitoring method based on network protocols. In the method, a configuration file technology is adopted, wherein a configuration file comprises the address, the number, the meaning, the attribute and other information of a lower controller; and an upper computer is used for establishing an interface to monitor the lower controller by calling different configuration files related to the network protocols and displaying or storing information related to equipment. The functions and the information in a software interface of the upper computer are refreshed in accordance with the changes of the configuration files, so that the equipment can be monitored based on the different network protocols by modifying the configuration files only, the monitoring requirements of the equipments with the different network protocols are met and the equipment has better generality.
Description
Technical field
The present invention relates to a kind of electronic control method, refer in particular to a kind of electric automobile that relates to, the universal CAN method for monitoring network of agreement Network Based is mainly used in the universal monitoring of inner each time level controller of electric automobile.
Background technology
Electric automobile rises just gradually as a new industry, and the ECU (Electrical Control Unit) in the electric automobile is many, the inner space is little, environmental interference is big, and control system, communication system are had higher requirement.The electric automobile whole key components and parts: entire car controller, motor driven systems, DCDC power supply, accessory power supply, instrument etc., they form network by CAN.The CAN network is with its good operation characteristic, and high reliability and unique design are particularly suitable for the communication between each electronic control unit of electric automobile, is also produced based on the product of CAN network.The set procotol of setting up based on entire car controller can satisfy the general needs that car load is diagnosed.Along with the batch process and the popularization of electric automobile, the ipc monitor platform that the suitable exploitation of Development of Universal, the manufacturing and user use is just necessary.
By retrieval, the approaching technical scheme of discovery and the present invention has following two kinds:
(1) patent No. is 200720103299.9 " electric automobile information acquisition and radio transmitting device ", this device not only has common inter-vehicle information system positioning and communicating navigation function, and can gather electric automobile vehicle self information relevant with battery, and information wireless sent to long-range Surveillance center, for the reliable and stable operation of vehicle provides safeguard.Device mainly comprises: based on microcomputer motherboard, 512M CF card, 128M memory bar, CAN communication board, gsm communication module, GPS receiver module, DC/DC module, I/O interface, SIM card, the keyboard of PC104 bus.Main application comprises: the information such as voltage, electric current of gathering every battery by the CAN bus; Obtain the locating information of vehicle ' in real time; Periodically locating information and battery information are kept in the database; The user is by USB flash disk data in the data download storehouse automatically; Carry out radio communication with GSM short message or GPRS mode and Surveillance center; Electronic chart shows.
(2) patent No. is 200410003472.9 " based on the mixed power electric car controller calibrating platform of CCP agreement ", it is characterized in that, it be the following level controller of mixed power electric car and with upper main frame that described down level controller is connected with the CAN bus between, according to the realization of CCP agreement by the platform of upper main frame to initialization setting, parameter calibration and the parameter supervision of level controller under the target.This platform overcomes controller calibration tool and controller communication poor reliability under the prior art, communication speed is slow and the deficiency of calibration tool versatility difference, on the basis of the general utility functions of realizing original calibrating platform, improve reliability, convenience and the versatility of staking-out work.
There is following shortcoming in present monitor supervision platform: monitor supervision platform function imperfection all is based on set procotol.In exploitation, safeguarding, different products has different procotols, needs the watch-dog of configure dedicated.Kai Fa watch-dog causes functions such as may not possessing relevant fault trigger mode, data storage because of cost or technical reason simultaneously.Bring big difficulty to complete vehicle fault diagnosis or maintenance.
Summary of the invention
The objective of the invention is to, in order to overcome under the prior art, the electric automobile supervisory system all can only be based on the deficiency of set single network agreement, a kind of universal CAN method for monitoring network of agreement Network Based is provided, by disposing and calling the different network protocol configuration file, satisfy the monitoring demand of different network protocol equipment, to realize the demonstration and the storage of customizing messages, make equipment have more versatility, make things convenient for designer and after sale service personnel field adjustable.
The technical scheme that the present invention solves its technical matters employing is: this monitor supervision platform has the host computer (main equipment) of CAN bus interface by one and one or more following level controller that has the CAN bus port of electric automobile is formed, connected by a CAN bus between them, each time level controller is connected on the node of CAN bus.Be applied in a kind of universal CAN method for monitoring network on the above-mentioned monitor supervision platform, it is characterized in that,, set up monitoring interface, show or the preservation device-dependent message, may further comprise the steps by calling the relevant configuration file of different network protocol:
The first step, give one of each node configuration independently with the corresponding configuration file of its procotol;
In second step, upper computer software adopts the mode invocation target configuration file of reading file, sets up the monitoring interface to level controller under the target, and the related command in the configuration file is sent to level controller under the target by node;
The 3rd step, level controller receives the parameter command from configuration file under the target, finish relevant treatment according to order, and reply to upper computer software repayment, the information that level controller sent up under host computer was resolved according to configuration file, show or store, realize monitoring thus level controller under the target.
The unique file of described configuration file for writing by established rule can directly call after searching selection.
Described upper computer software can be the monitoring software of PC, also can be based on the monitoring software of embedded system development.
Beneficial effect of the present invention is: 1, adopt the configuration file control technology, by revising configuration file, can realize the monitoring to different network protocol equipment, strengthen versatility; 2, this method can be finished its function on original hardware platform, needn't increase other hardware.
Description of drawings
Fig. 1 is the process flow diagram of method for supervising of the present invention.
Embodiment
Further set forth the present invention below in conjunction with the drawings and specific embodiments.
The method of the invention is applied on the monitor supervision platform, this monitor supervision platform has the host computer (main equipment) of CAN bus interface by one and one or more following level controller that has the CAN bus port of electric automobile is formed, connected by a CAN bus between them, each time level controller is connected on the node of CAN bus.
As shown in Figure 1, the universal CAN method for monitoring network of a kind of agreement Network Based of the present invention, its concrete workflow is as follows:
1, carries out the CAN device initialize, give one of each node configuration independently with parameter informations such as the corresponding configuration file of its procotol, whether whether configuration file comprise information frame ID number of level controller under this node, variable name, position definition, ratio, skew, show, preserve, triggering;
2, upper computer software calls configuration file in the mode of reading file, foundation is to the monitoring interface of level controller under the target, relevant parameter information in the configuration file is handled, drawing the variables corresponding name is shown on the monitoring interface, deposit information such as ID number, variable scale, skew in variable simultaneously, and this variable is sent to level controller under the target;
3, after the next target controller is received variable information, mate with the ID that has stored number voluntarily, when the match is successful, promptly handle in information such as ratio set in the variable, skews, according to whether showing (preservation), the value that calculates is shown to correspondence position (or preservation), realizes monitoring level controller under the target.
Whether whether described configuration file is file independently, and it is write by set rule and is undertaken, comprise ID number of information frame, variable name, position definition, ratio, skew, show, preserve, content such as triggering, can directly call after searching selection.Function on the upper computer software interface and information all refresh according to the change of configuration file, can satisfy new device requirement as long as revise configuration file like this, realize its versatility.
Method for supervising of the present invention both can be used for the monitoring software that the PC monitoring software also can be used for embedded system development.
Claims (4)
1. the universal CAN method for monitoring network of an agreement Network Based is characterized in that, by calling the relevant configuration file of different network protocol, sets up monitoring interface, shows or the preservation device-dependent message, may further comprise the steps:
The first step, give one of each node configuration independently with the corresponding configuration file of its procotol;
In second step, upper computer software adopts the mode invocation target configuration file of reading file, sets up the monitoring interface to level controller under the target, and the related command in the configuration file is sent to level controller under the target by node;
The 3rd step, level controller receives the parameter command from configuration file under the target, finish relevant treatment according to order, and reply to upper computer software repayment, the information that level controller sent up under host computer was resolved according to configuration file, show or store, realize monitoring thus level controller under the target.
2. according to the universal CAN method for monitoring network of the described a kind of agreement Network Based of claim 1, it is characterized in that the unique file of described configuration file for writing by established rule can directly call after searching selection.
3. according to the universal CAN method for monitoring network of claim 1 or 2 described a kind of agreements Network Based, it is characterized in that described upper computer software is the monitoring software of PC.
4. according to the universal CAN method for monitoring network of claim 1 or 2 described a kind of agreements Network Based, it is characterized in that described upper computer software is based on the monitoring software of embedded system development.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011101255150A CN102226877A (en) | 2011-05-16 | 2011-05-16 | General CAN (controller area network) monitoring method based on network protocols |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011101255150A CN102226877A (en) | 2011-05-16 | 2011-05-16 | General CAN (controller area network) monitoring method based on network protocols |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102226877A true CN102226877A (en) | 2011-10-26 |
Family
ID=44807848
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011101255150A Pending CN102226877A (en) | 2011-05-16 | 2011-05-16 | General CAN (controller area network) monitoring method based on network protocols |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102226877A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102394605A (en) * | 2011-11-23 | 2012-03-28 | 湖南南车时代电动汽车股份有限公司 | Pulse generation method and device used for IGBT (insulated gate bipolar transistor) test |
CN102495744A (en) * | 2011-11-29 | 2012-06-13 | 湖南南车时代电动汽车股份有限公司 | Control software upgrading method of electronic control devices of electric automobile based on controller area network (CAN) bus |
CN103188122A (en) * | 2013-03-19 | 2013-07-03 | 深圳市汇川控制技术有限公司 | Communication system and communication method based on CAN (Controller Area Network) |
CN103217956A (en) * | 2013-03-26 | 2013-07-24 | 三一重工股份有限公司 | Industrial control system as well as control method and control device thereof |
CN103365256A (en) * | 2012-04-01 | 2013-10-23 | 比亚迪股份有限公司 | CAN drive control management device and CAN drive control method |
CN105117359A (en) * | 2015-07-28 | 2015-12-02 | 厦门雅迅网络股份有限公司 | CAN (Controller Area Network) port multiplexing apparatus and method |
CN105487895A (en) * | 2015-11-27 | 2016-04-13 | 贵州航天风华精密设备有限公司 | Power supply parameter universal defining method |
CN105511442A (en) * | 2015-11-25 | 2016-04-20 | 徐州重型机械有限公司 | Man-machine interaction system and method, and fire fighting truck |
CN110162024A (en) * | 2019-06-29 | 2019-08-23 | 潍柴动力股份有限公司 | A kind of ECU data self checking method and device |
CN110320896A (en) * | 2019-08-09 | 2019-10-11 | 上海星融汽车科技有限公司 | The command sending method of vehicle diagnostic equipment |
CN110597220A (en) * | 2019-11-18 | 2019-12-20 | 南京大树智能科技股份有限公司 | Universal hardware controller for cigarette packaging machine detection device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101572641A (en) * | 2009-05-26 | 2009-11-04 | 阴晓峰 | CAN bus based controller network monitoring system and monitoring method |
CN101876825A (en) * | 2010-06-29 | 2010-11-03 | 广西工学院 | Human-computer interface device of small PLC |
CN102055634A (en) * | 2010-12-14 | 2011-05-11 | 湖南南车时代电动汽车股份有限公司 | CAN node interconnection device based on optical fibers |
-
2011
- 2011-05-16 CN CN2011101255150A patent/CN102226877A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101572641A (en) * | 2009-05-26 | 2009-11-04 | 阴晓峰 | CAN bus based controller network monitoring system and monitoring method |
CN101876825A (en) * | 2010-06-29 | 2010-11-03 | 广西工学院 | Human-computer interface device of small PLC |
CN102055634A (en) * | 2010-12-14 | 2011-05-11 | 湖南南车时代电动汽车股份有限公司 | CAN node interconnection device based on optical fibers |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102394605A (en) * | 2011-11-23 | 2012-03-28 | 湖南南车时代电动汽车股份有限公司 | Pulse generation method and device used for IGBT (insulated gate bipolar transistor) test |
CN102495744A (en) * | 2011-11-29 | 2012-06-13 | 湖南南车时代电动汽车股份有限公司 | Control software upgrading method of electronic control devices of electric automobile based on controller area network (CAN) bus |
CN102495744B (en) * | 2011-11-29 | 2014-11-19 | 湖南南车时代电动汽车股份有限公司 | Control software upgrading method of electronic control devices of electric automobile based on controller area network (CAN) bus |
CN103365256A (en) * | 2012-04-01 | 2013-10-23 | 比亚迪股份有限公司 | CAN drive control management device and CAN drive control method |
CN103365256B (en) * | 2012-04-01 | 2015-12-02 | 比亚迪股份有限公司 | A kind of CAN drived control management devices and CAN drived control method |
CN103188122B (en) * | 2013-03-19 | 2017-05-03 | 深圳市汇川控制技术有限公司 | Communication system and communication method based on CAN (Controller Area Network) |
CN103188122A (en) * | 2013-03-19 | 2013-07-03 | 深圳市汇川控制技术有限公司 | Communication system and communication method based on CAN (Controller Area Network) |
CN103217956A (en) * | 2013-03-26 | 2013-07-24 | 三一重工股份有限公司 | Industrial control system as well as control method and control device thereof |
CN103217956B (en) * | 2013-03-26 | 2015-05-13 | 三一重工股份有限公司 | Industrial control system as well as control method and control device thereof |
CN105117359A (en) * | 2015-07-28 | 2015-12-02 | 厦门雅迅网络股份有限公司 | CAN (Controller Area Network) port multiplexing apparatus and method |
CN105511442A (en) * | 2015-11-25 | 2016-04-20 | 徐州重型机械有限公司 | Man-machine interaction system and method, and fire fighting truck |
CN105511442B (en) * | 2015-11-25 | 2018-05-08 | 徐工消防安全装备有限公司 | Man-machine interactive system and method and fire fighting truck |
CN105487895A (en) * | 2015-11-27 | 2016-04-13 | 贵州航天风华精密设备有限公司 | Power supply parameter universal defining method |
CN105487895B (en) * | 2015-11-27 | 2019-05-14 | 贵州航天风华精密设备有限公司 | A kind of power parameter generic definition method |
CN110162024A (en) * | 2019-06-29 | 2019-08-23 | 潍柴动力股份有限公司 | A kind of ECU data self checking method and device |
CN110320896A (en) * | 2019-08-09 | 2019-10-11 | 上海星融汽车科技有限公司 | The command sending method of vehicle diagnostic equipment |
CN110597220A (en) * | 2019-11-18 | 2019-12-20 | 南京大树智能科技股份有限公司 | Universal hardware controller for cigarette packaging machine detection device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102226877A (en) | General CAN (controller area network) monitoring method based on network protocols | |
CN103279370B (en) | Data processing method, terminal, server and system | |
CN103279118B (en) | The real-time mark system of a kind of integral new-energy passenger multiple units cooperative control device | |
CN107195015A (en) | Shared bicycle, data handling system, shared bicycle localization method and shared object | |
CN102902243A (en) | System and method for servicing field devices in an automation plant | |
CN203734702U (en) | General data collection module based on OPC UA | |
CN105425783A (en) | Real vehicle data processing method and system, controller and upper computer | |
CN202393445U (en) | Localization tracking supported oil quantity detection system and localization tracking supported oil quantity detection box | |
CN103581209A (en) | Household electrical appliance monitoring system | |
CN103901871A (en) | Remote diagnosis and maintenance system for vehicles | |
CN112770285A (en) | Digital twin factory modeling method and device based on 5G network | |
CN102236344A (en) | Cloud computing-based motor vehicle energy management system and method | |
CN116118510A (en) | Fault diagnosis method, device, equipment and storage medium | |
Dayu et al. | A GEO-related IOT applications platform based on Google Map | |
CN105510947B (en) | A kind of on-vehicle positioning terminal and vehicle positioning method | |
CN114285692B (en) | Communication control system, identity determination method, distribution method and equipment | |
CN113596095B (en) | Fast Internet of things method, fast Internet of things device, computer equipment and computer readable storage medium | |
CN203164743U (en) | System for remotely monitoring, upgrading and calibrating electric vehicle | |
CN107171033B (en) | Large-scale energy storage system | |
CN109388598A (en) | A kind of information processing method and general-purpose serial bus USB cluster server | |
CN109760633B (en) | Antitheft positioning tracking system and method | |
CN208722049U (en) | A kind of electric car long-distance monitorng device | |
CN202025226U (en) | Remote management system for RS-485 bus equipment | |
CN115016434B (en) | Bench, whole vehicle data linkage method and electronic equipment | |
CN104219074A (en) | A dynamic visualization system for a data center |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20111026 |