View Single Post
  #5   Spotlight this post!  
Unread 14-06-2012, 09:44
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,010
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: PID Control algorithm(to control PWM Duty Cycle based on Current)

Quote:
Originally Posted by efoote868 View Post
You might want to consider using a feedback loop instead of strictly PID.
PID uses feedback

Quote:
Think of it this way - when the error drops to zero, you don't want to set your Duty Cycle to zero, you want to keep it exactly the same.
That's what the "I" in PID is for.