<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">WJET</journal-id><journal-title-group><journal-title>World Journal of Engineering and Technology</journal-title></journal-title-group><issn pub-type="epub">2331-4222</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/wjet.2015.33C007</article-id><article-id pub-id-type="publisher-id">WJET-60475</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Chemistry&amp;Materials Science</subject><subject> Engineering</subject></subj-group></article-categories><title-group><article-title>
 
 
  Study on Environment Perception and Automatic Navigation Technology for the Automatic Parking System
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Yibing</surname><given-names>Zhao</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Jining</surname><given-names>Li</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Yuan</surname><given-names>Yang</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff2"><addr-line>The Digital Arts Department, Dalian Neusoft Institute of Information, Dalian, China</addr-line></aff><aff id="aff1"><addr-line>Department of Vehicle Engineering, State Key Laboratory of Structural Analysis for Industrial Equipment, Dalian University of Technology, Dalian, China</addr-line></aff><pub-date pub-type="epub"><day>22</day><month>10</month><year>2015</year></pub-date><volume>03</volume><issue>03</issue><fpage>46</fpage><lpage>51</lpage><history><date date-type="received"><day>26</day>	<month>June</month>	<year>2015</year></date><date date-type="rev-recd"><day>accepted</day>	<month>15</month>	<year>October</year>	</date><date date-type="accepted"><day>22</day>	<month>October</month>	<year>2015</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
   The traffic accidents, traffic jams and parking problems come to appear, and have caused more and more concerns of people. The automatic parking system can help us a lot to solve these problems. The automatic parking system in this paper includes two sections, environment perception and automatic controller. The median filter and least square method are used to process the laser sensor data. Then, feasible parking space can be displayed by using K-means clustering method. The Matlab fuzzy GUI is used to establish the fuzzy controller. The kinematics equation of car is utilized to simulate the automatic vertical parking in the Matlab/simulation with the different initial path angles. Experiment results show that the environmental perception method has perfect performance and the controlling algorithm of the automatic parking system has good feasibility. 
 
</p></abstract><kwd-group><kwd>Environment Perception</kwd><kwd> Automatic Navigation</kwd><kwd> Automatic Parking System</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>With the increase of the cars, most cities are facing a series of problems such as the traffic jams, parking difficulties and the imperfect road traffic management facilities [<xref ref-type="bibr" rid="scirp.60475-ref1">1</xref>]. According to statistics, the accidents caused by parking account for about 30% in China and 20% in America. The traffic administrative departments have advised owners to install multi-curvature rear-view mirror to reduce the blind areas and improved the vehicle’s safety performance. In order to ensure the safety of the parking, most automobile manufacturers have studied many parking assist systems.</p><p>In 2007, the Lexus first equipped intelligent Parking Assist System APGS (Advanced Parking Guidance System) in LS460L. The system can help the drivers complete parallel and vertical parking successfully. As the new ESO and Tiguan entered China in 2011, the Volkswagen’s second generation automatic parking assist system use the ultrasonic sensor to detect the parking space by scanning road on both sides and prompt drivers to change to reverse gear. If the accelerator and brake are controlled very good, the parallel and vertical parking will be achieved easily with the help of automatic parking system. In 2013, Ford posted a system that achieved the real “automatic”, it didn’t need drivers to control the speed, braking, etc [<xref ref-type="bibr" rid="scirp.60475-ref2">2</xref>]. In 2015, the automatic parking system of Cruze’s DCG flagship version came out, this system can achieve the automatic vertical and parallel parking completely based on infrared and ultrasonic radar sensors [<xref ref-type="bibr" rid="scirp.60475-ref3">3</xref>].</p></sec><sec id="s2"><title>2. Sensor Information Processing for Automatic Parking Environment Perception</title><sec id="s2_1"><title>2.1. Laser Data Pre-Processing</title><p>There are some flawed sensor data because of the sensor’s precision and environmental disturbances. That is, errors about ambient information that affect the accuracy of path planning caused by the mismatch of data acquired by sensor and the actual environment. In order to improve accuracy of environment recognition, for most sensor data, data preprocessing is required before data analysis. The preprocessing by using the least square method and the median filtering algorithm is applied in this paper.</p><p>Median Filtering Algorithm: The main idea of Median filtering is to is to run through the data in a digital image entry by entry, finding the median of neighboring entries and replacing each entry with it. The data points of a digital image or a set of data were sorted and replaced according to this principle.</p><p>Least Square Method: The Least Square Method is a standard approach in regression analysis. Setting (x<sub>i</sub>, y<sub>i</sub>) (i = 0, 1, ⋯, m) for points of a dataset and w<sub>i</sub> &gt; 0 (i = 0, 1, ⋯, m) for the weight coefficient of each point. In function space S = span{φ<sub>0</sub>(x), φ<sub>1</sub>(x), ⋯, φ<sub>n</sub>(x)}, and ask for S<sup>*</sup>(x) in the Formula (1)satisfy the Formula (2).</p><disp-formula id="scirp.60475-formula182"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/60475x4.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.60475-formula183"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/60475x5.png"  xlink:type="simple"/></disp-formula><p>The method of acquiring function S<sup>*</sup>(x) is called least square method of data fitting.</p><p>As we can see from <xref ref-type="fig" rid="fig1">Figure 1</xref>, median filtering can filter a small amount of noise data (as shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>(b)), and the data smoothing could be much better by using the least square method together.</p></sec><sec id="s2_2"><title>2.2. Parking Space Detection Based on k-Means Algorithm</title><p>The basic principle of K-Means clustering is elaborated as [<xref ref-type="bibr" rid="scirp.60475-ref4">4</xref>]: Firstly, k initial “means” are randomly generated within the data domain, Then, k clusters are created by associating every observation with the nearest mean. Finally, the centroid of each of the k clusters becomes the new mean. For example, the dataset is set as</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/60475x6.png" xlink:type="simple"/></inline-formula>.</p><p>Step 1: K1 [Initialization]: k data points {c<sub>1</sub>, c<sub>2</sub>, …, c<sub>k</sub>}of dataset <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/60475x7.png" xlink:type="simple"/></inline-formula> are selected as the initial cluster centers.</p><fig-group id="fig1"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> Contrast figure of data processing. (a) Raw laser data; (b) Processed by median filtering; (c) Processed by least square method.</title></caption><fig id ="fig1_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/60475x10.png"/></fig><fig id ="fig1_2"><label> (c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/60475x9.png"/></fig><fig id ="fig1_3"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/60475x8.png"/></fig></fig-group><p>Step 2: K2 [Assign x<sub>i</sub>]: Calculating the distance d<sub>ij</sub>, j = 1, 2, …, k from {[x<sub>i</sub>], i = 1, 2, ⋯, n} to each initial cluster center {c<sub>1</sub>, c<sub>2</sub>, …, c<sub>k</sub>}, the data x<sub>i</sub> are classified into the nearest class.</p><p>Step 3: K3 [Revise c<sub>i</sub>]: The new class cluster center of each class is acquired through calculating the average of all the data in each class.</p><p>Step 4: K4 [Deviation calculation]: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/60475x11.png" xlink:type="simple"/></inline-formula></p><p>Step 5: K5 [Whether the D is convergent]: If D is convergent, the whole algorithm will end. Otherwise, it returns to K2 until convergence has been reached.</p><p>The parking space detection result is shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p></sec></sec><sec id="s3"><title>3. Fuzzy Controller Design for Automatic Parking System</title><sec id="s3_1"><title>3.1. Establishment of Vehicle Kinematic Model</title><p>The environment perception coordinate system of automatic parking system includes the global coordinate and the vehicle coordinate system. The origin of vehicle coordinate system is set to the midpoint of the rear axle. X-axis is projected to the vehicle rear axle and directs right, and Y-axis lies in the vehicle longitudinal axis and directs forward. The midpoint of the rear axle serves as the coordinates of the vehicle position in the global coordinate system. The course angle of the vehicle is shown as the direction of the vehicle and donated by (<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/60475x12.png" xlink:type="simple"/></inline-formula>). Course angle is defined as the intersection angle between the vehicle longitudinal axis and the global X-axis, and the positive direction is counterclockwise, which is shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>.</p><disp-formula id="scirp.60475-formula184"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/60475x13.png"  xlink:type="simple"/></disp-formula><p>Regarding the vehicle as a rigid body with low speed and assuming vehicle movement direction is consistent with the movement direction of rear wheels, and the motion trajectory of rear wheels could be considered as the motion trajectory of the vehicle body. Under this condition, the center coordinate of the rear wheel axis <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/60475x14.png" xlink:type="simple"/></inline-formula></p><fig-group id="fig2"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> Parking space detection based on K-means clustering method. (a) Pre-processed laser data; (b) Obstacle detection result; (c) Parking space detection.</title></caption><fig id ="fig2_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/60475x15.png"/></fig><fig id ="fig2_2"><label> (c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/60475x16.png"/></fig><fig id ="fig2_3"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/60475x17.png"/></fig></fig-group><fig id="fig3"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> The vehicle coordinate system</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/60475x18.png"/></fig><p>can be considered as vehicle body’s coordinate and the trajectory of the vehicle can be expressed by<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/60475x19.png" xlink:type="simple"/></inline-formula>.</p></sec><sec id="s3_2"><title>3.2. The Fuzzy Control Simulation of Vertical Parking System</title><p>The membership function of each input and output and the parameter settings of fuzzy controller is elaborated in literature [<xref ref-type="bibr" rid="scirp.60475-ref5">5</xref>]. The driver needs to stop the vehicle initially before starting the automatic parking system. But it is very difficult for most people to make the vehicle body parallel to the lane direction perfectly at initial point. Even if the body course angle is zero, the initial course angle <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/60475x20.png" xlink:type="simple"/></inline-formula> of body should be controlled between −10˚ - 10˚. Three different kinds of simulation results are shown below when the initial course angle <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/60475x20.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/60475x21.png" xlink:type="simple"/></inline-formula> is −10˚, 0˚ and 10˚ respectively.</p><p>Red rectangle represents the car model in <xref ref-type="fig" rid="fig4">Figure 4</xref> and the black thick solid line represents the border of the parking space. It is said in <xref ref-type="fig" rid="fig4">Figure 4</xref> that the vehicle won’t encounter the border in the process of reversing. The course angle of the vehicle body is 90˚ at the end of automatic parking. The change curve of the vehicle course angle is shown in <xref ref-type="fig" rid="fig5">Figure 5</xref>.</p><p>If q = 10˚, movement track of vehicle and the change curve of the vehicle course angle are shown in <xref ref-type="fig" rid="fig6">Figure 6</xref> and <xref ref-type="fig" rid="fig7">Figure 7</xref>.</p><p>When the initial course angle is 10˚, it is necessary for successfully parking to keep unchanged course angle for a period of time, then gradually increase its value when the vehicle close enough to the parking space, as it is shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>. The vehicle has been parked successfully as shown in two figures below and the eventually course angle is 90˚.</p><p>If q = −10˚, movement track of vehicle and the change curve of the vehicle course angle are shown in <xref ref-type="fig" rid="fig8">Figure 8</xref> and <xref ref-type="fig" rid="fig9">Figure 9</xref>.</p><p>When the initial course angle q = −10˚, the course angle should be increased obviously to make the automobile aligned quickly. The simulation results are shown in <xref ref-type="fig" rid="fig8">Figure 8</xref> and <xref ref-type="fig" rid="fig9">Figure 9</xref>.</p><p>Compared three different kinds of parking simulation results. We can draw the conclusion that the parking simulation is best when q = 0˚. When q is −10˚ or 10˚, the parking simulation result is not as better as q = 0˚.</p><fig id="fig4"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> q = 0˚, movement track of vehicle when vertical parking</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/60475x22.png"/></fig><fig id="fig5"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> q = 0˚, the change curve of the vehicle course angle</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/60475x23.png"/></fig><fig id="fig6"  position="float"><label><xref ref-type="fig" rid="fig6">Figure 6</xref></label><caption><title> q = 10˚, movement track of vehicle when vertical parking</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/60475x24.png"/></fig><fig id="fig7"  position="float"><label><xref ref-type="fig" rid="fig7">Figure 7</xref></label><caption><title> q = 10˚, the change curve of the vehicle course angle</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/60475x25.png"/></fig><fig id="fig8"  position="float"><label><xref ref-type="fig" rid="fig8">Figure 8</xref></label><caption><title> q = −10˚, movement track of vehicle when vertical parking</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/60475x26.png"/></fig><fig id="fig9"  position="float"><label><xref ref-type="fig" rid="fig9">Figure 9</xref></label><caption><title> q = −10˚, the change curve of the vehicle course angle</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/60475x27.png"/></fig></sec></sec><sec id="s4"><title>4. Conclusions</title><p>Next key point is to establish the vehicle kinematic model and design the fuzzy controller for automatic parking system, then carry out simulation on both the automatic vertical parking and parallel parking process. This section firstly established automobile kinematic model by using Arman kinematic model and simplified the vehicle dynamics model during the parking process. The second step is to gain the appropriate membership functions and fuzzy rules in fuzzy toolbox of Matlab. Setting the coordinate of the vehicle (x, y, q) as the inputs and the front wheel steering angle as the output of the fuzzy controller. The simulation results showed the perfect feasibility and real-time.</p><p>Since the parking simulation results are acquired based on the assumption of low speed station, the Arman vehicle dynamics model is employed in actual situation instead of the kinematic model. So improving the model and carrying out related research sunder other speed conditions need further works.</p></sec><sec id="s5"><title>Cite this paper</title><p>Yibing Zhao,Jining Li,Yuan Yang, (2015) Study on Environment Perception and Automatic Navigation Technology for the Automatic Parking System. World Journal of Engineering and Technology,03,46-51. doi: 10.4236/wjet.2015.33C007</p></sec><sec id="s6"><title>NOTES</title></sec></body><back><ref-list><title>References</title><ref id="scirp.60475-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Shao, B. (2013) Research of Environment Perception for Automatic Parking System Based on Laser Scanner. Dalian University of Technology.</mixed-citation></ref><ref id="scirp.60475-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">http://www.chexun.com/2013-04-21/101827358.html</mixed-citation></ref><ref id="scirp.60475-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">http://v.bitauto.com/vplay/345284.html</mixed-citation></ref><ref id="scirp.60475-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Na, S., Liu, X.M. and Yong, G. (2010) Research on k-Means Clustering Algorithm: An Improved k-Means Clustering Algorithm. 2010 Third International Symposium on Intelligent Information Technology and Security Informatics (IITSI), Jinggangshan, 2-4 April 2010, 63-67. http://dx.doi.org/10.1109/IITSI.2010.74</mixed-citation></ref><ref id="scirp.60475-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Wang, H. (2014) The Research of Environment Perception Technology for Automatic Parking Based on Laser Scanner, The Master Degree Dissertation, Dalian University of Technology, Dalian.</mixed-citation></ref></ref-list></back></article>