Movatterモバイル変換


[0]ホーム

URL:


CN102621950A - Pure electric vehicle carload controller refreshing instrument and refreshing method - Google Patents

Pure electric vehicle carload controller refreshing instrument and refreshing method
Download PDF

Info

Publication number
CN102621950A
CN102621950ACN2012100650034ACN201210065003ACN102621950ACN 102621950 ACN102621950 ACN 102621950ACN 2012100650034 ACN2012100650034 ACN 2012100650034ACN 201210065003 ACN201210065003 ACN 201210065003ACN 102621950 ACN102621950 ACN 102621950A
Authority
CN
China
Prior art keywords
data
chip
usb
entire car
car controller
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
CN2012100650034A
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.)
Chery Automobile Co Ltd
Original Assignee
SAIC Chery Automobile 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 SAIC Chery Automobile Co LtdfiledCriticalSAIC Chery Automobile Co Ltd
Priority to CN2012100650034ApriorityCriticalpatent/CN102621950A/en
Publication of CN102621950ApublicationCriticalpatent/CN102621950A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The invention relates to a pure electric vehicle carload controller refreshing instrument and a refreshing method. The refreshing instrument is arranged between a carload controller and an upper computer; the refreshing instrument mainly comprises a USB (universal serial bus) chip, a microcontroller chip and a CAN (controller area network) transceiver, wherein the USB chip has a function of converting a USB data into parallel port data and carries out data exchange between the microcontroller chip and the upper computer; and the microcontroller chip sends and receives a CAN message through the CAN transceiver, and CANH and CANL communication lines are arranged between the CAN transceiver and the carload controller. The refreshing instrument and the refreshing method provided by the invention overcome the trouble that the controller is dismounted when a BDM (background debugging mode) is whitewashed, and a diagnostic line with a CAN interface is connected with the carload controller; and a USB interface on a PC (personal computer) supplies power to the refreshing instrument, a USB port is virtual as a COM (component object model) port to carry out data transmission, and the USB interface can carry out renovation directly through CAN communication, thereby being convenient and rapid.

Description

