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

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

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

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

3 years ago | 1

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

3 years ago | 0

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

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

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

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

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.

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

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

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

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

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

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

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

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

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

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

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.

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

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

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

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

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

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

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

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

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

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

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