Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Hysterisis measurement

Status
Not open for further replies.

analogckt

Newbie level 4
Newbie level 4
Joined
Aug 14, 2013
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
37
Hello

I have a comparator with differential inputs and differential outputs. How can I measure the hysterisis of this comparator in Spice?
Please help

Thanks
ckt
 

I prefer to use controlled sources to take differential
voltages and make single ended, ground referred ones
that are nice and neat for whatever calculator, waveform
viewer or scripting language you may have. Plain SPICE
may not have such nice postprocessing, but if you can
make use of a cross() function, then things get real easy.
Find point of output crossing zero differential, read input
difference at that point, badda-bing.

But the details come down to dialect / software version.
If you don't have a decent results browser / viewer /
calculator, you might look at dumping raw data vectors
and parsing them for output cross, input value outside
the simulator.
 
Hello

I have a comparator with differential inputs and differential outputs. How can I measure the hysterisis of this comparator in Spice?
Please help

Thanks
ckt

example ( assume IN= input Y =ouput)

Vinput IN 0 PWL ( 0 0 0.5s VSUPPLY 1s 0)

then measure statement to find hysteresis

.measure tran v_padh find V(IN) when V(Y)='VSUPPLY/2' TD=0s
.measure tran v_padl fin V(IN) when V(Y)='VSUPPLY/2' TD=0.5s
.measure tran HYSTERIS PARAM='v_padh-v_padl'
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top