Multi-Channel Programmable Detection Sensor

20220381943 · 2022-12-01

Assignee

Inventors

Cpc classification

International classification

Abstract

Single board multi-channel programmable detection sensor is disclosed. The sensor has a processor operatively connected to the emitter driver, and a photodetector for controlling one or more operational parameters of the sensor in response to a program. Sensor outputs the TTL signal when desired level of light attenuated or transmitted through the system of fiber optics sensors. The processor sets triggering levels of the signal detected by the sensor in analog fast comparator circuit to threshold based on the signal difference pre-set and actual values.

Claims

1. A detection sensor comprising: an electronic board, the electronic board comprising a processor, a switching device provided by the processor or separately, and a plurality of independent channels operatively connected to the processor and/or the switching device, each independent channel comprising an emitter to provide a source of light, and a detector to process received light that is interrupted or reflected by an object interacting with the source of light, wherein each channel is separately programmable by the processor, and wherein the switching device is configured to control one or more operational characteristics of the detection sensor in response to a programming signal input to the detection sensor.

2. The sensor of claim 1, wherein the electronic board further comprises a comparator to compare the received light to one or more sensor signal thresholds.

3. The sensor of claim 2, wherein the comparator uses a plurality of different adjustable signal thresholds.

4. The sensor of claim 3, comprising a rising threshold and a falling threshold.

5. The sensor of claim 1, wherein the emitter comprises a light emitting diode (LED).

6. The sensor of claim 1, wherein the detector comprises a photodetector.

7. The sensor of claim 1, wherein the independent channels utilize unmodulated light.

8. The sensor of claim 1, wherein the electronic board further comprises a digital to analog converter (DAC) operatively coupled to the independent channels to adjust an intensity of the emitted light.

9. The sensor of claim 8, wherein the emitter comprises a light emitting diode (LED), and wherein the DAC is operatively coupled to an LED driving circuit to control the intensity of the emitted light.

10. The sensor of claim 1, wherein the electronic board further comprises at least one amplifier to amplify a received signal generated from the received light.

11. The sensor of claim 10, wherein the at least one amplifier provides a feedback signal to the processor.

12. The sensor of claim 10, wherein the received signal is split and processed by a pair of amplifiers.

13. The sensor of claim 12, comprising a transimpedance amplifier and a voltage amplifier for gain adjustment.

14. The sensor of claim 1, wherein the electronic board comprises separate adjustment and detection circuitry for each of the plurality of independent channels.

15. The sensor of claim 10, wherein the processor is configured to monitor an output voltage of the at least one amplifier to adjust current sent through the emitter to compensate for effects of ambient temperature variation.

16. A method of signal detection, comprising: selecting one of a plurality of independent channels of a detection sensor, the detection sensor comprising an electronic board, the electronic board comprising a processor, a switching device provided by the processor or separately, and the plurality of independent channels operatively connected to the processor and/or the switching device, each independent channel comprising an emitter to provide a source of light, and a detector to process received light that is interrupted or reflected by an object interacting with the source of light, wherein each channel is separately programmable by the processor; using the processor and/or the switching device to control one or more operational characteristics of the detection sensor in response to a programming signal input to the detection sensor; providing the source of light using the emitter of the one of the independent channels; and receiving and processing the received light.

17. The method of claim 16, wherein the electronic board further comprises a comparator, the method further comprising comparing the received light to one or more sensor signal thresholds.

18. The method of claim 17, wherein the comparator uses a plurality of different adjustable signal thresholds.

19. The method of claim 18, comprising a rising threshold and a falling threshold.

20. The method of claim 16, wherein the emitter comprises a light emitting diode (LED).

Description

BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Embodiments will now be described with reference to the appended drawings wherein:

[0014] FIGS. 1A, 1B, 1C, 1D and 1E are schematic diagrams of optical sensing applications.

[0015] FIG. 2 is a schematic diagram of a multi-channel sensing board.

[0016] FIG. 3 is a schematic diagram of an example of a microcontroller for the multi-channel sensing board.

