ImageVerifierCode 换一换
格式:DOCX , 页数:9 ,大小:289.89KB ,
资源ID:1328580      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bingdoc.com/d-1328580.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(基于ARM交通监测设计英语Word下载.docx)为本站会员(b****2)主动上传,冰点文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰点文库(发送邮件至service@bingdoc.com或直接QQ联系客服),我们立即给予删除!

基于ARM交通监测设计英语Word下载.docx

1、designed with the core of LPC2138 has been describedin detail. And the function of each hardware modulehas been analyzed. For bad experiment environmentand various interference factors, anti-interferencemeasures have been considered and introduced intosoftware and hardware design. Hardware implement

2、ation and software flow of control unit havebeen described in detail. The result of the systemapplication shows that, compared to traditional control units with the core of singlechip, the control unit have characteristics of better information handling ability, faster speed , and better communicati

3、on ability etc. The main function of the traffic detection system is to examine the speed, the flow, the vehicle type and the lane occupancy of the motor vehicles. The method based on ARM embeddedsystem in this paper provides a new means for thetraffic detection system research. Finally the prospect

4、 for further research is presented.1. IntroductionAlong with global economic development, the research of the traffic intelligent monitoring becomesone of the research focuses of countries. Through thereal-time collection, transmission and processing of the related traffic information, the current t

5、raffic operationstatus is grasped and future traffic condition is forecast.And with the aid of various equipment and means, different traffic conditions are dealt with. Also throughpowerful information communication means, thetraffic information will be learnt by users rapidly. Thus, traffic efficie

6、ncy and safety are effectivelyimproved, traffic facilities are fully utilized, and thetraffic intensive development is realized. Road trafficdetection system, specially its control unit is the keylink of the research of the intelligence transportation system (ITS. The ARM embedded processor2 as a ki

7、nd of 32 bits RISC chip with high performance and low power has the characteristics of supporting multi-operation system, high main frequency, and strong operation and processing ability etc. It also has mass and low price SDRM data memory. This article takes ARM rather than traditional singlechip a

8、s the detection signal transmission processing module to design road traffic detection system. It provides a better thinking for thefurther research and a wider application space. 2. Detection Algorithm The conventional single-coil detector can detect the vehicle flow and the lane occupancy in a per

9、iod of time. To each lane buried coil, the definitions of the two basic parameters are as follows 3, T NQ = (1 =N j jiN j j v l T t T O 1111 (2 Where, Q is vehicle flow; O is lane occupancy in sampling period T ; N is the sum of vehicles passing through in the sampling period; j t is the used time o

10、f the jth vehicle passing through the coil; j l is effective vehicle length of the jth vehicle or the sum of the loop length and the vehicle length; and j v is the jth vehicles speed. To the traffic management and the control, the vehicle speed is a key parameter to respond roadconditions and questi

11、ons appears in traffic. But the conventional single-coil detector cannot measure vehicle speed. Therefore double loops are used to measure vehicle speed. It also can measure vehicle 2008 International Conference on Intelligent Computation Technology and Automationlength etc. to be applied in fuzzy r

12、ecognition of vehicle types. The principle of measuring the vehicles speed andlength based on double loops is as shown in Fig. 1.Fig. 1 Principle graph of measuring the vehicles speed andlengthMeasure the time interval 0t for vehicle from the loop1 to loop2, and the time 1t from entering to leaving

13、the loop2. For the loops width is 0l and the loop space is 1l , so the vehicle speed is 6010/ (t l l v += (3And the vehicle length is2( (1010l l t t v L += (43. Hardware DesignThe main function of the coil traffic detection system is to examine the speed, the flow, the vehicle type and the lane occu

14、pancy of the motor vehicles. It also can control the functions of information display, system detection and scheduling of the variable information board in monitoring system through detection signal 1. Thus, it is widely applied in the situations of expressway toll-gate, expressway security bayonet,

15、 expressway ramp control, urban intersection red-light-running monitoring and urban intersection traffic signal control5 etc. The coil traffic detection system selected for this study is composed of loop-coil vehicle detector system and host computer controlsystem. The system diagram is as shown in

16、Fig. 2.Fig. 2 Traffic detection system diagramThe loop-coil is usually realized by several cable lines enwinding. Its size is 21.5 meters. The loop-coil is connected to the vehicle detector module through wiring terminal. It constitutes the LC oscillation circuit to detect vehicles passing condition

17、. A 5V power source and double-lanes loop-coil vehicle detection module is included in the vehicle detector. The communication between the vehicle detector and PC apply the RS232 or RS485 according to actual system situation. The main function of the vehicle detector is to monitor each traffic lanes

18、 traffic condition, carry out data acquisition and processing, as well as failure detection etc. The major function of the host computer control system is to realize the field set of the vehicles detectors working parameters. Simultaneously, it can inquire and receive the traffic data from the lower

19、 computer.According to the demand and application environment of the traffic detection system, and comprehensively considering the factors of performance price ratio and chip resources, the high-performance 32bits LPC2138 is chosen. LPC2138 is a microcontroller of PHILIPS Corporation. It is based on

20、 a 16 /32 bit ARM7TDMI-STM CPU 2 and has a 152KB high speed embedded flash memory. The ARM7TDMI-S TM CPU can carry out real-time simulation and embedded trace. 128 bits memory interface and the unique accelerating structure enable 32 bits codes to run under the maximum clock rate. To the application

21、 with strict demand of code size, the 16 bits Thumb pattern can be used to reduce the code size above 30%, but the performance loss is a little.The hardware constitution of the control unit of the traffic detection system is shown in Fig. 3. Human-machine interface module is composed of LED display,

22、 dial switch input and reset button input. 8 bits LED lamp is used to display the detection parameters and various lanes working states. The dial switch is used to set up detection parameters, and the reset button realizes the manual chip reset function.Digital I/O module is constituted with 4-path

23、optical-isolation inputs. The optical-isolation chip isapplied with 4 pieces of dip TPL521. A piece of LM393 is used to transfer the sine calibrate signal produced by oscillation circuit into the 3.5V square-wave signal. Then the signal is sent to CPLD. The 5V DC power is input from the interface Pl

24、ug1. The diode IN1 is used to limit the transient current and filter. Then the power will be constant to 3.3V through the LM1117/3.3. The voltage amplitude of the wave reshaped is about 3.3V, which meets our requirement. LDO chip is of the series M1117. Its output current may reach 800mA and the pre

25、cision of its output voltage may less than 1%. It also has the function of current limitation and hot protection. In application, a tantalum capacitor above 10 F is usually necessary to connect with the output end. It can improve the transient response and stability 6.To transplant embedded real-tim

26、e operation system in ARM can make the detector conveniently realize Multi-lane information collection and processing simultaneously. It also can improve the system reliability and give full play to multi-mission potential of the 32 bits CPU.Fig. 3 Hardware diagram of control unit4. Software design

27、for ARMThe main functions of ARM are to read the counters value of the CPLD and calculate the time of vehicles passing through the loop. Then it will carry on the processing to the values of shift and character translation etc. And send the values processed to the host computer by serial port.The ti

28、ming process of ARM is that, (1when vehicle arrives at loop1, a activate signal presents a negative pulse to make the ARM timer start timing;(2 another signal presents a negative pulse to make ARM timer stop timing. Then the time values obtained will be sent to PC through the serial port.The process

29、 reading CPLD counters values for ARM is that, when the CPLD counting finished (DatebusOk=0, ARM reads the CPLD countersvalues through its 8-bit data lines. The data will be carried out classification processing and stored in the buffer area. When the data number in the buffer reached the setting ma

30、ximum, the data will be transmitted to PC through the serial port by ARM.The entire working process of ARM shows in Fig. 4.Fig. 4 Program flow chart.In the software anti-interference design, the internal watch-dog of the LPC2138 is used and initializing program of the watch-dog is as follows, WDTC =

31、 0x10000; WDMOD = 0x03; Void WdFeed(void WDFEED = 0xAA; WDFEED = 0x55; The anti-hunting program is introduced in the judgment of the input pins condition for ARM. It is to prevent the misreading caused by the signal shaking. Anti-hunting program is that, void WaitSignal(void uint32 i; While (1 while (IO0PIN&DateOK!=0;for(i=0;i5000;i+; /soft delay, anti-hunting if(IO0PIN&=0break;while(IO0PIN&=0;

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2