Background technology
Automobile controller (Body Control Module) is the car load electric control unit generally adopting on current automobile, claims again automobile control unit, is for controlling car light, window lifting, wiper, the vitals of the electric-controlled parts such as remote control.Along with auto industry and hyundai electronics industrial expansion, the application of ECU (Electrical Control Unit) on automobile is more and more, and the communication between each electronic equipment becomes more and more, becomes increasingly complex.The problems such as meanwhile, a large amount of uses of these separation modules, when vehicle riding comfort is provided, have also brought cost increase, and failure rate rises, and wiring is complicated.So, need to there is a kind of equipment that powerful control function is provided, when realizing these separation modules, control BCM module that Here it is.BCM is also the hot topic of automotive electronics research at present, and competition is also quite fierce.
The research of BCM and application, improved the performance of car load greatly.But along with further developing of automotive electronic technology, the integrated function of BCM also gets more and more, and the design of BCM also becomes and becomes increasingly complex, and centralized control also causes wire harness too concentrated, installs, wiring is also very complicated.So, there is distributed car load BCM system, by a plurality of BCM, by buses such as CAN or LIN, connect into a network, realize the control to the relevant electrical equipment of car load.
Producer and the model of the BCM of distributed BCM system are many, for car load factory, in order to design more reasonably BCM system, the different BCM that need to provide supplier will connect corresponding electric appliance testing equipment, so that obtain the control characteristic of these BCM, be to check that whether the BCM module that supplier provides is qualified, simultaneously also for car load electrical design or improvement provide dependence test experimental data.
It is Foundation that current automotive control system all adopts the automobile mounted electronic network systems such as CAN or LIN conventionally, for the module in BCM system, testing apparatus only need to by CAN or LIN to it, to send corresponding steering order just passable.Generally, for automotive system, CAN bus is because the performances such as speed and bandwidth are high compared with LIN bus, be used for controlling some more complicated electronic equipments, control object is mainly slowspeed machine, solenoid valve, light fixture and switching device etc., they are not high to the requirement of real-time of communication, but quantity is more; Adopt low speed CAN bus can also increase the transmission range of bus, improve antijamming capability, reduce hardware cost.And LIN bus is mainly used in the idling slow speed system that does not need the performance of CAN, bandwidth and complicacy, as the control of Switch load or position type system.Therefore, LIN more contributes to realize the bus-control system that automobile is connected with CAN network.Main front control module, main control module and rear control module are articulated in low speed CAN bus; Main control module, gate module, central controlled lock module, audio alert module etc. communicate by LIN bus.
Universal test system need provide CAN and LIN communication interface, simultaneously in order to obtain the actual result of BCM module controls, need to control or the collection of signal corresponding controlled device, sometimes also needs to do the load simulation of BCM module.
Therefore, need to a kind ofly can carry out automobile controller test macro quick, accurate, efficient test.
Utility model content
The purpose of this utility model be to provide a kind ofly can carry out fast, accurately, the automobile controller Auto-Test System of efficient test.
A kind of automobile controller test macro that the utility model provides, it comprises:
(1) for the digital input port with automobile controller and digital output port, be connected, check that can the digital input port of automobile controller driven and check the digital I/O module that can the low and high level of the digital output port output of automobile controller be identified;
(2) for sending the pwm signal of standard, and be connected to the signal generator of PWM port, this signal generator is connected with the industrial computer that is preinstalled with software kit, by software kit, obtain the frequency values of the PWM ripple signal of automobile controller, the difference of the frequency values of the PWM ripple signal of the frequency values obtaining and standard need the frequency values of the PWM of standard ripple signal ± 1 ‰ in;
(3) for gathering the CAN of the CAN information of CAN communication module output
oe, this CANoe is connected with industrial computer, the CAN information that checks CAN communication module output by software kit whether with CAN
oewhether the CAN information gathering is consistent, separately by CAN communication module, gathers CAN
oethe CAN information of sending, checks that whether both CAN information is consistent, described CAN
oegather the LIN information of LIN communication module output, the LIN information that checks the output of LIN communication module whether with CAN
oewhether the LIN information gathering is consistent; Another with LIN communication module collection CAN
oethe LIN information of sending, checks that whether both LIN information is consistent;
(5) multimeter, the break-make of the switch port by each module of software control, is used multimeter to measure the on off operating mode of controlled switch port, the on off operating mode of each switch port and the state consistency of software control, evaluating this module is acceptance(check).
Numeral I/O module, signal generator, CANoe are all integrated on a test platform.
Described automobile controller test macro also comprises the industrial computer being preinstalled with software kit.
Signal generator comprises 8 32 digit counters/timers, and there is optical isolator with interchannel, can support the direct current input and output signal up to 48 volts, signal generator can be carried out the measurement task of various counting device/timer, comprises that event count, cycle and/or frequency measurement, orthogonal encoder location survey, pulse width measuring, pulse generate, pulse train generate, generation, the dual signal edge separation of trigger pulse are measured again, pulse train measurement is counted and cushioned continuously to buffered event continuously.
Numeral I/O module is provided with 64 channel separation numeral I/O interfaces, be provided with 32 railway digital input channels and 32 railway digital output channels, every 8 paths provide group isolation, numeral I/O module is opened power-up state able to programme, can in software, configure initial output state, safety and the non-fault of operation while guaranteeing to connect with industrial driver.
Compared with prior art, in the utility model automobile controller test macro, can test the output of the digital input port of automobile controller, digital output port, PWM port, CAN communication module, LIN communication module and each switch port.
By following description also by reference to the accompanying drawings, it is more clear that the utility model will become, and these accompanying drawings are used for explaining embodiment of the present utility model.
Embodiment
With reference now to accompanying drawing, describe embodiment of the present utility model, in accompanying drawing, similarly element numbers represents similar element.As mentioned above, as shown in Figure 1, 2, the utility model provides to achieve these goals, the method for utilizing automobile controller test macro that the utility model provides to test, and it comprises the steps:
(1) can the digital output of check dight I/O module drive the digital input port of the automobile controller joining with it, and the low and high level of the digital output port output of the automobile controller joining with it be identified in the digital input port of check dight I/O module can; In numeral I/0 module, digital input channel number: >=40 tunnels, numeral output channel number: >=40 tunnels, logic level: 24VDC(can arrange the high level of I/O 12VDC and 24VDC), single channel current driving force: >=70mA when all passages are used simultaneously, all interchannels have isolation, and isolation voltage is not less than 30VDC.
(2) by signal generator, send the pwm signal of standard, be connected to PWM port, with software, obtain the frequency values of PWM ripple signal, the difference of the frequency values of the PWM ripple signal of the frequency values obtaining and standard need the frequency values of the PWM of standard ripple signal ± 1 ‰ in; Port number: >=3 tunnels, input resolution: 16, input voltage range: 0~24VDC, maximum the source frequency: >=1MHz of single channel.On automobile, there are a lot of large inductive loads, as windscreen wiper, fan blower, fan etc., in order to reduce the impact to system power supply, protect consumer simultaneously, conventionally adopt PWM mode to implement soft start, so method of testing and system need provide the function of output and the collection of PWM waveform;
(3) with CANoe, gather the CAN information of CAN communication module output, whether whether the CAN information that checks the output of CAN communication module consistent with the CAN information of CANoe collection, separately by CAN communication module, gather the CAN information that CANoe sends, check that whether both CAN information is consistent; CAN communication module port number: isolate CAN agreement between >=2 paths: press CAN2.0B standard, compatible CAN2.0A, transfer rate: can programme and arrange arbitrarily within the scope of 33.333Kbps~1Mbps.
(4) with CANoe, gather the LIN information of LIN communication module output, check that whether whether the LIN information of LIN communication module output consistent with the LIN information of CANoe collection; Separately by LIN communication module, gather the LIN information that CANoe sends, check that whether both LIN information is consistent; LIN communication module port number: >=2 tunnels, LIN agreement: LIN2.0, transfer rate: any setting able to programme, scope is at 2.4kbps~20kbps.
(5) break-make of the switch port by each module of software control, is used multimeter to measure the on off operating mode of controlled switch port, the on off operating mode of each switch port and the state consistency of software control, and evaluating this module is acceptance(check).Electric equipment on automobile is all to be powered by Vehicular accumulator cell, so, be generally the voltage signal of 12V~16V, as window lifting motor etc., test macro will gather this type of switching signal, so that whether observe the state that BCM controls normal.
Before testing, digital I/O module, signal generator and CANoe are integrated on an acquisition platform, again this acquisition platform is connected with industrial computer, the configuration software corresponding with digital I/O module, signal generator and CANoe is installed on this industrial computer.
In step (1) before, comprise the numeral output of digital I/O module is joined with the digital input port of automobile controller module, and the numeral input of digital I/O module is joined with the digital output port of automobile controller module.
Signal generator comprises 8 32 digit counters/timers, and there is optical isolator with interchannel, can support the direct current input and output signal up to 48 volts, signal generator can be carried out the measurement task of various counting device/timer, comprises that event count, cycle and/or frequency measurement, orthogonal encoder location survey, pulse width measuring, pulse generate, pulse train generate, generation, the dual signal edge separation of trigger pulse are measured again, pulse train measurement is counted and cushioned continuously to buffered event continuously.
Numeral I/O module is provided with 64 channel separation numeral I/O interfaces, be provided with 32 railway digital input channels and 32 railway digital output channels, every 8 paths provide group isolation, numeral I/O module is opened power-up state able to programme, can in software, configure initial output state, safety and the non-fault of operation while guaranteeing to connect with industrial driver (pump, lock, engine, relay).
As shown in Figure 1, a kind of automobile controller test macro of the utility model, it comprises: test platform 10, automobile controller 20 and industrial computer 30.Wherein test platform 10 comprises following part:
(1) for the digital input port 21 with automobile controller 20 and digital output port 22, be connected, check that can the digital input port 21 of automobile controller 20 driven and check the digital I/O module 11 that can the low and high level of digital output port 22 outputs of automobile controller 20 be identified;
(2) for sending the pwm signal of standard, and be connected to the signal generator 12 of PWM port 23, this signal generator 12 is connected with the industrial computer 30 that is preinstalled with software kit, by software kit, obtain the frequency values of the PWM ripple signal of automobile controller 20, the difference of the frequency values of the PWM ripple signal of the frequency values obtaining and standard need the frequency values of the PWM of standard ripple signal ± 1 ‰ in;
(3) for gathering the CAN that the label of the CAN information of CAN communication module 24 outputs is 13
oe, this CANoe is connected with industrial computer 30, the CAN information that checks CAN communication module 24 output by software kit whether with CAN
oewhether the CAN information gathering is consistent, separately by CAN communication module 24, gathers CAN
oethe CAN information of sending, checks that whether both CAN information is consistent, described CAN
oegather the LIN information of LIN communication module 25 outputs, the LIN information that checks the output of LIN communication module whether with CAN
oewhether the LIN information gathering is consistent; Another with LIN communication module 25 collection CAN
oethe LIN information of sending, checks that whether both LIN information is consistent;
(5) multimeter (not showing on figure), the break-make of the switch port 26 by each module of software control, use multimeter to measure the on off operating mode of controlled switch port 26, the on off operating mode of each switch port 26 and the state consistency of software control, evaluating this module is acceptance(check).
Numeral I/O module 11, signal generator 12, CANoe are all integrated on a test platform 10.
CAN and LIN communication module provide standard private cable, one of each port, and joint length is 2m, both-end DB-9 female.
Described automobile controller test macro 100 also comprises the industrial computer 30 being preinstalled with software kit.
Signal generator 12 comprises 8 32 digit counters/timers, and there is optical isolator with interchannel, can support the direct current input and output signal up to 48 volts, signal generator can be carried out the measurement task of various counting device/timer, comprises that event count, cycle and/or frequency measurement, orthogonal encoder location survey, pulse width measuring, pulse generate, pulse train generate, generation, the dual signal edge separation of trigger pulse are measured again, pulse train measurement is counted and cushioned continuously to buffered event continuously.
Numeral I/O module 11 is provided with 64 channel separation numeral I/O interfaces, be provided with 32 railway digital input channels and 32 railway digital output channels, every 8 paths provide group isolation, numeral I/O module is opened power-up state able to programme, can in software, configure initial output state, safety and the non-fault of operation while guaranteeing to connect with industrial driver.
As shown in Figure 2, first be program initialization, on industrial computer 30, carry out user's login, authentication, enter the main interface of acquiescence, user can selection function module, functional module parameter is called, arranged to start-up performance module, and now the corresponding module on test platform 10 will executable operations, has operated calling of shuts functional module.
In conjunction with Fig. 1 and 2, in the utility model automobile controller test macro, can test the output of the digital input port 21 of automobile controller 20, digital output port 22, PWM port 23, CAN communication module 24, LIN communication module 25 and each switch port 26.
Above disclosed is only preferred embodiment of the present utility model, certainly can not limit with this interest field of the utility model, and the equivalent variations of therefore doing according to the utility model claim, still belongs to the scope that the utility model is contained.