AutomationDirect
Search
Login | Register
Accounts & Orders
Cart
0
$0.00

Recent Orders

View and Manage | Request Cancellation

Your Account

Account Home

Checkout   $0.00


  • My Orders
  • Product Returns (RMAs)
  • Pay Proforma Invoices
  • Pay Freights
  • Invoices / Invoice Reprint
  • Quotes / Favs / BOMs
  • Packing List Reprint
  • My Product Docs
  • Credit Application
  • Tax Exemption
| Direct Sales in US and Canada | 1-800-633-0405 | About Us | Contact Us | Line Card
Products | Support
| Compare
  
Ordering Tools  
warning Cookies are not enabled on your browser.
Cookies are required for our site. Please enable cookies in your browser preferences to continue.
+
Navigation
+
Shopping Categories
  • Barcode / RFID / Vision
  • Bulk Wire & Cable
  • Cables (Terminated)
  • Circuit Protection / Fuses / Disconnects
  • Communications
  • Drives & Soft Starters
  • Enclosure Thermal Management & Lights
  • Enclosures & Racks
  • Field I/O
  • HMI (Human Machine Interface)
  • Hydraulic Components
  • Motion Control
  • Motor Controls
  • Motors
  • Pneumatic Components
  • Power Products (Electrical)
  • Power Transmission (Mechanical)
  • Process Control & Measurement
  • Programmable Controllers
  • Pushbuttons / Switches / Indicators
  • Relays / Timers
  • Safety
  • Sensors / Encoders
  • Stacklights
  • Structural Frames / Rails
  • Tools & Test Equipment
  • Valves
  • Water (Potable) Components
  • Wiring Solutions
  • Retired Products
+
Learn More
  • Brand Line Card
  • What's New
  • E-newsletter
  • Online PDF Catalog
  • Video Tutorials
  • Company Reviews
  • Learning Library
  • Affordable Training
  • Free Online PLC training
  • Cybersecurity
+
In Depth Product Sites
  • Programmable Logic Controllers
  • Productivity1000 PLCs
  • Productivity2000 PLCs
  • Productivity3000 PLCs
  • ProductivityCODESYS
  • LS Electric XGB Series PLCs
  • ProductivityOpen
  • CLICK PLCs
  • Do-more H2 PLCs or
    Do-more T1H Series
  • Do-more BRX PLCs
  • C-more Touch Panels
  • AC & DC Drives
  • Motion Control Components
  • Servos
  • StrideLinx
  • Pneumatics
+
Product Selectors &
Configuration Utilities
  • PLC Family Selector
  • P1000 PLC Systems
  • P2000 PLC Systems
  • P3000 PLC Systems
  • ProductivityCODESYS
  • CLICK PLC Systems
  • Do-more® BRX PLC Systems
  • LS-Electric® XGB PLC Systems
  • Productivity®Open Systems
  • AC Motors
  • Datalogic® Safety Light Curtains
  • LS-Electric® Servo Systems
  • Nitra® Pneumatic Grippers
  • Object Detection (Sensors)
  • PAL Controller Configurator
  • Precision Gearbox Selector
  • Protos X® Field I/O
  • Quadritalia® Modular Enclosures
  • Stellar® Soft Starters
  • Stepper System Selector
  • SureFrame T-slot Extrusion
  • SureMotion® XYZ Gantry
  • SureServo2® System Selector
  • SureStep® Linear Actuators
  • Timing Belts & Pulleys
  • Werma® Stacklights
  • ZIPLinks

Productivity PID Loop Part 10 - PID Tuning from AutomationDirect


Related Documents


PID Loop Programming Parts 1-11


Productivity3000 - PID Demo Project


C-more Touch Panel - PID Demo Project



Related Products

