The present application claims priority under 35 U.S.C. § 119 of Japanese Application No. 2015-076621, filed on Apr. 3, 2015, the disclosure of which is expressly incorporated by reference herein in its entirety.
1. Field of the Invention
The present invention relates to a phase adjuster and an encoder.
2. Description of Related Art
These days, encoders are used in order to detect a position of various devices having a driver. An encoder is a displacement position measuring device which can be attached to a driving shaft or a rotation shaft of a machine tool or a coordinate measuring apparatus. In general, an encoder may be a linear encoder for detecting linear displacement and a rotary encoder for detecting a rotational angle. Examples of a detecting method of an encoder include a magnetic type, a capacitive type, and an electromagnetic induction type in addition to a photoelectric type.
In a photoelectric encoder, there is a type which outputs a four-phase main signal including phase A (phase 0°), phase −A (phase 180°), phase B (phase 90°), and phase −B (phase 270°) in which each phase differs by 90° respectively. Hereafter, this main signal is referred to as a four-phase signal with 90° phase difference, or simply as a four-phase signal. By combining this signal with an origin point signal, the photoelectric encoder can output an ABS position (absolute position) with the accuracy of a minimum resolution of interpolation of the main signal.
In addition, in the four-phase signal noted above, the photoelectric encoder can generate a phase a (0°) by subtracting phase −A from phase A; and a phase b (90°) by subtracting phase −B from phase B. In such a case, the photoelectric encoder outputs a two-phase main signal. Hereafter, this main signal is referred to as a two-phase signal with 90° phase difference, or simply as a two-phase signal. Although the number of phases is different between the two-phase signal and the four-phase signal, the technical significance of the two is equivalent.
A shift may occur between a phase of the above-noted four-phase main signal and a phase of the origin point signal, for example, when the photoelectric encoder is attached to a device. As a result, there may be a case where a phase difference between the main signal and the origin point signal cannot be defined to a desired value. Accordingly, the phase difference is generally adjusted by mechanically making fine adjustments, in a movement direction of the encoder, to an attachment position of a detection head. However, since a pulse width of the origin point signal is narrow, adjustments are not possible while observing a size of the origin point signal. Therefore, completion of this adjustment process requires repeated trial and error and takes a long time.
In order to avoid taking a long period of time for the adjustment process, a technique has been suggested in which a phase of a main signal is displaced by a predetermined value by flipping of a switch; and synchronization is achieved between the main signal and an origin point pulse (Japanese Patent Laid-open Publication No. 2002-116060). In this approach, a frequency of trial and error can be reduced compared to the case noted above where fine adjustments are made mechanically. In addition, a technique has been suggested in which the phase adjustment of the main signal described above is automatically controlled by an operation of a CPU (Japanese Patent Laid-open Publication No. 2002-162253).
However, the inventors of the present invention have discovered an issue, discussed below, with respect to the above-noted techniques. According to the techniques in Japanese Patent Laid-open Publication Nos. 2002-116060 and 2002-162253, only rough phase adjustments are possible since a pitch of the phase adjustment is 90°. In such a case, depending on a state of the origin point signal, a situation may arise such that a proper synchronization between the main signal and the origin point signal cannot be performed after the phase adjustment.
A case is considered in which a phase adjustment with a step of 90° (π/2) width, as presented in Japanese Patent Laid-open Publication Nos. 2002-116060 and 2002-162253, is performed with respect to these origin point signals ORG1 and ORG2.
When the phases of the origin point signals ORG1 and ORG2 are delayed by 90° (π/2) and are set as origin points signals ORG10 and ORG20 respectively, as shown in
Therefore, in order to prevent the occurrence of such mistaken detections, a technique is required so that the phase adjustment of a main signal which is smaller than 90° (n/2) can be performed.
The present invention was conceived in light of the circumstances above, and by adjusting a phase of a main signal easily matches a relative phase shift of the main signal with respect to an origin point signal of a displacement position measuring device such as a photoelectric encoder.
A phase adjuster according to one aspect of the present invention includes a resistor string, a switch portion, and amplifiers. The resistor string outputs an MN number of signals with a phase difference of 2π/MN by dividing voltage between two adjacent phases of an M-phase input signal with a phase difference of 2π/M (where M is an integer equal to or greater than 2) and generating an N number of signals (where N is an integer equal to or greater than 2) with a phase delay for each of the phases of the M-phase input signal. The switch portion selects an L number of signals with a phase difference of 2π/L (where L is an integer equal to or greater than 2) from the MN signals. An L number of amplifiers output an L-phase output signal (where L is an integer equal to or greater than 2) by amplifying each of the L number of signals attenuated by dividing the voltage with the resistor string such that an amplitude of the L number of signals matches the amplitude of the M-phase input signal.
Another aspect of the present invention is the phase adjuster described above, in which a first phase, which is one of the two adjacent phases of the M-phase input signal, is input to a first end of an N number of serially connected resistors; and a second phase, which is another phase of the two adjacent phases of the M-phase input signal, is input to a second end of the N number of serially connected resistors.
Another aspect of the present invention is the phase adjuster described above, in which when a combined resistance of the N number of serially connected resistors is defined as RTOTAL, a combined resistance RE of a k number of resistors which is counted kth from the first phase side (where k is an integer fulfilling a relationship 1≤k≤N) among the N number of serially connected resistors, is expressed by formula (1) below, and a resistance value of the kth resistor, as counted from the first phase side among the N number of serially connected resistors is expressed by formula (2) below.
Another aspect of the present invention is the phase adjuster described above, in which each of the L number of amplifiers amplifies a signal being output from between the kth resistor and a k+1 th resistor, as counted from the first phase side, by 1/βk, and βk is expressed by formula (3) below.
Another aspect of the present invention is the phase adjuster described above, in which the MN number of resistors in the resistor string are serially connected in a ring shape, and the switch portion is configured as a rotary switch including a terminal which can be connected to a node separated by an MN/L number of nodes among the MN number of nodes between the MN number of resistors.
An encoder according to another aspect of the present invention includes any one of the above-noted phase adjusters; a detection portion reading and outputting an origin point signal and the M-phase input signal, which is a main signal; and an origin point signal synchronizer determining a position of the origin point by synchronizing the origin point signal and the L-phase output signal.
According to the present invention, it is possible to perform accurate phase adjustments of a multi-phase input signal with a simple configuration.
The present invention is clarified by the following detailed description and the appended drawings. The appended drawings are referenced only to facilitate understanding and do not serve to limit the present invention.
The present invention is further described in the detailed description which follows, in reference to the noted plurality of drawings by way of non-limiting examples of exemplary embodiments of the present invention, in which like reference numerals represent similar parts throughout the several views of the drawings, and wherein:
The particulars shown herein are by way of example and for purposes of illustrative discussion of the embodiments of the present invention only and are presented in the cause of providing what is believed to be the most useful and readily understood description of the principles and conceptual aspects of the present invention. In this regard, no attempt is made to show structural details of the present invention in more detail than is necessary for the fundamental understanding of the present invention, the description taken with the drawings making apparent to those skilled in the art how the forms of the present invention may be embodied in practice.
Hereafter, embodiments of the present invention are described with reference to the drawings. Identical reference numerals are assigned to identical elements in each of the plurality of drawings, and duplicative descriptions are omitted where necessary.
First Embodiment
A description is given of a phase adjuster 100 according to a first embodiment. The phase adjuster 100 has a configuration capable of outputting a signal, in which a phase A, phase −A, phase B, and phase −B of a four-phase input signal are respectively offset by an identical value.
The phase adjuster 100 is incorporated in an encoder, for example, and offsets by a predetermined value a phase of a four-phase signal which a detection portion (or detector) reads and outputs. In addition, an origin point signal synchronizer incorporated in the encoder determines a position of an origin point of the encoder by synchronizing an origin point signal output from the detection portion with the four-phase signal where the phase is offset.
For example, phase A, phase −A, phase B, and phase −B are represented respectively by the following formulae (4) to (7).
The phase adjuster 100 has a configuration offsetting each phase of the four-phase input signal being input by Δθ.
The phase adjuster 100 includes a resistor string 1, a switch portion 2 (or switch), and amplifiers AMP1 to AMP4. The resistor string 1 has a configuration in which a plurality of voltage dividing resistors are connected in cascade. In this example, sixteen resistors R1 to R16 are connected in series. In this case, a first end on the resistor R1 side of the resistor string including resistors R1 to R16 is referred to as a node N0, and a second end on the resistor R16 side is referred to as a node N16. A node between a jth resistor Rj (where j is an integer of 1≤j≤15) as counted from the node N0 and a (j+1)th resistor R(j+1) as counted from the node N0 is referred to as a node Nj.
The phases A, B, −A, −B, and A are directly input respectively to nodes N0, N4, N8, N12, and N16.
The phase A is output to the switch portion 2 from the node N0. Signals in which the phase A phase is delayed by 22.5°, 45°, and 67.5° respectively are output to the switch portion 2 from the nodes N1 to N3.
The phase B (signal in which the phase A phase is delayed by 90°) is output to the switch portion 2 from the node N4. Signals in which the phase B phase is delayed by 22.5°, 45°, and 67.5° respectively (signals in which the phase A phase is delayed by 112.5°, 135°, and 157.5° respectively) are output to the switch portion 2 from nodes N5 to N7.
The phase −A (signal in which the phase A phase is delayed by 180°) is output to the switch portion 2 from the node N8. Signals in which the phase −A phase is delayed by 22.5°, 45°, and 67.5° respectively (signals in which the phase A phase is delayed by 202.5°, 225°, and 247.5° respectively) are output to the switch portion 2 from nodes N9 to N11.
The phase −B (signal in which the phase A phase is delayed by 270°) is output to the switch portion 2 from the node N12. Signals in which the phase −B phase is delayed by 22.5°, 45°, and 67.5° respectively (signals in which the phase A phase is delayed by 292.5°, 315°, and 337.5° respectively) are output to the switch portion 2 from nodes N13 to N15.
The phase A identical to the node NO is output to the switch portion 2 from the node N16. In other words, a node Nh (where h is an integer of 0≤h≤16) can be understood as outputting a signal in which the phase A phase is delayed by h×22.5°.
As described above, by using a resistance voltage division obtained by the resistors connected in series between two phases included in the four-phase input signal, a signal is generated in which the phase differs by 22.5°. Described below is a method of determining a resistance value of each resistor achieving the above-noted resistance voltage division. In the above, as an example, a number of resistors connected in series between two phases is four and an adjustment width of the phase is 22.5°. However, the number of resistors, the adjustment width of the phase, and a total number of phases are not limited to this example. In the following, a description is given such that an N number of resistors are connected in series between two adjacent phases included in an M-phase signal (where M is an integer of 2 or more).
First, a voltage Vk of the output signal from the kth node (where k is 1≤k≤N−1) is derived. In this example, a combined resistance of the resistors R1 to Rk on the first phase side from a node Nk is regarded as RE, and a combined resistance of the resistors Rk+1 to RN on the second phase side from the node Nk is regarded as RF. In order to facilitate understanding,
Further, a resistance RTOTAL, a sum of the resistors R1 to RN, is represented by the following formula (10).
Furthermore, the resistors R1 to RN in
Solving formula (11) for the voltage Vk gives formula (12).
In this example, the voltage VE of the first phase is defined by the following formula (13).
[Formula 13]
VE=V sin θ (13)
At this time, the voltage VF of the second phase is represented by the following formula (14).
The following formula (15) is obtained when formulae (13) and (14) are substituted into formula (12).
The voltage Vk, compared to the voltage VE of the first phase, is phase-delayed by 2πk/MN and the voltage drops due to k resistors. When an amplitude of the voltage Vk is defined as Vatt, the voltage Vk is represented by the following formula (16).
Formulae (15) and (16), which are derived as mentioned above, describe the same voltage Vk, and therefore, formulae (15) and (16) can be understood to be equivalent. Accordingly, a first term including sine of the formula (15) and a first term including sin θ of the formula (16) are equal to each other and thus the following formula (17) is established.
In addition, a second term including cos θ of the formula (15) and a second term including cos θ of the formula (16) are equal to each other and thus the following formula (18) is established.
In this example, βk is defined as shown in formula (19). βk can be understood as an attenuation rate for the voltage VE of the first phase of the voltage Vk and as an amplification factor for the voltage VF of the second phase.
The following formulae (20) and (21) are obtained respectively when substituting formulae (17) and (18) into formula (19).
Solving formula (21) for RE gives the following formula (22).
Substituting formula (22) into formula (20) and then solving for RF provides the following formula (23).
Based on formulae (10), (22), and (23), βk is represented by the following formula (24).
The combined resistance RE is represented by the following formula (25) when formula (24) is substituted into formula (22).
By using formula (25), successive determination of the resistance values of the resistors R1 to RN is possible. First, when determining the resistance value of the first resistor R1, based on RE=R1, the resistance value of the resistor R1 is determined to be a value represented by the following formula (26).
Next, when determining the resistance value of the second resistor R2, based on R2=RE−R1, the resistance value of the resistor R2 is determined to be the value represented by the following formula (27).
Subsequently, the resistance value of the kth resistor Rk can be similarly determined to be the value represented by the following formula (28).
For example, the resistance value of the Nth resistor RN can, based on RE=RTOTAL, be determined to be the value represented by the following formula (29).
When a specific value is given to RTOTAL during circuit design, the resistance value of the resistors R1 to RN can be specifically determined. Moreover, as noted above, in comparison to the voltage VE of the first phase, the voltages V1 to VN−1 of each node attenuate by a ratio shown by coefficients β1 to βN−1 respectively and the amplitude is reduced. Therefore, the voltages V1 to VN−1 of the nodes are output, by amplifiers AMP1 to AMPN provided at a later stage, after being amplified by a factor of 1/β1 to 1/βN−1 respectively.
Therefore, in the configuration illustrated in
The switch portion 2 is configured to be capable of switching which nodes are connected to output terminals TA, TB, T−A, and T−B. Since signals output from the output terminals TA, TB, T−A, and T−B are the four-phase signal, the output terminals TA, TB, T−A, and T−B are each connected to a node with a phase differing of 90° (i.e., 2π/M). For example, in a case where the output terminal TA is connected with the node N1, the output terminals TB, T−A, and T−B are connected with the nodes N5, N9, and N13 respectively.
From the output terminals TA, TB, T−A, and T−B, four-phase signals SA, SB, −SA, and −SB which have undergone the phase offset are respectively output. The four-phase signals SA, SB, −SA, and −SB are amplified by 1/βk through variable amplifiers AMP1 to AMP4 in the later stage, respectively. The amplified signals are output as four-phase output signals AP, BP, −AP, and −BP with the amplitude aligned.
Accordingly, the phase adjuster 100 can output the four-phase output signals AP, BP, −AP, and −BP obtained by respectively offsetting the phase of the phases A, B, −A, and −B by 67.5° (k=3).
As noted above, the phase adjuster 100 can, by a simple resistor string, delay the phase of a multi-phase signal by an offset amount smaller than 90°, which can be understood as enabling more precise phase adjustments. Further, the offset amount can be easily adjusted by a number of voltage dividing resistors provided, and therefore, the phase offset amount can be configured according to the required accuracy.
Second Embodiment
In the above-described first embodiment, a specific example was described in which the phase adjuster outputs the four-phase output signal obtained by offsetting the phases of the four-phase input signal. In this example, other specific examples are further considered by illustrating a configuration of a switch portion configured as a rotary switch. Moreover, in order to simplify the drawings, amplifiers in the later stage of the switch portion are omitted from the following drawings.
First Exemplary Configuration
An example is described of outputting a three-phase output signal in which a predetermined phase offset is imposed based on a three-phase input signal. In this example, each phase of the three-phase input signal is designated as phase A (0°), phase B (120°), and phase C (240°). The three-phase output signals are designated respectively as AP (0°+Δθ), BP (120°+Δθ), and CP (240°+Δθ).
Second Exemplary Configuration
An example is described of outputting a three-phase output signal in which a predetermined phase offset is imposed based on a six-phase input signal. In this example, each phase of the six-phase input signal is designated as phase A (0°), phase B (60°), phase C (120°), phase −A (180°), phase −B (240°), and phase −C (300°). The three-phase output signals are designated respectively as AP (0°+Δθ), BP (120°+Δθ), and CP (240°+Δθ).
Third Exemplary Configuration
An example is described of outputting a four-phase output signal in which a predetermined phase offset is imposed based on a three-phase input signal. In this example, each phase of the three-phase input signal is designated as phase A (0°), phase B (120°), and phase C (240°). The four-phase output signals are designated respectively as AP (0°+Δθ), BP (90°+Δθ), −AP (180°+Δθ), and −BP (270°+Δθ).
Fourth Exemplary Configuration
An example is described of outputting a four-phase output signal in which a predetermined phase offset is imposed based on a six-phase input signal. In this example, each phase of the six-phase input signal is designated as phase A (0°), phase B (60°), phase C (120°), phase −A (180°), phase −B (240°), and phase −C (300°). The four-phase output signals are designated respectively as AP (0°+Δθ), BP (90°+Δθ), −AP (180°+M), and −BP (270°+Δθ).
Fifth Exemplary Configuration
An example is described of outputting an eight-phase output signal in which a predetermined phase offset is imposed based on a four-phase input signal. In this example, each phase of the four-phase input signal is designated as phase A (0°), phase B (90°), phase −A (180°), and phase −B (270°). The eight-phase output signals are designated respectively as AP (0°+Δθ), BP (45°+Δθ), CP (90°+Δθ), DP (135°+Δθ), −AP (180°+Δθ), −BP (225°+Δθ), −CP (270°+Δθ), and −DP (315°+Δθ).
Sixth Exemplary Configuration
An example is described of outputting a four-phase output signal in which a predetermined phase offset is imposed based on an eight-phase input signal. In this example, each phase of the eight-phase input signal is designated as phase A (0°), phase B (45°), phase C (90°), phase D (135°), phase −A (180°), phase −B (225°), phase −C (270°), and phase −D (315°). The four-phase output signals are designated respectively as AP (0°+Δθ), BP (90°+Δθ), −AP (180°+Δθ), and −BP (270°+Δθ).
Other Embodiments
Moreover, the present invention is not limited to the embodiments described above, and may be modified as needed without departing from the scope of the present invention. For example, in the above-description, the multi-phase signal being input to the resistor string may be input through a buffer.
The multi-phase signal being input to the resistor string may transform, prior to being input to the resistor string, a number of phases using a phase conversion circuit and the like (for example, transform a three-phase signal to a four-phase signal).
In the above, a case was described in which a phase adjuster is used in an encoder, however, the present invention can of course be applied to other devices using a multi-phase signal other than the encoder.
It is noted that the foregoing examples have been provided merely for the purpose of explanation and are in no way to be construed as limiting of the present invention. While the present invention has been described with reference to exemplary embodiments, it is understood that the words which have been used herein are words of description and illustration, rather than words of limitation. Changes may be made, within the purview of the appended claims, as presently stated and as amended, without departing from the scope and spirit of the present invention in its aspects. Although the present invention has been described herein with reference to particular structures, materials and embodiments, the present invention is not intended to be limited to the particulars disclosed herein; rather, the present invention extends to all functionally equivalent structures, methods and uses, such as are within the scope of the appended claims.
The present invention is not limited to the above described embodiments, and various variations and modifications may be possible without departing from the scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
2015-076621 | Apr 2015 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
20120104236 | Thor | May 2012 | A1 |
Number | Date | Country |
---|---|---|
2002-116060 | Apr 2002 | JP |
2002-162253 | Jun 2002 | JP |
Number | Date | Country | |
---|---|---|---|
20160294364 A1 | Oct 2016 | US |