CN106338978A - CAN bus communication function test system and test method thereof - Google Patents

CAN bus communication function test system and test method thereof Download PDF

Info

Publication number
CN106338978A
CN106338978A CN201510388051.0A CN201510388051A CN106338978A CN 106338978 A CN106338978 A CN 106338978A CN 201510388051 A CN201510388051 A CN 201510388051A CN 106338978 A CN106338978 A CN 106338978A
Authority
CN
China
Prior art keywords
test
man
machine interface
bus
bus communication
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
CN201510388051.0A
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.)
HANGZHOU FUYANG HENGTAI AUTOMOBILE ELECTRIC Co Ltd
Original Assignee
HANGZHOU FUYANG HENGTAI AUTOMOBILE ELECTRIC 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 HANGZHOU FUYANG HENGTAI AUTOMOBILE ELECTRIC Co Ltd filed Critical HANGZHOU FUYANG HENGTAI AUTOMOBILE ELECTRIC Co Ltd
Priority to CN201510388051.0A priority Critical patent/CN106338978A/en
Publication of CN106338978A publication Critical patent/CN106338978A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols

Abstract

The invention belongs to the technical field of automotive electronics, and particularly relates to a CAN bus communication function test system and a test method thereof. The content of the invention comprises the CAN bus communication function test system, a fault diagnosis and test system and a test method. The CAN bus communication function test system is characterized in that the CAN bus communication function test system sends a bus signal to a man-machine interface, and the bus signal receives and parses the man-machine interface at the same time; a CANcaseXL communication box is adopted to act as a medium to perform transmitting and receiving in bus communication between an upper computer and a test product, and judgment on whether functions of the test product are normal or not is realized by using a CAPL programming language. The CAN bus communication function test system is high in transportability, that is, detection for different test products is realized, and the CAN bus communication function test system can be applicable to different test product by only changing related dbc files and diagnosis description files and performing simple adjustment in software of the upper computer. Secondly, the CAN bus communication function test system has good expandability.

Description

