CN201724695U - Special testing device for automobile digital instruments - Google Patents

Special testing device for automobile digital instruments Download PDF

Info

Publication number
CN201724695U
CN201724695U CN2009202214103U CN200920221410U CN201724695U CN 201724695 U CN201724695 U CN 201724695U CN 2009202214103 U CN2009202214103 U CN 2009202214103U CN 200920221410 U CN200920221410 U CN 200920221410U CN 201724695 U CN201724695 U CN 201724695U
Authority
CN
China
Prior art keywords
pxi
test
pin
interface
circuit board
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.)
Expired - Fee Related
Application number
CN2009202214103U
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.)
China Automotive Technology and Research Center Co Ltd
Original Assignee
China Automotive Technology and Research Center 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 China Automotive Technology and Research Center Co Ltd filed Critical China Automotive Technology and Research Center Co Ltd
Priority to CN2009202214103U priority Critical patent/CN201724695U/en
Application granted granted Critical
Publication of CN201724695U publication Critical patent/CN201724695U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

The utility model discloses a special testing device for automobile digital instruments, which comprises a LabVIEW graphical program compiling platform, a PXI hardware platform, testing modules for a speedometer, an engine speed indicator, a fuel meter, a water temperature meter and switching value, a CAN communication testing module and a data communication transfer card, wherein the LabVIEW graphical program compiling platform and the PXI hardware platform are responsible for testing the automobile digital instruments to be tested. Related board cards connected with a controller main board are connected with the automobile digital instruments to be tested by the aid of signal connectors; the CAN communication testing module is used for testing and calibrating the digital instruments with CAN interfaces so as to test communication protocol and calibration protocol customized definition; the data communication transfer card is used for parameter calibration for the instruments to be tested and realizing data exchange between each controller serial interface and each CAN interface of the automobile digital instruments to be tested; and the data communication transfer card adopts a buffer mechanism based on circular queue. The testing device can modularly perform module test for the speedometer, the rotational speed indicator, the water temperature meter, the fuel meter and switching value signals of the digital instruments, and can also integrally test the digital instruments.

Description

