CN102207871A - PC(personal computer)-end ECU (electronic control unit) debugging software based on K line and KWP2000 protocol - Google Patents

PC(personal computer)-end ECU (electronic control unit) debugging software based on K line and KWP2000 protocol Download PDF

Info

Publication number
CN102207871A
CN102207871A CN2011101568009A CN201110156800A CN102207871A CN 102207871 A CN102207871 A CN 102207871A CN 2011101568009 A CN2011101568009 A CN 2011101568009A CN 201110156800 A CN201110156800 A CN 201110156800A CN 102207871 A CN102207871 A CN 102207871A
Authority
CN
China
Prior art keywords
line
ecu
kwp2000
communication
debugging software
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
CN2011101568009A
Other languages
Chinese (zh)
Inventor
任学礼
陈超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN HAIBO RUIDE AUTOMOBILE TECHNOLOGY CO LTD
Original Assignee
SHENZHEN HAIBO RUIDE AUTOMOBILE TECHNOLOGY CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN HAIBO RUIDE AUTOMOBILE TECHNOLOGY CO LTD filed Critical SHENZHEN HAIBO RUIDE AUTOMOBILE TECHNOLOGY CO LTD
Priority to CN2011101568009A priority Critical patent/CN102207871A/en
Publication of CN102207871A publication Critical patent/CN102207871A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention relates to a PC(personal computer)-end ECU (electronic control unit) debugging software based on a K line and a KWP2000 protocol. The PC-end ECU debugging software is K-line host computer application software on a 32-bit ECU platform, a graphical user interface is designed based on DELPHI and is used for achieving the communication with the 32-bit ECU platform based on the KWP2000 protocol and the basic function (including reading of fault codes, data flows and freeze data frames) of a fault diagnosis instrument, and for simultaneously achieving the K-line program writing function. The K-line host computer application software comprises the following functions: serial communication, KWP2000 protocol testing, K-line fault diagnosis, data flows, executor testing and Flash programming.

Description

