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

WEG CFW VFD PID Tuning from AutomationDirect


Related Products

CFW100B02P6S220G2
CFW100B02P6S220G2 Thumbnail
CFW100C04P2S220G2
CFW100C04P2S220G2 Thumbnail
CFW100-KHMIR
CFW100-KHMIR Thumbnail
CFW100-IOD
CFW100-IOD Thumbnail
CFW100-IOAR
CFW100-IOAR Thumbnail
CFW100-IOADR
CFW100-IOADR Thumbnail
CFW100-IOA
CFW100-IOA Thumbnail
CFW100-CUSB
CFW100-CUSB Thumbnail
CFW100-CRS485
CFW100-CRS485 Thumbnail
CFW100-IOP
CFW100-IOP Thumbnail
CFW100-KFABC-S2
CFW100-KFABC-S2 Thumbnail
CFW100-KFABC-S1
CFW100-KFABC-S1 Thumbnail
15570800
15570800 Thumbnail
15571879
15571879 Thumbnail
15571881
15571881 Thumbnail
15574655
15574655 Thumbnail
15575067
15575067 Thumbnail
15572625
15572625 Thumbnail
15572689
15572689 Thumbnail
15575202
15575202 Thumbnail
15575701
15575701 Thumbnail
15575716
15575716 Thumbnail
15576540
15576540 Thumbnail
15577077
15577077 Thumbnail
15342437
15342437 Thumbnail
15342760
15342760 Thumbnail
15342909
15342909 Thumbnail
15572819
15572819 Thumbnail
15572908
15572908 Thumbnail
15573714
15573714 Thumbnail
15573819
15573819 Thumbnail
15573823
15573823 Thumbnail
15575568
15575568 Thumbnail
15575577
15575577 Thumbnail
15575665
15575665 Thumbnail
15575699
15575699 Thumbnail
15575707
15575707 Thumbnail
15576919
15576919 Thumbnail
15577021
15577021 Thumbnail
15577211
15577211 Thumbnail
15577452
15577452 Thumbnail
15733937
15733937 Thumbnail
15734064
15734064 Thumbnail
15734119
15734119 Thumbnail
14990863
14990863 Thumbnail
14991103
14991103 Thumbnail
14991753
14991753 Thumbnail
14938005
14938005 Thumbnail
14938047
14938047 Thumbnail
14938113
14938113 Thumbnail
14975838
14975838 Thumbnail
14938655
14938655 Thumbnail
14991953
14991953 Thumbnail
14992148
14992148 Thumbnail
14976517
14976517 Thumbnail
14976809
14976809 Thumbnail
14977065
14977065 Thumbnail
14977266
14977266 Thumbnail
14977397
14977397 Thumbnail
14978365
14978365 Thumbnail
14978573
14978573 Thumbnail
14989840
14989840 Thumbnail
14990985
14990985 Thumbnail
14991517
14991517 Thumbnail
14937890
14937890 Thumbnail
14938041
14938041 Thumbnail
14938111
14938111 Thumbnail
14975783
14975783 Thumbnail
14938547
14938547 Thumbnail
14991899
14991899 Thumbnail
14992113
14992113 Thumbnail
14975888
14975888 Thumbnail
14976683
14976683 Thumbnail
14976814
14976814 Thumbnail
14977261
14977261 Thumbnail
14977391
14977391 Thumbnail
14977629
14977629 Thumbnail
14978548
14978548 Thumbnail
CFW320A01P6S1NB20
CFW320A01P6S1NB20 Thumbnail
CFW320A02P6S1NB20
CFW320A02P6S1NB20 Thumbnail
CFW320A04P2S1NB20
CFW320A04P2S1NB20 Thumbnail
CFW320A06P0S1NB20
CFW320A06P0S1NB20 Thumbnail
CFW320A01P6S2NB20
CFW320A01P6S2NB20 Thumbnail
CFW320A02P6S2NB20
CFW320A02P6S2NB20 Thumbnail
CFW320A04P2S2NB20
CFW320A04P2S2NB20 Thumbnail
CFW320A06P0S2NB20
CFW320A06P0S2NB20 Thumbnail
CFW320A07P3S2NB20
CFW320A07P3S2NB20 Thumbnail
CFW320A01P6T2NB20
CFW320A01P6T2NB20 Thumbnail
CFW320A02P6T2NB20
CFW320A02P6T2NB20 Thumbnail
CFW320A04P2T2NB20
CFW320A04P2T2NB20 Thumbnail
CFW320A06P0T2NB20
CFW320A06P0T2NB20 Thumbnail
CFW320A07P3T2NB20
CFW320A07P3T2NB20 Thumbnail
CFW320B10P0B2DB20
CFW320B10P0B2DB20 Thumbnail
CFW320B15P2T2DB20
CFW320B15P2T2DB20 Thumbnail
CFW320A01P1T4NB20
CFW320A01P1T4NB20 Thumbnail
CFW320A02P6T4NB20
CFW320A02P6T4NB20 Thumbnail
CFW320A03P5T4NB20
CFW320A03P5T4NB20 Thumbnail
CFW320A04P8T4NB20
CFW320A04P8T4NB20 Thumbnail
CFW320B07P6T4NB20
CFW320B07P6T4NB20 Thumbnail
CFW320C11P0T4NB20
CFW320C11P0T4NB20 Thumbnail
CFW320C14P0T4NB20
CFW320C14P0T4NB20 Thumbnail
CFW320B01P1T4DB20
CFW320B01P1T4DB20 Thumbnail
CFW320B02P6T4DB20
CFW320B02P6T4DB20 Thumbnail
CFW320B03P5T4DB20
CFW320B03P5T4DB20 Thumbnail
CFW320B04P8T4DB20
CFW320B04P8T4DB20 Thumbnail
CFW320B07P6T4DB20
CFW320B07P6T4DB20 Thumbnail
CFW320C11P0T4DB20
CFW320C11P0T4DB20 Thumbnail
CFW320C14P0T4DB20
CFW320C14P0T4DB20 Thumbnail
CFW320-CRS232
CFW320-CRS232 Thumbnail
CFW320-CRS485
CFW320-CRS485 Thumbnail
CFW320-CUSB
CFW320-CUSB Thumbnail
CFW320-IODR
CFW320-IODR Thumbnail
CFW320-IOAR
CFW320-IOAR Thumbnail
CFW320-IOAENC
CFW320-IOAENC Thumbnail
MMF-uDrives
MMF-uDrives Thumbnail
CFW320-KHMIR
CFW320-KHMIR Thumbnail
CFW320-KFA-S1-S2
CFW320-KFA-S1-S2 Thumbnail
CFW320-KFB-S2
CFW320-KFB-S2 Thumbnail
CFW320-CETH
CFW320-CETH Thumbnail
CFW320-IOP
CFW320-IOP Thumbnail
CFW320-IODF
CFW320-IODF Thumbnail
CFW320-KFA-T2
CFW320-KFA-T2 Thumbnail
CFW320-KFB-T2
CFW320-KFB-T2 Thumbnail
CFW320-KFA-T4
CFW320-KFA-T4 Thumbnail
CFW320-KFB-T4
CFW320-KFB-T4 Thumbnail
CFW320-KFC-T4
CFW320-KFC-T4 Thumbnail
CFW300A01P6S1NB20
CFW300A01P6S1NB20 Thumbnail
CFW300A02P6S1NB20
CFW300A02P6S1NB20 Thumbnail
CFW300A04P2S1NB20
CFW300A04P2S1NB20 Thumbnail
CFW300A06P0S1NB20
CFW300A06P0S1NB20 Thumbnail
CFW300A01P6S2NB20
CFW300A01P6S2NB20 Thumbnail
CFW300A02P6S2NB20
CFW300A02P6S2NB20 Thumbnail
CFW300A04P2S2NB20
CFW300A04P2S2NB20 Thumbnail
CFW300A06P0S2NB20
CFW300A06P0S2NB20 Thumbnail
CFW300A07P3S2NB20
CFW300A07P3S2NB20 Thumbnail
CFW300A01P6T2NB20
CFW300A01P6T2NB20 Thumbnail
CFW300A02P6T2NB20
CFW300A02P6T2NB20 Thumbnail
CFW300A04P2T2NB20
CFW300A04P2T2NB20 Thumbnail
CFW300A06P0T2NB20
CFW300A06P0T2NB20 Thumbnail
CFW300A07P3T2NB20
CFW300A07P3T2NB20 Thumbnail
CFW300B10P0B2DB20
CFW300B10P0B2DB20 Thumbnail
CFW300B15P2T2DB20
CFW300B15P2T2DB20 Thumbnail
CFW300-CRS232
CFW300-CRS232 Thumbnail
CFW300-CRS485
CFW300-CRS485 Thumbnail
CFW300-CUSB
CFW300-CUSB Thumbnail
CFW300-KHMIR
CFW300-KHMIR Thumbnail
CFW300-IODR
CFW300-IODR Thumbnail
CFW300-IOAR
CFW300-IOAR Thumbnail
CFW300-IOADR
CFW300-IOADR Thumbnail
CFW300-IOAENC
CFW300-IOAENC Thumbnail
CFW300-KFA-S1-S2
CFW300-KFA-S1-S2 Thumbnail
CFW300-KFB-S2
CFW300-KFB-S2 Thumbnail
CFW-WPS
CFW-WPS Thumbnail
CFW300-FAN-A
CFW300-FAN-A Thumbnail
CFW300-FAN-B
CFW300-FAN-B Thumbnail
CFW100A01P6S120G2
CFW100A01P6S120G2 Thumbnail
CFW100B02P6S120G2
CFW100B02P6S120G2 Thumbnail
CFW100A01P6S220G2
CFW100A01P6S220G2 Thumbnail


