Motor control method, motor control model conversion method, motor control system, motor control model conversion system, and motor control model conversion program

By simulating the neural network pseudo-neural network method to perform parallel operations in the motor control system, the problem of insufficient response time in the existing technology is solved and faster motor control is achieved.

CN113574795BActive Publication Date: 2024-10-01PANASONIC INTELLECTUAL PROPERTY MANAGEMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080020275.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-03-19
Filing Date
2020-01-06
Publication Date
2024-10-01
Estimated Expiration
2040-01-06

AI Technical Summary

Technical Problem

Existing motor control systems have shortcomings in response time and cannot effectively shorten the response time to motor commands.

Method used

The simulated neural network pseudo-neural network method is used to input the motor's state control quantity or target value to multiple parallel node layers, and output the operation quantity through the parallel operation of the node layer, shortening the time from input to output.

Benefits of technology

It shortens the response time of motor control instructions and improves control accuracy and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113574795B_ABST
    Figure CN113574795B_ABST
Patent Text Reader

Abstract

In a motor control method, one or more control quantities or target values ​​representing the state of a motor are input as input values ​​to one or more node layers, and one or more operation quantities for controlling the motor are output by performing operations in each of the one or more node layers, and the motor is controlled according to the one or more operation quantities. The one or more node layers each have a plurality of nodes that perform operations in parallel. Each of the plurality of nodes multiplies the input value by a coefficient specified for each node, and performs operations using a function specified for each node that uses the multiplied value as an input variable, thereby determining an output value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a motor control method, a method for transforming a control model of a motor, a motor control system, a system for transforming a control model of a motor, and a program for transforming a control model of a motor. More specifically, the present disclosure relates to a motor control method for controlling a motor based on one or more control quantities or target values ​​of the motor, a method for transforming a control model of a motor, a motor control system, a system for transforming a control model of a motor, and a program for transforming a control model of a motor. Background Art

[0002] Patent document 1 discloses a control system for a servo motor. The control system for the servo motor includes at least one of a position closed-loop control system and a speed closed-loop control system. The position closed-loop control system sends a drive command to the servo motor so as to reduce the error between the rotation position information detected from the servo motor and the rotation position command sent from the controller. The speed closed-loop control system sends a drive command to the servo motor so as to reduce the error between the rotation speed information obtained by differentiating the obtained rotation position information and the rotation speed command sent from the controller.

[0003] Prior art literature

[0004] Patent Literature

[0005] Patent Document 1: Japanese Patent Application Laid-Open No. 6-319284 Summary of the invention

[0006] The purpose of the present disclosure is to provide a motor control method, a motor control model transformation method, a motor control system, a motor control model transformation system, and a motor control model transformation program, which can shorten the response time to instructions for controlling a motor.

[0007] A motor control method according to one embodiment of the present disclosure inputs one or more control quantities or target values ​​representing the state of a motor as input values ​​into one or more node layers, performs operations in each of the one or more node layers, outputs one or more operation quantities for controlling the motor, and controls the motor according to the one or more operation quantities. The one or more node layers each have a plurality of nodes that perform operations in parallel. Each of the plurality of nodes multiplies the input value by a coefficient specified for each node, and performs operations using the multiplied value as a function of the input variable specified for each node, thereby determining the output value.

[0008] A method for transforming a control model of a motor according to one embodiment of the present disclosure is a method for transforming a first operation model into a second operation model. The first operation model takes as input one or more control quantities or target values ​​representing the state of the motor, and outputs one or more operation quantities for controlling the motor by performing operations using one or more transfer functions or state equations. The second operation model takes as input one or more control quantities or target values, and performs operations in each of one or more node layers to output one or more operation quantities, and the one or more node layers each have a plurality of nodes that perform operations in parallel. In the process of transforming the first operation model into the second operation model, the transformation method determines, for each of the plurality of nodes, a coefficient to be multiplied by an input value input to the node based on one or more transfer functions or state equations, and a function that uses the multiplied value as an input variable.

[0009] A motor control system according to one embodiment of the present disclosure includes an input unit and a computing unit. One or more control quantities or target values ​​representing the state of a motor are input to the input unit as input values. The computing unit includes one or more node layers, each of which has a plurality of nodes that perform operations in parallel, and the computing unit outputs one or more operation quantities for controlling the motor by performing operations based on the input values. Each of the plurality of nodes multiplies the input value by a coefficient specified for each node, and performs operations by using a function specified for each node that uses the multiplied value as an input variable.

[0010] A conversion system for a motor control model according to one embodiment of the present disclosure includes a model input unit and a conversion unit. A first operation model is input to the model input unit. The conversion unit converts the first operation model into a second operation model and outputs the second operation model. The first operation model takes one or more control quantities or target values ​​representing the state of the motor as input, and outputs one or more operation quantities for controlling the motor by performing operations using one or more transfer functions or state equations. The second operation model takes one or more control quantities or target values ​​as input, and performs operations in each of one or more node layers to output one or more operation quantities, and the one or more node layers each have a plurality of nodes that perform operations in parallel. In the process of converting the first operation model into the second operation model, the conversion unit determines, for each of the plurality of nodes, a coefficient to be multiplied by an input value input to the node based on one or more transfer functions or state equations, and a function that uses the multiplied value as an input variable.

[0011] The transformation program of the control model of the motor involved in one embodiment of the present disclosure is a transformation program for causing one or more processors to execute a transformation process of transforming a first operation model into a second operation model. The first operation model takes one or more control quantities or target values ​​representing the state of the motor as input, and outputs one or more operation quantities for controlling the motor by performing operations using one or more transfer functions or state equations. The second operation model takes one or more control quantities or target values ​​as input, and performs operations in each of one or more node layers to output one or more operation quantities, and the one or more node layers each have a plurality of nodes that perform operations in parallel. The transformation process includes the following processing: in the process of transforming the first operation model into the second operation model, for each of the plurality of nodes, a coefficient to be multiplied by an input value input to the node and a function that uses the multiplied value as an input variable are determined based on one or more transfer functions or state equations.

[0012] The present disclosure has an advantage of being able to shorten the response time to a command for controlling a motor. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 This is a block diagram showing an overview of a motor control system according to an embodiment of the present disclosure.

[0014] Figure 2 This is a block diagram showing an overview of a conversion system of a motor control model according to an embodiment of the present disclosure.

[0015] Figure 3 This is a block diagram showing an example of a first calculation model to be converted in a conversion system of a motor control model according to an embodiment of the present disclosure.

[0016] Figure 4 This is a schematic diagram showing an example of a second calculation model obtained by converting a first calculation model in a conversion system of a motor control model according to an embodiment of the present disclosure.

[0017] Figure 5 It is a flowchart showing the operation of the motor control system according to the embodiment of the present disclosure.

[0018] Figure 6 1 is a flowchart showing the operation of a conversion system for a motor control model according to an embodiment of the present disclosure.

[0019] Figure 7 This is a block diagram showing an example of a first conversion model obtained by converting a first calculation model in a conversion system of a motor control model according to an embodiment of the present disclosure.

[0020] Figure 8This is a block diagram showing an example of a second transformation model obtained by transforming a first transformation model in a transformation system of a motor control model according to an embodiment of the present disclosure.

[0021] Fig. 9 This is a block diagram showing an example of a first calculation model represented by one or more transfer functions.

