Motor control method, motor control device and camera
First Claim
Patent Images
1. A motor control method comprising steps of:
- receiving a plurality of control commands through an input peripheral;
driving a motor module to control a moving mode of an object according to the control commands by a processing unit, such that the motor module generates a plurality of coordinate information relative to the moving mode;
collecting the control commands from the input peripheral and collecting the coordinate information from the motor module by the processing unit; and
driving the motor module to reproduce the moving mode of the object according to the control commands and the coordinate information by the processing unit;
wherein each of the control commands comprises a command actuating time, a command executing time, a moving speed and/or a moving direction, the processing unit calculates a moving distance corresponding to each of the control commands according to the coordinate information, and the processing unit selectively merges some of the control commands and the coordinate information;
wherein the motor module has a delay information and the step of the processing unit selectively merges some of the control commands and the coordinate information comprises steps of;
calculating a delay threshold according to the moving speed of an i-th control command of the control commands and the delay information by the processing unit, wherein i is a positive integer; and
when the moving distance corresponding to the i-th control command is smaller than the delay threshold, merging the i-th control command and an (i+1)-th control command to be a merged command by the processing unit, wherein a moving distance corresponding to the merged command is equal to a sum of the moving distance corresponding to the i-th control command and the moving distance corresponding to the (i+1)-th control command.
1 Assignment
0 Petitions
Accused Products
Abstract
A motor control method includes steps of receiving a plurality of control commands through an input unit; driving a motor module to control a moving mode of an object according to the control commands by a processing unit, such that the motor module generates a plurality of coordinate information relative to the moving mode; collecting the control commands from the input unit and collecting the coordinate information from the motor module by the processing unit; and driving the motor module to reproduce the moving mode of the object according to the control commands and the coordinate information by the processing unit.
5 Citations
20 Claims
-
1. A motor control method comprising steps of:
-
receiving a plurality of control commands through an input peripheral; driving a motor module to control a moving mode of an object according to the control commands by a processing unit, such that the motor module generates a plurality of coordinate information relative to the moving mode; collecting the control commands from the input peripheral and collecting the coordinate information from the motor module by the processing unit; and driving the motor module to reproduce the moving mode of the object according to the control commands and the coordinate information by the processing unit; wherein each of the control commands comprises a command actuating time, a command executing time, a moving speed and/or a moving direction, the processing unit calculates a moving distance corresponding to each of the control commands according to the coordinate information, and the processing unit selectively merges some of the control commands and the coordinate information; wherein the motor module has a delay information and the step of the processing unit selectively merges some of the control commands and the coordinate information comprises steps of; calculating a delay threshold according to the moving speed of an i-th control command of the control commands and the delay information by the processing unit, wherein i is a positive integer; and when the moving distance corresponding to the i-th control command is smaller than the delay threshold, merging the i-th control command and an (i+1)-th control command to be a merged command by the processing unit, wherein a moving distance corresponding to the merged command is equal to a sum of the moving distance corresponding to the i-th control command and the moving distance corresponding to the (i+1)-th control command. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A motor control method comprising steps of:
-
receiving a plurality of control commands through an input peripheral; driving a motor module to control a moving mode of an object according to the control commands by a processing unit, such that the motor module generates a plurality of coordinate information relative to the moving mode; collecting the control commands from the input peripheral and collecting the coordinate information from the motor module by the processing unit; and driving the motor module to reproduce the moving mode of the object according to the control commands and the coordinate information by the processing unit; wherein each of the control commands comprises a command actuating time, a command executing time, a moving speed and/or a moving direction, the processing unit calculates a moving distance corresponding to each of the control commands according to the coordinate information, and the processing unit selectively merges some of the control commands and the coordinate information; wherein the step of the processing unit selectively merges some of the control commands and the coordinate information comprises steps of; when the moving speed of a j-th control command of the control commands is equal to zero and the moving distance corresponding to the j-th control command is larger than zero, merging the j-th control command and a (j−
1)-th control command to be a merged command by the processing unit, wherein a moving speed of the merged command is equal to the moving speed of the (j−
1)-th control command, wherein j is a positive integer; andwhen executing the merged command, driving the motor module to move the object to an end coordinate of the j-th control command with the moving speed of the merged command by the processing unit. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A motor control method comprising steps of:
-
receiving a plurality of control commands through an input peripheral; driving a motor module to control a moving mode of an object according to the control commands by a processing unit, such that the motor module generates a plurality of coordinate information relative to the moving mode; collecting the control commands from the input peripheral and collecting the coordinate information from the motor module by the processing unit; and driving the motor module to reproduce the moving mode of the object according to the control commands and the coordinate information by the processing unit; wherein each of the control commands comprises a command actuating time, a command executing time, a moving speed and/or a moving direction, the processing unit calculates a moving distance corresponding to each of the control commands according to the coordinate information, and the processing unit selectively merges some of the control commands and the coordinate information; wherein the motor module has a delay information and the motor control method further comprises steps of; calculating a moving threshold according to the moving speed of a k-th control command of the control commands and the delay information by the processing unit, wherein k is a positive integer; when the moving distance corresponding to the k-th control command is larger than a predetermined threshold, driving the motor module to move the object with the moving speed and the moving direction of the k-th control command by the processing unit; and after keeping executing the k-th control command until a remaining moving distance corresponding to the k-th control command is smaller than or equal to the moving threshold, the processing unit driving the motor module to move the object to an end coordinate corresponding to the k-th control command with the moving speed of the k-th control command. - View Dependent Claims (15, 16, 17)
-
-
18. A motor control method comprising steps of:
-
receiving a plurality of control commands through an input peripheral; driving a motor module to control a moving mode of an object according to the control commands by a processing unit, such that the motor module generates a plurality of coordinate information relative to the moving mode; collecting the control commands from the input peripheral and collecting the coordinate information from the motor module by the processing unit; and driving the motor module to reproduce the moving mode of the object according to the control commands and the coordinate information by the processing unit; wherein each of the control commands comprises a command actuating time, a command executing time, a moving speed and/or a moving direction, the processing unit calculates a moving distance corresponding to each of the control commands according to the coordinate information, and the processing unit selectively merges some of the control commands and the coordinate information; wherein the motor module has a delay information and the step of the processing unit selectively merges some of the control commands and the coordinate information comprises steps of; calculating a moving threshold according to the moving speed of an n-th control command of the control commands and the delay information by the processing unit, wherein n is a positive integer; and when a remaining moving distance corresponding to the n-th control command is smaller than the moving threshold, the processing unit merging the n-th control command and an (n+1)-th control command to be a merged command, wherein a moving distance corresponding to the merged command is equal to a sum of the remaining moving distance corresponding to the n-th control command and the moving distance corresponding to the (n+1)-th control command. - View Dependent Claims (19, 20)
-
Specification