Sorry for the delay in replying, this seems good to me as well.
Mark
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Benjamin Franksen
Sent: Monday, August 25, 2014 5:14 AM
To: [email protected]; 'Core-Talk'
Subject: Re: ePID deadband on output
[cross-posting to core-talk]
On Thursday 14 August 2014 18:13:15 Pearson, Matthew R. wrote:
> I'm using the ePID record to control a needle valve filling a cryostat
> with helium. The needle valve is controlled by a stepper motor. The
> ePID is giving good results, but I found the need for a deadband on
> the PID output. This is to avoid continually driving the motor to and
> fro by just a few steps. I implemented it via set of database
> records, and included a timer to tell me how long the helium pressure
> has been within a deadband, and then I disable the PID output (by
> setting FBON).
>
> However, I'm wondering if's a common enough use-case to be implemented
> in the ePID record. It would mean adding some additional fields,
> something like:
>
> DBS - the deadband size
> DBTS - settling time in the deadband (to avoid sitting on the edge of
> the deadband) DBT - time in seconds since we entered the deadband
> window
> DBIN - binary flag to indicate we are in the deadband
>
> If ABS(CVAL-VAL)<=DBS, and DBT>=DBTS seconds, then disable FBON.
>
> If ABS(CVAL-VAL)>DBS then reset DBTS and enable FBON.
>
> And to maintain current behavior, keep DBS=0 (the default).
>
> The database version is working fine, but it's quite a few records and
> I suspect it would be much simpler in the soft device support.
Sounds like a pretty good idea to me.
Cheers
Ben
--
"Make it so they have to reboot after every typo." â Scott Adams
________________________________
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.
Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking
Sitz Berlin, AG Charlottenburg, 89 HRB 5583
Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin
http://www.helmholtz-berlin.de
- Replies:
- RE: ePID deadband on output Dalesio, Leo
- References:
- ePID deadband on output Pearson, Matthew R.
- Re: ePID deadband on output Benjamin Franksen
- Navigate by Date:
- Prev:
Re: Problem with creating an array of Long with aSub record Benjamin Franksen
- Next:
RE: ePID deadband on output Dalesio, Leo
- 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
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: ePID deadband on output Benjamin Franksen
- Next:
RE: ePID deadband on output Dalesio, Leo
- 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
2022
2023
2024
|