Technical Field
This invention relates to detecting the position of an elevator car.
Background of the Invention
In an elevator control system, it is essential to detect the position of the elevator car. There are several methods for doing this.
Simple elevators use hoistway vanes or cams to indicate floor location and count these as the car moves up and down the hoistway to determine position. These schemes require an initialization at an absolute position, usually by sensing a contact at a terminal landing, when the system is powered up. The motion control system then requires the car to be initialized every time the power is removed, then reapplied to the car controller. One way in which this is presently done is by moving the car to a terminal landing and sensing a limit switch. The position information may be stored in non-volatile memory so that it is not lost when power is removed. A problem exists, however, such that if the car is in motion and approaching a vane or cam when power is lost, a position error of one floor may exist when power is reapplied. This is due to the car passing over the vane after power is removed before coming to rest. Because of recent changes to the B44, Canadian Elevator Code, a correction to a terminal landing is not allowed when power is lost and reapplied.
Summary of the Invention
According to the present invention, in an elevator system, primary marking means, placed near every floor and secondary marking means placed near alternate floors are read by a scanner. Upon scanning, a number signal is provided indicating whether a primary marking means and secondary marking means, or only a primary marking means, is read. As the car moves in the hoistway, current position, direction of the elevator car, and the marking number signal is continuously updated and stored in non-volatile memory. Upon recovery from a loss of power, the car is moved to the next floor in the direction it was moving prior to loss of power. By comparing the marking number signal stored in non-volatile memory before power was lost with the marking number signal generated after regaining power, the stored position can be confirmed to be correct or, if incorrect, incremented or decremented by one floor, depending upon whether the car was moving up or down respectively, to identify the actual car position.
It is an object of the present invention to determine the position of an elevator car.
It is an object of the present invention to avoid a terminal landing position initialization after a power loss.
These and other objects, features and advantages of the present invention will become more apparent in light of the following detailed description of a best mode embodiment thereof, as illustrated in the accompanying drawings.
Brief Description of the Drawings
FIG. 1 is a flow chart of the software used by the present invention and a somewhat schematic fragmented sectional view of the hardware in an elevator system using the present invention.
Description of the Preferred Embodiment(s)
FIG. 1 shows an elevator car 2 suspended by a cable 3 looped around a sheave 4 and balanced by a counterweight 5. Rotation of the sheave 4 is controlled by means of the shaft 6 and drive and machine 7. The drive and machine 7, in turn, is controlled by the car controller 8. Power to the car 2, and communication between the car 2 and car controller 8, is conducted on the traveling cable 9.
On top of the car 2 are scanners 10. A single scanner may also be used. These scanners may be, for example, optical readers. At each floor level 11, the doors 12 are bounded by top and bottom door sills 13, 14. At each floor level in the building, a primary mark 15 is positioned. These marks have a number of indicia and a type of indicia. A secondary mark 16 is positioned at alternate floors. Further, in the preferred embodiment, these marks 15 are all of the same nature; they are vanes. They are mounted on the hoistway doors 12.
In still another embodiment, the number of marks, rather than increasing by one mark from one to two increases in sequence increases from one to three by one mark in sequence. For example, one vane at the first floor, two at the second, and three at the third, with the numbering sequence beginning again at the fourth floor. The numbering is not limited to three.
The car controller 8 contains a control processor (not shown) including a central processing unit (CPU) (not shown), and non-volatile memory 17. Data acquisition results, including car position and direction are gathered and stored in the non-volatile memory 17. The car 2 does not slide more than one floor after brakes have been applied in response to a power loss.
Following a loss of power, the method of FIG. 1 is executed at step 20, power on reset. One of the major objects of the present invention is to avoid the need for a terminal landing initialization after power loss. Accordingly, if the car 2 is at a terminal landing, step 22 affirmative, whether the top terminal landing or bottom terminal landing, absolute position is established by the top or bottom terminal landing switches (not shown), step 24. If, however, the car 2 is not at a terminal landing, step 22 negative, then in step 26, using the stored position it is determined whether the last door the car passed before power went off was at a floor with two vanes or only one. This determines the number of the mark at the floor. Because in the preferred embodiment two vanes are placed at odd floors and one at successive floors, the determination is accomplished by means of a mathematical function: modulo (stored position, 2). For example, if the stored position is an even number, the modulo (stored position, 2) yields zero. If the car 2 is at an odd floor, the modulo (stored position, 2) yields a one. In step 26, the mark number is 0 or 1, depending upon whether the car is positioned at a floor with two vanes or one. This value, a variable "MARK NUMBER", is recorded in a non-volatile memory location "STORED-MARK NUMBER". Then, in step 28, it is determined in what direction the car was going when power was lost.
If, when power was lost, the car was traveling in the down direction, test 28 negative, the car is moved, by means of the drive 7, down to the next floor, step 30. Here, the car may re-initialize its position. The motion control system moves the car in the same direction of travel as when power was lost, as long as a terminal landing has not been detected. Once the car 2 has arrived at the next floor, the mark number is checked by the car controller, step 32. Thus, in step 32, the scanners 10 read the vane(s). If the value of "STORED-MARK NUMBER" is not equal to "MARK NUMBER", the stored position is correct and the routine ended, step 34. If, however, "STORED-MARK NUMBER" equals "MARK NUMBER", the stored position is off by one floor and is corrected in step 36 where a value equal to one floor is subtracted from the stored position. The methodology for a car traveling in the up direction, step 28 affirmative, is similar, except that if the stored position is off by one floor, then one floor is added to the stored position in the non-volatile memory 18.
The number of marks is not limited to one at successive floors and two at alternate successive floors. For example, there could be positioned one vane at a first floor, two at a second, and three at a third floor with the cycle repeating. In this embodiment, the car would be moved to the next floor in the direction it was moving when power was lost. Using a look-up table, the car controller compares the stored position with the expected number of indicia at the next floor. If the number of indicia at the next floor is not equal to the number of marks according to the look-up table, the stored position is corrected by adding, if the car was moving up, or subtracting, if the car was moving down, a number corresponding to the difference between the look-up table and the number of marks read.
While the present invention has been illustrated and described in conjunction with a single preferred embodiment thereof, it is to be understood that numerous changes and modifications may be resorted to without departing from the spirit and scope of the present invention. In particular, the nature of mark at or near the floor levels need not be vanes; any marking means, for example vanes, will perform a similar function. The relationship between mark and scanner need not be optical, such as an optical reader and a vane. An equivalent relationship would be mechanical, such as a cam and a cam scanner, or acoustical, magnetic, or pressure-based. If bar codes are used as the marks 16 and bar code readers as the scanners 10, only one of each is needed, per floor, and steps 26, 32, 36, 40 and 42 may be omitted without departing from the invention. Further, the mark need not be placed upon the hoistway doors 13, but rather anywhere near a floor level. Still further, the scanners 10 need not be placed on top of the car 2; their positioning on the sides, front and rear, or bottom would also fall within the embodiment. Still further, the scanners 10 may be placed upon the counterweight 5, whether on the top, the bottom, the front, the back, or the sides. In FIG. 1, scanners are mounted upon the counterweight. If counterweight scanners are used, cab-mounted scanners need not be.