Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   775pro encoders (http://www.chiefdelphi.com/forums/showthread.php?t=141949)

Andrew Duerner 17-01-2016 10:45

775pro encoders
 
Hi Everybody,

We have more 775pro encoders in stock. These directly attach to the back of the 775pro motor. 12 counts per rev, quadrature encoding.

http://www.armabot.com/encoders.html

Best wishes for your robot builds!

Ether 17-01-2016 12:12

Re: 775pro encoders
 
Quote:

Originally Posted by Andrew Duerner (Post 1525272)
We have more 775pro encoders in stock. These directly attach to the back of the 775pro motor. 12 counts per rev, quadrature encoding.

What do you mean by 12 "counts" per rev?

A quadrature encoder has 4 edge transitions per cycle.

Do you mean 12 cycles per rev, or 12 edge transitions per rev?




Joe Johnson 17-01-2016 13:38

Re: 775pro encoders
 
Quote:

Originally Posted by Ether (Post 1525329)
What do you mean by 12 "counts" per rev?

A quadrature encoder has 4 edge transitions per cycle.

Do you mean 12 cycles per rev, or 12 edge transitions per rev?





Good question.

How many RISING edges per channel per rev?
Also, how well are the falling edges positioned wrt the rising edges (how close to 50% duty cycle is it?)
Finally how well are the two channels oriented (90 degree being optimal -- thus quad in the name)?

Dr. Joe J.

P.S. Can you share a screen shot of an o-scope trace of the two signals?

P.P.S. Can you provide some photos of the sensor assembled on the motor?

Ether 17-01-2016 14:23

Re: 775pro encoders
 
1 Attachment(s)
Quote:

Originally Posted by Joe Johnson (Post 1525390)
How many RISING edges per channel per rev?

Yes, that would be a very clear way to specify it.


Quote:

Also, how well are the falling edges positioned wrt the rising edges (how close to 50% duty cycle is it?)
Finally how well are the two channels oriented (90 degree being optimal -- thus quad in the name)?
In their datasheet for the E4P, US Digital calls the former "symmetry" and the latter "quadrature delay". See attachment.



iambujo 17-01-2016 16:21

Re: 775pro encoders
 
Interesting concept Andrew. Do you have any detailed photos of the design and how it functions on the motor? Does it work by placing something (magnet? optical disk?) on the backshaft of the 775Pro?

Andrew Duerner 19-01-2016 03:11

Re: 775pro encoders
 
Quote:

Originally Posted by Ether (Post 1525329)
What do you mean by 12 "counts" per rev?

A quadrature encoder has 4 edge transitions per cycle.

Do you mean 12 cycles per rev, or 12 edge transitions per rev?




12 edge transitions per rev. I'll get some pictures up tomorrow. Have a good evening!

Joe Johnson 19-01-2016 07:28

Re: 775pro encoders
 
Quote:

Originally Posted by Andrew Duerner (Post 1526467)
12 edge transitions per rev. I'll get some pictures up tomorrow. Have a good evening!

Per Channel or Per BOTH Channels?

I suppose you must mean that each channel has 12 edges because this is possible with a 6 pole magnet (N-S-N-S-N-S) and you'd get an edge at each N>S or S>N transition.

I'm not sure how to even do the alternative.

Screen shots of O-scope traces of the two signals showing a full rev. would be great.

Dr. Joe J.

Andrew Duerner 19-01-2016 16:28

Re: 775pro encoders
 
2 Attachment(s)
Exactly, each channel, the disk has six magnetic poles.

Attached are some pictures of the design.

Andrew Duerner 20-01-2016 11:08

Re: 775pro encoders
 
1 Attachment(s)
Here is a screenshot of the waveform for an unloaded 775pro motor running at around 9 volts.

Ether 20-01-2016 11:37

Re: 775pro encoders
 
Quote:

Originally Posted by Andrew Duerner (Post 1527199)
Here is a screenshot of the waveform for an unloaded 775pro motor running at around 9 volts.

Very noticable quadrature error.



Richard Wallace 20-01-2016 12:03

Re: 775pro encoders
 
Quote:

Originally Posted by Ether (Post 1527212)
Very noticable quadrature error.



Yes, and the duty is not very close to 50%, either.

The two channels will be useful for telling which direction the motor is turning. Using more than the rising (or falling) edges of one channel will add jitter to the speed measurement, making the speed loop either less effective, or increasing sensitivity of its stability on tuning.

In a shooter geared 2:1 per Ether's recommendation, this gives maybe 7 or 8 useful speed samples during the loaded part of a shot. The speed regulator will be trying to boost voltage to compensate that ~ 8 millisecond load transient, with boost adjustments 16 times per millisecond (controller output modulation frequency). It will be interesting to see how well the 775pro, this encoder, and a Talon SRX can regulate wheel speed during a shot load. Factors to influence the regulation include shooter wheel moment of inertia, speed regulator tuning, supply voltage feed-forward, ball compression, wheel compression, wheel-to-ball friction, etc.

philso 20-01-2016 13:05

Re: 775pro encoders
 
Quote:

Originally Posted by Andrew Duerner (Post 1527199)
Here is a screenshot of the waveform for an unloaded 775pro motor running at around 9 volts.

Are those "downward" spikes in the first Hi period on the left and the two High periods at the right of the blue trace real? Can you post a scope shot with the scope set up with long/infinite persistence?

Joe Johnson 21-01-2016 22:34

Re: 775pro encoders
 
Quote:

Originally Posted by Joe Johnson (Post 1526493)
Per Channel or Per BOTH Channels?

I suppose you must mean that each channel has 12 edges because this is possible with a 6 pole magnet (N-S-N-S-N-S) and you'd get an edge at each N>S or S>N transition.

I'm not sure how to even do the alternative.

Screen shots of O-scope traces of the two signals showing a full rev. would be great.

Dr. Joe J.

I am an idiot some times. For Hall effect sensors, one pole, one edge*

12 edges would need 12 poles (N-S-N-S-N-S-N-S-N-S-N-S).

Joe J.


*unless it was one off those "reed switch replacement" Halls that go on based on the field strength being above a threshold in either the N or the S direction, this would be a terrible choice for this application so I think we can all agree that me being an idiot at times is the best answer and move on.

Munchskull 21-01-2016 22:39

Re: 775pro encoders
 
My one of my mentors wants to know if they can handle 19000rpm

Ether 21-01-2016 23:01

Re: 775pro encoders
 
2 Attachment(s)
Quote:

Originally Posted by Munchskull (Post 1528134)
My one of my mentors wants to know if they can handle 19000rpm

Well, it was designed specifically for the 775Pro whose free speed is 18730 so I would hope the sensor can mechanically and electrically handle that speed. Andrew, can you post an oscope trace at full speed?

As for the FPGA, the new higher FPGA sampling speed should handle it, even with the quadrature errors shown on the oscope trace posted earlier in this thread:

Code:

19000        rpm
316.7        revs/sec
3        cycles per rev (assuming 6-pole magnet w Hall sensor)
4        edges per cycle (quadrature)
12        edges per rev (quadrature)
3800        edges/sec (quadrature)
40.7        quadrature error (degrees)
182.6%        quadrature error (percent)
6937        edges/sec (with quadrature error)

If you are going to use this for speed control of a shooter wheel, follow the advice Richard gave in his earlier post and use rising edges only in one channel only, to give the cleanest (jitter-free) speed signal (especially if using bang-bang control).



Andrew Duerner 22-01-2016 15:30

Re: 775pro encoders
 
1 Attachment(s)
Hi everyone,

Ether, here is a screen shot that we took at around 13 or 14 volts.

philso, I don't know if the spikes are from the scope or the encoder. I would have to borrow the scope again to play with more settings.

As for shooter wheel design, from my experiences in 2012, having the wheel be designed to mechanically impart enough energy into the ball can lead to a very accurate shot. Our encoder was used for ensuring that a very accurate rotational velocity was achieved so that the wheel would impart the same energy each time. We added closed loop PID control helped bring the wheel back up to speed in a short amount of time for the next shot. Which in 2012 was important as you could hold 3 balls. This year the cycle times will be much longer.

Ether 22-01-2016 18:53

Re: 775pro encoders
 
Quote:

Originally Posted by Andrew Duerner (Post 1528527)
Ether, here is a screen shot that we took at around 13 or 14 volts.

Yeah, looks to be spinning about 22000 rpm:

Code:

0.0009        seconds per cycle
3        cycles per rev
0.00270        seconds/rev
370.37        revs/sec
22,222        rpm



GeeTwo 22-01-2016 23:17

Re: 775pro encoders
 
These certainly aren't the prettiest traces I've seen. However, given that these traces are directly on the motor, teams willing to invest a bit of time and a few cents on tiny capacitors will blow through these rough spots like they don't exist.

Stephen.Yanczura 23-01-2016 02:49

Re: 775pro encoders
 
We ordered a few of these and mechanically, they seem to be a very nice solution. Kudos on the design!

@Geetwo -
How would you utilize some baby capacitors to address the issues mentioned? What value and technology caps would I buy and how should I put them in the system? Thanks!

Ether 23-01-2016 11:42

Re: 775pro encoders
 
Quote:

Originally Posted by Ether (Post 1528664)
Yeah, looks to be spinning about 22000 rpm

BTW, this also shows that there are 3 cycles per rev, aka:

- 3 rising edges per rev on each channel

- 6 edge transitions (rising+falling) per rev on each channel

- 12 edge transitions per rev in quadrature





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