CN107171893A - Automatic test platform and its method of testing based on CAN network - Google Patents

Automatic test platform and its method of testing based on CAN network Download PDF

Info

Publication number
CN107171893A
CN107171893A CN201710444700.3A CN201710444700A CN107171893A CN 107171893 A CN107171893 A CN 107171893A CN 201710444700 A CN201710444700 A CN 201710444700A CN 107171893 A CN107171893 A CN 107171893A
Authority
CN
China
Prior art keywords
test
network
cabinet
oscillograph
main frame
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
CN201710444700.3A
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.)
Yanfeng Visteon Electronic Technology Nanjing Co Ltd
Original Assignee
Yanfeng Visteon Electronic Technology Nanjing 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 Yanfeng Visteon Electronic Technology Nanjing Co Ltd filed Critical Yanfeng Visteon Electronic Technology Nanjing Co Ltd
Priority to CN201710444700.3A priority Critical patent/CN107171893A/en
Publication of CN107171893A publication Critical patent/CN107171893A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The invention discloses a kind of automatic test platform based on CAN network and its method of testing, it includes test cabinet, includes multiple analog modules inside it, test cabinet is connected with oscillograph and control main frame;The test cabinet is respectively connecting on CAN to be detected with oscillograph;The integrated operation in practical work process of the automatic test platform based on CAN network in the application is more easy, staff can handle to obtain the detection data of CAN network by its automatic detection, and it makes its discrimination precision high by the simulation test successively for multiple nodes, False Rate is low, and performance is more reliable and stable.

Description

Automatic test platform and its method of testing based on CAN network
Technical field
The present invention relates to vehicle electric Electrical Testing field, especially a kind of automatic test platform based on CAN network And its method of testing.
Background technology
The CAN network function in automobile has the trend become increasingly complex in recent years, therewith client to the function of CAN network with And performance dependence test requires also more and more higher;For above-mentioned situation, it is limited to by the way of manual testing uncertain And randomness, therefore cause it excessive and false failure rate is higher for the test pressure of CAN network, therefore, using automation CAN nets Network test is particularly important.Among prior art, the automatic test mode of CAN network is mainly included with Types Below:
1)Vehicle CAN network is tested:The CAN network test carried out i.e. on real vehicle, vehicle CAN network is tested by real vehicle Measured in CAN network to obtain relatively accurate data, then can be directly on vehicle body for the failure in CAN network Module is directly provided, and the node of CAN message also on real vehicle is sent in real time to be completed by equipment such as outside oscillograph CAN analyzers Test.
2)Single node CAN network is tested:I.e. according to single node and dummy node(Such as CAN analyzers or oscillograph)Composition Virtual vehicle body CAN network carries out CAN network test, and it is using the test of dummy node with for the CAN of single node ginsengs The failure that number index is carried out in accurate feature measurement, CAN network is then simulated by dummy node;At the same time, Also by dummy node simulation vehicle body, each node just sends CAN message to message in CAN network, and passes through oscillograph and CAN points The equipment such as analyzer complete test.
Above CAN network test mode is in actual mechanical process, and the CAN network in the test of vehicle CAN network is although complete The full virtual condition for meeting vehicle body, but failure in some CAN networks is difficult to be simulated by actual node(Such as BCM, ABS Node), and itself once in test process artificial manufacturing fault be likely to damage whole node and car network, meanwhile, one A little triggering property CAN messages also are difficult to be triggered using actual node and produced.And the CAN network in the test of single node CAN network is surveyed Although the problem of examination is solved in the test of vehicle CAN network, there is meeting in larger error, and test in it in accuracy There is a situation where that single node test is without exception but vehicle test is abnormal to occur;In addition, being entered using CAN network analyzer or oscillograph Row measurement, it must assure that test equipment has CAN network analytic function, and either CAN network analyzer is also or with CAN nets The oscillograph of network analytic function, it is more high on hardware cost.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of automatic test platform of CAN network and its method of testing, It can realize the High Precision Automatic detection process for CAN network while testing cost is controlled.
In order to solve the above technical problems, the present invention relates to a kind of automatic test platform based on CAN network, it includes Test cabinet, includes multiple analog modules inside it, test cabinet is connected with oscillograph and control main frame;The test cabinet It is respectively connecting to oscillograph on CAN to be detected.
As a modification of the present invention, the test cabinet is connected with programmable power supply, and it can pass through programmable power supply It is powered for the test platform in the application, and to control programmable power supply for voltage, electricity the need for being simulated according to vehicle Stream and out-put supply waveform signal etc. are adjusted, further to improve the applicability of test platform.
As a modification of the present invention, it is attached between the oscillograph and test cabinet by usb bus, it is described It is attached between test cabinet and control main frame by CAN, it is total by UART between the oscillograph and control main frame Line is attached.
As a modification of the present invention, the oscillograph is connected on CAN to be detected, for monitoring in real time The level and time parameter of vehicle sample CAN to be detected.
The method of testing of the above-mentioned automatic test platform based on CAN network, it includes following job step:
1) test program in test cabinet and control main frame is initialized;
2) it is ranked up for multiple modules to be tested on CAN network, respectively with the test step of each module to be tested The expected data of the rapid and module to be tested forms the corresponding test case of multiple modules to be tested;
3) test cabinet read step 2 is passed through)In multiple test cases, based on the testing procedure in each test case with Carry out performing processing successively for multiple test cases;
4) by oscillograph for step 3)In current test case carry out test processes, test the data obtained is transmitted to test Among rack;
5) test cabinet is by step 4)The test data of middle acquisition is transmitted to control main frame, and control main frame surveys test case Examination the data obtained is compared with the expected data in test case;
6) when step 5)The data that middle test cabinet is read are virtual value, then in step 3)On the basis of read next test The corresponding test case of step simultaneously carries out execution processing;When step 5)The data that middle test cabinet is read are invalid value, then weigh It is new to perform step 4).
The invalidating of above-mentioned data is whether detected data meet respective modules in current test case No matter authority data, i.e., detect whether data meet expected data, is valid data when it meets the data standard of setting.
As a modification of the present invention, the job step of the test program includes:Control main frame receives all survey It is raw according to each testing case the data obtained and the comparative result of its expected data after example test the data obtained on probation Into complete vehicle fault code and vehicle examining report;The control main frame by above-mentioned complete vehicle fault code send to test cabinet it In, and pass through the vehicle environment of multiple analog modules simulation vehicle sample to be detected in test cabinet.Using above-mentioned technical side Case, it can be by the record for detection data with handling and then causing the automatic test based on CAN network in the application The operation of platform and its method of testing is more easy.
Using automatic test platform of the above-mentioned technical proposal based on CAN network and method of testing, it uses test Multiple analog modules in rack are to form multiple dummy nodes, and by the simulation work of above-mentioned multiple analog modules to realize For the simulation work of test object CAN network, to coordinate oscillograph to complete CAN network measurement processing.It is above-mentioned to be based on CAN network Automatic test platform and method of testing using conventional equipment carry out CAN network test processes so that its test Cost is effectively controlled, and the test cabinet in the application uses integrated equipment, and it is that outside survey can be achieved to coordinate oscillograph Try the succinct setting of equipment.
The integrated operation in practical work process of the automatic test platform based on CAN network in the application is more simple Just, staff can be handled to obtain the detection data of CAN network by its automatic detection, and it passes through for multiple nodes Simulation test successively make its discrimination precision high, False Rate is low, and performance is more reliable and stable.
Brief description of the drawings
Fig. 1 is schematic diagram of the present invention;
Fig. 2 is detection method schematic diagram in the present invention;
Reference numerals list:
1-test cabinet, 2-oscillograph, 3-control main frame, 4-programmable power supply.
Embodiment
With reference to embodiment, the present invention is furture elucidated, it should be understood that following embodiments are only used for The bright present invention rather than limitation the scope of the present invention.It should be noted that the word "front", "rear" used below in description, "left", "right", "up" and "down" refer to the direction in accompanying drawing, and word " interior " and " outer " are referred respectively to towards or away from specific The direction at component geometry center.
Embodiment 1
A kind of automatic test platform based on CAN network as shown in Figure 1, it includes test cabinet 1, includes inside it Multiple analog modules, test cabinet 1 is connected with oscillograph 2 and control main frame 3;The test cabinet 1 is connected respectively with oscillograph 2 On to CAN to be detected.
As a modification of the present invention, it is attached between the oscillograph 2 and test cabinet 1 by usb bus, institute State and be attached between test cabinet 1 and control main frame 3 by CAN, passed through between the oscillograph 2 and control main frame 3 UART buses are attached.
The method of testing of the above-mentioned automatic test platform based on CAN network, it includes following job step:
1) test program in test cabinet 1 and control main frame 2 is initialized;
2) it is ranked up for multiple modules to be tested on CAN network, respectively with the test step of each module to be tested The expected data of the rapid and module to be tested forms the corresponding test case of multiple modules to be tested;
3) read step 2 of test cabinet 1 is passed through)In multiple test cases, based on the testing procedure in each test case To carry out performing processing successively for multiple test cases;
4) by oscillograph 2 for step 3)In current test case carry out test processes, test the data obtained is transmitted to survey Among test-run a machine cabinet;
5) test cabinet 1 is by step 4)The test data of middle acquisition is transmitted to control main frame 3, and control main frame 3 will be tested and used Example test the data obtained is compared with the expected data in test case;
6) when step 5)The data that middle test cabinet is read are virtual value, then in step 3)On the basis of read next test The corresponding test case of step simultaneously carries out execution processing;When step 5)The data that middle test cabinet is read are invalid value, then weigh It is new to perform step 4).
Using automatic test platform of the above-mentioned technical proposal based on CAN network and method of testing, it uses test Multiple analog modules in rack are to form multiple dummy nodes, and by the simulation work of above-mentioned multiple analog modules to realize For the simulation work of test object CAN network, to coordinate oscillograph to complete CAN network measurement processing.It is above-mentioned to be based on CAN network Automatic test platform and method of testing using conventional equipment carry out CAN network test processes so that its test Cost is effectively controlled, and the test cabinet in the application uses integrated equipment, and it is that outside survey can be achieved to coordinate oscillograph Try the succinct setting of equipment.
The integrated operation in practical work process of the automatic test platform based on CAN network in the application is more simple Just, staff can be handled to obtain the detection data of CAN network by its automatic detection, and it passes through for multiple nodes Simulation test successively make its discrimination precision high, False Rate is low, and performance is more reliable and stable.
Embodiment 2
As a modification of the present invention, the test cabinet 1 is connected with programmable power supply 4, and it can be by programmable power supply Test platform in the application is powered, and to control programmable power supply for voltage, electric current the need for being simulated according to vehicle And out-put supply waveform signal etc. is adjusted, further to improve the applicability of test platform.
Remaining feature of the present embodiment and advantage are same as Example 1.
Embodiment 3
As a modification of the present invention, the oscillograph 2 is connected on CAN to be detected, is treated for monitoring in real time Detect the level and time parameter of vehicle sample CAN.
Remaining feature of the present embodiment and advantage are same as Example 1.
Embodiment 4
As a modification of the present invention, the job step of the test program includes:Control main frame 3 receives all tests and used After example test the data obtained, according to each testing case the data obtained and the comparative result of its expected data, generate whole Car failure code and vehicle examining report;The control main frame sends above-mentioned complete vehicle fault code to test cabinet, And the vehicle environment of vehicle sample to be detected is simulated by multiple analog modules in test cabinet.Using above-mentioned technical proposal, It can be by the record for detection data with handling and then causing the automatic test platform based on CAN network in the application And its operation of method of testing is more easy.
Remaining feature of the present embodiment and advantage are same as Example 1.

