This application claims the priority benefit of Taiwanese application no. 110142553, filed on Nov. 16, 2021. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
The disclosure relates to a method and a system for vehicle head direction compensation.
There are more than 23,000 bridges in Taiwan. If under bridge inspection is manually performed every year, it may be difficult to increase inspection efficiency because of time-consuming inspection operation, lack of inspection vehicles, and possible risks to public security.
The use of an unmanned vehicle for automated inspection operation can address the above issues. However, during the process of automated inspection operation using an unmanned vehicle, it is required to accurately know a head direction of the unmanned vehicle. Currently, an electronic compass (a magnetometer) is most frequently utilized to determine a head direction of an unmanned vehicle. However, when the electronic compass is utilized in an under bridge passage or in a tunnel, the magnetometer may be interfered with by electric power equipment or steel structures and become invalid. Therefore, how to design a method and a system for accurately obtaining the head direction of an unmanned vehicle in any environment is one of research topics for those skilled in the related field.
The exemplary embodiments of disclosure provide a method and a system for vehicle head direction compensation, in which angle compensation is performed on a head direction angle of an unmanned vehicle in a local coordinate system by using a true north azimuth after the local coordinate system is established.
According to an exemplary embodiment of the disclosure, a method for vehicle head direction compensation includes the following. A relative position between each of a plurality of sensors disposed on a vehicle and a plurality of base stations is obtained through the sensors and a relative coordinate system is established by a processor to obtain a vehicle head direction of the vehicle in the relative coordinate system and a deviation angle between an X-axis of the relative coordinate system and a true north azimuth. An angle compensation is performed by the processor on the vehicle head direction of the vehicle in the relative coordinate system based on the deviation angle.
According to an exemplary embodiment of the disclosure, a system for vehicle head direction compensation includes a plurality of base stations, a vehicle, a plurality of sensors, and a processor. The sensors are disposed on the vehicle. The processor is coupled to the sensors, obtains a relative position between each of the sensors and the base stations through the sensors and establishes a relative coordinate system to obtain a vehicle head direction of the vehicle in the relative coordinate system and a deviation angle between an X-axis of the relative coordinate system and a true north azimuth, and performs an angle compensation on the vehicle head direction of the vehicle in the relative coordinate system based on the deviation angle.
Several exemplary embodiments accompanied with figures are described in detail below to further describe the disclosure in details.
The accompanying drawings are included to provide further understanding, and are incorporated in and constitute a part of this specification. The drawings illustrate exemplary embodiments and, together with the description, serve to explain the principles of the disclosure.
The exemplary embodiments of the disclosure provide a method and a system for accurately obtaining an unmanned vehicle head direction. In the method and the system, the head direction of the unmanned vehicle can be mapped to a world coordinate system through a local positioning system, and an angle difference between the local positioning system and the true north azimuth can be compensated instantly. Accordingly, with the method and the system of the exemplary embodiments of the disclosure, a head direction angle of an unmanned vehicle can be accurately obtained in any environment, thus achieving correctly and fully automated driving by the unmanned vehicle to perform inspection operation, and preventing risks in manual inspection operation. The method and the system of the exemplary embodiments of the disclosure may be applied to inspection operation such as drone bridge inspection, drone outdoor engineering inspection, and drone tunnel inspection.
With reference to
In an exemplary embodiment, the base stations 120 are set in the environment by the user in advance. In an exemplary embodiment, the processor 180 may be disposed on the vehicle 140, or may be another device independent of the vehicle 140.
It should be noted that the base stations 120 include at least three base stations, and the sensors 160 include at least two sensors. In addition, for simplicity of the description, in the system for vehicle head direction compensation 100 in this exemplary embodiment of
The sensors 162 and 164 are, for example, radars, sonic sensing devices, or optical sensing devices, for example, optical radars, depth-of-field cameras, and image capture devices using light detection and ranging (LiDAR) among other devices having the function of sensing object distance. The sensors 162 and 164 are connected through a connection device (not shown) to the base stations 122, 124, 126 and the processor 180 in a wired or wireless manner. For the wired manner, the connection device may be an interface of Universal Serial Bus (USB), RS232, universal asynchronous receiver/transmitter (UART), internal integrated circuit (I2C), serial peripheral interface (SPI), display port, thunderbolt, or local area network (LAN), but is not limited thereto. For the wireless manner, the connection device may be a wireless fidelity (Wi-Fi) module, a wireless radio frequency identification (RFID) module, a Bluetooth module, an infrared module, a near-field communication (NFC) module, or a device-to-device (D2D) module, but is similarly not limited thereto.
The processor 180 is, for example, a central processing unit (CPU), or any other programmable general-purpose or special-purpose microprocessor, digital signal processor (DSP), programmable controller, application specific integrated circuit (ASIC), or other similar devices or a combination of these devices. In this exemplary embodiment, the processor 180 may load a computer program from a storage device (not shown) to execute a method for vehicle head direction compensation of an exemplary embodiment of the disclosure.
First, in step S220, in the process of vehicle head direction compensation, the processor 180 first obtains a relative position between each of the sensors 162, 164 and the base stations 122, 124, 126 through the sensors 162, 164 and establishes a relative coordinate system. Specifically, the processor 180 obtains the relative position between each of the sensors 162, 164 and the base stations 122, 124, 126 through the sensors 162, 164 and establishes the relative coordinate system using an ultra wideband positioning technology.
For example,
Then, in step S240, the processor 180 obtains a vehicle head direction of the vehicle 140 in the relative coordinate system and a deviation angle between the X-axis of the relative coordinate system and the true north azimuth.
In an exemplary embodiment, the specific implementation steps of step S240 include step S241, step S243, and step S245, which accompanied with the relative coordinate system 300 of
In step S241, the processor 180 obtains position coordinates of the sensor 162 and the sensor 164 in the relative coordinate system to obtain a vector of the vehicle head direction. To be specific, the processor 180 obtains the position coordinates of the sensor 162 and the sensor 164 in the relative coordinate system by triangulation positioning. For example, with reference to
In step S243, the processor 180 calculates an angle between the vector of the vehicle head direction and the X-axis of the relative coordinate system to obtain a head direction angle of the vehicle head direction in the relative coordinate system. For example, with reference to
In step S245, the processor 180 calculates an angle between the X-axis of the relative coordinate system and the true north azimuth to obtain the deviation angle. For example, with reference to
In another exemplary embodiment, the specific implementation steps of step S240 include step S242, step S244, step S246, and step S248, which accompanied with the relative coordinate system 400 of
In step S242, the processor 180 obtains the position coordinates of the sensor 162 and the sensor 164 in the relative coordinate system to obtain a vector pointing from the position coordinate of the sensor 162 to the position coordinate of the sensor 164. To be specific, the processor 180 obtains the position coordinates of the sensor 162 and the sensor 164 in the relative coordinate system by triangulation positioning. For example, with reference to
In step S244, the processor 180 calculates an angle between the vector pointing from the position coordinate of the sensor 162 to the position coordinate of the sensor 164 and the X-axis of the relative coordinate system. For example, with reference to
In step S246, the processor 180 adds a predetermined angle to the angle between the vector pointing from the position coordinate of the sensor 162 to the position coordinate of the sensor 164 and the X-axis of the relative coordinate system to obtain a head direction angle of the vehicle head direction in the relative coordinate system. In particular, the predetermined angle is the angle between the vector {right arrow over (A)} pointing from the position coordinate of the sensor 162 to the position coordinate of the sensor 164 and the vector {right arrow over (V)} of the vehicle head direction. In an exemplary embodiment, the predetermined angle may be preset, or may be calculated by the processor 180 based on information obtained by the sensor 162 and the sensor 164, which is not limited by the disclosure. For example, with reference to
In step S248, the processor 180 calculates an angle between the X-axis of the relative coordinate system and the true north azimuth to obtain the deviation angle. For example, with reference to
Next, in step S260, the processor 180 performs an angle compensation on the vehicle head direction of the vehicle 140 in the relative coordinate system based on the deviation angle.
In this exemplary embodiment, the specific implementation steps of step S260 include step S262.
In step S262, the processor 180 performs a compensation on the head direction angle based on the deviation angle. For example, with reference to
In an exemplary embodiment, after the angle compensation on the vehicle head direction, the vehicle 140 performs a destination navigation.
It is worth noting that the specific order and/or hierarchy of the steps in the method of the exemplary embodiment of the disclosure are only exemplary. Based on design preferences, the specific order or hierarchy of the steps of the disclosed method or process may be rearranged while remaining within the scope of the exemplary embodiments of the disclosure. Therefore, those of ordinary skill in the related field will understand that various steps or actions are presented in a sample order in the method and skills of the exemplary embodiments of the disclosure, and unless expressly stated otherwise, the exemplary embodiments of the disclosure are not limited to the specific order or hierarchy presented.
In summary of the foregoing, in the method and the system for vehicle head direction compensation of the exemplary embodiments of the disclosure, the relative positions between the sensors and the base stations are utilized to establish the local coordinate system, and the angle between the X-axis of the local coordinate system and the true north azimuth is utilized to compensate the head direction angle of the unmanned vehicle in the local coordinate system, to obtain the correct head direction angle of the unmanned vehicle (i.e., the head direction angle in the world coordinate system). Accordingly, in the method and the system for vehicle head direction compensation of the exemplary embodiments of the disclosure, the head direction angle of the unmanned vehicle can be accurately obtained in any environment, thus achieving fully automated inspection operation by the unmanned vehicle.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the disclosed embodiments without departing from the scope or spirit of the disclosure. In view of the foregoing, it is intended that the disclosure cover modifications and variations of this disclosure provided they fall within the scope of the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
110142553 | Nov 2021 | TW | national |