High resolution interpolator for optical encoder

09887781 ยท 2018-02-06

Assignee

Inventors

Cpc classification

International classification

Abstract

A device includes an optical modulator configured to produce first and second modulated optical signals in response to a first electrical signal and a reference optical signal. The device further includes a phase detector configured to receive first and second encoded optical signals and the first and second modulated optical signals and to produce a second electrical signal indicating a phase difference between the first encoded optical signals and the first modulated optical signals. The device further includes a voltage-controlled oscillator configured to produce electrical pulses in response to the second electrical signal, and a counter configured to count a number of the electrical pulses, producing a count. The first electrical signal to the optical modulator is the count or a derivative of the count.

Claims

1. A device, comprising: an optical modulator configured to produce first and second modulated optical signals in response to a first electrical signal and a reference optical signal; a phase detector configured to receive first and second encoded optical signals and the first and second modulated optical signals and to produce a second electrical signal indicating a phase difference between the first and second encoded optical signals and the first and second modulated optical signals; a voltage-controlled oscillator configured to produce electrical pulses in response to the second electrical signal; and a counter configured to count a number of the electrical pulses from the voltage controlled oscillator, thereby producing a count, wherein the first electrical signal to the optical modulator comprises the count or a derivative of the count.

2. The device of claim 1, wherein the phase detector includes: first and third photo detectors configured to convert the first and second encoded optical signals to first and second encoded electrical signals, respectively; second and fourth photodetectors configured to convert the first and second modulated optical signals to first and second modulated electrical signals, respectively; a first multiplier configured to multiply the first encoded electrical signal and the second modulated electrical signal and to produce a first multiplied electrical signal; a second multiplier configured to multiply the second encoded electrical signal and the first modulated electrical signal and to produce a second multiplied electrical signal; and a device configured to subtract the first multiplied electrical signal from the second multiplied electrical signal, thereby producing the second electrical signal.

3. The device of claim 1, further comprising: a loop filter coupled with the phase detector and configured to pass low frequency components of the second electrical signal before the second electrical signal is received by the voltage controlled oscillator.

4. The device of claim 1, wherein the voltage-controlled oscillator comprises a voltage-frequency converter.

5. The device of claim 1, wherein the first electrical signal to the optical modulator is derived from the count by dividing the count an integer greater than 2.

6. The device of claim 1, wherein the first and second modulated optical signals are 90 degrees out of phase, and the first and second encoded optical signals are 90 degrees out of phase.

7. The device of claim 1, wherein the optical modulator includes: a digitally-controlled light intensity modulator that is configured to produce a third modulated optical signal in response to the first electrical signal and the reference optical input; and an optical coupler or an optical splitter that is configured to produce the first and second modulated optical signals in response to the third modulated optical signal.

8. The device of claim 1, further comprising: a light source for directing a first light beam at a first track to produce the first and second encoded optical signals and for directing a second light beam at a second track to produce the reference optical signal to the optical modulator.

9. The device of claim 8, wherein the first light beam is directed through the first track to produce the first and second encoded optical signals, and the second light beam is directed through the second track to produce the reference optical input to the optical modulator.

10. The device of claim 8, wherein the first light beam is reflected from the first track to produce the first and second encoded optical signals, and the second light beam is reflected from the second track to produce the reference optical input to the optical modulator.

11. A device, comprising: means for producing first and second modulated optical signals in response to a first electrical signal and a reference optical signal; means for producing a second electrical signal in response to first and second encoded optical signals and the first and second modulated optical signals, the second electrical signal indicating a phase difference between the first and second encoded optical signals and the first and second modulated optical signals; means for producing electrical pulses in response to the second electrical signal; and means for producing a count of the electrical pulses, wherein the first electrical signal comprises the count divided by a positive integer.

12. The device of claim 11, further comprising: means for directing a first light beam at a first track to produce the first and second encoded optical signals and directing a second light beam at a second track to produce the reference optical signal to the first means, wherein the first and second tracks are on a same coding apparatus.

13. The device of claim 12, wherein the first track includes alternative light transmissive and opaque regions, and the second track is free from light opaque regions.

14. The device of claim 12, wherein the first track includes alternative light reflective and absorptive regions, and the second track is free from light absorptive regions.

15. The device of claim 11, wherein the means for producing first and second modulated optical signals includes a voltage-controlled optical modulator and an optical splitter coupled to an output of the voltage-controlled optical modulator.

16. The device of claim 11, wherein the second means includes: first and third photo detecting means for producing first and second encoded electrical signals in response to the first and second encoded optical signals, respectively; second and fourth photo detecting means for producing first and second modulated electrical signals in response to the first and second modulated optical signals, respectively; means for multiplying the first encoded electrical signal and the second modulated electrical signal, thereby producing a first multiplied electrical signal; means for multiplying the second encoded electrical signal and the first modulated electrical signal, thereby producing a second multiplied electrical signal; and means for subtracting the first multiplied electrical signal from the second multiplied electrical signal, thereby producing the second electrical signal.

17. A method, comprising: producing first and second encoded optical signals and an un-encoded reference optical signal from a light source, wherein the first and second encoded optical signals are out of phase by 90 degrees; modulating the un-encoded reference optical signal with a first electrical signal, thereby producing a modulated reference optical signal; generating first and second modulated optical signals from the modulated reference optical signal, wherein the first and second modulated optical signals are out of phase by 90 degrees; converting the first and second encoded optical signals to first and second encoded electrical signals, respectively; converting the first and second modulated optical signals to first and second modulated electrical signals, respectively; multiplying the first encoded electrical signal and the second modulated electrical signal, thereby producing a first multiplied electrical signal; multiplying the second encoded electrical signal and the first modulated electrical signal, thereby producing a second multiplied electrical signal; subtracting the first multiplied electrical signal from the second multiplied electrical signal, thereby producing a second electrical signal; and deriving the first electrical signal from the second electrical signal so that the first modulated electrical signal tracks the first encoded electrical signal.

18. The method of claim 17, wherein the deriving of the first electrical signal from the second electrical signal includes: filtering the second electrical signal using a low-pass filter, thereby producing a filtered second electrical signal; producing electrical pulses using a voltage-controlled oscillator in response to the filtered second electrical signal; counting a number of the electrical pulses using a reversible counter, thereby producing a count; and dividing the count by a positive integer, resulting in the first electrical signal.

19. The method of claim 17, wherein the producing of the first and second encoded optical signals and the un-encoded reference optical signal from the light source includes: directing a first light beam at a first track on an apparatus that is a code wheel or a code strip, wherein the first track includes alternative light transmissive and opaque regions; and directing a second light beam at a second track on the apparatus, wherein the second track has only light transmissive regions.

20. The method of claim 17, wherein the producing of the first and second encoded optical signals and the un-encoded reference optical signal from the light source includes: directing a first light beam at a first track on an apparatus that is a code wheel or a code strip, wherein the first track includes alternative light reflective and absorptive regions; and directing a second light beam at a second track on the apparatus, wherein the second track has only light reflective regions.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) Aspects of the present disclosure are best understood from the following detailed description when read with the accompanying figures. It is emphasized that, in accordance with the standard practice in the industry, various features are not drawn to scale. In fact, the dimensions of the various features may be arbitrarily increased or reduced for clarity of discussion.

(2) FIG. 1 is a simplified block diagram of an optical encoder in an embodiment, according to aspects of the present disclosure.

(3) FIG. 2 illustrates a partial view of the optical encoder of FIG. 1 including a transmissive coding apparatus, in accordance with an embodiment.

(4) FIG. 3 illustrates a partial view of the optical encoder of FIG. 1 including a reflective coding apparatus, in accordance with an embodiment.

(5) FIG. 4 is a simplified block diagram of an optical modulator in the optical encoder of FIG. 1, in accordance with an embodiment.

(6) FIG. 5 illustrates an optical output from the optical modulator of FIG. 4, in accordance with an embodiment.

(7) FIG. 6 is a simplified block diagram of a phase detector in the optical encoder of FIG. 1, in accordance with an embodiment.

(8) FIGS. 7 and 8 show a flow chart of a method of performing optical encoding, according to aspects of the present disclosure.

(9) FIG. 9 shows a flow chart of a method of deriving an electrical signal for an operation of the method in FIGS. 7-8, in accordance with an embodiment.

DETAILED DESCRIPTION

(10) The following disclosure provides many different embodiments, or examples, for implementing different features of the provided subject matter. Specific examples of components and arrangements are described below to simplify the present disclosure. These are, of course, merely examples and are not intended to be limiting. Any alterations and further modifications to the described devices, systems, methods, and any further application of the principles of the present disclosure are fully contemplated as would normally occur to one having ordinary skill in the art to which the disclosure relates. For example, the features, components, and/or steps described with respect to one embodiment may be combined with the features, components, and/or steps described with respect to other embodiments of the present disclosure to form yet another embodiment of a device, system, or method according to the present disclosure even though such a combination is not explicitly shown. Further, for the sake of simplicity, in some instances the same reference numerals are used throughout the drawings to refer to the same or like parts.

(11) The present disclosure is generally related to optical encoders and optical encoding methods. More particularly, the present disclosure is related to a new and improved interpolator for incremental optical encoders. Various embodiments employ an optical modulator in a phase-locked loop (PLL) in addition to electrical components. Therefore, the PLL is quasi-optical (or quasi-electrical). This novel PLL provides high frequency response and noise rejection, and improves the interpolation factor of the interpolator. Further, this novel PLL design may in some applications use less chip or board area than the ROMs and look-up tables in existing electrical interpolators. Therefore, some embodiments may be manufactured more economically than its counterparts.

