CN102929277B - Universal test tool for autobody electronic unit and working method thereof - Google Patents

Universal test tool for autobody electronic unit and working method thereof Download PDF

Info

Publication number
CN102929277B
CN102929277B CN201210478888.0A CN201210478888A CN102929277B CN 102929277 B CN102929277 B CN 102929277B CN 201210478888 A CN201210478888 A CN 201210478888A CN 102929277 B CN102929277 B CN 102929277B
Authority
CN
China
Prior art keywords
test
message
slave computer
host computer
interface
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
CN201210478888.0A
Other languages
Chinese (zh)
Other versions
CN102929277A (en
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.)
Institute of Automation Shandong Academy of Sciences
Original Assignee
Institute of Automation Shandong Academy of Sciences
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 Institute of Automation Shandong Academy of Sciences filed Critical Institute of Automation Shandong Academy of Sciences
Priority to CN201210478888.0A priority Critical patent/CN102929277B/en
Publication of CN102929277A publication Critical patent/CN102929277A/en
Application granted granted Critical
Publication of CN102929277B publication Critical patent/CN102929277B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

The invention discloses a universal test tool for an autobody electronic unit and a working method thereof. The universal test tool comprises an upper computer and a lower computer which are in communication through a USB connecting wire, wherein the lower computer further comprises a multi-channel digital input port, a multi-channel digital output port, an eight-channel pulse input port, an eight-channel PWM (Pulse-Width Modulation) output port, a two-channel CAN (Controller Area Network) bus interface, a two-path LIN (Local Interconnect Network) bus interface, a programmable controllable power supply, an embedded-type minimum system, a parallel-to-series interface and a series-to-parallel interface, wherein signals of the multi-channel digital input port are sent to the parallel-to-series interface; and the signals of the series-to-parallel interface are sent to the multi-channel digital output port. According to the invention, with different connection manners between different upper computer test software and tested units, not only is the test respectively for development process and production process of tested automotive electronic units realized by specific test software, but also different test software can be selected for the test of the different automotive electronic units.

Description

