Re: [time-nuts] PI Math question

2014-04-18 Thread WarrenS
Dennis Thanks for giving it some thought, I stuck your values in my spreadsheet, See Attached, Your values, like all values I've ever tried, cause all 4 code versions to come out with the same answer at all input steps, using any set of fixed K gains that I have tried. As you sort of say, as l

Re: [time-nuts] PI Math question

2014-04-18 Thread Dennis Ferguson
On 16 Apr, 2014, at 09:50 , WarrenS wrote: > With the values of K1, K2 & K3 constant, > and the initial state of I#1, I#2 and Last_Input all zero > assuming there is no rounding, clipping or overflow in the math > and that if I've made any obvious dumb typo errors that they are corrected, If we

Re: [time-nuts] PI Math question

2014-04-17 Thread WarrenS
; To: "'Discussion of precise time and frequency measurement'" Sent: Thursday, April 17, 2014 1:14 AM Subject: Re: [time-nuts] PI Math question > Warren, > > the job of a controller, regardless of P, PI od PID, is to minimize > the error between a process value and its

Re: [time-nuts] PI Math question

2014-04-17 Thread Ulrich Bangert
s-boun...@febo.com] Im Auftrag von WarrenS > Gesendet: Donnerstag, 17. April 2014 11:54 > An: Discussion of precise time and frequency measurement > Betreff: Re: [time-nuts] PI Math question > > > Ulrich > > That is correct, none of these simple code blocks form a > controller

Re: [time-nuts] PI Math question

2014-04-17 Thread Chris Albertson
On Thu, Apr 17, 2014 at 1:14 AM, Ulrich Bangert wrote: > Warren, > > the job of a controller, regardless of P, PI od PID, is to minimize the > error between a process value and its setpoint. Since I see no setpoint > value in any of your versions my 50 ct is that none of them really > incorporates

Re: [time-nuts] PI Math question

2014-04-17 Thread WarrenS
014 18:50 An: Discussion of precise time and frequency measurement Betreff: [time-nuts] PI Math question A question to the math time-nuts With the values of K1, K2 & K3 constant, and the initial state of I#1, I#2 and Last_Input all zero assuming there is no rounding, clipping or overflo

Re: [time-nuts] PI Math question

2014-04-17 Thread Ulrich Bangert
recise time and frequency measurement > Betreff: [time-nuts] PI Math question > > > > A question to the math time-nuts > > With the values of K1, K2 & K3 constant, > and the initial state of I#1, I#2 and Last_Input all zero > assuming there is no rounding, clipping or

[time-nuts] PI Math question

2014-04-16 Thread WarrenS
A question to the math time-nuts With the values of K1, K2 & K3 constant, and the initial state of I#1, I#2 and Last_Input all zero assuming there is no rounding, clipping or overflow in the math and that if I've made any obvious dumb typo errors that they are corrected, Given this PID type of