POSITION SENSOR
The invention relates to a position sensor and particularly an encoder device for determining the absolute position as well as the incremental position of a movable member .
It is known to have single channel encoder devices having a single channel digital pulse output used to determine relative incremental positions of a linear actuator.
A motor driven linear actuator consists of a rotary motor, driving a gear mechanism that converts the rotary motion into linear movement of an actuator. Typically for each revolution of the motor, the actuator will progress by a predetermined distance, according to the gearing ratio. The motor is reversed to drive the actuator in the opposite direction. As the motor rotates a sensor counts the revolutions or part revolutions. If the actuator starts from a known position the number of counts up or down will determine the new position relative to the reference position. The advantage of this system is that the pulses can be provided by a cheap and simple counting device. The disadvantage with such a relative encoder is that the original reference position must be known. This may be lost during power off, mechanical slippage, or if the actuator is moved when the pulse sensor is not active. To compensate, the actuator would have to be regularly rechecked at the reference position, which in itself can result in operational compromises. Absolute encoders that indicate the position at any point may include multi -channel sensor arrays which
provide a different digital code combination for a set number of positions, or multi-turn potentiometers which give a resistance value relative to the absolute position. The disadvantages of both systems are costs and complexity.
The aim of the invention is to provide a simple encoder that provides absolute as well as relative position sensing.
Accordingly, the invention provides a position sensor for a movable member, the position sensor comprising encoding means having at least one coded track, a detection means for detecting elements of the track, wherein the code on the track is unique to a particular position on the encoding means, representing a direct relationship to the position of the movable member.
Preferably, the detection means provides a chain of pulses representative of the position of the movable member. Preferably, the detection means is an optical sensor. Preferably, the coded track includes a drum with a black and white pattern printed along its length.
Preferably, the coded track includes steps at each end to mark end stops for travel of the movable member. This avoids the necessity of additional mechanical limit switches or motor current sensing. Preferably, the encoder mark/space printing on the drum is varied along its length. Preferably, an optical sensor views a small point on the encoder drum.
Conveniently, the drum is connected to the motor shaft by a sliding coupling so that as the motor rotates the drum also rotates and at the same time is driven forwards or backwards on the motor shaft according to the
movement of the actuator. Therefore, the mark/space ratio sensed by the optical sensor at a particular point, indicates a particular position on the drum, from which can be derived the number of motor revolutions and hence position of the actuator. In a preferred embodiment, the pulses are generated from an optical sensor, sensing black lines on a white background, printed on a rotating drum, connected to the shaft of a rotary motor, driving an actuator. Preferably, for each pulse, each period consists of black sensing on time - mark, and a white sensing off time - space, therefore according to the invention, for each pulse, the mark/space ratio is unique to a particular position on the encoder drum, which bears a direct relationship to the actuator position. As the actuator operates, a chain of pulses count the motor shaft revolutions .
The invention will now be described by way of example only with reference to the following in which:
Figure 1 is an exploded view of a preferred embodiment of the invention;
Figure 2 is a cross sectional view of the drum and mounting plate in Figure 1 ;
Figure 3 is another embodiment of the invention; and Figure 4 illustrates the encoder signal received from the optical sensor of the invention.
Referring to Figure 1, the position sensor 1 is driven from the output shaft 8 of the worm gear 13. The output shaft 8 drives the linear screw arm of the actuator (not shown) . Typically the actuator may progress 6mm per shaft revolution, so that 50 turns will give an actuator stroke of 300mm.
The encoder drum 1, is conveniently a plastic moulding, which fits directly onto the output shaft 8. The outside surface of the drum 1 is covered by a self- adhesive label, onto which the encoder pattern is printed, in this case the black area 11 and white area 12.
The optical sensor carrier 2, may also be a plastic moulding. The optical sensor 3, consists of a light emitting diode and phototransistor mounted on a small printed circuit board connected to the control system. The sensor pair detect the difference between black and white reflected light off the encoder drum printing.
The carrier 2 is connected to slide with respect to the drum 1 by a screw thread 4. The optical sensor carrier 2 is restrained from rotation with the drum 1 by slide pin 6, that fits through a clearance hole in the carrier 2, and locates into the worm gearbox housing by means of bush 7.
As the drum 1 rotates, the internal thread insert 5 acts on the screw thread 4, causing the carrier 2 to move along the axis of the drum 1. As the optical sensor 3 moves alongside the surface of the drum 1, the sensor 2 detects the black and white marks around the circumference of the drum 1. The pattern on the drum may also show a step change at each end to indicate end stops. The mark/space ratio detected by the optical sensor 3 varies according to its position along the length of the drum.
The mark space ratio detected is used by the control system to determine the position of the encoder drum 1, which bears a direct relation to the number of turns of the gearbox output shaft 8, which has a direct relationship to the linear actuator position. Furthermore,
an additional gearbox may be placed between the rotating drum 1 and screw thread 4 on the optical sensor carrier 2 in order to obtain an increased number of rotations of the drum 1 relative to the sensor 3. In order to sense the direction of travel of the actuator, a second optical sensor may be positioned offset relative to the first sensor 3. Direction of travel can be determined by comparison of the two sensor output codes . Figure 3 shows an alternative embodiment wherein the optical sensor is stationary and the encoder drum moves relative to it. The pulses generated by the sensor for both embodiments are illustrated in Figure 4. Each period consists of black sensing on time - mark, and a white sensing off time - space, therefore for each pulse, the mark/space ratio is unique to a particular position on the encoder drum, which bears a direct relationship to the actuator position. As the actuator operates, a chain of pulses count the motor shaft revolutions. In addition to the mark/space ratio pattern, other distinctive patterns may be used. For example distinctive codes could be used as a narrow band at each end of the drum surface to act as end stop warnings. Also, distinctive pattern bands could be used along the length of the drum as reference points for the actuator.
Although the embodiments have shown a drum with a an optical sensor, the same position sensing may be achieved by means of an optical transmissive sensor, reading a code perforated into the drum, or a mechanical microswitch reading a code engraved in relief on a drum or a magnetic
sensor reading a code on a magnetic label attached to the drum surface .
The encoder may be used on other devices, as well as linear actuators. The encoder can be applied to any device where a rotary motor is used to position an item within a limited travel, for example, where a work head is positioned relative to a work piece, robot arms, or car seat positions.