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, gavin@gavinhalse.com, https://www.linkedin.com/in/gavinhalse/




Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

The thermal combustion balancing act
Editor's Choice
From carbon taxes to export tariffs, and cost containment to security of supply and sustainability, companies are under increasing pressure to switch to greener fuel sources. Associated Energy Services warns that this pivotal change has some potentially serious knock-on effects.

Read more...
What’s driving the IE3 motor revolution?
WEG Africa Editor's Choice
The International Efficiency 3 (IE3) motor standard will soon become South Africa’s legal minimum standard, mandating that local suppliers offer more efficient electric motors. What is driving this change, and how does it affect the many industries that rely on these modern electric workhorses?

Read more...
Unlocking the smart factory
ElectroMechanica Editor's Choice Motion Control & Drives
At ElectroMechanica, we recognise that transitioning to smart automation isn’t just about adopting new technology; it’s about solving real challenges. Labour shortages, rising costs and downtime due to outdated machinery make digital transformation essential for long-term competitiveness.

Read more...
Case History 197: Bad reboiler temperature control.
Michael Brown Control Engineering Editor's Choice Flow Measurement & Control
It is very important that reboiler temperature controls operate well in petrochemical refineries, or the product quality can really suffer. I was asked to check such a control in a refinery where they were having problems with one of these controls.

Read more...
The future of industrial automation: fieldbus and industrial networking
LAPP Southern Africa Editor's Choice
As a global leader in integrated solutions in the field of cable and connection technology, LAPP recognises that fieldbus and industrial networking technologies are pivotal in shaping the future of manufacturing and production processes.

Read more...
AI-driven innovations with CCTV and cyber security
RJ Connect Editor's Choice Fieldbus & Industrial Networking
The fast progress of artificial intelligence (AI) and video analytics is redefining the rail surveillance landscape. Advancements have bolstered proactive event detection, predictive maintenance and enhanced situational awareness.

Read more...
Loop signature 27: SWAG tuning of simple integrating processes.
Editor's Choice
The chief control engineer of one of the largest petrochemical refineries in South Africa once sent me an email after a course at his plant. He wrote that he had found the section on SWAG tuning of simple integrating processes one of the most informative of the whole course.

Read more...
Harnessing industrial AI agents for reliable automation
Editor's Choice IT in Manufacturing
The excitement around generative AI (GenAI) has been undeniable, promising wide-ranging changes across industries. However, for those of us in the world of industrial control and automation, the realities of implementing these powerful technologies are a little more nuanced.

Read more...
Futureproof your industrial network security with OT-centric cyber security
RJ Connect Editor's Choice
To achieve digital transformation, industrial operators must first address the daunting task of merging their information technology (IT) and operational technology (OT) infrastructure. In this article, we focus on the importance of strong OT network security and provide some tips on how to strengthen cybersecurity for industrial operations.

Read more...
The symbiotic relationship between OEMs and SIs
Schneider Electric South Africa Editor's Choice System Integration & Control Systems Design
While businesses tend to turn directly to original equipment manufacturers OEMs or vendors when embarking on IT projects, the role of the SI as a key facilitator and partner cannot be overstated.

Read more...