[0022] Fig.10 This is a schematic diagram showing an example of a second calculation model obtained by converting a first calculation model in a conversion system of a motor control model according to an embodiment of the present disclosure.

[0023] Fig.11 This is a block diagram showing an example of a first computational model represented by one or more state equations.

[0024] Fig.12 This is a schematic diagram showing an example of a second calculation model obtained by converting a first calculation model in a conversion system of a motor control model according to an embodiment of the present disclosure.

[0025] Fig.13 This is a schematic diagram showing an example of a case where a first computation model including a nonlinear function is converted into a second computation model in a conversion system of a motor control model according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0026] (Implementation Method)

[0027] (1) Summary

[0028] Figure 1 1 is a block diagram showing an overview of a motor control system according to an embodiment of the present disclosure. Figure 1 As shown, the motor control method of the present embodiment is a method of servo-controlling the motor 3 by one or more processors such as a microcontroller. More specifically, the motor control method of the present embodiment is a method of servo-controlling the motor 3 by one or more processors using a pseudo neural network that simulates a neural network instead of a neural network that has completed learning. In the motor control method of the present embodiment, one or more control quantities V1 or target values ​​V2 representing the state of the motor 3 are input to one or more node layers L1. In the motor control method, one or more operation quantities V3 for controlling the motor 3 are output by performing calculations in each node layer of the one or more node layers L1. The calculations in the one or more node layers L1 can be implemented by executing a program by one or more processors.

[0029] The "controlled quantity" mentioned in the present disclosure is a quantity used to control the motor 3 among the quantities belonging to the control object of the motor 3. The controlled quantity V1 can include, for example, the rotational position (rotational angle) of the motor 3 or the rotational speed of the motor 3. The "target value" mentioned in the present disclosure is a quantity provided as a target in order to make the controlled quantity take the target value. In other words, the "target value" is a value that the controlled quantity V1 of the motor 3 is to follow, such as an instruction value provided from the outside. The target value V2 can include, for example, the instruction value of the rotational position (rotational speed) of the motor 3 or the instruction value of the rotational speed of the motor 3. The "operated quantity" mentioned in the present disclosure is a quantity applied to the controlled object in the control system in order to control the controlled quantity V1 of the motor 3. The operated quantity V3 can include, for example, the torque of the motor 3, the current flowing through the coil of the motor 3, or the applied voltage for controlling the current.

[0030] One or more node layers L1 each have a plurality of nodes N1 that perform operations in parallel. Each of the plurality of nodes N1 determines an output value by performing an operation using coefficient w0 and function f1 on an input value. Coefficient w0 is specified for each node N1 and is multiplied by the input value. Function f1 is specified for each node N1 and uses the multiplied value obtained by multiplying the input value by coefficient w0 as an input variable. For example, with respect to any node N1, if "x" represents the input value and "a" represents the coefficient w0, the input variable is represented by "ax". Furthermore, if "y" represents the output value, the output value is represented by "y=f(ax)".

[0031] Here, in any node layer L1, the multiple nodes N1 included in the node layer L1 perform operations in parallel. In other words, when there are multiple node layers L1, not all nodes N1 included in the multiple node layers L1 as a whole perform operations in parallel, but in each node layer in the multiple node layers L1, the multiple nodes N1 included in the node layer L1 perform operations in parallel. As an example, when there are the first node layer and the second node layer, the multiple nodes N1 included in the first node layer perform operations in parallel. Moreover, the multiple nodes N1 included in the second node layer, for example, receive the operation results in the first node layer and perform operations in parallel.

[0032] As described above, in the present embodiment, for one or more control quantities V1 or target values ​​V2, a plurality of nodes N1 in each node layer of one or more node layers L1 perform calculations in parallel, thereby outputting one or more operation quantities V3. Therefore, in the present embodiment, compared with the case where calculations are performed successively for one or more control quantities V1 or target values ​​V2, the time from inputting one or more control quantities V1 or target values ​​V2 to outputting one or more operation quantities V3 can be shortened. In other words, there is an advantage that the response time to the instruction for controlling the motor 3 can be shortened.

[0033] (2) Details

[0034] The motor control system 1 of the present embodiment will be described in detail below. In addition, the conversion system 2 of the control model of the motor 3 of the present embodiment will be described in detail below. In the following description, unless otherwise specified, the conversion system 2 of the control model of the motor 3 will be referred to as the "conversion system 2".

[0035] (2.1) Motor control system

[0036] like Figure 1 As shown, the motor control system 1 includes an input unit 11 and a computing unit 12. As an example, the computing unit 12 can be implemented by one or more processors suitable for parallel processing, such as a multi-core CPU (Central Processing Unit), a GPU (Graphics Processing Unit), or an FPGA (Field-Programmable Gate Array). The input unit 11 can be implemented by an input interface of the above-mentioned one or more processors.

[0037] One or more control quantities V1 or target values ​​V2 representing the state of the motor 3 are input as input values ​​to the input unit 11. In the present embodiment, the rotational position θ2 of the motor 3 (hereinafter referred to as "rotational position θ2") is input as the control quantity V1 to the input unit 11. That is, in the present embodiment, the control quantity V1 includes at least the position information (rotational position θ2) of the motor 3. As an example, the rotational position θ2 is detected by a resolver or a rotary encoder provided in the motor 3. In addition, in the present embodiment, the target value θ1 of the rotational position θ2 of the motor 3 (hereinafter referred to as "position target value θ1") is input as the target value V2. As an example, the position target value θ1 is provided to the input unit 11 from the controller for controlling the motor 3.

