Previous in Forum: How to Estimate Cable Tray Weight Onboard?   Next in Forum: How to Calculate the Number of Poles in a DC Generator
Close
Close
Close
11 comments
Rate Comments: Nested
Participant

Join Date: Nov 2012
Posts: 2

Implementing a Control System

11/29/2012 5:31 AM

So I've done a control system subject, most of it was just theory and design of control system in term of working out the transfer function

My question is: How a control system is implemented? Is it by construct a circuit that has approximately the same transfer function?

Also, can you simply replace a complicated analog control system above with a microcontroller and program whatever conditions and variables u want to control on it?

Thanks guy :)

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".
10
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing, in the nation formerly known as Great Britain. Kettle's on.
Posts: 32175
Good Answers: 839
#1

Re: Implementing a control system

11/29/2012 6:04 AM

A control system is implemented by connecting real-world devices and tuning the controller so that, despite disturbances in the process, the setpoint is achieved for the greater part of the time. The starting point in the process industries is a set of drawings usually labelled 'P&ID', and a document called the Control Philosophy, which is written by the Process Engineer. From these documents, it is the task of the Control Engineer to create systems that achieve what is stated in the Control Philosophy and provides an acceptable user interface. The outline of that creation is embraced in a document called the Functional Design Specification, the approved issue of which is used as the foundations of the control system; the detailed design, assembly, testing and considered putting-into-use follow from there. Do use an internet seach engine to look into the deeper meaning behind the terms above.

Circuit-board-level construction is unneccessary as there are dozens of stand-alone devices and electronic systems that can achieve the goal off the shelf. Their earlier generation pneumatic-only equipment can still be found in some places.

Most programmable electronic systems, including many Programmable Logic Controllers, have three-term controllers embedded in them, leaving the Control Engineer to select, configure and tune them to suit the process need.

Following a good grounding in control theory, which sounds like it is on-board and of considerable value in itself, it might be time now to approach a more experienced individual for mentoring as to the ways of putting good theory into practice.

Oh, and welcome to the CR4 sandpit, BTW.

__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
Register to Reply Good Answer (Score 10)
Guru

Join Date: Jul 2008
Posts: 1688
Good Answers: 145
#2
In reply to #1

Re: Implementing a control system

11/29/2012 6:25 AM

Another good answer.

Learning theory is the first step. Learning to make the theory work in the real world is another significant task.

I'll add that the P&ID in PWSlacks good answer refer to Proportional, Integral and Differential. This gives a hint that PID controllers have both mathematical power and implementation complexity.

__________________
Few things limit our potential as much as knowing answers and setting aside questions.
Register to Reply
Guru

Join Date: Dec 2008
Location: Cd. Juarez, Chihuahua, Mexico.
Posts: 1023
Good Answers: 69
#3
In reply to #2

Re: Implementing a control system

11/29/2012 9:11 AM

It is Proportional, Integral and Derivative; good comment though, (he earned a GA from me too).

Regards

__________________
No hay conocimiento ni herramienta que sustituya al sentido comun.
Register to Reply Off Topic (Score 5)
2
Guru

Join Date: Aug 2007
Location: Earth - I think.
Posts: 2143
Good Answers: 165
#4
In reply to #3

Re: Implementing a control system

11/29/2012 9:59 AM

If PWSlack wrote "PID" you would be correct. But what he actually wrote was, "P&ID" which stands for "Piping & Instrumentation Diagram". Sorry, just my pedantic bone coming out to play!

