受控正弦信號(hào)發(fā)生器
標(biāo)簽: 正弦信號(hào)發(fā)生器
上傳時(shí)間: 2013-11-04
上傳用戶:止絮那夏
The P89LPC912/913/914 are single-chip microcontrollers in low-cost 14-pin packages, based on a high performance processor architecture that executes instructions in two to four clocks, six times the rate of standard 80C51 devices. Many system level functions have been incorporated into the P89LPC912/913/914 in order to reduce component count, board space, and system cost.
上傳時(shí)間: 2013-10-12
上傳用戶:司令部正軍級(jí)
數(shù)字控制的交流調(diào)速系統(tǒng)所選用的微處理器、功率器件及產(chǎn)生PWM波的方法是影響交流調(diào)速系統(tǒng)性能好壞的直接因素。在介紹了正弦脈寬調(diào)制(SPWM)技術(shù)的基礎(chǔ)上,設(shè)計(jì)了一種以8098單片機(jī)作為控制器,以智能功率模塊IPM為開關(guān)器件的變頻調(diào)速系統(tǒng)。通過軟件編程,產(chǎn)生正弦脈沖寬度調(diào)制波形來控制絕緣柵雙極晶體管的導(dǎo)通和關(guān)斷,從而達(dá)到控制異步電動(dòng)機(jī)轉(zhuǎn)速的目的。實(shí)驗(yàn)結(jié)果表明,該系統(tǒng)可調(diào)頻率調(diào)電壓,穩(wěn)定度高,調(diào)速范圍寬,具有較強(qiáng)的實(shí)用價(jià)值 Abstract: AC variable speed with digital control systems used microprocessors, power devices and generate PWM wave is the direct factors of affecting the performance AC speed regulation system. On the basis of introducing the sinusoidal pulse width modulation (SPWM) technology,this paper designed variable speed system which used 8098 as a controller, intelligent power module IPM as switching device. Through software programming, resulting in sinusoidal pulse width modulation waveform to control the insulated gate bipolar transistor turn on and off, so as to achieve the purpose of speed control of induction motors. Experimental results show that the system can adjust frequency modulation voltage, high stability, wide speed range, has a strong practical value.
標(biāo)簽: 8098 SPWM 單片機(jī) 變頻調(diào)速系統(tǒng)
上傳時(shí)間: 2013-11-14
上傳用戶:ynwbosss
a_bit equ 20h ;個(gè)位數(shù)存放處 b_bit equ 21h ;十位數(shù)存放處 temp equ 22h ;計(jì)數(shù)器寄存器 star: mov temp,#0 ;初始化計(jì)數(shù)器 stlop: acall display inc temp mov a,temp cjne a,#100,next ;=100重來 mov temp,#0 next: ljmp stlop ;顯示子程序 display: mov a,temp ;將temp中的十六進(jìn)制數(shù)轉(zhuǎn)換成10進(jìn)制 mov b,#10 ;10進(jìn)制/10=10進(jìn)制 div ab mov b_bit,a ;十位在a mov a_bit,b ;個(gè)位在b mov dptr,#numtab ;指定查表啟始地址 mov r0,#4 dpl1: mov r1,#250 ;顯示1000次 dplop: mov a,a_bit ;取個(gè)位數(shù) MOVC A,@A+DPTR ;查個(gè)位數(shù)的7段代碼 mov p0,a ;送出個(gè)位的7段代碼
標(biāo)簽: 直接驅(qū)動(dòng) 數(shù)碼管 計(jì)數(shù)器 程序
上傳時(shí)間: 2013-11-06
上傳用戶:lx9076
假定從8位AD中讀取數(shù)據(jù)(如果是更高位的AD可定義數(shù)據(jù)類型為int),子程序?yàn)間et_ad(); 1、限幅濾波法(又稱程序判斷濾波法) A、方法: 根據(jù)經(jīng)驗(yàn)判斷,確定兩次采樣允許的最大偏差值(設(shè)為A) 每次檢測(cè)到新值時(shí)判斷: 如果本次值與上次值之差<=A,則本次值有效 如果本次值與上次值之差>A,則本次值無效,放棄本次值,用上次值代替本次值 B、優(yōu)點(diǎn): 能有效克服因偶然因素引起的脈沖干擾 C、缺點(diǎn) 無法抑制那種周期性的干擾 平滑度差 /* A值可根據(jù)實(shí)際情況調(diào)整 value為有效值,new_value為當(dāng)前采樣值 濾波程序返回有效的實(shí)際值 */ #define A 10 char value; char filter() { char new_value; new_value = get_ad(); if ( ( new_value - value > A ) || ( value - new_value > A ) return value; return new_value; } 2、中位值濾波法 A、方法: 連續(xù)采樣N次(N取奇數(shù)) 把N次采樣值按大小排列 取中間值為本次有效值 B、優(yōu)點(diǎn): 能有效克服因偶然因素引起的波動(dòng)干擾 對(duì)溫度、液位的變化緩慢的被測(cè)參數(shù)有良好的濾波效果 C、缺點(diǎn): 對(duì)流量、速度等快速變化的參數(shù)不宜 /* N值可根據(jù)實(shí)際情況調(diào)整 排序采用冒泡法*/
上傳時(shí)間: 2014-12-26
上傳用戶:nanshan
針對(duì)目前汽車追尾事件頻發(fā)問題,提出一種防汽車車前和車后追尾的安全裝置設(shè)計(jì)。該設(shè)計(jì)以高性能、低功耗的8位AVR微處理器ATmega8L為核心,結(jié)合霍爾式車速傳感器、激光雷達(dá)測(cè)距裝置和MMA7260QT加速度傳感器,能夠兼顧車前和車后,摒棄以往設(shè)計(jì)中只考慮車前或車后單一性缺點(diǎn),尤其適用于高速、夜晚或新手行車。 Abstract: Aiming at the high frequency of vehicle rear-end collision,a safe device design of anti-vehicle rear-end collision is presented.In the design,the high-performance,low-power8-bit AVR microprocessor ATmega8L is utilized as a core combined with Hall-type speed sensor,laser-radar ranging devices and the acceleration sensor MMA7260QT.The design considers both the front and back of a car,and overcomes the drawbacks of former designs in which only the front or the back of the car is considered,so it is especially suitable for high-speed,night or the beginner’s driving.
上傳時(shí)間: 2013-10-14
上傳用戶:GavinNeko
解答部分 PIC單片機(jī)指令的執(zhí)行過程遵循著一種全新哈佛總線體系結(jié)構(gòu)的原則,充分利用了計(jì)算機(jī)系統(tǒng)在程序存儲(chǔ)器和數(shù)據(jù)存儲(chǔ)器之間地址空間的相互獨(dú)立性,取指過程和執(zhí)行指令過程可以流水線操作同時(shí)進(jìn)行。因此,當(dāng)PIC時(shí)鐘頻率為4MHZ時(shí),執(zhí)行一條非轉(zhuǎn)移類指令需要4個(gè)系統(tǒng)時(shí)鐘周期,即1us,但其指令執(zhí)行的真實(shí)時(shí)間應(yīng)為2us(在執(zhí)行n—1條指令時(shí)取第n條指令,然后執(zhí)行第n條指令)。所以選項(xiàng)B正確.
上傳時(shí)間: 2013-12-10
上傳用戶:spman
總線:指能為多個(gè)部件服務(wù)的信息傳送線,在微機(jī)系統(tǒng)中各個(gè)部件通過總線相互通信。地址總線:它是傳送由CPU發(fā)出的用于選擇要訪問的器件或部件的地址。數(shù)據(jù)總線:它是用來傳送微型機(jī)系統(tǒng)內(nèi)的各種類型的數(shù)據(jù)。匯編:是能完成一定任務(wù)的機(jī)器指令的集合。二進(jìn)制數(shù):只有0和1兩個(gè)數(shù)碼,基數(shù)為二。16進(jìn)制數(shù):采用0、1、2、3、4、5、6、7、8、9、A、B、C、D、E、F等16個(gè)數(shù)碼,其中A-F相應(yīng)的十進(jìn)數(shù)為10-15,基數(shù)是16。指令:是計(jì)算機(jī)所能執(zhí)行的一種基本操作的描述,是計(jì)算機(jī)軟件的基本單元。存儲(chǔ)器:用來存放計(jì)算機(jī)中的所有信息:包括程序、原始數(shù)據(jù)、運(yùn)算的中間結(jié)果及最終結(jié)果等。
標(biāo)簽: 單片機(jī)
上傳時(shí)間: 2013-11-14
上傳用戶:caoyuanyuan1818
Mega16是一款采用先進(jìn)RISC精簡(jiǎn)指令,內(nèi)置A/D的8位單片機(jī),可支持低電壓聯(lián)機(jī) Flash和EEPROM 寫入功能;同時(shí)還支持 Basic和C 等高級(jí)語言編程。用它設(shè)計(jì)電子時(shí)鐘不僅成本低,硬件簡(jiǎn)單,而且很容易實(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
針對(duì)51單片機(jī)系統(tǒng)中常用的A/D轉(zhuǎn)換器價(jià)格高、精度低的缺點(diǎn),介紹TI公司的16 位的帶有I2C串行接口的A/D轉(zhuǎn)換器ADS1110的工作原理,給出ADS1110與AT89C51單片機(jī)系統(tǒng)的接口電路和軟件設(shè)計(jì)。實(shí)踐證明,ADS1110具有高性價(jià)比和實(shí)用性。 Abstract: According to the disadvantages of high expense and low accuracy of the general A/D converter used in MCS51 microchip system,the principle and working process of a high accuracy 16-bit A/D conversion ADS1110 which has I2C bus and belongs to TI Company are proposed here as well as the interface of ADS1110 to AT89C51 and software list.It is proved to be high performance index and practicability.
上傳時(shí)間: 2013-11-21
上傳用戶:gyq
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1