Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #396523

Re: Astable multivibrator with MOSFET SPICE model

From Tauno Voipio <tauno.voipio@notused.fi.invalid>
Newsgroups sci.electronics.design
Subject Re: Astable multivibrator with MOSFET SPICE model
Date 2016-01-30 10:50 +0200
Organization A noiseless patient Spider
Message-ID <n8htav$a97$1@dont-email.me> (permalink)
References <d0af1dcc-7da1-4972-9d32-41ebe58454c6@googlegroups.com> <5843f14e-5bd0-451f-af2f-ad32242fd849@googlegroups.com> <076nabhj010bvkkpp454qaa07rt56dlse7@4ax.com> <n8gkmi$6qk$1@dont-email.me> <b79dbfd5-7dea-4201-96c5-2cfc911b5ec7@googlegroups.com>

Show all headers | View raw


On 30.1.16 08:19, dakupoto@gmail.com wrote:
> On Friday, January 29, 2016 at 4:16:48 PM UTC-5, Tauno Voipio wrote:
>> On 29.1.16 18:54, John Larkin wrote:
>>> On Fri, 29 Jan 2016 08:45:21 -0800 (PST),
>>> bloggs.fredbloggs.fred@gmail.com wrote:
>>>
>>>> On Thursday, January 28, 2016 at 11:30:38 PM UTC-5, daku...@gmail.com wrote:
>>>>> Could some electronics guru point me to a working(i.e., correctly simulates) astable
>>>>> multivibrator SPICE model with MOSFET only.
>>>>> I have two working BJT based astable
>>>>> multivibrator SPICE models. However, my
>>>>> MOSFET based astable multivibrator model,
>>>>> works as per hand calculation, but shows
>>>>> no oscillations with a regular SPICE .TRAN
>>>>> analysis. I have tried the standard SPICE
>>>>> tricks, as having voltage pulses on some
>>>>> nodes to kick start the oscillations, but
>>>>> these have no effect. Any hints, suggestions
>>>>> would be greatly appreciated. Thanks in advance.
>>>>
>>>> Usually setting a nonzero voltage as an initial condition on the timing capacitor will start it up...
>>>
>>> Unless both mosfets settle down to saturated.
>>>
>>> We need to see his circuit.
>>
>>
>> They will settle both on. The culprit is that there is no path for
>> the timing capacitor charging current on the gate side when the
>> gate is high. A MOS differs from a bipolar transistor or JFET
>> (and also a tube) that there is no current via the gate when the
>> transistor is turned fully on.
>>
>> The following thing works. The charge path is via diodes D7 and D8
>> in the Basic version. The price to pay is that the transistors do
>> not turn fully on.
>>
>> Version 4
>> SHEET 1 1104 1448
>> WIRE -160 -176 -256 -176
>> WIRE -16 -176 -160 -176
>> WIRE 304 -176 -16 -176
>> WIRE 464 -176 304 -176
>> WIRE 768 -176 464 -176
>> WIRE -16 -144 -16 -176
>> WIRE 768 -144 768 -176
>> WIRE -16 -16 -16 -64
>> WIRE 48 -16 -16 -16
>> WIRE 192 -16 112 -16
>> WIRE 560 -16 192 -16
>> WIRE 640 -16 560 -16
>> WIRE 768 -16 768 -64
>> WIRE 768 -16 704 -16
>> WIRE 192 16 192 -16
>> WIRE 304 16 304 -176
>> WIRE 464 16 464 -176
>> WIRE 560 16 560 -16
>> WIRE -256 160 -256 -176
>> WIRE -16 160 -16 -16
>> WIRE 48 160 -16 160
>> WIRE 192 160 192 96
>> WIRE 192 160 112 160
>> WIRE 352 160 192 160
>> WIRE 464 160 464 96
>> WIRE 464 160 416 160
>> WIRE 624 160 464 160
>> WIRE 768 160 768 -16
>> WIRE 768 160 688 160
>> WIRE 880 160 768 160
>> WIRE -16 256 -16 160
>> WIRE 48 256 -16 256
>> WIRE 304 256 304 96
>> WIRE 304 256 112 256
>> WIRE 352 256 304 256
>> WIRE 560 256 560 96
>> WIRE 560 256 416 256
>> WIRE 624 256 560 256
>> WIRE 768 256 768 160
>> WIRE 768 256 688 256
>> WIRE -16 304 -16 256
>> WIRE 768 304 768 256
>> WIRE 192 384 192 160
>> WIRE 192 384 32 384
>> WIRE 560 384 560 256
>> WIRE 720 384 560 384
>> WIRE 560 432 560 384
>> WIRE 608 432 560 432
>> WIRE -256 448 -256 240
>> WIRE -16 448 -16 400
>> WIRE 768 464 768 400
>> WIRE -160 848 -160 -176
>> WIRE 0 848 -160 848
>> WIRE 208 848 0 848
>> WIRE 576 848 208 848
>> WIRE 784 848 576 848
>> WIRE 0 880 0 848
>> WIRE 208 880 208 848
>> WIRE 576 880 576 848
>> WIRE 784 896 784 848
>> WIRE 0 1024 0 960
>> WIRE 64 1024 0 1024
>> WIRE 208 1024 208 960
>> WIRE 208 1024 128 1024
>> WIRE 368 1024 208 1024
>> WIRE 784 1024 784 976
>> WIRE 784 1024 432 1024
>> WIRE 896 1024 784 1024
>> WIRE 0 1120 0 1024
>> WIRE 368 1120 0 1120
>> WIRE 576 1120 576 960
>> WIRE 576 1120 432 1120
>> WIRE 640 1120 576 1120
>> WIRE 784 1120 784 1024
>> WIRE 784 1120 704 1120
>> WIRE 0 1168 0 1120
>> WIRE 784 1168 784 1120
>> WIRE 208 1248 208 1024
>> WIRE 208 1248 48 1248
>> WIRE 576 1248 576 1120
>> WIRE 736 1248 576 1248
>> WIRE 576 1296 576 1248
>> WIRE 624 1296 576 1296
>> WIRE 0 1312 0 1264
>> WIRE 784 1328 784 1264
>> FLAG 768 464 0
>> FLAG -16 448 0
>> FLAG -256 448 0
>> FLAG 608 432 g1
>> FLAG 880 160 Out1
>> IOPIN 880 160 Out
>> FLAG 784 1328 0
>> FLAG 0 1312 0
>> FLAG 624 1296 g3
>> FLAG 896 1024 Out2
>> IOPIN 896 1024 Out
>> SYMBOL nmos 720 304 R0
>> SYMATTR InstName M1
>> SYMATTR Value 2N7002
>> SYMBOL nmos 32 304 M0
>> SYMATTR InstName M2
>> SYMATTR Value 2N7002
>> SYMBOL res -32 -160 R0
>> SYMATTR InstName R1
>> SYMATTR Value 1k
>> SYMBOL res 752 -160 R0
>> SYMATTR InstName R2
>> SYMATTR Value 1k
>> SYMBOL res 176 0 R0
>> SYMATTR InstName R3
>> SYMATTR Value 100k
>> SYMBOL res 544 0 R0
>> SYMATTR InstName R4
>> SYMATTR Value 100k
>> SYMBOL diode 704 -32 R90
>> WINDOW 0 0 32 VBottom 2
>> WINDOW 3 32 32 VTop 2
>> SYMATTR InstName D1
>> SYMATTR Value 1N4148
>> SYMBOL diode 48 0 R270
>> WINDOW 0 32 32 VTop 2
>> WINDOW 3 0 32 VBottom 2
>> SYMATTR InstName D2
>> SYMATTR Value 1N4148
>> SYMBOL voltage -256 144 R0
>> SYMATTR InstName V1
>> SYMATTR Value 5
>> SYMBOL diode 624 272 R270
>> WINDOW 0 32 32 VTop 2
>> WINDOW 3 0 32 VBottom 2
>> SYMATTR InstName D3
>> SYMATTR Value 1N4148
>> SYMBOL diode 112 144 R90
>> WINDOW 0 0 32 VBottom 2
>> WINDOW 3 32 32 VTop 2
>> SYMATTR InstName D4
>> SYMATTR Value 1N4148
>> SYMBOL res 288 0 R0
>> SYMATTR InstName R5
>> SYMATTR Value 10k
>> SYMBOL res 448 0 R0
>> SYMATTR InstName R6
>> SYMATTR Value 10k
>> SYMBOL diode 624 176 R270
>> WINDOW 0 32 32 VTop 2
>> WINDOW 3 0 32 VBottom 2
>> SYMATTR InstName D5
>> SYMATTR Value 1N4148
>> SYMBOL diode 112 240 R90
>> WINDOW 0 0 32 VBottom 2
>> WINDOW 3 32 32 VTop 2
>> SYMATTR InstName D6
>> SYMATTR Value 1N4148
>> SYMBOL cap 416 144 R90
>> WINDOW 0 0 32 VBottom 2
>> WINDOW 3 32 32 VTop 2
>> SYMATTR InstName C1
>> SYMATTR Value 1n
>> SYMBOL cap 416 240 R90
>> WINDOW 0 0 32 VBottom 2
>> WINDOW 3 32 32 VTop 2
>> SYMATTR InstName C2
>> SYMATTR Value 1n
>> SYMBOL nmos 736 1168 R0
>> SYMATTR InstName M3
>> SYMATTR Value 2N7002
>> SYMBOL nmos 48 1168 M0
>> SYMATTR InstName M4
>> SYMATTR Value 2N7002
>> SYMBOL res -16 864 R0
>> SYMATTR InstName R7
>> SYMATTR Value 1k
>> SYMBOL res 768 880 R0
>> SYMATTR InstName R8
>> SYMATTR Value 1k
>> SYMBOL res 192 864 R0
>> SYMATTR InstName R9
>> SYMATTR Value 100k
>> SYMBOL res 560 864 R0
>> SYMATTR InstName R10
>> SYMATTR Value 100k
>> SYMBOL diode 640 1136 R270
>> WINDOW 0 32 32 VTop 2
>> WINDOW 3 0 32 VBottom 2
>> SYMATTR InstName D8
>> SYMATTR Value 1N4148
>> SYMBOL diode 128 1008 R90
>> WINDOW 0 0 32 VBottom 2
>> WINDOW 3 32 32 VTop 2
>> SYMATTR InstName D7
>> SYMATTR Value 1N4148
>> SYMBOL cap 432 1008 R90
>> WINDOW 0 0 32 VBottom 2
>> WINDOW 3 32 32 VTop 2
>> SYMATTR InstName C3
>> SYMATTR Value 1n
>> SYMBOL cap 432 1104 R90
>> WINDOW 0 0 32 VBottom 2
>> WINDOW 3 32 32 VTop 2
>> SYMATTR InstName C4
>> SYMATTR Value 1n
>> TEXT 304 368 Left 2 !.tran 1m
>> TEXT 304 400 Left 2 !.ic V(g1)=3
>> TEXT 320 1264 Left 2 !.ic V(g3)=3
>> TEXT 288 736 Left 5 ;Basic
>> TEXT 256 -280 Left 5 ;Complete
>> RECTANGLE Normal -316 680 1096 1444 2
>> RECTANGLE Normal -320 564 1088 -360 2
>>
>> --
>>
>> -TV
>
> I think you have hit the nail on the head. As I
> do not use LTSpice, but Ngspice, could you please
> post your netlist in the form of my own netlist
> (please see below):

