Method for protecting an electronic device driven by DC motor and circuit for detecting positioning signals thereof
AssigneeYoshinaga Technologies, LLC
InventorChi-Lun Chen
Life of this patent
Estimating the term…
Abstract
A method for protecting an electronic apparatus driven by a DC motor and a detection circuit for detecting positioning signals thereof. The electronic device includes an optical encoder, a code strip, and a DC motor. While moves along the code strip, the optical encoder outputs a first positioning signal and a second positioning signal for the control of the DC motor. The method includes the steps described below. First, states of the first and second positioning signals are detected. If the states of the first and second positioning signals are normal, the DC motor is controlled according to the first and second positioning signals. If the first positioning signal or the second positioning signal is abnormal, a preventive method is performed.
Claims12
A method for protecting an electronic apparatus, the method comprising:
- providing an electronic apparatus including an encoder, a code strip, and a DC motor, wherein while moving along the code strip, the encoder generates a first positioning signal and a second positioning signal for control of the DC motor;
- generating a status signal according to the first and second positioning signals, wherein the status signal indicates whether states of the first and second positioning signals are normal by detecting whether the first and second positioning signals are out of phase;
- if the status signal indicates that the first and second positioning signals are normal, controlling the DC motor according to the first and second positioning signals;
- and
- if the status signal indicates that at least one of the first positioning signal or second positioning signal is abnormal, performing a preventive method.
A method for protecting an electronic apparatus, the method comprising:
- providing an electronic apparatus including an encoder, a code strip, and a DC motor, wherein while moving along the code strip, the encoder generates a first position signal and a second position signal for control of the DC motor;
- receiving the first position signal and the second position signal and outputting a first control signal, wherein when detecting a rising edge of the second position signal, the first position signal is output as the first control signal;
- and
- receiving the first position signal and the second position signal and outputting a second control signal, wherein when detecting a falling edge of the second position signal, the first position signal is output as the second control signal,
- controlling the DC motor according to the first and second position signals if the first and second control signals are out of phase;
- and
- performing a preventive method if the first and second control signals are in phase.
A method, comprising:
- employing a rising edge detection device to receive a first position signal and a second position signal and output a first control signal, wherein the first and second position signals are generated by an optical encoder carried by a print head of a printer, the optical encoder being configured to move along a code strip of the printer and generate the first and second position signals for control of a DC motor of the printer, and further wherein when detecting a rising edge of the second position signal, the rising edge detection device is configured to output the first position signal as the first control signal;
- employing a falling edge detection device configured to receive the first and second position signals and output a second control signal, wherein when detecting a falling edge of the second position signal, the falling edge detection device is configured to output the first position signal as the second control signal;
- generating a status signal according to the first and second control signals, wherein a comparator is configured to generate (a) a first status signal indicating that the first position signal and the second position signal are in normal states when the first and second control signals are out of phase, and (b) a second status signal indicating that the first position signal and the second position signal are in abnormal states when the first and second control signals are in phase;
- and
- controlling operation of the DC motor based, at least in part, on the first and second status signals.
Dependencies are inferred from the claim text.