You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old September 15th, 2020, 01:45 PM   #1
lesmar96
Lifetime Supporting Member
United States

lesmar96 is offline
 
Join Date: May 2017
Location: PA
Posts: 446
Raspberry Pi in Industrial Data Logging Application

Good Day,
Though I have nearly 0 experience with the raspberry pi, I hear alot and read alot about it and its functionality.

I know this has been discussed and debated before. Would you feel comfortable using one in a industrial application? I am sure the answers will depend on what we are actually doing with it. We are not planning to control a system with it, simply datalogging. We plan to run a Node-Red flow that will poll the inputs and log data to a Mongo database.

Would this be a fair application to try out a Pi?

Has any one used these? I suppose the "industrial" part of it is mostly the enclosure? https://revolution.kunbus.com/revolution-pi-series/
__________________
Whatever you are, be a good one.
  Reply With Quote
Old September 15th, 2020, 03:41 PM   #2
Ken Roach
Lifetime Supporting Member + Moderator
United States

Ken Roach is offline
 
Ken Roach's Avatar
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 15,554
The cost is so low, there's little risk in trying.

In my shop, we've got a project that used a few dozen Raspberry Pi 3B+ units. Most are in their factory clear plastic cases, some on DIN-rail mounts with serial HATs, some on "DIN-r-Plate" mounts. My headless Node-Red instance at home runs on a NanoPi Zero in its aluminum box; it's been burbling along for a couple of months.

The Kunbus hardware has a good power supply, and peripherals with decent temperature and vibration ratings with a Raspberry Pi Compute Module mounted inside. For permanent installations, that's what I would choose. I've pitched one to a customer as "you get the consumer version in the prototype shop for free, but a Kunbus unit when we actually install it and run it 24/7".
  Reply With Quote
Old September 16th, 2020, 05:33 AM   #3
JesperMP
Lifetime Supporting Member + Moderator
Denmark

JesperMP is offline
 
JesperMP's Avatar
 
Join Date: Feb 2003
Location: Copenhagen.
Posts: 14,371
Kunbus has both CE and UL approval. That does not merely cover the eclosure.
I havent used or investigated Kunbus before, but you can try to find the EC Declaration of Conformity on their website. This document is required for them to be able to stick the CE label on the product and must be publicly accessible. On the EC Declaration of Conformity must be stated if it conforms to EMC standards, anc crucially which standards. If the EMC standards are for "industrial" environment, then you can use it in an industrial application, otherwise not.
__________________
Jesper
See my profile interests for Q&A
  Reply With Quote
Old September 16th, 2020, 10:07 AM   #4
cardosocea
Member
United Kingdom

cardosocea is offline
 
Join Date: Nov 2016
Location: Fields of corn
Posts: 1,648
I have been planning a Raspberry Pi running Zabbix to collect data on the Automation network on stie. I had one at home (running from USB, not SD) and it worked nicely as a test both for Zabbix (not a very long test) and to collect data from a couple of sensors I deployed.

For data gathering I think it should be fine.
  Reply With Quote
Old September 16th, 2020, 02:34 PM   #5
lesmar96
Lifetime Supporting Member
United States

lesmar96 is offline
 
Join Date: May 2017
Location: PA
Posts: 446
Thanks for your feedback so far!
__________________
Whatever you are, be a good one.
  Reply With Quote
Old September 16th, 2020, 02:52 PM   #6
thingstodo
Member
Canada

thingstodo is offline
 
Join Date: Feb 2012
Location: Saskatoon
Posts: 380
Quote:
Originally Posted by lesmar96 View Post
Good Day,
Though I have nearly 0 experience with the raspberry pi, I hear alot and read alot about it and its functionality.

I know this has been discussed and debated before. Would you feel comfortable using one in a industrial application? I am sure the answers will depend on what we are actually doing with it. We are not planning to control a system with it, simply datalogging. We plan to run a Node-Red flow that will poll the inputs and log data to a Mongo database.

Would this be a fair application to try out a Pi?

Has any one used these? I suppose the "industrial" part of it is mostly the enclosure? https://revolution.kunbus.com/revolution-pi-series/
Raspberry PI is cheap and powerful for sure.

If the data gathering is for 'info' or 'visualization' then go ahead and try it

If the data is historized and then fed to 'train' an expert system ... I would expect the data to be checked/vetted before being used for training. So it's likely OK.

If the data is fed 'live' a virtual instrument or simulation, I'd investigate additional layers to verify the data is active. You don't want to have your process go weird because something has stopped communicating and the data has 'flat-lined'. I know that you are not planning to do this ... but everyone has MBAs on staff that treat all data as VETTED and CONFIRMED data ... if it shows up in a spreadsheet it MUST be TRUE!
  Reply With Quote
Old September 17th, 2020, 08:54 AM   #7
lesmar96
Lifetime Supporting Member
United States

lesmar96 is offline
 
Join Date: May 2017
Location: PA
Posts: 446
Quote:
Originally Posted by thingstodo View Post
Raspberry PI is cheap and powerful for sure.

