![]() |
Relay Aliases Backwards
Has anyone else noticed that the relay aliases for fwd and rev seem to be
backwards? By backwards I mean, I was setting relay3_fwd to 1 and relay3_rev to 0 and the light on the spike was red. I fixed it by swapping the defs in ifi_aliases.h Thoughts? or did IFI just goof? |
Re: Relay Aliases Backwards
forwards and reverse are separate bits, because you can also turn the relay off
|
Re: Relay Aliases Backwards
Yeah, I was wondering about that. I thought it was my problem - that somebody else has it makes me think it's not. IFI might have goofed, you never know...
|
Re: Relay Aliases Backwards
That might explain why our solenoids weren't working saturday night, and they worked on sunday morning when mentor put black to M+ and red to M-
|
Re: Relay Aliases Backwards
Well...who knows how many times we have hooked our compressor up "backwards" then. The pneumatics manual gave a warning about not putting reverse voltages through the compressor, but i have not seen any problems (the PSI steadily increases, regardless).
|
Re: Relay Aliases Backwards
I have had the same problem. However, I dont believe the aliases are wrong but rather the LEDs are incorrect. Red now means the M+ is at 12v (M- gnd) and Green means M- is at 12V (M+ gnd). I say this beacause I am using a single solenoid which is spring return, so I only power M+, which the red wire of the solenoid is hooked up to. I simply toggle that relay's fwd bit to operate the solenoid and it works. I would not go changing the polarity of your compressor because reverse polarity could seriously damage it.
|
Re: Relay Aliases Backwards
the solonoids are not polarity sensitive - if current flows through the two wires they will trip
and I would be really surprized if the compressor cares which way it runs - the motor makes the piston go up and down - I dont think it cares if it goes down and up instead. |
Re: Relay Aliases Backwards
Quote:
Quote from the 2004 Pneumatics Manual: "Ensure that the relay is programmed to provide “forward” power only to the compressor. Do not reverse the compressor!" |
Re: Relay Aliases Backwards
Quote:
The claim you made holds some incredibly serious implications... You might want to back such claims up in the future, because even though I'm sure you're wrong, I'm going to have to test this myself because it's not worth blowing out components a week before ship. |
Re: Relay Aliases Backwards
I tested the relays with the multimeter - when I set relay1_fwd to 1, the spike turns red and the multimeter reads -12v. When relay1_rev is 1, it's green and the multimeter reads 12v. This seems backwards to me...
|
Re: Relay Aliases Backwards
next question: do you have the power to the relay connected correctly, and also the control cable.
|
Re: Relay Aliases Backwards
1 Attachment(s)
Quote:
I was wrong about this and my sincere apology to anyone I may have confused. My knowledge of the matter was based on a false assumption. The single solenoid I was basing this on was wired to the M- of the Spike. It was the only one of our 5 solenoids (2 double, 3 single) wired without an external ground (it has been rewired now). I have rewritten ifi_aliases.h to change the aliases from fwd to rev and visa versa. I loaded the modified program into my bot and confirmed that relay 5 (my compresser) was getting +12V. A zip file with my new ifi_aliases.h file is attached to this post. Hope it helps. I am posting from MOE HQ workshop (not my dorm as usual) so I have get back to work now. Once again I'm sorry. |
Re: Relay Aliases Backwards
So if our compressor was working right before this, do we dare correct the problem and reverse the polarity?
|
Re: Relay Aliases Backwards
You should be running the compressor forward - it probably was not working right, or something like that.
|
Re: Relay Aliases Backwards
are all your spikes backwords or just one? you might have the relay out ribon on backwords
|
Re: Relay Aliases Backwards
Quote:
And as I prevoiusly stated Quote:
|
Re: Relay Aliases Backwards
I would like to confirm that the the alias's are backward. Relay fwd should be green light, ours was red.
My question is has IFI released a default program that is correct? |
Re: Relay Aliases Backwards
Quote:
There are two reasons why the manufacturer of the compressor would like the polarity observed for the compressor motor. A) The fan in the motor was designed to move the most air with the least noise/power when turned in one direction only(axial fans). That direction will be when you observe the correct polarity. (result- motor will run cooler and longer) B) Almost all series wound DC/AC universal motors or PM DC motors have the commutator shifted with respect to the main magnetic field to minimize commutation arcing. So they are most efficient when turning in the direction of the default polarity( e.g. the recommended polarity). This is the reason why the motor will not produce the same rpm/power in either direction. (Also, a radial fan operates equally well in either direction, an axial fan (like the compressor has, does not.) When such a motor is reversed, the commutation can be seen to arc more than the forward case, this arcing will cause the brushes and commutator life to be reduced, the commutator temperature to rise. Further, the arcing represents energy lost and hurts the overall efficiency of the motor. (Efficiency is what you get/what you pay for...) Motors can be designed to work the same in either direction, but at an overall loss in efficiency. So, bottom line: wire the compressor backwards will work, but will run hotter, use more power and produce less work, and will have a shorter life than normal. |
Re: Relay Aliases Backwards
We at Innovation First have confirmed the problem you have noticed. The root cause is that the silkscreen labels (REV/FWD/GND) on the Robot Controller are incorrect, and the aliases in the Default Code were set to match them. The simplest fix is to swap the reverse/forward aliases in ifi_aliases.h, as some of you have already done, and to ignore the REV/FWD/GND labels.
Another option is to swap the connections on the M- and M+ outputs of the Spike Relay Module to achieve the correct polarity. New Default Code with these aliases fixed will be on our web site soon. A note will also be placed in the 2004 Robot Controller Reference Guide regarding the incorrect labels. Regards, Innovation First, Inc. |
Re: Relay Aliases Backwards
Quote:
|
| All times are GMT -5. The time now is 00:01. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi