Diffusion coefficient estimation device, control device, diffusion coefficient estimation method, and program
The method corrects diffusion coefficient underestimation in online learning by using standard deviations to update parameters, ensuring accurate diffusion coefficient estimation and enhancing robot control precision and safety.
Patent Information
- Application Number
- PCT/JP2023/007072
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2024-09-06
AI Technical Summary
Existing techniques for estimating the diffusion coefficient in online learning tend to underestimate its value, which is undesirable for robot control due to safety concerns and inaccuracies in predicting variations.
A device and method that acquires control inputs and states to update parameters determining diffusion coefficients, using standard deviations to correct and output an accurate diffusion coefficient estimation, preventing underestimation by incorporating a diffusion coefficient estimation unit that corrects coefficients using standard deviations.
This approach ensures accurate diffusion coefficient estimation, enhancing the precision of robot control by avoiding underestimation and improving the handling of variations, thus ensuring safer and more reliable operation.
Smart Images

Figure JP2023007072_06092024_PF_FP
Abstract
Description
Diffusion coefficient estimation device, control device, diffusion coefficient estimation method and program
[0001] The present invention relates to a technique for estimating a diffusion coefficient.
[0002] Technologies for controlling control targets such as robots have been proposed. For example, Patent Literature 1 describes controlling the movement of a moving object by model predictive control using a predictive model for predicting the behavior of the moving object. Furthermore, Patent Literature 2 describes a computer-implemented method for training a model for time-series prediction of a computer-controlled system.
[0003] Furthermore, because controlled objects such as robots do not operate according to control inputs and variations (errors) occur, control that takes into account variations that occur in actual operation has been proposed. For example, Patent Literature 3 describes a method for correcting current and future dynamic predictions by gradually changing a prediction offset in an inference model used to predict the behavior of an industrial process. Furthermore, an online learning technique that estimates a diffusion coefficient while controlling a robot has been proposed as a robot control technology that takes into account possible errors.
[0004] International Publication No. 2022 / 044470 JP 2021-197189 A JP 2020-522800 A
[0005] However, there is a problem in that estimating the diffusion coefficient in online learning is not easy. In particular, if the estimated diffusion coefficient is smaller than the true value, the variability will be underestimated. Underestimating the variability in robot control is undesirable from the viewpoint of safety. Even in the techniques described in Patent Documents 1 to 3, there is room for improvement in terms of not underestimating the diffusion coefficient.
[0006] One aspect of the present invention has been made in view of the above-mentioned problems, and one example of a purpose thereof is to provide a technique for preventing underestimation of the diffusion coefficient in online learning.
[0007] A diffusion coefficient estimation device according to one aspect of the present invention includes: acquisition means for acquiring a control input supplied to a controlled object at a first time and a state of the controlled object at the first time; parameter updating means for updating a parameter that determines a diffusion coefficient used in calculating a control input to the controlled object at a second time, using the control input and the state; diffusion coefficient estimation means for estimating the diffusion coefficient by correcting a coefficient determined by the control input to the controlled object and the parameter updated by the parameter updating means, using a standard deviation of the coefficient; and output means for outputting the diffusion coefficient estimated by the diffusion coefficient estimation means.
[0008] A diffusion coefficient estimation method according to one aspect of the present invention includes: at least one processor acquiring a control input supplied to a controlled object at a first time and a state of the controlled object at the first time; updating, using the control input and the state, parameters that determine a diffusion coefficient used in calculating a control input to the controlled object at a second time; estimating the diffusion coefficient by correcting a coefficient determined by the control input to the controlled object and the updated parameters using a standard deviation of the coefficient; and outputting the estimated diffusion coefficient.
[0009] A program according to one aspect of the present invention causes a computer to execute the following processes: acquiring a control input supplied to a controlled object at a first time and a state of the controlled object at the first time; updating, using the control input and the state, parameters that determine a diffusion coefficient used in calculating a control input to the controlled object at a second time; estimating the diffusion coefficient by correcting a coefficient determined by the control input to the controlled object and the updated parameters using the standard deviation of the coefficient; and outputting the estimated diffusion coefficient.
[0010] According to one aspect of the present invention, it is possible to prevent the diffusion coefficient from being underestimated in online learning.
[0011] 1 is a block diagram showing the configuration of a diffusion coefficient estimation device according to exemplary embodiment 1. FIG. 2 is a flow chart showing the flow of a diffusion coefficient estimation method according to exemplary embodiment 1. FIG. 3 is a diagram showing a specific example of control inputs and states according to exemplary embodiment 2. FIG. 4 is a block diagram showing the configuration of an information processing device according to exemplary embodiment 2. FIG. 5 is a block diagram showing an example of the functional configuration and processing flow of an information processing device according to exemplary embodiment 2. FIG. 6 is a block diagram showing an example of the functional configuration of an estimating unit according to exemplary embodiment 2. FIG. 7 is a diagram for explaining the influence of linear modeling of state transitions. FIG. 8 is a diagram showing an example of a diffusion coefficient estimation process according to exemplary embodiment 2. FIG. 9 is a graph showing a specific example of a diffusion coefficient estimation result according to exemplary embodiment 2. FIG. 10 is a graph showing the progress of learning of a diffusion coefficient according to exemplary embodiment 2. FIG. 11 is a graph showing the relationship between a control frequency and estimation accuracy according to exemplary embodiment 2. FIG. 12 is a graph showing the progress of learning of a diffusion coefficient according to exemplary embodiment 2. FIG. 13 is a graph showing the relationship between a control frequency and estimation accuracy according to exemplary embodiment 2. FIG. 14 is a block diagram showing the configuration of a computer functioning as an information processing device according to each exemplary embodiment.
[0012] [First Exemplary Embodiment] A first exemplary embodiment of the present invention will be described in detail with reference to the drawings. This exemplary embodiment is a basic form of the exemplary embodiments described below.
[0013] (Configuration of Diffusion Coefficient Estimation Device) The configuration of a diffusion coefficient estimation device 1 according to this exemplary embodiment will be described with reference to Fig. 1. Fig. 1 is a block diagram showing the configuration of the diffusion coefficient estimation device 1. The diffusion coefficient estimation device 1 includes an acquisition unit 11 (acquisition means), a parameter update unit 12 (parameter update means), a diffusion coefficient estimation unit 13 (diffusion coefficient estimation means), and an output unit 14 (output means).
[0014] The acquisition unit 11 acquires a control input supplied to a controlled object at a first time and a state of the controlled object at the first time. The parameter update unit 12 uses the control input and the state to update parameters that determine a diffusion coefficient used to calculate a control input to the controlled object at a second time. The diffusion coefficient estimation unit 13 estimates the diffusion coefficient by correcting a coefficient determined by the control input to the controlled object and the parameters updated by the parameter update unit 12 using the standard deviation of the coefficient. The output unit 14 outputs the diffusion coefficient estimated by the diffusion coefficient estimation unit 13.
[0015] As described above, the diffusion coefficient estimation device 1 according to this exemplary embodiment includes: an acquisition unit 11 that acquires a control input supplied to a control object at a first time and a state of the control object at the first time; a parameter update unit 12 that updates parameters for determining a diffusion coefficient used in calculating a control input to the control object at a second time using the control input and the state; a diffusion coefficient estimation unit 13 that estimates the diffusion coefficient by correcting a coefficient determined by the control input to the control object and the parameters updated by the parameter update unit 12 using the standard deviation of the coefficient; and an output unit 14 that outputs the diffusion coefficient estimated by the diffusion coefficient estimation unit. Therefore, the diffusion coefficient estimation device 1 according to this exemplary embodiment has an effect of preventing the diffusion coefficient from being underestimated in online learning.
[0016] (Program) The functions of the above-described diffusion coefficient estimation device 1 can also be realized by a program. The program according to this exemplary embodiment is a program for causing a computer to execute the following processes: acquiring a control input supplied to a control object at a first time and a state of the control object at the first time, updating parameters for determining a diffusion coefficient used in calculating a control input to the control object at a second time using the control input and the state, estimating the diffusion coefficient by correcting a coefficient determined by the control input to the control object and the updated parameters using the standard deviation of the coefficient, and outputting the estimated diffusion coefficient.
[0017] (Flow of Diffusion Coefficient Estimation Method) The flow of the diffusion coefficient estimation method S1 according to this exemplary embodiment will be described with reference to Fig. 2. Fig. 2 is a flow diagram showing the flow of the diffusion coefficient estimation method S1. Note that each step in the diffusion coefficient estimation method S1 may be executed by a processor included in the diffusion coefficient estimation device 1, or may be executed by a processor included in another device.
[0018] In S11, at least one processor acquires a control input supplied to a control object at a first time and a state of the control object at the first time. In S12, at least one processor uses the control input and the state to update a parameter that defines a diffusion coefficient used to calculate a control input to the control object at a second time.
[0019] In step S13, at least one processor estimates the diffusion coefficient by correcting a coefficient determined by the control input to the controlled object and the updated parameters using the standard deviation of the coefficient. In step S14, at least one processor outputs the diffusion coefficient estimated in step S13.
[0020] As described above, the diffusion coefficient estimation method S1 according to this exemplary embodiment includes a configuration in which at least one processor acquires a control input supplied to a control object at a first time and a state of the control object at the first time, updates parameters for determining a diffusion coefficient used in calculating a control input to the control object at a second time using the control input and the state, estimates the diffusion coefficient by correcting a coefficient determined by the control input to the control object and the updated parameters using the standard deviation of the coefficient, and outputs the estimated diffusion coefficient. Therefore, the diffusion coefficient estimation method S1 according to this exemplary embodiment has the effect of preventing the diffusion coefficient from being underestimated in online learning.
[0021] [Exemplary Embodiment 2] <Outline of Information Processing Device> An information processing device 1A (see FIG. 4 ) according to this exemplary embodiment estimates a diffusion coefficient indicating the degree of variability in control of a control object, and uses the estimated diffusion coefficient to perform control that takes into account variability (errors) that occur in the control of the control object. The information processing device 1A is an example of a diffusion coefficient estimation device and a control device according to the present specification. Here, the control object is a device that operates based on a control input supplied by the information processing device 1A, such as a two-wheeled mobile robot. However, the control object is not limited to a two-wheeled mobile robot, and may be other robots, etc.
[0022] (Control Input / State) The information processing device 1A also uses an estimator for estimating a diffusion coefficient based on a control input u t and the state s of the control object t Here, the control input u t is a signal supplied to the controlled object to operate it at time (step) t. Control input u t For example, u t = [v t , ω t ] T where v t , ω t are the velocity and angular velocity at time t, respectively. T " is the symbol for transposition.
[0023] State S t is the state of the controlled object at time t. t For example, s t = [x t , y t , θ t ] T where x t , y t , θ t are the x-coordinate, y-coordinate, and orientation of the controlled object, respectively.
[0024] FIG. 3 shows the control input u of the control target T, which is a two-wheeled mobile robot. t and state s tIn the example of FIG. 3, the control input u t is the velocity v t and angular velocity ω t 3, the angle θ indicates the orientation of the control target T.
[0025] (Modeling of Movement Amount) In this exemplary embodiment, the movement amount ds of the controlled object from time t to time t+1 is t is the state s of the controlled object at time t t and control input u t Using the following stochastic differential equation: t = f (s t , u t ) dt + σ(s t , u t ) dBt
[0026] Here, f(s t , u t ) dt is the movement amount of the controlled object determined deterministically, and σ(s t , u t ) dBt is the amount of movement of the controlled object determined probabilistically, that is, the error.
[0027] When the controlled object is a two-wheeled mobile robot, the movement amount ds of the controlled object is t is, for example, the state s t = [x t , y t , θ t ] T and control input u t = [v t , ω t ] T It can be expressed as follows using Here, dx, dy, and dθ are the amount of movement in the x-axis direction, the amount of movement in the y-axis direction, and the amount of rotation of the controlled object, respectively. i is a Gaussian distribution with mean 0 and variance dt, dw p =dw 1 +dw 2 , dw θ =dw 1 -dw 2 , r is the wheel radius, l is the distance between the wheels, and D is the diffusion coefficient.
[0028] (Risk-Sensitive Evaluation Function) In this exemplary embodiment, control is performed using a risk-sensitive evaluation function as a control method in an environment where errors occur. The risk-sensitive evaluation function is an evaluation function that is sensitive to risk (such as a collision with an obstacle), and is expressed by the following equation, for example: Here, β is a hyperparameter that indicates how much importance is attached to risk, and S is some kind of cost function that evaluates control inputs and states. The information processing device 1A performs control so as to minimize this evaluation function. This allows the information processing device 1A to perform control such as moving slowly when an obstacle is nearby and moving quickly when there is not an obstacle nearby.
[0029] (Modeling of Diffusion Coefficient) In this exemplary embodiment, the diffusion coefficient D is expressed as a basis function φ of the control input u. i (u) (i=1,...,N f ) is a linear combination of the above. That is, the diffusion coefficient D is expressed by the following equation: where: where ε is noise. The parameter w can also be said to be a parameter that determines the diffusion coefficient D.
[0030] Here, the control input ut = [v t , ω t ] T In this case, the basis function φ(u) is, for example, φ(u)=[1, v, ω] T However, the basis function φ(u) is not limited to the above example.
[0031] (Construction of a Linear Regression Model) From the above (Equation 2), Here, D i (i = 1, 2, ... N) is the observed value of the diffusion coefficient, and φ(u i ) is the control input u i is a basis transformation of ε i is noise.
[0032] Here, E[ε i ] = 0, V[ε i ]=2(φ(u i ) T lol)2 Therefore, in order to make the variance uniform for each data, Putting that aside, The linear regression model is corrected by:
[0033] where: is.
[0034] At this time, P -1 is a function of the parameter w, but if we consider it fixed, the estimated value ^w of the parameter w is It can be expressed as follows. The expression "^w" means "w with a hat."
[0035] Now, when we consider sequential computation for online learning, Here, Λ[n] and w[n] are parameters used to calculate the diffusion coefficient D at time n, and Ω is approximated using the estimated value w[n-1] at the previous time n-1.
[0036] <Configuration of Information Processing Device> Next, the configuration of an information processing device 1A according to this exemplary embodiment will be described with reference to the drawings. Fig. 4 is a block diagram showing the configuration of an information processing device 1A according to exemplary embodiment 2. The information processing device 1A includes a control unit 10A, a storage unit 20A, a communication unit 30A, and an input / output unit 40A.
[0037] The communication unit 30A communicates with devices external to the information processing device 1A via a communication line. While the specific configuration of the communication line does not limit the present exemplary embodiment, examples of the communication line include a wireless local area network (LAN), a wired LAN, a wide area network (WAN), a public line network, a mobile data communication network, or a combination thereof. The communication unit 30A transmits data supplied from the control unit 10A to other devices, and supplies data received from other devices to the control unit 10A.
[0038] Input / output devices such as a keyboard, a mouse, a display, a printer, and a touch panel are connected to the input / output unit 40A. The input / output unit 40A receives various types of information input to the information processing device 1A from the connected input devices. The input / output unit 40A also outputs various types of information to connected output devices under the control of the control unit 10A. An example of the input / output unit 40A is an interface such as a USB (Universal Serial Bus).
[0039] The storage unit 20A stores a parameter P used to estimate the diffusion coefficient D. The parameter P is a parameter that defines an estimator that estimates the diffusion coefficient D.
[0040] The control unit 10A controls each unit of the information processing device 1A in an integrated manner. The control unit 10A includes an estimation unit 11A, a robot control unit 12A, and an environment observation unit 13A.
[0041] 5 is a block diagram showing an example of the functional configuration and processing flow of the information processing device 1A. Note that the unidirectional arrows in Fig. 5 simply indicate the direction of the flow of a certain signal (data), and do not exclude bidirectionality.
[0042] As described above, the information processing device 1A uses an estimator for estimating a diffusion coefficient based on a control input u t and the state s of the control object t 5, the solid arrows indicate the flow of the learning process of the estimator, and the dashed arrows indicate the flow of the calculation process of the controlled variable.
[0043] (Estimation Unit) In the learning process of the estimator, the estimation unit 11A calculates the control input u t and state s tand updates the parameter P for estimating the diffusion coefficient ^D using the parameter P. In this specification, the true value of the diffusion coefficient is referred to as "diffusion coefficient D", and the diffusion coefficient estimated by the estimation unit 11A is referred to as "^D", which is D with a "^" attached. The updated parameter P is stored in the storage unit 20A. Furthermore, the estimation unit 11A estimates the diffusion coefficient ^D using the updated parameter P in the process of calculating the controlled variable. Details of the process executed by the estimation unit 11A will be described later.
[0044] (Robot Control Unit) In the learning process of the estimator, the robot control unit 12A calculates the control input u supplied to the controlled object at time t. t In the control variable calculation process, the robot control unit 12A supplies one or more control input candidates u to the estimation unit 11A. * and the supplied control input candidate u * Based on the diffusion coefficients ^D estimated for each of the t For example, the robot control unit 12A determines the control input u by performing an optimization process using the diffusion coefficient ^D estimated by the estimation unit 11A. t where the control input u t The calculation method of the control input u is not limited to this, and the robot control unit 12A may calculate the control input u by other methods. t The robot control unit 12A may calculate the calculated control input u t In other words, the robot control unit 12A supplies the control input u to the control object using the diffusion coefficient ^D estimated by the estimation unit 11A. t and the calculated control input u t The robot control unit 12A is an example of a calculation means and a supply means according to the present specification.
[0045] (Environment Observation Unit) The environment observation unit 13A monitors the state s of the controlled object in the learning process of the estimator. t and observe the observed state s t The environment observation unit 13A supplies the observed state s t is supplied to the estimation unit 11A.
[0046] (Functional Configuration of Estimation Unit) Next, the estimation unit 11A will be described with reference to the drawings. Fig. 6 is a block diagram showing an example of the functional configuration of the estimation unit 11A. Note that the unidirectional arrows in Fig. 6 simply indicate the direction of flow of a certain signal (data) and do not exclude bidirectionality.
[0047] The estimation unit 11A includes a first calculation unit 111, a second calculation unit 112, a coordinate conversion unit 113, a third calculation unit 114, a basis conversion unit 115, a fourth calculation unit 116, and a diffusion coefficient estimation unit 117. Below, the details of the processes executed by each unit for (i) the learning process of the estimator and (ii) the calculation process of the controlled variable will be described in order.
[0048] (i) Functional Configuration Related to the Learning Process of the Estimator In the learning process of the estimator, the first calculation unit 111 calculates the control input u t The second calculation unit 112 also obtains the state s of the controlled object. t from the environment observation unit 13A. The first calculation unit 111 is an example of an acquisition unit according to the present specification. The second calculation unit 112 is an example of an acquisition unit according to the present specification.
[0049] The first calculation unit 111, the second calculation unit 112, the coordinate conversion unit 113, the third calculation unit 114, the basis conversion unit 115, and the fourth calculation unit 116 calculate the control input u t and state s t and updates a parameter P that determines a diffusion coefficient ^D used in calculating a control input to the controlled object at a time (second time) after time t using the parameter P. The first calculation unit 111, the second calculation unit 112, the coordinate conversion unit 113, the third calculation unit 114, the basis conversion unit 115, and the fourth calculation unit 116 are examples of parameter updating means according to the present specification. Details of the processes executed by the first calculation unit 111, the second calculation unit 112, the coordinate conversion unit 113, the third calculation unit 114, the basis conversion unit 115, and the fourth calculation unit 116 will be described later.
[0050] (ii) Functional Configuration Related to Calculation Processing of Control Amount) In the calculation processing of the control amount, the basis conversion unit 115 calculates the control input candidate u *is subjected to a basis transformation and supplied to the diffusion coefficient estimation unit 117. The diffusion coefficient estimation unit 117 is an estimator that estimates the diffusion coefficient ^D. In this exemplary embodiment, the diffusion coefficient estimation unit 117 particularly * The fourth calculation unit 116 estimates a diffusion coefficient ^D by correcting a coefficient determined by the parameter P updated by the fourth calculation unit 116 using the standard deviation of the coefficient. The diffusion coefficient estimation unit 117 outputs the estimated diffusion coefficient ^D. The diffusion coefficient estimation unit 117 is an example of a diffusion coefficient estimation means and an output means according to the present specification.
[0051] (First Calculation Unit (Calculation of Control Movement Amount)) Next, each unit shown in FIG. 6 will be described in order. First, the first calculation unit 111 calculates the control input u t Using the control movement amount ds t control Here, the control movement amount ds t control is the control input u t The control input u is the movement amount of the controlled object calculated from t = [v t , ω t ] T In this case, the control movement amount ds t control For example, ds t control = [v t cosθ t , v t sinθ t , ω t ] T dt.
[0052] (Second Calculation Unit (Calculation of Observed Movement Amount)) The second calculation unit 112 calculates the state s t Using the observed movement amount ds t obs Here, the observed movement amount ds t obs is the amount of movement of the controlled object obtained by observing the controlled object. As an example, the state s t = [x t , y t , θ t ] T , control input u t = [vt , ω t ] T In this case, the moving distance ds of the control object from time t to (t+1) calculated from the observation t obs is ds t obs =s t+1 -s t is.
[0053] (Basis conversion unit) The basis conversion unit 115 converts the control input u t For example, the control input ut = [v t , ω t ] T Then the basis function φ(u) is φ(u)=[1, v, ω] T However, the basis function φ(u) is not limited to the above example.
[0054] (Coordinate Transformation Unit) The coordinate transformation unit 113 transforms the movement amount ds of the control object from time t (first time) to time t+1 (second time) into t obs The coordinate transformation unit 113 performs an approximation by taking into consideration quadratic and higher terms. The process performed by the coordinate transformation unit 113 will be described in detail later.
[0055] (Third Calculation Unit (Calculation of Observed Value of Diffusion Coefficient)) The third calculation unit 114 calculates the approximated movement amount ds t obs and the control movement amount ds calculated by the first calculation unit 111 t control and the observed value of the diffusion coefficient D t obs Calculate the observed value D t obs As an example, D p,t obs , D θ,t obs where D p,t obs is the observed value of the diffusion coefficient for the translational component, and D θ,t obs is the observed value of the diffusion coefficient for the rotational component.
[0056] D p,t obs , D θ,t obsA specific example of the calculation process of the control noise e will be described below. t Using the observation value D p,t obs , D θ,t obs Here, the control noise e t is the observed movement amount ds t obs and the control movement amount ds t control It is expressed as the difference between e t =ds t obs -ds t control In addition, the noise e t is 0 if there is no random element. t is divided into translational and rotational components, the translational noise component e p,t and the rotation noise component e θ,t are respectively, This becomes:
[0057] Here, the probabilistic term (the second term on the right side) of the above (Equation 1) is expressed as follows using a Gaussian distribution: This gives the observed value of the diffusion coefficient D p,t obs , D θ,t obs teeth, However, by using a method of approximating the movement of the controlled object from time t to (t+1), which will be described later, taking into account quadratic and higher terms, the actual observed value is Here, re x,t is the error in the x-axis direction in the robot coordinate system, re θ,t is the error of θ in the robot coordinate system.
[0058] (Fourth Calculation Unit (Parameter Calculation)) The fourth calculation unit 116 calculates the control input u t and the observed value D p,t obs , D θ,t obs More specifically, the fourth calculation unit 116 updates the parameter P using the control input u t The basis function φ(u) and the observed value of the diffusion coefficient D p,tobs , D θ,t obs and calculate a parameter P used to estimate the diffusion coefficient D. Here, the parameter P is, for example, p , w p ,Λ θ , w θ Contains. p , w p is the diffusion coefficient D related to the translational component p is a parameter used to estimate Λ θ , w θ is the diffusion coefficient D related to the rotational component θ are parameters used to estimate
[0059] The fourth calculation unit 116 As the parameter ^Λ p , ^w p , ^Λ p , ^w p are updated using the following formulas, respectively:
[0060] (Diffusion Coefficient Estimation Unit (Estimation of Diffusion Coefficient)) The diffusion coefficient estimation unit 117 estimates the diffusion coefficient D using the parameter P calculated by the fourth calculation unit 116. For example, the diffusion coefficient estimation unit 117 estimates D p and D θ Estimate.
[0061] Diffusion coefficient D p and D θ As an example, is calculated by the following formula: where the parameter k is a parameter that indicates how much to estimate on the safe side.
[0062] In this case, the diffusion coefficient can be estimated simply by {p,θ} T φ(u * ) increases the risk of underestimating the diffusion coefficient. Underestimating the diffusion coefficient leads to underestimating the risk in risk calculation for control of the controlled object. Therefore, in this exemplary embodiment, the diffusion coefficient D {p,θ},* is calculated using the above (Equation 4).
[0063] In the following explanation, for the sake of convenience, the first term ^w on the right side of (Equation 4) {p,θ} T φ(u * ) is referred to as the "pre-correction diffusion coefficient." When estimating the diffusion coefficient using the above (Equation 4), in other words, the diffusion coefficient estimation unit 117 calculates the diffusion coefficient D {p,θ},* The uncorrected diffusion coefficient is estimated based on the control input u t and state s t is expressed as a linear combination of at least one of the basis functions φ and parameters.
[0064] (Influence of Linear Modeling of State Transition) Here, the influence of linear modeling of state transition will be described. FIG. 7 is a diagram for explaining the influence of linear modeling of state transition. In the figure, the control input u t The movement amount ds of the control object from time t to (t+1) is calculated from t control =v t dt is approximated as a linear model. However, the actual state of the control target T is in state s from time t to time (t+1). t From state s t+1 That is, for simplicity, the exact amount of movement is t If we set = 0, is.
[0065] At this time, Here, e t approx is an approximation of the error.
[0066] Also, e t approx is the x component of is shown in FIG. x It corresponds to e t approx is the y component of is shown in FIG. y It corresponds to.
[0067] Here, |ω t If dt|<1, then |e y |>|e x |It is.
[0068] The inventors have noticed that the accuracy of approximation of the axis perpendicular to the direction of travel is poor in the information about the position. Therefore, in this exemplary embodiment, the robot state s at time t is calculated as t A robot coordinate system is defined based on the axis of travel and rotation, and calculation is performed using equation 3. Here, the transformation to the robot coordinate system is performed as follows: is.
[0069] (Specific Example of Setting Initial Values ^w, ^Λ) Next, a specific example of the process of setting the initial values of the parameters ^w, ^Λ will be described. Then, we modify the linear regression model. P is a function of the parameter w, and P -1 D=P -1 Φw+P -1 ε.
[0070] Here, when collecting N pieces of data and setting the initial value, the following two steps are repeated: Step 1: Calculate P using ^w. Step 2: Fix P and calculate P -1 D=P -1 Φw+P -1 Solve ε and update ^w.
[0071] <Example> FIG. 8 shows the diffusion coefficient D p , D θ In the example of FIG. 8, the information processing device 1A estimates the diffusion coefficient D p , D θ There are multiple obstacles on the path from the initial position to the destination G, and the robot R1 moves to the destination G without colliding with the obstacles.
[0072] The true diffusion coefficient model in the example of Figure 8 is D p =D θ = 0.3v + 0.2ω. The basis function is φ(u) = [1, v, ω] T In addition, the parameter w p , w θ , w p =[γ p, α, β] T , w θ =[γ θ , α, β] T Here, α and β are p And lol θ It is common to both.
[0073] FIG. 9 shows the diffusion coefficient ^D estimated by the information processing device 1A under the conditions of FIG. 8. p , ^D θ 9 is a graph showing the estimation results of the diffusion coefficients ^Dp and ^Dθ. In FIG. 9, the horizontal axis represents time. In the example of FIG. 9, the diffusion coefficients ^Dp and ^Dθ are calculated using the above-mentioned (Equation 4) with parameter k=3. Graph 901 shows the diffusion coefficients ^Dp and ^Dθ estimated by the information processing device 1A. p From the true value of the diffusion coefficient D p The value obtained by subtracting (^D p -D p ) The graph 902 shows the diffusion coefficient ^D estimated by the information processing device 1A. θ From the true value of the diffusion coefficient D θ The value obtained by subtracting (^D θ -D θ ) is shown.
[0074] On the other hand, graph 903 shows the true value D of the diffusion coefficient from the uncorrected diffusion coefficient of the above (Equation 4). p Graph 904 shows the true value of the diffusion coefficient D from the uncorrected diffusion coefficient of (Equation 4) above. θ This indicates the value obtained by subtracting .
[0075] As is clear from the comparison results between graphs 901 and 903 and the comparison results between graphs 902 and 904, correcting the diffusion coefficient using the standard deviation can prevent the diffusion coefficient from being underestimated.
[0076] Next, the effect of linear modeling of state transitions and the result of reducing the effect will be described with reference to the drawings. p , D θ 10 is a graph showing the progress of learning of the diffusion coefficient ^D. In FIG. 10, the horizontal axis indicates the number of data, and the vertical axis indicates the absolute value of the difference between the estimated diffusion coefficient ^D and the true value D of the diffusion coefficient. In FIG. 10, a graph 911 shows the diffusion coefficient ^D when taking into account higher orders.p and the true value of the diffusion coefficient D p Absolute value of the difference |D p -^D p | is the absolute value |D p -^D p The smaller | is, the higher the estimation accuracy is.
[0077] Graph 912 shows the diffusion coefficient ^D when higher orders are taken into consideration. θ and the true value of the diffusion coefficient D θ Absolute value of the difference |D θ -^D θ Graph 913 shows the diffusion coefficient ^D when higher orders are not taken into consideration. p and the true value of the diffusion coefficient D p Absolute value of the difference |D p -^D p Graph 914 shows the diffusion coefficient ^D when higher orders are not taken into account. θ and the true value of the diffusion coefficient D θ Absolute value of the difference |D θ -^D θ Indicates |.
[0078] As is clear from the comparison results between the graphs 911 and 913 and the comparison results between the graphs 912 and 914, when higher orders are taken into consideration, the diffusion coefficient ^D p , ^D θ The estimation accuracy has improved.
[0079] 11 is a diagram showing the relationship between the control frequency and the estimation accuracy. In FIG. 11, the horizontal axis represents the control frequency, and the vertical axis represents RMSE(D-^D). Here,
[0080] Graph 921 shows the RMSE (D p -^D p ) when higher orders are considered. θ -^D θ ) when higher orders are not taken into account. p -^D p ) when higher orders are not considered. θ -^D θ) is shown.
[0081] As is clear from the comparison results between graphs 921 and 923 and between graphs 922 and 924, the estimation accuracy is higher when high orders are taken into consideration than when high orders are not taken into consideration.
[0082] FIG. 12 shows the diffusion coefficient D when the control frequency is 10 Hz. p , D θ 12 is a graph showing the progress of learning of |D p -^D p 10 is a graph showing the relationship between the value of | / Dp and the number of data. p -^D p It can be said that the smaller | / Dp is, the higher the estimation accuracy is.
[0083] Graph 932 shows the relationship between |D θ -^D θ | / D θ Graph 933 is a graph showing the relationship between the value of |D and the number of data. p -^D p | / D p Graph 934 is a graph showing the relationship between the value of |D and the number of data points when high-order data points are not taken into consideration. θ -^D θ | / D θ 10 is a graph showing the relationship between the value of and the number of data.
[0084] As is clear from the comparison results between the graphs 931 and 933 and the comparison results between the graphs 912 and 914, when higher orders are taken into consideration, the diffusion coefficient ^D p , ^D θ The estimation accuracy has improved.
[0085] Fig. 13 is a diagram showing the relationship between control frequency and estimation accuracy. In Fig. 13, the horizontal axis represents control frequency, and the vertical axis represents RMSE(D - ^D) / Mean(D), where Mean(D) is the average value of the diffusion coefficient D. It can be said that the smaller the value of RMSE(D - ^D) / Mean(D), the higher the estimation accuracy.
[0086] Graph 941 shows the RMSE (D p -^D p ) / Mean(D). Graph 942 shows the RMSE (D θ -^D θ ) / Mean(D). Graph 943 shows the RMSE(D p -^D p ) / Mean(D). Graph 944 shows the RMSE(D θ -^D θ ) / Mean(D).
[0087] As is clear from the comparison results between graphs 941 and 943 and between graphs 942 and 944, the estimation accuracy is higher when higher orders are taken into consideration than when higher orders are not taken into consideration.
[0088] <Effects of this embodiment> As described above, according to this exemplary embodiment, the diffusion coefficient estimation unit 117 estimates the diffusion coefficient ^D using a calculation formula including a first term representing the pre-correction diffusion coefficient and a second term including the standard deviation of the pre-correction diffusion coefficient. By correcting the diffusion coefficient using the standard deviation in this manner, it is possible to prevent the diffusion coefficient from being underestimated and bring the diffusion coefficient closer to its true value as learning progresses.
[0089] In this exemplary embodiment, the uncorrected diffusion coefficient is calculated by the control input u t and state s t The control input u is expressed as a linear combination of at least one of the basis functions φ and the parameters. t and state s t The diffusion coefficient represented by at least one of the basis functions can be prevented from being underestimated, and the diffusion coefficient can be brought closer to the true value as learning progresses.
[0090] Furthermore, the estimation unit 11A according to this exemplary embodiment estimates the movement amount ds of the control object from time t to time (t+1). t obs is approximated by taking into account quadratic or higher terms, and the approximated movement amount ds tobs Using the observed value of the diffusion coefficient D p,t obs , D θ,t obs and calculate the control input u t and the observed value D p,t obs , D θ,t obs and the parameter Λ p , w p ,Λ θ , w θ This reduces the influence of approximation errors in linearizing the motion of the controlled object. Therefore, according to this exemplary embodiment, the estimation accuracy of the diffusion coefficient ^D can be improved.
[0091] Furthermore, the robot control unit 12A according to this exemplary embodiment uses the diffusion coefficient ^D estimated by the estimation unit 11A to calculate the control input u t and the calculated control input u t is supplied to the control target. Therefore, according to this exemplary embodiment, it is possible to prevent the diffusion coefficient ^D from being underestimated in the estimation of the diffusion coefficient ^D, and control of the control target can be performed with higher accuracy. As a result, according to this exemplary embodiment, it is possible to improve the work efficiency of the control target while operating safely in consideration of possible errors.
[0092] <Modifications> (Another Form of Linear Regression) In the above-described exemplary embodiment 2, when the diffusion coefficient can be expressed as an exponential function, the diffusion coefficient is expressed as follows: and In this case, ε has a uniform variance, so linear regression can be applied as is.
[0093] (Another Form of Linear Regression) In the above-described exemplary embodiment 2, the linear regression can be applied with an arbitrary transformation f -1 If the diffusion coefficient can be expressed as D = f -1 (φ(u) T w) X, where X is a random variable that follows a chi-square distribution. f(D) = φ(u) T w+ε, where Therefore, By solving it as above, we can expect improvement in learning performance.
[0094] (Expansion of Basis Functions) In the above-described exemplary embodiment 2, the input to the basis function φ is the control input u t However, the input to the basis function φ is the control input u t For example, the control input u t and state s t The basis function φ(u t , s t ) can also be used.
[0095] Alternatively, the output of another nonlinear transformer may be used as the input. For example, an information extractor ψ(i) trained by some method may be used with image i as the input, and φ(u, ψ(i) may be used.) The information extractor ψ(i) is, for example, a trained model trained to receive image i as input and output information related to the feature quantities of image i.
[0096] [Example of Software Implementation] Some or all of the functions of the diffusion coefficient estimation device 1 and the information processing device 1A may be implemented by hardware such as an integrated circuit (IC chip), or may be implemented by software.
[0097] In the latter case, the diffusion coefficient estimation device 1 and the information processing device 1A are realized, for example, by a computer that executes instructions of a program, which is software that realizes each function. An example of such a computer (hereinafter referred to as computer C) is shown in FIG. 14. The computer C includes at least one processor C1 and at least one memory C2. The memory C2 stores a program P for operating the computer C as the diffusion coefficient estimation device 1 and the information processing device 1A. In the computer C, the processor C1 reads and executes the program P from the memory C2, thereby realizing each function of the diffusion coefficient estimation device 1 and the information processing device 1A.
[0098] The processor C1 may be, for example, a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), a micro processing unit (MPU), a floating point number processing unit (FPU), a physics processing unit (PPU), a tensor processing unit (TPU), a quantum processor, a microcontroller, or a combination thereof. The memory C2 may be, for example, a flash memory, a hard disk drive (HDD), a solid state drive (SSD), or a combination thereof.
[0099] The computer C may further include a RAM (Random Access Memory) for expanding the program P during execution and for temporarily storing various data. The computer C may also include a communication interface for transmitting and receiving data to and from other devices. The computer C may also include an input / output interface for connecting input / output devices such as a keyboard, a mouse, a display, and a printer.
[0100] The program P can also be recorded on a non-transitory, tangible recording medium M that can be read by the computer C. Such a recording medium M can be, for example, a tape, a disk, a card, a semiconductor memory, or a programmable logic circuit. The computer C can acquire the program P via such a recording medium M. The program P can also be transmitted via a transmission medium. Such a transmission medium can be, for example, a communication network or broadcast waves. The computer C can also acquire the program P via such a transmission medium.
[0101] [Additional Note 1] The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope of the claims. For example, embodiments obtained by appropriately combining the technical means disclosed in the above-described embodiments are also included in the technical scope of the present invention.
[0102] [Additional Note 2] Part or all of the above-described embodiment can also be described as follows: However, the present invention is not limited to the following described aspects.
[0103] (Supplementary Note 1) A diffusion coefficient estimation device comprising: an acquisition means for acquiring a control input supplied to a controlled object at a first time and a state of the controlled object at the first time; a parameter update means for updating a parameter for determining a diffusion coefficient used in calculating a control input to the controlled object at a second time, using the control input and the state; a diffusion coefficient estimation means for estimating the diffusion coefficient by correcting a coefficient determined by the control input to the controlled object and the parameter updated by the parameter update means, using a standard deviation of the coefficient; and an output means for outputting the diffusion coefficient estimated by the diffusion coefficient estimation means.
[0104] (Supplementary Note 2) The diffusion coefficient estimation device according to Supplementary Note 1, wherein the diffusion coefficient estimation means estimates the diffusion coefficient using a calculation formula including a first term representing the coefficient and a second term including the standard deviation.
[0105] (Supplementary Note 3) The diffusion coefficient estimation device according to Supplementary Note 1, wherein the coefficient is expressed as a linear combination of a basis function and a parameter of at least one of the control input and the state.
[0106] (Supplementary Note 4) The diffusion coefficient estimation device according to any one of Supplementary Notes 1 to 3, wherein the parameter update means approximates a movement amount of the controlled object from the first time to the second time by taking into consideration quadratic or higher terms, calculates an observation value of the diffusion coefficient using the approximated movement amount, and updates the parameter using the control input and the observation value.
[0107] (Supplementary Note 5) A control device comprising: the diffusion coefficient estimation device according to any one of Supplementary Notes 1 to 4; a calculation means for calculating a control input to the controlled object using the diffusion coefficient estimated by the diffusion coefficient estimation device; and a supply means for supplying the control input calculated by the calculation means to the controlled object.
[0108] (Supplementary Note 6) A diffusion coefficient estimation method comprising: at least one processor acquiring a control input supplied to a control object at a first time and a state of the control object at the first time; updating a parameter that determines a diffusion coefficient used in calculating a control input to the control object at a second time using the control input and the state; estimating the diffusion coefficient by correcting a coefficient determined by the control input to the control object and the updated parameter using a standard deviation of the coefficient; and outputting the estimated diffusion coefficient.
[0109] (Supplementary Note 7) A program for causing a computer to execute the following processes: acquiring a control input supplied to a control object at a first time and a state of the control object at the first time; updating a parameter for determining a diffusion coefficient used in calculating a control input to the control object at a second time, using the control input and the state; estimating the diffusion coefficient by correcting a coefficient determined by the control input to the control object and the updated parameter, using the standard deviation of the coefficient; and outputting the estimated diffusion coefficient.
[0110] [Additional Note 3] Part or all of the above-described embodiment can also be expressed as follows.
[0111] a diffusion coefficient estimation device comprising at least one processor that executes an acquisition process of acquiring a control input supplied to a controlled object at a first time and a state of the controlled object at the first time; a parameter update process of updating, using the control input and the state, parameters that determine a diffusion coefficient used in calculating a control input to the controlled object at a second time; an estimation process of estimating the diffusion coefficient by correcting a coefficient determined by the control input to the controlled object and the parameters updated in the parameter update process, using a standard deviation of the coefficient; and a process of outputting the diffusion coefficient estimated in the estimation process.
[0112] The diffusion coefficient estimation device may further include a memory that stores a program for causing the processor to execute the acquisition process, the parameter update process, the diffusion coefficient estimation process, and the output process. The program may be recorded on a computer-readable, non-transitory, tangible recording medium.
[0113] REFERENCE SIGNS LIST 1 Diffusion coefficient estimation device 11 Acquisition unit 12 Parameter update unit 13 Diffusion coefficient estimation unit 14 Output unit 1A Information processing device 10A Control unit 11A Estimation unit 111 First calculation unit 112 Second calculation unit 113 Coordinate conversion unit 114 Third calculation unit 115 Base conversion unit 116 Fourth calculation unit 117 Diffusion coefficient estimation unit 12A Robot control unit 13A Environment observation unit 20A Memory unit 30A Communication unit 40A Input / output unit S1 Diffusion coefficient estimation method
Claims
1. A diffusion coefficient estimation device comprising: an acquisition means for acquiring a control input supplied to a controlled object at a first time and a state of the controlled object at the first time; a parameter updating means for updating a parameter that determines a diffusion coefficient used in calculating a control input to the controlled object at a second time using the control input and the state; a diffusion coefficient estimation means for estimating the diffusion coefficient by correcting a coefficient determined by the control input to the controlled object and the parameter updated by the parameter updating means using a standard deviation of the coefficient; and an output means for outputting the diffusion coefficient estimated by the diffusion coefficient estimation means.
2. The diffusion coefficient estimation device according to claim 1, characterized in that the diffusion coefficient estimation means estimates the diffusion coefficient using a calculation formula including a first term representing the coefficient and a second term including the standard deviation.
3. The diffusion coefficient estimation device according to claim 1, characterized in that the coefficient is expressed as a linear combination of a basis function and a parameter of at least one of the control input and the state.
4. The diffusion coefficient estimation device according to claim 1 or 2, characterized in that the parameter update means: approximates the amount of movement of the controlled object from the first time to the second time, taking into account second order or higher terms; calculates an observed value of the diffusion coefficient using the approximated amount of movement; and updates the parameter using the control input and the observed value.
5. A control device comprising: a diffusion coefficient estimation device according to claim 1 or 2; a calculation means for calculating a control input to the controlled object using the diffusion coefficient estimated by the diffusion coefficient estimation device; and a supply means for supplying the control input calculated by the calculation means to the controlled object.
6. A method for estimating a diffusion coefficient comprising: at least one processor acquiring a control input supplied to a controlled object at a first time and a state of the controlled object at the first time; updating a parameter that determines a diffusion coefficient used in calculating a control input to the controlled object at a second time using the control input and the state; estimating the diffusion coefficient by correcting a coefficient determined by the control input to the controlled object and the updated parameter using the standard deviation of the coefficient; and outputting the estimated diffusion coefficient.
7. A program for causing a computer to execute the following processes: a process of acquiring a control input supplied to a control object at a first time and a state of the control object at the first time; a process of updating a parameter that determines a diffusion coefficient used in calculating a control input to the control object at a second time using the control input and the state; a process of estimating the diffusion coefficient by correcting a coefficient determined by the control input to the control object and the updated parameter using the standard deviation of the coefficient; and a process of outputting the estimated diffusion coefficient.
Citation Information
Patent Citations
Device for recognizing time sequential data
JP1998240711A
Automatic controller
JP1998254505A
Computer system and method for building and deploying predictive inference models online
JP2020522800A
Execution of time-series prediction of computer-controlled system
JP2021197189A
Mobile body control method, mobile body control device, and mobile body
WO2022044470A1
