Browsed by
Tag: industrial automation

IoT in industry improves reliability equipment. Arduino as PLC application.

IoT in industry improves reliability equipment. Arduino as PLC application.

Abstract

IoT and Plc MDuino

Nowadays, manufacturers need keeping factories running 24×7, and, in order to ensure it, the equipment must be reliable because a failure can cost millions of euros and impact the ability to ship product to customers.   How can IoT help you to increase equipment and minimize unplanned factory downtime? The answer is monitoring factory equipment, quickly, providing maintenance engineers with detailed error message in real time. In this newsletter we will show you an example of how IoT can help in industry.

Project, Hardware and Architecture  

In this project, Opiron Electronics  connect an M-Duino PLC from IndustrialShields to the Xively IoT platform.  This example is going to show you an online monitoring feature for a Factory process, which will enable to maintenance engineers and operators to visualize factory data using Internet, so they´ll can access using smartphones or tablets.  For this reason, we are not going to implement a full automation solution because it is not the scope of this newsletter. Since the hardware point of view, the architecture that we will implement will be as the following picture shows:

Picture Architecture


First steps

First of all, make sure you have a Xively account. If you don’t already have one, you can register for a free account here.  Secondly, select the data you want to visualize. IoT is not going to substitute SCADA systems; you have to think it as an extension, so select the critical data that you would have in the cloud. In our example we will use a temperature.


Software and code

As usual, we will use the Arduino IDE to program our PLC. Furthermore, for this project we will use the Xively library for Arduino which you can download here. You will need the http client library as well, available here. The sketch will upload a datastream to the Xively platform. Xively generates graphs based on data you provide, but you can create triggers and notifications to provide alert capabilities for your application. Regarding the M-Duino PLC code, it can be downloaded here:

2014111_arduino_codeKey Benefits

The main benefits of the Opiron proposed solution are:

  • Online monitoring can reduce maintenance costs and downtime.
  • Connected: Maintenance engineers can keep connected to equipment and process, which means faster repair times and a reliability improvement.
  • Open Source based: Since the hardware and software point of view, this feature means big flexibility, big availability of resources on the internet in case of failures or change implementations, etc.
img_home
Industrial Shields harware

Contact us! Do you have a process to be automated? Contact Industrialshields to buy the right open source scalable hardware and to implement the entire solution.

Chloride Dosing System

Chloride Dosing System

Abstract

Manufacturing drinking water is a process with different steps. The last step is called disinfection, used to destroy microorganisms in water. To achieve it, systems inject chlorine. This technique is called dosing. Dosing is the technique for controlling the addition of a substance to a flowing liquid or gas.  Dosing systems are designed to achieve the required dosing level by maintaining the control signal as a proportion of the fluid flow rate. In this post we are going to develop a chloride dosing system based on Arduino.

Equipment to be used

Dosing control equipment consists basically of the following elements:

  • A controller, in this case we will use an M-Duino PLC.
  • A flowmeter.
  • A dosing pump.
  • A dosing level sensor.nanodac-dosingcontrol

The following figure shows the general arrangement of the dosing control system: The dosing concentration measured by the dosing level sensor is used to stop the pump if a there is high concentration in the tank. The flowmeter provides the input of the control loop, which is connected to the pump (as the output).

Software and code

In this example, dosing level and flowmeter are configured as a 0-10V analog input. The pump works with a frequency driver. As we have to develop a control loop, we have created a PID controller linked to the specified input, output and setpoint. You can find the code to be uploaded here:2014111_arduino_codeKey Benefits

The main benefits of the Opiron – Industrial shields proposed solution are:

  • Flexibility: This application note describes how the Open source based hardware can be used to control the dosing level of a chlorine system. However this same architecture can be used with any liquid or gas using the PID algorithm.
  • Freedom to modify your software: You aren’t limited to what one company believes you need.
  • Easy to be integrated: No matter if you already have an automation system. The Arduino hardware is easy to integrate into your system..
Contact us!

Do you have a process to be automated? Contact Industrialshields to implement the entire solution and to buy the proper hardware.