Active clamping photoelectric sensing device
By using an active clamping circuit and operational amplifier architecture in the photoelectric sensor, it ensures that the input and output voltages return to the set value, solves the problems of response delay and clamping voltage offset, and improves the judgment accuracy and stability of the photoelectric sensor.
Patent Information
- Application Number
- CN202310497858.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-30
- Filing Date
- 2023-05-05
- Publication Date
- 2024-10-01
AI Technical Summary
In existing photoelectric sensors, under high incident light conditions, the operational amplifier of the current-to-voltage conversion circuit easily reaches the saturation zone, resulting in response delays and clamping voltage shifts, which in turn leads to misjudgment problems in the judgment circuit.
It uses active clamping photoelectric sensing devices, through current-voltage conversion circuits and active clamping circuits, and uses operational amplifiers and transistor switches to ensure that the input and output ends return to the set voltage during reset, and are accurately controlled by the set voltage. Clamp voltage to reduce process and temperature effects.
It effectively improves the response delay, ensures accurate control of the clamping voltage, reduces misjudgments, and makes the output voltage more stable, improving the application flexibility of the circuit.
Smart Images

Figure CN118732069A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a photoelectric sensor, and in particular to an active clamping photoelectric sensing device. Background Art
[0002] Photoelectric sensors are sensors that use the properties of light to detect objects. For example, they can detect whether an object exists or whether the surface of an object has changed. Photoelectric sensors are widely used in distance sensing technology because of their advantages such as long detection distance, short response time, high resolution, and non-contact.
[0003] In some light sensing circuits, the photoelectric sensor can be used with a current-to-voltage conversion circuit, a clamping circuit, and a judgment circuit to detect whether an object exists or approaches nearby. For example, the photoelectric sensor generates a current signal corresponding to the incident light, and the current-to-voltage conversion circuit converts the current signal into a voltage signal to the judgment circuit to provide the judgment circuit with confirmation of whether an object exists or approaches nearby.
[0004] Under normal use conditions, when the incident light is small, the operational amplifier in the current-to-voltage conversion circuit operates within the dynamic range. However, when the incident light is too large, the output of the operational amplifier of the current-to-voltage conversion circuit will reach the saturation region, resulting in a response delay problem. Therefore, a common solution is to use a clamping circuit to prevent the output of the operational amplifier from reaching the saturation region and improve the response delay problem.
[0005] In some existing clamping circuits, the output voltage is clamped below the potential of the high power supply voltage VDD to improve the response delay problem.
[0006] In some other existing clamping circuits, two series diodes are connected between the input terminal and the output terminal of the current-to-voltage conversion circuit to improve the response delay problem. Summary of the invention
[0007] Although the clamping circuit of the prior art can improve the problem of response delay, the potentials of the input and output ends of the clamping circuit of the prior art cannot completely return to the set values each time the clamping circuit is reset, causing the clamping voltage to be offset, or due to the influence of the process and operating temperature of the diode, the operational amplifier of the current-to-voltage conversion circuit generates an erroneous output voltage, resulting in the problem of misjudgment of the judgment circuit.
[0008] In view of the above-mentioned prior art, the inventor has developed an active clamping photoelectric sensing device, which can not only improve the problem of response delay, but also restore the potential of the input and output ends to the set voltage each time the device is reset, effectively improving the problem of the clamping voltage offset. In addition, the architecture of the operational amplifier is less susceptible to the influence of the process and operating temperature than the diode, making the output voltage more stable and solving the problem of possible misjudgment of the judgment circuit.
[0009] To achieve the above-mentioned and other purposes, the present invention provides an active clamping photoelectric sensing device, comprising an input terminal, a first output terminal, a current-voltage conversion circuit and an active clamping circuit. The input terminal receives an input current. The first output terminal outputs a first output voltage. The current-voltage conversion circuit is coupled between the input terminal and the first output terminal, and according to the state of a reset signal, the potential of the input terminal and the first output terminal is discharged to a first set voltage, or the first output voltage is gradually increased to a second set voltage. The active clamping circuit is coupled to the current-voltage conversion circuit to clamp the upper limit value of the first output voltage at the second set voltage.
[0010] In some embodiments, the current-to-voltage conversion circuit also includes: a first operational amplifier, having a first inverting input terminal, a first non-inverting input terminal and a first amplified output terminal, the first inverting input terminal is coupled to the input terminal, the first non-inverting input terminal is coupled to the first set voltage, and the first amplified output terminal is coupled to the first output terminal; a first switch, coupled between the first inverting input terminal and the first amplified output terminal, is turned on or off according to the state of a reset signal; and a first capacitor, coupled between the first inverting input terminal and the first amplified output terminal.
[0011] In some embodiments, the active clamping circuit further includes: a second operational amplifier having a second inverting input terminal, a second non-inverting input terminal and a second amplified output terminal, the second non-inverting input terminal is coupled to the second set voltage, and the second inverting input terminal is coupled to the first output terminal; and a transistor switch having a first terminal, a second terminal and a third terminal, the first terminal is coupled to the second amplified output terminal, the second terminal is coupled to the first inverting input terminal, and the third terminal is coupled to the first amplified output terminal.
[0012] In some embodiments, the transistor switch is a P-type field effect transistor switch or an N-type field effect transistor switch.
[0013] In some embodiments, the first output terminal is also coupled to a sampling and holding circuit, which includes: a second switch coupled between the first output terminal and the second output terminal, the second switch is turned on or off according to the state of the sampling and holding signal to convert the first output voltage into a second output voltage, and the second output voltage is output from the second output terminal; and a second capacitor coupled between the second output terminal and ground.
[0014] In some embodiments, the turn-on time point of the second switch is earlier than the turn-on time point of the first switch. In some embodiments, the second switch is turned on according to the rising edge of the sample and hold signal, and is turned off according to the falling edge of the sample and hold signal.
[0015] In some embodiments, when the state of the reset signal is a high voltage level, the first switch is turned on and discharges the potentials of the input terminal and the first output terminal down to a first set voltage.
[0016] In some embodiments, when the state of the reset signal is a low voltage level, the first switch is turned off and the first output voltage is gradually increased to a second set voltage.
[0017] In some embodiments, when the first switch is turned on, the first capacitor is discharged to a first set voltage within one pulse cycle of the reset signal.
[0018] Thus, the active clamping photoelectric sensing device of the present invention can not only improve the problem of response delay, but also ensure that the potential of the input terminal and the output terminal is restored to the first set voltage each time the device is reset, thereby improving the situation in the prior art where the device cannot completely return to the set value, and the clamping voltage is accurately controlled at the second set voltage, thereby solving the problem of the clamping voltage offset in the prior art. In addition, the architecture of the operational amplifier is not easily affected by the process and operating temperature compared to the diode, and the output voltage can be made more stable, thereby solving the problem of possible misjudgment of the judgment circuit. In addition, the values of the first set voltage and the second set voltage can be adjusted to meet other circuit design requirements and improve the flexibility of circuit application. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 is a schematic diagram of an actively clamped photoelectric sensing device according to an embodiment of the present invention.
[0020] Figure 2 is a timing diagram according to an embodiment of the present invention.
[0021] Figure 3 is based on Figure 2 A magnified schematic diagram of the voltage waveform.
[0022] Figure 4 is a schematic diagram of an actively clamped photoelectric sensing device according to another embodiment of the present invention.
[0023] Figure 5 is based on Figure 4 A timing diagram of an embodiment.
[0024] The following are the descriptions of the reference numerals:
[0025] 10 Current-voltage conversion circuit
[0026] 20 Active clamp circuit
[0027] 30 Sample and hold circuit
[0028] 100, 110 Active clamping photoelectric sensing device
[0029] CINT First capacitor
[0030] C2 Second capacitor
[0031] IN Input
[0032] OP1 First operational amplifier
[0033] OP1_out First amplifier output terminal
[0034] OP2 Second operational amplifier
[0035] OP2_out Second amplifier output terminal
[0036] OUT1 First output terminal
[0037] OUT2 Second output terminal
[0038] P1 First end
[0039] P2 Second end
[0040] P3 Third terminal
[0041] PD Photoelectric Sensor
[0042] PX Transistor Switches
[0043] RST reset signal
[0044] SH1 Sample and hold signal
[0045] SW1 First switch
[0046] SW2 Second switch
[0047] T pulse cycle
[0048] VCL Second setting voltage
[0049] VR first setting voltage
[0050] VX Trigger Signal DETAILED DESCRIPTION
[0051] In order to fully understand the purpose, features and effects of the present invention, the present invention is described in detail through the following specific embodiments and in conjunction with the attached drawings, as follows:
[0052] Please refer to Figure 1, is a schematic diagram of an active clamping photoelectric sensing device according to an embodiment of the present invention. Figure 1 As shown, the active clamping photoelectric sensing device 100 includes an input terminal IN, a first output terminal OUT1 , a current-to-voltage conversion circuit 10 and an active clamping circuit 20 .
[0053] The input terminal IN is coupled to the cathode of the photoelectric sensor PD and the first inverting input terminal of the first operational amplifier OP1, respectively. The anode of the photoelectric sensor PD is coupled to the ground. The input terminal IN is used to receive an input current. More specifically, when the photoelectric sensor PD receives light, a corresponding sensing current is generated, and the sensing current is fed into the input terminal IN to become the input current.
[0054] The first output terminal OUT1 is coupled to the first amplified output terminal OP1_out of the first operational amplifier OP1 and the second inverting input terminal of the second operational amplifier OP2 respectively. The first output terminal OUT1 is used to output a first output voltage.
[0055] The current-to-voltage conversion circuit 10 is coupled between the input terminal IN and the first output terminal OUT1. The current-to-voltage conversion circuit 10 discharges the potentials of the input terminal IN and the first output terminal OUT1 to the first set voltage VR, or gradually increases (for example, in an integral manner) the first output voltage to the second set voltage VCL according to the state of the reset signal RST.
[0056] The current-to-voltage conversion circuit 10 includes: a first operational amplifier OP1, a first switch SW1, and a first capacitor CINT. The first operational amplifier OP1 has a first inverting input terminal, a first non-inverting input terminal, and a first amplified output terminal OP1_out. The first inverting input terminal is coupled to the input terminal IN. The first non-inverting input terminal is coupled to the first setting voltage VR. The first amplified output terminal OP1_out is coupled to the first output terminal OUT1.
[0057] The first switch SW1 is coupled between the first reverse input terminal and the first amplifier output terminal OP1_out. The first switch SW1 is turned on or off according to the state of the reset signal RST. For example, when the state of the reset signal RST is a high voltage level, the first switch SW1 is turned on. When the state of the reset signal RST is a low voltage level, the first switch SW1 is turned off. The first switch SW1 can be, for example, a P-type field effect transistor switch or an N-type field effect transistor switch.
[0058] The first capacitor CINT is coupled between the first reverse input terminal and the first amplifier output terminal OP1_out. The first capacitor CINT generates a first capacitor voltage according to the input current. In other words, the first capacitor CINT is charged by the input current to the first capacitor voltage. When the state of the reset signal RST is a high voltage level, the first switch SW1 is turned on, the first capacitor CINT is discharged, and the potential of the input terminal IN and the first output terminal OUT1 is discharged down to the first set voltage VR. When the state of the reset signal RST is a low voltage level, the first switch SW1 is turned off, the input current generated by the photosensor PD is negative, and the first output voltage gradually rises to the second set voltage VCL.
[0059] The active clamping circuit 20 is coupled to the current-voltage conversion circuit 10. The active clamping circuit 20 clamps the upper limit of the first output voltage at the second set voltage VCL. The active clamping circuit 20 includes: a second operational amplifier OP2 and a transistor switch PX. The second operational amplifier OP2 has a second inverting input terminal, a second non-inverting input terminal and a second amplified output terminal OP2_out. The second non-inverting input terminal is coupled to the second set voltage VCL. The second inverting input terminal is coupled to the first output terminal OUT1. The transistor switch PX has a first terminal P1, a second terminal P2 and a third terminal P3. The first terminal (e.g., gate) P1 is coupled to the second amplified output terminal OP2_out. The second terminal (e.g., source) P2 is coupled to the first inverting input terminal. The third terminal (e.g., drain) P3 is coupled to the first amplified output terminal OP1_out. Figure 1 A P-type field effect transistor switch is used as an example for illustration. In some embodiments, the transistor switch PX may also be an N-type field effect transistor switch.
[0060] The second operational amplifier OP2 outputs a trigger signal VX to the transistor switch PX according to the first output voltage and the second setting voltage VCL. The transistor switch PX is turned on or off according to the state of the trigger signal VX. For example, when the trigger signal VX is at a low voltage level, the transistor switch PX is turned on. When the trigger signal VX is at a high voltage level, the transistor switch PX is turned off. Therefore, the first output voltage can be gradually increased and does not exceed the second setting voltage VCL. In other words, the upper limit of the first output voltage is clamped by the second setting voltage VCL. The second setting voltage VCL is the clamping voltage. In this way, the clamping voltage can be accurately controlled at the second setting voltage VCL, solving the problem of the clamping voltage offset in the prior art. In addition, since the current-to-voltage conversion circuit 10 and the active clamping circuit 20 adopt the architecture of an operational amplifier, in addition to being less susceptible to the influence of the process and operating temperature than a diode, the values of the first setting voltage VR and the second setting voltage VCL can be adjusted to meet other circuit design requirements and enhance the flexibility of circuit application.
[0061] Please refer to Figure 2 , is a timing diagram according to an embodiment of the present invention. Figure 2 As shown, the horizontal axis represents time and the vertical axis represents voltage. From top to bottom, the voltage waveforms of the reset signal RST, the first output terminal OUT1 and the input terminal IN are respectively shown.
[0062] When the reset signal RST is at a low voltage level, the first switch SW1 is turned off, and the voltage of the first output terminal OUT1 gradually rises to the second set voltage VCL. The second set voltage VCL is approximately 1.45V. It can be seen that after the voltage of the first output terminal OUT1 approaches approximately 1.45V, clamping occurs until the next reset signal RST. When the next reset signal RST is at a high voltage level, the first switch SW1 is turned on, and the voltage of the input terminal IN and the first output terminal OUT1 will be discharged to the first set voltage VR, and this cycle repeats. In other words, after each reset signal RST, the voltage waveform of the first output terminal OUT1 will return to the first set voltage VR (approximately 0.193V). Therefore, the starting value (approximately 0.193V) of the voltage waveform of each first output terminal OUT1 is the same. Similarly, after each reset signal RST, the voltage waveform of the input terminal IN will return to the first set voltage VR. In this way, the situation in the prior art where the potential of the input terminal and the output terminal cannot completely return to the set value is improved.
[0063] Please refer to Figure 3 , is based on Figure 2 A magnified schematic diagram of the voltage waveform. Figure 3 As shown, it can be more clearly seen that when the first switch SW1 is turned on, the voltages of the input terminal IN and the first output terminal OUT1 will be discharged to the first set voltage VR. Since the voltage of the input terminal IN can correspond to the voltage of the first capacitor CINT. In other words, the first capacitor CINT is discharged to the first set voltage VR within a pulse cycle T of the reset signal RST. In this way, it is ensured that the voltage of the input terminal IN and the voltage of the first output terminal OUT1 will be restored to the set value (i.e., the first set voltage VR).
[0064] Please refer to Figure 4 , is a schematic diagram of an active clamping photoelectric sensing device according to another embodiment of the present invention. Figure 4 As shown, the active clamping photoelectric sensing device 110 and Figure 1 The difference between the embodiments is that the first output terminal OUT1 is also coupled to the sample-and-hold circuit 30, and the remaining photoelectric sensor PD, the current-to-voltage conversion circuit 10 and the active clamping circuit 20 are the same as those of the embodiment. Figure 1 The embodiments are not described in detail here.
[0065] The sampling and holding circuit 30 includes a second switch SW2 and a second capacitor C2. The second switch SW2 is coupled between the first output terminal OUT1 and the second output terminal OUT2. The second switch SW2 is turned on or off according to the state of the sampling and holding signal SH1 to convert the first output voltage into a second output voltage, and output the second output voltage from the second output terminal OUT2. Figure 5 As shown, since the rising edge of the sample hold signal SH1 is earlier than the rising edge of the reset signal RST, the turn-on time point of the second switch SW2 is earlier than the turn-on time point of the first switch SW1. The second switch SW2 can be, for example, a P-type field effect transistor switch or an N-type field effect transistor switch. The second capacitor C2 is coupled between the second output terminal and the ground.
[0066] Please refer to Figure 5 , is based on Figure 4 A timing diagram of an embodiment. Figure 5 As shown, the horizontal axis represents time and the vertical axis represents voltage. From top to bottom, the voltage waveforms of the reset signal RST, the sample hold signal SH1, the optical signal input, the first output terminal OUT1, the input terminal IN and the second output terminal OUT2 are respectively shown. It can be known that when the optical signal input is in the unknown stage, the voltage of the first output terminal OUT1 may be 0, the first set voltage VR or the second set voltage VCL. After the first reset signal RST, the voltage of the first output terminal OUT1 returns to the first set voltage VR. When a high-intensity optical signal is continuously input, the voltage of the first output terminal OUT1 will gradually rise and be clamped at the second set voltage VCL. The second set voltage VCL is less than the high power supply voltage VDD. In addition, the voltage of the input terminal IN is stably maintained at the first set voltage VR, and the first operational amplifier OP1 of the current-voltage conversion circuit 10 will not generate an erroneous output voltage due to the sudden increase of the optical signal, resulting in a signal misjudgment.
[0067] In summary, the active clamping photoelectric sensing device of the present invention can ensure that the potential of the input terminal and the output terminal is restored to the first set voltage each time it is reset, improving the situation in the prior art where the set value cannot be completely returned, and the clamping voltage is accurately controlled at the second set voltage, solving the problem of the clamping voltage offset in the prior art. In addition, the use of the operational amplifier architecture is not only less susceptible to the influence of the process and operating temperature than the diode, but also can make the output voltage more stable, solve the situation where the judgment circuit may make a misjudgment, and can also meet other circuit design requirements by adjusting the values of the first set voltage and the second set voltage, thereby improving the flexibility of circuit application.
[0068] The present invention has been disclosed above with preferred embodiments, but it should be understood by those skilled in the art that the embodiments are only used to describe the present invention and should not be interpreted as limiting the scope of the present invention. It should be noted that any changes and substitutions equivalent to the embodiments should be included in the scope of the present invention. Therefore, the protection scope of the present invention shall be based on the scope defined in the claims.
Claims
1. An active clamping photoelectric sensing device, comprising: An input terminal, receiving an input current; A first output terminal, outputting a first output voltage; a current-to-voltage conversion circuit, coupled between the input terminal and the first output terminal, and causing the potentials of the input terminal and the first output terminal to be discharged down to a first set voltage, or causing the first output voltage to gradually rise to a second set voltage, according to a state of a reset signal; and The active clamping circuit is coupled to the current-voltage conversion circuit and is used to clamp the upper limit of the first output voltage at the second set voltage.
2. The active clamping photoelectric sensing device according to claim 1, characterized in that: The current-to-voltage conversion circuit also includes: A first operational amplifier having a first inverting input terminal, a first non-inverting input terminal and a first amplified output terminal, wherein the first inverting input terminal is coupled to the input terminal, the first non-inverting input terminal is coupled to the first setting voltage, and the first amplified output terminal is coupled to the first output terminal; A first switch, coupled between the first inverting input terminal and the first amplifying output terminal, is turned on or off according to a state of the reset signal; and The first capacitor is coupled between the first inverting input terminal and the first amplifying output terminal.
3. The active clamping photoelectric sensing device according to claim 2, characterized in that: The active clamping circuit further includes: a second operational amplifier having a second inverting input terminal, a second non-inverting input terminal and a second amplified output terminal, wherein the second non-inverting input terminal is coupled to the second set voltage, and the second inverting input terminal is coupled to the first output terminal; and The transistor switch has a first end, a second end and a third end, wherein the first end is coupled to the second amplifying output end, the second end is coupled to the first inverting input end, and the third end is coupled to the first amplifying output end.
4. The active clamping photoelectric sensing device according to claim 3, characterized in that: The transistor switch is a P-type field effect transistor switch or an N-type field effect transistor switch.
5. The active clamping photoelectric sensing device according to claim 3, characterized in that: The first output terminal is also coupled to a sample-and-hold circuit, and the sample-and-hold circuit comprises: a second switch coupled between the first output terminal and a second output terminal, the second switch being turned on or off according to a state of a sampling and holding signal to convert the first output voltage into a second output voltage, and outputting the second output voltage from the second output terminal; and The second capacitor is coupled between the second output terminal and ground.
6. The active clamping photoelectric sensing device according to claim 4, characterized in that: The turn-on time point of the second switch is earlier than the turn-on time point of the first switch.
7. The active clamping photoelectric sensing device according to claim 4, characterized in that: The second switch is turned on according to a rising edge of the sample-and-hold signal, and is turned off according to a falling edge of the sample-and-hold signal.
8. The active clamping photoelectric sensing device according to claim 2, characterized in that: When the reset signal is at a high voltage level, the first switch is turned on and discharges the potentials of the input terminal and the first output terminal down to the first set voltage.
9. The active clamping photoelectric sensing device according to claim 2, characterized in that: When the state of the reset signal is at a low voltage level, the first switch is turned off and causes the first output voltage to gradually rise to the second set voltage.
10. The active clamping photoelectric sensing device according to claim 2, characterized in that: When the first switch is turned on, the first capacitor is discharged to the first set voltage within one pulse cycle of the reset signal.
