PI Controller Software implementation for any microcontroller using C

Поділитися
Вставка

КОМЕНТАРІ • 54

  • @TechSimulator
    @TechSimulator  4 роки тому +3

    If you like my work, please do consider subscribing to this channel.Thank you. ua-cam.com/channels/58DFky5Fm9AxH9UmWHHYmQ.html

  • @arturmagnus6674
    @arturmagnus6674 3 роки тому +1

    clear and straight to the point, great video sir.

  • @chinmoytahbildar3278
    @chinmoytahbildar3278 2 роки тому

    Thank you very much. Really appreciated. Please continue to make such videos...

  • @engg.w1983
    @engg.w1983 2 роки тому

    I would like to thank you for your kindness to explain, it is very interesting and useful. Is it possible to continue publishing such lectures?

  • @onlytruth9321
    @onlytruth9321 3 роки тому

    😭 you saved my life

  • @viralvideo1694
    @viralvideo1694 2 роки тому

    @Tech simulator can I implement PI controller in microcontroller please make one video on this topic also generate the PWM singal

  • @PK-mh1ir
    @PK-mh1ir 3 роки тому +1

    If I use the PI controller block in PSIM, how do I find the Gain and Time Constant Value?

    • @BalajiSankar
      @BalajiSankar 3 роки тому

      You use classical control techniques such as root locus and Nyquist plot (with delay) and then convert the controller to discrete domain using tustin's method.

  • @doquockhoa
    @doquockhoa 7 місяців тому

    Why is there no multiplication by Ts in the integrator?
    thanks

  • @ahmetpehlivan5494
    @ahmetpehlivan5494 4 роки тому +1

    hello it could be a funny question but where did "T/2" go in coding ??

    • @TechSimulator
      @TechSimulator  4 роки тому +1

      Ki*T/2 again become another constant and i taken this value as ki in coding

    • @ahmetpehlivan5494
      @ahmetpehlivan5494 4 роки тому

      Tech Simulator I understand thank you

    • @kubilayakbulut5302
      @kubilayakbulut5302 11 місяців тому

      Allah razı olsun kral güzel soru

  • @chunshouse7937
    @chunshouse7937 2 роки тому

    what's timestep do you setup ?

  • @ashishshah8650
    @ashishshah8650 3 роки тому

    CAN U please show how to do pi tuning in MATLAB Simulink in any of the grid connected model

  • @eng.shh80
    @eng.shh80 4 роки тому

    Thank you, what is the initial value of integral variable ? is it Zero or same as the Setpoint ?

    • @TechSimulator
      @TechSimulator  4 роки тому

      You can keep it zero

    • @TheCzarsoham
      @TheCzarsoham 3 роки тому

      All static variables are initiated as zero by default, if not specifically assigned

  • @timilebar
    @timilebar 4 роки тому

    question about transformation to n domain, where did Kp go?, you never added it back (the e(n)*Kp)

    • @TechSimulator
      @TechSimulator  4 роки тому +1

      I have added it when i did the demonstration. Check from time 09.00

    • @timilebar
      @timilebar 4 роки тому

      @@TechSimulator I missed it thank you!

  • @md.rezanulhaque1062
    @md.rezanulhaque1062 4 роки тому

    Great Video. Can you make more video like this using C language in PSIM. and can you help where to learn this C language for PSIM .

  • @shibabratasarangi
    @shibabratasarangi 4 роки тому

    Can you please share the ieee paper which you referred??? It will be a great help

    • @TechSimulator
      @TechSimulator  4 роки тому

      I havnt refered any paper for this. I just made it myself. But if i find any paper which expalains the same, i will share

  • @vijaykumardubey1807
    @vijaykumardubey1807 4 роки тому

    what is the value of 'integral', it is defined as double, mean to say that it might have some numerical value, if there's no numerical value, then how it is working without the value.

    • @TechSimulator
      @TechSimulator  4 роки тому

      initial value of intehral is 0. once the code is running it starts getting updated

  • @NoahsArtistry
    @NoahsArtistry 3 роки тому

    can you add derivative? (pid closed loop)

  • @bhavyapandya2361
    @bhavyapandya2361 4 роки тому

    Nice explanation sir..
    Can you please give some idea about how to apply Ziegler Nichols method in PSIM for PI controller...

  • @aninstone5216
    @aninstone5216 4 роки тому

    nice work

  • @marliusardi9973
    @marliusardi9973 4 роки тому

    sir. can u input value all component control, i need example with value sir. and can calculate with formula.

  • @ashishshah8650
    @ashishshah8650 3 роки тому

    can u please convert and share c code in m file format

  • @vr0sh7
    @vr0sh7 Рік тому

    can we do this in LTSpice @TechSimulator

  • @lorhancosta622
    @lorhancosta622 4 роки тому

    Thank you for the awesome video!
    Question: where did you define the sampling time for the discrete controller?

    • @TechSimulator
      @TechSimulator  4 роки тому +3

      simulation step size is the sampling time, which we set in the simulation control block available in psim

  • @raviteja5684
    @raviteja5684 4 роки тому

    Same type of simulation can we do in matlab

    • @raviteja5684
      @raviteja5684 4 роки тому

      By using discrete PID by c program

  • @energeiamohammed308
    @energeiamohammed308 5 років тому

    thank you & good luck

  • @stefano.a
    @stefano.a 4 роки тому

    very good work!

  • @engg.w1983
    @engg.w1983 2 роки тому

    Thank you

  • @achraf2699
    @achraf2699 3 роки тому

    thank you too much

  • @odissey2
    @odissey2 4 роки тому

    It doesn't matter what form of integration is used. Irritating computer voice, annoying music background

    • @TechSimulator
      @TechSimulator  4 роки тому

      Sorry for the bad audio.

    • @TechSimulator
      @TechSimulator  4 роки тому

      Integration matters when u implement PR controller. The system become unstable for some particular integration methods.

    • @AliAusAachen
      @AliAusAachen 4 роки тому +3

      Voice and music don’t matter but the knowledge does. Thank you for the video.

    • @TechSimulator
      @TechSimulator  4 роки тому

      Thanks brother

    • @artline242
      @artline242 4 роки тому

      Why did the trapezoidal rule and bilinear transformation get the same result for integral discretization ?