Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   FRC Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=176)
-   -   Digital Sidecar relay ports: correct voltage? (http://www.chiefdelphi.com/forums/showthread.php?t=83483)

Ether 23-02-2010 17:45

Digital Sidecar relay ports: correct voltage?
 
Can anyone please tell me what is the correct voltage reading on the red&white wires coming out of the relay ports on the digital sidecar?

We are measuring 4.2 volts in the active state.

We have a Spike relay connected to a relay port, and the Spike is not working.

By "not working", I mean the Spike LED remains orange and there is no voltage across the Spike's output. We thought maybe the sidecar got damaged and is not outputting the right voltage.

There is 12 volts across the Spike input, correct polarity.

The battery is sufficient; it runs the motors that drive the wheels.

We swapped out the Spike and the new one doesn't work either.

We understand the following chart and tested all four states

red=0 white=0 brake (both outputs grounded)
red=1 white=0 reverse (reverse output polarity)
red=0 white=1 forward (normal output polarity)
red=1 white=1 brake (both outputs +12)

Unless there's something I'm missing, the only hypothesis that seems to fit the facts is that the signal voltage is not correct.


~

Mark McLeod 23-02-2010 20:33

Re: Digital Sidecar relay ports: correct voltage?
 
Do you see the Relay status lights (red/green/off) changing states while the Spike status light remains orange?

Normally, with those symptoms I'd say the Spike is not receiving a signal.

P.S. I checked my notes and I noted a 4.6v reading from a Relay output.

P.P.S. I checked the Spike documentation and it requires 3v minimum for the control signal.

Ether 23-02-2010 20:52

Re: Digital Sidecar relay ports: correct voltage?
 
Quote:

Originally Posted by Mark McLeod (Post 927471)
Do you see the Relay status lights (red/green/off) changing states while the Spike status light remains orange?

Normally, with those symptoms I'd say the Spike is not receiving a signal.

Hi Mark,

We saw the LED at the relay port on the sidecar change from green to off while the Spike relay remained orange.

We used a voltmeter to measure the voltage on the 3-wire cable (black/red/white) at the connector that plugs into the Spike. It measured about 4.2 volts (on the red and/or white wires) when active. So the Spike is getting a "signal"... I just don't know if it is the "correct" signal; I couldn't find a spec on what voltage the sidecar is supposed to output, nor could I find anything on the Spike datasheet about what input signal voltage level was required.



~

Mark McLeod 23-02-2010 21:52

Re: Digital Sidecar relay ports: correct voltage?
 
1 Attachment(s)
It's on page 3 of the Spike document - Control signal: 3v minimum.

I'd consider this a problem with plugging the PWM cable into the recessed Spike connection. It can easily go into the slot, but miss the internal connector entirely even after repeated tries.

If you're reading a signal at the Spike end of the PWM then the cable and connection at the DSC sound fine.

Ether 23-02-2010 22:38

Re: Digital Sidecar relay ports: correct voltage?
 
Quote:

Originally Posted by Mark McLeod (Post 927551)
It's on page 3 of the Spike document - Control signal: 3v minimum

Thanks Mark. Could you post a link to this document? The doc I have does not have this info.


Quote:

Originally Posted by Mark McLeod (Post 927551)
I'd consider this a problem with plugging the PWM cable into the recessed Spike connection. It can easily go into the slot, but miss the internal connector entirely even after repeated tries.

Aha. That sounds more likely. I vaguely recall hearing something about this. We will look into it when we get the robot back.

We couldn't get it fixed in time, so we used the 24V solenoid break-out. All we needed was about 70ma. I asked a couple of students to find the specs for the output current capability of the 24V solenoid breakout, and they spent about and hour and a half looking but couldn't find it. You don't happen to have a link to a doc for that by any chance do you?


~

Russ Beavis 23-02-2010 22:42

Re: Digital Sidecar relay ports: correct voltage?
 
cRIO sourcing module
http://sine.ni.com/nips/cds/view/p/lang/en/nid/14175

control system docs (including the official power and data diagrams and a link to the datasheets for the Digital Sidecar, PD and Breakouts)
http://www.usfirst.org/roboticsprogr....aspx?id=10934

Ether 23-02-2010 22:54

Re: Digital Sidecar relay ports: correct voltage?
 
Quote:

Originally Posted by Russ Beavis (Post 927617)
cRIO sourcing module
http://sine.ni.com/nips/cds/view/p/lang/en/nid/14175

control system docs (including the official power and data diagrams and a link to the datasheets for the Digital Sidecar, PD and Breakouts)
http://www.usfirst.org/roboticsprogr....aspx?id=10934

Thanks Russ. Right under our noses. How embarrassing. I think after we've all recovered from the last 48 hours we'll have a little team meeting about where to find this kind of stuff.


~

Vikesrock 23-02-2010 22:55

Re: Digital Sidecar relay ports: correct voltage?
 
Quote:

Originally Posted by Ether (Post 927614)
We couldn't get it fixed in time, so we used the 24V solenoid break-out. All we needed was about 70ma. I asked a couple of students to find the specs for the output current capability of the 24V solenoid breakout, and they spent about and hour and a half looking but couldn't find it. You don't happen to have a link to a doc for that by any chance do you?


~

If it's for a solenoid that's a perfectly fine solution.

If it's for anything else you will have to track down the issue with the Spike. <R65> restricts the Solenoid Breakout to solenoids only.

Ether 23-02-2010 23:25

Re: Digital Sidecar relay ports: correct voltage?
 
Quote:

Originally Posted by Vikesrock (Post 927632)
If it's for a solenoid that's a perfectly fine solution.

If it's for anything else you will have to track down the issue with the Spike. <R65> restricts the Solenoid Breakout to solenoids only.

I should say "thank you", but I think you've just ruined my whole day.

I think I'll wait a couple days before telling the team. They were so happy.

~

Mark McLeod 24-02-2010 10:57

Re: Digital Sidecar relay ports: correct voltage?
 
For Spike technical info. the place to go is the manufacturer at VexPro and the Spike Relay specific page.

PhilBot 28-02-2010 13:26

Re: Digital Sidecar relay ports: correct voltage?
 
FYI... Don't forget there is a known LabVIEW VI problem associated with the RELAY control.

It's reported here http://decibel.ni.com/content/thread/6131?tstart=30 (and I only found it by accident).

If you are setting the relay to run in "Both Directions" it apparently works, but if you were like me and just wanted to turn something on, it was just dead.

Solution... open up the "RelaySet.vi" and connect the two "Relay Direction" terminals as shown in the NI post.

Phil.

Note: I really think a bigger deal should have been made about this. Is there a "known bugs" list anywhere...

I just "assumed" that the relay control would work..... It makes me start wondering about any code that should work, but doesn't..... coding error or known VI bug...

Gary Bonner 18-03-2010 13:29

Re: Digital Sidecar relay ports: correct voltage?
 
Quote:

Originally Posted by PhilBot (Post 929714)
FYI... Don't forget there is a known LabVIEW VI problem associated with the RELAY control.

It's reported here http://decibel.ni.com/content/thread/6131?tstart=30 (and I only found it by accident).

If you are setting the relay to run in "Both Directions" it apparently works, but if you were like me and just wanted to turn something on, it was just dead.

Is this correction necessary? Our compressor seems to be working fine. However, an electromagnet on a Spike seems to have a little delay in releasing. Could this issue contribute to that? We originally attributed the delay to residual magnetism and added code to briefly reverse the magnetic polarity, but haven't had a chance to test it out yet.

PhilBot 18-03-2010 13:43

Re: Digital Sidecar relay ports: correct voltage?
 
Quote:

Originally Posted by Gary Bonner (Post 939270)
Is this correction necessary? Our compressor seems to be working fine. However, an electromagnet on a Spike seems to have a little delay in releasing. Could this issue contribute to that? We originally attributed the delay to residual magnetism and added code to briefly reverse the magnetic polarity, but haven't had a chance to test it out yet.

If you are using the Compressor VI, then it's not required, however if you are using the Relay control direcly then it may be required, depending what mode you are using it in (forward, reverse or both).

However, if your relay is working at all, then it's probebly not required... it's a show stopper.

BTW.... Electromagnet..... ???? is this part of some active actuator?
Wouldn't this be dissalowed by <R53>.

Quote:

<R53> Items specifically PROHIBITED from use on the ROBOT include:
A. Electric motors and/or servos different from, or in addition to, those in the KOP, with the exception of those specifically permitted by Rule <R52>.
B. Electric solenoid actuators (note: electric solenoid actuators are NOT the same as pneumatic solenoid valves – the latter are permitted, the former are not).
One assumes that when you turn on/off your electromagnet, something on your robot moves... Isn't that the definition of an "electric solenoid"...

Not my call... just pointing it out.

Ether 18-03-2010 14:05

Re: Digital Sidecar relay ports: correct voltage?
 
Quote:

Originally Posted by PhilBot (Post 939278)
Electromagnet..... ???? is this part of some active actuator?
Wouldn't this be dissalowed by <R53>.

Electromagnets are legal, but not as part of an integrated purchased assembly.

http://forums.usfirst.org/showthread.php?t=14205


~

PhilBot 18-03-2010 22:56

Re: Digital Sidecar relay ports: correct voltage?
 
Quote:

Originally Posted by Ether (Post 939283)
Electromagnets are legal, but not as part of an integrated purchased assembly.
http://forums.usfirst.org/showthread.php?t=14205
~

Wow, that's a pretty broad interpretation.
Electromagnets good, Solenoid Actuators Bad.

Make sure you have a printout of that Q&A on hand at all times :)

