RE: [CAD_CAM_EDM_DRO] Re: Pixie error connection
Posted by
Mark Vaughan
on 2007-07-15 14:26:02 UTC
Hi Keith
Yes one of these will probably do the trick, though it seems pointless to
buy an array when you only have one relay to interface to.
Most simple darlington or hi gain npn transistors should do the job, hence I
commonly use MPSA13's because I have bucket loads of them. You can connect
the base via a resistor to the pixie card, 10K resistor would probably be OK
even 100K, most Darlington transistors have gains around 10,000 +. Then
connect the emitter to ground, and collector to one terminal the -ve of the
relay, the other terminal connect to +ve at the relays drive voltage.
Just in case I'll quickly explain how the gain of a NPN transistor works. If
you put a current into the base, that current will flow out of the emitter.
The collector will then try to switch a current up to the value of the base
current x the gain.
Ic = Hfe Ib, where Ic is collector current, Hfe is the gain, and Ib is the
base current.
It's a bit more complicated than that, but in most simple switching cases
the above formulae will hold good. We normally make sure there is a little
more current into the base than we would need on the collector side so the
transistor is fully turned on (saturated) .
Your local store may not have a ULN2803, but they will probably have a small
darlington transistor.
You could also look for a logic level FET, the pixie would drive the gate of
one of these directly.
Regs Mark
Dr. Mark Vaughan Ph'D. B.Eng. M0VAU
Managing Director
Vaughan Industries Ltd, reg in UK no 2561068
Water Care Technology Ltd, reg in UK no 4129351
Addr Unit3, Sydney House, Blackwater, Truro, Cornwall, TR4 8HH, UK.
Phone/Fax 44 1872 561288
RSGB DRM111(Cornwall)
_____
From: CAD_CAM_EDM_DRO@yahoogroups.com
[mailto:CAD_CAM_EDM_DRO@yahoogroups.com] On Behalf Of toolspindoctor
Sent: 15 July 2007 21:02
To: CAD_CAM_EDM_DRO@yahoogroups.com
Subject: [CAD_CAM_EDM_DRO] Re: Pixie error connection
Mark,
Jim Cullins has suggested using ULN2803A which is a darlington array
general purpose IC. I have to wait until tomorrow to see if the local
electronics supply place has something similar. It does seem like the
load is too much for the Pixie when connected to the relay. Could a
resistor somehow be placed to make it work, even by trial and error?
How would I connect such a resistor if you think it might work?
Thanks,
Keith
--- In CAD_CAM_EDM_ <mailto:CAD_CAM_EDM_DRO%40yahoogroups.com>
DRO@yahoogroups.com, "Mark Vaughan" <mark@...> wrote:
Yes one of these will probably do the trick, though it seems pointless to
buy an array when you only have one relay to interface to.
Most simple darlington or hi gain npn transistors should do the job, hence I
commonly use MPSA13's because I have bucket loads of them. You can connect
the base via a resistor to the pixie card, 10K resistor would probably be OK
even 100K, most Darlington transistors have gains around 10,000 +. Then
connect the emitter to ground, and collector to one terminal the -ve of the
relay, the other terminal connect to +ve at the relays drive voltage.
Just in case I'll quickly explain how the gain of a NPN transistor works. If
you put a current into the base, that current will flow out of the emitter.
The collector will then try to switch a current up to the value of the base
current x the gain.
Ic = Hfe Ib, where Ic is collector current, Hfe is the gain, and Ib is the
base current.
It's a bit more complicated than that, but in most simple switching cases
the above formulae will hold good. We normally make sure there is a little
more current into the base than we would need on the collector side so the
transistor is fully turned on (saturated) .
Your local store may not have a ULN2803, but they will probably have a small
darlington transistor.
You could also look for a logic level FET, the pixie would drive the gate of
one of these directly.
Regs Mark
Dr. Mark Vaughan Ph'D. B.Eng. M0VAU
Managing Director
Vaughan Industries Ltd, reg in UK no 2561068
Water Care Technology Ltd, reg in UK no 4129351
Addr Unit3, Sydney House, Blackwater, Truro, Cornwall, TR4 8HH, UK.
Phone/Fax 44 1872 561288
RSGB DRM111(Cornwall)
_____
From: CAD_CAM_EDM_DRO@yahoogroups.com
[mailto:CAD_CAM_EDM_DRO@yahoogroups.com] On Behalf Of toolspindoctor
Sent: 15 July 2007 21:02
To: CAD_CAM_EDM_DRO@yahoogroups.com
Subject: [CAD_CAM_EDM_DRO] Re: Pixie error connection
Mark,
Jim Cullins has suggested using ULN2803A which is a darlington array
general purpose IC. I have to wait until tomorrow to see if the local
electronics supply place has something similar. It does seem like the
load is too much for the Pixie when connected to the relay. Could a
resistor somehow be placed to make it work, even by trial and error?
How would I connect such a resistor if you think it might work?
Thanks,
Keith
--- In CAD_CAM_EDM_ <mailto:CAD_CAM_EDM_DRO%40yahoogroups.com>
DRO@yahoogroups.com, "Mark Vaughan" <mark@...> wrote:
>way we
> Hi Kieth
>
> No problem helping, we all bat things between each other here, that
> all learn.cards, so
>
> When the pixies fail they release the enable line to your analogue
> if you trust the pixie logic that should adequately shut off allmovement,
> in reality tripping with an error should be a very rare event, on mymachine
> it might occur if I hit a limit which freezes mach and my analoguecard, if
> mach freezes quick enough even this shouldn't trip the pixie. If youhave
> additional Estop limits after your main limits then you are coveredshould
> a card fail and motor go wild, I've had this happen with Rutexcards. If I
> were to wire the pixie error into the Estops, so much power ispulled that
> no led's would be left active to tell me how the fault occurred.collector
>
> As to your solid state relay, it is probably just too much load, so the
> relay itself pulls the inputs all too low and they trip into fault mode.
>
> If we knew what they are using on the pixie card for their open
> output then we might be able to add a little more resistor pull up so ithave a
> could drive the relay. I haven't any boards at hand at the moment to
> look, but the tracks aren't easy to track so even then we might have aenable
> problem. I would just put a transistor on the output, something like an
> MPSA13 darlington transistor and use that to drive a relay.
>
> I have emailed Rick at Skyco for details about the error lines, and
> output lines that feed the analogue cards, but didn't get a responseDRO@yahoogroups.com
>
>
>
> Regs Mark
>
>
>
> Dr. Mark Vaughan Ph'D. B.Eng. M0VAU
>
> Managing Director
>
> Vaughan Industries Ltd, reg in UK no 2561068
>
> Water Care Technology Ltd, reg in UK no 4129351
>
> Addr Unit3, Sydney House, Blackwater, Truro, Cornwall, TR4 8HH, UK.
> Phone/Fax 44 1872 561288
>
> RSGB DRM111(Cornwall)
>
> _____
>
> From: CAD_CAM_EDM_ <mailto:CAD_CAM_EDM_DRO%40yahoogroups.com>
> [mailto:CAD_CAM_EDM_ <mailto:CAD_CAM_EDM_DRO%40yahoogroups.com>DRO@yahoogroups.com] On Behalf Of toolspindoctor
> Sent: 15 July 2007 16:43DRO@yahoogroups.com
> To: CAD_CAM_EDM_ <mailto:CAD_CAM_EDM_DRO%40yahoogroups.com>
> Subject: [CAD_CAM_EDM_DRO] Re: Pixie error connection<mark@> wrote:
>
>
>
> Mark,
>
> I appreciate your input! I had envisioned the Pixie error circuit as
> you described. I still don't understand why the error output would not
> be sufficient to drive a DC solid state relay. When I connect the
> error to the relay is just goes into an error state. There must be
> something different about the open collector, which I don't
> understand. Jim Cullins, who designed my breakout board has suggested
> interfacing with an IC with Darlington arrays.
>
> I have all the safeguards with limit switches etc. The system shuts
> down everything during an estop coming from my servo amps or from
> Mach3, the estop switch etc. However, the final protection is to get
> the servo amps to shut off (signal the Mach3-Campbell estop)when the
> Pixies fail. Now of course, the Pixies go into an error condition
> without triggering an estop.
>
> Thanks again,
> Keith
>
> --- In CAD_CAM_EDM_ <mailto:CAD_CAM_EDM_DRO%40yahoogroups.com>
> DRO@yahoogroups. <mailto:DRO%40yahoogroups.com> com, "Mark Vaughan"
> >transistor
> > The pixie error output is am open collector output, and an input
> with pull
> > up resistors. What this means is each pixie card has a little
> > switch that switches the line to 0V when there is an error. Whengoes
> there isn't
> > an error the pull up resistor keeps the output at 5V, but being a
> resistor
> > it is low current. The idea is that you can wire all the pixie card
> error
> > wires together so which ever one faults pulls the line of all the
> others to
> > 0V which the others see as an input and stop themselves so when it
> > wrong all pixie cards will stop so there will be no axis movement.logic,
> >
> > As to interfacing to other systems, the output can only drive 5V
>[Non-text portions of this message have been removed]
>
>
>
>
> [Non-text portions of this message have been removed]
>
Discussion Thread
toolspindoctor
2007-07-14 15:38:26 UTC
Pixie error connection
Mark Vaughan
2007-07-15 01:58:50 UTC
RE: [CAD_CAM_EDM_DRO] Pixie error connection
toolspindoctor
2007-07-15 08:44:01 UTC
Re: Pixie error connection
Mark Vaughan
2007-07-15 09:45:29 UTC
RE: [CAD_CAM_EDM_DRO] Re: Pixie error connection
Graham Stabler
2007-07-15 10:51:57 UTC
Re: Pixie error connection
Tom Hubin
2007-07-15 11:07:36 UTC
Re: [CAD_CAM_EDM_DRO] Re: Pixie error connection
Mark Vaughan
2007-07-15 11:22:02 UTC
RE: [CAD_CAM_EDM_DRO] Re: Pixie error connection
BRIAN FOLEY
2007-07-15 12:02:20 UTC
Re: [CAD_CAM_EDM_DRO] Re: Pixie error connection
toolspindoctor
2007-07-15 12:59:50 UTC
Re: Pixie error connection
toolspindoctor
2007-07-15 13:01:58 UTC
Re: Pixie error connection
toolspindoctor
2007-07-15 13:04:28 UTC
Re: Pixie error connection
Mark Vaughan
2007-07-15 14:26:02 UTC
RE: [CAD_CAM_EDM_DRO] Re: Pixie error connection
Mark Vaughan
2007-07-15 14:35:44 UTC
RE: [CAD_CAM_EDM_DRO] Re: Pixie error connection
David G. LeVine
2007-07-15 14:50:10 UTC
Re: [CAD_CAM_EDM_DRO] Re: Pixie error connection
Tom Hubin
2007-07-15 15:10:10 UTC
Re: [CAD_CAM_EDM_DRO] Re: Pixie error connection
Graham Stabler
2007-07-15 15:16:34 UTC
Re: Pixie error connection
toolspindoctor
2007-07-15 17:16:17 UTC
Re: Pixie error connection
toolspindoctor
2007-07-15 18:51:53 UTC
Re: Pixie error connection
Tom Hubin
2007-07-15 21:01:29 UTC
Re: [CAD_CAM_EDM_DRO] Re: Pixie error connection
toolspindoctor
2007-07-15 21:48:32 UTC
Re: Pixie error connection
Tom Hubin
2007-07-15 23:28:18 UTC
Re: [CAD_CAM_EDM_DRO] Re: Pixie error connection
Mark Vaughan
2007-07-16 00:08:49 UTC
RE: [CAD_CAM_EDM_DRO] Re: Pixie error connection
Tom Hubin
2007-07-16 00:39:23 UTC
Re: [CAD_CAM_EDM_DRO] Re: Pixie error connection
Graham Stabler
2007-07-16 02:38:51 UTC
Re: Pixie error connection
Graham Stabler
2007-07-16 02:44:11 UTC
Re: Pixie error connection
Mark Vaughan
2007-07-16 04:26:50 UTC
RE: [CAD_CAM_EDM_DRO] Re: Pixie error connection
toolspindoctor
2007-07-16 04:58:36 UTC
Re: Pixie error connection
toolspindoctor
2007-07-16 05:11:20 UTC
Re: Pixie error connection
James Cullins
2007-07-16 05:27:35 UTC
Re: [CAD_CAM_EDM_DRO] Re: Pixie error connection
David G. LeVine
2007-07-16 06:34:54 UTC
Re: [CAD_CAM_EDM_DRO] Re: Pixie error connection
David G. LeVine
2007-07-16 06:39:16 UTC
Re: [CAD_CAM_EDM_DRO] Re: Pixie error connection
toolspindoctor
2007-07-16 09:32:20 UTC
Re: Pixie error connection
Tom Hubin
2007-07-16 09:51:18 UTC
Re: [CAD_CAM_EDM_DRO] Re: Pixie error connection
Tom Hubin
2007-07-16 11:27:50 UTC
Re: [CAD_CAM_EDM_DRO] Re: Pixie error connection
Graham Stabler
2007-07-16 11:40:29 UTC
Re: Pixie error connection
toolspindoctor
2007-07-16 12:20:56 UTC
Re: Pixie error connection
toolspindoctor
2007-08-07 05:18:29 UTC
Re: Pixie error connection