为解决电致变色器件的颜色变化受外界环境颜色控制的问题,设计了一种基于单片机的便携式颜色自适应识别电路。与传统颜色识别电路相比较,该电路利用数字式的颜色传感器来获取外界环境颜色,产生的数字颜色信号易于单片机进行处理。在电路中,下位机部分主要负责获取电致变色器件变色参数及控制电致变色器件的颜色变化;而上位机部分主要负责把下位机获取的电致变色器件变色参数进行电压到颜色的曲线拟合,并通过蓝牙通信把拟合曲线参数传递给下位机。结果表明,该电路能自动根据环境颜色提供-4~4 V范围步进为0.1 V的电压来驱动电致变色器件的颜色显示,与传统的颜色识别电路设计相比,识别的精度和速度都得到了明显改善。 Abstract: In this paper, a portable adaptive circuit for color identification(PACCI) based on MCU was designed. Compared to the traditional color identification circuit, the PACCI adopts digital sensor to detect the color data from external environment and further generate digital color data, which can be processed easily by MCU. In PACCI, the slave is mainly responsible for detecting the color parameters of the corresponding elcreochromic device and further driving it. For the master, which is mainly responsible for the color curve fitting based on the parameters of the electrochromic device, and transmits the fitting parameters to the slave through the bluetooth device. The results show that the PACCI can provide the basis voltage range from -4V to 4V automatically based on the colors of external environment with step as 0.1V to drive the corresponding electrochromic device. Compared to the traditional color recognition circuit, the recognition accuracy and speed of PACCI have been improved significantly.
上传时间: 2013-11-09
上传用户:franktu
提出一种基于凌阳单片机的步进电机加减速的控制方法。采用凌阳科技推出的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
详细介绍工控软件组态王与单片机多机串口通讯的设计原理。分析组态王提供的直接与单片机串口通信方法的优点,给出系统基于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
基于幅移键控技术ASK(Amplitude-Shift Keying),以C8051F340单片机作为监测终端控制器,C8051F330D单片机作为探测节点控制器,采用半双工的通信方式,通过监控终端和探测节点的无线收发电路,实现数据的双向无线传输。收发电路采用直径为0.8 mm的漆包线自行绕制成圆形空心线圈天线,天线直径为(3.4±0.3)cm。试验表明,探测节点与监测终端的通信距离为24 cm,通过桥接方式,节点收发功率为102 mW时,节点间的通信距离可达20 cm。与传统无线收发模块相比,该无线收发电路在受体积、功耗、成本限制的场合有广阔的应用前景。 Abstract: Based on ASK technology and with the C8051F340 and C8051F330D MCU as the controller, using half-duplex communication mode, this paper achieves bi-directional data transfer. Transceiver circuit constituted by enameled wire which diameter is 0.8mm and wound into a diameter (3.4±0.3) cm circular hollow coil antenna. Tests show that the communication distance between detection and monitoring of the terminal is 24cm,the distance is up to 20cm between two nodes when using the manner of bridging and the node transceiver power is 102mW. Compared with the conventional wireless transceiver modules, the circuit has wide application prospect in small size, low cost and low power consumption and other characteristics.
上传时间: 2013-10-19
上传用户:xz85592677
随着科学技术的快速发展,超声波将在科学技术中的应用越来越广。本文对超声波传感器测距的可能性进行了理论分析,利用模拟电子、数字电子、微机接口、超声波换能器、以及超声波在介质的传播特性等知识,采用以STC89C52 单片机为核心的低成本、高精度、微型化数字显示超声波测距的硬件电路和软件设计方法在此基础上设计了系统的总体方案,最后通过硬件和软件实现了各个功能模块。为了保证超声波测距传感器的可靠性和稳定性,采取了相应的抗干扰措施。就超声波的传播特性,超声波换能器的工作特性、超声波发射、接收、超声微弱信号放大、波形整形、速度变换、语音提示电路及系统功能软件等做了详细说明.实现障碍物的距离测试、显示和报警,超声波测距范围30CM-300CM,精度在十厘米左右。这套系统软硬件设计合理、抗干扰能力强、实时性良好,经过系统扩展和升级,可以用于倒车雷达、建筑施工工地以及一些工业现场,例如:测量液位、井深、管道长度等场合。可以广泛应用于工业生产、医学检查、日常生活、无人驾驶汽车、自动作业现场的自动引导小车、机器人、液位计等。
上传时间: 2013-11-05
上传用户:lixinxiang
SC9638EP是一款功能完善的CD钟机电路。包括CD播放、收音显示、时钟显示、自动睡眠关机及双闹铃开机等功能。本电路包含CD数字伺服控制、CD信号处理、收音计频显示、数字音频DAC输出,直接驱动LCD,外围简单,成本低廉。
上传时间: 2013-11-05
上传用户:dengzb84
摘要:介绍了由PIC16F876控制的步进电机细分驱动电路的设计,该电路主要包括单片机控制电路、斩波电路、功率驱动电路及温度报警与限流电路等。给出了细分驱动电路的设计原理及其实现的方法,提出细分按照线性加正弦规律的方法输出阶梯电压,经脉宽调制(PWM)输出各相驱动信号,实现细分驱动信号波形。应用于天文望远镜的90BF003步进电机驱动,性能良好。关键词:步进电机;单片机;细分电路
上传时间: 2013-10-31
上传用户:13691535575
摘要:针对气相色谱热导检测器的弱信号失真问题,研究与设计热导检测器的弱信号测量电路及其单片机控制系统,进一步提高气相色谱热导检测系统的灵敏度和可靠性。关键词:热导检测 单片机控制 弱信号测量
上传时间: 2014-12-27
上传用户:stella2015
我公司生产的 USBkey 产品所使用的MCU 电路,自2007 年9 月初USBkey 产品开始量产化后,我们对其部分产品做了电老化试验,发现该款电路早期失效问题达不到我们要求,上电以后一段时间内失效率为千分之一点五左右。为此,我们从去年10 月到今年2 月对所生产的产品(已发出的除外)全部进行了电老化筛选,通过这项工作发现了一些规律性的东西,对提高电子产品的安全可靠性有一定指导意义。2 试验条件的设定造成电路早期失效的原因很多,从 IC 设计到半导体生产工艺、电路封装、焊接装配等生产工序和生产设备、生产材料、生产环境及人为的因素都有可能是成因,作为电路的使用方不可能都顾及到,也不可控。通过分析,我们认为还是着眼于该款电路在完成半导体生产工艺后,在后部加工中所产生的早期失效问题更有针对性。,因此决定从电路的后部加工工序即封装、COS 软件以及产品SMT 加工工艺等方面入手,安排几种比对试验并取得试验数据,以期找出失效原因。
上传时间: 2014-12-28
上传用户:894898248
模/数转换是现代测控电路中非常重要的环节,它有并行和串行两种数据输出形式。目前,模/数转换器ADC已被做成大规模集成电路,并有多种型号和种类可供选择。本文介绍了AD7654的性能特点,并设计了AD7654与单片机ADuC848的接口电路,同时给出了软件流程和相应的汇编源程序。
上传时间: 2014-01-25
上传用户:hanhanj