__________________
TANSTAAFL (If you don't know what that means, Google it - yourself)
Register to Reply Good Answer (Score 2)
Power-User

Join Date: Dec 2005
Location: Willenhall, UK
Posts: 159
#7
In reply to #4

Re: Implementing a control system

11/30/2012 8:11 AM

I have always assumed that P&ID stood for Process & Instrumentation diagram

__________________
A day without a smile is a day lost
Register to Reply
Guru

Join Date: Aug 2007
Location: Earth - I think.
Posts: 2143
Good Answers: 165
#8
In reply to #7

Re: Implementing a control system

11/30/2012 9:51 AM

I have heard it both ways. But I prefer to us piping rather than process. The piping and instrumentation, allows you to understand the process.

http://en.wikipedia.org/wiki/Piping_and_instrumentation_diagram

__________________
TANSTAAFL (If you don't know what that means, Google it - yourself)
Register to Reply
Guru

Join Date: Jan 2008
Posts: 1753
Good Answers: 59
#5

Re: Implementing a Control System

11/30/2012 12:34 AM

The world is analog at its basic, so are control systems. Whatever you do, you have to adapt your design to the physical design as it exist at the physical plant. If it is PID pneumatic actuators, that is what is given. If the sensors and instrumentation is Analog electrical output, that what is you have to live with. After you adapted yourself to this situation, it does not matter much, if the core control is analog or a microprocessor. You will have to implement, and tweak the same functions. Largely, it matters, which can you or your helper can handle competently. Incompetent help is worse, than none.

Then the real fun starts, when you have to demonstrate in real system, that it works. Sort of or better.

Register to Reply
Guru

Join Date: Apr 2010
Location: About 4000 miles from the center of the earth (+/-100 mi)
Posts: 9910
Good Answers: 1141
#6

Re: Implementing a Control System

11/30/2012 5:59 AM

My question is: How a control system is implemented?

A lot of microcontrollers these days have built in Analog-to-Digital (A/D) and Digital-to-Analog (D/A) converters. Connect the sensor to the (A/D) input and your actuator to the D/A output through any necessary analog electronics to offset and scale your voltages and write your microcontroller code to do the necessary math in between.

Register to Reply
Power-User

Join Date: Dec 2010
Location: Tulsa, OK
Posts: 184
Good Answers: 2
#9

Re: Implementing a Control System

11/30/2012 10:38 AM

The theory of controls is the foundation of how modern industry is controlled, not with the idea of eliminating worplaces as some would say, but rather to make uniform quality products by eliminating waste, excess energy use, reducing rework, etc.

As with everything you need a basis, which you are getting, but then comes the real world, where there are several basic constraints that we need to abide with one is not to reinvent the wheel, unless you have a genius stroke and can design something cheaper and better than what is in the market and second is that control systems like most anything in the world need to comply with many standards and codes, which makes a replacement by a microprocessor and an output card difficult to implement.

Now then A PWSlack mentioned the basis for most control implementations starts with several things like a P&ID that defines what needs to be controlled and how hopefully, then a review of the applicable standards and codes so that you can pre select the control system and components and finally the design and cost issues which every client want to me the simplest and cheapest.

So based on this can a control system done with a microchip and some software the answer is yes, will it fly in the real world, probably not.

So I would suggest that you further your education and contact suppliers of control systems to learn what is available and try to work with a company where they will allow you to learn under a professional before flexing your wings and ideas.

Register to Reply
Power-User

Join Date: Oct 2007
Location: S. California, USA
Posts: 279
Good Answers: 12
#10

Re: Implementing a Control System

11/30/2012 12:43 PM

. . . How a control system is implemented? . . .

It all depends on what you are controlling and design constraints. If it is the simple control of a single actuator and you are only making one, you can find off the shelf boards to accomplish the function. If you are designing for a consumer product and thousands are to be produced, it may be more cost effective to design and build your own boards especially if there are packaging contstraints. If you are designing a control system for a complex machine or factory there are other options.

Hardware: Search "PLC" and you will find a class of hardware available from many suppliers that is designed for the industrial environment. Spend some time looking over the offerings. You will even find some application notes which will help you get familiar with the actual design and implementation of a control systems.

You will find that there a class called "Safety PLC". Safety PLCs essentially have two controllers running in parallel checking each other. (Caution here: When designing, safety comes from the architecture and careful design. It is up to the designer to put the controlled equipment into a sequenced safe state when a failure is detected. Just selecting Safety devices does not accomplish this.)

Software: Within the Programmable Logic Controller world you will find that there are multiple programming languages with multiple user interfaces. Some have graphical interfaces, some will work with traditional code such as C or basic, some work with Ladder Logic and some allow the languages to be mixed. The language that you select is a match of the functions that you want to accomplish and your proficiency in the available languages.

Register to Reply
Participant

Join Date: Nov 2012
Posts: 2
#11

Re: Implementing a Control System

12/01/2012 10:32 AM

Thanks a lot for your replies guys :)

So from reading all the answers, this is what I understand so far: A control system can be implemented using purely analog circuitry (by tuning the frequency response) and can also be implemented by a microcontroller then program it. And the choice depend on the applications and constraints.

Please correct me if i am wrong :)

Thanks again guys :)

Register to Reply
Register to Reply 11 comments

Good Answers:

These comments received enough positive votes to make them "good answers".
Copy to Clipboard

Users who posted comments:

BruceFlorida (1); Kilowatt0 (2); leveles (1); misterEE (1); peterd (1); PWSlack (1); Rixter (1); Snave (1); vargaalex (1); Yahlasit (1)

Previous in Forum: How to Estimate Cable Tray Weight Onboard?   Next in Forum: How to Calculate the Number of Poles in a DC Generator

Advertisement