Go to Post FIRST encourages us to innovate and try new things, lets do the same for them. - Katie_UPS [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #16   Spotlight this post!  
Unread 05-02-2012, 01:07
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,089
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 drive paramiters?

Quote:
Originally Posted by techkid86 View Post
On second thought, we are having issues implementing one of the methods you recommended earlier.
Which method, and what issues?


Quote:
We have decided to use the

Output= Output +...

method, but out issue is, how do we get the value of the PIDControllor without setting a PIDOutput? could we just make an output object, feed it to the controller, and further ignore it?
Instead of sending the PID output directly to the Jaguar, you want to intercept it, process it, and send the processed value to the Jaguar.


So if you want to add feedforward, you'd do something like this:
Code:
processed_output = PIDoutput+feedforward;

if (processed_output>1) processed_output=1;
else if (processed_output<-1) processed_output=-1;
... then send processed_output to the Jaguar.


If you want to integrate the PID output, you'd do something like this:
Code:
processed_output += K*PIDoutput;

if (processed_output>1) processed_output=1;
else if (processed_output<-1) processed_output=-1;
... then send processed_output to the Jaguar.



Attached Thumbnails
Click image for larger version

Name:	PID+FF+int.png
Views:	14
Size:	38.6 KB
ID:	11726  

Last edited by Ether : 05-02-2012 at 03:09.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 13:08.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi