Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   FLL proportional alignment! (http://www.chiefdelphi.com/forums/showthread.php?t=131274)

Programator 28-11-2014 19:53

FLL proportional alignment!
 
1 Attachment(s)
Could someone please help me on making a proportional alignment program with an EV3?

Thank you!

z_beeblebrox 28-11-2014 20:02

Re: FLL proportional alignment!
 
Can you explain what you mean by "proportional alignment"? What do you want the program to do?

Programator 28-11-2014 23:22

Re: FLL proportional alignment!
 
Sorry I did not specify, what the program is supposed to do is align on a colored line with light intensity while using a proportional controller.

Thank You:D

DonRotolo 29-11-2014 17:02

Re: FLL proportional alignment!
 
Find the white paper here on CD somewhere called "PID without a PhD", that will help you understand the idea behind a P controller. Then search the term "PID" which is what you are looking for - just that your I and D terms will be ignored.

I'm not a programmer, and i know little about the EV3, but...

<Pseudocode>
Code:

Does sensor see line?
  Yes: Move forward a little
  No: Turn a little
repeat until you reach 'goal'


Chris_Elston 29-11-2014 23:46

Re: FLL proportional alignment!
 
4 Attachment(s)
We didn't have a LEGO team this year, but last year we had a couple of PID "P" only drives. Attached are a few "test" samples that run in a loop for testing and tuning.

#1: LightDrive: This followed a black line with pin point precision. You're light sensor needs to be about 1/2" to 3/4" away from the line.

#2: GyroDrive: We could drive in a straight line using the Gyro.

Hope it helps.

Programator 30-11-2014 21:19

Re: FLL proportional alignment!
 
Could someone please post a link to "PID without a PHD".
Thanks!

adciv 30-11-2014 21:21

Re: FLL proportional alignment!
 
Here you go
http://www.embedded.com/design/proto...-without-a-PhD


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

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