Control apparatus, control method, and program
A control apparatus including a processor is provided that executes an operation in accordance with a program, in which the operation includes generating, on the basis of first sampling data with a rotation angle of a joint section recorded with a first period, second sampling data with the rotation angle recorded with a second period longer than the first period.
1 . A control apparatus comprising:
a processor that executes an operation in accordance with a program, wherein the operation includes generating, on a basis of first sampling data with a detected value from a rotation angle sensor that detects a rotation angle of a joint section recorded with a first period, second sampling data with the rotation angle recorded with a second period longer than the first period, wherein:
the control apparatus is a processing circuit included in a rotational driving section provided in the joint section included in a machine or an apparatus, and
the operation further includes:
transmitting the second sampling data to an arithmetic apparatus in the machine or the apparatus with the second period, and
switching between a first operation mode in which the first sampling data is generated by sampling a detected value from the rotation angle sensor with the first period and in which the second sampling data is generated on a basis of the first sampling data and a second operation mode in which the second sampling data is generated by sampling the detected value from the rotation angle sensor with the second period.
2 . The control apparatus according to claim 1 , wherein the generating the second sampling data includes calculating a value of the rotation angle in the second sampling data from a plurality of values of the rotation angle recorded in the first sampling data during the second period.
3 . The control apparatus according to claim 2 , wherein the calculating the value of the rotation angle in the second sampling data includes simply averaging, weighted-averaging, or time-sequentially smoothing the plurality of values of the rotation angle.
4 . The control apparatus according to claim 1 , wherein:
the control apparatus is an arithmetic apparatus in a machine or an apparatus,
the operation includes receiving a series of the first sampling data from a processing circuit with the second period, the processing circuit being included in a rotational driving section provided in the joint section included in the machine or the apparatus, and
generating the second sampling data includes calculating the value of the rotation angle in one piece of the second sampling data from the values of the rotation angle in the series of the first sampling data.
5 . The control apparatus according to claim 4 , wherein the operation further includes executing predetermined processing using the second sampling data.
6 . The control apparatus according to claim 4 , wherein the operation further includes switching between a first operation mode in which the second sampling data is generated from the series of the first sampling data received from the processing circuit and a second operation mode in which the value of the rotation angle received from the processing circuit with the second period is utilized as the second sampling data.
7 . The control apparatus according to claim 4 , wherein the operation further includes switching between a first operation mode in which the second sampling data is generated from the series of the first sampling data received from the processing circuit and a second operation mode in which one of the values of the rotation angle in the series of the first sampling data received from the processing circuit is extracted and utilized as the second sampling data.
8 . The control apparatus according to claim 1 , wherein:
the operation includes receiving a series of the first sampling data from an external apparatus with a third period different from the second period, and
generating the second sampling data includes calculating the value of the rotation angle in one piece of the second sampling data from the values of the rotation angle in the series of the first sampling data.
9 . The control apparatus according to claim 1 , wherein;
the joint section is a joint section of a robot, and
switching is executed between the first operation mode and the second operation mode according to a state of operation of the robot.
10 . A control method comprising:
by an operation executed by a processor in accordance with a program,
generating, on a basis of first sampling data with a detected value from a rotation angle sensor that detects a rotation angle of a joint section recorded with a first period, second sampling data with the rotation angle recorded with a second period longer than the first period,
wherein:
the processor includes a rotational driving section provided in a joint section included in a machine or an apparatus, and
the operation further includes:
transmitting the second sampling data to an arithmetic apparatus in the machine or the apparatus with the second period, and
switching between a first operation mode in which the first sampling data is generated by sampling a detected value from the rotation angle sensor with the first period and in which the second sampling data is generated on a basis of the first sampling data and a second operation mode in which the second sampling data is generated by sampling the detected value from the rotation angle sensor with the second period.
11 . The control method of claim 10 , wherein the generating the second sampling data includes calculating a value of the rotation angle in the second sampling data from a plurality of values of the rotation angle recorded in the first sampling data during the second period.
12 . The control method of claim 10 , wherein the calculating the value of the rotation angle in the second sampling data includes simply averaging, weighted-averaging, or time-sequentially smoothing the plurality of values of the rotation angle.
13 . The control method of claim 10 , wherein:
the processor further includes an arithmetic apparatus in a machine or an apparatus,
the operation includes receiving a series of the first sampling data from a processing circuit with the second period, the processing circuit being included in a rotational driving section provided in the joint section included in the machine or the apparatus, and
generating the second sampling data includes calculating the value of the rotation angle in one piece of the second sampling data from the values of the rotation angle in the series of the first sampling data.
14 . The control method of claim 13 , wherein the operation further includes executing predetermined processing using the second sampling data.
15 . The control method of claim 13 , wherein the operation further includes switching between a first operation mode in which the second sampling data is generated from the series of the first sampling data received from the processing circuit and a second operation mode in which the value of the rotation angle received from the processing circuit with the second period is utilized as the second sampling data.
16 . The control method of claim 13 , wherein the operation further includes switching between a first operation mode in which the second sampling data is generated from the series of the first sampling data received from the processing circuit and a second operation mode in which one of the values of the rotation angle in the series of the first sampling data received from the processing circuit is extracted and utilized as the second sampling data.
17 . The control method of claim 10 , wherein
the operation includes receiving a series of the first sampling data from an external apparatus with a third period different from the second period, and
generating the second sampling data includes calculating the value of the rotation angle in one piece of the second sampling data from the values of the rotation angle in the series of the first sampling data.
18 . The control method of claim 10 , wherein:
the joint section is a joint section of a robot, and
switching is executed between the first operation mode and the second operation mode according to a state of operation of the robot.
19 . A control apparatus comprising:
a processor that executes an operation in accordance with a program, wherein the operation includes generating, on a basis of first sampling data with a detected value from a rotation angle sensor that detects a rotation angle of a joint section recorded with a first period, second sampling data with the rotation angle recorded with a second period longer than the first period,
wherein:
the control apparatus is an arithmetic apparatus in a machine or an apparatus,
the operation includes receiving a series of the first sampling data from a processing circuit with the second period, the processing circuit being included in a rotational driving section provided in the joint section included in the machine or the apparatus,
the generating the second sampling data includes calculating the value of the rotation angle in one piece of the second sampling data from the values of the rotation angle in the series of the first sampling data, and
the operation further includes switching between a first operation mode in which the second sampling data is generated from the series of the first sampling data received from the processing circuit and a second operation mode in which the value of the rotation angle received from the processing circuit with the second period is utilized as the second sampling data.
20 . The control apparatus of claim 19 , wherein the operation further includes executing predetermined processing using the second sampling data.