Method for controlling rotating apparatus and electronic device thereof
US-10401809-B2 · Sep 3, 2019 · US
US9018885B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-9018885-B2 |
| Application number | US-201313788289-A |
| Country | US |
| Kind code | B2 |
| Filing date | Mar 7, 2013 |
| Priority date | Mar 12, 2012 |
| Publication date | Apr 28, 2015 |
| Grant date | Apr 28, 2015 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
A motor controller receiving as input an encoder signal changing in response to a driving position of a motor, outputting a motor driving command in response to the encoder signal to control at least one of the driving position or a driving velocity of the motor, includes an interrupt processing section to execute interrupt operations every prescribed interrupt cycle, a low-frequency processing section to selectively execute a subset of the interrupt operations every prescribed number of the interrupt cycles, and a high-frequency processing section to execute another subset of the interrupt operations every prescribed interrupt cycle, wherein the high-frequency processing section executes at least an operation to detect the driving position indicated by the encoder signal, wherein the low-frequency processing section executes at least an operation to generate the motor driving command.
Opening claim text (preview).
What is claimed is: 1. A motor controller receiving as input an encoder signal changing in response to a driving position of a motor, outputting a motor driving command in response to the encoder signal to control at least one of the driving position or a driving velocity of the motor, comprising: an interrupt processing section to execute interrupt operations every prescribed interrupt cycle, the interrupt processing section including a low-frequency processing section and a high-frequency processing section; the low-frequency processing section to selectively execute a subset of the interrupt operations not needed to be executed every prescribed interrupt cycle but to be executed once in every prescribed number of the interrupt cycles; and the high-frequency processing section to execute another subset of the interrupt operations every prescribed interrupt cycle, wherein the high-frequency processing section executes at least an operation to detect the driving position of the motor indicated by the encoder signal, wherein the low-frequency processing section executes at least an operation to generate the motor driving command in response to the driving position of the motor detected with the high-frequency processing section. 2. The motor controller as claimed in claim 1 , further comprising a target position generating section to generate a target position; wherein either of the high-frequency processing section or the low-frequency processing section executes a position comparing operation in which the target position and the driving position of the motor are compared to obtain a comparison result, then a first target velocity is calculated in response to the comparison result, wherein the high-frequency processing section executes a velocity calculating operation in which a change of the driving position of the motor is determined every interrupt cycle to calculate the driving velocity of the motor in response to the change of the driving position of the motor, then, executes a velocity comparing operation to determine a velocity difference error by comparing the first target velocity and the driving velocity of the motor, wherein the low-frequency processing section executes an operation to calculate the motor driving command according to the velocity difference error. 3. The motor controller as claimed in claim 1 , further comprising a target pulse counting section to calculate a target position by counting pulses input from an external device, wherein either of the high-frequency processing section or the low-frequency processing section executes a position comparing operation in which the target position and the driving position of the motor are compared to obtain a comparison result, then a first target velocity is calculated in response to the comparison result, wherein the high-frequency processing section executes a velocity calculating operation in which a change of the driving position of the motor is determined every interrupt cycle to calculate the driving velocity of the motor in response to the change of the driving position of the motor, then, executes a velocity comparing operation to determine a velocity difference error by comparing the first target velocity and the driving velocity of the motor, wherein the low-frequency processing section executes an operation to calculate the motor driving command according to the velocity difference error. 4. The motor controller as claimed in claim 2 , wherein either of the high-frequency processing section or the low-frequency processing section executes an operation in which a change of the target position is determined every prescribed number of interrupt cycles to calculate a second target velocity in response to the change of the target position, wherein the high-frequency processing section executes an operation in which the first target velocity and the second target velocity are added, then, an added velocity is compared with the driving velocity of the motor to set the velocity difference error. 5. The motor controller as claimed in claim 4 , wherein the high-frequency processing section executes a low-pass filter operation to extract low-range components of the driving velocity of the motor or the velocity difference error for obtaining a filtered result, then the filtered result is used as the driving velocity of the motor or the velocity difference error at a succeeding operation. 6. The motor controller as claimed in claim 1 , further comprising: a main processing section to execute a set of main operations while the interrupt processing section is not executed, and a main loop processing section to control a loop of the main operations to be executed every prescribed number of executions of the interrupt processing section, wherein the main processing section executes at least an error determining operation to determine whether an abnormal state occurs in response to the driving command or the driving position of the motor calculated during an execution of the interrupt processing section. 7. A method of controlling a motor, receiving as input an encoder signal changing in response to a driving position of a motor, outputting a motor driving command in response to the encoder signal to control at least one of the driving position or a driving velocity of the motor, comprising the steps of: executing selectively a subset of interrupt operations not needed to be executed every prescribed interrupt cycle but to be executed once in every prescribed number of the interrupt cycles; and executing another subset of the interrupt operations every prescribed interrupt cycle, wherein at least an operation to detect the driving position of the motor indicated by the encoder signal is executed every prescribed interrupt cycle, wherein at least an operation to generate the motor driving command is executed every prescribed number of the interrupt cycles in response to the driving position of the motor detected every prescribed interrupt cycle. 8. A non-transitory computer-readable recording medium having a program stored therein for causing a computer to execute a method of controlling a motor, receiving as input an encoder signal changing in response to a driving position of a motor, outputting a motor driving command in response to the encoder signal to control at least one of the driving position or a driving velocity of the motor, the method comprising the steps of: executing selectively a subset of interrupt operations not needed to be executed every prescribed interrupt cycle but to be executed once in every prescribed number of the interrupt cycles; and executing another subset of the interrupt operations every prescribed interrupt cycle, wherein at least an operation to detect the driving position of the motor indicated by the encoder signal is executed every prescribed interrupt cycle, wherein at least an operation to generate the motor driving command is executed every prescribed number of the interrupt cycles in response to the driving position of the motor detected every prescribed interrupt cycle.
Related publications grouped by family.
Answers are generated from the same data shown on this page.