为解决电致变色器件的颜色变化受外界环境颜色控制的问题,设计了一种基于单片机的便携式颜色自适应识别电路。与传统颜色识别电路相比较,该电路利用数字式的颜色传感器来获取外界环境颜色,产生的数字颜色信号易于单片机进行处理。在电路中,下位机部分主要负责获取电致变色器件变色参数及控制电致变色器件的颜色变化;而上位机部分主要负责把下位机获取的电致变色器件变色参数进行电压到颜色的曲线拟合,并通过蓝牙通信把拟合曲线参数传递给下位机。结果表明,该电路能自动根据环境颜色提供-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
为了提高传统温度控制系统的性能,将PID控制理论与嵌入式系统相结合,采用瑞萨电子公司的H8S/2166作为核心处理器,AD公司的AD7705以及热敏电阻温度传感器作为温度检测单元,利用4×6小键盘、LCD显示器和S1D13305液晶控制器达到良好的人机交互,设计出了一个应用于化工领域的嵌入式实时温度控制系统。相比于传统温度控制系统,该系统提供了更强的计算能力和可扩展能力,采用增量PID控制算法实现复杂控制。通过实验,该系统能达到0.1 ℃的温度控制精度以及小于120 s的温度稳定时间。 Abstract: In order to improve the performance of conventional temperature control system, combining PID control theory with embedded systems, using the Renesas Electronics Corp. H8S/2166 micro-controller as a core processors, AD7705 and thermistor temperature sensor as a temperature detection unit and 4×6 small keyboard, LCD and S1D13305 LCD controller as a good human-computer interaction, this paper designed an embedded real-time temperature control system which is applied in chemical industry. Compared with conventional temperature control system, this system provides more computing power and extensibility, and adopts PID control algorithm for complex control. Through the experiment, the system can reach temperature control accuracy of 0.1 ℃ and temperature stabilization time of less than 120 seconds.
上传时间: 2014-12-26
上传用户:003030
设计了一种基于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.
上传时间: 2013-11-08
上传用户:Yue Zhong
针对目前使用的RS232接口数字化B超键盘存在PC主机启动时不能设置BIOS,提出一种PS2键盘的设计方法。基于W78E052D单片机,采用8通道串行A/D转换器设计了8个TGC电位器信息采集电路,电位器位置信息以键盘扫描码序列形式发送,正交编码器信号通过XC9536XL转换为单片机可接收的中断信号,软件接收到中断信息后等效处理成按键。结果表明,在满足开机可设置BIOS同时,又可实现超声特有功能,不需要专门设计驱动程序,接口简单,成本低。 Abstract: Aiming at the problem of the digital ultrasonic diagnostic imaging system keyboard with RS232 interface currently used couldn?蒺t set the BIOS when the PC boot, this paper proposed a design method of PS2 keyboards. Based on W78E052D microcontroller,designed eight TGC potentiometers information acquisition circuit with 8-channel serial A/D converter, potentiometer position information sent out with keyboard scan code sequentially.The control circuit based on XC9536 CPLD is used for converting the mechanical actions of the encoders into the signals that can be identified by the MCU, software received interrupt information and equivalently treatmented as key. The results show that the BIOS can be set to meet the boot, ultrasound specific functionality can be achieved at the same time, it does not require specially designed driver,the interface is simple and low cost.
上传时间: 2013-10-10
上传用户:asdfasdfd
以C8051F020为核心处理器,设计无线传感器网络数据采集系统。系统采用SZ05-ADV型无线通讯模块组建Zigbee无线网络,结合嵌入式系统的软硬件技术,完成终端节点的8路传感器信号的数据采集。现场8路信号通过前端处理后,分别送入C8051F020的12位A/D转换器进行转换。经过精确处理、存储后的现场数据,通过Zigbee无线网络传送到上位机,系统可达到汽车试验中无线测试的目的。 Abstract: This paper designs a wireless sensor network system for data acquisition with C8051F020 as core processors.The system used SZ05-ADV wireless communication module,set up a Zigbee wireless network, combined with hardware and software technologies of embedded systems,completed the end-node 8-locale sensor signal data acquisition.Eight locale signals were sent separately into the 12-bit ADC of C8051F020 for conversion through front treatment.After accurate processing and storage,the locale data was transmitted to the host computer through Zigbee wireless.The system achieves the purpose of wireless testing in vehicle trial.
标签: C8051F020 Zigbee 汽车测试 系统设计
上传时间: 2013-11-23
上传用户:dsgkjgkjg
提出了一种以S3C2440A为核心处理器的银行评价器的设计方案,并结合XILINX公司的XL95144XL型CPLD,辅助S3C2440A,实现该银行评价器的各部分功能以及系统信号之间的相互协调。该评价器在系统设计上采用液晶屏显示,代替了以往简单的数码管电路的显示模式,在视觉上给人以全新的享受。同时,评价器增加了新的网络供电方式,只要将评价器连接上网络就可以正常工作,方便了客户的使用。总之,此款银行评价器采用了嵌入式系统的设计方案,大大丰富了系统功能,实现一个银行评价器设计的新突破。 Abstract: S3C2440A of SamSung company is the core component of the embedded system. A design of bank assessor based on S3C2440A was provided in this paper. It used XL95144XL combined with S3C2440A to realize all the functions and coordination with system signals. This bank assessor used LCD to display instead of the former simple digital display and provided a new seusuous enjoment. Meanwhile,it provided a new method of network power supply,that the bank assessor could regularly work once it connected to the network,which is convenient for customers to use. In a word,this assessor takes embedded system,enriches the system’s functions and reclizes a new breakout.
标签: S3C2440A
上传时间: 2013-11-03
上传用户:taa123456
生活中许多目标的高度和水平距离需要进行测量。目前主要的测量方法,仍以传统的皮尺丈量为主,测量效率不高,有时还很不方便,没有技术成熟的数字式测高测距产品。以基本的数学方法为理论依据,利用遥控小车做为载体,采用角度传感器测量角度、霍尔传感器测量水平距离等,通过单片机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%.
上传时间: 2013-10-30
上传用户:jackandlee
以太网和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.
上传时间: 2013-10-15
上传用户:Ants
在深入了解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
上传时间: 2013-10-25
上传用户:taozhihua1314
设计一种基于ATmega16L单片机的温度控制系统,阐述该系统的软硬件设计方案。采用模块化设计方法,利用增量式PID算法使被控对象的温度值趋于给定值。实验结果表明该系统具有良好的检测和控制功能。 Abstract: This paper designs a temperature control system based on ATmega16L,describes the hardware and software de-sign scheme of the system,adopts the modularized design method and utilizes the incremental PID algorithm to realize the temperature of controlled device incline to the given value.The experiment result indicates that the system has good detec-tion and control function
上传时间: 2013-10-09
上传用户:stvnash