e-man:
model如下:.subcktUC3842compVFBisensRAC0outvccref1.icv(RAC)=0azener10vcczener1vlowvlow10dc10vhighvhigh10dc16xuvlolvlow1vccuvsa1op1xuvlohvccvhigh1uvra1op1aadc1[uvsa1][uvs1]ADC1aadc2[uvra1][uvr1]ADC1xuvffuvs1uvr1uvq1uvqb1srff1adacref[uvqb1][uvqb2]DAC1ruvqbuvqb201megerefREFV0uvqb201rrefREFV01aadcref[REFV][ref11]ADC2gcurvcc0REFV00.0022vrefref10dc5idcem105.1814mdidc0em1dmodeosl1osh10ref10 0.56eosh1osl10ref10 0.24xosl1RACosh1osr1op1xosh1osl1RACoss1op1aosadc1[osr1][osr2]ADC1aossdc2[oss1][oss2]ADC1xosff1oss2osr2osq1osqb1srff1aosdac1[osqb1][gdc2]DAC1egdc1gdc10gdc201src1RACem1gdc10sw1ainv1uvqb1uvqb10inv1aref12ref11ref12inv1aor1[ref12osqb1]logout1or1Vvref30dc5rR220 1e+006rR132 1e+006xU12VFBcomp76OP4vV406dc15vV370dc15d1comp131dmodd2131132dmodr13213213320krR41330 10kazener20133zener2xcmod1isens133cmod1op1rcmod1cmod101meg acmodadc[cmod1][cout1]ADC1xoutsrffosqb1cout1out1q1out1qb1srff1aoutor1[ref12out1qb1]out1qb2or1aoutor2[out1qb2logout1]out1or1aoutinv1out1out2inv1aoutdac[out2][out]DACOUTroutout01k.modelzener2zener(v_breakdown=1.0).modeldmodd(n=1.05).SUBCKT op432674*3 2 6 7 4*+in -in out Vcc VeeRc17115.305e+003Rc27125.305e+003Re113154.594e+003Re214154.594e+003RE1501.319e+007IEE1541.516e-005Rp741.816e+004VC7161.080e+001VE1741.230e+001D4176dmod34D3616dmod34R011863.213e+001R021804.287e+001RC1901.369e-004C111129.741e-012Ce1501.000e-012C218203.000e-011R20201.000e+005D11819dmod12D21918dmod12Ga20011121.885e-004Gcm0201505.961e-009Gb1802003.913e+001Gc0191807.304e+003.MODELdmod12D(IS=1.877e-012).MODELdmod34D(IS=8.000e-016)Q111213QMOD1Q212314QMOD2.MODELQMOD1NPN(IS=8.0e-16BF=8.333e+001VAF=200).MODELQMOD2NPN(IS=8.0e-16BF=1.071e+002VAF=200).ends.modelsw1sw(vt=4vh=0.5ron=1e-6roff=1e12).modelor1d_or().modelinv1d_inverter()*.modelinv2d_inverter(rise_delay=50nfall_delay=50n).modelzener1zener(v_breakdown=34).modeldmodd(n=0.001).modelADC1adc_bridge(in_low=0.3in_high=3).modelADC2adc_bridge(in_low=3in_high=4).modelDAC1dac_bridge(out_low=0 out_high=5).modelDACOUTdac_bridge(out_low=0.1 out_high=13.5).subcktsrff11234as1111inv1ar1221inv1anand1[114]3nand1anand2[213]4nand1.modelnand1d_nand().modelinv1d_inverter().endssrff1.SUBCKTOP1 123*1->in+,2->in-,3->out Vos41DC0V Ib1400A Ib2200A G105420.1 G20650100 G303160100 RR3101 alimit313limit1 .modellimit1limit(out_lower_limit=-5out_upper_limit=5) Ri421e+010ohm R1501000ohm R2601ohm R3301ohm C1501.59155e-010 C2601.59155e-033.ENDS.ends