CN204116942U - Vehicle-mounted electronic control unit LIN bus communication automatic test device - Google Patents

Vehicle-mounted electronic control unit LIN bus communication automatic test device Download PDF

Info

Publication number
CN204116942U
CN204116942U CN201420528290.2U CN201420528290U CN204116942U CN 204116942 U CN204116942 U CN 204116942U CN 201420528290 U CN201420528290 U CN 201420528290U CN 204116942 U CN204116942 U CN 204116942U
Authority
CN
China
Prior art keywords
test
ecu
bus
power supply
vehicle
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.)
Active
Application number
CN201420528290.2U
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.)
FAW Group Corp
Original Assignee
FAW 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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN201420528290.2U priority Critical patent/CN204116942U/en
Application granted granted Critical
Publication of CN204116942U publication Critical patent/CN204116942U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The utility model relates to a kind of vehicle-mounted electronic control unit LIN bus communication automatic test device, and the Test Host of this device connects programmable power supply by GPIB; By Ethernet interfacing between network oscillograph; The output of programmable power supply connects ECU to be measured; Network oscilloscope, bus data acquisition equipment are connected ECU to be measured by LIN bus with ground wire.Test Host controls programmable power supply exports different amplitude voltage according to the work requirements of ECU; Network oscilloscope is tested for the Physical layer of LIN bus; The test data of Test Host to ECU and LIN bus records, analyzes, evaluates and generate test report.The utility model overcomes manual test various shortcoming, and decrease the duplication of labour that In-vehicle networking slip-stick artist is unnecessary, test result is accurate.

Description