[0038] The computing unit 12 includes one or more ( Figure 1 The one or more node layers L1 each have a plurality of nodes N1 that perform operations in parallel. The operation unit 12 outputs one or more operation variables V3 for controlling the motor 3 by performing operations in each node layer of the one or more node layers L1 based on the input value input to the input unit 11. In the present embodiment, the operation variable V3 is the target value (command value) τ of the torque of the motor 3. In other words, the target value τ of the torque of the motor 3 is the target value of the current flowing through the excitation coil of the motor 3. In the following description, unless otherwise specified, the target value τ of the torque of the motor 3 is referred to as the "torque target value τ".

[0039] In each node layer L1 , each of the plurality of nodes N1 multiplies an input value by a coefficient w0 defined for each node N1 , and performs calculation using a function f1 defined for each node N1 that uses the multiplied value as an input variable, thereby determining an output value.

[0040] Hereinafter, the operation model including one or more node layers L1 used in the operation unit 12 is referred to as the "second operation model M2". In more detail, the second operation model M2 takes one or more control quantities V1 or target values ​​V2 as input, performs operations in each node layer of one or more node layers L1 to output one or more operation quantities V3, wherein the one or more node layers L1 respectively have a plurality of nodes N1 that perform operations in parallel. That is, the operation unit 12 uses the second operation model M2 to calculate the operation quantity V3 based on the control quantity V1 and the target value V2 input to the input unit 11 and output it to the motor 3 (specifically, the driver of the motor 3). Then, the driver of the motor 3 controls the motor 3 based on the operation quantity V3. In this way, the motor 3 is controlled in such a way that the control quantity V1 follows the target value V2. In the present embodiment, the motor 3 is controlled in such a way that the rotational position θ2 follows the position target value θ1.

[0041] (2.2) Transformation system

[0042] The second operation model M2 used in the operation unit 12 of the motor control system 1 of the present embodiment is obtained by transforming the first operation model M1 in the conversion system 2. The first operation model M1 is a control algorithm of the existing motor 3, for example, represented by a control block using one or more transfer functions TF1. That is, the first operation model M1 takes one or more control quantities V1 or target values ​​V2 representing the state of the motor 3 as input, performs operations using one or more transfer functions TF1 or state equations, and outputs one or more operation quantities V3 for controlling the motor 3. In the present embodiment, the conversion system 2 can transform the first operation model M1 of the control algorithm of the existing continuous system of the motor 3 into the second operation model M2 that performs parallel operation processing.

[0043] like Figure 2 As shown, the conversion system 2 includes a model input unit 21 and a conversion unit 22. The conversion unit 22 can be implemented by one or more processors. In addition, the model input unit 21 can be implemented by the input interface of the one or more processors mentioned above.

[0044] The first calculation model M1 is input to the model input unit 21. As an example, the first calculation model M1 is input to the model input unit 21 in the form of source code that can be processed by mathematical expression processing software executed by one or more processors in the conversion unit 22.

[0045] The transformation unit 22 transforms the first computational model M1 input to the model input unit 21 into the second computational model M2 and outputs the second computational model M2. In the present embodiment, the transformation unit 22 sequentially transforms the first computational model M1 into the first transformed model M11 (see Figure 7 )、The second transformation model M12 (refer to Figure 8 )After that, the second transformation model M12 is transformed into the second operation model M2.

[0046] In the process of transforming the first operation model M1 into the second operation model M2, the transformation unit 22 determines, for each of the multiple nodes N1, a coefficient w0 multiplied by the input value input to the node N1 and a function f1 that uses the multiplied value as an input variable based on one or more transfer functions TF1 or state equations.

[0047] In other words, the method for transforming the control model of the motor 3 determines, for each of the plurality of nodes N1, a coefficient w0 to be multiplied by an input value input to the node N1 and a function f1 using the multiplied value as an input variable based on one or more transfer functions TF1 or state equations in the process of transforming the first operation model M1 into the second operation model M2. In the following description, the method for transforming the control model of the motor 3 is referred to as a "transformation method" unless otherwise specified.

[0048] (2.3) First operation model

[0049] Next, use Figure 3 A specific example of the first calculation model M1 will be described. Figure 3 This is a block diagram showing an example of a first computational model M1 to be converted in the conversion system 2 of the motor control model according to the embodiment of the present disclosure. Figure 3 The first operation model M1 shown is a control block of a continuous system of a cascade structure including P control of the rotation position θ2 of the motor 3 and PI control of the rotation speed of the motor 3. The position target value θ1 as the target value V2 and the rotation position θ2 as the control amount V1 are input to the first operation model M1. The first operation model M1 outputs the torque target value τ as the operation amount V3 and the deviation e as the difference between the position target value θ1 and the rotation position θ2. The deviation e is used to evaluate the followability of the rotation position of the motor 3 obtained based on the first operation model M1.

[0050] Specifically, the first operation model M1 includes the first processing P1 to the ninth processing P9. The first processing P1 is a processing for obtaining the first operation value CV1 (that is, the deviation e) by subtracting the rotation position θ2 from the position target value θ1. The second processing P2 is a processing for obtaining the second operation value CV2 by multiplying the result obtained by differentiating the position target value θ1 by the speed feedforward gain Kvff. Figure 3 In the above, "s" represents a differential element in the Laplace transform. The third process P3 is a process for obtaining a third operation value CV3 by multiplying the first operation value CV1 (deviation e) by the position loop gain Kp. The fourth process P4 is a process for obtaining a fourth operation value CV4 corresponding to the rotation speed of the motor 3 by differentiating the rotation position θ2.

[0051] The fifth processing P5 is a processing for obtaining the fifth operation value CV5 by subtracting the fourth operation value CV4 corresponding to the rotation speed of the motor 3 from the sum of the second operation value CV2 corresponding to the target value of the rotation speed of the motor 3 and the third operation value CV3. The sixth processing P6 is a processing for obtaining the sixth operation value CV6 by multiplying the fifth operation value CV5 by the speed loop gain Kv. The seventh processing P7 is a processing for obtaining the seventh operation value CV7 by integrating the value obtained by dividing the sixth operation value CV6 by the speed loop integral time constant Ti. Figure 3 In , "1 / s" represents the integral element in the Laplace transform. The eighth process P8 is a process for obtaining the eighth operation value CV8 by adding the sixth operation value CV6 and the seventh operation value CV7. The ninth process P9 is a process for smoothing the eighth operation value CV8 through a first-order lag filter having a torque filter time constant Tf to obtain the ninth operation value CV9 corresponding to the torque target value τ. Figure 3 In , "1 / (1+Tf·s)" represents the first-order lag element in the Laplace transform.

[0052] In the first operation model M1, when the third process P3 is executed, the first operation value CV1 (deviation e) is obtained in advance by executing the first process P1. When the fifth process P5 is executed, the second operation value CV2 to the fourth operation value CV4 are obtained in advance by executing the second process P2 to the fourth process P4. In addition, the order of executing the second process P2, the third process P3 and the fourth process P4 is not limited to this order. When the eighth process P8 is executed, the sixth operation value CV6 and the seventh operation value CV7 are obtained in advance by executing the sixth process P6 and the seventh process P7. In addition, the order of executing the sixth process P6 and the seventh process P7 may be reversed. When the ninth process P9 is executed, the eighth operation value CV8 is obtained in advance by executing the eighth process P8. In this way, in the first operation model M1, the first process P1 to the ninth process P9 are executed by successive processing.

[0053] (2.4) Second Operational Model

[0054] Next, use Figure 4 A specific example of the second calculation model M2 will be described. Figure 4 This is a schematic diagram showing an example of a second computational model M2 obtained by converting a first computational model M1 in a conversion system 2 for a motor control model according to an embodiment of the present disclosure. Figure 4 The second operation model M2 shown has multiple (here, 4) node layers L1. The multiple node layers L1 include an input layer L11 having two input nodes Ni1 and Ni2 and an output layer L12 having two output nodes No1 and No2. The multiple node layers L1 include a hidden layer L13 having six hidden nodes Nh1 to Nh6 and a context layer L14 having four context nodes Nc1 to Nc4.

[0055] The rotational position θ2 as the control amount V1 and the position target value θ1 as the target value are input to the input nodes Ni1 and Ni2, respectively. The input nodes Ni1 and Ni2 respectively output the input values ​​(position target value θ1 and rotational position θ2) as they are. The output nodes No1 and No2 respectively output the calculation results of the nodes as the operation amounts (torque target value τ and deviation e).

[0056] Hidden nodes Nh1 to Nh4 correspond to input nodes Ni1 and Ni2 and context nodes Nc1 to Nc4, respectively. Hidden nodes Nh1 to Nh4 multiply input values ​​by “z” as described later in “(3.2) Operation of the transformation system”. -1 " is output. Hidden nodes Nh5 and Nh6 are nodes corresponding to input nodes Ni1 and Ni2 respectively. Hidden nodes Nh5 and Nh6 are both obtained by adding a value obtained by multiplying a coefficient by the position target value θ1 as the output value of input node Ni1 and a value obtained by multiplying a coefficient by the rotation position θ2 as the output value of input node Ni2, and outputting the added value as it is.

[0057] Context nodes Nc1 to Nc4 respectively hold the output values ​​of hidden nodes Nh1 to Nh4 and output the held values ​​until the next output of hidden nodes Nh1 to Nh4. That is, context nodes Nc1 to Nc4 respectively output the past (here, the previous sampling time) output values ​​of hidden nodes Nh1 to Nh4. That is, in this embodiment, nodes N1 (context nodes Nc1 to Nc4) of at least one node layer L1 (context layer L14) in more than one node layer L1 use the past output values ​​of other nodes (hidden nodes Nh1 to Nh4) as input values.

[0058] The coefficients w1 to w23 between the input nodes Ni1, Ni2, the hidden nodes Nh1 to Nh6, the output nodes No1, No2, and the context nodes Nc1 to Nc4 are described in detail in "(3.2) Operation of the transformation system" described later. In the following description, when the coefficients w1 to w23 are not distinguished, they are simply referred to as "coefficient w0".

[0059] (3) Action

[0060] (3.1) Operation of the motor control system

[0061] Below, mainly use Figure 5 and Figure 7 The operation of the motor control system 1 , in other words, the motor control method, will be described. Figure 5 It is a flowchart showing the operation of the motor control system according to the embodiment of the present disclosure. Figure 7 This is a block diagram showing an example of a first transformation model obtained by transforming the first operation model M1 of the transformation system 2 of the control model of the motor involved in the embodiment of the present disclosure. First, by inputting the control amount V1 (here, the rotation position θ2) and the target value V2 (here, the position target value θ1) to the input unit 11, the control amount V1 and the target value V2 are respectively input to the input nodes Ni1 and Ni2 of the second operation model M2 (step S11). The values ​​obtained by multiplying the output values ​​of the input nodes Ni1 and Ni2 by the coefficient w0 are respectively input to the hidden nodes Nh1~Nh6 (step S12). In addition, the values ​​obtained by multiplying the output values ​​of the context nodes Nc1~Nc4 by the coefficient w0 are respectively input to the hidden nodes Nh1~Nh4 (step S12).

[0062] The output values ​​of hidden nodes Nh1 to Nh4 are input to context nodes Nc1 to Nc4 respectively (step S13). Thus, context nodes Nc1 to Nc4 respectively retain the past output values ​​of hidden nodes Nh1 to Nh4. In addition, the values ​​obtained by multiplying the output values ​​of hidden nodes Nh1 to Nh6 by coefficient w0 are input to output nodes No1 and No2 respectively (step S14).

[0063] Next, the output nodes No1 and No2 respectively output the input values ​​as they are, and the second computation model M2 outputs the manipulated variable V3 (here, the torque target value τ) and the deviation e (step S15). The driver of the motor 3 controls the motor 3 according to the manipulated variable V3, thereby controlling the motor 3 in such a way that the controlled variable V1 follows the target value V2.

[0064] As described above, in the motor control system 1 and the motor control method of the present embodiment, for one or more control quantities V1 or target values ​​V2, a plurality of nodes N1 perform operations in parallel in each node layer of one or more node layers L1, thereby outputting one or more operation quantities V3. Therefore, in the present embodiment, compared with the case where operations are performed successively for one or more control quantities V1 or target values ​​V2, the time from inputting one or more control quantities V1 or target values ​​V2 to outputting one or more operation quantities V3 can be shortened. In other words, there is an advantage that the response time to the instruction for controlling the motor 3 can be shortened.

[0065] (3.2) Transformation system action

[0066] Below, mainly use Figure 3 , Figure 4 , Figures 6 to 8 The operation of the conversion system 2, in other words, the conversion method, will be described. Figure 6 1 is a flowchart showing the operation of the conversion system 2 of the motor control model according to the embodiment of the present disclosure. Figure 8 1 is a block diagram showing an example of a second transformation model obtained by transforming a first transformation model of a transformation system 2 of a control model of a motor involved in an embodiment of the present disclosure. First, when the first operation model M1 is input to the model input unit 21 (step S21), the transformation unit 22 performs a process of transforming the first operation model M1 into a first transformation model M11 (step S22). That is, the transformation unit 22 transforms the first operation model M1 of the control algorithm of the continuous system into the first transformation model M11 of the control algorithm of the discrete system. Specifically, the transformation unit 22 transforms the transfer function TF1 represented by Laplace transform of the differential element, integral element, and first-order lag element in the first process P1 to the ninth process P9 of the first operation model M1 into a transfer function TF1 represented by z transform. Thus, the transformation unit 22 transforms the first operation model M1 into the first transformation model M11.

[0067] In the present embodiment, the differential elements in the second process P2 and the fourth process P4 of the first operation model M1 are expressed by the following equation (1) by using the first-order approximate z-transform. The integral element in the seventh process P7 of the first operation model M1 is expressed by the following equation (2) by using the first-order approximate z-transform. The first-order lag element in the ninth process P9 of the first operation model M1 is expressed by the following equation (3) by bilinear transformation. In equations (1) to (3), "Ts" represents the sampling period, and "z" represents the sampling period. -1 " indicates a delay element used to express a delay of 1 sampling time.

[0068] [Formula 1]

[0069]

[0070]

[0071]

[0072] Through the above transformation, the first calculation model M1 is transformed into Figure 7 The first transformation model M11 shown. Specifically, the second process P2, the fourth process P4, the seventh process P7 and the ninth process P9 in the first transformation model M11 are respectively represented by the following equations (4) to (7). In the equations shown below, "θ1" and "θ2" represent the position target value θ1 and the rotation position θ2, respectively. In addition, in the equations shown below, "v2", "v4", "v6" to "v9" represent the second operation value CV2, the fourth operation value CV4, the sixth operation value CV6 to the ninth operation value CV9, respectively. In addition, in the equations shown below, "a1", "b0" and "b1" are constants obtained by simplifying the constants represented by the sampling period Ts and the torque filter time constant Tf, respectively.

[0073] [Formula 2]

[0074]

[0075]

[0076]

[0077]

[0078] Next, the transformation unit 22 executes the transformation of the first transformation model M11 into Figure 8 Specifically, the transformation unit 22 performs the process of transforming the delay element “z” in each of the second process P2, the fourth process P4, the seventh process P7, and the ninth process P9. -1 ” is replaced by the processing of hidden nodes Nh1 to Nh4 of the hidden layer L13.

[0079] The transformation unit 22 performs the transformation of the second transformation model M12 into Figure 4 The processing of the second operation model M2 shown in FIG. 2 (step S24). Specifically, the conversion system 2 converts the two input values, i.e., the position target value θ1 and the rotation position θ2, input to the first operation model M1 into two input nodes Ni1 and Ni2 of the input layer, respectively. In addition, the conversion system 2 converts the two output values, i.e., the torque target value τ and the deviation e, from the first operation model M1 into two output nodes No1 and No2 of the output layer, respectively.

[0080] The transformation unit 22 obtains the coefficient w0 between the input nodes Ni1, Ni2, the hidden nodes Nh1 to Nh6, the output nodes No1, No2, and the respective nodes Nc1 to Nc4 based on the second transformation model M12. The coefficient w0 can be calculated by multiplying and adding the weight of the directed edge between two nodes N1 in the second transformation model M12 in the direction of the arrow shown in the figure.

[0081] The coefficient w0 between each node N1 in the second operation model M2 is listed as equations (8) to (30). In the equations shown below, "h1" to "h6" represent the output values ​​of hidden nodes Nh1 to Nh6, respectively. In the equations shown below, "c1" to "c4" represent the output values ​​of context nodes Nc1 to Nc4, respectively. In the equations shown below, "τ" and "e" represent the torque target value τ and the deviation e, respectively.

[0082] The coefficients w1 to w5 are coefficients between the input node Ni1 and the hidden nodes Nh1, Nh3, Nh4, Nh5, and Nh6, respectively. The coefficients w1 to w5 are expressed by equations (8) to (12).

[0083] [Formula 3]

[0084]

[0085]

[0086]

[0087]

[0088] w5=1…(12)

[0089] The coefficients w6 to w10 are coefficients between the input node Ni2 and the hidden nodes Nh2, Nh3, Nh4, Nh5, and Nh6, respectively. The coefficients w6 to w10 are expressed by equations (13) to (17).

[0090] [Formula 4]

[0091]

[0092]

[0093]

[0094]

[0095] w10=-1…(17)

[0096] The coefficients w11 and w12 are the coefficients between the context node Nc1 and the hidden nodes Nh3 and Nh4, respectively. The coefficients w11 and w12 are expressed by equations (18) and (19).

[0097] [Formula 5]

[0098]

[0099]

[0100] The coefficients w13 and w14 are the coefficients between the context node Nc2 and the hidden nodes Nh3 and Nh4, respectively. The coefficients w13 and w14 are expressed by equations (20) and (21).

[0101] [Formula 6]

[0102]

[0103]

[0104] The coefficients w15 and w16 are the coefficients between the context node Nc3 and the hidden nodes Nh3 and Nh4, respectively. The coefficients w15 and w16 are expressed by equations (22) and (23).

[0105] [Formula 7]

[0106] w15=1…(22)

[0107] w16=1…(23)

[0108] The coefficient w17 is the coefficient between the context node Nc4 and the hidden node Nh4. The coefficient w17 is expressed by equation (24).

[0109] [Formula 8]

[0110] w17=-a1…(24)

[0111] The coefficients w18 to w22 are coefficients between the hidden nodes Nh1 to Nh4 and the output node No1, respectively. The coefficients w18 to w22 are expressed by equations (25) to (29).

[0112] [Formula 9]

[0113]

[0114]

[0115] w20=b0…(27)

[0116] w21=b1…(28)

[0117] w22=1..(29)

[0118] The coefficient w23 is a coefficient between the hidden node Nh6 and the output node No2. The coefficient w23 is expressed by equation (30).

[0119] [Formula 10]

[0120] w23=1…(30)

[0121] In this way, the conversion unit 22 performs the following processing in the process of converting the first operation model M1 into the second operation model M2. That is, the conversion unit 22 determines the number of the plurality of nodes N1 and the coefficient w0 of each of the plurality of nodes N1 based on the number of past states of one or more transfer functions TF1 or state equations in the first operation model M1 and the connection relationship between the input and the output. The number of past states of the transfer function TF1 mentioned in the present disclosure corresponds to the delay element "z -1 " The number of past states of the state equation mentioned in the present disclosure is equivalent to the number of elements of the state variable. In other words, the transformation method of the control model of the motor 3 includes the following method in the process of transforming the first operation model M1 into the second operation model M2. That is, the method determines the number of multiple nodes N1 and the coefficient w0 of each of the multiple nodes N1 based on the number of past states of one or more transfer functions TF1 or state equations in the first operation model M1, and the connection relationship between the input and the output.

[0122] The conversion unit 22 outputs the second calculation model M2 obtained by converting the first calculation model M1 as described above (step S25 ).

[0123] In the above description of the operation of the conversion system 2 , a known position control system commonly used in motor control systems is used as the first calculation model M1 . However, a combination of more general transfer functions or state equations may be used as the first calculation model M1 .

[0124] Next, as a generalized example of the conversion unit 22, Fig. 9 and Fig.10 An example of a method of converting the first calculation model M1 represented by one or more transfer functions TF1 into the second calculation model M2 will be described. Fig. 9 It is a block diagram showing an example of the first calculation model M1 represented by one or more transfer functions. Fig.10 This is a schematic diagram showing an example of a second computational model obtained by converting the first computational model M1 in the motor control model conversion system 2 according to the embodiment of the present disclosure.

[0125] When the first operation model M1 is set to a discrete transfer function, the input is set to "u(z)", the output is set to "y(z)", and the transfer function TF1 is set to "G(z)", and their relationship is expressed by formula (31).

[0126] As a simple example, when the transfer function TF1 is set to a first-order transfer function whose numerator and denominator have an order of 1, the transfer function TF1 is expressed by equation (32). In the equation shown below, "a1", "b0" and "b1" represent constants, respectively, and "z -1 " indicates a delay element used to express a delay of 1 sampling time.

[0127] [Formula 11]

[0128] y(z)=G(z)·u(z)…(31)

[0129]

[0130] Based on equations (31) and (32), the relationship between the output "y(z)" and the input "u(z)" is expressed by equation (33).

[0131] [Formula 12]

[0132] y(z)=(b0+b1·z -1 )·u(z)-al·z -1 y(z)…(33)

[0133] Based on formula (33), the first computational model M1 can be Fig. 9 The box-line diagram shown is shown. Fig.10 As shown, the input "u(z)", output "y(z)" and delay element "z" in the first operation model M1 -1 " can be replaced by the input node Ni11, output node No11 and hidden node Nh11 in the second operation model M2. Fig.10 , the context node Nc11 is a node that holds the past output value of the hidden node Nh11.

[0134] based on Fig. 9 The first operation model M1 shown in the figure is used to find the coefficients w24~w27 between each node N1. The coefficients w24~w27 can be calculated by multiplying and adding the weights of the directed edges between two nodes N1 in the first operation model M1 in the direction of the arrows shown in the figure. In this example, the coefficients w24, w25, w26, and w27 are "1", "b0", "b1", and "-a1", respectively. As described above, the first operation model M1 represented by one or more transfer functions TF1 can be transformed into the second operation model M2.

[0135] When the transfer function TF1 is a second-order transfer function whose numerator and denominator have an order of 2, the delay element “z -1 ” is replaced by a transformation of the hidden node. In this case, in equation (32), the quadratic term “(z -1 ) 2 " and the quadratic term "(z -1 ) 2 ". Here, "(z -1 ) 2 " represents a delay element for representing a delay of two sampling times. When the transfer function TF1 is a third-order or higher-order transfer function, the delay element "z" can also be defined by adding multiple terms to equation (32) in the same way as above. -1 ” is replaced by the transformation of the hidden nodes.

[0136] Next, as another generalized example of the conversion unit 22, Fig.11 and Fig.12 A method of transforming a first computational model M1 represented by one or more state equations into a second computational model M2 will be described. Fig.11 This is a block diagram showing an example of a first computational model represented by one or more state equations. Fig.12 This is a schematic diagram showing an example of a second computational model obtained by transforming a first computational model in a transformation system 2 of a motor control model according to an embodiment of the present disclosure. When the first computational model M1 is set as a discrete state equation, the input is set to "u(n)", the output is set to "y(n)", and the state variable is set to "x(n)", and their relationship is expressed by equations (34) and (35).

[0137] As a simple example, when the state equation is set to a state equation with 1 input number and 1 output number and 2 state variables, in equation (34), "A" becomes a 2×2 matrix (see equation (36)), and "B" becomes a 2×1 matrix (see equation (37)). In equation (35), "C" becomes a 1×2 matrix (see equation (38)), and "D" becomes a 1×1 matrix (see equation (39)). The state variable "x(n)" is represented by a 2×1 matrix (see equation (40)). That is, in this example, the state variable "x(n)" contains 2 elements.

[0138] [Formula 13]

[0139] x(n+1)=A·x(n)+B·u(n)…(34)

[0140] y(n)=C·x(n)+D·u(n)…(35)

[0141]

[0142]

[0143] C=[c1 c2]…(38)

[0144] D=[d]…(39)

[0145]

[0146] Based on equations (34) and (35), the first computational model M1 can be obtained by Fig.11 The box-line diagram shown is shown. Fig.12 As shown, the input "u(n)", output "y(n)" and state variable "x(n)" in the first operation model M1 can be replaced by the input node Ni21, output node No21 and hidden nodes Nh21 and Nh22 in the second operation model M2. Fig.12 , context nodes Nc21 and Nc22 are nodes that hold past output values ​​of hidden nodes Nh21 and Nh22, respectively.

[0147] based on Fig.11 The first operation model M1 shown in the figure is used to find the coefficients w28~w36 between each node N1. The coefficients w28~w36 can be calculated by multiplying and adding the weights of the directed edges between two nodes N1 in the first operation model M1 in the direction of the arrows shown in the figure. In this example, the coefficients w28, w29, w30, w31, and w32 are "b1", "b2", "d", "c1", and "c2", respectively. In addition, the coefficients w33, w34, w35, and w36 are "a11", "a21", "a12", and "a22", respectively. In the above manner, the first operation model M1 represented by one or more state equations can be transformed into the second operation model M2.

[0148] In addition, when the number of inputs or outputs of the state equation is more than 2, or the number of state variables is other than 2, the transformation of replacing the elements of the state variable "x(n)" with hidden nodes can also be defined in the same way as above. In this case, in equations (34) to (40), the orders of the input "u(n)", the output "y(n)", and the state variable "x(n)" are made consistent, and the orders of the matrices "A", "B", "C", and "D" are changed accordingly.

[0149] In the present embodiment, the number of input nodes Ni1 and Ni2 is determined based on the number of parameters (control variable V1 and target value V2) input to the first operation model M1. In addition, the number of output nodes No1 and No2 is determined based on the number of parameters (operation variable V3 and deviation e) output from the first operation model M1. In addition, the number of hidden nodes Nh1 to Nh6 is determined based on the number of past states of one or more transfer functions TF1 or state equations in the first operation model M1. In addition, the number of context nodes Nc1 to Nc4 is determined based on the number of context nodes including the delay element “z -1 " is determined by the number of transfer functions TF1. The coefficient w0 between the nodes N1 can be calculated by multiplying and adding the weight of the directed edge between the two nodes N1 in the second transformation model M12 in the direction of the arrow shown in the figure.

[0150] As described above, the conversion system 2 and its conversion method determine the number of input nodes Ni1, Ni2, hidden nodes Nh1 to Nh6, context nodes Nc1 to Nc4, and output nodes No1, No2 of the second operation model M2 based on the first operation model M1. The conversion system 2 and its conversion method calculate the coefficient w0 between the nodes N1 of the second operation model M2 based on the first operation model M1. Thus, the conversion system 2 and its conversion method can convert the first operation model M1 of the existing motor 3 control algorithm into the second operation model M2 that performs parallel operation processing. Therefore, the conversion system 2 and the conversion method of this embodiment have the following advantages, for example.

[0151] Generally, when constructing a learning model, the number of neurons in the input layer, hidden layer, and output layer, the connection relationship between neurons, and the combination of activation functions used in each neuron are determined by repeated experiments. For the weight coefficients between neurons, machine learning is generally performed through the error back propagation algorithm (Backpropagation). In other words, machine learning is required to construct a learning model. Machine learning requires a huge amount of data (big data) and learning time.

[0152] In contrast, in the conversion system 2 and the conversion method of the present embodiment, the existing control algorithm (first computational model M1) of the motor 3 is converted into a second computational model M2 that is close to the learned model. Therefore, in the present embodiment, there is no need to perform machine learning, and thus no big data and learning time are required, thereby having the advantage of being able to construct a computational model that is close to the learned model.

[0153] In addition, in the present embodiment, machine learning can be performed based on the second calculation model M2 to further improve the control accuracy of the motor 3. In this case, since it is not necessary to perform machine learning from a blank state, there is an advantage that the result of machine learning can be easily and quickly obtained.

[0154] In addition, in this embodiment, the weighting coefficient obtained as a result of machine learning can be replaced with a parameter of the existing control algorithm of the motor 3. Therefore, in this embodiment, there is an advantage that when machine learning is performed, the result of machine learning can be easily interpreted according to the existing control algorithm of the motor 3.

[0155] Furthermore, in the present embodiment, there is an advantage that even when a new control algorithm is developed based on the existing control algorithm of the motor 3 , it is easy to construct a calculation model corresponding to the new algorithm by adding the node N1 to the second calculation model M2 .

[0156] (4) Modification

[0157] The above-mentioned embodiment is only one of the various embodiments of the present disclosure. The above-mentioned embodiment can be modified in various ways according to the design, etc. as long as the purpose of the present disclosure can be achieved. The same function as the motor control system 1 can be embodied by a computer program, or a non-transient recording medium with a computer program recorded thereon, etc. The same function as the conversion system 2 of the control model of the motor 3 can be embodied by a computer program, or a non-transient recording medium with a computer program recorded thereon, etc.

[0158] A transformation program (hereinafter also referred to as "transformation program") of a control model of a motor 3 according to one embodiment is a transformation program for causing one or more processors to execute a transformation process of transforming a first operation model M1 into a second operation model M2. The first operation model M1 takes as input one or more control quantities V1 or target values ​​V2 representing the state of the motor 3, and outputs one or more operation quantities V3 for controlling the motor 3 by performing operations using one or more transfer functions TF1 or state equations. The second operation model M2 takes as input one or more control quantities V1 or target values ​​V2, and performs operations in each node layer of one or more node layers L1 to output one or more operation quantities V3, and the one or more node layers L1 respectively have a plurality of nodes N1 that perform operations in parallel. The transformation processing includes the following processing: in the process of transforming the first operation model M1 into the second operation model M2, for each node among the multiple nodes N1, the coefficient w1 multiplied by the input value input to the node N1 and the function f1 that uses the multiplied value as the input variable are determined based on one or more transfer functions TF1 or state equations.

[0159] In the conversion program, the conversion process includes the following process in the process of converting the first operation model M1 into the second operation model M2. That is, in this process, the number of the plurality of nodes N1 and the coefficient w1 of each of the plurality of nodes N1 are determined based on the number of past states of one or more transfer functions TF1 or state equations in the first operation model M1 and the connection relationship between the input and the output.

[0160] Modifications of the above-described embodiment are listed below. The modifications described below can be combined as appropriate and applied.

[0161] The motor control system 1 (or conversion system 2) in the present disclosure includes a computer system. The computer system is mainly composed of a processor and a memory as hardware. The function of the motor control system 1 (or conversion system 2) in the present disclosure is realized by executing the program recorded in the memory of the computer system by the processor. The program can be pre-recorded in the memory of the computer system, or provided through an electrical communication line, or recorded in a non-transitory recording medium such as a memory card, an optical disk, a hard disk drive, etc. readable by the computer system. The processor of the computer system is composed of one or more electronic circuits including a semiconductor integrated circuit (IC, Integrated Circuit) or a large-scale integrated circuit (LSI, Large Scale Integration). The integrated circuits such as IC or LSI mentioned here are called differently according to the degree of integration, including integrated circuits called system LSI, VLSI (Very Large Scale Integration), or ULSI (Ultra Large Scale Integration). In addition, a FPGA (Field Programmable Gate Array) that is programmed after LSI manufacturing, or a logic device that can reconstruct the bonding relationship inside the LSI or the circuit division inside the LSI can also be used as a processor. Multiple electronic circuits can be integrated into one chip or distributed in multiple chips. Multiple chips can be integrated into one device or distributed in multiple devices. The computer system described here includes a microcontroller having more than one processor and more than one memory. Therefore, the microcontroller is also composed of one or more electronic circuits including a semiconductor integrated circuit or a large-scale integrated circuit.

[0162] In addition, it is not necessary for the motor control system 1 (or conversion system 2) to integrate multiple functions in one housing. In other words, the components of the motor control system 1 (or conversion system 2) can be dispersed in multiple housings. In addition, at least part of the functions of the motor control system 1 (or conversion system 2) can be implemented through the cloud (cloud computing) or the like.

[0163] Furthermore, in one or more nodes N1 among the plurality of nodes N1 included in the second calculation model M2, the function f1 may be a nonlinear function. Fig.13 1 is a schematic diagram showing an example of a case where a first computational model including a nonlinear function is transformed into a second computational model in a conversion system of a motor control model according to an embodiment of the present disclosure. Fig.13 As shown, the first calculation model M1 is assumed to have a process of obtaining output data B1 by multiplying the output value of a sign function having input data A1 as an input variable by the friction coefficient K. Here, input data A1 corresponds to the speed of the motor 3, and output data B1 corresponds to the friction torque.

[0164] In this case, in the second operation model M2, the above-mentioned processing is represented by three nodes N1 (the first node N11, the second node N12, and the third node N13). The first node N11 takes the input data A1 as an input value and outputs the input value as it is. In the second node N12, a step function f11 is specified as a function f1. The third node N13 is a node that outputs the input value as it is, and sets the output data B1 as the output value. The coefficient w37 between the first node N11 and the second node N12 is "1", and the coefficient w38 between the second node N12 and the third node N13 is "K". In this way, the processing including the nonlinear function (here is the sign function) in the first operation model M1 can be transformed into the second operation model M2 using the node N1 that uses the nonlinear function (here is the step function) specified as the function f1.

[0165] In addition, the first calculation model M1 may be divided into a plurality of control algorithms. In this case, the conversion system 2 and the conversion method may be used to convert each of the plurality of control algorithms into the second calculation model M2.

[0166] In the second computational model M2, the hidden layer L13 is not limited to one layer, but may be a plurality of layers. In the second computational model M2, the context layer L14 is not limited to one layer, but may be a plurality of layers.

[0167] (Summarize)

[0168] As described above, the motor control method involved in the first embodiment inputs one or more control quantities V1 or target values ​​V2 representing the state of the motor 3 as input values ​​into one or more node layers L1, and outputs one or more operation quantities V3 for controlling the motor 3 by performing calculations in each node layer of the one or more node layers L1, and controls the motor according to the one or more operation quantities. The one or more node layers L1 each have a plurality of nodes N1 that perform calculations in parallel. Each of the plurality of nodes N1 multiplies the input value by a coefficient w0 specified for each node N1, and calculates the function f1 specified for each node N1 using the multiplied value as an input variable, thereby determining the output value.

[0169] According to this aspect, there is an advantage that the response time to the command for controlling the motor 3 can be shortened.

[0170] Regarding the motor control method involved in the second aspect, in the first aspect, a node N1 included in at least one node layer L1 among one or more node layers L1 uses past output values ​​of other nodes N1 in one or more node layers L1 as input values.

[0171] According to this aspect, there is an advantage that the accuracy of feedback control can be easily improved.

[0172] In the motor control method according to the third aspect, in the first or second aspect, the function f1 is a nonlinear function.

[0173] According to this embodiment, there is an advantage that the degree of freedom in controlling the motor 3 can be easily increased compared to a case where the function f1 is a linear function.

[0174] In the motor control method according to the fourth aspect, in any one of the first to third aspects, the one or more controlled variables V1 include at least position information of the motor 3 .

[0175] According to this aspect, there is an advantage that the time required to control the position of the motor 3 to a desired position can be shortened.

[0176] The method for transforming the control model of the motor 3 according to the fifth embodiment is a method for transforming the first operation model M1 into the second operation model M2. The first operation model M1 takes one or more control variables V1 or target values ​​V2 representing the state of the motor 3 as input, and outputs one or more operation variables V3 for controlling the motor 3 by performing operations using one or more transfer functions or state equations. The second operation model M2 takes one or more control variables V1 or target values ​​V2 as input, and performs operations in each of one or more node layers L1 to output one or more operation variables V3, and the one or more node layers L1 each have a plurality of nodes N1 that perform operations in parallel. In the process of transforming the first operation model M1 into the second operation model M2, the method determines, for each of the plurality of nodes N1, a coefficient w0 to be multiplied by an input value input to the node N1 and a function f1 that uses the multiplied value as an input variable based on one or more transfer functions or state equations.

[0177] According to this embodiment, by using the converted second calculation model M2 , there is an advantage that the response time to the command for controlling the motor 3 can be shortened.

[0178] Regarding the method for transforming the control model of the motor 3 according to the sixth aspect, in the fifth aspect, the process of transforming the first computational model M1 into the second computational model M2 includes the following method. That is, the method determines the number of the plurality of nodes N1 and the coefficient w0 of each of the plurality of nodes N1 based on the number of past states of one or more transfer functions TF1 or state equations in the first computational model M1 and the connection relationship between the input and the output.

[0179] According to this aspect, there is an advantage that the process of converting the first calculation model M1 into the second calculation model M2 can be easily simplified.

[0180] The motor control system 1 according to the seventh embodiment includes an input unit 11 and a calculation unit 12. One or more control variables V1 or target values ​​V2 representing the state of the motor 3 are input as input values ​​to the input unit 11. The calculation unit 12 includes one or more node layers L1, each of which has a plurality of nodes N1 that perform calculations in parallel, and the calculation unit 12 performs calculations based on the input values ​​to output one or more operation variables V3 for controlling the motor 3. Each of the plurality of nodes N1 multiplies the input value by a coefficient w0 specified for each node N1, and performs calculations using a function f1 specified for each node N1 that uses the multiplied value as an input variable.

[0181] According to this aspect, there is an advantage that the response time to the command for controlling the motor 3 can be shortened.

[0182] The conversion system 2 of the control model of the motor 3 involved in the eighth embodiment includes a model input unit 21 and a conversion unit 22. The first operation model M1 is input to the model input unit 21. The conversion unit 22 converts the first operation model M1 into the second operation model M2 and outputs the second operation model M2. The first operation model M1 takes as input one or more control quantities V1 or target values ​​V2 representing the state of the motor 3, and outputs one or more operation quantities V3 for controlling the motor 3 by using one or more transfer functions TF1 or state equations for calculation. The second operation model M2 takes as input one or more control quantities V1 or target values ​​V2, and performs calculations in each node layer of one or more node layers L1 to output one or more operation quantities V3, and the one or more node layers L1 each have a plurality of nodes N1 that perform calculations in parallel. In the process of transforming the first operation model M1 into the second operation model M2, the transformation unit 22 determines, for each of the multiple nodes N1, a coefficient w0 multiplied by the input value input to the node N1 and a function f1 that uses the multiplied value as an input variable based on one or more transfer functions TF1 or state equations.

[0183] According to this embodiment, by using the converted second calculation model M2 , there is an advantage that the response time to the command for controlling the motor 3 can be shortened.

[0184] Regarding the conversion system 2 of the control model of the motor 3 according to the ninth aspect, in the eighth aspect, the conversion unit 22 performs the following processing in the process of converting the first computational model M1 into the second computational model M2. That is, the conversion unit 22 determines the number of the plurality of nodes N1 and the coefficient w0 of each of the plurality of nodes N1 based on the number of past states of one or more transfer functions TF1 or state equations in the first computational model M1 and the connection relationship between the input and the output.

[0185] According to this aspect, there is an advantage that the process of converting the first calculation model M1 into the second calculation model M2 can be easily simplified.

[0186] The transformation program of the control model of the motor 3 involved in the tenth embodiment is a transformation program for causing one or more processors to execute a transformation process of transforming the first operation model M1 into the second operation model M2. The first operation model M1 takes as input one or more control quantities V1 or target values ​​V2 representing the state of the motor 3, and outputs one or more operation quantities V3 for controlling the motor 3 by using one or more transfer functions TF1 or state equations for calculation. The second operation model M2 takes as input one or more control quantities V1 or target values ​​V2, and outputs one or more operation quantities V3 by performing calculations in each node layer of one or more node layers L1, and the one or more node layers L1 respectively have a plurality of nodes N1 that perform calculations in parallel. The transformation process includes the following processing in the process of transforming the first operation model M1 into the second operation model M2. That is, the conversion process includes a process of determining, for each of the plurality of nodes N1 , a coefficient w0 to be multiplied by an input value input to the node N1 and a function f1 having the multiplied value as an input variable based on one or more transfer functions TF1 or state equations.

[0187] According to this embodiment, by using the converted second calculation model M2 , there is an advantage that the response time to the command for controlling the motor 3 can be shortened.

[0188] Regarding the conversion procedure of the control model of the motor 3 involved in the eleventh aspect, in the tenth aspect, the conversion process includes the following process in the process of converting the first computational model M1 into the second computational model M2. That is, in this process, the number of the plurality of nodes N1 and the coefficient w0 of each of the plurality of nodes N1 are determined based on the number of past states of one or more transfer functions TF1 or state equations in the first computational model M1 and the connection relationship between the input and the output.

[0189] According to this aspect, there is an advantage that the process of converting the first calculation model M1 into the second calculation model M2 can be easily simplified.

[0190] Regarding the structures involved in the second to fourth embodiments, the structures that are not necessary for the motor control method can be appropriately omitted. In addition, regarding the structure involved in the sixth embodiment, the structures that are not necessary for the method for converting the control model of the motor 3 can be appropriately omitted. In addition, regarding the structure involved in the ninth embodiment, the structures that are not necessary for the conversion system 2 of the control model of the motor 3 can be appropriately omitted. In addition, regarding the structure involved in the eleventh embodiment, the structures that are not necessary for the conversion program of the control model of the motor 3 can be appropriately omitted.

[0191] Description of Reference Numerals

[0192] 1: Motor control system; 11: Input unit; 12: Operation unit; 2: Transformation system; 21: Model input unit; 22: Transformation unit; 3: Motor; f1: Function; L1: Node layer; M1: First operation model; M2: Second operation model; N1: Node; TF1: Transfer function; V1: Control quantity; V2: Target value; V3: Operation quantity; w0: Coefficient.

Claims

1. A method for transforming a control model of a motor, for transforming a first operation model into a second operation model, wherein: The first operation model takes as input one or more control variables or target values ​​representing the state of the motor, and outputs one or more operation variables for controlling the motor by using one or more transfer functions or state equations for operation. The second operation model takes the one or more control quantities or target values ​​as input, performs operations in each of the one or more node layers to output the one or more operation quantities, and the one or more node layers each have a plurality of nodes that perform operations in parallel. In the process of transforming the first operation model into the second operation model, for each of the multiple nodes, the coefficient multiplied by the input value input to the node and the function of using the multiplied value as the input variable are determined based on the one or more transfer functions or state equations.

2. The method for transforming the control model of a motor according to claim 1, wherein: In the process of transforming the first operation model into the second operation model, the number of the multiple nodes and the coefficients of each of the multiple nodes are determined based on the number of past states of the one or more transfer functions or state equations in the first operation model and the connection relationship between the input and the output.

3. A motor control model conversion system, comprising: a model input unit to which the first computational model is input; and a transformation unit that transforms the first operation model into a second operation model and outputs the second operation model, in, The first operation model takes one or more control variables or target values ​​representing the state of the motor as input, and outputs one or more operation variables for controlling the motor by using one or more transfer functions or state equations for operation. The second operation model takes the one or more control quantities or target values ​​as input, performs operations in each of the one or more node layers to output the one or more operation quantities, and the one or more node layers each have a plurality of nodes that perform operations in parallel. In the process of transforming the first operation model into the second operation model, the transformation unit determines, for each of the multiple nodes, a coefficient to be multiplied by an input value input to the node based on the one or more transfer functions or state equations and a function that uses the multiplied value as an input variable.

4. The motor control model conversion system according to claim 3, wherein: During the process of transforming the first operation model into the second operation model, the transformation unit determines the number of the plurality of nodes and the coefficients of each of the plurality of nodes based on the number of past states of the one or more transfer functions or state equations in the first operation model and the connection relationship between input and output.

5. A computer-readable recording medium storing a conversion program for a control model of a motor, the conversion program being a conversion program for causing one or more processors to execute a conversion process of converting a first operation model into a second operation model, wherein: The first operation model takes one or more control variables or target values ​​representing the state of the motor as input, and outputs one or more operation variables for controlling the motor by using one or more transfer functions or state equations for operation. The second operation model takes the one or more control quantities or target values ​​as input, performs operations in each of the one or more node layers to output the one or more operation quantities, and the one or more node layers each have a plurality of nodes that perform operations in parallel. The transformation processing includes the following processing: in the process of transforming the first operation model into the second operation model, for each of the multiple nodes, the coefficient multiplied by the input value input to the node and the function of using the multiplied value as the input variable are determined based on the one or more transfer functions or state equations.

6. The computer-readable recording medium according to claim 5, wherein: The transformation processing includes the following processing: in the process of transforming the first operation model into the second operation model, the number of the multiple nodes and the coefficients of each of the multiple nodes are determined based on the number of past states of the one or more transfer functions or state equations in the first operation model, and the connection relationship between the input and output.