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

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

mer än 5 år 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;...

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

mer än 5 år 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...

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

mer än 5 år 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...

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

nästan 6 år 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.

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.

nästan 6 år 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...

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

nästan 6 år 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...

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

nästan 6 år 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...

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

nästan 6 år 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...

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

nästan 6 år 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> . ...

SISO model - how to "auto tune"?

Hi, One option is to use <https://www.mathworks.com/products/sl-design-optimization.html Simulink Design Optimization> . ...

nästan 6 år 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...

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

nästan 6 år 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...

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

nästan 6 år 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...

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

nästan 6 år 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...

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

nästan 6 år 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...

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

nästan 6 år ago | 0

Answered

Problem with MPC toolbox (compiler?)

Answer posted in the last comment from Sara.

Problem with MPC toolbox (compiler?)

Answer posted in the last comment from Sara.

nästan 6 år 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...

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

nästan 6 år 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...

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

nästan 6 år 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...

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

nästan 6 år 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 ...

PID setpoint problem

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

mer än 6 år 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...

mer än 6 år 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...

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

nästan 7 år 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:...

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

nästan 7 år 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...

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

nästan 7 år 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 <...

linear analysis in triggered subsystem

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

ungefär 7 år 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...

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

ungefär 7 år 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...

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

ungefär 7 år 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...

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

ungefär 7 år 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 ...

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

ungefär 7 år 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...

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

ungefär 7 år ago | 0