I just hope you don't get a finicky EE as an inspector.
There could be some big arguments there......

Gary Bonner 18-03-2010 23:37

Re: Digital Sidecar relay ports: correct voltage?
 
This Q&A more closely describes what we are doing with the electromagnet:

http://forums.usfirst.org/showthread.php?t=14279

PhilBot 18-03-2010 23:56

Re: Digital Sidecar relay ports: correct voltage?
 
Quote:

Originally Posted by Gary Bonner (Post 939453)
This Q&A more closely describes what we are doing with the electromagnet:

http://forums.usfirst.org/showthread.php?t=14279

Yes, that's much more definative. Glad you found/received a clearer answer.

Ether 21-03-2010 12:33

Re: Digital Sidecar relay ports: correct voltage?
 
Quote:

Originally Posted by PhilBot (Post 939439)
Wow, that's a pretty broad interpretation.
Electromagnets good, Solenoid Actuators Bad.

It's actually a narrow interpretation. A COTS electromagnet is clearly permitted as long as it is not actuating something. A COTS electro-magnetic actuator is not permitted under any circumstances.

Quote:

Make sure you have a printout of that Q&A on hand at all times :)

I just hope you don't get a finicky EE as an inspector.
There could be some big arguments there......
The only thing that is not clear is whether a COTS electromagnet is permitted if it is actuating (forcibly moving) something external to itself on the robot. That specific question has not been explicitly addressed by GDC by either of the Q&A responses, since both questions were asking about an electromagnet simply holding something, not moving something.

