====== Two stage compensated OPAMP ====== Circuito fondamentale! Permette di realizzare sia un **voltage comparator** (senza compensazione) ma anche un OPAMP with **Miller compensation** Interessante per far vedere che l'OPAMP retroazionato a formare un buffer OSCILLA senza compensazione! Inoltre si possono fare un sacco di misure! e.g. **Signal-to-Noise Ratio (SNR)**, **Power Supply Rejection Ratio (PSRR)** ma anche misure di **offset** tutorial completo in pdf [[ http://kazus.ru/nuke/modules/Downloads/pub/196/0/OpAmp-Final_cadence.pdf | here ]] ===== Frequecy behavior ===== Tantissima roba! Compensazione, poli, **Gain-Bandwidth product (GBW)** etc. ===== Measure the OPAMP slew rate ===== Mando in ingresso un gradino con un pulse e vedo cosa esce fuori! Posso plottare deriv(VT("/out")) ma usare anche la built-in function **slewRate( )** del Calculator! slewRate( ) ===== Power Supply Rejection Ratio (PSRR) ===== Metto un **vpulse** in serie a **vdc** dell'alimentazione che mi genera vdd e vedo cosa esce! ===== Offset simulation ===== Provare a mettere un generatore **vdc** sul current mirror load e vedere cosa succede! ===== Use the OPAMP as a voltage comparator ===== Cosi' uno puo' studiare ad esempio il **delay** con la funzione cross( ) cross(VT("/out") (0.5*VAR("vdd")) 1 "rising" nil nil) - VAR("START")