Arrangement for a photodetector circuit for low power applications, and a corresponding method and a computer program product
11152930 · 2021-10-19
Assignee
Inventors
Cpc classification
International classification
H03F1/08
ELECTRICITY
Abstract
The present invention introduces an arrangement for enhancing the performance of an electronic circuit comprising a phototransistor (Q). Either a common-collector or a common-emitter connected phototransistor (Q) has a main resistor (R.sub.L), and at least one external bias resistors (R.sub.L2, R.sub.L3, R.sub.L4), each in parallel to one another. The microcontroller may directly control the voltage outputs or act via respective switches (S1, S2) regarding each respective resistor. When the electronic circuit with the phototransistor (Q) is switched on, at least one of the external bias resistors (R.sub.L2, R.sub.L3, R.sub.L4) are switched on. The voltage output rise time is short, and when the bias has been set, the external bias resistor(s) are disconnected functionally. This means that during the actual measurement with the electric circuit, only the main resistor (R.sub.L) is used in the connection.
Claims
1. An arrangement for controlling performance of a photodetector in an electronic circuit, wherein the photodetector is configured to be sensitive to light, the arrangement comprising: a positive supply voltage (Vcc) port and a ground (GND) port, wherein the photodetector is connected in the electronic circuit between the positive supply voltage (Vcc) port and the ground (GND), and wherein the photodetector is connected to the positive supply voltage (Vcc) port or to the ground (GND) port via at least a main resistor (RL); an external bias resistor (RL2) to be connectable in parallel to the main resistor (RL); a microcontroller configured to switch on at least one of the main resistor (RL) and the external bias resistor (RL2) by an output signal of the microcontroller; the microcontroller configured to connect the external bias resistor (RL2) between the photodetector and the positive supply voltage (Vcc) port, or between the photodetector and the ground (GND) port, for a time period enabling a bias to set for the photodetector based at least in part on the electronic circuit being switched on; and the microcontroller configured to disconnect functionally the external bias resistor (RL2) from the electronic circuit based at least in part on the bias being set.
2. The arrangement according to claim 1, wherein the photodetector is a phototransistor (Q), wherein a base (B) of the phototransistor (Q) is sensitive to light.
3. The arrangement according to claim 2, wherein a collector (C) of the phototransistor (Q) is connected to the main resistor (RL) and the external bias resistor (RL2), and an emitter (E) of the phototransistor (Q) is connected to the ground (GND) port or to a negative supply voltage port.
4. The arrangement according to claim 2, wherein a collector (C) of the phototransistor (Q) is connected to the positive supply voltage (Vcc) port, and an emitter (E) of the phototransistor (Q) is connected to the main resistor (RL) and the external bias resistor (RL2).
5. The arrangement according to claim 1, wherein the microcontroller is configured to activate at least one of the main resistor (RL) and the external bias resistor (RL2) through direct output voltages, or via a respective switch (S1, S2) connected in series with the respective resistor (RL, RL2).
6. The arrangement according to claim 5, wherein the microcontroller is configured to activate at least one of the main resistor (RL) and the external bias resistor (RL2) through direct output voltages, and the connection from at least one of the main resistor (RL) and the external bias resistor (RL2) to the ground (GND) port has been cut off.
7. The arrangement according to claim 1, wherein the electronic circuit applies one or more further external bias resistors (RL3, RL4) connected in parallel with the external bias resistor (RL2) and the main resistor (RL).
8. The arrangement according to claim 7, wherein the microcontroller is configured to activate at least one of the external bias resistors (RL2, RL3, RL4) during the biasing, wherein the microcontroller is configured to connect only the main resistor (RL) among all the resistors in the electronic circuit based at least in part on the bias being set.
9. The arrangement according to claim 8, wherein during the biasing, the main resistor (RL) is configured to be activated with at least one of the external bias resistors (RL2, RL3, RL4).
10. The arrangement according to claim 1, wherein the time period between the connecting and disconnecting instances is selected to be between 2-20 microseconds.
11. The arrangement according to claim 1, wherein a resistance of the main resistor (RL) is 1-4 kΩ.
12. The arrangement according to claim 1, wherein a resistance of the external bias resistor (RL2) is 100-400 Ω.
13. A method for controlling performance of a photodetector in an electronic circuit, wherein the photodetector is configured to be sensitive to light, the method comprising the steps of: connecting the photodetector in the electronic circuit between a positive supply voltage (Vcc) port and a ground (GND) port directly or indirectly; connecting the photodetector via a main resistor (RL) to the positive supply voltage (Vcc) port or to the ground (GND) port; connecting an external bias resistor (RL2) in parallel to the main resistor (RL); switching on at least one of the main resistor (RL) and the external bias resistor (RL2) by an output signal of a microcontroller; connecting the external bias resistor (RL2) between the photodetector and the positive supply voltage (Vcc) port, or between the photodetector and the ground (GND) port, for a time period enabling a bias to set for the photodetector based at least in part on the electronic circuit being switched on; and disconnecting functionally the external bias resistor (RL2) from the electronic circuit by the microcontroller based at least in part on the bias being set.
14. A computer program product for controlling performance of a photodetector in an electronic circuit, wherein the photodetector is configured to be sensitive to light, and wherein the computer program product comprises program code storable on a computer readable storage medium, the program code being configured to execute the following steps when the program code is run in a microcontroller or in an external processor: connecting the photodetector in the electronic circuit between a positive supply voltage (Vcc) port and a ground (GND) port directly or indirectly; connecting the photodetector via a main resistor (RL) to the positive supply voltage (Vcc) port or to the ground (GND) port; connecting an external bias resistor (RL2) in parallel to the main resistor (RL); switching on at least one of the main resistor (RL) and the external bias resistor (RL2) by an output signal of a microcontroller; connecting the external bias resistor (RL2) between the photodetector and the positive supply voltage (Vcc) port, or between the photodetector and the ground (GND) port, for a time period enabling a bias to set for the photodetector based at least in part on the electronic circuit being switched on; and disconnecting functionally the external bias resistor (RL2) from the electronic circuit by the microcontroller based at least in part on the bias being set.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION OF THE INVENTION
(8) The following detailed description illustrates embodiments of the present disclosure and ways in which they can be implemented.
(9) The present invention discloses a structure and principle for a circuit comprising a photodetector in a wearable device where gain and speed of the circuit can be enhanced with less consumed power. In an embodiment, the photodetector is a phototransistor.
(10) Concerning the other receiver electronics components like the amplifier, AD-converter and microcontroller, their consumed power can be saved by making the photodetector to wake up faster. Thus, the purpose of the present invention is to make and allow a photodetector to wake up faster and make its output less sensitive to noise and errors.
(11) The circuit according to the invention is implemented with discrete components in a tiny physical structure and with a very low power concerning the adjustment of the gain and shortening of the rise time of the phototransistor circuit. The use of a discrete phototransistor enables to select a thin and small-sized component to be fitted to a small device structure. By connecting a load resistance, R.sub.L, directly to the phototransistor enables to keep a number of components small and to save space in a small device structure.
(12) The idea is here discussed to be used in “common-emitter” type of circuit structures, but the concept can be utilized in common-collector circuits as well.
(13) In the present invention, the tuning of the circuit is performed in the front stage of the circuit. This is now discussed in more detail in connection to
(14)
(15) The supply voltage V.sub.cc is connected so that the main resistor R.sub.L is connected between the collector C and the V.sub.cc. Now going into the inventive circuit components of this embodiment, an external bias resistor R.sub.L2 is connected in parallel with the main resistor R.sub.L where the external bias resistor R.sub.L2 acts as an extra resistor. A microcontroller is further set to control a switch S2 where the switch S2 is connected in series with the external bias resistor R.sub.L2, i.e. between the V.sub.cc and the R.sub.L2.
(16) Now the functional working principle of the presented circuit structure is discussed. A faster bias is set to the photodetector Q by using the external bias resistor R.sub.L2. In other words, the photodetector Q has an extra connection to the power source V.sub.cc from the collector C with a smaller resistor. The resistance of the external bias resistor R.sub.L2 can be selected to be 5-30 times smaller than the resistance of the main resistor R.sub.L. The capacitor (not shown) including a capacitor from the base B to collector C, and from the collector C to emitter E, can be loaded quickly by switching the voltage through the external bias resistor R.sub.L2. When the capacitor is loaded, the voltage to the external bias resistor R.sub.L2 can be switched off, and thereafter, the measurement can be done with the main resistor R.sub.L (i.e. the first bias resistor) and its gain. In other words, the external bias resistor R.sub.L2 is switched on first or together with the main resistor R.sub.L. When the photoresistor Q is biased, the external bias resistor R.sub.L2 is disconnected functionally, and the measurement will be done with the main resistor R.sub.L only.
(17) The differences between the prior art (only R.sub.L used) and the present invention with the external bias resistor R.sub.L2 are illustrated and discussed in more detail later in connection with
(18)
(19)
(20) When the photoresistor Q is biased, the external bias resistor R.sub.L2 is disconnected functionally by opening the switch S2, and the measurement will be done with the main resistor R.sub.L only through closed switch S1.
(21)
(22) Now going into different kinds of circuit structures,
(23) The emitter E is further connected so that the main resistor R.sub.L is connected between the emitter E and the ground (GND). Now going into the inventive circuit components of the fourth embodiment, an external bias resistor R.sub.L2 is connected in parallel with the main resistor R.sub.L where the external bias resistor R.sub.L2 acts as an extra resistor. A microcontroller is further set to control a switch S2 where the switch S2 is connected in series with the external bias resistor R.sub.L2, i.e. between the emitter E and the ground (GND).
(24) Now the functional working principle of the presented circuit structure is discussed. A faster bias is set to the photodetector Q by using the external bias resistor R.sub.L2. In other words, the photodetector Q has an extra connection to the ground GND from the emitter E with a smaller resistor. The resistance of the external bias resistor R.sub.L2 can be selected to be 5-30 times smaller than the resistance of the main resistor R.sub.L. The capacitor (not shown) can be loaded quickly by switching the voltage through the external bias resistor R.sub.L2. When the capacitor is loaded, the voltage to the external bias resistor R.sub.L2 can be switched off, and thereafter, the measurement can be done with the main resistor R.sub.L (i.e. the first bias resistor) and its gain. In other words, the external bias resistor R.sub.L2 is switched on first or together with the main resistor R.sub.L. When the photoresistor Q is biased, the external bias resistor R.sub.L2 is disconnected functionally, and the measurement will be done with the main resistor R.sub.L only.
(25) The differences between the prior art (only R.sub.L used) and the present invention with the external bias resistor R.sub.L2 are illustrated and discussed in more detail later in connection with
(26)
(27)
(28) When the photoresistor Q is biased, the external bias resistor R.sub.L2 is disconnected functionally by opening the switch S2, and the measurement will be done with the main resistor R.sub.L only through closed switch S1.
(29)
(30)
R.sub.L=4000 Ω
R.sub.L2=⅕*R.sub.L=800 Ω
R.sub.L3= 1/10*R.sub.L=400 Ω
R.sub.L4= 3/80*R.sub.L=150 Ω
(31) With such a resistor pattern, the output voltage from the microcontroller can be a fixed value of V.sub.cc in each of the four branches, or alternatively zero. When the biasing is performed, the desired resistor or a group of resistors are activated through output signals from the microcontroller. After the biasing has been achieved, the three lower control signals from the microcontroller are disconnected from V.sub.cc, for example setting to an indefinite state i.e a non-connected state or very high impedance state, and only the main resistor R.sub.L is activated through supply voltage V.sub.cc from the microcontroller. It is notable that during the biasing of the phototransistor Q, the microcontroller can select any one of the resistors R.sub.L-R.sub.L4, or any two of the four resistors, or any three of the four resistors, or all four resistors of the circuit for the connection. During the actual measurement after the biasing, only R.sub.L is activated by the microcontroller.
(32)
R.sub.L=4000 Ω
R.sub.L2=⅕*R.sub.L=800 Ω
R.sub.L3= 1/10*R.sub.L=400 Ω
R.sub.L4= 1/20*R.sub.L=200 Ω
(33) With such a resistor pattern, the output voltage from the microcontroller can be a fixed value of V.sub.cc in each of the four branches, or alternatively being in a non-connected state. When the biasing is performed, the desired resistor or a group of resistors are activated through output signals from the microcontroller. After the biasing has been achieved, the three upper control signals from the microcontroller are functionally disconnected and only the main resistor R.sub.L is activated through connecting it to GND or to other fixed voltage value below V.sub.cc by the microcontroller. It is notable that during the biasing of the phototransistor Q, the microcontroller can select any one of the resistors R.sub.L-R.sub.L4, or any two of the four resistors, or any three of the four resistors, or all four resistors of the circuit for the connection. During the actual measurement after the biasing, only R.sub.L is activated by the microcontroller.
(34) It is highlighted that the above resistor values from the 7th and 8th embodiments are merely examples, and any other appropriate resistance values can be applied in the present invention.
(35)
(36) The first method is to use only R.sub.L=4000Ω for both the biasing and for the measurement. This means the method according to prior art. The resulting output voltage V.sub.out as a function of time is shown as the solid line 51 in
(37) The second method is to use only the resistor with the smaller resistance, i.e. R.sub.L=R.sub.L4=150Ω; also part of the prior art. This resistor results in the graph according to the dashed line 52 in
(38) The third method is the method according to the present invention. This time we use the seventh embodiment with the above values of R.sub.L=4000 Ω and R.sub.L4=150Ω, with the signal branches R.sub.L2 and R.sub.L3 as functionally disconnected (i.e. unused). We use first only the smaller resistance 150Ω for the biasing. The result can be seen in the dot-dash line 53 of
(39) Back to the results emerging from the connection according to the invention, the bias can be set 5-30 times faster, meaning for example in 5 μs instead of 100 μs. This means extreme power saving as the other components do not need to wait the bias setup so long, meaning that this theoretically saves 80-96% of the total power. In practice as the total saving time cannot be found, the power saving is still remarkable 20-80%. Due to the fact that the bias is set faster, the bias is also more stable and not so sensitive because of temperature or other external conditions and therefore, the noise will also be reduced. These are great advantages of the invented solution.
(40) Furthermore, because the I/O output port of the processor directly controls the resistor branches, the tuning of the measurement circuit is indeed performed in the front stage of the measurement circuit. This represents a clear difference to the usual circuit solutions where the gain is adjusted in a subsequent gain control block in the latter stages of the signal processing circuit.
(41) Also because the invented solution is implemented with discrete electrical components within a physically tiny structure in the context of wearable health and sleep monitoring devices, the circuit structures implemented with ASICs are not well suited to the context of the invention. In a preferable embodiment, the wearable health and sleep monitoring device is manufacturing in a form of a wearable ring by a human user. All necessary electrical components and sensors and even a battery can be implemented in such a small physical structure. A charging device can be implemented in a form of a table charger, where the ring can be placed for wireless charging of the battery. A further smartphone app may be connectable to the ring and the charging unit for transferring the measured data from the human user (i.e. from the ring-shaped monitoring device) to be visualized to the user him/herself through the personal smartphone screen. Appropriate radio transceivers are thus applied as well for the data transfer between the ring and the smartphone (or any other personal device, such as a tablet or a PC).
(42) A further advantage is that the circuitry with such an advantageous slow set-up time and high gain can be implemented in a tiny structure allowing various other application areas than just the ones discussed above. Because the present invention can be implemented with a small number of discrete components, and the circuit structure is also simple, a tiny microcontroller is also able to control the invented circuit. All this enables the fact that the desired components can indeed be implemented in a small ring-shaped device which is wearable and convenient for the human user even during his/her sleeping time.
(43) Summarizing the advantages once more for the present invention, the invented circuit structure consumes a very low power level, although a very high sensitivity is indeed needed. It is also notable that the phototransistor detects here pulsed light so there is a need to switch the phototransistor and the whole analog path and the microcontroller off very often and thus, as fast as possible. This further means that the photoreceiver must be switched on within short time periods, which means that the single rise time of the voltage output of the phototransistor must be very short. The presented circuit structure and microcontroller output control logic indeed allow these requirements to be fulfilled.
(44) Thus, the voltage output rise time is very short, good gain characteristics are obtained, and power savings are a notable result of the invented method and arrangement.
(45) The present invention comprises an arrangement, a corresponding method and a corresponding computer program product. All these aspects of the invention comprise the same sub-features, sub-parts and sub-functionalities which are comprised in the dependent arrangement claims.
(46) The present invention is not restricted merely to the embodiments disclosed above but it may vary within the scope of the claims.