基于單片機(jī)的汽車多功能報(bào)警系統(tǒng)設(shè)計(jì)The Design of Automobile Multi-function AlarmingBased on Single Chip Computer劉法治趙明富寧睡達(dá)(河 南 科 技 學(xué) 院 ,新 鄉(xiāng) 453 00 3)摘要介紹了一種基于單片機(jī)控制的汽車多功能報(bào)警系統(tǒng),它能對(duì)汽車的潤(rùn)滑系統(tǒng)油壓、制動(dòng)系統(tǒng)氣壓、冷卻系統(tǒng)溫度、輪胎欠壓及防盜進(jìn)行自動(dòng)檢測(cè),并在發(fā)現(xiàn)異常情況時(shí),發(fā)出聲光報(bào)警。闡述了該報(bào)警系統(tǒng)的硬件組成及軟件設(shè)計(jì)方法。關(guān)鍵詞單片機(jī)傳感器數(shù)模轉(zhuǎn)換報(bào)警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場(chǎng)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
汽車多功能報(bào)苦器硬件系統(tǒng)設(shè)計(jì)根據(jù) 系 統(tǒng) 實(shí)際需要和產(chǎn)品性價(jià)比,選用ATMEL公司新生產(chǎn)的采用CMOs工藝的低功耗、高性能8位單片機(jī)AT89S52作為系統(tǒng)的控制器。AT89S52的片內(nèi)有8k Bytes LSP Flash閃爍存儲(chǔ)器,可進(jìn)行100(〕次寫、擦除操作;256Bytes內(nèi)部數(shù)據(jù)存儲(chǔ)器(RAM);3 2 根可編程輸N輸出線;2個(gè)可編程全雙工串行通道;看門狗(WTD)電路等。系統(tǒng)由傳感器、單片機(jī)、模數(shù)轉(zhuǎn)換器、無(wú)線信號(hào)發(fā)射電路、指示燈驅(qū)動(dòng)電路、聲光報(bào)警驅(qū)動(dòng)電KD一9563,發(fā)出三聲二閃光。并觸發(fā)一個(gè)高電平,驅(qū)動(dòng)無(wú)線信號(hào)發(fā)射電路。
在綜合分析諧波勵(lì)磁無(wú)刷同步發(fā)電機(jī)勵(lì)磁控制系統(tǒng)的基礎(chǔ)上,對(duì)其勵(lì)磁控制策略進(jìn)行了研究,開(kāi)發(fā)了一套基于DSP( TMS320F2812) 控制的新型柴油發(fā)電機(jī)勵(lì)磁控制系統(tǒng),該系統(tǒng)采用參數(shù)自適應(yīng)模糊PID 控制勵(lì)磁,選用交流采樣方式實(shí)時(shí)檢測(cè)各信號(hào)的瞬時(shí)特性,系統(tǒng)仿真結(jié)果以及在1 臺(tái)25 kW 工頻柴油發(fā)電機(jī)上的試驗(yàn)結(jié)果證明了該控制器具有較好的電壓調(diào)節(jié)特性,系統(tǒng)穩(wěn)態(tài)和暫態(tài)性能完全滿足發(fā)電機(jī)對(duì)勵(lì)磁系統(tǒng)的要求。關(guān)鍵詞:勵(lì)磁調(diào)節(jié);模糊PID 控制;數(shù)字信號(hào)處理器;交流采樣
Abstract :According to the general analysis of the excitation cont rol system of the harmonious wave excitation brushless synchronous generator and it s characteristics ,a new type of diesel generator excitation cont rol system based on DSP( TMS320F2812) was designed. An adaptive fuzzy PID cont rol of excitation is used in this system. To detect the t ransient characteristics of the signals in a timely manner ,AC sampling was applied.The system simulation result s and the testing result s f rom a 25 kW diesel generator (50 Hz) can prove that the voltage regulation characteristics of the excitation cont rol system are very well ,and both the steadyOstate performance and the t ransient performance of the generator are also good.Key words :excitation cont rol ;fuzzy PID cont rol ;digital signal processor (DSP) ;AC sampling
當(dāng)許多編程人員從事這項(xiàng)工作但又不使用源代碼管理工具時(shí),源代碼管理幾乎不可能進(jìn)行。Visual SourceSafe是Visual Basic的企業(yè)版配備的一個(gè)工具,不過(guò)這個(gè)工具目的是為了保留一個(gè)內(nèi)部應(yīng)用版本,不向公眾發(fā)布(應(yīng)當(dāng)說(shuō)明的是,M i c r o s o f t并沒(méi)有開(kāi)發(fā)Visual SourceSafe,它是M i c r o s o f t公司買來(lái)的) 。雖然Visual SourceSafe有幫助文本可供參考,但該程序的一般運(yùn)行情況和在生產(chǎn)環(huán)境中安裝 Visual SourceSafe的進(jìn)程都沒(méi)有詳細(xì)的文字說(shuō)明。另外,Visual SourceSafe像大多數(shù)M i c r o s o f t應(yīng)用程序那樣經(jīng)過(guò)了很好的修飾,它包含的許多功能特征和物理特征都不符合 Microsoft Wi n d o w s應(yīng)用程序的標(biāo)準(zhǔn)。例如,Visual SourceSafe的三個(gè)組件之一(Visual SourceSafe Administrator)甚至連F i l e菜單都沒(méi)有。另外,許多程序的菜單項(xiàng)不是放在最合適的菜單上。在程序開(kāi)發(fā)環(huán)境中實(shí)現(xiàn)Visual SourceSafe時(shí)存在的復(fù)雜性,加上它的非標(biāo)準(zhǔn)化外觀和文檔資料的不充分,使得許多人無(wú)法實(shí)現(xiàn)和使用 Visual SourceSafe。許多人甚至沒(méi)有試用 Vi s u a l S o u r c e S a f e的勇氣。我知道許多高水平技術(shù)人員無(wú)法啟動(dòng)Visual SourceSafe并使之運(yùn)行,其中有一位是管理控制系統(tǒng)項(xiàng)目師。盡管如此,Visual SourceSafe仍然不失為一個(gè)很好的工具,如果你花點(diǎn)時(shí)間將它安裝在你的小組工作環(huán)境中,你一定會(huì)為此而感到非常高興。在本章中我并不是為你提供一些指導(dǎo)原則來(lái)幫助你創(chuàng)建更好的代碼,我的目的是告訴你如何使用工具來(lái)大幅度減少管理大型項(xiàng)目和開(kāi)發(fā)小組所需的資源量,這個(gè)工具能夠很容易處理在沒(méi)有某種集成式解決方案情況下幾乎無(wú)法處理的各種問(wèn)題。