lhlbluesky
Banned
two questions need help
first, if i use a ideal switch (switch of analoglib) to simulate something, and it has 4 terminals N+\N-\NC+\NC- , then how to simulate a ideal swith use it if i want to use a pulse to control its on\off,when vclk=vdd,it is on,when vclk=0,it is off? i use N+ and N- for input and output,NC- is grounded,NC+ connects a pulse(vpulse of analoglib),but it doesn't work.pls tell me what should i do to make it work well.
second,i have a ptat bandgap(with an opamp in it),then i want to get the ac gain and PM of the opamp,then what should i do,can anyone give me the simulation circuit or some advice,pls?
thaks all for reply.
first, if i use a ideal switch (switch of analoglib) to simulate something, and it has 4 terminals N+\N-\NC+\NC- , then how to simulate a ideal swith use it if i want to use a pulse to control its on\off,when vclk=vdd,it is on,when vclk=0,it is off? i use N+ and N- for input and output,NC- is grounded,NC+ connects a pulse(vpulse of analoglib),but it doesn't work.pls tell me what should i do to make it work well.
second,i have a ptat bandgap(with an opamp in it),then i want to get the ac gain and PM of the opamp,then what should i do,can anyone give me the simulation circuit or some advice,pls?
thaks all for reply.