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

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

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

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

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

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

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

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

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

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

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

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

mer än 3 år 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?

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

mer än 3 år 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?

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

mer än 5 år ago | 0