Route management device, route management method, and route management system
The route management device uses reinforcement and supervised learning models to optimize routes for a group of moving objects from diverse starting points to a common destination, facilitating efficient collective movement control.
Patent Information
- Application Number
- JP2024146471
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-10-23
- Estimated Expiration
- 2044-08-28
AI Technical Summary
Conventional route management systems struggle to efficiently manage the routes of a group of moving objects moving from different starting points to a common destination point with a simpler configuration.
A route management device and method utilizing reinforcement learning and supervised learning models to determine optimal routes for a group of moving objects, where each object's current position is used to calculate a reward function, and a neural network model learns the action value function to guide the objects to a common destination point, with the learned models being stored and applied as control information.
Enables the management of routes for a group of moving objects from different starting points to a common destination point with a simpler configuration, allowing for collective movement control of the objects.
Smart Images

Figure 0007572588000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a route management device, a route management method, and a route management system. [Background technology]
[0002] 2. Description of the Related Art Conventionally, there has been known a technique for learning an optimal movement route for a moving object from a fixedly set starting point to a destination point by using reinforcement learning (see Patent Document 1).
[0003] It is possible to learn a moving route for a group of moving objects to move collectively from the same starting point to a destination point based on the route management technology for one moving object described in Patent Document 1. However, when each moving object constituting a group of moving objects moves collectively from a different starting point to a common destination point, it is necessary to learn a moving route for each moving object, which complicates the system configuration. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2023-173643 A Summary of the Invention [Problem to be solved by the invention]
[0005] As described above, with conventional technology, it has been difficult to manage the routes of a group of moving objects moving from different starting points to a common destination point with a simpler configuration.
[0006] The present invention has been made to solve the above-mentioned problems, and has an object to manage, with a simpler configuration, the routes of a group of moving objects moving from different starting points to a common destination point. [Means for solving the problem]
[0007] In order to solve the above-mentioned problems, the route management device of the present invention is a route management device that manages the route of a group of moving objects to a destination position set in a moving space, and includes a first acquisition unit configured to acquire a current position of each moving object constituting the group of moving objects, a first learning unit configured to apply a reward function to an estimated result of calculating a course that the moving object should take sequentially from its current position to the destination position, and update the course so as to maximize the reward for the moving object to reach the destination position, and to learn, for each moving object, a course plan for the moving object to take sequentially from its current position using a reinforcement learning model, a second learning unit configured to learn, using a supervised learning model, the relationship between the current position of the moving object and the course plan for the moving object to take sequentially from its current position, obtained by learning for each moving object by the first learning unit, and a memory unit configured to store the learned supervised learning model constructed by the second learning unit, and the current position includes a starting point position in the moving space, and the starting point positions for each moving object include positions different from each other.
[0008] In addition, the route management device of the present invention may further include a setting unit configured to set the learned supervised learning model to each of the moving objects as control information for controlling the routes of the group of moving objects.
[0009] In addition, in the route management device of the present invention, the movement space is defined by a unit space obtained by dividing the movement space into a plurality of spaces, and a course plan for the moving body to proceed sequentially from the current position may be a course plan for the unit space along which the moving body should proceed sequentially from a position in the unit space corresponding to the current position.
[0010] In addition, in the route management device of the present invention, the reinforcement learning model is a neural network model including an input layer, a hidden layer, and an output layer, and the first learning unit provides a position in the unit space corresponding to the current position as an input to the neural network model, performs calculations on the neural network model, and outputs a first estimate of an action value function that represents an expected value of the cumulative value of the future reward to be obtained when the moving body takes each action related to moving in a predetermined direction relative to the traveling direction as a course to be followed next from the current position in the unit space, the first learning unit further provides a position in the unit space that the moving body next reaches as an input to the neural network model, performs calculations on the neural network model, and outputs a second estimate of the action value function, and the first learning unit may learn weight parameters of the neural network model so that the first estimate becomes a target value calculated from the second estimate.
[0011] In order to solve the above-mentioned problems, the route management method of the present invention is a route management method for managing a route of a group of moving objects to a destination position set in a moving space, and includes a first acquisition step for acquiring a current position of each moving object constituting the group of moving objects; a first learning step for applying a reward function to an estimated result of calculating a course that the moving object should take sequentially from its current position until it reaches the destination position, and updating the course so as to maximize the reward for the moving object to reach the destination position, and learning a course plan for the moving object to take sequentially from its current position using a reinforcement learning model for each moving object; a second learning step for learning, using a supervised learning model, the relationship between the current position of the moving object and the course plan for the moving object to take sequentially from its current position, obtained by learning for each moving object in the first learning step; and a storage step for storing the learned supervised learning model constructed in the second learning step in a storage unit, wherein the current position includes a position of a starting point in the moving space, and the starting point positions for each moving object include positions different from each other.
[0012] In addition, the route management method of the present invention may further include a setting step of setting the learned supervised learning model to each of the moving objects as control information for controlling the routes of the group of moving objects.
[0013] In addition, in the route management method of the present invention, the movement space may be defined by a unit space obtained by dividing the movement space into a plurality of spaces, and a course plan for the moving body to proceed sequentially from the current position may be a course plan for the unit space along which the moving body should proceed sequentially from a position in the unit space corresponding to the current position.
[0014] In addition, in the route management method of the present invention, the reinforcement learning model is a neural network model including an input layer, a hidden layer, and an output layer, and the first learning step may include providing a position in a unit space corresponding to the current position as an input to the neural network model, performing calculations on the neural network model, and outputting a first estimate of an action value function representing an expected value of the future cumulative value of the reward to be obtained when the moving body takes each action related to movement in a predetermined direction relative to the traveling direction as a course to be followed next from the current position in the unit space, the first learning step may further provide a position in the unit space next reached by the moving body as an input to the neural network model, performing calculations on the neural network model, and outputting a second estimate of the action value function, and the first learning step may learn weight parameters of the neural network model so that the first estimate becomes a target value calculated from the second estimate.
[0015] In order to solve the above-mentioned problems, the route management system of the present invention is a route management system comprising the above-mentioned route management device and the group of moving objects, wherein each of the moving objects constituting the group of moving objects comprises a second acquisition unit configured to acquire the learned supervised learning model constructed by the route management device, a third acquisition unit configured to acquire the current position of the own device, a calculation unit configured to provide the current position of the own device acquired by the third acquisition unit as an unknown input to the learned supervised learning model, perform calculations of the learned supervised learning model, and output a course plan for the device to proceed sequentially from the current position of the own device, and a movement control unit configured to control the movement of the own device from the starting point to the destination point based on the course plan for the device to proceed sequentially from the current position of the own device output by the calculation unit. Effect of the Invention
[0016] According to the present invention, the relationship between the current position of the moving object and the course plan for the moving object to move from the current position, which is obtained by the learning for each moving object by the first learning unit, is learned using a supervised learning model. Therefore, the routes of a group of moving objects moving from different starting points to a common destination point can be managed with a simpler configuration. [Brief description of the drawings]
[0017] [Figure 1] FIG. 1 is a block diagram showing a configuration of a route management system including a route management device according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram for explaining the learning process by the first learning unit included in the route management device according to the present embodiment. [Diagram 3] FIG. 3 is a block diagram showing a configuration of a first learning unit included in the route management device according to the present embodiment. [Figure 4] FIG. 4 is a diagram for explaining the learning process by the second learning unit included in the route management device according to the present embodiment. [Diagram 5]FIG. 5 is a block diagram showing a hardware configuration of the path management device according to the present embodiment. [Figure 6] FIG. 6 is a block diagram showing the configuration of a moving object provided in the route management system according to the present embodiment. [Figure 7] FIG. 7 is a block diagram showing a hardware configuration of a moving object provided in the route management system according to the present embodiment. [Figure 8] FIG. 8 is a sequence diagram showing the operation of the route management system according to the present embodiment. [Figure 9] FIG. 9 is a flowchart showing the first learning process of the route management device according to the present embodiment. [Figure 10] FIG. 10 is a flowchart showing the first learning process of the route management device according to the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0018] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will now be described in detail with reference to FIGS.
[0019] [Route management system configuration] First, with reference to FIG. 1, an overview of a route management system including a route management device 1 and a plurality of moving objects 2 according to an embodiment of the present invention will be described.
[0020] The route management system according to the present embodiment includes a route management device 1 and a mobile body group consisting of multiple mobile bodies 2, and the route management device 1 and the multiple mobile bodies 2 are connected to each other so that they can communicate with each other via a wireless communication network NW that complies with a predetermined communication standard such as LTE / 4G, 5G, or 6G. The route management system manages a route for the multiple mobile bodies 2 to move collectively to a common destination position set in a mobile space A. As shown in FIG. 1, the mobile space A in which the mobile bodies 2 move is capable of communication by, for example, a 5G wireless communication method.
[0021] The mobile objects 2 include drones, unmanned aerial vehicles, and other flying objects capable of autonomous flight, self-driving vehicles, mobile robots, ships, etc. Each mobile object 2 constituting the mobile object group starts from an arbitrary position in the mobile space A or a different position set in advance, and moves collectively from each starting point to the same destination position to perform a set task.
[0022] In the following, an example will be described in which the moving body 2 is a drone. The moving body 2 controls its autonomous flight by a flight controller that processes information from a sensor 208 (to be described later) and controls the rotation speed of a motor 209 and the angle of a propeller 210. The moving body 2 also acquires its own GPS position by a GPS receiver 207. The moving body 2 is also configured as an IoT terminal having an IP address. Each IP address can uniquely identify the moving body 2. Furthermore, in this embodiment, the moving body 2 controls its autonomous flight to a destination point based on control information stored in the auxiliary storage device 205. Each of the multiple moving bodies 2 has the same configuration, and the details of the functional blocks and hardware configuration will be described later.
[0023] As shown in FIG. 1, a mobile space A in which multiple mobile objects 2 move is a three-dimensional matrix-like space composed of unit spaces divided into multiple spaces. Each unit space constituting the mobile space A has the same volume. Furthermore, each unit space has a node ID, and each unit space is represented by one position (x, y, z). The position information can be three-dimensional GPS position coordinates consisting of latitude, longitude, and altitude. For example, a representative value such as the center position of the unit space can be used as the position of the unit space.
[0024] Also, as shown in Fig. 1, n (n is an integer equal to or greater than 2) moving bodies 2 move as a group from positions in the unit space corresponding to different starting point positions S1, S2, ..., Sn, to a unit space position of a destination point G, using each unit space as a waypoint. The position of the destination point G of the moving bodies 2 is set arbitrarily and is a common destination point for the multiple moving bodies 2.
[0025] The route management system according to the present embodiment learns, by reinforcement learning, the policy of the path to be taken from each current unit space of a plurality of moving bodies 2 moving from different starting points to a destination point. Furthermore, using the policy of the paths of the plurality of moving bodies 2 obtained by learning as teacher data, the relationship between the position of the current unit space of the moving body 2 and the policy of the path to be taken by the moving body 2 is learned using a supervised learning model. Furthermore, the learned supervised learning model is set to each moving body 2 as one common control information for controlling the paths of the plurality of moving bodies 2. Based on the set control information, each moving body 2 performs calculations of the learned supervised learning model using the current unit space position of the device as an unknown input, and outputs the policy of the path to be taken. Then, based on the policy of the path to be taken, a path from the starting point to the destination point is determined and movement to the destination point is controlled.
[0026] Each moving body 2 for which control information has been set moves in the direction to move for each unit space by changing the course as shown by each arrow at the starting point S1 in FIG. 1 according to the course determined based on the course policy obtained by the calculation of the learned supervised learning model. The course can include various courses, i.e., moving directions. In FIG. 1, the moving space A is described as a two-dimensional plane, but the course of the moving body 2 can be a three-dimensional course. Here, the movement from the position of each unit space to the position of each adjacent unit space is called a course, and the movement from the position of the starting point to the position of the destination point via multiple unit spaces is called a route. By the common control information set by the route management device 1 to each moving body 2, the multiple moving bodies 2 can reach the unit space of the destination point G as a group from the unit spaces of the different starting points.
[0027] [Route management device functional block] 1, the route management device 1 includes a first acquisition unit 10, a first learning unit 11, a second learning unit 12, a first storage unit (storage unit) 13, a second storage unit 14, and a setting unit 15. The route management device 1 manages routes of a group of moving objects to a destination position set in a movement space A.
[0028] The first acquisition unit 10 acquires the current position of each moving body 2 constituting the moving body group. Specifically, the first acquisition unit 10 acquires the position of the unit space where each of the multiple moving bodies 2 is currently located as the current position. Furthermore, the current position is the position of the unit space where the moving body 2 exists for each set time t, and includes the unit space position of the starting point. In this embodiment, the starting point positions of the moving bodies 2 include positions different from each other.
[0029] The first acquisition unit 10 acquires a position in the unit space corresponding to the GPS position of the moving object 2 for each time t as the current position of the moving object 2. Note that there are cases where a plurality of position coordinates are included in the unit space. In such a case, the first acquisition unit 10 can acquire a position in the unit space that is closest to the GPS position received by the GPS receiver 207 of the moving object 2 as the current position of the moving object 2. In this embodiment, the first acquisition unit 10 acquires the current positions of all moving objects 2 constituting the moving object group.
[0030] The first learning unit 11 applies a reward function to an estimation result obtained by calculating the course that the moving body 2 should take from its current position to the destination position, updates the course so as to maximize the reward for the moving body 2 to reach the destination position, and learns the course policy for the moving body 2 to take from its current position using a reinforcement learning model for each moving body 2. In this way, the first learning unit 11 performs reinforcement learning for each of the multiple moving bodies 2 each having a different starting point, and learns the course policy.
[0031] In this embodiment, as a course of action for the moving body 2 to move sequentially from the position of each unit space, the moving body 2 may take actions a, b, c, and cs related to movement in a predetermined number of directions (n is an integer of 2 or more) relative to the moving direction. n The moving direction is based on the position of the moving object 2 in the unit space immediately before.
[0032] The first learning unit 11 uses a neural network model including an input layer s, a hidden layer h, and an output layer q as a reinforcement learning model as shown in FIG. t , and all the action value functions Q(s t ,a1), Q(s t ,a2), Q(s t ,a3), ,Q(s t ,a n-1 ), Q(s t ,a n We adopt Deep Q-Network (DQN), a neural network that outputs
[0033] More specifically, the first learning unit 11 inputs the current position of the unit space, which indicates the current position of the moving object 2, as an input to the neural network model, performs calculations on the neural network model, and learns actions a related to each of the movements in n directions as a course to be taken by the moving object 2 from the current position in the unit space. n The first estimate Q1 of the action value function that represents the expected cumulative value of future rewards obtained if
[0034] The reward is a state s indicating the current position of the moving object 2, and an action a for the moving object 2 to move in a given direction. n , and the reward function r=r(s, a, s') for the next position of the moving object 2, i.e., the next state s'. In this embodiment, the reward function includes as a variable the degree of arrival of the moving object 2 to a position in a unit space related to the destination point. In addition, the reward function can include as a variable the degree of arrival to a position in a unit space corresponding to a space containing obstacles such as high-rise buildings and steel towers. For example, when the moving object 2 moves closer to the destination point or when the moving object 2 reaches the destination point in the shortest distance by an action related to the movement in a specified direction, the reward, which is a scalar quantity, is set to a larger value.
[0035] On the other hand, when the moving object 2 moves away from the destination point or reaches a unit space where an obstacle exists, a negative reward value (e.g., r=-1) can be given. In this way, by setting the reward of a unit space where an obstacle exists as a negative value, the moving object 2 can reach the destination point while avoiding these points.
[0036] Furthermore, the first learning unit 11 provides the next position in the unit space reached by the moving object 2 as an input to the neural network model, performs calculations on the neural network model, and outputs a second estimated value Q2 of the action value function. The first learning unit 11 learns weight parameters of the neural network model so that the first estimated value Q1 becomes a target value calculated from the second estimated value Q2.
[0037] If the weight parameter of the neural network model is θ and the action value function is Q(s, a; θ), the minimization loss function for learning is given by the following equation (1). L(θ)=1 / 2{r+γmax a’ Q(s',a';θ)-Q(s,a;θ)} 2 (1)
[0038] In the above formula (1), r is the reward (immediate reward) and γ is the discount rate. Q(s, a; θ) corresponds to the first estimated value Q1, and Q(s', a'; θ) corresponds to the action value at the state s' one step forward, that is, the second estimated value Q2. The target value is r+γmax a’ It is expressed as Q(s',a';θ).
[0039] The first learning unit 11 can update the weight parameters of the neural network model by backpropagating the gradient of the loss function given by the above formula (1).
[0040] More specifically, the first learning unit 11 may employ a Fixed Target Q-Network that uses two neural networks, a main QN 111 and a target QN 113, as shown in FIG. 3. The main QN 111 selects an optimal action and updates an action-value function Q. Meanwhile, the target QN 113 estimates and evaluates the value of an action a' to be taken in the next state s' as a result of the action. The main QN 111 and the target QN 113 have neural networks with the same layer structure, but the parameter of the main QN 111 is "θ" and the parameter of the target QN 113 is "θ". - " is given by
[0041] The main QN 111 receives the current position of the moving object 2 as a state s from the environment 110. The environment 110 is a system of a moving space in which the moving object 2 is placed, and in this environment 110, the moving object 2 moves to another unit space by taking an action a related to movement in a predetermined direction, and transitions to the next state s', while simultaneously acquiring a reward r from the environment 110.
[0042] The first learning unit 11 inputs the state s relating to the current position of the moving object 2 to the main QN 111, and obtains an action value function Q(s, a; θ). The first learning unit 11 calculates the action a using, for example, the ε-greedy method, or calculates the optimal action argmax a Q(s, a; θ) is calculated. In the environment 110, the moving object 2 takes the action argmax a Q(s, a; θ). The environment 110 is a space where the moving object 2 takes the action argmax a As a result of performing Q(s, a; θ), the position in the unit space to which the robot has moved is observed as the next state s', and a reward r is output. The experience data 114 stores the experience (s, a, r, s') output from the environment 110.
[0043] The first learning unit 11 calculates a loss function L in a DQN loss calculation 112, and updates the weight of the main QN 111 with the gradient of the loss function L.
[0044] The first learning unit 11 periodically copies the weights of the main QN 111 to the target QN 113 to perform synchronization. The synchronization of the target QN 113 is performed less frequently than the update frequency of the weights of the main QN 111. The first learning unit 11 extracts experience from the experience data 114, inputs past states to the target QN 113, and calculates the estimated value max a’ Q(s', a';θ - The first learning unit 11 outputs the estimated value max a’ Q(s', a';θ - ) based on the target value r+γmax a’ Q(s', a';θ - ) is used to learn the weights of the main QN 111 in the DQN loss calculation 112.
[0045] The measures of the paths to be taken from the current positions of the multiple moving bodies 2 having different starting points to the destination positions, obtained by learning by the first learning unit 11, i.e., the learned reinforcement learning models, are stored in the first storage unit 13. In addition, the learned reinforcement learning models constructed for each moving body 2 are used as teacher data in learning by the second learning unit 12.
[0046] The second learning unit 12 uses a supervised learning model to learn the relationship between the current position of the moving body 2 and the course plan that the moving body 2 should take sequentially from its current position, obtained by learning for each moving body 2 by the first learning unit 11.
[0047] FIG. 4 shows the structure of a neural network model employed as an example of a supervised learning model used by the second learning unit 12. The neural network model includes an input layer x, a hidden layer h, and an output layer y. The second learning unit 12 provides the current unit space position of the mobile object 2, i.e., the unit space position corresponding to the GPS position of the mobile object 2 at each time t, to the input layer of the neural network model, applies an activation function to the weighted sum of the input, and passes the output determined by threshold processing to the output layer. Each output node of the output layer outputs a predicted output of the model corresponding to n action value functions Q.
[0048] The second learning unit 12 introduces an objective function E shown in the following equation (2) to learn parameters of the neural network model so that the course plan for the moving body 2 to proceed sequentially from its current position, which is a predicted value from the neural network model for the current position of the moving body 2, becomes the value of the course plan for the moving body 2 to proceed sequentially from its current position, obtained by learning for each moving body 2 by the first learning unit 11.
[0049]
number
[0050] In the above formula (2), y1, y2, , y n indicates the predicted output value of each output node. Also, Y1, Y2, . . . , Y n is training data, and in this embodiment, n action value functions Q(s t ,a1), Q(s t ,a2), Q(s t ,a3), ,Q(s t ,a n-1 ), Q(s t ,a n ) Furthermore, all of the action value functions Q obtained by the trained reinforcement learning model, from which multiple moving objects 2 each having a different starting point reach a common destination point, are used as training data.
[0051] The value of the objective function E in the above formula (2) is the above input value x of the supervised learning model, and the output values y1, y2, . . . , y n are the target outputs of the training data Y1,Y2,...,Y n The second learning unit 12 adjusts weight parameters of the neural network related to the supervised learning model so that the objective function E is minimized, that is, becomes 0. The second learning unit 12 can optimize the objective function E by using a backpropagation method or the like.
[0052] The first storage unit 13 stores a trained reinforcement learning model constructed by the adversarial learning by the first learning unit 11. Since the trained reinforcement learning model is constructed for each moving body 2 having a different starting point, when the starting points of n moving bodies 2 are different, n trained reinforcement learning models are stored.
[0053] The second storage unit 14 stores the trained supervised learning model constructed by the second learning unit 12 through supervised learning.
[0054] The setting unit 15 sets the learned supervised learning model as control information for controlling the paths of the group of moving objects, in each moving object 2. For example, the setting unit 15 can transmit the control information to each moving object 2 via the network NW.
[0055] [Hardware configuration of route management device] Next, an example of a hardware configuration for realizing the route management device 1 having the above-mentioned functions will be described with reference to FIG.
[0056] 5, the path management device 1 can be realized by, for example, a computer including a processor 102, a main memory device 103, a communication interface 104, an auxiliary memory device 105, and an input / output I / O 106, which are connected via a bus 101, and a program that controls these hardware resources. Furthermore, the path management device 1 can include a display device 107 connected via the bus 101.
[0057] The processor 102 is realized by a CPU, a GPU, an FPGA, an ASIC, or the like.
[0058] The main memory device 103 prestores programs for the processor 102 to perform various controls and calculations. The processor 102 and the main memory device 103 implement the functions of the route management device 1, such as the first acquisition unit 10, the first learning unit 11, the second learning unit 12, and the setting unit 15 shown in FIG.
[0059] The communication interface 104 is an interface circuit for connecting the route management device 1 to various external electronic devices via a network.
[0060] The auxiliary storage device 105 is composed of a readable / writable storage medium and a drive for reading and writing various information such as programs and data from and to the storage medium. The auxiliary storage device 105 can use a semiconductor memory such as a hard disk or a flash memory as the storage medium.
[0061] The auxiliary storage device 105 has a program storage area for storing the route management program executed by the route management device 1. The auxiliary storage device 105 also has a program storage area for storing the reinforcement learning program executed by the route management device 1. The auxiliary storage device 105 also has an area for storing the supervised learning program. The first storage unit 13 and the second storage unit 14 described in FIG. 1 are realized by the auxiliary storage device 105. The auxiliary storage device 105 also has an area for storing the destination points of each moving body 2 constituting the moving body group. The auxiliary storage device 105 also has an area for storing the position coordinates of the moving space and the position coordinates of the unit space. The auxiliary storage device 105 also has an area for storing identification information such as the IP address of the moving body 2. Furthermore, for example, the auxiliary storage device 105 may have a backup area for backing up the above-mentioned data and programs.
[0062] The input / output I / O 106 is an input / output device that inputs signals from an external device and outputs signals to an external device.
[0063] The display device 107 is configured with an organic EL display, a liquid crystal display, etc. The display device 107 can display a map display of the moving space, and the current position, progress status, route, and destination position information of each moving object 2 constituting the moving object group.
[0064] [Functional blocks of moving objects] Next, the functional blocks of the moving object 2 will be described with reference to Fig. 6. Fig. 6 is a block diagram showing the configuration of the moving object 2. As described above, each of the multiple moving objects 2 is configured with the same functional blocks.
[0065] The moving object 2 includes a third storage unit 20, a second acquisition unit 21, a fourth storage unit 22, a third acquisition unit 23, a calculation unit 24, a determination unit 25, and a movement control unit 26. Each of the multiple moving objects 2 determines the next route that the device itself should take based on the control information set by the route management device 1, and controls the flight of the device itself to the destination position. As described above, the starting points of the multiple moving objects 2 each include a different point.
[0066] The third storage unit 20 stores the control information set by the setting unit 15 of the route management device 1. The control information is a learned supervised learning model in which the second learning unit 12 of the route management device 1 has learned a course plan for a route to be taken from a current position to reach the same destination point from different starting points.
[0067] The second acquisition unit 21 acquires the control information set by the route management device 1. Specifically, the second acquisition unit 21 loads the control information stored in the third storage unit 20.
[0068] The fourth storage unit 22 stores map data including position coordinates of the moving space, and information associating position coordinates of unit spaces constituting the moving space with node IDs of the unit spaces. The fourth storage unit 22 also stores position information of destination points.
[0069] The third acquisition unit 23 acquires the current position of the own device. More specifically, the third acquisition unit 23 acquires the position of the unit space in which the own device is located for each time t based on the GPS position of the own device. The third acquisition unit 23 refers to the fourth storage unit 22 and acquires the position of the unit space corresponding to the current GPS position received by the GPS receiver 207 as the current position of the own device.
[0070] The calculation unit 24 provides the current position of the device acquired by the third acquisition unit 23 as an unknown input to the trained supervised learning model, performs calculations on the trained supervised learning model, and outputs a course plan for the device to follow sequentially from its current position.
[0071] The determination unit 25 determines the next route to be taken from the current position of the device itself based on the route plan that the device itself should take from the current position, which is output by the calculation unit 24. More specifically, the determination unit 25 determines the current position in the unit space as a state s t For each state s t The path to be taken is determined by selecting the path that is action a with the maximum value of the action value function Q.
[0072] The movement control unit 26 controls the movement of the own device based on the plan of the route that the own device should take from the current position, which is output by the calculation unit 24. Specifically, the movement control unit 26 controls the movement of the own device based on the next route that is output by the calculation unit 24 and determined by the determination unit 25. The movement control unit 26 can calculate a control command for the next route that the own device should take from the current position, and transmit the control command value to the motor 209. In this way, each of the multiple moving bodies 2 can be controlled in each state s t By selecting the action a with the maximum value of the action value function Q, a group can move from different starting points to a common destination.
[0073] [Hardware configuration of mobile object] Next, an example of a hardware configuration for realizing the moving object 2 having the above-mentioned functions will be described with reference to FIG.
[0074] 7, the moving body 2 can be realized by, for example, a microcomputer including a processor 202, a main memory device 203, a communication interface 204, an auxiliary memory device 205, and an input / output I / O 206, which are connected via a bus 201, a program for controlling these hardware resources, a GPS receiver 207, a sensor 208, a motor 209, a propeller 210, and a battery 211. A flight controller that controls the autonomous flight of the moving body 2 is realized by a computer such as a microcomputer and a program. The moving body 2 can mount these components on a frame of a predetermined shape.
[0075] A program for the processor 202 to control movement and perform calculations is stored in advance in the main memory device 203. The processor 202 and the main memory device 203 realize each function of the moving object 2, such as the second acquisition unit 21, the calculation unit 24, the determination unit 25, and the movement control unit 26 shown in FIG.
[0076] The communication interface 204 is an interface circuit for connecting the mobile unit 2 and the route management device 1 to a network.
[0077] The auxiliary storage device 205 is composed of a readable / writable storage medium and a drive for reading and writing various information such as programs and data from the storage medium. The auxiliary storage device 205 can use a semiconductor memory such as a hard disk or a flash memory as the storage medium.
[0078] The auxiliary storage device 205 has a program storage area for storing a movement control program executed by the moving object 2. The auxiliary storage device 205 also has an area for storing a calculation program for performing calculations of a trained supervised learning model. The auxiliary storage device 205 realizes the third storage unit 20 and the fourth storage unit 22 described in FIG. 6. The auxiliary storage device 205 also has an area for storing identification information such as an IP address of the moving object 2. The auxiliary storage device 205 also has an area for storing an application that notifies the route management device 1 of a GPS position. Furthermore, the auxiliary storage device 205 may have, for example, a backup area for backing up the above-mentioned data and programs.
[0079] The input / output I / O 206 is an input / output device that inputs signals from an external device and outputs signals to an external device.
[0080] An antenna for receiving GPS signals is built into the GPS receiver 207. The GPS receiver 207 realizes the third acquisition unit 23 in FIG.
[0081] The sensor 208 is composed of various sensors such as an altitude sensor, an attitude sensor, a camera, LiDAR, and RADAR. In addition to the GPS receiver 207, the altitude sensor realizes the third acquisition unit 23 in Fig. 6. Furthermore, the flight controller performs flight control of the moving object 2 based on the various sensor data measured by the sensor 208.
[0082] The motor 209 rotates by the rotary drive, and rotates a propeller 210 attached to the rotary shaft of the motor 209 .
[0083] The battery 211 is a lithium ion battery or the like, and supplies power to the components of the moving object 2.
[0084] The mobile unit 2 may include a SIM and may have an International Mobile Subscriber Identity (IMSI) of the SIM.
[0085] [Operation of the route management system] Next, the operation of the route monitoring system including the route management device 1 having the above-mentioned configuration and the multiple moving objects 2 will be described with reference to the sequence of Fig. 8. The multiple moving objects 2 are placed at different unit space positions within the moving space, and these positions are set as starting points.
[0086] The route management device 1 acquires setting information of a destination point to which the group of mobile objects moves collectively (step S1). Next, the first acquisition unit 10 acquires the position of the unit space in which the mobile object 2 is currently located as the current position of the mobile object 2 (step S2). For example, the first acquisition unit 10 can acquire the current position of each mobile object 2 by having each mobile object 2 notify its current GPS position by push notification to the IP addresses of the target multiple mobile objects 2.
[0087] The first acquisition unit 10 acquires the unit space position where the moving body 2 is currently located for each time t from all moving bodies 2 constituting the moving body group. Also, as described above, each moving body 2 departs from a unit space position of a different starting point. Therefore, the unit space position where each moving body 2 is currently located at the initial time t is different from each other. The first acquisition unit 10 acquires the unit space position corresponding to the current GPS position received by the GPS receiver 207 of the moving body 2 as the current position of the moving body 2.
[0088] Next, the first learning unit 11 applies a reward function to the estimation result of calculating the course that the moving body 2 should take from the current position of the moving body 2 acquired in step S2 until it reaches the destination position, updates the course so as to maximize the reward for the moving body 2 to reach the destination position, and learns the policy of the course that the moving body 2 should take from the current position using a reinforcement learning model (first learning process) (step S3). In step S3, the learning process is performed for all moving bodies 2 with different starting points. The first learning process will be described in detail later.
[0089] Thereafter, the first storage unit 13 stores the trained reinforcement learning model obtained in step S3 (step S4). Next, the second learning unit 12 learns the relationship between the current position of the moving object 2 and the course measures for the moving object 2 to move sequentially from the current position, which are obtained in the first learning process for each moving object 2 in step S3, using a supervised learning model (second learning process) (step S5).
[0090] Specifically, the second learning unit 12 repeatedly adjusts and updates parameters such as weights and thresholds, and determines the values of these parameters, so that the error between the predicted output value of the policy for the sequential course to be taken when the position in the unit space corresponding to the current GPS position of the mobile object 2, i.e., the current state, is given as an input value to the supervised learning model and the teacher data minimizes the objective function E in the above formula (2). In step S5, the second learning unit 12 can determine the parameters that minimize the objective function E by using an error backpropagation method or the like.
[0091] The training data used in step S5 is a course of action to be taken from the current position in the unit space, which is obtained by the trained reinforcement learning model constructed in the first training process in step S3. More specifically, as shown in the schematic diagram of the neural network in FIG. 4, n action value functions Q for the current position are input to the training data Y1 to Y n In step S5, all of the action value functions Q obtained by the trained reinforcement learning model in step S3, from when the multiple moving objects 2 have different starting points until they reach the destination point, are used as training data.
[0092] Next, the second storage unit 14 stores the trained supervised learning model constructed in step S5 (step S6). After that, the setting unit 15 sets the trained supervised learning model as control information for each moving object 2 constituting the moving object group (step S7). In step S7, the setting unit 15 can transmit the trained supervised learning model to each moving object 2 via the network NW.
[0093] Thereafter, the second acquisition unit 21 of the moving object 2 constituting the moving object group acquires the trained supervised learning model constructed by the route management device 1 (step S8). The second acquisition unit 21 reads out the control information transmitted from the route management device 1 and stored in the third storage unit 20, i.e., the trained supervised learning model.
[0094] Next, the third acquisition unit 23 acquires the current unit space position of the device as the current position (step S9). Specifically, the unit space position corresponding to the GPS position received by the GPS receiver 207 can be acquired as the current position of the device. Next, the calculation unit 24 uses the control information acquired in step S8 to provide the current unit space position of the device acquired in step S9 as an unknown input, performs calculations of the trained supervised learning model, and outputs a course plan to be followed from the current unit space position (step S10). For example, in the moving space A of FIG. 1, if the starting point of the moving body 2 is S2, the position of the starting point S2 is input to the trained supervised learning model as the current position at time t=1, and n action value functions Q to be followed from S2 are output.
[0095] Next, the decision unit 25 selects a path along which the action a having the maximum value of the n action value functions Q output in step S11 is taken, thereby deciding the path to be taken in sequence (step S11). Next, the movement control unit 26 controls the movement of the device itself based on the path to be taken next decided in step S11 (step S12). More specifically, the movement control unit 26 can calculate a control command for the path to be taken next from the current position, and transmit the control command value to the motor 209.
[0096] The moving object 2 is in the state s t(step S9), calculate the trained supervised learning model (step S10), determine the next course a to be taken at each time t (step S11), and perform movement control based on the determined course a (step S44). Thereafter, when the moving body 2 reaches the unit space position of the destination point (step S13: YES), the process ends. In this manner, each moving body 2 constituting the moving body group executes the processes from step S8 to step S13 using the trained supervised learning model, which is common control information, so that multiple moving bodies 2 with different starting points can move collectively to a common destination point and execute a specified task.
[0097] Next, the first learning process (step S3 in FIG. 8) by the route management device 1 will be described with reference to the flowcharts in FIG. 9 and FIG. 10. First, steps S1 and S2 described in FIG. 8 are executed. After that, the first learning unit 11 inputs the position of the unit space where the moving object 2 is currently located, which is the current state of the moving object 2 acquired in step S2, to the neural network model, performs calculations on the neural network model, and outputs a first estimated value Q1 of an action value function that represents an expected value of a cumulative value of future rewards to be obtained when the moving object 2 takes each action related to movement in a predetermined direction relative to the traveling direction as a course to be followed next from the current position in the unit space (step S20).
[0098] Next, the first acquisition unit 10 acquires the unit space position of the moving object 2 at the next time t as the next state s' (step S21). The unit space position where the moving object 2 next arrives is determined based on the GPS position of the moving object 2 acquired by the first acquisition unit 10 for each time step. Furthermore, the first learning unit 11 provides the unit space position where the moving object 2 next arrives, acquired in step S21, as an input to the neural network model, performs calculations on the neural network model, and outputs a second estimated value Q2 of the action value function (step S22).
[0099] Next, the first learning unit 11 calculates a target value from the second estimated value Q2 (step S23). Then, the first learning unit 11 learns weight parameters of the neural network model so that the first estimated value Q1 becomes the target value calculated from the second estimated value Q2 (step S24). Specifically, the first learning unit 11 updates the weight parameters of the neural network model so as to minimize the loss function of the above formula (1).
[0100] Thereafter, the processes from step S2 to step S24 are repeated until trained reinforcement learning models are constructed for all of the multiple moving bodies 2 each having a different starting point (step S25: NO). If training is completed for all of the moving bodies 2 (step S25: YES), the first storage unit 13 stores the trained reinforcement learning model obtained in step S24 (step S4).
[0101] Next, with reference to FIG. 10, the first learning process by the first learning unit 11 in the case where a Fixed Target Q-Network using two neural networks, a main QN 111 and a target QN 113, is adopted will be described.
[0102] The processes from step S1 to step S2 are the same as the steps of the first learning process described in Fig. 9. After that, the first learning unit 11 provides the main QN111 with the current unit space position of the moving object 2 acquired in step S2 as an input, performs calculations of the neural network model, outputs an action value function Q, and calculates the next course a to be taken (step S120).
[0103] Next, the first learning unit 11 returns the behavior of the moving object 2 on the course a obtained in step S120 to the environment 110, and obtains the next state s' of the moving object 2, that is, the position in the unit space to which the moving object 2 has advanced, and the reward r (step S121).
[0104] The first learning unit 11 stores the experience (s, a, r, a') obtained in step S121 in the experience data 114 (step S122). Next, the first learning unit 11 calculates a loss function L in the DQN loss calculation 112, and updates the weight of the main QN 111 with the gradient of the loss function L (step S123). The first learning unit 11 repeats the processes from step S120 to step S123 a set number of times.
[0105] After that, the first learning unit 11 periodically copies the weights of the main QN 111 to the target QN 113 to perform synchronization (step S124). The synchronization of the target QN 113 is performed less frequently than the update frequency of the weights of the main QN 111. Next, the first learning unit 11 extracts experience from the experience data 114, inputs past states to the target QN 113, and calculates the estimated value max a’ Q(s', a';θ - ) is output (step S126).
[0106] Next, the first learning unit 11 calculates the estimated value max a’ Q(s', a';θ - ) based on the target value r+γmax a’ Q(s', a';θ - ) (step S127). Next, the first learning unit 11 calculates a loss function L in the DQN loss calculation 112 using the target value calculated in step S127 (step S128). Next, the first learning unit 11 learns the weights of the main QN 111 so as to minimize the loss given by the loss function L (step S129). After that, the first memory unit 13 stores the respective trained reinforcement learning models for all the moving bodies 2 having different starting points (step S4).
[0107] As described above, according to the route management device 1 of the present embodiment, the optimal route plan for each of multiple moving bodies 2 moving from different starting points to a common destination point is learned by reinforcement learning, and the route plan obtained by reinforcement learning is used as teacher data to learn the relationship between the current position of the moving body 2 and the route plan to be taken sequentially using a supervised learning model. Furthermore, the learned supervised learning model is set in each moving body 2 as control information common to the multiple moving bodies 2. Therefore, the routes of a group of moving bodies moving from different starting points to a common destination point can be managed with a simpler configuration.
[0108] Furthermore, according to the route management system of the present embodiment, common control information is set for a group of moving objects, thereby realizing moving objects 2 that can move collectively from different starting points to a common destination point. Therefore, while simplifying the configuration of each moving object 2, the moving objects 2 can perform movement control for group movement.
[0109] In the embodiment described above, the reinforcement learning model used by the first learning unit 11 is exemplified as DQN related to Fixed Target Q-Network composed of a multi-layer neural network, but the reinforcement learning model can be CNN, multi-layer perceptron, etc. In addition to DQN exemplified as the reinforcement learning model, Double DQN, Dueling DQN, Actor-Critic (AC) method, Soft Actor-Critic (SAC), Deep Deterministic Policy Gradient (DDPG), Q-learning, etc. can be used.
[0110] In the embodiment described above, a multilayer neural network is used as the supervised learning model used by the second learning unit 12. However, the supervised learning model may be a multilayer perceptron, a decision tree-based model such as a random forest, a support vector machine, or the like.
[0111] The above describes embodiments of the route management device, route management method, and route management system of the present invention. However, the present invention is not limited to the described embodiments, and various modifications that a person skilled in the art can make are possible within the scope of the invention described in the claims. [Explanation of symbols]
[0112] 1...route management device, 10...first acquisition unit, 11...first learning unit, 12...second learning unit, 13...first memory unit, 14...second memory unit, 15...setting unit, 2...mobile body, 20...third memory unit, 21...second acquisition unit, 22...fourth memory unit, 23...third acquisition unit, 24...calculation unit, 25...determination unit, 26...mobility control unit, 101, 201...bus, 102, 202...processor, 103, 203...main memory device, 104, 204...communication interface, 105, 205...auxiliary memory device, 106, 206...input / output I / O, 107...memory device, 207...GPS receiver, 110...environment, 111...main QN, 112...DQN loss calculation, 113...target QN, 114...empirical data, NW...network.
Claims
1. A route management device that manages a route of a group of moving objects to a destination point set in a moving space, A first acquisition unit configured to acquire a current position of each of the moving objects constituting the group of moving objects; a first learning unit configured to apply a reward function to an estimation result of calculating a course that the moving body should take from the current position to the destination position, update the course so as to maximize a reward for the moving body to reach the destination position, and learn a course plan for the moving body to take from the current position using a reinforcement learning model for each moving body; a second learning unit configured to learn, using a supervised learning model, a relationship between the current position of the moving object and a course plan for the moving object to move sequentially from the current position, the course plan being obtained by learning for each moving object by the first learning unit; A storage unit configured to store the trained supervised learning model constructed by the second learning unit; Equipped with The current position includes a position of a starting point in the moving space, and the positions of the starting points of the moving objects include positions different from each other. A route management device comprising:
2. 2. The route management device according to claim 1, The method further includes a setting unit configured to set the trained supervised learning model to each of the moving objects as control information for controlling the paths of the group of moving objects. A route management device comprising:
3. 2. The route management device according to claim 1, The movement space is defined by a unit space obtained by dividing the movement space into a plurality of spaces, The course plan for the moving object to proceed from the current position is a course plan for the moving object to proceed from a position in the unit space corresponding to the current position. A route management device comprising:
4. 4. The route management device according to claim 3, The reinforcement learning model is a neural network model including an input layer, a hidden layer, and an output layer; the first learning unit provides a position in a unit space corresponding to the current position as an input to the neural network model, performs calculations on the neural network model, and outputs a first estimated value of an action value function representing an expectation of a cumulative value of the future reward to be obtained when the moving body takes each action related to movement in a predetermined direction relative to a traveling direction as a course to be followed next from the current position in the unit space; The first learning unit further provides a next position in the unit space reached by the moving object as an input to the neural network model, performs a calculation on the neural network model, and outputs a second estimated value of the action-value function; The first learning unit learns weight parameters of the neural network model so that the first estimated value becomes a target value calculated from the second estimated value. A route management device comprising:
5. A route management method for managing routes of a group of moving objects to a destination point set in a moving space, comprising: a first acquisition step of acquiring a current position of each of the moving objects constituting the group of moving objects; a first learning step of applying a reward function to an estimation result of calculating a course that the moving body should take from the current position to the destination position, and updating the course so as to maximize a reward for the moving body to reach the destination position, and learning a course plan for the moving body to take from the current position to the destination position for each moving body using a reinforcement learning model; a second learning step of learning, using a supervised learning model, a relationship between the current position of the moving object and a course plan for the moving object to move sequentially from the current position, the course plan being obtained by learning for each moving object in the first learning step; a storage step of storing the trained supervised learning model constructed in the second learning step in a storage unit; Equipped with The current position includes a position of a starting point in the moving space, and the positions of the starting points of the moving objects include positions different from each other.
23. A route management method executed by a computer.
6. 6. The route management method according to claim 5, The method further includes a setting step of setting the trained supervised learning model to each of the moving objects as control information for controlling the paths of the group of moving objects. A route management method comprising:
7. 6. The route management method according to claim 5, The movement space is defined by a unit space obtained by dividing the movement space into a plurality of spaces, The course plan for the moving object to proceed from the current position is a course plan for the moving object to proceed from a position in the unit space corresponding to the current position. A route management method comprising:
8. The route management method according to claim 7, The reinforcement learning model is a neural network model including an input layer, a hidden layer, and an output layer; the first learning step provides a position in a unit space corresponding to the current position as an input to the neural network model, performs calculations on the neural network model, and outputs a first estimated value of an action value function representing an expectation of a cumulative value of the future reward to be obtained when the moving body takes each action related to movement in a predetermined direction relative to a traveling direction as a course to be followed next from the current position in the unit space; The first learning step further includes providing a next position in the unit space reached by the moving object as an input to the neural network model, performing a calculation on the neural network model, and outputting a second estimated value of the action-value function; The first learning step learns weight parameters of the neural network model so that the first estimated value becomes a target value calculated from the second estimated value. A route management method comprising:
9. A route management device according to any one of claims 1 to 4, The moving object group; A route management system comprising: Each of the moving objects constituting the moving object group is A second acquisition unit configured to acquire the trained supervised learning model constructed by the route management device; A third acquisition unit configured to acquire a current location of the device; A calculation unit configured to provide the current position of the own device acquired by the third acquisition unit as an unknown input to the trained supervised learning model, perform calculations on the trained supervised learning model, and output a course plan for a course to be taken from the current position of the own device; a movement control unit configured to control movement of the device from the starting point to the destination point based on a course plan to be taken from the current position of the device output by the calculation unit; A route management system comprising:
Citation Information
Patent Citations
Route planning system, route planning method, road map construction device, model generation device and model generation method
JP2023059382A
Information processing device, information processing method, and information processing program
JP2023173643A
JPP7321400B
JPP7407329B
JPP7541209B
Cited By
Control device, control method, and control system
JP2026089855A
Route management system and route management method
JP7660256B1
