What is an IoT System
The Internet of Things (IoT) refers to a collection of interconnected devices that use internal sensors and software to collect and share data over a network (such as WiFi). These devices can be machines, appliances, lights, vehicles, wearables etc. Some of them can be controlled remotely and they can range from simple devices to very complex machinery.
An IoT system is a collection of these devices that connect via a network to a remote monitoring and display device. Display data is often presented in dashboards which shows device status (good, faulty), individual live readings or trend graphs showing historical data.
For example, imagine a machine in a factory. We might want to know when it is running, how many parts it produces, or whether its temperature is increasing. Rather than relying on someone to check the machine and record the information manually, we can use technology to collect and display that information automatically. This data can be analysed to identify patterns and trends and to help optimise a machine or process thus saving time and cost.
IoT devices can also be used to track inventory or to monitor the quality of finished products.
In this article, we’ll explain the main parts of an IoT system, what each one does, and how they work together.
Sensors - Measuring the Physical World
A sensor is a device that detects or measures something happening in the physical world. It might measure temperature, pressure or vibration or it might detect movement or identify when an object is present or detect the size or shape of an object.
A sensor converts what it detects or measures into a signal that another device can read. Note that often the output of the sensor is a voltage which is then turned into a digital signal by a PLC or computer or data monitor. Complex machines or processes will already use multiple sensors of different types. Some of the data from these sensors may be available to be read externally and sent to a dashboard for analysis.
For more information about different sensor types and how they work, see our Introduction to Sensors article.
Pressure Sensor
Measures the pressure of liquids or gases in a machine or process.
Thermocouple Probe
Measures temperature in equipment, machinery or manufacturing processes.
Laser Profiling Sensor
Uses a laser to measure the shape, height or profile of an object.
Controllers and PLCs — How Machines Use Information
Many machines have a device that receives signals from sensors and switches and uses these to monitor status and to control actions such as turning on or off motors or valves. This device is called a controller. Controllers can be different types such as Programmable Logic Controllers (PLC), or embedded controllers/computers or edge computers. There are many terms and although each term implies a different type of controller we can simply use the term controller. The controllers will usually include some type of computer which will be programmed to do a specific set of tasks. The sensor data can be analysed and processed locally by the controller and this processing can be very complex. For example, the output of one or more vibration sensors can be analysed which often needs a lot of processing power. this data can then be summarised and an alert generated if maintenance is required.
So imagine a simple conveyor belt that uses a sensor detecting a product as it reaches the end of a conveyor. The controller receives the sensor data and then sends an output to stop the conveyor or start another part of the machine.
A device that turns a command from a controller into physical movement is called an actuator. For the conveyor example above, the controller can decide to divert a package using a pneumatic cylinder as an actuator.
Connectivity — Moving Information
The controller thus gathers useful information which can then be forwarded to a remote device or display to produce real time information about status or warnings.
Depending on the equipment and the site, information can travel over a direct cable, a wired industrial network or a wireless connection. Some systems can run entirely on the factory’s local network, with no need for internet access or a cloud service.
Transmitting the data over long distances can be expensive or the amount of data that can be sent is limited and so it can be important to limit the data by processing it before sending it; in the case only information about status is sent and all the data is stored locally.
Power — Keeping Devices Running
Existing sensors and controllers will have their own dedicated power supplies. If a new sensor or controller is added then the power supply should be considered. This may use local mains electricity or sometimes a batter is needed if no local power is available.
Battery power needs careful consideration as batteries have a limited life and replacing them on remote sites needs to be planned.
Gateways and Edge Devices — Collecting and Processing Data
Sometimes a device sits between the machine and the device that needs or displays its data. It might gather readings from several machines or translate between different ways of communicating. A device that does this is often called a gateway.
A device near the machine can also process information locally. For example, it could count parts as they pass a sensor and send a total every minute. A device that handles this kind of work close to the equipment is often called an edge device or edge computer. It can be used to process data locally and only send limited data over the rest of the network when required in order to reduce the amount of data being sent. The data can also be stored on this device so that if there is an outage elsewhere on the network the data will still be available.
If the machine can already pass the required information directly to the end system that uses it, a separate gateway may be unnecessary.
Data Storage — Keeping a History
A live display can give you valuable information about a machine or process. Historical data can be kept so that trends can be seen or common faults analysed. Keeping a history lets you see what happened yesterday, last week or last month.
The records can be stored on a computer or server at the site, or remotely in a cloud service. The choice depends on where people need to access the records and how the site manages its data.
Dashboards — Turning Data into Information
A stream of numbers and signals can be hard to make sense of during a busy shift. A dashboard presents selected information in a form that is easier to read, such as a running status, a production counter or a chart showing temperature over time.
A supervisor might use one screen to see which machines are running and when a stoppage began. The design of dashboards is important so that the information can be easily and quickly seen.
Putting Everything Together — A Machine Monitoring Example
Imagine a workshop with a packaging machine that stops several times a shift. The production supervisor wants to know how often it stops and for how long.
The monitoring system could read the running status from the existing PLC. If that information is unavailable, a suitable sensor could provide a signal. The system collects each change of state, records the time and uses those records to show the number and length of stops on a dashboard.
Machine or sensor → Data collection → Data storage → Dashboard
The records show when the machine stopped and for how long, giving the team a starting point for finding out what caused the stoppages.
Benefits of IoT Devices
A well designed IoT system can provide information essential for monitoring the health and status of a machine or process. The information can be used to reduce downtime, improve efficiency and to lower costs. Problems can be quickly analysed and corrective actions implemented.
See what is happening while there is time to act. A dashboard can show whether a machine is running, how many good parts have been recorded, or whether a process temperature is drifting. If a sensor flags a problem then the maintenance team can be alerted quickly.
Reduce repetitive recording. A controller can automatically log data and send it to a dashboard for trend analysis. Operators can then spend less time copying and plotting figures and spend their time optimising the manufacturing process.
Find production losses and energy waste. IoT data can show the times when a machine stops and whether this is due to a lack of material or parts or is waiting for the next machine on the line. It can also monitor electricity used and thus which jobs consume most energy.
Plan maintenance around signs of wear. A vibration sensor or temperature probe can help maintenance spot a change in how a motor behaves. A persistent trend can prompt an inspection ahead of a breakdown. The trend gives the team a reason to check and helps them decide when to plan the maintenance work thus eliminating unplanned downtime.
Catch quality changes and trace affected batches. Sensor data, including visual inspection can be used to monitor the quality of finished goods. Other sensors may be used to correlate why product is failing inspection and take corrective action before significant scrap occurs.
How MDDSystems Approaches an IoT Project
At MDDSystems, we use five steps to take a manufacturing problem from the first discussion to a solution the customer can use and maintain.
Discovery. We ask the customer what their problems or aims are. We audit the existing data, sensors and dashboards.
Architect. We produce a plan for how to achieve the customer’s aims using existing hardware or recommend additional hardware. We agree which data stays local, how access will be controlled and who will look after each part of the system.
Prototype. We test the smallest useful version on one machine. We compare its readings with an independent check, see what happens when a signal is lost and ask operators whether the display helps them decide what to do.
Industrialise. We turn the trial into an installation the site can support. We confirm the hardware suits the environment, verify the readings after fitting, and document settings, recovery steps and maintenance responsibilities.
Deploy & Improve. We commission with the people who will use and maintain the system. We review the results and use feedback to decide what to adjust or repeat on another machine. The data from the new IoT system can indicate further improvements so the process of Discovery to Deploy repeats, each time adding value.
If you have a machine monitoring or data collection problem you’d like to discuss, get in touch.