設(shè)計(jì)一種基于ATmega16L單片機(jī)的溫度控制系統(tǒng),闡述該系統(tǒng)的軟硬件設(shè)計(jì)方案。采用模塊化設(shè)計(jì)方法,利用增量式PID算法使被控對象的溫度值趨于給定值。實(shí)驗(yàn)結(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
標(biāo)簽: ATmega 16L 16 單片機(jī)
上傳時(shí)間: 2013-10-09
上傳用戶:stvnash
詳細(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í)時(shí)時(shí)鐘是微機(jī)保護(hù)裝置的重要部件,在討論P(yáng)CF8583結(jié)構(gòu)與功能的基礎(chǔ)上,提出采用dsPIC33F系列微處理器與串行I2C時(shí)鐘PCF8583的接口設(shè)計(jì)方案,給出了相應(yīng)的接口電路與軟件流程。該設(shè)計(jì)方案結(jié)構(gòu)簡單,可靠性高,開發(fā)周期短,具有一定的實(shí)用與參考價(jià)值。所設(shè)計(jì)的微機(jī)保護(hù)裝置已投入現(xiàn)場運(yùn)行,效果良好。 Abstract: Real-time clock chip is an important part in microcomputer protection device.Based on discussing the structure and function of PCF8583,a new interface scheme which uses dsPIC33F microprocessor and serial clock chip(I2C)PCF8583is proposed.The method of the circuit design and the main software flow are introduced in this paper.The scheme has simple structure,higher reliability and shorter exploitation cycle,so has definite practicality or reference value.The microcomputer protection device has been put into operation with better effects.
標(biāo)簽: 8583 PCF 串行時(shí)鐘 中的應(yīng)用
上傳時(shí)間: 2013-11-18
上傳用戶:Thuan
介紹基于ISA總線與KH-9300的數(shù)據(jù)采集板卡的設(shè)置,詳細(xì)說明8254定時(shí)計(jì)數(shù)器及8259中斷控制器的結(jié)構(gòu)特點(diǎn)、工作方式、控制字等,探討中斷類型、中斷處理程序、中斷矢量表及其填寫。重點(diǎn)講述使用TorboC編寫中斷服務(wù)程序的方法,應(yīng)注意的主要問題及程序測試的結(jié)果。 Abstract: The settings of KH-9300 data acquisition board based on the ISA bus is introduced,the structural characteristics,working methods,control characters of the timing counter 8254 and interruptioncontroller 8259 are explained in detail.The interruption type,interrupt handling programs,interruption vector table and its filling also are discussed.Further,great emphasis is put on the method of interrupt service program compiled by Torbo C,the main issues that should be noted,and the results of program testing.
上傳時(shí)間: 2013-11-14
上傳用戶:qq527891923
該系統(tǒng)由單片機(jī)89S52控制模塊,程控寬帶放大模塊,整形模塊,F(xiàn)PGA內(nèi)頻率、相位差測量模塊等構(gòu)成,采用等精度測頻法測出頻率和周期,可測量有效值為0.01~5V,頻率范圍1Hz~20MHz信號的頻率、周期信號,精度高達(dá)10-6。采用計(jì)數(shù)法測量相位差,該系統(tǒng)可測量有效值0.5~5V,頻率10Hz~100kHz信號的相位差,精度為1°。系統(tǒng)功能由按鍵控制,測量結(jié)果實(shí)時(shí)顯示,人機(jī)界面友好。 Abstract: The system consists of the following functional blocks:89S52microcontroller controlling module,programmable amplifier module,comparator module,frequency and phase difference testing module in the FPGA.The system use the equal accuracy frequency-examining technique it measures frequency and circle of signal which its ranges is from1Hz to20MHz and the amplitude of which its range is from0.01Vrms to5Vrms,precision is up to10-6.Using of count method,the system detects the phase difference of signal,the amplitude of whic its range is from0.5Vrms to5Vrms and the frequency of which its ranges is from10Hz to100kHz,precision is up to1°,The system functions is controlled by certain keys,measurement results are displayed in real-time and it is friendly interface.
標(biāo)簽: 89S52 單片機(jī) 多功能 計(jì)數(shù)器
上傳時(shí)間: 2013-11-04
上傳用戶:CHINA526
以89S52單片機(jī)和EP1C6Q240C8型FPGA為控制核心的多功能計(jì)數(shù)器,是由峰值檢波、A/D轉(zhuǎn)換、程控放大、比較整形、移相網(wǎng)絡(luò)部分組成,可實(shí)現(xiàn)測量正弦信號的頻率、周期和相位差的功能。多功能計(jì)數(shù)器采用等精度的測量方法,可實(shí)現(xiàn)頻率為1Hz~10MHz、幅度為0.01~5Vrms的正弦信號的精確測頻,以及頻率為10Hz~100kHz、幅度為0.5~5Vrms的正弦信號精確測相。液晶顯示器能夠?qū)崟r(shí)顯示當(dāng)前信號的頻率、周期和相位差。該多功能計(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
介紹基于VHDL的微型打印機(jī)控制器的設(shè)計(jì)。論述了微型打印機(jī)的基本原理,以及實(shí)現(xiàn)控制器的VHDL語言設(shè)計(jì)。打印機(jī)的數(shù)據(jù)來自系統(tǒng)中的存儲(chǔ)模塊,根據(jù)需要控制打印。該微型打印機(jī)控制器可取代傳統(tǒng)的微型打印機(jī),且抗干擾性好,可靠性高,具有較強(qiáng)的移植性,稍加改動(dòng)就可應(yīng)用于不同場合。 Abstract: This paper introduced the design method of micro printer controller based on VHDL.The basic principles of microprinter is explained,as well as the realization of the controller by VHDL language.The printer data is from the system memory modules,can control printer.The design of microprinter controller has antigood and high reliability,it can replace the traditional printer.The controller has very good portability,and need little modify that can use in different situation.
標(biāo)簽: VHDL 微型打印機(jī) 制器設(shè)計(jì)
上傳時(shí)間: 2013-11-03
上傳用戶:dudu1210004
介紹了采用ATmega48單片機(jī)實(shí)現(xiàn)三相無刷直流電機(jī)控制器的方法。利用Atmega48獲得帶死區(qū)的脈寬調(diào)制(PWM)、霍爾傳感器的換相處理、正弦驅(qū)動(dòng)信號的產(chǎn)生和電機(jī)轉(zhuǎn)速的控制等功能。采用該方法的優(yōu)點(diǎn)是所需的外圍器件少,成本低。 Abstract: The method of 3-phase brushless DC motor control based on ATmega48 is presented in this paper.The system uses ATmega48 to generate PWM signals with dead-time, hall sensors signals commutation,sine driving signal and rotational speed of motor.Using this method,the needed external devices are few, the cost is low.
標(biāo)簽: ATmega 48 無刷電機(jī) 控制方法
上傳時(shí)間: 2013-12-09
上傳用戶:330402686
在開放式數(shù)控系統(tǒng)結(jié)構(gòu)模型的基礎(chǔ)上,研究了基于ISA總線的DSP通信控制原理。采用中斷方式完成了PC機(jī)和DSP之間的通信。介紹了以DriverWorks為工具開發(fā)ISA設(shè)備WDM驅(qū)動(dòng)程序的方法,探討了中斷處理、驅(qū)動(dòng)程序與應(yīng)用程序之間的通信,簡要說明了驅(qū)動(dòng)程序的安裝與調(diào)試。通過調(diào)試,系統(tǒng)設(shè)計(jì)運(yùn)行穩(wěn)定。 Abstract: The ISA bus and DSP correspondence control principle is investigated in the basis of the existing open architecture numerical control system.The interrupt method is used to realize the communication between PC and DSP based on the ISA bus.The methods of WDM driver exploitation for ISA device using Driver Works are introduced.The main process of driver program and the keys such as handle interrupt and the communication between the drivers and application are presented.And how to debug and install the drive is explained.
標(biāo)簽: ISA DSP 總線 計(jì)算機(jī)
上傳時(shí)間: 2013-11-04
上傳用戶:kang1923
Mega16是一款采用先進(jìn)RISC精簡指令,內(nèi)置A/D的8位單片機(jī),可支持低電壓聯(lián)機(jī) Flash和EEPROM 寫入功能;同時(shí)還支持 Basic和C 等高級語言編程。用它設(shè)計(jì)電子時(shí)鐘不僅成本低,硬件簡單,而且很容易實(shí)現(xiàn)系統(tǒng)移植。介紹了如何利用AVR系列單片機(jī)Mega16及1602字符液晶來設(shè)計(jì)電子時(shí)鐘的方法,同時(shí)給出了相應(yīng)的電路原理及部分語言程序。 Abstract: ?Mega16 is a high-performance, low power consumption, the use of advanced RISC concise instructions, built-in A/D 8-bit microcontrollers, the on-line support for low-voltage Flash, EEPROM write function. Except Mega16 also support the Basic, C, and other high-level language programming.The electronic clock which is deisgned by Mega16 is not only low-cost, simple hardware, but easy to achieve system migration.The design method of electrioic clock based on the AVR Mega16 and character LCD1602 is introduced in this paper,and the corresponding circuit electrionic and some language program are given.
上傳時(shí)間: 2014-12-27
上傳用戶:zl5712176
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1