The universal test frock of body of a motor car electronic unit and method of work thereof
Technical field
The present invention relates to technical field of automotive electronics, particularly relate to universal test frock and the method for work thereof of body of a motor car electronic unit.
Background technology
Design and develop in process at body of a motor car electronic unit, very important ingredient by building the assessment of checking and performance that test platform carries out function, it is the information feed back source in design iteration process, is also the important means whether checking body electronics unit meets functional requirement.In the batch production process of body electronics unit, need to carry out some functional tests and Performance Evaluation to guarantee product quality to produced product, and meet the requirement of fast beat on production line, test fixture is as important production management instrument, and it can efficient, the complete quality of production must passing judgment on unit under test.
The build process of test platform and complexity depend on the signal properties of the function of developed body electronics unit, working method and IO interface thereof, for body electronics unit, property class like and IO interface can be encompassed in the scope of switch, pulse, bus communication, radio communication and power drive.General data IO card, the communication card selecting special costliness on stream, and the manual test of exploitation complexity and automatic testing software build test platform, and in process of production due to the restriction of cost and the requirement of testing efficiency, test platform in performance history is no longer applicable to using as test fixture, need development and testing frock again, so just there is the overlapping development problem on partial extent.
Existing test fixture patent all lays stress on structural design, the probe design of test fixture, and with in the connection of unit under test and fixed form, and seldom relate to the design of hardware and software of the test fixture as embedded device itself.
Existing embedded testing frock is generally developed for specific products, the production test of other products cannot be used for, due to the characteristic of vehicle body list unit, the similarity of IO interface, also there is similarity to a certain degree in the test fixture of different body electronics unit, because the cycle of current test fixture embedded software developing is long, difficulty is larger, like this for the test fixture that multiple body electronics unit designs respectively, also there is overlapping development problem to a certain extent.
Summary of the invention
Object of the present invention is exactly to solve the problem, universal test frock and the method for work thereof of body of a motor car electronic unit are provided, by different host computer testing softwares and the connected mode different from unit under test, not only can be realized the test in tested automotive electronics unit performance history and the test in production run by the cutting of fc-specific test FC software, can also by selecting the different test of testing software realization to different automotive electronics unit.
For achieving the above object, the present invention adopts following technical scheme:
A kind of universal test frock of body of a motor car electronic unit, comprise host computer and slave computer, described host computer is communicated by USB connecting line with slave computer, host computer and slave computer are all provided with USB interface, described slave computer be also provided with multi-path digital input port, multi-path digital output port, eight road Puled input ports, eight-path PWM output port, 2 tunnel CAN interfaces, 2 road LIN bus interface, Programmable power supply, Embedded Minimum System and turn serial connection mouth, string turn and interface; Wherein, the signal of multi-path digital input interface imports into and turns serial connection mouth, and string turns and the signal of interface imports multi-path digital output port into.
The digital output port signal of unitunder test imports the multi-path digital input port of slave computer into, the switch input terminal mouth of unitunder test is from the multi-path digital output port Received signal strength of slave computer, signal is imported into eight road Puled input ports of slave computer by the PWM output port of unitunder test, the Puled input port of unitunder test is from the eight-path PWM output port Received signal strength of slave computer, the CAN interface of unitunder test and 2 tunnel CAN interface two-way communications of slave computer, the LIN bus interface of unitunder test and 2 road LIN bus interface two-way communications of slave computer, the Programmable power supply of slave computer is powered to the power supply of unitunder test.
The USB interface of host computer is inserted in one end of described USB connecting line, and the other end of described USB connecting line inserts the USB interface of slave computer.
Described host computer and slave computer adopt the mode of fixed format message to carry out the unitarity communicating to ensure that communication protocol realizes, and the unified employing of message format is as follows:
Heading (0x55+0xaa)+message ID+ signalling channel label+message content length+message content+16 bit check and
Communicating of described host computer and slave computer is carried out for signalling channel, so adopt signalling channel ID as message ID, according to the difference of message ID, communication direction and signalling channel, the implication of message content, length and value are different:
Described multi-path digital input port, when message is sent to slave computer from host computer, message content is double byte size, sampling period in units of millisecond; When message is sent to host computer from slave computer, message content is the port IO state of byte size, value 0 or 1.
Described multi-path digital output port, message is sent to slave computer from host computer, and message content is byte size, the IO of selected port arranges state.
Described eight road Puled input ports, when message is sent to slave computer from host computer, message content length is byte size, represents the input capture function of enable selected port; When message is sent to host computer from slave computer, message content length is 3 bytes, comprises double byte size, interval is the pulsed frequency of [0,65535] and byte size, interval are the dutycycle of [0,100].
Described eight-path PWM output port, message is sent to slave computer from host computer, and message content length is 3 bytes, comprises double byte size, interval is [0,65535] pulsed frequency and byte size, interval are the dutycycle of [0,100];
Described 2 tunnel CAN interfaces, when message is sent to slave computer from host computer, when message content length is 3, message content arranges slave computer CAN baud rate, 33.333k bps is provided, 100k bps, 125k bps, 500k bps and 1Mbps five kinds of options, to meet the needs of low speed CAN and high-speed CAN, when message content length is 4, message content arranges message ID and the range of identifiers of slave computer receiving filtration, when message content length is other numerical value, message content is complete CAN frame, slave computer extracts CAN frame ID, after data length and data, encapsulate according to CAN frame format, unitunder test is sent to by selected CAN interface, when message is sent to host computer from slave computer, message content is complete CAN frame, and host computer processes after extracting frame ID, data length and data according to CAN frame format accordingly.
Described 2 road LIN bus interface, when message is sent to slave computer from host computer, when message content length is 2, message content arranges slave computer LIN bus baud rate, there is provided 2400bps, 9600bps, 19200bps tri-kinds of options, to meet the needs of low speed LIN, middling speed LIN and high speed LIN, when message content length is other numerical value, message content is complete LIN frame, after slave computer extracts LIN frame ID, data length and data, according to the encapsulation of LIN frame format, send to unitunder test by selected LIN bus interface; When message is sent to host computer from slave computer, message content is complete LIN frame, and host computer processes after extracting frame ID, data length and data according to LIN frame format accordingly.
The method of work that the universal test frock host computer of body of a motor car electronic unit adopts is as follows:
Patterned test interface and graphical control is utilized intuitively to reflect the interface that tested vehicle body electronic unit is relevant and state thereof, graphical control comprises switch, button, LED, virtual oscilloscope, waveform generator etc., the digital input interface, digital output port, Puled input port, PWM output port etc. of corresponding tested vehicle body electronic unit.In the manual test stage, man-machine operation interface is provided to carry out manual test in the mode of graphical interfaces, according to selected test item, test command, signalling channel, signal content and command parameter are sent to slave computer by host computer, process state and the content of the signalling channel of slave computer feedback simultaneously, carry out process and the display of testing phenomenon.In the automatic test stage, each test item is packaged into a submodule, utilizes automatic supervision test software to carry out orderly calling to a large amount of test items, realize the automatic management to testing process, automatically perform test operation, carry out testing the observation of phenomenon, and provide test result.
The method of work that the universal test frock slave computer of body of a motor car electronic unit adopts, is mainly divided into following steps:
Step (1), system initialization, carries out initialization to USB interface and each signalling channel;
Step (2), judges whether to receive USB message; If just enter step (3); Just enter step (10) if not;
Step (3), judges whether message ID equals 0; If just open or turn off the power supply of unitunder test according to order; Just enter step (4) if not;
Step (4), judges whether message ID equals 1; If just set the collection period of n digital input port; Just enter step (5) if not;
Step (5), judges whether message ID equals 2; If just selected n digital output port is set to expecting state, just enter step (6) if not;
Step (6), judges whether message ID equals 3; If feel the pulse with regard to the n selected by use rush the capture function of input port, just enter step (7) if not;
Step (7), judges whether message ID equals 4; If just the n wave form output port selected is exported PWM waveform with the frequency of setting and dutycycle, just enter step (8) if not;
Step (8), judges whether message ID equals 5; If just arrange n CAN interface baud rate and the packet filtering scope of selection, or send CAN message, just enter step (9) if not;
Step (9), judges whether message ID equals 6; If just arrange the n LIN bus interface baud rate of selection, or send LIN message.
Step (10), is sent to host computer when digital input port IO state changes by its IO state; When Puled input port frequency or dutycycle change, the frequency calculated and dutycycle are sent to host computer; Receive CAN frame, be sent to host computer; Receive LIN frame, be sent to host computer.
The invention has the beneficial effects as follows:
1, at the test platform that the development phase of product builds, production run test can after suitable cutting, be directly used in;
2, in the mode that host computer and slave computer combine, take full advantage of the convenience of PC Human Machine Interface and the tool set of extreme enrichment, and the powerful embedded real-time handling property of slave computer be connected extensibility flexibly;
3, adopt the structure of the host computer relevant to application and the slave computer irrelevant with application, ensure that test fixture may be used for development and testing and the production test of multiple product, extend the scope of application of test fixture better;
4, the power supply of program-controlled unit under test, avoids hot line job when test fixture and unit under test set up physical connection, may be used for the functional test item that unit under test automatic power down powers on again simultaneously.
Accompanying drawing explanation
Fig. 1 is test fixture structural drawing of the present invention;
Fig. 2 is for adopting test fixture slave computer workflow diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment, the invention will be further described.
As shown in Figure 1, a kind of universal test frock of body of a motor car electronic unit, comprise host computer and slave computer, described host computer is communicated by USB connecting line with slave computer, host computer and slave computer are all provided with USB interface, described slave computer be also provided with multi-path digital input port, multi-path digital output port, eight road Puled input ports, eight-path PWM output port, 2 tunnel CAN interfaces, 2 road LIN bus interface, Programmable power supply, Embedded Minimum System and turn serial connection mouth, string turn and interface; Wherein, the signal of multi-path digital input interface imports into and turns serial connection mouth, and string turns and the signal of interface imports multi-path digital output port into.
The digital output port signal of unitunder test imports the multi-path digital input port of slave computer into, the switch input terminal mouth switch input terminal mouth of unitunder test is from the multi-path digital output port Received signal strength of slave computer, signal is imported into eight road Puled input ports of slave computer by the PWM output port of unitunder test, the Puled input port of unitunder test is from the eight-path PWM output port Received signal strength of slave computer, the CAN interface of unitunder test and 2 tunnel CAN interface two-way communications, LIN bus interface and 2 road LIN bus interface two-way communications, the Programmable power supply of slave computer is powered to the power supply of unitunder test.
The USB interface of host computer is inserted in one end of described USB connecting line, and the other end of described USB connecting line inserts the USB interface of slave computer.
As shown in Figure 2, the method for work that the universal test frock slave computer of body of a motor car electronic unit adopts, is mainly divided into following steps:
Step (1), system initialization, carries out initialization to USB interface and each signalling channel;
Step (2), judges whether to receive USB message; If just enter step (3); Just enter step (10) if not;
Step (3), judges whether message ID equals 0; If just open or turn off the power supply of unitunder test according to order; Just enter step (4) if not;
Step (4), judges whether message ID equals 1; If just set the collection period of n digital input port; Just enter step (5) if not;
Step (5), judges whether message ID equals 2; If just selected n digital output port is set to expecting state, just enter step (6) if not;
Step (6), judges whether message ID equals 3; If feel the pulse with regard to the n selected by use rush the capture function of input port, just enter step (7) if not;
Step (7), judges whether message ID equals 4; If just the n wave form output port selected is exported PWM waveform with the frequency of setting and dutycycle, just enter step (8) if not;
Step (8), judges whether message ID equals 5; If just arrange n CAN interface baud rate and the packet filtering scope of selection, or send CAN message, just enter step (9) if not;
Step (9), judges whether message ID equals 6; If just arrange the n LIN bus interface baud rate of selection, or send LIN message.
Step (10), is sent to host computer when digital input port IO state changes by its IO state; When Puled input port frequency or dutycycle change, the frequency calculated and dutycycle are sent to host computer; Receive CAN frame, be sent to host computer; Receive LIN frame, be sent to host computer.
Test fixture is divided into host computer and slave computer two parts, host computer is relevant to application, it is the assembly of test item, PC realizes with the form of software package combination, comprise manual test on stream and full-automatic testing in process of production, select for the test and management of different unit under test, result display, tested entries, the monitoring of testing process scheduling and bus data and survey; Slave computer is irrelevant with application, it is the assembly of signalling channel, it achieves the signalling channel of the multiple character that body electronics unit is correlated with the form design of real time embedded system, it, as the passage of signal and interface, completes and the signal wiring of unit under test, the configuration of test interface and monitoring.
Host computer is communicated by hi-speed USB interface with slave computer, first connection corresponding relation and the connected mode of slave computer signalling channel and unit under test is selected, set up the physical connection with unitunder test, then the configuration of signalling channel interface downloads in slave computer by host computer, and slave computer realizes the initialization operation of the signalling channel corresponding with the IO interface of unit under test according to signalling channel configuration.Then according to selected test item, test command, signalling channel, signal content and command parameter are sent to slave computer by host computer, slave computer resolve command, according to command selection, specific signalling channel is processed, then to state and the content of host computer feed-back channel, the test process of phenomenon and the judgement of test result is carried out by host computer.
Concrete realization is as follows:
In host computer performance history, first development and testing specification is formulated according to the technical manual of unit under test, simultaneously according to the requirement of production test, analyze hardware circuit and the external interface characteristic of unit under test, suitable cutting is carried out to exploitation test specification, form production test specification, ensure under the condition of the least possible test item, realize the complete test to unit under test hardware circuit, to improve production test efficiency.
Different test items is realized with the form in storehouse and joins in software package, the test item combination that different test specifications is corresponding different, so just, combined test item can be obtained flexibly with the testing requirement of satisfied different unit under test, also can must add flexibly with cutting test item to meet the demand of development and testing and production test.
Host computer realizes on Labview, the graphical control of Labview is utilized to realize the relevant interface of tested vehicle body electronic unit, comprise switch, button, virtual oscilloscope, waveform generator etc., the graphical test interface of Labview intuitively can reflect the IO interface of unit under test, in the manual test stage, man-machine operation interface is provided to carry out manual test in the mode of graphical interfaces, reflection test operation directly perceived and test phenomenon and result, in the automatic test stage, each test item is packaged into a submodule, NI automatic supervision test software TestStand is utilized to carry out orderly calling to a large amount of test items, realize the automatic management to testing process, automatically perform test operation, carry out the observation testing phenomenon, and provide test result.
In slave computer performance history, select the flush bonding processor of the many peripheral hardwares of high-performance, realize the multi-path digital input port of compatible 5v and 12v, multi-path digital output port, eight road Puled input ports, eight-path PWM output port and CAN/LIN bus interface, with these input/output port of the format management of signalling channel.According to body electronics element characteristics, signalling channel qualitative classification is identified with the form of ID, each signalling channel set up signal list with the form of ID+ label.Slave computer realizes process to signalling channel with the form of " hard control ", often kind of corresponding a kind of signal properties of control and corresponding processing mode, and ID mark corresponding to signal properties is as follows:
Multi-path digital input port-corresponding ID=1
Multi-path digital output port-corresponding ID=2
Eight road Puled input port-corresponding ID=3
Eight-path PWM output port-corresponding ID=4
2 tunnel CAN signal interface-corresponding ID=5
2 road LIN signaling interface-corresponding ID=6
Especially, as ID=0, this signalling channel is used for the control to unit under test power supply, for opening or turn off the power supply of unit under test.
The processing mode that various signal is corresponding is as follows:
Multi-path digital inputs:
Its state level and sampling period set according to the functional requirement of unit under test, compatible 5v and 12v of state level, sampling period sets when configuring selected specific label digital input port by host computer, slave computer gathers this digital input port with the cycle of setting and sends IO state to host computer, IO state value 0 or 1;
Multi-path digital exports:
Host computer sends digital output channel label and expecting state with the form of event frame to slave computer, and specific label port is set to expected level state by slave computer;
Eight road Puled input:
Selected Puled input port label is sent to slave computer by host computer, the calculating and sending realizing pulse signals frequency and dutycycle in the mode of input capture after slave computer does relevant Initialize installation gives host computer, host computer shows at host computer with the form of virtual oscilloscope according to frequency and dutycycle, indicates frequency and dutycycle with the form of text box simultaneously; Pulsed frequency interval is [0,65535], and dutycycle interval is [0,100];
Eight-path PWM exports:
Host computer is to the frequency of slave computer sendaisle label, waveform and dutycycle, and slave computer exports the pwm signal of characteristic frequency particular duty cycle on signal specific passage.Waveform frequency interval is [0,65535], and dutycycle interval is [0,100];
2 road CAN/LIN signals:
Due to the complicacy of bus communication, the performance history test of bus portion is realized by Canoe and CANCaseXL interface card, and the bus test in production run is then realized by the CAN/LIN bus interface that the application layer protocol that realizes on host computer and slave computer realize.First host computer arranges bus baud rate, then according to unit under test place CAN/LIN network and bus application protocol, arrange message ID and the range of identifiers of slave computer receiving filtration, to observe the CAN/LIN bus message within the scope of this, host computer carries out CAN/LIN network management and communication scheduling.As receiving element, the message that unit under test sends by slave computer is so complete that to be encapsulated in usb communication message and to send to host computer, as transmitting element, the message that send is sent to slave computer by host computer, and slave computer sends to unit under test by corresponding bus run after receiving.As long as the CAN/LIN bus transmitting-receiving of unit under test all can realize, then can ensure that the CAN/LIN bus portion hardware circuit on unit under test is errorless.
In the hardware connection mode of slave computer and unit under test, select the mode that wire harness connects on stream, according to the interface mode of unitunder test, make the wire harness and terminal that are connected with unitunder test Interface Terminal, like this according to different unitunder tests, make different wire harness, ensure that the versatility of test fixture.Be each unit under test exploitation base clamp and probe in process of production, improve testing efficiency, meet the requirement of the fast beat of production line.
By reference to the accompanying drawings the specific embodiment of the present invention is described although above-mentioned; but not limiting the scope of the invention; one of ordinary skill in the art should be understood that; on the basis of technical scheme of the present invention, those skilled in the art do not need to pay various amendment or distortion that creative work can make still within protection scope of the present invention.