Hope this is OK:

* /Users/tauno/Desktop/ltspice/mosmv.asc
M1 Out1 g1 0 0 2N7002
M2 N002 N004 0 0 2N7002
R1 N001 N002 1k
R2 N001 Out1 1k
R3 N003 N004 100k
R4 N003 g1 100k
D1 Out1 N003 1N4148
D2 N002 N003 1N4148
V1 N001 0 5
D3 g1 Out1 1N4148
D4 N004 N002 1N4148
R5 N001 N006 10k
R6 N001 N005 10k
D5 N005 Out1 1N4148
D6 N006 N002 1N4148
C1 N005 N004 1n
C2 g1 N006 1n
M3 Out2 g3 0 0 2N7002
M4 N007 N008 0 0 2N7002
R7 N001 N007 1k
R8 N001 Out2 1k
R9 N001 N008 100k
R10 N001 g3 100k
D8 g3 Out2 1N4148
D7 N008 N007 1N4148
C3 Out2 N008 1n
C4 g3 N007 1n
.model D D
.lib /Users/tauno/Library/Application Support/LTspice/lib/cmp/standard.dio
.model NMOS NMOS
.model PMOS PMOS
.lib /Users/tauno/Library/Application Support/LTspice/lib/cmp/standard.mos
.tran 1m
.ic V(g1)=3
.ic V(g3)=3
* Basic
* Complete
.backanno
.end

