提出一種基于凌陽單片機(jī)的步進(jìn)電機(jī)加減速的控制方法。采用凌陽科技推出的16位結(jié)構(gòu)工控單片機(jī)SPMC75F2413A為控制器,由Allegro公司生產(chǎn)的兩相步進(jìn)電機(jī)專用驅(qū)動(dòng)器件SLA7042M構(gòu)成步進(jìn)電機(jī)的驅(qū)動(dòng)電路,在傳統(tǒng)的3段直線加減速控制算法基礎(chǔ)上增加至7段S形曲線加減速過程,控制步進(jìn)電機(jī)的啟動(dòng)和停止。實(shí)驗(yàn)結(jié)果表明,該控制方法克服了直線加減速中不連續(xù)、易造成系統(tǒng)沖擊的問題,整個(gè)系統(tǒng)實(shí)現(xiàn)柔性控制,電機(jī)啟動(dòng)、停止連續(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%
標(biāo)簽: 凌陽單片機(jī) 步進(jìn)電機(jī) 減 控制方法
上傳時(shí)間: 2013-12-08
上傳用戶:jiangfire
為提高太陽能的利用率,以ATmega8單片機(jī)為控制核心,設(shè)計(jì)了一套光電跟蹤與視日運(yùn)動(dòng)軌跡跟蹤互補(bǔ)控制的雙軸太陽跟蹤器。該跟蹤器在晴天時(shí),利用光敏電阻采集光強(qiáng)判斷太陽位置,控制步進(jìn)電機(jī)實(shí)現(xiàn)光電跟蹤;在陰天時(shí),采集時(shí)鐘器件PCF8583的時(shí)間信息,計(jì)算當(dāng)前太陽位置來實(shí)現(xiàn)視日運(yùn)動(dòng)軌跡跟蹤。實(shí)驗(yàn)表明:該太陽跟蹤器能在不同天氣狀況下對(duì)太陽進(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í)間: 2013-10-15
上傳用戶:urgdil
詳細(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
數(shù)字信號(hào)處理器dsPIC33F集多通道高精度A/D轉(zhuǎn)換、多通訊模式、看門狗、CMOS Flash技術(shù)等于一體,其內(nèi)部可完成所有數(shù)據(jù)操作,實(shí)現(xiàn)總線不出芯片技術(shù)。將該處理器應(yīng)用于微機(jī)保護(hù)裝置,提出基于dsPIC33F微處理器的微機(jī)保護(hù)裝置的設(shè)計(jì)方案,給出相應(yīng)的接口電路與軟件流程。該設(shè)計(jì)方案結(jié)構(gòu)簡(jiǎn)單,性價(jià)比及可靠性高,開發(fā)周期短,具有一定的實(shí)用推廣價(jià)值。所研制的微機(jī)保護(hù)裝置現(xiàn)場(chǎng)運(yùn)行效果良好。 Abstract: The dsPIC33F microprocessor has a plentiful interior resource which contains multi-channel,high precision A/D converters,multi-communication module,watchdog,CMOS Flash technology,and so on.All data manipulations is accomplished interiorly.What is more,it makes the technology that bus does not go beyond the chip comes into practice.The paper put forwards a design scheme based on dsPIC33F microprocessor.The scheme has the advantages of simple structure,high reliability and shortened exploitation cycle.What is more,it has definite practicality and reference.The microcomputer protection device has been put into operation with excellent effects.
上傳時(shí)間: 2013-11-16
上傳用戶:開懷常笑
以89S52單片機(jī)和EP1C6Q240C8型FPGA為控制核心的多功能計(jì)數(shù)器,是由峰值檢波、A/D轉(zhuǎn)換、程控放大、比較整形、移相網(wǎng)絡(luò)部分組成,可實(shí)現(xiàn)測(cè)量正弦信號(hào)的頻率、周期和相位差的功能。多功能計(jì)數(shù)器采用等精度的測(cè)量方法,可實(shí)現(xiàn)頻率為1Hz~10MHz、幅度為0.01~5Vrms的正弦信號(hào)的精確測(cè)頻,以及頻率為10Hz~100kHz、幅度為0.5~5Vrms的正弦信號(hào)精確測(cè)相。液晶顯示器能夠?qū)崟r(shí)顯示當(dāng)前信號(hào)的頻率、周期和相位差。該多功能計(jì)數(shù)器精度高,界面友好,實(shí)用性強(qiáng)。 Abstract: A multi-function counter,which uses89S52MCU and EP1C6Q240C8FPGA as a control core,consists of peak detector,A/D conversion,program-controlled amplification,compared shaping and phase-shifting network part.The counter measures the frequency,period and phase of sinusoidal signal.With the equal precision method,the multi-function counter achieves the precise frequency measurement of the sinusoidal signal which its frequency is from1Hz to10MHz,its amplitude is from0.01Vrms to5Vrms,as well as the accurate phase measurement of the sinusoidal signal which its frequency is from10Hz to100kHz,its amplitude is from0.5Vrms to5Vrms.The LCD monitor real-time displays the frequency,period and phase difference of current signal.The multi-function counter features high precision,friendly interface,and strong practical.
標(biāo)簽: FPGA 單片機(jī) 多功能 計(jì)數(shù)器
上傳時(shí)間: 2013-11-15
上傳用戶:gy592333
介紹了一種基于C8051F020單片機(jī)的多路壓力測(cè)量?jī)x。該測(cè)量?jī)x選用電阻應(yīng)變式壓力傳感器采集壓力信號(hào),并經(jīng)放大電路處理后送入C8051F020單片機(jī),再由C8051F020單片機(jī)內(nèi)部的A/D轉(zhuǎn)換器將采集到的壓力信號(hào)進(jìn)行模數(shù)轉(zhuǎn)化,然后分別對(duì)數(shù)據(jù)進(jìn)行存儲(chǔ)和顯示。該測(cè)量?jī)x能測(cè)量6路壓力信號(hào),并且各測(cè)量點(diǎn)都能單獨(dú)檢測(cè)和設(shè)置。由于采用了C8051F020單片機(jī),簡(jiǎn)化了硬件電路,增強(qiáng)了抗干擾能力,使得測(cè)量?jī)x具有測(cè)量精度高,沖擊小等特點(diǎn)。 Abstract: A measurement apparatus for multi-channel pressure based on single chip microcomputer is introduced.It can measure 6 channels signal of the pressure,and the pressure measure points can be detection and located individually.The pressure signal sampling is obtained by resistor stress-type pressure sensors,the digital signals of 6 channels are collected through amplifying and adjustment circuit of pressure signals and internal integrated A/D converter of MCU.Finally,and it realizes the function to store and display data separately.C8051F020 was used to made hardware circuit simple,and it also enhanced the anti-interference ability.It features high precision and little impact.
標(biāo)簽: C8051F020 單片機(jī) 多路 壓力
上傳時(shí)間: 2013-11-16
上傳用戶:yare
量測(cè)/測(cè)試所面臨之問題 此測(cè)試驗(yàn)證上,要使用NI公司之LAB VIEW及DAQ CARD來取代AUDIO PRECISION及其所附軟體ATS。首先需克服硬體解析度上的差異,再來是FFT(FAST FOURIER TRANSFORM,快速傳立業(yè)轉(zhuǎn)換)演算未予的撰寫,這將會(huì)影響MULTI-TONE訊號(hào)上PEAK值的偵測(cè)。另外,以RS-232為I/O介面,并呼叫客戶所提供之DLL檔來與DUT內(nèi)的IC溝通,但因LAB VIEW無法直接呼叫其STRUCTURE,故需用VC++再編譯一層新的DLL來供LAB VIEW使用。
標(biāo)簽: Card DAQ 音頻訊號(hào) 分
上傳時(shí)間: 2013-12-13
上傳用戶:longlong12345678
The PCF8578 is a low power CMOS1 LCD row and column driver, designed to drive dotmatrix graphic displays at multiplex rates of 1:8, 1:16, 1:24 or 1:32. The device has40 outputs, of which 24 are programmable and configurable for the following ratios ofrows/columns: 32¤8, 24¤16, 16¤24 or 8¤32. The PCF8578 can function as a stand-alone LCDcontroller and driver for use in small systems. For larger systems it can be used inconjunction with up to 32 PCF8579s for which it has been optimized. Together these twodevices form a general purpose LCD dot matrix driver chip set, capable of driving displaysof up to 40960 dots. The PCF8578 is compatible with most microcontrollers andcommunicates via a two-line bidirectional bus (I2C-bus). Communication overhead isminimized by a display RAM with auto-incremented addressing and display bankswitching.
標(biāo)簽: 8578 PCF LCD 圖形點(diǎn)陣
上傳時(shí)間: 2013-10-23
上傳用戶:頂?shù)弥?/p>
第一章 序論……………………………………………………………6 1- 1 研究動(dòng)機(jī)…………………………………………………………..7 1- 2 專題目標(biāo)…………………………………………………………..8 1- 3 工作流程…………………………………………………………..9 1- 4 開發(fā)環(huán)境與設(shè)備…………………………………………………10 第二章 德州儀器OMAP 開發(fā)套件…………………………………10 2- 1 OMAP介紹………………………………………………………10 2-1.1 OMAP是什麼?…….………………………………….…10 2-1.2 DSP的優(yōu)點(diǎn)……………………………………………....11 2- 2 OMAP Architecture介紹………………………………………...12 2-2-1 OMAP1510 硬體架構(gòu)………………………………….…12 2-2.2 OMAP1510軟體架構(gòu)……………………………………...12 2-2.3 DSP / BIOS Bridge簡(jiǎn)述…………………………………...13 2- 3 TI Innovator套件 -- OMAP1510 ……………………………..14 2-2.1 General Purpose processor -- ARM925T………………...14 2-2.2 DSP processor -- TMS320C55x …………………………15 2-2.3 IDE Tool – CCS …………………………………………15 2-2.4 Peripheral ………………………………………………..16 第三章 在OMAP1510上建構(gòu)Embedded Linux System…………….17 3- 1 嵌入式工具………………………………………………………17 3-1.1 嵌入式程式開發(fā)與一般程式開發(fā)之不同………….….17 3-1.2 Cross Compiling的GNU工具程式……………………18 3-1.3 建立ARM-Linux Cross-Compiling 工具程式………...19 3-1.4 Serial Communication Program………………………...20 3- 2 Porting kernel………………………………………………….…21 3-2.1 Setup CCS ………………………………………….…..21 3-2.2 編譯及上傳Loader…………………………………..…23 3-2.3 編譯及上傳Kernel…………………………………..…24 3- 3 建構(gòu)Root File System………………………………………..…..26 3-3.1 Flash ROM……………………………………………...26 3-3.2 NFS mounting…………………………………………..27 3-3.3 支援NFS Mounting 的kernel…………………………..27 3-3.4 提供NFS Mounting Service……………………………29 3-3.5 DHCP Server……………………………………………31 3-3.6 Linux root 檔案系統(tǒng)……………………………….…..32 3- 4 啟動(dòng)及測(cè)試Innovator音效裝置…………………………..…….33 3- 5 建構(gòu)支援DSP processor的環(huán)境…………………………...……34 3-5.1 Solution -- DSP Gateway簡(jiǎn)介……………………..…34 3-5.2 DSP Gateway運(yùn)作架構(gòu)…………………………..…..35 3- 6 架設(shè)DSP Gateway………………………………………….…36 3-6.1 重編kernel……………………………………………...36 3-6.2 DEVFS driver…………………………………….……..36 3-6.3 編譯DSP tool和API……………………………..…….37 3-6.4 測(cè)試……………………………………………….…….37 第四章 MP3 Player……………………………………………….…..38 4- 1 MP3 介紹………………………………………………….…….38 4- 2 MP3 壓縮原理……………………………………………….….39 4- 3 Linux MP3 player – splay………………………………….…….41 4.3-1 splay介紹…………………………………………….…..41 4.3-2 splay 編譯………………………………………….…….41 4.3-3 splay 的使用說明………………………………….……41 第五章 程式改寫………………………………………………...…...42 5-1 程式評(píng)估與改寫………………………………………………...…42 5-1.1 Inter-Processor Communication Scheme…………….....42 5-1.2 ARM part programming……………………………..…42 5-1.3 DSP part programming………………………………....42 5-2 程式碼………………………………………………………..……43 5-3 雙處理器程式開發(fā)注意事項(xiàng)…………………………………...…47 第六章 效能評(píng)估與討論……………………………………………48 6-1 速度……………………………………………………………...48 6-2 CPU負(fù)載………………………………………………………..49 6-3 討論……………………………………………………………...49 6-3.1分工處理的經(jīng)濟(jì)效益………………………………...49 6-3.2音質(zhì)v.s 浮點(diǎn)與定點(diǎn)運(yùn)算………………………..…..49 6-3.3 DSP Gateway架構(gòu)的限制………………………….…50 6-3.4減少IO溝通……………….………………………….50 6-3.5網(wǎng)路掛載File System的Delay…………………..……51 第七章 結(jié)論心得…
上傳時(shí)間: 2013-10-14
上傳用戶:a471778
針對(duì)當(dāng)前安檢力學(xué)試驗(yàn)機(jī)所能完成的試驗(yàn)種類單一、自動(dòng)化程度低等問題,提出一種以ATmega128單片機(jī)為核心控制器的安檢力學(xué)試驗(yàn)機(jī)的設(shè)計(jì)。詳細(xì)闡述了該安檢力學(xué)試驗(yàn)機(jī)各個(gè)組成部分的設(shè)計(jì)原理和方案,并且給出了各部分的軟件設(shè)計(jì)思想和操作流程。經(jīng)過大量測(cè)試試驗(yàn)表明:設(shè)計(jì)的安檢力學(xué)試驗(yàn)機(jī)可以完成多達(dá)十余種的力學(xué)安檢試驗(yàn),完全符合相關(guān)國(guó)家標(biāo)準(zhǔn),并且具有數(shù)據(jù)采集精度高、傳輸速度快、操作安全簡(jiǎn)便等特點(diǎn),實(shí)現(xiàn)了安檢設(shè)備的多功能化、數(shù)字化和自動(dòng)化。 Abstract: Currently, many mechanical security testing machines have only one function. The degree of automation of them is low. To solve those problems, a new kind of mechanical security testing machine, using ATmega128 micro-controller as its core controller, has been advanced. It describes the components of the machine. The principles and the scheme in the designing processes are presented in detail, and the software architecture and the operation processes of each part are given. After having done many testing, we have reached the following conclusions: the mechanical security testing machine presented can do over ten mechanical security tests complying with related national standards. It has high data acquisition accuracy and high transmission speed. The operation of the machine is simple and safe. In general, this machine is a multi-functional, highly automatic, digitalized security testing device.
標(biāo)簽: ATmega 128 安檢 試驗(yàn)機(jī)
上傳時(shí)間: 2013-11-05
上傳用戶:a67818601
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1