PLCs, DCSs & Controllers


PLCs and PACs simplify data acquisition

September 2024 PLCs, DCSs & Controllers

Data acquisition, data logging, and data analysis are required functions for most modern industrial control systems. The simplest and lowest-cost way to provide these functions is often by using the same platform providing real-time control, namely the PLC or the programmable automation controller (PAC).

A few years ago, this wasn’t possible, as PLCs lacked the required processing power and data storage capability. But more powerful PLCs, and the evolution of PACs, have made it possible to perform many data acquisition tasks within the controller, saving money and providing an overall simpler system.

PLCs have been controlling machines and processes for more than 30 years. Demand for data and the need for real-time process information has increased during this time, and continues to grow rapidly in nearly every industry. End users need intelligence about their processes, machines and manufacturing operations. They need to know about system alarms and events, about process variables and about production amounts. They need this information to make better manufacturing and business decisions in real time.

Historically, acquisition of and access to this information was available only via applications with high-priced standalone scada systems, third-party software, or expensive PC-based systems. But many modern PLCs and PACs now have built-in data acquisition, data storage and networking capabilities, so accessing this critical information can be as simple as connecting a PLC’s Ethernet port to a network, or pulling data from a removable USB mass storage device such as a USB pen drive. But this hasn’t always been the case. In the past, extracting data was a lot more difficult, and much more expensive.

Data acquisition roots

Originally, scada systems performed monitoring and control of geographically dispersed systems such as power transmission lines, oil and gas pipelines, water/wastewater systems and the like. Older scada systems used remote telemetry unit (RTU) equipment, none of which had much intelligence by today’s standards. The term scada still conjures images of remote automation equipment installations, but when the term data acquisition is extracted from the acronym, it can take on a different meaning.

Data acquisition systems acquire representations of real-world physical conditions through inputs. Typically, sensors provide measurements that indicate how an object or process behaves under specific conditions. Measured physical parameters can be temperature, pressure, flow, pH, speed, force, sound level and many other process variables. Other parameters that can become data acquisition system inputs are electrical signal values such as voltage, current, resistance, power and other related variables.

Since there are so many types of real-world parameters that can be measured and analysed with data acquisition systems, input data almost always requires signal conditioning. Sensors convert physical parameters such as temperature, pressure and flow to electrical signals. Even though physical parameters become electrical signals, most of the time their values are not consistent or compatible with the circuits that must measure them.

Signal conditioning circuits accept sensor signals, apply the appropriate filtering and scaling, and further process signals if mathematical functions or linearisation are required. Many data acquisition input signals are analogue, but some are digital, such as pulses that represent item counts or totaliser inputs. Analogue signals, however, must be converted to digital using analogue-to-digital (A/D) converters. A/D converters convert analogue voltage or current signals to digital numbers proportional to the magnitude of the voltage or current.

Analysis is where data acquisition starts to get tricky. Application requirements define the type and method of data acquisition and how collected data is analysed. For example, a production test engineer may use a portable data logger to run a temperature conformity test on a heat treating furnace, to ensure it meets specifications prior to shipment. A quality engineer may extract archived statistical process control data from a historian to ensure that chemical plant products are within specification.

Another basic function of data acquisition is presentation. As with analysis, presentation can be tricky because there are so many methods, choices and applications. Presentation can take the form of a temperature readout on a panel meter; a graphical display on a human-machine interface (HMI); or a report generated at the end of a run, shift, week, month or quarter. Presentation is often left to an external system by sending acquired data to a historian or an enterprise resource planning (ERP) system. Transferring acquired data to analysis and presentation systems can be complex, as can performing those functions within a standalone data acquisition system.

Standalone data acquisition

Data logging is one type of data acquisition typically associated with dedicated standalone systems. In many cases, data logging is also associated with temporary configurations such as laboratory or field testing, where test configurations and locations change frequently. Product or system design engineers have used data logging in laboratory environments for decades. Field engineers use data logging for many types of temporary data gathering such as system error logging, power quality monitoring, system troubleshooting, commissioning, equipment or process verification, and many other tasks.

Microprocessor-based data loggers began to appear around 1975. Instead of measuring and recording parameters individually, multiple readings could be taken in a relatively short period of time by scanning multiple inputs, with each scanned signal applied to a measurement circuit. Multiple-input scanning was accomplished using either relays or field-effect transistor (FET) switching, both based on scan and measurement times controlled by the data logging system.

Both relay and FET methods have advantages and drawbacks. Relay scanners have low contact resistance, are suitable for high-voltage applications, have excellent channel-to-channel isolation and voltage stand-off, and share one simple protection circuit, but they are slow. FET scanners have high resistance when switched, are limited to low-voltage applications, and have poor channel-to-channel isolation and voltage stand-off, but they are fast.

Data logging systems with switched measurement helped pave the way for a specialised field of data acquisition called automatic test equipment (ATE). Although there are differences between ATE and laboratory or field testing, they share many more similarities. Because of the usefulness of ATE to manufacturing, especially semiconductors and electronics, it developed independently from other forms of data acquisition. Regardless, ATE still shares many similarities and characteristics with other types of data acquisition systems.

