Borrar filtros
Borrar filtros

MPC block in simulink is gives max frequency to stepper motor after setpoint is reached

8 visualizaciones (últimos 30 días)
Hi
My MPC block in simulink is giving maximum frequncy which PWM module of PLC can provide, after encoder count which is my setpoint is set to 60000 is reached. I am not able to understand what parameters should i look at to resolve the issue.

Respuestas (1)

Pratyush
Pratyush el 8 de Jul. de 2024 a las 8:55
Hi Anshul,
To resolve the issue with your MPC block in Simulink, consider the following key parameters and steps:
  • Sampling Time: Ensure it's appropriate for your system's dynamics.
  • Setpoint Configuration: Verify the setpoint (60000 encoder counts) is correctly set.
  • Control & Prediction Horizons: Adjust these to improve performance.
  • Constraints: Check constraints on control inputs and outputs.
  • Model Accuracy: Validate the accuracy of the plant model.
  • Tuning Parameters: Review and tune weights on control inputs and outputs.
  • PWM Module Configuration: Ensure it can handle the frequency and duty cycle.
  • Encoder Feedback: Confirm the accuracy and scaling of the encoder feedback.
  • Simulation Settings: Verify simulation time and solver settings.
  • Debugging & Logging: Use these tools to monitor signals and system response.
Hope this helps.

Categorías

Más información sobre Controller Creation en Help Center y File Exchange.

Etiquetas

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