【正文】
計 小車的電源是四節(jié) AA 干電池。紅外線探測和相機(jī)拍攝探測被廣泛用在這里。這里我們選擇紅外線探測。然后 ARM7 芯片檢測水平跨越并執(zhí)行之前預(yù)備的矯正程序去把小車引航回軌道上。 軟件設(shè)計的關(guān)鍵在于跟蹤的控制過程。KT 板的中間應(yīng)有一條兩厘米寬的黑色導(dǎo)航線。它特別有助于開發(fā)當(dāng)前中 國大學(xué)生的想象力,實用能力,團(tuán)隊意識,以及高科技創(chuàng)新能力。傳感器的垂直高度最好為 5~8mm。黑色導(dǎo)航線的低電平和白色地板磚的高電平都將被檢測出來。 JLink 是一種 JTAG 仿真器,是美國 SEGGER 為了給 ARM 核心提供仿真芯片而生產(chǎn)出來的。 四個跟蹤傳感器 全部被安裝在一條線上,其中 L1 和 R1 是控制方向的主要傳感器; L2 和 R2 是次要傳感器。 相機(jī)拍攝探測:通過隔行掃描,以特定分辨率來抽樣檢驗圖像,當(dāng)掃描到一個點時,圖像傳感器會將灰度閾值轉(zhuǎn)換成相應(yīng)的電壓,然后再通過視頻信號端口將電壓輸出。 、檢溫器模塊 單向數(shù)字測溫傳感器 DS18B20 是用于檢測小車內(nèi)部溫度。該處理機(jī)帶有一個基于 ARM7 TDMIS 核心的 32 位低能 RISC 微型處理芯片,同時被嵌入了 64KB SRAM, 256KB 高速閃光存儲 器和 JTAG 端口以供程序的下載與調(diào)試。硬件設(shè)計采用模塊化方法。 Technology University Beijing 100192 China) Abstract: The paper presents a design of an intelligent car controller using embedded ARM7 chips as core ponent. Modular method has been applied in the design of the hardware。 the paper focuses on layout of tracking circuit for the car and design ideas for the software. The experiment result proves that the designed intelligent car is stable in operation and good in tracking performance. Keywords: ARM Intelligent Tracking 1 、 Introduction In the 21st century, with development of science and technology, researches on intelligent car and its correlative techniques have bee the focus in this field. Aiming to enhance practical ability, innovation, and teamwork performance of college students across the country, the Education Department sponsored National Undergraduate Intelligent Car Contest. Based on the background, the paper introduces the design of multifunctional intelligent car controller on embedded platform, including design of hardware circuit and software implementation for key functional modules. Design of hardware By function and application, the controlling platform for the intelligent car is divided into several modules as shown below. Design of core module AT91SAM7S256 microprocessor produced by ATMEL has been adopted for the controller of the car, which a 32bit lowpower RISC microprocessor chip based on ARM7 TDMIS core, and embedded with 64KB SARM, 256KB highspeed Flash and JTAG port for downloading or debugging of the program. As the core ponent of the car, the microprocessor plays a key role in controlling all running statuses of the car. PWM generating module inside it can be change duty cycle of outputted square wave by programming, and thus change the voltage loaded on the DC motor, which is amplified to control the revolution speed of the motor. The ports PA0, PA1, PA2 and PA3 of the PWM module respectively control