Navigation method and system
By determining whether the starting point and end point are in the same building in the navigation system, and calculating the shortest path segment by segment, it solves the problem of cross-building navigation that cannot be applied to large parks with existing technology, and achieves navigation path planning and efficiency in large parks. promote.
Patent Information
- Application Number
- CN202410923220.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-08-30
AI Technical Summary
Existing navigation methods are only suitable for single-building navigation and are not suitable for cross-building navigation in large campuses.
By determining whether the starting point and end point are in the same building, if they are not in the same building, the path is divided into three sections and the shortest path algorithm is used to calculate each section of the path to determine the navigation path.
It realizes effective navigation path planning in large parks, is suitable for cross-building navigation, and improves navigation efficiency.
Smart Images

Figure CN118565485A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of intelligent robot navigation, and in particular relates to a navigation method and system. Background Art
[0002] Intelligent robots are widely used in catering, large-scale exhibitions, government services, banks, hotels, warehousing and other fields.
[0003] In the warehousing field, determining the optimal path for intelligent robots is an important step in improving efficiency. When determining the optimal path, existing methods use the shortest path calculation method. For example, "An indoor navigation method and system" with application number 201310199031.X.
[0004] However, this navigation method is only suitable for navigation in a single building and is not suitable for navigation in a large park. Summary of the invention
[0005] In order to solve the problem that the existing method is not suitable for navigation in a large park, the present invention provides a navigation method and system, which can realize cross-building navigation and is suitable for a large park.
[0006] The purpose of the present invention is achieved through the following technical solutions: A first aspect of the present invention provides a navigation method, comprising the following steps: Obtaining a route planning request, wherein the route planning request includes a starting point and an end point; Determine whether the starting point and the end point are in the same building; In response to the starting point and the end point being in the same building, a navigation path is calculated using a shortest path algorithm; In response to the fact that the starting point and the end point are not in the same building, the buildings where the starting point and the end point are located are determined, and the shortest path algorithm is used to calculate a first path from the starting point to the exit of the building where the starting point is located, a second path from the entrance of the building where the end point is located to the end point, and a third path from the exit of the building where the starting point is located to the entrance of the building where the end point is located, and a navigation path is determined based on the first path, the second path, and the third path.
[0007] A second aspect of the present invention provides a navigation system, comprising: beacons, wherein there are a plurality of beacons, the beacons are arranged on the path and the signals of the beacons completely cover the path; A path planning unit, the path planning unit comprising a first controller, a memory connected to the first controller, and a first signal transceiver unit, the memory storing a computer program, the first controller being used to read the computer program and execute a navigation method described in the first aspect; An intelligent walking unit, the intelligent walking unit includes a second signal transceiver unit for interacting with the first signal transceiver unit, a beacon sensing unit for detecting the beacon signal, and a second controller for achieving positioning according to the signal of the beacon sensing unit and achieving walking control according to the navigation path and positioning.
[0008] Compared with the prior art, the present invention has at least the following advantages and beneficial effects: The invention determines whether the starting point and the end point are in the same building. When they are not in the same building, the navigation path is divided into three sections, and each section is determined by the shortest path algorithm to realize the planning of the navigation path, which is suitable for navigation across buildings. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0010] Figure 1 The figure is a flow chart of the navigation method of the present invention. DETAILED DESCRIPTION
[0011] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0012] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0013] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
[0014] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0015] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, or the positions or positional relationships in which the product of the invention is usually placed when in use, or the positions or positional relationships commonly understood by those skilled in the art, which are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
[0016] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0017] The invention discloses a navigation method and system. The navigation system comprises a plurality of beacons, a path planning unit and at least one intelligent walking unit.
[0018] Among them, there are multiple beacons, which are arranged on the path that the intelligent walking unit can walk so that the signal completely covers the path. The intelligent walking unit includes a second signal transceiver unit, a beacon sensing unit for detecting the beacon signal, and a second controller for realizing positioning according to the signal of the beacon sensing unit and realizing walking control according to the navigation path and positioning. The path planning unit includes a first controller and a memory and a first signal transceiver unit, both of which are connected to the first controller. The first signal transceiver unit interacts with the second signal transceiver unit to receive positioning information to determine the starting point of the path planning and send the navigation path to the second signal transceiver unit, wherein the navigation path is determined by executing a computer program stored in the memory, and the first controller is used to read the computer program and execute a navigation method to determine the navigation path. For example, the memory may include, but is not limited to, random access memory (RAM), read-only memory (ROM), flash memory, first input first output (FIFO), and first input last output (FILO), etc.; the first controller may not be limited to a microcontroller of the STM32F105 series. In addition, the computer device may also include, but is not limited to, a power supply unit, a display screen, and other necessary components.
[0019] Specifically, Figure 1 As shown, the navigation method includes steps S01 to S04.
[0020] Step S01: Obtain a route planning request, wherein the route planning request includes a starting point and an end point.
[0021] The path planning request may be sent by the system, or by an APP terminal, or by an intelligent walking unit.
[0022] Step S02: Determine whether the starting point and the end point are in the same building.
[0023] Step S03: In response to the starting point and the end point being in the same building, a navigation path is calculated using a shortest path algorithm.
[0024] In this step, when calculating the navigation path, the shortest path is calculated based on the shortest path algorithm to reduce the walking path of the intelligent walking unit and improve efficiency.
[0025] Specifically, first determine the floors where the starting point and the end point are located; then determine whether there is a direct elevator between the floors where the starting point and the end point are located; when there is a direct elevator between the floors where the starting point and the end point are located, use the elevator to connect the floors where the starting point and the end point are located at the location of the elevator into a connected graph, and then use the shortest path algorithm to calculate the navigation path; when there is no direct elevator between the floors where the starting point and the end point are located, use the elevator, escalator, and stairs to connect all floors of the building and their locations into a connected graph, and then use the shortest path algorithm to calculate the navigation path.
[0026] Using the above method, elevators are preferred to realize cross-floor path planning to reduce the walking time of the intelligent walking unit and the charging frequency of the intelligent walking unit. When there is no direct elevator between the starting and ending floors, consider using a combination of elevators, escalators, and stairs to realize the shortest path planning.
[0027] Step S04, in response to the starting point and the end point being in different buildings, determine the buildings where the starting point and the end point are located, and use the shortest path algorithm to calculate a first path from the starting point to the exit of the building where the starting point is located, a second path from the entrance of the building where the end point is located to the end point, and a third path from the exit of the building where the starting point is located to the entrance of the building where the end point is located, and determine a navigation path based on the first path, the second path, and the third path.
[0028] When the starting point and the end point are not in the same building, the shortest path planning needs to be divided into three sections and then combined into a navigation path. The three sections are respectively a first path from the starting point to the exit of the building where the starting point is located, a second path from the entrance of the building where the end point is located to the end point, and a third path from the exit of the building where the starting point is located to the entrance of the building where the end point is located. The calculation of the first path and the second path also adopts the method in step S03.
[0029] After the navigation path planning is completed, it is sent to the corresponding intelligent walking unit, and the intelligent walking unit can perform walking control according to the navigation path and its positioning situation.
[0030] The beacons placed on the path may be Bluetooth beacons.
[0031] The intelligent walking unit realizes positioning according to the received beacon signal strength. There are many methods for realizing positioning according to the beacon signal strength. Since the beacon signal is unstable, in order to improve the reliability and accuracy of positioning, steps S11 to S13 can be used.
[0032] Step S11, obtaining the beacon signals of all beacons collected by the beacon sensing unit within 2 seconds before the current moment, wherein the beacon signals include signal strength, location identification, building, and floor.
[0033] The intelligent walking unit uses a sliding window method to store the beacon signals of all beacons collected within the last 2 seconds.
[0034] Step S12: Calculate the average signal strength of each floor.
[0035] The intelligent walking unit may collect beacon signals from different layers at one location. The beacons may be distributed on the same layer, or on two or three adjacent layers.
[0036] The average signal strength of each floor is calculated based on the building and floor in the beacon signal.
[0037] Step S13: determine the floor where the intelligent walking unit is located according to the average value and determine the position of the signal with the largest signal strength on the floor as the positioning position.
[0038] By adopting the above method, positioning calculation is realized based on the beacon signal within 2 seconds, which can avoid the problem of inaccurate positioning caused by unstable beacon signal.
[0039] Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments, or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A navigation method, characterized in that: The following steps are involved: Obtaining a route planning request, wherein the route planning request includes a starting point and an end point; Determine whether the starting point and the end point are in the same building; In response to the starting point and the end point being in the same building, a navigation path is calculated using a shortest path algorithm; In response to the fact that the starting point and the end point are not in the same building, the buildings where the starting point and the end point are located are determined, and the shortest path algorithm is used to calculate a first path from the starting point to the exit of the building where the starting point is located, a second path from the entrance of the building where the end point is located to the end point, and a third path from the exit of the building where the starting point is located to the entrance of the building where the end point is located, and a navigation path is determined based on the first path, the second path, and the third path.
2. A navigation method according to claim 1, characterized in that: The method of calculating the navigation path by using the shortest path algorithm includes: Determine the floors where the starting point and the end point are located; Determine whether there is a direct elevator between the floors where the starting point and the end point are located; In response to a direct elevator between the floors where the starting point and the end point are located, the elevator is used to connect the floors where the starting point and the end point are located at the location of the elevator into a connected graph, and then a navigation path is calculated using a shortest path algorithm; In response to the fact that there is no direct elevator between the floors where the starting point and the end point are located, all floors of the building are connected to form a connected graph at their locations using elevators, escalators, and stairs, and then the navigation path is calculated using the shortest path algorithm.
3. A navigation system, characterized in that: include: beacons, wherein there are a plurality of beacons, the beacons are arranged on the path and the signals of the beacons completely cover the path; A path planning unit, the path planning unit comprising a first controller, a memory connected to the first controller, and a first signal transceiver unit, the memory storing a computer program, the first controller being used to read the computer program and execute a navigation method according to any one of claims 1 to 2; An intelligent walking unit, the intelligent walking unit includes a second signal transceiver unit for interacting with the first signal transceiver unit, a beacon sensing unit for detecting the beacon signal, and a second controller for achieving positioning according to the signal of the beacon sensing unit and achieving walking control according to the navigation path and positioning.
4. A navigation system according to claim 3, characterized in that: The beacon is a Bluetooth beacon.
5. A navigation system according to claim 3, characterized in that: The method of realizing positioning according to the signal of the beacon sensing unit comprises the following steps: Obtain the beacon signals of all beacons collected by the beacon sensing unit within 2 seconds before the current moment, wherein the beacon signals include signal strength, location identifier, building, and floor; Calculate the average signal strength of each floor by floor; The floor where the intelligent walking unit is located is determined according to the average value, and the position where the signal with the largest signal strength is located on the floor is determined as the positioning position.
