Abstract: This application note explains the hardware of different types of 1-Wire® interfaces and software examples adapted to this hardware with a focus on serial ports. Depending on the types of iButtons required for a project and the type of computer to be used, the most economical interface is easily found. The hardware examples shown are basically two different types: 5V general interface and 12V RS-232 interface. Within the 5V group a common printed circuit board could be used for all circuits described. The variations can be achieved by different populations of components. The same principal is used for the 12V RS-232 interface. The population determines if it is a Read all or a Read/Write all type of interface. There are other possible circuit implementations to create a 1-Wire interface. The circuits described in this application note cover many different configurations. For a custom application, one of the described options can be adapted to meet individual needs.
標簽: iButtons Reading Writing and
上傳時間: 2013-10-29
上傳用戶:long14578
基于P87 C591的CAN總線系統(tǒng)智能節(jié)點設計Design of CAN System Intelligent Node Based on P87C591 給出了基于帶CAN控制器的單片8位微控制器P87C591的智能節(jié)點的硬件電路及軟件結(jié)構(gòu),詳細介紹了設計中的難點及實現(xiàn)過程中應注意的問題。關(guān)鍵詞:CAN總線;智能節(jié)點 Abstract:A h ardc ircuita nds oftw arec onfigurationo fth ei ntelligentnode based on a microcontroller with CAN controller P87C591 arepresented.E speciallyt hec ruxi nd esigninga ndt hep roblemst hatshould be paid attention in realizing are discussed in details.Keyw ords:C AN;in telligentn ode CA N 總線 是德國Bosch從20世紀80年代初為解決現(xiàn)代汽車中眾多的控制與測試儀器之間的數(shù)據(jù)交換而開發(fā)的一種串行數(shù)據(jù)通信協(xié)議,它是一種多主總線,通信介質(zhì)可以是雙絞線、同軸電纜或光導纖維。由于CAN總線具有較強的糾錯能力,支持差分收發(fā),因而適合高噪聲環(huán)境。并具有較遠的傳輸距離,適用于許多領(lǐng)域的分布式測控系統(tǒng)。目前已在工業(yè)自動化、建筑物環(huán)境控制、醫(yī)療設備等許多領(lǐng)域得到廣泛的應用。CAN已成為國際標準化組織IS011898標準。
標簽: P87C591 CAN 總線系統(tǒng) 智能節(jié)點
上傳時間: 2013-10-30
上傳用戶:xymbian
提出了一個由AT89C52單片機控制步進電機的實例。可以通過鍵盤輸入相關(guān)數(shù)據(jù), 并根據(jù)需要, 實時對步進電機工作方式進行設置, 具有實時性和交互性的特點。該系統(tǒng)可應用于步進電機控制的大多數(shù)場合。實踐表明, 系統(tǒng)性能優(yōu)于傳統(tǒng)的步進電機控制器。關(guān)鍵詞: 單片機; 步進電動機; 直流固態(tài)繼電器; 實時控制Con trol System of Stepp ingMotor Ba sed on AT89C52 ChipM icrocomputerMENGWu2sheng, L ILiang (College of Automatization, Northwestern Polytechnical Unversity, Xipan 710072, China)Abstract: A stepp ing motor control system based on AT89C52 chip microcomputer was described.The data can be inputwith keyboard, and stepp ingmotorwas controlled by these data. According to the demand, users can set the workingmodel of stepp ingmotor in real2time. This system can be widely used in stepp ing motor controlling. The p ractice showed that the performance of this system outdid the tradi tional stepp ing motor controller.KEY WORDS: Chip microcomputer; Stepp ingmotor; DCSSR; Real2time control
標簽: Control System ingMot Stepp
上傳時間: 2013-11-19
上傳用戶:leesuper
CAN與RS232轉(zhuǎn)換節(jié)點的設計與實現(xiàn) 介紹將CAN總線接口與RS232總線接口相互轉(zhuǎn)換的設計方法和2種總線電平轉(zhuǎn)換關(guān)系,實現(xiàn)CAN總線與各模塊的接口設計,制定了相應的軟硬件設計方案,并給出軟件設計流程圖以及部分硬件設計原理圖。為CAN總線與RS232總線互聯(lián)提供了一種方法,對CAN總線與RS232總線接口設備的互聯(lián)和廣泛應用的實現(xiàn)具有重要意義。關(guān)鍵詞:CAN總線;RS-232總線;串行通信Design and Realization of CAN and RS232 Transformation NodeZHOU Wei, CHENG Xiao-hong(Information Institute, Wuhan University of Technology, Wuhan 430070)【Abstract】This paper introduces one design method of the CAN bus interface and the RS232 bus interface interconversion, emphasizes two kindof bus level transformation relations, realizes the CAN bus and various modules connection design, formulates the design proposal of correspondingsoftware and hardware, and gives the flow chart of software design as well as the partial schematic diagram of hardware design. It providesonemethod for the CAN bus and the RS232 bus interconnection, has the vital significance to widespread application realization of the CAN busand theRS232 bus interface equipment interconnection.【Key words】CAN bus; RS-232 bus; serial communication
上傳時間: 2013-11-04
上傳用戶:leesuper
基于多點網(wǎng)絡的水廠自動監(jiān)控系統(tǒng)設計Design of MPI Based Automatic Monitoring and Control System in Water Works劉 美 俊(湖南工程學院,湘潭411101)摘要針對水廠工作水泵多、現(xiàn)場離控制站距離遠的特點,提出了一種基于MPI多點網(wǎng)絡的自動監(jiān)控系統(tǒng)的設計方法,分析了系統(tǒng)的工作原理,介紹了系統(tǒng)中數(shù)據(jù)的采集與處理、主站與從站的通信原理以及系統(tǒng)軟件的設計。由于這種系統(tǒng)的主、從站PLC之間采用MPI網(wǎng)絡通信,具有運行可靠、性能價格比高的特點,所以適用于中小規(guī)模水廠的分布式監(jiān)控場合。關(guān)鍵詞多點網(wǎng)絡主站從站監(jiān)控系統(tǒng)Abstract Ina ccordancew ithth efe atuersof w aterw orks,i. e. ,manyp umpsin o perationa ndth ep umps, farfor mt hec ontrolst ation,th em ethodo fdesigninga na utomati(〕monitoringa ndc ontorlsy stemb asedo nM PIis p resented.Th eo perationalpr incipleo fth esy stemi san alyzed,th ed atac olection,data processing; communication between master station and slave station as wel as design and system software are discussed. Because MPI network communicationis used among master station, slave stations and PLC, the system is reliable and high cost-efective. It is, suitable for smal and mediumsized water works for distrbuted monitoring and control.Keywords MPI Masterst ation Slaves tation Monitoringa ndc ontorlsy stem 自來 水 廠 的自動控制系統(tǒng)一般分為兩大部分,一對組態(tài)硬件要求較高,投資較大。相對而言,MPI網(wǎng)是水源地深水泵的工作控制,一是水廠區(qū)變頻恒壓供絡速度可達187.5 M bps,通過一級中繼器傳輸距離可水控制,兩部分的實際距離通常都比較遠。某廠水源達Ikm 。根據(jù)水廠的具體情況,確定以MPI方式組地有3臺深井泵給水廠區(qū)的蓄水池供水。水廠區(qū)的成網(wǎng)絡,主站PLC為S7-300系列的CPU3121FM,從任務是對水池的水進行消毒處理后,通過加壓泵向管站為S7-200系列的CPU222。這樣既滿足了系統(tǒng)要路恒壓供水。選用Siemens公司的S7系列可編程控求,又相對于Profibus網(wǎng)絡節(jié)省了三分之一的成本,制器(PLC)和上位機組成實時數(shù)據(jù)采集和監(jiān)控系統(tǒng), 這種分布式監(jiān)控系統(tǒng)具有較高的性能價格比。系統(tǒng)對深水泵進行遠程控制,對供水泵采用變頻器進行恒中PLC的物理層采用RS - 485接口,網(wǎng)絡延伸選用壓控制以保證整個水廠的電機設備安全、可靠地運帶防雷保護的中繼器,使系統(tǒng)的安全運行得到了保行。證。MPI網(wǎng)絡的拓撲結(jié)構(gòu)如圖1所示。1 多點網(wǎng)絡(NWI)監(jiān)控系統(tǒng)的組成Sie me ns 公司S7系列PLC通常有MP」多點網(wǎng)絡與Profibus現(xiàn)場總線網(wǎng)絡兩種組網(wǎng)方式。Profibus現(xiàn)場總線的應用目前較為普遍,通用性較好,它由Profibus一DP, Profibus一FMS, Profibus一PA組成。Profibus - DP型用于分散外設間的數(shù)據(jù)傳輸,傳輸速率為9.6kbps一12Mbps,主要用于現(xiàn)場控制器與分散1/0之間的通信,可滿足交直流調(diào)速系統(tǒng)快速響應的時間要求,特別適合于加工自動化領(lǐng)域的應用;Profibus - FMS主要解決車間級通信問題,完成中等傳輸速度的循環(huán)或非循環(huán)數(shù)據(jù)交換任務,適用于紡織、樓宇自動化、可編程控制器、低壓開關(guān)等;Profibus - PA型采用了OSI模型的物理層和數(shù)據(jù)鏈路層,適用于過程自動化的總線類型。
標簽: 多點 網(wǎng)絡 系統(tǒng)設計 自動監(jiān)控
上傳時間: 2013-10-09
上傳用戶:fac1003
基于單片機的汽車多功能報警系統(tǒng)設計The Design of Automobile Multi-function AlarmingBased on Single Chip Computer劉法治趙明富寧睡達(河 南 科 技 學 院 ,新 鄉(xiāng) 453 00 3)摘要介紹了一種基于單片機控制的汽車多功能報警系統(tǒng),它能對汽車的潤滑系統(tǒng)油壓、制動系統(tǒng)氣壓、冷卻系統(tǒng)溫度、輪胎欠壓及防盜進行自動檢測,并在發(fā)現(xiàn)異常情況時,發(fā)出聲光報警。闡述了該報警系統(tǒng)的硬件組成及軟件設計方法。關(guān)鍵詞單片機傳感器數(shù)模轉(zhuǎn)換報警Abstract Am ulti-fimctiona utomobilea larnungs ystemb asedo ns inglec hipc omputerco ntorlis in torducedin th isp aper.Th eo ilpr essuero flu bricatesystem, air pressure of braking system, temperature of cooling system, under pressure of tyre and guard against theft, detected automaticaly場thesystem. Audio and visual alarms wil be provided under abnormal conditions廠The hardware composition and software design of the system, described.Keywords Singlec hipc omputer Sensor Digital-t-oanaloguec onversion Alarmin 汽車多功能報苦器硬件系統(tǒng)設計根據(jù) 系 統(tǒng) 實際需要和產(chǎn)品性價比,選用ATMEL公司新生產(chǎn)的采用CMOs工藝的低功耗、高性能8位單片機AT89S52作為系統(tǒng)的控制器。AT89S52的片內(nèi)有8k Bytes LSP Flash閃爍存儲器,可進行100(〕次寫、擦除操作;256Bytes內(nèi)部數(shù)據(jù)存儲器(RAM);3 2 根可編程輸N輸出線;2個可編程全雙工串行通道;看門狗(WTD)電路等。系統(tǒng)由傳感器、單片機、模數(shù)轉(zhuǎn)換器、無線信號發(fā)射電路、指示燈驅(qū)動電路、聲光報警驅(qū)動電KD一9563,發(fā)出三聲二閃光。并觸發(fā)一個高電平,驅(qū)動無線信號發(fā)射電路。
上傳時間: 2013-11-09
上傳用戶:gxmm
基于USB接口的數(shù)據(jù)采集模塊的設計與實現(xiàn)Design and Implementation of USB-Based Data Acquisition Module路 永 伸(天津科技大學電子信息與自動化學院,天津300222)摘要文中給出基于USB接口的數(shù)據(jù)采集模塊的設計與實現(xiàn)。硬件設計采用以Adpc831與PDIUSBDI2為主的器件進行硬件設計,采用Windriver開發(fā)USB驅(qū)動,并用Visual C十十6.0對主機軟件中硬件接口操作部分進行動態(tài)鏈接庫封裝。關(guān)鍵詞USB 數(shù)據(jù)采集Adpc831 PDNSBDI2 Windriver動態(tài)鏈接庫Abstract T hed esigna ndim plementaitono fU SB-BasedD ataA cquisiitonM oduleis g iven.Th ec hips oluitonm ainlyw ithA dpc831a ndP DTUSBD12i sused for hardware design. The USB drive is developed場Wmdriver, and the operation on the hardware interface is packaged into Dynamic Link Libraries場Visual C++6.0. Keywords USB DataA cquisition Adttc831 PDfUSBD12 Windriver0 引言US B總 線 是新一代接口總線,最初推出的目的是為了統(tǒng)一取代PC機的各類外設接口,迄今經(jīng)歷了1.0,1.1與2.0版本3個標準。在國內(nèi)基于USB總線的相關(guān)設計與開發(fā)也得到了快速的發(fā)展,很多設計者從各自的應用領(lǐng)域,用不同方案設計出了相應的裝置[1,2]。數(shù)據(jù)采集是工業(yè)控制中一個普遍而重要的環(huán)節(jié),因此開發(fā)基于USB接口的數(shù)據(jù)采集模塊具有很強的現(xiàn)實應用意義。雖然 US B總線標準已經(jīng)發(fā)展到2.0版本,但由于工業(yè)控制現(xiàn)場干擾信號的情況比較復雜,高速數(shù)據(jù)傳輸?shù)目煽啃圆蝗菀妆槐WC,并且很多場合對數(shù)據(jù)采集的實時性要求并不高,開發(fā)2.0標準產(chǎn)品的成本又較1.1標準產(chǎn)品高,所以筆者認為,在工業(yè)控制領(lǐng)域,目前開發(fā)基于USB總線1.1標準實現(xiàn)的數(shù)據(jù)采集模塊的實用意義大于相應2.0標準模塊。
標簽: USB 接口 數(shù)據(jù)采集模塊
上傳時間: 2013-10-23
上傳用戶:q3290766
一種基于ST62單片機的稱重顯示控制器A Weighing Display Controller Based on ST62 Single Chip Computer祛 FA(上海時博飛奧控制系統(tǒng)有限公司,上海201100)摘要在介紹了基于ST62單片機的基礎(chǔ)上,詳細描述了稱重顯控制器的硬件設計和軟件設計思路。該控制器結(jié)構(gòu)簡單、操作方便、抗擾能力強等優(yōu)點;具有較好的推廣應用價值。關(guān)鍵詞稱重顯示控制儀ST62單片機硬件設計軟件設計Abstract Ont heb asiso fin torductiono fST 62s inglec hipc omputer,th ed esignc oncrptof h ardwarea nds oftwarefo rw eighingd isplayc ontorleris d escrbed.The controler features simple structure, ease operation, powerful capability of anti-interference, etc.,it is wealth to be promoted into practicalapplicationsKeywords We妙噸display0 引言ST62s inglec hip Hardwared esign Softwaer design備 份 振 蕩器,振蕩器保護電路,上電復位及低壓檢測復稱 重 顯 示控制器是一種具有數(shù)字顯示、開關(guān)量輸出、定值控制和通信功能的以微機為操作核心的稱重控制裝置。它是電子衡器的重要基礎(chǔ)部件,直接影響電子衡器及電子稱重系統(tǒng)的功能和性能。與合適的傳感器及承重傳力復位系統(tǒng)組合可組成配料秤、料斗秤、定值秤、平臺秤、汽車秤等,廣泛應用于電力、化工、建筑、冶金、交通運輸、食品、軍工等部門,是進行自動稱重配料控制和生產(chǎn)過程自動化必不可少的重要檢測、控制裝置。隨著 稱 重 計量自動化水平的提高,對稱重顯示控制器的要求也越來越高。為實現(xiàn)低漂移、高穩(wěn)定,本控制器采用低漂移、高增益放大器AD620和高分辨率的A/D轉(zhuǎn)換器CS5550。為提高穩(wěn)定性和可靠性,采用集成度高的、抗干擾能力強的ST62單片機。
上傳時間: 2013-10-29
上傳用戶:釣鰲牧馬
單片機系統(tǒng)“PC”失控的軟件措施Software Measure of GettingO uto fC ontrolfo r“PC"in S ingleC hipC omputerS ystem謐 加 春 王 曉 基 雷 小 華(江 西 理 工 大 學機 電 工 程 學 院 ,贛 州 34 10 00)摘要單片機系統(tǒng)在實際工業(yè)現(xiàn)場中可能遇到各種干擾和自身的隨機性故障。現(xiàn)場惡劣的環(huán)境有可能使計算機系統(tǒng)發(fā)生異常,計算機程序指針“PC”失控就是常見的故障之一,如果發(fā)生“PC”失控,將導致CPI工作混亂,釀成嚴重的事故。研究了“PC”失控的原因,并指出軟件抗干擾的幾種方法,有效保證單片機系統(tǒng)的正常工作。關(guān)鍵詞單片機“PC”失控抗干擾Abstract Inp racticalin dustrialfi elds,th ereis v ariousin terferencea fectingo perationo fsi nglec hipc omputersy stemsa ndt hec omputersy stems。fac噸random faults飾themselves. It is very common that the severe environment makes the computer systems abnormal. The program counter "PC"gettingo utof co ntorlis on eo fth ec ommonfa ults.If th isoc curs,C PUw ouldb eru nningo utof or deran din torducesse riousan cient.T hec ausesof " PC"geting out of control, studied in this paper and some countermeasures of anti-interference師software are given to ensure single chip computer systemworking properly.Keywords Single。飾computer Porgramc ounter"P C" Anti-interfeernc 在設 計 和 開發(fā)單片機系統(tǒng)時,一般難以周全地預計單片機系統(tǒng)在實際工業(yè)現(xiàn)場中可能遇到的各種干擾和自身的隨機性故障。因此,除了采取防止和抑制干擾的各項措施外,還應該借助于軟件措施克服某些干擾,系統(tǒng)還應具備迅速自行恢復的能力。本文介紹的應對單片機系統(tǒng)PC失控的軟件措施,設計靈活,節(jié)省硬件資源,能保證測控系統(tǒng)長期可靠地運行。MC S- 5 1單片機以其優(yōu)良的性能價格比大量應用于工業(yè)現(xiàn)場測試和控制領(lǐng)域。但是,現(xiàn)場惡劣的環(huán)境有可能使計算機系統(tǒng)發(fā)生異常,計算機程序指針PC失控就是常見的故障之一,一旦發(fā)生PC“走飛”,計算機系統(tǒng)就會出現(xiàn)工作混亂,釀成嚴重的事故。為 了 在 CP 失控時盡量減少由此帶來的不利影響,并盡快使系統(tǒng)恢復正常,需要采取一定的軟件措施和硬件措施。常見的硬件措施有“看門狗”電路。軟件措施設置的前提條件是:①在干擾作用下,微機系統(tǒng)硬件部分不會受到任何損壞,或者損壞部分設置有監(jiān)測狀態(tài)可供查詢;②程序區(qū)不會受到干擾侵害。單片機系統(tǒng)的程序和表格以及重要的參數(shù)均設置在ROM區(qū),不會因干擾的侵人而改變;③ RAM區(qū)中的重要數(shù)據(jù)不會被破壞,或者雖然被破壞,但是可以重新建立。
標簽: 單片機系統(tǒng) 軟件
上傳時間: 2013-11-02
上傳用戶:bhqrd30
基于ADSP-BF561的數(shù)字攝像系統(tǒng)設計Design of Digital Video Camera System Based on Digital Signal ProcessorADSP-BF561(浙江大學 信息與通信工程研究所,浙江 杭州 310027) 馬海杰, 劉云海摘要:介紹了基于ADI雙核的數(shù)字信號處理芯片ADSP-BF561 的數(shù)字攝像系統(tǒng)實現(xiàn)方案。系統(tǒng)包括硬件和軟件兩部分,硬件主要有ADSP-BF561及其外圍電路、音視頻模數(shù)/數(shù)模轉(zhuǎn)換、CF卡/微硬盤接口等部分。軟件主要有操作系統(tǒng)及音視頻編解碼算法等部分。關(guān)鍵詞:ADSP-BF561 ;數(shù)字攝像機;微硬盤;MPEG-4;A/D;D/A中圖分類號:TN948.41文獻標識碼:AAbstract: An implementation of digital video camera system based on ADI dual core digital signal processor ADSP-BF561 is introduced. The system can be divided into two parts——hardware and software design. The hardware design includes ADSP-BF561 and perpheral apparatus, A/D,D/A, CF card or Microdrive and so on. The software includes operating system , audio and video coding algorithm.Key words: ADSP-BF561; digital video camera; microdrive; MPEG-4;A/D;D/A
標簽: ADSP-BF 561 數(shù)字攝像 系統(tǒng)設計
上傳時間: 2013-11-10
上傳用戶:yl1140vista
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1