Thursday, September 22, 2016

Raspberry PI Power Monitoring




My project team came with a request that management team would like to view  power plant generation & export power data in real time . After comparing available options . i decided to develop my own system with intention of  make it simple & cheap . I choose Raspberry Pi for this project.

Power plant has got GE-PQMII for power monitoring. GE-PQM II data can be access via RS485 link in Modbus protocol.

Flow diagram

Program structure


Hardware used

1. Raspberry pi 2 B+ -Jessie OS
2. USB to serial converter
3. GE-PQM II

I developed a c program (libmodbus library) to read data from GE-PQMII using RS485 link. Obtained data's are further processed and saved in Sqlite3 database format.Website is hosted in PI using Ngnix server to display data online. For HMI graphics, i used Highchart (trail version) or you can create your own components in JavaScript or GNU plot etc.

Features :

1. Information can be view across various platforms and devices (Smart Tv,mobile phones-android,iphones Symbian etc , computers and IOTs) no devices or location restrictions,since it is web based.
2. I added a Edimax wifi to create a hot-spot in raspberry pi,so that plant persons can view the details in real-time without Internet connection.
3. Auto reporting using PHP email system
4 .Telegram bot messenger is under development.
5. Website will adopt according to user screen size -bootstrap

Screen shot 

HMI on SMART TV (Samsung) (View from Home) -sorry for low resolution photo



Mobile phone




Computer -PC  (Screen shot taken during testing -last tab was left blank)




No comments:

Post a Comment