为了实现把软件仿真的数据通过PCI总线DMA传输、处理后转换成高速视频串行数据流(LVDS数据流),设计出了基于PCI9054的数据转换模块。通过介绍PCI总线接口协议芯片PCI9054的性能、特点,分析了windows的WDM驱动程序的特点,在软硬件设计中采用把数据缓存器设置为两组SRAM的结构,两组SRAM交替进行数据存取的方式,有效克服了数据流不连续的现象,解决了形成不间断数据流和两次DMA传输之间的数据间断问题。应用结果表明,该设计可满足数字视频带宽20 MHz以内的LVDS数据流的转换与传输。
上传时间: 2014-12-26
上传用户:jisujeke
详细介绍工控软件组态王与单片机多机串口通讯的设计原理。分析组态王提供的直接与单片机串口通信方法的优点,给出系统基于RS-485总线传输的接口电路原理图。根据组态王提供的通讯协议和单片机多机串口通讯的原理,给出程序设计流程与思路。 Abstract: In this paper,the design principle of communication between multi-SCM and KingView by serial ports is described in detail.We analysis the advantage of method supplied by KingView,by which KingView can communicate with serial ports of SCM directly,and provide the system’s interface circuit based on the RS-485transmission line.We provide flow diagram of programming and thinking on the basis of communication protocol supplied by KingView and principle of communication among multi-SCM through serial ports.
上传时间: 2013-12-19
上传用户:tecman
在开放式数控系统结构模型的基础上,研究了基于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
通过对程控滤波器的理论分析,在研究MAX262的功能和单片机的SPI总线通信的基础上,提出了基于MAX262的程控滤波器设计方案,设计了程控滤波器的软硬件,并给出了测试结果。 Abstract: By analyzing the programmable filter,the paper puts forward a programmable filter system design based on MAS262 on basic of studying MAS262 features and SPI bus communication.Software and hardware of the programmmable filter are designed,and the test result is given.
上传时间: 2013-11-15
上传用户:wxhwjf
对于沥青混凝土摊铺机自动找平控制系统来说,数字式控制系统的研制是目前的一个方向。介绍了一种基于CAN总线的数字式自动找平控制系统。该系统以CAN总线作为通信方式,PWM控制信号通过C8051F040单片机内部PCA可编程计数器阵列产生,并具有结构简单、信号稳定、实时性强、易扩展的特点。通过硬件实现和系统运行达到了比较理想的控制效果,验证了系统的可行性。 Abstract: A digital auto-leveling control system based on CAN Bus is introduced.It uses CAN Bus as the method of communication and creates PWM signals by programmable counter array in C8051F040 microcontroller. The system is simple, stable, real-time and expansive.
上传时间: 2013-10-09
上传用户:ligi201200
介绍了CAN总线和P87C591单片机的特点,给出了基于P87C591单片机的信号采集节点的软、硬件设计,指出了硬件电路设计中应注意的问题,在软件设计中重点介绍了节点初始化、报文发送和报文接收等子程序。 Abstract: The features of CAN Bus and the microcontroller P87C591 are introduced, and the design of hardware circuit and soft configuration of the signals collection node based on P87C591 are presented. The problems in designing hardware circuit are discussed.Initialization subprogram, transmiting subprogram and receiving subprogram are emphasized in soft configuration.
上传时间: 2013-11-03
上传用户:BIBI
针对船舶气象仪保障维修而设计的船舶气象仪测试系统,包括信息处理终端、主仪器检测模块、传感器检测模块,各个模块都采用基于AVR单片机的嵌入式系统,模块之间通过CAN总线进行通信。结果表明,船舶气象仪测试系统能够快速检测船舶气象仪故障,与单纯依靠人工方式排查故障相比,故障检测时间缩短了60%以上。 Abstract: The test system of ship meteorological instrument was developed to satisfy the maintenance of ship meteorological instruments,which composed of information processing terminal, testing module of main instrument and testing module of sensors. Each of these modules included an embedded system based on microcontroller of AVR series and communicated with other module by CAN bus. The results show that the test system can judge the fault of ship meteorological instrument quickly and shorten the fault detection time as much as 60% compared with simple manual troubleshooting.
上传时间: 2013-11-23
上传用户:stvnash
摘要:传统的门锁既要备有大量的钥匙,又要担心钥匙丢失后的麻烦。随着单片机的问世,出现了带微处理器的密码锁,它除具有电子密码锁的功能外,还引入了智能化、科技化等功能,从而使密码锁具有很高的安全性、可靠性,受到了广大用户的亲睐。本文介绍一种基于单片机和串行EEPROM的智能密码锁,对系统硬件设计和软件实现进行了详细的描述。该系统采用STC89C51单片机和AT24C02串行EEPROM,通过STC89C51模拟I2C总线和AT24C02通讯来读取存储的密码,用户通过键盘输入的密码,实现密码锁的功能。
上传时间: 2013-12-09
上传用户:JasonC
在单片机应用系统中,有时需要采集大量的开关信号,由于信号多且接入方式不同,使得电路较复杂,占用了单片机大量资源,数据采集软件的开发量也较大。笔者用纯数字电路设计了一个特别适合于远程大数据量采集的电路(最大可采集1024个开关量,附图所示电路可采集192个开关量)。 电路由双二进制加法计数器CD4520、译码器74LS138、缓冲驱动器74LS244等组成。NE555产生的脉冲加到计数器D1的CP1端,由于D1的Q4同时也接D1的EN2,所以D1的双计数器构成级联计数电路,其输出Q2~Q7作为开关输入量的地址送D5的输入端。Q1作为片选信号接D5,Q5~Q7接D2输入端,为D3、D4等译码器提供片选信号,而Q2~Q4接D3、D4等译码器的输入端,译码器的输出作为D7、D8等的片选信号。D7、D8等的输入接采样的开关信号(图中开关接通表示输入为低位),其输出接D6输入端。当D6片选有效时(Q1为低电位),输出的数据地址线上为开关量信号。当D5片选有效时(Q1为高电位)输出的数据地址线上为开关量信号的地址。8条数据地址线可直接接单片机P1口或通过74LS245接单片机总线,1条数据地址选择线也可直接接单片机P2或P3口。
上传时间: 2013-10-14
上传用户:tonyshao
摘要:应用复杂可编程逻辑器件CPLD和微控制器MPU技术,设计了符合俄罗斯OCT18977-79 和PTM1495-75航空数据总线标准的多通道串行双极性数字发送电路。该电路结构简单、使用灵活、可靠性高,可广泛应用于俄制机载设备的检测及仿真试验。关键词:复杂可编程逻辑器;航空数据总线;ARINC429
上传时间: 2013-10-11
上传用户:风行天下