-- 

-TV

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Astable multivibrator with MOSFET SPICE model dakupoto@gmail.com - 2016-01-28 20:30 -0800
  Re: Astable multivibrator with MOSFET SPICE model John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-28 21:58 -0800
  Re: Astable multivibrator with MOSFET SPICE model Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2016-01-29 08:28 -0700
  Re: Astable multivibrator with MOSFET SPICE model bloggs.fredbloggs.fred@gmail.com - 2016-01-29 08:45 -0800
    Re: Astable multivibrator with MOSFET SPICE model John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-29 08:54 -0800
      Re: Astable multivibrator with MOSFET SPICE model Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2016-01-29 23:16 +0200
        Re: Astable multivibrator with MOSFET SPICE model dakupoto@gmail.com - 2016-01-29 22:19 -0800
          Re: Astable multivibrator with MOSFET SPICE model Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2016-01-30 10:50 +0200
            Re: Astable multivibrator with MOSFET SPICE model dakupoto@gmail.com - 2016-02-01 22:48 -0800
        Re: Astable multivibrator with MOSFET SPICE model Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2016-01-30 11:24 +0200
      Re: Astable multivibrator with MOSFET SPICE model Jeroen Belleman <jeroen@nospam.please> - 2016-01-29 22:39 +0100
        Re: Astable multivibrator with MOSFET SPICE model Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2016-01-29 14:56 -0700
          Re: Astable multivibrator with MOSFET SPICE model Jeroen Belleman <jeroen@nospam.please> - 2016-01-29 23:53 +0100
            Re: Astable multivibrator with MOSFET SPICE model Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2016-01-29 17:14 -0700
        Re: Astable multivibrator with MOSFET SPICE model John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-29 19:00 -0800
          Re: Astable multivibrator with MOSFET SPICE model Winfield Hill <hill@rowland.harvard.edu> - 2016-01-30 07:26 -0800
            Re: Astable multivibrator with MOSFET SPICE model John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-30 08:14 -0800

csiph-web