Claims (9)

1. the universal test frock of a body of a motor car electronic unit, it is characterized in that, comprise host computer and slave computer, described host computer is communicated by USB connecting line with slave computer, described slave computer be also provided with multi-path digital input port, multi-path digital output port, eight road Puled input ports, eight-path PWM output port, 2 tunnel CAN interfaces, 2 road LIN bus interface, Programmable power supply, Embedded Minimum System and turn serial connection mouth, string turn and interface; Wherein, the signal of multi-path digital input interface imports into and turns serial connection mouth, and string turns and the signal of interface imports multi-path digital output port into; Described host computer and slave computer adopt the mode of fixed format message to communicate, and message format is as follows:
Heading (0x55+0xaa)+message ID+ signalling channel label+message content length+message content+16 bit check and;
Communicating of described host computer and slave computer is carried out for signalling channel, adopts signalling channel ID as message ID, the difference of message ID, communication direction and signalling channel, and the implication of message content, length and value are different;
Adopt with the relevant host computer of application and with the structure applying the slave computer had nothing to do, ensure that test fixture is for the development and testing of multiple product and production test.
2. the universal test frock of a kind of body of a motor car electronic unit as claimed in claim 1, it is characterized in that, the digital output port signal of unitunder test imports the multi-path digital input port of slave computer into, the switch input terminal mouth of unitunder test is from the multi-path digital output port Received signal strength of slave computer, signal is imported into eight road Puled input ports of slave computer by the PWM output port of unitunder test, the Puled input port of unitunder test is from the eight-path PWM output port Received signal strength of slave computer, the CAN interface of unitunder test and 2 tunnel CAN interface two-way communications of slave computer, the LIN bus interface of unitunder test and 2 road LIN bus interface two-way communications of slave computer, the Programmable power supply of slave computer is powered to the power supply of unitunder test, the USB interface of host computer is inserted in one end of described USB connecting line, and the other end of described USB connecting line inserts the USB interface of slave computer.
3. the universal test frock of a kind of body of a motor car electronic unit as claimed in claim 1, is characterized in that, described multi-path digital input port, and when message is sent to slave computer from host computer, message content is double byte size, sampling period in units of millisecond; When message is sent to host computer from slave computer, message content is the port IO state of byte size, value 0 or 1;
Described multi-path digital output port, message is sent to slave computer from host computer, and message content is byte size, the IO of selected port arranges state.
4. the universal test frock of a kind of body of a motor car electronic unit as claimed in claim 1, it is characterized in that, described eight road Puled input ports, when message is sent to slave computer from host computer, message content length is byte size, represents the input capture function of enable selected port; When message is sent to host computer from slave computer, message content length is 3 bytes, comprises double byte size, interval is the pulsed frequency of [0,65535] and byte size, interval are the dutycycle of [0,100].
5. the universal test frock of a kind of body of a motor car electronic unit as claimed in claim 1, it is characterized in that, described eight-path PWM output port, message is sent to slave computer from host computer, message content length is 3 bytes, comprise double byte size, interval is the pulsed frequency of [0,65535] and byte size, interval are the dutycycle of [0,100].
6. the universal test frock of a kind of body of a motor car electronic unit as claimed in claim 1, it is characterized in that, described 2 tunnel CAN interfaces, when message is sent to slave computer from host computer, when message content length is 3, message content arranges slave computer CAN baud rate, 33.333k bps is provided, 100k bps, 125k bps, 500k bps and 1M bps five kinds of options, when message content length is 4, message content arranges message ID and the range of identifiers of slave computer receiving filtration, when message content length is other numerical value, message content is complete CAN frame, slave computer extracts CAN frame ID, after data length and data, encapsulate according to CAN frame format, unitunder test is sent to by selected CAN interface, when message is sent to host computer from slave computer, message content is complete CAN frame, and host computer processes after extracting frame ID, data length and data according to CAN frame format accordingly.
7. the universal test frock of a kind of body of a motor car electronic unit as claimed in claim 1, it is characterized in that, described 2 road LIN bus interface, when message is sent to slave computer from host computer, when message content length is 2, message content arranges slave computer LIN bus baud rate, 2400bps is provided, 9600bps, 19200bps tri-kinds of options, to meet low speed LIN, the needs of middling speed LIN and high speed LIN, when message content length is other numerical value, message content is complete LIN frame, slave computer extracts LIN frame ID, after data length and data, encapsulate according to LIN frame format, unitunder test is sent to by selected LIN bus interface, when message is sent to host computer from slave computer, message content is complete LIN frame, and host computer processes after extracting frame ID, data length and data according to LIN frame format accordingly.
8. the universal test frock of body of a motor car electronic unit as arbitrary in claim 1-7 host computer the method for work that adopts, patterned test interface and graphical control is utilized intuitively to reflect the interface that tested vehicle body electronic unit is relevant and state thereof, graphical control comprises switch, button, LED, virtual oscilloscope, waveform generator, digital input interface, digital output port, Puled input port, the PWM output port of corresponding tested vehicle body electronic unit; In the manual test stage, man-machine operation interface is provided to carry out manual test in the mode of graphical interfaces, according to selected test item, test command, signalling channel, signal content and command parameter are sent to slave computer by host computer, process state and the content of the signalling channel of slave computer feedback simultaneously, carry out process and the display of testing phenomenon; In the automatic test stage, each test item is packaged into a submodule, utilizes automatic supervision test software to carry out orderly calling to a large amount of test items, realize the automatic management to testing process, automatically perform test operation, carry out testing the observation of phenomenon, and provide test result.
9. the universal test frock of body of a motor car electronic unit as arbitrary in claim 1-7 slave computer the method for work that adopts, be mainly divided into following steps:
Step (1), system initialization, carries out initialization to USB interface and each signalling channel;
Step (2), judges whether to receive USB message; If just enter step (3); Just enter step (10) if not;
Step (3), judges whether message ID equals 0; If just open or turn off the power supply of unitunder test according to order; Just enter step (4) if not;
Step (4), judges whether message ID equals 1; If just set the collection period of n digital input port; Just enter step (5) if not;
Step (5), judges whether message ID equals 2; If just selected n digital output port is set to expecting state, just enter step (6) if not;
Step (6), judges whether message ID equals 3; If feel the pulse with regard to the n selected by use rush the capture function of input port, just enter step (7) if not;
Step (7), judges whether message ID equals 4; If just the n wave form output port selected is exported PWM waveform with the frequency of setting and dutycycle, just enter step (8) if not;
Step (8), judges whether message ID equals 5; If just arrange n CAN interface baud rate and the packet filtering scope of selection, or send CAN message, just enter step (9) if not;
Step (9), judges whether message ID equals 6; If just arrange the n LIN bus interface baud rate of selection, or send LIN message;
Step (10), is sent to host computer when digital input port IO state changes by its IO state; When Puled input port frequency or dutycycle change, the frequency calculated and dutycycle are sent to host computer; Receive CAN frame, be sent to host computer; Receive LIN frame, be sent to host computer.
CN201210478888.0A 2012-11-22 2012-11-22 Universal test tool for autobody electronic unit and working method thereof Active CN102929277B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210478888.0A CN102929277B (en) 2012-11-22 2012-11-22 Universal test tool for autobody electronic unit and working method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210478888.0A CN102929277B (en) 2012-11-22 2012-11-22 Universal test tool for autobody electronic unit and working method thereof

