- X: Longitudinal position
- Y: Lateral position
- Yaw: Yaw orientation angle
- Light Controls: Vehicle light controls
Speed control for simulation 3-D vehicle with ground following
조회 수: 17 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (2개)
Binaya
2023년 11월 22일
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:
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
댓글 수: 0
Anurag
2023년 11월 23일
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!
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!