CN102621977A - Intelligent online diagnosis calibration controller for ECU (electronic control unit) - Google Patents

Intelligent online diagnosis calibration controller for ECU (electronic control unit) Download PDF

Info

Publication number
CN102621977A
CN102621977A CN2012100840912A CN201210084091A CN102621977A CN 102621977 A CN102621977 A CN 102621977A CN 2012100840912 A CN2012100840912 A CN 2012100840912A CN 201210084091 A CN201210084091 A CN 201210084091A CN 102621977 A CN102621977 A CN 102621977A
Authority
CN
China
Prior art keywords
controller
ecu
usb
diagnosis
chip microprocessor
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
CN2012100840912A
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.)
Wanxiang Qianchao Co Ltd
Wanxiang Group Corp
Original Assignee
Wanxiang Qianchao Co Ltd
Wanxiang Group Corp
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 Wanxiang Qianchao Co Ltd, Wanxiang Group Corp filed Critical Wanxiang Qianchao Co Ltd
Priority to CN2012100840912A priority Critical patent/CN102621977A/en
Publication of CN102621977A publication Critical patent/CN102621977A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to an intelligent online diagnosis calibration controller for an ECU (electronic control unit), which is connected between a portable upper computer and the ECU and comprises a single-chip microprocessor and a power management unit. The single-chip microprocessor is connected with a USB (universal serial bus) interface through a USB controller to realize functions of an auxiliary USB device, an SCI (serial communication interface) controller integrated in the single-chip microprocessor is connected with a K-Line transceiver to implement diagnosis and calibration protocol based on K-Line, and a CAN (controller area network) 2.0 standard controller integrated in the single-chip microprocessor is connected with a CAN transceiver to implement diagnosis and calibration communication of a CAN2.0 protocol standard. The intelligent online diagnosis calibration controller has the advantages that the intelligent online diagnosis calibration controller which is portable, low in cost and universal is applicable to automobile ECUs, the controller used with upper computer human-computer interaction software program can realize multiple functions of online diagnosis, calibration, software upgrading and maintenance, and the like of ECU, and the controller is compatible to ECU systems applicable to K-line and CAN bus interfaces.

Description