Claims (6)

1. a kind of automatic test platform based on CAN network, it is characterised in that the automatic test based on CAN network Platform includes test cabinet, includes multiple analog modules inside it, test cabinet is connected with oscillograph and control main frame;Institute Test cabinet is stated to be respectively connecting on CAN to be detected with oscillograph.
2. according to the automatic test platform based on CAN network described in claim 1, it is characterised in that the test cabinet It is connected with programmable power supply.
3. according to the automatic test platform based on CAN network described in claim 1, it is characterised in that the oscillograph with It is attached, is connected between the test cabinet and control main frame by CAN by usb bus between test cabinet Connect, be attached between the oscillograph and control main frame by UART buses.
4. according to the automatic test platform based on CAN network described in claim 1, it is characterised in that the oscillograph connects It is connected on CAN to be detected, level and time parameter for monitoring vehicle sample CAN to be detected in real time.
5. a kind of test side of automatic test platform based on CAN network according to described in Claims 1-4 any one Method, it is characterised in that the method for testing of the automatic test platform based on CAN network includes following job step:
1)By the test program initialization in test cabinet and control main frame;
2)It is ranked up for multiple modules to be tested on CAN network, respectively with the test step of each module to be tested The expected data of the rapid and module to be tested forms the corresponding test case of multiple modules to be tested;
3)Pass through test cabinet read step 2)In multiple test cases, based on the testing procedure in each test case with Carry out performing processing successively for multiple test cases;
4)By oscillograph for step 3)In current test case carry out test processes, test the data obtained is transmitted to test Among rack;
5)Test cabinet is by step 4)The test data of middle acquisition is transmitted to control main frame, and control main frame surveys test case Examination the data obtained is compared with the expected data in test case;
6)When step 5)The data that middle test cabinet is read are virtual value, then in step 3)On the basis of read next test The corresponding test case of step simultaneously carries out execution processing;When step 5)The data that middle test cabinet is read are invalid value, then weigh It is new to perform step 4).
6. according to the automatic test platform based on CAN network described in claim 5, it is characterised in that the test program Job step include:Control main frame is received after all testing case the data obtaineds, is surveyed according to each test case Try the data obtained and the comparative result of its expected data, generation complete vehicle fault code and vehicle examining report;The control master Machine sends above-mentioned complete vehicle fault code to test cabinet, and to be checked by multiple analog modules simulation in test cabinet Survey the vehicle environment of vehicle sample.
CN201710444700.3A 2017-06-13 2017-06-13 Automatic test platform and its method of testing based on CAN network Pending CN107171893A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710444700.3A CN107171893A (en) 2017-06-13 2017-06-13 Automatic test platform and its method of testing based on CAN network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710444700.3A CN107171893A (en) 2017-06-13 2017-06-13 Automatic test platform and its method of testing based on CAN network