The car digital instrument special detection device
Technical field
The utility model relates to a kind of car digital instrument test macro, particularly a kind of car digital instrument special detection device.
Background technology
In the performance history of automobile intelligent digital instrument, the quantity of information of the required collection of car digital instrument is many, and the information parameter of various vehicles difference again is bigger, and the existence of these problems has brought difficulty for the real vehicle test and the parameter calibration of instrument.
Publication number is CN101509948, discloses a kind of automotive electronics TVS (Test and Verification) test macro and method of testing thereof in the Chinese utility application that its open day is on August 19th, 2009.This system comprises the PXI hardware platform device of being responsible for to be measured of test; Be used for signal conditioning package that product is tested automatically and analyzed; Be used for realizing the interface box that signal is introduced; Be responsible for to PXI hardware platform device and to be measured the power-supply system that power supply is provided; Be used for preserving test data and the remote data storehouse server of remote testing data query is provided, and can connect the computing machine that the said distal ends database server carries out the test data inquiry by the Internet arbitrarily.This automotive electronics TVS (Test andVerification) test macro can only be finished the universal test to automobile electronics, and can not carry out professional test at the characteristics and the test condition thereof of car digital instrument.Therefore, current urgent need is developed a kind of special test system at car digital instrument.
The utility model content
At above-mentioned prior art, the utility model provides a kind of car digital instrument special detection device, in order to make this proving installation have every fast and effectively test function, can simulate the various parameter informations that produce on the automobile, fast designed car digital instrument is comprehensively tested, save stand or real vehicle test duration, reduce the test risk, native system utilizes software and hardware series of products and data communication transition card of researching and developing voluntarily of American National instrument (NI) company limited, test needed various simulation according to car digital instrument, numeral, switch, various signal parameters such as CAN, adopt PXI integrated circuit board and the data communication transition card connection hardware circuit of NI, on this hardware foundation, by the graphical formula compiling of LabVIEW (LaboratoryVirtual Instrumentation Engineering Workbench abbreviation) platform whole special test device is developed, the testing scheme of a complete automobile intelligent digital instrument finally is provided.The utility model car digital instrument special detection device provides the special test apparatus platform at car digital instrument, the digital instrument that is fit to possess the CAN interface and does not possess the CAN interface can be demarcated setting to the instrument parameter according to CAN communication protocol simultaneously.Can sub-module speedometer, tachometer gage, water-thermometer, fuel gauge and the switching value signal of digital instrument be carried out module testing, also can carry out integration testing digital instrument.The data communication transition card adopts the reliability that has ensured exchanges data between serial line interface and the CAN interface based on the data buffering of round-robin queue.
In order to solve the problems of the technologies described above, the technical scheme that the utility model car digital instrument special detection device is achieved is: this system comprises: (1) is responsible for the graphical formula compiling platform of LabVIEW and the PXI hardware platform of the tested car digital instrument of test; Described PXI hardware platform comprises PXI-6624 integrated circuit board, the PXI-6528 integrated circuit board that is used for digital input and output that is used for timer and timer, the PXI6713 integrated circuit board that is used for simulating signal output; Above-mentioned PXI-6624, PXI-6528 are connected with the controller mainboard by the PXI slot with the PXI6713 integrated circuit board, and link to each other with tested car digital instrument by signal connector; (2) speedometer test module, engine speed indicator test module, fuel gauge test module, water-thermometer test module and switching value test module; The speedometer test module is controlled the digital pulse signal of PXI-6624 integrated circuit board output, comprises the amplitude and the frequency of pulse signal, utilizes the pulse signal output channel of the Counter0 passage control speedometer of PXI-6624 integrated circuit board; The engine speed indicator test module is controlled the digital pulse signal of PXI-6624 integrated circuit board output, comprises the amplitude and the frequency of pulse signal, utilizes the pulse signal output channel of the Counter1 passage control engine speed indicator of PXI-6624 integrated circuit board; Fuel gauge test module control PXI-6713 integrated circuit board is exported simulating signal, utilizes the simulating signal amplitude of the AO0 passage control fuel gauge of PXI-6713 integrated circuit board; Water-thermometer test module control PXI-6713 integrated circuit board is exported simulating signal, utilizes the simulating signal amplitude of the AO1 passage control water temperature table of PXI-6713 integrated circuit board; The numeral output of switching value test module control PXI-8528 integrated circuit board utilizes the digital I/O output channel of PXI-8528 integrated circuit board to carry out the parameter setting; (3) be used for the digital instrument with CAN interface is tested and demarcated, with test communications agreement and the user-defined CAN communication test of demarcation agreement module, described CAN communication test module adopts CAN communication protocol, by data communication transition card output CAN signal, the CAN signal directly carries out data communication with tested car digital instrument; (4) be used for tested instrument is carried out parameter calibration, and realize the data communication transition card of exchanges data between controller serial port interface and the tested car digital instrument CAN interface; The data-switching of described data communication transition card control serial ports to the data-switching of CAN interface and CAN interface to serial ports, described data communication transition card employing buffering; (5) responsible power-supply system of giving above-mentioned PXI hardware platform and the power supply of tested car digital instrument.
The utility model car digital instrument special detection device, wherein, described data communication transition card comprises power module, reset circuit, crystal oscillator, master cpu, serial ports transmission circuit and CAN interface transmission circuit.
Compared with prior art, the beneficial effect of the utility model car digital instrument special detection device is:
(1) by making up hardware test platform, provides the needed simulating signal of car digital instrument, pulse signal, switching value signal and CAN bus signals, can simulate the signals of vehicles relevant with digital instrument based on PXI;
(2) based on the LABView Software Development Platform each unit under test of instrument is carried out module testing, that is, can sub-module be tested separately by speedometer, tachometer gage, water-thermometer, fuel gauge and the switching signal of car digital instrument;
(3) each modular unit testing process design according to the characteristics of each modular unit, is provided with characteristic parameter and alarm threshold parameter, and the user can test modular unit by the mode of automatic or manual,, and can output alarm information.。
(4) exploitation of data communication transition card, satisfied the data exchanging function between serial line interface and the CAN bus interface, can carry out the parameter calibration setting to digital instrument, promptly the characteristic parameter of each modular unit of digital instrument be carried out online, off-line calibration and fault diagnosis functions with CAN interface.
(5) exchanges data of data conversion card, the design based on the data Caching Mechanism of round-robin queue has guaranteed safe and reliable data communication between serial line interface and the CAN bus interface, has avoided owing to the different event of data loss that cause of both traffic rates.
(6) digital instrument at the CAN bus interface has designed the test communications agreement, thereby can carry out the CAN communication test to the digital instrument with CAN interface.
The utility model car digital instrument special detection device not only can satisfy the requirement of car digital instrument bench test, and on this basis, all right secondary development is based on demarcation, measurement and the diagnostic system of the vehicle ECU of CAN bus.
Description of drawings
Fig. 1 is the utility model Meter Test device hardware capability block diagram;
Fig. 2 Meter Test platform general function block diagram;
Fig. 3 is a data conversion card functional block diagram in the utility model;
Fig. 4-the 1st, data conversion card circuit theory diagrams in the utility model;
Fig. 4-the 2nd, serial ports transmission circuit figure shown in the I part among Fig. 4-1;
Fig. 4-the 3rd, master cpu shown in the II part and peripheral crystal oscillator, reset circuit figure among Fig. 4-1;
Fig. 4-the 4th, circuit supply figure and CAN interface transmission circuit figure shown in the III part among Fig. 4-1;
Fig. 5 is the overall control flow chart of the utility model proving installation;
Fig. 6 is a test car speed module controls process flow diagram in the utility model;
Fig. 7 is an engine speed indicator test module control flow chart in the utility model;
Fig. 8 is the utility model intermediate fuel oil table test module control flow chart;
Fig. 9 is a water-thermometer test module control flow chart in the utility model;
Figure 10 is a data communication transition card control flow chart in the utility model;
Figure 11 is the utility model proving installation master interface front panel schematic layout pattern;
Figure 12 is each module testing state transition diagram in the utility model;
Figure 13 is that the instrument test parameter is set CAN agreement interface synoptic diagram in the utility model.
Embodiment
Below in conjunction with the drawings and specific embodiments the utility model is done to describe in further detail.
The utility model is a kind of car digital instrument special detection device, and its development requires can be simulated and produce the required various acquired signal information of instrument, and can communicate by CAN interface and tested instrument at different vehicles.
The utility model car digital instrument special detection device comprises following major function.
1. the simulation of the pulse signal of speedometer produces;
2. the simulation of the pulse signal of engine speed indicator produces;
3. the signal imitation of vehicle fuel gauge produces;
4. the signal imitation of vehicle water-thermometer produces;
5. the simulation of vehicle body switching signals such as various car lights, vehicle window, car door produces;
6. car digital instrument has the CAN communication interface, as a CAN node, can communicate with other nodes on the CAN network on the car.
The hardware of the utility model car digital instrument special detection device mainly comprises major parts such as master controller, PXI integrated circuit board, signal connector, data communication transition card, power supply and tested instrument as shown in Figure 1.What the mileometer of car digital instrument and engine speed indicator need be gathered is digital pulse signal, different vehicles is because the sensor difference that adopts, the pulse signal high level of being exported does not wait from 3V-12V, for range of signal applicability that can the Test Design instrument, adopt the PXI-6624 integrated circuit board, cooperate the externally fed circuit, produce the digital pulse signal of the required collection of instrument.PXI-6624 is 32 bit timings device/counter PXI interface integrated circuit board that technical grade is isolated, and has 8 tunnel passages of isolating, and we adopt Couter0 and Counter1 to provide passage as the pulse signal of speedometer and engine speed indicator.Fuel gauge and water-thermometer collection be simulating signal, PXI-6233 can export 4 road 10V analog level signal, PXI-6713 can export 8 road 10V analog level signal, and 2 analog output channels that we select PXI-6713 provide passage as the simulating signal of fuel gauge and water-thermometer.Because the switching value signal on the instrument is many, the interference that produces between them is along with also bigger, we select for use PXI-8528 that the switching value of instrument is controlled, PXI-6528 is the digital I/O passage of high-speed isolated, the input and output passage is independent respectively, has effectively suppressed interference between signals.
The demarcation of instrument parameter and as the data communication of other CAN nodes on CAN node and the car, adopt a blocks of data transition of communications card to finish, the major function of this transition card is the translation function of finishing between rs 232 serial interface signal and the CAN signal, its purpose one is to save cost, the 2nd, consider that most of desktop computers or notebook do not have the CAN interface.By the characteristic parameter of this transition card, set as the characteristic coefficient of vehicle, the transduction factor of sensor, the speed ratio of engine and some calibrating parameters of instrument etc. to controlled car digital instrument.Because the target vehicle is uncertain, some characteristic parameters of instrument need the real vehicle test to demarcate at last, so the instrument parameter calibration used after this transition card can be used as.Fig. 3 shows the functional block diagram of data communication transition card, and the function of this data communication transition card is: finish the exchanges data between serial line interface and the CAN interface; Digital instrument with CAN interface is carried out the parameter calibration setting; Carry out data communication with digital instrument with CAN interface.
Fig. 4-1 shows the integrated circuit schematic diagram of above-mentioned data communication transition card, and described data communication transition card comprises power module, reset circuit, crystal oscillator, master cpu, serial ports transmission circuit and CAN interface transmission circuit.
In order clearly to express the details among Fig. 4-1, the integrated circuit figure of this data conversion card is decomposed into the enlarged drawing of three local circuits, that is: serial ports transmission circuit figure, master cpu and peripheral crystal oscillator and reset circuit figure, circuit supply figure and CAN interface transmission circuit figure.
Fig. 4-2 shows above-mentioned serial ports transmission circuit figure, and this circuit is made up of serial ports transceiving chip MAX232 and peripheral matching capacitance.Wherein, the 13rd pin of MAX232 chip links to each other with the pin 2 of connector XSI (pin 2 of DB-9 serial ports), is used for sending the data that transmitted by master cpu; The 14th pin of MAX chip links to each other with the pin 1 of connector XSI (pin 3 of DB-9 serial ports), is used for receiving the data that outside serial ports mails to master cpu.The 11st pin of MAX232 chip links to each other with the Txd pin of master controller, and the MAX232 chip receives the Transistor-Transistor Logic level data of the Txd pin transmission of master cpu; The 12nd pin of MAX232 chip links to each other with the Rxd pin of master controller, and the MAX232 chip sends to the Transistor-Transistor Logic level data Rxd pin of controller.Five capacitor C 1, C2, C3, C4, C5 are the matching capacitance of chip MAX232, and wherein: capacitor C 3 is the chip power filter capacitor, capacitor C 1, C2, C4, the C5 press filtration ripple effect that hoists.This serial ports transmission circuit can satisfy the Transistor-Transistor Logic level of master cpu serial ports and the level conversion between the external serial line interface RS232 level.
Fig. 4-3 shows above-mentioned master cpu and peripheral crystal oscillator, reset circuit figure, debug i/f circuit, and its circuit constitutes and is: master controller adopts the MC68HC908GZ16 chip; Crystal oscillating circuit adopts 4Mhz crystal oscillator, two 22p matching capacitance and 1M Ohmage in parallel to form; Reset circuit by on move 5V to resistance and grounding switch form.The MC68HC908GZ16 chip /keep the low level of the certain hour master controller that can reset on the RST pin.4 pin of debug i/f circuit BDM, 6 pin, 8 pin, 10 pin, 12 pin, 14 pin, 16 pin link to each other with the debugging interface pin of MC68HC908GZ16 chip respectively.Debugging interface is mainly used to debugged program and downloads.
Fig. 4-4 shows this data communication transition card power module figure and CAN interface transmission circuit figure, and its circuit formation is: power module is made up of the integrated voltage stabilizing chip of three ends 78L05, a plurality of peripheral matching capacitance C14, C15, C16, C17, diode VD3, pull down resistor R15 and light emitting diode.Wherein: the effect of diode VD3 is to prevent the power supply reversal connection, and pull down resistor and light emitting diode play the power supply indicative function, and two capacitor C 14, C16 filter high-frequency signal, and two polar capacitor C15, C17 filter low frequency signal.CAN interface transmission circuit is made up of CAN transponder chip TJA1054CT and peripheral match circuit; wherein five current-limiting resistance R6, R7, R8, R9, R10 protection master cpu interface, two current-limiting resistance R13, R14 protection CAN interfaces, two resistance R 11 and R12 mainly play the bus resistance coupling and change the bus driver ability.This circuit can satisfy the CAN interface of master cpu and the level conversion between the peripheral hardware CAN interface.
As shown in Figure 2, the exploitation of this car digital instrument special test device software is based on LabVIEW 8.20 platforms of NI company, adopts the graphical program language of LabVIEW, provides a kind of method very intuitively to set up man-machine dialog interface and program circuit.The utility model digital private proving installation is considered the needs of test of car digital instrument allomeric function and functions of modules test, whole special test device mainly comprises main interface module and each functional test module, according to signal type the instrument function test is divided into: speedometer test module, engine speed indicator test module, fuel gauge test module, water-thermometer test module, switching value test module (meaning of switching value representative can User Defined), CAN communication test module and parameter be provided with main functional modules such as module.
As shown in figure 11, the utility model car digital instrument test platform left side is the switching key of various functions of modules tests, can switch to the test event of individual feature module.The display interface of right side, main interface simulated automotive instrument panel shows as speedometer, engine speed indicator, water-thermometer, fuel gauge, mileage indication and information such as various warning and switching signal.In carrying out test experiments, the staff promptly can observe the allomeric function of Meter Test by main interface, and selection key can switch to concrete module testing interface then.
As shown in Figure 5, before the special test device is started working, at first carry out initialization operation, carry out timer channel selecting and parameter setting, wherein the Counter0 of PXI6624 is as the pulse signal output channel of speedometer, and the Counter1 of PXI6624 is as the pulse signal output channel of engine speed indicator.The AO0 of PXI6713 is as the simulating signal output channel of fuel gauge, and the AO1 of PXI6713 is as the simulating signal output channel of water-thermometer, and the switching value signal is provided by the digital I/O output channel of PXI8528.The parameter setting comprises parameters such as characteristic coefficient, transduction factor, engine speed ratio factor and signal amplitude, range, step-length.Before all module testings, at first need the parameter of this module is carried out initialization, as carry out characteristic coefficient, transduction factor, engine speed ratio, hypervelocity thresholding, fuel oil thresholding, water temperature thresholding and the isoparametric setting of measurement range.
The main flow that the utility model car digital instrument special detection device is tested is as follows:
As shown in Figure 5, in the car digital instrument special test device that has the graphical formula compiling of LabVIEW platform, comprise main interface module and above-mentioned each functional test module;
Main interface module establishes the display interface of simulated automotive instrument panel, the displaying contents of this display interface comprises that speedometer, engine speed indicator, water-thermometer, fuel gauge, mileage indication and various warning and switching signal information show: and be provided with the switching key that speedometer test module, engine speed indicator test module, fuel gauge test module, water-thermometer test module, switching value test module, CAN communication test module and parameter are provided with module, switch to single test event by selection key;
The method of above-mentioned car digital instrument test may further comprise the steps:
(1) each passage of initialization PXI hardware platform and channel parameters setting;
(2) select one of following several functions by switching key:
(2-1) speedometer functional test;
(2-2) the engine speed indicator functional test is surveyed;
(2-3) fuel gauge functional test;
(2-4) water-thermometer functional test;
(2-5) switching value functional test;
(2-6) data communication;
(3) if arbitrary function in selected above-mentioned (2-1) to (2-5), controller starts corresponding test module, parameter is set after, select the automatic or manual test pattern;
Wherein: as Fig. 6, Fig. 7, Fig. 8 and shown in Figure 9,
Under automatic test pattern,
Set initial value, final value and the step-length of controlled variable, system is from the initial value of controlled variable, and step-length increases progressively and exports control signal,
When greater than the controlled variable thresholding, start and report to the police;
When step-length was increased to the controlled variable final value, step-length began to successively decrease and export control signal;
When less than the controlled variable thresholding, cancellation is reported to the police;
Then, step-length continues to successively decrease, and when controlled variable is decremented to initial value, promptly finishes a test loop;
In the process of test,, then finish this test process if receive the termination test command; Under the manual test pattern:
By obtaining the parameter position signal on the control panel in the main interface module, the control signal of output parameter,
When parameter values is provided with threshold value greater than parameter, starts and report to the police;
When parameter values was provided with threshold value less than parameter, cancellation was reported to the police;
When receiving the termination test command, then finish this test process;
If selected above-mentioned (2-6) function utilizes the data communication transition card in the exchanges data that realizes between controller and the tested car digital instrument between serial line interface and the CAN interface;
Figure 12 shows the state transition diagram of above-mentioned steps (3).
It is as follows just to utilize the utility model special test device respectively speedometer, engine speed indicator, fuel gauge and water-thermometer to be carried out test description:
The speedometer test: the test of speedometer need be understood the characteristic parameter of target setting vehicle in advance, as transduction factor of vehicle characteristics coefficient, vehicle speed sensor etc., by data communication transition card (CAN bus signals) characteristic parameter is downloaded to tested instrument then, produce pulse signal according to test request, the amplitude of signal, frequency can be adjusted by manual, vehicle speed signal possesses the overspeed alarming prompt facility, according to the hypervelocity threshold value of setting, when being higher than this threshold value, by the over-speed warning light flash for prompting on the front panel of main interface.Test process also can manually carry out, and test result is filed in order to inquiry.The state machine design pattern is adopted in the design of speedometer test module, as shown in figure 12, mainly is divided into beginning, gets parms, manual selection, collection (manually), supervision time (automatically), output signal and state such as stop.Wherein obtaining of parameter mainly is the parameter value that obtains characteristic coefficient and transduction factor on the front panel, and usually, these two values need online modification in the instrument parameter calibration.Supervision time is meant according to the signal of the time output regulation of procedure stipulation, takes the stair-stepping speed of a motor vehicle variation tendency of ' V ' pattern that instrument is tested in the native system, above-mentioned " V " pattern that is shown in Figure 6.That is: progressively be incremented to final value from initial value, from stopping being decremented to initial value, finish a test loop again.
As shown in Figure 6, the speedometer test is the digital pulse signal of control integrated circuit board output, comprises the amplitude and the frequency of pulse signal, utilizes the pulse signal output channel of the Counter0 passage control speedometer of PXI-6624 integrated circuit board.The amplitude, characteristic coefficient, transduction factor, the range of speedometer, the alarm threshold value and the speed step-length of speedometer that need to set the vehicle speed pulse signal before the test are selected manual test or test automatically then.The test specification of speedometer is: 0 ~ 250km/h.Alarm threshold can be selected according to actual conditions.Manual test is regulated according to speed of a motor vehicle knob switch, according to knob switch position and scale-up factor the frequency of output digital pulse signal is controlled, when being higher than alarm threshold, speed starts overspeed alarming, when speed is lower than alarm threshold, and the cancellation overspeed alarming.Automatically test to the frequency of output digital pulse signal from the range initial value to full scale, again from full scale to the range initial value, under the control of step-length, move in circles and carry out, simultaneously, when being higher than alarm threshold, speed starts overspeed alarming, when speed is lower than alarm threshold, and the cancellation overspeed alarming.
The engine speed indicator test: the engine speed indicator test module is similar to the speedometer test module, difference is its characteristic parameter difference, situation according to specific vehicle, by data communication transition card (CAN bus signals) the engine speed ratio is downloaded to tested instrument, then it is tested.
As shown in Figure 7, the engine speed indicator test is the digital pulse signal of control integrated circuit board output, comprises the amplitude and the frequency of pulse signal, utilizes the pulse signal output channel of the Counter1 passage control engine speed indicator of PXI-6624 integrated circuit board.The amplitude, engine speed ratio factor, the range of engine speed indicator, the alarm threshold value and the rotating speed step-length of engine speed indicator that need to set rotational speed pulse signal before the test are selected manual test or test automatically then.The test specification of engine speed indicator is: 0~8000rpm.Alarm threshold can be selected according to actual conditions.Manual test is regulated according to the rotating speed knob switch, according to knob switch position and scale-up factor the frequency of output digital pulse signal is controlled, start rotating speed and report to the police when rotating speed is higher than alarm threshold, when rotating speed was lower than alarm threshold, the cancellation rotating speed was reported to the police.Automatically test to the frequency of output digital pulse signal from the range initial value to full scale, again from full scale to the range initial value, under the control of step-length, move in circles and carry out, simultaneously, start rotating speed and report to the police when rotating speed is higher than alarm threshold, when rotating speed was lower than alarm threshold, the cancellation rotating speed was reported to the police.
The fuel gauge test: the test of fuel gauge need preestablish the fuel oil test specification and the fuel oil thresholding alarming value of target vehicle, by data communication transition card (CAN bus signals) parameter value is downloaded to tested instrument, begin to test the fuel door limit value of following according to test request then according to setting, when being lower than this threshold value, by the fuel oil alarm lamp flash for prompting on the front panel of main interface.Test process can manually carry out.The Design Mode of state machine is adopted in the test of fuel gauge, mainly be divided into beginning, get parms, manual, gather, states such as inspection warning, output signal.The same fuel gauge of the test of water-thermometer does not repeat them here.
As shown in Figure 8, the fuel gauge test is a control integrated circuit board output simulating signal, utilizes the simulating signal amplitude of the AO0 passage control fuel gauge of PXI-6713 integrated circuit board.The alarm threshold value that needs to set the range and the fuel gauge of fuel gauge before the test is selected manual test or test automatically then.The test specification of fuel gauge is: 0~1 (0 expression fuel oil sky, 1 expression fuel oil is full).Alarm threshold can be selected according to actual conditions.Manual test is regulated according to the fuel oil knob switch, according to knob switch position and scale-up factor the amplitude of output simulating signal is controlled, and starts fuel oil and report to the police when fuel oil is lower than alarm threshold, and when fuel oil was higher than alarm threshold, the cancellation fuel oil was reported to the police.Automatically test is carried out from 0 (sky) to 1 (expire) the amplitude of output simulating signal, again from 1 (expire) to 0 (sky), move in circles and carry out, simultaneously, when fuel oil is lower than alarm threshold, starts fuel oil and report to the police, when fuel oil is higher than alarm threshold, cancel the fuel oil warning.
The water-thermometer test: as shown in Figure 9, the water-thermometer test is a control integrated circuit board output simulating signal, utilizes the simulating signal amplitude of the AO1 passage control water temperature table of PXI-6713 integrated circuit board.The alarm threshold value that needs to set water-thermometer range and water-thermometer before the test is selected manual test or test automatically then.The test specification of water-thermometer is: 0 ℃~100 ℃, alarm threshold can be selected according to actual conditions.Manual test is regulated according to the water temperature knob switch, according to knob switch position and scale-up factor the amplitude of output simulating signal is controlled, and starts water temperature and report to the police when water temperature is higher than alarm threshold, and when water temperature was lower than alarm threshold, the cancellation water temperature was reported to the police.Automatically test is carried out from 0 ℃ to 100 ℃ the amplitude of output simulating signal, again from 100 ℃ to 0 ℃, moves in circles and carries out, and simultaneously, when water temperature is higher than alarm threshold, starts water temperature and reports to the police, and when water temperature was lower than alarm threshold, the cancellation water temperature was reported to the police.
The process of utilizing data communication transition card in the utility model special test device to finish data communication is: as shown in figure 10, the data communication transition card is mainly realized the exchanges data between serial port interface and the CAN interface.
The processing of data communication relates to the data-switching of serial ports to the data-switching of CAN interface and CAN interface to serial ports.In order to prevent because of the different loss of datas that cause of data communication rates between serial ports and the CAN interface, increased data buffer unit, the data that receive from serial ports or CAN interface at first enter data buffer unit, and then are sent to the other end of data communication according to the principle of first in first out.Data buffer unit is a memory headroom, and memory size depends on that data communication both sides' (CAN interface and serial ports) data traffic and both sides' traffic rate is poor, and buffering adopts round-robin queue's algorithm to realize.
As shown in figure 13, the CAN agreement is adopted in data communication, consideration in view of the cost aspect, on LabVIEW, serial ports is operated, then by data communication transition card output CAN signal, the CAN signal directly carries out data communication with tested instrument, therefore, needs simple CAN communication protocol of definition.The special test device is as a node on the CAN network, and node ID number can set up on their own according to demand, and the data area is made up of command word, data length, data, check bit.Set CAN communication simple protocol by the front panel man-machine dialog interface.Table 1 shows parameter calibration data communication protocol is set, and table 2 shows car digital instrument special test device CAN communication protocol.
The integration testing of digital instrument is primarily aimed at the test of the digital instrument of band CAN bus interface, and its test process is as follows:
At first, by the data communication transition card parameters such as the characteristic parameter of digital instrument such as characteristic coefficient, transduction factor, engine speed ratio, hypervelocity thresholding, fuel oil alarm threshold, water temperature alarm threshold are carried out parameter calibration according to the communication protocol of table one;
Then, send the test data message for tested instrument according to the communication protocol of table 2, test process can be operated or manual operation automatically.Automatically operation promptly: the sequence of test data according to prior regulation periodically sends the test data message to tested instrument.Manual operation is promptly: the parameter information content according to table 2 is revised each parameter by operation interface, once sends the test data message to tested instrument.The information if tested instrument makes a mistake then sends error message by the CAN bus to Test Host, so that record files.
Table 1 parameter calibration is provided with data communication protocol
Function Command word Length Data Verification
Characteristic coefficient 01H 0x01
Transduction factor 02H 0x01
The engine speed ratio 03H 0x02
The hypervelocity thresholding 04H 0x02
The fuel oil thresholding 05H 0x01
The water temperature thresholding 06H 0x01
Table 2 car digital instrument special test device CAN communication protocol CAN Frame:
Figure G2009202214103D00101
Note:
1 pilot lamp:
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
The EPC alarm lamp The OBD alarm lamp Brake block wearing and tearing alarm lamp The ABS alarm lamp The anti-theft locking pilot lamp Parking brake braking pilot lamp The air bag alarm lamp The alarm lamp of not fastening the safety belt
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8
Back mist pilot lamp Preceding mist is instigated lamp Right turn indicator lamp Full beam indicator lamp Show wide pilot lamp The TCS pilot lamp The left-hand rotation pilot lamp The brake fluid liquid level is hanged down alarm lamp
2 fault alarms
Bit7 Bit6 Bit5 Bit4
Fuel liquid level is low The coolant temperature height Engine oil pressure is low The drag friction pad wear
3 is backlight
Bit3 Bit2 Explanation
0 0 Pass backlight
0 1 20% brightness
1 0 50% brightness
1 1 100% brightness
4 gears
Bit1 Bit0 Explanation
0 0 The P retaining
0 1 The R retaining
1 0 The N retaining
1 1 The D retaining
In sum, that adopts that the Series P XI integrated circuit board of NI and flexible LabVIEW software platform develop is used for the car digital instrument product development, test, assessments etc. are multi-functional in the utility model car digital instrument special test device of one, by test (above-mentioned table 1 and table 2 can illustrate the test data content) to actual instrument, the result shows that the utility model special test device can finish the every functional test to tested car digital instrument fast and accurately, and this system possesses extensibility, can be transplanted to very easily in the testing scheme of other products, for the research and development of follow-up automobile electronics have accumulated the test experience.
Although in conjunction with figure the utility model is described above; but the utility model is not limited to above-mentioned embodiment; above-mentioned embodiment only is schematic; rather than it is restrictive; those of ordinary skill in the art is under enlightenment of the present utility model; under the situation that does not break away from the utility model aim, can also make a lot of distortion, these all belong within the protection of the present utility model.

