A week after sending version 2 of the driver board out (see my previous post) everything came in. I soldered it all up, and I was once again impressed by how close the 3d model in kicad got to reality:
Forword: I need to thank my lab mentor, Chris Shallal, for helping me out on this project, especially on the human-bio side of things. Heās the reason I didnāt accidentally electrocute myself :D
The 3d model:

The actual board (itās a bad picture, but trust me, they look identical)

I replaced the old stimulator with it and soldered up a new flyback converter set to around 130V. Iād used 180V previously, but after a few nasty shocks (which I decided to omit mentioning in my previous postsā¦) it seemed a bit high. My muscle impedance isnāt that high and Iām not stimulating much current. The most Iād tried was around 3mA on my forearm.
I stuck a $ 2k \Omega $ load on it, and the setup ended up looking like this:
insert image
This was super exciting. I let a few other people in the lab try it, and we were even able to get someoneās thumb to contract. Later, I did it myself and filmed it:
I realize that itās super easy to fake this, but hopefully these posts give you some confidence that it actually worksā¦
It was now time to test multichannel stimulation, the idea being to multiplex the stimulation waveform on multiple loads using solid state relays. For the past year, weāve basically been using a board dedicated to this for patient testing to multiplex the FES out of a DS5 stimulator.
Along with version 2 of the driver, I sent out a small board to test this on two channels:
instert image
insert image
As before, I soldered a $ 2k\Omega $ load on both channels. At first it only worked on one, but eventually I realized that I flipped both relays on one of the channels. After that, it seemed like the coast was clear, but instead I started measuring this weird distortion with some clear transients getting through the channel that was off. I was pretty confused at first, but then realized that it was just a result of the output capacitance of the relays. The initial impulse, which is a super high $ \frac{dV}{dt} $, just passes straight through because of this capacitance.
The second source of confusion for me was what appeared to be a slight time mismatch (around $ 100 \muS $ maybe?) between both halves of the stimulation waveforms. I couldnāt totally figure this out, but since the relays werenāt matched (and their on-time is on the order of 100s of microseconds) itās probably just a result of manufacturing deviation.