It is based on can Bus communication function test system and its method of testing
Technical field
The invention belongs to technical field of automotive electronics is and in particular to a kind of be based on can bus communication function test system and its method of testing.
Background technology
Become more and more popular with automatic air condition on Automobile Market, there is the trend progressively replacing manual air conditioner, the application of automotive air-conditioning controller can bus (controller area network) communication and the fault diagnosis based on can bus will be inevitable, but not have the can bus particular for automatic air conditioning controller of automobile and the fault diagnosis testing tool based on can bus in the market.
The detection test product of automotive air-conditioning controller does not much all have can(controller at present Area network) signal testing function.Because unpromising different ecu (electronic control unit) producer of vector company provides corresponding testing tool, so the simple canoe software with vector company and cancasexl to carry out can functional test comparatively cumbersome, and simplest can signal transmitting and receiving function can only be realized.
Content of the invention
The purpose of the present invention develops a special can bus communication and the fault diagnosis detecting system based on can bus and method of testing for automatic air conditioning controller of automobile, the developing instrument canoe being provided with German vector company based on this: comprise can Db++ editor (can bus data storehouse edit tool), panel design (Interface Development instrument), capl programming language and candela Studio (the diagnostic data library developing tool based on can bus), then develops according to the general utility functions that current air conditioning for automobiles controls, and formulates corresponding detection method.
The present invention includes can bus communication function test system, Fault Diagnosis and Test System and method of testing three parts content, Fig. 1 and Fig. 2 of testboard bay structure and host computer test system group prejudice Figure of description.
Can bus communication function test system:
Bus signals are sent man-machine interface by can bus functionality test system, and bus signals receive parsing man-machine interface.The bus communication of host computer and test product is used as medium and is received and dispatched by the cancasexl box that communicates, and realizes whether test product function normally judges using capl programming language.
Test process:
Step 1: configured different parameters: can bus communication species (being divided into high speed can and vulgar can) can bus communication speed, can bus communication database file (dbc file), can bus communication node for different test products.
Step 2: the can bus communication protocol (defined in dbc file) for different test products, each node is simulated by man-machine interface and sends Frame, the Frame that test product issues is parsed by man-machine interface simultaneously.
Step 3: the test product function according to client definition and demand, realize the whether normal function of discriminating test product can bus communication using capl programming language, can be further analyzed simultaneously.
Fault Diagnosis and Test System:
Fault diagnosis system supports that test is based on can line kwp2000 (keyword Protocol 2000) agreement and uds (unified diagnostic services) agreement tracing trouble test.
Test process:
Step 1: according to the customer demand of test product, diagnosis description file is set up by candela studio, i.e. diagnosing protocol database file (supporting cdd, odx, mdx file), and import test system.
Step 2: corresponding diagnosis request is sent by diagnostic test man-machine interface, man-machine interface shows the diagnostic feedback that test product issues simultaneously, judges whether normal (realization of capl programming language) of diagnostic function simultaneously.
Compared with prior art, beneficial effects of the present invention:
1st, the present invention is mainly based upon canoe software development human-computer interaction interface, completes the can bus communication to automatic air conditioning controller of automobile and based on the test of can line fault diagnosis, and whether complete automatic decision-making function normal.
2nd, the present invention is capable of the automatic test of automotive air-conditioning controller, and test speed significantly larger than manually test speed;Test accuracy is high, and this canoe software is able to record that the message of transmitting-receiving in test process, and generates test report, by the data of test report and record, being capable of labor test product function whether arbitration functions are normal;
3rd, the human-computer interaction interface in test product of the present invention is realized graphically, short and sweet, easy to operate.The inspector being not very clear even for can signal and test product function also can be through very short time, and the such as training of 10-20 minute can grasp method for testing and analyzing;Powerful again: this testing and analysis system is integrated with the function used in current mainstream automotive automatic air conditioning controller;
4th, it has been simultaneously introduced some logic judging functions, portable first strong: to realize to different detection test products, as long as the related dbc file of change and diagnosis description file, and do some in upper computer software and simply adjust, just it is applicable to different test products, next has extensibility well.
Brief description
Fig. 1 is the structural representation of the present invention;
Fig. 2 is man-machine interactive system composition schematic diagram in the present invention;
Reference: transmitted in both directions 1, can communication wire harness (comprising can_h and can_l line) 2, rat tail 3, power supply wire harness 4, rat tail 5.
Specific embodiment
The specific embodiment of the present invention is described as follows:
Present system introduction about the construction:
As shown in accompanying drawing Fig. 1: test system is by host computer test software, can communication interface card cancasexl, executing agency's (stepper motor, servomotor, air blast etc.), sensor, power supply, wire harness and test product composition.
System electrical connects description: pc machine is connected with cancasexl by usb line, and cancasexl is connected with test product by can_h and can_l, exchanges can signal data.Executing agency and sensor pass through wire harness and connect (connected mode of different executing agencies is all different) from test product, are powered to test product by regulated power supply.
Host computer test software: host computer test software is the core of the present invention, as shown in accompanying drawing Fig. 2, sends man-machine interface by can signal, can signal receives man-machine interface, functional test man-machine interface, fault diagnosis tests man-machine interface, diagnostic trouble code dtc (diagnostic Trouble code) read interface and signal transmitting and receiving display window composition.
Cancasexl:cancasexl is the can interface card test product of vector company, can carry out the transmitting-receiving of can data by usb interface by cancasexl.
Executing agency: executing agency comprises the related motor of air-conditioning controller function, air blast, compressor.Different test product configurations are also different, carry out to do suitable change during test product test, to meet test request.
Sensor: the sensor that different test products are configured is also different, can do suitable change to meet test request according to test product.
As shown in Figure 1, the present invention provides a kind of can bus communication function test system, including host computer, cancasexl communication box, Air-Conditioning Control Panel, sensor, power supply and executing agency, wherein: host computer is communicated with cancasexl the two-way electrical connection of box, cancasexl communication box and Air-Conditioning Control Panel two-way communication link, sensor is connected on Air-Conditioning Control Panel, and Air-Conditioning Control Panel is connected in executing agency, and described Air-Conditioning Control Panel is connected with power supply.
Wherein: 1) host computer comprises the fault diagnosis test man-machine interface based on can bus communication for the can bus communication functional test man-machine interface level;
2) cancasexl communication box is mainly as can bus communication transmission-receiving function;
3) execution structure is also different according to the different configuration of product with sensor;
4) power supply is regulated power supply.
In addition in accompanying drawing 1, the expression content of each numeral mark is: arrow 1 represents transmitted in both directions, arrow 2 represents can communication wire harness (wherein can communication wire harness comprises can_h and can_l line) 2, arrow 3 and arrow 5 all represent rat tail, and arrow 4 represents power supply wire harness.
As the test and diagnostic system in Fig. 2 includes can bus communication function test system and Fault Diagnosis and Test System;Based on the measuring method of can bus communication function test system, bus signals are sent man-machine interface by can bus functionality test system, and bus signals receive parsing man-machine interface simultaneously;The bus communication of host computer and test product is used as medium and is received and dispatched by the cancasexl box that communicates, and realizes whether test product function normally judges using capl programming language, finally carries out fault diagnosis test by Fault Diagnosis and Test System again;
Wherein: can bus functionality test process is as follows:
Step 1: configured different parameters: can bus communication species (being divided into high speed can and vulgar can) can bus communication speed, can bus communication database file (dbc file), can bus communication node for different test products;
Step 2: the can bus communication protocol (defined in dbc file) for different test products, each node is simulated by man-machine interface and sends Frame, the Frame that test product issues is parsed by man-machine interface simultaneously.
Step 3: the test product function according to client definition and demand, realize the whether normal function of discriminating test product can bus communication using capl programming language, can be further analyzed simultaneously;
In addition, Fault Diagnosis and Test System supports that test is the tracing trouble test based on can line kwp2000 (keyword protocol 2000) agreement and uds (unified diagnostic services) agreement;
Its concrete test process is as follows:
Step 1: according to the customer demand of test product, diagnosis description file is set up by candela studio, i.e. diagnosing protocol database file (supporting cdd, odx, mdx file), and import Fault Diagnosis and Test System;
Step 2: corresponding diagnosis request is sent by diagnostic test man-machine interface, man-machine interface shows the diagnostic feedback that test product issues simultaneously, judges whether normal (realization of capl programming language) of diagnostic function simultaneously.
3rd, the measuring method of the can bus communication function test system according to claim 2 is it is characterised in that described can bus communication function test system and Fault Diagnosis and Test System are electrically connected to each other with human-computer interaction interface respectively;Described human-computer interaction interface includes signal transmitting and receiving display window, can bus signals receive man-machine interface, can bus signals send man-machine interface, diagnostic test man-machine interface, functional test man-machine interface and diagnostic trouble code and read man-machine interface, wherein: can bus communication function test system is received man-machine interface, can bus signals transmission man-machine interface, diagnostic test man-machine interface, functional test man-machine interface and diagnostic trouble code respectively and reads man-machine interface and electrically connect with signal transmitting and receiving display window, can bus signals;
Fault Diagnosis and Test System receives man-machine interface with signal transmitting and receiving display window, can bus signals respectively, can bus signals send man-machine interface, diagnostic test man-machine interface, functional test man-machine interface and diagnostic trouble code reading man-machine interface electrically connect.
Above-described embodiment is the description of the invention, is not limitation of the invention, any belongs to protection scope of the present invention to the scheme after simple transformation of the present invention.

