Editor's Choice


Edge computing: Introducing AI into the factory

I&C July 2024 Editor's Choice IT in Manufacturing

As AI evolves, it is evident that the most powerful models will be cloud-based, and hosted in data centres that are beyond the control of the average business. Not only that, there is now a reliance on connectivity that makes cloud-based AI feasible only in certain use cases within the manufacturing environment. Essential plant safety and control systems, for example, cannot rely on the internet. Certain control functions and scada might exist in the cloud, but care needs to be taken to ensure that these systems have redundancy, and can fail in a way that does not severely disrupt manufacturing operations or introduce a safety risk. The practical application of AI in manufacturing control and automation will only be possible if some of the computing workloads can be brought onto the plant, inside the firewall and inside the plant network.

Edge computing involves processing data close to where it is generated, rather than relying on the cloud. In practice, this means that sensors are connected to local computing devices using the plant network where latency is low, network congestion can be controlled, and connectivity can be relied on. Edge computing can therefore improve the reliability of advanced computing such as AI in the context of factory systems.

There are several benefits to edge computing in the factory:

• Improved reliability: By minimising dependency on internet connectivity and data centres outside your control, you can ensure that factory operations continue smoothly at all times.

• Enhanced security: Privacy and cybersecurity are of paramount importance to any industrial operation, and you need to be vigilant about information you expose to the internet. Edge computing can bring certain computing workloads inside the firewall, thereby lowering the risk of cybersecurity attacks.

• Cost efficiency: Once the investment in an edge AI solution has been made, there is no reliance on expensive subscription-based software pricing for external services, with the associated uncertainty of runaway costs and future cost of ownership.

• Performance: By reducing latency and having dedicated edge devices, performance levels can be guaranteed within the factory boundary.

Practicality of AI on the edge

‘AI on the edge’ refers to deploying AI models directly onto edge processors. Not all use cases for AI are feasible on the edge, but several are. For example, condition monitoring that is based on machine learning is ideally suited for edge devices, and there are many proven examples where this is already working. Similarly, image and video recognition technologies can usually be run on dedicated edge processors without reliance on the cloud.

In contrast, the most powerful AI transformers such as large language models (LLMs) will certainly need a cloud connection, at least for now. As AI transformers evolve, it is interesting that there may be viable use cases for small language models (SLMs) deployed on edge devices. SLM performance can approximate that of LLMs, provided they are tuned for a specific knowledge domain. It is likely that we will soon see SLM models deployed to mobile phones and other consumer devices.

Types of edge AI technologies

AI is an imprecise term that encompasses a group of loosely related technologies. Each of these AI technologies is similar in some ways, but at their heart they can be quite different in the way they work. AI models can be as diverse as neural networks, transformers (generative AI such as large and small language models), decision trees, or any combination of these. The proliferation and diversity of AI technologies is likely to increase and become even more complex going forward as industry adopts these technologies, while research delivers better ways to combine hybrid models with each other.

Typically, AI on the edge comprises the following:

• Data collection: From sensors and cameras, IoT devices and other real-time data sources.

• Data preprocessing: Cleaning and preparing of the data into a format suitable for the AI model.

• Model interfaces: Feeding the data into the AI model, validating the output, and processing the resulting actions in the form of alerts, changing setpoints or adjusted machine parameters.

• Analysis and visualisation: Allowing humans to easily view and interpret the performance of the AI model. This allows for further fine tuning of the model by closing the loop with human validation.

Edge hardware

Edge hardware is evolving rapidly with AI-centric processors from companies such as NVIDIA. This is clearly a space to watch. However, extreme processing power is not necessarily a prerequisite for edge AI; it is possible to deploy certain AI technologies onto a Raspberry Pi using a Docker container.

Edge software

Edge software architectures are also evolving.

Apart from relatively constrained applications like machine condition monitors or image recognition devices, deploying an advanced and bespoke AI model onto an edge device involves more than just installing software, then setting and forgetting it. You need to consider the entire future lifecycle involving model design, development, testing, deployment, and maintenance. In this regard, it is a good idea to discuss your requirements with your automation software vendor to evaluate if their platform is suited as a standard. Any gaps may need to be addressed with third-party solutions. Evaluating which is best for you may be a complex process, especially as the AI goalposts are always going to be shifting. Do not underestimate the complexity of implementing standardised infrastructure, processes and model architectures, and integrating these into your corporate IT environment where data management and cybersecurity are vital.

Organisational impact

I have written in the past about the importance of bringing together operations technology (OT) and information technology (IT) groups within typical manufacturing organisation structures. With any advanced AI solution, there is another key stakeholder group: the data scientists who will build the AI models. AI models generally need to be trained, tuned, optimised, tested and validated before being deployed into production. Once a model has been developed, deploying it to edge devices and monitoring its performance in the real world, together with the need to recycle models with experience gained, can be a complex process to manage. Who will the data scientists report to in your company?

Conclusion

Edge AI holds many benefits for industrial applications. However, the complexity of deploying these technologies can be high, especially when considering hardware standardisation, software architecture, model development, training and deployment, organisational factors, and finally maintaining the models. In this regard, it is a good idea to partner with your vendor to see how best to leverage their experience and proven platforms before deploying your AI to the edge.


About Gavin Halse


Gavin Halse.

Gavin Halse is a chemical process engineer who has been involved in the manufacturing sector since mid-1980. He founded a software business in 1999 which grew to develop specialised applications for mining, energy and process manufacturing in several countries. Gavin is most interested in the effective use of IT in industrial environments and now consults part time to manufacturing and software companies around the effective use of IT to achieve business results.

For more information contact Gavin Halse, Absolute Perspectives, +27 83 274 7180, [email protected], https://www.linkedin.com/in/gavinhalse/




Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Connecting every transport node
RJ Connect Editor's Choice Data Acquisition & Telemetry
Stockholm's bus system strategically links urban mainline, suburban mainline, non-mainline routes, community service buses and night buses. To acquire and process data from multiple sources and analyse onboard information on their moving buses, Transdev sought a dependable and powerful onboard computer. It teamed up with CatAB, Moxa’s local representative, known for delivering top-notch industrial data communication boards and equipment since 1988.

Read more...
Local range of planetary units
SEW-EURODRIVE Editor's Choice Motion Control & Drives
As SEW-EURODRIVE South Africa actively extends its offerings to customers, the SEW PPK and SEW P2.e industrial gearbox ranges are good examples of solutions that are well suited to the local business environment.

Read more...
Case History 195: Unstable reboiler steam flow
Michael Brown Control Engineering Editor's Choice
A high-pressure steam flow control in a reboiler on a column in a petrochemical refinery continually cycled when placed in automatic. Several attempts had been made to tune the controller, but these had been unsuccessful.

Read more...
Open control system for retrofit of conveyor control system
Beckhoff Automation Editor's Choice
For every online retailer, warehouse logistics is part of the critical infrastructure. An Australian office equipment supplier has retrofitted the warehouse logistics installation of its central warehouse, and replaced the proprietary decentralised controllers of the conveyor lines with PC-based control from Beckhoff, based on powerful EtherCAT communication.

Read more...
Digital industrial platforms and why they are important
Editor's Choice
One of the most significant trends driving digital transformation is the emergence of digital industrial platforms. This article will briefly explore what digital industrial platforms are, why they are important, and how they might shape the future of industrial automation.

Read more...
Celebrating 65 years: rebuilding and redefining its legacy
Editor's Choice News
Founded in 1959 by Neill Simpson, Axiom Hydraulics has grown into one of South Africa’s elite hydraulic companies. Over the past six and a half decades they’ve weathered many challenges, but none as devastating as the fire of 2023.

Read more...
Young robotics team takes world title
igus Editor's Choice News
In an inspiring demonstration of innovation and teamwork, Texpand, a young South African robotics team, recently made history by winning the 2024 FIRST Tech Challenge World Championships.

Read more...
SAIMC: It’s not black and white
SAIMC Editor's Choice SAIMC
Grey imports are a problem worldwide, not least in the automation industry in South Africa. The Supplier Advisory Council (SAC) operates under the umbrella of SAIMC, and is tackling this problem head-on.

Read more...
Loop signature 25: Tuning part 3 - Results of tuning a particular simple self-regulating process by several different methods.
Michael Brown Control Engineering Editor's Choice
A couple of SWAG methods of tuning were given in the previous Loop Signature article. I have tuned a simple self-regulating process using those methods, and two other tuning methods, one of them being the sophisticated Protuner tuning package, which is the system I employ. The tests were performed on a very accurate and powerful simulation package, and the results are compared below.

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...