ImageVerifierCode 换一换
格式:DOCX , 页数:20 ,大小:323.47KB ,
资源ID:21179342      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/21179342.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(直流电机闭环调速原理及汇编程序语言Word格式文档下载.docx)为本站会员(b****6)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

直流电机闭环调速原理及汇编程序语言Word格式文档下载.docx

1、R1 DW ?R2 DW ?R3 DW ?R4 DW ?R5 DW ?R6 DW ?R7 DB ?R8 DW ?DATA ENDSCODE SEGMENT ASSUME CS:CODE,DS:DATASTART: MOV AX,DATA MOV DS,AXMAIN: CALL SYSTEM CALL INIT STIM1: MOV AL,TS SUB AL,TC JNC M1 MOV TC,00H MOV AL,ZVV MOV AH,00H MOV YK,AX CALL PID MOV AL,CK SUB AL,80H JC IS0 MOV AAA,AL JMP COUIS0: MOV AL,

2、10H COU: MOV AL,7FH SUB AL,AAA MOV BBB,AL MOV AX,SPEC MOV CH1,AL MOV AX,YK MOV CH2,AL CALL PUT_COM JMP M1 PUT_COM: MOV AL,31H OUT 0C1H,AL MOV AL,CH1 OUT 0C0H,ALWAIT1: IN AL,0C1H TEST AL,01H JZ WAIT1 MOV AL,CH2WAIT2: JZ WAIT2 MOV AL,34H OUT 0C1H,AL RETINIT: NOP PUSH DS XOR AX,AX MOV DS,AX MOV AX,OFFS

3、ET IRQ6 ADD AX,2000H MOV SI,0038H MOV SI,AX MOV AX,0000H MOV SI,003AH MOV AX,OFFSET IRQ7 MOV SI,003CH MOV SI,003EH CLI POP DS IN AL,21H AND AL,3FH OUT 21H,AL MOV VADD,0000H MOV ZV,00H MOV ZVV,00H MOV CK,00H MOV YK,0000H MOV CK_1,00H MOV EK_1,0000H MOV AEK_1,0000H MOV BEK,0000H MOV BBB,00H MOV VBB,00

4、H MOV R0,0000H MOV R1,0000H MOV R2,0000H MOV R3,0000H MOV R4,0000H MOV R5,0000H MOV R6,0000H MOV R7,00H MOV R8,0000H MOV MARK,00H MOV FPWM,01H MOV AAA,7FH MOV VAA,7FH MOV TC,00H MOV AL,80H OUT 63H,AL MOV AL,00H OUT 61H,AL MOV AL,0B6H OUT 43H,AL MOV AL,8FH OUT 42H,AL MOV AL,04H RET SYSTEM: MOV AL,76H

5、 MOV AL,0CH OUT 41H,AL MOV AL,00H CALL DLY1 OUT 0C0H,AL MOV AL,40H CALL DLY1 MOV AL,7EH OUT 0C1H,AL MOV AL,34H CALL DLY1 OR AL,01H OUT 21H,ALDLY1: PUSH CX MOV CX,3000HB2: PUSH AX POP AX LOOP B2 POP CXIRQ7: PUSH BX PUSH CX PUSH DX PUSHF MOV AL,MARK CMP AL,01H JZ IN1 MOV MARK,01H IN2: MOV AL,20H OUT 2

6、0H,AL POPF POP DX POP CX POP BX IRETIN1: CALL VV MOV AL,ZV MOV ZVV,AL JMP IN2VV: MOV DX,0000H MOV AX,03E8H MOV CX,VADD CMP CX,0000H JZ MM1 DIV CXMM: MOV ZV,ALMM1:IRQ6: NOP INC TC CALL KJ CLC CMP MARK,01H JC TT1 INC VADD CMP VADD,0700H MOV VADD,0700HTT1: MOV AL,20H ;Close IRQ6KJ: CMP FPWM,01H JNZ TES

7、T2 CMP VAA,00H JNZ ANOT0 MOV FPWM,02H MOV AL,BBB RCR AL,01H MOV VBB,AL JMP TEST2ANOT0: DEC VAA MOV AL,01HTEST2: CMP FPWM,02H JNZ OUTT CMP VBB,00H JNZ BNOT0 MOV AL,AAA MOV VAA,AL JMP OUTTBNOT0: DEC VBB OUT 61H,AL OUTT:PID: MOV AX,SPEC SUB AX,YK MOV R0,AX MOV R1,AX SUB AX,EK_1 MOV R2,AX SUB AX,AEK_1 M

8、OV BEK,AX MOV R8,AX MOV AX,R1 MOV EK_1,AX MOV AX,R2 MOV AEK_1,AX TEST R1,8000H JZ EK1 NEG R1 EK1: SUB AX,IBAND JC II MOV R3,00H JMP DDDII: MOV AL,TS MOV CX,R1 MUL CX MOV CX,KII MOV R3,AX TEST R0,8000H JZ DDD NEG R3DDD: TEST BEK,8000H JZ DDD1 NEG BEKDDD1: MOV AX,BEK MOV CX,KDD MUL CX MOV CX,0008H MOV

9、 CX,AX MOV R4,AX TEST R8,8000H JZ DD1 NEG R4DD1: MOV AX,R3 ADD AX,R4 MOV R5,AX JO L9L2: MOV AX,R5 ADD AX,R2 MOV R6,AX JO L3 L5: MOV AX,R6 MOV CX,KPP IMUL CX MOV CX,1000H IDIV CX MOV CX,AX RCL AH,01H RCR AL,01H JC LLL1 CMP CH,00H JZ LLL2 MOV AL,7FH JMP LLL2LLL1: CMP CH,0FFH MOV AL,80HLLL2: MOV R7,AL ADD AL,CK_1 JO L8L18: MOV CK_1,AL ADD AL,80H MOV CK,ALL8: TEST R7,80H JNZ L17 JMP L18L17: MOV AL,80H JMP L18 L9: TEST R3,8000H JNZ L1 MOV R5,7FFFH JMP L2L1: MOV R5,8000HL3: TEST R2,8000H JNZ L4 MOV R6,7FFFH JMP L5L4: MOV R6,8000HCODE ENDS END START

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1