资源描述:
《电压控制模型pwmvm》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、D:PSD_DataSMPSBookpwmvm测试pwmvm电压模式控制器.SUBCKTPWMVM12345PARAMS:*OUTGNDCOMPFBIMAX+REF二2.5,PERIOD二5U,DUTYMAX二0.8,TMAX=2.5V,VOUTHI二15V,+ROUT二10,VI1IGII=3,ISINK=15M,【SOURCE二500U,+VL0W=100M,POLE二30,GA1N=31622,DUTYM1N二0.1,V0UTL0=100M**GenericModelforVoltageModePWMcontro
2、ller*DevelopedbyChristopheBASSO,France*PSpicecompatibleformat*Lastmodified:October26th1996******GenericPWMcontrollerparameters********REF;internalreferencevoltage*PERIOD;switchingperiod*DUTYMAX;maximumdutycycle*DUTYMIN;minimumdutycycle*IMAX;maxvoltageupon(external)
3、RSENSEresistor*VOUTHI;driveroutputvoltagehigh*VOUTLO;driveroutputvoltagelow*ROUT;driveroutputresistor*****Internalerroramplifierparameters******VHIGH;maximumoutputvoltage*VLOW;minimumoutputvoltage*ISINK;sinkcapability*1SOURCE;sourcecapability*POLE;firstpoleinHertz*
4、GAIN;DCopen-loopgain(default二90dB)“a、rjrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJ.PARAMVP={(VLOW*DUTYMAX-VIIIGII*DUTYMIN+VIIIGI【-VLOW)/(DUTYMAX-DUTYMIN)};valleyrampvoltage.PARAMVV二{(VLOW-DUTYMIN*VP)/(1-DUTYMIN)};peakr
5、ampvoltageXERR10432ERRAMPPARAMS:VHIGH二{VHIGH}ISINK二{ISINK}ISOURCE二{【SOURCE};erroramplifier+VL0W={VLOW}P0LE={POLE}GAIN二{GAIN}VREF102{REF};referencevoltageVRAMP162PULSE{VV}{VP}0{PERIOD-2"ININ{PERIOD};comparisonrampXC0M116318COMPXC0M251912COMPVL1MT192{IMAX}XOR21218200
6、R2XFFL11201413FFLOP;PWMcomparator;Ilimitcomparator;Ilimitlevel(Maxvoltageuponexternalsenseresistor);ResetbyIMAXORPWM;flip-flopVCLK112PULSE050INE_B0UT152VALUE={IFROUT151{ROUT}RDUM1321MEGIN10N{PERIOD};Clocksetpulses(V(14)>3.5,{V0UTH1},{VOUTLO})};outputresitor•ENDSPWM
7、VM.SUBCKTERRAMP208321PARAMS:ISINK=15M,IS0URCE=500U,P0LE=30,GAIN=31622*+-OUTGNDRTN2088MEGCPI1121{1/(6.28*(GAIN/100U)*POLE)}El52111211R9525D14213DMODTS1321{TSTNK/100};mAQI211316QPMOD1SRC73{1S0URCE};uAD1237DMODD152111DCLAMPG12111208100UVI721{VIIIGII-O.6V}V4316{VL0W-38
8、MV}RP11121{GAIN/100U}•MODELQPMODPNP.MODELDCLAMPD(RS二10BV二10TBV=O.01).MODELDMODD(TT=1NCJ0=10P)・ENDSERRAMP.SUBCKTCOMP123*+-SE_B140VALUE={IF(V(l)>V(