资源预览内容
第1页 / 共11页
第2页 / 共11页
第3页 / 共11页
第4页 / 共11页
第5页 / 共11页
第6页 / 共11页
第7页 / 共11页
第8页 / 共11页
第9页 / 共11页
第10页 / 共11页
亲,该文档总共11页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
42 三相交流电动机 SVPWM 开环调速控制程序(软件法) .include 240x.h .global _c_int0 ST0 .set 0 ST1 .set 1 .bss TEMP,1 .bss SET_F,1 .bss F_OMEGA,1 .bss OMEGA,1 .bss SET_V,1 .bss MAX_V,1 .bss T_SAMPLE,1 .bss THETA_H,1 .bss THETA_L,1 .bss THETA_R,1 .bss THETA_M,1 .bss THETA_I,1 .bss SS,1 .bss SC,1 .bss SIN_INDX,1 .bss SIN_ENTRY,1 .bss SIN_END,1 .bss SIN_THETA,1 .bss COS_THETA,1 .bss UA,1 .bss UB,1 .bss THETA_S,1 .bss SECTOR,1 .bss THETA_90,1 .bss THETA_180,1 .bss THETA_270,1 .bss THETA_360,1 .bss DEC_MS,24 .bss T1_PERIODS,1 .bss CMP_1,1 .bss CMP_2,1 .bss CMP_0,1 .bss FIRST_TOG,1 .bss SEC_TOG,1 .bss ACCH,1 .bss ACCL,1 .bss AR0_SAVE,1 .bss P_HI,1 .bss P_LO,1 ST0_SAVE .usect .context,1 ST1_SAVE .usect .context,1 .sect .vectors RESET B _c_int0 INT1 B PHANTOM INT2 B _C_INT2 INT3 B PHANTOM INT4 B PHANTOM INT5 B PHANTOM INT6 B PHANTOM RESERVED B PHANTOMSW_INT8 B PHANTOMSW_INT9 B PHANTOMSW_INT10 B PHANTOMSW_INT11 B PHANTOMSW_INT12 B PHANTOMSW_INT13 B PHANTOMSW_INT14 B PHANTOMSW_INT15 B PHANTOMSW_INT16 B PHANTOMTRAP B PHANTOMNMI B PHANTOMEMU_TRAP B PHANTOMSW_INT20 B PHANTOMSW_INT21 B PHANTOMSW_INT22 B PHANTOMSW_INT23 B PHANTOMSW_INT24 B PHANTOMSW_INT25 B PHANTOMSW_INT26 B PHANTOMSW_INT27 B PHANTOMSW_INT28 B PHANTOMSW_INT29 B PHANTOMSW_INT30 B PHANTOMSW_INT31 B PHANTOM.sect .pvecs PVECTORS B PHANTOM B PHANTOM B PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOM B PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOM B PHANTOMB PHANTOM B PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOM B PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOM B PHANTOM B PHANTOMB T1UF_ISRB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOM B PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOMB PHANTOM.text_c_int0 SETC INTM CLRC CNF LDP #224SPLK #0000001000000100B,SCSR1 SPLK #68H,WDCR LDP #225LACC MCRAOR #0FC0H SACL MCRALDP #0 SPLK #0FFH,IFR SPLK #00000010B,IMR LDP #232 SPLK #0FFFH,EVAIFRA SPLK #0FH,EVAIFRB SPLK #0FH,EVAIFRC SPLK #0200H,EVAIMRA SPLK #0,EVAIMRB SPLK #0,EVAIMRC SPLK #500,T1PR SPLK #500,CMPR1 SPLK #500,CMPR2SPLK #500,CMPR3SPLK #0000011001100110B,ACTRA SPLK #01F4H,DBTCONA SPLK #1000001000000000B,COMCONA SPLK #1000100000000010B,T1CON LDP #6 SPLK #0347H,T_SAMPLE SPLK #16000,T1_PERIODS SPLK #11585,MAX_V SPLK #0,SET_F SPLK #10053,F_OMEGA SPLK #0,THETA_L SPLK #0,THETA_H LAR AR0,#THETA_90 LAR AR1,#(28-1) LACC #ANGLES_ LAR AR0 INIT_TBL TBLR *+,AR1 ADD #1 BANZ INIT_TBL,AR0 SPLK #29335,THETA_I SPLK #31291,THETA_S SPLK #SIN_ENTRY_,SIN_ENTRY SPLK #(SIN_ENTRY_+90),SIN_END LDP #232SPLK #0000100001000010B,T1CON CLRC INTM MAIN_LOOP LDP #6LT SET_F MPYU F_OMEGA PAC SACH OMEGA LT SET_F MPYU MAX_V PAC SACH SET_V B MAIN_LOOP PHANTOM CLRC INTMRET_C_INT2 SST #ST0,ST0_SAVE SST #ST1,ST1_SAVE LDP #6 SACH ACCH SACL ACCL SPH P_HI SPL P_LO MPY #1 SPL T_SAVE SAR AR0,AR0_SAVE CLRC SXMLDP #224 LACC PIVR SUB #029H BCND T1UF_ISR,EQ REST LDP #6 LAR AR0, AR0_SAVE LT P_LO MPY #1 LPH P_HI LT T_SAVE LACC ACCH,16 ADDS ACCL LDP #0 LST #ST1,ST1_SAVE LST #ST0,ST0_SAVE CLRC INTM RET T1UF_ISR LDP #232SPLK #0FFFH,EVAIFRA LDP #6 LT OMEGA MPY T_SAMPLE PAC SFR ADD THETA_H,16 ADDS THETA_L SACH THETA_H SACL THETA_L BCND CHK_UPLIM,GEQ ADD THETA_360,16 SACH THETA_H
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号