DETERMINING A ROTATIONAL DIRECTION OF A RESOLVER
20210143716 · 2021-05-13
Inventors
Cpc classification
H02K24/00
ELECTRICITY
G05B19/404
PHYSICS
G01D5/2073
PHYSICS
G01P13/04
PHYSICS
G01D5/204
PHYSICS
International classification
H02K24/00
ELECTRICITY
Abstract
Provided are embodiments for a circuit including a resolver having a primary winding and a set of secondary windings, wherein the resolver has a resolver shaft, and a polarity detection circuit coupled to the resolver. The circuit can also include 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 the output of the synchronizer circuit. Also provided are embodiments of a method for determining the resolver rotation direction using non-analog means.
Claims
1. A circuit comprising: a resolver comprising 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 the output of the synchronizer circuit.
2. The circuit of claim 1, further comprising a polarity detection circuit, wherein the polarity detection circuit further comprises a first comparator circuit, a second comparator, and a third comparator.
3. The circuit of claim 1, further comprising a synchronizer circuit, wherein the synchronizer circuit comprises a first circuit, second circuit, and a third circuit
4. The circuit of claim 1, wherein synchronizer circuit comprises 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.
5. The circuit of claim 1, further comprising a synchronization clock generation circuit coupled to the synchronizer circuit.
6. The circuit of claim 5, wherein the synchronization clock generation circuit is configured to provide a clock signal to the synchronizer circuit at a configurable threshold.
7. The circuit of claim 6, wherein the synchronization clock generation circuit comprises a rectifier, a filter and a comparator to configure a threshold to trigger the clock signal.
8. The circuit of claim 3, further comprising a reset circuit configured to initialize the synchronizer circuit.
9. The circuit of claim 1, wherein the controller is configured to determine an under-speed condition or a non-rotation condition.
10. A system comprising: 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.
11. The system of claim 10 wherein the inputs from the resolver include an excitation voltage, a SIN voltage, and COS voltage.
12. The system of claim 10, wherein the quadrant logic includes an AND gate corresponding to a respective quadrant, wherein an output of each AND gate is provided to the direction logic.
13. The system of claim 10, wherein the direction logic comprises a first flip flop, a second flip flop, and a third flip flop, wherein the first flip flop is initialized at a first quadrant.
14. The system of claim 10, further comprising a controller configured to produce one pulses per revolution from the direction logic to be used to determine a speed of the resolver.
15. The system of claim 13, wherein the second flip flop is used to determine a clockwise rotation of the resolver when the resolver transitions from a current quadrant to a next quadrant.
16. The system of claim 13, wherein the third flip flop is used to determine a counter-clockwise rotation of the resolver when the resolver transitions from a current quadrant to a previous quadrant.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The following descriptions should not be considered limiting in any way. With reference to the accompanying drawings, like elements are numbered alike:
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
DETAILED DESCRIPTION
[0029] 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.
[0030]
[0031] Now referring to
[0032] 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.
[0033] 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).
[0034]
[0035]
[0036] 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.
[0037] The synchronization clock generation circuit 410 includes flip flops 426, 428, and 430. The flip flops 426, 428, and 430 are JK flip flops but is 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 JK flip flop includes inputs J and K and a clock signal input. The JK flip flop can also include a Set (S) and Reset (R) signal. The JK flip flop provides an output Q and an output that is the inverse of Q. A synchronization clock signal is used to synchronize the voltage signals from the polarity detection circuit 406.
[0038] 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.
[0039] Each of the flip flops 426, 428, and 430 receive the corresponding signal from the comparators 420, 422, and 424 and stores the input until a clock signal is received from the synchronization clock generation circuit 410. In the arrangement shown in
[0040] 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 of the synchronizer circuit 408 to a known state prior to the operation of the resolver.
[0041]
[0042] 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.
[0043] 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.
[0044] 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.
[0045] 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
[0046]
[0047] The Inverter inverts the input to the invertor. For example, a logic HI input signal will output a logic LO signal and vice-versa.
[0048] The first_quad signal from the first AND Gate 1 is provided to the clock input and the J 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.
[0049] The second_quad signal from the second AND Gate 2 is provided to the clock input of the flip flop 640 and 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 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.
[0050] The direction logic 620 includes flips flops 630, 640, and 650. The “Q” output of the first flip 630 is coupled to the input of flip flops 640 and 650. This indicates the first state is in the first quadrant. If the second flip flop 640 output 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 third flip flop 650 output 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.
[0051] The output AND Gate 4 is provided to an OR GATE 2 and can reset the flip flops 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.
[0052] 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
[0053]
[0054] 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.
[0055] 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.
[0056] 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.
[0057] 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.
[0058] 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.
[0059] 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.