My MATLAB toolbox for vehicle lateral controller design. This project is work in conjunction with Morgan Saras and Jennifer Maya Zapata. The lateral dynamics of vehicles is modeled using the formulation in R.Rajamani 2006, then the system response is analyzed given various conditions.
- pole_cl: pole placement design
- vans: velocity analysis, [y] = vans (Vx), return observed state y, take longtitudinal velocity Vx as input
- vedy: model of vehicle dynamics
- Caf: Front tire stiffness
- Car: Rear tire stiffness
- lf: Front length of the vehicle from center of gravity
- lr: Rear length of the vehicle from center of gravity
- m: Mass of the vehicle
- Vx: Lateral Velocity of the vehicle
- Iz: Moment of inertia of the vehicle in Z axis
- sys: Control system of the vehicle
- A,B,C: Control system parameters
- Ks: Closed-loop feedback constant
- y: Output of the control system
- vans: [Ks, y] = vans (Vx)
- [sys,A,B,C] = vedy(Caf,Car,lf,lr,m,Vx,Iz)
R. Rajamani Vehicle Dynamics and Control, New York:Springer, 2006.