DPRG
DPRG List  



[DPRG] PID Loop Question

Subject: [DPRG] PID Loop Question
From: Rick Bickle rbickle at intconsys.com
Date: Tue Feb 23 14:21:54 CST 2010

Ron,

 

You are correct. My mistake.

 

The Ivalue term should be: 

 

Ivalue += Err * Iterm;

 

Where the Iterm is usually very small compared with Pterm or Dterm.

 

Rick

 

 

From: DeltaGraph at aol.com [mailto:DeltaGraph at aol.com] 
Sent: Tuesday, February 23, 2010 1:10 PM
To: Rick Bickle; dprglist at dprg.org
Subject: Re: [DPRG] PID Loop Question

 

Hey Rick,

 

I don't see your "I" term accumulating error to push toward a solution.
Say your motor was running at 99.9% of desired speed. That tiny error
would result in tiny P and I contributions, but wouldn't you want to see
a growing "I" term which would push the system toward zero error over
time?

 

---

 

Re: Jose's thanks: Yes, my thanks too. Closed loop computer motor
control is bunch of fun. I will bet we will see you doing some really
cool stuff. Right out of the gate, your H-Bridges are handy and cool
(literally).

 

I remember when I joined DPRG in 2003, My previous first attempts at
doing DC servo motor control had met with little success, then a little
input for DPRG members and I was building some pretty cool stuff - cool
in my eyes anyway.

 

I am still a bit of a hack, but you don't have to get servo control 100%
right -- it seldom is anyway..

 

Ron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.dprg.org/pipermail/dprglist/attachments/20100223/f4ea5bee/attachment.html

More information about the DPRG mailing list