Clear Filters
Clear Filters

roadrunner logic editor PID control

2 views (last 30 days)
혜빈
혜빈 on 5 May 2024
Answered: Kothuri on 24 May 2024
In the Roadrunner logic editor, is there a way to control PID using parameter values already obtained through optimization?
  1 Comment
Sam Chak
Sam Chak on 5 May 2024
I don't have the Roadrunner product. What is meant by 'to control PID using parameter values'?
Typically, in most systems, the P, I, D control values are constants with fixed values. Are the P, I, D control gains dynamically adjusted internally by a custom-designed Adaptive Control algorithm that satisfies the optimization cost function and constraints at each time step of the simulation?

Sign in to comment.

Answers (1)

Kothuri
Kothuri on 24 May 2024
Hi,
As Roadrunner logic editor is designed for creating and editing scenarios and behaviours within 3D environments of automotive simulations, it does not directly interface with the control systems such as PID controller which are a part of vehicle’s control algorithm.
Control systems such as PID controllers, are typically designed, tuned, and simulated with MATLAB and Simulink. They also provide functionalities for simulating the dynamic behaviour of systems under control, analysing their performance, and tuning controller parameters.
To use the optimized PID parameters within a simulation environment that includes Roadrunner-generated environments, you need to use MATLAB/Simulink to implement the control system with the optimized PID controller. And create the 3D environment in Roadrunner. Use co-simulation to integrate the environment created in Roadrunner with the control system model in Simulink. This integration allows the simulation to reflect both the dynamic behaviour of the control system and the interactive elements of the environment.
In this way, the adjustments to PID controllers would occur within the modelling and Simulink hosts the control logic that is influenced by events defined in the Roadrunner.
You can refer the below links for more information

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!