针对目前普通日光灯因不能调节光强而造成的能源浪费问题,设计了一种基于单片机的新型节能日光灯系统,该系统主要分为3个部分,首先采集外界光强信息并将数据传至单片机;随后单片机根据输入量的不同调整输出的PWM波;最后日光灯控制电路通过PWM波的控制,调节日光灯两端的电压,控制日光灯输出的光强,使日光灯随外界光强的变化而自动调整照射光强。经过不同外界环境的实验调试,在满足使用者的用光要求的前提下,日光灯工作稳定,功率明显降低,适宜推广使用。
上传时间: 2013-10-29
上传用户:苍山观海
为提高太阳能的利用率,以ATmega8单片机为控制核心,设计了一套光电跟踪与视日运动轨迹跟踪互补控制的双轴太阳跟踪器。该跟踪器在晴天时,利用光敏电阻采集光强判断太阳位置,控制步进电机实现光电跟踪;在阴天时,采集时钟器件PCF8583的时间信息,计算当前太阳位置来实现视日运动轨迹跟踪。实验表明:该太阳跟踪器能在不同天气状况下对太阳进行较准确地跟踪,能量接收效率提高了30%,达到充分利用太阳能的目的。 Abstract: To improve the utilization rate of solar energy,a kind of solar tracking controller which effectively combined the sun angle tracking and photo electric tracking based on ATmega8is designed.In the sunny days,the solar tracking con-troller determines the sun's position by using photosensitive resistances to collect light intensity and control stepper motors to achieve photo electric tracking,n cloudy days,it collects clock chip PCF8583time information to calculate the current position of the sun and achieve the sun angle tracking.Experimental results show the solar tracking controller accurately tracks the sun in different weather conditions,improves received energy efficiency by30%and reaches the purpose of full use of solar energy.
上传时间: 2013-10-15
上传用户:urgdil
为提高温度测量效率,降低系统的成本,扩展传输距离,设计出一种新型温度采集系统。单片机通过控制具有单总线方式的温度传感器DS18B20实现对温度的测量,同时单片机通过控制具有单总线方式300~450MHz频率范围内的MAX7044与MAX7033无线发射与接收芯片实现温度数据的无线传输。与传统温度采集系统相比,该系统利用单总线方式连接,采用无线传输方式实现远距离通信,易于系统的集成与扩展。实验结果表明,该系统结构简单、方便移植,能够同时实现多达上百点温度的测量与500m范围的传输。 Abstract: To improve the temperature measurement efficiency and reduce system cost,expansion of transmission distance,a new type of temperature acquisition system is designed.Microcontroller controlled temperature sensor DS18B20which has a single-bus achieves temperature measurement,while microcontroller by controlled the MAX7044and MAX7033chip with a single-bus and having300~450MHz radiofrequency to achieve the wireless transmission of temperature data.Compared with conventional temperature acquisition system,the system uses single-bus connected,and uses wireless transmission means to achieve long-distance communications,easy-to-system integration and expansion.The experimental results show that the system is simple,convenient transplantation,and can be implemented in as many as a hundred-point temperature measure-ment and the transmission range of500meters.
上传时间: 2013-10-29
上传用户:515414293
首先研究CAN总线和SAE J1939协议,提出一种基于MC9S12HZ256微控制器的总线式汽车数字仪表解决方案。详细介绍SAE J1939协议的报文帧格式及应用层协议中发动机相关参数的定义,以及步进电机及其驱动和车速信号的处理方法。该数字仪表系统硬件平台由微处理器和信号采集和信息处理及显示等模块组成。软件设计部分编程实现了对CAN总线和各传感器数据的读取、处理。该系统能够实时反映车辆工况。 Abstract: In this paper,CAN bus and SAE J1939protocol are researched,and a vehicle digital instrument solution based on MC9S12HZ256MCU is proposed.The message frame format and some engine-related parameters’definition in SAE J1939application layer protocol are introduced in detail.Stepper motor and its driver,the methods of speed signal process-ing are also introduced.The hardware platform of vehicle digital instrument is composed by MCU,signal acquisition mod-ule,and signal processing and displaying module.Data receiving and processing from CAN bus and sensors are accom-plished by programming,and vehicle condition can be reflected in real-time.
上传时间: 2013-10-20
上传用户:huannan88
介绍基于ISA总线与KH-9300的数据采集板卡的设置,详细说明8254定时计数器及8259中断控制器的结构特点、工作方式、控制字等,探讨中断类型、中断处理程序、中断矢量表及其填写。重点讲述使用TorboC编写中断服务程序的方法,应注意的主要问题及程序测试的结果。 Abstract: The settings of KH-9300 data acquisition board based on the ISA bus is introduced,the structural characteristics,working methods,control characters of the timing counter 8254 and interruptioncontroller 8259 are explained in detail.The interruption type,interrupt handling programs,interruption vector table and its filling also are discussed.Further,great emphasis is put on the method of interrupt service program compiled by Torbo C,the main issues that should be noted,and the results of program testing.
上传时间: 2013-11-14
上传用户:qq527891923
介绍一种基于C8051F060单片机和NAND Flash的数据采集存储系统,该系统可实现3路信号采样,每路采样率为5KS/s,通过异步串行通信接口实现数据传输。并详细说明系统的软件设计。 Abstract: An acquisition and storage system based on C8051F060and NAND Flash is designed in this paper.The system is used to sample three-channel of signal,5KSPS each channel,and can upload data to test bench through UART(Universal Asynchronous Receiver/Transmitter).The software design is discussed in detail.
上传时间: 2013-10-12
上传用户:Jesse_嘉伟
伟福仿真器系统概述 本仿真器系统由仿真主机+仿真头、MULT1A用户板、实验板、开关电源等组成。本系统的特点是: 1.主机+仿真头的组合,通过更换不同型号的仿真头即可对各种不同类型的单片机进行仿真,是一种灵活的多CPU仿真系统。采用主机+POD组合的方式,更换POD,可以对各种CPU进行仿真。本仿真器主机型号为E2000/S,仿真头型号为POD8X5X(可仿真51系列8X5X单片机)。 2.双平台,具有DOS版本和WINDOWS版本,后者功能强大,中/英文界面任选,用户源程序的大小不再有任何限制,支持ASM,c,PLM语言混合编程,具有项目管理功能,为用户的资源共享、课题重组提供强有力的手段。支持点屏显示,用鼠标左键点一下源程序中的某一变量,即可显示该变量的数值。有丰富的窗口显示方式,多方位,动态地显示仿真的各种过程,使用极为便利。本操作系统一经推出,立即被广大用户所喜爱。 3.双工作模式①.软件模拟仿真(不要仿真器也能模拟仿真)。②硬件仿真。 4.双CPU结构,100%不占用户资源。全空间硬件断点,不受任何条件限制,支持地址、数据、外部信号、事件断点、支持实时断点计数、软件运行时间统计。 5.双集成环境编辑、编译、下载、调试全部集中在一个环境下。多种仿真器,多类CPU仿真全部集成在一个环境下。可仿真51系列,196系列,PIC系列,飞利蒲公司的552、LPC764、DALLAS320,华邦438等51增强型CPU。为了跟上形势,现在很多工程师需要面对和掌握不同的项目管理器、编辑器、编译器。他们由不同的厂家开发,相互不兼容,使用不同的界面,学习使用都很吃力。伟福WINDOWS调试软件为您提供了一个全集成环境,统一的界面,包含一个项目管理器,一个功能强大的编辑器,汇编Make、Build和调试工具并提供千个与第三方编译器的接口。由于风格统一,大大节省了您的精力和时间。 6.强大的逻辑分析仪综合调试功能。逻辑分析仪由交互式软件菜单窗口对系统硬件的逻辑或时序进行同步实时采样,并实时在线调试分析,采集深度32K(E2000/L),最高时基采样频率达20MHz,40路波形,可精确实时反映用户程序运行时的历史时间。系统在使用逻辑分析仪时,除普通的单步运行、键盘断点运行、全速硬件断点运行外,还可实现各种条件组合断点如:数据、地址、外部控制信号、CPU内部控制信号、程序区间断点等。由于逻辑仪可以直接对程序的执行结果进行分析,因此极大地便利于程序的调试。随着科学技术的发展,单片机通讯方面的运用越来越多。在通讯功能的调试时,如果通讯不正常,查找原因是非常耗时和低效的,您很难搞清楚问题到底在什么地方,是波特率不对,是硬件信道有问题,是通讯协仪有问题,是发方出错还是收方出错。有了逻辑仪,情况则完全不一样,用它可以分别或者同时对发送方、接收方的输入或者输出波形进行记录、存储、对比、测量等各种直观的分析,可以将实际输出通讯报文的波形与源程序相比较,可立即发现问题所在,从而极大地方便了调试。 7.强大的追踪器功能追踪功能以总线周期为单位,实时记录仿真过程中CPU发生的总线事件,其触发条件方式同逻辑分析仪。追踪窗口在仿真停止时可收集显示追踪的CPU指令记忆信息,可以以总线反汇编码模式、源程序模式对应显示追踪结果。屏幕窗口显示波形图最多追踪记忆指令32K并通过仿真器的断点、单步、全速运行或各种条件组合断点来完成追踪功能。总线跟踪可以跟踪程序的运行轨迹。可以统计软件运行时间。
上传时间: 2013-11-01
上传用户:xiehao13
TLC1543是TI公司推出的采用SPI技术的模数转换器。具有输入通道多、高速、高分辨率、性价比高、易于和单片机接口等特点,在各种数据采集系统中有着广阔的应用空间。51单片机、TLC1543加上很少的外围器件即可构成一个高性价比的数据采集系统,同时TLC1543占用单片机I/O资源较少,使得单片机有足够的I/O资源去完成如控制、显示等功能。由AT89C52和TLC1543构成的三相单独可调400Hz中频电源的数据采集系统在实际运用中达到很好的效果。
上传时间: 2013-11-17
上传用户:xg262122
气压是气象监测中的一个重要参数,提出了一种气压数据采集模块设计方案,该模块采用数字气压传感器MS5534B、MSP430单片机MSP430F2272和带实时时钟(RTC)64 KB铁电存储器。通过低功耗软件设计方法以微安级整体平均功耗实现了气压数据的采集和存储,适合电池供电的连续高精度气压采集应用。给出了模块的软硬件设计以及MS5534B的性能指标和使用经验。 Abstract: Air pressure is an important parameter in weather monitor.This paper futs forward a new design scheme of low power-air pressure data acquisition module.The module uses a digital output barometer sensor MS5534B,MSP430 microcontroller MSP430F2272 and integrated RTC 64KB FRAM,precision air pressure measurement and storage chip.Another point of this module is low power consumption, so it is well suited for battery powered air pressure data acquisition applications. At the same time,the software and hardware deign of module is presented,And the speciaties and use notices of MS5534B are given.
上传时间: 2014-12-27
上传用户:drink!
针对众多低成本数据采集需求,采用带有片上USB控制器和D/A转换器的混合信号微处理器C8051F340,设计了一款可通过USB接口和LabVIEW图形用户界面实现与PC机联机的数据采集器,同时借助系统的SD卡存储独立实现现场长时间采集数据。该数据采集器成本低,结构简单,体积小,已成功用于工业现场。 Abstract: Aiming at the need of low cost data acquisition, a data acquisition device is designed based on C8051F340 which is a mixed-signal microcontroller and integrates USB controller and A/D controller on a chip.The data acquisition device which can combine with PC by USB interface and LabVIEW graphical user interface,can realize data acquisition. At the same time,it can be solely run a long time in virtue of SD card in field.The date aequisition device features low cost,simple structure and little sharp, and it has been used in industry field.
上传时间: 2014-05-31
上传用户:1109003457