實時時鐘是微機保護裝置的重要部件,在討論PCF8583結構與功能的基礎上,提出采用dsPIC33F系列微處理器與串行I2C時鐘PCF8583的接口設計方案,給出了相應的接口電路與軟件流程。該設計方案結構簡單,可靠性高,開發周期短,具有一定的實用與參考價值。所設計的微機保護裝置已投入現場運行,效果良好。 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.
上傳時間: 2013-11-18
上傳用戶:Thuan
介紹基于ISA總線與KH-9300的數據采集板卡的設置,詳細說明8254定時計數器及8259中斷控制器的結構特點、工作方式、控制字等,探討中斷類型、中斷處理程序、中斷矢量表及其填寫。重點講述使用TorboC編寫中斷服務程序的方法,應注意的主要問題及程序測試的結果。 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.
上傳時間: 2013-11-14
上傳用戶:qq527891923
該系統由單片機89S52控制模塊,程控寬帶放大模塊,整形模塊,FPGA內頻率、相位差測量模塊等構成,采用等精度測頻法測出頻率和周期,可測量有效值為0.01~5V,頻率范圍1Hz~20MHz信號的頻率、周期信號,精度高達10-6。采用計數法測量相位差,該系統可測量有效值0.5~5V,頻率10Hz~100kHz信號的相位差,精度為1°。系統功能由按鍵控制,測量結果實時顯示,人機界面友好。 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.
上傳時間: 2013-11-04
上傳用戶:CHINA526
以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
介紹基于VHDL的微型打印機控制器的設計。論述了微型打印機的基本原理,以及實現控制器的VHDL語言設計。打印機的數據來自系統中的存儲模塊,根據需要控制打印。該微型打印機控制器可取代傳統的微型打印機,且抗干擾性好,可靠性高,具有較強的移植性,稍加改動就可應用于不同場合。 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.
上傳時間: 2013-11-03
上傳用戶:dudu1210004
介紹了采用ATmega48單片機實現三相無刷直流電機控制器的方法。利用Atmega48獲得帶死區的脈寬調制(PWM)、霍爾傳感器的換相處理、正弦驅動信號的產生和電機轉速的控制等功能。采用該方法的優點是所需的外圍器件少,成本低。 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.
上傳時間: 2013-12-09
上傳用戶:330402686
在開放式數控系統結構模型的基礎上,研究了基于ISA總線的DSP通信控制原理。采用中斷方式完成了PC機和DSP之間的通信。介紹了以DriverWorks為工具開發ISA設備WDM驅動程序的方法,探討了中斷處理、驅動程序與應用程序之間的通信,簡要說明了驅動程序的安裝與調試。通過調試,系統設計運行穩定。 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.
上傳時間: 2013-11-04
上傳用戶:kang1923
Mega16是一款采用先進RISC精簡指令,內置A/D的8位單片機,可支持低電壓聯機 Flash和EEPROM 寫入功能;同時還支持 Basic和C 等高級語言編程。用它設計電子時鐘不僅成本低,硬件簡單,而且很容易實現系統移植。介紹了如何利用AVR系列單片機Mega16及1602字符液晶來設計電子時鐘的方法,同時給出了相應的電路原理及部分語言程序。 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.
上傳時間: 2014-12-27
上傳用戶:zl5712176
介紹了一種基于AT89S52微處理器、鍵控顯示模式、多漢字顯示的顯示模塊設計方法。對AT89S52的內部功能及使用高128字節RAM時的尋址方式進行說明。給出了四漢字顯示模塊的硬件電路原理圖、主程序流程圖以及中斷顯示流程圖。 Abstract: The design method of display module base on the AT89S52 microcontroller,display mode controlled by keyboard and? showing several Chinese characterses are introduced in the paper.The internal function and the addressing mode for the high 128B RAM of the AT89S52 are explained.The basic circuit diagram,the main program flow chart and the display interrupt flow chart of four Chinese characterses display module are also given.
上傳時間: 2014-01-23
上傳用戶:咔樂塢
利用Atmel公司的ATmega168微處理器,采用A/D轉換方式來實現按摩椅控制器的鍵盤接口,通過在硬件電路中巧妙地選擇電阻,在軟件設計中采用數字濾波、二分法和區間鑒定等方法,靈敏可靠地實現了按摩椅中30個按鍵的處理。給出了硬件電路設計和軟件設計思想以及部分匯編代碼。 Abstract: This paper chooses A/D conversion method to realize the keyboard interface of the controller by using ATmega168 microchip from Atmel Company.It accomplishes 30-key dealing sensitively and reliably in massage chair through skillfully selecting resistors in hardware circuit and using digital filter,dichotomy and area-judging method in software design.The hardware design circuit, software design idea and partly assembles code are presented mainly.
上傳時間: 2014-01-10
上傳用戶:咔樂塢