Otherwise is the circuit ok?It would greatly help clarify the schematic if you just used the ground symbol at each component ground, instead of running ground lines all over the schematic.
Also do the same for Vcc.
As is, the schematic is way too busy.
understoodReferring 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.
Possible. I'll leave the choice to the TS.IMHO, I would tie the relay coils to Vdd and switch them to GND, eliminating two transistors per device.
I needed inverters so used 40106B. I could have used 4093's, not use U11, and then used the remaining one for a clock generator instead. The CHARGn and OPERn resistors are used for sim purposes only. The logic works in simulation per the TS chart posted at the beginning of this thread.Also, starting with a single clock source, it would be interesting to see the logic that drives the relays.
ak


Could be my mistake (!), but my read of this:
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
Definitely.This one better?
Okay, that circuit works without added logic because there is no deadband circuit.There is no deadband circuit at the node labeled Relay Power because the TS thinks it might not be needed.
So....there are 3 batteries, 1 charger and 1,10W load for the whole system. And the three batteries are rotated between the charger, the load, and disconnected?I haven’t figured all that out yet but, to give an example off the top of my head with using a battery: in the ‘operating’ mode the battery will be powering a 10W light; in the ‘charging’ mode it will be receiving about 14V DC from a mains charger, and in ‘shut off’ mode it will be doing nothing. Is that what you mean?
The reason why I’m not going down the microprocessor route is so I can also show it to one of my students and clearly point out the different functions being carried out by each section of the circuit. You can’t do that pointing to a monolithic processor chip.
In my read of the system, Charge and Operate are two separate power sources with a common GND, that are common to the three devices. The three devices are the destinations for the power.AKs circuit seems to use the second interpretation, since it has only one wire for charger and load, and 3 for the devices, whatever that means.

Okay, so that basically does everything my circuit does.Here is an updated version of the 6 x SPST circuit that includes cross-conduction prevention.
Yes, this is a point I made earlier, that I need to be able to move the switching round to a particular state e.g. device 2 charging, and so how could I advance the sequence manually.Definitely.
I didn't check every wire, but it would appear to be basically okay.
Does the sequence need to start in any particular order when power is applied?
If so, you will need to add a power-on reset to U1.
Also make sure are CMOS device input (not outputs) are connected high or low.
Some appear unconnected on your schematic
Never leave a CMOS input open or you may get flaky results.
A real world solution to my real world enquiry has not found a resolution.It would help tremendously if instead of presenting a "Hypothetical" problem,
a "real-World" problem was presented.
It seems to me that, not only is this a poor solution,
( "one Battery idle" when it could be being Charged ), ( there is no practical reason for an "idle-Battery" ),
but that the external "visual" qualities do not contribute any value
towards the actual understanding of how, or why, the Circuit operates,
especially when constructed on a Printed-Circuit-Board, and with Relays sealed in little blue plastic boxes.
Take your Students on a field-trip to a local High-Rise-Building and show them the operation
of a huge Delta-Wye Motor-Starter for a ~200 horsepower Water-Chiller-Plant.
And, get a copy of the Schematic for them to analyse before, and after, the visit.
.
Hmmm, I missed this . . .I need to be able to move the switching round to a particular state e.g. device 2 charging, and so how could I advance the sequence manually.
Correct. Pin 15 is the Reset input. Forcing it high at any time will in fact force the circuit into state 1. There is a possibility that the 4017 could power up in state 5, for example, and it would take five clock pulses before the circuit was back to state 0. To prevent this, a POR (Power On Reset) circuit can be added with 2 resistors, 1 diode, and 1 capacitor. This would be an automatic function, no buttons involved.My initial suggestion is by having the two timer intervals, with one of them being short so it would quickly move round to the desired state, and then the other timer interval is selected to start the ‘run’.
However, from what you say, putting a high on to pin15 of U1, with a ‘push button’ for example, might do this? But won’t that just reset the relays back to state 1 (4017 Q0 output high) rather than move it forward one at a time till the desired state is reached?