Yesterday, I tested what would happen in the event of a software failure that would send the maximum voltage (12v) to the transformers. Over my test resistors (2 x 220ohm) which I placed on the output side of the box, I measured 180mA over 600µs after which the transformers saturated. This will deliver a nasty shock, for reference the strongest signal I tested in play is about 100mA over 300us. The large transformers used in most stereo units can deliver much larger shocks.
I don't want to sound too condescending wrt safety, but I just grabbed transformers some transformers off the shelf I had already tested to be adequate in size, ordered a kit of inductors/capacitors and started programming. The galvanic isolation the transformers offer made me comfortable enough to try it.
If you want additional analog protection, you can add a TVS diode to the input for additional protection against a failing power supply. Filter capacitors to block high or low frequencies are not needed in my opinion. I don't know what other hardware protections you can add, maybe a fuse on the input? Smaller transformers?
I don't know why combining foc + stereostim would behave differently than 2x stereostim or 2x foc. It may have something to do with the lack of a shared clock, but that should also be a problem with 2x foc since the pulse timing in foc is not super accurate. The audio algorithm in Restim has sample-accurate timings.
The hardware supports it, but the code requires all 3 outputs to be connected to the same body. At some point, I will add some code to detect if one of the wires is broken/loose.darthjj wrote: Fri Dec 20, 2024 12:04 pm Can you use just 2 of the outputs on a FOC-stim? Not sure what kind of electrode configuration I could use with 2x triphase
The capacitor specs are not critical. Any ceramic cap >12v and >=4.7uf, <= 20uf will work.