ECU debugging software based on the PC of K line and KWP2000 agreement end
Technical field
The present invention relates to a kind of ECU debugging software especially based on the debugging software of the PC of K line and WP2000 agreement end.
Background technology
ECU(Electronic Control Unit) electronic control unit claims " car running computer ", " vehicle-mounted computer " etc. again.From purposes then is the automobile specified microcomputerized controller, also is the automobile specified single-chip microcomputer.It is the same with common single-chip microcomputer, is made up of large scale integrated circuits such as microprocessor (CPU), storer (ROM,, RAM), input/output interface (I/O), analog to digital converter (A/D) and shaping, drivings.The function of ECU (Electrical Control Unit) is to carry out computing, processing, judgement according to the information that the program of its internal memory and data are taken into account various sensors inputs to air mass flow, output order then, and the electric impulse signal that certain width is provided to fuel injector is with the control distributive value.ECU (Electrical Control Unit) is made up of microcomputer, input, output and control circuit etc.
Engine ECU requires to have the OBD(onboard diagnostic system) record trouble generation information and time, each fault all has the diagnostic trouble code of standard on international standard, find diagnostic trouble code to be stored on the flash storer of ECU, need a fault diagnosis terminal, can keep in repair by the failure diagnostic apparatus Read fault, failure diagnostic apparatus and ECU connecting line are exactly the K line.The serial ports of K line on automotive electronics is SCI, and process K line conversion chip is MC33290.
The KWP2000 private communication protocol is that comparatively general serial communication protocol is used in present automobile failure diagnosis field, help the further exploitation of product, and have extremely strong versatility, guarantee that the electric-control system of exploitation can mate with vehicle motor and realize to produce in batches better.KWP2000 serial communication international standard (ISO/wD14230) is used to define the general requirement of the diagnostic system that connects based on serial data.It defers to IS07498 according to the basic reference model of open system interconnection (O.S.I), and its structure can resolve to the communication system of 7 sublayers.In the time of on being mapped to this model, the employed service of ECU can be divided into: Diagnosis Service (the 7th layer) and communication service (the 1st to the 6th layer).The ISO7498 international standard has been formulated the requirement of KWP2000 data link in detail, and this link is by with one or several being connected to finish diagnostic function with car electronic control unit and an off-line diagnostic equipment.KWP2000 comprises three parts: Physical layer; Data link layer, fault processing; The realization of Diagnosis Service (task layer).2.1 this part has described Physical layer based on ISO 9141, in order to realize the Physical layer of Diagnosis Service.It is according to the physical layer specifies of describing in IS0914l_2, but is extended to the clause that can satisfy the vehicle that 12V or 24V voltage are provided.2.2 this part has described master data link composition, data frame structure of communication protocol etc. data link layer, this Diagnosis Service allows a diagnostic equipment with the car electronic control unit (for example to be controlled at one, Electronic Fuel Injection (EFI), automatic gear-box, anti-lock braking system ...) in diagnostic function.These link together by serial data link with the car electronic control unit.
Summary of the invention
The objective of the invention is, a kind of 32 ECU platform K line host computer application software are provided, based on DELPHI design configuration user interface, be used to realize with 32 ECU platforms based on the communication of KWP2000 agreement and failure diagnostic apparatus basic function (comprising reading of diagnostic trouble code, data stream, freezing data frame), finish the K sequence of threads simultaneously and write with a brush dipped in Chinese ink function.
The function that K line host computer application software comprises: serial communication, KWP2000 protocol test, K line fault diagnosis, data stream, actuator test, Flash programming.
(1) serial communication has been realized the serial communication general utility functions, and serial ports attributes commonly used such as port, baud rate can be set, and carries out the universal serial port communication.In addition,, increase with 32 ECU and set up communication function, set up being connected of K line communication with ECU at project characteristic.
(2) the KWP2000 protocol test is primarily aimed at K line communication function and designs, and can realize communication with ECU according to the communication modes of KWP2000 agreement regulation.
(3) K line fault diagnosis is used to realize the fault diagnosis basic function, reads and analyze the ECU diagnostic trouble code, gives the relevant information that is out of order, the emulation car failure diagnostic apparatus.
(4) data stream is used to show Kwp2000 protocol specifies data stream, is used for the fast monitored of the central related data of ECU operation.
(5) the actuator test is used for the test of ECU associated actuator, emulation car failure diagnostic apparatus corresponding function.
(6) the Flash programming is used for K line Flash programming, realizes that Flash wipes, programming common functions such as Blank Check, Verify.
Description of drawings
Fig. 1 software function implementation.
Embodiment
Each function of software realizes at first triggering by message circulation, button as shown in Figure 1, starts timer timed sending data then, sends the back that finishes and receives data, last deal with data.In the serial communication general utility functions, by port button, baud rate button etc. are set, carry out the universal serial port communication, and increase to resolve and open the news button, disconnect K line communication with 32 ECU.P2, P4 and KWP2000 protocol command manually are set, different delay parameters can be set, carry out the communication test of K line KWP2000 agreement flexibly with ECU.In K line fault diagnosis panel, read the DTC(diagnostic trouble code by button) and carry out correlation analysis, Clear DTC (removing diagnostic trouble code) button is removed the DTC of ECU.Read FreezeData(reads the freezing data frame) read the freezing data frame that is stored in the ECU, and show relevant information, and Clear FreezeData(removes the freezing data frame) clear related display content.Begin image data stream by the Start button in the data stream function, constantly refresh demonstration, the Stop button stops data acquisition, and ClearList removes display list.When in the Flash programing function, programming, at first Erase wipes the FLASH of ECU, ECU enters programming mode, whether Blank Check button detects FLASH is empty, the Browse button is selected to write with a brush dipped in Chinese ink the run time version file, click the Program button and begin coding, after programming is finished, can click Verify button check programmed result.

Claims (8)

1. ECU debugging software based on the PC of K line and KWP2000 agreement end, it is characterized in that: based on DELPHI design configuration user interface, the function that K line host computer application software comprises: serial communication, KWP2000 protocol test, K line fault diagnosis, data stream, actuator test, Flash programming.
2. a kind of ECU debugging software of holding based on the PC of K line and KWP2000 agreement according to claim 1, it is characterized in that: serial communication has been realized the serial communication general utility functions, serial ports attributes commonly used such as port, baud rate can be set, carry out the universal serial port communication, increase with 32 ECU and set up communication function, set up being connected of K line communication with ECU.
3. a kind of ECU debugging software of holding based on the PC of K line and KWP2000 agreement according to claim 1, it is characterized in that: the KWP2000 protocol test is primarily aimed at K line communication function and designs, can realize communication with ECU according to the communication modes of KWP2000 agreement regulation.
4. a kind of ECU debugging software of holding based on the PC of K line and KWP2000 agreement according to claim 1, it is characterized in that: the KWP2000 protocol test is primarily aimed at K line communication function and designs, can realize communication with ECU according to the communication modes of KWP2000 agreement regulation.
5. a kind of ECU debugging software of holding based on the PC of K line and KWP2000 agreement according to claim 1, it is characterized in that: K line fault diagnosis is used to realize the fault diagnosis basic function, read and analyze the ECU diagnostic trouble code, give the relevant information that is out of order, the emulation car failure diagnostic apparatus.
6. a kind of ECU debugging software of holding based on the PC of K line and KWP2000 agreement according to claim 1, it is characterized in that: data stream is used to show Kwp2000 protocol specifies data stream, is used for the fast monitored of the central related data of ECU operation.
7. a kind of ECU debugging software of holding based on the PC of K line and KWP2000 agreement according to claim 1, it is characterized in that: the actuator test is used for the test of ECU associated actuator, emulation car failure diagnostic apparatus corresponding function.
8. a kind of ECU debugging software of holding based on the PC of K line and KWP2000 agreement according to claim 1, it is characterized in that: the Flash programming is used for K line Flash programming, realizes that Flash wipes, programming common functions such as Blank Check, Verify.
CN2011101568009A 2011-06-13 2011-06-13 PC(personal computer)-end ECU (electronic control unit) debugging software based on K line and KWP2000 protocol Pending CN102207871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101568009A CN102207871A (en) 2011-06-13 2011-06-13 PC(personal computer)-end ECU (electronic control unit) debugging software based on K line and KWP2000 protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101568009A CN102207871A (en) 2011-06-13 2011-06-13 PC(personal computer)-end ECU (electronic control unit) debugging software based on K line and KWP2000 protocol