Claims (3)

1.can bus communication function test system, it is characterized in that, including host computer, cancasexl communication box, Air-Conditioning Control Panel, sensor, power supply and executing agency, wherein: host computer is communicated with cancasexl the two-way electrical connection of box, cancasexl communication box and Air-Conditioning Control Panel two-way communication link, sensor is connected on Air-Conditioning Control Panel, and Air-Conditioning Control Panel is connected in executing agency, and described Air-Conditioning Control Panel is connected with power supply.
2. it is characterised in that bus signals are sent man-machine interface by can bus functionality test system, bus signals receive parsing man-machine interface to the measuring method of the can bus communication function test system according to claim 1 simultaneously;The bus communication of host computer and test product is used as medium and is received and dispatched by the cancasexl box that communicates, and realizes whether test product function normally judges using capl programming language, finally carries out fault diagnosis test by Fault Diagnosis and Test System again;Wherein: can bus functionality test process is as follows:
Step 1: configured different parameters: can bus communication species, can bus communication speed, can bus communication database file, can bus communication node for different test products;
Step 2: for the can bus communication protocol of different test products, each node is simulated by man-machine interface and sends Frame, the Frame that test product issues is parsed by man-machine interface simultaneously;
Step 3: the test product function according to client definition and demand, realize the whether normal function of discriminating test product can bus communication using capl programming language, can be further analyzed simultaneously;
In addition, Fault Diagnosis and Test System supports that test is the tracing trouble test based on can line kwp2000 agreement and uds agreement;
Its concrete test process is as follows:
Step 1: according to the customer demand of test product, diagnosis description file, i.e. diagnosing protocol database file are set up by candela studio, and imports Fault Diagnosis and Test System;
Step 2: corresponding diagnosis request is sent by diagnostic test man-machine interface, man-machine interface shows the diagnostic feedback that test product issues simultaneously, judges the whether normal of diagnostic function simultaneously.
3. the measuring method of the can bus communication function test system according to claim 2 is it is characterised in that described can bus communication function test system and Fault Diagnosis and Test System are electrically connected to each other with human-computer interaction interface respectively;Described human-computer interaction interface includes signal transmitting and receiving display window, can bus signals receive man-machine interface, can bus signals send man-machine interface, diagnostic test man-machine interface, functional test man-machine interface and diagnostic trouble code and read man-machine interface, wherein: can bus communication function test system is received man-machine interface, can bus signals transmission man-machine interface, diagnostic test man-machine interface, functional test man-machine interface and diagnostic trouble code respectively and reads man-machine interface and electrically connect with signal transmitting and receiving display window, can bus signals;
Fault Diagnosis and Test System receives man-machine interface with signal transmitting and receiving display window, can bus signals respectively, can bus signals send man-machine interface, diagnostic test man-machine interface, functional test man-machine interface and diagnostic trouble code reading man-machine interface electrically connect.
CN201510388051.0A 2015-07-04 2015-07-04 CAN bus communication function test system and test method thereof Pending CN106338978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510388051.0A CN106338978A (en) 2015-07-04 2015-07-04 CAN bus communication function test system and test method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510388051.0A CN106338978A (en) 2015-07-04 2015-07-04 CAN bus communication function test system and test method thereof

