為了提高傳統(tǒng)溫度控制系統(tǒng)的性能,將PID控制理論與嵌入式系統(tǒng)相結(jié)合,采用瑞薩電子公司的H8S/2166作為核心處理器,AD公司的AD7705以及熱敏電阻溫度傳感器作為溫度檢測(cè)單元,利用4×6小鍵盤、LCD顯示器和S1D13305液晶控制器達(dá)到良好的人機(jī)交互,設(shè)計(jì)出了一個(gè)應(yīng)用于化工領(lǐng)域的嵌入式實(shí)時(shí)溫度控制系統(tǒng)。相比于傳統(tǒng)溫度控制系統(tǒng),該系統(tǒng)提供了更強(qiáng)的計(jì)算能力和可擴(kuò)展能力,采用增量PID控制算法實(shí)現(xiàn)復(fù)雜控制。通過(guò)實(shí)驗(yàn),該系統(tǒng)能達(dá)到0.1 ℃的溫度控制精度以及小于120 s的溫度穩(wěn)定時(shí)間。 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.
標(biāo)簽: 瑞薩電子 微控制器 溫度控制 系統(tǒng)設(shè)計(jì)
上傳時(shí)間: 2014-12-26
上傳用戶:003030
為了使音頻信號(hào)分析儀小巧可靠,成本低廉,設(shè)計(jì)了以2片MSP430F1611單片機(jī)為核心的系統(tǒng)。該系統(tǒng)將音頻信號(hào)送入八階巴特沃茲低通濾波器,對(duì)信號(hào)進(jìn)行限幅放大、衰減、電平位移、緩沖,并利用一單片機(jī)負(fù)責(zé)對(duì)前級(jí)處理后的模擬信號(hào)進(jìn)行采樣,將采集得到的音頻信號(hào)進(jìn)行4 096點(diǎn)基2的FFT計(jì)算,并對(duì)信號(hào)加窗函數(shù)提高分辨率,另一單片機(jī)負(fù)責(zé)對(duì)信號(hào)的分析及控制顯示設(shè)備。此設(shè)計(jì)精確的測(cè)量了音頻信號(hào)的功率譜、周期性、失真度指標(biāo),達(dá)到較高的頻率分辨率,并能將測(cè)量結(jié)果通過(guò)紅外遙控器顯示在液晶屏上。 Abstract: o make the audio signal analyzer cheaper, smaller and more reliable, this system sends the audio signal to the eight-order butterworth filter, and then amplifies, attenuates, buffers it in a limiting range, transfers the voltage level of the signal before utilizing two MSP430F1611 MCU to realize the audio analysis. One is charged for sampling and dealing with the processed audio signal collected by the 4096 point radix-2 FFT calculation and imposes the window function to improve the frequency resolution. The other one controls the display and realizes the spectrum, periodicity, power distortion analysis in high resolution which is displayed in the LCD screen Through the infrared remote control.
上傳時(shí)間: 2013-12-11
上傳用戶:jasonheung
設(shè)計(jì)了一種基于PIC16C71單片機(jī)的數(shù)字水溫配制閥。該配制閥采用NTC熱敏電阻作溫度傳感器,與固定電阻組成簡(jiǎn)單分壓電路作為水溫測(cè)量電路,利用PIC16C71單片機(jī)內(nèi)置的8位A/D轉(zhuǎn)換器把熱敏電阻上的模擬電壓轉(zhuǎn)換為數(shù)字量,PIC16C71單片機(jī)控制直流電機(jī)驅(qū)動(dòng)混水閥調(diào)節(jié)冷熱水的混合比例實(shí)現(xiàn)水溫調(diào)節(jié)。給出了控制電路圖,對(duì)水溫測(cè)量電路的參數(shù)選擇和測(cè)溫精度作了詳細(xì)討論。實(shí)驗(yàn)和分析表明,選用阻值較大的NTC熱敏電阻和分壓電阻可較好地解決熱敏電阻因功耗較大造成的熱擊穿問(wèn)題。 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.
上傳時(shí)間: 2013-11-08
上傳用戶:Yue Zhong
以C8051F020為核心處理器,設(shè)計(jì)無(wú)線傳感器網(wǎng)絡(luò)數(shù)據(jù)采集系統(tǒng)。系統(tǒng)采用SZ05-ADV型無(wú)線通訊模塊組建Zigbee無(wú)線網(wǎng)絡(luò),結(jié)合嵌入式系統(tǒng)的軟硬件技術(shù),完成終端節(jié)點(diǎn)的8路傳感器信號(hào)的數(shù)據(jù)采集。現(xiàn)場(chǎng)8路信號(hào)通過(guò)前端處理后,分別送入C8051F020的12位A/D轉(zhuǎn)換器進(jìn)行轉(zhuǎn)換。經(jīng)過(guò)精確處理、存儲(chǔ)后的現(xiàn)場(chǎng)數(shù)據(jù),通過(guò)Zigbee無(wú)線網(wǎng)絡(luò)傳送到上位機(jī),系統(tǒng)可達(dá)到汽車試驗(yàn)中無(wú)線測(cè)試的目的。 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.
標(biāo)簽: C8051F020 Zigbee 汽車測(cè)試 系統(tǒng)設(shè)計(jì)
上傳時(shí)間: 2013-11-23
上傳用戶:dsgkjgkjg
為提高電容測(cè)量精度,針對(duì)電容式傳感器的工作原理設(shè)計(jì)了基于PIC16LF874單片機(jī)電容測(cè)量模塊。簡(jiǎn)單闡述了電容測(cè)量電路的應(yīng)用背景和國(guó)內(nèi)外研究現(xiàn)狀,介紹了美國(guó)Microchip公司PIC16LF874單片機(jī)的特性。電容式傳感器輸出的動(dòng)態(tài)微弱電容信號(hào)通過(guò)PS021型電容數(shù)字轉(zhuǎn)換器把模擬量數(shù)據(jù)轉(zhuǎn)換成數(shù)字量數(shù)據(jù),所測(cè)數(shù)據(jù)由PIC16LF874單片機(jī)應(yīng)用程序進(jìn)行處理、顯示和保存。實(shí)驗(yàn)結(jié)果表明,固定電容標(biāo)稱值為10~20 pF 的測(cè)量值相對(duì)誤差在1%以內(nèi),同時(shí)也可知被測(cè)電容容值越大,測(cè)量值和標(biāo)稱值相對(duì)誤差越小。 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.
上傳時(shí)間: 2013-10-29
上傳用戶:wojiaohs
以太網(wǎng)和CAN總線應(yīng)用廣泛,但由于其通信協(xié)議不同,兩種總線器件間無(wú)法進(jìn)行數(shù)據(jù)通信,因此,設(shè)計(jì)了基于CP2200與C8051F040的以太網(wǎng)總線與CAN總線接口轉(zhuǎn)換電路,并給出部分相關(guān)硬件電路與軟件設(shè)計(jì)分析。在保證數(shù)據(jù)完整和協(xié)議可靠的前提下,通過(guò)握手協(xié)議和簡(jiǎn)化的以太網(wǎng)協(xié)議,不僅實(shí)現(xiàn)了以太網(wǎng)數(shù)據(jù)與CAN數(shù)據(jù)的轉(zhuǎn)發(fā),同時(shí)還順利的解決了以太網(wǎng)的高速性與CAN的低速率沖突,以及兩者數(shù)據(jù)包之間的大小不同的矛盾。 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.
標(biāo)簽: C8051F040 CAN 以太網(wǎng) 轉(zhuǎn)換
上傳時(shí)間: 2013-10-15
上傳用戶:Ants
單片機(jī)作為一種微型計(jì)算機(jī),其內(nèi)部具有一定的存儲(chǔ)單元(8031除外),但由于其內(nèi)部存儲(chǔ)單元及端口有限,很多情況下難以滿足實(shí)際需求。為此介紹一種新的擴(kuò)展方法,將數(shù)據(jù)線與地址線合并使用,通過(guò)軟件控制的方法實(shí)現(xiàn)數(shù)據(jù)線與地址線功能的分時(shí)轉(zhuǎn)換,數(shù)據(jù)線不僅用于傳送數(shù)據(jù)信號(hào),還可作為地址線、控制線,用于傳送地址信號(hào)和控制信號(hào),從而實(shí)現(xiàn)單片機(jī)與存儲(chǔ)器件的有效連接。以單片機(jī)片外256KB數(shù)據(jù)存儲(chǔ)空間的擴(kuò)展為例,通過(guò)該擴(kuò)展方法,僅用10個(gè)I/O端口便可實(shí)現(xiàn),與傳統(tǒng)的擴(kuò)展方法相比,可節(jié)約8個(gè)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.
標(biāo)簽: 單片機(jī) P0口 數(shù)據(jù)存儲(chǔ)器 擴(kuò)展
上傳時(shí)間: 2014-12-26
上傳用戶:adada
在深入了解Flash存儲(chǔ)器的基礎(chǔ)上,采用單片機(jī)自動(dòng)檢測(cè)存儲(chǔ)器無(wú)效塊。主要通過(guò)讀取每一塊的第1、第2頁(yè)內(nèi)容,判斷該塊的好壞,并給出具體的實(shí)現(xiàn)過(guò)程,以及部分關(guān)鍵的電路原理圖和C語(yǔ)言程序代碼。該設(shè)計(jì)最終實(shí)現(xiàn)單片機(jī)自動(dòng)檢測(cè)Flash壞塊的功能,并通過(guò)讀取ID號(hào)檢測(cè)Flash的性能,同時(shí)該設(shè)計(jì)能夠存儲(chǔ)和讀取1GB數(shù)據(jù)。 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
標(biāo)簽: Flash 單片機(jī) 存儲(chǔ)器 自動(dòng)檢測(cè)
上傳時(shí)間: 2013-10-25
上傳用戶:taozhihua1314
詳細(xì)介紹工控軟件組態(tài)王與單片機(jī)多機(jī)串口通訊的設(shè)計(jì)原理。分析組態(tài)王提供的直接與單片機(jī)串口通信方法的優(yōu)點(diǎn),給出系統(tǒng)基于RS-485總線傳輸?shù)慕涌陔娐吩韴D。根據(jù)組態(tài)王提供的通訊協(xié)議和單片機(jī)多機(jī)串口通訊的原理,給出程序設(shè)計(jì)流程與思路。 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.
標(biāo)簽: 工控軟件 單片機(jī) 串口通訊 多機(jī)
上傳時(shí)間: 2013-12-19
上傳用戶:tecman
介紹一種以Atmel公司的Attiny13為處理器的投影儀防盜器設(shè)計(jì)方案。該防盜器具有功耗低,功能完整,防盜效果良好等特點(diǎn),除具有報(bào)警功能外,防盜器還具有以無(wú)線方式向主機(jī)發(fā)送報(bào)警信號(hào)的功能。采用315MHz發(fā)射模塊實(shí)現(xiàn)無(wú)線信號(hào)發(fā)送。該投影儀防盜器可適應(yīng)眾多廠家生產(chǎn)的防盜器主機(jī)。 Abstract: This paper introduces the design scheme of overhead projector's anti-theft device which users ATMEL company’s Attiny13as processor.This anti-theft device features low powerloss,functional integrity,good effect of anti-theft.In addition to its own with alarm functions,the anti-theft device also has alarm function which can send alarm signal to the host Through wireless way.It sends wireless signal using315MHz transmitting module,so this overhead projector’s anti-theft device is adapted to anti-theft device host produced by many manufacturers.
上傳時(shí)間: 2013-11-02
上傳用戶:ysystc699
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1