[go: up one dir, main page]

CN112305938B - Control model open-loop simulation verification method, device, equipment and medium - Google Patents

Control model open-loop simulation verification method, device, equipment and medium Download PDF

Info

Publication number
CN112305938B
CN112305938B CN202011007708.1A CN202011007708A CN112305938B CN 112305938 B CN112305938 B CN 112305938B CN 202011007708 A CN202011007708 A CN 202011007708A CN 112305938 B CN112305938 B CN 112305938B
Authority
CN
China
Prior art keywords
sub
model
data
built
target
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.)
Active
Application number
CN202011007708.1A
Other languages
Chinese (zh)
Other versions
CN112305938A (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.)
Dongfeng Motor Corp
Original Assignee
Dongfeng Motor Corp
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 Dongfeng Motor Corp filed Critical Dongfeng Motor Corp
Priority to CN202011007708.1A priority Critical patent/CN112305938B/en
Publication of CN112305938A publication Critical patent/CN112305938A/en
Application granted granted Critical
Publication of CN112305938B publication Critical patent/CN112305938B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

本发明公开了一种控制模型开环仿真验证方法、装置、设备和介质,方法包括:根据待搭建控制模型的设计需求,确定构成待搭建控制模型的多个待搭建子模型;从多个待搭建子模型中选择一个待搭建子模型作为第一目标搭建子模型;向第一目标搭建子模型引入车辆测试输入数据,得到由第一目标搭建子模型根据车辆测试输入数据输出的待验证输出数据;判断待验证输出数据与车辆测试输出数据之间的差异是否小于第一预设阈值;当差异小于第一预设阈值时,从多个待搭建子模型中选择一个待搭建子模型作为第二目标搭建子模型。本申请采用边搭建边验证的方式保证控制模型中各个模块的逻辑合理性,以减少闭环联合仿真的调试压力和难度,可以缩短验证周期。

Figure 202011007708

The invention discloses a method, device, equipment and medium for open-loop simulation verification of a control model. The method includes: determining a plurality of sub-models to be built that constitute the control model to be built according to the design requirements of the control model to be built; Selecting a sub-model to be built as the first target building sub-model in building sub-models; introducing vehicle test input data into the first target building sub-model, and obtaining to-be-verified output data output by the first target building sub-model according to the vehicle test input data ; determine whether the difference between the output data to be verified and the vehicle test output data is less than the first preset threshold; when the difference is less than the first preset threshold, select a sub-model to be built from a plurality of sub-models to be built as the second The target builds the submodel. The present application adopts the method of building and verifying to ensure the logical rationality of each module in the control model, so as to reduce the debugging pressure and difficulty of closed-loop co-simulation, and can shorten the verification period.

Figure 202011007708

Description

