MAGNETICALLY COUPLED KEYSTART SWITCH

Abstract: An apparatus and method for magnetically activating an output signal from a keyswitch (10). The rotation of a keyswitch (10) rotates a magnetic device (15) into a first position. A magnetic sensing device (16) detects the magnetic field created by the magnetic device (15), and transmits a flag signal.

Description: Description MAGNETICALLY COUPLED KEYSTART SWITCH Technical Field This invention relates generally to keystart switches, and more particularly to magnetically coupled keystart switches . Background Art Keystart switches are used in operating machines of all types, such as automobiles, motorcycles, snowmobiles, trucks, and farm, construction and mining equipment . Many of these operating machines do not have an enclosed cab for protecting the operator and control panel from the environment. Instead, the operator and control panel are exposed to the environment . One component of the control panel that is particularly sensitive to environmental conditions is the keyswitch. Conventional keyswitches typically have a lock cylinder and a housing. Upon insertion of an appropriate key, the lock cylinder is rotated, causing an electrical contact on the lock cylinder to make contact with an electrical contact on the housing. This closes a loop, forming a circuit that activates a function. Typical functions activated by a keyswitch in an operating machine are providing power to the accessories (such as lights, radio, power steering, etc.), or engaging the starter motor to crank the engine . Environmental conditions, especially moisture, can cause abnormal operation of conventional keyswitches. Rain can penetrate the keyswitch and short-circuit the electrical contacts, causing the keyswitch to malfunction. A similar short-circuiting can also occur by other physical contaminants, such as some types of dust for example, entering the keyswitch. One attempted solution to this problem is the use of seals around the exposed portions of the keyswitches. However, moisture and other contaminants can still enter the keyswitch via the keyhole. Further, the seals dry out and crack over time, allowing moisture and contaminants to enter through the cracks . Disclosure of the Invention An apparatus and method for magnetically activating an output signal from a keyswitch. The keyswitch includes a housing, a magnetic sensing device, and a moveable body having a magnetic device that generates a magnetic field. The moveable body is disposed at least in part in the housing. The sensing device is disposed within the housing and physically isolated from the magnetic device. The sensing device detects a magnetic field of a predetermined magnitude and produces a flag signal as a function of detecting the magnetic field. The moveable body may receive a key having a first characteristic and rotate to cause the magnetic sensing device to detect the magnetic field from the magnetic device. Brief Description of the Drawings Figure 1A is a cross-sectional view of a keyswitch according to one embodiment of the invention. Figure IB is a top view of a keyswitch according to one embodiment of the invention. Figure 2 is a cross-sectional view of a keyswitch according to another embodiment of the invention. Figure 3 is an exploded view of a keyswitch according to one embodiment of the invention. Figure 4A is one embodiment of an operating machine having the keyswitch of Figure 1. Figure 4B is a front view of one embodiment of the keyswitch of Figure 4A. Best Mode for Carrying Out the Invention Figure 1A is a cross-sectional view of a keyswitch 10 according to one embodiment of the invention. The keyswitch 10 includes a housing 12, a moveable body 14 having a magnetic device 15, and a magnetic sensing device 16. Figure IB is a top view of the keyswitch 10 , The housing 12 encircles the moveable body 14, and from the perspective of an operator, the keyswitch 10 is typically visually indistinguishable from conventional keyswitches. Referring back to Figure 1A, the housing 12 is comprised of a material that may be non-magnetic, such as plastic, ceramic, or an appropriate metal, or more typically, a magnetic material, such as an appropriate metal . The housing 12 includes an aperture 18 that contains at least a part of the moveable body 14. Although Figure 1A shows a portion of the moveable body 14 protruding from the aperture 18, the entire moveable body 14 may also be contained within the aperture 18. Typically the housing 12 is a single, integral piece, but it may also be made of individual pieces fitted together. Further, while two sensing devices 16 are shown in Figure 1A, a single sensing device 16 may be used instead. The magnetic sensing device 16 is located within the aperture 18. The sensing device 16 may be mounted on a board, such as a circuit board 20, that is typically attached to the housing 12. The sensing device 16 may also be directly affixed to the housing 12, including being integrated into the housing 12, or may be mounted by any of a variety of appropriate ways known to those skilled in the art. The sensing device 16 detects magnetic fields created by the magnetic device 15, and generates a flag signal as a function of detecting a magnetic field of a predetermined magnitude. The strength of the magnetic field required to trigger the flag signal may be selected as appropriate. Magnetic sensing devices are typically sensitive to the orientation of the magnetic field. Therefore, the sensing device 16 should be oriented in an appropriate direction to detect the expected magnetic field (as discussed below) . Because the strength of a magnetic field is a function of distance from the source of the field, if the characteristics of the magnetic device 15 are known, the distance of the magnetic device 15 from the sensing device 16 can be determined based on the strength of the magnetic field detected by the sensing device 16. Thus, by setting the strength of the magnetic field needed to be detected by the sensing device 16 m order to generate the flag signal, the distance the magnetic device 15 from the sensing device 16 when the flag signal is generated is also set . In one embodiment, the sensing device 16 generates additional flag signals as a function of respectively detecting a magnetic field of other predetermined strengths. The other predetermined strengths are typically selected to correspond to additional desired positions of the keyswitch 10. Thus, a single sensing device 16 and a single magnetic device 15 can be used to generate multiple flag signals that correspond to respective positions of the magnetic device 15. The sensing device 16 may use a hall effect sensor or hall effect switch to detect magnetic fields. When the hall effect device detects a magnetic field of a predetermined magnitude, the hall effect device produces the flag signal . Alternately, the hall effect device may constantly output the flag signal, but vary the characteristics of the flag signal based on the strength of the detected magnetic field. The flag signal is typically a relatively high voltage, such as V cc , but may also be other voltage levels, such as ground. In another embodiment, the flag signal is a voltage having a magnitude that is proportional to the strength of the detected magnetic field. Additional relationships between the flag signal and the detected magnetic field may also be used. In one embodiment wherein the flag signal corresponds to the strength of the detected magnetic field (e.g., an analog voltage), the sensing device 16 constantly transmits the flag signal, but the flag signal only reaches a threshold state when the magnetic field having the predetermined magnitude is detected. Typically the threshold state triggers an event . The keyswitch 10 may also contain circuitry (not shown) to process the output from the hall effect device into the appropriate flag signal. For example, if the hall effect device produces an analog voltage corresponding to the strength of the magnetic field, as mentioned above, but a discrete flag signal is desired, the circuitry may perform the conversion from one to the other. In another embodiment, the magnetic sensing device 16 uses a magnetic reed switch to detect magnetic fields. When a magnetic field of a predetermined magnitude is applied to the reed switch, the switch closes, causing the flag signal to be transmitted. In another embodiment, the magnetic sensing device 16 uses a magneto-resistor to detect magnetic fields. The resistance of the magneto-resistor changes corresponding to the strength of a magnetic field applied to the magneto-resistor. The flag signal may be generated when the resistance changes to a predetermined value, or may be generated constantly, with the characteristics of the flag signal varying as a function of the resistance. A physical barrier, such as an encapsulant 22, physically isolates the sensing device 16 from the aperture 18 and the magnetic device 15. Thus, any moisture or dust particles entering the aperture 18 will not affect the sensing device 16, thereby preventing the flag signal from being generated inadvertently. Typical encapsulants 22 include various epoxies and Room Temperature Vulcanization (RTV) encapsulants known to those skilled in the art. The encapsulant 22 may also be added to a lower portion 18a of the aperture 18, providing additional protection for the underside of the circuit board 20 and any components in the lower portion 18a of the aperture 18, such as wiring 24, circuitry (not shown) mounted on the underside of the circuit board 20, and pins 26. Figure 2 is a keyswitch according to another embodiment of the invention. A non-encapsulating barrier 28 physically isolates the sensing device 16 from the magnetic device 15. For example, a layer of plastic, resin, or other suitable material known to those skilled in the art may be interposed between the sensing device 16 and the magnetic device 15, or the non-encapsulating barrier 28 may be integrally molded into the housing 12 (as shown) . Typically the non- encapsulating barrier 28 comprises a non-magnetic material to facilitate more accurate detection by the magnetic sensing device 16 of the magnetic fields. The keyswitch 10 functions similarly to what is described above, and will not be repeated. Referring back to Figure 1A, in one embodiment a drain hole 30 extends through the housing 12 and into the aperture 18. The drain hole 30 is typically positioned so that gravity will cause any condensation to exit the housing via the drain hole 30. The location of the drain hole 30 is thus dependent on the mounting orientation of the keyswitch 10. Although only a single drain hole 30 is shown in Figure 1A, additional drain holes may also be used. The moveable body 14 typically includes a lock cylinder 32 and carriage 34. The lock cylinder 32 has a key aperture 36 that is operable to receive a key (not shown) . The magnetic device 15, such as a permanent magnet or electromagnet, is attached to or inserted within the moveable body 14. This may be done in a variety of ways. For example, the magnet may be directly adhered to the lock cylinder 32 via glue, cement, or epoxy. The magnet may also be press- fitted or otherwise adhered with/to the carriage 34, which may also be in turn press-fitted or otherwise adhered with/to the lock cylinder 32. The magnetic device 15 need not be located on a lower face 35 of the carriage 34. For example, it may also be mounted on an upper face 37 of the carriage 34, or a respective outer edge 39, 41 of the carriage 34 or lock cylinder 32. Although the carriage 34 is shown being circular and coupled to an end of the lock cylinder 32, the carriage 34 may have different configurations and be located elsewhere. For example, the carriage 34 may be a toroid (not shown) encircling a mid- portion of the lock cylinder 32. In one embodiment, when a key having first characteristics, e . g. , an etching pattern, matching the lock cylinder 32 is inserted into the key aperture 36, the key may be rotated, causing the lock cylinder 32 and carriage 34, including the attached magnetic device 15, to rotate. Details of the functioning of a lock cylinder 32 are well known to those skilled in the art and have been omitted for the purpose of brevity. The position of the sensing device 16 is selected so the rotation of the magnetic device 15 into a first position, such as an "accessory" position, causes the sensing device 16 to detect a magnetic field of a first predetermined strength. When the sensing device 16 detects the magnetic field of the first strength, the sensing device 16 transmits a first flag signal. The first flag signal may be used, for example, to activate power to accessories of a device (not shown) using the keyswitch 10, such as the lights, radio, etc., of an operating machine (not shown) . When the key is rotated further, the magnetic device 15 rotates into a second position, such as a run position. The position of the sensing device 16 is selected so the rotation of the magnetic device 15 into the second position causes the sensing device 16 to detect a magnetic field of a second predetermined strength. When the sensing device 16 detects a magnetic field of the second strength, the sensing device 16 generates a second flag signal. The second flag signal may be used, for example, to activate power to the ignition system of the operating machine . When the key is rotated further, the magnetic device 15 rotates into a third position, such as a start position. The position of the sensing device 16 is selected so the rotation of the magnetic device 15 into the third position causes the sensing device 16 to detect a magnetic field of a third predetermined strength. When the sensing device 16 detects a magnetic field of the third strength, the sensing device 16 generates a third flag signal. The third flag signal may be used, for example, to activate a starter motor (not shown) on an engine (not shown) of the operating machine. Although three positions and three flag signals have been described above, either a fewer or greater number of positions and/or a fewer or greater number of flag signals may also be used. The magnetic device 15 and sensing device 16 are positioned so that when the lock cylinder 32 is in a baseline position, e . g. , the default non-rotated position when the key is not in the lock cylinder 32, the sensing device 16 does not detect a magnetic field of the of the first, second, or third predetermined magnitudes. Therefore, the sensing device 16 does not generate any of the flag signals. The baseline, first, second, and third positions are thus a function of the rotational path of the magnetic device 15, the strength of the magnetic device 15, and sensitivity of the sensing device 16 (i.e., the strength of magnetic field needed to trigger a flag signal from the sensing device 16) . As mentioned above, the sensing device 16 is sensitive to the orientation of the magnetic field. However, because the orientation of the magnetic device 15 is known (it is fixed within/on the carriage 34) , and the position of the magnetic device 15 when the lock cylinder 32 and carriage 34 are rotated into each position is also known, the sensing device 16 may be placed and oriented appropriately to detect the magnetic field from the magnetic device 15. As discussed above, the sensing device 16 generates a flag signal when the sensing device 16 detects a magnetic field having the appropriate strength. In one embodiment, the flag signal is transmitted from the sensing device 16 to pins 26 of a connector 38 via wiring 24. Some or all wiring 24 may also be integrated into the circuit board 20. In this situation, the connector 38 is typically directly coupled with the circuit board 20 or sensing device 16. In another embodiment, more than one sensing device 16 may be used. The additional sensing devices 16 may detect a magnetic field when the lock cylinder 32 is in an additional position, or may work in conjunction with the first sensing device 16 for redundancy or improved accuracy in detecting the magnetic field when the lock cylinder 32 is in the first, second, or third position. For example, one sensing device 16 for each active position of the keyswitch 10, e . g. , accessory, run, and start, may be used. Figure 3 is an exploded view of a keyswitch 10 according to one embodiment of the invention. The keyswitch 10 functions similarly to what is described above, and will not be repeated in the interest of brevity. Figure 4A is one embodiment of an operating machine, such as a tractor 50, using the keyswitch 10 of Figure 1. The tractor 50 includes an engine 52 having a starter motor 54, a ground engaging traction device such as a track 56, and various accessories, such as a light 58. The keyswitch 10 is coupled with the engine 52 and the light 58 by wires 60. The engine 52 is coupled with the track 56 by any of a variety of ways (not shown) known to those skilled in the art . Figure 4B is a front view of one embodiment of the keyswitch 10. In operation, with the use of an appropriate key (not shown) , the keyswitch 10 may be turned from an OFF position 70 to an accessory position ( "ACC" ) 72. In the ACC position 72, the keyswitch 10 sends a first flag signal that activates power delivery to the light 58 and other accessories (not shown) . The light 58 is typically also controlled by a light switch (not shown) that must also be activated for the light 58 to turn ON. The keyswitch 10 may be further turned from the ACC position 72 to a RUN position 74. In the RUN position 74, the keyswitch 10 sends a second flag signal that activates power delivery to an ignition system (not shown) of the engine 52. The ignition system typically also has other control inputs, such as an engine speed control (not shown) or an accelerator pedal (not shown) . The keyswitch 10 may be further turned from the RUN position 74 to a START position 76. In the START position 76, the keyswitch 10 sends a third flag signal that activates power delivery to the starter motor 54. The functioning of the engine 52 is known to those skilled in the art, and discussion of the generation of a propelling force by the engine 52, and transmission of the force to the propulsion system, such as a ground engaging traction device (e.g. a track 56, a tire) , or propeller or turbine, is omitted in the interest of brevity. Although the operation of the keyswitch 10 has been illustrated with a track-type tractor 50, the keyswitch 10 may also be used with a variety of other operating machines (not shown), such as snowmobiles, motorcycles, boats, personal watercraft, wheeled tractors, bulldozers, pavers, and other construction, farming, or mining equipment. From the foregoing it will be appreciated that although specific embodiments of the invention have been described herein for the purposes of illustration, various modifications may be made without deviating from the spirit and scope of the invention. Accordingly, the invention is not limited except as by the appended claims.

Claims: Claims 1. A keyswitch (10), comprising: a non-magnetic housing (12); a magnetic sensing device (16) disposed within the housing (12) , the sensing device (16) operable to detect a magnetic field of a predetermined strength, and to produce a flag signal as a function of detecting the magnetic field; and a moveable body (14) having a magnetic device (15) that generates a magnetic field, the moveable body (14) disposed at least in part within the housing (12) and physically isolated from the magnetic sensing device (16), the moveable body (14) operable to receive a key having a first characteristic and to rotate to a first position to cause the magnetic sensing device (16) to detect the magnetic field from the magnetic device (15) . 2. The keyswitch (10) of claim 1 wherein the flag signal comprises a relatively high voltage. 3. The keyswitch (10) of claim 1 wherein the flag signal comprises a voltage having a magnitude that is a function of the strength of the detected magnetic field. 4. The keyswitch (10) of claim 3 wherein the voltage increases as the strength of the magnetic field increases and decreases as the strength of the magnetic field decreases. 5. The keyswitch (10) of claim 1 wherein the magnetic device (15) comprises a permanent magnet. 6. The keyswitch (10) of claim 1 wherein the magnetic sensing device (16) comprises a hall effect sensor. 7. The keyswitch (10) of claim 1 wherein the magnetic sensing device (16) comprises a hall effect switch. 8. The keyswitch (10) of claim 1 wherein the magnetic sensing device (16) comprises a magnetic reed switch. 9. The keyswitch (10) of claim 1 wherein the magnetic sensing device (16) comprises a magneto- resistor. 10. The keyswitch (10) of claim 1 wherein the moveable body (14) comprises: a lock cylinder (32) , the lock cylinder (32) having a key aperture (36) configured to receive the key having the first characteristic, the lock cylinder (32) operable to rotate to the first position when the key is placed in the key aperture (36) ; and a magnetic device (15) coupled with the lock cylinder (32) . 11. The keyswitch (10) of claim 10, further comprising a carriage (34) coupled with the lock cylinder (32) and operable to rotate with the lock cylinder (32) , the magnetic device (15) being coupled with the lock cylinder (32) via the carriage (34) . 12. The keyswitch (10) of claim 11 wherein the carriage (34) is generally circular in shape. 13. The keyswitch (10) of claim 11 wherein the magnetic device (15) is press-fitted with the carriage (34) . 14. The keyswitch (10) of claim 11 wherein the magnetic device (15) is coupled with the carriage (34) by an adhesive. 15. The keyswitch (10) of claim 11 wherein the carriage (34) is press-fitted with the lock cylinder (32) . 16. The keyswitch (10) of claim 1 wherein the magnetic sensing device (16) is encapsulated by an encapsulant (22) , the encapsulant (22) physically isolating the magnetic sensing device (16) from the magnetic device (15) . 17. The keyswitch (10) of claim 16 wherein the encapsulant (22) comprises at least one of an epoxy based encapsulant and an RTV based encapsulant . 18. The keyswitch (10) of claim 1 wherein the magnetic sensing device (16) is physically isolated from the moveable body (14) by at least one of a potting agent, a resin, a plastic, and a nonmagnetic metal. 19. The keyswitch (10) of claim 1, further comprising a second magnetic sensing device (16) disposed within the housing (12), the second sensing device operable to detect a magnetic field of a predetermined strength and to produce a second flag signal as a function of detecting the magnetic field, the moveable body (14) being further operable to rotate to a second position to cause the second magnetic sensing device (16) to detect the magnetic field from the magnetic device (15) . 20. The keyswitch (10) of claim 1 wherein the sensing device (16) is further operable to detect a magnetic field of a second predetermined strength and to produce a second flag signal as a function of detecting the magnetic field of the second predetermined strength, the moveable body (14) being further operable to rotate to a second position to cause the magnetic sensing device (16) to detect the magnetic field of the second predetermined strength. 21. The keyswitch (10) of claim 1, further comprising a second magnetic device (15) disposed within the housing (12), the second sensing device (16) operable to detect the magnetic field from the magnetic device (15) when the moveable body (14) is in the first position and to produce a second flag signal as a function of detecting the magnetic field. 22. The keyswitch (10) of claim 1 wherein the housing (12) includes a first aperture (18) having a wall, the moveable body (14) being disposed at least in part within the first aperture (30) , and the housing (12) further includes an intersecting aperture (30) extending through a side of the housing (12) and the wall of the first aperture (18) to an exterior of the housing. 23. The keyswitch (10) of claim 1 further comprising a circuit board (20) disposed within the housing (12), the magnetic sensing device (16) being coupled with the circuit board (20) . 24. The keyswitch (10) of claim 1, further comprising a connector (38) coupled with the housing (12), and coupled with the magnetic sensing device (16) to receive the flag signal, the connector (38) having an electrical contact to transmit the flag signal . 25. The keyswitch (10) of claim 1 wherein the housing (12) comprises: an upper section; and a lower section coupled with the upper section. 26. The keyswitch (10) of claim 25 wherein the lower section is press-fitted with the upper section. 27. An operating machine (50), comprising: a keyswitch (10), comprising: a non-magnetic housing (12) ; a magnetic sensing device (16) disposed within the housing (12) , the sensing device (16) operable to detect a magnetic field of a predetermined strength, and to produce a flag signal as a function of detecting the magnetic field; and a moveable body (14) having a magnetic device (15) that generates a magnetic field, the moveable body (14) disposed at least in part within the housing (12) and physically isolated from the magnetic sensing device (16) , the moveable body (14) operable to receive a key having a first characteristic and to rotate to a first position to cause the magnetic sensing device (16) to detect the magnetic field from the magnetic device (15) ; and an engine (52) coupled to the keyswitch (10) to receive the flag signal, the engine (52) operable to be activated as a function of receiving the flag signal, and operable to generate a propelling force as a function of being activated. 28. The operating machine (50) of claim 27 wherein the flag signal comprises a relatively high voltage . 29. The operating machine (50) of claim 27 wherein the magnetic sensing device (15) comprises a hall effect sensor. 30. The operating machine (50) of claim 27 wherein the magnetic sensing device (16) comprises a hall effect switch. 31. The operating machine (50) of claim 27 wherein the magnetic sensing device (16) comprises a magnetic reed switch. 32. The operating machine (50) of claim 27 wherein the magnetic sensing device (16) comprises a magne o-resistor. 33. The operating machine (50) of claim 27 wherein the moveable body (14) comprises: a lock cylinder (32) , the lock cylinder (32) having a key aperture (36) configured to receive the key having the first characteristic, the lock cylinder (32) operable to rotate to the first position when the key is placed in the key aperture (36) ; and a magnetic device (15) coupled with the lock cylinder (32) . 34. The operating machine (50) of claim 27 wherein the magnetic sensing device (15) is encapsulated by an encapsulant (22), the encapsulant (22) physically isolating the magnetic sensing device (16) from the magnetic device (15) . 35. The operating machine (50) of claim 27, further comprising a ground engaging traction device (56) coupled with the engine (52) to receive the propelling force, the ground engaging traction device (56) operable to propel the operating machine (50) as a function of receiving the propelling force. 36. A method for generating an activation signal using a keyswitch (10) having a housing (12) and a lock cylinder (32), comprising: displacing a magnetic field into a predetermined area in response to rotation of a key within the lock cylinder (32) ; sensing a magnetic field within the predetermined area of the keyswitch housing (12); and generating a flag signal in response to sensing the magnetic field within the predetermined area . 37. The method of claim 36, further comprising: sensing a magnetic field within a second predetermined area of the keyswitch housing (12); and generating a second flag signal in response to sensing the magnetic field within the second predetermined area. 38. The method of claim 36 wherein displacing a magnetic field comprises moving a magnetic device (15) .

Inventors: RECTOR STEPHEN W, RECTOR, STEPHEN, W.
Applicants: CATERPILLAR INC, CATERPILLAR INC.
Application year: 2000
Main classification: H01H36
IPC codes: H01H27, H01H36, H03K17