Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Automation
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Control== {{cleanup merge|Automatic control|21=section|date=March 2023}} {{Main|Control system}} === Open-loop and closed-loop === {{excerpt|Control loop#Open-loop and closed-loop}} === Discrete control (on/off) === One of the simplest types of control is ''on-off'' control. An example is a thermostat used on household appliances which either open or close an electrical contact. (Thermostats were originally developed as true feedback-control mechanisms rather than the on-off common household appliance thermostat.) Sequence control, in which a programmed sequence of ''discrete'' operations is performed, often based on system logic that involves system states. An elevator control system is an example of sequence control. ===PID controller=== {{main|PID controller}} [[File:PID en.svg|thumb|upright=1.5|A [[block diagram]] of a PID controller in a feedback loop, where r(''t'') is the desired process value or "set point", and y(''t'') is the measured process value]] A proportional–integral–derivative controller (PID controller) is a [[control loop]] [[feedback mechanism]] ([[controller (control theory)|controller]]) widely used in [[industrial control system]]s. In a PID loop, the controller continuously calculates an ''error value'' <math>e(t)</math> as the difference between a desired [[Setpoint (control system)|setpoint]] and a measured [[process variable]] and applies a correction based on [[Proportional control|proportional]], [[integral]], and [[derivative]] terms, respectively (sometimes denoted ''P'', ''I'', and ''D'') which give their name to the controller type. The theoretical understanding and application date from the 1920s, and they are implemented in nearly all analog control systems; originally in mechanical controllers, and then using discrete electronics and latterly in industrial process computers. ===Sequential control and logical sequence or system state control=== {{main|Programmable logic controller}} Sequential control may be either to a fixed sequence or to a logical one that will perform different actions depending on various system states. An example of an adjustable but otherwise fixed sequence is a timer on a lawn sprinkler. States refer to the various conditions that can occur in a use or sequence scenario of the system. An example is an elevator, which uses logic based on the system state to perform certain actions in response to its state and operator input. For example, if the operator presses the floor n button, the system will respond depending on whether the elevator is stopped or moving, going up or down, or if the door is open or closed, and other conditions.<ref>The elevator example is commonly used in programming texts, such as [[Unified Modeling Language]]</ref> Early development of sequential control was [[relay logic]], by which [[electrical relay]]s engage electrical contacts which either start or interrupt power to a device. Relays were first used in telegraph networks before being developed for controlling other devices, such as when starting and stopping industrial-sized electric motors or opening and closing [[solenoid valve]]s. Using relays for control purposes allowed event-driven control, where actions could be triggered out of sequence, in response to external events. These were more flexible in their response than the rigid single-sequence [[cam timer]]s. More complicated examples involved maintaining safe sequences for devices such as swing bridge controls, where a lock bolt needed to be disengaged before the bridge could be moved, and the lock bolt could not be released until the safety gates had already been closed. The total number of relays and cam timers can number into the hundreds or even thousands in some factories. Early [[computer programming|programming]] techniques and languages were needed to make such systems manageable, one of the first being [[ladder logic]], where diagrams of the interconnected relays resembled the rungs of a ladder. Special computers called [[programmable logic controllers]] were later designed to replace these collections of hardware with a single, more easily re-programmed unit. In a typical hard-wired motor start and stop circuit (called a ''control circuit'') a motor is started by pushing a "Start" or "Run" button that activates a pair of electrical relays. The "lock-in" relay locks in contacts that keep the control circuit energized when the push-button is released. (The start button is a normally open contact and the stop button is a normally closed contact.) Another relay energizes a switch that powers the device that throws the motor starter switch (three sets of contacts for three-phase industrial power) in the main power circuit. Large motors use high voltage and experience high in-rush current, making speed important in making and breaking contact. This can be dangerous for personnel and property with manual switches. The "lock-in" contacts in the start circuit and the main power contacts for the motor are held engaged by their respective electromagnets until a "stop" or "off" button is pressed, which de-energizes the lock in relay.<ref>{{cite web|url=http://www.exman.com/mshoass.html|title=MOTOR STARTERS START STOPS HAND OFF AUTO|website=Exman.com|access-date=14 September 2013|archive-url=https://web.archive.org/web/20140413062641/http://www.exman.com/mshoass.html|archive-date=13 April 2014}}</ref> [[Image:Finite state machine example with comments.svg|thumb|This state diagram shows how [[Unified modeling language|UML]] can be used for designing a door system that can only be opened and closed.|alt=]] Commonly [[interlock (engineering)|interlock]]s are added to a control circuit. Suppose that the motor in the example is powering machinery that has a critical need for lubrication. In this case, an interlock could be added to ensure that the oil pump is running before the motor starts. Timers, limit switches, and electric eyes are other common elements in control circuits. Solenoid valves are widely used on [[compressed air]] or [[hydraulic fluid]] for powering [[actuator]]s on [[Mechanical system|mechanical]] components. While [[motor]]s are used to supply continuous [[Rotary actuator|rotary motion]], actuators are typically a better choice for intermittently creating a limited range of movement for a mechanical component, such as moving various mechanical arms, opening or closing [[valve]]s, raising heavy press-rolls, applying pressure to presses. ===Computer control=== Computers can perform both sequential control and feedback control, and typically a single computer will do both in an industrial application. [[Programmable logic controller]]s (PLCs) are a type of special-purpose [[microprocessor]] that replaced many hardware components such as timers and drum sequencers used in relay logic–type systems. General-purpose process control computers have increasingly replaced stand-alone controllers, with a single computer able to perform the operations of hundreds of controllers. Process control computers can process data from a network of PLCs, instruments, and controllers to implement typical (such as PID) control of many individual variables or, in some cases, to implement complex control [[algorithm]]s using multiple inputs and mathematical manipulations. They can also analyze data and create real-time graphical displays for operators and run reports for operators, engineers, and management. Control of an [[automated teller machine]] (ATM) is an example of an interactive process in which a computer will perform a logic-derived response to a user selection based on information retrieved from a networked database. The ATM process has similarities with other online transaction processes. The different logical responses are called ''scenarios''. Such processes are typically designed with the aid of [[use case]]s and [[flowchart]]s, which guide the writing of the software code. The earliest feedback control mechanism was the water clock invented by Greek engineer Ctesibius (285–222 BC).
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)