Publications (1)

Publication Number Publication Date
CN107171893A true CN107171893A (en) 2017-09-15

Family

ID=59825099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710444700.3A Pending CN107171893A (en) 2017-06-13 2017-06-13 Automatic test platform and its method of testing based on CAN network

Country Status (1)

Country Link
CN (1) CN107171893A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107819643A (en) * 2017-09-30 2018-03-20 吉利汽车研究院(宁波)有限公司 A kind of automatic test device
CN108566323A (en) * 2018-03-21 2018-09-21 武汉乐庭软件技术有限公司 A kind of T-Box automated testing methods and system
CN108829608A (en) * 2018-07-09 2018-11-16 北京首汽智行科技有限公司 A kind of automatization test system and method for the Intelligent vehicle-mounted terminal equipment based on automobile simulator
CN110456763A (en) * 2019-07-26 2019-11-15 中国第一汽车股份有限公司 The test macro and method of intelligent driving controller

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102608993A (en) * 2012-03-09 2012-07-25 北京经纬恒润科技有限公司 Network automation test method, cabinet and test host
CN202512433U (en) * 2012-02-07 2012-10-31 北京汽车股份有限公司 Test cabinet of vehicle network
CN104298224A (en) * 2014-09-12 2015-01-21 中国第一汽车股份有限公司 Automatic vehicle-mounted electronic control unit CAN bus communication testing device and system
CN204116943U (en) * 2014-09-12 2015-01-21 中国第一汽车股份有限公司 Vehicle-mounted electronic control unit CAN communication automation system proving installation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202512433U (en) * 2012-02-07 2012-10-31 北京汽车股份有限公司 Test cabinet of vehicle network
CN102608993A (en) * 2012-03-09 2012-07-25 北京经纬恒润科技有限公司 Network automation test method, cabinet and test host
CN104298224A (en) * 2014-09-12 2015-01-21 中国第一汽车股份有限公司 Automatic vehicle-mounted electronic control unit CAN bus communication testing device and system
CN204116943U (en) * 2014-09-12 2015-01-21 中国第一汽车股份有限公司 Vehicle-mounted electronic control unit CAN communication automation system proving installation

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107819643A (en) * 2017-09-30 2018-03-20 吉利汽车研究院(宁波)有限公司 A kind of automatic test device
CN108566323A (en) * 2018-03-21 2018-09-21 武汉乐庭软件技术有限公司 A kind of T-Box automated testing methods and system
CN108566323B (en) * 2018-03-21 2020-11-03 武汉乐庭软件技术有限公司 T-Box automated testing method and system
CN108829608A (en) * 2018-07-09 2018-11-16 北京首汽智行科技有限公司 A kind of automatization test system and method for the Intelligent vehicle-mounted terminal equipment based on automobile simulator
CN108829608B (en) * 2018-07-09 2021-12-10 北京首汽智行科技有限公司 Simulator-based automatic test system and method for vehicle-mounted terminal equipment
CN110456763A (en) * 2019-07-26 2019-11-15 中国第一汽车股份有限公司 The test macro and method of intelligent driving controller