Controller is demarcated in a kind of intelligent ECU inline diagnosis
Technical field
Controller is used in the inline diagnosis, demarcation, the maintenance that the present invention relates to a kind of electric-control system, mainly is that controller is demarcated in a kind of intelligent ECU inline diagnosis.
Background technology
Along with the fast development of automotive electronic technology, the performance of automobile also more and more relies on the development of automotive electronic technology, and automotive electronics also will lead automobile towards environmental protection, safe, energy-conservation, economic and networked trend development.
Automobile electric control system (ECU) popularizing on automobile, the diagnosis of ECU, maintenance and software upgrading be constantly development also.No matter be the parameter calibration at ECU research and development test period, the software maintenance upgrading still is fault diagnosis and function renewal after the entrucking, all needs specific system tool.Some big automobile main frame maker develop the diagnosis maintenance system based on OBD standard of a cover to vehicle own for this reason specially, and such cover system only to its serial vehicle, does not have versatility, also can't use in the development of ECU simultaneously.Based on the diagnostic system of CAN bus or Kline bus, be characterized in only being directed against the ECU controller system of CAN bus or any interface of Kline line, and have only diagnostic function in the prior art, the more single while of function ratio does not have versatility.
Summary of the invention
The objective of the invention is to overcome the deficiency of existing system,, provide a kind of intelligent ECU inline diagnosis portable, low-cost, versatility to demarcate controller simultaneously to the characteristics of automobile ECU research and development test and the maintenance of the fault diagnosis in later stage.
The objective of the invention is to accomplish through following technical scheme.Controller is demarcated in this intelligent ECU inline diagnosis; This controller is connected portable host computer with between the ECU; Comprise chip microprocessor and PMU; Chip microprocessor is connected with USB interface through the USB controller, adopts 8 chip microprocessors to realize the function of the secondary equipment of USB with USB1.1 standard embedded controller; The inner integrated SCI controller of chip microprocessor is connected with the K-Line transceiver, is used to realize the diagnosis and demarcation agreement based on the K-Line line; The inner integrated CAN2.0 standard controller of chip microprocessor is connected with the CAN transceiver, is used to realize that the diagnosis to the CAN2.0 consensus standard communicates by letter with demarcation.
Described chip microprocessor is connected with the BDM interface with power supply/relay indicating light, mode selection switch respectively.Through power supply and the working condition that LED light is come display controller, what be designed with simultaneously that hardware mode switch and software pattern judge that dual mode discerns that the ECU system of current access adopts is CAN2.0 or K-Line agreement.
Intelligent ECU inline diagnosis provided by the invention is demarcated controller and is adopted the USB1.1 standard criterion to communicate with portable host computer; Speed can reach 12Mbps at full speed; And therefore current popular auto communication interface CAN2.0 standard criterion flank speed can satisfy the requirement of current vehicle traffic rate fully at 1Mbps when realizing the communication of USB commentaries on classics CAN.
Intelligent ECU inline diagnosis provided by the invention is demarcated controller and is adopted the USB interface power supply, and WV 3.3V, working current have low-power consumption, low cost, characteristics such as general and portable about 50mA.
Intelligent ECU inline diagnosis provided by the invention is demarcated the software of controller and is realized comprising the Physical layer of CAN2.0 bus and the data protocol of link layer, therefore can be common to the diagnosis of different application protocol specification and demarcate agreement.Just can realize ECU automatic software updating function as long as revise host computer a little simultaneously to the different model processor, very convenient for the modification and the later maintenance of software.
Beneficial effect of the present invention is: provide a kind of intelligent automobile ECU on-line proving diagnosis portable, low-cost, versatility to safeguard controller; Be used to be connected portable host computer with between the ECU; Cooperate host computer man-machine interaction software program can realize multi-usage functions such as inline diagnosis, demarcation and software upgrading maintenance, can compatible be applicable to the ECU system of Kline line and CAN EBI simultaneously ECU.
Description of drawings
Fig. 1 is that the controller principle block diagram is demarcated in intelligent ECU inline diagnosis;
Fig. 2 is that the controller software workflow diagram is demarcated in intelligent ECU inline diagnosis;
Fig. 3 is the secondary device enumeration process flow diagram of USB that controller is demarcated in intelligent ECU inline diagnosis.
Embodiment
To combine accompanying drawing that the present invention is done detailed introduction below:
Shown in accompanying drawing 1, controller is demarcated in the intelligent ECU inline diagnosis of the present invention, and hardware is made up of element circuits such as USB interface and controller, PMU, BDM interface, chip microprocessor, Kline transceiver and CAN transceivers.Wherein the function of PMU realization is to obtain 5.0V system power supply from USB interface, offers controller device through the LDO linear voltage stabilization to 3.3V; , system's insertion USB interface produces the single-chip microcomputer reliable reset of reset signal when obtaining power supply to controller; The hardware watchdog circuit is a hardware measure of being responsible for the work of supervisory control device reliable and stable, can make system's forced resetting when hardware watchdog appears when unusual in single-chip microcomputer; System clock circuit provides reliable and stable frequency of operation to controller.8 single-chip microcomputer MC9S08DZ32 of chip microprocessor unit preferred Freescale company, inner integrated SCI and CAN2.0 controller and interface can be realized Kline and CAN2.0 standard traffic through Kline and CAN transceiver and a spot of components and parts; IO interface control power supply/work LED light and model selection exploitation through the MC9S08DZ32 single-chip microcomputer; The BDM interface is the software programming interface of single-chip microcomputer.
The SL811HS chip of the preferred CYPRESS of USB controller company, the SL811HS controller meets the USB1.1 consensus standard, its inner integrated SIE (Serial interface engine) and USB controller.The logical transition of differential level physical characteristics on the hot-swappable identification of SIE SIE realization USB interface and the usb bus; The USB controller is realized the data communication with the embedded scm bus mode, and the USB controller of preferred version of the present invention passes through GPIO mouth analog data line, chip select line, address wire and the read-write control line of MC9S08DZ32 single-chip microcomputer to realize the bus communication to the USB controller with the communication of single-chip microcomputer.
Shown in accompanying drawing 2, the software workflow figure of controller is demarcated in intelligent ECU inline diagnosis of the present invention.Main completion system and Peripheral Interface initialization, the identification of ECU communication pattern, usb protocol change tasks such as CAN agreement and usb protocol commentaries on classics Kline data layout.After the controller USB interface powers on; The low level reset signal that the reset pin of power management chip produces a 20ms makes the chip microprocessor reliable reset to original state; This moment, the program pointer of software pointed to the reset vector address, program pointer was pointed to the first address of master routine through the executive system boot; This moment, system began to carry out the kernel system clock of single-chip microcomputer, initialization such as timer and mode of operation; Comprise the initialization of external interfaces such as SCI (serial communication interface), CAN and USB after the completion.
After software program was accomplished initialized parameters configuration, the enumeration procedure that gets into the secondary equipment of USB was the process flow diagram that USB enumerates like Fig. 3.Enumerating of USB device will be passed through power-up state, default conditions, address state and configuration status one of four states process altogether; Mainly be that the various command that response host computer USB main equipment sends is also given main USB device through control end points transmission proper configuration data; A series of layoutprocedures such as transmission of Information affirmation such as the control of completion such as transfer rate, device address configuration, device descriptor and configuration descriptor, secondary equipment is just registered on the host computer main equipment after accomplishing; Host computer could carry out batch or blocks of data transmission through USB interface with controller after the enumeration succeeds.
As shown in Figure 2, the task of controller software major cycle mainly is to handle the usb data bag that host computer sends, and according to the encapsulation of packing of the CAN bus of ECU or Kline agreement, handles the agreement of ECU feedback then and sends packet to ECU behind the resolution data bag.Because controller software is when communicating by letter with ECU; Only need accomplish protocol analysis processing procedure based on the data link layer of CAN bus or Kline wire protocol; Therefore the agreement that does not relate to the ADVANCED APPLICATIONS layer is demarcated agreement like the CCP based on the CAN bus or based on the KWP200 diagnosing protocol of K line, so the characteristics that controller has versatility are demarcated in intelligent ECU inline diagnosis provided by the invention.
Except that the foregoing description, all employings are equal to the technical scheme of replacement or equivalent transformation formation, all drop on the protection domain of requirement of the present invention.

Claims (2)

1. controller is demarcated in an intelligent ECU inline diagnosis; It is characterized in that: this controller is connected portable host computer with between the ECU; Comprise chip microprocessor and PMU, chip microprocessor is connected with USB interface through the USB controller, is used to realize the function of the secondary equipment of USB; The inner integrated SCI controller of chip microprocessor is connected with the K-Line transceiver, is used to realize the diagnosis and demarcation agreement based on the K-Line line; The inner integrated CAN2.0 standard controller of chip microprocessor is connected with the CAN transceiver, is used to realize that the diagnosis to the CAN2.0 consensus standard communicates by letter with demarcation.
2. controller is demarcated in intelligent ECU inline diagnosis according to claim 1, and it is characterized in that: described chip microprocessor is connected with the BDM interface with power supply/relay indicating light, mode selection switch respectively.
CN2012100840912A 2012-03-27 2012-03-27 Intelligent online diagnosis calibration controller for ECU (electronic control unit) Pending CN102621977A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100840912A CN102621977A (en) 2012-03-27 2012-03-27 Intelligent online diagnosis calibration controller for ECU (electronic control unit)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100840912A CN102621977A (en) 2012-03-27 2012-03-27 Intelligent online diagnosis calibration controller for ECU (electronic control unit)

Publications (1)

Publication Number Publication Date
CN102621977A true CN102621977A (en) 2012-08-01

Family

ID=46561942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100840912A Pending CN102621977A (en) 2012-03-27 2012-03-27 Intelligent online diagnosis calibration controller for ECU (electronic control unit)

Country Status (1)

