Re: Seeking circuit ideas....



ehsjr wrote:
davidd31415 wrote:

Ehsjr,

Your understanding of my problem is correct.  The relay idea sounds
great, but I need a method to energize the relay.  The joystick has 4
sets of outputs and when it is pushed in any of the "bad" two sets of
outputs are activated simultaneously (there are not 4 separate sets of
outputs, unfortunately).  This is why I'm thinking the use of two
relays may work, but I'm worried that fuses may still have time to blow
before the relay opens, preventing the short.  Perhaps slow blowing
fuses and semiconductor switches will work ?  I'm guessing normal
mechanical relays will be too slow for this application.


Ok, so if I understand it, diagonal is indicated by one of the following combinations: N+E N+W S+E S+W

You can do that with 2 transistors, 2 resistors,
 and some diodes:
                                  +---[DIODE]---+
                                  |             |
                              c---+----relay----+--- +Vcc
South---[DIODE]---+---[R1]---b
                  |           e
North---[DIODE]---+           |
                              |
                              |
                              c
East----[DIODE]---+---[R2]---b
                  |           e
West----[DIODE]---+           |
                             Gnd

R1 and R2 are 330 ohms. The transistors are PN2222A.
The relay needs to be sized for the voltage (Vcc) and
for the current that the motors will draw.
The diodes are 1N400x. The banded end is on the right
for each of the diodes above: --->|---

Ed

I left out the issue you so correctly raised about timing. That solution is simple, too. I'll draw the full schematic below. The circuit description follows.

---[Motor1output]---+
|
+------------+
| |
[Snubber] [RY1Contact] (normally closed)
| |
+------------+
| |
[Snubber] [RY2Contact] (normally open)
| |
+------------+
|
---[Motor2Output]---+
D5
+------>|-----+
| |
D1 c---+----[RY1]----+--- +Vcc
South--->|---+---[R1]---+-----b
| | e Q1
North--->|---+ [R4] |
D2 | | +-------------------------+


             |          |                                |
             |          |                                |
             |          +---Gnd                          |
        D6  \ /         |               D8               |
           -----        |         +----->|----+          |
             |         [R5]       |           |          |
             |          |     c---+---[RY2]---+--- +Vcc  |
             +---[R3]---+---b                            |
             |          | +  e  Q3                       |
             |         [C1]  |                           |
             |          |    |                           |
           -----        +----+                           |
        D7  / \              |                           |
             |              Gnd                          |
             |                                           |
             |                                           |
        D3   |               c---------------------------+
East---->|---+---[R2]---+---b   Q2
             |          |    e
West---->|---+        [R6]   |
        D4              |    |
                        +----+
                             |
                            Gnd

C1 - 1uF, voltage rating at least 2x Vcc
D1-D8 - 1N400x
R1,R2, - 330 ohms
R3 - 1K
R4,R5 - 10K
R6 - 47K
Q1,Q2 - PN2222A
Q3 - TIP120
Snubber - a capacitor in series with a resistor.
Compute the cap value at 1uF per amp of motor current,
and 3x motor voltage. Compute the resistor at 1 ohm per
volt of motor voltage, and use a 1 watt resistor.  These
are rough numbers, so you can use anything near the
computed values.

Diodes D1 and D2 form an OR gate. A plus on either South OR North
will turn on Q1 via R1.  R4 biases Q1 off in the absence of
a plus on South or North. The same description applies to the
second OR gate (East/West) and its components D3,D4,R2,R6 and Q2

The emitter of Q1 is fed by the collector of Q2. Therefore,
both Q1 AND Q2 must be turned on for RY1 to be energized -
an AND gate.

In English:
Either North  |OR|  South  |AND|  either East  |OR|  West
from the joystick is a diagonal.  That's 2 ORs and one AND,
just what is in the circuit.

RY1 - the "diagonal" relay, opens the offending jumper -
the connection between Motoroutput1 and Motoroutput2
when it is energized, and it is energized any time the
joystick is diagonal.

Diodes D6 and D7 form a third OR gate.  If any (or all)
of the inputs North, South, East or West is plus, Q3 will
be turned on via R3, energizing RY2. The turn on of Q3
is delayed roughly 1 mS while C1 charges. R5 biases Q3 off
in the absence of any input from the joystick, and discharges
C1.

RY1 and RY2 form another AND gate.
RY2 must be de-energized AND RY1 must be energized for the
connection to exist between Motoroutput1 and Motoroutput2.
It cannot exist until RY2 has transferred. It takes, as
a rough average, about 8 mS for a relay to transfer.
The closed contacts break long before the open contacts
touch. So if we energize both RY1 and RY2 at the same
time, RY1 will break the connection long before RY2
makes the connection. An additional delay is added to
ensure that RY1 begins to energize before RY2.


The relay contacts are important. They must be capable of handling the current that the motors draw. If Vcc is 12 volts and the motors draw a lot of current, automotive power relays are a good choice for your relays. Something like RLY-443 from Allelectronics http://www.allelectronics.com/ will handle 40 amps.

Ed
.



Relevant Pages

  • Re: Tech: Pat Hand starts on ball 2
    ... coin relay (and the ball count zero position switch). ... The score motor will ... The reset relay will energize the score reset relays, ...
    (rec.games.pinball)
  • Re: Tech: EM Little Chief 10 pt not scoring
    ... the 10 point relay should energize to ... adavnce a 10 point score reel and sound the chime. ... If you pull in the solenoid coil, ...
    (rec.games.pinball)
  • Re: Tech: EM Little Chief 10 pt not scoring
    ... the 10 point relay should energize to ... adavnce a 10 point score reel and sound the chime. ... will score one time and chime once before it locks on. ...
    (rec.games.pinball)
  • Re: System 80 relay probs
    ... Q. If you manually "energize" the game over relay do you get the 24VDC ... My guess is this should be okay, because your memory relay DOES ... As for your memory relay, I do not know the game play of Force II. ...
    (rec.games.pinball)
  • Re: 555 timer DSLR time lapse shutter release
    ... my Pentax DSLR camera but the single relay output isn't enough. ... 2.5mm stereo jack plug. ... What's needed for the 555 time-lapse circuit is second relay whose ... it energizes autofocus, and energizes RY2 through ...
    (sci.electronics.basics)

Loading