A Relay setup to run a sequence of device states

Thread Starter

Tutor88

Joined Feb 8, 2023
306
No.
"Charging_on" and "Operating_on" are the respective control signals to the relay coils.
The transistor collectors go to your plus supply voltage.

"Charging" and "Operating" go to the respective Devices' charging and operating circuits.

There are no "Off" control signals as you show, which makes your schematic confusing.
You can call them 'In" or "Out" if that helps your understanding.

Make sense?
Yes but only in part. If the 6 DPDT relay contacts are only dealing with switching signals and not power in/out, then what does the connection going to each of the devices from the relays do, e.g. ‘Device_1’? How is that signal now used to get the device to ‘operate’ or be ‘charged’? Does that ‘Device-1’ signal now have to go to another set of relays to allow the device to either provide power (operate) or receive power (charge)?
 
Last edited:

Thread Starter

Tutor88

Joined Feb 8, 2023
306
So here is my latest draft with Crutschow's diagram underneath for reference.

I think this is about there for one relay set, so I can add in the others and then set about the actual PCB schematic.

Relay Draft 4.png

DPDT Relays.png
 
Last edited:

Thread Starter

Tutor88

Joined Feb 8, 2023
306
. . . and here is the full set of relays. Please advise if there are some clangers while I unscramble my visual cortex.

Relay Draft 5.png
 

MisterBill2

Joined Jan 23, 2018
27,979
Quite a few comments about the actual drawing, in addition to the point that the relay interlocking is not required.
Placing the three transistors at the very bottom makes it more complex than locating the transistors above the two integrated circuits. And none of the required components to make the CD4060 operate are shown. While relay terminal numbers are provided, the IC pin numbers are missing. That makes assembly, or even simulation, difficult.
The 12 volt source positive is shown, a fair guess is that "ground" is the return, while mostly it is not, and never on my designs.
Device in and device out should rather be "device operate supply" and "Device charge supply", to be accurate.
 

dcbingaman

Joined Jun 30, 2021
1,065
Yes but only in part. If the 6 DPDT relay contacts are only dealing with switching signals and not power in/out, then what does the connection going to each of the devices from the relays do, e.g. ‘Device_1’? How is that signal now used to get the device to ‘operate’ or be ‘charged’? Does that ‘Device-1’ signal now have to go to another set of relays to allow the device to either provide power (operate) or receive power (charge)?
Where are you getting 6 DPDT relays? The device has 4 SPDT relays per the picture: with normally closed contacts on the right and normally open to the left.

1695819569889.png
 

AnalogKid

Joined Aug 1, 2013
12,238
Not better, just simpler.
It would appear that the SPDT approach requires logic gates/diodes from the counter to energize the relays in proper sequence (have you looked at that).
The cross-coupled relays don't, as you can see in post #62.
So it's a trade-off between SPST relays with added logic, or DPDT relays requiring none.
Actually, no. And - fun fact - crutschow is incorrect about his own post. See #46 and #49.

As you pointed out in #46, my 6 x SPST solution does *not* require steering diodes to decode the states correctly. One disadvantage of 6 x SPST, that is corrected with 6 x DPDT, is the possibility of cross-conduction between the two power sources. This would be on the order of milliseconds, and the TS has stated that this "probably" is not a problem, but the second set of contacts is used to ensure that this can not happen. A minor advantage of 6 x SPST over 6 x DPDT is cost.

ak
 
Last edited:

dcbingaman

Joined Jun 30, 2021
1,065
. . . and here is the full set of relays. Please advise if there are some clangers while I unscramble my visual cortex.

View attachment 303599
The problem is you do not have access to the coils (they are on the board) and are SPDT
Actually, no. And - fun fact - you are incorrect about your own post. See #46 and #49.

As you pointed out, my 6 x SPST solution does *****not***** require steering diodes to decode the states correctly. One disadvantage to 6 x SPST, that is corrected with 3 x DPDT, is the possibility of cross-conduction between the two power sources. This would be on the order of milliseconds, and the TS has stated that this "probably" is not a problem. The other disadvantage is cost. 6 x SPST probably costs more than 3 x DPDT.

ak
My idea to cover all the conditions of the board are as follows (off, on, and charging), for the three devices. This is a rough out diagram. I have not yet added any Transistors, Diodes etc. to get the job done. That was my next step.

1695820027912.png
 

AnalogKid

Joined Aug 1, 2013
12,238
. . . and here is the full set of relays. Please advise if there are some clangers while I unscramble my visual cortex.
The CD4017 outputs are named "0" through "9", so the three active outputs you use are 0, 1, and 2.

Also, there needs to be a connection between the "3" output and the Reset input. This is what forces the cycle to repeat after only three clock pulses. On the 4th clock pulse, the "3" output goes high, which presents high signal the the Reset input, and the counter immediately goes to the "0" state, your first used output. The counter is in the "3" state for less than a microsecond; this does not affect the time duration of the "0" state.

