提出一種基于凌陽單片機的步進電機加減速的控制方法。采用凌陽科技推出的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
為提高太陽能的利用率,以ATmega8單片機為控制核心,設計了一套光電跟蹤與視日運動軌跡跟蹤互補控制的雙軸太陽跟蹤器。該跟蹤器在晴天時,利用光敏電阻采集光強判斷太陽位置,控制步進電機實現光電跟蹤;在陰天時,采集時鐘器件PCF8583的時間信息,計算當前太陽位置來實現視日運動軌跡跟蹤。實驗表明:該太陽跟蹤器能在不同天氣狀況下對太陽進行較準確地跟蹤,能量接收效率提高了30%,達到充分利用太陽能的目的。 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.
上傳時間: 2013-10-15
上傳用戶:urgdil
詳細介紹工控軟件組態王與單片機多機串口通訊的設計原理。分析組態王提供的直接與單片機串口通信方法的優點,給出系統基于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
數字信號處理器dsPIC33F集多通道高精度A/D轉換、多通訊模式、看門狗、CMOS Flash技術等于一體,其內部可完成所有數據操作,實現總線不出芯片技術。將該處理器應用于微機保護裝置,提出基于dsPIC33F微處理器的微機保護裝置的設計方案,給出相應的接口電路與軟件流程。該設計方案結構簡單,性價比及可靠性高,開發周期短,具有一定的實用推廣價值。所研制的微機保護裝置現場運行效果良好。 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.
上傳時間: 2013-11-16
上傳用戶:開懷常笑
以89S52單片機和EP1C6Q240C8型FPGA為控制核心的多功能計數器,是由峰值檢波、A/D轉換、程控放大、比較整形、移相網絡部分組成,可實現測量正弦信號的頻率、周期和相位差的功能。多功能計數器采用等精度的測量方法,可實現頻率為1Hz~10MHz、幅度為0.01~5Vrms的正弦信號的精確測頻,以及頻率為10Hz~100kHz、幅度為0.5~5Vrms的正弦信號精確測相。液晶顯示器能夠實時顯示當前信號的頻率、周期和相位差。該多功能計數器精度高,界面友好,實用性強。 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.
上傳時間: 2013-11-15
上傳用戶:gy592333
介紹了一種基于C8051F020單片機的多路壓力測量儀。該測量儀選用電阻應變式壓力傳感器采集壓力信號,并經放大電路處理后送入C8051F020單片機,再由C8051F020單片機內部的A/D轉換器將采集到的壓力信號進行模數轉化,然后分別對數據進行存儲和顯示。該測量儀能測量6路壓力信號,并且各測量點都能單獨檢測和設置。由于采用了C8051F020單片機,簡化了硬件電路,增強了抗干擾能力,使得測量儀具有測量精度高,沖擊小等特點。 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.
上傳時間: 2013-11-16
上傳用戶:yare
量測/測試所面臨之問題 此測試驗證上,要使用NI公司之LAB VIEW及DAQ CARD來取代AUDIO PRECISION及其所附軟體ATS。首先需克服硬體解析度上的差異,再來是FFT(FAST FOURIER TRANSFORM,快速傳立業轉換)演算未予的撰寫,這將會影響MULTI-TONE訊號上PEAK值的偵測。另外,以RS-232為I/O介面,并呼叫客戶所提供之DLL檔來與DUT內的IC溝通,但因LAB VIEW無法直接呼叫其STRUCTURE,故需用VC++再編譯一層新的DLL來供LAB VIEW使用。
上傳時間: 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.
上傳時間: 2013-10-23
上傳用戶:頂得柱
第一章 序論……………………………………………………………6 1- 1 研究動機…………………………………………………………..7 1- 2 專題目標…………………………………………………………..8 1- 3 工作流程…………………………………………………………..9 1- 4 開發環境與設備…………………………………………………10 第二章 德州儀器OMAP 開發套件…………………………………10 2- 1 OMAP介紹………………………………………………………10 2-1.1 OMAP是什麼?…….………………………………….…10 2-1.2 DSP的優點……………………………………………....11 2- 2 OMAP Architecture介紹………………………………………...12 2-2-1 OMAP1510 硬體架構………………………………….…12 2-2.2 OMAP1510軟體架構……………………………………...12 2-2.3 DSP / BIOS Bridge簡述…………………………………...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上建構Embedded Linux System…………….17 3- 1 嵌入式工具………………………………………………………17 3-1.1 嵌入式程式開發與一般程式開發之不同………….….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 建構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 檔案系統……………………………….…..32 3- 4 啟動及測試Innovator音效裝置…………………………..…….33 3- 5 建構支援DSP processor的環境…………………………...……34 3-5.1 Solution -- DSP Gateway簡介……………………..…34 3-5.2 DSP Gateway運作架構…………………………..…..35 3- 6 架設DSP Gateway………………………………………….…36 3-6.1 重編kernel……………………………………………...36 3-6.2 DEVFS driver…………………………………….……..36 3-6.3 編譯DSP tool和API……………………………..…….37 3-6.4 測試……………………………………………….…….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 程式評估與改寫………………………………………………...…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 雙處理器程式開發注意事項…………………………………...…47 第六章 效能評估與討論……………………………………………48 6-1 速度……………………………………………………………...48 6-2 CPU負載………………………………………………………..49 6-3 討論……………………………………………………………...49 6-3.1分工處理的經濟效益………………………………...49 6-3.2音質v.s 浮點與定點運算………………………..…..49 6-3.3 DSP Gateway架構的限制………………………….…50 6-3.4減少IO溝通……………….………………………….50 6-3.5網路掛載File System的Delay…………………..……51 第七章 結論心得…
上傳時間: 2013-10-14
上傳用戶:a471778
針對當前安檢力學試驗機所能完成的試驗種類單一、自動化程度低等問題,提出一種以ATmega128單片機為核心控制器的安檢力學試驗機的設計。詳細闡述了該安檢力學試驗機各個組成部分的設計原理和方案,并且給出了各部分的軟件設計思想和操作流程。經過大量測試試驗表明:設計的安檢力學試驗機可以完成多達十余種的力學安檢試驗,完全符合相關國家標準,并且具有數據采集精度高、傳輸速度快、操作安全簡便等特點,實現了安檢設備的多功能化、數字化和自動化。 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.
上傳時間: 2013-11-05
上傳用戶:a67818601