Go to Post One of my early mentors gave me wise words -- when designing a system to compile & analyze information, your first design choice should always include consideration of a stack of 3x5 file cards. - Jaxom [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 Rating: Thread Rating: 8 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 06-02-2012, 07:17
gpetilli gpetilli is offline
Registered User
FRC #1559
 
Join Date: Jan 2009
Location: Victor, NY
Posts: 285
gpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to all
Re: Speed PID loop

One thing that I don't see in your post and that TravSatEE did not mention is that you probably need to add encoders to each pair of wheels. PID loops are closed loop systems where some device measures the error and then the PID values estimate how best to change the drive signal to achieve the desired results. For position control we typically use potentiometers for the feedback device because they have mechanical memory of where "zero" is. For velocity we typically use encoders (can also sense direction) or simpler optical sensors. Encoders mount on a shaft, preferably the same one the wheels are on. Since this may not be possible with your system and because you probably don't need to run both directions you could make a simple encoder by using the spokes of the wheel and optical reflective sensor and counting how many spokes per second you see.
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 11:30.

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