Claims (6)

1. a car digital instrument special detection device is characterized in that,
Comprise:
---be responsible for the graphical formula compiling platform of LabVIEW and the PXI hardware platform of the tested car digital instrument of test; Described PXI hardware platform comprises PXI-6624 integrated circuit board, the PXI-6528 integrated circuit board that is used for digital input and output that is used for timer and timer, the PXI6713 integrated circuit board that is used for simulating signal output; Above-mentioned PXI-6624, PXI-6528 are connected with the controller mainboard by the PXI slot with the PXI6713 integrated circuit board, and link to each other with tested car digital instrument by signal connector;
---speedometer test module, engine speed indicator test module, fuel gauge test module, water-thermometer test module and switching value test module;
The speedometer test module is controlled the digital pulse signal of PXI-6624 integrated circuit board output, comprises the amplitude and the frequency of pulse signal, utilizes the pulse signal output output of the Counter0 passage control speedometer of PXI-6624 integrated circuit board;
The engine speed indicator test module is controlled the digital pulse signal of PXI-6624 integrated circuit board output, comprises the amplitude and the frequency of pulse signal, utilizes the pulse signal output of the Counter1 passage control engine speed indicator of PXI-6624 integrated circuit board;
Fuel gauge test module control PXI-6713 integrated circuit board output simulating signal is utilized the simulating signal output of the AO0 passage control fuel gauge of PXI-6713 integrated circuit board;
Water-thermometer test module control PXI-6713 integrated circuit board output simulating signal is utilized the simulating signal output of the AO1 passage control water temperature table of PXI-6713 integrated circuit board;
The digital signal output of switching value test module control PXI-8528 integrated circuit board utilizes the digital I/O output channel of PXI-8528 integrated circuit board to carry out the signal parameter setting;
---CAN communication test module, be used for the digital instrument with CAN interface is tested and demarcated, described CAN communication test module adopts self-defined CAN communication protocol, directly carries out data communication with tested car digital instrument by the data communication transition card;
---be used for tested instrument is carried out parameter calibration, and realize the data communication transition card of exchanges data between controller serial port interface and the tested car digital instrument CAN interface; The data-switching of described data communication transition card control serial ports to the data-switching of CAN interface and CAN interface to serial ports, described data communication transition card employing is based on the buffering of round-robin queue;
---be responsible for giving the power-supply system of above-mentioned PXI hardware platform and the power supply of tested car digital instrument.
2. according to the described car digital instrument special detection device of claim 1, it is characterized in that,
Described data communication transition card comprises power module, reset circuit, crystal oscillator, master cpu, serial ports transmission circuit and CAN interface transmission circuit.
3. according to the described car digital instrument special detection device of claim 2, it is characterized in that,
Described power module is made up of the integrated voltage stabilizing chip of three ends 78L05, a plurality of peripheral matching capacitance C14, C15, C16, C17, diode VD3, pull down resistor R15 and light emitting diode; Wherein: the effect of diode VD3 is to prevent the power supply reversal connection, and pull down resistor and light emitting diode play the power supply indicative function, and two capacitor C 14, C16 filter high-frequency signal, two polar capacitor C15, C17 that are used for filtering low frequency signal.
4. according to the described car digital instrument special detection device of claim 2, it is characterized in that,
Described master cpu adopts the MC68HC908GZ16 chip; Described crystal oscillating circuit is made up of 4Mhz crystal oscillator, two 22p matching capacitance and 1M Ohmage in parallel; Described reset circuit by on move 5V to resistance and grounding switch form; The MC68HC908GZ16 chip /keep the low level of the certain hour master controller that can reset on the RST pin; Being used for 4 pin, 6 pin, 8 pin, 10 pin, 12 pin, 14 pin, 16 pin of debugged program and the debug i/f circuit BDM that downloads links to each other with the debugging interface pin of MC68HC908GZ16 chip respectively.
5. according to the described car digital instrument special detection device of claim 2, it is characterized in that,
Described serial ports transmission circuit is made up of serial ports transceiving chip MAX232 and peripheral matching capacitance; Wherein, the 13rd pin of MAX232 chip links to each other with the pin 2 of connector XSI, is used for sending the data that transmitted by master cpu; The 14th pin of MAX232 chip links to each other with the pin 1 of connector XSI, is used for receiving the data that outside serial ports mails to master cpu; The 11st pin of MAX232 chip links to each other with the Txd pin of master controller, and the MAX232 chip receives the Transistor-Transistor Logic level data of the Txd pin transmission of master cpu; The 12nd pin of MAX232 chip links to each other with the Rxd pin of master controller, and the MAX232 chip sends to the Transistor-Transistor Logic level data Rxd pin of controller; Five capacitor C 1, C2, C3, C4, C5 are the matching capacitance of chip MAX232, and wherein: capacitor C 3 is the chip power filter capacitor, capacitor C 1, C2, C4, the C5 press filtration ripple effect that hoists; This serial ports transmission circuit satisfies the Transistor-Transistor Logic level of master cpu serial ports and the level conversion between the external serial line interface RS232 level.
6. according to the described car digital instrument special detection device of claim 2, it is characterized in that,
Described CAN interface transmission circuit is made up of CAN transponder chip TJA1054CT and peripheral match circuit, wherein: five current-limiting resistance R6, R7 in the peripheral match circuit, R8, R9, R10 protection master cpu interface, two current-limiting resistance R13, R14 protection CAN interfaces, two resistance R 11 and R12 make the bus resistance coupling and change the bus driver ability; This circuit satisfies the CAN interface of master cpu and the level conversion between the peripheral hardware CAN interface.
CN2009202214103U 2009-10-19 2009-10-19 Special testing device for automobile digital instruments Expired - Fee Related CN201724695U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009202214103U CN201724695U (en) 2009-10-19 2009-10-19 Special testing device for automobile digital instruments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009202214103U CN201724695U (en) 2009-10-19 2009-10-19 Special testing device for automobile digital instruments

