Position detection system and position detection method
The position detection system addresses real-time position confirmation challenges by converting local sensor data to global coordinates, providing accurate and timely position updates for forklifts, enhancing operational efficiency in factories.
Patent Information
- Application Number
- JP2021148913
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-09-13
- Publication Date
- 2024-10-04
- Estimated Expiration
- 2041-09-13
AI Technical Summary
Existing position detection systems for forklifts in factories face challenges in providing real-time position confirmation due to communication delays and processing loads, making it difficult for operators to accurately determine their position and orientation in real-time.
A position detection system that utilizes a distance sensor to measure the position and orientation of a forklift by comparing measurement data with map information in a relative coordinate system, converting it to a global coordinate system, and displaying the results in real-time on a display device, using a combination of edge and server-side processing to reduce latency.
Enables real-time confirmation of the forklift's position and orientation on a global map, reducing processing delays and ensuring accurate, low-cost position detection for indoor and outdoor operations.
Smart Images

Figure 0007561716000001 
Figure 0007561716000002 
Figure 0007561716000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a position detection system and a position detection method for detecting the position and attitude of a mobile object such as a forklift operating in a factory. [Background technology]
[0002] In recent years, with the increase in logistics within factories, a technology has been developed to detect the position and orientation by mounting a distance sensor such as a laser scanner on a forklift or the like and applying SLAM (Simultaneous Localization And Mapping) technology. Patent Document 1 is an example of a prior art document in this technical field. Patent Document 1 explains using so-called Visual SLAM using a camera. It discloses a technology in which image data captured by a camera is transferred to a server via a network and a position estimation process with a high processing load is executed on the server. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2021-56629 Summary of the Invention [Problem to be solved by the invention]
[0004] However, in Patent Document 1, position estimation is performed via a communication line, making it difficult to apply to services for manned forklifts that require knowing the position in real time due to communication delays, etc. For example, in Patent Document 1, the initial position of the forklift is identified and the origin position is calculated on the server side, so it takes time to transmit the results to the forklift and display them on a display device such as a display mounted on the forklift, making it difficult for the operator to check the position of the forklift he or she is operating in real time.
[0005] An object of the present invention is to provide a position detection system and a position detection method that enable an operator to check the position of the forklift he or she is operating in real time. [Means for solving the problem]
[0006] The position detection system according to the present invention is a position detection system that detects the position of a moving body that moves while estimating its own position by comparing measurement data measured by a distance sensor with map information, and includes a relative position and orientation detection processing unit that compares the measured measurement data repeatedly at a predetermined timing with map information including an origin position in a relative coordinate system that is the coordinate system of the moving body, and detects the position and orientation of the moving body in the relative coordinate system, a partial map creation unit that creates a partial map in which the detected position and orientation of the moving body are represented in the map information at each of the predetermined timings, a relative movement amount calculation unit that calculates the relative movement amount of the moving body in the partial map based on the difference between the position and orientation of the moving body repeatedly obtained at the predetermined timing, and The position detection system is characterized by having: a wide-area position and attitude detection unit that converts the position and attitude of the moving body into the position and attitude of the moving body on an overall map using predetermined parameters related to coordinates and calculates a correction amount of the predetermined parameters used for the conversion; a partial map origin calculation unit that converts an origin position in the relative coordinate system into an origin position in a global coordinate system, which is the coordinate system of the overall map, by the amount of the correction amount; a coordinate conversion unit that converts the position and attitude in the relative coordinate system into a global coordinate system using the converted origin position in the global coordinate system and the relative movement amount of the moving body; and a display device control unit that displays the position and attitude in the relative coordinate system converted into the global coordinate system and the measurement data when the position and attitude are detected on a display unit of the moving body. Effect of the Invention
[0007] According to the present invention, an operator can check the position of the forklift he or she is operating in real time. [Brief description of the drawings]
[0008] [Figure 1] System configuration example [Diagram 2] Example of a configuration for realizing a server device [Diagram 3] Example of a configuration for realizing an edge position detection device [Figure 4] An example of a moving object measuring with a distance sensor while moving through the environment [Diagram 5] An example of multiple solutions when performing a global search on the server side [Figure 6] An example of measuring data for a partial map using an edge position detection device [Figure 7] Example of creating a partial map from measured data [Figure 8] Example of multiple solutions when performing a global search on the server [Figure 9A] Example of matching past data against multiple solutions [Figure 9B] Example of matching past data against multiple solutions [Figure 10] An example of how using past data helped to identify the correct answer [Figure 11] Processing flow chart on the edge position detection device [Figure 12] Processing flow chart on the server device [Figure 13A] Data configuration example [Figure 13B] Data configuration example [Figure 14] Computer Schematic DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. The following description and drawings are examples for explaining the present invention, and appropriate omissions and simplifications have been made for clarity of explanation. The present invention can be implemented in various other forms. Unless otherwise specified, each component may be singular or plural.
[0010] In order to facilitate understanding of the invention, the position, size, shape, range, etc. of each component shown in the drawings may not represent the actual position, size, shape, range, etc. Therefore, the present invention is not necessarily limited to the position, size, shape, range, etc. disclosed in the drawings.
[0011] In the following explanation, various information may be described using expressions such as "database," "table," and "list," but the various information may be expressed in other data structures. To indicate independence of data structure, "XX table," "XX list," and the like may be referred to as "XX information." When describing identification information, when expressions such as "identification information," "identifier," "name," "ID," and "number" are used, these are interchangeable.
[0012] When there are multiple components having the same or similar functions, they may be described by using the same reference numerals with different subscripts. However, when there is no need to distinguish between these multiple components, the subscripts may be omitted.
[0013] In addition, in the following description, processing performed by executing a program may be described, but the program is executed by a processor (e.g., a CPU (Central Processing Unit), a GPU (Graphics Processing Unit)) to perform a defined process using storage resources (e.g., a memory) and / or an interface device (e.g., a communication port) as appropriate, so the subject of the processing may be the processor. Similarly, the subject of the processing performed by executing a program may be a controller, device, system, computer, or node having a processor. The subject of the processing performed by executing a program may be a calculation unit or a calculation device, and may include a dedicated circuit that performs a specific process (e.g., an FPGA (Field-Programmable Gate Array), a CPLD (Complex Programmable Logic Device), or an ASIC (Application Specific Integrated Circuit)).
[0014] A program may be installed in a device such as a computer from a program source. The program source may be, for example, a program distribution server or a computer-readable storage medium. When the program source is a program distribution server, the program distribution server may include a processor and a storage resource for storing a program to be distributed, and the processor of the program distribution server may distribute the program to be distributed to other computers. In the following description, two or more programs may be realized as one program, and one program may be realized as two or more programs.
[0015] In this embodiment, the position detection system of the present invention is applied to an environment where a forklift is performing loading and unloading work in a factory, but the application is not limited to this and may be applied to other moving objects similar to a forklift.
[0016] 1 is a system configuration diagram constituting an embodiment of a position detection system 1000 as a whole. The system configuration is roughly divided into a server device 10 and a forklift 11. The server device 10 is equipped with a communication device 102 for communicating with the forklift 11, and a communication device control unit 105 for controlling the communication device 102. The communication device 102 that communicates with the forklift 11 is a device for performing wireless communication. In this embodiment, a description will be given assuming a communication device that uses a public line, but a wireless LAN (Local Area Network) that performs local communication by disposing an access point in a factory may also be used.
[0017] The server device 10 is equipped with a wide-area position and orientation detection unit 103. The wide-area position and orientation detection unit 103 is a functional block for comparing measurement data of a distance sensor 113 transmitted from the forklift 11 with the map data over a wide area in order to detect the position and direction of the forklift 11 on map data such as an overall map or a partial map, which will be described later.
[0018] The server device 10 is also equipped with a partial map origin calculation unit 104. This is a functional block for calculating parameters that determine the amount of correction required to convert the detection results of the position and orientation in the relative coordinate system, which is the coordinate system of the partial map, detected by the edge position detection device 111, into the global coordinate system, which is the coordinate system of the overall map. The relative coordinate system is the coordinate system for each of the multiple edge detection devices 111 (or forklifts 11), and the global coordinate system can be said to be a coordinate system common to all of the multiple edge detection devices 111 (or forklifts 11).
[0019] The operation control unit 101 mounted on the server device 10 is a functional block having a function of calculating the travel distance, etc. of the forklift 11 from the detection results of the position and attitude. By referring to the travel distance, etc., a system administrator, etc. can accurately know the timing of maintenance, etc.
[0020] The forklift 11 is equipped with a display device 118, a communication device 112, a distance sensor 113, and an edge position detection device 111. The display device 118 displays the position and posture of the forklift 11 and an overall map, and is used by the driver to confirm the current position. The communication device 112 is used when communicating with the server device 10.
[0021] The edge position detection device 111 is a device that works in cooperation with the server device 10 to detect the position and posture of the forklift 11, and is mainly composed of a distance sensor control unit 116, a partial map generation unit 114, a communication device control unit 115, a relative position and posture detection unit 117, and a coordinate conversion unit 119.
[0022] The distance sensor control unit 116 is used to control the distance sensor 113. The distance sensor 113 is a sensor capable of measuring the distance and measurement direction to an object in the surrounding environment. In this embodiment, a two-dimensional laser scanner is used as a typical distance sensor for explanation. The two-dimensional laser scanner calculates the distance by irradiating a laser pulse in the horizontal direction and measuring the time it takes for the diffusely reflected laser light to return. The two-dimensional laser scanner rotates the irradiation direction of the laser pulse by a motor provided inside the sensor, and acquires the irradiation direction and distance, thereby acquiring shape data of the surroundings.
[0023] The measurement range of a laser scanner is, for example, an irradiation range of 270 degrees, an angular resolution (pulse irradiation interval) of 0.25 degrees, and a scanner capable of acquiring 1081 points of measurement data at 25 msec intervals. However, this is not limited to this, and any sensor that can acquire multiple sets of measurement data and irradiation directions can be applied even if the irradiation range and angular resolution are different. In addition, not only two-dimensional laser scanners, but also three-dimensional laser scanners that can measure the distance to surrounding structures in three dimensions and stereo cameras, etc., that can acquire multiple distances to surrounding structures in different angular directions can be applied.
[0024] Next, a specific implementation method of the server processing device 10 will be described with reference to Fig. 2. The server processing device 10 is composed of a processor 201 for performing arithmetic processing, a memory 202 which is a temporary storage device when executing a program, an auxiliary storage device 208, a communication I / F (interface) 209, and a communication device 102 connected to the communication I / F 209.
[0025] When the server device 10 is operating, various data used in this system, including a communication device control program 203, a wide area position and attitude detection program 204, a map creation program 205, an operation management program 210, a partial map origin calculation program 213, a relative movement amount calculation program 215, and an overall map 206 stored in an auxiliary storage device 208, are deployed on the memory 202. The entire function is realized by processing these programs by the processor 201. The processor 201 is an arithmetic device for executing the programs.
[0026] The communication control program 203 is a program for realizing the function of the communication device control unit 105. The communication control program 203 controls the communication device 102, communicates with the edge position detection device 111 mounted on the forklift 11, receives measurement data of the distance sensor 113, and stores the data in the memory 202. The wide area position and orientation detection program 204 is a program for realizing the function of the wide area position and orientation detection unit 103. The wide area position and orientation detection program 204 is a program for collating the entire map 206 with the measurement data of the distance sensor 113 sent from the edge position detection device 111, and for identifying the position and orientation measured by the distance sensor 113 on the entire map 206. The partial map origin calculation program 213 is a program for calculating a correction amount for the relative coordinate system held by the edge position detection device 111 by comparing the detected position and orientation on the entire map 206 with the position and orientation on the partial map 313 in the edge position detection device 111 sent from the edge position detection device 111.
[0027] The traffic management program 210 is a program for realizing the function of the traffic management unit 101. The map creation program 205 is a program for realizing the function of creating map data of the entire map. The origin information 212 of the edge position detection device 111 is coordinate information of the origin of the edge position detection device 111 in the entire map, and is determined in advance. The partial map origin calculation program 213 is a program for realizing the function of the partial map origin calculation unit 104. The search initial position 214 stored in the auxiliary storage device 208 is the initial position of the forklift 11 searched for before the initial position of the forklift 11 is identified. The relative movement amount calculation program 215 is a program for calculating the relative movement amount of the forklift 11.
[0028] Furthermore, the auxiliary storage device 208 of the server device 10 stores history information 211. The history information 211 is information in which various data received from the forklift 11 is accumulated. As shown in FIG. 2, the history information 211 includes a position and orientation detection result history 211a, distance sensor data 211b, and a measurement time history 211c. The position and orientation detection result history 211a is information in which a relative position and orientation detection result, which is a detection result of the position and orientation of the forklift 11 on the relative coordinate system detected by the edge position detection device 111, is accumulated in time series. The distance sensor data 211b is information in which data measured by the distance sensor 113 is accumulated in time series. The measurement time history 211c is information in which the time of measurement by the distance sensor 113 is accumulated in time series. The position and orientation detection result history 211a, the distance sensor data 211b, and the measurement time history 211c are stored in association with each other using the measurement time as a key, and may be stored as one table.
[0029] For example, the position and orientation detection result history 211a is information in which the contents of the "relative position, orientation" item shown in Fig. 13A are accumulated in chronological order. The distance sensor data 211b is information in which the contents of the "distance sensor measurement data" item shown in Fig. 13A are accumulated in chronological order. The measurement time history 211c is information in which the contents of the "measurement time" item shown in Fig. 13A are accumulated in chronological order.
[0030] Corresponding to these pieces of information, the auxiliary storage device 208 further stores in chronological order the contents indicating the degree of match when the measurement data received from the edge position detection device 111 is matched with the overall map 206 or the display map 318 having the same coordinate system as the overall map 206, and the contents of the "solution accuracy" item indicating the variation in the solution when the degree of match is calculated after matching. In addition to the solution with the highest degree of match, other solutions that are equal to or higher than a predetermined threshold and that were obtained when the degree of match was determined are stored in the "solution accuracy" item.
[0031] The auxiliary storage device 208 is a storage device that allows various data to be stored even when the power is turned off, and is realized by a non-volatile memory or the like.
[0032] 3, a specific function of the edge position detection device 111 will be described. The edge position detection device 111 has a processor 301, a memory 302, an auxiliary storage device 309, and a communication I / F 310. A communication device 112, a display device 118, and a distance sensor 113 are connected to the communication I / F.
[0033] During operation, after the power is turned on, various data used in this system, including a distance sensor control program 303, a position and orientation detection program 304, a partial map creation program 305, a relative movement amount calculation program 306, a display device control program 311, a communication device control program 312, and a partial map 313 stored in the auxiliary storage device 208, are expanded on the memory 302.
[0034] The distance sensor control program 303 is a program for realizing the function of the distance sensor control unit 116. The distance sensor control program 303 controls the distance sensor 113 via the communication I / F, acquires measurement data 314 from the distance sensor 113, and stores it in the memory 302. The measurement data 314 is data including the distance to an object measured by the distance sensor 113 and the measurement direction. As will be described in detail later, the measurement data 314 is accumulated with measurement data at a predetermined timing (for example, every 25 ms).
[0035] The position and orientation detection program 304 is a program for implementing the functions of the relative position and orientation detection unit 117. The position and orientation detection program 304 compares the measurement data 314 with the partial map 313, detects the position and orientation of the forklift 11, and stores the position and orientation detection result 308 together with the measurement time in the memory 302 as a history.
[0036] The partial map creation program 305 is a program for realizing the function of the partial map creation unit 114. The partial map creation program 305 uses the partial map and measurement data to create an updated partial map including the position and attitude of the forklift 11. A specific creation method will be described later with reference to FIG.
[0037] The relative movement amount calculation program 306 calculates the relative movement amount of the forklift 11 from the position and orientation detection results 308 between different times, and transmits the movement amount to the server device 10 together with the position and orientation detection results 308 and measurement data 314 each time it is calculated.
[0038] The coordinate conversion program 317 is a program for realizing the function of the coordinate conversion unit 119. The coordinate conversion program 317 is a program for converting the position and orientation detection result 308 into the overall coordinate system defined in the overall map 206, using the origin information 316 of the edge position detection device 111 calculated and transmitted by the server device 10. The clear definitions of these coordinate systems will be described later.
[0039] The display device control program 311 outputs the converted position and orientation detection result 308 to the display device 118 via the communication I / F 310. The position and orientation detection result 308 is displayed together with a display map 318, which is a map having a coordinate system similar to that of the overall map 206 to be displayed on the display device 119 and is stored in the auxiliary storage device 309. This allows the operator of the forklift 11 to check in real time the current position and orientation of the forklift 11 that he or she is operating on the overall map 206.
[0040] The above-mentioned server 10 and edge position detection device 111 can be realized, for example, by a general computer 1600 having a CPU 1601, a memory 1602, an external storage device 1603 such as an HDD (Hard Disk Drive), a reading / writing device 1607 for reading and writing information from a portable storage medium 1608 such as a CD (Compact Disk) or USB memory, an input device 1606 such as a keyboard or mouse, an output device 1605 such as a display, a communication device 1604 such as a NIC (Network Interface Card) for connecting to a communication network, and an internal communication line (called a system bus) 1609 such as a system bus that connects these together, as shown in Figure 14 (schematic computer diagram).
[0041] Various data stored in the server 10 or the edge position detection device 111 or used for processing can be realized by the CPU 1601 reading out from the memory 1602 or the external storage device 1603 and using the data. Also, each functional unit of the server 10 or the edge position detection device 111 (for example, the wide area position and orientation detection unit 103, the partial map origin calculation unit 104, etc. of the server 10, or the partial map generation unit 114, the relative position and orientation detection unit 117, etc. of the edge position detection device 111) can be realized by the CPU 1601 loading a predetermined program stored in the external storage device 1603 into the memory 1602 and executing it.
[0042] The above-mentioned predetermined program may be stored (downloaded) in the external storage device 1603 from the storage medium 1608 via the reading / writing device 1607 or from the network via the communication device 1604, and then loaded onto the memory 1602 and executed by the CPU 1601. Alternatively, the program may be directly loaded onto the memory 1602 from the storage medium 1608 via the reading / writing device 1607 or from the network via the communication device 1604, and executed by the CPU 1601.
[0043] In the following, an example is given in which the server 10 is configured by a single computer, but similar functions may be realized by distributing all or part of these functions across one or more computers, such as a cloud, and communicating with each other via a network.
[0044] Fig. 4 shows how a forklift is measuring with a distance sensor while moving. Fig. 4 shows the state after the detection results of the position and orientation in the relative coordinate system are converted into the position and orientation in the global coordinate system by correcting them by the correction amount determined by the specified parameters.
[0045] First, at the start of work, the forklift 11 is powered on at position 401, and the edge position detection device 111 is started. After starting up, the forklift 11 measures the surroundings with the distance sensor 113 and obtains measurement data 406. Generally, there is a limit to the measurement distance of a laser scanner, and only the distance to some of the structures within the operating range of the forklift 11 can be obtained. In FIG. 4, the parts of the structures measured within the limit of the measurement distance obtained as measurement data 407 are shown by thick lines. At this point, the forklift 11 does not hold information on its own position and attitude on the overall map 206, so it transmits the measurement data 406 to the server device 10.
[0046] 5 shows the result of the wide area position and orientation detection process when the server processing device 10 receives the measurement data 406. The wide area position and orientation detection process is a process of matching the measurement data 406 of the distance sensor 113 received from the forklift 11 with the shape of the overall map 206. It is assumed that this shape matching process is performed using a method such as scan matching, such as an ICP (Iterative Closest Point Search) algorithm or an NDT (Normal Distribution Transform) algorithm, which is a process of matching the measurement data 406 of the distance sensor 113 with the overall map 206, but is not limited to this, and any technology that can compare the shapes of each other and identify the matching position may be used, and AI technology such as deep learning may be used. This process is performed by the wide area position and orientation detection program 204.
[0047] The ICP algorithm and the NDT algorithm require an initial position and orientation to be given when performing a matching process. The wide area position and orientation detection program 204 divides the range in which the forklift 11 may exist into fixed sections on the overall map 206, and generates the initial position and orientation. For example, the overall map 206 is divided into a grid, and then the position in the range that overlaps with the information on the passage of the forklift 11 that may exist at the earliest time is set as the initial position, and the orientation at the initial position is set as the orientation of the initial position. The orientation may be set by taking into account the direction of the passage, for example.
[0048] In FIG. 5, a plurality of positions and orientations 501, 505 of the forklift 11 are obtained as a result of executing the wide-area position and orientation detection process. When one frame's worth of measurement data 406 is used, the measurement range is limited. For this reason, there are cases where the overall map 206 (or the display map 318 having the same coordinate system as the overall map 206) and the measurement data 406 match at a plurality of locations. FIG. 5 shows an example in which the position and orientation 501 of the forklift 11 at a certain time point in one frame and the position and orientation 505 of the forklift 11 at another time point in one frame are obtained. In this case, the position of the forklift 11 cannot be uniquely identified. Below, a method for avoiding this and identifying the position and orientation of the forklift 11 will be described.
[0049] Fig. 6 shows how the forklift 11 measures the measurement data 406 of the distance sensor 113 while moving. At this time, the position of the forklift 11 at the time of startup is set as the initial position on the edge position detection device 111, i.e., the initial position in the relative coordinate system, and the x-axis is taken as the traveling direction of the forklift 11. Fig. 6 shows that the center position of the forklift 11 at position 401 is the initial position in the relative coordinate system, and the forklift 11 moves from left to right in the figure.
[0050] In this embodiment, the position of the distance sensor 113 is the center of the forklift 11, and the 0 degree direction in front of the distance sensor 113 coincides with the traveling direction of the forklift 11. However, even if the mounting position and direction of the distance sensor 113 are changed, the above will be the same as if an appropriate coordinate conversion was performed based on the relationship of the mounting position and direction with respect to the center and traveling direction of the forklift 11.
[0051] The forklift 11 starts moving forward from position 401 (initial position), which is the starting position, and moves to positions 601 and 602. During this time, the distance sensor 113 continues to measure measurement data at 25 ms intervals. Fig. 6 shows the limit of the measured distance obtained as measurement data 601S measured at position 601 in the next interval, and the limit of the measured distance obtained as measurement data 602S measured at position 602 in the next interval.
[0052] FIG. 7 illustrates a method of detecting a relative position and orientation, which is detection of a position and orientation in a relative coordinate system on the edge position detection device 111, and generating a partial map.
[0053] First, there is map data 703, which is map information in an initial state in which nothing is written. An origin O on the map data is set in the map data 703. The measurement data 406 of the distance sensor 113 at the initial position, which is the position 401 at which the forklift 11 is started, is data measured at the position and attitude at the time of start-up. Therefore, the partial map creation program 305 starts creating a partial map using this data as a reference.
[0054] Even if a process for comparing the position and orientation of the forklift 11 using the measurement data 406 of the distance sensor 113 with the map data 703 in the initial state is performed, there is no matching position and orientation because there is no position and orientation of the forklift 11 to compare. For this reason, in this case, the position and orientation detection program 304 executes a position and orientation detection process 701 that acquires the measurement data 406 of the distance sensor 113 based on the position and orientation (0,0,0) at the position 401. Furthermore, the partial map creation program 305 executes a partial map creation process 702 that writes the measurement data 406 acquired by the position and orientation detection process 701 into the map data 703 in the initial state, and the result is map data 704, which is a partial map.
[0055] Next, the position and orientation detection program 304 uses a scan matching technique to compare the position and orientation obtained from the measurement data 406 at the time the map data 704 was created as the previous position and orientation against the position and orientation obtained from the measurement data 601S at the position 601 shown in Fig. 6. This allows the position and orientation detection program 304 to calculate the amount of movement relative to the position 401 at which the forklift 11 was started, and the partial map creation program 305 can create map data 705, which is a new partial map including the position and orientation of the forklift 11 after the relative movement. Similarly, at the position 602 of the next cycle, the position and orientation detection program 304 uses a scan matching technique to compare the position and orientation obtained from the measurement data 601S at the position 601 as the previous position and orientation against the position and orientation obtained from the measurement data 602S at the position 602. This enables the position and attitude detection program 304 to calculate the amount of relative movement with respect to the position 601 after the forklift 11 has started and moved forward, and the partial map creation program 305 to create map data 706, which is a new partial map including the position and attitude of the forklift 11 after the relative movement.
[0056] By repeating this process, the position and attitude detection program 304 and the partial map creation program 305 can calculate the relative movement amount of the forklift 11 from the position and attitude at which the forklift 11 was started up to the present, and create a new partial map including the position and attitude of the forklift 11 after it has moved by that amount of movement. The communication control unit 115 transmits this relative movement amount and the measurement data of the distance sensor 113 to the server device 10. The communication control unit 115 also transmits the partial map when the relative movement amount was calculated, i.e., the partial map from the initial position to the most recent position, to the server device 10.
[0057] FIG. 8 is a diagram showing a result of collating the measurement data 408 (FIG. 4) of the position and attitude 404 of the forklift 11 transmitted to the server device 10 with the overall map 206 (or the display map 318 having the same coordinate system as the overall map 206; the same applies below). As described with reference to FIG. 5, in one frame of measurement data 408, it is assumed that measurement data 801b, 801c, and 801e, which have detected positions and attitudes, are extracted as multiple positions and attitudes that match well, as shown in FIG. 8. In this state, the position and attitude on the overall map 206 cannot be specified, as in FIG. 5. Therefore, the wide area position and attitude detection program 204 performs a wide area position and attitude detection process using data transmitted in past periods.
[0058] 9A and 9B show the result of applying the position and orientation history data (stored as history information 211) sent from edge position detection device 111 in a past cycle to measurement data 801b from which the position and orientation are detected obtained as a result of the comparison (FIG. 9A), and the result of applying the position and orientation history data sent from edge position detection device 111 in a past cycle to measurement data 801e from which the position and orientation are detected (FIG. 9B). In FIG. 9A, measurement data 801b from which the position and orientation on the relative coordinate system are detected and received from edge position detection device 111 in the most recent cycle matches well with the shapes of the overall map 206 and the display map 318. However, the measurement data (history data 801b', 801b") that detects the position and orientation on the relative coordinate system received from the edge position detection device 111 in other past periods has a certain number or more areas in range R that do not match the shapes of the overall map 206 or the display map 318. Similarly, in Figure 9B, the measurement data 801e that detects the position and orientation on the relative coordinate system received from the edge position detection device 111 in the most recent period matches well with the shapes of the overall map 206 and the display map 318, while the history data 801e', 801e" has a certain number or more areas in range R that do not match the shapes of the overall map 206 or the display map 318. It can be seen that both Figures 9A and 9B have four areas of range R that do not match.
[0059] In this way, in this system, the measurement data received from the edge position detection device 111 is applied to the overall map, thereby estimating the position and orientation of the forklift 11 equipped with the edge position detection device 111 on the overall map.
[0060] 10 shows the result of applying past history to the matching result candidate 801c, and it can be seen that there is no part of the range R that does not match the shape of the overall map 206 or the display map 318 as shown in FIGS. 9A and 9B, and all of them match well with the correct position and posture. Such matching results are displayed on the display device 118 of the forklift 11.
[0061] In FIG. 10, both the measurement data 801c that detects the position and orientation on the relative coordinate system received from the edge position detection device 111 in the most recent cycle and the other measurement data (history data 801c', 801c") that detects the position and orientation on the relative coordinate system received from the edge position detection device 111 in the past cycle match well with the shapes of the overall map 206 and the display map 318. In this way, the wide area position and orientation detection program 204 can accurately identify the initial position by comparing not only the measurement data that detects the position and orientation on the relative coordinate system received from the edge position detection device 111 in the most recent cycle, but also the above-mentioned measurement data received from the edge position detection device 111 in the past cycle, with the overall map 206. The initial position can be identified using the partial map from the initial position to the most recent position transmitted from the edge position detection device 111 and the relative movement amount explained using FIG. 7. The coordinate conversion when fitting the measurement data to the overall map will be described later.
[0062] Next, the details of the processing on the edge position detection device 111 will be described with reference to the flowchart of FIG.
[0063] The distance sensor control program 303 of the edge position detection device 111 acquires measurement data from the distance sensor 113 (1101).
[0064] In the edge position detection device 111, the position and orientation detection program 304 performs position and orientation detection processing in the edge position detection device 111 as described in FIG. 7 (1102) using the acquired measurement data, map data indicating the current partial map, and map data indicating the partial map in which the position and orientation of the previous frame are set as initial values.
[0065] Next, the edge position detection device 111 updates (1103) the partial map 313 stored in the edge position detection device 111 according to the result of the position and orientation detection obtained in the position and orientation detection process in step 1102, as described in Fig. 7. The processes performed in steps 1102 and 1103 may use, for example, SLAM (Simultaneous Localization And Mapping) technology.
[0066] Next, the communication device control program 312 of the edge position detection device 111 transmits to the server device 10 the measurement time, the measurement data of the distance sensor 113, the relative movement amount calculated from the position and orientation in the relative coordinate system, and the accuracy of the solution as shown in FIG. 13A (1105).
[0067] The coordinate conversion program 317 of the edge position detection device 111 judges whether or not it has received a notification from the server device 10 that the wide area position and orientation detection process has already been executed and succeeded (1109). If it has received a notification that it has already succeeded (1109; Yes), the coordinate conversion program 317 converts the position and orientation in the relative coordinate system into the global coordinate system using the origin information 212 already transmitted from the server device 10 (1106), and the display device control program 311 displays the measurement data, which detects the position and orientation converted into the global coordinate system, on the display device 118 of the edge position detection device 111 (1107).
[0068] On the other hand, if no notification of success has been received from the server device 10 (1109; No), the coordinate transformation program 317 of the edge position detection device 111 displays on the display device 118 that the search for the initial position and orientation is incomplete (1108).
[0069] Next, details of the processing on the server device 10 will be described with reference to the flowchart in Fig. 12. The position and orientation in the relative coordinate system, the measurement data of the distance sensor 113, the measurement time, the detection result of the edge position detection device 111 and its accuracy are received from the edge position detection device 111 (1201).
[0070] Fig. 13A is a diagram showing an example of data transmitted from the edge position detection device 111 to the server device 10. As shown in Fig. 13A, the data transmitted from the edge position detection device 111 is stored in correspondence with each other in the following items: a "measurement time" item and its contents ("yyyymmddmmssmmm" in Fig. 13A), a "relative position, orientation" item and its contents ("x_l [mm], y_l [mm], θ_l [mm]" in Fig. 13A), and a "measurement data of distance sensor" item and its contents ("d1, d2, ..., d1081" in Fig. 13A). Furthermore, the above data includes, in association with this information, a "degree of agreement" item and its contents ("R [%]" in FIG. 13A) indicating the rate at which the measurement data for which the position and attitude have been detected matches the overall map 206 or the display map 318, and a "solution accuracy" item and its contents ("c_11, c_12, c_13" in FIG. 13A) which is the accuracy of the measurement data when the "degree of agreement" meets a predetermined threshold (e.g., 90 percent or more) ("c_21, c_22, c_23" and "c_31, c_32, c_33" are the accuracy of the measurement data obtained in the current cycle, and the accuracy of the measurement data obtained in the past two cycles) which are the three items. These three are, for example, the accuracy when the measurement data 801c and the history data 801c' and 801c" shown in FIG. 10 were obtained.
[0071] The relative movement amount calculation program 215 compares the data received in step 1201 with the position and orientation detection result history 211a stored in the server device 10, and calculates the relative movement amount in the global coordinate system of the forklift 11 (1212). The calculation of the relative movement amount in the global coordinate system can be performed from the position and orientation detection results between different times, similar to the case where the relative movement amount in the relative coordinate system is calculated after performing coordinate conversion from the relative coordinate system to the global coordinate system (FIGS. 9 and 10).
[0072] The relative movement amount calculation program 215 judges whether the calculated relative movement amount is equal to or greater than a threshold value D (1213). The threshold value D is a value indicating how much the calculated relative movement amount has changed from the relative movement amount received from the forklift 11 at the previous timing. In other words, if it is judged that the relative movement amount used in the previous search is not equal to or greater than the threshold value D (1213; No), there is a high possibility that the judgment result will not change because the forklift 11 is not moving, so the program does not perform subsequent processing and notifies the edge position detection device 111 of failure to identify the origin (1211).
[0073] In step 1213, if it is determined that the forklift has moved by more than the threshold value D (1213; Yes), first, the relative movement amount calculation program 215 stores the received data in the history information 211 (1214). Next, the wide area position and orientation detection program 204 determines the search range and the search initial value {(xi_1, yi_1, θi_1), ..., (xi_N, yi_N, θi_N)} from the most recent measurement time, the relative movement amount, and the solution accuracy received in step 1201 (1202). In this process, if the search for the position and orientation on the whole map has been successful in the past, the whole map is not searched as the search area, but the amount of calculations can be reduced by searching the periphery of the current position in the whole map.
[0074] The wide area position and orientation detection program 204 executes position and orientation detection processing using the set search initial values {(xi_1, yi_1, θi_1), ..., (xi_N, yi_N, θi_N)} as initial positions (1203). The wide area position and orientation detection program 204 evaluates the position and orientation detection results for each search initial value, and calculates the number S of results for which position and orientation detection has been successful (1204).
[0075] Next, the wide area pose detection program 204 evaluates the value of S and executes a conditional branch process (1205).
[0076] If S=0, none of the initial position and orientation searches have been successful, and so the wide area position and orientation detection program 204 notifies the edge position detection device 111 of failure to identify the origin.
[0077] When S=1, the position and orientation detection is successful only once, so the wide area position and orientation detection program 204 considers it successful and calculates the origin position on the overall map and the position and orientation of the edge position detection device 111 based on the origin position (1207). Specifically, the wide area position and orientation detection program 204 calculates origin information (x_t_c, y_t_c, θ_t_c) in the relative coordinate system using (Equation 1) and (Equation 2) with the position and orientation on the global coordinate system as {(x_t_g, y_t_g, θ_t_g)} and the position and orientation in the relative coordinate system of the edge position detection device 111 as (x_t_l, y_t_l, θ_t_l). Note that the subscript "g" represents the global coordinate system, and the subscript "l" represents the relative coordinate system. Finally, the wide area position and orientation detection program 204 transmits origin information 212 in the global coordinate system of the edge position detection device 111 to the edge position detection device 111. Fig. 13B is a diagram showing an example of data transmitted from the server device 10 to the edge position detection device 111. As shown in Fig. 13B, the data is associated with the measurement time "yyyymmddmmssmmm" corresponding to the measurement data shown in Fig. 13A and origin information "x_c, y_c, θ_c" in the relative coordinate system.
[0078] (Equation 1) θ_c = θ_g - θ_l, (Math 2)x_c=x_g−x_l×cosθ_c+y_l×sinθ_c, y_c=y_g―x_l×sinθ_c―y_l×cosθ_c
[0079] Here, the time index t is omitted as a subscript of the variables in (Equation 1) and (Equation 2). The coordinates of the position and orientation {(x_t_g, y_t_g, θ_t_g)} on the global coordinate system and the position and orientation (x_t_l, y_t_l, θ_t_l) in the relative coordinate system of the edge position detection device 111 are parameters for converting from the relative coordinate system, which is the coordinate system of the partial map, to the global coordinate system, which is the coordinate system of the global map, and by applying the above Equations 1 and 2 to these parameters, the correction amount from the position and orientation of the edge position detection device 111 in the relative coordinate system to the position and orientation on the global coordinate system can be obtained. Furthermore, by correcting the origin position with the same correction amount as the origin of the relative coordinate system, the origin position in the global coordinate system can be obtained. Then, the corrected origin position is applied to the display map 318, and the position and orientation of the edge position detection device 111 in the global coordinate system can be displayed. Moreover, by repeating such display at a predetermined cycle, it becomes possible to always correctly display the position and attitude of the forklift 11 in the global coordinate system.
[0080] If S>1, there are multiple cases where the detection of the position and orientation has been successful. In order to identify these, the wide area position and orientation detection program 204 refers to the history data accumulated as the history information 211 and executes a process to identify a solution.
[0081] Specifically, the wide area position and orientation detection program 204 sets M position and orientation detection results determined to be successful for the measurement data of the distance sensor 113 at time t as {(x_t_1_g, y_t_1_g, θ_t_1_g), ..., (x_t_m_g, y_t_m_g, θ_t_m_g), ..., (x_t_M_g, y_t_M_g, θ_t_M_g)}. The wide area position and orientation detection program 204 calculates an initial value I_m={(x_t-1_m_g, y_t-1_m_g, θ_t-1_m_g), ..., (x_t-L_m_g, y_t-L_m_g, θ_t-L_m_g)} for executing the position and orientation detection process from past history data using these positions and orientations as references. These values can be calculated by the coordinate conversion of the following (Equation 3) and (Equation 4).
[0082] (Equation 3) θ_g = θ_l + θ_c, (Math 4)x_g=x_l×cosθ_c-y_l×sinθ_c+x_c, y_g=x_l×sinθ_c+y_l×cosθ_c+y_c Here, the time t and the initial value m are omitted as subscripts of the variables in (Equation 3) and (Equation 4).
[0083] The wide area position and orientation detection program 204 performs position and orientation detection processing on I_1, . . . , I_m, . . . , I_M, calculates the number R_m of successful initial search positions for I_m, and calculates the number T of positions for which R_m is equal to or greater than a threshold value.
[0084] If T=1, it is determined that the wide area position and orientation detection has been successful, and the process of processing block 1207 is executed, and information on the calculated origin is transmitted to the edge position detection device 111. If T≠1, a notification of failure of the wide area position and orientation search is transmitted to the edge position detection device 111.
[0085] As described above, by dividing the position and orientation detection process between the server device 10 and the edge position detection device 111, it becomes possible to display the position and orientation detection results on the display device 118 without delay on the forklift side.
[0086] In this manner, in this embodiment, the position detection system 1000 detects the position of a moving object (e.g., the forklift 11) that moves while estimating its own position by collating measurement data measured by a distance sensor with map information. The position detection system 1000 includes a relative position and orientation detection processing unit (e.g., the position and orientation detection program 304) that repeatedly collates the measurement data measured at a predetermined timing (e.g., at a cycle of 25 msec) with map information (e.g., the map data 703 shown in FIG. 8) including an origin position (e.g., the origin position O shown in FIG. 8) in a relative coordinate system that is a coordinate system of the moving object, and detects the position and orientation of the moving object in the relative coordinate system, a partial map creation unit (e.g., the partial map creation program 305) that creates a partial map (e.g., the map data 704 shown in FIG. 8) that represents the detected position and orientation of the moving object in the map information at each of the predetermined timings, a relative movement amount calculation unit (e.g., the relative movement amount calculation program 215) that calculates the relative movement amount of the moving object in the partial map based on the difference between the position and orientation of the moving object repeatedly obtained at the predetermined timing, and the above-mentioned unit includes a relative position and orientation detection processing unit (e.g., the position and orientation detection program 304) that repeatedly collates the measurement data measured at a predetermined timing with map information (e.g., the origin position O shown in FIG. 8) including an origin position in a relative coordinate system that is a coordinate system of the moving object, and detects the position and orientation of the moving object in the relative coordinate system, a partial map creation unit (e.g., the partial map creation program 305) that creates a partial map (e.g., the map data 704 shown in FIG. 8) that represents the detected position and orientation of the moving object in the map information at each of the predetermined timings, a relative movement amount calculation unit (e.g a wide-area position and orientation detection unit (e.g., a wide-area position and orientation detection program 204) that converts the position and orientation of the moving object on a partial map into the position and orientation of the moving object on a whole map (e.g., coordinates indicating the position and orientation in a global coordinate system) using predetermined parameters related to coordinates (e.g., coordinates indicating the position and orientation in a relative coordinate system) and calculates a correction amount of the predetermined parameters used for the conversion; and a partial map origin calculation unit (e.g., a part a coordinate conversion unit (e.g., a coordinate conversion program 317) that converts the position and orientation in the relative coordinate system into the global coordinate system using the converted origin position in the global coordinate system and the relative movement amount of the moving body; and a display device control unit (e.g., a display device control program 311) that displays the position and orientation in the relative coordinate system converted into the global coordinate system and the measurement data when the position and orientation are detected (e.g., a comparison result applying past history as shown in FIG. 10) on a display unit of the moving body.
[0087] Therefore, the operator can check the position of the forklift he or she is operating on the overall map in real time. Also, a system for detecting the position and attitude of a mobile object such as a forklift that operates indoors and outdoors can be provided at low cost.
[0088] In the position detection system, the relative position and orientation detection processing unit and the partial map creation unit each detect the position and orientation of the moving object in the relative coordinate system by SLAM processing, and create the partial map. Therefore, the moving object can perform a specific task by avoiding obstacles and the like using the map data while creating map data in an unknown environment.
[0089] Furthermore, in the position detection system, when the position and orientation in the relative coordinate system cannot be uniquely converted to the position and orientation of the moving body in the global coordinate system (for example, in the case of FIG. 5 or FIG. 8), the wide area position and orientation detection unit specifies the position and orientation of the moving body in the global coordinate system using the position and orientation of the moving body in the relative coordinate system obtained at a predetermined timing in the past and the partial map, as described in FIG. 9A, 9B, and 10. Therefore, the position of the moving body in the global coordinate system can be accurately specified.
[0090] In addition, in the position detection system, when the relative movement amount calculation unit determines that the relative movement amount of the moving body is not equal to or greater than a predetermined threshold value D, for example, as described in 1213 to 1211 in Fig. 12, the wide area position and attitude detection unit, the partial map origin calculation unit, and the coordinate conversion unit do not perform processing, and the display device control unit notifies the display unit of the moving body of a failure to identify the origin. Therefore, for example, when there is a high possibility that no change in the determination result due to the forklift 11 not moving is obtained, such unnecessary processing is not performed, and the processing load can be reduced. [Explanation of symbols]
[0091] 10: server device, 102: communication device, 105: communication control unit, 103: wide area position and orientation detection unit, 104: partial map origin calculation unit, 11: moving body, 111: edge position detection device, 113: distance sensor, 112: communication device, 114: partial map generation unit, 116: distance sensor control unit, 115: communication control unit, 117: position and orientation detection unit, 201: processor (CPU), 202: memory (main storage device), 208: auxiliary storage device, 209: interface interface unit (I / F), 206: overall map, 204: wide area position and orientation detection program, 213: partial map origin calculation program, 215: relative movement amount calculation program, 301: processor (CPU), 302: memory (main storage device), 309: auxiliary storage device, 310: interface unit (I / F), 305: partial map creation program, 317: coordinate conversion program, 304: position and orientation detection program, 311: display device control program.
Claims
1. A position detection system that detects the position of a moving object while estimating its own position by collating measurement data measured by a distance sensor with map information, a relative position and orientation detection processing unit that compares the measurement data repeatedly measured at a predetermined timing with map information including an origin position in a relative coordinate system that is a coordinate system of the moving body, and detects the position and orientation of the moving body in the relative coordinate system; a partial map creation unit that creates a partial map in which the position and attitude of the detected moving object are represented in the map information at each of the predetermined timings; a relative movement amount calculation unit that calculates a relative movement amount of the moving object on the partial map based on the difference between the position and the attitude of the moving object repeatedly obtained at the predetermined timing; a wide area position and orientation detection unit that converts the position and orientation of the moving object on the partial map into the position and orientation of the moving object on an entire map by using predetermined parameters related to coordinates, and calculates a correction amount of the predetermined parameters used in the conversion; a partial map origin calculation unit that converts an origin position in the relative coordinate system into an origin position in an overall coordinate system that is a coordinate system of the overall map by the amount of the correction; a coordinate conversion unit that converts a position and a posture in the relative coordinate system into a global coordinate system using the converted origin position in the global coordinate system and a relative movement amount of the moving body; a display device control unit that displays, on a display unit of the moving object, a position and an orientation in the relative coordinate system converted into the global coordinate system, and the measurement data obtained when the position and orientation are detected; When the relative movement amount calculation unit determines that the relative movement amount of the moving body in the global coordinate system is not equal to or greater than a predetermined threshold D, the wide area position and orientation detection unit, the partial map origin calculation unit, and the coordinate conversion unit do not perform processing, and the display device control unit notifies the display unit of the moving body of a failure to identify the origin. A position detection system comprising:
2. 2. The position detection system according to claim 1, the relative position and orientation detection processing unit and the partial map creation unit respectively detect the position and orientation of the moving object in the relative coordinate system by SLAM processing, and create the partial map; A position detection system comprising:
3. 2. The position detection system according to claim 1, when the wide area position and orientation detection unit cannot uniquely convert the position and orientation in the relative coordinate system into the position and orientation of the moving body in the global coordinate system, the wide area position and orientation detection unit specifies the position and orientation of the moving body in the global coordinate system using the position and orientation of the moving body in the relative coordinate system obtained at a predetermined timing in the past and the partial map; A position and orientation detection system comprising:
4. A position detection method in which a computer detects a position of a moving object while estimating its own position by collating measurement data measured by a distance sensor with map information, comprising: a relative position and orientation detection processing unit repeatedly collates the measured data at a predetermined timing with map information including an origin position in a relative coordinate system which is a coordinate system of the moving body, and detects a position and orientation of the moving body in the relative coordinate system; a partial map creation unit creates a partial map in which the position and attitude of the detected moving object are represented in the map information at each of the predetermined timings; a relative movement amount calculation unit calculates a relative movement amount of the moving object in the partial map based on a difference between the position and the attitude of the moving object repeatedly obtained at the predetermined timing; a wide area position and orientation detection unit converts the position and orientation of the moving object on the partial map into the position and orientation of the moving object on the entire map using predetermined parameters related to coordinates, and calculates a correction amount of the predetermined parameters used in the conversion; a partial map origin calculation unit converts an origin position in the relative coordinate system into an origin position in an overall coordinate system, which is a coordinate system of the overall map, by the amount of the correction amount; a coordinate conversion unit converts the position and the orientation in the relative coordinate system into the global coordinate system using the converted origin position in the global coordinate system and the relative movement amount of the moving body; A display device control unit displays, on a display unit of the moving object, a position and an orientation in the relative coordinate system converted into the global coordinate system, and the measurement data at the time of detecting the position and orientation, When the relative movement amount calculation unit determines that the relative movement amount of the moving body in the global coordinate system is not equal to or greater than a predetermined threshold D, the wide area position and orientation detection unit, the partial map origin calculation unit, and the coordinate conversion unit do not perform processing, and the display device control unit notifies the display unit of the moving body of a failure to identify the origin. A position detection method comprising:
5. 5. The position detection method according to claim 4, the relative position and orientation detection processing unit and the partial map creation unit respectively detect the position and orientation of the moving object in the relative coordinate system by SLAM processing, and create the partial map; A position detection method comprising:
6. 5. The position detection method according to claim 4, if the wide area position and orientation detection unit cannot uniquely convert the position and orientation in the relative coordinate system into the position and orientation of the moving body in the global coordinate system, it specifies the position and orientation of the moving body in the global coordinate system using the position and orientation of the moving body in the relative coordinate system obtained at a predetermined timing in the past and the partial map; A position and orientation detection method comprising:
Citation Information
Patent Citations
Travel control device and travel control method for unmanned carrier
JP2019215773A
Moving route acquisition method and moving route acquisition apparatus
JP2020024618A
Control system and control method of automatic guided vehicle
JP2021047671A
Self position estimation device and method for estimating self position and computer program
JP2021056629A
