Body control system emulation test system based on the CAN bus
Technical field
The utility model belongs to electronic technology field, relates to test macro, especially relates to a kind of body control system emulation test system based on the CAN bus.
Background technology
Along with the development and progress of auto industry, people have higher requirement to aspects such as the dynamic property of automobile, economical, security and discharge capacitys.Traditional mechanical type control system can't satisfy these needs far away.The electronization control system with its high precision, high-speed, control is flexible, reliable and stable etc., and characteristics have replaced the mechanical type control system gradually, become the development trend of automotive control system.Because automotive control system is having relatively high expectations aspect real-time, control accuracy and the reliability, so that the complicacy of body of a motor car electronic control system program is more and more higher, needs under development are debugged repeatedly, could the final control function that realizes expection.Known body control system adjustment method is real train test, this method not only cost is very high, and usually should not directly control system be installed in the real vehicle and test, because the control system that realizes first has many defectives such as software, hardware aspect, directly real train test is not easy to the first debugging to control system on the one hand, on the other hand, the defective of control system also may cause real vehicle to damage, and causes unnecessary loss.
The problem that exists in order to solve prior art, people have carried out long-term exploration, have proposed various solutions, comprising taking hardware to substitute real train test in the software emulation technology.Yet software emulation is larger with real working environment difference after all, and several factors is difficult to take into account.For this reason, someone utility model a kind of simulated measuring system for whole vehicle controller [application number: 200510011107.7], it comprises real-time monitoring system, entire car controller to be measured, configurable signal processing apparatus and industrial computer analog platform and data collecting card, CAN network; The industrial computer analog platform is by linking to each other with entire car controller to be measured with data collecting card, configurable signal processing apparatus; The industrial computer analog platform also is connected with car load communication to be measured by the CAN network; Real-time monitoring system is monitored system by the CAN network; The application software of testing software in the industrial control computer for commonly using testing software or writing in addition.This emulation test system is except entire car controller to be measured is actual automobile controller, all test environments are simulation test platform Reality simulation environment and obtain, and in full accord with the car load true environment from the controller angle, realized low-cost, convenient, rapidly entire car controller is carried out various tests, improve entire car controller and got development efficiency, reduced development risk and cost.
Such scheme has improved prior art to a certain extent, and the part that has remedied prior art is not enough.Yet, it is convenient not that such scheme still exists the operation use, manufacturing cost is higher, be easy to be subject to external interference, actual working state that can't the complete simulation vehicle, there is larger detection error, thereby is difficult to easily each automobile-used load is connected into test macro or get rid of technical matterss such as outside test macro, realizing the test environment variation.
The utility model content
The purpose of this utility model is for the problems referred to above, provides a kind of reasonable in design, simple in structure, and simulated effect is good, the body control system emulation test system based on the CAN bus that can efficient, flexible ground body control system be detected.
For achieving the above object, the utility model has adopted following technical proposal: this is based on the body control system emulation test system of CAN bus, it is characterized in that, this test macro comprises testboard bay, at testboard bay the load subsystem is housed, described load subsystem comprises some body electronics equipment and/or the some simulation vehicle body equipment that is distributed on the testboard bay, described load subsystem links to each other with at least one BCM by Wiring module, described BCM is connected on the CAN bus, described Wiring module comprises switch arrays, is respectively equipped with detachable connection terminal on each switch of switch arrays.
Since be provided with Wiring module can be easily with the body electronics equipment in the load subsystem and/or simulation vehicle body equipment connection to test macro or get rid of to test macro, thereby the impact for body control system detects on each body electronics equipment and/or simulation vehicle body equipment.By the utility model, the test environment almost completely identical with real vehicle is provided, can detect BCM easily, be conducive to analyze the property indices of the body control system that comprises BCM.The body electronics equipment here can arrange simultaneously with simulation vehicle body equipment, and wherein a kind of also can optionally be set.
In the above-mentioned body control system emulation test system based on the CAN bus, thereby also be provided with the ignition simulating device that test process engine ignition undesired signal is provided for the simulated engine igniting on the described testboard bay.
Owing to be provided with ignition simulating device, the ignition process of simulated engine when work easily, thus the influence factor of body control system is included engine in sensing range.Ignition simulating device is simple in structure, makes with low cost.
In the above-mentioned body control system emulation test system based on the CAN bus, described body electronics equipment comprise in relay, solenoid valve, car light, loudspeaker, windscreen wiper, instrument, the water spray motor any one or multiple; Described simulation vehicle body equipment comprise in water temperature signal simulator, air pressure signal simulator, oil mass signal simulator, the engine oil pressure simulator any one or multiple, and described water temperature signal simulator, air pressure signal simulator, oil mass signal simulator, engine oil pressure simulator are rheostat.The body electronics equipment here and simulation vehicle body equipment are equipment commonly used in the real vehicle, include but not limited to the above-mentioned kind of enumerating.Device structure has been simplified in the setting of water temperature signal simulator, air pressure signal simulator, oil mass signal simulator, engine oil pressure simulator effectively, significantly reduces cost.
In the above-mentioned body control system emulation test system based on the CAN bus, described testboard bay is built to be connected by section bar and is formed, and testboard bay comprises interconnective side arm and after-frame, is provided with worktable between described side arm and the after-frame.Owing to be provided with worktable, operating personnel carry out test operation easily.Testboard bay provides the platform of mounting arrangement for body electronics equipment and/or simulation vehicle body equipment, and can make body electronics equipment and/or simulation vehicle body equipment carry out layout according to real vehicle, and the reliability of detection further is provided.
In the above-mentioned body control system emulation test system based on the CAN bus, also be provided with control panel on the side arm of described testboard bay, described control panel is connected between load subsystem and the Wiring module, be provided with at control panel and somely can control the shift knob that body electronics equipment and/or simulation vehicle body equipment are connected or ends with BCM, be provided with for representing the body electronics equipment that shift knob is controlled and/or simulating the sign of vehicle body equipment at shift knob.
In the above-mentioned body control system emulation test system based on the CAN bus, described ignition simulating device comprises starter motor, ignition distributor, ignition coil and some spark plugs, described spark plug is fixed on the support and all links to each other with ignition distributor, the output shaft of described starter motor links to each other with the rotating shaft of ignition distributor by spring coupling, and described ignition coil is connected on the ignition distributor.Owing to be provided with spring coupling, effectively improved the stability that starter motor is connected with ignition distributor, even if when deviation appears in alignment, also can regulate by spring coupling, avoid occurring damaging.
In the above-mentioned body control system emulation test system based on the CAN bus, described ignition simulating device also comprises accumulator and speed regulator, described accumulator links to each other with starter motor, and described starter motor is that buncher and described speed regulator are connected on the starter motor.
In the above-mentioned body control system emulation test system based on the CAN bus, described spring coupling comprises the first connector, the second connector that links to each other with the rotating shaft of ignition distributor that is connected with the output shaft of starter motor and is connected to the first connector and the springs of the second connector that described the first connector, springs and the second connector are connected as a single entity.
In the above-mentioned body control system emulation test system based on the CAN bus, described support is provided with some through holes, is equipped with respectively a spark plug in each through hole, and described spark plug is fixed on the support by setscrew nut.
In the above-mentioned body control system emulation test system based on the CAN bus, this test macro comprises also that be used to the power supply that the required electric energy of each several part work is provided described power supply is generator, is connected with the pressure regulation voltage changing module at generator.
Compared with prior art, this advantage based on the body control system emulation test system of CAN bus is: 1, reasonable in design, simple in structure, good operating stability can detect body control system on efficient, flexible ground.2, Wiring module can be easily with the body electronics equipment in the load subsystem and/or simulation vehicle body equipment connection to test macro or get rid of to test macro, thereby the impact for body control system detects on each body electronics equipment and/or simulation vehicle body equipment.3, ignition simulating device easily simulated engine in the ignition process in when work, thereby the influence factor of body control system is included engine in sensing range; And ignition simulating device is simple in structure, makes with low cost.4, spring coupling has improved the stability that starter motor is connected with ignition distributor effectively, even if when deviation appears in alignment, also can regulate by spring coupling, avoids occurring damaging.
Description of drawings
Fig. 1 is the structured flowchart that the utility model provides.
Fig. 2 is the structural representation that the utility model provides.
Fig. 3 is the ignition simulating device structured flowchart that the utility model provides.
Fig. 4 is the ignition simulating device structural representation that the utility model provides.
Fig. 5 is the spring coupling structure enlarged drawing that the utility model provides.
Among the figure, testboard bay 1, side arm 11, after-frame 12, worktable 13, control panel 14, shift knob 15, load subsystem 2, body electronics equipment 21, simulation vehicle body equipment 22, Wiring module 3, CAN bus 4, ignition simulating device 5, starter motor 51, ignition distributor 52, ignition coil 53, spark plug 54, support 55, through hole 551, spring coupling 56, the first connector 561, the second connector 562, springs 563, accumulator 57, speed regulator 58, setscrew nut 59, power supply 6, generator 61, pressure regulation voltage changing module 62.
Embodiment
Shown in Fig. 1-5, this body control system emulation test system based on the CAN bus comprises testboard bay 1, at testboard bay 1 load subsystem 2 is housed.Load subsystem 2 comprises some body electronics equipment 21 and/or the some simulation vehicle body equipment 22 that is distributed on the testboard bay 1.The body electronics equipment 21 here can arrange according to testing requirement simultaneously with simulation vehicle body equipment 22, and wherein a kind of also can optionally be set.In the present embodiment, body electronics equipment 21 arranges simultaneously with simulation vehicle body equipment 22.And, body electronics equipment 21 comprise in relay, solenoid valve, car light, loudspeaker, windscreen wiper, instrument, the water spray motor any one or multiple.Simulation vehicle body equipment 22 comprise in water temperature signal simulator, air pressure signal simulator, oil mass signal simulator, the engine oil pressure simulator any one or multiple, and described water temperature signal simulator, air pressure signal simulator, oil mass signal simulator, engine oil pressure simulator are rheostat.The body electronics equipment 21 here and simulation vehicle body equipment 22 are equipment or analog machine commonly used in the real vehicle, include but not limited to the above-mentioned kind of enumerating.Water temperature signal simulator, air pressure signal simulator, oil mass signal simulator, engine oil pressure simulator adopt rheostat, have effectively simplified device structure, significantly reduce cost.This test macro comprises also that be used to the power supply 6 that the required electric energy of each several part work is provided described power supply 6 is generator 61, is connected with pressure regulation voltage changing module 62 at generator 61.
Load subsystem 2 links to each other with at least one BCM by Wiring module 3, and BCM is connected on the CAN bus 4.Each equipment in the load subsystem 2 or analog machine only link to each other with one of them BCM respectively by Wiring module 3.Wiring module 3 comprises switch arrays, is respectively equipped with detachable connection terminal on each switch of switch arrays.Thereby also be provided with the ignition simulating device 5 that test process engine ignition undesired signal is provided for the simulated engine igniting on the testboard bay 1.Owing to be provided with ignition simulating device 5, the ignition process of simulated engine when work easily, thus the influence factor of body control system is included in sensing range during with engine ignition; And ignition simulating device 5 is simple in structure, makes with low cost.Testboard bay 1 is built to be connected by section bar and is formed, and testboard bay 1 comprises interconnective side arm 11 and after-frame 12, is provided with worktable 13 between described side arm 11 and the after-frame 12.Owing to be provided with worktable 13, operating personnel carry out test operation easily.Testboard bay 1 provides the platform of mounting arrangement for body electronics equipment and/or simulation vehicle body equipment, and can make body electronics equipment and/or simulation vehicle body equipment carry out layout according to real vehicle, and the reliability of detection further is provided.Also be provided with control panel 14 on the side arm 11 of testboard bay 1, described control panel 14 is connected between load subsystem 2 and the Wiring module 2, be provided with at control panel 14 and somely can control the shift knob 15 that body electronics equipment 11 and/or simulation vehicle body equipment 12 are connected with BCM or ends, be provided with for representing the body electronics equipment 21 that shift knob 15 is controlled and/or simulating the sign of vehicle body equipment 22 at shift knob 15.
Shown in Fig. 3 and 4, ignition simulating device 5 comprises starter motor 51, ignition distributor 52, ignition coil 53 and some spark plugs 54, described spark plug 54 is fixed on the support 55 and all links to each other with ignition distributor 52, the output shaft of described starter motor 51 links to each other with the rotating shaft of ignition distributor 52 by spring coupling 56, and described ignition coil 53 is connected on the ignition distributor 52.Owing to be provided with spring coupling 56, effectively improve starter motor 51 and have been connected the stability that connects with ignition distributor, even if when deviation appears in alignment, also can regulate by spring coupling 56, avoid occurring damaging.Support 55 is provided with some through holes 551, is equipped with respectively a spark plug 54 in each through hole 551, and described spark plug 54 is fixed on the support 55 by setscrew nut 59.Ignition simulating device 5 also comprises accumulator 57 and speed regulator 58, and described accumulator 57 links to each other with starter motor 51, and described starter motor 51 is connected on the starter motor 51 for buncher and described speed regulator 58.
As shown in Figure 5, spring coupling 56 comprises the first connector 561 that is connected with the output shaft of starter motor 51, the second connector 562 that links to each other with the rotating shaft of ignition distributor 52 and the springs 563 that is connected to the first connector 561 and the second connector 562, and described the first connector 561, springs 563 and the second connector 562 are connected as a single entity.
Specific embodiment described herein only is to the explanation for example of the utility model spirit.The utility model person of ordinary skill in the field can make various modifications or replenishes or adopt similar mode to substitute described specific embodiment, but can't depart from spirit of the present utility model or surmount the defined scope of appended claims.
Although this paper has more used testboard bay 1, side arm 11, after-frame 12, worktable 13, control panel 14, shift knob 15, load subsystem 2, body electronics equipment 21, simulation vehicle body equipment 22, Wiring module 3, CAN bus 4, ignition simulating device 5, starter motor 51, ignition distributor 52, ignition coil 53, spark plug 54, support 55, through hole 551, spring coupling 56, the first connector 561, the second connector 562, springs 563, accumulator 57, speed regulator 58, setscrew nut 59, power supply 6, generator 61, pressure regulation voltage changing module 62 terms such as grade, but do not get rid of the possibility of using other term.Using these terms only is in order to describe more easily and explain essence of the present utility model; They are construed to any additional restriction all is contrary with the utility model spirit.