Go to Post They showed me a new item and said "we don't know how to list this on the inventory." I took one look, started laughing and said "In my world that is called a game piece, aka, a tote." - RoboMom [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 6 votes, 4.50 average. Display Modes
  #1   Spotlight this post!  
Unread 10-02-2015, 13:53
cusack80 cusack80 is offline
Registered User
None #5256
 
Join Date: Feb 2015
Location: Michigan
Posts: 8
cusack80 is an unknown quantity at this point
Window Motor/Snowblower and 12v only one way

We have tried both motors both ways. We are running off a talon. It works great one way and stutters the other direction. When we check voltage 12v working going up and hardly anything going down. When we reverse our pos and neg on motor the problem reverses. If we hardwire (mentor does this) to battery it runs both directions fine. We go back and wire it back to the talon problem reappears and one direction works flawless other direction stutters like it is not getting power....this is for our elevator mechanism. We have tried switching PWM cable, window motor and snow blower motor and tried victor or talon and problem replicates. Any ideas?
  #2   Spotlight this post!  
Unread 10-02-2015, 13:59
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Mentor, LRI, MN RPC
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,835
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Window Motor/Snowblower and 12v only one way

Two thoughts...

First, have you removed the locking pin in the window motor? (R19 part C)

Do you need variable seeps control? Have you tried using a spike relay instead? This would act the same as hooking it up straight to a batterychoking you full speed in both directions. (Table 4-4 under R42)
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
  #3   Spotlight this post!  
Unread 10-02-2015, 14:05
cusack80 cusack80 is offline
Registered User
None #5256
 
Join Date: Feb 2015
Location: Michigan
Posts: 8
cusack80 is an unknown quantity at this point
Re: Window Motor/Snowblower and 12v only one way

Will check the spike relay tonight as we have one from last year...
  #4   Spotlight this post!  
Unread 10-02-2015, 14:09
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,723
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Window Motor/Snowblower and 12v only one way

The thing that seems common to all of these scenarios is the signal coming from the 'RIO.

It is unlikely that you have a bad port on the hardware, but it's an easy thing to check.

What seems more likely is that you've declared an unusual motor controller class (or perhaps a servo) which has a different range of pulse widths than the controllers.

What language and motor controller class are you using to program?
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
  #5   Spotlight this post!  
Unread 10-02-2015, 15:08
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Window Motor/Snowblower and 12v only one way

I'm going to guess that you're using a pair of buttons to control the motor. You probably have an if/then for each button, where the first chooses either forward or off, and the second chooses either reverse or off. If you press the second button, you get reverse power to the motor. But if you press the first button, you get forward power just for an instant before the second if/then shuts it off again.

If that's what your code is doing, you need to fix it to turn off the motor only if neither button is pressed.
  #6   Spotlight this post!  
Unread 11-02-2015, 06:29
cusack80 cusack80 is offline
Registered User
None #5256
 
Join Date: Feb 2015
Location: Michigan
Posts: 8
cusack80 is an unknown quantity at this point
Re: Window Motor/Snowblower and 12v only one way

Update to issue: seems to be related to snowblower/window motors and not cims.....

FYI, changed code so upper motor could successfully operate in both directions. Motor operated smoothly. Then hooked snowblower motor to upper motor talon, problem persists with that motor. So, still the same problem, but with different (otherwise successful) talon, pwm port, pwm wire, code, and 12v supply to talon...




Dakota plans to research how to code the relay in case that ultimately ends up being a simpler workaround. Changes to wiring were undone before putting away bot.






Thanks,
  #7   Spotlight this post!  
Unread 11-02-2015, 08:16
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,798
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: Window Motor/Snowblower and 12v only one way

cusak,
It could be that the one direction has significant current demands. As such, the breaker may be tripping open. Do you hear a clicking sound when the motor stops? The motor controller may also be going into over current protect. Do you notice any LED behavior on the controller that is different than the other direction?
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #8   Spotlight this post!  
Unread 11-02-2015, 08:18
cusack80 cusack80 is offline
Registered User
None #5256
 
Join Date: Feb 2015
Location: Michigan
Posts: 8
cusack80 is an unknown quantity at this point
Re: Window Motor/Snowblower and 12v only one way

Hi, the light on the PDB board are blinking orange? You definitely feel the motor running smooth when you put your hand on it going one direction and then the other direction you can feel where the motor almost has a pulsating current where the loop starts and then cuts out...
  #9   Spotlight this post!  
Unread 11-02-2015, 08:36
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,905
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: Window Motor/Snowblower and 12v only one way

PDP blinking yellow means you have or had at one time a low battery.
If you don't clear the yellow sticky fault though, it stays around forever.
Clear it by using the roboRIO WebDash, clicking on PDP and clicking the Self-Test rapidly in succession.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #10   Spotlight this post!  
Unread 11-02-2015, 09:11
cusack80 cusack80 is offline
Registered User
None #5256
 
Join Date: Feb 2015
Location: Michigan
Posts: 8
cusack80 is an unknown quantity at this point
Re: Window Motor/Snowblower and 12v only one way

We will check the speed controller to check signal light....Not sure why the current would want to be different one way than another...
  #11   Spotlight this post!  
Unread 11-02-2015, 09:18
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Window Motor/Snowblower and 12v only one way

Quote:
Originally Posted by cusack80 View Post
Not sure why the current would want to be different one way than another...
You said this is for an elevator. Unless you have an effective counterweight, gravity makes it easier to go down than to go up.

Pay attention not only to the speed controller LEDs but to the Power Distribution Panel too. You'll hear a definite click if the circuit breaker trips.
  #12   Spotlight this post!  
Unread 11-02-2015, 09:34
cusack80 cusack80 is offline
Registered User
None #5256
 
Join Date: Feb 2015
Location: Michigan
Posts: 8
cusack80 is an unknown quantity at this point
Re: Window Motor/Snowblower and 12v only one way

Thanks Alan,

The weird thing is going hard wired to battery both work fine either direction. If we switch neg and pos we can manipulate if the problem occurs going up or going down...It will work one way or another, but not both. I can get it to go up fine, switch power leads get it to go down, but it will not act right both directions.
  #13   Spotlight this post!  
Unread 11-02-2015, 09:40
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Window Motor/Snowblower and 12v only one way

You said you fixed the code and it started working properly, but then it went back to having the problem. What did you do to the code? Did the change perhaps not get loaded permanently into the roboRIO?
  #14   Spotlight this post!  
Unread 11-02-2015, 10:01
cusack80 cusack80 is offline
Registered User
None #5256
 
Join Date: Feb 2015
Location: Michigan
Posts: 8
cusack80 is an unknown quantity at this point
Re: Window Motor/Snowblower and 12v only one way

I did not change code, but when I change the power leads from the motor and flip them on the speed controller, I can flip flop the problem to show up. So one time it works going up, flip the power leads from the motor to the speed controller goes down, but it won't do both correctly at the same time using 2 buttons on joystick. You can also call me 616-527-1255
  #15   Spotlight this post!  
Unread 11-02-2015, 10:14
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Window Motor/Snowblower and 12v only one way

Quote:
Originally Posted by cusack80 View Post
FYI, changed code so upper motor could successfully operate in both directions. Motor operated smoothly....
Quote:
Originally Posted by cusack80 View Post
I did not change code,...
Please post the code that you are currently using to control the motor. It still sounds like a common mistake with if/else button control.
Closed Thread


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 20:32.

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