EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS for a small lab - overkill?
From: Pete Jemian via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Thu, 18 Aug 2022 15:16:09 -0500
At first glance, EPICS for a small control system seemed like using a cannon to get my goldfish out of the bowl.  But with some years of experience, I have come to appreciate the side benefits of this system.

One of the benefits was demonstrated with a visitor to the lab's periodic open house.  He wanted to have better temperature control of his home brewing (yes, beer) process, to avoid overshoot.  Was using a RPi-based control system with sufficient additional sensors and other controls, just wanted better control of the temperature profile with time (controlled ramp up, hold, controlled cool down, ...).  "Wow!  Sounds like you want PID control.  Rather than invent and implement more of this in your custom protocols, why not use EPICS and the epid record?"  With this, Ryan controlled the temperature overshoot in the process. He described the process at an EPICS collaboration meeting.  For more details, see https://epics.anl.gov/meetings/2018-06/RyanPierce_Chi.html and https://oomlout.co.uk/blogs/news/82204993-ryan-pierces-cnc-beer-brewing-station-project.html

I'd recommend using EPICS, even on a small scale because the implementation is not difficult and the side benefits can be surprising.

Pete


On 8/18/2022 2:09 PM, Sean Leavey - STFC UKRI via Tech-talk wrote:
Hi Michael,

fyi.  Archiver Appliance can be scaled down.  I have AA
running on a raspberry pi 3 in my apartment recording ~10 PVs.

Good to know it can work on that scale!

wrt. "I could probably write one in 20 lines of ..."

I'm sure you could, and many have.  As with most software,
getting a 90% solution is easy.  The trouble is that last
10% consists of things which aren't apparent.  eg. recording
disconnect/reconnect, data type change, and various problems
with timestamps.  Events which can, and imo. eventually will,
turn up in every installation no matter the size.

Indeed, I guess I was hoping someone else had already done what you say, started with 20 lines of Python and fixed the edge cases you mention, without it becoming a behemoth. But you've convinced me to give Archiver Appliance a go with what you said about the Pis!

Cheers,
Sean
This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. UK Research and Innovation (UKRI) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. UKRI does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses.


--
----------------------------------------------------------
Pete R. Jemian, Ph.D.                 <jemian at anl.gov>
Beam line Controls and Data Acquisition (BC, aka BCDA)
Advanced Photon Source,    Argonne National Laboratory
Argonne, IL  60439                    630 - 252 - 3189
-----------------------------------------------------------
      Education is the one thing for which people
         are willing to pay yet not receive.
-----------------------------------------------------------

References:
EPICS for a small lab - overkill? Sean Leavey - STFC UKRI via Tech-talk
Re: EPICS for a small lab - overkill? Arnold, Ned D. via Tech-talk
Re: EPICS for a small lab - overkill? Sean Leavey - STFC UKRI via Tech-talk
Re: EPICS for a small lab - overkill? Michael Davidsaver via Tech-talk
Re: EPICS for a small lab - overkill? Sean Leavey - STFC UKRI via Tech-talk

Navigate by Date:
Prev: Re: EPICS for a small lab - overkill? Maren Purves via Tech-talk
Next: Re: Re: Re: RTEMS 5 Cannot Read Event Generator chengsn via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: Re: EPICS for a small lab - overkill? Sean Leavey - STFC UKRI via Tech-talk
Next: Re: EPICS for a small lab - overkill? John Dobbins via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·