Control model open-loop simulation verification method, device, equipment and medium
Technical Field
The invention relates to the technical field of automobile simulation, in particular to a method, a device, equipment and a medium for controlling model open-loop simulation verification.
Background
With the increasing severity of energy crisis and air pollution problems, the advantages that electric vehicles can reduce automobile exhaust pollution and petroleum resources are more and more prominent. The core components of the electric automobile comprise a motor, a battery and an electric controller. The electric control component is used as a whole vehicle control component of the electric vehicle and needs to participate in all actions of the electric vehicle in the running process, so that the performance of the electric control component is particularly important in the electric vehicle.
In the related art, a control model building engineer generally completes building of a control model of an electric control component based on a Simulink platform. Simulink is a modular diagram environment for multi-domain simulation and model-based design. It supports system design, simulation, automatic code generation, and continuous testing and verification of embedded systems. Simulink provides a graphical editor, a customizable library of modules, and a solver, enabling dynamic system modeling and simulation.
However, in the related art, a control model building engineer can only use a constant module, a curve module, and the like in Simulink as basic inputs of the control model to simply verify the control model. However, the verification method provided in the related art can only verify whether each module in the control model can output data when data is input, and whether the output data obtained according to the input data is correct or not cannot be verified in the control model of the related art. That is, the related art cannot verify whether the logic of the control algorithm in the built control model is wrong, that is, cannot verify the rationality of the control algorithm of each module in the control model. In the related art, as the rationality of a control algorithm in a control model cannot be verified in a simulation stage of the control model, the correctness of the control model and the debugging pressure and difficulty of the rationality of the control algorithm in closed-loop joint simulation can be increased when the closed-loop joint simulation is performed through a complete vehicle parameterized model in the later stage.
Disclosure of Invention
The embodiment of the application provides a control model open-loop simulation verification method, device, equipment and medium, solves the technical problem that the rationality of the control algorithm of each module in the control model cannot be verified in the prior art, and achieves the technical effect of verifying the rationality of the control algorithm of each module in the control model.
In a first aspect, the present application provides a method for controlling model open-loop simulation verification, where the method includes:
determining a plurality of submodels to be built for forming the control model to be built according to the design requirements of the control model to be built;
selecting one submodel to be built from a plurality of submodels to be built as a first target building submodel, and completing building operation on the first target building submodel;
introducing vehicle test input data into the first target building sub-model to obtain output data to be verified, which is output by the first target building sub-model according to the vehicle test input data;
judging whether the difference between the output data to be verified and the vehicle test output data is smaller than a first preset threshold value or not; wherein the vehicle test output data corresponds to the vehicle test input data;
when the difference between the output data to be verified and the vehicle test output data is smaller than a first preset threshold value, selecting one submodel to be built from a plurality of submodels to be built as a second target building submodel, and completing building operation on the second target building submodel; wherein the first target construction submodel is different from the second target construction submodel.
Further, the method further comprises:
when the difference between the output data to be verified and the vehicle test output data is not smaller than a first preset threshold value, executing the building operation on the first target building sub-model again to obtain a first updated target building sub-model;
introducing vehicle test input data into the first updated target building sub-model to obtain updated output data to be verified, which is output by the first updated target building sub-model according to the vehicle test input data;
judging whether the difference between the updated output data to be verified and the vehicle test output data is smaller than a first preset threshold value or not;
when the difference between the updated output data to be verified and the vehicle test output data is smaller than a first preset threshold value, selecting one submodel to be built from a plurality of submodels to be built as a third target building submodel, and completing building operation on the third target building submodel; wherein the first target construction submodel is different from the third target construction submodel.
Further, the vehicle test input data and the vehicle test output data are obtained by:
receiving actual driving data of a qualified vehicle running on a target working condition road section;
selecting actual driving data to be processed related to the first target building sub-model from the actual driving data;
extracting effective sections of actual driving data to be processed to obtain effective test data;
and filtering the effective test data to obtain vehicle test input data and vehicle test output data.
Further, the filtering process is performed on the valid test data, and specifically includes:
sampling the effective test data to obtain a plurality of sampling data;
sequencing according to the time sequence of the plurality of sampling data in the effective test data to form an ordered data set;
selecting one sampling data from the ordered data set as a target sampling data;
judging whether the change speed of the sampling data before the target sampling data in the ordered data set exceeds a second preset threshold value or not;
when the change speed exceeds a second preset threshold, the weight of the target sampling data is increased, and a filtering output value of the target sampling data is obtained;
when the change speed does not exceed a second preset threshold value, taking the filtering output value of the last sampling data of the target sampling data in the ordered data set as the filtering output value of the target sampling data;
when the change speed is 0, the target sample data is directly used as a filter output value of the target sample data.
Further, introducing vehicle test input data into the first target building sub-model specifically comprises:
converting vehicle test input data into a preset file with a preset format;
and introducing a preset file into the first target building sub-model.
In a second aspect, the present application provides a control model open-loop simulation verification apparatus, comprising:
the first determining module is used for determining a plurality of submodels to be built for forming the control model to be built according to the design requirements of the control model to be built;
the first selection module is used for selecting one submodel to be built from a plurality of submodels to be built as a first target building submodel and completing building operation on the first target building submodel;
the first input module is used for introducing vehicle test input data into the first target building sub-model to obtain output data to be verified, which is output by the first target building sub-model according to the vehicle test input data;
the first judgment module is used for judging whether the difference between the output data to be verified and the vehicle test output data is smaller than a first preset threshold value or not; wherein the vehicle test output data corresponds to the vehicle test input data;
the second selection module is used for selecting one sub-model to be built from the plurality of sub-models to be built as a second target building sub-model when the difference between the output data to be verified and the vehicle test output data is smaller than a first preset threshold value, and completing building operation on the second target building sub-model; wherein the first target construction submodel is different from the second target construction submodel.
Further, the apparatus further comprises:
the first building module is used for re-executing building operation on the first target building sub-model when the difference between the output data to be verified and the vehicle test output data is not smaller than a first preset threshold value so as to obtain a first updated target building sub-model;
the second input module is used for introducing vehicle test input data into the first update target building sub-model to obtain to-be-verified update output data output by the first update target building sub-model according to the vehicle test input data;
the second judgment module is used for judging whether the difference between the updated output data to be verified and the vehicle test output data is smaller than a first preset threshold value or not;
the third selection module is used for selecting one sub-model to be built from the plurality of sub-models to be built as a third target building sub-model when the difference between the updated output data to be verified and the vehicle test output data is smaller than a first preset threshold value, and completing building operation on the third target building sub-model; wherein the first target construction submodel is different from the third target construction submodel.
Further, the first input module includes:
the receiving submodule is used for receiving actual driving data of the qualified vehicle running on the target working condition road section;
the first selection submodule is used for selecting actual driving data to be processed related to the first target building submodel from the actual driving data;
the effective segment extraction submodule is used for extracting an effective segment of actual driving data to be processed to obtain effective test data;
and the filtering processing submodule is used for filtering the effective test data to obtain vehicle test input data and vehicle test output data.
In a third aspect, the present application provides an electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute to implement a control model open loop simulation verification method.
In a fourth aspect, the present application provides a non-transitory computer readable storage medium having instructions that, when executed by a processor of an electronic device, enable the electronic device to perform a control model open loop simulation verification method.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
1. this application is at the in-process of setting up the control model, adopts the mode of setting up the limit and verifying to guarantee the logic rationality of each module in the control model to reduce the closed loop joint simulation's in later stage control model's the exactness and the debugging pressure and the degree of difficulty of control algorithm rationality, can shorten verification period.
2. The control model that this application was built and is verified based on real vehicle test data, can guarantee the degree of accuracy of logic rationality, consequently, can be repeatedly applied to the whole car control strategy development of all motorcycle types, need not to build the control model again according to the design demand of new car again, can shorten verification cycle and research and development cycle.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
FIG. 1 is a flow chart of a control model open-loop simulation verification method provided herein;
FIG. 2 is a schematic structural diagram of a control model to be built according to the present application;
fig. 3 is a schematic structural diagram of a control model open-loop simulation verification apparatus provided in the present application;
fig. 4 is a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
The embodiment of the application provides a control model open-loop simulation verification method, and solves the technical problem that the rationality of a control algorithm of each module in a control model cannot be verified in the prior art.
In order to solve the technical problems, the general idea of the embodiment of the application is as follows:
a method for controlling an open loop simulation verification of a model comprises the following steps: determining a plurality of submodels to be built for forming the control model to be built according to the design requirements of the control model to be built; selecting one submodel to be built from a plurality of submodels to be built as a first target building submodel, and completing building operation on the first target building submodel; introducing vehicle test input data into the first target building sub-model to obtain output data to be verified, which is output by the first target building sub-model according to the vehicle test input data; judging whether the difference between the output data to be verified and the vehicle test output data is smaller than a first preset threshold value or not; wherein the vehicle test output data corresponds to the vehicle test input data; when the difference between the output data to be verified and the vehicle test output data is smaller than a first preset threshold value, selecting one submodel to be built from a plurality of submodels to be built as a second target building submodel, and completing building operation on the second target building submodel; wherein the first target construction submodel is different from the second target construction submodel.
This application is at the in-process of setting up the control model, adopts the mode of setting up the limit and verifying to guarantee the logic rationality of each module in the control model to reduce the closed loop joint simulation's in later stage control model's the exactness and the debugging pressure and the degree of difficulty of control algorithm rationality, can shorten verification period.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
First, it is stated that the term "and/or" appearing herein is merely one type of associative relationship that describes an associated object, meaning that three types of relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The application provides a control model open-loop simulation verification method as shown in fig. 1, which comprises the following steps:
step S11, determining a plurality of submodels to be built for forming the control model to be built according to the design requirements of the control model to be built.
The control model to be built related to the step S11 mainly refers to a control model to be obtained by simulating according to the design requirements of the vehicle control unit of the electric vehicle. The application platform of this application is mainly based on Simulink, and when the application platform was Simulink, the control model that waits to be built promptly is the Simulink control model that waits to be built.
The design requirement of the control model to be built is determined based on the control logic of the whole electric vehicle, and the control logic of the whole electric vehicle can comprise power on and off of the whole vehicle, analysis of driving intention, torque vector control, drive anti-skidding and brake energy recovery, and the coordination work of components or control modules such as an ABS (anti-lock brake system), an ESP (electronic stability system), an EHB (electronic hydraulic brake system), an EPB (electronic parking brake system) and the like.
According to the control logic of the whole electric vehicle, the control model to be built can be decomposed into a plurality of submodels to be built, the submodels to be built can be the minimum functional units forming the control model to be built, and the minimum functional units refer to virtual modules corresponding to the tail-end execution units capable of executing a certain control signal of the electric vehicle. For example, the pedal generates a brake signal, the brake signal is used for changing the rotating speed of a hub motor of the electric vehicle, then the last execution unit of the brake signal is the hub motor, a module is required to be built for the hub motor according to various parameters of the hub motor, and the module is the minimum function unit of the control model to be built.
The submodel to be built can also be a small-scale functional unit integrated by a plurality of minimum functional units, and can also be a medium-scale functional unit integrated by a plurality of small-scale functional units.
Therefore, when the control model to be built is decomposed into a plurality of submodels to be built, the scale of the submodels to be built can be determined according to specific conditions. When the requirement on the accuracy of the control model to be built is high, the control model to be built can be decomposed into a plurality of submodels to be built with small scales; when the accuracy requirement of the control model to be built is low, the control model to be built can be decomposed into a plurality of large-scale submodels to be built.
For a better illustration of the present application, an example is provided in connection with fig. 2:
as shown in fig. 2, the structure of the control model to be built is obtained according to the design requirement of the electric vehicle. The "driving intent recognition" receives the accelerator pedal, brake pedal and gear information, and then sends the desired braking torque to the "RBS braking energy recovery strategy", while also sending the desired driving torque to the "RBS driving force vector allocation strategy". The RBS braking energy recovery strategy outputs actual braking torque requirements of 4 wheels according to expected braking torque and sends the actual braking torque requirements to the CA control distributor, and the CA control distributor performs preliminary torque distribution according to the braking torque requirements of the 4 wheels and differential torque compensation torque of the 4 wheels. The RBS driving force vector distribution strategy takes the analysis requirement of the driving intention of the driver and the steady state area of the vehicle as input, and then the difference torque compensation moment in the running process of the vehicle can be calculated.
The 'vehicle speed estimator' carries out real-time vehicle speed estimation required in the control algorithm; the friction coefficient estimator estimates the real-time friction coefficient of the road surface; the online tire model and the friction coefficient estimator jointly complete accurate estimation of the road surface friction coefficient; the vehicle stability region identification can identify the vehicle running steady-state region through a vehicle speed estimator, a friction coefficient estimator and an online tire model. The 'coordination control strategy' considers external products RBS, ABS, DYC, ESC and the like, and then carries out corresponding coordination control mechanisms.
The individual parameters in fig. 2 have the following meanings:
αdrv: accelerator pedal opening; alpha is alphabrk: brake pedal opening; i isshift: a gear position; deltaSW: steering wheel turning; t is* brk_tot: a desired braking torque; t is* drv_tot: a desired drive torque; Δ MZ: differential torque compensation moment;
T* brk(1),T* brk(2),T* brk(3),T* brk(4): desired four-wheel output brake torque;
T* mot(1),T* mot(2),T* mot(3),T* mot(4): desired four-wheel output drive torque;
Treq mot(1),Treq mot(2),Treq mot(3),Treq mot(4): actual four wheel drive torque demand;
K*: a steady state factor; s: sliding mode coefficients of two parameters of the inherent frequency and the centroid slip angle; omega* n: the natural original frequency; zeta*: expected periodic point periodic state data; ζ: a damping coefficient; omega* r: a desired natural frequency; omegar: an actual natural frequency; beta: actual centroid slip angle; beta is a*: the desired centroid slip angle; λ: centroid slip angle weight;
Figure BDA0002696534360000091
the centroid slip angle first derivative;
Figure BDA0002696534360000092
the X-direction speed of the whole vehicle;
Figure BDA0002696534360000093
the Y-direction speed of the whole vehicle;
Figure BDA0002696534360000094
coefficient of friction of the road surface;
Figure BDA0002696534360000095
the ith wheel center X-direction tire force;
Figure BDA0002696534360000096
the ith wheel center Y tire force.
The driving intention recognition, the RBS braking energy recovery strategy, the CA control distributor, the vehicle speed estimator, the friction coefficient estimator, the vehicle stability domain recognition, the online tire model, the coordinated control strategy and the like in fig. 2 can be used as the sub-models to be built of the control model to be built. Further, when the requirement on the accuracy of the control model to be built is high, each submodel to be built in fig. 2 may be further subdivided, for example, "driving intention recognition" may be divided into smaller submodels to be built, such as "driving", "braking", and the like.
And step S12, selecting one sub-model to be built from the plurality of sub-models to be built as a first target building sub-model, and completing building operation on the first target building sub-model.
After the control model to be built is decomposed into a plurality of submodels to be built, the levels of the submodels to be built can be classified according to the relation among the submodels to be built. For example, there are five submodels to be built, which are a module a, a module B, a module C, a module D, and a module E, respectively, where an output signal of the module a is an input signal of the module B; the output signal of the module B is the input signal of the module C; the input signal and the output signal of the module D and the module E are irrelevant to the module A, the module B and the module C.
Therefore, the module a, the module B and the module C can be classified, the module a is positioned at a first level (the first level is a module requiring the most advanced model building), the module B is positioned at a second level (the second level is a module requiring the building of the module related thereto in the first level), and the module C is positioned at a third level (the third level is a module requiring the building of the module related thereto in the second level). Since module D and module E are relatively independent, any level can be located.
Returning to the step S12, selecting one to-be-built sub-model from the multiple to-be-built sub-models as a first target building sub-model, where the first target building sub-model may be selected after grading the to-be-built sub-models according to the above-mentioned manner; or may be selected at will. After determining the first target construction submodel, the construction of the first target construction submodel is completed in Simulink.
For a better illustration of the present application, an example is provided in connection with fig. 2:
according to the flow direction of the signals in fig. 2, the relationship among the driving intention recognition, the RBS braking energy recovery strategy and the CA control distributor can be determined, the levels among the driving intention recognition, the RBS braking energy recovery strategy and the CA control distributor can be further determined, the driving intention recognition can be used as a first target construction sub-model, and the construction operation can be completed. After the model building of the first target building sub-model is completed and the control logic of the first target building sub-model is correct, the "RBS braking energy recovery strategy" may be used as a second target building sub-model.
Step S13, vehicle test input data are introduced into the first target building sub-model, and output data to be verified, which are output by the first target building sub-model according to the vehicle test input data, are obtained.
After the first target building sub-model is completed, the logic reasonableness of the first target building sub-model is judged.
According to the method and the device, the vehicle test input data are introduced into the first target building sub-model, so that the first target building sub-model outputs the corresponding output data to be verified according to the vehicle test input data.
Introducing vehicle test input data into the first target building sub-model, specifically comprising:
converting vehicle test input data into a preset file with a preset format; the preset format is a format suitable for a platform for building the first target building sub-model. For example, when the platform building the first target building sub-model is Simulink, the preset file of the preset format refers to an.m file.
And introducing a preset file into the first target building sub-model. After the vehicle test input data are converted into the preset files, when the logic rationality of the first target building sub-model needs to be verified, the preset files are imported into the first target building sub-model.
For example, vehicle test input data is written into an m file of MATLAB, the vehicle test input data is read into a working space (works space) of a first target building sub-model in different variable forms, and then variables are called into the first target building sub-model, so that data input of the first target building sub-model is realized.
More specifically, the following steps may be included:
step 1, establishing a m file;
and quantizing the vehicle test input data, and importing the vehicle test input data into a working space of Matlab through the m file.
Step 2, defining a file path and a finding mode:
and setting the path and the opening mode of the m file of the vehicle test input data.
Step 3, defining variables;
defining different variables according to vehicle test input data;
and 4, variable assignment:
assigning corresponding specific numerical values in the vehicle test input data to different variables;
step 5, variable import:
importing the vehicle test input data into a working space of Matlab through the m file;
step 6, control model quote:
and introducing variables in the working space into the first target building model through a workspace from module to serve as input data of the first target building model.
For a better illustration of the present application, an example is provided in connection with fig. 2:
with the "driving intention recognition" in fig. 2 as a first target construction sub-model, vehicle test input data (e.g., one or more of accelerator pedal opening, brake pedal opening, and gear position) is introduced into the "driving intention recognition", resulting in output data to be verified (e.g., one or more of desired brake torque to be verified and desired drive torque to be verified) output by the "driving intention recognition".
Step S14, judging whether the difference between the output data to be verified and the vehicle test output data is smaller than a first preset threshold value; wherein the vehicle test output data corresponds to the vehicle test input data.
The vehicle test input data and the vehicle test output data are obtained after passing a qualified vehicle test, that is, the vehicle test input data are introduced into the first target building sub-model, if the data output by the first target building sub-model is greatly different from the vehicle test output data, it is indicated that the first target building sub-model is problematic, otherwise, it is indicated that the first target building sub-model is not problematic.
For a better illustration of the present application, an example is provided in connection with fig. 2:
the method comprises the steps of judging the relation between the expected braking torque to be verified and the expected driving torque to be verified and the corresponding expected braking torque preset threshold value and the corresponding expected driving torque preset threshold value, determining whether the expected braking torque to be verified is smaller than the corresponding expected braking torque preset threshold value, and determining whether the expected driving torque to be verified is smaller than the corresponding expected driving torque preset threshold value.
The vehicle test input data and the vehicle test output data referred to in step S14 are obtained by the following method:
and step S141, receiving actual driving data of the qualified vehicle running on the target working condition road section.
When the qualified vehicle runs on the target working condition road section, test data which can be processed by the first target building sub-model can be obtained. That is, the target condition road section is a road section where test data relating to the first target construction sub-model can be obtained.
And all the actual driving data of the vehicle running on the target working condition road section are collected. On one hand, test data required by the first target building sub-model can be obtained, on the other hand, test data required by other sub-models to be built can be obtained simultaneously, and times and time for testing through qualified vehicles can be effectively reduced.
The target condition may be an angular pulse, a double shift line, a snake, a steady rotation, a U _ turn, a J _ turn, an amplification trapezoid, etc.
And step S142, selecting the actual driving data to be processed related to the first target building sub-model from the actual driving data.
The actual driving data obtained in step S141 is all the original data of the vehicle when the vehicle runs on the target operating condition road section, and includes the actual driving data to be processed related to the first target construction sub-model. Upon verifying the logical reasonableness of the first target construction submodel, step S142 acquires only data related to the first target construction submodel.
And S143, extracting effective sections of the actual driving data to be processed to obtain effective test data.
When the vehicle actually runs on the target working condition road section, the to-be-processed actual driving data acquired in step S142 includes data of several seconds before the vehicle enters the target working condition and data of several seconds after the vehicle leaves the target working condition, because data integrity of the vehicle running on the target working condition road section needs to be ensured. And when the logic rationality of the first target building sub-model is verified, data of a vehicle in a few seconds before entering the target working condition and data of a vehicle in a few seconds after leaving the target working condition are required to be removed, and only the data in the target working condition are effective test data.
And step S144, filtering the effective test data to obtain vehicle test input data and vehicle test output data.
The effective test data comprises vehicle test input data and vehicle test output data, and the vehicle test input data and the vehicle test output data correspond to each other.
Effective test data are data directly collected from the vehicle, and due to the influence of surrounding environments such as collection equipment, burrs often exist in the effective test data, and the existence of the burrs can reduce the accuracy of verifying the logic rationality of the first target building sub-model, so that the effective test data need to be filtered.
The dynamic filtering is adopted for the effective test data in the application, and the filtering processing is carried out on the effective test data, and specifically includes the following steps, and for better explaining the filtering principle adopted in the application, the following steps are explained in combination with the formula (1).
y(n)=a*x(n)+(1-a)*y(n-1) (1)
Wherein a is a filter coefficient; x (n) is target sampling data; y (n-1) is a filtering output value obtained according to sampling data before the target sampling data; and y (n) is a filtering output value corresponding to the target sampling data.
Step S1441, sampling the valid test data to obtain a plurality of sampled data.
The sampling data can be randomly selected or determined according to the same step size. The number of the sampling data can be set according to specific situations. When the quality requirement on effective test data is high, the number of the collected data can be relatively large; when the quality requirement on the effective test data is not high, the number of the sampling data can be relatively less.
Step S1442, sequencing the sampling data according to the time sequence of the sampling data in the effective test data to form an ordered data set.
And sequencing the plurality of sampling data according to the time sequence in the effective test data so as to facilitate the subsequent processing of the effective test data.
In step S1443, one sample data is selected from the ordered data set as a target sample data.
And according to the sequence of the sampling data in the ordered data set, sequentially taking each sampling data in the ordered data set as target sampling data respectively, and executing the step S1444 to the step S1447 respectively to finish the filtering operation of the effective test data.
In step S1444, it is determined whether the change speed of the sample data before the target sample data in the ordered data set exceeds a second preset threshold.
With respect to the target sampling data x (n) determined in step S1443, it is determined whether the change speed of the sampling data before the target sampling data x (n) exceeds a second preset threshold.
And step S1445, when the change speed exceeds a second preset threshold, increasing the weight of the target sampling data to obtain a filtering output value of the target sampling data.
When the change speed exceeds the second preset threshold, the stability of the sampling data before the target sampling data is not high, the influence of the external is large, and the sensitivity of filtering needs to be improved, so that the weight of the target sampling data needs to be improved, namely, the filter coefficient a needs to be improved, when a is higher, the (1-a) is smaller, and the weight of the target sampling data is improved and the weight of the filter output value corresponding to the sampling data before the target sampling data is reduced by combining the formula (1).
In step S1446, when the variation speed does not exceed the second preset threshold, the filter output value of the last sample data of the target sample data in the ordered data set is used as the filter output value of the target sample data.
When the change speed does not exceed the second preset threshold, the sampling data before the target sampling data tends to be stable and is less influenced by the outside, the weight of the target sampling data can be reduced to 0, that is, the filter coefficient a is set to 0, and then the target sampling data can be ignored, and the filter output value determined by the sampling data before the target sampling data is directly used as the filter output value of the target sampling data.
In step S1447, when the change speed is 0, the target sample data is directly used as the filter output value of the target sample data.
When the change speed is 0, it means that the sample data before the target sample data is already stable, and it can be shown that the sample data after the target sample data is also stable, so that the target sample data itself is hardly affected by the external environment, and the target sample data itself can be directly used as the filter output value of the target sample data.
According to the method and the device, effective test data collected from the vehicle can be effectively optimized through dynamic filtering, and the accuracy and the verification precision can be effectively improved when the logic rationality of the first target building sub-model is verified.
Returning to the step S14, when the difference between the output data to be verified and the vehicle test output data is less than the first preset threshold, executing a step S15; when the difference between the output data to be verified and the vehicle test output data is not less than the first preset threshold, step S16 is performed.
Step S15, when the difference between the output data to be verified and the vehicle test output data is smaller than a first preset threshold value, selecting one sub-model to be built from a plurality of sub-models to be built as a second target building sub-model, and completing building operation on the second target building sub-model; wherein the first target construction submodel is different from the second target construction submodel.
When the difference between the output data to be verified and the vehicle test output data is smaller than a first preset threshold value, the first target building submodel which is built can correctly process the vehicle test input data to obtain the output data to be verified, which is not much different from the vehicle test output data, namely the logic of the first target building submodel which is built is correct and has logic rationality.
After the first target building sub-model is verified to have logic rationality, one sub-model to be built is selected from a plurality of sub-models to be built except the first target building sub-model to serve as a second target building sub-model.
For a better illustration of the present application, an example is provided in connection with fig. 2: and when the expected braking torque to be verified is smaller than the corresponding expected braking torque preset threshold value and the expected driving torque to be verified is determined to be smaller than the corresponding expected driving torque preset threshold value, the driving intention identification logic is considered to be correct and logic rationality is achieved. Otherwise, if the logic of the driving intention recognition is wrong and the logic is not reasonable, the driving intention recognition needs to be reconstructed, or the driving intention recognition needs to be adjusted until the difference between the output data to be verified input to the driving intention recognition and the output vehicle test output data is smaller than a first preset threshold value.
Aiming at the built second target building sub-model, the following steps are executed:
step S151, introducing second vehicle test input data into a second target building sub-model to obtain second to-be-verified output data output by the second target building sub-model according to the second vehicle test input data;
step S151 is similar to step S13 and will not be described here. Wherein, different target building submodels correspond to different vehicle test input data.
Step S152, judging whether the difference between the second output data to be verified and the second vehicle test output data is smaller than a third preset threshold value; wherein the second vehicle test output data corresponds to the second vehicle test input data;
step S152 is similar to step S14 and will not be described herein.
Step S153, when the difference between the second to-be-verified output data and the second vehicle test output data is smaller than a third preset threshold value, selecting one to-be-built sub-model from a plurality of to-be-built sub-models as a fourth target building sub-model, and completing building operation on the fourth target building sub-model; wherein the second target construction submodel is different from the fourth target construction submodel.
Step S153 is similar to step S15 and will not be described herein.
And step S16, when the difference between the output data to be verified and the vehicle test output data is not less than a first preset threshold value, re-executing the building operation on the first target building sub-model to obtain a first updated target building sub-model.
When the difference between the output data to be verified and the vehicle test output data is not smaller than a first preset threshold value, the situation that the built first target building sub-model cannot correctly process vehicle test input data is shown, namely the logic of the first target building sub-model has a problem, and the sub-model needs to be built again to obtain a new first target building sub-model, namely a first updated target building sub-model.
Step S17, vehicle test input data are introduced into the first update target building sub-model, and updated output data to be verified, which are output by the first update target building sub-model according to the vehicle test input data, are obtained.
Step S17 is similar to step S13 and will not be described here.
Step S18, judging whether the difference between the updated output data to be verified and the vehicle test output data is smaller than a first preset threshold value;
step S18 is similar to step S14 and will not be described here.
Step S19, when the difference between the updated output data to be verified and the vehicle test output data is smaller than a first preset threshold value, selecting one sub-model to be built from a plurality of sub-models to be built as a third target building sub-model, and completing building operation on the third target building sub-model; wherein the first target construction submodel is different from the third target construction submodel.
Step S19 is similar to step S15 and will not be described here.
To sum up, this application is treating the in-process that builds of building the control model, every pair one is waited to build the submodel and is accomplished to build, just carries out logic rationality to it and verifies to judge whether there is the mistake in the submodel of waiting to build of accomplishing the building. When the built submodel to be built has errors, the submodel to be built is executed again to ensure the logic rationality of each submodel to be built after the building is completed, and further ensure the logic rationality of the control model.
That is to say, this application is at the in-process of setting up the control model, and the logical rationality of each module in the control model is guaranteed to the mode of adopting the limit to set up the limit and verifying to reduce the closed loop joint simulation's in later stage control model's the exactness and the debugging pressure and the degree of difficulty of control algorithm rationality, can shorten verification period. In addition, the control model built by the method is built and verified based on real vehicle test data, and the accuracy of logic rationality can be guaranteed, so that the method can be repeatedly applied to the development of the whole vehicle control strategy of all vehicle types, the control model is not required to be re-built according to the design requirement of a new vehicle, and the verification period and the research and development period can be shortened.
Based on the same inventive concept, the present application provides a control model open-loop simulation verification apparatus as shown in fig. 3, the apparatus comprising:
the first determining module 31 is used for determining a plurality of submodels to be built for forming the control model to be built according to the design requirements of the control model to be built;
the first selection module 32 is used for selecting one sub-model to be built from a plurality of sub-models to be built as a first target building sub-model and completing building operation on the first target building sub-model;
the first input module 33 is used for introducing vehicle test input data into the first target building sub-model to obtain output data to be verified, which is output by the first target building sub-model according to the vehicle test input data;
the first judging module 34 is configured to judge whether a difference between the output data to be verified and the vehicle test output data is smaller than a first preset threshold; wherein the vehicle test output data corresponds to the vehicle test input data;
the second selection module 35 is configured to, when the difference between the output data to be verified and the vehicle test output data is smaller than a first preset threshold, select one to-be-built sub-model from the multiple to-be-built sub-models as a second target building sub-model, and complete building operation on the second target building sub-model; wherein the first target construction submodel is different from the second target construction submodel.
Further, the apparatus further comprises:
the first building module is used for re-executing building operation on the first target building sub-model when the difference between the output data to be verified and the vehicle test output data is not smaller than a first preset threshold value so as to obtain a first updated target building sub-model;
the second input module is used for introducing vehicle test input data into the first update target building sub-model to obtain to-be-verified update output data output by the first update target building sub-model according to the vehicle test input data;
the second judgment module is used for judging whether the difference between the updated output data to be verified and the vehicle test output data is smaller than a first preset threshold value or not;
the third selection module is used for selecting one sub-model to be built from the plurality of sub-models to be built as a third target building sub-model when the difference between the updated output data to be verified and the vehicle test output data is smaller than a first preset threshold value, and completing building operation on the third target building sub-model; wherein the first target construction submodel is different from the third target construction submodel.
Further, the first input module 33 includes:
the receiving submodule is used for receiving actual driving data of the qualified vehicle running on the target working condition road section;
the first selection submodule is used for selecting actual driving data to be processed related to the first target building submodel from the actual driving data;
the effective segment extraction submodule is used for extracting an effective segment of actual driving data to be processed to obtain effective test data;
and the filtering processing submodule is used for filtering the effective test data to obtain vehicle test input data and vehicle test output data.
Further, the filtering processing sub-module includes:
the sampling submodule is used for sampling the effective test data to obtain a plurality of sampling data;
the sequencing submodule is used for sequencing the sampling data according to the time sequence of the sampling data in the effective test data to form an ordered data set;
a second selection submodule for selecting one sample data from the ordered data set as a target sample data;
the judgment submodule is used for judging whether the change speed of the sampling data before the target sampling data in the ordered data set exceeds a second preset threshold value or not;
the first output submodule is used for increasing the weight of the target sampling data when the change speed exceeds a second preset threshold value to obtain a filtering output value of the target sampling data;
the second output submodule is used for taking the filtering output value of the last sampling data of the target sampling data in the ordered data set as the filtering output value of the target sampling data when the change speed does not exceed a second preset threshold;
and the third output submodule is used for directly taking the target sampling data as a filtering output value of the target sampling data when the change speed is 0.
Further, the first input module 33 further includes:
the conversion submodule is used for converting the vehicle test input data into a preset file with a preset format;
and the import submodule is used for importing a preset file into the first target building submodel.
Based on the same inventive concept, the present application provides an electronic device as shown in fig. 4, including:
a processor 41;
a memory 42 for storing instructions executable by the processor 41;
wherein the processor 41 is configured to execute to implement a control model open loop simulation verification method.
Based on the same inventive concept, the present application provides a non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor 41 of an electronic device, enable the electronic device to perform a method for implementing an open-loop simulation verification of a control model.
Since the electronic device described in this embodiment is an electronic device used for implementing the method for processing information in this embodiment, a person skilled in the art can understand the specific implementation manner of the electronic device of this embodiment and various variations thereof based on the method for processing information described in this embodiment, and therefore, how to implement the method in this embodiment by the electronic device is not described in detail here. Electronic devices used by those skilled in the art to implement the method for processing information in the embodiments of the present application are all within the scope of the present application.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1.一种控制模型开环仿真验证方法,其特征在于,所述方法包括:1. a control model open-loop simulation verification method, is characterized in that, described method comprises: 根据待搭建控制模型的设计需求,确定构成所述待搭建控制模型的多个待搭建子模型;According to the design requirements of the to-be-built control model, determine a plurality of to-be-built sub-models that constitute the to-be-built control model; 从多个所述待搭建子模型中选择一个所述待搭建子模型作为第一目标搭建子模型,并对所述第一目标搭建子模型完成搭建操作;Select one of the to-be-built sub-models from a plurality of the to-be-built sub-models as the first target building sub-model, and complete the building operation for the first target building sub-model; 向所述第一目标搭建子模型引入车辆测试输入数据,得到由所述第一目标搭建子模型根据所述车辆测试输入数据输出的待验证输出数据;Introducing vehicle test input data into the first target building sub-model to obtain output data to be verified output by the first target building sub-model according to the vehicle test input data; 判断所述待验证输出数据与车辆测试输出数据之间的差异是否小于第一预设阈值;其中,所述车辆测试输出数据与所述车辆测试输入数据对应;judging whether the difference between the output data to be verified and the vehicle test output data is less than a first preset threshold; wherein the vehicle test output data corresponds to the vehicle test input data; 当所述待验证输出数据与所述车辆测试输出数据之间的差异小于所述第一预设阈值时,从多个所述待搭建子模型中选择一个所述待搭建子模型作为第二目标搭建子模型,对所述第二目标搭建子模型完成搭建操作;其中,所述第一目标搭建子模型与所述第二目标搭建子模型不相同;When the difference between the to-be-verified output data and the vehicle test output data is less than the first preset threshold, select one of the to-be-built sub-models as the second target Building a sub-model, and completing the building operation for the second target building sub-model; wherein the first target building sub-model is different from the second target building sub-model; 所述从多个所述待搭建子模型中选择一个所述待搭建子模型作为第一目标搭建子模型,并对所述第一目标搭建子模型完成搭建操作,包括:The selecting one of the sub-models to be built from the plurality of sub-models to be built is used as the first target building sub-model, and completing the building operation for the first target building sub-model, including: 根据多个所述待搭建子模型之间的关系,对多个所述待搭建子模型进行级别划分;According to the relationship between the plurality of sub-models to be built, level division is performed on the plurality of sub-models to be built; 当所述待验证输出数据与所述车辆测试输出数据之间的差异不小于所述第一预设阈值时,重新对所述第一目标搭建子模型执行搭建操作,以得到第一更新目标搭建子模型;When the difference between the to-be-verified output data and the vehicle test output data is not less than the first preset threshold, re-execute the building operation on the first target building sub-model to obtain the first updated target building submodel; 向所述第一更新目标搭建子模型引入所述车辆测试输入数据,得到由所述第一更新目标搭建子模型根据所述车辆测试输入数据输出的待验证更新输出数据;Introducing the vehicle test input data into the first update target construction sub-model, to obtain the to-be-verified update output data output by the first update target construction sub-model according to the vehicle test input data; 判断所述待验证更新输出数据与所述车辆测试输出数据之间的差异是否小于所述第一预设阈值;judging whether the difference between the updated output data to be verified and the vehicle test output data is less than the first preset threshold; 当所述待验证更新输出数据与所述车辆测试输出数据之间的差异小于所述第一预设阈值时,从多个所述待搭建子模型中选择一个所述待搭建子模型作为第三目标搭建子模型,对所述第三目标搭建子模型完成搭建操作;其中,所述第一目标搭建子模型与所述第三目标搭建子模型不相同;When the difference between the updated output data to be verified and the vehicle test output data is smaller than the first preset threshold, select one of the sub-models to be built as the third sub-model to be built Target building sub-model, and completing the building operation on the third target building sub-model; wherein, the first target building sub-model is different from the third target building sub-model; 其中,所述待搭建子模型是构成待搭建控制模型的最小功能单元,最小功能单元是指能够执行电动车某一控制信号的最末端执行单元所对应的虚拟模块;或者,Wherein, the sub-model to be built is the smallest functional unit that constitutes the control model to be built, and the smallest functional unit refers to a virtual module corresponding to the most terminal execution unit capable of executing a certain control signal of the electric vehicle; or, 所述待搭建子模型是由多个最小功能单元集成的小规模功能单元;或者,The sub-model to be built is a small-scale functional unit integrated by a plurality of minimum functional units; or, 所述待搭建子模型是多个小规模功能单元集成的中等规模功能单元。The to-be-built sub-model is a medium-scale functional unit integrated with multiple small-scale functional units. 2.如权利要求1所述的方法,其特征在于,所述车辆测试输入数据和所述车辆测试输出数据是通过如下方法得到的:2. The method of claim 1, wherein the vehicle test input data and the vehicle test output data are obtained by the following methods: 接收合格车辆在目标工况路段运行的实际行车数据;Receive the actual driving data of qualified vehicles running on the target road section; 从所述实际行车数据中选择与所述第一目标搭建子模型相关的待处理实际行车数据;Select the actual driving data to be processed related to the first target building sub-model from the actual driving data; 对所述待处理实际行车数据进行有效段提取,获得有效测试数据;Extracting valid segments of the actual driving data to be processed to obtain valid test data; 对所述有效测试数据进行滤波处理,获得所述车辆测试输入数据和所述车辆测试输出数据。Perform filtering processing on the valid test data to obtain the vehicle test input data and the vehicle test output data. 3.如权利要求2所述的方法,其特征在于,对所述有效测试数据进行滤波处理,具体包括:3. The method according to claim 2, wherein the effective test data is subjected to filtering, specifically comprising: 对所述有效测试数据进行采样,获得多个采样数据;Sampling the valid test data to obtain a plurality of sampling data; 按照多个所述采样数据在所述有效测试数据中的时间先后顺序进行排序,构成有序数据集;Sorting according to the chronological order of the plurality of sampled data in the valid test data to form an ordered data set; 从所述有序数据集中选择一个所述采样数据作为目标采样数据;Selecting one of the sampled data from the ordered data set as the target sampled data; 判断在所述有序数据集中所述目标采样数据之前的所述采样数据的变化速度是否超过第二预设阈值;judging whether the speed of change of the sampled data before the target sampled data in the ordered data set exceeds a second preset threshold; 当所述变化速度超过所述第二预设阈值,提高所述目标采样数据的权重,得到所述目标采样数据的滤波输出值;When the change speed exceeds the second preset threshold, increasing the weight of the target sampling data to obtain a filtered output value of the target sampling data; 当所述变化速度未超过所述第二预设阈值时,将在所述有序数据集中所述目标采样数据的上一个所述采样数据的滤波输出值作为所述目标采样数据的滤波输出值;When the speed of change does not exceed the second preset threshold, the filter output value of the previous sample data of the target sample data in the ordered data set is used as the filter output value of the target sample data ; 当所述变化速度为0时,将所述目标采样数据直接作为所述目标采样数据的滤波输出值。When the change speed is 0, the target sampling data is directly used as the filtering output value of the target sampling data. 4.如权利要求1所述的方法,其特征在于,向所述第一目标搭建子模型引入车辆测试输入数据,具体包括:4. The method of claim 1, wherein introducing vehicle test input data into the first target building sub-model, specifically comprising: 将所述车辆测试输入数据转换为具有预设格式的预设文件;converting the vehicle test input data into a preset file with a preset format; 向所述第一目标搭建子模型引入所述预设文件。The preset file is imported into the first target building sub-model. 5.一种控制模型开环仿真验证装置,其特征在于,所述装置包括:5. A control model open-loop simulation verification device, wherein the device comprises: 第一确定模块,用于根据待搭建控制模型的设计需求,确定构成所述待搭建控制模型的多个待搭建子模型;其中,所述待搭建子模型是构成待搭建控制模型的最小功能单元,最小功能单元是指能够执行电动车某一控制信号的最末端执行单元所对应的虚拟模块;或者,所述待搭建子模型是由多个最小功能单元集成的小规模功能单元;或者,所述待搭建子模型是多个小规模功能单元集成的中等规模功能单元;a first determination module, configured to determine a plurality of sub-models to be built that constitute the control model to be built according to the design requirements of the control model to be built; wherein the sub-models to be built are the smallest functional units that constitute the control model to be built , the minimum functional unit refers to the virtual module corresponding to the most terminal execution unit capable of executing a certain control signal of the electric vehicle; or, the sub-model to be built is a small-scale functional unit integrated by a plurality of minimum functional units; The sub-model to be built is a medium-scale functional unit integrated with multiple small-scale functional units; 第一选择模块,用于从多个所述待搭建子模型中选择一个所述待搭建子模型作为第一目标搭建子模型,并对所述第一目标搭建子模型完成搭建操作;a first selection module, configured to select one of the sub-models to be built from the plurality of sub-models to be built as the first target building sub-model, and complete the building operation for the first target building sub-model; 第一输入模块,用于向所述第一目标搭建子模型引入车辆测试输入数据,得到由所述第一目标搭建子模型根据所述车辆测试输入数据输出的待验证输出数据;还用于根据多个所述待搭建子模型之间的关系,对多个所述待搭建子模型进行级别划分;The first input module is used to introduce vehicle test input data into the first target construction sub-model, and obtain output data to be verified output by the first target construction sub-model according to the vehicle test input data; The relationship between a plurality of the sub-models to be built is divided into levels; 第一判断模块,用于判断所述待验证输出数据与车辆测试输出数据之间的差异是否小于第一预设阈值;其中,所述车辆测试输出数据与所述车辆测试输入数据对应;a first judgment module, configured to judge whether the difference between the output data to be verified and the vehicle test output data is less than a first preset threshold; wherein the vehicle test output data corresponds to the vehicle test input data; 第二选择模块,用于当所述待验证输出数据与所述车辆测试输出数据之间的差异小于所述第一预设阈值时,从多个所述待搭建子模型中选择一个所述待搭建子模型作为第二目标搭建子模型,对所述第二目标搭建子模型完成搭建操作;其中,所述第一目标搭建子模型与所述第二目标搭建子模型不相同;A second selection module, configured to select one of the sub-models to be built from a plurality of sub-models to be built when the difference between the output data to be verified and the vehicle test output data is less than the first preset threshold Building a sub-model as the second target building sub-model, and completing the building operation on the second target building sub-model; wherein the first target building sub-model is different from the second target building sub-model; 第一搭建模块,用于当所述待验证输出数据与所述车辆测试输出数据之间的差异不小于所述第一预设阈值时,重新对所述第一目标搭建子模型执行搭建操作,以得到第一更新目标搭建子模型;a first building module, configured to re-execute the building operation on the first target building sub-model when the difference between the output data to be verified and the vehicle test output data is not less than the first preset threshold, Build a sub-model to obtain the first update target; 第二输入模块,用于向所述第一更新目标搭建子模型引入所述车辆测试输入数据,得到由所述第一更新目标搭建子模型根据所述车辆测试输入数据输出的待验证更新输出数据;The second input module is configured to introduce the vehicle test input data into the first update target construction sub-model, and obtain the to-be-verified update output data output by the first update target construction sub-model according to the vehicle test input data ; 第二判断模块,用于判断所述待验证更新输出数据与所述车辆测试输出数据之间的差异是否小于所述第一预设阈值;a second judging module, configured to judge whether the difference between the updated output data to be verified and the vehicle test output data is less than the first preset threshold; 第三选择模块,用于当所述待验证更新输出数据与所述车辆测试输出数据之间的差异小于所述第一预设阈值时,从多个所述待搭建子模型中选择一个所述待搭建子模型作为第三目标搭建子模型,对所述第三目标搭建子模型完成搭建操作;其中,所述第一目标搭建子模型与所述第三目标搭建子模型不相同。A third selection module, configured to select one of the multiple sub-models to be built when the difference between the updated output data to be verified and the vehicle test output data is less than the first preset threshold The sub-model to be built is used as the third target building sub-model, and the building operation is completed for the third target building sub-model; wherein, the first target building sub-model is different from the third target building sub-model. 6.如权利要求5所述的装置,其特征在于,所述第一输入模块包括:6. The apparatus of claim 5, wherein the first input module comprises: 接收子模块,用于接收合格车辆在目标工况路段运行的实际行车数据;The receiving sub-module is used to receive the actual driving data of the qualified vehicle running on the road section under the target working condition; 第一选择子模块,用于从所述实际行车数据中选择与所述第一目标搭建子模型相关的待处理实际行车数据;a first selection sub-module, configured to select from the actual driving data to-be-processed actual driving data related to the first target building sub-model; 有效段提取子模块,用于对所述待处理实际行车数据进行有效段提取,获得有效测试数据;A valid segment extraction sub-module, used to extract valid segments of the actual driving data to be processed to obtain valid test data; 滤波处理子模块,用于对所述有效测试数据进行滤波处理,获得所述车辆测试输入数据和所述车辆测试输出数据。The filtering processing sub-module is configured to perform filtering processing on the valid test data to obtain the vehicle test input data and the vehicle test output data. 7.一种电子设备,其特征在于,包括:7. An electronic device, characterized in that, comprising: 处理器;processor; 用于存储所述处理器可执行指令的存储器;memory for storing instructions executable by the processor; 其中,所述处理器被配置为执行以实现如权利要求1至4中任一项所述的一种控制模型开环仿真验证方法。Wherein, the processor is configured to execute to implement a control model open-loop simulation verification method as claimed in any one of claims 1 to 4. 8.一种非临时性计算机可读存储介质,当所述存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行实现如权利要求1至4中任一项所述的一种控制模型开环仿真验证方法。8. A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the implementation of the one described in any one of claims 1 to 4. A control model open-loop simulation verification method.
CN202011007708.1A 2020-09-23 2020-09-23 Control model open-loop simulation verification method, device, equipment and medium Active CN112305938B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011007708.1A CN112305938B (en) 2020-09-23 2020-09-23 Control model open-loop simulation verification method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011007708.1A CN112305938B (en) 2020-09-23 2020-09-23 Control model open-loop simulation verification method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN112305938A CN112305938A (en) 2021-02-02
CN112305938B true CN112305938B (en) 2021-11-30

Family

ID=74489260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011007708.1A Active CN112305938B (en) 2020-09-23 2020-09-23 Control model open-loop simulation verification method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN112305938B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113158436B (en) * 2021-03-29 2023-03-21 广西玉柴机器股份有限公司 Method and related device for generating post-processing model by using virtual calibration system
CN113361098A (en) * 2021-06-04 2021-09-07 雄狮汽车科技(南京)有限公司 Vehicle blind area monitoring function testing method and device and vehicle
EP4239421A1 (en) * 2022-03-02 2023-09-06 Robert Bosch GmbH Method for validating or verifying a technical system
WO2023220987A1 (en) * 2022-05-18 2023-11-23 北京小米移动软件有限公司 Target point determination method and apparatus, and electronic device and storage medium
CN114859796A (en) * 2022-06-09 2022-08-05 中国第一汽车股份有限公司 Vehicle control method, electronic device and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109426691A (en) * 2017-09-01 2019-03-05 长城汽车股份有限公司 Vehicle movement component emulation mode and analogue system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9875175B2 (en) * 2015-09-25 2018-01-23 International Business Machines Corporation Unit-level formal verification for vehicular software systems
US20180150378A1 (en) * 2016-11-30 2018-05-31 Swaminathan Gopalswamy Verification of model-driven software architecture
CN111581101A (en) * 2020-05-11 2020-08-25 上海元城汽车技术有限公司 Software model testing method, device, equipment and medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109426691A (en) * 2017-09-01 2019-03-05 长城汽车股份有限公司 Vehicle movement component emulation mode and analogue system

