Skip to main content

Programmable Logic Controllers (PLC) - The Brain behind Industrial Automation




The Start ....

With the advent of industrial age, machines were used to automate process, which were routine in nature. This greatly allowed the reduction in production cost, benefitting the consumers.

Earlier Relay Logic Devices  based on electromagnetism, were used to control machinery. 

Two circuits, one with an open switch and another with a coil of wire, were placed parallel to each other. When current passes through the coil, it produced a magnetic field. This created a force of attraction, and the switch closes. The circuit gets completed, allowing the flow of current. This in turn drives a motor or an actuator.

Being a cost-effective solution, there were still some downsides. The installation part was highly complex. 

A breakthrough came in 1964, when Dick Morely, an American inventor, designed a general-purpose computer to control industrial applications.

Known as Programmable Logic Controllers, or PLC, it brought about a revolution in industrial automation.

What is PLC 

A specialized computer which can perform logical operations, while withstanding harsh environmental conditions like dust, humidity and temperature.

Based on the relay logic technique, switching was done digitally with electronic circuits and coding. This reduced overall complexity and installation overhead.

Ladder Logic is the coding language used. Also C/C++ in certain cases. 

Components

The internal layout of PLC consist of five main components

1. Processor: Dubbed the brain of the computer, the microprocessor performs logical and analytical computations, based on environmental variables

2. Input: The module that receives signals from sensors, or other measuring devices. Can be either analog or digital. This is then passed to the processor.

3. Output: Gets the calculated data from the processor, and converts it to readable signal. This in turn drives a motor, or an actuator.

4. Memory: Split into two divisions, the RAM (Random Access Memory) is used to store temporary data. ROM (Read Only Memory) stores the Operating System and programs, installed by the user.

5. Power Supply:  220V Alternating Current is converted into Direct Current. It is further split into smaller voltages to be fed into different components



The PLC is by definition a Real Time Operating System. The inputs are continuously scanned for any changes, and processor is always on stand by mode. 


More information:

 

Comments

Popular posts from this blog

X86 vs ARM - The PC War

X86 Vs ARM A Hype?  Recently laptops powered by ARM processors have taken industry by storm. Touted as being highly power efficient, providing 18 hours backup, on as single charge. That too while running multiple program instances. Would this spell an end to the x86 architecture, where Intel and AMD rule. Or will the tables turn around? What's the Difference? Let's start with an x86 based CPU. They feature a single processing unit which can be integrated to other external peripherals like Memory, GPU etc. Here each peripheral has a separate controller, knitted together by address and data BUS. When we look at ARM all the above components (Memory, GPU) are integrated within the main chip. Known commonly as SOC (System on a Chip) . This helps in reduced footprint. But they do come with a drawback. Cannot expand by adding extra peripherals. Coming to complexity, x86 provides a simpler set up, at least for a developer. Here most of the core tasks such as Memory Read/Write, Arithmet...

The Brain within an Embedded System-Difference between Microprocessors and Microcontrollers

To understand the working of an Integrated Circuit, we need to first understand what an Embedded System is.  It is basically a conjunction of Hardware and Software parts. Embedded System is a stripped-down version of a mainstream computer, specializing in a single task. They are connected either as a standalone device, or as part of a larger electrical or mechanical system. Mainly in consumer electronics like fridges or microwaves, they have low power rating and, is economical to build. Embedded system performs complex mathematical calculations at any specific time. This is done thru a Central Processing Unit (CPU) , mostly a Microcontroller or at times, a Microprocessor. A Sensor is used to collect data from the external environment Eg: Temperature, atmospheric pressure etc. This is then fed into an Analog to Digital (ADC) converter. The digital signal thus obtained is stored in memory and, decoded by the CPU.  The output of the operation is then fed to a Digital to Analog...

Virtual Private Network (VPN) - Browsing Anonymous

  Privacy is a major concern when browsing the internet. Your data could be eavesdropped by hackers, companies targeting ads or even rogue state actors. What gets revealed would be personal browsing history, location monitoring, IP addresses to name a few. Enter the tech... Virtual Private Network or simply known as VPN is a technology used to prevent unauthorized access of your private data. Even if a hacker penetrates the network and get hold of data packets, all that is revealed is gibberish.  This is because all the information that passes through your device is encrypted and can be only revealed through a personal key.  Internet Service Provider Before going further, a knowledge of Internet Service Provider (ISP) is needed. They are the backbone of the World Wide Web. ISP provides each device with a unique IP (Internet Protocol) address, bandwidth allocation and network security. When a website is searched, first it goes from your device to the Router or Modem which...