A kind of pure electric automobile entire car controller refresh tool and method for refreshing
Technical field
The present invention relates to a kind of pure electric automobile entire car controller refresh tool and method for refreshing, comprising refresh tool upper computer software, refresh tool bottom software and refresh tool hardware.The refresh tool upper computer software carries out communication through computer USB (Universal Serial BUS) interface and refresh tool hardware.Refresh tool is carried out communication through CAN (Controller Area Network) communication and automobile controller to be refreshed, and follows KWP2000 (Key Word Protocol 2000) agreement, realizes software refreshing through the CAN communication.
Background technology
In the pure electric automobile performance history, often need make the modification of software code, the renewal of controlling models etc., thereby cause the software of entire car controller often need write with a brush dipped in Chinese ink again.
Tradition is cumbersome through writing with a brush dipped in Chinese ink of BDM (Background Debugging Mode) interface, because the BDM interface generally all is placed on the automobile controller enclosure in hardware designs, mainly is convenient to program debug; So want to write with a brush dipped in Chinese ink through the BDM interface, have only dismantled the entire car controller shell after, just can write with a brush dipped in Chinese ink; Suitable wastes time and energy; In the face of large quantities of automobile controllers of having loaded onto car, carry out software refreshing, progress is quite slow.
Summary of the invention
The present invention has designed a kind of pure electric automobile entire car controller refresh tool and method for refreshing; The technical matters of its solution is the mode that tradition refreshes through the BDM interface, have only dismantled the entire car controller shell after, just can write with a brush dipped in Chinese ink; Suitable wastes time and energy; In the face of large quantities of automobile controllers of having loaded onto car, carry out software refreshing, progress is quite slow; Refresh through instruments such as INCA in addition, refresh rate is slower, and configuration is comparatively complicated.
In order to solve the technical matters of above-mentioned existence, the present invention has adopted following scheme:
A kind of pure electric automobile entire car controller refresh tool is characterized in that: between entire car controller and host computer, be provided with a refresh tool.
Further, said refresh tool mainly comprise have the USB chip, microcontroller chip and CAN transceiver; Wherein, the USB chip has usb data changes the function of parallel port data and microcontroller chip and host computer is carried out exchanges data; Microcontroller chip sends and receives CAN message to the CAN transceiver; There are two communication lines of CANH and CANL between CAN transceiver and the entire car controller.
Further, said USB chip is the FT245BL chip, and said microcontroller chip is the Mpc5607b master chip, and said CAN transceiver is the JTA1050 transceiver.
A kind of method for refreshing of pure electric automobile entire car controller refresh tool may further comprise the steps:
Step 1, choose through upper computer software and will brush the executable file of waiting to refresh in the entire car controller, give the FT245BL chip with data transmission through usb bus;
Step 2, FT245BL chip are passed to the Mpc5607b master chip with data through 8 tunnel parallel ports; Master chip changes through the RXF# pin level of FT245BL chip; The parallel port data are read collection; And with the data of the data of gathering as CAN message, the JTA1050 transceiver through CAN passes to entire car controller to be refreshed;
Step 3, entire car controller to be refreshed receive the CAN message of sending, and make corresponding response; The response of making is passed through the CAN bus with the form of CAN message, is received by the Mpc5607b master chip;
Step 4, Mpc5607b master chip convert the data in the CAN message data of 8 tunnel parallel ports to again, through the level of TXE# pin of monitoring FT245BL, on the com port that data transmission is invented to USB;
The data of step 5, upper machine-readable com port judge whether entire car controller feedback data to be refreshed is correct, whether can carry out next step refresh operation.
This pure electric automobile entire car controller refresh tool and method for refreshing have following beneficial effect:
The present invention has overcome the trouble of dismounting controller when BDM writes with a brush dipped in Chinese ink,, link to each other with entire car controller through the diagnostics lines that has the CAN interface; Going up USB interface through PC supplies power to refresh tool; And the USB mouth is invented com port carry out data transmission, directly refresh through the CAN communication, convenient and swift.
Description of drawings
Fig. 1: the hardware of pure electric automobile entire car controller refresh tool of the present invention connects synoptic diagram;
Fig. 2: pure electric automobile entire car controller refresh tool working procedure process flow diagram of the present invention.
Embodiment
Below in conjunction with Fig. 1 and Fig. 2, the present invention is further specified:
As shown in Figure 1:
(1) chooses through upper computer software and will brush the executable file of waiting to refresh in the entire car controller, give the FT245BL chip with data transmission through usb bus;
(2) the FT245BL chip is passed to the Mpc5607b master chip with data through 8 tunnel parallel ports; Master chip changes through the RXF# pin level of FT245BL chip; The parallel port data are read collection; And with the data of the data of gathering as CAN message, the JTA1050 transceiver through CAN passes to entire car controller to be refreshed;
(3) entire car controller to be refreshed receives the CAN message of sending, and makes corresponding response; The response of making is passed through the CAN bus with the form of CAN message, is received by the Mpc5607b master chip;
(4) the Mpc5607b master chip converts the data in the CAN message data of 8 tunnel parallel ports to again, through the level of TXE# pin of monitoring FT245BL, on the com port that data transmission is invented to USB;
(5) data of upper machine-readable com port judge whether entire car controller feedback data to be refreshed is correct, whether can carry out next step refresh operation.
Specifically:
1, the FT245BL chip invents com port;
Chip in the pure electric automobile entire car controller refresh tool hardware is FT245BL chip and Freescale Mpc5607b master chip.When refresh tool was linked on the computer through the USB mouth, computer can be checked through a kind of new hardware, promptly has been checked through the FT245BL chip, and this moment, the drive installation with this chip got final product.When in use, can that USB mouth that refresh tool is connected with computer be invented com port uses.
2, upper computer software and FT245BL set up communication;
Upper computer software is write through VC++6.0, realizes the communication with the FT245BL chip through the comm control.Upper computer software is selected to write with a brush dipped in Chinese ink the executable file (like the file of .s19 form) in the entire car controller; Click refresh button; To read the data of executable file then; Form with CAN message data is combined into one group of data, is passed in the refresh tool hardware through the USB oral instructions, and whether the variation of the master chip in the refresh tool hardware through FT245BL chip RXF# pin level can be checked through has data transmission to come.
Upper computer software is MFC (the Microsoft Foundation Classes) program that adopts VC++ 6.0 to write, and mainly is reception and the transmission that realizes com port (COM) data; The refresh tool bottom software mainly comprises the driving of CAN communication, the read-write of FT245BL chip data, and the conversion of parallel port data and CAN data.
3, receive parallel port data and convert CAN message data form to;
The Mpc5607b master chip can be carried out from FT245BL reception data or to the FT245BL write data according to reception, the transmission chip selection signal of FT245BL chip.When host computer was passed to refresh tool with data through the USB oral instructions, the RXF# pin level of FT245BL chip changed.The Mpc5607b master chip changes according to this, and the parallel port data are read collection, 8 tunnel parallel port data is done merge to be handled then, and be stored in a length and be in 8 the variable, and with the data storage of this variable as CAN message.
4, the Mpc5607b master chip sends and receives CAN message;
The Mpc5607b master chip will pass through the CAN communication with the parallel port data of CAN message data storage, pass to entire car controller to be refreshed; Entire car controller to be refreshed receives the CAN message data that has transformed, and to this CAN message, makes corresponding response.The response of making is passed through the CAN bus with the form of CAN message, is received by the refresh tool master chip.
5, CAN message data converts the parallel port data to;
The Mpc5607b master chip converts the data in the CAN message data of 8 tunnel parallel ports to again, and the level of the TXE# pin through monitoring FT245BL chip is on the com port that data transmission is invented to USB.
6, host computer receives data and handles;
The data of upper machine-readable com port judge that whether entire car controller feedback data to be refreshed is correct, whether can carry out next step refresh operation, does different responses according to condition of different.
If the data of returning are correct, then carry out next step data transmission, up to the whole end of transmissions of this executable file that will write with a brush dipped in Chinese ink; If the data of returning are incorrect, then refresh and stop, according to stopping at, which refreshes the stage, report different informations.
As shown in Figure 2, program circuit of the present invention is following:
(1) numeral input and output of initialization Mpc5607b master chip and CAN driver;
(2) the Mpc5607b master chip judges through the RXF# signal of FT245BL chip whether host computer has data to send to refresh tool;
(3) if host computer has data to send to refresh tool, the Mpc5607b master chip is merged into a byte with the data that 8 tunnel parallel ports receive, and the data that will receive continuously are put among the array ParallelData [];
(4) with the data of the data in the ParallelData [] array, send to entire car controller as CAN message;
(5) the Mpc5607b master chip receives the CAN message of the feedback that entire car controller to be refreshed provides;
(6) the CAN message data with feedback unpacks, and is put into successively among the CanReceiveData [];
(7) the Mpc5607b master chip is judged the TXE# signal of FT245BL chip, determines whether to transmit data;
(8) if the Mpc5607b master chip is confirmed the transmission data, the Mpc5607b master chip is transferred to the FT245BL chip with data among the CanReceiveData [] through the parallel port;
(9) on the com port that the FT245BL chip invents the parallel port data to the FT245BL chip through the USB oral instructions, supply host computer to receive;
(10) host computer judges whether the data that receive are correct; If incorrect, will give through message box etc. and refresh personnel relevant error message is provided;
(11) if correct, host computer will be carried out next step refresh operation, judge whether data are sent completion;
(12) if judgment data has been sent completion, refresh end; If judgment data is not sent completion, data are transferred to refresh tool through the com port that the FT245BL chip invents, and the program of getting back to occur again and handle in (2).
Combine accompanying drawing that the present invention has been carried out exemplary description above; Obvious realization of the present invention does not receive the restriction of aforesaid way; As long as the various improvement of having adopted method design of the present invention and technical scheme to carry out; Or design of the present invention and technical scheme are directly applied to other occasion without improving, all in protection scope of the present invention.

Claims (4)

CN2012100650034A2012-01-132012-01-13Pure electric vehicle carload controller refreshing instrument and refreshing methodPendingCN102621950A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2012100650034ACN102621950A (en)2012-01-132012-01-13Pure electric vehicle carload controller refreshing instrument and refreshing method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2012100650034ACN102621950A (en)2012-01-132012-01-13Pure electric vehicle carload controller refreshing instrument and refreshing method

Publications (1)

Publication NumberPublication Date
CN102621950Atrue CN102621950A (en)2012-08-01

Family

ID=46561915

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2012100650034APendingCN102621950A (en)2012-01-132012-01-13Pure electric vehicle carload controller refreshing instrument and refreshing method

Country Status (1)

CountryLink
CN (1)CN102621950A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105426201A (en)*2015-10-302016-03-23奇瑞汽车股份有限公司Control method for refreshing monitoring chip
CN106682519A (en)*2017-01-042017-05-17重庆长安汽车股份有限公司Method and system for remotely flashing vehicle controller program
CN106998281A (en)*2017-04-052017-08-01北京汽车研究总院有限公司A kind of data update processing method, device, gateway controller and automobile
CN108647031A (en)*2018-01-262018-10-12上海仪电汽车电子系统有限公司Automobile instrument writes with a brush dipped in Chinese ink method and host computer online

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN2584442Y (en)*2002-12-062003-11-05北方交通大学Matching calibrating device for power assembly system of mixed power electric vehicle
US20100010704A1 (en)*2008-07-112010-01-14Toyota Jidosha Kabushiki KaishaDegradation determining apparatus for power storage device and degradation determining method for power storage device
CN101850799A (en)*2010-05-312010-10-06重庆长安汽车股份有限公司Controller FLASH programming method based on hybrid electric vehicle CAN bus communication
CN202110528U (en)*2010-12-282012-01-11重庆恩菲斯软件有限公司ECU (electrical conversion unit) embedded type software refreshing and downloading programming system
CN102320276A (en)*2011-07-052012-01-18张化锴Pure electric automobile entire car controller calibration system and calibration method based on the CAN bus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN2584442Y (en)*2002-12-062003-11-05北方交通大学Matching calibrating device for power assembly system of mixed power electric vehicle
US20100010704A1 (en)*2008-07-112010-01-14Toyota Jidosha Kabushiki KaishaDegradation determining apparatus for power storage device and degradation determining method for power storage device
CN101850799A (en)*2010-05-312010-10-06重庆长安汽车股份有限公司Controller FLASH programming method based on hybrid electric vehicle CAN bus communication
CN202110528U (en)*2010-12-282012-01-11重庆恩菲斯软件有限公司ECU (electrical conversion unit) embedded type software refreshing and downloading programming system
CN102320276A (en)*2011-07-052012-01-18张化锴Pure electric automobile entire car controller calibration system and calibration method based on the CAN bus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105426201A (en)*2015-10-302016-03-23奇瑞汽车股份有限公司Control method for refreshing monitoring chip
CN105426201B (en)*2015-10-302019-03-12奇瑞汽车股份有限公司A kind of control method refreshing monitoring chip
CN106682519A (en)*2017-01-042017-05-17重庆长安汽车股份有限公司Method and system for remotely flashing vehicle controller program
CN106998281A (en)*2017-04-052017-08-01北京汽车研究总院有限公司A kind of data update processing method, device, gateway controller and automobile
CN106998281B (en)*2017-04-052020-09-01北京汽车集团越野车有限公司Data updating processing method and device, gateway controller and automobile
CN108647031A (en)*2018-01-262018-10-12上海仪电汽车电子系统有限公司Automobile instrument writes with a brush dipped in Chinese ink method and host computer online