Standalone systems still have their place, as they can provide power and functionality not available elsewhere. For temporary data logging applications in particular, standalone systems are often the best solution. But, in many cases, acquiring data with an existing control system is a better solution.

Data acquisition and distributed control

A DCS typically controls batch and/or continuous processes. Within the context of a DCS, data acquisition can take on several forms. As DCSs began to replace dedicated control computers in continuous processes such as refineries and chemical plants, the meanings of some of these terms began to evolve.

Whereas the purpose of the DCS is to maintain control of the process, the purpose of data acquisition is to measure, analyse and present. Sensing, signal conditioning, and measuring must be done so the DCS can control the process. All that remains for data acquisition is to determine which parameters are meaningful to collect, and then route them to the appropriate channels. This would seem to make a DCS an ideal platform for data acquisition, and in many applications this is the case. If a process is controlled by an existing DCS, many data acquisition functions can be performed within that platform.

For data acquisition functions that cannot be performed within the DCS, connectivity options exist to link the DCS to other more specialised and powerful data analysis, reporting and presentation systems. But, for processes not controlled by a DCS, it does not make sense to use an expensive, high-powered and complex real-time control system just to perform data acquisition.

PC-based data acquisition

Shortly after the personal computer made its debut in the early 1980s, companies began introducing add-on products such as multifunctional data acquisition cards for the PC, disk-based storage units and PC expansion chassis. PC-based measurement and data acquisition products were originally developed for lab, testing, and product development environments. Although PC-based data acquisition has expanded beyond these applications, they remain primary markets.

PC-based data acquisition is typically accomplished with one or more circuit boards that plug directly into the internal bus of the PC. Advantages of PC plug-in boards include low cost and high speed. Disadvantages include the need for external signal conditioning, difficulty connecting to sensors, low isolation and protection, poor noise rejection and poor expandability.

The measurement chassis also falls within the PC-based data acquisition category, and it solves the expandability problem. Also typically used for lab and testing scenarios, measurement chassis have good noise rejection and isolation, but they usually cost significantly more than plug-in boards.

Early PC-based data acquisition hardware required extensive programming to interface to data acquisition software. Now, most PC-based data acquisition applications include driver software to communicate with the hardware. The driver software simplifies data acquisition programming because it eliminates the need to use complex commands or register-level programming.

Data acquisition software must necessarily meet end-use criteria. Complex or advanced applications may require custom programming in a development environment such as C++ or Visual Basic. But most applications can be handled by configuring off-the-shelf software programs.

The drawbacks to PC-based data acquisition include the need for a PC, the cost of purchasing the application software, and the annual licensing fees. Long-term maintenance and replacement parts for PCs can also be problematic due to the ever-evolving nature of the platform. For many applications, these shortcomings can be addressed by using PLC-based data acquisition.

PLCs and PACs

Powerful PLCs and PACs are designed to satisfy complex requirements brought on by today’s automation application demands. These controllers have evolved into full-featured systems that combine much of the functionality of traditional technologies such as scada systems, DCSs, and PCs.

Many applications that were strictly DCS-based can now be accomplished using the flexibility and functionality of PACs and powerful PLCs. As with DCSs, the sensing, signal conditioning, measuring, and analysing is done within the controller and its I/O, which is also used to control the process or machine. This double-duty approach ensures the lowest overall cost, smallest footprint, and simplest data acquisition system. PLCs and PACs perform basic data acquisition as part and parcel of real-time control tasks. Extra I/O can be added to acquire data from areas that do not require control, only monitoring. Data logging can be triggered by an event within the process or scheduled to occur at regular intervals.

Once the data is collected, it can be stored locally at the controller or it can be transferred to other systems. Data stored locally is usually saved to a USB pen or flash drive. Data can be logged in a comma-delimited/comma-separated variable text file, or a tab-delimited file. Users can include a date-and-time stamp and an alias for each data item sent. Data log files can be compressed into zip files that can be archived for easy data management.

Users can view this data using Notepad, Excel, or other applications. Despite the proliferation of specialised data analysis software, Excel remains the most widely used data analysis tool in manufacturing because of its familiarity, and because almost every user already has Excel installed on their PC.

Data transfers from the controller to other systems are typically done by an Ethernet port, which is built in to almost every PLC and PAC nowadays. Popular protocols are supported, negating the need to write complex drivers for the transfer of data from the controller to external systems.

Some PLCs and PACs allow users to collect data via connection to networked database servers. Users can collect real-time data from processes or machines on the plant floor and store it in standard Microsoft Access-, SQL server-, or ODBC-compatible databases. Report-by-exception data logging allows direct communication between the controller and the database. Giving control of the data logging and storage functions to the controller allows it to send data only when needed, in turn greatly reducing network traffic.

PLC data improves quality

Associating a timeline to process variables can improve the quality of a product, or reveal a quality problem. For example, one company chose a simple data logging method to extract information from the PLC controlling its plastic injection moulding process. The company simply connected a removable USB pen drive to the dedicated USB data-out port of the PLC’s CPU.

