MOTOR CONTROL APPARATUS AND MOTOR CONTROL METHOD
First Claim
1. A motor control apparatus comprising:
- a driving control unit that performs driving control of a motor in accordance with a drive command;
an interrupt control unit that starts and executes interrupt processing for performing the driving control at an interrupt cycle;
a first processing unit that executes same first processing every time the interrupt processing starts; and
a second processing unit that selects and executes a different piece of processing from second processing every time the interrupt processing starts, whereinthe interrupt control unit executes at least one piece of the first processing before executing the second processing in the interrupt processing.
1 Assignment
0 Petitions
Accused Products
Abstract
A motor control apparatus includes: a driving control unit that performs driving control of a motor in accordance with a drive command; an interrupt control unit that starts and executes interrupt processing for performing the driving control at an interrupt cycle; a first processing unit that executes same first processing every time the interrupt processing starts; and a second processing unit that selects and executes a different piece of processing from second processing every time the interrupt processing starts. The interrupt control unit executes at least one piece of the first processing before executing the second processing in the interrupt processing.
-
Citations
10 Claims
-
1. A motor control apparatus comprising:
-
a driving control unit that performs driving control of a motor in accordance with a drive command; an interrupt control unit that starts and executes interrupt processing for performing the driving control at an interrupt cycle; a first processing unit that executes same first processing every time the interrupt processing starts; and a second processing unit that selects and executes a different piece of processing from second processing every time the interrupt processing starts, wherein the interrupt control unit executes at least one piece of the first processing before executing the second processing in the interrupt processing. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A motor control method comprising:
-
performing driving control of a motor in accordance with a drive command; starting and executing interrupt processing for performing the driving control at an interrupt cycle; executing same first processing every time the interrupt processing starts; and selecting and executing a different piece of processing from second processing every time the interrupt processing starts, wherein at the starting and executing of the interrupt processing, at least one piece of the first processing is executed before executing the second processing in the interrupt processing.
-
-
10. A non-transitory computer-readable storage medium in which computer-readable program codes are stored, wherein the program codes when executed cause a computer to execute:
-
performing driving control of a motor in accordance with a drive command; starting and executing interrupt processing for performing the driving control at an interrupt cycle; executing same first processing every time the interrupt processing starts; and selecting and executing a different piece of processing from second processing every time the interrupt processing starts, and at the starting and executing of the interrupt processing, at least one piece of the first processing is executed before executing the second processing in the interrupt processing.
-
Specification