Publications (2)

Publication Number Publication Date
CN102929277A CN102929277A (en) 2013-02-13
CN102929277B true CN102929277B (en) 2015-01-07

Family

ID=47644105

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210478888.0A Active CN102929277B (en) 2012-11-22 2012-11-22 Universal test tool for autobody electronic unit and working method thereof

Country Status (1)

Country Link
CN (1) CN102929277B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440187A (en) * 2013-08-15 2013-12-11 上海固泰科技有限公司 Hardware script-based automated CAN (Controller Area Network) bus test method
CN107689800B (en) * 2016-08-03 2020-12-18 瑞昱半导体股份有限公司 C-type universal serial bus switching circuit
CN106789410B (en) * 2016-12-07 2020-04-07 山东省科学院自动化研究所 CAN network intelligent monitoring system and monitoring method based on Bluetooth and OBD
CN110146755B (en) * 2019-05-16 2022-03-18 德凯认证服务(苏州)有限公司 Electronic and electrical performance test circuit system for automobile
CN113820992B (en) * 2020-06-19 2023-10-10 泰科电子(上海)有限公司 Digital input and output signal test platform
CN114125073B (en) * 2020-06-29 2023-06-13 株洲中车时代电气股份有限公司 Data interaction method, storage medium and electronic device
CN112881051A (en) * 2021-01-14 2021-06-01 京东数科海益信息科技有限公司 Testing tool and testing system of lifting mechanism

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0158132B1 (en) * 1993-09-22 1998-12-15 전성원 Self-diagnosing system and method for engine electronic controller
CN100511171C (en) * 2006-07-17 2009-07-08 中兴通讯股份有限公司 Test approach for debugging serial port function with single board and system thereof
CN201489086U (en) * 2009-07-17 2010-05-26 中国人民解放军63908部队 Universal testing system for digital circuit board
CN101814771B (en) * 2010-03-23 2012-07-18 江苏省电力公司无锡供电公司 Universal testing interface
CN202275322U (en) * 2011-10-17 2012-06-13 芜湖比翼鸟航空科技有限公司 Comprehensive detection platform for automotive electronics
CN102393738B (en) * 2011-12-16 2013-06-05 哈尔滨工业大学 Diagnostic device and test method of automobile electronic control unit (ECU)
CN202870623U (en) * 2012-11-22 2013-04-10 山东省科学院自动化研究所 Universal test fixture for automotive body electronic unit

