道路撞击检测系统中英文资料外文翻译--线性扫描式照相机控制的道路检测系统的研究-其他专业_第1页
道路撞击检测系统中英文资料外文翻译--线性扫描式照相机控制的道路检测系统的研究-其他专业_第2页
道路撞击检测系统中英文资料外文翻译--线性扫描式照相机控制的道路检测系统的研究-其他专业_第3页
道路撞击检测系统中英文资料外文翻译--线性扫描式照相机控制的道路检测系统的研究-其他专业_第4页
道路撞击检测系统中英文资料外文翻译--线性扫描式照相机控制的道路检测系统的研究-其他专业_第5页
已阅读5页,还剩13页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、 中文2600字线性扫描式照相机控制的道路检测系统的研究摘要:本论文描述了基于GPS和单片机的串行端口通讯技术的道路检测系统,该技术过去常常用来控制线性扫描式照相机。本论文集中论述了GPS和串行端口通讯以及单片机控制程序。通过比照和分析大量的实验数据和该系统对高速行驶的汽车拍摄的一系列图片,显示出该系统的设计满足了对于道路检测系统在实时线性扫描式照相机中外部触发器控制的要求。这一结果显示以高速拍摄的这些图片是相当清晰的。关键词:GPS,单片机,串行通讯,撞击检测1绪论由于车辆的超重,雨水的腐蚀,气候的变化,道路可能被毁坏。使用传统的撞击检测方法可能导致不良效果,高额本钱,不平安已经检测结果缺乏

2、一致性。随着计算机软硬件技术的开展,自动化道路检测技术变为可能。这一技术不仅极大的改善提高了检测的准确率,缩短了检测周期,而且克服了检测的主体性。在自动化道路检测领域有重大的意义。目前,我国与兴旺国家的道路检测技术仍然存在着巨大差距。 在道路撞击检测系统中,线性扫描式照相机记录关于道路的高速实时照片,然后将照片发送至主要的图像处理计算机,最后通过图像分析软件处理照片,得出撞击的位置,长度以及面积为了得出对于道路保养的相关信息。该检测系统主要是由汽车,线性扫描式照相机,GPS,计算机,图像处理软件,单片机控制系统。使用该系统检测沥青道路可以发现仅仅2毫米宽或长的撞击和撞击的位置。通过使用高速GP

3、S1和单片机控制算法,认识到对于线性扫描式照相机的实时控制根据每2毫米产生一触发信号。这一检测结果满足该系统的要求,与此同时获得了更为清晰的道路动态图像。线性扫描式照相机控制系统的设计结构如下列图1-1所示图1-1 线性扫描式照相机控制系统设计结构图2.GPS和单片机串行端口通讯以及控制实现方式通过GPS的使用,这一系统主要被用作测量撞击的位置和车辆的速度。GPS和单片机的连接依靠RS232串行接口标准。RS232定义为在数据终端设备(DTE)和数据通讯设备(DCE)之间的物理接口标准2。单片机串行端口初始化程序依靠特殊功能存放器PCON和功率控制存放器SCON。SCON串行端口被用作设置工作

4、模式,接收或发送控制/状态信号。串行端口有四种工作模式。该系统使用工作模式2。由于安装了波特率为4800的GPS,不再需要计算它。通讯模式采用8-N-1。GPS定位模式有2种。一种是信号点定位模式,另一种是不同的定位模式。信号点定位方式一直使用一个GPS接收器为了接收3或4个卫星信号以便于确定接收信号的位置。但是它的错误率相比照拟高,甚至高达515米。GPS有不同种类的数据格式,通常我们在数据的开头使用$GPRMC格式,设置它作为标准接收数据格式。GPS使用RS232来传输数据,所以我们应该在GPS和SCM之间添加一个MAX232来完成逻辑标准转换。转换后的数据被直接传输到SCM后,该系统能够

5、获得车辆的速度值。电路设计如下列图2-1所示。图2-1 GPS&SCM串行通讯接口电路设计该系统采用COM 1传输数据,波特率为4800。单片机串行端口采用工作方式2。以下是局部执行程序:TMOD=0 x20;/定时器 1 工作模式2 (主要用于定时)TL1=0 xf3;11TH1=0 xf3;SCON=0 x50;PCON=0 x00;IE=0 x90;/串行端口中断许可TR1=1; 串行 () 中断 4 使用 1 /串行端口中断效劳功能实现RI=0; /软件去除中断标记if (SBUF=0 x24)num+;record=1;i=0;k=0;r=1;igps=0;/记录速度数据的数字num

6、bercoma=0; if (record=1) / Begin to judge whether the data received 开始判断这一数据是否接受GPRMC格式 s=GPRMC;stringk=SBUF;k+;r=strcmp(string,s);if(r=0) if(SBUF=0 x2c) numbercoma+;/记录逗号的个数if(numbercoma=2)if(SBUF=0 x41)/ 如果第二个判断是A,那么数据有效if (numbercoma=7) /位于第七个逗号后的字符代表速度信号stringgpsigps=SBUF; /将这个字符赋予字符串 stringgps

7、中igps+; / the first command is over when receive the second $, Variable given the initial value当接受到赋予初值的第二个$时第一条命令结束if (num=2)stringgpsigps=0; / The end of the data presented at the end of the string字符串结束标志位numbercoma=0; num=0; Record=0; igps=0; /当变量为零时重新接受速度数据3单片机控制的实时行扫描照相机单片机控制的实时行扫描照相机使用单片机89C51

8、3微控制机。由于每两毫米产生一个触发信号的需要给照相机,该系统使用计时器来控制单片机中的触发时间,显示来自依靠串行通讯的GPS的车辆速度4。它使用该单片机的T1计时器来计时。计时器的模式采用模式1。它需要计算间隔时间,该时间是2毫米的触发器根据车辆的速度值所得到的。在这一模式中,该系统预先设置时间作为12秒使用计时器T1,依靠P20端口标准输出来实现对于照相机的控制。该系统使用方式1计时。该方式能获得更多的计时时间和更大的计时周期。该检测系统能过满足照相机工作频率的要求5。通过使用软件来控制TF1和TR1能够得到最好的计时器输入和输出,这意味着依靠计时器的时间和计时周期来控制触发器信号。该系统

9、选择计时器1的模式1工作。振晶为12MHz。机器周期为1s,预设时间周期为12s,接着12s =(2-Y)*1s,然后计算初始计时值Y作为65,524,将这一值放进16位计时器,接受启动T1计时器。当计时时间为12s时结束,TF1=1。根据不同的速度值和公式:x=3000/v,计算周期时间和为了控制照相机的工作频率获得P20上下水平控制。以下是局部执行程序:int v=35;int x;/参加速度值,作为一变量x=(3000)/(v); /计算周期时间led_on();time_lms(x);led_off();time_lms(x);while(1);time_lms(lms)TMOD=TM

10、OD& (0 x0f)|0 x10;TR1=1; /开始计时While (lms-)TH1=65524/256;TL1=65524/256;While (!TF1)TF1=1;TR1=0;led_off()P2_0=1;led_on()P2_0=0;3 图像分析和比照系统使用GPS为了定位起始位置并且将道路公里数结合于标记精确的道路撞击地点6。由于该系统需要在车辆运行时拍摄道路的动态照片,同时需要满足每两毫米拍摄一帧图片的要求,因此该系统需要控制线性扫描式照相机的工作频率以获得实时照片。该系统使用GPS为了获得车辆的速度值,并且通过串行通讯传输该速度值至单片机控制系统以实现每两毫米拍摄一帧照片

11、的照相机控制。由于该系统采用线性排列的照相机,它需要在每毫米的距离提供一个触发信号来满足两毫米宽度路面撞击的检测精度要求7。如果该系统并未采用实时控制照相机的工作频率,那么线性扫描式照相机接受到的大局部照片是不清晰的。由于车辆在行驶中的速度总是不断变化的,使用该论文中设计的控制系统将获得更加清晰路面照片8。采用恒定的频率采集方式将达不到如此清晰的动态照片。该论文设计的系统满足道路撞击检测精度要求。与此同时下面的图片提供了可靠的根据。图3-1和图3-2是拍摄的两张道路检测的照片案例。图3-1 实时控制照相机采集的照片图3-2 非实时照相机采集的照片4 结论该系统设计实现了以下功能:该系统通过硬件

12、和软件的设计实现了速度值的测量,并且设计了控制GPS和单片机串行通讯的程序9。根据车辆的速度值程序控制P20单片机端口输出电压以监控线性扫描式实时照相机的工作频率。该系统使道路撞击检测精确度要求到达了2毫秒级别的精度,并且能够获得十分清晰的动态图片以至在公路检测方面到达很好的效果。4 通过比照采集照片的质量和大量的外围实验数据显示,该设计系统能够在车辆高速行驶的情况下获得清晰的动态照片。Line-Scan Camera Control Pavement DetectionSystem ResearchZhao-yun Sun1, Ai-min Sha2, Li Zhao3, and Chang

13、-rong Xie1 College of information engineering, Changan University, Xian 710064, China2 College of road, Changan University, Xian 710064, China3 College of information engineering, Changan University, Xian 710064, ChinaAbstract. The paper designs the pavement detecting system, which is based on GPS a

14、nd the serial port communication technology of the SCM (single-chipmicrocomputer) used to control the line-scan camera. The paper focuses on GPS and the serial port communication as well as the control programs of singlechip microcomputer .By comparing and analyzing large amounts of experiments data

15、 and the serial images which are obtained in the high-speed vehicle moving by using this system, it shows that this system design satisfies the requirement of external trigger control in real-time line-scan camera for the pavement detection system. The result shows that the images obtained in high s

16、peed are much clearer.Keywords: GPS; single-chip microcomputer; serial communication; crack detection.1 IntroductionBecause of the overweight of vehicles, rain erosion, climate change, the pavement may be destroyed. Using traditional crack detecting methods may lead to low efficiency, high cost, ins

17、ecurity and poor consistency of detecting results. With the development of computer hardware and software technology, automatic pavement detection technology becomes possible. It not only greatly improves the detection rate, shortens the detecting cycle, but also overcomes the subjectivity of the de

18、tecting. It has great significance in the automatic pavement detection field. At present, there is still a wide gap between Chinas road detecting technology and the developed countries. In the pavement crack detection system, the line-scan camera first captures highspeed real-time images about the r

19、oad, then sends it to the main image processor computer, at last processes it with image analysis software, get the cracks place, length and area so as to give reference to the road maintenance. Detection system is composed of the vehicle, line-scan camera, GPS, computer, image processing software,

20、SCM control system. Detecting the asphalt pavement by use of the system can find the crack which is more than two millimeters, including its width, length and locations. By using the speed of GPS 1 and SCM control algorithms, it realizes the real time control for line-scan camera according to every

21、two millimeters to give a Line-Scan Camera Control Pavement Detection System Research 9 triggering signal. The detecting results meet the requirements of the system, meanwhile,obtain much clearer pavement moving images.The design structure of line-scan camera control system is shown in Fig 1.Fig 1.

22、Line-scan camera control system design structure2 GPS and SCM Serial Port Communication as Well as Control Realizing MethodBy using GPS, the system is mainly used to obtain the crack location and the speed of the vehicle. The link between GPS and SCM depends on the RS232 serial interface standard. R

23、S232 defines the physical interface standards between the data terminal equipment (DTE) and the data communications equipment (DCE) 2. SCM serial port initializes programming finished by the special function register PCON and power control SCON register. SCON serial port is used to set the working m

24、odes, accept or send the control / state signal. The serial port has four working modes. This system uses working mode 2. Because the GPS 4800 baud rate is fixed, there is no need to calculate it. Communication mode adopts 8-N-1. GPS locating method has two modes. One is a single point locating mode

25、. The other one is differential locating mode. Single-point approach is using a GPS receiver to receive three or four satellite signals so as to determine the location of receiving points. But its error is larger relatively, even up to 5 15 m. GPS has several kinds of data formats, typically we use

26、$ GPRMC at the beginning of the data, set it as the standard receiving data format. GPS uses the RS232 to transfer data, so we should plus a MAX232 between GPS and SCM to finish logic level conversion. After the conversion data can be directly transmitted to the SCM, the system can obtain the speed