If the data gathering is for 'info' or 'visualization' then go ahead and try it

If the data is historized and then fed to 'train' an expert system ... I would expect the data to be checked/vetted before being used for training. So it's likely OK.

If the data is fed 'live' a virtual instrument or simulation, I'd investigate additional layers to verify the data is active. You don't want to have your process go weird because something has stopped communicating and the data has 'flat-lined'. I know that you are not planning to do this ... but everyone has MBAs on staff that treat all data as VETTED and CONFIRMED data ... if it shows up in a spreadsheet it MUST be TRUE!
Very good advice.

I had a phone conversation with a Kunbus dealer here in America yesterday and I was favorably impressed.
__________________
Whatever you are, be a good one.
  Reply With Quote
Old September 17th, 2020, 12:36 PM   #8
kallileo
Lifetime Supporting Member
Greece

kallileo is offline
 
Join Date: Jun 2008
Location: Thessaloniki, Macedonia, Hellas
Posts: 271
I think Revolution Pi is great product.
Below some photos from the inside...

https://www.rs-online.com/designspar...n-pi-by-kunbus
__________________
automationofthings.blogspot.com
  Reply With Quote
Old September 17th, 2020, 01:12 PM   #9
Ken Roach
Lifetime Supporting Member + Moderator
United States

Ken Roach is offline
 
Ken Roach's Avatar
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 15,554
Thanks for posting that link ! It's really neat to see that kind of detail about the hardware and how the Compute Module is connected to other parts.
  Reply With Quote
Old September 17th, 2020, 03:11 PM   #10
lesmar96
Lifetime Supporting Member
United States

lesmar96 is offline
 
Join Date: May 2017
Location: PA
Posts: 446
Yes! that is interesting
__________________
Whatever you are, be a good one.
  Reply With Quote
Old September 17th, 2020, 03:36 PM   #11
TimD
Member
United States

TimD is offline
 
Join Date: Aug 2007
Location: Manchester, NH
Posts: 213
I use pi's regularly for capturing logged data from an HMI over FTP, encrypt it, auto-upload to cloud.

There are many serial interfaces you can use on the GPIO pins to gather data with.

Heck, use some of the GPIO pins to perform functions that interact with your process!

The best advice I can give for system longevity is:

>Use a very good quality MicroSD card like from a known brand name.
>Use a much larger MicroSD than you need so it can "wear level" over time.
>Expand the filesystem in raspi-config
>DO NOT USE THE DEFAULT PASSWORD
>Study up on how to lower read/write cycles by logging to RAM: https://hackaday.com/2019/04/08/give...ak-log-to-ram/
>Make an image of the MicroSD whenever you do maintenance, these cards do fail over time.
>Autoatically (cron scheduler) copy mission critical data to a thumb drive or external data store as a backup.
>Utilize an Uninterruptible Power Supply whenever possible.

You can do pretty neat things with these little machines!
  Reply With Quote
Old September 17th, 2020, 05:18 PM   #12
lesmar96
Lifetime Supporting Member
United States

lesmar96 is offline
 
Join Date: May 2017
Location: PA
Posts: 446
Quote:
Originally Posted by TimD View Post
I use pi's regularly for capturing logged data from an HMI over FTP, encrypt it, auto-upload to cloud.

There are many serial interfaces you can use on the GPIO pins to gather data with.

, use some of the GPIO pins to perform functions that interact with your process!

The best advice I can give for system longevity is:

>Use a very good quality MicroSD card like from a known brand name.
>Use a much larger MicroSD than you need so it can "wear level" over time.
>Expand the filesystem in raspi-config
>DO NOT USE THE DEFAULT PASSWORD
>Study up on how to lower read/write cycles by logging to RAM: https://hackaday.com/2019/04/08/give...ak-log-to-ram/
>Make an image of the MicroSD whenever you do maintenance, these cards do fail over time.
>Autoatically (cron scheduler) copy mission critical data to a thumb drive or external data store as a backup.
>Utilize an Uninterruptible Power Supply whenever possible.

You can do pretty neat things with these little machines!
thanks for that advice. It sounds like you have some experience!
__________________
Whatever you are, be a good one.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Loading .Pre in an array of timers? dginbuffalo LIVE PLC Questions And Answers 24 March 11th, 2016 06:44 PM
Factory Talk ViewSE Data Logging to File - change of datatypes mzurtak LIVE PLC Questions And Answers 1 June 19th, 2015 05:10 PM
FactoryTalk View SE data logging problems yrret0715 LIVE PLC Questions And Answers 3 April 17th, 2015 11:55 AM
Serial Communication Between PLC and Raspberry Pi ClimateController LIVE PLC Questions And Answers 10 February 9th, 2015 09:55 AM
factory talk : converting MER file to APA aminto89 LIVE PLC Questions And Answers 6 September 19th, 2014 05:25 AM


All times are GMT -4. The time now is 07:22 PM.


.