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...

3 years 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;...

3 years 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...

3 years 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...

3 years 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.

3 years 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...

3 years 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...

3 years 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...

3 years 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...

3 years 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> . ...

3 years 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...

3 years 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...

3 years 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...

3 years 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...

3 years 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...

3 years ago | 0

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

3 years 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...

3 years 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...

3 years 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...

3 years 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 ...

4 years 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...

4 years 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...

4 years 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:...

4 years 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...

4 years ago | 1

Answered
linear analysis in triggered subsystem
Take a look <https://www.mathworks.com/help/slcontrol/ug/event-based-subsystems-externally-scheduled-subsystems.html here> and <...

4 years ago | 0

Answered
Closed Loop MIMO System with Interaction?
Take a look at <https://www.mathworks.com/help/control/examples/connecting-models.html this example> , and <https://www.mathwork...

4 years ago | 0

Answered
How do we model and design a controller for a machine has no mathematical model? whats the best way ?
You can follow the workflow described <https://www.mathworks.com/help/control/getstart/interactively-estimate-plant-parameters-f...

4 years ago | 0

| accepted

Answered
What is the tuning method used in PID tuner apps (SIMULINK)?
PID Tuner app uses proprietary tuning algorithm developed by MathWorks. More details in the <https://www.mathworks.com/help/slco...

4 years ago | 0

Answered
can i use the simulink linear analysis tool to do the analysis of a Permanent Magnet Machine?
PID Tuner by default relies on exact linearization to obtain a linear representation of a Simulink model at a desired operating ...

4 years ago | 0

Answered
what is the name of the method used in the pid tuner in matlab 2016 ?
PID Tuner app uses proprietary tuning algorithm developed by MathWorks. More details in <https://www.mathworks.com/help/control...

4 years ago | 0

Load more