Let's face it. We can't always perform open loop step tests on control loops. Even if we can, frequent load changes can make step tests impractical. Sometimes we must tune control loops by trial and error. In such cases, knowledge and experience are keys to success.
The more experience you have tuning control loops using a recognized method, the better you will be at recognizing poorly tuned loops and tuning them by trial and error. With experience, you can inspect a control loop and instinctively determine if its tuning parameters are reasonable. Furthermore, if you must tune a control loop by trial and error, you will know in which direction to begin moving the tuning parameters. Gaining experience can be difficult, however, and you probably should not practice on production control loops. Consider using my PID Loop Simulator and PID Loop Analyzer to hone your loop tuning skills. Start by studying First Order Plus Dead Time (FOPDT) non-integrating processes, also known as self regulating processes (flow, for example), and then move on to integrating processes (level, for example). Simulate and tune several non-integrating processes, ranging from relatively small process gains to large ones and short process time constants to long ones. Stick with a consistent Lambda value (closed loop time constant), perhaps three times the open loop time constant. Document each one's PID parameters and compare your results. Consider performing the same exercise utilizing the Ultimate method. You can find an example in this document. Then do the same thing with integrating processes. Finally, compare the non-integrating PID parameters to the integrating ones.
View this brief example to help you get started.
I like reading two books of different genres in parallel, usually fiction and nonfiction. I read one for awhile and then switch to the other. I like the contrast. I recently read Douglas Hofstadter's I am a Strange Loop and Scott Adams' Stick to Drawing Comics, Monkey Brain!, the former science and the latter comedy. Instead of contrast, though, I found a unifying theme. Both authors spend considerable time talking about the psychology of consciousness. Hofstadter says we are born without an inner light (a sense of self) and we acquire one through life's many experiences. Likewise, Adams says we are nothing more than "moist robots." Both agree that we have no "free will." Hofstadter says our actions "are the outcomes of physical events inside our heads." Adams has his Pleasure Unit Theory: "People organize their lives to get their minimum required units of pleasure…" According to Hofstadter and Adams, "will" has nothing to do with our actions. Both authors agree that our brains trick us into believing we have a free will. My brain has done a good job of tricking me. I quit using tobacco a few years ago. It was the most difficult thing I have ever done. I wish I could claim it was my strong will that enabled me to quit, but it was apparently in my brain's program. For all I know, I am nothing more than a computer algorithm running in a game console being manipulated by some fat kid with a joystick. If that is the case, I wish the fat kid would give the joystick to a smarter kid.
I highly recommend both books, by the way. Perhaps this commentary will manipulate the physical events inside your brain such that your body will take the actions required for you to read the books. And perhaps your brain will trick you into believing you enjoy them. Mine did.
You may have noticed PID Loop Analyzer's version number creeping up. I fixed several bugs and greatly enhanced its performance over the last couple weeks. I am not ready to declare it bug free (I will never make such a bold statement.) but it passed my latest round of functional and performance tests. No one can find bugs faster than end users, however, so please report any bugs you encounter. I really appreciate all feedback.
I added one new feature, too: a simple report generator. Once you finish analyzing your control loop, click the Enter Data button and select Copy to Clipboard. Open your favorite text editor and paste (Ctrl V) PID Loop Analyzer's report into it. The report contains fields to document the loop number and old PID tuning constants, and it documents the new PID tuning constants and process dynamics. An example follows:
PID Loop Analyzer Report
http://www.clabberhead.com/la/
Loop Number:
Original P:
Original I:
Original D:
New P: 0.718 Gain
New I: 9.6 Repeats per Minute
New D: 0 Minutes
Process Information
Dead Time: 2 Seconds
Process Gain: 0.9 EUs per %OP (0.6 %Span per %OP)
Time Constant: 6.25 Seconds
If you tune PID control loops by trial and error, or even if you tune them using a scientific method, give my PID Loop Analyzer a try. The following description comes out of its documentation: About PID Loop Analyzer.
PID Loop Analyzer is a software tool designed to help you optimally tune your control loops with very little process disruption. You perform an open loop bump test on your production loop and provide the test data to PID Loop Analyzer, and it models your process and suggests PID tuning parameters based on Lambda tuning rules. It allows you to select safe settings from aggressive to conservative. Do you want quarter decay response instead? No problem! You can now tune your loops using Z&N's Ultimate method without putting your production processes into sustained oscillation!
It currently supports first order plus dead time processes (flows, pressures, etc...) only, but the next version will support integrating processes, too. It now supports both first order plus dead time and integrating processes. Once I implement integrating processes and a couple other features, an offline version will be available for a nominal fee. You can find out how to use PID Loop Analyzer in its documentation, About PID Loop Analyzer. I provide links to both in the left sidebar.
Try it out with the following data files. Note the lower range value, upper range value, and column assignments at the top of each file.
Please post comments, bug reports, and feature requests in the comment section or send them to the email address at the bottom of the left sidebar.
You are strolling down a busy sidewalk. You hear tires screech, and you turn just in time to see a car hit a pedestrian and speed away. The victim is lying in the busy street, injured and bleeding, just yards away from you. What do you do? Do you spring into action and help the victim? Do you call for help? Perhaps you continue on your way and hope someone else helps the poor soul.
You may remember watching the news report of 78-year-old hit-and-run victim Angle Torres lying in the street while onlookers ignored him, and motorists swerved around him and continued on their way. It was a horrific scene that outraged many people and called the onlookers' humanity into question. Would you have helped Mr. Torres? You may not have helped him because of a psychological phenomenon called "The Bystander Effect."
According to wikipedia, "The bystander effect [...] is a psychological phenomenon in which someone is less likely to intervene in an emergency situation when other people are present ..." Many examples of this phenomenon exist. Furthermore, a form of the bystander effect exists in our work environments. How many times have you noticed a physical hazard - a slippery spot on the floor, a cord across the walkway, an exposed hot surface, etc. - and walked right past it? How many times have you noticed a coworker doing something unsafe and said nothing? Are we destined to be passive observers? I think not!
Decide now to defy the bystander effect! Decide now to get involved! Decide now to be a hero!
Most of us feel a strong compulsion to not get involved. Like it or not, we tend to be passive bystanders, waiting for someone else to intercede. I pledge to be that someone else. Will you make that pledge, too?
The following picture struck me as funny. A colleague sent it to me. A supervisor apparently left the thermowell with the night crew with instructions to install it while the unit was down. The supervisor returned the following morning to find it installed as depicted in the picture. It highlights the importance of taking nothing for granted and leaving detailed instructions.
Get out your secret QR decoder rings, and decode the secret message on the left! Be the first to post the message in plane text in the comment section and win fame (but not fortune) and accolades from your friends and peers!
[Update July 21, 2008: Time's up; the answer is "Drink More Ovaltine!"]
Actually, QR code is neither steganography nor cryptography. It is a fancy barcode, created by Japanese corporation Denso-Wave. According to Wikipedia, it was "initially used for tracking parts in vehicle manufacturing" but is now used for storing general information and "may appear in magazines, on signs, buses, business cards or just about any object that a user might need information about."
Read what google says about QR Codes:
QR Codes are a popular type of two-dimensional barcode, which are also known as hardlinks or physical world hyperlinks. QR Codes store text which can be a hyperlink, contact information, telephone number, even whole verses of poems!
To the human eye QR Codes look like hieroglyphics, but they can be read by any device that has the appropriate software installed. Such devices range from dedicated readers to mobile phones. So, a person with a suitable mobile device can scan a QR code, on a magazine say, which causes the phone's browser to launch to the URL in the QR code.
Google added QR Codes to its Google Chart API, so I added it to my Google Chart Generator. Now you can create QR codes, print them, and label everyting you own with them.
I am surprised by the fact that Google Chart Generator is by far the most popular feature of my website. It makes sense, though, now that I think about it. It appeals to a much broader audience than everything else here. Google recently added a couple more chart types to its Google Chart API: Google-O-Meter and Maps. Therefore, in a shameless attempt to pander to the masses, I incorporated them into my Google Chart Generator.
Google-O-Meter creates charts similar to the familiar Speed-O-Meter (speedometer). Users can specify image size and image background color, dial color gradient, pointer position, and a pointer label. It's simple, quick, and easy to use. Give it a try if you need to display a single point of data in relationship to its range.
Maps creates simple, yet elegant, charts of land areas, including Africa, Asia, Europe, Middle East, South America, USA, and the world. Users can highlight selected countries or states with any color along a user specified color gradient (scale). I see plenty of potential applications for Maps. Experiment with it; you may be surprised at how much you learn about geography.
Have you heard of the "mutilated chessboard" problem? The chess board to the left has its opposing corners removed, leaving sixty-two squares instead of the usual sixty-four. The domino below it will perfectly cover two squares. Is it possible to arrange thirty-one such dominos so they cover all sixty-two squares? Think about it and settle on an answer before reading further.
In his book Fermat's Enigma, Simon Singh uses this puzzle to demonstrate the difference between a scientific theory and a mathematical proof.
According to Singh, a scientist tries to solve a problem through experimentation. The scientist may arrange the dominos in many different configurations. After many failures, the scientist may conclude that the sixty-two squares cannot be covered by thirty-one dominos. Can the scientist be sure after testing only a fraction of the millions of possibilities?
A mathematician, on the other hand, strives to develop an infallible proof. An example follows:
Who can argue with that?
By the way, if you are the type of person who finds my website useful, then you are probably the type of person who will thoroughly enjoy Simon Singh's books. I highly recommend his Fermat's Enigma.
Privacy Statement: I pledge to keep your email address private. I will divulge your email address to no one. I further pledge to only use your email address to reply directly to you. You will never receive unsolicited email (spam) from me. Your privacy is very important to me, and I will do everything I can to protect it.
alphaDictionary
I read the Kindle version of Dr. Goodword's (Robert Beard's) The 100 Funniest Words in English. It is informative and very amusing! I can't wait for his The 100 Most Beautiful Words in English. Perusing his web site is fun, too.
Word Warriors
The Word Warriors of Wayne State University are rejuvenating the English language by advocating for words of style and substance. I plan to enhance my abecedarian knowledge of the English language by using an underutilized word each time I bloviate.
Dirtfoot
the only Front Porch, Whiskey Swillin, Foot Stomping, Gypsy, Punk, Country, Grumble, Boogie band in the land. I heard Dirtfoot for the first time at the Mudbug Madness festival in Shreveport, LA. They rock!
Dilbert Blog
Do you need a little levity during these depressing times? Scott Adams, creator of Dilbert, has a great blog that will surely cheer you up. It may also make you question some of your deepest held beliefs.
Modeling and Control
A couple smart guys blogging about automation whose posts focus on the technical aspects of process control and simulation
Mathway
Mathway is a free website that solves your math problems and provides step-by-step work with explanations. Simply amazing!
Exploring Classical Control Systems
A nice set of lessons by Bucknell University's Dr. E. J. Mastascusa
That's impossible!
I read this right before bedtime the other night. I actually lost sleep thinking about it.