虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

Time-to-digital

  • 基于ARM单片机的自动测高测距小车

    生活中许多目标的高度和水平距离需要进行测量。目前主要的测量方法,仍以传统的皮尺丈量为主,测量效率不高,有时还很不方便,没有技术成熟的数字式测高测距产品。以基本的数学方法为理论依据,利用遥控小车做为载体,采用角度传感器测量角度、霍尔传感器测量水平距离等,通过单片机LM3S615进行数据计算,实现了对待测目标物体的高度、水平距离等数据的快速、精确和数字式的测量,高度测量精度可达99.06%,水平测量精度则可达98.06%。 Abstract:  In our lives, the height and horizontal distance of some goals are needed to be measured. Because the currently used methods are still traditional tape-based measuring methods, and the measuring efficiency is low and inconvenient so some kinds of digital and portable measuring methods or instruments are needed. Based on the basic math theory, this paper designed and manufactured a portable, digital and remote controlled measuring mobile small vehicle, which assembled with angle measuring sensor for angle measurement and Hall sensor for horizontal distance measuring. MCU LM3S615 calculated the height and horizontal distance data gotten from these sensors. The measuring process is simple, the measuring results are more accurate and the measuring efficiency is higher than traditional measure instruments. The accuracy of height and distance measurement can reach 99.06% and 98.06%.

    标签: ARM 单片机 自动

    上传时间: 2013-10-30

    上传用户:jackandlee

  • 单片机P0口的片外数据存储器扩展

    单片机作为一种微型计算机,其内部具有一定的存储单元(8031除外),但由于其内部存储单元及端口有限,很多情况下难以满足实际需求。为此介绍一种新的扩展方法,将数据线与地址线合并使用,通过软件控制的方法实现数据线与地址线功能的分时转换,数据线不仅用于传送数据信号,还可作为地址线、控制线,用于传送地址信号和控制信号,从而实现单片机与存储器件的有效连接。以单片机片外256KB数据存储空间的扩展为例,通过该扩展方法,仅用10个I/O端口便可实现,与传统的扩展方法相比,可节约8个I/O端口。 Abstract:  As a micro-computer,the SCM internal memory has a certain units(except8031),but because of its internal storage units and the ports are limited,in many cases it can not meet the actual demand.So we introduced a new extension method,the data line and address lines combined through software-controlled approach to realize the time-conversion functions of data lines and address lines,so the data lines not only transmited data signals,but also served as address lines and control lines to transmit address signals and control signals,in order to achieve an effective connection of microcontroller and memory chips.Take microcontroller chip with256KB of data storage space expansion as example,through this extension method,with only10I/O ports it was achieved,compared with the traditional extension methods,this method saves8I/O ports.

    标签: 单片机 P0口 数据存储器 扩展

    上传时间: 2014-12-26

    上传用户:adada

  • 基于MC9S12HZ256的总线式汽车数字仪表设计

    首先研究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.

    标签: 256 MC9 S12 MC

    上传时间: 2013-10-20

    上传用户:huannan88

  • 基于C8051F320的心电监护系统设计

    介绍一种基于C8051单片机的动态心电监护系统。该系统由两部分组成:以C8051F320单片机为核心的数据采集装置和以PC机为平台的分析处理系统。硬件电路功耗低,由单片机自带的USB接口将数据传送给PC机。软件平台采用LabVIEW可视化虚拟仪器系统开发平台,将传统仪器的功能模块集成到计算机中,用户可通过修改虚拟仪器的程序改变其功能。采用USB接口实时传输心电数据,并将数据采集模块设计为计算机外设,使该系统高速快捷、小巧便携。 Abstract:  In this design,a low-cost ECG electrocardiogram monitoring system is introduced,which consists of two parts:data acquisition device based on C8051F320and PC terminal as the analysis and processing system.The system is low-power consumption,the data is transmitted to the PC terminal by USB interface of the C8051F320.By using the visible virtual instrument system developing platform LabVIEW,the traditional instruments function modules are integrated into the computer,so the user can modify virtual instrument software to change its function to meet their needs.Using USB in-terface to realize real-time ECG data transmission,in addition,ECG data acquisition module is designed as the computer peripheral,which makes the syetem high-speed and portable.

    标签: C8051F320 心电监护 系统设计

    上传时间: 2013-11-13

    上传用户:zhangzhenyu

  • 基于C8051F310的山路转弯预防警示系统

    针对盘山路存在的转弯盲区,即在转弯时司机无法得知弯路对面是否有车辆通过,设计一种基于C8051F310的山路转弯预防警示系统。该系统利用一阶滤波算法检测山路转弯时是否有车辆通过。运用该算法可增强系统检测的实时性,提高检测机动车辆的灵敏度,同时大大减少环境温度对检测的干扰。试验表明该系统能够正确指示出在山路转弯时是否有车辆通过,目前该系统已安装在盘山路上,可大大减少事故的发生率。 Abstract:  Aiming at passing hilly road,there is a turn blind spot.Motormen usually do not know if the passing of vehicles pass the road.So a system of defending accident on hilly road is designed,which is based on MCU C8051F310.The sys-tem uses the first-order filter algorithm to detect whether there are passing vehicles.This algorithm enhances the real-time detection and improves the sensitivity of detection vehicles.Meanwhile,it reduces the detection interference of environmen-tal temperature.The experimental results show that this system can exactly indicate if there are passing vehicles.At present,the system has been successfully applied to hilly road.The system can greatly decrease accident.

    标签: C8051F310 转弯

    上传时间: 2013-10-10

    上传用户:归海惜雪

  • 基于ATmega16的标记机控制系统

    介绍了当前普通标记机控制系统现状及其存在缺点,给出气动标记机及相频修正PWM模式的工作原理。采用ATmega16单片机和USB转换RS232接口器件CH341T实现驱动控制系统与PC的实时通讯,标记控制系统可升级到USB接口。采用基于ATmega16的相频修正PWM替换555振荡电路产生的PWM,可直接通过软件调整PWM信号。使用达林顿三极管TIP122替代直流继电器驱动高频电磁阀,使得电磁阀驱动电路简单,成本低廉。该控制系统已成功应用于气动标记机。 Abstract:  In this paper,the actuality and demerit of the common gas marking machine control systems are described.The operation principle of the gas marking machine and the phase and frequency correct PWM of ATmega16is introduced.The real-time communication between the driving control system and PC by CH341T which its function is translated USB to RS232is realized,the control systems is updated grade to USB interface.The PWM signal can be adjustable by software for the555surge circuit was substituted by the phase and frequency.The high frequency electromagnetic value’s driving circuit by DC relay is replaced by TIP122,therefore,the circuit is become simple and the cost cheap.The control systems has been widely used in gas marking machine.

    标签: ATmega 16 标记 控制系统

    上传时间: 2013-10-18

    上传用户:1427796291

  • 基于ATmega48的3相无刷电机的控制方法

    介绍了采用ATmega48单片机实现三相无刷直流电机控制器的方法。利用Atmega48获得带死区的脉宽调制(PWM)、霍尔传感器的换相处理、正弦驱动信号的产生和电机转速的控制等功能。采用该方法的优点是所需的外围器件少,成本低。 Abstract:  The method of 3-phase brushless DC motor control based on ATmega48 is presented in this paper.The system uses ATmega48 to generate PWM signals with dead-time, hall sensors signals commutation,sine driving signal and rotational speed of motor.Using this method,the needed external devices are few, the cost is low.

    标签: ATmega 48 无刷电机 控制方法

    上传时间: 2013-12-09

    上传用户:330402686

  • 基于C8051F020单片机的多路压力测量仪

    介绍了一种基于C8051F020单片机的多路压力测量仪。该测量仪选用电阻应变式压力传感器采集压力信号,并经放大电路处理后送入C8051F020单片机,再由C8051F020单片机内部的A/D转换器将采集到的压力信号进行模数转化,然后分别对数据进行存储和显示。该测量仪能测量6路压力信号,并且各测量点都能单独检测和设置。由于采用了C8051F020单片机,简化了硬件电路,增强了抗干扰能力,使得测量仪具有测量精度高,冲击小等特点。 Abstract:  A measurement apparatus for multi-channel pressure based on single chip microcomputer is introduced.It can measure 6 channels signal of the pressure,and the pressure measure points can be detection and located individually.The pressure signal sampling is obtained by resistor stress-type pressure sensors,the digital signals of 6 channels are collected through amplifying and adjustment circuit of pressure signals and internal integrated A/D converter of MCU.Finally,and it realizes the function to store and display data separately.C8051F020 was used to made hardware circuit simple,and it also enhanced the anti-interference ability.It features high precision and little impact.

    标签: C8051F020 单片机 多路 压力

    上传时间: 2013-11-16

    上传用户:yare

  • 基于MS5534B的微功耗气压数据采集

    气压是气象监测中的一个重要参数,提出了一种气压数据采集模块设计方案,该模块采用数字气压传感器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.

    标签: 5534B 5534 MS 微功耗

    上传时间: 2014-12-27

    上传用户:drink!

  • 基于ATmega48单片机的可调交流电子负载的设计

    介绍一种无极可调交流电子负载设计的新方法,由ATmega48单片机输出PWM波,通过上位机设定不同的占空比控制场效应管的通断时间,即改变流过场效应管的平均电流。根据电流的大小,可以等效为相应的负载,并将采集的电流值显示在上位机上。文中对该系统的软﹑硬件设计思路作了详细的分析,阐述了其设计原理。   Abstract:  A new type electronic load is introduced.Due to ATmega48 microcomputer output PWM wave.The different duty is set ratio through PC to control FET turn-on time.We can equivalent homologous load according the current and display the current at PC.The hardware and software designing are analysed in detail. The principle is explained and the output is also given.

    标签: ATmega 48 单片机 交流电子

    上传时间: 2013-11-23

    上传用户:虫虫虫虫虫虫