首先研究CAN總線和SAE J1939協(xié)議,提出一種基于MC9S12HZ256微控制器的總線式汽車數(shù)字儀表解決方案。詳細(xì)介紹SAE J1939協(xié)議的報(bào)文幀格式及應(yīng)用層協(xié)議中發(fā)動(dòng)機(jī)相關(guān)參數(shù)的定義,以及步進(jìn)電機(jī)及其驅(qū)動(dòng)和車速信號(hào)的處理方法。該數(shù)字儀表系統(tǒng)硬件平臺(tái)由微處理器和信號(hào)采集和信息處理及顯示等模塊組成。軟件設(shè)計(jì)部分編程實(shí)現(xiàn)了對(duì)CAN總線和各傳感器數(shù)據(jù)的讀取、處理。該系統(tǒng)能夠?qū)崟r(shí)反映車輛工況。 Abstract: In this paper,CAN bus and SAE J1939protocol are researched,and a vehicle digital instrument solution based on MC9S12HZ256MCU is proposed.The message frame format and some engine-related parameters’definition in SAE J1939application layer protocol are introduced in detail.Stepper motor and its driver,the methods of speed signal process-ing are also introduced.The hardware platform of vehicle digital instrument is composed by MCU,signal acquisition mod-ule,and signal processing and displaying module.Data receiving and processing from CAN bus and sensors are accom-plished by programming,and vehicle condition can be reflected in real-time.
上傳時(shí)間: 2013-10-20
上傳用戶:huannan88
在開放式數(shù)控系統(tǒng)結(jié)構(gòu)模型的基礎(chǔ)上,研究了基于ISA總線的DSP通信控制原理。采用中斷方式完成了PC機(jī)和DSP之間的通信。介紹了以DriverWorks為工具開發(fā)ISA設(shè)備WDM驅(qū)動(dòng)程序的方法,探討了中斷處理、驅(qū)動(dòng)程序與應(yīng)用程序之間的通信,簡要說明了驅(qū)動(dòng)程序的安裝與調(diào)試。通過調(diào)試,系統(tǒng)設(shè)計(jì)運(yùn)行穩(wěn)定。 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.
標(biāo)簽: ISA DSP 總線 計(jì)算機(jī)
上傳時(shí)間: 2013-11-04
上傳用戶:kang1923
在汽車發(fā)動(dòng)機(jī)起動(dòng)時(shí),若發(fā)動(dòng)機(jī)起動(dòng)后起動(dòng)機(jī)不能及時(shí)斷電,將會(huì)燒毀起動(dòng)機(jī)或損壞飛輪齒環(huán);若變速器不在空檔位置起動(dòng),則起動(dòng)機(jī)的瞬間動(dòng)力將使汽車位移,還可能引起交通事故和人身安全。為此介紹一種利用NXP P89LPC901單片機(jī)控制的汽車起動(dòng)保護(hù)控制器,通過檢測(cè)汽車起動(dòng)開關(guān)、變速箱檔位、發(fā)動(dòng)機(jī)轉(zhuǎn)速,實(shí)現(xiàn)對(duì)汽車發(fā)動(dòng)機(jī)起動(dòng)過程檢測(cè)和保護(hù)。起動(dòng)保護(hù)控制器在發(fā)動(dòng)機(jī)起動(dòng)過程中通過采用逐個(gè)關(guān)閉打開負(fù)載系統(tǒng),解決汽車發(fā)動(dòng)機(jī)過程中因起動(dòng)電流大而對(duì)汽車電源的沖擊影響,延長了電瓶壽命。 Abstract: When the automotive engine is started, the engine start motor and flywheel gear may be damaged, even traffic accidents and personal safeties may be caused by wrong operation or other factors.In order to ensure the automotive engine can be started normally and safely,it is necessary that the protecting measures and methods are considered in the automotive electrical control system.This paper introduces a kind of the automotive engine starting protect controller based on NXP P89LPC901 MCU.The controller can protect the engine starting process by detecting the starter key switch,transmission stall and engine speed.Through the use of close and open load system,the controller can solve the impact on automotive power because of the high-current load in the process of the automobile engine starting, and extend battery life.
上傳時(shí)間: 2013-10-15
上傳用戶:mikesering
為了解決磁放大器性能測(cè)試過程中,需要對(duì)其供給不同數(shù)值恒定電流的問題,設(shè)計(jì)了一種基于DAC7512和單片機(jī)的數(shù)控恒流源系統(tǒng)。該系統(tǒng)采用AT89C51作為主控器件,將計(jì)算機(jī)發(fā)送的電流控制字命令轉(zhuǎn)換為D/A轉(zhuǎn)換器控制字,通過模擬SPI通信接口,寫D/A控制字到DAC7512,從而控制其輸出相應(yīng)數(shù)字電壓值,經(jīng)差動(dòng)縮放電路、電壓/電路變換電路和功率驅(qū)動(dòng)電路,最后輸出恒定電流。實(shí)驗(yàn)結(jié)果表明,恒流源輸出電流調(diào)節(jié)范圍為-45~+45 mA、精度為±0.1 mA,分辨率達(dá)0.024 4 mA,具有應(yīng)用靈活,外圍電路簡單,可靠性高的特點(diǎn)。該數(shù)控直流恒流源也可為相關(guān)產(chǎn)品的測(cè)試系統(tǒng)研發(fā)提供參考。 Abstract: In order to solve the need to supply different values constant current for the magnetic amplifier in testing process, numerical control constant current source system was designed based on DAC7512 chip and microcontroller technology. The system used the AT89C51 as the main chip, which can convert the current control word from computer into to D/A control words. And the system wrote D/A control word into the DAC7512 chip to control the output voltage value by the SPI communication interface, which can output corresponding constant current figures by scaling circuit, the V/I converter and power drive circuit. Experimental results show that the current source output current adjustment range is -45~+45mA, accuracy is ± 0.1mA, and resolution ratio is 0.024 4mA
標(biāo)簽: 7512 DAC 數(shù)控直流 恒流源
上傳時(shí)間: 2014-12-27
上傳用戶:invtnewer
針對(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
在介紹基于MSP430單片機(jī)的指紋保險(xiǎn)柜工作原理的基礎(chǔ)上,從系統(tǒng)軟件設(shè)計(jì)的角度出發(fā),詳細(xì)介紹了指紋保險(xiǎn)柜軟件的總體分析過程、程序結(jié)構(gòu)的設(shè)計(jì)以及代碼的編寫,給出了按鍵管理流程和部分源代碼。 Abstract: On basis of the operating principle of MSP430 microcontroller-based fingerprint safe,the general analyzing process,program designing and code compiling of the fingerprint safe software are introduced mainly,and the key-press flows chart and some codes according to the system software designing are put forward.
上傳時(shí)間: 2014-12-27
上傳用戶:gaojiao1999
為了在工業(yè)生產(chǎn)及過程控制中準(zhǔn)確測(cè)量溫度,設(shè)計(jì)了一種基于低功耗MSP430單片機(jī)的數(shù)字溫度計(jì)。整個(gè)系統(tǒng)通過單片機(jī)MSP430F1121A控制DS18B20讀取溫度,采用數(shù)碼管顯示,溫度傳感器DS18B20與單片機(jī)之間通過串口進(jìn)行數(shù)據(jù)傳輸。MSP430系列單片機(jī)具有超低功耗,且外圍的整合性高,DS18B20只需一個(gè)端口即可實(shí)現(xiàn)數(shù)據(jù)通信,連接方便。通過多次實(shí)驗(yàn)證明,該系統(tǒng)的測(cè)試結(jié)果與實(shí)際環(huán)境溫度一致,除了具有接口電路簡單、測(cè)量精度高、誤差小、可靠性高等特點(diǎn)外,其低成本、低功耗的特點(diǎn)使其擁有更廣闊的應(yīng)用前景。 Abstract: In order to obtain accurate measuring temperature in industrial production and process control, a digital thermometer based on MSP430 MCU is designed. The system uses MSP430F1121A MCU to control DS18B20, and gets the temperature data, which is displayed on the LED. The temperature sensor DS18B20 and MCU transmit data through serial communication. MSP430 series has ultra-low power and high integration, DS18B20 only needs one port to achieve data communication. Through many experimental results prove, this system is consistent with actual environment temperature. The system has characteristics of interface circuit simple, high measuring accuracy, minor error, high reliability, besides, the characteristics of low cost and low power make it having vaster application prospect.
上傳時(shí)間: 2013-10-16
上傳用戶:wettetw
本文介紹了基于AT89C52 單片機(jī)的自動(dòng)水溫控制系統(tǒng)的設(shè)計(jì)及實(shí)現(xiàn)過程。該系統(tǒng)具有實(shí)時(shí)顯示、溫度測(cè)量、溫度設(shè)定并能根據(jù)設(shè)定值對(duì)環(huán)境溫度進(jìn)行調(diào)節(jié)實(shí)現(xiàn)控溫的目的以及達(dá)到上下限溫度報(bào)警功能,控制算法是基于數(shù)字PID 算法。關(guān)鍵詞 :PID AT89C52 脈寬調(diào)制 實(shí)時(shí) Abstract : This article describes AT89C52 single-chip microcomputer-basedautomatic water temperature control system design and implementation process. Thesystem has real-time display, temperature measurement, temperature settings and theenvironment in accordance with the temperature settings adjusted to achieve thepurpose of temperature control and reach the upper and lower limits of temperaturealarm function, the control algorithm is based on the digital PID algorithm.Keyword: PID AT89C52 PWM real time
上傳時(shí)間: 2013-10-10
上傳用戶:歸海惜雪
ZOPC_Server是一個(gè)OPC服務(wù)器軟件,本軟件通過插件方式操作底層硬件。其中三個(gè)標(biāo)準(zhǔn)插件(CAN,DeviceNet,iCAN)支持操作全部的ZLGCAN系列接口卡 和ZLGDeviceNet系列板卡以及iCan協(xié)議系列卡,只要在一臺(tái)PC機(jī)上插上ZLGCAN系列接口卡或ZLGDeviceNet系列板卡中的任何一種或幾種,再運(yùn)行本服務(wù)器軟件,在服務(wù)器軟件中進(jìn)行一些相關(guān)配置以后,就可以使用任何一種支持OPC協(xié)議的客戶端軟件(比如組態(tài)軟件:組態(tài)王、MCGS和INTOUCH等等)來連接到此服務(wù)器,通過此服務(wù)器來跟CAN網(wǎng)絡(luò)、iCAN網(wǎng)絡(luò)或DeviceNet網(wǎng)絡(luò)進(jìn)行數(shù)據(jù)的傳輸。 ZOPC服務(wù)器現(xiàn)階段帶有五個(gè)擴(kuò)展插件,分別為CANopen,DAQ,GPRS,Modbus,Modbus_RTU_ASCII。這些擴(kuò)展插件可以按需要單獨(dú)安裝。CANopen插件可操作ZLG生產(chǎn)的CANopen主站卡。DAQ插件操作ZLG的DAQ系列數(shù)據(jù)采集卡,將數(shù)據(jù)采集卡采集的數(shù)據(jù)上傳到ZOPC服務(wù)器中供客戶端使用。GPRS插件可以將GPRS模塊的數(shù)據(jù)上傳到ZOPC服務(wù)器中。Modbus插件是通過以太網(wǎng)操作從站。Modbus_RTU-ASCII插件是通過串口操作從站。隨后還會(huì)添加新的插件支持對(duì)新開發(fā)的產(chǎn)品的操作。
標(biāo)簽: ZOPC_Server ZLG OPC 服務(wù)器
上傳時(shí)間: 2013-10-22
上傳用戶:maricle
單片機(jī)課程設(shè)計(jì)指導(dǎo)教材 主要內(nèi)容:典型單片機(jī)( MCS-51, AT89S51, PIC, Motorola, AVR )的性能,MCS-51內(nèi)部結(jié)構(gòu),特點(diǎn),工作方式,時(shí)序和最小應(yīng)用系統(tǒng).為學(xué)生后續(xù)學(xué)習(xí)單片機(jī)應(yīng)用系統(tǒng)設(shè)計(jì),利用單片機(jī)解決工程實(shí)際問題打下堅(jiān)實(shí)的基礎(chǔ).重點(diǎn)在于基本概念,組成原理,特點(diǎn)及MCS-51的最小應(yīng)用系統(tǒng),難點(diǎn)在于時(shí)序,ISP下載技術(shù).預(yù)備知識(shí):元器件實(shí)物圖單片機(jī)芯片AT89C51AT89S51AT89S52AT89C2051通信芯片MAX232CPE 時(shí)鐘芯片 DS1302EEPROM24C02溫度傳感器18B20AD變換器0832穩(wěn)壓片78L05晶 振電阻和排電阻瓷片小電容零壓力插座萬用焊接板儀器盒步進(jìn)電機(jī)液晶字符顯示屏液晶圖形點(diǎn)陣顯示屏撥動(dòng)開關(guān)紅外遙控用 發(fā)射接受一體管繼電器各類接插件遙控組件超聲波發(fā)射接受頭雙路遙控組件長距離遙控器3000-4000M8×8二極管點(diǎn)陣 八段數(shù)碼管超聲波發(fā)射和接收一體化機(jī)能漢字顯示的顯示屏和實(shí)時(shí)時(shí)鐘板......
標(biāo)簽: 單片機(jī) 設(shè)計(jì)指導(dǎo) 教材
上傳時(shí)間: 2013-11-10
上傳用戶:hebanlian
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1