1. Field of Invention
The present invention relates to switching devices. In particular, the present invention provides a programmable contactless switching device that is particularly well suited for use in elevator systems.
2. Description of Related Art
Push-button switches and rotary lever operated switches are common in many different systems. For example, elevator systems employ numerous push-button switches, as well as rotary, key operated switches. Typically, each elevator landing area employs hall call push-buttons. Each elevator car also employs a plurality of push-buttons for allowing passengers to select those floors at which the car should stop and key operated rotary switches for use by elevator service personnel and fire departments. Both the push-buttons and the rotary switches in the prior art employ mechanical contacts. For example, conventional push-buttons typically use standard mechanically operated micro-switches, having mechanical electrical contacts. Usually, the push-buttons contain one or more fixed contacts and a movable conducting bridge that moves as the push button moves, so that when the push button is depressed, the bridge electrically connects or disconnects the fixed contacts to form a closed or opened electrical circuit. Electrical wires connect the push-buttons and the rotary switches to an elevator controller. By opening or closing an electrical circuit, the switches generate signals that can be interpreted by the controller. One shortcoming of these mechanical contact switches is that, over time, the contacts and moving bridge elements wear and can malfunction. For example, push-buttons often get stuck in a closed or opened position and there is no reliable method for determining when a push-button switch needs maintenance.
The present invention provides contactless programmable switching devices. These devices are particularly well-suited for use in elevator systems but may be used in other application that require switching devices. A programmable push-button device according to the present invention comprises a push-button element having an outer surface that an elevator passenger can press with a finger. The push-button element is linearly displaceable between at least a first and second position and is biased toward the first position so that when displaced to the second position it returns to the first position. A magnet is mounted on push-button element. A Hall Effect transducer is located in line with the linear displacement direction of the push-button element. The Hall Effect transducer is located such that when the push-button element is depressed, the magnet moves closer to (or farther away) from the transducer. The Hall Effect transducer is connected to a programmable microprocessor. The microprocessor is capable of being programmed with a unique address. A communication interface for linking the microprocessor to a central computer, such as for example an elevator controller, is connected to the microprocessor.
The present invention may also be employed in a rotary switch. In one embodiment, a plurality of magnets are mounted on a rotatable disk with at least two having their polarities oriented in different directions. A plurality of Hall Effect transducers are located on a surface parallel to the disk. When the rotatable disk is in a first position a first set of the magnets is adjacent to the Hall Effect transducers. As the disk rotates, a second set of magnets, some of which have their polarities oriented differently than those in the first set, becomes aligned over the Hall Effect transducers. The transducers are connected to a microprocessor that can detect changes in the Hall Effect voltages in the transducers. In this embodiment, the switch cannot be activated by placing an external magnet near the device.
As is shown in
The microprocessor 25 is configured to determine when the push-button element 2 is depressed. A button press is defined as a step change in the magnetic field measured over a brief period of time. The period of time and the size of the step change are parameters that may be programmed. Thus, these parameter can be optimized for each application of a given push-button device.
The microprocessor 25 preferably has a One Time Programmable (“OTP”) memory. The sequence of operations that the microprocessor 25 is programmed to perform are stored in a memory. During initial program development, it may be advantageous to use devices with Erasable Programmable Read Only Memory (“EPROM”). Software can be tested and the memory can be erased and reprogrammed to allow for changes that typically become necessary during software development. Typically, EPROM devices may be erased by exposing them to Ultraviolet (“UV”) radiation. To accommodate exposure to UV radiation, many erasable devices contain quartz windows through which the UV radiation may pass. These “windowed” devices are relatively expensive, as a ceramic case is required to bond the quartz window. Once the software has been developed and fully tested, a less expensive microprocessor—one not having a window—may be used. The microprocessor 25 preferably does not contain a window to permit UV radiation to erase the memory; hence it is a OTP memory device.
The microprocessor 25 may be programmed to read operational parameters from tables at predefined locations within the OTP. The microprocessor 25 may be externally programmed via a programming device 33. The programming device 33 may be an integral part of the push-button 1 or may be externally connected to the push-button 1. The OTP memory of the microprocessor 25 may be reprogrammed a limited number of times and is not, therefore, only programmable once. For example, if the sample rate is a number from 1 to 255 and is stored as a byte in a table beginning at memory address 106 and the program is told the table of entries is 20 entries long, the initial value is programmed at location 106 and the remainder of the table from 107 to 125 is left in the erased state, having all ones. At a later point in time, the device may be reprogrammed to change the sample rate stored at location 106 to 0 and a new sample rate stored at location 107. The software would use the first non 0 value found in the table starting at 106 and continuing through 125. This would permit reusing the device 20 times with different sample rates, even though an OTP memory microprocessor is used.
Preferably, but not necessarily, the microprocessor 25 is capable of being programmed after it is soldered to a circuit board. This allows for the manufacturing of generic push-button devices that can later be programmed for specific uses. The microprocessor 25 should also allow for the changing of some or all parameters after initial programming. For example, the rate at which the microprocessor 25 looks at the Hall Effect transducer 15 to determine the magnet position may be increased or decreased to handle short or slow button presses more efficiently. This scan rate can be read from a table stored in the microprocessor's program space. The program memory starts out with all bits programmed as a 1. When the device is programmed, the 1 bits are changed to 0. To change the scan rate, the memory location currently in use is programmed to all 0's and the next location is programmed to the new value. The microprocessor continues to read until a non 0 value is returned. The non 0 value is then used to determine the new scan rate.
The microprocessor 25 may use an averaging algorithm to compensate for changes in quiescent Hall Voltage readings that result from inexact placement of the magnet 10 and/or Hall Effect transducer 15; variations in magnet field strength, which result from, among other things, variations in the magnet manufacturing process; and other environmental changes, such as changing temperature. The averaging algorithm may be a running averages algorithm. At each start up, a new average is accumulated for the transducer. The average is used as a start-up quiescent value. As time goes on, a running average is maintained, and the running average is used to update the quiescent value.
The running averaging algorithm may operate as follows. The running average is set to zero each time the processor starts. The Hall Effect voltage is averaged over a pre-selected minimum number of samples. Eight samples is usually satisfactory, but the minimum number of samples may be higher or lower. If the minimum number of samples needed to generate an average is 8, the average will not be valid until the first eight samples are collected. As a ninth sample is collected, the running average is reduced by one eighth, and one eighth of the ninth sample is added to the running average. As a tenth sample is collected, the running average is reduced by one eighth, and one eighth of the tenth sample is added to the running average. This process continues so long as the microprocessor 25 is running. The running average will reflect slow changes in the value caused by environmental factors. This running average will be used as the quiescent value and will be compared to a current transducer reading to watch for a step change from the running average. A step change, will signal a button push. If the button is jammed into a position part-way through the range of travel, the running average will take on a new value and still be able to detect a button push when a step change from this new running average occurs. For example, if a vandal jambs a button in a depressed position, the running average will be updated and the partially depressed position will become the new quiescent state. If there is any button travel remaining, subsequent button pushes will be reported normally. The button may also report reduced functionality to the controller so as to indicate when maintenance is needed.
The microprocessor 25 may also be interfaced with a communications interface 32 and a feedback device 28 that provides feedback to the button operator. The feedback device 28 might take the form of LEDs that illuminate or might produce an audio signal. The feedback device 28 can either be incorporated into the button of the present invention or may be an external device.
As is shown in
The button 1 of the present invention may be programmed with a unique identification, or, alternatively, the system may assign unique identification to each push-button 1 in the system. As is shown in
One advantage of having the system automatically assign unique addresses is that each push-button may be manufactured as an identical device and switches in an elevator system may be readily replaced with new components. The new push-buttons would not need to be reprogrammed prior to installation. After new push-buttons are installed in an elevator system, the system may be powered up or a reset command sent by the controller. The push-buttons wait for a command to assign them their unique addresses. The address switch in each push-button defaults to open on power-up or upon receiving the reset command. This breaks the address wire connection from one push-button to the next on the address wire. As all of the push-buttons are in a reset state, they will respond to directed commands if the incoming address wire is high. Thus, if the incoming address wire is high and a push-button is in a reset state and the command is an address command, then that push-button will be assigned the address in the address command. After that push-button receives its address, the address switch closes and the next push-button is ready to receive its address. The controller can thus assign unique addresses to all devices on the bus in order along the address wire. This feature allows the system to recover when a device is replaced or a power on or reset sequence is executed.
Communication on the bus 40 may take the form as shown in FIG. 4. Each device on the bus 40 is operating on a time base. There does not need to be synchronization between the devices. When one device changes state, the other devices on the bus 40 detect the change. The change is detected by sampling the bus 40 at periodic intervals. Bit Time (“Bt”) is the time each bit will be present on the bus. It is dependent on the number of devices in the system and on how often they must be polled. As is shown in
Transmission of packets along the bus may occur as follows: A transmitting device on the bus raises the bus to a high state for one bit or lowers the bus to a zero state for a zero bit, for one Bt time period. A receiving device samples the bus three times during each Bt time period. The receiving device watches for the first transition on the bus from a one to a zero, which marks the leading edge of a Start bit. Once the edge of the Start bit is located, the receiving device remembers this, and, if at the next sample, the bus is still a low state, the receiving device assumes that the transmitting device is in the middle of sending a Start bit. Three samples later, the value detected by the receiving device will be the value of the 0 bit. The value detected another three samples later, is the value of bit 1, and so on until the Stop bit is reached. If the Stop bit value is not a one, the packet will be discarded and the receiving device will wait until the bus is in the high state for two Bt times (6 samples in this embodiment) and the process for detecting a Start bit will be repeated.
A Start bit is considered valid if it is detected at two subsequent sample times. Once it is determined that the Start bit is valid, collection of data bits may commence. Subsequent data bits are sampled a Bt time after a valid Start bit is detected. Sampling preferably occurs as near the center of the Bt time as practical. After the controller 45 sends data to a button, the controller 45 waits for some time for a response. The response time will vary depending upon the Bt time and the clock rate on the microprocessor 25.
Table 1 below represents some possible combinations of polling rates, Bt time, number of packets exchanged and the number of devices on a bus.
The larger the Bt time, the less expensive the push-button microprocessor 25 and associated components. As noted above, if bit 8 is not set, the packet is a data packet. If bit 8 is set, the packet is an address/command packet. Table 2 below represents command packets for 8 devices. The device address is in bits 0-2 (address's 0-7). If bit 8 and bit 3 are set, this is a global packet destined for all push-buttons in the system. The global command is represented in bits 4-8. If additional data is required, the address packet may be extended to more than one packet.
Global commands will not elicit a response from a button. Direct commands to a specific button will always have a response to confirm that the button is active and functioning properly. The button will respond with one or more packets of data. Because the system will typically be a half duplex system, no two devices can send information at the same time. One device sends and the other receives. After the information is received, the other device may then send information in the form of a response.
The button can be illuminated to provide visual feedback to the operator that the button press has been recognized. When the button microprocessor 25 recognizes a button press it lights the visual feedback and reports the button press to the controller 45 at the next poll period. To overcome the possibility of noise causing an invalid button press signal, the button press is reported on the next poll as well. The controller 45 only recognizes a valid button press if it is sensed on two subsequent polls. The controller 45 sends a command to the push-button on the next poll to tell the button to maintain the illumination. If the controller 45 fails to tell the button to maintain the illumination, the button microprocessor 25 times out and turns off the illumination providing visual feedback to the operator that the controller 45 has not accepted the button press.
In some embodiments, it may be desirable to install a sound making device on the same bus as the push-buttons and controller. The sound making device may comprise a microprocessor, a sound chip (ISD 149PLG), a speaker, and/or indicating lights. The sound chip stores recorded sounds in an internal non-volatile memory. The microprocessor 25 communicates on the bus as in the same manner as the push-buttons and gets its unique address in the same manner as the push-buttons. The controller commands a specific Sound device at a specific address to play a specific sound. This sound may be a recording of a gong, which indicates an elevator has arrived or it may be a recorded voice saying “going down.” The controller may command the device to play a recording saying “out of service” or “fire service” or any other appropriate message as conditions may warrant. The controller may also command the device to light or to extinguish indicating lamps as necessary. Up and down arrows can be illuminated as needed.
In addition, a position indicator can be connected to the bus using the same communication protocol as the push-buttons. The position indicator may comprise a microprocessor and an LCD display screen, or other display device. The position indicator, like the push-buttons, is assigned a unique address and communicates on the bus in the same manner as the push-buttons. The controller commands a specific display on the LCD display screen, such as for example, a floor number.
The push-button device may operate in several different modes. For example, the push-button button device may be configured as an edge detector, which detects the edges of the step function—i.e., when the push-button element is initially depressed or when it is released. The push-button device may also operate as a level detector, which detects the portion of the step function between the edges—i.e., when the push-button element is held in the depressed position. The detection mode of the button may be changed dynamically as the system is in operation. By adding this and other intelligence to the push-button device, the controller 45 may contain less resources or use its resources for other functions. In general, the more intelligent the push-button device, the less intelligent the controller needs to be. Thus, the use of push-button devices allows for more efficient and cheaper systems.
While the push-button device is well suited for use in elevator systems, it may be used in any system that employs push-button switches. It may readily be adapted for use in explosive environments. Since the push-button device contains no mechanical contacts, the electrical components may be located in an explosion-proof housing and the push-button element and magnet may be located outside the housing. For example, the electrical components can be located behind an aluminum plate, and the magnet and push-button element can be located in front of the plate.
The contactless switching device of the present invention may take forms other than a push-button switch. As is shown in
While the rotating switch embodiment described herein uses three magnets, the number of magnets and their orientations may vary. The disk may be rotated, for example, by a key or a lever. The actual manner in which the disk is rotated is not critical. Nor is it critical that the sensors be located directly over the magnets since the microprocessor may be programmed to detect changes in the magnetic fields acting on the Hall Effect transducers.
It is also possible to configure a rotary device with one or more magnets disposed on a rotating disk and one or more Hall Effect transducers located on a planar surface that is parallel to the surface of the disk. As the disk rotates, the distance between the Hall Effect transducers and the magnets vary. This causes the Hall Effect voltage in the transducer to vary, and the change in Hall Effect voltages can be interpreted by a microprocessor as a rotation of the disk. In some embodiments, mere rotation of a magnet relative to a Hall Effect transducer may be sufficient to cause changes in the Hall Effect voltage at the transducer.
This application is a continuation of U.S. patent application Ser. No. 09/865,269, filed May 25, 2001 now U.S. Pat. No. 6,612,404, the contents of which are incorporated herein by reference in their entirely.
Number | Name | Date | Kind |
---|---|---|---|
3882337 | Pfeffer et al. | May 1975 | A |
4054860 | Henderson et al. | Oct 1977 | A |
4061988 | Lewandowski | Dec 1977 | A |
4230206 | Brooks | Oct 1980 | A |
4311981 | Luzynski | Jan 1982 | A |
4489303 | Martin | Dec 1984 | A |
5272383 | Umemura et al. | Dec 1993 | A |
5581179 | Engel et al. | Dec 1996 | A |
5608317 | Hollmann | Mar 1997 | A |
5679934 | Juntunen et al. | Oct 1997 | A |
5781005 | Vig et al. | Jul 1998 | A |
5914466 | Durand | Jun 1999 | A |
6097272 | Grover et al. | Aug 2000 | A |
6161655 | Lejon et al. | Dec 2000 | A |
6612404 | Sweet et al. | Sep 2003 | B2 |
Number | Date | Country |
---|---|---|
367692 | May 1990 | EP |
Number | Date | Country | |
---|---|---|---|
20040104080 A1 | Jun 2004 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09865269 | May 2001 | US |
Child | 10615430 | US |