Yes, all the measurements I've posted were done on the machine as it was performing full production... I'm thinking the voltage and current measurements were made in actual operation?
Found it right here! I've attached the zip file, in case anyone else wants it.Ronv! I'm getting an error when I try to open the file! it tells me I don't have the LM358 LTspice file!
I've already tried googleing it and I can't find it, and if I did, how do I install it?
Yup... taking V4 out did the trick, and now things are back to normal. Maximum voltage at the startup pulses reaches only 100V, but that's Ok, I guess. Guess I can take it from here... I'll order the parts, do the assembly and get back to you.I think I got to cute trying to model the back emf. Just take V4 out. I think all will be ok when the pwm is closed loop with the micro.
Thanks! it worked like a charm. I was just going to ask you that, since I found several LTspice models that were just plain text like this one, and I didn't know how to install them.We should go back and revisit the power supply as well. We can raise the voltage a bit. I'm not sure how to handle the back EMF since we have no way of knowing how the solenoid acts exactly, So you might want to get a selection of 10 watt resistors so the current can be adjusted.
Here is the 751 file. I think you can just paste it in the end comp file under standard diodes.
The comp file is ltspiceIV, Library, comp.
.model 1N751 D(Is=.88f Rs=.25 Cjo=175p M=.55 nbv=1.7 bv=5.1 Vj=.75 Isr=1.86n Nr=2 Ibv=20.245m Ibvl=1.96m Nbvl=15 Tbv1=-21.3u Vpk=5.1 mfg=OnSemi type=Zener)
Yes, the ones in the labels are the ones to buy. I just used parts with similar characteristics in the simulation.Thanks! it worked like a charm. I was just going to ask you that, since I found several LTspice models that were just plain text like this one, and I didn't know how to install them.
Another thing that I noticed is that the mosfet's labels don't correspond to the mosfet model being used in the simulation. Should I buy the ones specified in the labels?
Also, I'm giving serious thought to building the 12V to 120VDC power supply instead of the one you suggested, since I'd like to avoid running another cable to the machine. 12VDC is readily available close by, but 220VAC is not.
The waveform can last anything from 3 ms and up to around 10 ms, and has a cycle of around 20 ms. It always starts with the high voltage pulses, and ends with the negative kickback at the end. But the plateau is stretched accordingly to make it last the amount of time set by the controller. As the plateau stretches, more of those bumps begin to appear at regular intervals.Any idea what purpose the dozen or so little humps along the plateau section of the waveform serve? Clearly the valve is receiving holding current throughout the plateau, but why that modulation? I could understand the current being chopped right at the end of the plateau perhaps, to slow the valve's closing; but there seems no reason to modulate the current mid-plateau.
by Dale Wilson
by Duane Benson
by Jake Hertz
by Jake Hertz