Exemplary embodiments pertain to the art of resolvers and more specifically to determining the resolver rotation direction using non-analog means. The resolver direction and speed may be used as, but not limited to, a precision method of determining rotational velocity that is superior to existing methods.
A resolver is a special type of rotary transformer that couples the voltage from an input (primary) winding into two output (secondary) windings, where a magnitude of the voltage varies as a function of angular position. The device includes a rotor attached to a shaft that moves with a load and a stator that remains stationary. The rotor includes a primary winding, and the stator includes two secondary windings that are angularly offset with respect to one another by 90°. Conventional methods of determining the clockwise or counter-clockwise rotational direction of the shaft angle is to use trigonometric math on the secondary windings (sine and cosine windings) to calculate shaft angle, and then subtract the current angle from the previous angle.
According to an embodiment, a circuit having a resolver including a primary winding and a set of secondary windings, wherein the resolver has a resolver shaft; a polarity detection circuit coupled to the resolver; a synchronizer circuit coupled to the polarity detection circuit, wherein the synchronizer circuit synchronizes signals from the positive polarity detection circuit; and a controller configured to determine a direction of the resolver shaft using an output of the synchronizer circuit.
In addition to one or more of the features described herein, or as an alternative, further embodiments include a polarity detection circuit, wherein the polarity detection circuit further comprises a first comparator circuit, a second comparator, and a third comparator.
In addition to one or more of the features described herein, or as an alternative, further embodiments include a synchronizer circuit, wherein the synchronizer circuit comprises a first circuit, second circuit, and a third circuit
In addition to one or more of the features described herein, or as an alternative, further embodiments include a synchronizer circuit including a first flip flop, a second flip flop and a third flip flop corresponding to the first comparator circuit, a second comparator, and a third comparator of the polarity detection circuit.
In addition to one or more of the features described herein, or as an alternative, further embodiments include a synchronization clock generation circuit that is coupled to the synchronizer circuit.
In addition to one or more of the features described herein, or as an alternative, further embodiments include a synchronization clock generation circuit that is configured to provide a clock signal to the synchronizer circuit at a configurable threshold.
In addition to one or more of the features described herein, or as an alternative, further embodiments include a synchronization clock generation circuit that includes a rectifier, a filter and a comparator to configure a threshold to trigger the clock signal.
In addition to one or more of the features described herein, or as an alternative, further embodiments include a reset circuit that is configured to initialize the synchronizer circuit.
In addition to one or more of the features described herein, or as an alternative, further embodiments include a controller that is configured to determine an under-speed condition or a non-rotation condition.
According to another embodiment, a system including a quadrant logic configured to receive inputs from a resolver and determine a position of a shaft of the resolver; a direction logic coupled to the quadrant logic, the direction logic configured to determine a direction of the resolver; and a timing logic module configured to determine a time-out period.
In addition to one or more of the features described herein, or as an alternative, further embodiments include inputs from the resolver including an excitation voltage, a SIN voltage, and COS voltage.
In addition to one or more of the features described herein, or as an alternative, further embodiments include a quadrant logic that includes an AND gate corresponding to a respective quadrant, wherein an output of each AND gate is provided to the direction logic.
In addition to one or more of the features described herein, or as an alternative, further embodiments include a direction logic that includes a first flip flop, a second flip flop, and a third flip flop, wherein the first flip flop is initialized at a first quadrant.
In addition to one or more of the features described herein, or as an alternative, further embodiments include a controller that is configured to produce one pulses per revolution from the direction logic to be used to determine a speed of the resolver.
In addition to one or more of the features described herein, or as an alternative, further embodiments include a second flip flop that is used to determine a clockwise rotation of the resolver when the resolver transitions from a current quadrant to a next quadrant.
In addition to one or more of the features described herein, or as an alternative, further embodiments include a third flip flop that is used to determine a counter-clockwise rotation of the resolver when the resolver transitions from a current quadrant to a previous quadrant.
Technical effects of embodiments of the present disclosure include determining the rotational direction of the resolver by detecting the quadrant the resolver transitions to.
The foregoing features and elements may be combined in various combinations without exclusivity, unless expressly indicated otherwise. These features and elements as well as the operation thereof will become more apparent in light of the following description and the accompanying drawings. It should be understood, however, that the following description and drawings are intended to be illustrative and explanatory in nature and non-limiting.
The following descriptions should not be considered limiting in any way. With reference to the accompanying drawings, like elements are numbered alike:
The techniques described herein provide a method for using the resolver as a tachometer. Conventional techniques that are used to extract the velocity (speed and direction) from the resolver uses the first derivative of the resolver shaft position which is subject to noise issues that are associated with rate-of-change measurements of the resolver.
Now referring to
Block 220 determines whether the resolver 100 has transitioned to from the first quadrant to the second quadrant. If yes, the method 200 proceeds to block 240 and it is determined that the resolver 100 is rotating in a clockwise direction. Otherwise, at block 230, if it is determined the resolver 100 has transitioned from the first quadrant to the fourth quadrant, block 250 determines the resolver 100 is rotating in the counter-clockwise direction. However, if the method 200 from block 210 proceeds to block 260 there has been no transition out of the first quadrant within a configurable time period. At block 270, it is declared the resolver 100 is rotating too slowly or there is no rotation. The method 200 can return to block 210 to continue monitoring the resolver 100.
It should be understood the resolver 100 is initialized to the first quadrant for illustrative purposes. The resolver 100 can be configured to determine the rotational direction by initializing the resolver 100 to any of the four quadrants and tracking whether the transition is in the clockwise or counter clockwise direction by determining the previous quadrant or the next quadrant the resolver is operating in using the techniques that are described herein. It should be understood that for illustrative purposes clockwise is defined as a transition from the first quadrant (0 to 90 mechanical degrees) to the second quadrant (90 to 180 mechanical degrees), and counter-clockwise is defined as a transition from the first quadrant to the fourth quadrant (270 to 0 or 360 mechanical degrees).
The outputs from the comparators 420, 422, and 424 of the positive polarity detection circuit 406 are coupled to the synchronizer circuit 408 to align the output signals from the positive polarity detection circuit 406. A phase-shift (time delay) is caused by the physical architecture of the resolver 402 and its windings.
The synchronization clock generation circuit 410 includes flip flops 426, 428, and 430. The flip flops 426, 428, and 430 are D flip flops but it should be understood that any other type of flip flop or storage device can be used to perform the synchronization of the signals from the positive polarity detection circuit 406. The D flip flop includes a D input and a clock signal input. The D flip flop can also include a Set (S) and Reset (R) signal. The D flip flop provides an output Q. A synchronization clock signal (sync_clk) from the synchronization clock generation circuit 410 is used to synchronize the voltage signals from the polarity detection circuit 406.
It should be understood that the VSIN and VCOS voltages of practical resolvers have a phase-shift (time lag) that is relative to the VEXC voltage which is typically between the phase shifts 10 to 30 degrees. This phase-shift, if not accounted for, can cause the circuitry to produce erroneous quadrant detection. Therefore, a synchronization technique such as that described herein is required to determine the angular quadrant the resolver shaft is in.
Each of the flip flops 426, 428, and 430 receive the corresponding signal from the comparators 420, 422, and 424 and store the input until a the synchronization clock signal (sync_clk) is received from the synchronization clock generation circuit 410. In the arrangement shown in
The flip flops 426, 428, and 430 are also coupled to and receive a Power on Reset (POR) signal from a POR circuit 412. In one or more embodiments, the POR circuit 412 is used to initialize the flip flops 426, 428, and 430 of the synchronizer circuit 408 to a known state prior to the operation of the resolver.
The first waveform VEXC represents the excitation voltage and the EXC_POS waveform indicates when the EXC_POS is HI and LO. The SYNC_CLK waveform indicates when the clock signal is triggered on the rising edge of the VEXC waveform is 95% of the peak excitation voltage.
The VSIN waveform as shown has a time delay and is phase shifted, where the phase shift is due to the physics of a practical resolver. Therefore, the SIN_POS waveform does not become HI for a period of time (Phase shift #1) representative of the delay.
The VCOS waveform also experiences a delay (phase shift #2), where the phase shift is due to the physics of a practical resolver, and the VCOS_POS waveform does not change for a period time.
The inputs EXC_POS, SIN_POS, and COS_POS are presented to the inputs of the corresponding flip flops and are synchronized using the clock signal. The synchronized signals EXC_POS_SYNC, SIN_POS_SYNC, and COS_POS_SYNC are shown as being aligned and are output of the corresponding flip flops. The outputs of the flip flops 426, 428, and 430 are processed by the Controller 660
The Inverter inverts the input to the Invertor. For example, a logic HI input signal will output a logic LO signal and a logic LO signal will output a logic HI signal.
The first_quad signal from the first AND Gate 1 is provided to the clock input, and the D input of the flip flop 630 is initialized to the HI state to track transitions from the first quadrant. It should be understood that another quadrant can be initialized to determine the rotational direction of the resolver.
The second_quad signal from the second AND Gate 2 is provided to the clock input of the flip flop 640, and the “Q” output of the flip flop 630 is provided as an input to the D input of the flip flop 640. If the “Q” output of flip flop 640 transitions from LO to HI a clockwise rotation is determined. The fourth_quad signal from the AND Gate 3 is provided to the clock input of the flip flop 650, and the “Q” output of the flip flop 630 is provided as an input to the D input of the flip flop 650. If the “Q” output of flip flop 650 transitions from LO to HI a counter-clockwise rotation is determined. The third_quad signal provided from the AND Gate 4 is used to reset the flip flops 630, 640, and 650 (flip flop “Q” outputs set to LO) so the process of determining quadrant transitions can repeat with every full rotation of the resolver shaft.
The direction logic 620 includes flips flops 630, 640, and 650. The “Q” output of the first flip flop 630 is coupled to the D input of flip flops 640 and 650. This indicates the first state is in the first quadrant. If the Q output of the second flip flop 640 transitions from LO to HI, the output indicates the resolver is operating in a clockwise direction because the direction is from the first quadrant to the second quadrant. If the Q output of the third flip flop 650 transitions from LO to HI, the output indicates the resolver is operating in a counter clockwise direction because the direction is from the first quadrant to the fourth quadrant.
The output of AND Gate 4 is provided to an OR GATE 2 and can reset the flip flops 630, 640, and 650 of the direction logic 620. In one or more embodiments, the OR GATE 1 receives an output from the flip flop 640 and the flip flop 650 and produces a single pulse for each full revolution of the resolver shaft. The OR gate is a logic gate that will produce a logic HI output if any of its inputs is HI. If each of the inputs to the OR gate are LO, the output of the OR gate is LO. This pulse can be used to determine the rotational speed of the resolver shaft by a number of common methods.
The circuit 600 also includes a TIMER1 which produces an under-speed logic output if the rotational speed of the shaft of the resolver falls below the period of TIMER1. The circuit 600 also includes a logic edge coupling circuit 690 that is configured to permit an underspeed indication in the event the resolver happens to stop in the second or fourth quadrant. The time-out period of the TIMER1 is based on the slowest allowable rotation speed of the resolver. If the TIMER1 does not receive a HI pulse from the OR gate, indicating a clockwise transition or a counter-clockwise transition, an under-speed signal is produced. A controller 660 can be configured to receive the signals and produce one-pulse-per revolution based on the signals. The speed can then be determined by translating the pulses using one or more circuits or processes (not shown). It should be understood that a different combination of logic elements can be used and the configuration shown in
The technical effects and benefits eliminate the noise-prone rate-of-change method used to determine the resolver speed. Additionally, the complexity of calculating the instantaneous angle using traditional trigonometric methods that employ the analog values of the sin voltage and cosine voltage is eliminated. The techniques described do not require rate-of-change information and can generate a pulse for each revolution of the resolver shaft which can be used to determine the speed of the resolver.
As described above, embodiments can be in the form of processor-implemented processes and devices for practicing those processes, such as a processor. Embodiments can also be in the form of computer program code containing instructions embodied in tangible media, such as network cloud storage, SD cards, flash drives, floppy diskettes, CD ROMs, hard drives, or any other computer-readable storage medium, wherein, when the computer program code is loaded into and executed by a computer, the computer becomes a device for practicing the embodiments. Embodiments can also be in the form of computer program code, for example, whether stored in a storage medium, loaded into and/or executed by a computer, or transmitted over some transmission medium, loaded into and/or executed by a computer, or transmitted over some transmission medium, such as over electrical wiring or cabling, through fiber optics, or via electromagnetic radiation, wherein, when the computer program code is loaded into an executed by a computer, the computer becomes an device for practicing the embodiments. When implemented on a general-purpose microprocessor, the computer program code segments configure the microprocessor to create specific logic circuits.
A detailed description of one or more embodiments of the disclosed apparatus and method are presented herein by way of exemplification and not limitation with reference to the Figures.
The term “about” is intended to include the degree of error associated with measurement of the particular quantity based upon the equipment available at the time of filing the application.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the present disclosure. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, element components, and/or groups thereof.
While the present disclosure has been described with reference to an exemplary embodiment or embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the present disclosure. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the present disclosure without departing from the essential scope thereof. Therefore, it is intended that the present disclosure not be limited to the particular embodiment disclosed as the best mode contemplated for carrying out this present disclosure, but that the present disclosure will include all embodiments falling within the scope of the claims.
Number | Date | Country | |
---|---|---|---|
Parent | 16680560 | Nov 2019 | US |
Child | 16787315 | US |