Vehicle-mounted electronic control unit LIN bus communication automatic test device
Technical field
The present invention relates to a kind of vehicle-mounted electronic control unit LIN bus communication automatic test device for efficiently completing LIN network service test and network management test.
Background technology
On present-day motor vehicles, multiple electronic control unit (each control module is by access LIN network (Local Interconnect Network, LIN)) realization collaborative work is to each other installed usually.In the ECU development phase, car load factory can discharge ECU communication requirement specification to ECU supplier, and ECU network management requirement specification and gateway route need specification retrain ECU.After ECU has developed, car load factory can carry out strict network test to guarantee that ECU can normally work in LIN network to ECU.The network test of current car load factory is based on manual test, and test is auxiliary automatically, and efficiency is low, low precision, and the test duration is long.Test job comprises test environment and builds, test execution, and test data is preserved, and test result evaluation and test report such as to write at the step.The duration of single ECU network test is generally two to three days, and along with the increase of the ECU number on motor vehicles and the concurrent development of many moneys vehicle, the work of Test Engineer is also in increase at double.Because the network test method of different ECU is substantially identical, result in Test Engineer and be mostly carrying out the duplication of labour.What can not ignore is a bit that manual test will inevitably introduce personal error simultaneously, causes impact to the accuracy of test result.
Summary of the invention
The technical problems to be solved in the utility model is to provide a kind of vehicle-mounted electronic control unit CAN communication automation system proving installation, and this system can be tested the LIN network at electronic control unit on motor vehicles and place thereof accurately and efficiently.
In order to solve the problems of the technologies described above, vehicle-mounted electronic control unit LIN bus communication automatic test device of the present utility model comprises programmable power supply, network oscilloscope, bus data acquisition equipment (CANcaseXL), Test Host; Test Host connects programmable power supply by GPIB; By Ethernet interfacing between network oscillograph; The output of programmable power supply connects ECU to be measured; Network oscilloscope, bus data acquisition equipment (CANcaseXL) are connected ECU to be measured by LIN bus with ground wire; Described programmable power supply is connected by power lead, ground wire GND and ECU.
Test Host exports control signal to programmable power supply, makes it export the voltage of different amplitude according to the work requirements of ECU; The Physical layer test signal of LIN bus outputs to network oscilloscope and shows, and Physical layer test data sends Test Host to by network oscilloscope; ECU test data passes through bus data acquisition device transmission to Test Host; The test data of Test Host to ECU and LIN bus records, analyzes, evaluates and generate test report.
The utility model also comprises testing and control board, bus test board; Test Host is by USB interface connecting test Control card, and the IO output port of testing and control board connects bus test board; Relay matrix comprises the first relay, the second relay that are connected on power lead BAT between programmable power supply and ECU, ground wire GND.
Described relay matrix also comprises the 3rd relay be connected between power lead and LIN line.
Described relay matrix also comprises the 4th relay being connected to ground wire GND and LIN line.
When needs perform bus failure implant operation, Test Host output signal is transferred to bus test board by bus marco board, controls each relay closes or disconnection; When the first relay, the second relay closes, normal electric duty can be simulated.Disconnect the 3rd relay LIN line to power supply short circuit; 4th relay can realize LIN line shorted to earth.
The beneficial effects of the utility model:
The utility model comprises the hardware effort platform of programmable power supply, high-precision network oscilloscope, bus data acquisition equipment CANcaseXL, bus test board and testing and control board (NI board), Test Host by building, and carry out unified management, co-ordination by Test Host, overcome manual test various shortcoming, avoid test at every turn all will carry out complicated test environment building before starting, decrease the duplication of labour that In-vehicle networking slip-stick artist is unnecessary, avoid manual operation simultaneously and can introduce artificial error, affect the accuracy of test result.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the utility model is further illustrated.
Fig. 1 is the structured flowchart of vehicle-mounted electronic control unit LIN bus communication automatic test device of the present utility model.
Fig. 2 is the structural representation of bus test board of the present utility model.
Fig. 3 is the main program flow chart of Test Host.
Fig. 4 is the ECU under-voltage test flow chart of Test Host.
Embodiment
As shown in Figure 1, hardware rack of the present invention the testing apparatuss such as programmable power supply, stabilized voltage supply, network oscilloscope, bus data acquisition equipment (CANcaseXL), bus test board and testing and control board (NI board), Test Host is integrated in a rack to carry out unified management.Installation testing management software in Test Host, supervision test software is by GPIB (general purpose interface bus) Interface Controller programmable power supply; By the high-precision network oscilloscope of Ethernet (Ethernet) Interface Controller; Control testing and control board by USB interface, testing and control board provides a series of IO output port, and these IO output ports can the relay matrix of control bus test board.Programmable power supply is used for the power supply of tested ECU, and supply voltage can change between 0V-50V, because part test case in test process needs the break-make adjusting magnitude of voltage rise/fall or control power supply so must adopt the real-time control voltage change of programmable power supply.Programmable power supply must support gpib interface.Stabilized voltage supply is used for providing 12V voltage for bus test board.High-precision network oscilloscope is used for realizing bus physical layer test, as bus signal level test, the test of rising edge negative edge slope etc.Network oscilloscope can suitably select the oscillograph that sample frequency, bandwidth are higher, and provides Ethernet interface for programmed control.Bus data acquisition equipment (CANcaseXL) is for data acquisition bus data and be transferred to Test Host, by Test Host record and analyze bus data; Bus test board, by coupling relay matrix, realizes bus test in conjunction with bus data acquisition equipment, bus jamming equipment, and direct fault location function can provide LIN line to direct fault location operations such as power supply short circuit, LIN line shorted to earths.
As shown in Figure 2, relay matrix comprises the first relay J 1, second relay J 2 be connected on power lead BAT between programmable power supply and ECU, ground wire GND, be connected to the 3rd relay J 3 between power lead and LIN line, be connected to the 4th relay J 4 between ground wire GND and LIN line.
The software section of Test Host comprises: test supervisor program, test case library and pc control procedure.Test supervisor program, comprises data base administration, test execution management and user management.Data base administration is used for the storage for different automobile types related data, comprises and stores vehicle information, test specification information, test-types information, test case information etc.; Test execution management is for matching different vehicles; User management is used for newly-built user, and different user rights is different.Test case library comprises: the test of under-voltage working range, the test of superpotential working range, ECU not destroyed voltage range test, the test of bus output level, tolerance test, ECU inner walkway, the test of heading break length of field, the test of heading DEL length testing, heading synchronization field length testing, baud rate, sleep awakening test, dispatch list sequential testing, the test of dispatch list time slot etc., can delete test case according to different vehicles.Pc control procedure for testing the typing of correlation parameter, selection and implementation of test cases, and controlling test process, preserving test record and generating record test report.
Test Host comprises 2 databases: LDF communications database, information database.
The message information that described LDF communications database needs to send and receive for storing different ECU.
Described information database comprises model data storehouse, test specification database, test-types information database, evaluation criteria database, test case data storehouse, test result data storehouse, test case library; Model data storehouse is for storing vehicle information; Test specification database is for storing ECU test specification information corresponding to various vehicle (comprise the network segment belonging to ECU, ECU develops version and ECU title etc.), test-types information (comprising basic communication, network management, diagnostic message etc.); Evaluation criteria database is for storing evaluation criteria information; Test case data storehouse is for storing the test case information of testing needed for various vehicle, such as a certain vehicle, test case information comprises Physical layer test (comprising bus signal level test, the test of rising edge negative edge slope, bit time test etc.), data link layer test (comprising LIN bus protocol test etc.); For another kind of vehicle, test case information comprises Physical layer test, network layer test; Test result data storehouse is used for store test results information.Test case library can meet multiple test cases of various vehicle test needs for storing.
As shown in Figure 3, Test Host main program flow is as follows:
(1) detecting information typing: the correlation parameter of typing ECU to be measured; Comprise the network segment belonging to ECU, ECU software and hardware version and ECU title etc.
(2) test cases selection, vehicle information corresponding in information database is searched according to the correlation parameter of the ECU to be measured of typing, and the test case information that this vehicle information is corresponding, from test case library, select corresponding test case according to test case information, and inquire about the message information that LDF communications database obtains the transmission of this ECU needs and reception;
(3) start to be connected with the initialization of testing and control board programmable power supply, network oscilloscope, bus data acquisition equipment to test.
(4) integrity detection is carried out to the test case that compiling is selected, if by detecting, entering step (5), otherwise returning step (3), the test case missed being added in test case queue.
(5) start to perform test for the test case selected;
(6) whether interpretation generates test report, is, enters step (7), otherwise goes to step (8);
(7) test record file, test result appraisal report is generated according to test case evaluation criteria information, failure code information, routing iinformation and real measured data.
(8) terminate.
To correspond to the ECU to be measured of a certain vehicle, test case comprises:
Message is tested: for the test of heading break length of field, the test of heading Del length of field, heading synchronization field length testing;
Bus physical layer is tested: for the test of bus signal level, bit time;
Sleep awakening is tested: bus free sleep test, the test of bus sleep commands, the test of bus wake command, this locality wake test up;
ECU supply voltage is tested: for testing the test of under-voltage working range, superpotential working range;
LIN host node dispatch list is tested: dispatch list sequential testing, the test of dispatch list time slot.
Heading break length of field test in described message test submodule, the test of heading Del length of field, heading synchronization field length testing can realize by same subroutine, also can realize by a subroutine respectively.
The test of bus signal level, bus signal level rise/fall edge, bit time adopts a subroutine to realize.
Dispatch list sequential testing, dispatch list time slot test can a subroutine also can two subroutines.
Test process is described in detail below for the test of under-voltage working range.The test process of all the other test cases belongs to more conventional technology, is not repeated here.
As shown in Figure 4, ECU under-voltage test process is as follows:
A () starts;
B () ECU powers on;
C () judges whether supply voltage is greater than 0V, is, control programmable power supply ECU supply voltage and reduce 0.1V;
D () judges that whether erroneous frame appears to ECU message in first time, is go to step (e), otherwise records now voltage value;
E () judges whether ECU stops communication, is go to step (f), otherwise returns step (c);
F () record ECU stops the voltage value after communication;
After when () judges that erroneous frame appears in ECU first time g, voltage value and ECU stop communication, whether voltage value meets specification, is go to step (h), otherwise exports test failure mark, goes to step (i);
H () exports test passes mark;
I () terminates.
It is as follows that hardware rack of the present utility model builds flow process:
The first step, for network automatically test cabinet installs power control switch.Network automatically test cabinet is that 220V powers.Power control switch is placed in rack top, has overcurrent protection function.Automatically the power supply of whole rack can be cut off when current value exceedes maximum current.It, primarily of air switch and emergency stop switch composition, can cut off the power supply of whole rack when wherein emergency stop switch is pressed.
Second step, installs the required power supply of network automatically test.Rack comprises two independently power supplys, is made up of respectively a stabilized voltage supply and a programmable power supply.Stabilized voltage supply output voltage 12V voltage, for bus test board is powered.Programmable power supply exports 0V-50V voltage, for tested ECU powers.Programmable power supply needs to turn USB module by GPIB and is connected with Test Host, and Test Host is installed after GPIB drives and can be realized controlling.
3rd step, installs high-precision network oscilloscope.Need the size customization rack subrack according to network oscilloscope before installing network oscilloscope, network oscilloscope is first fixed in test subrack, then test subrack is positioned over rack assigned address, is connected with Test Host by Ethernet netting twine.
4th step, is fixed in the subrack of customization by testing requirement by bus test board, and bus test board is powered by stabilized voltage supply, supply voltage 12V.Bus test board is exported by IO numeral and controls, and is connected with IO digital output port by connector.IO numeral exports control and bus marco board (NI board) can be adopted to control.Fig. 3 is the structured flowchart of bus test board.
5th step, the setting of Test Host.First, need in Test Host the device drives such as programmable power supply, network oscilloscope, bus marco board are installed; Secondly, need to write a pc control procedure [F1] i.e. supervision test software, this software is unified controls each hardware testing equipment.The CAPL Browser environment of test case in Vector company CANoe software of core carries out program development, and CANoe provides all kinds of routine interface, as gpib interface, Ethernet interface, serial communication interface etc.Supervision test software possesses database management function can, by the typing of test relevant information, make network test rack become the test macro of hardware and software platform, robotization.
As shown in Figure 3, the method for network test and management comprises the steps:
Step S1, after software startup, Automatic inquirying vehicle information database [F6], obtains the vehicle information of preserving in vehicle information database, test-types information, test specification information and test case information etc., and shows relevant information in software.
Step S2, detecting information configures.Detecting information comprises the network segment belonging to ECU, and ECU develops version and ECU title, ECU terminal resistance coupling etc.Test case library [F2] determines the test file that need run according to these information, and inquires about the message information that LDF communications database [F3] obtains the transmission of this ECU needs and reception.
Step S3, chooses the test case needing to carry out testing.Concrete methods of realizing is as follows:
All test case information is kept in the test case data storehouse of vehicle information database [F6], is presented on interface according to the test case title that the vehicle information selected and test-types information can perform, for you to choose.
Step S4, starts test.Click " starting test " button, start once newly to test.Automatic testing software completes and connects the initialization of dependence test instrument, and when test case information write configuration file (ini form) is run for test case library.Concrete methods of realizing is as follows: automatic testing software completes the connection to testing tool in hardware system [F7]: with the connection (native system adopts gpib interface communication) of programmable power supply, with the connection (native system adopts Ethernet interface communication) of network oscilloscope, with the connection (native system employing serial communication) of external interface circuit.If with the initialization connection failure of arbitrary testing tool, then point out slip-stick artist, and stop this test.Automatic testing software is by test cases selection information, evaluation criteria information, failure code information and routing iinformation write configuration file, determine the test case needing to perform in order to test case library [F2] according to profile information, and according to evaluation criteria information, the result that test obtains is evaluated.
After step S5, step S4 are complete, enter step S5, perform the test item chosen successively.Concrete methods of realizing is as follows: the test item use-case chosen performs by test case library [F2] successively.In each test item, send by the opening and closing of relay and to the order of programmable power supply and network oscilloscope, build the test environment needed for test case.If need direct fault location, then call network failure injecting program [F4].If the test procedure relevant to network oscilloscope, then call network signal test procedure [F5].Then perform the test statement in this test case one by one, obtain final test result, and result and evaluation criteria information are contrasted, determine whether test item passes through.Each test case all generate independently test record file to preserve test data.
Step S6, after test terminates, generates test report.Click " generating report " button, then automatic testing software calls report generation module.
Step S7, automatic testing software is type belonging to this test, calls corresponding template, by test result data write report.