P2-16NE3
P2-16NE3 Thumbnail
P2-32ND3-1
P2-32ND3-1 Thumbnail
P2-32NE3
P2-32NE3 Thumbnail
P2-08TD1S
P2-08TD1S Thumbnail
P2-08TD2S
P2-08TD2S Thumbnail
P2-08TD1P
P2-08TD1P Thumbnail
P2-08TD2P
P2-08TD2P Thumbnail
P2-15TD1
P2-15TD1 Thumbnail
P2-15TD2
P2-15TD2 Thumbnail
P2-16TD1P
P2-16TD1P Thumbnail
P2-16TD2P
P2-16TD2P Thumbnail
P2-32TD1P
P2-32TD1P Thumbnail
P2-32TD2P
P2-32TD2P Thumbnail
P2-08NAS
P2-08NAS Thumbnail
P2-16NA
P2-16NA Thumbnail
P2-08TAS
P2-08TAS Thumbnail
P2-16TA
P2-16TA Thumbnail
P2-08TRS
P2-08TRS Thumbnail
P2-16TR
P2-16TR Thumbnail
P2-04AD
P2-04AD Thumbnail
P2-08AD-1
P2-08AD-1 Thumbnail
P2-08AD-2
P2-08AD-2 Thumbnail
P2-08ADL-1
P2-08ADL-1 Thumbnail
P2-08ADL-2
P2-08ADL-2 Thumbnail
P2-16AD-1
P2-16AD-1 Thumbnail
P2-16AD-2
P2-16AD-2 Thumbnail
P2-16ADL-1
P2-16ADL-1 Thumbnail
P2-16ADL-2
P2-16ADL-2 Thumbnail
P2-04DA
P2-04DA Thumbnail
P2-04DAL-1
P2-04DAL-1 Thumbnail
P2-04DAL-2
P2-04DAL-2 Thumbnail
P2-08DA-1
P2-08DA-1 Thumbnail
P2-08DA-2
P2-08DA-2 Thumbnail
P2-16DA-1
P2-16DA-1 Thumbnail
P2-16DA-2
P2-16DA-2 Thumbnail
P2-08DAL-1
P2-08DAL-1 Thumbnail
P2-08DAL-2
P2-08DAL-2 Thumbnail
P2-16DAL-1
P2-16DAL-1 Thumbnail
P2-16DAL-2
P2-16DAL-2 Thumbnail
P2-8AD4DA-1
P2-8AD4DA-1 Thumbnail
P2-8AD4DA-2
P2-8AD4DA-2 Thumbnail
P2-08THM
P2-08THM Thumbnail
P2-06RTD
P2-06RTD Thumbnail
P2-08NTC
P2-08NTC Thumbnail
P2-SCM
P2-SCM Thumbnail
P2-HSI
P2-HSI Thumbnail
P2-HSO
P2-HSO Thumbnail
P2-08SIM
P2-08SIM Thumbnail
P3-550E
P3-550E Thumbnail
P3-550
P3-550 Thumbnail
P3-530
P3-530 Thumbnail
P3-RS
P3-RS Thumbnail
P3-RX
P3-RX Thumbnail
P3-EX
P3-EX Thumbnail
P3-03B
P3-03B Thumbnail
P3-05B
P3-05B Thumbnail
P3-08B
P3-08B Thumbnail
P3-11B
P3-11B Thumbnail
P3-01AC
P3-01AC Thumbnail
P3-01DC
P3-01DC Thumbnail
P3-08ND3S
P3-08ND3S Thumbnail
P3-16ND3
P3-16ND3 Thumbnail
P3-32ND3
P3-32ND3 Thumbnail
P3-64ND3
P3-64ND3 Thumbnail
P3-08TD1S
P3-08TD1S Thumbnail
P3-08TD2S
P3-08TD2S Thumbnail
P3-16TD1
P3-16TD1 Thumbnail
P3-16TD2
P3-16TD2 Thumbnail
P3-32TD1
P3-32TD1 Thumbnail
P3-32TD2
P3-32TD2 Thumbnail
P3-64TD1
P3-64TD1 Thumbnail
P3-64TD2
P3-64TD2 Thumbnail
P3-08NAS
P3-08NAS Thumbnail
P3-16NA
P3-16NA Thumbnail
P3-08TAS
P3-08TAS Thumbnail
P3-16TA
P3-16TA Thumbnail
P3-08TRS
P3-08TRS Thumbnail
P3-08TRS-1
P3-08TRS-1 Thumbnail
P3-16TR
P3-16TR Thumbnail
P3-04ADS
P3-04ADS Thumbnail
P3-08AD
P3-08AD Thumbnail
P3-16AD-1
P3-16AD-1 Thumbnail
P3-16AD-2
P3-16AD-2 Thumbnail
P3-08RTD
P3-08RTD Thumbnail
P3-08THM
P3-08THM Thumbnail
P3-04DA
P3-04DA Thumbnail
P3-08DA-1
P3-08DA-1 Thumbnail
P3-08DA-2
P3-08DA-2 Thumbnail
P3-06DAS-1
P3-06DAS-1 Thumbnail
P3-16DA-1
P3-16DA-1 Thumbnail
P3-16DA-2
P3-16DA-2 Thumbnail
P3-8AD4DA-1
P3-8AD4DA-1 Thumbnail
P3-8AD4DA-2
P3-8AD4DA-2 Thumbnail
P3-SCM
P3-SCM Thumbnail
P3-HSI
P3-HSI Thumbnail
P3-HSO
P3-HSO Thumbnail
P3-16SIM
P3-16SIM Thumbnail
P1-USER-M
P1-USER-M Thumbnail
PCON-KIT
PCON-KIT Thumbnail
P1-10RTB-1
P1-10RTB-1 Thumbnail
P1-10RTB
P1-10RTB Thumbnail
P1-04PWM
P1-04PWM Thumbnail
P1-02HSC
P1-02HSC Thumbnail
P1-04RTD
P1-04RTD Thumbnail
P1-4ADL2DAL-2
P1-4ADL2DAL-2 Thumbnail
P1-4ADL2DAL-1
P1-4ADL2DAL-1 Thumbnail
P1-08DAL-2
P1-08DAL-2 Thumbnail
P1-04DAL-1
P1-04DAL-1 Thumbnail
P1-08ADL-2
P1-08ADL-2 Thumbnail
P1-08ADL-1
P1-08ADL-1 Thumbnail
P1-04AD
P1-04AD Thumbnail
P1-08TA
P1-08TA Thumbnail
P1-08NA
P1-08NA Thumbnail
P1-15TD2
P1-15TD2 Thumbnail
P1-15TD1
P1-15TD1 Thumbnail
P1-16NE3
P1-16NE3 Thumbnail
P1-16ND3
P1-16ND3 Thumbnail
P1-08NE3
P1-08NE3 Thumbnail
P1-02AC
P1-02AC Thumbnail
P1-01DC
P1-01DC Thumbnail
P1-550
P1-550 Thumbnail
P1-540
P1-540 Thumbnail
P1-START
P1-START Thumbnail
MICSD-16G
MICSD-16G Thumbnail
P1-01AC
P1-01AC Thumbnail
P1-08ND3
P1-08ND3 Thumbnail
P1-08TD1
P1-08TD1 Thumbnail
P1-08TD2
P1-08TD2 Thumbnail
P1-15CDD1
P1-15CDD1 Thumbnail
P1-15CDD2
P1-15CDD2 Thumbnail
P1-16CDR
P1-16CDR Thumbnail
P1-08TRS
P1-08TRS Thumbnail
P1-16TR
P1-16TR Thumbnail
P1-04ADL-1
P1-04ADL-1 Thumbnail
P1-04ADL-2
P1-04ADL-2 Thumbnail
P1-04DAL-2
P1-04DAL-2 Thumbnail
P1-04THM
P1-04THM Thumbnail
P1-04NTC
P1-04NTC Thumbnail
P1-08SIM
P1-08SIM Thumbnail
PS-PGMSW
PS-PGMSW Thumbnail
P2-550
P2-550 Thumbnail
P2-RS
P2-RS Thumbnail
P2-START2
P2-START2 Thumbnail
P2-04B
P2-04B Thumbnail
P2-07B
P2-07B Thumbnail
P2-11B
P2-11B Thumbnail
P2-15B
P2-15B Thumbnail
P2-01AC
P2-01AC Thumbnail
P2-01DCAC
P2-01DCAC Thumbnail
P2-08ND3-1
P2-08ND3-1 Thumbnail
P2-08NE3
P2-08NE3 Thumbnail
P2-16ND3-1
P2-16ND3-1 Thumbnail