[0017] FIG. 4 is a circuit schematic of an example of a DAC for the multi-channel sensing board.

[0018] FIG. 5 is a circuit schematic of an example of a control circuit (e.g. a light-emitting diode (LED) driving circuit) for the multi-channel sensing board.

[0019] FIG. 6 is a circuit schematic of an example of a light detection for the multi-channel sensing board.

[0020] FIG. 7 is a circuit schematic of an example of a signal amplification circuit for the multi-channel sensing board.

DETAILED DESCRIPTION

[0021] The following provides a detection sensor with an emitter for generating a light signal intended to be blocked by or reflected from an object; and a detector for generating an electronic signal that represents the presence, absence or condition of the object based upon the signal (e.g., reflected/through light) returned to the sensor. A single board with multiple independent channels (each with an emitter and detector) provides multi-function programming of the sensor channels and generates a programming signal that is input to a processor. The processor is operatively connected to the emitter, detector, and a switching device for controlling one or more operational characteristics of the sensor in response to the programming signal.

[0022] The switching device may include a single switch such as a single manually operable push button or software controlled through a series of commands sent from an external device, such as a computer or microcontroller. The detector which generates the electronic signal further has a variable gain amplifier and the electronic signal has a first level representing a first state of the sensor and a second level representing a second state of the sensor. These two states correspond to what may be referred to as the target state and the background state, respectively. The processor compares the level of the electronic signal in the two states and provides a signal to adjust the gain of the variable gain amplifier to an optimum gain setting. The processor selects the gain setting to either maximize the low contrast gain or maximize the high excess gain performance of the sensor. The processor also establishes the sensor signal threshold and hysteresis values based on the comparison of the electronic signal in the two states.

[0023] In an implementation, there may be provided a photoelectric detection sensor with a light emitter to provide constant light signals that are intended to reflect from, or be blocked by, a target object. The sensor includes a photodetector to receive the returned light and an electronic circuit to generate a signal representing the returned light. The electronic circuit has at least two amplification stages with different amplification gains. A microcontroller can be used as the processor, with a digital to analog converter (DAC) to set an LED driving current that achieves satisfactory light conditions. The sensor can be provided with an LED for each independent channel, as well as two (or more) LEDs indicating system status.

[0024] The following system therefore provides a multi-functional detection sensor programmable by sending electrical signals to an onboard processor (e.g., microcontroller) or directly to the light source control circuit, to multiple photodetector signal amplification stages, and to a detector circuit, e.g., an analog comparator circuit.

[0025] Turning now to the figures, FIG. 1A illustrates an example of an optical sensing application 10. The application 10 in this example uses a multi-channel programmable detection sensor 12 (or “multi-channel sensor” 12 for brevity) to detect the presence or absence of an object, to detect a difference in surface reflection or contrast between surface, or any other suitable optical sensing application. The multi-channel sensor 12 includes a housing 14 that contains an electronics board 16 that is used to generate a light source and detect a signal as explained above. The multi-channel sensor 12 in this example is connected to a control line 18 that can be used by an external computer or system (not shown) to operate the multi-channel sensor 12 and receive data therefrom. Setting thresholds using the control line 18 can be done using, for example, a tactile push button, a software interface or other switch. Fiber optic transmit cables 20 and fiber optic receive cables 22 may be fed into the housing 14 to connect to the electronics board 16 for providing source(s) of light and for receiving detected light. It can be appreciated that the housing 14 can include light insulating compartments to prevent light crosstalk between channels. The control line 18 can be provided using an interface electrical connector attached to the side of the housing 14. Various examples of the application 10 are shown in FIGS. 1B through 1E, e.g., a through-beam sensor (FIG. 1B), a reflective sensor (FIG. 10), a retro-reflective sensor (FIG. 1D), and a limited-reflective sensor (FIG. 1E). In these cases, a sensing object 26 is moving relative to the sensor and thus can be detected by one or more light sources 24.

[0026] FIG. 2 provides an example of a configuration for the electronics board 16. In this example configuration, a processor 40, such as a microcontroller, is provided to set parameters and communicate with the external interface, such as via an input/output line 42. The processor 40 is coupled to an emitter circuit 46, an amplification circuit 52, an analog comparator 44, and a temperature sensor 53. The board 16 can include a switching device to select one or more channels. This switching device can be a separate device (not shown) or an interface 55 for all of the channels can connect directly to the controller (e.g., the processor 40) as shown in FIG. 2. The processor 40 in this example can perform the switching between channels using firmware. Each channel includes an input to the emitter circuit 46 that regulates the current through the LED 48 and thus the light intensity through the (e.g., fiber optic) light source cable(s) 20, to provide light source signal(s) 24 via LEDs 48 in this example. The light that is interrupted or reflected by the object 26 is transmitted through the (e.g., fiber optic) light receiving cable(s) 22 and then detected by a sensor 50, e.g., a photosensor or photodetector, which is fed to an amplification circuit 52. The amplification circuit 52 generates processed signals based on the detected light of the sensor 50. The amplification circuit 52 is also coupled to the processor 40 for providing feedback for adjusting the parameters of the board 16.

[0027] Referring to FIG. 2, the processor 40 can set the threshold and send this signal to the comparator 44. The signal from amplification circuit 52 is coupled to the comparator 44, where instant decisions can be made when an output signal is sent. This allows the sensor 12 to achieve a relatively fast response. Also, signals from the amplification circuit 52 are converted from analog to digital or fed to the processor 40, which can have this function built in for diagnostics, and a feedback loop for light intensity adjustment. The LED indicator lights 54 can be connected to the processor 40 and be turned on when the threshold is reached, and the output signal is generated, or the indictor LED 54 can be driven directly from the analog comparator circuit output.

[0028] Referring now to the schematic diagrams in FIGS. 3-7, operation of the electronic board 16 in one example will be provided. The primary function of the processor 40 (e.g., using a microcontroller), is to set parameters and communicate with an external interface, as shown generally in FIG. 2.

[0029] The DAC U5 (shown in FIG. 4) is controlled from the system microcontroller U1 (shown in FIG. 3) via a SPI bus to produce an output voltage proportional to the digital code and ranging between zero and +3.3 VDC (in this example) with respect to system ground. This voltage is applied to the non-inverting input of the op-amp U11 (see FIG. 5—where the same circuit can be used for each channel and an input signal connected to a single microcontroller) via analog switch U12_LED_DRV1 and voltage divider R23, R25. This causes the op-amp to force a stable DC current through the LED D2 such that a voltage drop on current-sensing resistor R27 is equal to the voltage at the non-inverting input of the op-amp. Thus, the DC current through the LED is controlled between zero and approximately 100 mA in this example. Since light intensity of the LED is a linear function of the current, light output is controlled by the microcontroller U1. The U12 switch is used for turning the LED D2 on or off at very precise moments, as the LED_EN1 signal is connected to fast logic outputs from the microcontroller.

[0030] Light emitted by the LED is returned to the unit by way of an optical system and strikes the photodiode D7 (see FIG. 6), which produces a DC current proportional to its illumination level. This current is fed into the transimpedance amplifier U31A and converted to the DC voltage at the output (pin 1) of U31A. This voltage is filtered by the two pole low pass filter comprised of R97, C106, R94, and C104 and is fed into the voltage amplifier U28C, whose gain is determined by the feedback circuit R99, R104, R106. By switching the feedback resistors using analog switch U38, two different gain settings can be realized.

[0031] Voltage output of the amplifier is fed into the ADC U44 (see FIG. 7) and also applied to the inputs of the window comparator U39 (shown in FIG. 6). Outputs of the comparator feeding the monostable U36 inputs and the corresponding outputs are used as inputs for an RS bistable (U37). U36 and U37 are notable, since this circuit, in conjunction with manipulating the comparator threshold levels, can offer to the comparator output additional flexibility and noise immunity. The COMP-OUT signal is further used by the logic circuit to determine the state of the sensor.

