1 / 8

实验三 小直流电机调速实验

实验三 小直流电机调速实验. 一、实验目的 1 、 掌握直流电机的驱动原理。 2 、了解直流电机调速的方法。. 二、实验内容 1 、用 DAC0832D/A 转换电路的输出,经放大后驱动直流电机 ; 2 、编制程序,改变 DAC0832 输出经放大后的方波信号的占空比来控制电机转速。. 三、连接方法 ( 1 )将 D/A 区 0832 片选信号 CS 插孔和译码输出 Y2 插孔相连。 ( 2 )用排线将 D/A 区的 D0~D7 连到 BUS2 区的 XD0~XD7 上。 ( 3 )将 D/A 区 0832 的 WR 信号线连到 BUS3 区的 XWR 上。

ora
Download Presentation

实验三 小直流电机调速实验

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 实验三 小直流电机调速实验 一、实验目的 1、 掌握直流电机的驱动原理。 2、了解直流电机调速的方法。

  2. 二、实验内容 1、用DAC0832D/A转换电路的输出,经放大后驱动直流电机; 2、编制程序,改变DAC0832输出经放大后的方波信号的占空比来控制电机转速。

  3. 三、连接方法 (1)将D/A区0832片选信号CS插孔和译码输出Y2插孔相连。 (2)用排线将D/A区的D0~D7连到BUS2区的XD0~XD7上。 (3)将D/A区0832的WR信号线连到BUS3区的XWR上。 (4)D/A区的VREF接+5V。 (5)将直流电机插头连到DMOT区的J4插座上。 (6)将直流电机DJ连到DMOT区的AOUT插座上。

  4. 四、实验步骤 1、确认连好实验线路。 2、从起始地址开始连续运行程序。 (1)联机时,实验程序文件名为\DVCC\H8EXE\H89S.EXE。 (2)单机时,实验程序起始地址为F000:9600。 在系统显示监控提示符“P.”时: 输入F000 按F1键 输入9600 按EXEC键 观察直流电机的转速和正反向变化情况。

  5. 五、硬件线路接线原理图

  6. 六、实验程序 CODE SEGMENT ASSUME CS:CODE DAPORT EQU 0020H ORG 1600h START: MOV AL,0FFH MOV DX,DAPORT OUT DX,AL DACON2: DEC AL CALL DELAY OUT DX,AL

  7. CMP AL,0H JNZ DACON2 CALL DELAY DACON3: INC AL OUT DX,AL CALL DELAY CMP AL,0FFH JNZ DACON3 JMP START

  8. DELAY: MOV CX,1000H DELAY1: LOOP DELAY1 RET CODE ENDS END START

More Related