Speed control for simulation 3-D vehicle with ground following

16 visualizaciones (últimos 30 días)
PRAJWAL ANAR
PRAJWAL ANAR el 3 de Nov. de 2023
Respondida: Anurag el 23 de Nov. de 2023
how to control the speed of the vehicle.
Is there any method to control the vehicle speed. we are not able to control the speed.

Respuestas (2)

Binaya
Binaya el 22 de Nov. de 2023
Hi Prajwal,
Based on my understanding, you would like to find a method to control the vehicle speed in Simulation 3D Vehicle with Ground Following block in Simulink.
The “Simulation 3D Vehicle with Ground Following” block has 4 input ports namely:
  1. X: Longitudinal position
  2. Y: Lateral position
  3. Yaw: Yaw orientation angle
  4. Light Controls: Vehicle light controls
This block determines the vehicle velocity and heading and adjusts the steering angle and rotation for each wheel based on the given four inputs as described in the block description section of Simulink. Based on the sampling rate of X and Y inputs, the block can determine the velocity of the vehicle and hence, there is no specific vehicle speed control port in the block.
Please refer to below documentation for more details about "Simulation 3D Vehicle with Ground Following”: https://www.mathworks.com/help/driving/ref/simulation3dvehiclewithgroundfollowing.html
I hope this helps. 
Regards  
Binaya  

Anurag
Anurag el 23 de Nov. de 2023
Hi Prajwal,
I understand that you want to control the speed of the vehicle in your 3D simulation.
Please follow the steps below to control the speed in your simulation:
  • Since you’re asking the steps for controlling the speed, I’m assuming you’ve already modelled the 3D vehicle dynamics using blocks or tools like the "Vehicle Dynamics Blockset."
  • Implement a speed control system (like a PID controller) and connect the output to the input of the vehicle dynamics affecting speed.
  • After completing the connections provide a reference speed input to the controller and tune the controller for desired speed regulation. Simulate and observe the system in the process as well.
Please refer to the following MathWorks documentation link for more information on 3D vehicle simulation:
Hope this helps!

Productos


Versión

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by