I myself am working on a PID controller for a robot and I must say: this was a really good video, very clear explanations and useful examples. Nice job!
21:40 steady state error 25:47 to avoid algebraic loop error , tick the checkbox in PID block parameter which says "PID controller is in a conditionally executed subsystem" 25:47 PID tuner app can only be used if time domain is continuous
im getting this error: Error:Error in 'motorDistCtrl_soln/Motor/Motor': Failed to evaluate mask initialization commands. Caused by: The "LTI system variable" parameter of the LTI block must be set to a valid LTI model. anyone else? did anyone resolve it?
can someone please help me , how can i tune PID controller for same 1 meter distance but also for backward motion and then add it to my model. i have created logic in same state flow chart so that robot moves backward after a break of 1 second but now i want to use PID controller because it goes beyond 1 meter while moving forward and backward. in these video stateflow chart has been replaced by PID but in my case what should i do? bacause my Logic for 1 meter forward and backward is in Stateflow because of that i cannot replace it simply. where can i place PID in my Model and what value(reference and measured) should i tune with?
@@xinwenzhang4150 inside this RUclips description, there is an example zip file. Download the file, unzip it and the wheel model will he available inside the example folder
It's a filter coefficient for the derivative term. Since there is no "true" derivative in a discrete algorithm, usually it's approximated with a first-order transfer function (or low-pass filter) where N affects the cutoff frequency.
Try some commands workspace mex-setup This will show is their any compiler installed on your system . If not then install then minGW 64 compiler . Then run command mex-setup and choose the. Appropriate compiler c++ Then run command mex sfun_time.c
I myself am working on a PID controller for a robot and I must say: this was a really good video, very clear explanations and useful examples. Nice job!
21:40 steady state error
25:47 to avoid algebraic loop error , tick the checkbox in PID block parameter which says "PID controller is in a conditionally executed subsystem"
25:47 PID tuner app can only be used if time domain is continuous
im getting this error:
Error:Error in 'motorDistCtrl_soln/Motor/Motor': Failed to evaluate mask initialization commands.
Caused by:
The "LTI system variable" parameter of the LTI block must be set to a valid LTI model.
anyone else? did anyone resolve it?
can someone please help me , how can i tune PID controller for same 1 meter distance but also for backward motion and then add it to my model.
i have created logic in same state flow chart so that robot moves backward after a break of 1 second but now i want to use PID controller because it goes beyond 1 meter while moving forward and backward.
in these video stateflow chart has been replaced by PID but in my case what should i do? bacause my Logic for 1 meter forward and backward is in Stateflow because of that i cannot replace it simply. where can i place PID in my Model and what value(reference and measured) should i tune with?
Where to get or how to create the wheelmotormodel?
我也加载不了电机参数,请问最后你解决了吗?
@@xinwenzhang4150 inside this RUclips description, there is an example zip file. Download the file, unzip it and the wheel model will he available inside the example folder
Download the example file:
There
@@xiaonan238 Wow! Yes I found it,thank you soooo much!
@@xinwenzhang4150 may I use my own transfer function of dc motors of my robot ?
how to set up the lookup table? can anyone help?
What is the physical meaning of filter coefficient N?
It's a filter coefficient for the derivative term. Since there is no "true" derivative in a discrete algorithm, usually it's approximated with a first-order transfer function (or low-pass filter) where N affects the cutoff frequency.
Đang coi ở giây 3:12
19:31 thay khối pid
26:10 auto tuning
how to set up look up tabe? can anyone show me the data?
@ANURAG KUMAR have you found how to set the look-up table? am facing the same problem here maybe you can help
Sir please model of this paper
16:51
s-function error , ANY HELP
Try some commands workspace
mex-setup
This will show is their any compiler installed on your system . If not then install then minGW 64 compiler .
Then run command mex-setup and choose the. Appropriate compiler c++
Then run command mex sfun_time.c