Publications (1)

Publication Number Publication Date
CN106338978A true CN106338978A (en) 2017-01-18

Family

ID=57826896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510388051.0A Pending CN106338978A (en) 2015-07-04 2015-07-04 CAN bus communication function test system and test method thereof

Country Status (1)

Country Link
CN (1) CN106338978A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577215A (en) * 2017-07-31 2018-01-12 芜湖宏景电子股份有限公司 A kind of test system of simulated automotive electronic unit CAN functions
CN108183812A (en) * 2017-11-22 2018-06-19 中国北方发动机研究所(天津) A kind of diesel engine electric control system CAN bus emulation platform and its test method
CN110015085A (en) * 2018-09-29 2019-07-16 威马智慧出行科技(上海)有限公司 The analytic method and system of electric car DC charging
CN110162008A (en) * 2019-05-10 2019-08-23 中国汽车技术研究中心有限公司 A kind of new energy vehicle CAN bus analytic method
CN110618384A (en) * 2019-10-25 2019-12-27 四川诚邦浩然测控技术有限公司 Motor performance test platform
CN112051832A (en) * 2020-08-31 2020-12-08 安徽江淮汽车集团股份有限公司 Fault testing method, device and system based on simulation node and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102163056A (en) * 2010-02-23 2011-08-24 上海奉天电子有限公司 Test simulation instrument of automotive air conditioning controller
CN202495957U (en) * 2012-03-13 2012-10-17 中国汽车技术研究中心 Alternating layer test system used for vehicle CAN network communication
CN102890501A (en) * 2012-09-25 2013-01-23 北京智行鸿远汽车技术有限公司 Testing system of vehicle control unit of pure electric sedan
CN104536434A (en) * 2014-12-15 2015-04-22 华晨汽车集团控股有限公司 Vehicle network bus simulation and testing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102163056A (en) * 2010-02-23 2011-08-24 上海奉天电子有限公司 Test simulation instrument of automotive air conditioning controller
CN202495957U (en) * 2012-03-13 2012-10-17 中国汽车技术研究中心 Alternating layer test system used for vehicle CAN network communication
CN102890501A (en) * 2012-09-25 2013-01-23 北京智行鸿远汽车技术有限公司 Testing system of vehicle control unit of pure electric sedan
CN104536434A (en) * 2014-12-15 2015-04-22 华晨汽车集团控股有限公司 Vehicle network bus simulation and testing method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577215A (en) * 2017-07-31 2018-01-12 芜湖宏景电子股份有限公司 A kind of test system of simulated automotive electronic unit CAN functions
CN108183812A (en) * 2017-11-22 2018-06-19 中国北方发动机研究所(天津) A kind of diesel engine electric control system CAN bus emulation platform and its test method
CN110015085A (en) * 2018-09-29 2019-07-16 威马智慧出行科技(上海)有限公司 The analytic method and system of electric car DC charging
CN110162008A (en) * 2019-05-10 2019-08-23 中国汽车技术研究中心有限公司 A kind of new energy vehicle CAN bus analytic method
CN110618384A (en) * 2019-10-25 2019-12-27 四川诚邦浩然测控技术有限公司 Motor performance test platform
CN112051832A (en) * 2020-08-31 2020-12-08 安徽江淮汽车集团股份有限公司 Fault testing method, device and system based on simulation node and storage medium

