# Package overview
The *vehicledynamics* folder contains all source code and models which is related to the vehicle dynamics simulation. This includes e.g. chassis models like the nonlinear single-track model and the nonlinear double-track model as well as tire models like the Pacejka model. Furthermore, some test cases are included to evaluate the vehicle dynamics models given a predefined input, the tire model in detail or to compare both model variants.
The nonlinear single-track model `nonlinearstm.slx` considers the following effects:
* Position of the center of gravity and wheelbase
* Steering wheel angle at the front axle
* Mass and Yaw inertia
* Nonlinear tire forces based on a simple Pacejka model
* Transient behavior for tire slips (modeled via simple first order low passes)
* Aerodynamic drag and lift
* Wheel rotational dynamics for longitudinal slip
* Position dynamics based on standard kinematic equations
The nonlinear double-track model extends the single-track model in several aspects. There are two implementations available: `VDBS_PassVeh14DOF.slx` utilizes the examples provided by the Vehicle Dynamics Blockset of Mathworks and only adjusts a few key parameters. In `nonlineardtm.slx` a customized version targeted at race-car vehicle dynamics is implemented. The double-track model in general considers vehicle dynamics including vertical dynamics, roll and pitch, dynamic changes in wheel loads and degressive tire behavior. The implemented vehicle dynamics model pays particular attention to the following points:
* Modeling of the vehicle behavior with consideration of the vehicle vertical dynamics
* Consideration of a three dimensional roadway profile with road longitudinal and lateral inclination
* Modeling of road unevenness and consideration of variable friction coefficients
* Transformation of the sensor position and orientation of vehicle sensors depending on the vehicle body movement
* Implementation of an extended Pacejka tire model
### datadict
This folder contains the data dictionaries handed to the specific vehicle dynamics model. These data dictionaries aggregate several data dictionaries which are necessary for running the simulation (e.g. vehicle parameters and bus definitions). The parameters itself can be found in `./sim_vehicle_dynamics/parameters`.
* `nonlineardtm.sldd` aggregates all data dictionaries necessary to run the nonlinear double-track model (customized)
* `nonlinearstm.sldd` aggregates all data dictionaries necessary to run the nonlinear single-track model
* `VDBS_PassVeh14DOF.sldd` aggregates all data dictionaries necessary to run the nonlinear double-track model (Vehicle Dynamics Blockset Standard)
### models
* `nonlineardtm.slx` is the nonlinear double-track model implementation (all parameters and initial states are imported via the above mentioned data dictionary)
* `nonlinearstm.slx` is the nonlinear single-track model implementation (only position states are handed via the above mentioned data dictionary; parameters are imported from `./sim_vehicle_dynamics/parameters` folder directly)
* `VDBS_PassVeh14DOF.slx` is the standard nonlinear double-track model implementation of the MathWorks [*Vehicle Dynamics Blockset*]
The nonlinear double-track model was set up using the MathWorks [*Vehicle Dynamics Blockset*](https://de.mathworks.com/products/vehicle-dynamics/features.html#full-vehicle-simulation). Therefore, a detailed overview and explanation of the nonlinear double-track model can be found consulting the Documentation within Matlab.
### source
This folder contains all scripts necessary to calculate the vehicle dynamics equations for both models (single-track and double-track). For more detailed information see the documentation in the header of each individual script.
### test
This folder contains various Simulink models to test both vehicle dynamics models and to compare them.
* `check_modelcompare` provides a set of different tests to compare the single-track and double-track model
* `check_ndtm` provides a set of different tests to evaluate the nonlinear double-track model in detail
* `check_nstm` provides a test to evaluate the nonlinear single-track model
* `check_tiredata` provides a set of different tests to evaluate the tire model only
#### setting up a new test case
To set up a new, customized test just copy one of the existing Simulink models (ending with `.slx`). Now you can use available Simulink blocks to set up your own inputs and output handling.
# Parameter settings
If you like to change vehicle parameters, go to `./sim_vehicle_dynamics/parameters` folder.
# Model Topology
The single-track model is implemented by only using Matlab-scripts which are located in the source ("src") folder. The double-track model is way more complicated in it's structure. Therefore, an extensive description is provided below.
If you want to use the single-track model only you can jump the model topology description and go to *Coordinate Systems* directly.
The Simulink nonlinear double-track model comes along with a modular model topology. The implemented nonlinear double-track model incorporates and extends the following modules from Matlab's Vehicle Dynamics Blockset by user-defined modules and subfunctions:
* Vehicle Body
* Suspension
* Wheels and Tires
The modular structure of the nonlinear double-track model in Simulink is shown below. The Vehicle Dynamics Modules build up the core of the nonlinear double-track model. The model is based on a vehicle body model with six degrees of freedom, different suspensions on front and rear axle and different wheel, tire and brake characteristics on front and rear axle considering combined slip operating conditions.
![double-track model structure](./../../resources/ndtm_layout.PNG)
The _Vehicle Body_ subsystem represents the vehicle kinetics considering inertia, gravitation, aerodynamics, suspension forces and moments as well as extern forces and moments. Output variables are the position, orientation and velocity of the vehicle body along the inertial axis system and the velocity, angular velocity and acceleration of the vehicle body in the vehicle fixed coordinate system. Additionally, position and velocities of the hardpoint locations are provided. For analysis purposes, there is force and moment information available.
The _Suspension subsystem_ comprises the transformation of tire forces and moments to the vehicle body hardpoint locations as well as the formulation of the vehicle vertical dynamics on the basis of the relative vertical position and velocity from wheels and vehicle body. There is an anti-rollbar model inherent. Relative suspension heights are provided as outputs for analysis purposes. If the suspension characteristic values (camber, caster and toe angles) for the reference state and their relative rates of changes depending on the steering angle and the relative suspension height are available, the suspension subsystem considers the influence of wheel kinematics. The suspensions are modeled separately for the front and the rear axle.
The _Wheel, Tire and Brake subsystem_ computes the tire behaviour for given control input and road influence on the basis of a drive model and the MF-Tire model (Pacejka's formulas). The block provides information about the tire forces and moments, the relative vertical wheel position and velocity as well as the wheel rotational velocity about the wheel spin axis. Necessary input signals are the translational tire velocities in longitudinal and lateral tire direction, the tire yaw rate, the wheel normal force, wheel camber, inflation pressure and vertical road displacement. The effective wheel radius, longitudinal slip and slip angle are available for further analysis. There is a drive model and a brake model inherent. The wheels are modeled separately to do justice to the different wheel, tire and brake construction on front and rear axle and to enable wheel selective control inputs for the drive
没有合适的资源?快使用搜索试试~ 我知道了~
TUMRoboraceTeam软件堆栈-车辆模拟_MATLAB_C++_下载.zip
共493个文件
xml:267个
m:75个
slx:48个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 174 浏览量
2023-04-08
17:47:00
上传
评论
收藏 7.26MB ZIP 举报
温馨提示
TUMRoboraceTeam软件堆栈-车辆模拟_MATLAB_C++_下载.zip
资源推荐
资源详情
资源评论
收起资源包目录
TUMRoboraceTeam软件堆栈-车辆模拟_MATLAB_C++_下载.zip (493个子文件)
DoubleTrackModelWrapper.cpp 9KB
SingleTrackModelWrapper.cpp 8KB
PassengerVehicleWrapper.cpp 7KB
traj_ltpl_cl_IMS_GPS.csv 538KB
traj_ltpl_cl_LVMS_GPS.csv 322KB
traj_ltpl_cl_LO_GPS.csv 125KB
traj_ltpl_cl_example.csv 729B
BasicGUI_2.fig 64KB
Read_FrictionmodeGUI.fig 56KB
Read_MapGUI.fig 33KB
CreateDatadictGUI.fig 24KB
Read_CenterlineGUI.fig 20KB
Read_TrackGUI.fig 12KB
MainGUI.fig 9KB
.gitignore 391B
.gitkeep 0B
.gitkeep 0B
.gitkeep 0B
.gitkeep 0B
DoubleTrackModelWrapper.h 4KB
SingleTrackModelWrapper.h 4KB
PassengerVehicleWrapper.h 3KB
pa_sim_vehicleparameters.ini 2KB
pa_sim_powertrainparameters.ini 1KB
pa_sim_initialparameters.ini 1KB
pa_sim_dtm_suspensionparameters.ini 847B
sil_config_indy.ini 306B
vehicle_on_inlined_road.JPG 78KB
LICENSE 7KB
IniConfig.m 57KB
read_tireparameters.m 32KB
BasicGUI_2.m 29KB
Read_FrictionmodeGUI.m 23KB
configureSimParams.m 11KB
plot_tiredata.m 10KB
MF_52.m 10KB
Friction_Map_Creation.m 9KB
Read_MapGUI.m 7KB
Track_Creation.m 6KB
plot_VehicleMovement.m 6KB
loadRacetrack.m 6KB
VehicleModel.m 6KB
CreateDatadictGUI.m 6KB
Datadict_Creation.m 5KB
Rotation_Position_ToTireFixed.m 5KB
getRacelineVectors.m 5KB
TrackPosition.m 4KB
Read_CenterlineGUI.m 4KB
tpa_map_interp_pos.m 4KB
GIMP_Correction.m 3KB
Mue_Interp.m 3KB
Rotation_Matrices.m 3KB
TestManager.m 3KB
tpa_map_interp_time.m 3KB
TrackProfile_ndtm.m 3KB
Rotation_Position_FromInertialFixed.m 3KB
read_parameters_sub.m 3KB
Read_TrackGUI.m 3KB
Create_tpamap_Datadict.m 3KB
importfile.m 2KB
analysze_eningedata.m 2KB
ClutchTorque.m 2KB
ContactPatchPos.m 2KB
Transformation_Sensor.m 2KB
BankingInfluence.m 2KB
calcWheelSlips.m 2KB
MainGUI.m 2KB
WheelRotVelocities.m 2KB
AutomaticGearbox.m 2KB
RoadInclination_Arkustangens.m 2KB
DifferentialTorque.m 2KB
ForceRequestConverter.m 1KB
Rotation_ForceMoment_FromTireFixed.m 1KB
ManualGearbox.m 1KB
CoordinateTransformation.m 1KB
analyze_coastdownmap.m 1KB
manage_clutchgearshift.m 1KB
getIndex.m 1KB
Rotation_AngVelocity_ToTireFixed.m 1KB
RoadInclination_Arkussinus.m 1KB
EngineDynamics.m 1KB
DifferentialVelocities.m 1KB
FrictionInfluence.m 1KB
Rotation_Velocity_ToTireFixed.m 1KB
ThrottleRequest.m 1KB
TireModel.m 1KB
read_inifiles.m 1KB
TransmissionVelocity.m 955B
Rotation_Velocity_FromVehicleFixed.m 922B
startup.m 914B
TireSlips.m 893B
TransmissionTorque.m 889B
EngineLimiter.m 883B
Rotation_ForceMoment_ToVehicleFixed.m 877B
Calculate_Pos.m 870B
ElectricEngine.m 863B
configureSimBuildModelConfig.m 758B
IdleSpeedControl.m 656B
PositionModel.m 564B
manage_paths.m 409B
共 493 条
- 1
- 2
- 3
- 4
- 5
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9153
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功