To learn more: https://www.AutomationDirect.com/drives?utm_source=nr1kPJKoT-A&utm_medium=VideoTeamDescription

(VID-DR-0112)

Learn how the PID algorithms work with hands-on real world demos instead of theoretical math. In this video we will experiment with the PID coefficients to help give you a better feel for how they work together and how to adjust them to give you the best possible PID tuning.

Download resources used in these videos here: https://library.automationdirect.com/weg-vfd-pid-resource-page/

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

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


Hide Transcript
View Transcript

Let’s repeat the test we did in the Quick Start video with the default coefficients but this time let’s also watch the process variable on an oscilloscope trace. We are at 6 psi and the drive output is at about 33.4 hertz. I’ll open a valve and we see the pressure drop and then slowly climb back up to 6 psi over 10 to 15 seconds. I’ll close the valve quickly and we see the abrupt pressure increase and then it slowly settles out back at 6 psi over 10 to 15 seconds. Each of these divisions is three quarters of a psi so it looks like the pressure dropped maybe a half psi when we opened the valve and rose two and a half psi when we closed the valve abruptly, which makes sense. Opening a valve just relaxes things. Closing a valve quickly creates a very sudden change in the process so you get that big jump in pressure. To optimize that I just double the gain until the response starts to oscillate. The gain is in parameter 931, so let’s double that to a 2. Now if I open that same valve we have a much faster recovery time. Cool. BUT, when I close the valve the recovery drops past 6 psi by about a half a psi so now it takes longer for a valve closing to recover. Interesting. Let’s double P again to 4 and open a valve. Wow, the valve opening recovers in only one and a half seconds! But the valve closing is now overshooting the 6 psi goal by over 1 psi so it is taking even longer to recover. If you don’t have abrupt valve closings, then this won’t be an issue and a P of 4 would work great for you. We’ll assume we do care so let’s keep going and double P again to see what happens. I’ll open the valve and wow, the system recovered so fast the pressure drop is almost non-existent. But the abrupt valve closing is now causing a 1.5 psi overshoot. And worse, we are starting to see some oscillation showing up in the recovery. When you start to see oscillations like this, you know you are pushing things too hard and it’s time to back off to the previous setting. Just for fun, let’s ignore that and double the gain again to 16. Uh-oh, now the whole system is starting to oscillate. The gain is set so high that the noise is forcing PID to overshoot in one direction and the correction is overshooting in the other direction so the system can’t ever settle out. This is an unstable system. If I open a valve you can’t even see the pressure change because the oscillations are so bad, and when I close the valve we see the expected response. This system is on the verge of falling apart, so just for fun let’s push it even harder and double the gain again. If I turn up the sound, you can even hear the water pulsing. OK, enough of that. I’m going to turn the gain back down to something stable like a 2 before something breaks. I’ll open... and close a valve and sure enough we are back to our super stable reasonable response. I kinda like this because it is faster than the 10 to 15 seconds we were seeing with the default PID values, and the overshoot here isn’t any worse than the pressure drop here. That’s a pretty good compromise. Ok, that gives us a good feel for how P affects things. How does the I term affect things? Let’s go to parameter 932 and find out. The default I is 5. Let’s turn it off by entering a zero. Uh-oh. What happened? Our pressure dropped by over 3 psi. Well, that’s a key point to understand about PID. The P term by itself can never get you all the way to your target because once the error gets really small, the P term becomes too small to affect change in the motor speed. Some systems P-only will get you really close, but in pumping systems like this one the effect is really pronounced. The way we get around that is by adding the I term. I’m assuming you are familiar with this diagram which just says measure the current process level – our system psi in this example – and compare it with where you want to be – the setpoint. If there is a difference, or error, then modify the output of the drive to compensate. How much we modify the output is determined by this guy. What’s in that box depends on the type of PID your system is using. In the automation industry there are lots of variations, but the two most common are: the independent or parallel version of the PID algorithm, and the dependent or ISA version of the algorithm. You will find the independent version in a lot of modern digital controllers because you can adjust each term independently without affecting the others. Most industrial controls tend to use the dependent version because it works a lot like the old analog systems where when you change the gain of the system, it also changes everything else. The WEG PID uses the dependent version. And that’s important because every time we doubled P in the previous example, we were also doubling I and D which is currently set to zero. And we can use that to our advantage. P just multiplies the error by a gain and uses that to increase or decrease the output. As we just saw, the problem is once the error gets small, the P term doesn’t have any effect. The I term sums all of those little errors that are too small for P and when that sum gets large enough, it pushes the process to the ultimate target. In the WEG PID implementation, increasing the I coefficient increases the effect I has. In some systems decreasing the I term increases the effect. So, it’s important to know which kind of system you have. Let’s see how that works. I defaulted to 5, but what happens if we set it to a 1? Look! It is summing all of those little errors and slowly pushing our process towards the target. I’ll speed that up so we don’t have to wait and it took almost a minute to get to our 6 psi target. I’ll change I back to the 5, open … and close the valve and sure enough we get the faster response we expect. Ok, let’s double I to 10 and open and close the valves. Ahh, look! The I term seems to be the one that’s impacting the overshoot on the valve closing! And since we were doubling it every time we doubled P, it kept getting worse! So that begs the question. Could we reduce I and increase P to get a faster response with a smaller overshoot? Sure! Let’s cut I in half and run a quick test. Yep, no overshoot, but it is taking about eight or nine seconds to settle. Now let’s double P – which is also doubling I back to its original value - and sure enough we are now settling in 2 to 3 seconds and have minimal overshoot on the valve closing with no oscillating on the response. That’s a pretty solid compromise. Keep in mind this is how my system reacted. Yours will be different, but hopefully now that you see what the coefficients do and how they work together, you will be more comfortable with trying to optimize your system. What about the D term? It’s rare that you will ever need the D term in an industrial application that uses AC motors. The D term is more important in high speed application like robotics, and also temperature. It allows you to push the P and I terms right up to being unstable because the D term moderates fast changes. It looks at how fast things are changing and slows them down a little when they get too large. The point here is start with the recommended default values in the WEG programming manual and then don’t be afraid to try experiments like this. It’s how you learn what your system is capable of and how hard you can push it to get the best possible performance. But what if you don’t have an oscilloscope? Well, guess what? The FREE WEG Programming Software has a built-in PID wizard that displays the process variable AND the setpoint AND the control output in real time for you! No O-scope required! You just need a communications module for the drive so the WPS software can talk to it. How about that! Hopefully this video gave you a better feel for how PID works in a WEG Drive. Click here to see all of the videos in this series. Click here to subscribe to our YouTube channel so you will be notified when we publish new videos and click here to learn about AutomationDirect’s Free award winning support options.



No data returned!
An error has occurred! Please contact support
Videos Home > WEG CFW VFD 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
„