Similar Documents

Publication Publication Date Title
CN106338978A (en) CAN bus communication function test system and test method thereof
CN101807068B (en) Universal bus parallelism-based vehicle diagnosis system and method
CN102890503B (en) A kind of controller CAN interface function Auto-Test System and method for testing and analyzing
CN103471621B (en) A kind of method of testing and testing apparatus being applicable to vehicle navigation multimedia terminal
CN104850114B (en) A kind of vehicle trouble analysis method and system
CN102681532B (en) Simulating test system for BCM (body control module)
CN103728968A (en) Automatic test system for CAN network and ECU functions
CN103543399B (en) A kind of automobile CAN-bus module automatic detection system of Based PC I board and method
CN108566323B (en) T-Box automated testing method and system
CN106341294B (en) Portable MVB protocol analysis equipment and MVB data processing method
CN102539955A (en) Automation testing system of vehicle-mounted multimedia
CN104980516A (en) Configurable method for multi-vehicle model body information acquisition system
CN203502040U (en) Test system for vehicle multimedia terminal
CN104483959A (en) Fault simulation and test system
CN105223844B (en) The master system that a kind of simulation UI interacts with parking assisting system
CN107370637B (en) Vehicle-mounted ECU communication function automatic test system and method
CN104182219A (en) Visualized testing method for battery pack system
CN105515911A (en) Gateway automatic test system and method of CAN network
CN203534602U (en) Testing equipment suitable for vehicle-mounted navigation multimedia terminal
CN110647139A (en) Evaluation test tool and evaluation test method for OBD (on-Board diagnostics) mass production vehicle
CN102789718B (en) Automatic invigilation scoring device for random vehicle driving test process and realization method thereof
CN201707601U (en) Automobile diagnosis system based on general bus paralleling
CN206400286U (en) A kind of test system based on hardware in loop equipment
CN101992733A (en) Automobile fault real-time prompt system
CN103064790A (en) Testing method for main control computer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170118