A complete design for a data acquisition card for the IBM PC is detailed in this application note. Additionally, C language code is provided to allow sampling of data at speed of more than 20kHz. The speed limitation is strictly based on the execution speed of the "C" data acquisition loop. A "Turbo" XT can acquire data at speeds greater than 20kHz. Machines with 80286 and 80386 processors can go faster than 20kHz. The computer that was used as a test bed in this application was an XT running at 4.77MHz and therefore all system timing and acquisition time measurements are based on a 4.77MHz clock speed.
上傳時間: 2013-10-29
上傳用戶:BOBOniu
高速數字系統設計下載pdf:High-Speed Digital SystemDesign—A Handbook ofInterconnect Theory and DesignPracticesStephen H. HallGarrett W. HallJames A. McCallA Wiley-Interscience Publication JOHN WILEY & SONS, INC.New York • Chichester • Weinheim • Brisbane • Singapore • TorontoCopyright © 2000 by John Wiley & Sons, Inc.speeddigital systems at the platform level. The book walks the reader through everyrequired concept, from basic transmission line theory to digital timing analysis, high-speedmeasurement techniques, as well as many other topics. In doing so, a unique balancebetween theory and practical applications is achieved that will allow the reader not only tounderstand the nature of the problem, but also provide practical guidance to the solution.The level of theoretical understanding is such that the reader will be equipped to see beyondthe immediate practical application and solve problems not contained within these pages.Much of the information in this book has not been needed in past digital designs but isabsolutely necessary today. Most of the information covered here is not covered in standardcollege curricula, at least not in its focus on digital design, which is arguably one of the mostsignificant industries in electrical engineering.The focus of this book is on the design of robust high-volume, high-speed digital productssuch as computer systems, with particular attention paid to computer busses. However, thetheory presented is applicable to any high-speed digital system. All of the techniquescovered in this book have been applied in industry to actual digital products that have beensuccessfully produced and sold in high volume.Practicing engineers and graduate and undergraduate students who have completed basicelectromagnetic or microwave design classes are equipped to fully comprehend the theorypresented in this book. At a practical level, however, basic circuit theory is all thebackground required to apply the formulas in this book.
上傳時間: 2013-10-26
上傳用戶:縹緲
特點(FEATURES) 精確度0.1%滿刻度 (Accuracy 0.1%F.S.) 可作各式數學演算式功能如:A+B/A-B/AxB/A/B/A&B(Hi or Lo)/|A| (Math functioA+B/A-B/AxB/A/B/A&B(Hi&Lo)/|A|/etc.....) 16 BIT 類比輸出功能(16 bit DAC isolating analog output function) 輸入/輸出1/輸出2絕緣耐壓2仟伏特/1分鐘(Dielectric strength 2KVac/1min. (input/output1/output2/power)) 寬范圍交直流兩用電源設計(Wide input range for auxiliary power) 尺寸小,穩定性高(Dimension small and High stability)
上傳時間: 2013-11-24
上傳用戶:541657925
TLC2543是TI公司的12位串行模數轉換器,使用開關電容逐次逼近技術完成A/D轉換過程。由于是串行輸入結構,能夠節省51系列單片機I/O資源;且價格適中,分辨率較高,因此在儀器儀表中有較為廣泛的應用。 TLC2543的特點 (1)12位分辯率A/D轉換器; (2)在工作溫度范圍內10μs轉換時間; (3)11個模擬輸入通道; (4)3路內置自測試方式; (5)采樣率為66kbps; (6)線性誤差±1LSBmax; (7)有轉換結束輸出EOC; (8)具有單、雙極性輸出; (9)可編程的MSB或LSB前導; (10)可編程輸出數據長度。 TLC2543的引腳排列及說明 TLC2543有兩種封裝形式:DB、DW或N封裝以及FN封裝,這兩種封裝的引腳排列如圖1,引腳說明見表1 TLC2543電路圖和程序欣賞 #include<reg52.h> #include<intrins.h> #define uchar unsigned char #define uint unsigned int sbit clock=P1^0; sbit d_in=P1^1; sbit d_out=P1^2; sbit _cs=P1^3; uchar a1,b1,c1,d1; float sum,sum1; double sum_final1; double sum_final; uchar duan[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f}; uchar wei[]={0xf7,0xfb,0xfd,0xfe}; void delay(unsigned char b) //50us { unsigned char a; for(;b>0;b--) for(a=22;a>0;a--); } void display(uchar a,uchar b,uchar c,uchar d) { P0=duan[a]|0x80; P2=wei[0]; delay(5); P2=0xff; P0=duan[b]; P2=wei[1]; delay(5); P2=0xff; P0=duan[c]; P2=wei[2]; delay(5); P2=0xff; P0=duan[d]; P2=wei[3]; delay(5); P2=0xff; } uint read(uchar port) { uchar i,al=0,ah=0; unsigned long ad; clock=0; _cs=0; port<<=4; for(i=0;i<4;i++) { d_in=port&0x80; clock=1; clock=0; port<<=1; } d_in=0; for(i=0;i<8;i++) { clock=1; clock=0; } _cs=1; delay(5); _cs=0; for(i=0;i<4;i++) { clock=1; ah<<=1; if(d_out)ah|=0x01; clock=0; } for(i=0;i<8;i++) { clock=1; al<<=1; if(d_out) al|=0x01; clock=0; } _cs=1; ad=(uint)ah; ad<<=8; ad|=al; return(ad); } void main() { uchar j; sum=0;sum1=0; sum_final=0; sum_final1=0; while(1) { for(j=0;j<128;j++) { sum1+=read(1); display(a1,b1,c1,d1); } sum=sum1/128; sum1=0; sum_final1=(sum/4095)*5; sum_final=sum_final1*1000; a1=(int)sum_final/1000; b1=(int)sum_final%1000/100; c1=(int)sum_final%1000%100/10; d1=(int)sum_final%10; display(a1,b1,c1,d1); } }
上傳時間: 2013-11-19
上傳用戶:shen1230
#include<iom16v.h> #include<macros.h> #define uint unsigned int #define uchar unsigned char uint a,b,c,d=0; void delay(c) { for for(a=0;a<c;a++) for(b=0;b<12;b++); }; uchar tab[]={ 0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,
上傳時間: 2013-10-21
上傳用戶:13788529953
數字控制的交流調速系統所選用的微處理器、功率器件及產生PWM波的方法是影響交流調速系統性能好壞的直接因素。在介紹了正弦脈寬調制(SPWM)技術的基礎上,設計了一種以8098單片機作為控制器,以智能功率模塊IPM為開關器件的變頻調速系統。通過軟件編程,產生正弦脈沖寬度調制波形來控制絕緣柵雙極晶體管的導通和關斷,從而達到控制異步電動機轉速的目的。實驗結果表明,該系統可調頻率調電壓,穩定度高,調速范圍寬,具有較強的實用價值 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.
上傳時間: 2013-11-14
上傳用戶:ynwbosss
針對眾多低成本數據采集需求,采用帶有片上USB控制器和D/A轉換器的混合信號微處理器C8051F340,設計了一款可通過USB接口和LabVIEW圖形用戶界面實現與PC機聯機的數據采集器,同時借助系統的SD卡存儲獨立實現現場長時間采集數據。該數據采集器成本低,結構簡單,體積小,已成功用于工業現場。 Abstract: Aiming at the need of low cost data acquisition, a data acquisition device is designed based on C8051F340 which is a mixed-signal microcontroller and integrates USB controller and A/D controller on a chip.The data acquisition device which can combine with PC by USB interface and LabVIEW graphical user interface,can realize data acquisition. At the same time,it can be solely run a long time in virtue of SD card in field.The date aequisition device features low cost,simple structure and little sharp, and it has been used in industry field.
上傳時間: 2014-05-31
上傳用戶:1109003457
介紹了基于單片機航空交流電參數測試儀的系統設計。以Silicon Labs公司的C8051F005單片機為核心設計出數據采集板,通過RS-232串口與上位機通訊。運用Lab Windows/CVI編寫的上位機軟件實現信號的檢測以及波形和數據的顯示,給出了測試儀硬件電路的組成和軟件流程圖。本系統具有硬件結構簡單、容易實現和成本低等特點,在實際應用中其穩定性、精確性均能滿足客戶要求。 Abstract: The design of aeronautics AC parameters tester based on the single-chip is introduced.The core component of data acquisition board is C8051F005 single chip of Silicon Labs Company,and communication with PC through RS-232. The signal processing software programmed with LabWindows/CVI can be used successfully to fulfill inspection of signal and display of the waveform and data. The hardware and software configuration of test instrument are provided.The hardware of the system is simple, and can be easily realized.The stability and precision of the measurement instrument are enough to meet the requirements.
上傳時間: 2013-11-18
上傳用戶:wang5829
介紹一種以MSP430單片機為基礎的智能頻率測量系統,采用硬件邏輯與軟件指令相結合的方式控制閘門,實現0 MHz~10 MHz范圍內無檔切換的等精度測量。 Abstract: An intelligent frequency measurement system based on MSP430 singlechip is introduced. The system uses a way that can combine hardware logic and software instructions to contronl the strobe ,and completes the functions of equal precision in the range of 0MHz~10MHz without shifting
上傳時間: 2013-10-28
上傳用戶:dbs012280
為降低成本和解決現有膜片鉗放大器系統中PC機的干擾問題,研究了一種基于單片機的膜片鉗放大器小系統。該系統采用ADI公司生產的ADuC841作為控制核心,并且配置相應的液晶顯示模塊LCM3202401。模擬電路部分采用高輸入阻抗的AD8627實現微電流信號的采集,并由后級電路進行信號的放大和電阻電容的補償。它具有硬件電路簡單、體積小、使用方便的特點。既可以單獨作為小系統實現采集和顯示,也可以通過紅外方式和PC機進行通訊,在PC機上進行信號的處理。 Abstract: In order to reduce cost and resolve the interferential problem with PC in existing patch clamp amplifiers, a small patch clamp amplifier system design based on microcontroller is studied. It adopts a new high performance microconverter ADuC841 by the ADI as the control core in the system, configuring a liquid crystal module LCM3202401. In the analog circuit, AD8627 with high input impedance is used to detect the low current,signal magnification, as well as resistance and capacitance compensation are accomplished by subsequent circuits. It has the advantage of simple hardware circuit design, small volume and convenient operation. It can either be used as an independent system to measure and show signal detected or transmit to PC by infrared ray.
上傳時間: 2013-11-06
上傳用戶:yy_cn