To learn more: https://www.automationdirect.com/productivity?utm_source=GbzaYRPyW48&utm_medium=VideoTeamDescription

(VID-P3-0043)

Part 10 of 11

PID Tuning.

Online Support Page: https://community.automationdirect.com/s/?utm_source=GbzaYRPyW48&utm_medium=VideoTeamDescription

**Please check our website for our most up-to-date product pricing and availability.


Hide Transcript
View Transcript

One of the critical areas when using a PID Loop Controller is getting it Tuned just right by adjusting the various terms for Proportional, Integral and Derivative. And because in most cases we need to have our system ‘live’ during Tuning, we need to be concerned with Safety. SAFETY! OK, during operation and tuning of any type of process control, it is very important to follow all safety guidelines and procedures. There can be many different conditions that will affect safety, so it is up to the end user to totally understand their application and all potential hazards that can take place. Tuning a PID Loop while connected to a process can cause unexpected results. So as a safety starting point, make sure all personnel are clear of the process area, and if possible, have the process operating in manual mode and manually adjust the Process Output value to produce as much of a steady state as possible. During the Loop tuning procedure, always be near the Emergency Stop push button or switch that controls power to the Loop Actuator in case a shutdown is necessary. Once I have all of the equipment in place, wired, and checked out, I can then start the process. I first apply power to the equipment and press the Power On push button. Using the C-more Touch Panel’s Parameter Screen, I start with a value of ‘10’ for the Proportional gain, a value of ’65,535’ for the Integral time reset, which essentially turns it off, and zero for Derivative rate , which takes it out of the equation. I now switch back to the PID Control Screen, and enter a Volume of 1.50 Gallons. I press both the PID Enable and Auto Mode Push Buttons so these bits are ‘On’. The Diaphragm Pump should start to run at maximum output filling the Process Tank from the Reservoir Tank. The purpose at this point is to get enough water so that the level is above the bottom of the Process Tank’s siphon tube. One and a half gallons should do the trick. Once I have the application up and running, I can use the ‘PID Tuning’ feature that is built into the Productivity 3000’s programming software to both monitor the PID loop, and also tune the loop either manually or automatically. I next click on the ‘PID Tuning’ feature located under the Monitor & Debug folder in the Application Tools panel to initiate this feature. The PID Tuning window will show charts for all the variables and allow changing settings for manual tuning, and also automatically tuning the PID loop. Next I will change the Volume to 3.00 gallons while monitoring the results. As can be seen with the PID Tuning window, the volume has trouble reaching the Set Point, mainly because a Proportional gain of ‘10’, along with no Integral reset time, the ‘65,535’ I entered earlier, doesn’t produce enough Process Output, or as I like to call it, ‘umph’ for our particular application. The Volume barely reaches 2.00 gallons. Next I disable the PID Loop, crack open the Ball Valve to allow the Process Tank to start draining, which lowers the tank’s volume. I change the Integral reset time value to ‘1’, which allows for a faster correction of the accumulation of ‘past’ errors, as we learned earlier in this tutorial, but leave the Proportional gain at ‘10’. As now seen with the PID Tuning window, the Diaphragm Pump is driven at full output, bringing the volume up to our Set Point value with some overshoot. After oscillating around the Set Point for a period of time, the volume settles down, but the time it takes to do so is very slow. The next step will be to obtain a faster response by increasing the Proportional gain in steps, enter a new Set Point value, monitor the response using the PID Tuning window, and make additional adjustments to the Integral reset time value to reduce oscillations. After some trial and error in making changes to the Proportional gain and Integral reset time values, changing my Set Point, monitoring the response, and repeating these steps, I end up with a Proportional gain of ‘200’ and an Integral time reset value of ‘5’. This gave me the fastest response when Set Point changes were made with very little overshoot and minimum oscillations. Please note that because our application process is somewhat slow in responding, I did not require any Derivative rate time. In fact, in my application, adding any Derivative actually caused the PID Loop to become unstable. Now that I have my PID Loop manually tuned with an acceptable performance, let’s see how well the Productivity 3000’s built-in Auto Tune feature will work for us. To use the Auto Tune feature, I will switch the PID Loop Control to Manual Mode by pressing the PID Auto push button on the C-more Touch Screen so it is ‘Off’. I see the ‘Auto’ indicator on the PID Faceplate change to ‘Manual’. Next I use the PID Tuning window in the programming software to manually adjust the Process Output value to produce a steady state for my PID Loop. I keep the default for an Initial PV Bump of 5% and leave the PV Deadband at ‘0’. Again our process did not require a Derivative value, so I check the PI radio button, and not the PID button. Next I click on the Auto Tune ‘Start’ button in the PID Tuning window. The current Process Variable will be copied to the Set Point value, in our example this became a volume of 3.0036323 gallons. The Process Output will go to the upper limit (65,535) and drive the Diaphragm Pump full on to increase the volume in the tank at one gallon per minute. Once the Process Variable reaches the Initial PV Bump, in our case 5%, or approximately 3.15 gallons, the Process Output will go to the lower limit (0) and the pump stops. The Process Tank continues to drain through the slightly opened Ball Valve. Eventually the Process Variable falls below the Set Point and the Output is then driven to the Output upper limit, or in other words the Diaphragm Pump is full on again. When the Process Variable rises above the Set Point, the Output is driven to the Output lower limit again. The Output cycling pattern continues for three full cycles, and when completed, the Auto Tune routine calculates the new values for the Proportional and Integral terms and writes them into the appropriate Tagnames. In my case, my final Proportional gain value equals ‘193’ and my Integral reset time value equals ‘4’. These values are almost identical to the values that were determined by my earlier trial and error manual tuning effort. It looks like the Productivity 3000’s built-in Auto Tune did its job! Follow me to our last video in this series and I will demonstrate our PID Loop Control application example.



