Open Access This article is
- freely available
Algorithms 2019, 12(2), 40; https://doi.org/10.3390/a12020040
An INS-UWB Based Collision Avoidance System for AGV
Faculty of Electrical Engineering and Computer Science, Ningbo University, Ningbo 361102, China
Ningbo Cigarette Factory, China Tobacco Zhejiang Industrial Co., Ltd., Hangzhou 315500, China
International Business Department, China Tobacco Zhejiang Industrial Co., Ltd., Hangzhou 310008, China
Author to whom correspondence should be addressed.
Received: 20 December 2018 / Accepted: 13 February 2019 / Published: 18 February 2019
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.
Keywords:AGV; INS; UWB; collision avoidance
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 .
Despite many navigation methods for AGV having been proposed, accurate positioning is still a very important task . The electromagnetic-based guidance system for AGV  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 . Laser-based navigation systems provide not only the position of the AGV but detect the presence of obstacles in the path . 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 , 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) , , ,  and . 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 . Therefore, an estimator is used to estimate state variables from noisy measurement  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 .
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 , , , the distances between the AGV and the three anchor nodes as , the heights of the anchor nodes as , and the height of the UWB device on the AGV as , the vertical projections of the three UWB anchor nodes are
The locations in the coordinate system of the anchor nodes , , and the AGV node D are , , , respectively. Thus,
If , the linearization method could be adopted to get a coordinate of the point D:
The coordinate of unknown point 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: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:and the state estimation is:
The mean square error of next step prediction is:and the estimated mean square error is:
In the proof of Kalman filtering, given the initial system state error and initial state error variance matrix , the predicted ranging data 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:
In the design of the integrated localization method, the biased error is considered in the error model of the accelerometer:where is the constant error and 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:where is the nonlinear function of the state vector.
Then, the discrete form is:
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:where 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:
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:
With the UWB ranging result and the coordinates of the UWB anchor nodes , 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 .
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 , the velocity and the angel between the AGV and direction of the coordinate are known, the left and right side position can be calculated with the size of AGV as follows: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 , the position of the left and right side of the AGV could be calculated and predicted.
If the area covering the four points , , , 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 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.
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.
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.
This research received no external funding.
Conflicts of Interest
The authors declare no conflict of interest.
- Gotting, H.H. Automation and Steering of Vehicles in ports. Port Technol. Int. 2000, 10, 101–111. [Google Scholar]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- Fang, S.H.; Lin, T. Principal component localization in indoor WLAN environments. IEEE Trans. Mob. Comput. 2012, 11, 100–110. [Google Scholar] [CrossRef]
- 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]
- Pivarciova, E.; Csongrady, T. Tracer robot with a proportional control. MM Sci. J. 2016, 1277–1286. [Google Scholar] [CrossRef]
- 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]
- 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]
- 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]
- Derr, K.; Manic, M. Wireless sensor networks—Node localization for various industry problems. IEEE Trans. Ind. Inform. 2015, 11, 752–762. [Google Scholar] [CrossRef]
- 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]
- 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 2. Deployment of UWB anchor nodes.
Figure 3. Range projection.
Figure 4. Possible error conditions.
Figure 5. Flowchart of collision avoidance.
Figure 6. Different collision avoidance situations.
Figure 7. Outlook of AGV.
Figure 8. (a) UWB localization accuracy test; (b) error distribution.
Figure 9. Map of warehouse environment.
Figure 10. (a) route comparison method; (b) error comparison of different localization methods.
Figure 11. Collision avoidance effect.
Table 1. Location error in different positions.
© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).