Publications (1)

Publication Number Publication Date
CN201724695U true CN201724695U (en) 2011-01-26

Family

ID=43493032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009202214103U Expired - Fee Related CN201724695U (en) 2009-10-19 2009-10-19 Special testing device for automobile digital instruments

Country Status (1)

Country Link
CN (1) CN201724695U (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102721886A (en) * 2012-06-28 2012-10-10 惠州市德赛西威汽车电子有限公司 Aging test device of motormeter
CN103234572A (en) * 2013-05-11 2013-08-07 安徽工程大学 Check system for LabVIEW-based automobile instrument
CN107678847A (en) * 2017-10-16 2018-02-09 中国核动力研究设计院 A kind of generating date system and its real-time processing method
CN108444517A (en) * 2018-03-21 2018-08-24 航天科技控股集团股份有限公司 Portable multi-function Meter Test load test case and instrument detecting method
CN108545039A (en) * 2018-04-11 2018-09-18 航天科技控股集团股份有限公司 Running information automatic checkout system based on automobile instrument CAN bus signal and detection method
CN108594052A (en) * 2018-06-28 2018-09-28 天津中德应用技术大学 A kind of Auto-Test System and method based on LabVIEW and PXI boards
CN110207744A (en) * 2019-06-27 2019-09-06 上海仪电汽车电子系统有限公司 A kind of Meter Test system and method
CN110730091A (en) * 2019-09-06 2020-01-24 深圳开源互联网安全技术有限公司 Automobile data processing method and device
CN114764235A (en) * 2021-01-12 2022-07-19 成都鼎桥通信技术有限公司 SERDES interface testing system and method for serializer/deserializer
CN114895612A (en) * 2022-07-11 2022-08-12 深圳市杰美康机电有限公司 Simulation system and simulation control method for DSP chip

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102721886A (en) * 2012-06-28 2012-10-10 惠州市德赛西威汽车电子有限公司 Aging test device of motormeter
CN103234572A (en) * 2013-05-11 2013-08-07 安徽工程大学 Check system for LabVIEW-based automobile instrument
CN107678847A (en) * 2017-10-16 2018-02-09 中国核动力研究设计院 A kind of generating date system and its real-time processing method
CN108444517A (en) * 2018-03-21 2018-08-24 航天科技控股集团股份有限公司 Portable multi-function Meter Test load test case and instrument detecting method
CN108545039B (en) * 2018-04-11 2021-07-06 航天科技控股集团股份有限公司 Automobile instrument CAN bus signal-based driving information automatic detection system and detection method
CN108545039A (en) * 2018-04-11 2018-09-18 航天科技控股集团股份有限公司 Running information automatic checkout system based on automobile instrument CAN bus signal and detection method
CN108594052A (en) * 2018-06-28 2018-09-28 天津中德应用技术大学 A kind of Auto-Test System and method based on LabVIEW and PXI boards
CN110207744A (en) * 2019-06-27 2019-09-06 上海仪电汽车电子系统有限公司 A kind of Meter Test system and method
CN110730091A (en) * 2019-09-06 2020-01-24 深圳开源互联网安全技术有限公司 Automobile data processing method and device
CN114764235A (en) * 2021-01-12 2022-07-19 成都鼎桥通信技术有限公司 SERDES interface testing system and method for serializer/deserializer
CN114764235B (en) * 2021-01-12 2023-11-07 成都鼎桥通信技术有限公司 Serializer/deserializer SERDES interface test system and method
CN114895612A (en) * 2022-07-11 2022-08-12 深圳市杰美康机电有限公司 Simulation system and simulation control method for DSP chip
CN114895612B (en) * 2022-07-11 2022-09-27 深圳市杰美康机电有限公司 Simulation system for DSP chip

Similar Documents

Publication Publication Date Title
CN101699224A (en) LabVIEW and PXI based automobile digital instrument testing system
CN201724695U (en) Special testing device for automobile digital instruments
CN105573296B (en) Vehicle diagnosis automatization test system and method based on hardware in loop
CN101498617A (en) Function detection system and method for electric-controlled unit
CN202974664U (en) Fault diagnostic apparatus for vehicle diesel engine
CN103543399A (en) Car CAN bus module fully-automatic detection system and method based on PCI board card
CN108663217A (en) A kind of engine pedestal based on vehicle dry run is to marking method
CN104331068B (en) A kind of test device based on electronic control unit
CN202583869U (en) ECU detection and diagnosis control device
CN105515911A (en) Gateway automatic test system and method of CAN network
CN105301569A (en) Automobile reversing radar display instrument testing system and testing method thereof
CN102436253A (en) Online tester for vehicle-mounted running control equipment
CN108871807A (en) A kind of automobile ABS simulated testing system
CN102095896A (en) Portable intelligent speedometer tester and using method thereof
CN200956107Y (en) CAN bus based on-board on-line performance measuring device
CN206021004U (en) A kind of device for monitoring armored vehicle power drive system
CN108804301A (en) A kind of train control system software testing system and method based on E & FR data
CN110274650A (en) A kind of oil consumption management system based on Internet of Things
CN201177905Y (en) Multimedia teaching monitoring apparatus for electric-controlled automobile engine
CN109085373B (en) Speed testing device and method for CTCS-2 train control vehicle-mounted equipment
CN110053628A (en) A kind of sunken car test examining system of wheeled vehicle
CN202719988U (en) Combination instrument for automobiles based on imaging TFT
CN104819740B (en) Automobile combination instrument test system and method based on CAN
CN110843705A (en) Vehicle-mounted CAN bus monitoring system
CN201229233Y (en) Automatic test and analysis system for automobile engine synthesis analyzer based on network

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110126

Termination date: 20161019