Country Link
CN (1) CN102621977A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103885436A (en) * 2014-03-11 2014-06-25 深圳市朗仁科技有限公司 Handheld type system for reading, programming and recalibrating ECU of diesel engine and method thereof
CN104699083A (en) * 2015-03-31 2015-06-10 北京经纬恒润科技有限公司 Method and system for measuring electronic control unit (ECU)
CN104793975A (en) * 2015-04-29 2015-07-22 北京经纬恒润科技有限公司 Method and device for updating application programs in electronic control units
CN109976307A (en) * 2019-02-28 2019-07-05 陕西法士特齿轮有限责任公司 A kind of control diagnostic device based on vehicle
CN112799370A (en) * 2019-10-28 2021-05-14 广州汽车集团股份有限公司 Control device, and vehicle-mounted system software restoration method and system
CN113590143A (en) * 2021-08-03 2021-11-02 北京宇系航通科技有限公司 MCU program downloading method based on USB, electronic equipment and storage medium
CN114815783A (en) * 2022-05-20 2022-07-29 奇瑞商用车(安徽)有限公司 PCAN-based UDS diagnosis upper computer

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060235594A1 (en) * 2002-09-16 2006-10-19 Eckehard Knoefler Method and computer system for operating at least two interconnencted control device
CN101017601A (en) * 2006-12-08 2007-08-15 天津大学 A system used for electric-controlled vehicle radio remote monitoring, marking and failure diagnosis
CN201004013Y (en) * 2006-09-04 2008-01-09 北京经纬恒润科技有限公司 Car diagnosis system
US20100293081A1 (en) * 2008-01-05 2010-11-18 Jun Liu Device and method for reading, registering and analyzing data of automobile ECU
CN201724819U (en) * 2010-05-31 2011-01-26 清华大学 Electronic controlled engine matching calibration system
CN201805439U (en) * 2010-10-14 2011-04-20 南京信息工程大学 Portable vehicle diagnosis system
CN202512434U (en) * 2012-03-27 2012-10-31 万向钱潮股份有限公司 Intelligent electronic control unit (ECU) online diagnostics calibration controller

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060235594A1 (en) * 2002-09-16 2006-10-19 Eckehard Knoefler Method and computer system for operating at least two interconnencted control device
CN201004013Y (en) * 2006-09-04 2008-01-09 北京经纬恒润科技有限公司 Car diagnosis system
CN101017601A (en) * 2006-12-08 2007-08-15 天津大学 A system used for electric-controlled vehicle radio remote monitoring, marking and failure diagnosis
US20100293081A1 (en) * 2008-01-05 2010-11-18 Jun Liu Device and method for reading, registering and analyzing data of automobile ECU
CN201724819U (en) * 2010-05-31 2011-01-26 清华大学 Electronic controlled engine matching calibration system
CN201805439U (en) * 2010-10-14 2011-04-20 南京信息工程大学 Portable vehicle diagnosis system
CN202512434U (en) * 2012-03-27 2012-10-31 万向钱潮股份有限公司 Intelligent electronic control unit (ECU) online diagnostics calibration controller

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103885436A (en) * 2014-03-11 2014-06-25 深圳市朗仁科技有限公司 Handheld type system for reading, programming and recalibrating ECU of diesel engine and method thereof
CN104699083A (en) * 2015-03-31 2015-06-10 北京经纬恒润科技有限公司 Method and system for measuring electronic control unit (ECU)
CN104699083B (en) * 2015-03-31 2017-05-17 北京经纬恒润科技有限公司 Method and system for measuring electronic control unit (ECU)
CN104793975A (en) * 2015-04-29 2015-07-22 北京经纬恒润科技有限公司 Method and device for updating application programs in electronic control units
CN104793975B (en) * 2015-04-29 2019-02-19 北京经纬恒润科技有限公司 The update method and device of application program in electronic control unit
CN109976307A (en) * 2019-02-28 2019-07-05 陕西法士特齿轮有限责任公司 A kind of control diagnostic device based on vehicle
CN112799370A (en) * 2019-10-28 2021-05-14 广州汽车集团股份有限公司 Control device, and vehicle-mounted system software restoration method and system
CN112799370B (en) * 2019-10-28 2022-04-29 广州汽车集团股份有限公司 Control device, and vehicle-mounted system software restoration method and system
CN113590143A (en) * 2021-08-03 2021-11-02 北京宇系航通科技有限公司 MCU program downloading method based on USB, electronic equipment and storage medium
CN113590143B (en) * 2021-08-03 2023-11-17 北京北航天宇长鹰无人机科技有限公司 MCU program downloading method based on USB, electronic equipment and storage medium
CN114815783A (en) * 2022-05-20 2022-07-29 奇瑞商用车(安徽)有限公司 PCAN-based UDS diagnosis upper computer

Similar Documents

Publication Publication Date Title
CN102621977A (en) Intelligent online diagnosis calibration controller for ECU (electronic control unit)
CN101276488B (en) Vehicular recording instrument capable of implementing intelligent CAN bus communication
CN101309193B (en) USB-Flexray bus adapter based on micro-processor
CN103412562A (en) Commonly-used diagnostic test device for vehicle
CN105323328A (en) Automatic address identification method by utilizing MODBUS communication protocol on RS-485
CN202512434U (en) Intelligent electronic control unit (ECU) online diagnostics calibration controller
CN105224483B (en) Data transmission method, electronic equipment and universal serial bus device
CN102063747A (en) CAN data logger
CN107305526A (en) A kind of debugger for microcontroller
CN113437990B (en) Chip detector
CN201607724U (en) USB HUB supporting multi-threaded operation
CN204440127U (en) The entire car controller of the pure electric automobile of integrated gateway function
CN101846117B (en) Hydraulic cylinder performance test device
CN107807558A (en) Multibus communication card circuit and control method based on PCI9054
CN100533424C (en) Single line transmission interface and single byte operational keyboard display module
CN208873142U (en) A kind of FPGA development board
CN103985238A (en) Industrial production information acquisition and transmission terminal and method based on internet of things technology
CN202219734U (en) Embedded intelligent instrument for electric automobile
CN104155891B (en) I<2>C-based networked transmitter and communication implementation method thereof
CN203909780U (en) Vehicle remote upgrading device
CN202995829U (en) Road side unit monitoring equipment, road side unit and monitoring system
CN207318999U (en) Multibus communication card circuit based on PCI9054
CN104597833A (en) PLC protection system and method
CN201796120U (en) Integrated chip testing device based on ARM and CPLD
CN204166380U (en) A kind of vehicle multi-controller diagnostic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120801