(12) Referring to FIG. 1, shown therein is a schematic view of certain components in an optical encoder (or optical encoding system) 100, constructed according to aspects of the present disclosure. In a brief overview, the present embodiment of the optical encoder 100 includes a light source 11, a coding apparatus 16 which may be a code wheel or code strip, and an interpolator 15. The interpolator 15 includes a quasi-optical PLL (QOPLL) having an optical modulator 14, a phase detector (PD) 13, a loop filter (LF) 7, an electrical voltage-controlled oscillator (EVCO) 8, and a reversible counter 9, connected in a closed loop. The optical encoder 100 may include other components not shown in FIG. 1, such as power circuitry, interface circuitry, and other suitable components known in the art.

(13) In operation, the light source 11 projects one or more light beams towards the coding apparatus 16 which in turn outputs optical signals S.sub.Ai, S.sub.Bi, and S.sub.ref. The optical signals S.sub.Ai and S.sub.Bi are encoded by the coding apparatus 16, while the optical signal S.sub.ref remains un-encoded. Further, the optical signals S.sub.Ai and S.sub.Bi are out of phase by 90 degrees in the present embodiment. The interpolator 15 receives and processes the optical signals S.sub.Ai, S.sub.Bi, and S.sub.ref. More particularly, the optical modulator 14 modulates the optical signal S.sub.ref with an electrical input signal .sub.CNT and produces two modulated optical signals S.sub.Ar and S.sub.Br. In the present embodiment, the optical signals S.sub.Ar and S.sub.Br are also out of phase by 90 degrees. The phase detector 13, having photo detectors, detects the phase difference between the optical signals S.sub.Ai and S.sub.Br (or between S.sub.Bi and S.sub.Ar. The loop in the interpolator 15 is designed to minimize this phase difference. In other words, when the QOPLL reaches a stable operation state, the phase in the optical signals S.sub.Ar and S.sub.Br tracks (or locks onto) the phase of the optical signals S.sub.Ai and S.sub.Bi. Accordingly, the outputs from the EVCO 8, V.sub.o.sub._.sub.up and V.sub.o.sub._.sub.down, become the interpolated electrical signals of the optical signals S.sub.Ai and S.sub.Bi. Compared with existing QEPLL-based interpolators, the interpolator 15 may be built to be more compact, yet provide higher frequency response. Detailed structures and operations of each of the above components are further discussed below.

(14) In an embodiment, the light source 11 includes a light emitting diode (LED). In another embodiment, the light source 11 includes a semiconductor laser which produces a coherent light. The wavelength or spectrum of the light produced by the light source 11 works compatibly with the coding apparatus 16, the optical modulator 14, and various photo detectors in the PD 13. The light source 11 may further include one or more collimating optics (e.g., in a transmissive optical encoder) or one or more focusing optics (e.g., in a reflective optical encoder).

(15) The coding apparatus 16 may move angularly (e.g., rotary motion by a code wheel) or linearly (e.g., linear motion by a code strip) between the light source and the interpolator 15. Further, the coding apparatus 16 may be transmissive or reflective with respect to the light produced by the light source 11. An example of the optical encoder 100 with a transmissive coding apparatus 16 is illustrated in FIG. 2, constructed according to aspects of the present disclosure. Another example of the optical encoder 100 with a reflective coding apparatus 16 is illustrated in FIG. 3, constructed according to aspects of the present disclosure.

(16) Referring to FIG. 2, illustrated therein is a perspective view of some components in the optical encoder 100 with a transmissive coding apparatus 16, in accordance with an embodiment. The coding apparatus 16 (e.g., a code wheel or a code strip) includes at least two tracks, Tr1 and Tr2. The track Tr1 has alternative light transmissive and opaque regions (or stripes), indicated by the white and dark spaces, respectively. Each of the light transmissive and opaque regions has a width D along the direction of motion 126. The light transmissive and opaque regions form a periodic pattern with a period of 2D.

(17) Further illustrated in FIG. 2 is a partial view of the phase detector (PD) 13. The PD 13 includes two photo detectors, PDA.sub.i and PDB.sub.i. Here, A and B denote channel A and channel B in this single-track two-channel optical encoder, while i denotes encoded signal inputs to the interpolator 15 (FIG. 1). The photo detectors, PDA.sub.i and PDB.sub.i, are arranged side-by-side and each have a width of half D (D/2). In an embodiment, each of the PDA.sub.i and PDB.sub.i includes an array of photodiodes.

(18) A light beam 121 is produced by the light source 11, collimated (e.g. by a lens), and directed at the track Tr1. When the coding apparatus 16 moves, the light beam that reaches the photo detectors PDA.sub.i and PDB.sub.i are interrupted (or encoded). In FIG. 2, the light beam that reaches the photo detector PDA.sub.i is denoted as S.sub.Ai, while the light beam that reaches the photo detector PDB.sub.i is denoted as S.sub.Bi. As the coding apparatus 16 moves, the intensity of the light beams S.sub.Ai and S.sub.Bi varies depending on how much area of the photo detectors PDA.sub.i and PDB.sub.i, respectively, is covered by the opaque stripes. Based on the configuration of Tr1 and the photo detectors PDA.sub.i and PDB.sub.i as discussed above, the optical signals S.sub.Ai and S.sub.Bi are designed to be out of phase by 90 degrees.

(19) Still referring to FIG. 2, the track Tr2 does not have the opaque regions. In other words, the track Tr2 is always transmissive for the entire length of encoding. The light beam 122 is produced by the light source 11 and directed at the track Tr2. The light beams 121 and 122 may be different beamlets of the same collimated light beam. The light beam 122 passes through the track Tr2 and becomes the optical signal S.sub.ref.

(20) Referring to FIG. 3, illustrated therein is a perspective view of some components in the optical encoder 100 with a reflective coding apparatus 16, in accordance with an embodiment. The coding apparatus 16 (e.g., a code wheel or a code strip) includes two tracks, Tr1 and Tr2. The track Tr1 has alternative light reflective and absorptive regions (or stripes), indicated by the white and dark spaces, respectively. The track Tr2 does not have the light absorptive regions. In other words, the track Tr2 is always reflective for the entire length of encoding. Other aspects of the reflective coding apparatus 16 are the same as those discussed with the transmissive coding apparatus 16 in FIG. 2. The collimated light beams 121 and 122 may be focused by appropriate optics of the light source 11. For the purpose of simplicity, the photo detectors PDA.sub.i and PDB.sub.i are not shown in FIG. 3. When the coding apparatus 16 moves along the direction 126, the optical signals S.sub.Ai and S.sub.Bi may be interrupted or dimmed periodically, thereby optically encoding the movement of the coding apparatus 16. In the present embodiment, the track Tr1 and the photo detectors PDA.sub.i and PDB.sub.i are configured such that the optical signals S.sub.Ai and S.sub.Bi are out of phase by 90 degrees.

(21) Referring to FIG. 4, shown therein is an embodiment of the optical modulator 14, constructed according to aspects of the present disclosure. The optical modulator 14 includes a voltage-controlled optical modulator 10, a divider 17, and an optical coupler or optical splitter 12. The optical modulator 14 receives the reference optical signal S.sub.ref, and produces two modulated optical signals S.sub.Ar and S.sub.Br in response to the optical signal S.sub.ref and the input electrical signal .sub.CNT. Here, A and B denote channel A and channel B, respectively, and r denotes reference signal input to the interpolator 15 (FIG. 1). In the embodiment shown, the input signal .sub.CNT is divided (in the divider 17) by a positive integer N before being used for modulating the optical signal S.sub.ref. The integer N is the interpolation factor of the interpolator 15, and can be designed according to desired resolution and accuracy. The divider 17 can be implemented with logic gates, flip flops, and/or other circuit elements. In the present embodiment, the voltage-controlled optical modulator 10 is a digitally-controlled light intensity modulator. In a further embodiment, the modulator 10 is a type of March-Zehnder optical modulator (MZM). Therefore, it may also be called MZM 10 in the following discussion. However, it is noted that, the implementation of the modulator 10 is not limited to March-Zehnder type of modulators.

(22) According to the present embodiment, the modulator 10 uses digital inputs (.sub.CNT) to modulate the optical signal S.sub.ref, thereby producing a modulated reference optical signal S.sub.mod. For example, it first converts an n-bit binary input to analog signals by assigning the n-bit binary signal to n bias voltages, with each bit corresponding to one bias voltage. It then applies the bias voltages on electrodes, which in turn cause phase shift in the optical signal S.sub.ref as the optical signal S.sub.ref passes through the modulator 10. The accumulated phase shift at the output S.sub.mod of the modulator 10 is proportional to the summation of the input bias voltage over time. In other words, v(t)dt, where v(t) is the bias voltage. In an embodiment, the modulator 10 converts the phase shift to intensity variation in the optical signal output S.sub.mod.

(23) FIG. 5 illustrates a curve 20 of intensity variation as a function of phase shift . The intensity of the optical signal S.sub.mod varies between the minimum intensity I.sub.m and the maximum intensity I.sub.M. In the present embodiment, the intensity varies as a sinusoidal function of the phase shift according to one embodiment. Labeled underneath the phase axis are the values of the n-bit binary input .sub.CNT/N. For example, when the n bits are all 0's, the phase shift is ; when the n bits are all 1's, the phase shift is 2; and so on. The labels V.sub.0, V.sub.1, . . . V.sub.n denote the bias voltages applied by the modulator 10, which correspond to the bits bit-0, bit-1, . . . bit-n, respectively.

(24) Some implementations of the modulator 10 may be found in the U.S. Pat. No. 4,288,785, which is incorporated by reference herein. For example, the modulator 10 may be designed similar to the optical modulator shown in FIGS. 3 and 5-8 of the '785 patent.

(25) Referring again to FIG. 4, the modulated optical signal S.sub.mod is fed to the optical coupler/splitter 12 which splits S.sub.mod into two optical signals S.sub.Ar and S.sub.Br. The optical path for the signal S.sub.Br further includes an optical delay of /2. Therefore, the optical signals S.sub.Ar and S.sub.Br are out of phase by 90 degrees. In an embodiment, the optical coupler/splitter 12 is a 3 dB directional coupler

(26) Referring to FIG. 6, shown therein is a schematic block diagram of the PD 13, constructed according to aspects of the present disclosure. The PD 13 includes four photo detectors, PDA.sub.i, PDB.sub.i, PDA.sub.r, and PDB.sub.r. Each of the photo detectors can include a photo diode, a photo transistor, a photo gate, a photovoltaic cell, or other types of photo-electric converter. Each of the photo detectors is capable of detecting an optical signal and converting the optical signal into an electrical signal. The photo detectors PDA.sub.i and PDB.sub.i are used for receiving the encoded optical signals S.sub.Ai and S.sub.Bi, respectively, and converting them into encoded electrical signals S.sub.AEi and S.sub.BEi, respectively. The photo detectors PDA.sub.r and PDB.sub.r are used for receiving the modulated reference optical signals S.sub.Ar and S.sub.Br, respectively, and converting them into modulated reference electrical signals S.sub.AEr and S.sub.BEr, respectively.

(27) Certain aspects of the photo detectors PDA.sub.i and PDB.sub.i have been discussed with reference to FIG. 2. In an embodiment, the photo detectors PDA.sub.i and PDB.sub.i are photo diodes with grating structures thereon to increase the quantum efficiency of the respective photo detector. One consideration for such design is that the resolution of the optical encoder 100 depends on the sensitivity of the photo detectors PDA.sub.i and PDB.sub.i as they are part of the mechanism for creating the phase difference in the encoded electrical signals S.sub.AEi and S.sub.BEi. Further, light intensity in the encoded optical signals S.sub.Ai and S.sub.Bi may not be ideal as the light beam passes through various optics and the coding apparatus 16 before reaching the photo detectors PDA.sub.i and PDB.sub.i (see FIG. 2 for example). Hence, it may desirable for the photo detectors PDA.sub.i and PDB.sub.i to have a grating structure (not shown) to enhance light reception thereon. Alternatively, the photo detectors PDA.sub.i and PDB.sub.i may employ other types of optical enhancement structures, such as cones, pillars, pyramids, quantum dots, and the like.

(28) In contrast, the photo detectors PDA.sub.r and PDB.sub.r can be designed with relatively more freedom than the photo detectors PDA.sub.i and PDB.sub.i. For example, the photo detectors PDA.sub.r and PDB.sub.r do not have to be arranged side-by-side as the phase difference has been embedded in the optical signals S.sub.Ar and S.sub.Br by the optical modulator 14. Also, the photo detectors PDA.sub.r and PDB.sub.r may be placed in close proximity to the optical modulator 14. Therefore, they may not need gratings or other types of optical enhancement structures in order to properly receive the optical signals S.sub.Ar and S.sub.Br. In an embodiment, the photo detectors PDA.sub.r and PDB.sub.r and the optical modulator 14 are manufactured on the same chip to further increase the degree of integration.

(29) Still referring to FIG. 6, the PD 13 further includes two multipliers 5A and 5B and a subtractor 6. The two multipliers 5A and 5B may be implemented with logic gates, operational amplifiers, transistors, and/or other circuit elements. The subtractor 6 may be implemented using logic gates, transistors, operational amplifiers, adders, and/or other circuit elements. In the present embodiment, the multiplier 5A multiplies the channel A encoded electrical signal S.sub.AEi and the channel B modulated reference signal S.sub.BEr and produces a multiplied electrical signal S.sub.A. Similarly, the multiplier 5B multiplies the channel B encoded electrical signal S.sub.BEi and the channel A modulated reference signal S.sub.AEr and produces a multiplied electrical signal S.sub.B. The subtractor 6 subtracts the signal S.sub.A from the signal S.sub.B, and produces an output electrical signal V.sub.pe. The signal Vpe can be expressed in terms of the phase information in the encoded signals (S.sub.AEi and S.sub.BEi) and the modulated reference signals (S.sub.AEr and S.sub.BEr), as discussed below.

(30) In the present embodiment, the various modules are designed such that the signals S.sub.AEi, S.sub.BEi, S.sub.AEr, and S.sub.BEr are sinusoidal signals. Further, the signals S.sub.AEi and S.sub.BEi are out of phase by 90 degrees and the signals S.sub.AEr and S.sub.BEr are out of phase by 90 degrees. Therefore, they can be expressed as follows:
S.sub.AEi=a*cos .sub.i(1)
S.sub.BEi=a*sin .sub.i(2)
S.sub.AEr=b*cos .sub.o(3)
S.sub.BEr=b*sin .sub.o(4)
In the above equations (1)-(4), the phase .sub.i is the phase carried by the encoded electrical signals S.sub.AEi and S.sub.BEi, and the phase .sub.o is the phase carried by the modulated electrical signals S.sub.AEr and S.sub.BEr. The multiplied signals S.sub.A and S.sub.B can be expressed as follows:
S.sub.A=S.sub.AEi*S.sub.BEr=ab*cos .sub.i sin .sub.o=(ab/2)*(sin(.sub.i+.sub.o)sin(.sub.i.sub.o))(5)
S.sub.B=S.sub.AEr*S.sub.BEi=ab*cos .sub.o sin .sub.i=(ab/2)*(sin(.sub.i+.sub.o)+sin(.sub.i.sub.o))(6)
V.sub.pe=S.sub.BS.sub.A=ab*sin(.sub.i.sub.o)=ab*sin .sub.E(7)
As can be seen in equation (7), the output V.sub.pe carries the information of the phase error (or phase difference) .sub.E between the encoded signals S.sub.AEi and S.sub.BEi and the modulated reference signals S.sub.AEr and S.sub.BEr.

(31) Referring back to FIG. 1, the signal V.sub.pe is fed to the loop filter (LF) 7. In the present embodiment, the loop filter 7 is a low-pass filter with a low cutoff frequency for filtering out high frequency components in the signal V.sub.pe. Since Vpe carries only the phase error between the encoded signal and the modulated reference signal, the parameters of the loop filter 7 can be determined independent of the frequency of either the encoded signals S.sub.AEi and S.sub.BEi or the modulated reference signals S.sub.AEr and S.sub.BEr. The loop filter 7 can be implemented using logic gates, operational amplifiers, resistors, capacitors, and/or other circuit elements. When the phase error .sub.E is sufficiently small, the output signal e(t) from the loop filter 7 can be expressed as follows:
e(t)=ab*.sub.E(8)

(32) The signal e(t) is fed to the EVCO 8. In response to the signal e(t), the EVCO 8 produces electrical pulses which may be square wave pulses or sinusoidal pulses. The outputs of the EVCO 8 are the interpolated signal outputs of the optical encoder 100. The EVCO 8 can be implemented with resistors, capacitors, varactors, diodes, operational amplifier, transistors, and/or other circuit elements as known in the art. In the present embodiment, the EVCO 8 is a voltage-frequency converter and the signal e(t) is applied to an input voltage of the EVCO 8. In response to the signal e(t), the EVCO 8 produces two trains of pulses V.sub.o.sub._.sub.up and V.sub.o.sub._.sub.down, signifying incrementing and decrementing respectively. For example, a pulse on V.sub.o.sub._.sub.up may indicate incrementing by 1 in the clockwise direction while a pulse on V.sub.o.sub._.sub.down may indicate incrementing by 1 in the counter-clockwise direction (which is same as decrementing by 1 in the clockwise direction). In another embodiment, the EVCO 8 produces two trains of pulses V.sub.o and V.sub.dir (not labeled in FIG. 1), signifying incrementing and direction respectively. For example, a pulse on V.sub.o may increment the clockwise count or the counter-clockwise count, depending on the value of the V.sub.dir. The train of pulses from the EVCO 8 is sent to external circuit (not shown) for further processing.

(33) The train of pulses from the EVCO 8 is also sent to a reversible counter 9. The reversible counter 9 may be implemented using logic gates, flip-flops, transistors, and/or other circuit elements. The reversible counter 9 counts up or down depending on the inputs V.sub.o.sub._.sub.up and V.sub.o.sub._.sub.down. The value of the reversible counter 9, .sub.CNT, is fed to the optical modulator 14 for modulating the reference optical signal S.sub.ref, as discussed with reference to FIG. 4. The relation between the phase .sub.o and .sub.CNT can be expressed as follows:
.sub.o=2(.sub.CNT/N)(9)
In equation (9), the number N is the interpolation factor and is also the dividing factor of the divider 17 in FIG. 4.

(34) Effectively, the PD 13, LF 7, EVCO 8, reversible counter 9, and optical modulator 14 form a phase-locked loop, through which the phase error .sub.E between the encoded signals S.sub.AEi and S.sub.BEi and the modulated reference signals S.sub.AEr and S.sub.BEr is minimized. Since the PLL includes both optical components and electrical components in the loop, it is a quasi-optical PLL (QOPLL). When the QOPLL reaches a stable operation state, the phases in the optical signals S.sub.Ar and S.sub.Br tracks (or locks onto) the phases of the optical signals S.sub.Ai and S.sub.Bi. The same is true for their electrical counterparts, i.e., the phases in the electrical signals S.sub.AEr and S.sub.BEr tracks (or locks onto) the phases of the electrical signals S.sub.AEi and S.sub.BEi. Embodiments of the optical encoder 100 may provide for excellent noise rejection capability and can be used in various applications such as controllers for high-precision servomechanisms and machines with high-speed numerically controlled movement.

(35) Referring to FIGS. 7-9, shown therein is a method 200 for performing optical encoding according to aspects of the present disclosure. The method 200 may be implemented, in whole or in part, by or with the optical encoder 100. It is understood that additional operations can be provided before, during, and after the method 200, and some operations described can be replaced, eliminated, or moved around for additional embodiments of the method. The method 200 is merely an example, and is not intended to limit the present disclosure beyond what is explicitly recited in the claims. The method 200 is discussed below, in conjunction with FIGS. 1-6 when needed.

(36) At operation 202, the method 200 (FIG. 7) produces first and second encoded optical signals and an un-encoded reference optical signal from a light source, wherein the first and second encoded optical signals are out of phase by 90 degrees. Using the optical encoder 100 (FIG. 1) as an example, the method 200 uses the light source 11 and the track Tr1 of the coding apparatus 16 to produce the first and second encoded optical signals S.sub.Ai and S.sub.Bi. To further the example, the method 200 uses the light source 11 and the track Tr2 of the coding apparatus 16 to produce the reference optical signal S.sub.ref.

(37) At operation 204, the method 200 (FIG. 7) modulates the un-encoded reference optical signal with an first electrical signal, thereby producing a modulated reference optical signal. Using the optical modulator 14 (FIG. 4) as an example, the method 200 uses the digitally-controlled optical modulation modulator 10 to modulate the reference optical signal S.sub.ref with the electrical signal .sub.CNT or a derivative of .sub.CNT. For example, the derivative of .sub.CNT may be a divided-by-N version of .sub.CNT where N is an integer greater than 1.

(38) At operation 206, the method 200 (FIG. 7) generates first and second modulated optical signals from the modulated reference optical signal, wherein the first and second modulated optical signals are out of phase by 90 degrees. Still using the optical modulator 14 (FIG. 4) as an example, the method 200 uses the 12 optical coupler/splitter 12 to generate the first and second modulated optical signals S.sub.Ar and S.sub.Br, which are out of phase by 90 degrees.

(39) At operation 208, the method 200 (FIG. 7) converts the first and second encoded optical signals to first and second encoded electrical signals, respectively. At operation 210, the method 200 (FIG. 7) converts the first and second modulated optical signals to first and second modulated electrical signals, respectively. Using the phase detector 13 (FIG. 6) as an example, the method 200 uses four photo detectors PDA.sub.i, PDB.sub.i, PDA.sub.r, and PDB.sub.r to convert the optical signals S.sub.Ai, S.sub.Bi, S.sub.Ar, and S.sub.Br into the electrical signals S.sub.AEi, S.sub.BEi, S.sub.AEr, and S.sub.BEr, respectively.

(40) At operation 212, the method 200 (FIG. 8) multiplies the first encoded electrical signal and the second modulated electrical signal, thereby producing a first multiplied electrical signal. At operation 214, the method 200 (FIG. 8) multiplies the second encoded electrical signal and the first modulated electrical signal, thereby producing a second multiplied electrical signal. Still using the phase detector 13 (FIG. 6) as an example, the method 200 uses the multiplier 5A to multiply the signals S.sub.AEi and S.sub.BEr to produce the multiplied signal S.sub.A, and uses the multiplier 5B to multiply the signals S.sub.BEi and S.sub.AEr to produce the multiplied signal S.sub.B.

(41) At operation 216, the method 200 (FIG. 8) subtracts the first multiplied electrical signal from the second multiplied electrical signal, thereby producing a second electrical signal. Still using the phase detector 13 (FIG. 6) as an example, the method 200 uses the subtractor 6 to subtract the signal S.sub.A from the signal S.sub.B, producing the electrical signal V.sub.pe, which carries the phase error between the encoded and the modulated signals.

(42) At operation 218, the method 200 (FIG. 8) derives the first electrical signal from the second electrical signal so that the first modulated electrical signal tracks the first encoded electrical signal. Using the optical encoder 100 (FIG. 1) as an example, the method 200 derives the signal .sub.CNT from the signal V.sub.pe so that the modulated signals S.sub.AEr and S.sub.BEr track the encoded signals S.sub.AEi and S.sub.BEi. FIG. 9 illustrates the operation 218 in accordance with an embodiment, which includes four sub-operations 230, 232, 234, and 236.

(43) Referring to FIG. 9, at the sub-operation 230, the method 200 filters the second electrical signal using a low-pass filter such as the LP 7 (FIG. 1), thereby producing a filtered second electrical signal. The LP 7 filters out high frequency components of the second electrical signal and allows low frequency components thereof to pass. At the sub-operation 232, the method 200 produces electrical pulses using a voltage-controlled oscillator such as the EVCO 8 in response to the filtered second electrical signal. At the sub-operation 234, the method 200 counts a number of the electrical pulses using a reversible counter such as the reversible counter 9, thereby producing a count. At the sub-operation 236, the method 200 divides the count by a positive integer, thereby producing the first electrical signal.

(44) Although not intended to be limiting, one or more embodiments of the present disclosure provide many benefits to an optical encoder or an interpolator. For example, embodiments of the present disclosure provide a novel quasi-optical (or quasi-electrical) PLL (QOPLL). Various embodiments provide high frequency response and noise rejection, and improve the interpolation factor of the interpolator. Interpolators according to embodiments of the present disclosure may in some applications provide more than twice the interpolation factor than conventional interpolators. Further, some embodiments do not use as much chip or board area as the ROMs and look-up tables in existing electrical interpolators. Therefore, such embodiments may be manufactured more economically than conventional counterparts. This can lead to compact and cost-effective optical encoders with high resolution.

(45) In one exemplary aspect, the present disclosure is directed to a device. The device includes an optical modulator configured to produce first and second modulated optical signals in response to a first electrical signal and a reference optical signal. The device further includes a phase detector configured to receive first and second encoded optical signals and the first and second modulated optical signals and to produce a second electrical signal indicating a phase difference between the first encoded optical signals and the first modulated optical signals. The device further includes a loop filter configured to pass low frequency components of the second electrical signal, thereby producing a filtered second electrical signal. The device further includes a voltage-controlled oscillator configured to produce electrical pulses in response to the filtered second electrical signal. The device further includes a counter configured to count a number of the electrical pulses from the voltage controlled oscillator, thereby producing a count, wherein the first electrical signal to the optical modulator is comprises the count or a derivative of the count.

(46) In another exemplary aspect, the present disclosure is directed to a device. The device includes first means for producing first and second modulated optical signals in response to a first electrical signal and a reference optical signal. The device further includes second means for producing a second electrical signal in response to first and second encoded optical signals and the first and second modulated optical signals, the second electrical signal indicating a phase difference between the first and second encoded optical signals and the first and second modulated optical signals. The device further includes third means for passing low frequency components of the second electrical signal to become a filtered second electrical signal. The device further includes fourth means for producing electrical pulses in response to the filtered second electrical signal and fifth means for producing a count of the electrical pulses, wherein the first electrical signal to the optical modulator is comprises the count divided by a positive integer.

(47) In yet another exemplary aspect, the present disclosure is directed to a method of optical encoding. The method includes producing first and second encoded optical signals and an un-encoded reference optical signal from a light source, wherein the first and second encoded optical signals are out of phase by 90 degrees. The method further includes modulating the un-encoded reference optical signal with a first electrical signal, thereby producing a modulated reference optical signal. The method further includes generating first and second modulated optical signals from the modulated reference optical signal, wherein the first and second modulated optical signals are out of phase by 90 degrees. The method further includes converting the first and second encoded optical signals to first and second encoded electrical signals, respectively. The method further includes converting the first and second modulated optical signals to first and second modulated electrical signals, respectively. The method further includes multiplying the first encoded electrical signal and the second modulated electrical signal, thereby producing a first multiplied electrical signal. The method further includes multiplying the second encoded electrical signal and the first modulated electrical signal, thereby producing a second multiplied electrical signal. The method further includes subtracting the first multiplied electrical signal from the second multiplied electrical signal, thereby producing a second electrical signal and deriving the first electrical signal from the second electrical signal so that the first modulated electrical signal tracks the first encoded electrical signal.

(48) The foregoing outlines features of several embodiments so that those skilled in the art may better understand the aspects of the present disclosure. Those skilled in the art should appreciate that they may readily use the present disclosure as a basis for designing or modifying other processes and structures for carrying out the same purposes and/or achieving the same advantages of the embodiments introduced herein. Those skilled in the art should also realize that such equivalent constructions do not depart from the spirit and scope of the present disclosure, and that they may make various changes, substitutions, and alterations herein without departing from the spirit and scope of the present disclosure.