No data returned!
An error has occurred! Please contact support
Videos Home > Productivity PID Loop Part 10 - PID Tuning from AutomationDirect
Contact, Connect & More
Sign Up
to receive:
FREE e-Newsletter
sign up today!
Connect With Us
Social Media Channels:
linkedin    facebook    x    instagram    youtube
Company Information
About Us
Brand Line Card
System Integrator Program
International Sales
Panel Builder Program
Site Help
Company Reviews
Download Price List
Contact Us
Contact Options
1-800-633-0405
Monday - Friday
9 a.m. - 6 p.m. ET
excluding holidays
Career Opportunities
Voted #1 mid-sized employer in Atlanta
We're a great place to work!
Check out our job openings

Need Training?
Affordable Training by Interconnecting Automation
Free Online PLC Training
FREE Video Tutorials
Information & News
What's New / In The News
FREE e-Newsletter
Automation Notebook
Product Literature
White Papers
News, Product and Training Bulletins
E-Books
Shop with confidence
Checked   Safe & Secure
payment methods


We accept VISA, MasterCard, Discover, American Express, PayPal or company purchase orders.
AutomationDirect

BBB Accredited

Voted #1 mid-sized employer in Atlanta
Check out our job openings

Copyright © 1999-2025 AutomationDirect.  ALL RIGHTS RESERVED.
Site Map     Send Us your Feedback     Unsubscribe     Email Preferences     Legal & Business Policies     YouTube Terms of Service
Clear login credentials



Back to Top


spinner Updating...
Info
„