There have been no arguments about electromagnets used as a holding device, that I am aware of. I don't expect any. The GDC ruling was quite unambiguous.


~

PhilBot 21-03-2010 12:50

Re: Digital Sidecar relay ports: correct voltage?
 
I'm not arguing the ruling... but if you really want to split hairs, how is holding something, and then letting go, NOT an actuator.

What is the purest definition of an "Actuator"?

Seriously, unless you are using the magnetic field to manipulate sub-atomic particles, isn't the whole point to effect the motion of another item... holding, or pushing, or pulling.... in all cases you are excerting a force on another object, causing it to either move, or not move. In the case under siscussion, if the electromagnet is on amd the metal is being "held" in place, and then some external force (robot) did pull the metal away from it, and then than force was removed, wouldn't the electromagnet pull the metal back into place again... So although it would "normally" be holding it in place it may actually move it under some unforseen operating circumstances.

So... holding or pulling or pushing.... seems to me it's an actuator no matter what it's doing. Fortunately the GDC has ruled otherwise... but it's far from "unambiguous" in my more "generic" view.

Quote:

Originally Posted by Ether (Post 940316)
It's actually a narrow interpretation. A COTS electromagnet is clearly permitted as long as it is not actuating something. A COTS electro-magnetic actuator is not permitted under any circumstances.

The only thing that is not clear is whether a COTS electromagnet is permitted if it is actuating (forcibly moving) something external to itself on the robot. That specific question has not been explicitly addressed by GDC by either of the Q&A responses, since both questions were asking about an electromagnet simply holding something, not moving something.

There have been no arguments about electromagnets used as a holding device, that I am aware of. I don't expect any. The GDC ruling was quite unambiguous.

~


Ether 21-03-2010 13:39

Re: Digital Sidecar relay ports: correct voltage?
 
Quote:

I'm not arguing the ruling... but if you really want to split hairs,
I don't want to split hairs.


Quote:

how is holding something, and then letting go, NOT an actuator.
Just telling you what the GDC ruling is. The ruling was clearly that if you are using a COTS electromagnet to just hold something, and then let it go, it is legal. That much is quite clear. If you want to call that an actuator, I don't mind.


Quote:

What is the purest definition of an "Actuator"?

Seriously, unless you are using the magnetic field to manipulate sub-atomic particles, isn't the whole point to effect the motion of another item... holding, or pushing, or pulling.... in all cases you are excerting a force on another object, causing it to either move, or not move. In the case under siscussion, if the electromagnet is on amd the metal is being "held" in place, and then some external force (robot) did pull the metal away from it, and then than force was removed, wouldn't the electromagnet pull the metal back into place again... So although it would "normally" be holding it in place it may actually move it under some unforseen operating circumstances.

So... holding or pulling or pushing.... seems to me it's an actuator no matter what it's doing.
You may call it an actuator if you like. But other people may misunderstand you.


Quote:

Fortunately the GDC has ruled otherwise... but it's far from "unambiguous" in my more "generic" view.
The GDC ruling is clear as far as how they have specifically permitted electromagnets to be used. Whether or not it is permitted to use an electromagnet in different contexts is a different question, as yet unresolved AFAIK.


~


All times are GMT -5. The time now is 17:02.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi