CN106383511A - Vehicle control unit simulation test method, device and system - Google Patents

Vehicle control unit simulation test method, device and system Download PDF

Info

Publication number
CN106383511A
CN106383511A CN201610804856.3A CN201610804856A CN106383511A CN 106383511 A CN106383511 A CN 106383511A CN 201610804856 A CN201610804856 A CN 201610804856A CN 106383511 A CN106383511 A CN 106383511A
Authority
CN
China
Prior art keywords
signal
entire car
car controller
measured
node
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.)
Granted
Application number
CN201610804856.3A
Other languages
Chinese (zh)
Other versions
CN106383511B (en
Inventor
张玉盼
代康伟
王可峰
黄颖华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Electric Vehicle Co Ltd
Original Assignee
Beijing Electric Vehicle Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Electric Vehicle Co Ltd filed Critical Beijing Electric Vehicle Co Ltd
Priority to CN201610804856.3A priority Critical patent/CN106383511B/en
Publication of CN106383511A publication Critical patent/CN106383511A/en
Application granted granted Critical
Publication of CN106383511B publication Critical patent/CN106383511B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B17/00Systems involving the use of models or simulators of said systems
    • G05B17/02Systems involving the use of models or simulators of said systems electric

Abstract

The present invention provides a vehicle control unit simulation test method, device and system. The method comprises the following steps: in the current test environment of a vehicle, controlling a first node to send a first signal to a vehicle controller to be tested according to a preset rule to forward the first signal to a second node through the vehicle controller to be tested, wherein the first node is located on a first CAN bus, and the second node is located on a second CAN bus; monitoring a second signal received by the second node, and determining whether the second signal accords with the preset rule or not; and if the second signal accords with the preset rule, determining the consistency of the second signal and the first signal. According to the embodiment of the invention, the test coverage degree is more comprehensive and abundant, and the test accuracy is improved.

Description

The emulation test method of entire car controller, device and system
Technical field
The present invention relates to vehicle control device technical field of measurement and test, particularly to a kind of emulation testing side of entire car controller Method, device and system.
Background technology
At present, in vehicle, entire car controller is by CAN (Controller Area Network, controller local mostly Network) bus communicated with the other nodes on vehicle, the typically more than road of this CAN.If a road CAN On certain node send data need to be delivered in the CAN of another road, then sending node can by its place CAN total Line sends the data to entire car controller, and is used as intermediary by entire car controller, and this data forwarding is given another road CAN Other nodes of bus.
However, currently for above-mentioned needs do not go the same way between CAN forward forwarding class signal method of testing still not Sound, or be simply to test the data that in next road CAN, certain node sends to control by policy Device is sent in the CAN of another road.Therefore, current test mode has that test mode is single, cover comprehensive, the degree of accuracy Low problem.
Content of the invention
It is contemplated that at least solving above-mentioned technical problem to a certain extent.
For this reason, the first of the present invention purpose is to propose a kind of emulation test method of entire car controller, Test coverage Degree is more comprehensive, abundant, it is possible to increase test accuracy.
Second object of the present invention is to propose a kind of simulation testing device of entire car controller.
Third object of the present invention is to propose a kind of emulation test system of entire car controller.
For reaching above-mentioned purpose, embodiment proposes a kind of emulation testing side of entire car controller according to a first aspect of the present invention Method, comprises the following steps:In the preset test environment of vehicle, control first node according to preset rules to full-vehicle control to be measured Device sends the first signal, and to be forwarded to Section Point by described entire car controller to be measured, wherein, described first node is located at the In one CAN, described Section Point is located in the second CAN;Monitor the secondary signal that described Section Point receives, and Judge whether described secondary signal meets described preset rules;If it is determined that described secondary signal and described first signal one Cause.
The emulation test method of the entire car controller of the embodiment of the present invention, by, in preset test environment, controlling first First node in CAN sends the first signal according to preset rules to entire car controller to be measured, with by car load control to be measured Device processed is forwarded to the Section Point in the second CAN, and according to Section Point receive secondary signal whether meet this preset Rule come to determine entire car controller to be measured whether can correct forward signal, can be more fully right by the rule of default settings Entire car controller is tested to the forwarding of signal, and Test coverage degree is more comprehensive, abundant, it is possible to increase test accuracy, fall The risk of low real steering vectors, improves Consumer's Experience and user satisfaction.
Second aspect present invention embodiment provides a kind of simulation testing device of entire car controller, including:Control module, For in the preset test environment of vehicle, controlling first node to send the first letter according to preset rules to entire car controller to be measured Number, to be forwarded to Section Point by described entire car controller to be measured, wherein, described first node is located in the first CAN, Described Section Point is located in the second CAN;First monitoring modular, for monitoring the second letter that described Section Point receives Number;First judge module, for judging whether described secondary signal meets described preset rules;Determining module, for judging When described secondary signal meets described preset rules, determine that described secondary signal is consistent with described first signal.
The simulation testing device of the entire car controller of the embodiment of the present invention, by, in preset test environment, controlling first First node in CAN sends the first signal according to preset rules to entire car controller to be measured, with by car load control to be measured Device processed is forwarded to the Section Point in the second CAN, and according to Section Point receive secondary signal whether meet this preset Rule come to determine entire car controller to be measured whether can correct forward signal, can be more fully right by the rule of default settings Entire car controller is tested to the forwarding of signal, and Test coverage degree is more comprehensive, abundant, it is possible to increase test accuracy, fall The risk of low real steering vectors, improves Consumer's Experience and user satisfaction.
Third aspect present invention embodiment provides a kind of emulation test system of entire car controller, including:As the present invention The simulation testing device of the entire car controller of second aspect any embodiment;And entire car controller to be measured, described for receiving It is described that first node sends, and is forwarded to described Section Point.
The emulation test system of the entire car controller of the embodiment of the present invention, by, in preset test environment, controlling first First node in CAN sends the first signal according to preset rules to entire car controller to be measured, with by car load control to be measured Device processed is forwarded to the Section Point in the second CAN, and according to Section Point receive secondary signal whether meet this preset Rule come to determine entire car controller to be measured whether can correct forward signal, can be more fully right by the rule of default settings Entire car controller is tested to the forwarding of signal, and Test coverage degree is more comprehensive, abundant, it is possible to increase test accuracy, fall The risk of low real steering vectors, improves Consumer's Experience and user satisfaction.
The additional aspect of the present invention and advantage will be set forth in part in the description, and partly will become from the following description Obtain substantially, or recognized by the practice of the present invention.
Brief description
The above-mentioned and/or additional aspect of the present invention and advantage will become from reference to the description to embodiment for the accompanying drawings below Substantially and easy to understand, wherein:
Fig. 1 is the transmission schematic diagram forwarding class signal in correlation technique;
Fig. 2 is the flow chart of the emulation test method of the entire car controller according to one embodiment of the invention;
Fig. 3 is the flow chart of the emulation test method of the entire car controller according to another embodiment of the present invention;
Fig. 4 is the structural representation of the simulation testing device of the entire car controller according to one embodiment of the invention;
Fig. 5 is the structural representation of the simulation testing device of the entire car controller according to another embodiment of the present invention;
Fig. 6 is the emulation test system structural representation of the entire car controller according to one embodiment of the invention.
Specific embodiment
Embodiments of the invention are described below in detail, the example of described embodiment is shown in the drawings, wherein from start to finish The element that same or similar label represents same or similar element or has same or like function.Below with reference to attached The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not considered as limiting the invention.
Fig. 1 is the transmission schematic diagram forwarding class signal in correlation technique.As shown in figure 1, forwarding class signal S by sending node A sends, and with entire car controller as intermediary, issues entire car controller from a road CAN (CAN1), then by entire car controller Forwarding is dealt in other CAN, and the node in the node B for CAN2 bus or other bus uses after receiving.Wherein, Fig. 1 In as a example with entire car controller as VCU (Vehicle Control Unit, control unit for vehicle).
In order to ensure entire car controller to such data forwarding class signal can successfully forward and forward accurately, this Invention proposes a kind of emulation test method of entire car controller, device and system.
Below with reference to the accompanying drawings describe the emulation test method of entire car controller according to embodiments of the present invention, device and be System.
Fig. 2 is the flow chart of the emulation test method of the entire car controller according to one embodiment of the invention.
As shown in Fig. 2 the emulation test method of entire car controller according to embodiments of the present invention, including step S201- S202.
S201, in the preset test environment of vehicle, controls first node according to preset rules to entire car controller to be measured Send the first signal, to be forwarded to Section Point by described entire car controller to be measured, wherein, described first node is located at first In CAN, described Section Point is located in the second CAN.
Wherein, preset test environment can any one operational mode of simulating vehicle obtain.For example, current survey Drive mode that test ring border can be but not limited to simulate, trickle charge pattern, fast mold filling formula, in remote mode any one.
It should be noted that the embodiment of the present invention can be applicable to the HIL (Hardware-in-the- to entire car controller Loop, hardware in loop) in emulation test system.
In one embodiment of the invention, in order to from many aspects cover to entire car controller forward signal when Accuracy, can predefine signal generation rule, i.e. preset rules.Specifically, can be pre-build based on multiple signal characteristics Signal generation rule, thus generate test signal (i.e. the first signal) to be forwarded according to this signal generation rule.Wherein, signal Feature may include but be not limited to cycle, precision, enumerate regular (such as ascending order is enumerated, descending is enumerated) and extreme value (may include Maximum and minimum of a value) etc..
Specifically, described control first node sends the first signal according to preset rules to entire car controller to be measured, can First node is including but not limited to controlled to send the first signal according to one or more of rule to entire car controller to be measured:
Rule one
Described first node is controlled to send described first signal according to predetermined period to described entire car controller to be measured.
That is, each data point in the first signal be by first node according to predetermined period generate, and send to Entire car controller to be measured.For example, the first signal includes 10 data points, and predetermined period is A_send_cycle, then and the One node can generate a data point every time A_send_cycle, and sends to entire car controller to be measured, until 10 numbers Strong point all sends to entire car controller to be measured.
Rule two
Described first node is controlled to send described first signal according to default precision to described entire car controller to be measured.
That is, the precision of each data point in the first signal is all default precision A_precision.Citing comes Say, if default precision is 0.4, the value of each data point in the first signal is all 0.4 multiple, such as 0.4, 12.8.23.2,37.6 etc..
Rule three
Described first node is controlled to send described first signal according to default rule of enumerating to described entire car controller to be measured.
Wherein, enumerate the ordering rule for data point for the rule, for example, ascending order, descending or first ascending order again descending, first drop Sequence ascending order etc. again.For example, if the data point in the first signal include 0,0.4,12.8,23.2,37.6 ..., 50th ..., 100, then according to the rule of ascending order or descending, these data points are sent to entire car controller to be measured, or, These data points elder generation ascending order can also be arranged so that descending one time again, or by these data points elder generation descendings one time Ascending order arranges one time again, sends to entire car controller to be measured.
For example, above-mentioned data point can enumerate rule transmission according to following:
0、0.4、12.8、23.2、37.6、……、50、……、100;
Or, 100 ..., 50 ..., 37.6,23.2,12.8,0.4,0;
Or, 0,0.4,12.8,23.2,37.6 ..., 50 ..., 100 ..., 50 ..., 37.6,23.2, 12.8、0.4、0;
Or, 100 ..., 50 ..., 37.6,23.2,12.8,0.4,0,0.4,12.8,23.2,37.6 ..., 50、……、100;Etc..
Rule four
Described first node is controlled to send described first signal according to default extreme value rule to described entire car controller to be measured.
Wherein, default extreme value rule defines maximum A_max of data point and/or minimum of a value A_min in the first signal. When generating the first signal, the maximum of the first signal and minimum of a value need to meet this default extreme value rule, and that is, maximum is A_ Max, minimum of a value is A_min.
S202, monitors the secondary signal that described Section Point receives, and it is described to judge whether described secondary signal meets Preset rules.
S203, if it is determined that described secondary signal is consistent with described first signal.
If the first signal is accurately forwarded by entire car controller to be measured, the secondary signal that Section Point receives should be with First signal is consistent, also complies with this preset rules.Therefore, can be by judging whether the secondary signal that Section Point receives meets This preset rules, judges that secondary signal is consistent with described first signal, so that it is determined that whether entire car controller to be measured can be correct Forward signal.
For example, believed with the first signal for electrokinetic cell remaining capacity SOC (State of Charge, state-of-charge) As a example number, electrokinetic cell remaining capacity SOC signal is sent to VCU by the BMS node in CAN1 bus, and is forwarded by VCU ICM (Ignition Control Module, ignition control module) to CAN2 bus, shows for instrument and uses.
Wherein, electrokinetic cell remaining capacity SOC signal generates and sends according to following rule:Transmission cycle 20ms;Maximum Value is 100;Minimum of a value is 0;Data precision is 0.4.
After monitoring that ICM node receives signal, whether the signal that can be received by the following aspects judgement Meet preset rules:
1st, the cycle of signal
Specifically, whether the cycle that can determine whether each data point in the signal that ICM node receives is 20ms, if It is then to meet the corresponding rule of predetermined period, represent that the forwarding cycle of entire car controller to be measured is consistent with the cycle sending signal.
2nd, the precision of signal
Specifically, whether the precision that can test the signal that ICM node receives is 0.4, thus judging car load control to be measured Whether device processed has the generation of precision loss or trueness error phenomenon when forwarding.
3rd, the extreme value of signal
The extreme value of signal includes maximum and minimum of a value.Specifically, the signal that ICM node receives can be tested respectively Whether maximum is whether 100, minimum of a value is 0, to judge whether entire car controller to be measured correctly forwards extreme value when forwarding.
4th, signal enumerate rule
Specifically, can determine whether whether the order of each data point in the signal that ICM node receives is sent with BMS node When sequence consensus.For example, if when BMS node sends enumerate data and its order be:0、0.4、12.8、23.2、 37.6 ... 50 ... 100 ... 50 ... 37.6,23.2,12.8,0.4,0, then judge data point that ICM node receives and Whether its order is the same.Thus, whether can test same data point can be by car load control to be measured during ascending order and descending Device processed correctly forwards.
If necessary to increase the coverage of test, then can increase phase respectively in the correspondence position during ascending order or descending Same enumerates data point.
Thus, when secondary signal meets all preset rules of the first signal, then can determine that what Section Point received Secondary signal is consistent with the first signal that first node sends, and then can determine that entire car controller forward signal to be measured is normal.Its In at least one rule when not meeting, then secondary signal is inconsistent with the first signal, represents entire car controller forward signal to be measured Abnormal, and for abnormal signal, corresponding correction measure can be taken to entire car controller to be measured.
The emulation test method of the entire car controller of the embodiment of the present invention, by, in preset test environment, controlling first First node in CAN sends the first signal according to preset rules to entire car controller to be measured, with by car load control to be measured Device processed is forwarded to the Section Point in the second CAN, and according to Section Point receive secondary signal whether meet this preset Rule come to determine entire car controller to be measured whether can correct forward signal, can be more fully right by the rule of default settings Entire car controller is tested to the forwarding of signal, and Test coverage degree is more comprehensive, abundant, it is possible to increase test accuracy, fall The risk of low real steering vectors, improves Consumer's Experience and user satisfaction.
In an embodiment of the present invention, in order to carry out more fully to the forwarding situation forwarding class signal to entire car controller Test, can be directed to the different operational modes simulation test environment respectively of vehicle, and be tested respectively in each test environment.
Therefore, in one embodiment of the invention, may also include:According to multiple operational modes of vehicle, simulate respectively Vehicle running environment, and respectively as described preset test environment.
Wherein, the operational mode of vehicle may include but be not limited to drive mode, trickle charge pattern, fast mold filling formula, remote mode At least one of.
Thus, it is possible to by simulating different travel condition of vehicle, to entire car controller under each state to forwarding class The forwarding of signal is tested, and Test coverage degree is high, so that entire car controller can be under the different conditions of vehicle, forward signal Can correctly send and receive, improve the software quality of entire car controller, and reduce the fault rate of entire car controller.
Fig. 3 is the flow chart of the emulation test method of the entire car controller according to another embodiment of the present invention.
As shown in figure 3, the emulation test method of entire car controller according to embodiments of the present invention, including step S301- S303.
S301, in the preset test environment of vehicle, controls first node according to preset rules to entire car controller to be measured Send the first signal, to be forwarded to Section Point by described entire car controller to be measured, wherein, described first node is located at first In CAN, described Section Point is located in the second CAN.
Wherein, step S301 is identical with step S201 in embodiment illustrated in fig. 2, can refer to embodiment illustrated in fig. 2.
S302, monitors the 3rd signal that described entire car controller to be measured receives, and judges whether described 3rd signal accords with Close described preset rules.
After first node sends the first signal to entire car controller to be measured, entire car controller to be measured can be received Signal be monitored, and judge whether the 3rd signal monitoring meets described preset rules.
Wherein, judge whether the 3rd signal monitoring meets the step that described preset rules can refer to embodiment illustrated in fig. 2 Judge whether secondary signal meets the determination methods of preset rules in rapid S202.
If the carrier message being forwarded signal stops sending, lead to be forwarded signal and can not send according to the cycle or not Can trigger according to the mode triggering in advance, the letter that full-vehicle control presence to be measured does not receive signal or receives in this case Number problem not being inconsistent with the signal that signal source sends.
For this reason, embodiments of the invention are monitored by the signal that full-vehicle control to be measured is received and judge, so that Carry out fault alarm when there is above-mentioned situation.
S303, if do not met, will carry out fault alarm.
It should be noted that the embodiment of the present invention does not limit to the concrete mode of fault alarm.For example, can basis The 3rd signal fault level different from the difference setting of preset rules, alarm sound, moment of torsion processing mode etc..Thus, can basis 3rd signal carries out corresponding warning with the situation that compares of preset rules.
S304, monitors the secondary signal that described Section Point receives, and it is described to judge whether described secondary signal meets Preset rules.
S305, if it is determined that described secondary signal is consistent with described first signal.
Wherein, step S304-S305 is identical with step S202-S203 in embodiment illustrated in fig. 2, can refer to shown in Fig. 2 Embodiment.
It should be noted that in some embodiments of the invention, can be in determine that entire car controller to be measured receives the Three signals meet execution step S304-S305 after preset rules, or, need not be to be measured according to the judged result of step S302 Entire car controller can forward signal in real time, and execution step S304-S305.
The emulation test method of the entire car controller of the embodiment of the present invention, by monitoring what entire car controller to be measured received 3rd signal, and judge whether the 3rd signal meets preset rules, to carry out fault alarm when not meeting preset rules, so that Tester is pointed out, lifts test accuracy and efficiency.
Corresponding with the embodiment of the emulation test method of above-mentioned entire car controller, the present invention also proposes a kind of full-vehicle control The simulation testing device of device.
Fig. 4 is the structural representation of the simulation testing device of the entire car controller according to one embodiment of the invention.
As shown in figure 4, the simulation testing device of entire car controller according to embodiments of the present invention, including:Control module 110th, the first monitoring modular 120, the first judge module 130 and determining module 140.
Specifically, control module 110 is used in the preset test environment of vehicle, controls first node according to preset rules Send the first signal to entire car controller to be measured, so that Section Point is forwarded to by described entire car controller to be measured, wherein, described First node is located in the first CAN, and described Section Point is located in the second CAN.
Wherein, preset test environment can any one operational mode of simulating vehicle obtain.For example, current survey Drive mode that test ring border can be but not limited to simulate, trickle charge pattern, fast mold filling formula, in remote mode any one.
It should be noted that the embodiment of the present invention can be applicable to the HIL (Hardware-in-the- to entire car controller Loop, hardware in loop) in emulation test system.
In one embodiment of the invention, in order to from many aspects cover to entire car controller forward signal when Accuracy, can predefine signal generation rule, i.e. preset rules.Specifically, can be pre-build based on multiple signal characteristics Signal generation rule, thus generate test signal (i.e. the first signal) to be forwarded according to this signal generation rule.Wherein, signal Feature may include but be not limited to cycle, precision, enumerate regular (such as ascending order is enumerated, descending is enumerated) and extreme value (may include Maximum and minimum of a value) etc..
Specifically, described control first node sends the first signal according to preset rules to entire car controller to be measured, can First node is including but not limited to controlled to send the first signal according to one or more of rule to entire car controller to be measured:
Rule one
Described first node is controlled to send described first signal according to predetermined period to described entire car controller to be measured.
That is, each data point in the first signal be by first node according to predetermined period generate, and send to Entire car controller to be measured.For example, the first signal includes 10 data points, and predetermined period is A_send_cycle, then and the One node can generate a data point every time A_send_cycle, and sends to entire car controller to be measured, until 10 numbers Strong point all sends to entire car controller to be measured.
Rule two
Described first node is controlled to send described first signal according to default precision to described entire car controller to be measured.
That is, the precision of each data point in the first signal is all default precision A_precision.Citing comes Say, if default precision is 0.4, the value of each data point in the first signal is all 0.4 multiple, such as 0.4, 12.8.23.2,37.6 etc..
Rule three
Described first node is controlled to send described first signal according to default rule of enumerating to described entire car controller to be measured.
Wherein, enumerate the ordering rule for data point for the rule, for example, ascending order, descending or first ascending order again descending, first drop Sequence ascending order etc. again.For example, if the data point in the first signal include 0,0.4,12.8,23.2,37.6 ..., 50th ..., 100, then according to the rule of ascending order or descending, these data points are sent to entire car controller to be measured, or, These data points elder generation ascending order can also be arranged so that descending one time again, or by these data points elder generation descendings one time Ascending order arranges one time again, sends to entire car controller to be measured.
For example, above-mentioned data point can enumerate rule transmission according to following:
0、0.4、12.8、23.2、37.6、……、50、……、100;
Or, 100 ..., 50 ..., 37.6,23.2,12.8,0.4,0;
Or, 0,0.4,12.8,23.2,37.6 ..., 50 ..., 100 ..., 50 ..., 37.6,23.2, 12.8、0.4、0;
Or, 100 ..., 50 ..., 37.6,23.2,12.8,0.4,0,0.4,12.8,23.2,37.6 ..., 50、……、100;Etc..
Rule four
Described first node is controlled to send described first signal according to default extreme value rule to described entire car controller to be measured.
Wherein, default extreme value rule defines maximum A_max of data point and/or minimum of a value A_min in the first signal. When generating the first signal, the maximum of the first signal and minimum of a value need to meet this default extreme value rule, and that is, maximum is A_ Max, minimum of a value is A_min.
First monitoring modular 120 is used for monitoring the secondary signal that described Section Point receives.
First judge module 130 is used for judging whether described secondary signal meets described preset rules.
Determining module 140 is used for, when judging that described secondary signal meets described preset rules, determining described secondary signal Consistent with described first signal.
If the first signal is accurately forwarded by entire car controller to be measured, the secondary signal that Section Point receives should be with First signal is consistent, also complies with this preset rules.Therefore, can judge what Section Point received by the first judge module 130 Whether secondary signal meets this preset rules, judges that secondary signal is consistent with described first signal, so that it is determined that car load control to be measured Whether device processed being capable of correct forward signal.
For example, believed with the first signal for electrokinetic cell remaining capacity SOC (State of Charge, state-of-charge) As a example number, electrokinetic cell remaining capacity SOC signal is sent to VCU by the BMS node in CAN1 bus, and is forwarded by VCU ICM (Ignition Control Module, ignition control module) to CAN2 bus, shows for instrument and uses.
Wherein, electrokinetic cell remaining capacity SOC signal generates and sends according to following rule:Transmission cycle 20ms;Maximum Value is 100;Minimum of a value is 0;Data precision is 0.4.
After monitoring that ICM node receives signal, the first judge module 130 can judge to connect by the following aspects Whether the signal receiving meets preset rules:
1st, the cycle of signal
Specifically, whether the cycle that can determine whether each data point in the signal that ICM node receives is 20ms, if It is then to meet the corresponding rule of predetermined period, represent that the forwarding cycle of entire car controller to be measured is consistent with the cycle sending signal.
2nd, the precision of signal
Specifically, whether the precision that can test the signal that ICM node receives is 0.4, thus judging car load control to be measured Whether device processed has the generation of precision loss or trueness error phenomenon when forwarding.
3rd, the extreme value of signal
The extreme value of signal includes maximum and minimum of a value.Specifically, the signal that ICM node receives can be tested respectively Whether maximum is whether 100, minimum of a value is 0, to judge whether entire car controller to be measured correctly forwards extreme value when forwarding.
4th, signal enumerate rule
Specifically, can determine whether whether the order of each data point in the signal that ICM node receives is sent with BMS node When sequence consensus.For example, if when BMS node sends enumerate data and its order be:0、0.4、12.8、23.2、 37.6 ... 50 ... 100 ... 50 ... 37.6,23.2,12.8,0.4,0, then judge data point that ICM node receives and Whether its order is the same.Thus, whether can test same data point can be by car load control to be measured during ascending order and descending Device processed correctly forwards.
If necessary to increase the coverage of test, then can increase phase respectively in the correspondence position during ascending order or descending Same enumerates data point.
Thus, when secondary signal meets all preset rules of the first signal, then can determine that what Section Point received Secondary signal is consistent with the first signal that first node sends, and then can determine that entire car controller forward signal to be measured is normal.Its In at least one rule when not meeting, then secondary signal is inconsistent with the first signal, and entire car controller forward signal to be measured is abnormal, And for abnormal signal, corresponding correction measure can be taken to entire car controller to be measured.
The simulation testing device of the entire car controller of the embodiment of the present invention, by, in preset test environment, controlling first First node in CAN sends the first signal according to preset rules to entire car controller to be measured, with by car load control to be measured Device processed is forwarded to the Section Point in the second CAN, and according to Section Point receive secondary signal whether meet this preset Rule come to determine entire car controller to be measured whether can correct forward signal, can be more fully right by the rule of default settings Entire car controller is tested to the forwarding of signal, and Test coverage degree is more comprehensive, abundant, it is possible to increase test accuracy, fall The risk of low real steering vectors, improves Consumer's Experience and user satisfaction.
Fig. 5 is the structural representation of the simulation testing device of the entire car controller according to another embodiment of the present invention.
As shown in figure 5, the simulation testing device of entire car controller according to embodiments of the present invention, including:Control module 110th, the first monitoring modular 120, the first judge module 130, determining module 140, analog module 150, the second monitoring modular 160, Second judge module 170 and fault alarm module 180.
Wherein, control module 110, the first monitoring modular 120, the first judge module 130 and determining module 140 and Fig. 4 institute Show that embodiment is identical, can refer to embodiment illustrated in fig. 4.
Analog module 150 is used for the multiple operational modes according to vehicle, respectively simulating vehicle running environment, and respectively as Described preset test environment.
In an embodiment of the present invention, in order to carry out more fully to the forwarding situation forwarding class signal to entire car controller Test, can be directed to the different operational modes simulation test environment respectively of vehicle by analog module 150, and in each test environment Tested respectively.
Wherein, the operational mode of vehicle may include but be not limited to drive mode, trickle charge pattern, fast mold filling formula, remote mode At least one of.
Thus, it is possible to by simulating different travel condition of vehicle, to entire car controller under each state to forwarding class The forwarding of signal is tested, and Test coverage degree is high, so that entire car controller can be under the different conditions of vehicle, forward signal Can correctly send and receive, improve the software quality of entire car controller, and reduce the fault rate of entire car controller.
Second monitoring modular 160 is used for monitoring the 3rd signal that described entire car controller to be measured receives.
Second judge module 170 is used for judging whether described 3rd signal meets described preset rules.
After first node sends the first signal to entire car controller to be measured, can be right by the second monitoring modular 160 The signal that entire car controller to be measured receives is monitored, and the 3rd signal being monitored by the second judge module 170 judgement Whether meet described preset rules.
If the carrier message being forwarded signal stops sending, lead to be forwarded signal and can not send according to the cycle or not Can trigger according to the mode triggering in advance, the letter that full-vehicle control presence to be measured does not receive signal or receives in this case Number problem not being inconsistent with the signal that signal source sends.
For this reason, embodiments of the invention are monitored by the signal that full-vehicle control to be measured is received and judge, so that Carry out fault alarm when there is above-mentioned situation.
Fault alarm module 180 is used for, when described 3rd signal does not meet described preset rules, to carry out fault alarm.
It should be noted that the embodiment of the present invention does not limit to the concrete mode of fault alarm.For example, can basis The 3rd signal fault level different from the difference setting of preset rules, alarm sound, moment of torsion processing mode etc..Thus, can basis 3rd signal carries out corresponding warning with the situation that compares of preset rules.
The simulation testing device of the entire car controller of the embodiment of the present invention, by monitoring what entire car controller to be measured received 3rd signal, and judge whether the 3rd signal meets preset rules, to carry out fault alarm when not meeting preset rules, so that Tester is pointed out, lifts test accuracy and efficiency.
Corresponding with the embodiment of the emulation test method of above-mentioned entire car controller, the present invention also proposes a kind of full-vehicle control The emulation test system of device.
Fig. 6 is the emulation test system structural representation of the entire car controller according to one embodiment of the invention.
As shown in fig. 6, the emulation test system of the entire car controller of the embodiment of the present invention, including:Entire car controller imitative True test device 100 and entire car controller to be measured 200.
Wherein, the simulation testing device 100 of entire car controller can be the imitative of the entire car controller of any embodiment of the present invention True test device.
Entire car controller 200 to be measured is used for receiving the described of described first node transmission, and is forwarded to described Section Point.
The emulation test system of the entire car controller of the embodiment of the present invention, by, in preset test environment, controlling first First node in CAN sends the first signal according to preset rules to entire car controller to be measured, with by car load control to be measured Device processed is forwarded to the Section Point in the second CAN, and according to Section Point receive secondary signal whether meet this preset Rule come to determine entire car controller to be measured whether can correct forward signal, can be more fully right by the rule of default settings Entire car controller is tested to the forwarding of signal, and Test coverage degree is more comprehensive, abundant, it is possible to increase test accuracy, fall The risk of low real steering vectors, improves Consumer's Experience and user satisfaction.
Those skilled in the art, after considering specification and putting into practice invention disclosed herein, will readily occur to its of the present invention Its embodiment.The application is intended to any modification, purposes or the adaptations of the present invention, these modifications, purposes or Person's adaptations are followed the general principle of the present invention and are included the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
It is described above and precision architecture illustrated in the accompanying drawings it should be appreciated that the invention is not limited in, and And various modifications and changes can carried out without departing from the scope.The scope of the present invention only to be limited by appended claim.

Claims (11)

1. a kind of emulation test method of entire car controller is it is characterised in that comprise the following steps:
In the preset test environment of vehicle, first node is controlled to send the first letter according to preset rules to entire car controller to be measured Number, to be forwarded to Section Point by described entire car controller to be measured, wherein, described first node is located in the first CAN, Described Section Point is located in the second CAN;
Monitor the secondary signal that described Section Point receives, and judge whether described secondary signal meets described preset rules;
If it is determined that described secondary signal is consistent with described first signal.
2. the method for claim 1 is it is characterised in that also include:
According to multiple operational modes of vehicle, distinguish simulating vehicle running environment, and respectively as described preset test environment.
3. the method for claim 1 is it is characterised in that controlling first node according to preset rules to car load control to be measured After device processed sends the first signal, also include:
Monitor the 3rd signal that described entire car controller to be measured receives, and it is described default to judge whether described 3rd signal meets Rule;
If do not met, fault alarm will be carried out.
4. the method for claim 1 it is characterised in that described control first node according to preset rules to car load to be measured Controller sends the first signal, including one or more of:
Described first node is controlled to send described first signal according to predetermined period to described entire car controller to be measured;
Described first node is controlled to send described first signal according to default precision to described entire car controller to be measured;
Described first node is controlled to send described first signal according to default rule of enumerating to described entire car controller to be measured;
Described first node is controlled to send described first signal according to default extreme value rule to described entire car controller to be measured.
5. the method as described in any one of claim 2-4 is it is characterised in that described operational mode includes drive mode, trickle charge At least one of pattern, fast mold filling formula, remote mode.
6. a kind of simulation testing device of entire car controller is it is characterised in that include:
Control module, in the preset test environment of vehicle, controlling first node according to preset rules to car load control to be measured Device processed sends the first signal, and to be forwarded to Section Point by described entire car controller to be measured, wherein, described first node is located at In first CAN, described Section Point is located in the second CAN;
First monitoring modular, for monitoring the secondary signal that described Section Point receives;
First judge module, for judging whether described secondary signal meets described preset rules;
Determining module, for when judging that described secondary signal meets described preset rules, determine described secondary signal with described First signal is consistent.
7. device as claimed in claim 6 is it is characterised in that also include:
Analog module, for the multiple operational modes according to vehicle, simulating vehicle running environment respectively, and works as respectively as described Front test environment.
8. device as claimed in claim 6 is it is characterised in that also include:
Second monitoring modular, for monitoring the 3rd signal that described entire car controller to be measured receives;
Second judge module, for judging whether described 3rd signal meets described preset rules;
Fault alarm module, for when described 3rd signal does not meet described preset rules, carrying out fault alarm.
9. device as claimed in claim 6 it is characterised in that described control first node according to preset rules to car load to be measured Controller sends the first signal, including one or more of:
Described first node is controlled to send described first signal according to predetermined period to described entire car controller to be measured;
Described first node is controlled to send described first signal according to default precision to described entire car controller to be measured;
Described first node is controlled to send described first signal according to default rule of enumerating to described entire car controller to be measured;
Described first node is controlled to send described first signal according to default extreme value rule to described entire car controller to be measured.
10. the device as described in any one of claim 7-9 is it is characterised in that described operational mode includes drive mode, trickle charge At least one of pattern, fast mold filling formula, remote mode.
A kind of 11. emulation test systems of entire car controller are it is characterised in that include:
The simulation testing device of the entire car controller as described in any one of claim 6-10;And
Entire car controller to be measured, for receiving described in described first node transmission, and is forwarded to described Section Point.
CN201610804856.3A 2016-09-05 2016-09-05 The emulation test method of entire car controller, device and system Active CN106383511B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610804856.3A CN106383511B (en) 2016-09-05 2016-09-05 The emulation test method of entire car controller, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610804856.3A CN106383511B (en) 2016-09-05 2016-09-05 The emulation test method of entire car controller, device and system

Publications (2)

Publication Number Publication Date
CN106383511A true CN106383511A (en) 2017-02-08
CN106383511B CN106383511B (en) 2019-02-22

Family

ID=57938987

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610804856.3A Active CN106383511B (en) 2016-09-05 2016-09-05 The emulation test method of entire car controller, device and system

Country Status (1)

Country Link
CN (1) CN106383511B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109030994A (en) * 2018-06-29 2018-12-18 北京经纬恒润科技有限公司 A kind of test method and system
CN111682987A (en) * 2020-06-09 2020-09-18 联合汽车电子(重庆)有限公司 Real vehicle environment simulation and rapid test system based on OSEK NM
CN114756007A (en) * 2022-04-20 2022-07-15 中国第一汽车股份有限公司 Evaluation method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130124015A1 (en) * 2011-11-15 2013-05-16 Lester J. Pangilinan Multi core vehicle management system and method
JP2013166423A (en) * 2012-02-14 2013-08-29 Nippon Signal Co Ltd:The Non-power supply ground unit and vehicle controller
CN103873310A (en) * 2012-12-10 2014-06-18 北汽福田汽车股份有限公司 Gateway testing method and system for CAN network
CN104503424A (en) * 2014-11-24 2015-04-08 华晨汽车集团控股有限公司 New energy automobile overall controller and battery controller joint test system
CN105515911A (en) * 2015-12-21 2016-04-20 惠州市德赛西威汽车电子股份有限公司 Gateway automatic test system and method of CAN network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130124015A1 (en) * 2011-11-15 2013-05-16 Lester J. Pangilinan Multi core vehicle management system and method
JP2013166423A (en) * 2012-02-14 2013-08-29 Nippon Signal Co Ltd:The Non-power supply ground unit and vehicle controller
CN103873310A (en) * 2012-12-10 2014-06-18 北汽福田汽车股份有限公司 Gateway testing method and system for CAN network
CN104503424A (en) * 2014-11-24 2015-04-08 华晨汽车集团控股有限公司 New energy automobile overall controller and battery controller joint test system
CN105515911A (en) * 2015-12-21 2016-04-20 惠州市德赛西威汽车电子股份有限公司 Gateway automatic test system and method of CAN network

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109030994A (en) * 2018-06-29 2018-12-18 北京经纬恒润科技有限公司 A kind of test method and system
CN109030994B (en) * 2018-06-29 2021-01-29 北京经纬恒润科技股份有限公司 Test method and system
CN111682987A (en) * 2020-06-09 2020-09-18 联合汽车电子(重庆)有限公司 Real vehicle environment simulation and rapid test system based on OSEK NM
CN114756007A (en) * 2022-04-20 2022-07-15 中国第一汽车股份有限公司 Evaluation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN106383511B (en) 2019-02-22

Similar Documents

Publication Publication Date Title
CN109507981B (en) Vehicle testing method and device and machine-readable storage medium
US11275125B2 (en) Inspection device, inspection method, inspection program, management device, and power storage system
CN106383511B (en) The emulation test method of entire car controller, device and system
CN111624500B (en) Method for detecting vehicle generator and battery detector
CN106155042A (en) The method of testing of a kind of entire car controller troubleshooting and device
KR101743106B1 (en) Automatic test system and method
CN110456761B (en) Energy management device testing system and method and vehicle
KR20200071362A (en) Apparatus for evaluating performance of a battery management system and method for the same
CN104865948A (en) Automatic vehicle controller diagnosing device and method
CN109001576B (en) Vehicle collision simulation test method and device
US20160266213A1 (en) Apparatus for diagnosing fault of battery system and method for the same
CN108964807B (en) System and method for testing WiFi signal strength of vehicle navigation
CN110688732A (en) Simulation test platform and method for speed and distance measuring system
CN108255145B (en) Test system and method for vehicle transmission control unit
CN110488711B (en) Mixing station detecting system
CN110456763A (en) The test macro and method of intelligent driving controller
CN114062806B (en) Vehicle testing method and device
KR102617624B1 (en) Multi-channel verification apparatus for charger of electric vehicle and untact verification system therewith
CN111552584B (en) Testing system, method and device for satellite primary fault diagnosis isolation and recovery function
CN105365579A (en) Power system, safety measuring method and device thereof and electric vehicle
CN113968149A (en) Control method and device for vehicle charging indicator lamp
KR101795803B1 (en) Dynamo type battery test device and method
KR20140061040A (en) Bms test method using emulator
JP2011252805A (en) Vehicle evaluation system
CN110441675A (en) For built-in test method, system and the computer-readable medium of Circuit with tolerance

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant