摘要 |
A system and a method detect that a movable element within an interior of a compartment is at an end of a stroke and/or a beginning of the stroke within the interior of the compartment. A switch and/or an electrical circuit is connected to the compartment for detecting that the movable element may be at the beginning of and/or at the end of the stroke. A microprocessor is connected to the switch or to the electrical circuit for detecting that the movable element is at the end of and/or at the beginning of the stroke within the interior of the compartment. An end cap having a light detector is connected to the compartment to measure an intensity of the light within an interior of the end cap which is attenuated by and/or is diffused by a surface of the movable element and/or of the compartment. The intensity of the light within the interior of the end cap corresponds to a position of the movable element within the interior of the compartment. The light detector determines the position of the movable element which is at the end of the stroke, at the beginning of the stroke and/or between the end of the stroke and the beginning of the stroke via the intensity of light within the interior of the end cap.
|