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

circa un anno 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...

circa un anno 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 ...

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

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

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

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

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

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

circa 2 anni 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 <...

oltre 2 anni 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...

oltre 2 anni 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...

oltre 2 anni 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...

oltre 2 anni 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 ...

oltre 2 anni 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...

oltre 2 anni ago | 0

Answered

When using the app Model Reducer, what is the algorithm behind balanced truncation?

Take a look <https://www.mathworks.com/help/control/ref/balred.html here> , including the reference at the bottom of the page.

When using the app Model Reducer, what is the algorithm behind balanced truncation?

Take a look <https://www.mathworks.com/help/control/ref/balred.html here> , including the reference at the bottom of the page.

oltre 2 anni ago | 0

Answered

identifying continuous-time and discrete-time models using ident toolbox

Hi there, Please take a look at <https://www.mathworks.com/help/ident/examples/estimating-continuous-time-models-using-simuli...

identifying continuous-time and discrete-time models using ident toolbox

Hi there, Please take a look at <https://www.mathworks.com/help/ident/examples/estimating-continuous-time-models-using-simuli...

oltre 2 anni ago | 0

Answered

Add the I/O linearization

Please see <https://www.mathworks.com/help/slcontrol/ug/specify-portion-of-model-to-linearize-in-simulink-model.html here> for h...

Add the I/O linearization

Please see <https://www.mathworks.com/help/slcontrol/ug/specify-portion-of-model-to-linearize-in-simulink-model.html here> for h...

oltre 2 anni ago | 0

Answered

tfest Model Structure and Constraints

I briefly looked at your code, and saw that you have complex numbers as transfer function coefficients. Some of them are designa...

tfest Model Structure and Constraints

I briefly looked at your code, and saw that you have complex numbers as transfer function coefficients. Some of them are designa...

oltre 2 anni ago | 0

Answered

Customizing plot layout in LTI viewer

If you are Ok with doing it interactively from the menu, then click on Edit->Plot Configurations There you'll be able to set up...

Customizing plot layout in LTI viewer

If you are Ok with doing it interactively from the menu, then click on Edit->Plot Configurations There you'll be able to set up...

oltre 2 anni ago | 0

Answered

step() giving a smooth curve for a discrete function

It seems you are getting tripped up by the fact that the code below results in two identical lines y1=step(H,x); y2=step...

step() giving a smooth curve for a discrete function

It seems you are getting tripped up by the fact that the code below results in two identical lines y1=step(H,x); y2=step...

oltre 2 anni ago | 0

Answered

how to plot response of quadratic state space model

I recommend simulating it with <https://www.mathworks.com/products/simulink.html Simulink> . If you'd rather do it from command ...

how to plot response of quadratic state space model

I recommend simulating it with <https://www.mathworks.com/products/simulink.html Simulink> . If you'd rather do it from command ...

oltre 2 anni ago | 0

Answered

Matlab error in loading a project using SISO tool

Thanks for pointing this out. We are looking into it. I will post an update when a workaround becomes available.

Matlab error in loading a project using SISO tool

Thanks for pointing this out. We are looking into it. I will post an update when a workaround becomes available.

oltre 2 anni ago | 0

| accepted

Answered

How to determine MPC warming-up time

What exactly do you mean by "mpc warm-up time"? Can you please elaborate?

How to determine MPC warming-up time

What exactly do you mean by "mpc warm-up time"? Can you please elaborate?

oltre 2 anni ago | 0

Answered

How to consider gravity in state-space models?

The gravity in this case is a constant disturbance that your compensator needs to reject. Because you know the gravity, you can ...

How to consider gravity in state-space models?

The gravity in this case is a constant disturbance that your compensator needs to reject. Because you know the gravity, you can ...

oltre 2 anni ago | 1

Answered

How to reduce overshoot of output response in BLDC motor?

Look at the control request your controller is generating. The type of response you are getting might be due to the fact that th...

How to reduce overshoot of output response in BLDC motor?

Look at the control request your controller is generating. The type of response you are getting might be due to the fact that th...

oltre 2 anni ago | 0

Answered

Is the simulink really useful for the real system?

Hi, Your question and your comments are not very clear. What is it that you are failing to do? Are you unable to control your...

Is the simulink really useful for the real system?

Hi, Your question and your comments are not very clear. What is it that you are failing to do? Are you unable to control your...

oltre 2 anni ago | 0

Answered

How can i export datas on the bode plot in SIMULINK?

When you run the model with Bode Plot block, with "save data to workspace" enabled, you get a variable sys, or whatever name yo...

How can i export datas on the bode plot in SIMULINK?

When you run the model with Bode Plot block, with "save data to workspace" enabled, you get a variable sys, or whatever name yo...

oltre 2 anni ago | 0

| accepted

Answered

Simulink model parameters optimization

For estimating parameters of Simulink model, I recommend using Simulink Design Optimization. Here is <https://www.mathworks.c...

Simulink model parameters optimization

For estimating parameters of Simulink model, I recommend using Simulink Design Optimization. Here is <https://www.mathworks.c...

oltre 2 anni ago | 0

Answered

State-space for MISO in system identification toolbox

<https://www.mathworks.com/help/ident/examples/dealing-with-multi-variable-systems-identification-and-analysis.html This example...

State-space for MISO in system identification toolbox

<https://www.mathworks.com/help/ident/examples/dealing-with-multi-variable-systems-identification-and-analysis.html This example...

oltre 2 anni ago | 0

Answered

How can I import a Neural Network Simulink block into Linear Analysis Tool?

PID Tuner essentially requires a transfer function of the plant to design a PID Controller.For the neural net, I think your best...

How can I import a Neural Network Simulink block into Linear Analysis Tool?

PID Tuner essentially requires a transfer function of the plant to design a PID Controller.For the neural net, I think your best...

oltre 2 anni ago | 0

| accepted

Answered

Why I do not have States or Inputs when using findop?

States comes from blocks such as integrators or transfer functions or state space systems. In a neural net I don't think you hav...

Why I do not have States or Inputs when using findop?

States comes from blocks such as integrators or transfer functions or state space systems. In a neural net I don't think you hav...

oltre 2 anni ago | 0