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.
trashbox, the PM is a measure of the closed loop response speed. We usually prefer our phase margin to be 60 degrees to have good speed without ringing response.
* .lstb This command improves the analysis of circuit stability.
* The .LSTB command measures the loop gain by successive injection (Middlebrook
* Technique). A zero voltage source is placed in series in the loop: the first pin of the voltage loop
* must be connected to the loop input, the other pin to the loop output.
.AC DEC 10 1 1e10
.tran 1n 1n
*.PROBE ac lstb_db lstb_p V(****)
*extracts for open-loop analysis
.EXTRACT AC LABEL = gain_dc YVAL(lstb_db,1)
.EXTRACT AC LABEL = phase_margin YVAL(lstb_p,extract(gb_product))+180
.EXTRACT AC LABEL = gb_product XDOWN(lstb_db,0,1)
.EXTRACT AC LABEL = tau 1/(2*3.14159*extract(gb_product))
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.