Claims (4)

1. a vehicle-mounted electronic control unit LIN bus communication automatic test device, is characterized in that comprising programmable power supply, network oscilloscope, bus data acquisition equipment, Test Host; Test Host connects programmable power supply by GPIB; By Ethernet interfacing between network oscillograph; The output of programmable power supply connects ECU to be measured; Network oscilloscope, bus data acquisition equipment are connected ECU to be measured by LIN bus with ground wire; Described programmable power supply is connected by power lead, ground wire GND and ECU.
2. vehicle-mounted electronic control unit LIN bus communication automatic test device according to claim 1, characterized by further comprising testing and control board, bus test board; Test Host is by USB interface connecting test Control card, and the IO output port of testing and control board connects bus test board; Integrated relay matrix in described bus test board; Relay matrix comprises the first relay, the second relay that are connected on power lead between programmable power supply and ECU, ground wire GND.
3. vehicle-mounted electronic control unit LIN bus communication automatic test device according to claim 2, is characterized in that described relay matrix also comprises the 3rd relay be connected between power lead and LIN line.
4. vehicle-mounted electronic control unit LIN bus communication automatic test device according to claim 2, is characterized in that described relay matrix also comprises the 4th relay being connected to ground wire GND and LIN line.
CN201420528290.2U 2014-09-12 2014-09-12 Vehicle-mounted electronic control unit LIN bus communication automatic test device Active CN204116942U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201420528290.2U CN204116942U (en) 2014-09-12 2014-09-12 Vehicle-mounted electronic control unit LIN bus communication automatic test device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201420528290.2U CN204116942U (en) 2014-09-12 2014-09-12 Vehicle-mounted electronic control unit LIN bus communication automatic test device

