Interpolation circuit for encoder
First Claim
1. An interpolation circuit for an encoder, comprising:
- a clock generator which generates a first clock and a second clock, the second clock being synchronized with the first clock and having a higher frequency than the first clock;
a phase angle detecting circuit which samples two-phase sinusoidal signals output from the encoder with 90°
phase-shift each other by the first clock, and then digital-processes the resultant sampled values to detect phase angle of the two-phase sinusoidal signals so as to sequentially output phase angle data, each phase angle data corresponding to the respective sampling phase defined by the first clock;
a data updating circuit which sequentially input the phase angle data output from the phase angle detecting circuit, and then updates the current phase angle data by the subsequent phase angle data in such a manner as to calculate a differential between the current phase angle data and the subsequent phase angle data, and then adds the differential data, whose upper limit is predetermined, to the current phase angle data, thereby holding sequentially updated phase angle data;
an integrating circuit which integrates the differential data by the second clock to hold the integrated value which is to be reset by the first clock;
a carry detecting circuit which detects that the integrated value is over the ratio of the first clock period to the second clock period to output a carry detecting signal; and
a two-phase square wave generating circuit which generates two-phase square wave, state of which changes synchronously with the second clock at each timing of the carry detecting signal.
1 Assignment
0 Petitions
Accused Products
Abstract
An interpolation circuit of an encoder of which dynamic accuracy is improved is disclosed. The phase angle data detecting circuit 1 detects to store the phase angle data PH for each of the first clock CK1. The phase angle data PH is input to the updating circuit 2 in which the current data CNT is subtracted from the subsequent phase angle data PH so as to be updated. The differential data DX is limited within an upper limit to be added to the current data CNT. The integrating circuit 3 integrates the differential data DELTA1, whose upper limit is predetermined, by the second clock CK2 to generate the carry signal QUADEN at each timing when the integrated value leads to the period ratio of CK1 to CK2. The two-phase square wave generating circuit 5 generates two-phase square wave signals at each timing of the carry signal QUADEN. The over-speed detecting circuit 6 monitors the differential data DX to generate the over-speed alarm signal OSALM under a predetermined condition.
-
Citations
8 Claims
-
1. An interpolation circuit for an encoder, comprising:
-
a clock generator which generates a first clock and a second clock, the second clock being synchronized with the first clock and having a higher frequency than the first clock; a phase angle detecting circuit which samples two-phase sinusoidal signals output from the encoder with 90°
phase-shift each other by the first clock, and then digital-processes the resultant sampled values to detect phase angle of the two-phase sinusoidal signals so as to sequentially output phase angle data, each phase angle data corresponding to the respective sampling phase defined by the first clock;a data updating circuit which sequentially input the phase angle data output from the phase angle detecting circuit, and then updates the current phase angle data by the subsequent phase angle data in such a manner as to calculate a differential between the current phase angle data and the subsequent phase angle data, and then adds the differential data, whose upper limit is predetermined, to the current phase angle data, thereby holding sequentially updated phase angle data; an integrating circuit which integrates the differential data by the second clock to hold the integrated value which is to be reset by the first clock; a carry detecting circuit which detects that the integrated value is over the ratio of the first clock period to the second clock period to output a carry detecting signal; and a two-phase square wave generating circuit which generates two-phase square wave, state of which changes synchronously with the second clock at each timing of the carry detecting signal. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An interpolation circuit for an encoder, comprising:
-
a phase angle detecting circuit which sequentially detects phase angle of two-phase sinusoidal signals output from the encoder with 90°
phase-shift each other by use of digital signal processing for each period of a first clock to sequentially output phase angle data, each phase angle data corresponding to the respective sampling phase defined by the first clock for sampling the two-phase sinusoidal signals;a calculating circuit which calculates a differential between each of the phase angle data sequentially output from the phase angle detecting circuit and one period preceding phase angle data; a time-interpolating circuit which synchronously disperses the differential data output from the calculating circuit with a second clock which has a higher frequency than the first clock so as to output uniformly dispersed pulses within the first clock period; and a two-phase square wave generating circuit which generates digital two-phase square wave signals, state of which changes synchronously with the second clock at each timing of the uniformly dispersed pulses.
-
Specification