View Single Post
  #12   Spotlight this post!  
Unread 25-02-2013, 23:35
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
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 vs Bang-Bang for Shooter Consistency

Quote:
Originally Posted by lori558 View Post
the photoswitch didn't pick up the 1 stripe at high RPMs. So we switch and put a piece of tape that covers the gap between 1 spoke to another. So it is a thick stripe...
OK, that is what I was concerned about. That photosensor isn't exactly a speed demon. It needs a wide stripe. The wider the better (up to 180 degrees of arc, no more).

Quote:
Currently it is set up according to a tachometer:
Yes, that's the "period" method (method2) that I was talking about in my previous post.


Quote:
Quote:
Ether:
With a low count-per-rev sensor, you want to use the 2nd method, not the first.
How exactly do I go about programming that?
If you're using this, you're already doing it.

Quote:
The code thus far is attached!
The code doesn't look right to me, but I'm not a LabVIEW guru. It looks like you are converting the period to rpm, then subtracting the previous rpm value from it, then comparing it to a period. Bill or Mark, can you please jump in here and help him?


Reply With Quote