I've succeeded in creating a hysteresis element that doesn't use feedback to accomplish the hysteresis...
which means...
need for a built-into-the-Spice-engine device model, e.g., a Jiles-Atherton model capability.
Will post the whole enchilada once the 'refining' exercise is complete... RSN ;-) ...Jim Thompson
-- | James E.Thompson | mens | | Analog Innovations | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | STV, Queen Creek, AZ 85142 Skype: skypeanalog | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at
formatting link
| 1962 |
I'm looking for work... see my website.
Thinking outside the box...producing elegant & economic solutions.
--
| James E.Thompson | mens |
| Analog Innovations | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| STV, Queen Creek, AZ 85142 Skype: skypeanalog | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
I'm looking for work... see my website.
Thinking outside the box...producing elegant & economic solutions.
Once embellished, it will be shown. First passes always have bugs.
But doesn't require feedback to store that state. ...Jim Thompson
--
| James E.Thompson | mens |
| Analog Innovations | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| STV, Queen Creek, AZ 85142 Skype: skypeanalog | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
I'm looking for work... see my website.
Thinking outside the box...producing elegant & economic solutions.
The trick, as always, is in using TANH ;-) ...Jim Thompson
--
| James E.Thompson | mens |
| Analog Innovations | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| STV, Queen Creek, AZ 85142 Skype: skypeanalog | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
I'm looking for work... see my website.
Thinking outside the box...producing elegant & economic solutions.
Plus LTspice's idealized elements will cook your goose, because they're idealized around the needs of SMPS's. ...Jim Thompson
--
| James E.Thompson | mens |
| Analog Innovations | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| STV, Queen Creek, AZ 85142 Skype: skypeanalog | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
I'm looking for work... see my website.
Thinking outside the box...producing elegant & economic solutions.
I don't have any TANHs in stock at the moment :) None in the junkbox either .
The effect I'm playing with is very simple, spice models the diode V drop n ear enough for the purpose. But the output stays at +10v, and I'm not seein g why. Even when Vg ranges over -10 to +12v.
Whatever NMOS model you picked only sucks 1.5mA at full drive. ...Jim Thompson
--
| James E.Thompson | mens |
| Analog Innovations | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| STV, Queen Creek, AZ 85142 Skype: skypeanalog | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
I'm looking for work... see my website.
Thinking outside the box...producing elegant & economic solutions.
Many problems. You don't need C1 - it is in parallel with a zero ohm source voltage. C2 is 0.1 Farad. That's way too large, and there is no readon to add it in parallel with the gate capacitance. Delete it.
The biggest problem is the MOSFET. Since you did not select a real device, it defaults to a very small device that cannot carry much current. So you won't see much output change across a 100 ohm load.
Next, you should never use the default semiconductors unless there is a reason to do so. Change D1-D6 to valid diodes.
You should always label every node in the circuit. If you do not, Ltspice will renum,er the nodes every time you make a change. If you were trying to plot N00X, the waveform will show some other part of the circuit.
Finally, to see the effect of gate capacitance, increase the signal frequency drastically.
Try this version:
Version 4 SHEET 1 880 680 WIRE -48 96 -272 96 WIRE -272 112 -272 96 WIRE -48 128 -48 96 WIRE -272 208 -272 192 WIRE -48 240 -48 208 WIRE -48 288 -48 240 WIRE -512 368 -560 368 WIRE -448 368 -512 368 WIRE -144 368 -256 368 WIRE -96 368 -144 368 WIRE -560 400 -560 368 WIRE -448 432 -448 368 WIRE -256 432 -256 368 WIRE -560 528 -560 480 WIRE -48 528 -48 384 FLAG -272 208 0 FLAG -48 528 0 FLAG -560 528 0 FLAG -48 240 M1D FLAG -144 368 M1G FLAG -512 368 Vgate SYMBOL voltage -272 96 R0 WINDOW 123 0 0 Left 2 WINDOW 39 37 59 Left 2 SYMATTR SpiceLine Rser=0 SYMATTR InstName V1 SYMATTR Value 10 SYMBOL nmos -96 288 R0 SYMATTR InstName M1 SYMATTR Value IRF530 SYMBOL res -64 112 R0 SYMATTR InstName R1 SYMATTR Value 100 SYMBOL schottky -320 384 R270 WINDOW 0 32 32 VTop 2 WINDOW 3 0 32 VBottom 2 SYMATTR InstName D1 SYMATTR Value 1N4007 SYMATTR Description Diode SYMATTR Type diode SYMBOL diode -384 384 R270 WINDOW 0 32 32 VTop 2 WINDOW 3 0 32 VBottom 2 SYMATTR InstName D2 SYMATTR Value 1N4007 SYMBOL diode -448 384 R270 WINDOW 0 32 32 VTop 2 WINDOW 3 0 32 VBottom 2 SYMATTR InstName D3 SYMATTR Value 1N4007 SYMBOL diode -256 416 R90 WINDOW 0 0 32 VBottom 2 WINDOW 3 32 32 VTop 2 SYMATTR InstName D4 SYMATTR Value 1N4007 SYMBOL diode -320 416 R90 WINDOW 0 0 32 VBottom 2 WINDOW 3 32 32 VTop 2 SYMATTR InstName D5 SYMATTR Value 1N4007 SYMBOL diode -384 416 R90 WINDOW 0 0 32 VBottom 2 WINDOW 3 32 32 VTop 2 SYMATTR InstName D6 SYMATTR Value 1N4007 SYMBOL voltage -560 384 M0 WINDOW 123 0 0 Left 2 WINDOW 39 0 0 Left 2 SYMATTR InstName V2 SYMATTR Value PULSE(0 10 0 2u 2u 0 0) TEXT -568 32 Left 2 !.tran 0 220u 200u TEXT -568 8 Left 2 ;'MOSFET Gate Driver TEXT -344 32 Left 2 !.ic V(M1G) = 0
In PSpice you just click change x-axis variable and select what you want from the list, or type it in if you already know.
I think there's an equivalent in LTspice (I don't create schematics in LTspice, just do a Run, Filename, to verify results are the same in LTspice as in PSpice). ...Jim Thompson
--
| James E.Thompson | mens |
| Analog Innovations | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| STV, Queen Creek, AZ 85142 Skype: skypeanalog | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
I'm looking for work... see my website.
Thinking outside the box...producing elegant & economic solutions.
Ha, yes. I just didn't bother to delete it, makes no difference.
Sure. I put it there in case the fet model has leakage added.
Their Vf is a fixed 1v drop. For this proof of concept it doesn't matter.
or remove the capacitor, as it works using gate capacitance already. Again it was just a quick proof of concept, since it ran in around a second I didn't worry about the time scale.
Just think about how an iron core implements hysteresis and copy that. That 's what mine does. Jim's has way more gain. I'm not familiar with his diagr ams though.
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.