Publications (1)

Publication Number Publication Date
CN204116942U true CN204116942U (en) 2015-01-21

Family

ID=52334233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201420528290.2U Active CN204116942U (en) 2014-09-12 2014-09-12 Vehicle-mounted electronic control unit LIN bus communication automatic test device

Country Status (1)

Country Link
CN (1) CN204116942U (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105425778A (en) * 2015-12-15 2016-03-23 唐山轨道客车有限责任公司 Test platform for train network control system based on CAN (Controller Area Network) bus
CN107612774A (en) * 2017-09-15 2018-01-19 北京经纬恒润科技有限公司 A kind of multi-channel synchronous sleep method and system
CN108900377A (en) * 2018-07-03 2018-11-27 南京越博动力系统股份有限公司 A kind of CAN network test macro and test method
CN111930091A (en) * 2019-05-13 2020-11-13 北京新能源汽车股份有限公司 Network testing method and device for electronic control unit of electric vehicle
CN112260919A (en) * 2020-10-13 2021-01-22 西信科技有限公司 Vehicle-mounted CAN network diagnosis system-level automatic testing device and system
CN112511357A (en) * 2020-12-25 2021-03-16 武汉格罗夫氢能汽车有限公司 System-level network automation test system and method for domain controller
CN115664980A (en) * 2022-12-09 2023-01-31 长沙科梁科技有限公司 Simulation model generation method, simulation method, storage medium, and terminal device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105425778A (en) * 2015-12-15 2016-03-23 唐山轨道客车有限责任公司 Test platform for train network control system based on CAN (Controller Area Network) bus
CN107612774A (en) * 2017-09-15 2018-01-19 北京经纬恒润科技有限公司 A kind of multi-channel synchronous sleep method and system
CN108900377A (en) * 2018-07-03 2018-11-27 南京越博动力系统股份有限公司 A kind of CAN network test macro and test method
CN111930091A (en) * 2019-05-13 2020-11-13 北京新能源汽车股份有限公司 Network testing method and device for electronic control unit of electric vehicle
CN112260919A (en) * 2020-10-13 2021-01-22 西信科技有限公司 Vehicle-mounted CAN network diagnosis system-level automatic testing device and system
CN112511357A (en) * 2020-12-25 2021-03-16 武汉格罗夫氢能汽车有限公司 System-level network automation test system and method for domain controller
CN115664980A (en) * 2022-12-09 2023-01-31 长沙科梁科技有限公司 Simulation model generation method, simulation method, storage medium, and terminal device

Similar Documents

Publication Publication Date Title
CN204116943U (en) Vehicle-mounted electronic control unit CAN communication automation system proving installation
CN104267715A (en) Vehicle-mounted electronic control unit LIN bus communication automatic testing device and system
CN204116942U (en) Vehicle-mounted electronic control unit LIN bus communication automatic test device
CN104298224A (en) Automatic vehicle-mounted electronic control unit CAN bus communication testing device and system
CN102608993B (en) Network automation test method, cabinet and test host
CN103744422B (en) A kind of to the protective relaying device automatic test approach based on IEC61850 standard
CN103529377B (en) The Auto-Test System of intelligent transformer substation digital protection device and method
CN204595599U (en) Based on the automobile electronic controller general-utility test platform of CANoe
CN103869190A (en) Real time simulation system-based power distribution terminal automatic closed-loop test platform
CN102184749B (en) A kind of automatic test approach of DCS switch board
CN102713772B (en) Method and system for the engineering of electric substation automation system
CN105425201B (en) metering chip simulation test method for software reliability detection of intelligent electric energy meter
CN105404568A (en) CAN bus test system and test method
CN207020264U (en) Suitable for the detecting system of protective relaying device
CN105824001B (en) Method and system for testing IEC61850 conformance of digital electric energy meter
CN103699112B (en) Based on avionics Autonomous test Authentication devices and the verification method thereof of I/O signal fault simulation
CN103176084A (en) Intelligent substation simulation system in panoramic replace mode and integration testing method for intelligent substation simulation system
CN104246521A (en) Method and device for automatic test of relay protection function of intelligent susbstation
CN102854877A (en) Function test system and test method of automobile body control module
US20090036115A1 (en) System and method for testing gsm modules
CN105975369A (en) Automatic testing environment configuration device for vehicle-mounted network unit
CN102707712B (en) Electronic equipment fault diagnosis method and system
CN105353755A (en) Multifunctional fault injection device based on PXI bus
CN103713627A (en) Function node test system
CN103558849A (en) Method for achieving control strategy adjustment and network testing of blade electric vehicle

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant