Calculating Illuminance and Luminous Intensity
Enter the luminous intensity of luminous source, distance, the angle between the perpendicular line and light ray, to find the illuminance of the illuminated side. Conversely, find the luminous intensity of the source from the illuminance of the illuminated side.
Calculation |
|
|
|
|
| ||
i = | l | cos θ | l = | r | 2 | i | Luminous Intensity l |
|
| ||||||
| r2 | cos θ | θ | ||||
l : luminous intensity [candela] |
|
| i : illuminance [lux] | r | |||
r : distance [m] |
|
|
| θ : angle [˚ ] | Illuminance i | ||
|
|
|
|
FLOWCHART |
| PROGRAM LIST(REAL MODE) |
Start
A start
Selection of type
|
|
| Y |
|
|
|
|
|
| |
|
|
|
| S = 1 |
|
|
|
| ||
|
|
|
|
|
|
|
| |||
|
|
|
|
| N |
|
|
|
| |
|
|
|
| S = 2 |
|
|
| LUX | ||
|
|
|
| |||||||
CANDELA | A |
|
|
|
| |||||
| To subroutine |
|
| To subroutine | ||||||
|
|
|
|
|
| |||||
| Entry of |
|
|
| Entry of | |||||
| illuminance |
| luminous intensity | |||||||
|
|
|
|
| ||||||
| Calculation of |
|
| Calculation of | ||||||
| luminous intensity |
|
|
| illuminance | |||||
|
|
|
|
|
| |||||
| Display of |
|
|
| Display of | |||||
| luminous intensity |
|
|
| illuminance | |||||
|
|
|
|
|
|
|
|
|
|
|
End
Subroutine
DISTANCE
Entry of distance and angle
Return
| Title : CAND LUX | |||
| Label START | |||
| ClrT |
| ||
Enter 1 or 2. | Print "CANDELA=1 LUX=2 | |||
| Print "SELECT 1/2 | |||
To calculation of | Input S |
| ||
If S=1 Goto CANDELA | ||||
luminous intensity | If S=2 Goto LUX | |||
| Goto START | |||
To calculation of | Label CANDELA | |||
illuminance | Gosub DISTANCE | |||
| Print "Input LUX | |||
Jumps to subroutine | Input L |
| ||
L | I |
| ||
DISTANCE. |
| |||
R2 | I/cos θ | C | ||
| ||||
Enter illuminance or | Print "CANDELA | |||
luminous intensity. | Print C |
| ||
| End |
| ||
Illuminance or luminous | Label LUX |
| ||
intensity calculated. | Gosub DISTANCE | |||
| Print "Input CANDELA | |||
Illuminance or luminous | Input C |
| ||
C | K |
| ||
intensity displayed. |
| |||
K cos θ /R2 | L | |||
| ||||
| Print "LUX |
| ||
| Print L |
| ||
Subroutine for entry of | End |
| ||
Label DISTANCE | ||||
distance and angle | Print "Input DISTANCE | |||
Entry | Input D |
| ||
D | R |
| ||
|
| |||
Returns to calling program. | Print "Input ANGLE | |||
Input A |
| |||
| A | θ |
|
Return
PARAMETERS
Name of parameter | Content | Name of parameter | Content |
I | illuminance of luminated side | θ | angle |
|
|
|
|
K | luminous intensity of luminous source | A | input of angle |
|
|
|
|
R | distance | L | input and calculating luminous intensity |
|
|
|
|
S | selecting calculation type | D | input of distance |
| (S=1: calculation of luminous intensity) |
|
|
| C | input and calculating illuminance | |
| (S=2: calculation of illuminance) |
6