Hi, thank you very much for this video! I tried to understand what those papers said about how to use the GA toolbox but could not find how to make the fitness function to complete it. But you give us the easiest way to understand! I really thank you from the bottom of my heart. Regards
@eeindepth6649
3 жыл бұрын
Very helpful . Thanks for this conceptual knowledge of PID controller and genetic algorithm using MATALAB
@sachinsharmajcbro
3 жыл бұрын
Glad it was helpful!
@naani3065
4 жыл бұрын
Thank you so much sir. I really liked the way u explained the literature in very simple words.
@sachinsharmajcbro
4 жыл бұрын
You are most welcome
@amrinafza7559
5 жыл бұрын
Please make a video upon PSO programming for FOPID controller . Please sir
@safiasafia9950
5 жыл бұрын
thanks sachin for jour vedeo it is vert intresting
@vikashroy6058
3 жыл бұрын
Sir ,can I used for fractional order controller,and process and code is similar or different
@sachinsharmajcbro
3 жыл бұрын
It will be same. Learn PID, FOPID, Fuzzy-PID, HIL Simulation, Optimization, LFC, DC Motor control, Inverted Pendulum Control, DVR control and much more, all in one course. www.udemy.com/course/control-system-and-optimization-using-matlab/?referralCode=E2905A33566486F41B6E
@alemngusse8715
6 жыл бұрын
please could you help me a matlab code which you can tune PID controller by GA using using ITAE as performance index for two area load frequency control
@sachinsharmajcbro
6 жыл бұрын
Dear We have replied you to your mail id about the same. Regards
@myamoi9755
2 жыл бұрын
Thanks Plz can I use the same things in the code with a discrete PID controller ?
@sachinsharmajcbro
2 жыл бұрын
Yes you can
@lamrin1
3 жыл бұрын
sir ho to optimize the boost converter model to find PID values
@sachinsharmajcbro
3 жыл бұрын
Hi, you can contact us at: info@jcbrolabs.org
@etpaprika
3 жыл бұрын
Optimization running. Error running optimization. Undefined function 'pid_optim' for input arguments of type 'double'. I am getting this error.
@sachinsharmajcbro
3 жыл бұрын
Make sure, all created files remain in the same folder.
@keerthanapb884
2 жыл бұрын
I also got the same error. How did u rectified.
@etpaprika
2 жыл бұрын
@@keerthanapb884 refer to that book H Saadit on Power Systems. They have explained this system thoroughly.
@keerthanapb884
2 жыл бұрын
@@etpaprika Thankyou.
@keerthanapb884
2 жыл бұрын
@@etpaprika Couldn't find this topic in hadisadt
@mokhtarshouran3313
5 жыл бұрын
how can I use this algorithm to tune the parameters of two PID controllers USING ITAE AS A COST FUNCTION, KEEP IN MIND THE SYSTEM THAT SHOULD BE CONTROLLED IS DESIGNED IN SIMULINK, KINDLY GIVE ME A HAND PLEASE
@mojtabamirkatooli2247
3 жыл бұрын
hi is there any way of using GA (optimtool) to find PID parameters for a specific response? like certain settling time or overshoot or Gain/phase margin to step input? i suppose its somehow possible but the only thing GA cares about is decreasing cost function .
@sachinsharmajcbro
3 жыл бұрын
Hi, yes that can be done either by making the appropriate cost function and adding inequality conditions.
@mojtabamirkatooli2247
3 жыл бұрын
@@sachinsharmajcbro and how is it done ? like , i have an unstable transfer fcn and most likely the GA will stabilize it. but specific overshoot and settling time (or PM/GM) are not leading us to proper cost fcn . i mean , minimizing the error (IAE,ITAE,ISE ext.) is possible but how can i connect this subject to proper cost fcn? what kind of calculation does it need? thanks for answer btw Dr.sachin .
@shivmohan7559
5 жыл бұрын
Before GA , how I can calculate ITAE ?? Because you should compare the value the ITAE value before and after applying the GA.... Please reply
@sachinsharmajcbro
5 жыл бұрын
Sorry, but ITAE is objective function which has to be minimized for better response of the controller.
@shivmohan7559
5 жыл бұрын
@@sachinsharmajcbro Can I calculate ITAE of a transfer function with MATLAB code ? If yes then what is the MATLAB code for calculating ITAE, ISE ??.... And when I put the values of Kp, Ki,Kd obtained from GA in simulink box then ITAE value is far different why?
@amienmarzuqhilman5677
4 жыл бұрын
Hello Mr., I have follow the step. But, the response has overshoot until 50%. What should I do, to decrease the overshoot.
@sachinsharmajcbro
4 жыл бұрын
You can add that into objective function...
@sd8568
2 жыл бұрын
very helpful
@sachinsharmajcbro
2 жыл бұрын
Glad to hear that
@russulaltememi946
6 жыл бұрын
hi sir ; i did what you did exactly but the pid parameters didn't show up in command window like yours....can you help me plz. i am using matlab 2015a in ubuntu 16 so could you tell me plz what are using and what the specification of your machine? thanks in advance.
@chimwana13
7 жыл бұрын
Hi Sachin, Do you have a matlab code which you can tune PID by PSO using ITAE as performance index?
@sachinsharmajcbro
7 жыл бұрын
yes,...
@sachinsharmajcbro
7 жыл бұрын
please contact at jcbrolabs@gmail.com
@lewisplecerda96
7 жыл бұрын
Great! This is exactly what i need for our project. How do you implement this in the PID Controller of a Quadcopter?
@sachinsharmajcbro
7 жыл бұрын
either use real time optimization algorithm or use quadcopter mathematical model or simulation model to tune PID controller. Regards
@lewisplecerda96
7 жыл бұрын
Thanks! Can it be also embedded in Arduino cause that's where were obviously going to implement the PID for our Quadcopter
@sachinsharmajcbro
7 жыл бұрын
PID can be implemented but not sure about optimization algorithm
@lewisplecerda96
7 жыл бұрын
Thanks! At least the PID can be implemented. I'll probably have more queries on this, i'm really having a hard time
@akshayram2944
4 жыл бұрын
Thank you for the video sir. What if i want to give a sine wave input instead of step input?
@sachinsharmajcbro
4 жыл бұрын
Yes, you can apply sine input instead of step input.
@akshayram2944
4 жыл бұрын
@@sachinsharmajcbro Thanks for your reply sir. I need a desired output to be zero. If i am using error function as 0 minus response from the output and trying to minimize the objective function, the kp,kd,ki are getting equal to zero. And also in the video step input is given to the both the controller and plant. How can we give disturbance input only to the plant function.
@RapperRajaBabu
7 жыл бұрын
Can we use this Algorithm for FOPID...? If yes, then please make a tutorial on this controller
@danishraza8402
6 жыл бұрын
sir, kindly upload a video for optimization of PID by pso algorithm. it is extremely urgent. thank you sir
@upamadas1172
5 жыл бұрын
did you get it?
@farhanbhatti1649
3 жыл бұрын
if I did not want to use transfer function, then can ı use Tune the PID controller? ıf I have a no. of KP, Kı and KD values then ı want to optimize at which piont it will give maximum value. can ı use it please explain me. and how I can do ıt.
@sachinsharmajcbro
3 жыл бұрын
If you don't want to use transfer function or model then how will you obtain the response.
@RapperRajaBabu
7 жыл бұрын
When I optimize the GA for Feactional order PID Controller, this error comes in to account... "Matrix dimensions must agree " How will I reduce this error ?
@sachinsharmajcbro
7 жыл бұрын
There must be some error in coding....
@RapperRajaBabu
7 жыл бұрын
sachin sharma I got it
@RapperRajaBabu
7 жыл бұрын
sachin sharma Can we implement this algo on simulation model ...?
@sachinsharmajcbro
7 жыл бұрын
yes, we can...
@RapperRajaBabu
7 жыл бұрын
sachin sharma how...?
@sihemprincess1955
5 жыл бұрын
Could we change the population size to 500 and the number of iteration to 10000 using ga toolbox?
@RapperRajaBabu
7 жыл бұрын
When I am using this for FOPID, one error occurs that lamda anf mhu must be scaler integers, but in FOPID it is impossible...
@sachinsharmajcbro
7 жыл бұрын
Hi, you need to define fractional order transfer function for that. We have another video tutorial for that. Regards
@instituteofcompetitionexpl1588
5 жыл бұрын
I want to implement microstrip antenna using ebg
@dr.prabhatranjan9372
6 жыл бұрын
sir, i want to optimize the PID tuning parameters through taking ramp input instead of step input. please provide us with the code of taking ramp as a input.
@sachinsharmajcbro
6 жыл бұрын
Hi, You can contact us at: jcbrolabs@gmail.com
@veterinarydoctor1269
5 жыл бұрын
It shows error as undefined function or variable 'x'. Kindly help me i needed it for my thesis research work
@sachinsharmajcbro
5 жыл бұрын
Hi, You can contact us at: jcbrolabs@gmail.com
@veterinarydoctor1269
5 жыл бұрын
@@sachinsharmajcbro Yeah i have sent you a mail regarding MS work
@RapperRajaBabu
7 жыл бұрын
dear sir can you help me about TEACHER LEARNING BASED OPTIMISATION (TLBO) algorithm as like this Genetic Algorithm? please sir
@sachinsharmajcbro
7 жыл бұрын
Hi, you can send your queries at jcbrolabs@gmail.com
@belalsaid2419
6 жыл бұрын
Hi please I need the code to implement it in mat lapmat lap
@sachinsharmajcbro
6 жыл бұрын
belal said hi you can contact us at. Jcbrolabs@gmail.com
@shubhamtiwari6816
6 жыл бұрын
Hello, sir can you please provide the code for MSE function optimization. its very important. please
@sachinsharmajcbro
6 жыл бұрын
you can contact us at: jcbrolabs@gmail.com
@himanshugarg5459
6 жыл бұрын
Hello sir, thank you so much for the video, learned something new today :) Can you tell me how to optimize the same using Gradient Descent algorithm please?
@randomme2561
5 жыл бұрын
Is this genetic algorithm about magnitude optimum method and symmetric optimum tuning method used for tuning pi parameters ??
@vikashroy6058
3 жыл бұрын
Sir ,can I used for fractional order controller,and process and code is similar or different
@sachinsharmajcbro
3 жыл бұрын
code will be similar...
@akashdeep1906
2 жыл бұрын
sir can we do optimization without transfer function with only Kp Kd and Ki values???
@sachinsharmajcbro
2 жыл бұрын
If there is no transfer function then you can use model represented by in some other form.
@akashdeep1906
2 жыл бұрын
@@sachinsharmajcbro i only have PID parameters values from these how can I use GA Code ??
@NehaKumari-hg4cc
4 жыл бұрын
Sir like I design a model in simulink and I have to control the parameter of system using genetic algorithm. Then How I link the function of genetic algorithm with model in simulink. Please advice me some tips.
@sachinsharmajcbro
4 жыл бұрын
Hi, You can contact us at: info@jcbrolabs.org
@keerthanapb884
2 жыл бұрын
sir, the parameters for GA, like crossover,selection,rank ...you havent shown...Is that default values
@sachinsharmajcbro
2 жыл бұрын
Yes, I have used default values for them.
@keerthanapb884
2 жыл бұрын
@@sachinsharmajcbro sir i am getting too much output arguments error
@abhinayaman7031
7 жыл бұрын
hi,do you have MATLAB code for tunning of pid controller by using PSO algorithm.
@sachinsharmajcbro
7 жыл бұрын
you can send your query at jcbrolabs@gmail.com
@ARRun
5 жыл бұрын
Can we tune PID of a line follower robot with this method? Please tell us how to find transfer function.
@kafaicheng8128
2 жыл бұрын
I get an error it said : All functions in a script must be closed with an 'end'. how to fix that. Everything is Not Fine for me Am I missing something or what? Pls Help
@sachinsharmajcbro
2 жыл бұрын
put 'end' character when your function ends.
@kafaicheng8128
2 жыл бұрын
@@sachinsharmajcbro I have already put the word 'end' at the end of the function but the program still get the same error. I don't know what I am doing wrong at this point. It is because the version I running? I run your same exact code at 2020a version. Do I need to rollback to your version or something?
@sachinsharmajcbro
2 жыл бұрын
@@kafaicheng8128 In that case, I can't say exactly with having a look at the code.
@kafaicheng8128
2 жыл бұрын
@@sachinsharmajcbro Here is my code , I roll back into 2014a then there is a new error , it said Error running optimization. Error: File: pid_optim.m Line: 4 Column: 1 Function definitions are not permitted in this context. my code: close all; clear all; function [J] = pid_optim(x) s = tf('s'); plant = 0.01/(0.005*s^3+0.06*s^2+0.1*s); kp = x(1) ki = x(2) kd = x(3) cont = kp + ki/s + kd*s; step(feedback(plant*cont,1)); dt = 0.01; t = 0:dt:1; e = 1 - step(feedback(plant*cont,1),t); J = sum(t'.*abs(e)*dt); end
@alemngusse8715
6 жыл бұрын
hi please help me the matlab code for genetic algorithm based PID controller for two area automatic generation control
@sachinsharmajcbro
6 жыл бұрын
Dear Sir, You can mail us your requirement at: jcbrolabs@gmail.com
@mokhtarshouran3313
5 жыл бұрын
hope you have done the code and the simulation, I was wondering if you kindly help me doing a similar work
@jayanth2012
5 жыл бұрын
Sir, very good tutorial ! Can you please upload a video on tuning of PID using ant colony method.
@shivmohan7559
5 жыл бұрын
Error running optimization , " Not enough input arguments" ......how can I fix this error ?? Please help
@sachinsharmajcbro
5 жыл бұрын
Please follow the video tutorial carefully...
@achm3dz
5 жыл бұрын
Excellent tutorial..exactly what i was looking for
@rahalhettiarachchi8967
5 жыл бұрын
Thank you!. It was very useful!
@allinone-fy7rr
5 жыл бұрын
thank you
@LuisMith
5 жыл бұрын
Nicee
@jokszisztof
7 жыл бұрын
Hi, I have model in Simulink. Can You help me to create a function that calls the model in Simulink and then gives it to the optimtool?
@sachinsharmajcbro
7 жыл бұрын
yes, you can contact us at jcbrolabs@gmail.com
@sachinsharmajcbro
7 жыл бұрын
you can get the model in download section at www.jcbrolabs.org
@ftk8644
5 жыл бұрын
Hi, I have a question. Can GA be implemented for PID tuning without knowing the transfer function?
@sachinsharmajcbro
5 жыл бұрын
Yes...
@pawanpoudel1983
4 жыл бұрын
@@sachinsharmajcbro How to determine the parameters without knowing the transfer function?
@ІринаШмигельська-в3в
5 жыл бұрын
Thanks for the video tutorial! Is it possible to do this with the model described in simulink? Do you have an example?
@sachinsharmajcbro
5 жыл бұрын
For more info please contact at jcbrolabs@gmail.com
@ІринаШмигельська-в3в
5 жыл бұрын
@@sachinsharmajcbro I wrote you a letter in the mail
@UnknownUnseen18
7 жыл бұрын
helpful to me
@alemngusse8715
6 жыл бұрын
am Working on two area Load frequency control. I need to control the PID parameters using genetic algorithm. please help me with the matlab code..
@amienmarzuqhilman5677
4 жыл бұрын
Hi, thank you very much.
@sachinsharmajcbro
4 жыл бұрын
You are so welcome!
@sudarsanareddy.k2337
4 жыл бұрын
tq so much sir
@sachinsharmajcbro
4 жыл бұрын
Welcome
@ahmadalkmhawi6539
4 жыл бұрын
just can explain to me about the last line in your code what is it and from any equation and thank you a lot
@RapperRajaBabu
7 жыл бұрын
where we set the performance index/ fitness function
@hamidalshareefi1622
7 жыл бұрын
hi. can you help me by showing how to write code for solving pid optimizing by genetic algorithm without using optimization toolbox
@sachinsharmajcbro
7 жыл бұрын
yes, in my next video I will do that...
@hamidalshareefi1622
7 жыл бұрын
sachin sharma . ok thanks alot. do you have account in Facebook?
@sachinsharmajcbro
7 жыл бұрын
yes, I have account there, You can subscribe to my channel as well.
@hamidalshareefi1622
7 жыл бұрын
so. what is your account in fb?
@sachinsharmajcbro
7 жыл бұрын
facebook.com/sachin.sharma.7731247
@fatimazahramessaoud3905
6 жыл бұрын
hi, thank you very much for this video, plz how do i tune all the 4 PI controllers with genetic algorithm of a statcom; the statcom has 04 PI controllers. 1)one PI for AC voltage regulation 2)one PI for DC voltage regulation 3)two PI for d and q axis current controllers I really thank you from the bottom of my heart
@sachinsharmajcbro
6 жыл бұрын
Hi, If you need some assistance then you can contact at jacbrolabs@gmail.com Regards
@fatimazahramessaoud3905
6 жыл бұрын
merci infiniment
@sachinsharmajcbro
6 жыл бұрын
??????
@fatimazahramessaoud3905
6 жыл бұрын
hi , I sent an email but there is no answer plz i need your help sur and really thank you
@sachinsharmajcbro
6 жыл бұрын
what is your mail id? so that i can search for the mail.. Regards
@mixtube3471
6 жыл бұрын
Hello sir i am trying to implment ur method but when i type the code in matlab2013b i got the error no enough input argument plz help
@sachinsharmajcbro
6 жыл бұрын
There is a problem with your function definition. You can contact at: jcbrolabs@gmail.com
@mixtube3471
6 жыл бұрын
I sent you an email please check your email TQ
@sachinsharmajcbro
6 жыл бұрын
You can contact at: jcbrolabs@gmail.com
@shivmohan7559
5 жыл бұрын
My final year b.tech project is Optimisation of PID controller with GA and Jaya optimisation technique. Can you help me to complete my project please
@davidezekiel685
2 жыл бұрын
Hello Sir
@tanvirwithfun
4 жыл бұрын
what is the relation between pid and transfer function .. i mean why you used transfer function in PID controller ? could you please give the answer ?
@sachinsharmajcbro
4 жыл бұрын
I didn't get your question. One transfer function is representing the model of the plant.
@rafikaelidrissi458
6 жыл бұрын
Hi Mr.sachin sharma,i have my system in simulink and i'm controlling it by PID controller and i want optimize the PID controller parameters by GA please help me or give me an idea about how can i do it in simulink. thanks
@sachinsharmajcbro
6 жыл бұрын
Dear Sir/mam, If you want some specific work then you can contact us at: jcbrolabs@gmail.com
@rafikaelidrissi458
6 жыл бұрын
Hi sir, i sent you an email yesterday but i haven't received an answer from your part. kindly check your email, it's urgent please
@aartikumari3748
6 жыл бұрын
why have you taken the time from 0 to 1 sec ?
@senakawijayakoon
6 жыл бұрын
I think he is having the errors within only 1 second. Then it implicitly indicates the settling time of the system should be less than 1 second. It is fair to think it happens like that because controller gains are calculated so as system would settle before 1 second
Пікірлер: 155