Answered

How to export and use only the end product of a reinforcement learning algorithm ?

Hi there, To deploy trained RL agent you need to: Extract trained policy from RL agent. For that you use generatePolicyFunctio...

How to export and use only the end product of a reinforcement learning algorithm ?

Hi there, To deploy trained RL agent you need to: Extract trained policy from RL agent. For that you use generatePolicyFunctio...

3 years ago | 1

| accepted

Answered

tfest with forcing stable poles

You can use EnforceStabilty option for tfestOptions: https://www.mathworks.com/help/ident/ref/tfestoptions.html

tfest with forcing stable poles

You can use EnforceStabilty option for tfestOptions: https://www.mathworks.com/help/ident/ref/tfestoptions.html

3 years ago | 0

| accepted

Answered

Control System Tuner error message : Tuning gains store as Simulink.Parameters is not supported

The gain value of your AVR_Gain block is defined by Simulink.Parameter. This is not supported by Control System Tuner. You can ...

Control System Tuner error message : Tuning gains store as Simulink.Parameters is not supported

The gain value of your AVR_Gain block is defined by Simulink.Parameter. This is not supported by Control System Tuner. You can ...

3 years ago | 0

Answered

Error unrecognised function or Variable 'ss'

This question gets a lot of views, so summarizing the answer: this error is due to Control System Toolbox not being installed.

Error unrecognised function or Variable 'ss'

This question gets a lot of views, so summarizing the answer: this error is due to Control System Toolbox not being installed.

3 years ago | 2

Answered

How to use Simulink System Identification with Arbitrary I/O Data?

Are you trying to improve your PID? The IO data to collect should be the data from the plant, i,e, input to the plant and output...

How to use Simulink System Identification with Arbitrary I/O Data?

Are you trying to improve your PID? The IO data to collect should be the data from the plant, i,e, input to the plant and output...

3 years ago | 0

Answered

Why is Simulink giving different output for same transfer function but with different approach?

Impossible to say exactly without having access to your models. What transfer function did you calculate for H? What is the inpu...

Why is Simulink giving different output for same transfer function but with different approach?

Impossible to say exactly without having access to your models. What transfer function did you calculate for H? What is the inpu...

3 years ago | 0

Answered

How to simulate continuous time EKF in simulink?

Hi there, The EKF itself is discrete-time, i.e., has to have discrete state transition and measurement functions, but the syst...

How to simulate continuous time EKF in simulink?

Hi there, The EKF itself is discrete-time, i.e., has to have discrete state transition and measurement functions, but the syst...

3 years ago | 1

Answered

pid tunning of mimo system

Please contact tech support for help with troubleshooting. Your code does not run without jac_direct.

pid tunning of mimo system

Please contact tech support for help with troubleshooting. Your code does not run without jac_direct.

3 years ago | 0

Answered

How to get the frequency response between two measurement points in simulink?

Hi, when you do frequency response estimation, the tool injects a sinestream signal into the model at the input and collects the...

How to get the frequency response between two measurement points in simulink?

Hi, when you do frequency response estimation, the tool injects a sinestream signal into the model at the input and collects the...

3 years ago | 0

Answered

Livescript and Control System Toolbox

Thanks for the question, interactivity in Livescript controls plots is not supported yet.

Livescript and Control System Toolbox

Thanks for the question, interactivity in Livescript controls plots is not supported yet.

3 years ago | 1

| accepted

Answered

Tuning two gains with constraint to have the same value

Hi, good question. There does not appear to be a way to enforce that two gains should be the same. It seems the original proble...

Tuning two gains with constraint to have the same value

Hi, good question. There does not appear to be a way to enforce that two gains should be the same. It seems the original proble...

3 years ago | 0

Answered

PID tuner with feedback tf

No, there is no way to specify transfer function of other components. For PID Tuner, "Plant" is all system dynamics except for ...

PID tuner with feedback tf

No, there is no way to specify transfer function of other components. For PID Tuner, "Plant" is all system dynamics except for ...

3 years ago | 0

Answered

A proposal for ss of Control System Toolbox

Thanks for your proposal. Are you suggesting this to clarify the notation?

A proposal for ss of Control System Toolbox

Thanks for your proposal. Are you suggesting this to clarify the notation?

3 years ago | 0

Answered

a simple question about transfer function