Also Published As

Publication number Publication date
CN102929277A (en) 2013-02-13

Similar Documents

Publication Publication Date Title
CN102929277B (en) Universal test tool for autobody electronic unit and working method thereof
CN106453383A (en) UART (universal asynchronous receiver/transmitter)-based master-slave multi-processor communication system and method
CN101839790A (en) Intelligent on-line calibration system
CN206575438U (en) A kind of vehicle-mounted ethernet test modular converter and test system based on BroadR Reach
CN202870623U (en) Universal test fixture for automotive body electronic unit
CN113347273B (en) Vehicle-mounted Ethernet data conversion method, device, equipment and medium
CN107831702A (en) A kind of synchronous serial signal acquisition and control device based on gigabit Ethernet
CN103186126B (en) Realize interface arrangement and method that dcs is interconnected with smart machine
CN103176435B (en) Realize the interface arrangement and method of dcs and measuring apparatus interconnection
CN211603940U (en) Data conversion system based on automatic driving line vehicle control platform
CN101478453A (en) Handhold portable CANOPEN network data analyzer and controlling method thereof
CN208459818U (en) Source signal capture card
CN214151691U (en) Serial port communication circuit
CN109194199A (en) parallel motor driver
CN100452107C (en) AT91M40800 based multi-tandem port bus system
CN107153376A (en) A kind of electronic controller
CN210168057U (en) Multifunctional vehicle-mounted gateway
CN109901506B (en) Configurable PLC based on PCIe bus
CN103294637B (en) Based on the Magnetic isolation data input/output module of ARM adaptive direction control
CN107809264B (en) RS485 changes eight way RS 232's wireless communication converter
CN207039564U (en) A kind of half-duplex is anti-to disturb infrared serial interface circuit certainly
CN205028100U (en) Two accuse modules of manual control and bus command control
CN205622888U (en) Intelligent terminal
CN104539500A (en) External device extension method of vehicle-mounted terminal
CN203982293U (en) USB-LIN interconnecting device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant