Next Article in Journal
Computation of Compact Distributions of Discrete Elements
Previous Article in Journal
A Hybrid Adaptive Large Neighborhood Heuristic for a Real-Life Dial-a-Ride Problem
Previous Article in Special Issue
Data Analysis, Simulation and Visualization for Environmentally Safe Maritime Data
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An INS-UWB Based Collision Avoidance System for AGV

1
Faculty of Electrical Engineering and Computer Science, Ningbo University, Ningbo 361102, China
2
Ningbo Cigarette Factory, China Tobacco Zhejiang Industrial Co., Ltd., Hangzhou 315500, China
3
International Business Department, China Tobacco Zhejiang Industrial Co., Ltd., Hangzhou 310008, China
*
Author to whom correspondence should be addressed.
Algorithms 2019, 12(2), 40; https://doi.org/10.3390/a12020040
Submission received: 20 December 2018 / Revised: 9 February 2019 / Accepted: 13 February 2019 / Published: 18 February 2019
(This article belongs to the Special Issue Modeling Computing and Data Handling for Marine Transportation)

Abstract

:
As a highly automated carrying vehicle, an automated guided vehicle (AGV) has been widely applied in various industrial areas. The collision avoidance of AGV is always a problem in factories. Current solutions such as inertial and laser guiding have low flexibility and high environmental requirements. An INS (inertial navigation system)-UWB (ultra-wide band) based AGV collision avoidance system is introduced to improve the safety and flexibility of AGV in factories. An electronic map of the factory is established and the UWB anchor nodes are deployed in order to realize an accurate positioning. The extended Kalman filter (EKF) scheme that combines UWB with INS data is used to improve the localization accuracy. The current location of AGV and its motion state data are used to predict its next position, decrease the effect of control delay of AGV and avoid collisions among AGVs. Finally, experiments are given to show that the EKF scheme can get accurate position estimation and the collisions among AGVs can be detected and avoided in time.

1. Introduction

Due to the development of industrial technology, AGV has been widely used in many applications [1,2]. Positioning technology is an important technology of AGV. However, traditional positioning technologies have some drawbacks, such as hardware requirements, poor flexibility and difficulties with complex working environments [3].
Despite many navigation methods for AGV having been proposed, accurate positioning is still a very important task [4]. The electromagnetic-based guidance system for AGV [5] presents some inconvenience such as maintenance and modifications. As an effective autonomous navigation technology, INS provides complete navigation information but requires external information to provide high positioning accuracy [6]. Laser-based navigation systems provide not only the position of the AGV but detect the presence of obstacles in the path [7]. However, they cannot be used in non-line-of-sight (NLOS) scenarios. Vision-based navigation systems obtain information of the AGV surroundings by means of image processing techniques [8], providing high positioning accuracy of a larger sensing area. However, the expensive computational cost demanded in the image analysis make them ill-suited for real-time applications.
On the other hand, AGV positioning and obstacle detection have also been addressed by wireless networks. According to different RF protocols, indoor positioning based on WSN can be classified into Radio Frequency Identification (RFID) [9], W I F I [10], Z i g B e e [11], B l u e t o o t h [12] and U W B [13]. UWB technology is based on sending and receiving carrier-less radio impulses using extremely accurate timing and it is particularly suitable for distance estimation and positioning applications. However, the noise reduction cannot be conducted effectively, and the results are always noisy [14]. Therefore, an estimator is used to estimate state variables from noisy measurement [15] and numerous filtering. Thus, numerous filtering methods are applied with various localization techniques [16,17]. The most popular techniques are based on Kalman filters, especially on the Extended Kalman Filter [18].
In order to avoid collisions, an important issue in the operation and control of AGV is the obstacle detection where a possible solution could be the use of predetermining routes of the AGV. In this paper, we present a collision avoidance system for AGV. The method integrates both INS and UWB to get the position of both the AGV and the obstacle as well as the pose of the former. Compared with previous works, the proposed system improves the system flexibility, reducing costs and complexity, as well as expanding the use in different scenarios. The paper is organized as follows:
In Section 2, the system scenario is described and the environment that AGV works in is presented. The system overview is presented in Section 3 that details the research points in this paper. The experiments and results of the research are shown in Section 4. The conclusions are given in Section 5.

