CN107592239A - A kind of CAN network power supply changes automatic test device and its method - Google Patents
A kind of CAN network power supply changes automatic test device and its method Download PDFInfo
- Publication number
- CN107592239A CN107592239A CN201710773341.6A CN201710773341A CN107592239A CN 107592239 A CN107592239 A CN 107592239A CN 201710773341 A CN201710773341 A CN 201710773341A CN 107592239 A CN107592239 A CN 107592239A
- Authority
- CN
- China
- Prior art keywords
- test
- unit assembly
- network
- automobile
- automobile unit
- 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.)
- Pending
Links
Landscapes
- Small-Scale Networks (AREA)
Abstract
The invention provides a kind of CAN network power supply to change automatic test device, including:Host computer and the network monitor equipment being connected with host computer, CAN network oscillograph, arbitrary waveform signal generator and analog line driver and test board, test board is connected with the corresponding pin for needing to emulate, and CAN network oscillograph and network monitor equipment are connected with the CAN pin of automobile unit assembly.The present invention also provides a kind of CAN network interference rejection ability automatic test approach.The present invention can be tested the interference rejection ability of CAN network automatically, and test period is short, accuracy is high.
Description
Technical field
The present invention relates to a kind of test device, more particularly to a kind of CAN network power supply change automatic test device and its
Method.
Background technology
With CAN network application is popularized on automobile, the instruction of CAN network transfer function, signal of communication are also total by automobile unit
Into widely used.
With user to automobile function, performance requirement increase, automobile unit assembly quantity gradually increases, circuit tends to be complicated
Change, this causes on circuit, and the interference of particularly power circuit turns into the big factor for influenceing auto communication.Power supply disturbance leads to
The problem of often producing, includes:Data-signal mistake, communication is unstable, erroneous frame occurs, can be due to a large amount of in serious interference
Erroneous frame causes automobile unit assembly to crash.Surveyed to solve the above problems, introducing and the power sourced electric of automobile unit assembly being disturbed
Examination, is currently tested typically based on manual test, aids in automatic test to realize.Because automatic test item is few, bus communication is related
Lack, easily cause indefinite to the failure reason analysis occurred in test, or produce issue of false assessments, and manually
Test period is long, accuracy is poor, influences the test result degree of accuracy.
The content of the invention
The example technical problems to be solved of the present invention be to provide a kind of CAN network power supply change automatic test device and
Its method, the interference rejection ability of CAN network can be tested automatically, test period is short, accuracy is high.
The technical solution adopted by the present invention is:
The embodiment of the present invention provides a kind of CAN network power supply and changes automatic test device, including:Host computer and it is described on
Arbitrary waveform signal generator, analog line driver, CAN network oscillograph, network monitor equipment and the test board of position machine connection,
The test board includes communication card and the power supply board being connected on the communication card, switch simulation card, load board
Card, input and output board, Current Voltage monitoring board, the external power pin of the power supply board and the automobile unit assembly
With digital simulation pin connects, the input port and output port of the input and output board and the automobile unit assembly
Connection, the shorted pins and breaking pin that the switch simulation card emulates with automobile unit assembly needs are connected, described
The load pin that load board needs to emulate with the automobile unit assembly is connected, the Current Voltage detection board and the vapour
Car unit assembly needs monitoring voltage to be connected with the pin of current value, the network monitor equipment and the CAN network oscillograph
It is connected with the CAN pin of the automobile unit assembly;The host computer is used to survey for automobile unit assembly configuration to be measured
Test ring border, and optionally control the arbitrary waveform signal generator, analog line driver, CAN network oscillograph, network monitor
The operation of equipment and test board changes test, and base to perform network service test and power supply to automobile unit assembly to be measured
The interference rejection ability on the automobile unit assembly is automatically generated in the result of the network service test and power supply variation test
Analysis report;The network service test includes the end that the control instruction based on the host computer changes the automobile unit assembly
Mouth input/output, or outside emulation signal triggering, to verify the correctness of the network signal of automobile unit assembly output
With the correctness of port status;The power supply, which changes test, includes the control instruction based on the host computer, calls described upper
The power supply of machine configuration changes waveform parameter, applies interference to the power circuit of the automobile unit assembly, to verify the automobile
The interference rejection ability of unit assembly, the network monitor equipment and the CAN network oscillograph are tested and institute in the network service
State power supply to change in test process, bus communication, networking waveform to the automobile unit assembly are monitored in real time, and will prison
The CAN data of survey are sent to the host computer;The host computer generates the interference rejection ability analysis based on the CAN data received
Report.
Alternatively, the host computer is connected by Ethernet interface with the test board and the CAN network oscillograph,
Be connected by USB interface with the network monitor equipment, by parallel bus interface and the arbitrary waveform signal generator and
Analog line driver connects;Connected between the arbitrary waveform signal generator and analog line driver by parallel bus interface.
Alternatively, the arbitrary waveform signal generator includes three waveform generators for sending different wave;Institute
State and communicated to connect by parallel bus interface between waveform generator.
Alternatively, the testing tube tested the interference rejection ability of the automobile unit assembly is provided with the host computer
Module is managed, the test and management module includes service management unit, rights management unit, vehicle administrative unit, test specification pipe
Manage unit, DTC administrative unit, test group administrative unit, parameter management unit, test case management unit, test execution list
Member and test report unit;Wherein, the service management unit is used to configure user profile;The rights management unit is used to give
The user of definition distributes authority;The vehicle administrative unit is used for typing test vehicle information;The test specification administrative unit
For test network ownership, resistance configuration, pin definitions, electrical properties, network parameter, network signal;The DTC management
Unit is used to support diagnostic service, Diagnostic parameters, DTC code table, fault type;The test group administrative unit be used for according to
Authority defined in rights management unit user is matched and planned (;The parameter management unit is used to configure experiment ginseng
Number;Test case of the test case management unit for choosing corresponding test program in use-case storehouse, or new addition is certainly
The test case of definition;The test execution unit is used to perform the test case chosen according to test plan;The test report
Accuse unit to be used to generate automatic test report, provide interpretation of result.
Another embodiment of the present invention provides a kind of CAN network power supply and changes automatic test approach, by aforementioned means come real
Now the automatic test of the CAN network interference rejection ability of automobile unit assembly, methods described are included:According to the test and management module
The information configured is automobile unit assembly configuration testing environment;Network service test is performed to the automobile unit assembly:It is right
Test board carries out initialization operation, and is that the automobile unit is total in the case of automobile unit assembly communication is normal
Into corresponding test board is configured, to provide port and load simulation for the automobile unit assembly;By presetting simulation software
Simulated environment is built, providing other signals on vehicle for the automobile unit assembly is inputted so that the automobile unit assembly is put
Body is in emulation vehicle environment;Change the port input/output of the automobile unit assembly or outside emulation signal triggering, to test
Demonstrate,prove automobile unit assembly network signal output correctness, port status correctness;The total of the automobile unit assembly is monitored in real time
Line communications status, and generate the first test result based on the CAN data monitored;Power supply is performed to the automobile unit assembly to become
Dynamic test:Initialization operation is carried out to arbitrary waveform signal generator and power amplifier, and led in the automobile unit assembly
In the case of letter is normal, the arbitrary waveform signal generator is controlled to produce interference waveform;The analog line driver is controlled to institute
State interference waveform and be amplified processing, and the interference waveform after amplified processing is applied to the power supply of the automobile unit assembly
Line;The bus communication state of the automobile unit assembly is monitored in real time, and based on CAN data generation the second test knot monitored
Fruit;Perform network service test again to the automobile unit assembly, generate the 3rd test result, and based on the described first test
As a result, second test result and the 3rd test result generate the interference rejection ability analysis report of the automobile unit assembly
Accuse.
Compared with prior art, CAN network power supply of the invention changes automatic test device by by test card, power
Driver and CAN oscillograph are connected in the respective pin of automobile unit assembly, automatically right by host computer configuration parameter
The interference of electromagnetic field ability of automobile unit assembly is tested, and can be accurately positioned problem, is improved testing efficiency and is shortened and tests
Cycle.
Brief description of the drawings
Fig. 1 is that the CAN network power supply of the embodiment of the present invention changes the structured flowchart of automatic test device.
Fig. 2 is that the CAN network power supply of the embodiment of the present invention changes the work that automatic test device performs network communication test
Make schematic diagram;
Fig. 3 is that the CAN network power supply of the embodiment of the present invention changes the work that automatic test device performs power supply variation test
Make schematic diagram;
Fig. 4 is the schematic flow sheet of the CAN network interference rejection ability automatic test approach of another embodiment of the present invention.
Embodiment
To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool
Body embodiment is described in detail.
Fig. 1 is that the CAN network power supply of the present invention changes the structured flowchart of automatic test device.
As shown in figure 1, a kind of CAN network power supply provided in an embodiment of the present invention changes automatic test device, including:On
Position machine 1, arbitrary waveform signal generator 2, analog line driver 3, network monitor equipment 4, CAN network oscillograph 5 and test board,
The test board includes communication card 6 and the power supply board 7 being connected on the communication card, switch simulation card 8, load
Board 9, input and output board 10, Current Voltage monitoring board 11, the outside of the power supply board 7 and the automobile unit assembly
With digital simulation pin connects power pin, and the switch simulation card 8 needs what is emulated with the automobile unit assembly
Shorted pins are connected with breaking pin, and the load board 9 is connected with the load pin that the automobile unit assembly needs to emulate,
The input and output board 10 is connected with the input port and output port of the automobile unit assembly, the Current Voltage detection
Board 11 needs the pin of monitoring voltage and current value to be connected with the automobile unit assembly, the network monitor equipment 4 and institute
The CAN pin that CAN network oscillograph 5 is stated with the automobile unit assembly 12 is connected.
It is automobile unit assembly configuration testing environment to be measured that the host computer 1, which is used for, and optionally described of control
Anticipate waveform generator 2, analog line driver 3, network monitor equipment 4, CAN network oscillograph 5 and test board operation with
Network service test is performed to automobile unit assembly 12 to be measured and power supply changes test, and it is total to automatically generate the automobile unit
Into interference rejection ability analysis report;The network service test includes the control instruction based on the host computer and changes the automobile
The port input/output of unit assembly or outside emulation signal are triggered to verify that the network signal of the automobile unit assembly is defeated
The correctness and the correctness of port status gone out, the power supply, which changes test, includes the control instruction based on the host computer, adjusts
The power supply configured with the host computer changes waveform parameter, applies interference to the power circuit of the automobile unit assembly to verify
The interference rejection ability of the automobile unit assembly, the network monitor equipment and the CAN network oscillograph are in the network service
Test and the power supply are changed in test process, and the bus communication of the automobile unit assembly is monitored in real time, and will prison
The CAN data of survey are sent to the host computer 1, and the host computer 1 generates the interference rejection ability based on the CAN data received
Analysis report.
In the present invention, the host computer 1 can be PC, for control test board, arbitrary waveform signal generator 2,
Analog line driver 3, network monitor equipment 4 and CAN network oscillograph 5, to realize that the interference rejection ability to automobile unit assembly 11 is surveyed
Examination, including network communication test and power supply change test, and provide the interference rejection ability analysis on automobile unit assembly 11 automatically
Report.Host computer 1 can be connected by Ethernet (Ethernet) interface with the test board and the CAN network oscillograph 5,
It is connected with the network monitor equipment 4 by USB interface, is believed by parallel bus interface (IEEE-488) and the random waveform
Number generator 2 and analog line driver 3 connect.
In addition, the test tested the interference rejection ability of the automobile unit assembly 12 is provided with the host computer 1
Management module, the test and management module include service management unit, rights management unit, vehicle administrative unit, test specification
Administrative unit, DTC administrative unit, test group administrative unit, parameter management unit, test case management unit, test execution
Unit and test report unit.Wherein, the service management unit is used to configure user profile, including user name, mail, close
The information such as code, work position, telephone number, user right;The rights management unit is used to distribute authority to the user of definition,
Including:It is readable, writeable, compileable, can copy;The vehicle administrative unit is used for typing test vehicle information, including:Vehicle
Vehicle, VIN number, automobile unit assembly software and hardware version, Part No., number of rounds of tests etc.;The test specification administrative unit is used for
Test network ownership (power domain, comfortable domain, information field etc.), resistance configuration, pin definitions, electrical properties, network parameter, network
Signal etc.;The DTC administrative unit is used to support diagnostic service, Diagnostic parameters, DTC code table etc.;The test group pipe
Reason unit is used to user is matched and planned according to authority defined in rights management unit, such as:Allocation managing person weighs
Limit, parameter setting authority, access limit, test plan perform authority etc.;The parameter management unit is used to configure test parameters;
The test case management unit is used for the test case that corresponding test program is chosen from database;The test execution unit is used
In the test case that selection is performed according to test plan (mainly setting test phase, time, scope);The test report list
Member is used to generate automatic test report, provides interpretation of result.
In the present invention, instruction of the arbitrary waveform signal generator 2 based on host computer 1 sends different waveforms, described
It can be connected between meaning waveform generator 2 and analog line driver 3 by parallel bus interface.In one example, described
Meaning waveform generator 2 may include three waveform generators for sending different wave, these three waveform generators
Between can be communicated to connect by parallel bus interface.In a specific example, these three waveform generators can use type
Number be LDS200N waveform generator, model UCS200N waveform generator and model Auto Wave waveform
Signal generator, wherein, LDS200N waveform generators are used to send the waveforms such as Pulse5a, Pulse5b, UCS200N ripples
Shape signal generator is used to send the waveforms such as Pulse1, Pulse2a, Pulse3a, Pulse3b, Auto Wave waveform signals hair
Raw device is used to send the waveforms such as DC supply districts, overvoltage, superposition alternating current, slow drop slow liter, Voltage Drop, reset feature.It is described
Analog line driver 3 is connected with the arbitrary waveform signal generator 2, for send the arbitrary waveform signal generator 2
Waveform is amplified, to be transported on automobile unit assembly 11.
The present invention an example in, the model of analog line driver 3 can be VDS200N, can send Pulse2b,
The waveforms such as Pulse4, the model of network monitor equipment 4 can be VN1640, power supply board 7, switch simulation card 8, load board 9,
Input and output board 10, Current Voltage monitoring board 11 are pluggable on communication card 6, can be entered each other by corresponding interface
Row communication, and is communicated by communication card 6 with host computer, due to power supply board 7, switch simulation card 8, load board 9,
Input and output board 10, Current Voltage monitoring board 11 are uniformly plugged on communication card, it is possible to keep unified communication
And data transfer.In one example, communication card 6 can use model VT8012 or VT8006 Vector boards (VT
Board), power supply board 7 can use model VT7001 VT boards, and switch simulation card 8 can use model VT2820 VT
Board, load board 9 can use model VT1004 VT boards, and input and output board 10 can use model VT2848 VT
Board, Current Voltage monitoring board 11 can use model VT2816 VT boards.In addition, in invention, CAN network oscillograph
5 are connected in parallel with network monitor equipment 4, and for record and analysis waveform, in one example, CAN network oscillograph can use
The SB5310 oscillographs of Japanese Yokogawa, but be not limited thereto, any oscillograph that can realize record and analysis waveform all may be used
For the present invention.However, the invention is not limited in this, other can also be used to realize other models of corresponding function
Board.
When the CAN network automatic testing equipment using the present invention carries out network service test to automobile unit assembly 12,
As shown in Fig. 2 host computer connects power supply board, switch simulation card, load board, input/output board by Ethernet ports
Card, Current Voltage monitoring board;CAN network oscillograph is connected by Ethernet ports, network monitor is connected by USB port
Equipment, each test board are connected with the respective pin of automobile unit assembly, and host computer 1 calls power supply board 7, switch simulation card
8th, board 9, input and output board 10, Current Voltage monitoring board 11 are loaded and realizes configuration automobile unit assembly normal work shape
State, i.e. automobile unit assembly do not report failure, communication normal;Then network monitor equipment 4 and CAN network oscillograph 5 are utilized, is realized
Bus data, bus waveform are monitored, emulates real vehicle data environment.When carrying out power supply variation test to automobile unit assembly 12,
As shown in figure 3, host computer 1 calls arbitrary waveform signal generator 2 to produce interference waveform, analog line driver 3 is then controlled to dry
Disturb model be amplified processing it is after-applied disturbed to power line, the record trunk data of network monitor equipment 4, CAN network is shown
Ripple device 5 records and analysis waveform, obtains test result.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of CAN network interference rejection ability automatic test approach,
It is similar to foregoing test device to solve the principle of problem by this method, therefore the implementation of this method may refer to aforementioned means
Implementation, repeat part repeat no more.
As shown in figure 4, CAN network interference rejection ability automatic test approach provided in an embodiment of the present invention comprises the following steps:
S100, the information configured according to the test and management module are automobile unit assembly configuration testing environment.
Specifically, host computer 1 calls test and management module, new construction, test and management module is configured, that is, added
User management, rights management, vehicle management, test specification management, DTC management, test group management, parameter management, test are used
Example management, test execution, test report item, after the completion of being configured to test and management module, generated and surveyed based on the information configured
Try engineering-environment:Test and management module automatically saves above-mentioned every terms of information in database, to be adjusted at any time when being tested
With corresponding parameter.
S200, network service test is performed to the automobile unit assembly, obtain the first test result.
Step S200 specifically includes following steps:
S201, initialization operation is carried out to test board, and in the case of automobile unit assembly communication is normal, be
The automobile unit assembly configures corresponding test board, to provide port and load simulation for the automobile unit assembly.
Specifically, host computer 1 carries out initialization operation to each test board, and calling waveform generator UCS200N is
Automobile unit assembly provides stable power-supplying, if automobile unit assembly sends erroneous frame or without message, illustrates that automobile unit assembly leads to
Believe abnormal or text of not transmitting messages, record result closes test;If automobile unit assembly proper communication, implementation of test cases.
S202, simulated environment built by default simulation software, other letters on vehicle are provided for the automobile unit assembly
Number input so that the automobile unit assembly places oneself in the midst of emulation vehicle environment.
Specifically, host computer 1 configures VT boards for automobile unit assembly 12, provides port for automobile unit assembly 12 and bears
Carry simulation;CANoe can be passed through2(it is a to automobile unit assembly bus development, monitoring, analysis of German Vetor companies
Instrument) simulated environment is established, providing other signals on vehicle for automobile unit assembly inputs, and places oneself in the midst of automobile unit assembly imitative
True vehicle environment.
S203, the port input for changing the automobile unit assembly or outside emulation signal triggering, to verify automobile list
First assembly network signal exports correctness, port status correctness.
Specifically, host computer 1 by test and management module by change automobile unit assembly port input/output or
Outside emulation signal triggering, checking automobile unit assembly network signal output correctness, port status correctness.
S204, the bus communication state for monitoring the automobile unit assembly in real time, and based on the CAN data generation monitored
First test result.
During the whole test, the network signal and port that network monitor equipment 4 can export to automobile unit assembly in real time
State is monitored, and by CAN data (message cycle, DLC, message signals, Burst count, the Busload (buses of monitoring
Load) etc.) test and management module is uploaded in real time, CAN data generation the first test knot that test and management module can be based on reception
Fruit.Specifically, in monitoring process, network monitor equipment 4 can judge whether automobile unit assembly has communication, if communicating,
Then judge whether message cycle, DLC, message signals, Burst count, Busload are normal, otherwise, represent test crash;Such as
Fruit judges that message cycle, DLC, message signals, Burst count, Busload are normal, then judges the communication of automobile unit assembly
Whether state is normal, otherwise, represents test crash;If it is determined that the communications status of automobile unit assembly is normal, then it represents that test
By otherwise, representing test crash.
S300, power supply variation test is performed to the automobile unit assembly, generate the second test result.
Step S300 comprises the following steps:
S301, initialization operation is carried out to arbitrary waveform signal generator and power amplifier, and in the automobile unit
In the case of assembly communication is normal, the arbitrary waveform signal generator is controlled to produce interference waveform.
Specifically, host computer is to arbitrary waveform signal generator (LDS200N, UCS200N, AutoWave), power drive
Device (VDS200N) carries out initialization operation.Waveform generator UCS200N outputs can make automobile unit assembly 12 stable logical
Believe voltage, if automobile unit assembly 12 sends erroneous frame, exceeded without message or bus voltage value, illustrate automobile unit assembly 12
Communicate abnormal or text of not transmitting messages, and record result closes test;If the proper communication of automobile unit assembly 12, perform test and use
Example.Then, PC control controls the arbitrary waveform signal generator to produce interference waveform.
S302, the control analog line driver are amplified processing to the interference waveform, and by after amplified processing
Interference waveform applies to the power line of the automobile unit assembly.
The interference waveform that host computer 1 controls analog line driver (VDS200N) to send arbitrary waveform signal generator is carried out
Enhanced processing, and applied amplified interference waveform to the electricity of automobile unit assembly by waveform generator UCS200N
Source line is disturbed.
S303, the bus communication state for monitoring the automobile unit assembly in real time, and based on the CAN data generation monitored
Second test result.
During the whole test, the network signal and port that network monitor equipment 4 can export to automobile unit assembly in real time
State is monitored, and by CAN data (message cycle, DLC, message signals, Burst count, the Busload (buses of monitoring
Load) etc.) test and management module is uploaded in real time, CAN data generation the second test knot that test and management module can be based on reception
Fruit.Specifically, in monitoring process, network monitor equipment 4 can judge whether the port of automobile unit assembly is normal, if just
Often, then the communications status of automobile unit assembly is monitored, if abnormal, then it represents that test crash, exit test;Right
During the communications status of automobile unit assembly is monitored, judge whether automobile unit assembly can communicate, such as
There is erroneous frame in fruit, then it represents that can not communicate, test crash, if there is not erroneous frame, then it represents that be successfully tested;If energy
Enough communication, then judge whether message cycle, DLC, message signals, Burst count, Busload are normal, if normally, table
Show that test passes through, otherwise, represent test crash.
S400, perform network service test again to the automobile unit assembly, generate the 3rd test result, and be based on institute
State the anti-interference energy that the first test result, second test result and the 3rd test result generate the automobile unit assembly
Power analysis report.
The step can refer to above-mentioned steps S201 to S204 progress.
During network service test and power supply variation test are performed to automobile unit assembly, test data can be upper
Database is passed to, test and management module can change the test result of test according to network service test and power supply, after comparative analysis
Generate the test report of HTML/Excel forms.
The CAN network interference rejection ability automatic test approach of the present embodiment is introduced below by way of one embodiment.
1. user management:User profile is configured in test and management module:User name (XXX), mail (XX), password
(XX), the information such as work position (XX), telephone number (XX), user right (selection administration authority);
2. rights management:User to definition distributes authority, is divided into:It is readable, writeable, compileable, can copy;
3. vehicle management:Typing vehicle information:A levels vehicle, VIN number=XXX, automobile unit assembly software version=XXX,
Hardware version=XXX, Part No.=XXX, number of rounds of tests=1, testDate=2016 on September 14,;
4. test specification management:According to test specification, simulate vehicle environment packet and contain:Car body controller automobile unit
(the present embodiment pays close attention to pin to assembly:Position lamp power supply, starting switch, igniting IG1 switches, mechanical key insertion switch, driver's side
Door knob switch, secondary driver's side door knob switch, left back door knob switch, right-rear-door door knob switch, hood switch, central controlled lock are opened
Close, left steering switch, right turn switch, left steering lamp, have steering indicating light, back-up lamp, dipped headlight, high beam;It is upper comprising signal
Pin is stated to induction signal), car door automobile unit assembly (emulation signal:Vehicle door status, lock state), air bag automobile unit
Assembly (emulation signal:Collision information), engine automobile unit assembly (emulation signal:Engine speed, operator torque's letter
Breath, information of braking), gearbox automobile unit assembly (emulation signal:Gear information), electric stabilizing system automobile unit assembly
(emulation signal:Speed), rain light automobile unit assembly (emulation signal:Rain light, LIN information, not report communication failure);
5. DTC management:Enumerate the diagnostic service of bodied vehicle unit assembly support:14 services, 19 services, 10 services,
Define Diagnostic parameters, input fault code code table etc.;
6. test group management:This use-case defines user according to Administrator Level;
7. parameter management:Defined according to above-mentioned 4 test specification, network service test and power supply are changed in test process
Used hardware configuration test parameters:
First, network service testing experiment parameter definition
(1) power supply board VT7001:Two purposes are defined in the present embodiment:
First, the stabilized power source as bodied vehicle unit assembly outside input driving voltage, corresponding power supply includes:Position
Lamp power supply, starting switch, igniting IG1 switches, mechanical key insertion switch;Second, the simulation as other VT boards and letter
Number ground;
(2) simulation card VT2820 is switched:Definition defines two purposes in the present embodiment:
First, simulation bodied vehicle unit assembly switch, including:Driver's side door knob switch, secondary driver's side door knob switch, a left side
Back door door knob switch, right-rear-door door knob switch, hood switch, central controlled lock switch, left steering switch, right turn switch;The
Two, inject Starting mode as simulated failure:Such as CAN_H, CAN_L short trouble, CAN_H is to power supply short circuit failure;
(3) board VT1004 is loaded:It is used for fictitious load lamp in the present embodiment, including:Left steering lamp, have steering indicating light,
Back-up lamp, dipped headlight, high beam;
(4) Current Voltage monitoring board VT2816:It is used to measure automobile unit assembly pin voltage, electricity in the present embodiment
Flow valuve.For example, for dipped beam lamp switch, because bodied vehicle unit assembly has protection circuit, it is necessary to collect after dipped headlight opens
Magnitude of voltage, it is ensured that just can now need VT2816 to issue back production pin on VT1004 with normal work after circuit fault-free
Simulate the magnitude of voltage of dipped headlight;
(5) network monitor equipment VN1640:Three purposes are defined in the present embodiment:
First, data acquisition bus data;Second, configure vehicle signal environment for automobile unit assembly.By coordinating testing tube
Manage module and send emulation data realization, sending signal includes:Car door automobile unit assembly (emulation signal:Vehicle door status, lock shape
State), air bag automobile unit assembly (emulation signal:Collision information), engine automobile unit assembly (emulation signal:Start
Machine rotating speed, operator torque's information, information of braking), gearbox automobile unit assembly (emulation signal:Gear information), electronics is steady
Determine system automobile unit assembly (emulation signal:Speed), rain light automobile unit assembly (emulation signal:Rain light, LIN information,
Not report communication failure);3rd, simulated automotive diagnostic equipment sends diagnosis request, reads bodied vehicle unit assembly diagnostic message;
8. input fault yardage (=1), DTC parameter (DTC=U9527, corresponding informance:BCM_
DDCUopendoorCmd=Invalid)
2nd, power supply changes testing experiment parameter definition
(1) input AutoWave test waveforms are:Wire jumper jump start is tested;
(2) input voltage parameter:Vmin=X1V, Vmax=X2V
(3) input time parameter tr=A;
(4) incoming frequency parameter f=B;
(5) VDS200N waveform amplifications multiple=N times is inputted;
(6) it is output waveform to configure UCS200N parameters;
9. test case management:Corresponding above-mentioned test program 4 is chosen in use-case storehouse) test case;
10. test execution:Implementation of test cases sequence:
(1) VT board device hardware initialization operations are carried out, it is that automobile unit is total to call waveform generator UCS200N
Into stable power-supplying is provided, VT1004 is configured, load simulation is provided for automobile unit assembly;Call CANoe2Establish simulated environment,
Other signals on vehicle are provided for it to input, and automobile unit assembly is placed oneself in the midst of emulation vehicle environment:Realize emulation car door automobile
Unit assembly, air bag automobile unit assembly, engine automobile unit assembly, gearbox automobile unit assembly, electronic stability
System automobile unit assembly, rain light automobile unit assembly signal.Meet above-mentioned condition, and bodied vehicle unit assembly is not reported
Fault message;
(2) door contact interrupter change (being closed by reaching), monitoring bus signals BCM_DDCUopendoorCmd=Close are changed
Change turns to:BCM_DDCUopendoorCmd=Open;
(3) bus load data, message cycle and data length are monitored;
(4) bus failure yardage, DTC are read:Failure number of codes, DTC;
(5) feedback result 1 gives test and management module, and as a result 1 includes:BCM_PositionLightCmd=Close---
Open, load data, message cycle, data length, failure number of codes, DTC, CAN waveform and voltage range.
As result 1 is errorless, i.e., do not occur BCM_DDCUopendoorCmd=Invalid situations, or bus error frame feelings
Condition or bus voltage value over range, then (6) are performed, otherwise exit use-case, and feedback result exists for bodied vehicle unit assembly
Problem;
(6) arbitrary waveform signal generator, analog line driver (LD200N, VDS200N, UCS200N, AutoWave) are set
Standby hardware initialization.Waveform generator UCS200N outputs can make automobile unit assembly stabilized communication voltage, if automobile list
First assembly sends erroneous frame, exceeded without message or bus voltage value, illustrates that the communication of automobile unit assembly is abnormal or does not transmit messages
Text, record result close test;If automobile unit assembly proper communication, continues executing with use-case;Call random waveform signal hair
Raw device, interference is applied to tested automobile unit assembly;
(7) input voltage parameter:Vmin=X1V, Vmax=X2V;
(8) input time parameter tr=A;
(9) incoming frequency parameter f=B;
(10) VDS200N waveform amplifications multiple=N times is inputted;
(11) it is output waveform to configure UCS200N parameters;
(12) result of the test 2 is provided, and feedback result 2 is sent to test and management module;
(13) network service test is performed again;
(14) door contact interrupter change (being closed by reaching), monitoring bus signals BCM_DDCUopendoorCmd=Close are changed
Change turns to:BCM_DDCUopendoorCmd=Open;
(15) bus load data payload data, message cycle, data length, failure number of codes, DTC are monitored;
(16) bus failure yardage, DTC are read;
(17) feedback result 3 gives test and management module, and as a result 3 include:BCM_DDCUopendoorCmd=Close---
Open, load data, message cycle, data length, failure number of codes, DTC, CAN waveform and voltage range.Provide
As a result 3, and feedback result 3 is sent to test and management module.
11. test report:Host computer is according to the above results 1 to 3, the survey of rear generation HTML/Excel forms after comparative analysis
Examination report, completes test.
It should be noted that the automobile unit assembly in the present invention refers to the controller that control action is played to vehicle, such as
Engine controller, car body controller, keyless entry and activation system (Passive Entry Passive Start,
PEPS), hydraulic automatic speed variator (automatic transmission, AT) etc..
To sum up, CAN network power supply of the invention change automatic test device in test process can automatic simulation send
The waveforms of TL 82066:Voltage pulsation caused by the switch motion of vehicle-mounted relay is simulated by wire harness stray inductance, the coupling of electric capacity
Cooperation is used;Simulate coupling of the switch motion of vehicle-mounted relay Jing Guo wire harness stray inductance, electric capacity;Simulation is due to parallel two
Signal cross-talk caused by coupling inductance between wire harness;Simulation is due to the presence of parallel line interfascicular coupling inductance, when the drive of direct current generator
It is dynamic when switching off, disturbing pulse can crosstalk wire harness connected in parallel it is first-class.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, apparatus or computer program
Product.Therefore, the application can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the application can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
Although having been described for the preferred embodiment of the application, those skilled in the art once know basic creation
Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent
Select embodiment and fall into having altered and changing for the application scope.Obviously, those skilled in the art can be to the application
Embodiment carries out the spirit and scope of various changes and modification without departing from the embodiment of the present application.So, if the application is implemented
These modifications and variations of example belong within the scope of the application claim and its equivalent technologies, then the application is also intended to include
Including these changes and modification.
Claims (5)
1. a kind of CAN network power supply changes automatic test device, it is characterised in that including:
Arbitrary waveform signal generator that host computer connects with the host computer, analog line driver, CAN network oscillograph, network
Monitoring device and test board,
The test board includes communication card and the power supply board being connected on the communication card, switch simulation card, born
Support plate card, input and output board, Current Voltage monitoring board, the externally fed of the power supply board and the automobile unit assembly
With digital simulation pin connects pin, input port and output of the input and output board with the automobile unit assembly
Port is connected, and the shorted pins and breaking pin that the switch simulation card emulates with automobile unit assembly needs are connected,
The load board is connected with the load pin that the automobile unit assembly needs to emulate, the Current Voltage detection board and institute
Stating automobile unit assembly needs monitoring voltage to be connected with the pin of current value, and the network monitor equipment and the CAN network are shown
Ripple device is connected with the CAN pin of the automobile unit assembly;
It is automobile unit assembly configuration testing environment to be measured that the host computer, which is used for, and optionally controls the random waveform
The operation of signal generator, analog line driver, CAN network oscillograph, network monitor equipment and test board is with to vapour to be measured
Car unit assembly performs network service test and power supply changes test, and changes test based on the network service test and power supply
Result automatically generate interference rejection ability analysis report on the automobile unit assembly;
The port that the network service test includes the control instruction change automobile unit assembly based on the host computer is defeated
Enter/export, or outside emulation signal triggering, to verify the correctness of the network signal of automobile unit assembly output and end
The correctness of mouth state;The power supply, which changes test, includes the control instruction based on the host computer, calls the host computer to match somebody with somebody
The power supply put changes waveform parameter, applies interference to the power circuit of the automobile unit assembly, to verify the automobile unit
The interference rejection ability of assembly, the network monitor equipment and the CAN network oscillograph are in network service test and the electricity
Source is changed in test process, and bus communication, networking waveform to the automobile unit assembly are monitored in real time, and by monitoring
CAN data are sent to the host computer;The host computer generates the interference rejection ability analysis report based on the CAN data received
Accuse.
2. device according to claim 1, it is characterised in that the host computer passes through Ethernet interface and the test board
Card connects with the CAN network oscillograph, is connected by USB interface with the network monitor equipment, passes through parallel bus interface
It is connected with the arbitrary waveform signal generator and analog line driver;The arbitrary waveform signal generator and analog line driver it
Between connected by parallel bus interface.
3. device according to claim 1, it is characterised in that the arbitrary waveform signal generator includes sending different ripples
Three waveform generators of shape;Communicated to connect between the waveform generator by parallel bus interface.
4. device according to claim 1, it is characterised in that be provided with the host computer to the automobile unit assembly
The test and management module tested of interference rejection ability, the test and management module includes service management unit, rights management list
Member, vehicle administrative unit, test specification administrative unit, DTC administrative unit, test group administrative unit, parameter management unit,
Test case management unit, test execution unit and test report unit;
Wherein, the service management unit is used to configure user profile;The rights management unit is used for the user point to definition
With authority;The vehicle administrative unit is used for typing test vehicle information;The test specification administrative unit is used for test network
Ownership, resistance configuration, pin definitions, electrical properties, network parameter, network signal;The DTC administrative unit is used to support
Diagnostic service, Diagnostic parameters, DTC code table, fault type;The test group administrative unit is used for according to rights management unit
Defined authority is matched and planned to user;The parameter management unit is used to configure test parameters;The test is used
Example administrative unit is used for the test case that corresponding test program is chosen in use-case storehouse, or newly adds customized test and use
Example;The test execution unit is used to perform the test case chosen according to test plan;The test report unit is used to give birth to
Into automatic test report, interpretation of result is provided.
5. a kind of CAN network power supply changes automatic test approach, it is characterised in that by the device described in claim 4 come real
Now the automatic test of the CAN network interference rejection ability of automobile unit assembly, methods described are included:
The information configured according to the test and management module is automobile unit assembly configuration testing environment;
Network service test is performed to the automobile unit assembly:
Initialization operation is carried out to test board, and is the automobile in the case of automobile unit assembly communication is normal
Unit assembly configures corresponding test board, to provide port and load simulation for the automobile unit assembly;
Simulated environment is built by default simulation software, providing other signals on vehicle for the automobile unit assembly inputs, and makes
Obtain the automobile unit assembly and place oneself in the midst of emulation vehicle environment;
Change the port input/output of the automobile unit assembly or outside emulation signal triggering, to verify that automobile unit is total
Into network signal output correctness, port status correctness;
The bus communication state of the automobile unit assembly is monitored in real time, and based on the test of CAN data generation first monitored
As a result;
Power supply is performed to the automobile unit assembly and changes test:
Initialization operation is carried out to arbitrary waveform signal generator and power amplifier, and in automobile unit assembly communication just
In the case of often, the arbitrary waveform signal generator is controlled to produce interference waveform;
Control the analog line driver to be amplified processing to the interference waveform, and the interference waveform after amplified processing is applied
Add to the power line of the automobile unit assembly;
The bus communication state of the automobile unit assembly is monitored in real time, and based on the test of CAN data generation second monitored
As a result;
Perform network service test again to the automobile unit assembly, generate the 3rd test result, and survey based on described first
Test result, second test result and the 3rd test result generate the interference rejection ability analysis report of the automobile unit assembly
Accuse.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710773341.6A CN107592239A (en) | 2017-08-31 | 2017-08-31 | A kind of CAN network power supply changes automatic test device and its method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710773341.6A CN107592239A (en) | 2017-08-31 | 2017-08-31 | A kind of CAN network power supply changes automatic test device and its method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107592239A true CN107592239A (en) | 2018-01-16 |
Family
ID=61050619
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710773341.6A Pending CN107592239A (en) | 2017-08-31 | 2017-08-31 | A kind of CAN network power supply changes automatic test device and its method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107592239A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108519935A (en) * | 2018-03-15 | 2018-09-11 | 广州视源电子科技股份有限公司 | Board card testing method and device, readable storage medium and computer equipment |
CN110377012A (en) * | 2019-08-30 | 2019-10-25 | 昌辉汽车电气系统(安徽)有限公司 | A kind of detection device of controller |
CN111416761A (en) * | 2019-01-04 | 2020-07-14 | 珠海零边界集成电路有限公司 | CAN waveform simulation device, simulation method and CAN waveform transmitter |
CN112362360A (en) * | 2020-11-10 | 2021-02-12 | 广州小鹏汽车科技有限公司 | Vehicle component testing method, device and system, test board card and storage medium |
CN113640655A (en) * | 2021-10-13 | 2021-11-12 | 常州欣盛半导体技术股份有限公司 | Arbitrary waveform generator verification platform |
CN115242609A (en) * | 2022-07-13 | 2022-10-25 | 东风越野车有限公司 | Whole vehicle CAN bus fault frame analysis method and device and vehicle |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101718631A (en) * | 2009-11-19 | 2010-06-02 | 江苏亚华汽车电子有限公司 | Automobile electronic multi-functional test platform |
CN102183953A (en) * | 2011-05-18 | 2011-09-14 | 联合汽车电子有限公司 | Vehicle power electronic unit (PEU) testboard |
CN203472853U (en) * | 2013-09-30 | 2014-03-12 | 长沙瑞纬电气有限公司 | Testing device for 8G haulage motor resistor braking system |
CN203563081U (en) * | 2013-08-21 | 2014-04-23 | 天津一汽夏利汽车股份有限公司 | A CAN bus testing apparatus commonly used by vehicles |
-
2017
- 2017-08-31 CN CN201710773341.6A patent/CN107592239A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101718631A (en) * | 2009-11-19 | 2010-06-02 | 江苏亚华汽车电子有限公司 | Automobile electronic multi-functional test platform |
CN102183953A (en) * | 2011-05-18 | 2011-09-14 | 联合汽车电子有限公司 | Vehicle power electronic unit (PEU) testboard |
CN203563081U (en) * | 2013-08-21 | 2014-04-23 | 天津一汽夏利汽车股份有限公司 | A CAN bus testing apparatus commonly used by vehicles |
CN203472853U (en) * | 2013-09-30 | 2014-03-12 | 长沙瑞纬电气有限公司 | Testing device for 8G haulage motor resistor braking system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108519935A (en) * | 2018-03-15 | 2018-09-11 | 广州视源电子科技股份有限公司 | Board card testing method and device, readable storage medium and computer equipment |
CN108519935B (en) * | 2018-03-15 | 2021-09-24 | 广州视源电子科技股份有限公司 | Board card testing method and device, readable storage medium and computer equipment |
CN111416761A (en) * | 2019-01-04 | 2020-07-14 | 珠海零边界集成电路有限公司 | CAN waveform simulation device, simulation method and CAN waveform transmitter |
CN110377012A (en) * | 2019-08-30 | 2019-10-25 | 昌辉汽车电气系统(安徽)有限公司 | A kind of detection device of controller |
CN112362360A (en) * | 2020-11-10 | 2021-02-12 | 广州小鹏汽车科技有限公司 | Vehicle component testing method, device and system, test board card and storage medium |
CN113640655A (en) * | 2021-10-13 | 2021-11-12 | 常州欣盛半导体技术股份有限公司 | Arbitrary waveform generator verification platform |
CN113640655B (en) * | 2021-10-13 | 2021-12-31 | 常州欣盛半导体技术股份有限公司 | Arbitrary waveform generator verification platform |
CN115242609A (en) * | 2022-07-13 | 2022-10-25 | 东风越野车有限公司 | Whole vehicle CAN bus fault frame analysis method and device and vehicle |
CN115242609B (en) * | 2022-07-13 | 2023-10-20 | 东风越野车有限公司 | Whole vehicle CAN bus fault frame analysis method and device and vehicle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107592239A (en) | A kind of CAN network power supply changes automatic test device and its method | |
CN106444712B (en) | A kind of CAN/LIN network interferences automatization test system | |
CN110233768B (en) | UDS-based CAN bus test system and CAN bus test method | |
CN108900377A (en) | A kind of CAN network test macro and test method | |
CN102929274B (en) | In-vehicle networking ground skewed redundant test macro, method and apparatus | |
CN205483578U (en) | Hardware that no key got into start -up system is in ring testing system | |
CN109857095A (en) | A kind of off-line detection system and method for domain controller | |
CN104834591B (en) | Test the method for testing and system of AUTOSAR component softwares | |
CN105515911A (en) | Gateway automatic test system and method of CAN network | |
CN109991955A (en) | A kind of entire car controller test method, device and equipment | |
CN112631248B (en) | Automatic continuous fault injection testing device and method | |
CN107491055A (en) | The test system and method for bus | |
CN212276236U (en) | Portable real vehicle network automatic test system | |
CN207318605U (en) | Automobile bus radiated immunity test system | |
CN207264190U (en) | A kind of CAN network power supply changes automatic test device | |
CN110514931B (en) | Electromagnetic compatibility test system and method for equipment with vehicle-mounted Ethernet function | |
CN115134280B (en) | Fault testing system and method for vehicle-mounted Ethernet | |
CN111708661A (en) | Pressure testing system and method suitable for central gateway | |
CN103744414A (en) | Test method and test device | |
CN116880444A (en) | In-loop simulation test system, method and storage medium | |
CN110850128A (en) | On-site automatic test system bus for marine instrument | |
CN116448158A (en) | Method and device for testing combination instrument in vehicle and electronic device | |
CN215219509U (en) | Entertainment system test bench based on domain controller electrical architecture | |
CN102075370A (en) | Calibration and verification system of engine control model (ECM) communication based on virtual network and virtual node | |
CN114328229A (en) | Over-the-air technology test system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180116 |
|
RJ01 | Rejection of invention patent application after publication |