Similar Documents

PublicationPublication DateTitle
CN101345629B (en) A Dual Fieldbus Interface Converter
CN101937205B (en)Novel portable PLC (Programmable Logic Controller) programming device
CN108228513B (en)Intelligent serial port communication device based on FPGA framework
CN100504688C (en) A dedicated chip to realize the function of the bus controller in the ring bus numerical control system
CN103279118B (en)The real-time mark system of a kind of integral new-energy passenger multiple units cooperative control device
CN201583832U (en)Novel portable PLC programming device
CN103823776A (en)Unibus in communication with master equipment and slave equipment and communication method
CN101794152A (en)Embedded controller with LVDS serial interface and control method thereof
CN102710478A (en)Integration slave node device of Profibus-DP (profibus-data processing) and Modbus
CN101359303A (en) Device and debugging method for online debugging microcontroller and its peripheral devices
CN101839969A (en)Satellite communication 1553B ground detection system and detection method thereof
CN102621950A (en)Pure electric vehicle carload controller refreshing instrument and refreshing method
CN203720837U (en)Unibus for master-slave device communication
CN118915689A (en)Test method, test system, test equipment and readable storage medium
CN201863869U (en)Train simulation system based on MVB (multifunction vehicle bus) network
CN101876825B (en)Human-computer interface device of small PLC
CN201804248U (en) motion control card
CN100487615C (en)Single-line two-way communication method of reorganizable controller
CN201312329Y (en)LON-CAN gateway device taking AT89C51 as processing unit
CN101478453A (en)Handhold portable CANOPEN network data analyzer and controlling method thereof
CN101888335A (en) A kind of CAN bus-bluetooth intelligent network bridge
CN200997073Y (en)Universal digital-controlled system based on digital ring bus
CN103151978A (en)Driving controller for Ethernet stepping motor
CN201757857U (en)Can bus communication monitoring analyzer
CN102622937A (en)Robot demonstrator

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C12Rejection of a patent application after its publication
RJ01Rejection of invention patent application after publication

Application publication date:20120801


[8]ページ先頭

©2009-2025 Movatter.jp