CN103631156B - A kind of programming method and device of automobile electronic controller - Google Patents

A kind of programming method and device of automobile electronic controller Download PDF

Info

Publication number
CN103631156B
CN103631156B CN201210309091.8A CN201210309091A CN103631156B CN 103631156 B CN103631156 B CN 103631156B CN 201210309091 A CN201210309091 A CN 201210309091A CN 103631156 B CN103631156 B CN 103631156B
Authority
CN
China
Prior art keywords
programming
electronic controller
automobile electronic
ecu
automobile
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210309091.8A
Other languages
Chinese (zh)
Other versions
CN103631156A (en
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.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN201210309091.8A priority Critical patent/CN103631156B/en
Publication of CN103631156A publication Critical patent/CN103631156A/en
Application granted granted Critical
Publication of CN103631156B publication Critical patent/CN103631156B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to automotive field, disclose a kind of programming method of automobile electronic controller, said method comprising the steps of: step one: computer is connected with automobile electronic controller, and computer is connected to internet database;Step 2: the car load ECU state of automobile electronic controller is scanned and obtains scanning result by software to utilize the programming in computer to support;Step 3: judge that the current ECU program of automobile electronic controller, the need of refreshing, performs next step if desired for refreshing, as need not refresh then end operation according to described scanning result;Step 4: described programming supports that the ECU program encryption file of required refreshing downloaded from internet database by software, and carries out programming operation;Step 5: described programming supports that programming information is uploaded to internet database by software.Also disclose the programming device of automobile electronic controller.By accessing internet database, automobile electronic controller is carried out programming, easy to operate, low cost.

Description

A kind of programming method and device of automobile electronic controller
Technical field
The present invention relates to automotive field, be specifically related to the programming method and device of a kind of automobile electronic controller.
Background technology
The ECU(electronic control unit of automobile, electronic controller) management of car load and the coordinate operation of each parts are played vital effect.When monitoring the duty of automobile, it usually needs the software that controls in ECU is carried out demarcation again, diagnoses and update.Traditional debugging, update the method for software in ECU, or by means of JTAG (JointTest Action Group, combined testing action group) interface or BDM (Background Debug Mode, background debugging mode) interface carries out at line writing, or ECU is disassembled programming install back again.
The programming method of current existing ECU program mainly uses single cpu mode, or uses PC individually to refresh ECU program, or uses some handheld devices to refresh ECU program.Obviously, when ECU program is refreshed, need special operator to ECU location, ECU program to be refreshed, and need artificial judgement ECU program updating version and type.If the ECU that needs refresh is very many and distributional region is wide, cost will be rolled up, operate very inconvenient, and artificially go to judge that ECU program updating version and type are the most easily made mistakes, the most serious consequence and impact after makeing mistakes, can be caused.
Summary of the invention
The technical problem to be solved is to overcome the deficiencies in the prior art, thus provides a kind of method and device that automobile electronic controller can be carried out programming by the Internet.
For solving above-mentioned technical problem, the present invention provides following technical scheme:
A kind of programming method of automobile electronic controller, said method comprising the steps of: step one: computer is connected with automobile electronic controller, and computer is connected to internet database;Step 2: the car load ECU state of automobile electronic controller is scanned and obtains scanning result by software to utilize the programming in computer to support;Step 3: judge that the current ECU program of automobile electronic controller, the need of refreshing, performs next step if desired for refreshing, as need not refresh then end operation according to described scanning result;Step 4: described programming supports that the ECU program encryption file of required refreshing downloaded from internet database by software, and carries out programming operation;Step 5: described programming supports that programming information is uploaded to internet database by software.
A kind of programming device of automobile electronic controller, including internet data library module, for store up-to-date ECU program and automobile electronic controller programming complete after programming information;Software module is supported in programming in computer, connect automobile electronic controller and the car load ECU state of automobile electronic controller is scanned, judge that current ECU program is the need of refreshing, from internet data library module, the required ECU program encryption file refreshed then is downloaded if desired for refreshing, and carrying out programming operation, programming information is uploaded to internet data library module after completing by programming.
Compared with prior art, there is advantages that the programming method and device of the automobile electronic controller that the present invention provides, the current ECU program of automobile electronic controller is the need of refreshing to support software to judge by programming in computer, and when needs refresh, programming supports that software can download the ECU program encryption file of required refreshing from internet database, and carries out programming operation;By accessing internet database, automobile electronic controller is carried out programming, easy to operate, low cost, safety and stability.
Accompanying drawing explanation
Fig. 1 is the programming method flow diagram of embodiment of the present invention automobile electronic controller.
Fig. 2 is the programming device schematic diagram of embodiment of the present invention automobile electronic controller.
Detailed description of the invention
In order to make technical problem solved by the invention, technical scheme and beneficial effect clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Fig. 1 is the programming method flow diagram of embodiment of the present invention automobile electronic controller;Disclose a kind of programming method of automobile electronic controller, said method comprising the steps of: step one: computer is connected with automobile electronic controller, and computer is connected to internet database;Step 2: the car load ECU state of automobile electronic controller is scanned and obtains scanning result by software to utilize the programming in computer to support;Step 3: judge that the current ECU program of automobile electronic controller, the need of refreshing, performs next step if desired for refreshing, as need not refresh then end operation according to described scanning result;Step 4: described programming supports that the ECU program encryption file of required refreshing downloaded from internet database by software, and carries out programming operation;Step 5: described programming supports that programming information is uploaded to internet database by software.By accessing internet database, automobile electronic controller is carried out programming, easy to operate, low cost, safety and stability.
In the present embodiment, programming operation in above-mentioned steps four specifically includes: programming supports that software resolves to configuration file and data file to the described ECU program encryption file needing to refresh, the refreshing of program is carried out according to configuration file, by fixed protocol, ECU routine data is sent to ECU, ECU internal processes the data of acquisition be written in storage device.Fixed protocol above-mentioned in this enforcement is ISO 15765 agreement, ISO 15765, as a kind of automobile network diagnosis agreement based on CAN, because it is in the advantage of the aspects such as transmission mechanism, time restriction, error detection, are used widely at present in automobile network diagnosis;The communication time restriction of ISO 15765 network diagnosis Protocol Through Network layer is more strict, provides more comprehensively Diagnosis Service in application layer.CCP can also be used in other embodiments (CAN Calibration Protocol, CAN demarcates agreement) agreement, CCP agreement is a demarcation agreement based on CAN, CCP agreement uses master slave system communication, only one of which main equipment in system, it connects one or more from equipment by CAN, and main equipment realizes the functions such as data transmission with from equipment room by session, the basis of the work such as the realization of these functions is by demarcating, monitors, diagnosis, CCP agreement oneself is applied in some ECU demarcates.
Above-mentioned storage device is preferably FLASH, it is also possible to be other storage devices.Above computer is connected by automobile communication port device with automobile electronic controller;Described automobile communication port device uses the one in USB, WIFI or bluetooth to be connected with computer.Described automobile communication port device uses the OBD(on-board of standard with automobile electronic controller Diagnostics, on-line monitoring device) interface, and communication modes uses CAN communication or K communication.
The programming method of automobile electronic controller described below:
Step one: computer is connected with automobile electronic controller, and computer is connected to internet database.Auto communication port device one end is connected by operator with automobile electronic controller, and the other end is connected with computer, and computer is connected to internet database.
Step 2: the car load ECU state of automobile electronic controller is scanned and obtains scanning result by software to utilize the programming in computer to support;After the parts in step one have been all connected with, automobile electronic controller is scanned by software to utilize the programming in computer to support, the information scanned includes whole vehicle information, current ECU program version information, current ECU program burn writing target date etc..
Step 3: whether the current ECU program judging automobile electronic controller according to described scanning result is latest edition, the need of refreshing, if not latest edition, then then need to refresh to perform next step, latest edition in this way, then need not refresh then end operation.
Step 4: described programming supports that software downloads the ECU program encryption file of required refreshing, some configuration guide information and routine datas of mainly ECU program updating from internet database, and carries out programming operation.Programming supports that software resolves to configuration file and data file to the described program needing to refresh, the refreshing of program is carried out according to configuration file, by fixed protocol, ECU routine data is sent to ECU, ECU internal processes the data of acquisition be written in storage device.
Step 5: described programming supports that programming information is uploaded to internet database by software;If above-mentioned programming information spinner whole vehicle information, programming completes unit information, programming target date, and the ECU program version information etc. that programming completes, to facilitate later retrieval to use.
Above-mentioned ECU program burn writing operation by computer programming support software be automatically performed, decrease manual operation it is possible that mistake;And substantial amounts of manpower and materials cost can be saved so that ECU program updating can authorize maintenace point to carry out in local 4S shop etc., carries out program updating without sending special operator.In terms of client, client can select 4S shop to carry out ECU program updating at any time, and the time is arranged by oneself completely, can select to carry out programming operation, the convenient refreshing to ECU program at maintenace points such as 4S shops;In terms of enterprise, can be with enterprise service quality and overall image, it is possible to very easily client is serviced.
Present invention also offers the programming device of a kind of automobile electronic controller, including internet data library module 30, for store up-to-date ECU program and automobile electronic controller 10 programming complete after programming information;Software module 21 is supported in programming in computer 20, connect automobile electronic controller 10 and the car load ECU state of automobile electronic controller 10 is scanned, judge that current ECU program is the need of refreshing, from internet data library module 30, the required ECU program encryption file refreshed then is downloaded if desired for refreshing, and carrying out programming operation, programming information is uploaded to internet data library module 30 after completing by programming.By accessing internet data library module, automobile electronic controller is carried out programming, easy to operate, low cost;
Above-mentioned fixed protocol is ISO 15765 agreement, ISO 15765, as a kind of automobile network diagnosis agreement based on CAN, because it is in the advantage of the aspects such as transmission mechanism, time restriction, error detection, are used widely at present in automobile network diagnosis;Above-mentioned storage device is preferably FLASH, it is also possible to be other storage devices.Above computer 20 is connected by automobile communication port device with automobile electronic controller 10.Described automobile communication port device is adopted 20 and is connected by the one in USB, WIFI or bluetooth with computer.Described automobile communication port device and automobile electronic controller 10 use the OBD(on-board diagnostics of standard, on-line monitoring device) interface, and communication modes uses CAN communication or K communication.The programming method of the programming device employing of automobile electronic controller is above-mentioned to be had been described above, and here is omitted.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all any amendment, equivalent and improvement etc. made within the spirit and principles in the present invention, should be included within the scope of the present invention.

Claims (10)

1. the programming method of an automobile electronic controller, it is characterised in that said method comprising the steps of:
Step one: computer is connected with automobile electronic controller, and computer is connected to internet database;
Step 2: the car load ECU state of automobile electronic controller is scanned and obtains scanning result by software to utilize the programming in computer to support;
Step 3: judge that the current ECU program of automobile electronic controller, the need of refreshing, performs next step if desired for refreshing, as need not refresh then end operation according to described scanning result;
Step 4: described programming supports that the ECU program encryption file of required refreshing downloaded from internet database by software, and carries out programming operation;
Step 5: described programming supports that programming information is uploaded to internet database by software.
The programming method of automobile electronic controller the most according to claim 1, it is characterized in that, described step 3 is particularly as follows: judge whether the current ECU program of automobile electronic controller is latest edition, if not latest edition, so need to refresh to perform next step, if latest edition then need not refresh.
The programming method of automobile electronic controller the most according to claim 1, it is characterized in that, programming operation in described step 4 includes: programming supports that the ECU program encryption file that described needs are refreshed by software resolves to configuration file and data file, the refreshing of program is carried out according to configuration file, by fixed protocol, ECU routine data is sent to ECU, ECU internal processes the data of acquisition be written in storage device.
The programming method of automobile electronic controller the most according to claim 3, it is characterised in that described fixed protocol is ISO 15765 agreement.
The programming method of automobile electronic controller the most according to claim 3, it is characterised in that described storage device is FLASH.
6. according to the programming method of the automobile electronic controller described in any one of claim 1-5, it is characterised in that described computer is connected by automobile communication port device with automobile electronic controller.
The programming method of automobile electronic controller the most according to claim 6, it is characterised in that described automobile communication port device uses the one in USB, WIF or bluetooth to be connected with computer.
The programming method of automobile electronic controller the most according to claim 6, it is characterised in that described automobile communication port device uses CAN communication or K communication with automobile electronic controller.
9. the programming device of an automobile electronic controller, it is characterised in that including:
Internet data library module, for store up-to-date ECU program and automobile electronic controller programming complete after programming information;
Software module is supported in programming in computer, connect automobile electronic controller and the car load ECU state of automobile electronic controller is scanned, judge that current ECU program is the need of refreshing, from internet data library module, the required ECU program encryption file refreshed then is downloaded if desired for refreshing, and carrying out programming operation, programming information is uploaded to internet data library module after completing by programming.
The programming device of automobile electronic controller the most according to claim 9, it is characterised in that described computer is connected by automobile communication port device with automobile electronic controller.
CN201210309091.8A 2012-08-28 2012-08-28 A kind of programming method and device of automobile electronic controller Active CN103631156B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210309091.8A CN103631156B (en) 2012-08-28 2012-08-28 A kind of programming method and device of automobile electronic controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210309091.8A CN103631156B (en) 2012-08-28 2012-08-28 A kind of programming method and device of automobile electronic controller

Publications (2)

Publication Number Publication Date
CN103631156A CN103631156A (en) 2014-03-12
CN103631156B true CN103631156B (en) 2016-10-26

Family

ID=50212350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210309091.8A Active CN103631156B (en) 2012-08-28 2012-08-28 A kind of programming method and device of automobile electronic controller

Country Status (1)

Country Link
CN (1) CN103631156B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281469A (en) * 2014-08-26 2015-01-14 东风电子科技股份有限公司 Method and system for realizing refreshing and writing of ECU (Electronic Control Unit) program
CN105094901B (en) * 2015-07-14 2018-07-27 广州小鹏汽车科技有限公司 A kind of long-range method and diagnostic device of on line refreshable ECU after sale
CN106886424B (en) * 2015-12-15 2021-08-27 安波福电子(苏州)有限公司 Device and method for upgrading automobile software according to intelligent equipment
CN105718288A (en) * 2016-01-21 2016-06-29 北京新能源汽车股份有限公司 Automobile controller program flashing method, device and system and terminal
CN109561118B (en) * 2017-09-26 2020-12-25 比亚迪股份有限公司 Software upgrading method, device, system, storage medium, electronic equipment and vehicle
CN110224907A (en) * 2018-03-01 2019-09-10 上海汽车集团股份有限公司 A kind of updating system of vehicle-mounted ECU, method and terminal
CN108829079B (en) * 2018-04-26 2020-09-01 安徽江淮汽车集团股份有限公司 TCU automatic flashing system and method
CN111596600A (en) * 2020-07-27 2020-08-28 广州汽车集团股份有限公司 Vehicle-mounted electronic control unit with master-slave architecture and refreshing method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101266492A (en) * 2008-04-29 2008-09-17 上海汽车集团股份有限公司 Vehicle diagnostic device calibration software configuration administrative system and method
CN102183945A (en) * 2011-01-17 2011-09-14 武汉理工大学 Multifunctional remote fault diagnosis system for electric control automobile
CN102262404A (en) * 2011-04-11 2011-11-30 浙江吉利汽车研究院有限公司 End-of-line configuration system and configuration method for finished vehicle

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8458689B2 (en) * 2001-03-30 2013-06-04 Roderick A. Barman Method and apparatus for reprogramming engine controllers

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101266492A (en) * 2008-04-29 2008-09-17 上海汽车集团股份有限公司 Vehicle diagnostic device calibration software configuration administrative system and method
CN102183945A (en) * 2011-01-17 2011-09-14 武汉理工大学 Multifunctional remote fault diagnosis system for electric control automobile
CN102262404A (en) * 2011-04-11 2011-11-30 浙江吉利汽车研究院有限公司 End-of-line configuration system and configuration method for finished vehicle

Also Published As

Publication number Publication date
CN103631156A (en) 2014-03-12

Similar Documents

Publication Publication Date Title
CN103631156B (en) A kind of programming method and device of automobile electronic controller
US10181225B2 (en) Scan tool with mobile broadband capability and method of operation thereof
US9911251B2 (en) Vehicle diagnostic system and method
JP6397993B2 (en) Personal vehicle diagnostic system and method based on smart mobile terminal
CN105589719B (en) system for remotely upgrading whole vehicle-mounted controller software and upgrading method
US10165084B2 (en) Method for software updating of vehicle components
US10616176B2 (en) Virtual DNS record updating method for dynamic IP address change of vehicle hosted server
CN106021038B (en) Method and apparatus for vehicle-mounted hardware and software testing
AU2011349702B2 (en) Remote vehicle programming system and method
US20050090942A1 (en) System and method to load vehicle operation software and calibration data in general assembly and service environment
CN104932489A (en) Wireless vehicle-mounted chip refresh diagnosis system and method
CN110850848A (en) Vehicle internet diagnosis service system
US20080071440A1 (en) Method and System of Power Management for a Vehicle Communication Interface
CN103678130A (en) Automated performance test method and platform
EP2302597A1 (en) Programmable on-board vehicle diagnostic system
Moniaga et al. Diagnostics vehicle’s condition using obd-ii and raspberry pi technology: study literature
CN110244691B (en) Automobile diagnosis method, device and system
CN103279369A (en) Automatic upgrade system and method for automobile diagnosis instrument based on CAN bus
US20100161172A1 (en) System and method for managing a vehicle component using temporary on-board data storage
TW201523466A (en) Intelligent and cloud-based real-time vehicle care system
CN105516853A (en) On-board entertainment system sound effect parameter debugging device and debugging method
CN111176695A (en) Vehicle ECU configuration method, server and terminal
US20140316639A1 (en) Data conversion apparatus and method of using a cell phone to update fault code data and maintain vehicles using on-board diagnostic systems
US20160177846A1 (en) System and Method for Optimizing Vehicle Settings
US20130090885A1 (en) Test-software-supported measuring system and measuring method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant