A method and device for switching indoor and outdoor positioning of a vehicle
Through data processing and conversion between the global coordinate system and the UWB coordinate system in the intelligent driving vehicle, the accuracy and stability problems of the intelligent driving vehicle when switching between indoor and outdoor positioning are solved, and high-precision indoor and outdoor positioning is achieved, supporting Vehicle-to-road collaboration and V2X communication.
Patent Information
- Application Number
- CN202210980414.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-16
- Publication Date
- 2024-09-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Intelligent driving vehicles are prone to positioning inaccuracy, loss, drift and instability when switching between global positioning system and UWB positioning methods. It is especially difficult to achieve high-precision indoor positioning in underground parking lots.
By simultaneously acquiring the data of the global coordinate system and the UWB coordinate system at the entrance of the parking lot, data processing and conversion are performed, including rotation and translation of the coordinate system and Kalman filtering processing, to ensure that the relative position relationship between the UWB coordinate system and the global coordinate system is consistent. , and online iterative integration to achieve precise positioning of vehicles indoors and outdoors.
It effectively improves the accuracy and consistency of vehicle positioning indoors and outdoors, avoids positioning loss and instability problems, realizes smooth transition and switching of vehicle positions indoors and outdoors, and supports vehicle-road collaboration and V2X communication.
Smart Images

Figure CN115371677B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle positioning, and in particular to a method and a device for switching indoor and outdoor positioning of a vehicle. Background Art
[0002] With the rapid development of social economy, the pursuit of improving the quality of life has become the focus of people's attention. Among them, the purchase of cars has become one of the necessary assets to improve the quality of life. Smart driving cars have also become a new star in the current automotive industry. Based on the development of intelligence and information technology, it has changed the existing transportation system to a certain extent, freeing drivers from the traditional boring driving process and improving their happiness and production efficiency.
[0003] Smart cars require high-precision and stable positioning information to meet the application requirements of various scenarios. In addition to common outdoor positioning scenarios, autonomous driving requires accurate positioning in indoor scenarios, so as to achieve high-precision positioning in all directions. Positioning scenarios in underground parking lots are particularly common and important.
[0004] In the prior art, when smart driving vehicles enter and exit parking lots, inaccurate positioning will occur when the global positioning system positioning and the UWB positioning are switched. Although both positioning methods have high accuracy, positioning loss, drift, instability and other problems may occur when switching between the two positioning methods. Summary of the invention
[0005] In view of this, the embodiments of the present disclosure provide a method and device for switching between indoor and outdoor positioning of a vehicle, which at least partially solve the problems existing in the prior art.
[0006] In a first aspect, an embodiment of the present disclosure provides a method for switching between indoor and outdoor positioning of a vehicle, comprising the following steps:
[0007] At the entrance of the parking lot, simultaneously obtain the first coordinate data of the vehicle in the global coordinate system and the second coordinate data in the wireless ultra-wideband (UWB) coordinate system, and perform data processing on the second coordinate data in the UWB coordinate system;
[0008] Converting the first coordinate data into third coordinate data in a Universal Transverse Mercator Grid (UTM) coordinate system;
[0009] Determine the relative position relationship between the second coordinate data in the UWB coordinate system and the third coordinate data in the UTM coordinate system by rotating and translating the coordinate system;
[0010] Acquire fourth coordinate data of the vehicle in the UWB coordinate system in the parking lot, and convert the fourth coordinate data into fifth coordinate data in the UTM coordinate system based on the relative position relationship; and
[0011] The fifth coordinate data is converted into sixth coordinate data in a global coordinate system.
[0012] Furthermore, it also includes performing Kalman filtering processing on the second coordinate data in the UWB coordinate system, and the processing includes:
[0013] (1) Read the second coordinate data in the UWB coordinate system through the serial port, and calculate the theoretical coordinate data by dead reckoning based on the wheel speed and steering wheel angle information;
[0014] (2) taking the read second coordinate data as the observed value and the calculated theoretical coordinate data as the estimated value, and calculating the covariance matrix P; and
[0015] (3) Taking the data in the global coordinate system as the true value, the observation noise matrix Q and the process noise matrix W are adaptively adjusted offline, and online continuous iterative fusion is achieved.
[0016] Furthermore, the calculation method for converting the first coordinate data in the global coordinate system into the third coordinate data in the UTM coordinate system is as follows:
[0017] Assume the first coordinate data in the global coordinate system is The unit is radian. The third coordinate data in the UTM coordinate system is (E,N) and the unit is km.
[0018] First calculate the UTM zone:
[0019] ZN=[λ / 6]rounded+31
[0020]
[0021] λ0=(ZN-1)*6-180+3(degree
[0022]
[0023]
[0024]
[0025]
[0026] in, k0=0.9996, E0=500km, a=6378.137km, represents the equatorial radius.
[0027] Furthermore, N0 selects different values according to the hemisphere, as follows:
[0028]
[0029] In a second aspect, an embodiment of the present disclosure provides a vehicle indoor and outdoor positioning switching device, comprising:
[0030] A global coordinate system coordinate data acquisition module is configured to acquire first coordinate data in the global coordinate system;
[0031] A wireless ultra-wideband (UWB) coordinate system coordinate data acquisition module is configured to acquire second coordinate data in the UWB coordinate system at the entrance of the parking lot;
[0032] The data processing module is configured as follows:
[0033] Performing coordinate filtering processing on the second coordinate data in the UWB coordinate system;
[0034] Converting the first coordinate data into third coordinate data in a Universal Transverse Mercator Grid (UTM) coordinate system;
[0035] Determine a relative position relationship between the second coordinate data in the UWB coordinate system and the third coordinate data in the UTM coordinate system;
[0036] Based on the relative position relationship, converting the fourth coordinate data of the vehicle in the parking lot in the UWB coordinate system acquired by the UWB coordinate acquisition module into fifth coordinate data in the UTM coordinate system; and
[0037] converting the fifth coordinate data into sixth coordinate data in a global coordinate system; and
[0038] An output module is configured to output the sixth coordinate data.
[0039] In the third aspect, the embodiment of the present disclosure also provides a non-transitory computer-readable storage medium, which stores computer instructions. When the computer instructions are executed by one or more processors, the one or more processors execute the vehicle indoor and outdoor positioning switching method in the aforementioned first aspect or any implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0041] Figure 1 A schematic diagram of a vehicle indoor and outdoor positioning switching process provided by an embodiment of the present disclosure;
[0042] Figure 2The positional relationship between the UTM coordinate system and the UWB coordinate system is shown by determining the positional relationship between the two coordinate systems through rotation and translation; and
[0043] Figure 3 A schematic diagram of a device for switching indoor and outdoor positioning of a vehicle according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0044] The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
[0045] The following describes the embodiments of the present disclosure through specific examples, and those skilled in the art can easily understand other advantages and effects of the present disclosure from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all of the embodiments. The present disclosure can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present disclosure. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.
[0046] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein may be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein may be implemented independently of any other aspect, and two or more of these aspects may be combined in various ways. For example, any number of aspects described herein may be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein may be used to implement this device and / or practice this method.
[0047] It should also be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present disclosure. The drawings only show components related to the present disclosure rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0048] Additionally, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects described may be practiced without these specific details.
[0049] Figure 1A schematic diagram of a vehicle indoor and outdoor positioning switching method 100 according to the present invention is shown.
[0050] like Figure 1 As shown, at step S102, an ultra-wideband (UWB) base station is set in the parking lot area, and the first coordinate data in the global coordinate system of the global positioning system and the second coordinate data in the UWB coordinate system are simultaneously acquired at the entrance of the parking lot and data processing is performed.
[0051] The data accuracy of the global coordinate system positioning system is relatively high, while the coordinate data of the UWB positioning system itself may have large errors. The error of the original data without data processing is about 0.2m. Therefore, it is necessary to filter the data results of the UWB coordinate system to reduce its positioning error so that the error can be within an acceptable range.
[0052] Specifically, for example, in some aspects of the embodiments according to the present disclosure, the global coordinate system includes at least one of GPS, BeiDou, RTK, and GNESS.
[0053] Specifically, it may include performing Kalman filtering processing on the second coordinate data in the UWB coordinate system, and the processing includes:
[0054] (1) Read the second coordinate data in the UWB coordinate system through the serial port, and calculate the theoretical coordinate data by dead reckoning based on the wheel speed and steering wheel angle information;
[0055] (2) taking the read second coordinate data as the observed value and the calculated theoretical coordinate data as the estimated value, and calculating the covariance matrix P; and
[0056] (3) Taking the data in the global coordinate system as the true value, the observation noise matrix Q and the process noise matrix W are adaptively adjusted offline, and online continuous iterative fusion is achieved.
[0057] It is worth noting that, although not shown, the aforementioned Kalman filter processing may include any necessary processing procedures required to implement the processing of coordinate data.
[0058] In addition, it should be noted that although the embodiments of the present invention are illustrated in a parking lot as an example, it is obvious that the embodiments according to the present disclosure are applicable to any enclosed scene with a UWB base station. It is also understandable that the embodiments according to the present disclosure can be applied to any device and field where there is a need to switch between global coordinates and local coordinates, such as drones, sweeping robots, and other fields.
[0059] Next, the process proceeds to step S104 , which is used to convert the first coordinate data in the global coordinate system into third coordinate data in the UTM coordinate system.
[0060] The coordinate conversion method is as follows:
[0061] Assume the first coordinate data in the global coordinate system is The unit is radian. The third coordinate data in the UTM coordinate system is (E,N) and the unit is km.
[0062] First calculate the UTM zone:
[0063] ZN=[λ / 6]rounded+31
[0064]
[0065] λ0=(ZN-1)*6-180+3(degree)
[0066]
[0067]
[0068]
[0069]
[0070] in, k0=0.9996, E0=500km, a=6378.137km, represents the equatorial radius, N0 selects different values according to the hemisphere, as follows:
[0071]
[0072] Next, the process goes to step S106 , where the relative position relationship between the second coordinate data in the UWB coordinate system and the third coordinate data in the UTM coordinate system is determined.
[0073] The UWB coordinate system is a local coordinate system that depends on the UWB hardware device. It mainly includes four base stations and a tag placed on the vehicle. The four base stations establish a local xy coordinate system. The value of the tag's movement change is the coordinate value in the coordinate system formed by the base station. The vehicle has coordinates B (x1, y1) in the UTM coordinate system and C (x2, y2) in the UWB coordinate system. The relationship between the rotation and translation of the UTM coordinate system and the UWB coordinate system can be obtained according to the following method.
[0074] like Figure 2 As shown, the positional relationship between the UTM coordinate system and the UWB coordinate system is determined by rotation and translation. Rotation and translation are the superposition of rotation and translation effects. Given a point P'(x',y') in the coordinate system X'O'Y' after rotation and translation, find the coordinate value of P' in the base coordinate system:
[0075]
[0076] Next, the process proceeds to step S108 , where the fourth coordinate data of the vehicle in the parking lot in the UWB coordinate system is acquired, and the fourth coordinate data in the UWB coordinate system is converted into fifth coordinate data in the UTM coordinate system based on the relative position relationship. Next, the process proceeds to step S110 .
[0077] In addition, although not shown, the above-mentioned Kalman filter processing on the second coordinate data in the UWB coordinate system is also applicable to the processing of the fourth coordinate data in the UWB coordinate system.
[0078] In step S110 , the fifth coordinate data is converted into sixth coordinate data in a global coordinate system, thereby acquiring the global coordinates of the vehicle.
[0079] As mentioned above with reference to steps S102-S110, this embodiment is based on switching between different positioning methods. According to the relationship between the UWB coordinate system and the UTM coordinate system calculated when entering the parking lot, when the global coordinate signal is lost after the vehicle enters the parking lot and only the UWB coordinate system coordinates are available, the global coordinates of the vehicle can be inferred. This method effectively improves the indoor positioning accuracy and the consistency with the positioning under the global coordinate system, thereby ensuring the smooth transition and switching of indoor and outdoor positions, effectively realizing vehicle-road collaboration and vehicle-to-surrounding scene V2X, thereby realizing the switching of vehicle positioning between indoor and outdoor, and avoiding problems such as positioning loss, drift, and instability.
[0080] Figure 3 A vehicle indoor and outdoor positioning switching device 300 for switching vehicle indoor and outdoor positioning according to the present invention is shown.
[0081] like Figure 3 As shown, the vehicle indoor and outdoor positioning switching device 300 includes a global coordinate system coordinate data acquisition module 302 , a wireless ultra-wideband UWB coordinate system coordinate data acquisition module 304 , a data processing module 306 , and an output module 308 .
[0082] The global coordinate system coordinate data acquisition module 302 acquires first coordinate data in the global coordinate system.
[0083] The wireless ultra wideband UWB coordinate system coordinate data acquisition module 304 acquires the second coordinate data of the parking lot entrance in the UWB coordinate system.
[0084] The data processing module 306 performs coordinate filtering processing on the second coordinate data in the UWB coordinate system; converts the first coordinate data into third coordinate data in the Universal Transverse Mercator Grid system UTM coordinate system; determines the relative position relationship between the second coordinate data in the UWB coordinate system and the third coordinate data in the UTM coordinate system; based on the relative position relationship, converts the fourth coordinate data of the vehicle in the UWB coordinate system in the parking lot obtained by the UWB coordinate acquisition module into fifth coordinate data in the UTM coordinate system; and converts the fifth coordinate data into sixth coordinate data in the global coordinate system.
[0085] The output module 308 outputs the sixth coordinate data.
[0086] In another aspect of the present invention, a non-transitory computer-readable storage medium is also provided, which stores computer instructions. When the computer instructions are executed by one or more processors, the one or more processors execute the aforementioned vehicle indoor and outdoor positioning switching method.
[0087] It is worth noting that the device according to the embodiment of the present invention can be applied to the positioning and switching of vehicles inside and outside the underground parking lot, but it does not constitute a limitation to the invention.
[0088] The above is only a specific implementation of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present disclosure should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A method for switching between indoor and outdoor positioning of a vehicle, characterized in that: The steps include: At the entrance of the parking lot, simultaneously obtain the first coordinate data of the vehicle in the global coordinate system and the second coordinate data in the wireless ultra-wideband (UWB) coordinate system, and perform data processing on the second coordinate data in the UWB coordinate system; Converting the first coordinate data into third coordinate data in a Universal Transverse Mercator Grid (UTM) coordinate system; Determine the relative position relationship between the second coordinate data in the UWB coordinate system and the third coordinate data in the UTM coordinate system by rotating and translating the coordinate system; Acquire fourth coordinate data of the vehicle in the UWB coordinate system in the parking lot, and convert the fourth coordinate data into fifth coordinate data in the UTM coordinate system based on the relative position relationship; as well as Converting the fifth coordinate data into sixth coordinate data in a global coordinate system to obtain the global coordinates of the vehicle; The method further comprises performing Kalman filtering on the second coordinate data in the UWB coordinate system; The Kalman filter process includes: (1) Read the second coordinate data in the UWB coordinate system through the serial port, and calculate the theoretical coordinate data by dead reckoning based on the wheel speed and steering wheel angle information; (2) taking the read second coordinate data as the observed value and the calculated theoretical coordinate data as the estimated value, and calculating the covariance matrix P; and (3) Taking the data in the global coordinate system as the true value, the observation noise matrix Q and the process noise matrix W are adaptively adjusted offline, and online continuous iterative fusion is achieved.
2. The method for switching between indoor and outdoor vehicle positioning according to claim 1, characterized in that: The calculation method for converting the first coordinate data in the global coordinate system into the third coordinate data in the UTM coordinate system is as follows: Assume the first coordinate data in the global coordinate system is The unit is radian. The third coordinate data in the UTM coordinate system is (E, N) and the unit is km. UTM zones are expressed as: ZN=[λ / 6]+31 λ0=(ZN-1)*6-180+3(degree) in, k0, E0, a, and N0 are all constants.
3. The method for switching between indoor and outdoor vehicle positioning according to claim 2, characterized in that: Said N0 selects different values according to the hemisphere, as follows:
4. The method for switching between indoor and outdoor vehicle positioning according to claim 3, characterized in that: Said k0=0.9996, E0=500km, a=6378.137km.
5. A vehicle indoor and outdoor positioning switching device (300), characterized in that: The device comprises: A global coordinate system coordinate data acquisition module is configured to acquire first coordinate data in the global coordinate system; A wireless ultra-wideband (UWB) coordinate system coordinate data acquisition module is configured to acquire second coordinate data in the UWB coordinate system at the entrance of the parking lot; The data processing module is configured as follows: Performing coordinate filtering processing on the second coordinate data in the UWB coordinate system; Converting the first coordinate data into third coordinate data in a Universal Transverse Mercator Grid (UTM) coordinate system; Determine a relative position relationship between the second coordinate data in the UWB coordinate system and the third coordinate data in the UTM coordinate system; Based on the relative position relationship, converting the fourth coordinate data of the vehicle in the parking lot in the UWB coordinate system acquired by the UWB coordinate acquisition module into fifth coordinate data in the UTM coordinate system; and Converting the fifth coordinate data into sixth coordinate data in a global coordinate system to obtain the global coordinates of the vehicle; and an output module, configured to output the sixth coordinate data; The coordinate filtering process includes performing Kalman filtering on the second coordinate data in the UWB coordinate system; The Kalman filter process includes: (1) Read the second coordinate data in the UWB coordinate system through the serial port, and calculate the theoretical coordinate data by dead reckoning based on the wheel speed and steering wheel angle information; (2) taking the read second coordinate data as the observed value and the calculated theoretical coordinate data as the estimated value, and calculating the covariance matrix P; and (3) Taking the data in the global coordinate system as the true value, the observation noise matrix Q and the process noise matrix W are adaptively adjusted offline, and online continuous iterative fusion is achieved.
6. The vehicle indoor and outdoor positioning switching device according to claim 5, characterized in that: The relative position relationship between the second coordinate data in the UWB coordinate system and the third coordinate data in the UTM coordinate system is determined based on a rotation-translation method.
7. A non-transitory computer-readable storage medium storing computer instructions, which, when executed by one or more processors, enable the one or more processors to execute the vehicle indoor and outdoor positioning switching method as described in any one of claims 1-4.
