I am trying PID tuning using RL how to incorporate filter coefficient in simulink
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sourabh
le 11 Juin 2023
Réponse apportée : Shree Harsha Kodi
le 30 Juin 2023
I am trying to do RL based PID tuning for that i neeed to incorporate filter coeffcient in my simulink model but i am unable to understand how to do it. Also how can i add initial value in my action signal in my matlab script.
thank you in advance for helping. I have attached the code and simulink file.
0 commentaires
Réponse acceptée
Shree Harsha Kodi
le 30 Juin 2023
To incorporate filter coefficients in your Simulink model and add an initial value to your action signal in your MATLAB script:
1. Incorporating Filter Coefficients in Simulink Model:
2. Add Initial Value to Action Signal in MATLAB Script:
By using the conditional statement, you assign the initial value only for the first iteration, and for subsequent iterations, the calculation logic takes over.
Here are some documentation resources that can help you with the same:
- Filtering Signals: https://www.mathworks.com/help/simulink/slref/filtering-signals.html
- Simulink Library Browser: https://www.mathworks.com/help/simulink/ug/simulink-library-browser.html
- Discrete Library: https://www.mathworks.com/help/simulink/slref/discrete.html
- Filtering Signals in Simulink: https://www.mathworks.com/help/simulink/examples/filtering-signals.html
- PID Controller Tuning in Simulink: https://www.mathworks.com/help/simulink/examples/pid-controller-tuning-in-simulink.html
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur PID Controller Tuning dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!