介绍一种基于单片机控制的数控直流电流源。系统以AT89S52单片机为控制核心,由V/I转换电路、DA转换、AD转换等模块组成。通过按键设定电流值,并在LCD上同步显示预设值,利用模拟闭环控制原理实现V/I转换功能,采样电阻两端的电压值送给A/D转换电路,经单片机换算成实际输出电流值,并利用LCD显示,供用户参考。经测试,本系统稳定性好、精度较高、操作简单、人机界面友好。在科学研究和设备生产中,能够广泛应用到这种可靠性高、操作简单的数控电流源,不仅能够提高设备的性能,同时能够缩短研发周期,本系统具有较高的实用性。
上传时间: 2013-11-06
上传用户:csgcd001
a_bit equ 20h ;个位数存放处 b_bit equ 21h ;十位数存放处 temp equ 22h ;计数器寄存器 star: mov temp,#0 ;初始化计数器 stlop: acall display inc temp mov a,temp cjne a,#100,next ;=100重来 mov temp,#0 next: ljmp stlop ;显示子程序 display: mov a,temp ;将temp中的十六进制数转换成10进制 mov b,#10 ;10进制/10=10进制 div ab mov b_bit,a ;十位在a mov a_bit,b ;个位在b mov dptr,#numtab ;指定查表启始地址 mov r0,#4 dpl1: mov r1,#250 ;显示1000次 dplop: mov a,a_bit ;取个位数 MOVC A,@A+DPTR ;查个位数的7段代码 mov p0,a ;送出个位的7段代码
上传时间: 2013-11-06
上传用户:lx9076
在开放式数控系统结构模型的基础上,研究了基于ISA总线的DSP通信控制原理。采用中断方式完成了PC机和DSP之间的通信。介绍了以DriverWorks为工具开发ISA设备WDM驱动程序的方法,探讨了中断处理、驱动程序与应用程序之间的通信,简要说明了驱动程序的安装与调试。通过调试,系统设计运行稳定。 Abstract: The ISA bus and DSP correspondence control principle is investigated in the basis of the existing open architecture numerical control system.The interrupt method is used to realize the communication between PC and DSP based on the ISA bus.The methods of WDM driver exploitation for ISA device using Driver Works are introduced.The main process of driver program and the keys such as handle interrupt and the communication between the drivers and application are presented.And how to debug and install the drive is explained.
上传时间: 2013-11-04
上传用户:kang1923
在需要实时大量输入汉字的显示控制处理应用中,利用传统单片机实现显示控制的设计方法是较难实现的。带汉字字库的液晶模块的使用使得小容量ROM单片机的大量汉字信息输入与显示成为可能。提出了针对汉字字库编码的二级索引拼音输入检索方法,介绍了以ST7920作为控制器的带汉字字库的液晶显示模块的接口方法及汉字显示和控制原理,给出了通用计算机键盘在单片机中的串行接口,采用该技术可大大增强单片机的汉字输入功能。为小容量ROM单片机的大批量汉字信息处理提供了一种汉字输入解决方案。 Abstract: It is difficult to realize Chinese characters input method based on the embedded system by using the traditional design method of display control. It is possible to input and display Chinese characters based on the embedded system with the ROM of small content by using the LCD module with Chinese characters.Chinese characters input method of the quadric index recall in allusion to Chinese characters code is brought forward.The interface and the principle of Chinese characters display control based on the LCD module controlled with the ST7920 is introduced too.The serial interface of the computer keyboard in common use and the embedded system is given at the same time. It can enhance the embedded system function of Chinese characters input by using this technology, and provide a kind of Chinese characters input scheme for the embedded system with small capacity ROM.
上传时间: 2013-11-19
上传用户:jhksyghr
摘要:Z8E000是Z8PLUS系列单片机中具有较强代表性的一种,本文在简要介绍了8000的特性和片内资源的基础上å着重介绍了其在小家电(暖风机)中的应用.关键词:PTC电热元件;自动恒温控制;温度保护功能;Z8E000
上传时间: 2013-10-15
上传用户:363186
概述 SC16C550是用于串行数据通信的通用异步收发器(UART)。它的基本功能是将并行数据转换成串行数据,反之亦然。UART可处理速率高达3Mbit/s的串行数据。 SC16C550的管脚与ST16C550、TL16C550和PC16C550兼容。上电后的功能等效于16C450。编程控制寄存器可使能SC16C550更多的特性。增加的特性包括:16字节接收和发送FIFO,自动硬件或软件流控制和红外编码或解码。在FIFO模式下,通过使用RTS输出和CTS输入信号自动控制串行数据流,可选的自动流控制的特性大大降低了软件规模,提高了系统效率。SC16C550也通过FIFO触发点和TXRDY和RXRDY信号来实现DMA模式数据传输。片内的状态寄存器为用户提供错误指示,器件的工作状态和调制解调器接口控制。可通过调整系统中断来满足用户的要求。内部的环回模式实现了片内的故障诊断。 SC16C550可工作在5V,3.3V和2.5V的电压下和工业级温度范围内,含有塑料DIP40、PLCC44和LQFP48这三种封装形式。
上传时间: 2013-12-06
上传用户:hj_18
叙述了RS485总线通信控制原理和方法,设计了一套基于RS485总线通信系统, 并实现了上位机监控系统与智能仪表之间的实时通信。试验结果表明:该系统性能稳定、传输距离远、通信速度较快、抗电磁干扰能力强,在智能型电气火灾监控报警系统应用中取得了良好的效果。
上传时间: 2013-11-05
上传用户:yuanxiaoqiang
电机
上传时间: 2014-01-24
上传用户:tanggm
特点 显示值范围-199999至999999位數 最高輸入頻率 5KHz 90度相位差加減算具有提高解析度4倍功能 输入脈波具有预设刻度功能 定位基准值可任意設定 比較磁滯值可任意設定 数位化指拨设定操作简易 3组继电器输出功能 2:主要規格 脈波輸入型式: Jump-pin selectable current sourcing(NPN) or current sinking (PNP) 脉波触发电位: HI bias (CMOS) (VIH=7.5V, VIL=5.5V) LO bias (TTL) (VIH=3.7V, VIL=2.0V) 最高输入频率: <5KHz 定位置范围: -199999 to 999999 second adjustabl 比较磁滞范围: 0 to 9999 adjustable 继电器容量: AC 250V-5A, DC 30V-7A 显示值范围: -199999 to 999999 显示幕: Red high efficiency LEDs high 9.2mm (.36") 参数设定方式: Touch switches 感应器电源: 12VDC +/-3%(<60mA) 记忆方式: Non-volatile E2PROM memory 绝缘耐压能力: 2KVac/1 min. (input/output/power) 1600Vdc (input/output) 使用环境条件: 0-50℃(20 to 90% RH non-condensed) 存放环境条件: 0-70℃(20 to 90% RH non-condensed) CE认证: EN 55022:1998/A1:2000 Class A EN 61000-3-2:2000 EN 61000-3-3:1995/A1:2001 EN 55024:1998/A1:2001
上传时间: 2014-12-03
上传用户:xjz632
MaxDOS控制原理
上传时间: 2013-11-12
上传用户:michael20