2. Factory Scenario of the Application

The factory environment where the AGV works is shown in Figure 1. The AGV requires information of its location and the position of the shelves and possible obstacles in order to avoid collisions.
In the factory warehouse environment, the navigation and collision avoidance are carried out with an electromagnetic guidance system which requires fixed paths; thus, the flexibility of the system is poor. AGV with UWB technology could achieve a high absolute positioning result with high flexibility. UWB integrated with INS and other sensors could be applied to the collision avoidance and path planning of AGV in the factory warehouse environment.

3. Collision Avoidance System Design

3.1. UWB Positioning

The UWB localization of the AGV collision avoidance system is based on three positioning points. Considering the traditional factory warehouse environment, the UWB anchor nodes are deployed on the corners of the warehouse shelves to decrease NLOS (none line-of-sight) effects as shown in Figure 2. After deploying the UWB anchor nodes in the warehouse, an electronic map with a coordinate will be established, which will accurately note each UWB anchor nodes and obstacles. With the deployed UWB nodes and the electronic map, the AGV could get its coordinate and calculate the distances between the shelves and obstacles in the path for collision avoidance.
The movement of AGV is in a 2D plane. whereas the UWB nodes are commonly installed in high places in order to decrease the interferences of NLOS. The solution is the projection of the anchor nodes onto the ground plane, as shown in Figure 3. The smaller the distance, the higher the accuracy of UWB ranging; thus, the three anchor nodes closest to the AGV are utilized in its positioning.
Denoting the three UWB anchor nodes as N 1 , N 2 , N 3 , the distances between the AGV and the three anchor nodes as ( l 1 , l 2 , l 3 ) , the heights of the anchor nodes as ( h 1 , h 2 , h 3 ) , and the height of the UWB device on the AGV as h 0 , the vertical projections of the three UWB anchor nodes ( d 1 , d 2 , d 3 ) are
d 1 d 2 d 3 = l 1 2 ( h 1 h 0 ) 2 l 2 2 ( h 2 h 0 ) 2 l 3 2 ( h 3 h 0 ) 2 .
The locations in the coordinate system of the anchor nodes N 1 , N 2 , N 3 and the AGV node D are ( x 1 , y 1 , ( x 2 , y 2 ) , ( x 3 , y 3 ) , ( x , y ) , respectively. Thus,
( x x 1 ) 2 + ( y y 1 ) 2 = d 1 2 ( x x 2 ) 2 + ( y y 2 ) 2 = d 2 2 ( x x 3 ) 2 + ( y y 3 ) 2 = d 3 2 .
If Δ = ( x 1 x 2 ) ( y 1 y 3 ) ( x 1 x 3 ) ( y 1 y 2 ) 0 , the linearization method could be adopted to get a coordinate of the point D:
x y = A 1 b = K 1 K ( y 2 Y 3 ) + K 2 K ( y 3 y 1 ) K 1 K ( x 3 x 2 ) + K 2 K ( x 1 x 3 ) ,
K = 2 ( x 1 x 3 ) ( y 2 Y 3 ) 2 ( x 2 x 3 ) ( y 1 y 3 ) ,
K 1 = x 1 2 x 3 2 + y 1 2 y 3 2 d 1 2 + d 3 2 ,
K 2 = x 2 2 x 3 2 + y 2 2 y 3 2 d 2 2 + d 3 2 .
The coordinate of unknown point D ( x , y ) can be calculated. The three point positioning method is an easy method;however, due to the distance estimation error in real applications, it may become an unsolved problem. There are several conditions which could result in unsolved problems such as those illustrated in Figure 4a,b which are the most common. In order to get better localization results, the UWB ranging errors should be addressed.

3.2. INS and UWB Integrated Positioning Method

In the UWB distance estimation, the obstacle between the UWB transmitter and receiver has to avoid the line-of-sight propagation of the UWB signal. The receiver could only get the signal through diffraction, refraction and reflection, which will generate NLOS range estimation errors. The estimated distance in NLOS conditions is inaccurate, which makes the distance a biased estimate. The UWB distance estimating data shall be processed before being used in the positioning method. EKF (extend Kalman filter) which integrates INS and UWB is adopted in this paper to deal with the errors in the range estimation and positioning of the AGV.
The Kalman filter adopted in this paper processes the UWB ranging distance data. Both the state and observation equations are as follows:
X ( k + 1 ) = Θ X ( k ) + Γ u ( k )
Z ( k ) = H X ( k ) + ν ( k )
Θ = 1 T 0 0 0 1 0 0 0 0 1 T 0 0 0 1 ; Γ = T 2 2 0 T 0 0 T 2 2 0 T ; H = 1 2 0 0 0 0 0 0 1 ; X = x x y y ; Z = x y ,
where u, ν are the observation and process noise, respectively, and T is the sampling period.
The mean square error of the next step prediction is:
X ^ k | k 1 = Θ k , k 1 X ^ k 1
and the state estimation is:
X ^ k = X ^ k | k 1 + K k ( Z k H k X ^ k | k 1 ) ,
K k = P k | k 1 H k T ( H k P k | k 1 H k T + R k ) 1 .
The mean square error of next step prediction is:
P k | k 1 = Θ k | k 1 P k 1 Θ k | k 1 T + Γ k 1 Q k Γ k T
and the estimated mean square error is:
P k = ( I K k H k ) P k | k 1 .
In the proof of Kalman filtering, given the initial system state error X ^ 0 and initial state error variance matrix P ^ 0 , the predicted ranging data X ^ k ( k = 1 , 2 , 3 , ) of time k.
The gyroscope is one of the key devices in INS localization and the main error is due to the gyroscope drifting. In a short time, the white and quantizing noises cause an important effect on the angular error. The modeling of the gyroscope mainly includes: constant and random errors and the model of the gyroscope is:
ε = ε e + ε r + ω g .
In the design of the integrated localization method, the biased error Δ i ( i = x , y , z ) is considered in the error model of the accelerometer:
Δ i = Δ b i + ω a i ( i = x , y , z ) ,
where Δ b i is the constant error and ω a i is the white noise.
The error of the INS localization includes the error of the device, which consist of the scale and the installation errors.
The principle of the EKF is to linearize the system, transfer the system model to state equation, measure the equation error and predict the state error with the standard Kalman filter.
Assume that the nonlinear observation model is:
Z ( t ) = h ( X ( t ) ) + V ( t ) ,
where h ( x ) is the nonlinear function of the state vector.
Then, the discrete form is:
δ Z k = h ( X k ) h ( X ^ k ) = H k δ X k + V k ,
H k = h X , X = X ^ k | k 1 .
After linearization, standard Kalman filtering is used to calculate both the error state and the observation models.

3.3. AGV Collision Avoidance System

Based on the accurate localization, the workflow of the UWB and INS based AGV collision avoidance system is shown in Figure 5. After the AGV UWB node sends a ranging request, the UWB anchor nodes on the warehouse shelves will receive the signal and reply to it. Through TDOA (Time Difference of Arrival), the range between the AGV and the anchor nodes could be estimated. Then, the AGV might receive data from various anchor nodes, and could estimate the distances from them:
R = r 1 , r 2 , r 3 , , r n ,
where r n represents the current estimated distance between AGV and anchor node n.
In order to reduce the computational complexity, the nearest three UWB anchor nodes are considered as reference nodes in the positioning of the AGV. In addition, the estimated distance from the AGV and the three anchor nodes are:
R = r N 1 , r N 2 , r N 3 .
At the same time, the system will record the node id of the three UWB anchor nodes and find the corresponding location coordinates according to the pre-established electronic map. The coordinates could be represented as follows:
A n = [ x p n , y p n ] n { 1 , 2 , 3 } .
With the UWB ranging result R N and the coordinates of the UWB anchor nodes P n , the accurate localization result could be achieved with EKF integrating the INS data. The coordinate of the AGV at time k can be represented with [ x k , y k ] .
In order to avoid the collision of the AGV, the real-time distance between the coordinate of the AGV and the anchor nodes should be measured. The movement of the AGV shall be predicted at the same time to prevent the collision resulting from the control delay of the AGV. The movement prediction of the AGV could be accomplished with the positioning estimation, direction of motion and current velocity. The direction and velocity information could be obtained from the INS sensors.
As shown in Figure 6, there could be several kinds of collision situations, no collision (a), about to collide (b), and will have collision (c).
In the warehouse scenario, once the position coordinate [ x k , y k ] , the velocity ν p n and the angel θ between the AGV and + y direction of the coordinate are known, the left and right side position can be calculated with the size of AGV as follows:
l x k l y k = x + w 2 cos θ y w 2 sin θ ; r x k r y k = x w 2 cos θ y + w 2 sin θ ,
where w is the width of the AGV.
Considering the control delay of the AGV, assuming that the AGV keeps its current state for time Δ t , the position of the left and right side of the AGV could be calculated and predicted.
If the area covering the four points [ l x k , l y k ] , [ r x k , r y k ] , [ l x k + 1 , l y k + 1 ] , [ r x k + 1 , r y k + 1 ] does not contain obstacles in the electronic map, no collision happens. When the area has obstacles, collisions will happen and the AGV adjusts its direction until it meets the demand for non-collision.

4. Experiment Results

In this section, the performance of the proposed UWB and INS based AGV collision avoidance system is tested, including the UWB and INS positioning accuracy test and the collision avoidance ability test of the AGV.
The AGV adopted in the experiment is a Discovery Q 2 four omnidirectional wheel AGV, as shown in Figure 7. It is a small and multi-port AGV high reliability robot system.
Firstly, the positioning accuracy of UWB is tested. Due to the limitations of the test site, the test ground is set as a 10 × 10 m area. As shown in Figure 8a, the circles represent the UWB anchor nodes, and the triangle represents the sample test locations. At the test locations, the AGV collects several sets of ranging and positioning data to assess the UWB positioning accuracy. The error distribution is shown in Figure 8b. It is obvious that the test points closer to the center of the three UWB anchor nodes achieve smaller positioning error. According to the experimental results, when the UWB anchor nodes are far from each other, the positioning accuracy is poor. The results are meaningful for the deployment of the UWB anchor nodes and users can choose the distance of the anchor nodes according to their demanded accuracy.
In the test, the positioning result on each test point is recorded 10 times and the average localization error is shown in Table 1. At the same time, the error distribution is shown in Figure 9.
After UWB positioning accuracy test, the positioning of UWB and INS integration is also tested. A map of the warehouse environment is first established as shown in Figure 9. Due to the hardware limitations, three UWB anchors are used in the test environment. The AGV goes from Start point to the End point, and goes through route points A, B, C, and D to test the accuracy on the path.
Three positioning methods including UWB, INS and INS-UWB are tested and compared. The results are shown in Figure 10.
As shown in Figure 10, the positioning error of UWB is relatively stable in the whole route, which is between 10 cm and 30 cm. As the anchor nodes are closer to point B, C and D, the error in AB period is larger than that in BC and CD period, which corresponds to the result in UWB positioning error test. The error of the INS positioning is smaller in the first period and larger in the middle and last periods. The INS-UWB positioning method has the advantages of both positioning methods. The overall error is smaller than both single positioning methods and it is relatively stable, less than 15 cm, meeting the requirement for AGV positioning.
In the AGV collision avoidance test, the AGV is instructed to across the warehouse with shelves in order to reach a destination. The collision avoidance effect is shown in Figure 11 where the black blocks are the obstacles and the red line is the final route of the AGV. According to the results, the route in the blue circles represents that the AGV has detected the obstacles and it has correctly adjusted its direction to avoid the collision. The experimental results show that the INS-UWB based AGV collision avoidance system can be used in environments with fixed obstacles.

5. Conclusions

Compared to traditional inertial- and laser-based guiding systems, the proposed method is more flexible and cheaper with good accuracy and stability. In order to realize an accurate positioning, an electronic map of the warehouse is established where the UWB anchor nodes are deployed. The location coordinate of the AGV is obtained by three nearby UWB anchor nodes in the map. An EKF method which integrates INS and UWB data is adopted to improve the positioning accuracy. In order to avoid collisions, the current location of the AGV and its motion state data are utilized to predict its next position to decrease the effect of control delay of the AGV. Experimental results show that the method proposed in this paper achieves accurate positioning estimation and the AGV effectively detects obstacles and avoids possible collisions, thus ensuring the safety of the AGV.

Author Contributions

Y.Y. contributed conceptualization of paper; J.H. contributed experiments data curation and experiments supervision; R.L. performed the project administration and visualization; J.L. analyzed the experiments data; S.S. designed the algorithm, performed the experiments; S.S. and M.S. wrote the paper.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Gotting, H.H. Automation and Steering of Vehicles in ports. Port Technol. Int. 2000, 10, 101–111. [Google Scholar]
  2. Vis, I.F. Survey of research in the design and control of automated guided vehicle systems. Eur. J. Oper. Res. 2006, 170, 677–709. [Google Scholar] [CrossRef]
  3. Zirkelbach, C. Integration of Automated Guided Vehicles into Manufacturing Plants. Intelligent Robots— Sensing, Modeling and Planning; World Scientific: Singapore, 1996; pp. 449–466. [Google Scholar]
  4. Yudanto, R.G.; Petre, F. Sensor fusion for indoor navigation and tracking of automated guided vehicles. In Proceedings of the 2015 International Conference on IEEE Indoor Positioning and Indoor Navigation (IPIN), Banff, AB, Canada, 13–16 October 2015; pp. 1–8. [Google Scholar]
  5. Zhan, Y.; Luo, Y. Guided and detecting technology of intelligent robot AGV and new-style AGV. In Proceedings of the International Conference on Sensors & Control Techniques, Wuhan, China, 9 May 2000; pp. 461–464. [Google Scholar]
  6. Cho, H.; Song, H.; Park, M.; Kim, J.; Woo, S.; Kim, S. Independence localization system for Mecanum wheel AGV. In Proceedings of the 2013 IEEE RO-MAN, Gyeongju, South Korea, 26–29 August 2013; pp. 192–197. [Google Scholar]
  7. Kim, J.; Cho, H.; Kim, S. Positioning and driving control of fork-type automatic guided vehicle with laser navigation. Int. J. Fuzzy Logic Intell. Syst. 2013, 13, 307–314. [Google Scholar] [CrossRef]
  8. Siagian, C.; Chang, C.K.; Itti, L. Mobile robot navigation system in outdoor pedestrian environment using vision-based road recognition. In Proceedings of the 2013 IEEE International Conference on Robotics and Automation, Karlsruhe, Germany, 6–10 May 2013; pp. 564–571. [Google Scholar]
  9. Saab, S.S.; Nakad, Z.S. A standalone RFID indoor positioning system using passive tags. IEEE Trans. Ind. Electron. 2011, 58, 1961–1970. [Google Scholar] [CrossRef]
  10. Fang, S.H.; Lin, T. Principal component localization in indoor WLAN environments. IEEE Trans. Mob. Comput. 2012, 11, 100–110. [Google Scholar] [CrossRef]
  11. Grossmann, R.; Golatowski, F.; Timmermann, D. Weighted centroid localization in zigbee-based sensor networks, In Proceedings of 2007 IEEE International Symposium on Intelligent Signal Processing WISP, Alcala de Henares, Spain, 3–5 October 2007; pp. 1–6. [Google Scholar]
  12. Pivarciova, E.; Csongrady, T. Tracer robot with a proportional control. MM Sci. J. 2016, 1277–1286. [Google Scholar] [CrossRef]
  13. Krishnan, S.; Sharma, P.; Guoping, Z.; Woon, O.H. A uwb based localization system for indoor robot navigation. In Proceedings of the IEEE International Conference on UltraWideband, Singapore, 24–26 September 2007; pp. 77–82. [Google Scholar]
  14. Zhao, S.Y.; Hua18ng, B.; Liu, F. Localization of Indoor Mobile Robot Using Minimum Variance Unbiased FIR Filter. IEEE Trans. Autom. Sci. Eng. 2018, 15, 410–419. [Google Scholar] [CrossRef]
  15. Huerta, J.M.; Vidal, J.; Giremus, A.; Tourneret, J.-Y. Joint particle filter and UKF position tracking in severe non-line-of-sight situations. IEEE J. Sel. Top. Signal Process 2009, 3, 874–888. [Google Scholar] [CrossRef]
  16. Derr, K.; Manic, M. Wireless sensor networks—Node localization for various industry problems. IEEE Trans. Ind. Inform. 2015, 11, 752–762. [Google Scholar] [CrossRef]
  17. DiGiampaolo, E.; Martinelli, F. Mobile robot localization using the phase of passive UHF RFID signals. IEEE Trans. Ind. Electron. 2014, 61, 365–376. [Google Scholar] [CrossRef]
  18. Benini, A.; Mancini, A.; Longhi, S. An imu/uwb/vision-based extended kalman filter for mini-uav localization in indoor environment using 802.15. 4a wireless sensor network. J. Intell. Robot. Syst. 2013, 70, 461–476. [Google Scholar] [CrossRef]
Figure 1. Warehouse of the factory.
Figure 1. Warehouse of the factory.
Algorithms 12 00040 g001
Figure 2. Deployment of UWB anchor nodes.
Figure 2. Deployment of UWB anchor nodes.
Algorithms 12 00040 g002
Figure 3. Range projection.
Figure 3. Range projection.
Algorithms 12 00040 g003
Figure 4. Possible error conditions.
Figure 4. Possible error conditions.
Algorithms 12 00040 g004
Figure 5. Flowchart of collision avoidance.
Figure 5. Flowchart of collision avoidance.
Algorithms 12 00040 g005
Figure 6. Different collision avoidance situations.
Figure 6. Different collision avoidance situations.
Algorithms 12 00040 g006
Figure 7. Outlook of AGV.
Figure 7. Outlook of AGV.
Algorithms 12 00040 g007
Figure 8. (a) UWB localization accuracy test; (b) error distribution.
Figure 8. (a) UWB localization accuracy test; (b) error distribution.
Algorithms 12 00040 g008
Figure 9. Map of warehouse environment.
Figure 9. Map of warehouse environment.
Algorithms 12 00040 g009
Figure 10. (a) route comparison method; (b) error comparison of different localization methods.
Figure 10. (a) route comparison method; (b) error comparison of different localization methods.
Algorithms 12 00040 g010
Figure 11. Collision avoidance effect.
Figure 11. Collision avoidance effect.
Algorithms 12 00040 g011
Table 1. Location error in different positions.
Table 1. Location error in different positions.
Line 10.12260.12190.12220.12350.1226
Line 20.08710.06640.06620.08610.0765
Line 30.07730.02720.02910.07550.0528
Line 40.10170.05460.05270.10010.0773
Average0.09720.06750.06760.09630.0823

Share and Cite

MDPI and ACS Style

Sun, S.; Hu, J.; Li, J.; Liu, R.; Shu, M.; Yang, Y. An INS-UWB Based Collision Avoidance System for AGV. Algorithms 2019, 12, 40. https://doi.org/10.3390/a12020040

AMA Style

Sun S, Hu J, Li J, Liu R, Shu M, Yang Y. An INS-UWB Based Collision Avoidance System for AGV. Algorithms. 2019; 12(2):40. https://doi.org/10.3390/a12020040

Chicago/Turabian Style

Sun, Shunkai, Jianping Hu, Jie Li, Ruidong Liu, Meng Shu, and Yang Yang. 2019. "An INS-UWB Based Collision Avoidance System for AGV" Algorithms 12, no. 2: 40. https://doi.org/10.3390/a12020040

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop