提出了一種以S3C2440A為核心處理器的銀行評價器的設(shè)計方案,并結(jié)合XILINX公司的XL95144XL型CPLD,輔助S3C2440A,實現(xiàn)該銀行評價器的各部分功能以及系統(tǒng)信號之間的相互協(xié)調(diào)。該評價器在系統(tǒng)設(shè)計上采用液晶屏顯示,代替了以往簡單的數(shù)碼管電路的顯示模式,在視覺上給人以全新的享受。同時,評價器增加了新的網(wǎng)絡(luò)供電方式,只要將評價器連接上網(wǎng)絡(luò)就可以正常工作,方便了客戶的使用。總之,此款銀行評價器采用了嵌入式系統(tǒng)的設(shè)計方案,大大豐富了系統(tǒng)功能,實現(xiàn)一個銀行評價器設(shè)計的新突破。
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.
為提高電容測量精度,針對電容式傳感器的工作原理設(shè)計了基于PIC16LF874單片機電容測量模塊。簡單闡述了電容測量電路的應(yīng)用背景和國內(nèi)外研究現(xiàn)狀,介紹了美國Microchip公司PIC16LF874單片機的特性。電容式傳感器輸出的動態(tài)微弱電容信號通過PS021型電容數(shù)字轉(zhuǎn)換器把模擬量數(shù)據(jù)轉(zhuǎn)換成數(shù)字量數(shù)據(jù),所測數(shù)據(jù)由PIC16LF874單片機應(yīng)用程序進(jìn)行處理、顯示和保存。實驗結(jié)果表明,固定電容標(biāo)稱值為10~20 pF 的測量值相對誤差在1%以內(nèi),同時也可知被測電容容值越大,測量值和標(biāo)稱值相對誤差越小。
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.
生活中許多目標(biāo)的高度和水平距離需要進(jìn)行測量。目前主要的測量方法,仍以傳統(tǒng)的皮尺丈量為主,測量效率不高,有時還很不方便,沒有技術(shù)成熟的數(shù)字式測高測距產(chǎn)品。以基本的數(shù)學(xué)方法為理論依據(jù),利用遙控小車做為載體,采用角度傳感器測量角度、霍爾傳感器測量水平距離等,通過單片機LM3S615進(jìn)行數(shù)據(jù)計算,實現(xiàn)了對待測目標(biāo)物體的高度、水平距離等數(shù)據(jù)的快速、精確和數(shù)字式的測量,高度測量精度可達(dá)99.06%,水平測量精度則可達(dá)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%.
以太網(wǎng)和CAN總線應(yīng)用廣泛,但由于其通信協(xié)議不同,兩種總線器件間無法進(jìn)行數(shù)據(jù)通信,因此,設(shè)計了基于CP2200與C8051F040的以太網(wǎng)總線與CAN總線接口轉(zhuǎn)換電路,并給出部分相關(guān)硬件電路與軟件設(shè)計分析。在保證數(shù)據(jù)完整和協(xié)議可靠的前提下,通過握手協(xié)議和簡化的以太網(wǎng)協(xié)議,不僅實現(xiàn)了以太網(wǎng)數(shù)據(jù)與CAN數(shù)據(jù)的轉(zhuǎn)發(fā),同時還順利的解決了以太網(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.
提出一種基于凌陽單片機的步進(jìn)電機加減速的控制方法。采用凌陽科技推出的16位結(jié)構(gòu)工控單片機SPMC75F2413A為控制器,由Allegro公司生產(chǎn)的兩相步進(jìn)電機專用驅(qū)動器件SLA7042M構(gòu)成步進(jìn)電機的驅(qū)動電路,在傳統(tǒng)的3段直線加減速控制算法基礎(chǔ)上增加至7段S形曲線加減速過程,控制步進(jìn)電機的啟動和停止。實驗結(jié)果表明,該控制方法克服了直線加減速中不連續(xù)、易造成系統(tǒng)沖擊的問題,整個系統(tǒng)實現(xiàn)柔性控制,電機啟動、停止連續(xù)性能提高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%
單片機作為一種微型計算機,其內(nèi)部具有一定的存儲單元(8031除外),但由于其內(nèi)部存儲單元及端口有限,很多情況下難以滿足實際需求。為此介紹一種新的擴(kuò)展方法,將數(shù)據(jù)線與地址線合并使用,通過軟件控制的方法實現(xiàn)數(shù)據(jù)線與地址線功能的分時轉(zhuǎn)換,數(shù)據(jù)線不僅用于傳送數(shù)據(jù)信號,還可作為地址線、控制線,用于傳送地址信號和控制信號,從而實現(xiàn)單片機與存儲器件的有效連接。以單片機片外256KB數(shù)據(jù)存儲空間的擴(kuò)展為例,通過該擴(kuò)展方法,僅用10個I/O端口便可實現(xiàn),與傳統(tǒng)的擴(kuò)展方法相比,可節(jié)約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.
在深入了解Flash存儲器的基礎(chǔ)上,采用單片機自動檢測存儲器無效塊。主要通過讀取每一塊的第1、第2頁內(nèi)容,判斷該塊的好壞,并給出具體的實現(xiàn)過程,以及部分關(guān)鍵的電路原理圖和C語言程序代碼。該設(shè)計最終實現(xiàn)單片機自動檢測Flash壞塊的功能,并通過讀取ID號檢測Flash的性能,同時該設(shè)計能夠存儲和讀取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
為提高太陽能的利用率,以ATmega8單片機為控制核心,設(shè)計了一套光電跟蹤與視日運動軌跡跟蹤互補控制的雙軸太陽跟蹤器。該跟蹤器在晴天時,利用光敏電阻采集光強判斷太陽位置,控制步進(jìn)電機實現(xiàn)光電跟蹤;在陰天時,采集時鐘器件PCF8583的時間信息,計算當(dāng)前太陽位置來實現(xiàn)視日運動軌跡跟蹤。實驗表明:該太陽跟蹤器能在不同天氣狀況下對太陽進(jìn)行較準(zhǔn)確地跟蹤,能量接收效率提高了30%,達(dá)到充分利用太陽能的目的。
Abstract:
To improve the utilization rate of solar energy,a kind of solar tracking controller which effectively combined the sun angle tracking and photo electric tracking based on ATmega8is designed.In the sunny days,the solar tracking con-troller determines the sun's position by using photosensitive resistances to collect light intensity and control stepper motors to achieve photo electric tracking,n cloudy days,it collects clock chip PCF8583time information to calculate the current position of the sun and achieve the sun angle tracking.Experimental results show the solar tracking controller accurately tracks the sun in different weather conditions,improves received energy efficiency by30%and reaches the purpose of full use of solar energy.
設(shè)計一種基于ATmega16L單片機的溫度控制系統(tǒng),闡述該系統(tǒng)的軟硬件設(shè)計方案。采用模塊化設(shè)計方法,利用增量式PID算法使被控對象的溫度值趨于給定值。實驗結(jié)果表明該系統(tǒng)具有良好的檢測和控制功能。 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
為提高溫度測量效率,降低系統(tǒng)的成本,擴(kuò)展傳輸距離,設(shè)計出一種新型溫度采集系統(tǒng)。單片機通過控制具有單總線方式的溫度傳感器DS18B20實現(xiàn)對溫度的測量,同時單片機通過控制具有單總線方式300~450MHz頻率范圍內(nèi)的MAX7044與MAX7033無線發(fā)射與接收芯片實現(xiàn)溫度數(shù)據(jù)的無線傳輸。與傳統(tǒng)溫度采集系統(tǒng)相比,該系統(tǒng)利用單總線方式連接,采用無線傳輸方式實現(xiàn)遠(yuǎn)距離通信,易于系統(tǒng)的集成與擴(kuò)展。實驗結(jié)果表明,該系統(tǒng)結(jié)構(gòu)簡單、方便移植,能夠同時實現(xiàn)多達(dá)上百點溫度的測量與500m范圍的傳輸。
Abstract:
To improve the temperature measurement efficiency and reduce system cost,expansion of transmission distance,a new type of temperature acquisition system is designed.Microcontroller controlled temperature sensor DS18B20which has a single-bus achieves temperature measurement,while microcontroller by controlled the MAX7044and MAX7033chip with a single-bus and having300~450MHz radiofrequency to achieve the wireless transmission of temperature data.Compared with conventional temperature acquisition system,the system uses single-bus connected,and uses wireless transmission means to achieve long-distance communications,easy-to-system integration and expansion.The experimental results show that the system is simple,convenient transplantation,and can be implemented in as many as a hundred-point temperature measure-ment and the transmission range of500meters.