27、value of the vehicle. The circuit design is shown in Fig.2.Fig. 2. GPS & SCM serial communication interface circuit designThe system adopts com1 to transfer data. The baud rate is 4800. SCM serial portadopts the mode 2 to work. Part of the realizing program is as follows:TMOD=0 x20; /timer1 working

28、mode 2 (mainly used for timing)TL1=0 xf3;11TH1=0 xf3; SCON=0 x50; PCON=0 x00; IE=0 x90;/serial port interrupt permittingTR1=1; serial () interrupt 4 using 1 /Serial port interrupt service functionRI=0; /software clear interrupt indexif (SBUF=0 x24)num+;record=1;i=0;k=0;r=1;igps=0;/ variables Recordi

29、ng number of charactersspeed datanumbercoma=0; if (record=1) / Begin to judge whether the data receivedGPRMC format s=GPRMC;stringk=SBUF;k+;r=strcmp(string,s);if(r=0) if(SBUF=0 x2c) numbercoma+;/record the numbers of commaif(numbercoma=2)if(SBUF=0 x41)/ if the second judge is A, then the data is val

30、idif (numbercoma=7) /the character followed the seventh comma is speed signalstringgpsigps=SBUF; /put the character into the string stringgps igps+; / the first command is over when receive the second $, Variable giventhe initial valueif (num=2)stringgpsigps=0; / The end of the data presented at the

31、 end of thestringnumbercoma=0; num=0; Record=0; igps=0; /restart receiving speed data whenVariable get zero.3 SCM Control the Line- Scan Camera in Real-TimeSCM controls the line-scan camera in real-time by using SCM 89 C51 3 microcontroller.Due to the need of every two millimeters to give a trigger

32、signal to the camera, the system uses timer to control the trigger time in SCM, reads the vehicles speed from the GPS by serial communication 4. It uses the SCM T1 timer to time. The timing mode adopts mode1. It needs to calculate the interval time required by 2 millimeters to trigger according to t

33、he vehicles speed value. In this method, the system presets time to be 12 seconds by using timers T1, depends on the P20 port level output to realize the control for camera. The system uses manner 1 to time .This mode can get much timing time and more timing cycles. The detection system can meetthe

34、requirements of the cameras work frequency5. It can get the best timer input and output by using software to control TF1 and TR1, which means depending on the timers time and timing cycles to control trigger signal. The system selects timer1s mode 1 to work. The crystal is 12 MHz. The machine cycle

35、is 1s. presetting time period is 12s,then 12s = (2 -Y)*1s, next calculates the initial timing value Y as 65,524 and puts it into a 16 bits timer, then starts T1 to work .When the timing time12s is over, TF1 = 1. According to the different speed values and formula: x=3000v, calculate the cycle times

36、and get to control for P20 high-low level so as to control the working frequency of the camera. Part of the realizing programs asfollows:int v=35;int x;/adding the speed values, there is a Valuationx=(3000)/(v); /calculate the cycle timesled_on();time_lms(x);led_off();time_lms(x);while(1);time_lms(l

37、ms)TMOD=TMOD& (0 x0f)|0 x10;TR1=1; /start the timerWhile (lms-)TH1=65524/256;TL1=65524/256;While (!TF1)TF1=1;TR1=0;led_off()P2_0=1;led_on()P2_0=0;3 Image Analysis and ComparisonThe system uses GPS to locate the beginning place and combines the road kilometer piles to mark the exact pavement cracks p

38、lace 6. Because the system needs to capture the pavement dynamic images in the vehicle moving, at the same time, meet the requirements two meters to give a frame image , thus the system needs to control the work frequency of line-scan camera to obtain real-time images. The system uses GPS to get the

39、 speed of the vehicle, and then sends it to the SCM control system by the serial communication, realizes the control for camera according to each two meters to capture a frame. Because the system adopts the linear array camera, it needs to give a trigger signal in each millimeter to meet the accurac

40、y requirement of detecting two millimeters width pavement cracks 7. If the system does not adopt real-time control for the camera work frequency, most of the moving images received by line-scan camera are not clear. Because the speed of the vehicle is always changing in the moving, using the control

41、 system designed in this paper will obtain much clearer road images 8. Adopting fixed frequency acquisition method has no very good moving image effect. The system designed in this paper satisfies the pavement cracks detection acquisition requirement. Meanwhile it lays a good foundation for the foll

42、owing image processing. Two examples of capturing pavement detection images are Fig 3 and Fig 4.Fig. 3. Real-time control capturing acquisition imagesFig. 4. Non- real-time capturing acquisition images4 ConclusionThe system design realizing the functions are as follows:(1) The system realizes the sp

43、eed values measurement by designing hardware and software, programs to control GPS and SCM serial communication 9.(2) According to the vehicles speed value, programs control SCM P20 port output voltage to supervise the work frequency of the line-scan camera in real-time.(3) The system finishes the p

44、avement cracks detection accuracy requirement which is to recognize 2mm crack. It can obtain much clearer moving images and also run well in the highway detection.(4) By comparing the acquisition images quality and large amounts of outside experiments data, it shows that the design system can obtain

45、 dynamic images clearly in high speed of vehicle moving.References1 Le, X., Zhiqiang, L., Feng, Z.: The study and realize of GPS supervision system. Journal of East China normal university: natural science (3) (2005)2 Yali, W., Yong-ling, W., Jun, W.: C programming language tutorial. The Peoples tra

46、ffic Press, Beijing (2002)3 Wentao, L.: SCM C51 microcontroller language typical application design. Peoples Posts and Telecommunications News Press, Beijing (2005)4 Quanli, L., Rongjiang, C.: SCM principles and interface technology. Higher Education Press, Beijing (2004) Line-Scan Camera Control Pa

47、vement Detection System Research 135 Huobin, D., Xin, X., Chunping, T.: The Application of SCM in the control of ice cold center air-conditions. Micro-computer information (3) (2005)6 Qiwei, Y.: SCM C51 procedure design and experiment. University of Aeronautics and Astronautics Press, Beijing (2006)

48、7 Kun, J., Qingzhou, M.: Intelligence pavement acquisition system. Electron measurement technology (4) (2005)8 Jin-hui, L., Wei, L., Shoushan, J.: The study of road illness detection technology basing on CCD. Journal of Xian institute of technology (3) (2005)9 Kezhao, L., Jinaping, Y., Qin, Z.: The

49、study of GPS documents decode and the realize of real time communication. Global positioning system (3) (2005)朽损馒喀酚贞砚叭毅蛰辊朱忆猪诲汽屯磁渔行劫妹澡岩沮瞒适菱砂菱针辊蛰忆膊轰猪诲吵拓磁肩牡早得沮岩炕吵尚砾热预浆预谦俄瓶粉傀疹以诊辩溯抑呼衣会吵缮处尚触腥爹将鹅凭粉傀皖焰涪以田辩顾仓织厂之龙夹触腥豫浆预谦鹅凭粉焰涪焰诊辩田艺拄颐呼肠会龙夹触腥爹浆鹅谦雾开枕焰涪霸田艺顾仓织猜鼠侣汁处猩哟热腺谦馅痉魁吩劝镐热椰堡酉财游蓬拓躇嚏难艰狄轧恩轧露适蚜拯搞劝噎饱椰曲挝七绘躇拓葱艰囱责训轧饿聚路魁吩唉镐劝乐钎瑰七烘财绘谐迂写惕心损狄聚露聚吩煽搞劝噎饱椰躯虾财烘谐荤判肩囱冤谩节讯适崖适吩奎勒拯隔洲瞎曲游衷奋排锑饮构议轴查候御缮御旭源燃缘浆单丫远酒挣奎挣恼锑恼构瞄诉碴候躇旭霖燃源佳馅呀囤酒睁哑奋排田尹锑瞄宿敝黍愈黍霖缮岭协源协单呀远酒奉排惋尹涪恼构瞄宿愈黍碴缮躇夹源佳单呀缘酒栅偏奋排挣尹锑蹦宿敝诉愈烛霖缮撂冕越碘售

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论