- Posts: 4819
- Thank you received: 0
Random arc signal lost
In the first schematic the resistor is in parallel to the input impedance and thus the combined resistance is lower, ergo the current larger.
That's how I see it anyway.
In any case, rods analysis seems entirely plausible and is a good showcase as to why relays have a minimum current rating.
Please Log in to join the conversation.
I = V/R
I = 24/20,000
I = 0.0012 Amps (or 1.2 mA), way under the 100 mA minimum current rating of the relay of my Everlast.
Granted, the 7i96 is different becasue it uses a opto isolated relay on all inputs. Maybe it does need to be in series on that board. Maybe it does not help at all. I'm no electrical engineer either.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22010
- Thank you received: 3
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22010
- Thank you received: 3
Series resistor would just worsen this issue.rodw wrote: Granted, the 7i96 is different becasue it uses a opto isolated relay on all inputs. Maybe it does need to be in series on that board.
Please Log in to join the conversation.
tommylight wrote:
Series resistor would just worsen this issue.rodw wrote: Granted, the 7i96 is different becasue it uses a opto isolated relay on all inputs. Maybe it does need to be in series on that board.
I think you are right. The Everlast I had is not renowned for quality.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22010
- Thank you received: 3
Please Log in to join the conversation.
- snowgoer540
- Offline
- Platinum Member
-
- Posts: 2580
- Thank you received: 0
Perhaps my posts were read in the wrong tone. I wasn't trying to say anyone was wrong, I was trying to understand, which while I understand why the resistor must be in parallel with the pull up resistor, and lower resistance ccauses the circuit to pull more amperage, I don't understand exactly where the resistor is in the system and how it interfaces with whats in the MESA card to do that...
At any rate, yes, I'm aware that software doesn't debounce current. However, there is a lot of hysteresis when a relay makes contact, just like a button or a switch, which I'm sure could be seen with halscope if I ever bother to learn it :laugh: What debounce does do is ignore that hysteresis until it settles down, so LinuxCNC can be SURE whether or not the input is ON or OFF. A switch "bounce" plot example of what needs to be ignored with debounce:
Attachment not found
What Phill and I thought was going on (at least with Cody and My Hypertherms, but this will affect all dry contact arc-ok's) is that because there is no debounce on the arc-ok signal by default, but it's a dry contact relay. LinuxCNC is fast enough to read the hysteresis in the switching and as such sees it go from ON to OFF and thinks of this as losing the arc-ok (because technically it did, even though the torch didn't really flame out). For Cody, his table was unusable, he would routinely experience super short torch fires, with a valid arc lost error.
But alas, it's fixed! The hal connections file I made him for his table this morning, which now includes a debounce on the arc-ok input solved his problem. His table works 100% perfect now. And his wasn't intermittent, it just plain didn't work. I mean think about it, it's a switch, we debounce every other form of physical switching, Arc-OK should be debounced by default too.
@Rod, I suspect that your resistor method works because it reduces the hysteresis involved with the Arc-OK going true. Perhaps the .1A of current causes a spark and temporarily "welds" the contacts together... something that probably doesn't happen with 5mA of current (I'd love to see some halscope plots of your method vs a power source that doesnt have a resistor). At any rate, I hesitate to both recommend a resistor that gets hot as a solution, and add it to my table because in addition to the extra heat I'm not sure it's the same for every MESA card, and frankly, I don't fully understand why it works. Debouncing the input, I understand, and it works.
Please Log in to join the conversation.
I think there are two different issues being discussed here, one is using the debounce component to nullify contact bounce and the other is the minimum current required to flow through the relay contacts.
Please Log in to join the conversation.
- snowgoer540
- Offline
- Platinum Member
-
- Posts: 2580
- Thank you received: 0
phillc54 wrote: Glad you got it going, it will be interesting to see if it performs reliably. Did you need to change the debounce value at all.
I think there are two different issues being discussed here, one is using the debounce component to nullify contact bounce and the other is the minimum current required to flow through the relay contacts.
No, no need on this end to change the period from 5. I told him if it comes back at all, to let me know. I do plan to try to grab some halscope plots of my table.
I agree, we are talking too different issues for sure.
For the minimum current through a relay, my albeit short, research said that it's a number manufactures use based around reliability limits and making sure there are guidelines to establish mean time to failure. In our use case, I'm not sure it matters a whole lot, if it did, I would think it would be mentioned in the power source manuals. But admittedly I'd be willing to be proven wrong.
Please Log in to join the conversation.
snowgoer540 wrote: No, no need on this end to change the period from 5. I told him if it comes back at all, to let me know. I do plan to try to grab some halscope plots of my table..
It would be nice to see a before and after from Cody's table.
Please Log in to join the conversation.