sys=tf(1,[1 -1],-1,'Variable','z^-1'); %1/(1-z^-1); sys1=sys*sys*sys*sys; %1/(1-z^-1)^4; sys1.ts=0.1; %set sample time to 0.1 ...

a simple question about transfer function

sys=tf(1,[1 -1],-1,'Variable','z^-1'); %1/(1-z^-1); sys1=sys*sys*sys*sys; %1/(1-z^-1)^4; sys1.ts=0.1; %set sample time to 0.1 ...

3 years ago | 0

Answered

why I am getting error while tuning using control system tuner

We won't be able to provide a better answer without access to your model and a function. Can you please contact tech support?

why I am getting error while tuning using control system tuner

We won't be able to provide a better answer without access to your model and a function. Can you please contact tech support?

3 years ago | 1

| accepted

Answered

PID Tuning - Velocity Form

Hi, can you provide the equation for the velocity form you are interested in using. If you can write it out, ou could write a sc...

PID Tuning - Velocity Form

Hi, can you provide the equation for the velocity form you are interested in using. If you can write it out, ou could write a sc...

3 years ago | 1

Answered

Matlab closed loop Autotuner PID with embedded coder

Hi Vindhyachal, Here are answers to your questions: 1. u+du : How it will be used here? Have you seen this doc page? It...

Matlab closed loop Autotuner PID with embedded coder

Hi Vindhyachal, Here are answers to your questions: 1. u+du : How it will be used here? Have you seen this doc page? It...

4 years ago | 1

Answered

How to generate the transfer function of a DC motor?

Starting in R2017b we are shipping capabilities for online tuning of PID controllers. The best way to do this is by using Cl...

How to generate the transfer function of a DC motor?

Starting in R2017b we are shipping capabilities for online tuning of PID controllers. The best way to do this is by using Cl...

5 years ago | 3

Answered

DC Motor: Why are Step Responses Different for Transfer Function & State Space?

It looks like the transfer function is from voltage to angle, while state-space is from voltage to angular rate (speed). If y...

DC Motor: Why are Step Responses Different for Transfer Function & State Space?

It looks like the transfer function is from voltage to angle, while state-space is from voltage to angular rate (speed). If y...

5 years ago | 1

Answered

Start a Simulink simulation from operating point?

Please take a look at this page which provides an answer.

Start a Simulink simulation from operating point?

Please take a look at this page which provides an answer.

5 years ago | 0

Answered

Simscape Linear Analysis Tool, Steady state for switching circuit

Hi Christian, Unfortunately Linear Aanalysis Tool does not currently support specification-based computation of periodic operat...

Simscape Linear Analysis Tool, Steady state for switching circuit

Hi Christian, Unfortunately Linear Aanalysis Tool does not currently support specification-based computation of periodic operat...

5 years ago | 0

| accepted

Submitted

PID Controller Design and Tuning with MATLAB and Simulink -

This demo file shows capabilities for PID Controller design and tuning in MATLAB and Simullink.

5 years ago | 36 downloads |

Answered

Transfer function from a frequency response graph

System Identification Toolbox is an add-on to MATLAB for estimating transfer functions as well as other model types from time or...

Transfer function from a frequency response graph

System Identification Toolbox is an add-on to MATLAB for estimating transfer functions as well as other model types from time or...

5 years ago | 1

Answered

What does the numerical display of Pidtuner mean?

They indicate the response time (in seconds) you choose with a "response time" slider and transient behavior number you choose w...

What does the numerical display of Pidtuner mean?

They indicate the response time (in seconds) you choose with a "response time" slider and transient behavior number you choose w...

5 years ago | 1

| accepted

Answered

i want to do speed control of induction motor using continuous PI controller with out anti windup, i am not model induction motor i used the available three phase squirrel cage motor from simulink block, the PI parameters does not give required resul

Please try following approach shown in <https://www.mathworks.com/help/slcontrol/ug/tune-field-oriented-controllers-for-an-async...

i want to do speed control of induction motor using continuous PI controller with out anti windup, i am not model induction motor i used the available three phase squirrel cage motor from simulink block, the PI parameters does not give required resul

Please try following approach shown in <https://www.mathworks.com/help/slcontrol/ug/tune-field-oriented-controllers-for-an-async...

5 years ago | 0

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

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

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

PMSM Drive system Linearization

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

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

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

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

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

5 years ago | 2

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

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

5 years ago | 0