Keyboard Shortcuts
Лайки
Пошук
Electrical Stimulation Unit - Simulation Question
Hello all,
I just uploaded a zip file containing my schematic for an electrical muscle stim unit along with a picture of the schematic I found in this website: https://www.electroschematics.com/electronic-muscle-stimulator/.
I am not trying to build this and use it on myself or anyone else. I am part of a senior design team at my university and one of our goals is to design (not necessarily build) an electrical stimulation unit. I am trying to learn and understand how this DUY unit works so that I can begin designing for our specific parameters. Our main concerns are to have a biphasic waveform (as my understanding goes, we need a net charge of 0 to prevent burns as) and preventing DC Offset. I am most concerned about having the right waveform though.
Our program doesn't go in depth into transistors or transformers, so i am not very familiar on how to troubleshoot errors with those. I made my transformer have a 1:10 ratio just to try things out. Additionally, I used a NE555 instead of a 7555. I just dont understand why there voltage/current at the collector of transistor 2 is basically 0, and no current is detected at the electrodes (E1 & E2).
The file is called EMS_Circuit.zip.
Thank you all for your time,
Joseph |
NE555: This is very similar indeed to the
7555, so you can safely use it. Transistor 2: The collector current is very
short pulses of about 112 mA. You can plot it to see the pulses.
E1 and E2: You cannot have a floating circuit in LTspice(any SPICE), because there is no reference to measure voltages from. If you earth/ground E2, you can plot the voltage waveform at E1, very short 32 V pulses. There is another way, without grounding E2. From the Help, under Data trace selection: It is also possible to point at voltage differences with the mouse. You can click on one node and drag the mouse to another node. You will see the red voltage probe at the first node and a black probe on the second. This allows you to differentially plot voltages: On 2024-12-02 18:04, roolipks via
groups.io wrote:
-- OOO - Own Opinions Only Best Wishes John Woodgate Keep trying |
On Mon, Dec 2, 2024 at 01:09 PM, <roolipks@...> wrote:
I suspect something is wrong with your 1N4007 diode model. I don't have a 1N4007 model in my regular library, so I had to either use the default diode "D" in its place, or substitute my own 1N4007 model.
I conclude that your 1N4007 model is "bad". Perhaps it has far too much junction capacitance. Where did your 1N4007 model come from? Can you locate and upload it?
Regarding the output pins at E1 and E2, you should not be probing those pins themselves. You should look only at the differential voltage between them, V(E1,E2) or V(E1)-V(E2). If you probed either pin alone, the waveform would be meaningless. But I think you got nothing there because the transistor is not able to switch the current through the transformer's primary.
Here are a couple of other deficiencies in your schematic:
Andy
|
FYI - You can also fix the two inductors this way: Right-click on each one, then delete the values for Series Resistance, Parallel Resistance, and Parallel Capacitance. (Or substitute actual values, if you have them.)
When I did that, the peak collector voltage went from -315 to -394 V, and the collector current from 114 to to -126 mA. So it makes some difference.
It's not "right" having Rser=0, but it might be better than the values of those Bourns and Wurth components, in this application.
Andy
|
Thank you so much both for the detailed responses. Things are much clearer now!
Andy,
I actually did not upload my own D1 diode. The example I got this schematic from uses the 1N4007 and I found it at the very end of the list (I right clicked the component and then clicked select new diode, then I scrolled to the end and found the 1N4007).
Thank you for pointing out the floating values for the E1 and E2, I am a new LTSpice user and I was not aware of this. |
By the way, I should have mentioned that I altered Joseph's uploaded file EMS_Circuit.zip, to get rid of the .RAW file that it contained. As you saw on the group's main webpage, .RAW and .LOG output files usually should not be uploaded. But in this case, it showed that your (Joseph's) simulations were bad, at the second transistor's collector, and the only thing different from my simulation was the 1N4007. That's why I concluded that your 1N4007 model is bad.
Andy
|
Повідомлення
Більше