Friday, May 11, 2018

Project - PC Based Industrial Equipment Controller

This project I did for a university student in 2015 as his final year project for BEng(Hons) in Electrical and Electronic Engineering.

The project, PC based industry equipment controller is to monitor and control illumination lights and equipments remotely using a PC based software.
The project is to be used in a industry environment, where the factory expand to several buildings and away from monitoring station. controlling of illumination lights done individually or as cluster using a relay switch. Status of light bulb is checked by reading output pin register. status of motors such as voltage, current consumption and revolution is read using sensors.
in this project one light bulb and a motor is used to demonstrate.
The data to monitoring station was planed to send via 2.4 GHz digital transceiver unit. because the factoring buildings and monitoring station is far away, and it is not possible to plant wires to communicate.
Following is the block diagram of the system,
Block Diagram of System
Following is the schematic diagrams of Factory side unit and Monitoring side unit

Schematic Control and Monitoring Side

Factory Side Schematic
Factory side unit reads current consumption of motor using hall effect current sensor. Voltage is measured using resistor divider. and speed of motor measured using slotted disk attached to motor shaft and slotted op-to coupler. these data is processed and calculate to get useful information, then send to Monitoring side along with status of light bulb using nRF24L01+ digital transceiver.
On the monitoring side the microcontroller read bulb state to be set from PC and waits for incoming packets from Factory side nRF24L01+ transceiver. nRF24L01+ transceiver have ability of sending data with acknowledge signal to received data packets. 
also the nRF24L01+ transceiver configured as receiver have ability to receive form 6, nRF24L01+ transceivers configure as transmuters. therefore it is possible to have more than 1 factory side circuits. upon reception of motor and light status, monitoring side board send data to software on PC.



Above are the PCB drawings of units.
Following figures show the solders PCBs ready to program. 

Monitoring Side Unit
 The Black colour PCB in top centre of picture is nRF24L01+ Transceiver this unit capable of establishing radio wave link up to 100 meters with patch antenna formed using Copper paths. the unit could configure as either transmitter or receiver in program. communication between two units are secure using a security ID. USB port on the right side is used to connect to PC to send data. 



This board is on factory side. the chip on the centre is the Microchip microcontroller. the unit on top left side is current sensor. The sensor measure magnetic field induced when current passes true to measure using hall magnetic sensor. the unit out put analogue signal proportional to the current pass through. The relay, on bottom right side used to control Light bulbs.



The picture above show instance of testing system. I also have done the project report for the particular student. 

Following are the program Codes.

Factory Side Program Code : Factory_side.txt
Control Room Side Program Code : Control_Room.txt
nRF24L01+ Library : nRF24L01P.txt

PC Based Industrial Equipment Controller Project Report

මෙම ලිපියෙහි සිංහල පරිවර්තනය සඳහා පිවිසෙන ඉලෙක්ට්‍රොනික ලෝකය  

No comments:

Post a Comment