Using the data logging utility within the PLC’s software, companies have the capability to capture up to 64 process variable tags from the injection moulding application each time they conduct their manual quality control inspections. By using an event bit within the PLC, they can control the exact time the data points are logged onto the USB drive, which allows them to coordinate the data collection precisely with the quality control inspection.

The user combines the process data and the quality control data into a single table in a spreadsheet application. From this table, they can correlate specific conditions and process sufficient historical data. They can also identify the critical variables that represent the key indicators in their quality management program.

Using this procedure allows the company to monitor its plastic injection moulding process and make real-time adjustments when they notice conditions that would lead to poor-quality products. Now, instead of using complicated high-priced systems and software, this company is improving its overall product quality, reducing waste and saving money, all for the price of a USB pen drive and the ease of selecting a few tag names in a table.

These types of applications demonstrate the power of PLCs and PACs in data acquisition applications. As these controllers increase their processing power, data manipulation features and data storage capabilities find increased use in data acquisition applications in manufacturing and process facilities worldwide.

Summary

Data acquisition, data logging and data analysis are required functions for most modern industrial control systems. The simplest and lowest cost way to provide these functions is often by using the same platform providing real-time control, namely the PLC or the programmable automation controller (PAC).

PLCs have been controlling machines and processes for more than 30 years. Demand for data and the need for real-time process information has increased during this time, and continues to grow rapidly in nearly every industry. End users need intelligence about their processes, machines and manufacturing operations. They need to know about system alarms and events, about process variables, and about production amounts. They need this information to make better manufacturing and business decisions in real time.




Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

The convergence of intelligence: DCS, SCADA and TLC
Schneider Electric South Africa PLCs, DCSs & Controllers
In the early days of industrialisation, control systems were primarily mechanical, and relied on manual intervention and simple feedback loops to manage processes. Now, in the 21st century, industrial process automation systems are mind-blowingly intelligent, and provide almost unparalleled control and monitoring capabilities, making them integral to modern industrial systems.

Read more...
PC-based control for advanced hydrogen storage technology
Beckhoff Automation Editor's Choice PLCs, DCSs & Controllers
The proportion of renewable energies from solar, wind and water is rising continuously. However, sufficient storage options are of the essence to use these energies as efficiently as possible. GKN Hydrogen offers a particularly compact and safe option, low-pressure metal hydride hydrogen storage systems with PC-based control from Beckhoff.

Read more...
ABB modernises key board mill
ABB South Africa PLCs, DCSs & Controllers
ABB has secured a landmark contract to modernise Smurfit Kappa’s Paper Machine 5 at its corrugated cardboard mill near Mexico City. ABB will provide Smurfit Kappa with DCS, accompanied by a comprehensive paper machine drives system, encompassing some of the market’s most advanced drives and motors meticulously designed to optimise PM5’s performance.

Read more...
The synapses of the distributed control system
Schneider Electric South Africa PLCs, DCSs & Controllers
Industrial operations require a distributed control system (DCS) to coordinate and control their process subsystems in real time. Like the brain, a DCS is a multitasking maestro, controlling and coordinating complex processes in a myriad of industrial setting such as large manufacturing plants, providing valuable top-down control.

Read more...
Modular assembly platform for clean manufacturing
Beckhoff Automation PLCs, DCSs & Controllers
JR Automation delivers custom automated solutions for numerous industries. It has done this through its scalable, modular automation platform, FlexChassis, which speeds up time to market while cutting costs. The company chose the XTS linear transport system from Beckhoff because of its speed, and modular design that allows for multiple configurations.

Read more...
Selecting the best remote access solution for your application
PLCs, DCSs & Controllers
In today’s Internet of Things (IoT) world, remote mobile access is a necessity for many industrial applications. There are several ways of implementing this connectivity with routers and virtual private networks.

Read more...
Small-scale custom development in the information age
H3iSquared PLCs, DCSs & Controllers
In the twenty-first century, the ability to put together custom electronic devices has become much more accessible to smaller companies, and even the private user. With the open nature of these platforms, potential developers can start learning systems easily, and do not need a massive capital output to do so.

Read more...
Reliable control systems for sustainable manufacturing
Ana-Digi Systems PLCs, DCSs & Controllers
The modern factory depends on reliable processes to ensure reliable production output. Reliable production depends on reliable control systems and accurate production information. Ana-Digi Systems has been propounding this philosophy since 1985.

Read more...
Optimising pulp and paper industry water management
Schneider Electric South Africa PLCs, DCSs & Controllers
The manufacturing of pulp and paper is a complex process that involves several stages to convert wood into the final paper product. The industry has strict guidelines for water discharge into effluent systems. To meet the requirements, pulp and paper mills are increasingly focusing on the reuse of water.

Read more...
Delta and CODESYS to redefine motion control in manufacturing
ElectroMechanica PLCs, DCSs & Controllers
In today’s fast-paced world of industrial digitalisation, the need to streamline production and enhance output quality is more critical than ever. Leading this industrial evolution is Delta Electronics, through its innovative collaboration with the CODESYS group that aims to redefine motion control in manufacturing.

Read more...