Go to Post Multiple event winners are what drive me and my friends to be better and achieve more. - Akash Rastogi [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 26-01-2017, 16:48
RoboBucs RoboBucs is offline
Registered User
FRC #5005
 
Join Date: Jan 2015
Location: Chattanooga, TN
Posts: 73
RoboBucs is an unknown quantity at this point
Motor Controllers Stop Working Below 50% Power in Labview

Rather than gear down our motors, we are trying to just drop the percentage of the power going through the motor controller in Labview. This works until we hit 50%(.5). Anything below 50.1% no longer works, as if no signal is going through to the motor controller. It is a spark motor controller if that helps.

Last edited by RoboBucs : 26-01-2017 at 16:51.
Reply With Quote
  #2   Spotlight this post!  
Unread 26-01-2017, 16:58
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,906
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: Motor Controllers Stop Working Below 50% Power in Labview

You are attempting to use a logic operator on floating point values.
The output of a logic operator is 1 or 0.

If you want to use a button to control the motor, here are some examples: http://www.team358.org/files/program...ControlofMotor

Or try one of these two variations for an axis control, just substitute a single motor for the Drive:
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 26-01-2017 at 17:03.
Reply With Quote
  #3   Spotlight this post!  
Unread 26-01-2017, 16:59
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,275
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Motor Controllers Stop Working Below 50% Power in Labview

Depending upon various factors, you need a certain amount of power to overcome the friction and inertia in your system. In prior years, that amount was about 25-30% power before the robot started moving.

50% seems a little high, but not unreasonable.
__________________

Reply With Quote
  #4   Spotlight this post!  
Unread 26-01-2017, 17:01
RoboBucs RoboBucs is offline
Registered User
FRC #5005
 
Join Date: Jan 2015
Location: Chattanooga, TN
Posts: 73
RoboBucs is an unknown quantity at this point
Re: Motor Controllers Stop Working Below 50% Power in Labview

So like this?(Asking since I'm using a button layout instead of joystick)
Edit: This still only works above 50%
Reply With Quote
  #5   Spotlight this post!  
Unread 26-01-2017, 17:19
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
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: Motor Controllers Stop Working Below 50% Power in Labview

Quote:
Originally Posted by RoboBucs View Post
Rather than gear down our motors, we are trying to just drop the percentage of the power going through the motor controller
Drop it by how much?


Reply With Quote
  #6   Spotlight this post!  
Unread 26-01-2017, 17:31
RoboBucs RoboBucs is offline
Registered User
FRC #5005
 
Join Date: Jan 2015
Location: Chattanooga, TN
Posts: 73
RoboBucs is an unknown quantity at this point
Re: Motor Controllers Stop Working Below 50% Power in Labview

We figured it out, I misread Mark's reply, his solution corrected the issue. I appreciate the help!
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 10:52.

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