1. A controller configured to control a plurality of devices, comprising:
an input unit configured to input a plurality of user commands;
a code storageoutput unit configured to store a plurality of control commands;
a transmission unit; and
a control unit configured to control the input unit, the code storageoutput unit and the transmission unit to selectively transmit either a first or a second of the plurality of control commands in response to one of the plurality of user commands,
wherein the first of the plurality of control commands includes information for simultaneously controlling a first device of a manufacturer and a second device of the manufacturer, and
wherein the second of the plurality of control commands includes information for controlling the first device without controlling the second device.
2. The controller according to claim 1, wherein the controller further comprises:
a battery unit configured to supply power to the controller; and
a detecting unit configured to detect a power level of the battery unit.
3. The controller according to claim 2, wherein the controller is further configured to transmit the detected power state of the battery unit.
4. The controller according to claim 1, wherein the control unit is configured to assign the second of the plurality of control commands to the first device based on a user assignment.
5. The controller according to claim 1, wherein the second of the plurality of control commands includes 4-bits of identification information corresponding to the first device.
6. The controller according to claim 3, wherein the second of the plurality of control commands includes a 3-bits of identification information corresponding to the first device and 1-bit as information indicating the detected power state.
7. A method of controlling a plurality of devices with a remote control device having a plurality of control commands stored therein, comprising:
receiving one of a plurality of user commands as an input; and
selectively transmitting one of a first and a second of the plurality of control commands in response to the one of the plurality of user commands,
wherein the first of the plurality of control commands includes information for simultaneously controlling a first device of a manufacturer and a second device of the manufacturer, and
wherein the second of the plurality of control commands includes information for controlling the first device without controlling the second device.
8. The method according to claim 7, further comprising:
detecting a power state of a battery unit of the remote control device.
9. The method according to claim 8, further comprising:
transmitting the detected power state of the battery unit.
10. The method according to claim 7, further comprising:
assigning the second of the plurality of control commands to the first device based on a user assignment.
11. The method according to claim 7, wherein the second of the plurality of control commands includes 4-bits of identification information corresponding to the first device.
12. The method according to claim 9, wherein the second of the plurality of control commands includes a 3-bits of identification information corresponding to the first device and 1-bit as information indicating the detected power state.
13. A television configured to receive a plurality of control commands from a remote control unit, comprising:
a receiving unit configured to receive the plurality of control commands;
a display unit configured to display a TV signal; and
a control unit configured to distinguish between a first and a second of the plurality of control commands, and to control the television in response to a received control command,
wherein the first of the plurality of control commands includes information for simultaneously controlling the television and a second television having a common manufacturer as the television, and
wherein the second of the plurality of control commands includes information for controlling the television without controlling the second television.
14. The television according to claim 13, wherein the receiving unit is further configured to receive a power state of a battery of the remote control unit.
15. The television according to claim 13, wherein the control unit is configured to work cooperatively with the remote control unit to assign the second of the plurality of control commands to the television based on a user assignment.
16. The television according to claim 13, wherein the second of the plurality of control commands includes 4-bits of identification information corresponding to the television.
17. The television according to claim 14, wherein the second of the plurality of control commands includes a 3-bits of identification information corresponding to the television and 1-bit as information indicating the power state of the battery of the remote control unit.
18. A method of controlling a television configured to display a TV signal and to receive a plurality of control commands from a remote control unit, comprising:
distinguishing between a first and a second of the plurality of control commands, and controlling the television in response to a received control command,
wherein the first of the plurality of control commands includes information for simultaneously controlling the television and a second television having a common manufacturer as the television, and
wherein the second of the plurality of control commands includes information for controlling the television without controlling the second television.
19. The method according to claim 18, further comprising:
receiving a power state of a battery of the remote control unit.
20. The method according to claim 18, further comprising:
assigning the second of the plurality of control commands to the television based on a user assignment entered via the remote control unit.
21. The method according to claim 18, wherein the second of the plurality of control commands includes 4-bits of identification information corresponding to the television.
22. The method according to claim 19, wherein the second of the plurality of control commands includes a 3-bits of identification information corresponding to the television and 1-bit as information indicating the power state of the battery of the remote control unit.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. A correction device for processing a first and second phase signals, both are period signals, produced by an encoder on an encoder strip, the correction device comprising:
a first circuit generating a first processing signal composed of a first and second pulse signals according to the first and second phase signals, both pulse signals produced based on the position change variation of first and second phase signals;
a second circuit generating a second processing signal based on the position change variation of either the first or second phase signals;
a third circuit generating a third processing signal based on the position change variation from a first level to a second level of either the first or second phase signals;
a selector selecting one of the first, second, or third circuits according to the first processing signal.
2. The correction device as claimed in claim 1, wherein the selector from consecutive and adjacent first and second pulse signals, acquires a first, second, third, and fourth time intervals are acquired based on the first processing signal, if all time intervals are equal, then the first circuit is selected by a first selection signal, and if the first plus third time interval is equal to the second plus fourth time interval, then the second circuit is selected by a second selection signal, otherwise the third circuit is selected by a third selection signal.
3. The correction device as claimed in claim 1, wherein the first circuit comprises a first one-shot detection circuit generating the first pulse signal according to detection of up and down edges of the first phase signal, a second one-shot detection circuit generating the second pulse signal according to detection of up and down edges of the second phase signal, an OR gate coupled between the first and second one-shot detection circuits, generating the first processing signal.
4. The correction device as claimed in claim 1, wherein the second circuit comprises a third one-shot detection circuit generating the first processing signal according to detection of up and down edges of either the first or second phase signals, a first count value stored in a first register as the first processing signal resets a first up-counter, a first divider coupled to the first register, generating a second count value according to the first count value divided by a first value, a first down-counter coupled to the first divider, generating a first zero detection signal to control a first zero detector outputting the second processing signal when the second count value is zero.
5. The correction device as claimed in claim 4, wherein the first value is 2 and the second processing signal is a half period of the first processing signal.
6. The correction device as claimed in claim 5, wherein the first divider is a circuit divided by 2.
7. The correction device as claimed in claim 1, wherein the third circuit comprises a fourth one-shot detection circuit generating the first processing signal according to detection of up or down edges of either the first or second phase signals, a third count value stored in a second register as the first processing signal resets a second up-counter, a second divider coupled to the second register, generating a fourth count value according to the third count value divided by a second value, a second down-counter coupled to the second divider, generating a second zero detection signal to control a second zero detector outputting the third processing signal as the fourth count value is zero.
8. The correction device as claimed in claim 7, wherein the second value is 4 and the third processing signal is one fourth of the first processing signal.
9. The inkjet printer with correction device for motor speed and position, the inkjet printer with correction device comprising:
an encoder strip;
an encoder generating a first and second phase signal, both are period signals, moving on the encoder strip;
a first circuit generating a first processing signal composed of a first and second pulse signal according to the first and second phase signals, both pulse signals produced based on the position change variation of first and second phase signals;
a second circuit generating a second processing signal produced based on the position change variation of either the first or second phase signals;
a third circuit generating a third processing signal produced based on the position change variation from a first level to a second level of either the first or second phase signals;
a selector selecting one of the first, second, or third circuits according to the first processing signal.
a speed control circuit coupled to the selector, controlling speed of the inkjet printer motor according to the first, second, or third processing signals;
a position detection and control circuit coupled to the selector, detecting position of the ink-jet printer motor according to the first, second, or third processing signals.
10. The inkjet printer with correction device as claimed in claim 9, wherein the selector from consecutive and adjacent first and second pulse signals, and a first, second, third, and fourth time intervals are acquired based on the first processing signal, if all time intervals are equal, then the first circuit is selected by a first selection signal, and if the first plus third time intervals is equal to the second plus fourth time intervals, then the second circuit is selected by a second selection signal, otherwise the third circuit is selected by a third selection signal.
11. The inkjet printer with correction device as claimed in claim 9, wherein the first circuit comprises a first one-shot detection circuit generating the first pulse signal according to detection of up and down edges of the first phase signal, a second one-shot detection circuit generating the second pulse signal according to detection of up and down edges of the second phase signal, an OR gate coupled between the first and second one-shot detection circuits, generating the first processing signal.
12. The inkjet printer with correction device as claimed in claim 9, wherein the second circuit comprises a third one-shot detection circuit generating the first processing signal according to detection of up and down edges of either of first or second phase signals, a first count value stored in a first register as the first processing signal resets a first up-counter, a first divider coupled to the first register, generating a second count value according to the first count value divided by a first value, a first down-counter coupled to the first divider, generating a first zero detection signal to control a first zero detector outputting the second process when the second count value is zero.
13. The inkjet printer with correction device as claimed in claim 12, wherein the first value is 2 and the second processing signal is a half period of the first processing signal.
14. The inkjet printer with correction device as claimed in claim 9, wherein the third circuit comprises a fourth one-shot detection circuit generating the first processing signal according to detection of up or down edges of either of first or second phase signals, a third count value stored in a second register as the first processing signal resets a second up-counter, a second divider coupled to the second register, generating a fourth count value according to the third count value divided by a second value, a second down-counter coupled to the second divider, generating a second zero detection signal to control a second zero detector outputting the third processing signal as the fourth count value is zero.
15. The inkjet printer with correction device as claimed in claim 14, wherein the second value is 4 and the third processing signal is one fourth of the first processing signal.
16. A correction method for processing a first and second phase signals, both are period signals, produced by an encoder on an encoder strip, the correction method comprising:
generating a first processing signal composed of a first and second pulse signals according to the first and second phase signals, both pulse signals produced based on the position change variation of first and second phase signals;
from consecutive and adjacent first and second pulse signals, a first, second, third, and fourth time intervals are acquired;
wherein the first processing signal provided to an electronics device, controlling the motor speed and position as all time intervals are equal;
generating a second processing signal based on the position change variation of either the first or second phase signals when the first plus third time intervals is equal to the second plus fourth time intervals, controlling the motor speed and position of an electronic device;
others cases, generating a third processing signal produced based on the position change variation from a first level to a second level of either of first or second phase signals, controlling the motor speed and position of an electronic device.
17. The method as claimed in claim 16, wherein the first value is 2 and the second processing signal is a half period of the first processing signal.
18. The method as claimed in claim 16, wherein the second value is 4, and the third processing signal is one fourth the first processing signal.