[0032] The board 16 described herein therefore incorporates multi-channel sensors which allows these channels to share some common circuitry (i.e., power supply, processor, input and output mechanisms, board, enclosure) for several channels. When compared to an assembly of individual sensors, this can achieve a reduction of cost and space savings in a particular application 10.

[0033] Moreover, unlike existing solutions, the multi-channel sensor 12 uses unmodulated light, which achieves a potentially faster reaction time (thus increased timing resolution). This is because in a modulated system the ultimate timing resolution is typically limited by modulation frequency.

[0034] Using a DAC to adjust (potentially, dynamically) the intensity of emitted light signal allows compensation for varying optical path loss and helps providing the detection circuitry with optimal input signal level.

[0035] Splitting the received signal processing between the two amplifiers (one transimpedance amplifier and the other a voltage amplifier) achieves higher bandwidth (required for fine timing resolution) and better accuracy than would be possible with a single stage design using similar parts. The voltage amplifier also provides a convenient mechanism for gain adjustment.

[0036] Using a separate adjustment (i.e., the ADC+processor) and detection (hardware comparators and output logic) circuitry and methods for each channel achieves both convenience (including, potentially, a fully automatic drive level, amplification and detection thresholds setup) and high speed operation.

[0037] Using two different and adjustable detection thresholds (rising and falling) allows operation in widely varying conditions (e.g., fast and slowly moving targets). Comparators are generally used with fixed threshold hysteresis to avoid output chatter during slow changing input signals (and suppress noise to some extent), but the design described above provides fully adjustable thresholds coupled with edge-detection logic circuitry that enhances the performance.

[0038] Moreover, fully electronic controls (i.e., with no mechanical adjustments) allow for the minimization of the size of the sensor 12 and can improve its operational reliability.

[0039] The system described herein can also compensate for the effect of ambient temperature variation using firmware. Referring again to FIG. 6, due to ambient temperature changes, the LED light intensity as well as the D7 Photodiode dark current value will change. That, in effect, will translate into a modified voltage level at the output of the transimpedance amplifier U31A as the ambient temperature changes. The microcontroller, by monitoring the correspondingly proportional U28C output voltage, as well as the ambient temperature information from the temperature sensor 53 in FIG. 2 can adjust, accordingly, the current sent through the D2 LED in FIG. 5, thus maintaining the accuracy of sensor state detection over the whole environmental temperature range.

[0040] For simplicity and clarity of illustration, where considered appropriate, reference numerals may be repeated among the figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the examples described herein. However, it will be understood by those of ordinary skill in the art that the examples described herein may be practiced without these specific details. In other instances, well-known methods, procedures and components have not been described in detail so as not to obscure the examples described herein. Also, the description is not to be considered as limiting the scope of the examples described herein.

[0041] It will be appreciated that the examples and corresponding diagrams used herein are for illustrative purposes only. Different configurations and terminology can be used without departing from the principles expressed herein. For instance, components and modules can be added, deleted, modified, or arranged with differing connections without departing from these principles.

[0042] It will also be appreciated that any module or component exemplified herein that executes instructions may include or otherwise have access to computer readable media such as storage media, computer storage media, or data storage devices (removable and/or non-removable) such as, for example, magnetic disks, optical disks, or tape. Computer storage media may include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. Examples of computer storage media include RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by an application, module, or both. Any such computer storage media may be part of the sensor 14, any component of or related thereto, etc., or accessible or connectable thereto. Any application or module herein described may be implemented using computer readable/executable instructions that may be stored or otherwise held by such computer readable media.

[0043] The steps or operations in the flow charts and diagrams described herein are just for example. There may be many variations to these steps or operations without departing from the principles discussed above. For instance, the steps may be performed in a differing order, or steps may be added, deleted, or modified.

[0044] Although the above principles have been described with reference to certain specific examples, various modifications thereof will be apparent to those skilled in the art as outlined in the appended claims.