Also Published As

Publication number Publication date
CN112305938A (en) 2021-02-02

Similar Documents

Publication Publication Date Title
CN112305938B (en) Control model open-loop simulation verification method, device, equipment and medium
CN112287551B (en) Driving performance system level index decomposition method based on whole vehicle conceptual model
CN111125854A (en) Optimization method and device of vehicle dynamics model, storage medium and terminal equipment
CN104590276B (en) Recognition method for rotational inertia around z axis and tire cornering stiffness of automobile
US20130304441A1 (en) Method and systems for off-line control for simulation of coupled hybrid dynamic systems
CN112925221B (en) Auxiliary driving closed loop test method based on data reinjection
CN115964800A (en) Method and device for vehicle AEB calibration, electronic equipment and storage medium
CN113722835A (en) Modeling method for anthropomorphic random lane change driving behavior
CN108469778A (en) A kind of SERVO CONTROL MBD development platforms
US8751094B2 (en) Method for validation of a graphically based executable control specification using model extraction
CN116476850A (en) Method and device for predicting transverse and longitudinal control signals of vehicle, vehicle and storage medium
Shedeed et al. Functional design and verification of automotive embedded software: An integrated system verification flow
CN105241678B (en) A Rapid Control Prototyping Method for Active Rear Wheel Steering
CN115544681A (en) Engine hood full-flow numerical development method and system
US20140107962A1 (en) Method and systems for off-line control for simulation of coupled hybrid dynamic systems
Predut et al. Formal modelling of cruise control system using Event-B and Rodin platform
Eisele et al. ADAS virtual prototyping with the OpenMETA toolchain
Junqueira et al. A model-less approach for estimating vehicles sideslip angle by a neural network concept
CN110471277B (en) Automatic tracking control method of intelligent commercial vehicle based on output feedback gain planning
CN118833237A (en) Longitudinal control method and device of vehicle, vehicle and storage medium
da Silva et al. A hardware-in-the loop platform for designing and testing of electric power assisted steering
Schneider et al. Virtualization, integration and simulation in the context of vehicle systems engineering
Sweafford et al. Co-simulation of multiple software packages for model based control development and full vehicle system evaluation
Güldogus Proof of Concept of Closed Loop Re-Simulation (CLR) Methods in Verification of Autonomous Vehicles
CN112347623A (en) Online simulation platform for simulating vehicle control and vehicle control method

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
GR01 Patent grant
GR01 Patent grant