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:

Smart e-mobility solutions
Schneider Electric South Africa Editor's Choice Electrical Power & Protection
While electric vehicles are gaining traction in many international markets, uptake of this green form of transport is still lagging somewhat in South Africa. Even so, local demand is growing, as more environmentally conscious motorists are seeking cleaner alternatives to internal combustion engines.

Read more...
Pushing technological boundaries with Festo Electric Automation solutions
Festo South Africa Editor's Choice
In the ever-evolving landscape of Industrial Automation, Festo Electric Automation solutions are at the forefront of a revolution, fundamentally reshaping production paradigms. As a global leader in automation, Festo focuses on intelligent connectivity to reduce costs, save time, and increase efficiency and convenience for customers.

Read more...
Loop signature 23: Tuning Part 2.
Editor's Choice System Integration & Control Systems Design
It is my opinion that most tuning methods are very crude. They do of course also offer a starting point for tuning if one is not fortunate enough to have a sophisticated tuning package like a Protuner around.

Read more...
Top 10 emerging technologies
Editor's Choice News
The World Economic Forum (WEF) has identified ten technologies likely to make a significant positive impact in the next three to five years. These are detailed in the ‘Top 10 Emerging Technologies’ report, which explains each technology’s potential for addressing global challenges and the factors that will shape the future and revolutionise connectivity still further.

Read more...
Hack-proof measurement technology
VEGA Controls SA Editor's Choice IT in Manufacturing
Users in the process industry have not prioritised cyber security. This might be because they assume the IT department’s responsibility, or they don’t feel directly threatened. However, both attitudes are neglectful, and here’s why: IT security should always be a joint task between IT and OT.

Read more...
Into the future with green hydrogen
Pepperl+Fuchs Editor's Choice Electrical Power & Protection
German company, Pepperl+Fuchs is a pioneer and innovator in explosion protection and industrial sensor technology. SA Instrumentation & Control’s editor caught up with Marc Van Pelt, managing director of Pepperl+Fuchs South Africa, to find out more about the company’s involvement in sustainable manufacturing, and especially green hydrogen.

Read more...
A green hydrogen economy
Editor's Choice Electrical Power & Protection
Hydrogen is an important feedstock in processes ranging from steel, ammonia and fuel production to energy generation and storage. Traditional hydrogen processes generate large amounts of carbon, but green hydrogen has emerged as an important contribution in the global shift towards sustainable energy.

Read more...
Emission-free mobility with hydrogen
Editor's Choice Motion Control & Drives
We are now used to cars powered by electricity; but in the quest for zero carbon emissions, hydrogen cars, or hydrogen fuel cell electric vehicles (FCEVs), could be the next big thing in the automotive industry.

Read more...
Navigating the energy crossroads
Editor's Choice Electrical Power & Protection
In South Africa, industry is at an energy crossroads, caught between optimising energy usage to contain costs, and reducing carbon footprints in line with global sustainability and compliance legislation, and in line with global parent companies’ best practice standards. It is a juggling act to emulate the rest of the world in reducing carbon emissions, while still needing cost-effective, higher carbon fuels simply to keep operating; but there are solutions.

Read more...
2024 global energy outlook
Schneider Electric South Africa Editor's Choice
Schneider Electric’s 2024 Global Energy Outlook highlights five key trends shaping the future of the global energy market.

Read more...