Answered
IPMSM Velocity Control Example PID Tuning
Hi, Please follow the approach explained in <https://www.mathworks.com/help/slcontrol/ug/tune-field-oriented-controllers-usin...

circa 3 anni ago | 0

| accepted

Answered
PMSM Drive system Linearization
Hi there, Linearization does not work for models with discontinuities such as PWM and power semiconductors. There are a co...

circa 3 anni ago | 1

| accepted

Answered
PID tuner not working for Simulink BLDC Motor Controller
Hi, When you press "tune" button, PID Tuner tries to linearize the model and comes up with zero due to discontinuities introd...

circa 3 anni ago | 0

Answered
How can I Switch between PID and MPC ?
Hi there, Yes, you can definitely switch between different controllers. We call this feature "bumpless transfer". In your MPC...

circa 3 anni ago | 1

| accepted

Answered
How to tune PID controllers for BLDC with SVPWM and vector control?
Hi, I won't be able to troubleshoot your model. However, please take a look at <https://www.mathworks.com/help/slcontrol/ug/_...

circa 3 anni ago | 0

Answered
Bode Plot block in Simulink is not working in triggered system
Hi, Please try recommendations in <https://www.mathworks.com/help/slcontrol/ug/event-based-subsystems-externally-scheduled-su...

circa 3 anni ago | 0

Answered
How to change frequency unit in plot of viewGoal function without using right click and properties dialog?
Hi, Try this: gmax = frd([1 1 0.01],[0 1 100]); Req = TuningGoal.MaxGain('du','u',gmax); viewGoal(Req); h=gcr;...

circa 3 anni ago | 1

| accepted

Answered
Control of LLC Converter
What is G - is it transfer function from Fs(frequency) to Vout? Probably it is transfer function from Vin to Vout right? If y...

circa 3 anni ago | 0

Answered
Open loop stability: Bode - Pole zero plot mismatch
You did not post your system, so it is a bit hard to figure out what is going on, especially when you say that you see poles mov...

circa 3 anni ago | 0

| accepted

Answered
How I can simulate PWM with PID controller as signal input in simulink ?
see if <https://www.mathworks.com/videos/speed-control-of-a-dc-motor-using-pwm-68962.html this video> might help.

circa 3 anni ago | 0

Answered
how can i simulate feedback system with fuzzy controller in m file without simulink?
Hi, I am afraid there is no easy way to do it. You would have to use <https://www.mathworks.com/help/fuzzy/evalfis.html eva...

circa 3 anni ago | 0

Answered
PID tuning when error input data to PID and output data from Plant is available.
Hi there, If you do not have a model, but have input/output data from the model, you can use system identification to identif...

circa 3 anni ago | 0

| accepted

Answered
How to place poles at particular frequency in MATLAB Control System Designer in Discrete Compensation?
Hi there, First, right click in the design plot (bode or root locus) and select "edit compensator" <</matlabcentral/answer...

circa 3 anni ago | 0

Answered
Tuning of PIID controller
Hi there, The way you are trying to model uncertainty in Simulink is not supported. If you define uncertain parameters in Rob...

circa 3 anni ago | 0

Answered
SISO model - how to "auto tune"?
Hi, One option is to use <https://www.mathworks.com/products/sl-design-optimization.html Simulink Design Optimization> . ...

circa 3 anni ago | 0

Answered
i am trying to tune PID in my permanent magnet synchronous motor. there has 3 PID controller which is to control speed and direct and quadrature current. any best technique to tune this PID?
Please take a look at the <https://www.mathworks.com/videos/automatic-tuning-of-field-oriented-controllers-for-an-induction-moto...

circa 3 anni ago | 0

Answered
How to improve an MPC (Model Predictive Control) performance?
The undershoot you are seeing is due to two reasons: 1. Mismatch between plant and controller initial conditions. 2. Contr...

circa 3 anni ago | 0

Answered
Model Predictive control look-ahead feature
Hello, I'll try to explain. First, you do not need to use signal previewing. Probably in most cases you do not know how setpo...

circa 3 anni ago | 0

Answered
Specify multiple inequalities in form A*x<=b (>=) for default mpc problem
I am afraid you cannot do more than setconstraint allows. Could you please explain why you need to vary number of constraints fr...

circa 3 anni ago | 0

Answered
connection of tf with PWM input
Hi there, Please take a look at this video: <https://www.mathworks.com/videos/speed-control-of-a-dc-motor-using-pwm-68962.htm...

circa 3 anni ago | 0

Answered
Problem with MPC toolbox (compiler?)
Answer posted in the last comment from Sara.

circa 3 anni ago | 0

Answered
Question about deploy MPC to labview
Hi there, MPC controller object can be deployed with <https://www.mathworks.com/products/compiler.html MATLAB Compiler> . Ple...

circa 3 anni ago | 0

Answered
Is it possible to use a MILP in MPC
Hi, For Model Predictive Control Toolbox plant model needs to be an LTI model as you stated. If you are not using Model Predict...

circa 3 anni ago | 0

Answered
Model Predictive Control (MPC)
Hi there, I think you might want to look at callbacks for MPC Controller block. Right click on the block, select "Block Propert...

circa 3 anni ago | 1

Answered
PID setpoint problem
PID Controller block does not assume anything about the setpoint value, it operates on the error signal which is the difference ...

circa 4 anni ago | 1

| accepted

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

circa 4 anni ago

Answered
How to set sample time in the PID-tuner
PID Tuner automatically assumes controller sample time is equal to the sample time of the plant. So if you want to change the sa...

oltre 4 anni ago | 0

Answered
Change style of a bodeplot with many plots
Hello Martin, This is not supported at the moment. Have you taken a look at answers to similar questions, this one for example:...

oltre 4 anni ago | 0

Answered
Resonance frequency from bode and damp do not agree. Matlab bug or user fault?
The formula for computing resonant frequency as a function of a natural frequency that you used is only valid for 2nd order syst...

oltre 4 anni ago | 1

Load more