Similar Documents

Publication Publication Date Title
CN107222362B (en) Automatic test platform for finished vehicle CAN network and optimization method thereof
CN107171893A (en) Automatic test platform and its method of testing based on CAN network
CN106444712B (en) A kind of CAN/LIN network interferences automatization test system
CN103457804A (en) Consistency testing platform of train network communication products
CN103995202B (en) A kind of automatic signal method of testing, Apparatus and system
CN111722969B (en) LEU complete machine automatic test system
CN207782829U (en) The diagnostic device of PROFIBUS-DP communication networks
CN202421448U (en) Relay detecting device for nuclear power stations
RU2488872C1 (en) Method for automatic performance monitoring and diagnosing faults in communication electronic equipment
CN111157906B (en) SOC precision testing method, device and system
CN112034820A (en) Cloud-based hardware-in-loop system testing method and system and storage medium
CN104765024A (en) Onboard radar jamming automatic detection system
RU2430406C2 (en) Automated system for diagnosing digital devices
US10746784B2 (en) System level health monitoring in test systems
CN115792583A (en) Test method, device, equipment and medium for vehicle gauge chip
CN108051619A (en) A kind of TR components ripple control circuit fast quantification test verification system and method
RU2436108C2 (en) Complex of board cable networks monitoring
CN116068437A (en) BMS thermal management and SOX test method
CN113447880A (en) Fault diagnosis method and device for electric energy meter and terminal equipment
CN102072990A (en) Ageing detection device for laser
CN108020241B (en) Fault testing method and system for photoelectric theodolite
RU2265236C1 (en) Method for diagnosing equipment
CN113739926B (en) Method and device for detecting temperature rise fault of train electric appliance cabinet and terminal equipment
RU72773U1 (en) AUTOMATED CONTROL AND DIAGNOSTIC SYSTEM OF RADIO ELECTRONIC DEVICES "AC 5-2"
CN108802591A (en) A kind of semiconductor element accelerated ageing test system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for 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: 20170915