Go to Post in FIRST it's not just about where you finish in the standings but the intangible of inspiration where there is no true or immediate forum of measurement. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-08-2011, 01:15
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
MDL-BDC24 Comutator Mode

Just digging through the source code for version 7243 and stumbled apon this curiosity.


Code:
           //
            // Set the number of brushes in the motor, which determines the
            // number of commutations per revolution for sensor-less speed
            // detection.
            //
            case COMMAND_NUM_BRUSHES:
            {
                //
                // This command has been handled.
                //
                break;
            }
Now the comments state that the command was handled although it is not. Anyone have any more insight into this?
Reply With Quote
  #2   Spotlight this post!  
Unread 11-08-2011, 07:52
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,766
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: MDL-BDC24 Comutator Mode

Bryant,
Doesn't the response return a status that the brush number has been set and nothing else? Since I am not a programmer, this seems flawed in that all of our motors have two brushes but the number of commutations per revolution varies from motor to motor. Some only have three commutator segments, but others have mush more. I wonder what the other part of the code uses to make the calculation.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #3   Spotlight this post!  
Unread 11-08-2011, 10:10
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: MDL-BDC24 Comutator Mode

That may be just a stub for future capability or something they were thinking of playing with.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 11-08-2011 at 10:22.
Reply With Quote
  #4   Spotlight this post!  
Unread 12-08-2011, 14:23
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
Re: MDL-BDC24 Comutator Mode

The comments read "for sensorless speed detection" I'm getting antsy!

Haven't actually mapped out the hardware of the jag but how would it be possible to do this? Maybe detect spikes and brakes in current?
Reply With Quote
  #5   Spotlight this post!  
Unread 12-08-2011, 14:59
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
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: MDL-BDC24 Comutator Mode

Quote:
Originally Posted by drakesword View Post
The comments read "for sensorless speed detection" I'm getting antsy!

Haven't actually mapped out the hardware of the jag but how would it be possible to do this?
http://ieeexplore.ieee.org/xpl/freea...number=4510598

http://ieeexplore.ieee.org/xpl/freea...number=5951768

http://www.ideadvance.com/sites/idea...hitePaper2.pdf


Reply With Quote
  #6   Spotlight this post!  
Unread 18-08-2011, 17:12
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
Re: MDL-BDC24 Comutator Mode

Very Nice ...
How do we implement this ^_^
Reply With Quote
  #7   Spotlight this post!  
Unread 18-08-2011, 19:22
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
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: MDL-BDC24 Comutator Mode

Quote:
Originally Posted by drakesword View Post
Very Nice ...
How do we implement this ^_^
Use a scope to look at the motor's voltage and current under various operating conditions and see if there's a commutator transition signature of sufficient S/N that you could detect it reliably with some custom hardware.

Or better yet, wait till TI adds that functionality to the Jag, or some third party markets a chip to do it.


Reply With Quote
  #8   Spotlight this post!  
Unread 19-08-2011, 21:09
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
Re: MDL-BDC24 Comutator Mode

Quote:
Originally Posted by Ether View Post
Use a scope to look at the motor's voltage and current under various operating conditions and see if there's a commutator transition signature of sufficient S/N that you could detect it reliably with some custom hardware.

Or better yet, wait till TI adds that functionality to the Jag, or some third party markets a chip to do it.

Yea I meant as in how do we implement this with the jags current hardware ...

I have yet to dig into the full hardware availability on the jag ... guess Ill be doing that next
Reply With Quote
  #9   Spotlight this post!  
Unread 19-08-2011, 22:36
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
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: MDL-BDC24 Comutator Mode

Quote:
Originally Posted by drakesword View Post
Yea I meant as in how do we implement this with the jags current hardware
AFAIK, the current Jag does not have built-in support for this.


Reply With Quote
  #10   Spotlight this post!  
Unread 24-08-2011, 14:04
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
Re: MDL-BDC24 Comutator Mode

Quote:
Originally Posted by Ether View Post
AFAIK, the current Jag does not have built-in support for this.
Well there's hardware built in for current/voltage monitoring could it be bitbanged into our purposes?
Reply With Quote
  #11   Spotlight this post!  
Unread 24-08-2011, 14:21
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
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: MDL-BDC24 Comutator Mode

Quote:
Originally Posted by drakesword View Post
Well there's hardware built in for current/voltage monitoring could it be bitbanged into our purposes?
Could be wrong, but my guess is no. Sample rate too slow to reliably capture and detect all commutation transitions.

As I said previously, use a scope to look at the the commutation transition signature to see what would be required to reliably detect it.


Reply With Quote
Reply


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 02:54.

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