element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Raspberry Pi for Industrial Uses
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 37 replies
  • Answers 26 answers
  • Subscribers 668 subscribers
  • Views 11296 views
  • Users 0 members are here
  • iiot
  • plc
  • pi compute
  • industry
  • sbc
  • compute module 3
  • raspberry_pi
  • raspberri pi
  • raspberry pi 3b+
  • process control
  • raspberry pi 3 a+
  • dcs
  • compute module
Related

Raspberry Pi for Industrial Uses

tonydbeck
tonydbeck over 6 years ago

I am interested to know what experience others have had using a Raspberry Pi in industry?  I would love to hear about:

 

  • Any issues with short and long term reliability?
  • Connectivity with Industrial control systems -
    • Have add on boards been used?
    • Have custom PCB's been made to interface 24V based I/O on PLC's / DCS systems etc?
    • How has it been hooked up to power?
  • Issues with EMI?
  • Long term SD card reliability?
  • Has a Pi been used to actually control some industrial equipment rather than for monitoring or HMI?
  • What version of Pi was used - eg. Compute module
  • Why use a Pi vs a PLC or industrialised PC?
  • What were the biggest challenges?
  • Was there any challenge from peers or management in using something that could be viewed as an educational tool rather than industrial control equipment?
  • What OS has been used?
  • Have there been any concerns around security? Especially if connecting to a Process Control Network.
  • What security precautions have been taken?

 

I can see lots of advantages to using a Pi in industry - for example the amount of power and versatility for such a low cost!

 

 

Even if you don't have experience using a Pi in industry - it would still be great to hear people points of view! 

 

I look forward to some interesting responses!

 

-------------------------------------------

Tony

  • Sign in to reply
  • Cancel
