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

On-the-Go

  • 基于PIC16C71的数字水温配制阀的设计

      设计了一种基于PIC16C71单片机的数字水温配制阀。该配制阀采用NTC热敏电阻作温度传感器,与固定电阻组成简单分压电路作为水温测量电路,利用PIC16C71单片机内置的8位A/D转换器把热敏电阻上的模拟电压转换为数字量,PIC16C71单片机控制直流电机驱动混水阀调节冷热水的混合比例实现水温调节。给出了控制电路图,对水温测量电路的参数选择和测温精度作了详细讨论。实验和分析表明,选用阻值较大的NTC热敏电阻和分压电阻可较好地解决热敏电阻因功耗较大造成的热击穿问题。   Abstract:   A digital valve for controlling water temperature based on PIC16C71 was presented in this paper.A bleeder circuit which consisted of a NTC thermistor as temperature sensor and a fixed resistance was designed as water temperature measuring circuit.The analog voltage on the thermistor was converted into digital signal by a 8-bit A/D converter embedded in PIC16C71. Based on the digital signal, the MCU PIC16C71 drived the valve by a DC motor to adjust the water temperature through adjusting the proportion of hot water and cold water.The circuit diagram of controller was given,the principle,the component parameters and the accuracy of measuring temperatures were also dissertated in detail. It was found by experiment and analysis that thermal breakdown of thermistor caused by high power could be solved by selecting thermistor and fixed resistance with high impedance value.

    标签: PIC 16C C71 16

    上传时间: 2013-11-08

    上传用户:Yue Zhong

  • 通用1553B总线的信息监控系统

    在航电系统维护过程中,为解决定位故障的效率和降低维修成本等问题,提出了基于ICD(Interface Control Document,接口控制文件)的1553B总线的信息监控系统模型。该系统运用数据采集卡对总线中传输的信号有无失真、偏差等电气特性进行检测,并使用1553B通讯卡通过测控软件LabWindows/CVI编程与ICD数据库的动态链接,实现总线信息的解析和故障的判断。与传统的维护过程相比,这种模型能够从信号的电气特性以及信息的解析等全方位的去检测判断故障的来源,并且能够广泛在其他1553B总线系统内扩展应用。验证表明该监控系统可以对总线信息进行快速有效地监测分析,能满足应用需求。 Abstract:  In the process of avionics system maintenance, to solve the problems such as improving the efficiency of fast orientation to troubles and reducing maintenance cost, system of 1553B bus information monitor model based on ICD was proposed. The system observed whether the data which transmitted on the bus appear distortion and deviation by using data acquisition card. And using 1553B communication card programming of the measure software LabWindows/CVI and the dynamic linking of ICD database, message analysis and fault estimation could be realized. Compared with traditional maintenance, this model can all-dimensionally detect and analyze the source of faults from both electrical characteristics of the signal and message analysis, and it can be widely applied in the other 1553B system. Experiment shown that this monitor system can effectively detect and analyze the bus message and can meet the application requirements.  

    标签: 1553B 总线 信息监控

    上传时间: 2013-11-23

    上传用户:18752787361

  • 基于PIC16LF874单片机的电容测量模块

    为提高电容测量精度,针对电容式传感器的工作原理设计了基于PIC16LF874单片机电容测量模块。简单阐述了电容测量电路的应用背景和国内外研究现状,介绍了美国Microchip公司PIC16LF874单片机的特性。电容式传感器输出的动态微弱电容信号通过PS021型电容数字转换器把模拟量数据转换成数字量数据,所测数据由PIC16LF874单片机应用程序进行处理、显示和保存。实验结果表明,固定电容标称值为10~20 pF 的测量值相对误差在1%以内,同时也可知被测电容容值越大,测量值和标称值相对误差越小。 Abstract:  To improve the accuracy of capacitance measurement,aimed at the principle of work of mercury capacitance acceleration transducer,the design of micro capacitance measurement circuit is based on the key PIC16LF874 chip. Briefly discusses the application of the capacitance measuring circuit for the background and status of foreign researchers,focusing on the United States PIC16LF874 microcontroller features. Capacitive sensor outputed signal through the dynamics of weak PS021-chip capacitors (capacitancedigital converter) to convert analog data into digital data,the measured data from the PIC16LF874 microcontroller application process, display and preservation. Experimental results show that the fixed capacitor 10pF ~ 20pF nominal value of the measured value of relative error is within 1%,but also it canbe seen the value of the measured capacitance larger,measuring value and the nominal value of relative error smaller.

    标签: PIC 874 16 LF

    上传时间: 2013-10-29

    上传用户:wojiaohs

  • 基于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

  • 基于C8051F040的以太网-CAN转换电路设计

    以太网和CAN总线应用广泛,但由于其通信协议不同,两种总线器件间无法进行数据通信,因此,设计了基于CP2200与C8051F040的以太网总线与CAN总线接口转换电路,并给出部分相关硬件电路与软件设计分析。在保证数据完整和协议可靠的前提下,通过握手协议和简化的以太网协议,不仅实现了以太网数据与CAN数据的转发,同时还顺利的解决了以太网的高速性与CAN的低速率冲突,以及两者数据包之间的大小不同的矛盾。 Abstract:  In the development of actual application, Ethernet and CAN bus are used very extensively. Owing to its various communication protocols, the communicating between two kinds of bus device can’t be carried out. Therefore, in order to solve this problem, the Ethernet-CAN bus interface circuit based on CP2200 and C8051F040 was designed in this paper, and part of the related hardware circuit and software design analysis were given. On the condition of data’s integrity and protocols’reliability, through the handshaking protocols and the simplified the Ethernet protocol, not only the data switching between CAN and Ethernet was realized, but also the differ in velocity and packet size was solved.

    标签: C8051F040 CAN 以太网 转换

    上传时间: 2013-10-15

    上传用户:Ants

  • 基于凌阳单片机的步进电机加减速的控制方法

    提出一种基于凌阳单片机的步进电机加减速的控制方法。采用凌阳科技推出的16位结构工控单片机SPMC75F2413A为控制器,由Allegro公司生产的两相步进电机专用驱动器件SLA7042M构成步进电机的驱动电路,在传统的3段直线加减速控制算法基础上增加至7段S形曲线加减速过程,控制步进电机的启动和停止。实验结果表明,该控制方法克服了直线加减速中不连续、易造成系统冲击的问题,整个系统实现柔性控制,电机启动、停止连续性能提高30%。 Abstract:  The method of controlled stepping motor is referred based on SPMC75F2413A MCU, which adopts the 16 knots SPMC75F2413A MCU as the controller. The special-purpose actuation chip SLA7042M of two stepping motor produced by Allegro Corporation constituted to actuation electric circuit. The purpose of increasing to seven section of S shape curve based on the traditional three sections of straight line is to control the start and stop process of stepping motor. The experimental results show that the control method solves easy to pull-out and overshot problems. The overall system realizes flexible control, and the performance of motor start or stop continuity is increased 30%

    标签: 凌阳单片机 步进电机 控制方法

    上传时间: 2013-12-08

    上传用户:jiangfire

  • 单片机Flash存储器坏块自动检测

    在深入了解Flash存储器的基础上,采用单片机自动检测存储器无效块。主要通过读取每一块的第1、第2页内容,判断该块的好坏,并给出具体的实现过程,以及部分关键的电路原理图和C语言程序代码。该设计最终实现单片机自动检测Flash坏块的功能,并通过读取ID号检测Flash的性能,同时该设计能够存储和读取1GB数据。 Abstract:  On the basis of in-depth understanding the Flash chips,this paper designs a new program which using the SCM to detect the invalid block.Mainly through reading the data of the first and second page to detect the invalid block.Specific implementation procedure was given,and the key circuit schematic diagram and C language program code was introduced.This design achieved the function of using the MCU checks the invalid block finally,and increased the function by reading the ID number of Flash to get the performance of the memory.And the design also can write and read1GB data

    标签: Flash 单片机 存储器 自动检测

    上传时间: 2013-10-25

    上传用户:taozhihua1314

  • 工控软件组态王与单片机多机串口通讯的设计

    详细介绍工控软件组态王与单片机多机串口通讯的设计原理。分析组态王提供的直接与单片机串口通信方法的优点,给出系统基于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总线与KH-9300的数据采集系统

    介绍基于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.

    标签: 9300 ISA KH 总线

    上传时间: 2013-11-14

    上传用户:qq527891923

  • 基于ATmega16的简易示波器设计

    介绍了以AVR单片机ATmega16为核心,采用前端信号调理电路、程控增益放大器以及波形显示LCD(GDM12864A)实现的一个简易示波器。并给出该系统设计的硬件和软件设计方案。 Abstract:  Abstract:This paper introduces an easy digital storage oscilloscope based on the AVR microcontroller ATmega16,especially emphasizes on the software design and the hardware design which contains signal processing circuit,gain-programmed amplifier circuit and LCD’s interface circuit and so on.

    标签: ATmega 16 简易示波器

    上传时间: 2013-10-13

    上传用户:ccccccc