In today’s world, almost every commercial building and industrial facility relies heavily on the automation of their mechanical and electrical systems. This trend is only growing as larger, smarter, and more complex systems are being developed. But how exactly do we control these systems, and what devices make this possible? Let’s dive into the world of Programmable Logic Controllers (PLCs) to find out.
A PLC, or Programmable Logic Controller, is essentially a small computer designed to perform specific tasks based on pre-programmed inputs and outputs. These devices are crucial in commercial and industrial settings, allowing systems to operate with minimal or even zero manual intervention. The operations can range from simple on/off controls to more complex sequences involving calculations and logic.
Before the advent of PLCs, control systems relied on banks of relays. Each relay was responsible for controlling specific inputs and outputs through physical wiring. For example, an AND gate would only activate its output when two inputs were energized. Changing the operation required altering the physical wiring, making these systems large and complex. With the development of solid-state electronics and microchips, the logic of these relay banks was replaced by software, leading to the rise of PLCs.
PLCs monitor inputs, make decisions based on a set of rules, and then output commands to automate processes. They often work alongside relays, which handle smaller automation tasks and communicate with the PLC, reducing programming needs and freeing up storage space.
For instance, at an airport, when you check in a bag, a PLC scans the barcode and decides its route based on pre-set rules. This process ensures your bag reaches the correct destination efficiently.
Input modules connect the PLC to the outside world. They can be digital inputs, like on/off switches or sensors, or analog inputs, like control knobs. These modules perform several tasks: sensing signals, converting voltages, isolating the PLC from fluctuations, and sending signals to the CPU.
The CPU is the brain of the PLC, storing the program and applying rules to input signals to determine the necessary outputs. It consists of a microprocessor, memory for storing programs and data, and other integrated circuits for communication and monitoring.
Output modules send signals to devices being controlled, such as indicator lights, solenoid valves, or motors. Additional components like batteries, screens, clocks, and power supplies support the PLC’s operation.
A PLC follows a sequence of operations: input scan, program scan, logic execution, and output update. The scan time, or the time to complete these stages, varies based on system requirements. For example, a water tank might require a fast scan time to prevent overfilling, while room temperature control can be slower.
Consider a simple setup with a bi-metallic strip temperature sensor, a PLC, and a boiler. The sensor detects room temperature, and the PLC controls the boiler based on this input. If the room is at the desired temperature, the boiler stays off. If the temperature drops, the PLC turns the boiler on. A PLC can also incorporate time functions to prevent unnecessary operation during non-occupancy periods.
In more advanced systems, a thermistor and actuator valve can provide precise temperature control using a PID control loop. This ensures the valve opens proportionally to the temperature difference, preventing overshooting the desired temperature.
PLCs offer numerous benefits, including local storage of control software, ease of reprogramming, smaller installations compared to relay banks, and simplified fault finding. They also allow for program replication across multiple units and easy expansion of inputs and outputs.
PLCs are integral to modern automation, providing efficient and reliable control across various applications. As technology advances, their role in automation will only continue to grow.
Engage in a hands-on workshop where you will use PLC simulation software to design and test a simple automation process. This activity will help you understand the basic operation of a PLC, including input scanning, logic execution, and output updating. By the end of the workshop, you should be able to create a basic program that automates a simple task.
Work in groups to convert a relay-based control system into a PLC-based system. This project will require you to analyze an existing relay setup, identify the logic it performs, and then replicate that logic using a PLC program. This exercise will deepen your understanding of the evolution from relays to PLCs and the advantages of using PLCs.
Analyze a real-world case study where PLCs are used in an industrial setting, such as an airport baggage handling system. Discuss the role of PLCs in the system, the components involved, and the benefits they provide. This activity will help you appreciate the practical applications of PLCs and their impact on efficiency and reliability.
Participate in a programming challenge where you will be tasked with creating a PLC program to solve a specific problem, such as controlling a temperature system or managing a conveyor belt. This challenge will test your ability to apply the concepts you’ve learned and develop efficient and effective PLC solutions.
Attend a guest lecture by an industry expert who will discuss the latest advancements in PLC technology and their applications in modern automation. Following the lecture, engage in a Q&A session to clarify any doubts and gain insights into the future trends of PLCs in automation engineering.
Sure! Here’s a sanitized version of the provided YouTube transcript:
—
[Applause][Music] Almost every commercial building and industrial facility relies on the automation of their mechanical and electrical systems. This trend is only set to increase, especially as larger, smarter, and more complex systems and buildings are constantly under construction.
So how do we control these systems, and what devices are used to achieve that? That’s what we’ll be covering in this video, which is sponsored by Telecontrols. Telecontrols has been a leading manufacturer in the automation industry since 1963. Their technology is compatible with every PLC, HMI, and controller on the market, which reduces PLC programming time and saves valuable storage by handling smaller automation tasks directly. Click the link in the video description below to learn how Telecontrols’ products can enhance your PLC applications. You can contact them at [email protected] or via LinkedIn.
PLC stands for Programmable Logic Controller. There are many variations, but they typically look something like this. A PLC is essentially a small computer that can carry out pre-programmed outputs based on inputs and a set of specific rules. They are used in commercial and industrial applications to control systems with minimal and sometimes even zero manual intervention. The operation can be a simple on/off control based on the status of the input or a more sophisticated response based on calculations, sequences, and logic.
Before PLCs, control was carried out via banks of relays, where each relay controlled dedicated inputs and outputs based on physical wiring. Relays would control other relays to form logic controllers. For example, with a simple AND gate, only when two inputs are energized does the relay output energize. These inputs could be sensors or outputs from other relays. To change the operation, the physical wiring had to be altered, making these old banks of relays vast in size and very complex.
This is an example of an elevator relay bank, and this is the relay bank from an old electrical substation. As you can imagine, these are not easy to change, and finding faults can be difficult and time-consuming. With the invention of solid-state electronics and microchips, the command logic part of the banks of relays could be replaced with software logic, and thus PLCs quickly took over.
PLCs vary widely in their applications, but they all monitor their inputs, make decisions based on a stored set of rules, and then output commands to automate a process. We often find relays used in combination with PLCs; the relays can directly handle automation tasks and communicate with the PLC, reducing the amount of programming required on the PLC and freeing up storage space.
PLCs are widely used. For example, when you check a bag in at the airport, the bag is given a barcode and enters the conveyor belt. A PLC scans the barcode and, based on a set of rules, decides if the bag is diverted to either the domestic or international route. The next PLC scans the barcode and decides which city the bag needs to be diverted to, and the next PLC decides which gate it needs to be diverted to. If all goes to plan, the bag will arrive at the correct gate.
First, we have the input modules of field sensors. These are the physical connections between the outside world and the PLC. These can be digital inputs, such as simple on/off switches, bi-metallic temperature strips, presence or motion sensors, or even a float switch. These digital inputs can only provide information on whether something is either on or off. For that, we would need an analog input, for example, a simple control knob that ranges from zero to one hundred percent. This will go through a voltage transformer to give zero volts at zero percent and ten volts at one hundred percent. The PLC can scale the input to match the sensitivity required for very accurate output control.
The amount of current, usually measured in milliamps, tells the PLC whether something is performing between on and off. These inputs could be, for example, a thermocouple or a resistance temperature detector, a pressure sensor, or perhaps a strain gauge. These voltages or currents are converted into a digital equivalent number that can be understood by the CPU.
Input modules perform four main tasks: they sense when a signal is received, convert the signal voltage into the correct signal for the CPU, isolate the PLC from fluctuations in the input voltage or current signal, and send the corrected signal to the CPU.
The CPU, or Central Processing Unit, is the brain of the operation. It holds the program or software that decides what outputs are required by applying rules to the input signals. The CPU typically consists of a microprocessor that does the work based on the input value and the logic in the program, a memory chip to store the program, and this will also store the output history, any faults, alarms, etc.
Then we also have other integrated circuits, which can include things such as Modbus and LAN connections that allow us to remotely communicate with, reprogram, or even monitor the device.
Next, there are the output modules or field output devices, which provide the signal to the device we are controlling. For example, a simple indicator light, a solenoid valve, a motor starter, or a variable frequency drive. There are some other parts, such as a battery to keep the PLC alive in the event of a power failure, a small screen for a user interface to allow some configuration, a time clock and calendar to operate a device at the correct time, and a power supply to provide the low voltage used by the CPU as well as the input and output modules.
The basic operation of a PLC is to perform a pre-programmed output depending on the input signal by following a set of rules. The PLC completes the following stages in its basic operation: first, there is the input scan, which detects the state of the inputs; then the program scan to see what needs to be done; it executes the program logic to implement what the rules state; and finally, it updates the outputs to operate output devices based on the program requirements.
The scan time, which is the time it takes to complete all the stages, depends on the sensitivity, resilience, and system processing time. Analog inputs tend to take longer to process compared to more simple digital on/off inputs.
For example, a water tank might have a very fast scan time of 2 milliseconds to prevent overfilling, while a room temperature control can be much slower, perhaps 100 milliseconds.
Let’s see an example of a simple response: we have a bi-metallic strip temperature sensor, a PLC, and a boiler. The bi-metallic strip bends as it becomes hot and cold, allowing us to detect if the room is at the desired temperature and control the boiler. When the room is at the correct temperature, the circuit is complete, and the PLC receives a signal, so the boiler is off. When the room temperature drops, the circuit is no longer complete, and the PLC detects this change on the input. It reacts by sending an output signal to turn the boiler on.
This is a simple example, and we could also use a simple relay to achieve this. However, a PLC is better because it has a time function, allowing it to check the time before switching on the boiler. For instance, if the building might be empty at night and on weekends, we don’t want the boiler to turn on then. The PLC checks the time and date to see if it’s allowed to turn on and decides accordingly.
We can then add extra functions and inputs. For example, a motion sensor on the input can tell the PLC if the room is too cold. The PLC will check the time to ensure it is allowed to turn the boiler on and can also check if the room is occupied.
In a more sophisticated example, we have a thermistor, a PLC, and an actuator valve. The thermistor can provide a temperature scale rather than a simple on/off input like the bi-metallic strip. The actuator valve can open anywhere between zero and one hundred percent to control how much hot water is provided to heat the room.
For this, we would use a PID control loop, which stands for Proportional, Integral, and Derivative control. Essentially, this will control the valve position to ensure it only opens enough to suit the difference between the room’s desired temperature and the actual temperature.
For example, if the room temperature drops slightly, we don’t want the heating valve to instantly open 100% because the room will heat too quickly and overshoot the desired temperature. Instead, we want the valve to gradually open in proportion to the demand.
Let’s see a more complex example. In many commercial buildings, the heating or cooling system will use a control strategy known as an optimizer. This learns over time how quickly the building heats up and cools down. It then starts the heating or cooling system at the optimal time before the building is occupied.
For example, if staff are due to arrive at 9 AM, the heating system knows it needs to turn on at 7 AM to ensure that the rooms are at the correct temperature. If this system has a PLC with optimizer software installed, it controls an actuator valve for the heating system.
This system also has two pumps set up in a duty and standby configuration, so only one pump runs at a time. The PLC will decide which pump to turn on based on whichever has the lowest number of previous run hours. The PLC will monitor a flow sensor to detect if the pump turns on when told to do so. If the pump fails to turn on, the PLC receives an alarm, cuts the power, and tells the other pump to start.
However, before the heating system and pump start, the PLC will check with the clock to see if the heating should turn on today and at what time the building will be occupied. If the clock says yes, and the scheduled occupancy time is 9 AM, the PLC checks the current temperature of the room and calculates the difference between this and the desired temperature. It then checks the outdoor temperature to calculate how long it will take to heat the building, as on a very cold day there will be greater heat loss, requiring more time.
From this, the PLC calculates what time it needs to turn the heating system on so that the building is at the desired temperature, ready for 9 AM.
There are many advantages of PLCs, but some of the main ones are as follows: the control software is stored locally, so in the event of a building energy management system failure, the PLC can continue working; the connections between the PLC inputs and outputs are made by software rather than physical wires; PLC installations are smaller than hardwired relay banks but can still use relays when needed; PLCs are much easier to reprogram; fault finding is easier and faster; you can load the same program onto multiple PLC units to save time; and you can also expand the inputs and outputs with more cards.
That’s it for this video! To continue learning about controls and electrical engineering, check out one of the videos on screen now, and I’ll catch you in the next lesson. Don’t forget to follow us on Facebook, Twitter, Instagram, LinkedIn, and visit theengineeringmindset.com.
—
This version removes any unnecessary details while maintaining the core content and structure of the original transcript.
plc – Programmable Logic Controller, a digital computer used for automation of industrial processes – The engineering team used a PLC to automate the assembly line, improving efficiency and reducing errors.
automation – The use of technology to perform tasks without human intervention – Automation in manufacturing has led to increased production rates and improved product quality.
inputs – Signals or data received by a system for processing – The sensors provide inputs to the control system, which then adjusts the machinery accordingly.
outputs – Signals or data sent from a system after processing – The outputs from the PLC control the motors and actuators on the production line.
programming – The process of designing and building an executable computer software to accomplish a specific task – Programming the robotic arm required a deep understanding of both software and mechanical engineering principles.
sensors – Devices that detect changes in the environment and send information to other electronics – The sensors in the smart home system can detect motion and adjust the lighting accordingly.
cpu – Central Processing Unit, the primary component of a computer that performs most of the processing inside a computer – The CPU’s performance is crucial for running complex simulations in engineering software.
modules – Independent units that can be used to construct a more complex system – The software was designed in modules, allowing engineers to update individual components without affecting the entire system.
control – The regulation of various elements within a system to achieve desired outcomes – Engineers implemented a feedback control system to maintain the temperature within the reactor at optimal levels.
systems – Complex networks of components that work together to perform a specific function – Understanding how different systems interact is essential for designing efficient and reliable engineering solutions.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |