RSLogix 5000 PID Setup and Tuning

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 เม.ย. 2018
  • RSLogix 5000 PID Setup and Tuning | Online PLC Support
    In this video, I show how to tune a PID in RSLogix 5000 while using a trend and adjusting the PID loop controls. I show how to make it react to the correct command using a slow control and then a fast control as well to give a very detailed example.
    Studio 5000 PIDE Simulation Programming In Function Block
    • Studio 5000 PIDE Simul...
    Studio 5000 PIDE Auto Tuning
    • Studio 5000 PIDE Auto ...
    Brought to you by Online PLC Support
    Click the subscribe button to keep up with my educational content on my channel.
    Subscribe:
    / @shanewelcher
    Also, if you have been having a hard time with servo controls, then please feel free to check out the links below, there are FREE SAMPLE VIDEOS to preview.
    Servo Motion Mastery
    bit.ly/2xJi08L
    Advanced Servo Motion Mastery
    bit.ly/2zoF6Up
    onlineplcsupport.com/
    Visit: www.allen-bradley-plc-trainin...
    Other social media:
    LinkedIn: / shane-welcher-sr
    Facebook: / onlineplcsupport
    #PID #PIDTuning #PLCPID

ความคิดเห็น • 84

  • @ShaneWelcher
    @ShaneWelcher  4 ปีที่แล้ว +3

    *Check out our training center:
    **allen-bradley-plc-training.teachable.com/*

  • @rahulrpatil3005
    @rahulrpatil3005 6 ปีที่แล้ว +3

    Best video on PID available till date... well done SIR... great video ...

    • @ShaneWelcher
      @ShaneWelcher  6 ปีที่แล้ว +2

      RAHUL PATIL
      Thank you, this is why I make videos and training. I have two servo courses on Udemy and a patreon members group for custom training but again, thank you for the support on my TH-cam channel.
      Thanks,
      Shane

  • @yvestj1
    @yvestj1 3 ปีที่แล้ว +1

    Hi Shane,
    i want to congratulate you to this Video. I just found it while I was searching some Themes for tutorial Videos. The reason is that I´m working for the German Rockwell Distributer and make Videotutorials in German.
    This Video is for sure one of the best about Tuning a PID Loop.

    • @ShaneWelcher
      @ShaneWelcher  3 ปีที่แล้ว

      Thank you very much for the support & glad to see it is helpful

  • @koffyolomide_mopao4350
    @koffyolomide_mopao4350 ปีที่แล้ว +1

    Truly speaking, this is la creme de la creme. Congrats Shane

    • @ShaneWelcher
      @ShaneWelcher  ปีที่แล้ว +1

      I appreciate your comment, let me know where I can help

  • @billyfontenot6365
    @billyfontenot6365 2 ปีที่แล้ว +1

    i enjoyed this video alot wish you do more pid loops awesome work on showing us

    • @ShaneWelcher
      @ShaneWelcher  2 ปีที่แล้ว

      I have more PID videos, just use the search tab on my channel then all the videos will appear that I have.
      Hope that helps

  • @timcombs7646
    @timcombs7646 2 ปีที่แล้ว +1

    Very well done PID definition and instruction.

  • @AcroReparos
    @AcroReparos 2 ปีที่แล้ว +1

    Ola Shane! Ótimo vídeo! Abraço do Brasil 🇧🇷

  • @int3rf3ar
    @int3rf3ar 6 ปีที่แล้ว +1

    Really thanks !!

  • @lambro8052
    @lambro8052 6 ปีที่แล้ว +1

    Nice.

  • @mdwatkins1968
    @mdwatkins1968 5 ปีที่แล้ว

    Thanks for sharing. How can you use this if it is a digital output, say to SS Relay controlling a heater with a
    Thermocouple as the input?

    • @ShaneWelcher
      @ShaneWelcher  5 ปีที่แล้ว +1

      Use the PID error for logical control, I have a video on this on my channel, just search PID on my channel.
      I have the video and it is where I made an AOI to do this exact feature so it may be under and add on instruction search on my channel.
      If you can't find it then let me know and I will make sure I re-publish it.

  • @ManuelMartinez-fx6ql
    @ManuelMartinez-fx6ql 4 ปีที่แล้ว

    Hi Shane very nice video, have you got any video where explains how to configure the simulate PV rung?

    • @ShaneWelcher
      @ShaneWelcher  4 ปีที่แล้ว +1

      I think so, just search the channel to see.

  • @Douglasngarcia
    @Douglasngarcia 3 ปีที่แล้ว

    Excelent.

  • @englandrasmussen3111
    @englandrasmussen3111 5 ปีที่แล้ว +1

    Good video. Very informative. I am trying to control the PH of a water treatment system. My tolerances are pretty wide so I don't have to get it exact. What is the difference between the Process Variable and the Control Variable? Any tips on using a PID loop in RSLogix5000 with the PH as a process variable to control a mineral injection motor/pump? Upon further research, I have come to the realization that controlling PH is a nonlinear process so it complicates the matter.

    • @ShaneWelcher
      @ShaneWelcher  5 ปีที่แล้ว

      The PV is the input value to the PID loop.
      The CV is the control
      The PID will react based on the set up of the PID loop but to be honest there are tons of more variables that need to be answered if you wanted to a solution to what you are asking.
      The setup of the loop matters greatly....meaning, physical setup and the PID loop itself

  • @fethilakhdari1078
    @fethilakhdari1078 ปีที่แล้ว +1

    Hello Shane,
    Is there a rational method to determine what should be changed, by how much and in which direction. It sounds as if we are making changes without any prior guidance or reason, and then if needed, and as often as needed, we are reversing these changes or acting on other parameters, or for that matter, reinforcing the previously made changes? There is a lot of guesswork that is not easily analyzed or planned for in this approach to tunning PID.
    Thanks anyway for sharing with us your expertise

    • @ShaneWelcher
      @ShaneWelcher  ปีที่แล้ว

      First I would ask if you are using a PIDE or PID.
      Then I would say a lot depends on the actual device set up & the timing of the reaction from the devices used.
      Meaning, if you are making a lot of changes then it seems more like a mechanical issue.
      Whether pipe, valve, pump, air, flow, or whatever is being used.
      The process is very dependent on the process & how it's physically setup

  • @michaelpedersen9728
    @michaelpedersen9728 5 ปีที่แล้ว

    Shane, first of all thanks for all the helpful and educational videos!
    A couple of questions about your PID setup:
    (1) at time 16:00/22:04, why your simulator in rung 2 has a calculated value PV1=1250.3518 while the PID process variable (PV1) shows 500.14243?
    (2) You use a 100 msec timer to run/control your PID in rung 1. In that context, what is the loop update time that you show at 19:41/22:04 of video?
    (3) Could you possibly add a video that explains more about the function of the different parameters of the PID configuration?
    Thanks in advance.

    • @ShaneWelcher
      @ShaneWelcher  5 ปีที่แล้ว +2

      I can try but at the time my wife is days away from being induced so my son is about to be born. I will make a note to try to make one but feel free to remind me through my website bit.ly/2D4F2gj

    • @michaelpedersen9728
      @michaelpedersen9728 5 ปีที่แล้ว +1

      @@ShaneWelcher No rush Shane. You should be with your wife during this special life-changing event. Congratulations!
      There is already a lot of good information in current video, just thought a little more could be said on parameter configuration.

  • @AlloyedFrequencies
    @AlloyedFrequencies 10 หลายเดือนก่อน +2

    Thank You

  • @edinsonfabianbarbaavila5863
    @edinsonfabianbarbaavila5863 5 ปีที่แล้ว +1

    hello Shane, i liked your video, i am working in a college project where i need used the module imc in block diagram but i dont know how tune this block, i have the instruction set manual but it doesnt say so much, i need help , please if you know any about that could you help me?

    • @ShaneWelcher
      @ShaneWelcher  5 ปีที่แล้ว

      What software are you using exactly?

  • @JokerAnarchy
    @JokerAnarchy 3 ปีที่แล้ว +1

    Hey Shane, I was wondering if a drive could cause a velocity error? I have a machine with 6 axis all set up the same. Only one axis has a high velocity error. We took apart conveyor and inspection all bearing and gearbox? Didn’t find anything to cause the velocity to spike. Could it be a bad drive. They are 25 plus years old?

    • @ShaneWelcher
      @ShaneWelcher  3 ปีที่แล้ว

      Could be the drive or the drive tuning but I would also check for noise.
      Dirty power from a lost ground or using an oscilloscope to on any speed reference wiring if any is used.
      Might also be the drive current is higher than expected.
      Example:
      Drive outputting double the flux current the motor.
      The start boost or run boost could be too high.
      There really could be a number of causes.
      Depends on the drive & the setup

  • @Rottweilerz
    @Rottweilerz 3 ปีที่แล้ว +1

    Just wanted to add my 2 cents given I just went through a troubleshooting exercise with Rockwell. For Logix5000 they do not recommend having any conditions on the PID instruction rung, rather just keeping the instruction inside of a Period Task with the same interval as the Loop Update Time.

    • @ShaneWelcher
      @ShaneWelcher  3 ปีที่แล้ว +1

      With your 2 cents accepted, make sure you know that these videos are just showing & teaching experience.
      Not anything written in stone.
      These are examples.
      If you know about PID programming through Rockwell then note that this is their actual sample code from years ago.
      The sample is just a test method from using conditions.
      That is a better way to teach.
      We all know that due to privacy rights, we can't show real life machines unless we own them

    • @Rottweilerz
      @Rottweilerz 3 ปีที่แล้ว +2

      @@ShaneWelcher Right...but in my case, which could easily be the case of others, I ended up at this video as well as other forums where users have incorrectly advised using Timer DN bits as a condition in their PID instruction rung. This wasn't even the point of your video, but nonetheless I wanted to mention it since it was valuable in my particular case.

    • @ShaneWelcher
      @ShaneWelcher  3 ปีที่แล้ว +1

      @@Rottweilerz
      I agree that other points can be said, note that all PID loops are different.
      They are dependant on the actual devices used & setup.
      This is what throws a wrench in teaching tuning so that is why I used the same code so that it would handle the tuning knowledge.
      At least, small piece of knowledge that people can learn from for what the P, The I, & the D stand for.

    • @ShaneWelcher
      @ShaneWelcher  3 ปีที่แล้ว +2

      Thanks for helping, hope all is well

  • @bikin3156
    @bikin3156 3 ปีที่แล้ว +1

    I set the logic diagram and pid setting exactly the same as yours, but when i put the PID in Auto Operation then the Output strike to 100%, the curve move fast to 2000 (SP set to 250), is there I missed for something here?

    • @ShaneWelcher
      @ShaneWelcher  3 ปีที่แล้ว

      Maybe the PID tuning from what you are saying or either the scan rate of the processor.
      I used a periodic task at 75ms

  • @gftmedia6572
    @gftmedia6572 5 ปีที่แล้ว +1

    How i can made PID for 3 analog solid state relay connected to 3 heaters ?To keep the temperature on 50 Celsius

    • @ShaneWelcher
      @ShaneWelcher  5 ปีที่แล้ว +1

      Look on my channel and search PID, there should be a video about that....I think PWM

    • @ShaneWelcher
      @ShaneWelcher  5 ปีที่แล้ว

      It may be under Add on instructions so search that as well

  • @angeltobar5126
    @angeltobar5126 5 ปีที่แล้ว +1

    Thanks the answer, could share one example of routine for PI ? , and wthat happen with D gain ?

    • @ShaneWelcher
      @ShaneWelcher  5 ปีที่แล้ว

      Thank you for the suggestion and the question, I will try to put something together. I am currently in process of making a new training environment to have a better place for everyone to learn from.

  • @angeltobar5126
    @angeltobar5126 5 ปีที่แล้ว

    Is posible use this PID in order to control motor speed of the spooler (winder or unwinder )? , if is not posible, which would be the reason ?thansk in advance

    • @ShaneWelcher
      @ShaneWelcher  5 ปีที่แล้ว

      Angel Tobar
      Truthfully, I would write a routine for PI and not use a PID. The use of a PI is a natural logic control for winders and speed control

  • @paulrogers8459
    @paulrogers8459 5 ปีที่แล้ว +1

    Can a different formula be put into the compute instruction to allow the PID to simulate a PV - SP control action?

    • @ShaneWelcher
      @ShaneWelcher  5 ปีที่แล้ว

      Yes, this was just an example. Nothing written is stone

    • @paulrogers8459
      @paulrogers8459 5 ปีที่แล้ว

      I have been unsuccessful getting the PID to work in reverse acting PV-SP mode. Have you created a formula for that function?

    • @ShaneWelcher
      @ShaneWelcher  5 ปีที่แล้ว

      @@paulrogers8459
      I do in the sample logic I did in the video

    • @ShaneWelcher
      @ShaneWelcher  5 ปีที่แล้ว

      @@paulrogers8459
      I'm just getting home from my wife having our son, it may take a few days for me to get things situated so I can help out more.

    • @paulrogers8459
      @paulrogers8459 5 ปีที่แล้ว

      Congratulations on the birth of your son. Yes, definitely no problem, whenever you may have time. The PID works great in SP-PV mode but not in PV-SP mode with that calculation in the compute instruction.

  • @naman.maheshwari212
    @naman.maheshwari212 3 ปีที่แล้ว +1

    Sir, in CONFIGURATION of PID what is role of NO BIAS CALCULATION.
    does it effect the oscillation.

    • @ShaneWelcher
      @ShaneWelcher  3 ปีที่แล้ว +1

      The best way to control oscillating in my opinion is to properly tune to loop.
      Although, if this is a real system that is currently working then please note.
      Physical, electrical, & the Proportional, the integral, & the derivative.
      There are more things to consider than just the program.
      Just keep that in mind

    • @naman.maheshwari212
      @naman.maheshwari212 3 ปีที่แล้ว

      @@ShaneWelcher thank you sir.

    • @ShaneWelcher
      @ShaneWelcher  3 ปีที่แล้ว

      @@naman.maheshwari212 Welcome my friend

  • @jesusbrambilla8529
    @jesusbrambilla8529 5 ปีที่แล้ว +1

    TB1 tag AS YOU HAVE CONFIGURED?

    • @ShaneWelcher
      @ShaneWelcher  5 ปีที่แล้ว

      Please be specific, these are my older videos and it would help to know what you need help with.

  • @vorapobautomation9760
    @vorapobautomation9760 ปีที่แล้ว +1

    What is the %output meaning in this PID block ?

    • @ShaneWelcher
      @ShaneWelcher  ปีที่แล้ว +1

      That would be used for controlling a device in the field, I didn't show that because I simulated the logic to show how a PID works

  • @edinetgrunhed6000
    @edinetgrunhed6000 ปีที่แล้ว +1

    if you have sample or acd file it will be very good for us,anyway thanks for this helpfulvideo

    • @ShaneWelcher
      @ShaneWelcher  ปีที่แล้ว

      Just build the logic that is shown, this way it provides you more value.
      Or you could join my PIDE training which provides files and a way to easily learn.
      www.allen-bradley-plc-training.com/p/pide-training-with-trainer-included

  • @subha3210
    @subha3210 4 ปีที่แล้ว

    Best video and great work but need to zoom in the screen little bit

    • @ShaneWelcher
      @ShaneWelcher  4 ปีที่แล้ว

      It's a free video, why complain?
      I can take it down if people don't like it

    • @subha3210
      @subha3210 4 ปีที่แล้ว

      No I am not complaining , as a electronics engineer your tutorials bring me to the next level.It's only a request

    • @ShaneWelcher
      @ShaneWelcher  4 ปีที่แล้ว +1

      @@subha3210 No worries, it is an older video & we all have to learn as we go so I have much better quality now

  • @mostafamahmoud8804
    @mostafamahmoud8804 3 ปีที่แล้ว +1

    someone give him a Nobel prize, please.

    • @ShaneWelcher
      @ShaneWelcher  3 ปีที่แล้ว

      Thank you for the kind words.

  • @spk7054
    @spk7054 5 ปีที่แล้ว

    When use Auto_Req Or Manual_Req ?

    • @ShaneWelcher
      @ShaneWelcher  5 ปีที่แล้ว +1

      Auto is for auto mode and standard controls generally but a manual is often used as a maintenance task or is something is wrong.

    • @spk7054
      @spk7054 5 ปีที่แล้ว +1

      Shane Welcher thank you so much

  • @vorapobautomation9760
    @vorapobautomation9760 3 ปีที่แล้ว +2

    What is the difference between Independent and Dependent mode ?

    • @ShaneWelcher
      @ShaneWelcher  3 ปีที่แล้ว +2

      The way the PID equation calculates.
      Quick example is:
      Independent
      Changing one gains only affects that term and not any of the others
      Dependant
      Changing the controller gains you change the action of all 3 terms, proportional, intergral, derivative, at the same time

    • @vorapobautomation9760
      @vorapobautomation9760 3 ปีที่แล้ว +2

      @@ShaneWelcher Thank you very much

  • @DeepakKumar-eg7hf
    @DeepakKumar-eg7hf 5 ปีที่แล้ว +1

    LOOP UPDATE TIME ?

    • @ShaneWelcher
      @ShaneWelcher  5 ปีที่แล้ว +2

      Deepak Kumar
      Yes, did you not watch the whole video?
      Please watch again my friend

  • @irfanghouri2010
    @irfanghouri2010 5 ปีที่แล้ว

    Pls update new video

    • @ShaneWelcher
      @ShaneWelcher  5 ปีที่แล้ว

      What do you want to see?
      This video is not that old as far as software.
      Do you mean software version?

  • @ramchargerxyz
    @ramchargerxyz 5 หลายเดือนก่อน

    please use a bright colored pen next time

    • @ShaneWelcher
      @ShaneWelcher  5 หลายเดือนก่อน

      I do in my new videos