Parents
  • Gough Lui
    0 Gough Lui over 6 years ago

    While a Pi might seem to be an attractive solution, I can't exactly advocate its use in true industrial circumstances for a number of reasons:

    • Raspberry Pi is for the most part, a low-cost consumer product. While they could be applied in industrial situations, they're not designed to be as robust as true industrial solutions. When in industry, you might be controlling extremely expensive equipment, controlling something that could involve safety-of-life or you might be dealing with clients with high expectations, so failures are not acceptable. Further to this, the cost of providing support (e.g. a truck-roll to premises to fix the equipment) could very much outweigh any savings that you might get. Additionally, clients may demand systems which are built with reputable parts to alleviate risk regarding lack of support, satisfy their stakeholders that they're making an appropriate choice of equipment and allow service personnel from different companies to work on the equipment to bring it back into operation whenever a failure occurs.
    • Consumer products typically do not cover the same level of operating temperature range, nor do they have things like conformal coatings to handle the dusty, greasy and sometimes humid environments encountered. They're also potentially not able to handle high vibration environments, along with potential voltage/current spikes/surges which can occur in automotive/industrial equipment settings. EMI from a heavy current-handling contactor could be sufficient to reboot or cause strange operating behaviour of microcontrollers/SBCs.
    • Raspberry Pi SBC itself is very much "naked", so I suppose some of these points can be alleviated through careful treatment of the board with conformal coating, enclosure in an aluminium chassis for heatsinking and shielding, using specially designed HATs etc. But then that's a lot of work, it voids warranty and it's not guaranteed.
    • Depending on how you utilise the Raspberry Pi - if you're just running a regular Linux OS, there are a few issues - for example:
      • It's a fully-fledged operating system, it takes a while to start up which can be unacceptable.
      • It also is based on open source code that evolves rapidly - this can break software as it is updated, and there can be security holes that need to be urgently patched at time without any centralized management mechanism.
      • It is a multitasking operating system - so the delay involved when servicing requests can vary depending on CPU load and how the I/O is being performed (e.g. interrupt or polled) which could be unacceptable.
      • The board itself also uses regular consumer RAM without any error correction - in case of memory corruption (which can happen organically due to charged particles, or due to power fluctuations), the board could crash or execute incorrectly - are there any failsafes that stop people from getting hurt or equipment from getting damaged?
      • The board is pretty sensitive to power - how are you going to supply good quality power to the board at all times and ensure that it never improperly shuts down (at the risk of corrupting the SD card requiring intervention)? Even having a UPS is no guarantee as batteries fail and servicing can be missed.
    • You might need to develop your own software to network them "safely" - a lot of existing proprietary solutions have evolved over time which have helped their safety, but of course, some process controls stuff is not safe by design (e.g. vulnerable to replay attacks) and is only safe due to air gapping, but you'd always hope to advance the state of the art.
    • SD card issues can be common. Early Raspberry Pis had contact issues with full-sized SD cards, whereas the later push-push type sockets with microSD generally work well, at least when not being vibrated. The big issue is the variance in flash memory quality - many consumer SD cards are TLC/QLC flash with very low endurance, meaning that they cannot sustain more than about 100-500 full cycle writes before they fail. Many are also optimised for large block writes rather than small block writes, making for a slightly reduced user experience when it comes to updating the OS for example. Opting for a high-endurance MLC industrial flash card is a better option, but these cards often have to be specially ordered at a higher price.
    • Sometimes you can be caught out by unexpected issues - e.g. use a small microSD card with slightly wrong settings and you might find your system logs somehow fill up the storage, making the system completely unworkable. Besides, even things like system logs often will eat at flash write cycles whenever the unit is operational and something happens.
    • Long term reliability is an unknown - I've had no major issues with well made boards, but early Raspberry Pi Model B boards had some BGA soldering issues, and some late boards are seemingly having some through-hole soldering issues with some Pi 3 B+'s failing randomly ... but since most of my critical stuff still runs on the original Model B, I've had very good luck with most of my Pis with the 5V supply failing frequently before the board does.

     

    If you're looking to RPi as a money saving option, better think twice. In industry, the downtime could indeed eat up any savings, along with the need to engineer custom interfaces, treat boards specially, run updates, provide failsafes, provide documentation/support, ruggedize the unit and cover your legals.

     

    - Gough

    • Cancel
    • Vote Up +8 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • tonydbeck
    0 tonydbeck over 6 years ago in reply to Gough Lui

    Hi Gough,

     

    Thankyou very much for your response - you have made some really good and valid points! 

     

    I guess that there are a whole host of factors that would need to be taken into account when selecting some hardware for a particular task whether it be consumer based or industrial based.  Following on from the points you have made, some considerations could be:

     

    • Will it be used for monitoring and / or control? - If it is only monitoring, early failure may be acceptable risk, for control maybe not.

     

    • What environment would it operate in? - If it is operating in a semiconductor fab plant the conditions are going to be pretty good, if it is on an oil rig in the North Sea then probably quite the opposite!

     

    • Does it interact with any safety-of-life functions and does it need to meet SIL requirements?  A pi in its standard form certainly does not meet any SIL requirements.

     

    • Where is the board going to be mounted - will it be housed in a control panel, metal enclosure or would it be exposed?  If it can be mounted in a good quality metal enclosure then perhaps some environmental issues could be alleviated.

     

    • What sources of EMI are nearby? As you say there is risk from EMI causing issues - certainly on a 'naked' board and in a factory where there may be noise generated from large drives, contactors, switchgear etc. EMI would be a big issue.

     

    • What software / OS will it run?  - There are a number of options that could be used on a Pi - Rasbian, Ubuntu Mate, Ubuntu Snappy Core, Windows IoT Core, Risc OS.  As is in the case of the netPi board highlighted above, a customised hardened platform could be used based on Yocto and Docker. I guess software selection again depends on a number of factors:
      • What start up time is acceptable? - in some scenarios it may be left running for years.  In the plant I work in, some of our machinery can take days to start up - which is acceptable as it is only taken down for overhaul every few years and start-up times are factored into machine startup planning - it is otherwise left running all the time.
      • What I/O response time is required?  Some machinery will require very quick sub second response times, other equipment may only need a response within a minute or more.
      • What would be the consequences of software failure due to a bug in the code or even RAM errors?  If the device is used purely for monitoring a non critical system then this may not be a problem, but if it could lead to a safety incident or machine damage then operational reliability may be really critical.

     

     

    • What power supplies are available?  How robust are they?  At the plant I work at, there is lots of process control equipment - PLC's, DCS controllers, bespoke controllers etc. that are sensitive to power supply issues.  For anything that is critical, quite often it will be fed with 2 supplies where one supply might be UPS backed.  As you say though, batteries can and do fail and as you have pointed out improper shut downs can be an issue.

     

    • How would the board be connected to other systems?  Does it need to be networked, or can it accomplish it's function as a standalone device? If used for an IoT application then probably not, but if used to give a discrete output based on some other input such as analysing an image from a camera then it may not need network connectivity.   If it is not connected via ethernet / WiFi then the risk of attack through the network is virtually eliminated.  There is of course always the risk of attack if someone has physical access to the device.

     

    • What type of storage is required?  In the case of the Raspberry Pi Compute module it has an on board 4GB eMMC flash chip which I believe is MLC memory so should offer better reliability and lifetime than a standard pi.

     

    • What is the required life-cycle time?   It may be expected to last for the lifetime of the plant - which could be 20 years or more, or it may only be required for a short term monitoring application to collect some data on a machine to determine a specific problem or optimise a process. This may require something quick, cheap and with high flexibility.

     

    I have based the above points on what you have highlighted, but I am sure that many more factors could be listed here.

     

    You make a really great point that downtime, engineering custom interfaces, covering legals, ruggedizing, running updates, providing failsafes and providing adequate support could soon eat away any savings that would be made in the cost of the device alone.

     

    IMHO I don't believe a device like this should be completely written off for use in industry however - I think it really does depend on the application and considerations above.  Certainly in some circumstances, it would be a definite DO NOT USE - especially if it will effect safety, but others uses in industry may fall into a grey area.  Also with the likes of the netPi, myPi and other industrialised versions, some of the issues with using a standard Pi in an industrial environment are solved.

     

    Thanks again for your response - it has been very thought provoking reading through your response and replying! image

     

    Cheers

    --------------------------------------------

    Tony

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • tonydbeck
    0 tonydbeck over 6 years ago in reply to Gough Lui

    Hi Gough,

     

    Thankyou very much for your response - you have made some really good and valid points! 

     

    I guess that there are a whole host of factors that would need to be taken into account when selecting some hardware for a particular task whether it be consumer based or industrial based.  Following on from the points you have made, some considerations could be:

     

    • Will it be used for monitoring and / or control? - If it is only monitoring, early failure may be acceptable risk, for control maybe not.

     

    • What environment would it operate in? - If it is operating in a semiconductor fab plant the conditions are going to be pretty good, if it is on an oil rig in the North Sea then probably quite the opposite!

     

    • Does it interact with any safety-of-life functions and does it need to meet SIL requirements?  A pi in its standard form certainly does not meet any SIL requirements.

     

    • Where is the board going to be mounted - will it be housed in a control panel, metal enclosure or would it be exposed?  If it can be mounted in a good quality metal enclosure then perhaps some environmental issues could be alleviated.

     

    • What sources of EMI are nearby? As you say there is risk from EMI causing issues - certainly on a 'naked' board and in a factory where there may be noise generated from large drives, contactors, switchgear etc. EMI would be a big issue.

     

    • What software / OS will it run?  - There are a number of options that could be used on a Pi - Rasbian, Ubuntu Mate, Ubuntu Snappy Core, Windows IoT Core, Risc OS.  As is in the case of the netPi board highlighted above, a customised hardened platform could be used based on Yocto and Docker. I guess software selection again depends on a number of factors:
      • What start up time is acceptable? - in some scenarios it may be left running for years.  In the plant I work in, some of our machinery can take days to start up - which is acceptable as it is only taken down for overhaul every few years and start-up times are factored into machine startup planning - it is otherwise left running all the time.
      • What I/O response time is required?  Some machinery will require very quick sub second response times, other equipment may only need a response within a minute or more.
      • What would be the consequences of software failure due to a bug in the code or even RAM errors?  If the device is used purely for monitoring a non critical system then this may not be a problem, but if it could lead to a safety incident or machine damage then operational reliability may be really critical.

     

     

    • What power supplies are available?  How robust are they?  At the plant I work at, there is lots of process control equipment - PLC's, DCS controllers, bespoke controllers etc. that are sensitive to power supply issues.  For anything that is critical, quite often it will be fed with 2 supplies where one supply might be UPS backed.  As you say though, batteries can and do fail and as you have pointed out improper shut downs can be an issue.

     

    • How would the board be connected to other systems?  Does it need to be networked, or can it accomplish it's function as a standalone device? If used for an IoT application then probably not, but if used to give a discrete output based on some other input such as analysing an image from a camera then it may not need network connectivity.   If it is not connected via ethernet / WiFi then the risk of attack through the network is virtually eliminated.  There is of course always the risk of attack if someone has physical access to the device.

     

    • What type of storage is required?  In the case of the Raspberry Pi Compute module it has an on board 4GB eMMC flash chip which I believe is MLC memory so should offer better reliability and lifetime than a standard pi.

     

    • What is the required life-cycle time?   It may be expected to last for the lifetime of the plant - which could be 20 years or more, or it may only be required for a short term monitoring application to collect some data on a machine to determine a specific problem or optimise a process. This may require something quick, cheap and with high flexibility.

     

    I have based the above points on what you have highlighted, but I am sure that many more factors could be listed here.

     

    You make a really great point that downtime, engineering custom interfaces, covering legals, ruggedizing, running updates, providing failsafes and providing adequate support could soon eat away any savings that would be made in the cost of the device alone.

     

    IMHO I don't believe a device like this should be completely written off for use in industry however - I think it really does depend on the application and considerations above.  Certainly in some circumstances, it would be a definite DO NOT USE - especially if it will effect safety, but others uses in industry may fall into a grey area.  Also with the likes of the netPi, myPi and other industrialised versions, some of the issues with using a standard Pi in an industrial environment are solved.

     

    Thanks again for your response - it has been very thought provoking reading through your response and replying! image

     

    Cheers

    --------------------------------------------

    Tony

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube