Function of PD, PI, ID and PID microcontrollers on a system

  • Thread starter Thread starter Sam Groves
  • Start date Start date
  • Tags Tags
    Pd System
AI Thread Summary
Different microcontrollers, such as P, I, D, and PID, interact with systems in unique ways, affecting error and final values differently. The combination of these controllers yields results that depend on specific constants K0, K1, and K2, indicating that their interaction is more complex than a simple RGB analogy. Feedback compensation must be tailored to each system for optimal performance, as the effectiveness of PID controllers can vary based on the user's understanding of the system dynamics. While PID is commonly taught and used in industrial settings, many practitioners lack a deep theoretical understanding, which can lead to practical limitations. The derivative term (D) is often unnecessary and can complicate control unless its application is well understood, particularly in systems with rapid dynamics.
Sam Groves
Messages
11
Reaction score
0
Well different microcontrollers act differently on a system. A pure P microcontroller reduces the error and increases the final value , a pure I microcontroller nullifies the error and increases the final value and a pure D microcontroller increases the error and keeps the final value the same.

However when combining pure microcontrollers the net result will be somewhere in between right?

Since generally a microcontroller in the s domain can be written down as:K0+K1/s+K2s the net result depends on the constants K0,K1 and K2.Given K0,K1,K2 can we evaluate how the PID would act out?Is it like the RGB color or is it more complicated(K0 has greater weight than K1 or K2)?
 
Last edited by a moderator:
Engineering news on Phys.org
Sam Groves said:
Is it like the RGB color
No

Sam Groves said:
is it more complicated
Yes, it's more complicated. I don't think there's a good answer without knowing the nature of the system being controlled. Feedback compensation is tailored for each system to optimize performance based on desired behavior.

BTW, there's nothing special about PID. As a controls guy, I find it kind of annoying that that is what is always taught. You could have two integrator terms, no proportional term, etc. In fact my general advice is to just not use the derivative term unless you both need it and have a really good understanding of stability of feedback systems. It usually causes more problems than it solves.

Sorry, I don't know of a simple reference to explain this. You can search for "feedback compensation" to dig deeper; there's lots of good stuff on the web.
 
  • Like
Likes nsaspook and Dullard
@Dave:
I don't disagree with anything that you said. I think that the emphasis on 'PID' is a result of the fact that for most standard industrial control hardware (PLCs, etc.), 'canned' PID is what is available. Many of the people implementing controls in an industrial setting have little/no understanding of the (mathematical) theory behind the 'knobs' that they're turning when they 'tune' a system. There are some surprisingly good empiricists running around. They lack the classical training that EEs get, but their approach accounts for the practical limitations of feedback (accuracy, latency, etc.) that some EEs never seem to 'get'. Obviously, a trained EE (with actual experience) is ideal.

I agree that 'D' is much less commonly required. Where 'D' is rquired, you absolutely need to know what you're doing - It's not useful in a temperature control for an oven with a 12-Hour time constant. For servo-valves modulating the application of aggregate to multi-colored roof shingles zooming by at several FPS, it's absolutely required. 'D' can always (at least theoretically) 'improve' the response - knowing when it's worth the trouble is the trick.
 
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
Thread 'Beauty of old electrical and measuring things, etc.'
Even as a kid, I saw beauty in old devices. That made me want to understand how they worked. I had lots of old things that I keep and now reviving. Old things need to work to see the beauty. Here's what I've done so far. Two views of the gadgets shelves and my small work space: Here's a close up look at the meters, gauges and other measuring things: This is what I think of as surface-mount electrical components and wiring. The components are very old and shows how...
Back
Top