Publications (1)

Publication Number Publication Date
CN102207871A true CN102207871A (en) 2011-10-05

Family

ID=44696719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101568009A Pending CN102207871A (en) 2011-06-13 2011-06-13 PC(personal computer)-end ECU (electronic control unit) debugging software based on K line and KWP2000 protocol

Country Status (1)

Country Link
CN (1) CN102207871A (en)

Cited By (5)

* 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
WO2017174245A1 (en) * 2016-04-04 2017-10-12 Robert Bosch Gmbh Method and server for testing a system combination
CN107797540A (en) * 2016-09-07 2018-03-13 上海汽车集团股份有限公司 TRANS PROGRAM method of testing, device and terminal
CN108803582A (en) * 2018-08-17 2018-11-13 广州瑞修得信息科技有限公司 A kind of bus automatic switchover system and method suitable for remote fault diagnosis
CN112885403A (en) * 2021-02-08 2021-06-01 山东云海国创云计算装备产业创新中心有限公司 Function test method, device and equipment of Flash controller

Cited By (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
WO2017174245A1 (en) * 2016-04-04 2017-10-12 Robert Bosch Gmbh Method and server for testing a system combination
CN107797540A (en) * 2016-09-07 2018-03-13 上海汽车集团股份有限公司 TRANS PROGRAM method of testing, device and terminal
CN107797540B (en) * 2016-09-07 2021-03-16 上海汽车集团股份有限公司 Transmission fault testing method and device and terminal
CN108803582A (en) * 2018-08-17 2018-11-13 广州瑞修得信息科技有限公司 A kind of bus automatic switchover system and method suitable for remote fault diagnosis
CN108803582B (en) * 2018-08-17 2021-01-12 广州瑞修得信息科技有限公司 Automatic bus switching system and method suitable for remote fault diagnosis
CN112885403A (en) * 2021-02-08 2021-06-01 山东云海国创云计算装备产业创新中心有限公司 Function test method, device and equipment of Flash controller
CN112885403B (en) * 2021-02-08 2023-07-14 山东云海国创云计算装备产业创新中心有限公司 Function test method, device and equipment of Flash controller

Similar Documents

Publication Publication Date Title
CN101807068B (en) Universal bus parallelism-based vehicle diagnosis system and method
CN108156055B (en) The detection method and device of OBD interface bus type
CN110377004B (en) Semi-virtual ECU (electronic control Unit) test system for vehicle and test method thereof
CN104635690B (en) Vehicle control unit of pure electric vehicle integrating gateway function
Reif Automotive Mechatronics
CN202974664U (en) Fault diagnostic apparatus for vehicle diesel engine
CN110233768B (en) UDS-based CAN bus test system and CAN bus test method
CN103345243A (en) Method and device for brushing vehicle electronic control unit program
CN102207871A (en) PC(personal computer)-end ECU (electronic control unit) debugging software based on K line and KWP2000 protocol
CN202975794U (en) Portable electric-control diesel engine ECU (Electronic Control Unit) writing system
CN102591327B (en) Virtual-real combined test method developed for automobile body control
Hu et al. Developing PC-based automobile diagnostic system based on OBD system
CN103455027A (en) Automobile ECU recovery system and recovery method
CN103778688A (en) Car operation data acquisition device based on car diagnosis technology
CN103020865A (en) Automotive engine individually-customized system and method
CN104331068B (en) A kind of test device based on electronic control unit
CN102943709B (en) Multifunctional engine control unit
CN104021662A (en) Apparatus, system and method for acquiring automobile running states based on automobile bus technology
CN103543739B (en) A kind of for verifying analogue system and the method for engine idle on off control
CN204440127U (en) Vehicle control unit of pure electric vehicle integrating gateway function
CN101673089A (en) Development platform of vehicle central control unit and control method thereof
CN203894742U (en) Programmer of automotive electric control unit (ECU)
CN113377085A (en) Vehicle decoder communication parameter analysis system
CN201229233Y (en) Automatic test and analysis system for automobile engine synthesis analyzer based on network
CN113253701B (en) Vehicle remote diagnosis system and method

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: 20111005