Background
The present invention generally relates to rotational control apparatus, particularly to rotational control apparatus for informationally relating and, at times connecting with particular position registration an output to an input, at least one of which is rotating, and in the preferred form shown, with a single position registration between the input and output, and specifically to rotational control apparatus for connecting an output to an input, at least one of which is continuously rotating, and also for allowing overload protection.
U.S. Pat. No. 4,770,281 discloses an overload apparatus of the ball-detent type which has achieved considerable commercial success and which provides crisp, repeatable disengagement at a preset torque level which is a linear function of the applied air pressure. After a disengagement, however, the input to the overload apparatus must be completely stopped and the overload apparatus manually engaged before the driven machinery can be restarted. This presently requires time and human intervention in addition to requiring the machine to be shut down. Serious difficulties can arise from shutting down a machine. For example, the output to be connected will typically have significant inertia and must again be accelerated to "linespeed" in such a way that avoids damage to either the output load, the drive power source, or the specific torque overload apparatus being used. Although it would be possible (as is often done) to accelerate the output load to proper speed with an auxiliary drive, the problem of locating correct relative angular position remains and also the overload apparatus cannot be engaged without damage until such registry is located. Furthermore, locating the necessary relative rotational position can be time consuming since typical inertial values may require differential speeds on the order of one RPM or less so as to avoid interface damage at engagement of the overload apparatus. Hunting for registry at one relative RPM or less can obviously take 60 seconds or more with the potentiality of a miss, after which the apparatus would again be subjected to an additional 60 seconds or more of seek/search time.
Thus, a need exists for apparatus having the ability to connect or disconnect a load to or from a source of rotational power which is rotating at a speed, now preferably in the range of 15 to 3,600 RPM, while at the same time providing position registration and/or information, and in the most preferred form which provides position registration at a single rotational position. Additionally, a need exists for such an apparatus which can provide overload protection of the output.
Summary
The present invention solves these needs and other problems in the field of rotation control by providing, in the preferred form, apparatus and method for connecting an output to an input at select rotational positions while the input continues to rotate without stopping. Particularly, the input and output are initially rotatably related by a first rotational control apparatus independent of the relative rotational positions of the input and output such as by a friction clutch. The rotational positions of the input and output are separately detected such as by the use of encoders each including a codewheel having peripheral, evenly spaced slots which rotate past first and second slotted optical switches. In response to the relative rotational positions of the input and output, a second rotational control apparatus is actuated by a controller when the input and the output are aligned in the select rotational position.
In other aspects of the present invention, overload protection is provided by the second rotational control apparatus, with actuation of the first rotational control apparatus being removed when the second rotational control apparatus is actuated and actuation of the second rotational control apparatus being removed when relative rotation of the input and output is detected from the select rotational position.
In preferred aspects of the present invention, actuation of the rotational control apparatus is by fluid pressure, with the controller electronically controlling valves for the fluid pressure.
The present invention will become clearer in light of the following detailed description of an illustrative embodiment of this invention described in connection with the drawings.
Description of the Drawings
The illustrative embodiment may best be described by reference to the accompanying drawings where:
FIG. 1 shows a diagrammatic view of a device for connecting and disconnecting a rotatable output to and from a rotatable input for transferring rotational motion between the input and the output and while at least one of the input and output are continuously rotating according to the preferred teachings of the present invention.
FIG. 2 shows a further diagrammatic view of the device of FIG. 1 including a block diagram of the electronic controls therefor.
FIG. 3 shows electronic wave forms of the device of FIGS. 1 and 2.
FIG. 4 shows a side view of a codewheel and slotted optical switches of an encoder of the device of FIGS. 1 and 2.
FIG. 5 shows a schematic/diagrammatic view of the device of FIGS. 1 and 2.
FIG. 6 shows a block diagram of the device of FIGS. 1 and 2.
All figures are drawn for ease of explanation of the basic teachings of the present invention only; the extensions of the Figures with respect to number, position, relationship, and dimensions of the parts to form the preferred embodiment will be explained or will be within the skill of the art after the following teachings of the present invention have been read and understood. Further, the exact dimensions and dimensional proportions to conform to specific force, weight, strength, and similar requirements will likewise be within the skill of the art after the following teachings of the present invention have been read and understood.
Where used in the various figures of the drawings, the same numerals designate the same or similar parts. Furthermore, when the terms "first", "second", "end", "side", "radial", "circumferential", "clockwise", "counter-clockwise", and similar terms are used herein, it should be understood that these terms have reference only to the structure shown in the drawings as it would appear to a person viewing the drawings and are utilized only to facilitate describing the invention.
Description
Device or apparatus for connecting and disconnecting an output load to or from an input source, at least one or both of which are continuously rotating, while at the same time providing position registration and/or information and also overload protection according to the preferred teachings of the present invention is shown in the drawings and generally designated 10. Device 10, in a preferred embodiment, generally includes a friction clutch 12 of any conventional design such as the type shown and described in U.S. Pat. No. 3,497,046. Device 10, in a preferred embodiment, further includes an overload apparatus 14 of any conventional design such as the type shown and described in U.S. Pat. No. 4,770,281. In the most preferred form, apparatus 14 provides rotational position registration, such as a single position registration. Clutch 12 and apparatus 14 are connected in parallel as diagrammatically shown in FIG. 1, in a preferred embodiment, such that either or both may transmit rotational power from a source or input 16 to a load or output 18. One arrangement of clutch 12 and overload apparatus 14 is shown in FIG. 2 wherein clutch 12 and overload apparatus 14 are mounted on a through shaft which comprises output 18. The output sides of clutch 12 and overload apparatus 14 are then rotatably related and rotate with the through shaft comprising output 18 whereas the input sides of clutch 12 and overload apparatus 14 which are connected together are rotatably mounted relative to the through shaft comprising output 18. The input sides of clutch 12 and overload apparatus 14 are then rotated by a timing belt drive or other positive displacement power transmission device such as but not limited to a chain drive which comprises input 16. However, it can be appreciated that the through shaft could comprise input 16 and the belt or other drive comprises output 18, if desired.
It can then be appreciated that clutch 12 is able to selectively rotatably relate input 16 to output 18 independent of the relative rotational positions and speeds of input 16 and output 18 at engagement or actuation whereas overload apparatus 14 can only selectively rotatably relate input 16 to output 18 only when input 16 and output 18 are rotating at relatively the same speeds and only at select rotational positions of input 16 relative to output 18 such as at a single rotational position of engagement or actuation which in conventional use is when input 16 and output 18 are both stopped.
Device 10 further includes provisions 20, in a preferred embodiment, such as an optical shaft encoder for detecting the angular position of input 16 and also provisions 22, in a preferred embodiment, for detecting the angular position of output 18. Device 10, in a preferred embodiment, further includes valves 24 and 26 which are electrically controlled for supplying compressed fluid such as air to clutch 12 and also to overload apparatus 14, respectively, at pressures which can be adjusted by the operator.
Device 10, in a preferred embodiment, further includes a microcomputer-based electronic controller 580 which receives digital signals from each of encoders 20 and 22 and receives input commands from the operator or another control system, and sends commands to valves 24 and 26.
Each encoder 20 and 22, in a preferred embodiment, consists of first slotted optical switches 502 and 504, and second slotted optical switches 503 and 505 and a codewheel 500 and 501, respectively. Codewheels 500 and 501 are manufactured parts and may be of plastic, metal, etc., in the preferred embodiment, and in the most preferred form described include 64 evenly spaced slots at their optical circumference. Slotted optical switches 502-505 are mounted appropriately with respect to each codewheel 500 and 501. Slotted switches 502-505 used in the preferred embodiment are manufactured by Optek Technology and are type OPB930W55.
Each encoder 20 and 22 translates rotary motion into a two-channel digital output. Slotted optical switches 502-505 are aligned with codewheels 500 and 501 such that, when rotating clockwise, a point on codewheel 500 or 501 first passes the slotted optical switch 502 or 504 and then slotted optical switch 503 or 505, respectively. Furthermore, in a preferred embodiment, the digital output of switch 502 or 504 is in quadrature with switch 503 or 505 (90 electrical degrees out of phase) as shown in FIG. 3. The quadrature output is necessary, in a preferred embodiment, if microcomputer controller 580 is to determine the direction of rotation of the individual codewheels 500 and 501 of encoders 20 and 22. For examples as shown in FIGS. 3 and 5 for clockwise (positive) rotation, switch 502 or 504 leads switch 503 or 505 by 90 electrical degrees. Similarly as shown in FIGS. 3 and 5 for counter-clockwise (negative) rotation, switch 503 or 505 leads switch 502 or 504. In the preferred form, slotted optical switches 502-505 are of the non-inverting type--that is, they output a logical 1 when a slot of codewheel 500 or 501 passes through the aperture and also have a built-in Schmitt trigger circuit to provide hysteresis for stability and low-level noise rejection.
Quadrature decoding of the signals coming from slotted optical switches 502-505 of encoders 20 and 22 is performed entirely by microcomputer controller 580. The decoding approach multiplies the resolution of the input signals by a factor of four, thus providing 256 counts per revolution from codewheel 500 or 501 having 64 slots. One count corresponds to an angular displacement of approximately 1.4.degree., which is presently sufficient resolution for device 10 according to the preferred teachings of the present invention. Of course, higher or lower resolution is within the skill of the art once the teachings of the present invention have been read and understood. However, the ability to represent angular position with a single byte (8 bits) has obvious computational advantages.
Optical switches 502-505 are connected by their respective output wires, designated 512, 517, 522, and 527 in FIG. 5 to the remaining logic of the diagrammatic/schematic of FIG. 5. For example, optical switches 502-505 are connected to logic gates 534, 535, 536, and 537, each of which form one-quarter of a logic gate designated MM74HC266A as manufactured by National Semiconductor.
Encoders 502-505 are configured so that a slot in output codewheels 500 and 501 is a logical one. Optical switches 502-505 and gates 534-537 are further interconnected with microcomputer controller 580. Microcomputer controller 580, in the preferred embodiment, is a single-chip microcomputer and in the preferred form an Intel 87C51.
Microcomputer controller 580 is further interconnected with further logic gates 600, 601, 602, 603, 604, and 605 which function as lamp drivers for indicator lamps 620, 621, 622, 623, 624, and 626, respectively. Logic gates 600-605 each form one-sixth of MM74HC14 manufactured by National Semiconductor.
Logic gates 600-605 are further connected through one kilohm resistors 611, 612, 613, 614, and 615 to indicator lamps 620, 621, 622, 623, 624, and 626.
Indicator 620 indicates the condition of overload apparatus 14, with the lamp on indicating engagement. Indicator 621, when lit, indicates that a disengagement of overload apparatus 14 has occurred as the result of an overload condition. Indicator 622 signifies an input encoder fault. Indicator 623 signifies an output encoder fault. Indicator 624 signifies a drag fault on overload apparatus 14. Indicator 626 signifies a clutch-engage time-out condition.
Further connected to microcomputer controller 580 are switches 625 and 630. Switch 625 is a momentary, normally off switch. Switch 625 is pushed once every time the electronics are energized to provide information to the system as to the zero location, as will be further explained. Switch 630 is a toggle switch which may be thrown to engage clutch 12 of the preferred embodiment of the present invention. Of course, switches 625 and 630, among other parts, may be replaced by logical inputs to the system of the present invention.
Optional hexadecimal display 650 is also provided as an output to microcomputer controller 580. Hexadecimal display 650 is an HDSP-0762 manufactured by Hewlett Packard. Display 650 can display the position of the balls of overload apparatus 14 with respect to its detents. Also connected to microcomputer controller 580 are two further logic gates 680 and 681 which further connect to indicators 685 and 686 through one kilohm resistors 689 and 690, respectively. Indicator 685 is configured to provide a "clutch on" representation. Indicator 686 is configured to provide an "overload apparatus on" representation.
Further interconnected with microcomputer controller 580 is driver 710. Driver 710 is a type DS3669 as manufactured by National Semiconductor. Driver 710 is interconnected with a further indicator 712 through a 150 ohm resistor 714 to provide an indication that clutch 12 is in a "ready" condition.
All indicators are type HLMP-K150 as manufactured by Hewlett Packard except for "ready" indicator 712 which is green, not red, and is Hewlett Packard HLMP-1523.
Various electrical connections are provided to appropriate power, including 510, 511, 515, 520, 521, and 525. Various electrical connections are also provided between parts, including 513, 516, 523, and 526. Also, various electrical connections are provided to electrical ground, including 514, 518, 519, 524, 528, and 529.
The signals from slotted optical switches 502-505 enter microcomputer controller 580 in the preferred form of Intel 87C51 single-chip microcomputer by means of the Port 1 pins and the external interrupt pins NOT INT0 and NOT INT1. The present states of slotted optical switches 502-505 are read by pins P1.0, P1.2, P1.4, and P1.6. The past states of slotted optical switches 502-505 are output by pins P1.1, P1.3, P1.5, and P1.7. Each input signal along with its corresponding past value is fed to the two inputs of one of exclusive-NOR gates 534-537. Exclusive-NOR gates 534-537 act as equality detectors and output a logical 1 only when the two inputs are at the same logic level--in other words, as long as the present state of the appropriate slotted optical switch 502-505 is equal to its past state. Exclusive-NOR gates 534-537 in the preferred form of MM74HC266A made by National Semiconductor have open drain outputs which cannot source current; they can only sink current. By connecting the outputs of exclusive-NOR gates 534-535 together and 536-537 together and adding 10K pullup resistors 538 and 539, a wire-0R function is achieved. In this manner, the signals from exclusive-NOR gates 534 and 535 for input codewheel 500 are combined and connected to external interrupt NOT INT0, while the signals from exclusive-NOR gates 536 and 537 for output codewheel 501 are combined and connected to external interrupt NOT INT1.
The external interrupts are programmed to be edge-sensitive; that is, an interrupt is generated when a 1-to-0 transition (a falling edge) is detected at one of the external interrupt pins. There are two interrupt service routines in the system that process external interrupts. One routine decodes signals from the input encoder (NOT INT0), and the other decodes signals from the output encoder (NOT INT1). These interrupt service routines increment (add 1 to) or decrement (subtract 1 from) an 8-bit position counter read by display 650 (called THETA in microcomputer controller 580) that keeps track of the position of the balls with respect to the detents of overload apparatus 14. The interrupt service routines also control the pins that output the past states of slotted optical switches 502-505. Initially, the past state of each slotted optical switch 502-505 is set equal to its present state. In this condition, the NOT INT0 and NOT INT1 pins are both held at a logic 1 and no external interrupts are generated. Now, if any of the slotted optical switches 502-505 change logic states, an interrupt will be generated. When the appropriate interrupt service routine is vectored to, it examines the Port 1 data to determine which channel made the transition, whether it was a rising edge or a falling edge, and what logic state the remaining channel is in. If the state transition is valid, position counter 650 is either incremented or decremented, depending on the Port 1 data. In addition, the past state of the appropriate slotted optical switch 502-505 is set equal to its present state, thereby returning the appropriate interrupt pin to a logic 1.
To maintain the integrity of position counter 650, short duration noise spikes are rejected and illegal state transitions are detected and flagged as encoder faults. When input codewheel 500 rotates clockwise one count, position counter 650 is incremented. When the input codewheel 500 rotates counter-clockwise one count, position counter 650 is decremented. When output codewheel 501 rotates clockwise one count, position counter 650 is decremented. When output codewheel 501 rotates counter-clockwise one count, position counter 650 is incremented. All of these events happen quite rapidly. For example, when the engaged overload apparatus 14 is rotating at 1,800 RPM, microcomputer controller 580 must process 15,360 interrupts per second.
The method of position sensing just described is an incremental system. Without additional information, it cannot measure absolute position, only changes in absolute position. At some point microcomputer controller 580 needs to be told where home position is. After that, it will always know the position of the balls with respect to the detents of overload apparatus 14 as long as the electronics, including slotted optical switches 502-505, remain powered up. To do this, the operator must manually engage overload apparatus 14 and then press zero switch 625. Notice that device 10 does not need to know the absolute position of the input and output codewheels 500 and 501, only their position relative to each other.
when device 10 receives an engage command, as from switch 630, it must first debounce the signal and make sure that it is a valid command and not just noise. To do this, microcomputer controller 580 waits approximately 1/15 second to make sure that the command is still active. During this time, it also computes the differential speed and the direction of rotation. If the differential speed is less than 14.3 RPM, microcomputer controller 580 assumes that overload apparatus 14 is essentially at rest and applies air pressure to it without engaging clutch 12. Overload apparatus 14 may then be manually engaged so that the home-position can be set by pressing zero switch 625. zero switch 625 only needs to be pressed when the electronics of device 10 are first powered up or when the home position has been lost because of an encoder fault. If the differential speed is greater than 14.3 RPM and the home position has been set, microcomputer controller 580 applies air pressure to clutch 12 and enters a digital control loop. If the home position has not been set or has been lost, the engage command is ignored.
The digital control loop operates as follows. Every time position counter 650 advances one count (increments if the balls of overload apparatus 14 are moving clockwise with respect to the detents, decrements if the balls of overload apparatus 14 are moving counter-clockwise with respect to the detents), microcomputer controller 580 compares the actual angular velocity of the balls with respect to the detents to the desired angular velocity from a velocity profile stored in a look-up table in program memory. The velocity profile represents the desired angular velocity, as a function of angular position, for the final revolution of clutch slipping. If the actual velocity is greater than the desired velocity, microcomputer controller 580 opens valve 24 of clutch 12. If the actual velocity is less than the desired velocity, microcomputer controller 580 closes valve 24 of clutch 12. Angular velocity is expressed in terms of the time interval, in microseconds, between successive transitions of position counter 650. The desired velocity profile is based on a constant angular acceleration of -1 rev/sec.sup.2 until the velocity drops to 1/16 rev/sec (3.75 RPM) at an angular position 16 counts (1/16 rev) from the home position. The velocity is then held constant at 3.75 RPM until 2 counts before reaching the home position. At this point, if the actual velocity does not exceed 14.3 RPM, valve 26 of overload apparatus 14 is opened and valve 24 of clutch 12 is closed. After a 0.25 second delay to allow the balls to settle in the detents of overload apparatus 14, overload apparatus 14 should be engaged and microcomputer controller 580 begins looking for an overload. Microcomputer controller 580 does this by constantly monitoring position counter 650 to make sure it does not fall outside an error band centered on the home position. If it does, microcomputer controller 580 exhausts the air from overload apparatus 14 and turns on overload indicator 621.
To operate device 10 of the present invention, certain procedures are of course desirable. For example, it has been explained that switch 625 of FIG. 5 is pushed once to set the zero position of overload apparatus 14. Similarly, toggle switch 630 of FIG. 5 is moved from an "on" position for engagement to a "off" position for disengagement. When an "off" to "on" transition is detected by microcomputer controller 580, it waits approximately 1/15 second to debounce the signal and compute the magnitude and direction of the differential speed. If the differential speed is less than 14.3 RPM, in the preferred form microcomputer controller 580 will apply air pressure through the controlling valve 26 for overload apparatus 14 without engaging clutch 12. Overload apparatus 14 may then be manually engaged. If the differential speed is greater than 14.3 RPM, microcomputer controller 580 opens clutch valve 24 and then pulse width modulates the clutch pressure during the final revolution of clutch slipping so as to control the relative velocity of the balls of overload apparatus 14 as they approach the detents, i.e. home position. At 1/128 revolution before reaching the home position, microcomputer controller 580 applies air pressure to overload apparatus 14 through valve 26 and the air pressure is exhausted from clutch 12. At this point, overload apparatus 14 should be engaged properly. The engagement sequence may be aborted at any time by moving toggle switch 630 to the "off" position.
Next, the zero command may be actuated. This command tells microcomputer controller 580 that overload apparatus 14 is engaged. It is used to set the home position after device 10 has been powered-up, and it is activated by the operator or logic device only after overload apparatus 14 has been properly engaged. The zero command is given by pressing switch 625. As long as device 10 is powered-up, microcomputer controller 580 will know the position of the balls of overload apparatus 14 with respect to the detents. During normal operation (differential speed greater than 14.3 RPM in the preferred form), the zero command as provided by switch 625 may be ignored.
Next, overload sensitivity may be set by engaging or disengaging switch 631 shown in FIG. 5. When pin P0.2 on microcomputer controller 580 is grounded with a jumper wire, the low sensitivity setting is selected. When the jumper wire is removed, the high sensitivity setting is selected. Use of the high sensitivity setting is desirable unless nuisance trip-outs occur.
Next, the ready indicator light, indicator light 712 on FIG. 5, must be on before device 10 is ready to receive an engage command from switch 630. In order for the ready indicator lamp 712 to be lit, the following must be true. First, no fault lamps may be lit. Fault lamps are such as 621, 622, 623, and 624. Next, toggle switch 630 must be in the disengage position. Last, the home position must be set, as previously described. When these three conditions exist, the ready indicator light 712 will indicate green.
Next, overload apparatus 14 status indicator 620 should be investigated. Indicator lamp 620 is lit whenever overload apparatus 14 is engaged. This means that the balls are seated in the detents, not just that air pressure is being applied to overload apparatus 14.
Lamp 621 is lit whenever there has been a disengagement of overload apparatus 14 as the result of an overload condition. The overload condition is cleared by moving toggle switch 630 to the disengage position and re-engaging toggle switch 630.
Indicator 685 is lit whenever valve 24 associated with clutch 12 is turned on. During the final revolution of clutch slipping, indicator 685 will flash on and off as the pulse width of microcomputer controller 580 modulates the clutch pressure.
Overload apparatus 14 limiter valve indicator 686 is lit whenever valve 26 associated with overload apparatus 14 is turned on. Indicator 686 being lit does not necessarily mean that overload apparatus 14 is engaged.
Indicator 622 is lit when microcomputer controller 580 detects an illegal state transition in the quadrature signals coming from codewheels 500 and 501 of slotted optical switches 502-505. This fault indicates a serious hardware problem, such as a damaged or misaligned slotted optical switch, dirt or other obstruction in the gap of a slotted optical switch 502-505, a damaged codewheel 500 or 501, or a faulty electrical connection between slotted optical switches 502-505 and microcomputer controller 580. Unfortunately, it is impossible for microcomputer controller 580 to detect every type of encoder error that could possibly occur, and certain encoder errors may be interpreted as an overload by microcomputer controller 580. The encoders have, however, been found to be very reliable. If an encoder fault does occur, it cannot be cleared simply by moving toggle switch 630 to the disengage position because the home position may have been lost. The operator must stop device 10, manually engage overload apparatus 14, set the home position again by pressing switch 625, and restart device 10.
Output encoder fault indicator 623 is lit when microcomputer controller 580 detects an illegal state transition in the quadrature signals coming from output codewheel slotted optical switches 504 and 505.
Drag fault indicator 624 is lit when, in the manual engagement mode with air pressure applied to overload apparatus 14, the differential speed in either direction of rotation exceeds 14.3 RPM in the preferred form. This feature protects overload apparatus 14 from ratcheting and provides overload protection even if overload apparatus 14 is disengaged and the home position has not been set. This fault is cleared by moving toggle switch 630 to the disengage position and re-engaging.
Clutch engagement time-out fault indicator 625 is lit if overload apparatus 14 has failed to engage after 16.7 seconds of clutch slipping in the preferred form. This feature protects clutch 12 from overheating as a result of excessive slipping caused by malfunction, a leak in the air line to clutch 12, or the pressure regulator of valve 24 for clutch 12 being set too low for the load. This fault is cleared by moving toggle switch 630 from the engage to the disengage position and re-engaging.
If any of the above faults occur, microcomputer controller 580 will immediately disconnect output 18 from input 16 by exhausting the air from both of valves 24 and 26 for clutch 12 and overload apparatus 14. This exhausting of air will occur even if toggle switch 630 is still in the engage position.
One preferred method of operating device 10 of the present invention may now be explained. First, after insuring that all is wired properly according to the Figures, it is recommended that the DC power be applied to device 10 which will light all of the indicator lamps except for lamps 685 and 686. Display 650 will display FF. If a valid reset has occurred, all of the indicator lamps will then turn off and the display will show 00.
The next step is to set the home position. To do this, first set overload apparatus 14 regulator to an appropriate pressure so overload apparatus 14 can be rotated by hand while air is applied. Then toggle switch 630 may be moved to the engage position. Overload status indicator lamp 620 should light, and you should hear a loud click as overload apparatus 14 valve 26 opens and air enters overload apparatus 14. Now, with air pressure applied to overload apparatus 14, slowly rotate input 16 with respect to output 18 until the balls drop into the detents. If you rotate too fast, you will trigger an overload drag fault, indicator 624 will become lit, and the air will be exhausted from overload apparatus 14. If this happens, move toggle switch 630 to the disengage position and back to the engage position, then resume the search for the home position. Once you have found the home position, and with toggle switch 630 still in the engage position, press switch 625, the zero position button. At this point, indicator 626 will light. If toggle switch 630 is then moved to the disengage position, overload status indicator 620 and overload valve indicator 686 will both turn off, and green ready indicator 712 will light. If toggle switch 630 is then moved to the disengage position, overload apparatus 14 status indicator 620 and overload valve indicator 686 will both turn off and green ready indicator 712 will turn on. With overload apparatus 14 engaged, it should be possible to rotate output 18 one full revolution in either direction without triggering an overload. If this test fails, it is best to reset the home position by again manually engaging overload apparatus 14 and pressing momentary switch 625. When the test is passed, device 10 is ready for operation and will require no further adjustments as long as power is maintained.
The reason the home position must sometimes be reset during installation is as follows. Inside microcomputer controller 580 there is an 8-bit register used as a position counter and read by display 650. This register keeps track of the angular position of the balls with respect to the detents with a resolution of 1 part in 256. In theory, the position counter should always be equal to zero as long as overload apparatus 14 is engaged. However, for this to be true, both codewheels 500 and 501 would have to be perfect. Since these requirements are difficult if not impossible to achieve, it has been found that position counter 650 is equal to zero plus or minus one count as engaged overload apparatus 14 is rotated. Now, when overload apparatus 14 is engaged and the home position has been set, microcomputer controller 580 constantly monitors position counter 650 to make sure it is always equal to zero plus or minus some tolerances. For high sensitivity settings, this tolerance is equal to plus or minus one count; for low sensitivity settings, this tolerance is equal to plus or minus two counts; for the high sensitivity setting, position counter 650 must always be equal to 255, 0, or 1 (the error band) because, if it is not, microcomputer controller 580 thinks the balls are starting to roll out of the detents and interrupts the sequence as an overload condition.
Position counter 650 must be at the midpoint of the error band at the moment zero set switch 625 is pressed. This may be explained as follows. Suppose that when zero set switch 625 is pressed, codewheels 500 and 501 just happen to be oriented so that position counter 650 is not at the center of the error band. When engaged overload apparatus 14 is then rotated, position counter 650 is going to read either 0 plus 2 counts or 0 minus 2 counts, depending on which end of the error band exists when zero set switch 625 was pressed. To microcomputer controller 580, this will appear to be an overload condition. Clearly, for proper operation, position counter 650 must be at the midpoint of the error band at the moment zero set switch 625 is pressed. The better the encoder, the more likely this is to occur.
In FIG. 6 a block diagram of the overall approach of the electronics according to the present invention may be explained. In this Figure, initialization block 100 assures that device 10 is in a preset state before beginning. With respect to the previous figures, initialization block 100 assures that valve 24 of clutch 12 causes clutch 12 to be disengaged; and valve 26 of overload apparatus 14 assures that overload apparatus 14 is disengaged. In the preferred embodiment, device 10 assures that there is no air applied to clutch 12 or overload apparatus 14.
Further, the initialization stage clears the home status position flag in the electronics to clearly indicate that the home position is not yet known.
The initialization stage also turns off all of the indicator lamps, in the preferred embodiment.
The initialization stage also configures all timers and establishes the interrupt priorities. The initialization stage then configures the interrupts and enables the interrupts.
The initialization stage also sets the past states of slotted optical switches 502-505 equal to their present states.
After that, the initialization stage waits for the disengage command, and will not proceed until a disengage command is received. The disengage command is received from switch 630 or its logical equivalent. This "wait" stage is a safety feature which prevents device 10 from starting up unexpectedly if, for example, a live shaft exists at input 16 when the electronics is powered-up. With this safety feature, device 10 will not engage either clutch 12 or overload apparatus 14 until the operator or other control device has gone to a disengage position and then to an engage position. The event that triggers start-up of device 10 is a transition from the disengage state to the engage state, a conscious, purposeful action.
After the system is initialized, the states of clutch 12 and overload apparatus 14 are detected by detection block 102. Detection block 102 constantly monitors the position of the balls of overload apparatus 14 with respect to its detents. Detection block 102 accomplishes this through the codewheels 500 and 501 in connection with their associated electronics, as previously explained. Detection block 102 monitors device 10, as previously explained in connection with the explanation of how to operate device 10.
Detection block 102 then provides a signal to engagement block 104 to engage overload apparatus 14 and clutch 12 of the preferred embodiment of the present invention in a manner also previously described.
Detection block 102 also provides a signal to feedback block 106 which also interrelates with engagement block 104 to engage or disengage overload apparatus 14 and/or clutch 12 in a manner hereinbefore explained.
Of course, operator/logic control block 108 is in control of the entire operation and may contain as little as switch 630 of FIG. 5.
FIG. 6 is exemplary of the overall operation of the system of the present invention and its most basic, block diagram form to merely illustrate the functional blocks associated with the explanation previously given.
Lastly, object code for microcomputer controller 580 follows and those skilled in the art will be aware of the use of this object code listing.
Thus since the invention disclosed herein may be embodied in other specific forms without departing from the spirit or general characteristics thereof, some of which forms have been indicated, the embodiments described herein are to be considered in all respects illustrative and not restrictive. The scope of the invention is to be indicated by the appended claims, rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are intended to be embraced therein.