ak
 

AnalogKid

Joined Aug 1, 2013
12,238
My idea to cover all the conditions of the board are as follows (off, on, and charging), for the three devices. This is a rough out diagram. I have not yet added any Transistors, Diodes etc. to get the job done. That was my next step.

View attachment 303604
Your drawing shows the Charging states for all three devices connected together, so all devices are charging at the same time. Same for the Operating state. This is incorrect. Only one device is charging at any point in time.

ak
 

dcbingaman

Joined Jun 30, 2021
1,065
Your drawing shows the Charging states for all three devices connected together, so all devices are charging at the same time. Same for the Operating state. This is incorrect. Only one device is charging at any point in time.

ak
Sorry about the drawing (that was not my latest one). Here is the latest one:

1695821750031.png
This is still a work in progress in an attempt to use 4 relays for control and yes, it appears to have them in parallel. But look closely at the combination of relay outputs. And yes at the moment it appears they are all in parallel.
 

Thread Starter

Tutor88

Joined Feb 8, 2023
306
Quite a few comments about the actual drawing, in addition to the point that the relay interlocking is not required.
Placing the three transistors at the very bottom makes it more complex than locating the transistors above the two integrated circuits. And none of the required components to make the CD4060 operate are shown. While relay terminal numbers are provided, the IC pin numbers are missing. That makes assembly, or even simulation, difficult.
The 12 volt source positive is shown, a fair guess is that "ground" is the return, while mostly it is not, and never on my designs.
Device in and device out should rather be "device operate supply" and "Device charge supply", to be accurate.
It's
Quite a few comments about the actual drawing, in addition to the point that the relay interlocking is not required.
Placing the three transistors at the very bottom makes it more complex than locating the transistors above the two integrated circuits. And none of the required components to make the CD4060 operate are shown. While relay terminal numbers are provided, the IC pin numbers are missing. That makes assembly, or even simulation, difficult.
The 12 volt source positive is shown, a fair guess is that "ground" is the return, while mostly it is not, and never on my designs.
Device in and device out should rather be "device operate supply" and "Device charge supply", to be accurate.
It's not supposed to be a complete schematic but just to show the basic relay connections. You will have to be patient while I draw it.
 

AnalogKid

Joined Aug 1, 2013
12,238
I think this is the relay circuit idea BobTPH offered.
Referring to the circuit in post #55 - Still two relays per device, so while the logic structure is different, I don't see any clear advantage over the other solutions.

IMHO, I would tie the relay coils to Vdd and switch them to GND, eliminating two transistors per device.

Also, starting with a single clock source, it would be interesting to see the logic that drives the relays.

ak
 

crutschow

Joined Mar 14, 2008
38,672
If the 6 DPDT relay contacts are only dealing with switching signals and not power in/out,
They do carry the power signals as shown in both my and your diagrams.
that the relay interlocking is not required.
My approach is to prevent simultaneous connection between the charging and operating circuits while not requiring any added decode logic.
As you pointed out, my 6 x SPST solution does *****not***** require steering diodes to decode the states correctly
I did *****not**** point that out.
If 6 SPST relays do not require steering diodes (or other added logic), please show how that is possible for the three states.
 

crutschow

Joined Mar 14, 2008
38,672
I would tie the relay coils to Vdd and switch them to GND, eliminating two transistors per device.
How does that eliminate transistors?
My circuit only requires three.
That also inverts the logic.
starting with a single clock source, it would be interesting to see the logic that drives the relays.
For my circuit it is simply the output of the CD4017 counter with a reset at count 4.
 

AnalogKid

Joined Aug 1, 2013
12,238
I did *****not**** point that out.
If 6 SPST relays do not require steering diodes (or other added logic), please show how that is possible for the three states.
Could be my mistake (!), but my read of this:

After a little further though, I realize you don't need steering diodes if using 6 relays.
Each state has two relays energized just once per cycle, so just connect the relay driver (3 needed, could be NPN emitter followers) from each of the three counter outputs to the two relays energized for each state.
is that no diodes are needed. And, I agree.

6 - SPST relays
3 - NPN saturated switch driver transistors
0 - steering diodes

Yard work now. Schematics later when it's raining.

ak
 
Last edited:

Thread Starter

Tutor88

Joined Feb 8, 2023
306
Here is the schematic. I'm not sure if I need any resistors in the feeds from the counter U1 to the bases of Q1-3. I'm also assuming that U1 starts its cycle at output 0 and not 1.

Getting everyone to agree if this will work could be a problem it seems ;)
I have added the reference design as well.

'Op' = 'Operating'; 'Ch' = 'Charging'; 'Op On' = 'Operating On', 'Ch On' = 'Charging On'

Schematic.png

Design.png
 

Attachments

Last edited:
Top