首先研究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
介紹基于ISA總線與KH-9300的數(shù)據(jù)采集板卡的設(shè)置,詳細(xì)說明8254定時(shí)計(jì)數(shù)器及8259中斷控制器的結(jié)構(gòu)特點(diǎn)、工作方式、控制字等,探討中斷類型、中斷處理程序、中斷矢量表及其填寫。重點(diǎn)講述使用TorboC編寫中斷服務(wù)程序的方法,應(yīng)注意的主要問題及程序測(cè)試的結(jié)果。 Abstract: The settings of KH-9300 data acquisition board based on the ISA bus is introduced,the structural characteristics,working Methods,control characters of the timing counter 8254 and interruptioncontroller 8259 are explained in detail.The interruption type,interrupt handling programs,interruption vector table and its filling also are discussed.Further,great emphasis is put on the method of interrupt service program compiled by Torbo C,the main issues that should be noted,and the results of program testing.
上傳時(shí)間: 2013-11-14
上傳用戶:qq527891923
在開放式數(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)用程序之間的通信,簡(jiǎn)要說明了驅(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ì)汽車電源的沖擊影響,延長(zhǎng)了電瓶壽命。 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
針對(duì)材料試驗(yàn)機(jī)等設(shè)備中要求測(cè)量或控制材料拉伸或壓縮的位移,一般采用光電軸角編碼器檢測(cè)位置信號(hào),輸出正交編碼脈沖信號(hào)。若采用其他方法檢測(cè)位置信號(hào),必然導(dǎo)致電路設(shè)計(jì)復(fù)雜,可靠性降低。因此,提出一種基于LS7266R1的電子式萬能材料試驗(yàn)機(jī)設(shè)計(jì)方案。給出了試驗(yàn)機(jī)中的控制器工作原理,LS7266R1與單片機(jī)的接口硬件設(shè)計(jì),以及主程序軟件流程圖。巧妙地把力量傳感器,位移傳感器等機(jī)械運(yùn)動(dòng)狀態(tài)的壓力或拉力以及位置坐標(biāo),變成了電壓信號(hào)和電脈沖數(shù)字信號(hào),供A/D測(cè)量和LS7266R1計(jì)數(shù),從而實(shí)現(xiàn)了獨(dú)立完成材料試驗(yàn)控制或通過PC機(jī)串口命令完成材料試驗(yàn)控制。 Abstract: Aiming at the requirement that the displacement of the tension and compression always be tested and controlled in the equipement such as material testing machine. The position signal was tested by photoelectric axial angle coder. Therefore, the paper proposes the design of electronic universal testing machine design based on LS7266R1. If the position signal detected by other Methods, will inevitably lead to the circuit design complexity, reliability decreased. The work theory of the controller, the hardware interface design between LS7266R1 and single chip, and the flow chart of main program, are presented in this paper. The signal of the compression or tension power and displacement at working, which tested by power sensor and displacement sensor especially, is changed into electric voltage and electric pulse numerical signals. And these signals can be tested by A/D and counted by LS7266R1. Finally the test of the material properties can be controlled by itself, or controlled by the COM command of PC.
上傳時(shí)間: 2013-11-02
上傳用戶:yl1140vista
介紹了電力操作電源與智能電池巡檢系統(tǒng)的特點(diǎn),給出了一種基于超低功耗單片機(jī)MSP430 F149針對(duì)中小型變電站自動(dòng)化運(yùn)行的專用設(shè)備的基本設(shè)計(jì)原理及實(shí)現(xiàn)方法,最后給出了詳細(xì)硬件構(gòu)成和軟件實(shí)現(xiàn)。該系統(tǒng)能滿足中小型變電站安全、可靠、自動(dòng)運(yùn)行的要求,并通過與上位機(jī)的串行通信實(shí)現(xiàn)變電站的遠(yuǎn)程管理和控制。 Abstract: The characters of the intelligent battery data logging system of the electric operation power are introduced.The basic design principle and the implemented Methods of the special equipment which only designed for the middle or small transformer substation based on MSP430F149 are prescribed. Finally, the hardware block diagram and the software flow chart are also given. The function that the system finally needs to realize can basically meet with the middle or small transformer substation’s satisfy, reliably,and automatic running.And it can also realize the transformer substation long-distance management and control by serial communicating with the host computer.
上傳時(shí)間: 2013-11-25
上傳用戶:黃華強(qiáng)
The HCS12X family is the successor to the HCS12family, with many additional features. One new feature isthe increased memory available to the CPU and theMethods available to access it. This document focuses onthe improved memory map configuration.
上傳時(shí)間: 2013-11-13
上傳用戶:王者A
Luminary Micro provides an analog-to-digital converter (ADC) module on some members of theStellaris microcontroller family. The hardware resolution of the ADC is 10 bits; however, due to noiseand other accuracy-diminishing factors, the true accuracy is less than 10 bits. This application noteprovides a software-based oversampling technique, resulting in an improved Effective Number OfBits (ENOB) in the conversion result. This document describes Methods of oversampling an inputsignal, and the impact on precision and overall system performance.
標(biāo)簽: Oversampling Techniques ADC fo
上傳時(shí)間: 2013-12-17
上傳用戶:zhyiroy
Luminary Micro Stellaris™ microcontrollers that are equipped with an analog-to-digital converter(ADC), use an innovative sequence-based sampling architecture designed to be extremely flexible,yet easy to use. This application note describes the sampling architecture of the ADC. Sinceprogrammers can configure Stellaris microcontrollers either through the powerful StellarisFamilyDriver Library or through direct writes to the device's control registers, this application note describesboth Methods. The information presented in this document is intended to complement the ADCchapter of the device datasheet, and assumes the reader has a basic understanding of howADCsfunction.
標(biāo)簽: Microcontr Stellaris Using the
上傳時(shí)間: 2013-10-14
上傳用戶:blans
The μPSD32xx family, from ST, consists of Flash programmable system devices with a 8032 MicrocontrollerCore. Of these, the μPSD3234A and μPSD3254A are notable for having a complete implementationof the USB hardware directly on the chip, complying with the Universal Serial Bus Specification, Revision1.1.This application note describes a demonstration program that has been written for the DK3200 hardwaredemonstration kit (incorporating a μPSD3234A device). It gives the user an idea of how simple it is to workwith the device, using the HID class as a ready-made device driver for the USB connection.IN-APPLICATION-PROGRAMMING (IAP) AND IN-SYSTEM-PROGRAMMING (ISP)Since the μPSD contains two independent Flash memory arrays, the Micro Controller Unit (MCU) can executecode from one memory while erasing and programming the other. Product firmware updates in thefield can be reliably performed over any communication channel (such as CAN, Ethernet, UART, J1850)using this unique architecture. For In-Application-Programming (IAP), all code is updated through theMCU. The main advantage for the user is that the firmware can be updated remotely. The target applicationruns and takes care on its own program code and data memory.IAP is not the only method to program the firmware in μPSD devices. They can also be programmed usingIn-System-Programming (ISP). A IEEE1149.1-compliant JTAG interface is included on the μPSD. Withthis, the entire device can be rapidly programmed while soldered to the circuit board (Main Flash memory,Secondary Boot Flash memory, the PLD, and all configuration areas). This requires no MCU participation.The MCU is completely bypassed. So, the μPSD can be programmed or reprogrammed any time, anywhere, even when completely uncommitted.Both Methods take place with the device in its normal hardware environment, soldered to a printed circuitboard. The IAP method cannot be used without previous use of ISP, because IAP utilizes a small amountof resident code to receive the service commands, and to perform the desired operations.
標(biāo)簽: Demonstration 3200 USB for
上傳時(shí)間: 2014-02-27
上傳用戶:zhangzhenyu
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1