1460884987-098584aa-d105-46a6-b7c2-77626cb66c28

1. A method for determining the rotational position of a drive shaft of a commutated direct current (DC) motor as a function of the number of current ripples contained in an armature current signal of the motor as the motor drives the drive shaft, the method comprising:
digitally sampling at sampling time points the armature current signal of the motor as the motor drives a drive shaft;
generating a digitally sampled armature current signal value at each sampling time point;
storing each digitally sampled armature current signal value in memory as the digitally sampled armature current signal values are generated;
comparing the magnitude of the digitally sampled armature current signal value corresponding to a current sampling time point and the magnitudes of selected ones of the digitally sampled armature current signal values corresponding to previous sampling time points in a time interval containing the current and previous sampling time points;
generating a rising slope detection signal if the comparison is indicative of an increasing tendency in the magnitudes of the digitally sampled armature current signal values over the time interval, the rising slope detection signal being indicative of a rising current ripple slope; and
generating a falling slope detection signal if the comparison is indicative of a decreasing tendency in the magnitudes of the digitally sampled armature current signal values over the time interval, the falling slope detection signal being indicative of a falling current ripple slope.
2. The method of claim 1 wherein:
a rising slope detection signal is generated if the magnitudes of the compared digitally sampled armature current signal values monotonically increase over the time interval; and
a falling slope detection signal is generated if the magnitudes of the compared digitally sampled armature current signal values monotonically decrease over the time interval.
3. The method of claim 1 wherein:
the step of comparing includes conducting a second usability test of the magnitudes of the compared digitally sampled armature current signal values if the compared magnitudes have a non-monotonic tendency.
4. The method of claim 3 wherein:
conducting the second usability test includes disregarding at least one of the digitally sampled armature current signal values corresponding to the previous sampling time points from the comparison.
5. The method of claim 3 wherein:
conducting the second usability test includes statistically evaluating the digitally sampled armature current signal values at the current and previous sampling time points to determine whether the magnitudes of adjacently sampled armature current signal values have either an increasing or decreasing tendency, and determining whether the compared digitally sampled armature current signal values have an overall non-uniform monotonic tendency based on the frequency of determined increasing and decreasing tendencies.
6. The method of claim 1 further comprising:
examining each preceding generated slope detection signal within a given time period to determine its tendency; and
determining whether there is an overall rising or falling tendency within the given time period based on the frequency of the tendencies determined from the examination.
7. The method of claim 1 further comprising:
varying the time interval as a function of the operating state of the motor.
8. The method of claim 1 further comprising:
subjecting a generated slope detection signal to a plausibility check.
9. The method of claim 1 further comprising:
generating a current ripple signal if rising and falling slope detection signals are generated one after the other in a given time period.
10. The method of claim 9 further comprising:
counting the generated current ripple signals; and
determining the rotational position of the drive shaft based on the counted amount of current ripple signals.
11. The method of claim 9 further comprising:
generating a double current ripple signal if a second pair of rising and falling slope detection signals are generated one after the other in the given time period, the double current ripple signal being indicative of a double current ripple.
12. The method of claim 11 further comprising:
counting the generated current ripple signals and counting the generated double current ripple signals;
subtracting the count of double current ripple signals from the count of current ripple signals to determine a corrected current ripple signal count; and
determining the rotational position of the drive shaft based on the corrected current ripple signal count.

The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.

1. A right angle head for contour machining a work piece using a CNC machining center having a tool head provided with a drive spindle and performing machining operations about orthogonal A and B rotational axes, comprising:
a first head portion releasably mounted on the tool head;
a second head portion mounted for rotation on the first head portion;
a right angle drive assembly for rotating a machining tool about a C-axis, the right angle drive assembly being fixed to and rotatable with the second head portion about a contour axis orthogonal to the C-axis; and,
a locating connection carried on the first head portion for locating the rotational position of the tool about the contour axis in a reference coordinate system used by the machining center.
2. The right angle head of claim 1, wherein the locating connection includes at least one pin fixed to the first head portion and removably received within the tool head for fixing the relative angular position of the first head portion and the tool head.
3. The right angle head of claim 1, wherein the locating connection includes a plurality of circumferentially spaced apart pins extending between the first head portion and the tool head for fixing the angular position of the first head portion relative to the tool head.
4. The right angle head of claim 1, including at least one drive motor controlled by the machining center and carried on the first head portion for rotating the second head portion about the contour axis.
5. The right angle head of claim 4, including a rotary encoder for providing signals to the machining center representing the rotational position of the second head portion.
6. The right angle head of claim 1, including a source of power carried on the first head portion for powering the machine tool.
7. The right angle head of claim 1, wherein the right angle drive assembly includes a drive connection releasably coupled to and driven by the drive spindle.
8. A right angle contour machining head for use with a CNC machining center having a tool head for carrying a machining tool, and performing machining operations about orthogonal A and B rotational axes, comprising:
a tool rotatable about a C-axis orthogonal to the A and B axes, for performing contour machining of a work piece;
a rotatable mounting assembly releasably mounted on the tool head, for rotating the tool about a contour axis; and
a drive motor carried on the mounting assembly for powering the machining tool.
9. The machining head of claim 8, wherein the contour axis and the C-axis are orthogonal to each other.
10. The machining head of claim 8, wherein the mounting assembly includes a first portion releasably attached to the tool head, and a second portion rotatable relative to the first portion about the contour axis.
11. The machining head of claim 10, including a right angle drive assembly carried on and rotatable with the second portion of the mounting assembly, the right angle drive assembly being connected between the tool and the drive motor, and translating mechanical drive force from the contour axis to the C-axis.
12. The machining head of claim 10 including a second motor connected between the first and second mounting assembly portions for rotating the second portion relative to the first portion, thereby rotating the tool about the contour axis.
13. The machining head of claim 12, wherein the drive motor and the second motor are connected with and receive control signals from the machining center.
14. The machine head of claim 8, including a device for producing electronic signals indicating the rotational position of the tool about the contour axis.
15. For use with a computer controlled machining center having a tool head and operable for performing machining operations about A and B rotational axes, a removable machining head for performing machining operations about a rotational C-axis, comprising:
a mounting assembly having a first portion releasably connected to the tool head and a second portion mounted on the first portion for rotation about a contour axis;
a right angle drive assembly fixed to and rotatable with the second portion of the mounting assembly;
a work piece machining tool driven by the right angle drive assembly for rotation about the C-axis, and rotatable with the second mounting assembly portion about the contour axis so as to produce nutational motion of the machine tool relative to the motion of the tool head; and,
a source of power connected to the right angle drive assembly for driving the machine tool.
16. The removable machining head of claim 15, including a drive motor carried on the mounting assembly for driving the second portion to rotate about the contour axis, the drive motor being coupled with and controlled by the machining center.
17. The removable machining head of claim 16, wherein the drive motor delivers signals to the machining center indicating the rotational position of the tool about the contour axis.
18. The removable machining head of claim 15, including a drive motor carried on the mounting assembly for powering the tool.
19. The removable machining head of claim 15, including a locating connection between the mounting assembly and the tool head restricting mounting of the machining head to a single position.
20. The removable machining center of claim 15, wherein the source of power is a rotating spindle on the tool head.