Ldr optimization PDF

Title Ldr optimization
Author Anonymous User
Course Componentes Electrónicos
Institution Universidad de Granada
Pages 3
File Size 127.3 KB
File Type PDF
Total Downloads 79
Total Views 152

Summary

Download Ldr optimization PDF


Description

CHAPTER

3 SYSTEM ANALYSIS

3.1

Optimizing resistor divider for LDR-based sun sensor output

Figure 3.1 – Voltage divider for LDR-based sun sensor output (provisional)

The sun sensor will be implemented as an LDR connected to and ADC through a voltage divider. That voltage divider should maximize excursion output, in order to get the most resolution possible from the 12-bit ADC. In order to achieve that, resistor divider must be adequately optimized. In the diagram above, LDR is denoted as R∗ and R is another resistance completing the voltage divider. Depending on the light falling upon the LDR, R∗ varies, so does the voltage U . That voltage is directly connected to the ADC so it is converted into a discrete value. With this circuit, U will increase when light level is high

DATV Receiver System Design and Development

9

10

Chapter 3. System Analysis

(facing sun) whereas will decrease when light reduces (eclipse). Ideally, U voltage should go through the range [0V, U0 ] to maximize distinguishable values. Considering that the only degree of freedom is given by R value, it must be the point of the optimization. On the other hand, extreme resistance values of the LDR must be known so the whole resistance of the voltage divider can be calculated. Therefore, for a certain ∗ , R∗ resistance R∗ ∈ [Rmin max ]:

U (R) = U0

3

R∗

R +R

(3.1.1)

Since the aim is maximizing the voltage margin for U , it will be denoted as ∆U (R), which is the electric potential differential across R∗ :

∆U (R) = Umax(R) − Umin (R) 







R R  − ∗ = U0  ∗ R min + R Rmax + R ∗ ) R(R∗max − Rmin  = U0  ∗ ∗ (Rmin + R)(Rmax + R)

In order to maximize the function ∆U (R), the derivative

∂ ∆U ∂R

h



is calculated:

i

∗ ) R2 − R∗ ∗ (R∗min − Rmax ∂ min Rmax  ∆U = U0 ∗ ∂R + R)2 (R∗min + R)2 (Rmax

Then, it is solved



U0 

∂ ∆U ∂R

= 0 to find extreme point or extrema:

h

∗ ∗ (Rmin − R∗max) R2 − R∗min Rmax ∗ ∗ + R)2 (Rmax + R)2 (Rmin

i 

h

i

∗ ∗ ∗ = 0 → (Rmin − R∗max) R2 − Rmin Rmax =0

Assuming R∗max > R∗min , solving the last equation yields to:

José Carlos Martínez Durillo

11

3.1. Optimizing resistor divider for LDR-based sun sensor output

R=

q

∗ ∗ Rmin Rmax

Therefore, the optimum resistance in order to get high dynamic range in output voltage is given by the square root of the product of the LDR extreme values. The following figure shows the behaviour of the function ∆U (R) depending on the extreme resistance values of the photoresistor. Blue series corresponds to the currently available resistor, with an optimum resistance R = 1k Ω 90

3

80 70 60 145 , 13 k 20 k , 20 M 5.4 k , 1 M 17 k , 1 M 12.6 k , 1 M

50 40 30 20 10 0 0

10

20

30

40

50

60

70

80

90

100

Figure 3.2 – ∆U ratio for different LDR extreme values

DATV Receiver System Design and Development...


Similar Free PDFs