DEVICE AND METHOD FOR DETECTING A LIGHT IRRADIATING ANGLE

Abstract

A device and a method for detecting a light irradiating angle are disclosed. The device, used to detect the incident direction of a light ray, includes a solar sensor and a processor. The sensing unit of the solar sensor has sensing areas. The sensing areas correspondingly generate sensing signals based on the intensity of the light ray. A mask covers the sensing unit and has an X-shaped light transmitting portion. The light ray transmits the X-shaped light transmitting portion to form an X-axis light ray and a Y-axis light ray. The X-axis light ray intersects the Y-axis light ray. The X-axis light ray and the Y-axis light ray fall on the sensing area. The processor, coupled to the sensing unit, receives the sensing signals and determines information of the incident direction according to the sensing signals.

Claims

1. A device for detecting a light irradiating angle, used to detect an incident direction of a light ray, comprising: a solar sensor comprising: a sensing unit having a first sensing area, a second sensing area, a third sensing area, and a fourth sensing area, wherein the first sensing area, the second sensing area, the third sensing area, and the fourth sensing area are respectively configured to generate a first sensing signal, a second sensing signal, a third sensing signal, and a fourth sensing signal based on an intensity of the light ray; and a mask covering the sensing unit and having an X-shaped light transmitting portion, wherein the light ray transmits the X-shaped light transmitting portion to form an X-axis light ray and a Y-axis light ray, the X-axis light ray intersects the Y-axis light ray, and an intersection of the X-axis light ray and the Y-axis light ray falls on one of the first sensing area, the second sensing area, the third sensing area, and the fourth sensing area; and a processor coupled to the sensing unit and configured to receive the first sensing signal, the second sensing signal, the third sensing signal, and the fourth sensing signal and determine information of the incident direction based on the first sensing signal, the second sensing signal, the third sensing signal, and the fourth sensing signal.

2. The device for detecting a light irradiating angle according to claim 1, wherein the sensing unit is a square sensing unit that has crossing lines, the crossing lines divide the sensing unit into the first sensing area, the second sensing area, the third sensing area, and the fourth sensing area and divide each edge of the square sensing unit into a first line segment and a second line segment, and a ratio of a length of the first line segment to a length of the second line segment is 2:8 or 8:2.

3. The device for detecting a light irradiating angle according to claim 1, wherein each of the first sensing area, the second sensing area, the third sensing area, and the fourth sensing area has a shape of a trapezoid.

4. The device for detecting a light irradiating angle according to claim 1, further comprising a calibration sensor, the calibration sensor is arranged adjacent to the solar sensor and coupled to the processor, wherein the calibration sensor is configured to generate and transmit a basing signal to the processor, and the processor is configured to incorporate the basing signal, the first sensing signal, the second sensing signal, the third sensing signal, and the fourth sensing signal into representative calibration equations to lead a first calibration sensing signal, a second calibration sensing signal, a third calibration sensing signal, and a fourth calibration sensing signal, and the representative calibration equations include:
I.sub.1-D.sub.1×magnification=I.sub.1c;
I.sub.2-D.sub.1×magnification=I.sub.2c;
I.sub.3-D.sub.1×magnification=I.sub.3c; and
I.sub.4-D.sub.1×magnification=I.sub.4c; where I.sub.1 represents the first sensing signal, I.sub.2 represents the second sensing signal, I.sub.3 represents the third sensing signal, I.sub.4 represents the fourth sensing signal, D.sub.1 represents the basing signal, I.sub.1c represents the first calibration sensing signal, I.sub.2c represents the second calibration sensing signal, I.sub.3c represents the third calibration sensing signal, and I.sub.4c represents the fourth calibration sensing signal.

5. The device for detecting a light irradiating angle according to claim 4, wherein the information of the incident direction includes a falling point position, the falling point position is led by incorporating the first calibration sensing signal, the second calibration sensing signal, the third calibration sensing signal, and the fourth calibration sensing signal into representative falling point equations, and the representative falling point equations includes:
I.sub.1c>I.sub.3c& I.sub.4c>I.sub.2c.fwdarw.falling on the first sensing area;
I.sub.1c>I.sub.3c& I.sub.2c>I.sub.4c.fwdarw.falling on the second sensing area;
I.sub.3c>I.sub.1c& I.sub.2c>I.sub.4c.fwdarw.falling on the third sensing area; and
I.sub.3c>I.sub.1c& I.sub.4c>I.sub.2c.fwdarw.falling on the fourth sensing area.

6. The device for detecting a light irradiating angle according to claim 4, wherein the information of the incident direction includes an X-axis incident angle and a Y-axis incident angle, the processor is configured to incorporate the first calibration sensing signal, the second calibration sensing signal, the third calibration sensing signal, and the fourth calibration sensing signal into a first representative equation to lead the X-axis incident angle, the first representative equation includes θ x = tan - 1 ( ( c L I 2 c + c U I 1 c ) - ( c D I 3 c + c R I 4 c ) c R I 4 c + c U I 1 c + c L I 2 c + c D I 3 c ) .Math. C , the processor is configured to incorporate the first calibration sensing signal, the second calibration sensing signal, the third calibration sensing signal, and the fourth calibration sensing signal into a second representative equation to lead the Y-axis incident angle, and the second representative equation includes θ y = tan - 1 ( ( ( 1 - c U ) I 1 c + ( 1 - c R ) I 4 c ) - ( ( 1 - c D ) I 3 c + ( 1 - c L ) I 2 c ) ( 1 - c R ) I 4 c + ( 1 - c U ) I 1 c + ( 1 - c L ) I 2 c + ( 1 - c D ) I 3 c ) .Math. C , where θ.sub.x represents the X-axis incident angle, θ.sub.y represents the Y-axis incident angle, c.sub.U represents a weight of the first sensing area, c.sub.L represents a weight of the second sensing area, c.sub.D represents a weight of the third sensing area, c.sub.R represents a weight of the fourth sensing area, and C represents a constant.

7. A method for detecting a light irradiating angle comprising: generating a first sensing signal, a second sensing signal, a third sensing signal, and a fourth sensing signal based on an intensity of a light ray, wherein the first sensing signal, the second sensing signal, the third sensing signal, and the fourth sensing signal are respectively generated by a first sensing area, a second sensing area, a third sensing area, and a fourth sensing area of a sensing unit; calibrating the first sensing signal, the second sensing signal, the third sensing signal, and the fourth sensing signal to respectively generate a first calibration sensing signal, a second calibration sensing signal, a third calibration sensing signal, and a fourth calibration sensing signal; determining a falling point position of the light ray based on currents of the first calibration sensing signal, the second calibration sensing signal, the third calibration sensing signal, and the fourth calibration sensing signal; and determining an X-axis incident angle and a Y-axis incident angle of the light ray based on the first calibration sensing signal, the second calibration sensing signal, the third calibration sensing signal, and the fourth calibration sensing signal.

8. The method for detecting a light irradiating angle according to claim 7, wherein the step of calibrating the first sensing signal, the second sensing signal, the third sensing signal, and the fourth sensing signal to respectively generate the first calibration sensing signal, the second calibration sensing signal, the third calibration sensing signal, and the fourth calibration sensing signal includes: receiving a basing signal; and incorporating the basing signal, the first sensing signal, the second sensing signal, the third sensing signal, and the fourth sensing signal into representative calibration equations to lead the first calibration sensing signal, the second calibration sensing signal, the third calibration sensing signal, and the fourth calibration sensing signal, wherein the representative calibration equations include:
I.sub.1-D.sub.1×magnification=I.sub.1c;
I.sub.2-D.sub.1×magnification=I.sub.2c;
I.sub.3-D.sub.1×magnification=I.sub.3c; and
I.sub.4-D.sub.1×magnification=I.sub.4c; where I.sub.1 represents the first sensing signal, I.sub.2 represents the second sensing signal, I.sub.3 represents the third sensing signal, I.sub.4 represents the fourth sensing signal, D.sub.1 represents the basing signal, I.sub.1c represents the first calibration sensing signal, I.sub.2c represents the second calibration sensing signal, I.sub.3c represents the third calibration sensing signal, and I.sub.4c represents the fourth calibration sensing signal.

9. The method for detecting a light irradiating angle according to claim 7, wherein in the step of determining the falling point position of the light ray based on the currents of the first calibration sensing signal, the second calibration sensing signal, the third calibration sensing signal, and the fourth calibration sensing signal, the falling point position is led by incorporating the first calibration sensing signal, the second calibration sensing signal, the third calibration sensing signal, and the fourth calibration sensing signal into representative falling point equations, and the representative falling point equations includes:
I.sub.1c>I.sub.3c& I.sub.4c>I.sub.2c.fwdarw.falling on the first sensing area;
I.sub.1c>I.sub.3c& I.sub.2c>I.sub.4c.fwdarw.falling on the second sensing area;
I.sub.3c>I.sub.1c& I.sub.2c>I.sub.4c.fwdarw.falling on the third sensing area; and
I.sub.3c>I.sub.1c& I.sub.4c>I.sub.2c.fwdarw.falling on the fourth sensing area, where I.sub.1c represents the first calibration sensing signal, I.sub.2c represents the second calibration sensing signal, I.sub.3c represents the third calibration sensing signal, and I.sub.4c represents the fourth calibration sensing signal.

10. The method for detecting a light irradiating angle according to claim 7, wherein in the step of determining the X-axis incident angle and the Y-axis incident angle of the light ray based on the first calibration sensing signal, the second calibration sensing signal, the third calibration sensing signal, and the fourth calibration sensing signal, the first calibration sensing signal, the second calibration sensing signal, the third calibration sensing signal, and the fourth calibration sensing signal are incorporated into a first representative equation to lead the X-axis incident angle, the first calibration sensing signal, the second calibration sensing signal, the third calibration sensing signal, and the fourth calibration sensing signal are incorporated into a second representative equation to lead the Y-axis incident angle, the first representative equation includes θ x = tan - 1 ( ( c L I 2 c + c U I 1 c ) - ( c D I 3 c + c R I 4 c ) c R I 4 c + c U I 1 c + c L I 2 c + c D I 3 c ) .Math. C , and the second representative equation includes θ y = tan - 1 ( ( ( 1 - c U ) I 1 c + ( 1 - c R ) I 4 c ) - ( ( 1 - c D ) I 3 c + ( 1 - c L ) I 2 c ) ( 1 - c R ) I 4 c + ( 1 - c U ) I 1 c + ( 1 - c L ) I 2 c + ( 1 - c D ) I 3 c ) .Math. C , where θ.sub.x represents the X-axis incident angle, θ.sub.y represents the Y-axis incident angle, c.sub.U represents a weight of the first sensing area, c.sub.L represents a weight of the second sensing area, c.sub.D represents a weight of the third sensing area, c.sub.R represents a weight of the fourth sensing area, C represents a constant, I.sub.1c represents the first calibration sensing signal, I.sub.2c represents the second calibration sensing signal, I.sub.3c represents the third calibration sensing signal, and I.sub.4c represents the fourth calibration sensing signal.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

[0017] FIG. 1 is a schematic diagram illustrating a device for detecting a light irradiating angle according to an embodiment of the present invention;

[0018] FIG. 2 is a cross-sectional view of a solar sensor according to an embodiment of the present invention;

[0019] FIG. 3 is a top view of a sensing unit according to an embodiment of the present invention;

[0020] FIG. 4 is a top view of a mask according to an embodiment of the present invention;

[0021] FIG. 5 is a flowchart of a method for detecting a light irradiating angle according to an embodiment of the present invention; and

[0022] FIG. 6 is a schematic diagram illustrating the state of irradiating a sensing unit with light according to an embodiment of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

[0023] The present invention provides a device for detecting a light irradiating angle, wherein the device is used to detect the incident direction of a light ray. Referring to FIG. 1, a device 1 for detecting a light irradiating angle includes a solar sensor 10, a processor 20, and at least one calibration sensor 30. The processor 20, coupled to the solar sensor 10 and the calibration sensor 30, receives the signals from the solar sensor 10 and the calibration sensor 30 to determine the information of the incident direction of the light ray. The information of the incident direction includes a falling point position, an X-axis incident angle, and a Y-axis incident angle.

[0024] Referring to FIG. 2, the structure of the solar sensor 10 is introduced as follows. In the embodiment, the solar sensor 10 is a semiconductor component. The solar sensor 10 includes a sensing unit 12, a mask 14, a substrate 16, and a transparent object 18. The transparent object 18 may be a glass plate. The recess 160 of the substrate 16 is used to accommodate the sensing unit 12. The opening of the recess 160 of the substrate 16 is covered with the transparent object 18. The transparent object 18 is provided with the mask 14 thereon. The mask 14 covers the sensing unit 12 to shield a part of the light ray.

[0025] Referring to FIG. 3, the structure of the sensing unit 12 is introduced as follows. In the embodiment, the sensing unit 12 is a light sensing component. The sensing unit 12 is a square sensing unit that has crossing lines 120. The crossing lines 120 divide the sensing unit 12 into a first sensing area 122, a second sensing area 124, a third sensing area 126, and a fourth sensing area 128 and divide each edge of the square sensing unit12 into a first line segment b1 and a second line segment b2. In the embodiment, the ratio of the width z of the crossing line 120 to the length of the first line segment b1 to the length of the second line segment b2 is 1:2:8. Thus, each of the first sensing area 122, the second sensing area 124, the third sensing area 126, and the fourth sensing area 128 divided by the crossing lines 120 has a trapezoid shape. Alternatively, the ratio of the width z of the crossing line 120 to the length of the first line segment b1 to the length of the second line segment b2 is 1:8:2. The present invention is not limited to the ratio of the width z of the crossing line 120 to the length of the first line segment b1 to the length of the second line segment b2.

[0026] The first sensing area 122, the second sensing area 124, the third sensing area 126, and the fourth sensing area 128 may respectively generate a first sensing signal, a second sensing signal, a third sensing signal, and a fourth sensing signal based on the intensity of the light ray. The first sensing signal, the second sensing signal, the third sensing signal, and the fourth sensing signal have different currents.

[0027] Referring to FIG. 4, the structure of the mask 14 is introduced as follows. The mask 14 has an X-shaped light transmitting portion 140. The light ray transmits the X-shaped light transmitting portion 140 to form an X-axis light ray and a Y-axis light ray. The X-axis light ray intersects the Y-axis light ray. The intersection of the X-axis light ray and the Y-axis light ray falls on one of the first sensing area 122, the second sensing area 124, the third sensing area 126, and the fourth sensing area 128.

[0028] The processor 20 is coupled to the sensing unit 12. The processor 20 receives the first sensing signal, the second sensing signal, the third sensing signal, and the fourth sensing signal from the first sensing area 122, the second sensing area 124, the third sensing area 126, and the fourth sensing area 128 and determines the information of the incident direction of the light ray based on the first sensing signal, the second sensing signal, the third sensing signal, and the fourth sensing signal.

[0029] Referring to FIG. 1 and FIG. 3, the calibration sensor 30 is arranged adjacent to the solar sensor 10 and coupled to the processor 20. The calibration sensor 30 generates and transmits a basing signal to the processor 20. The processor 20 calibrates the first sensing signal, the second sensing signal, the third sensing signal, and the fourth sensing signal to improve the precision of calculating the information of the incident direction in the subsequent process. In detail, the calibration sensor 30 may be a light sensor. The surface of the calibration sensor 30 is covered with a shade (not illustrated), lest the light ray irradiates the calibration sensor 30. The calibration sensor 30 is used to read the present dark current generated due to the ambient temperature or other environmental parameters, and estimate its proportional relationship to eliminate the dark currents generated by the first sensing area 122, the second sensing area 124, the third sensing area 126, and the fourth sensing area 128, thereby improving the operation precision of the processor 20.

[0030] After introducing the structure of the present invention, the steps of the method of the present invention are introduced as follows. Refer to FIGS. 1-6. Firstly, in Step S10 and FIG. 6, the light ray transmits the X-shaped light transmitting portion 140 of the mask 14 to form an X-axis light ray L1 and a Y-axis light ray L2. The X-axis light ray L1 intersects the Y-axis light ray L2. The intersection C of the X-axis light ray L1 and the Y-axis light ray L2 falls on one of the first sensing area 122, the second sensing area 124, the third sensing area 126, and the fourth sensing area 128. Thus, the first sensing area 122, the second sensing area 124, the third sensing area 126, and the fourth sensing area 128 respectively generate the first sensing signal, the second sensing signal, the third sensing signal, and the fourth sensing signal based on the intensity of the light ray when the light ray irradiates the solar sensor 10. In the embodiment, the first sensing signal, the second sensing signal, the third sensing signal, and the fourth sensing signal may be currents (I). The generated current is larger when the intensity of the light ray is higher.

[0031] In Step S12, the sensing unit 12 transmits the first sensing signal, the second sensing signal, the third sensing signal, and the fourth sensing signal to the processor 20. Simultaneously, the processor 20 receives the basing signal generated by the calibration sensor 30, and calibrates the first sensing signal, the second sensing signal, the third sensing signal, and the fourth sensing signal to respectively generate a first calibration sensing signal, a second calibration sensing signal, a third calibration sensing signal, and a fourth calibration sensing signal.

[0032] In signal calibration, the processor 20 incorporates the basing signal, the first sensing signal, the second sensing signal, the third sensing signal, and the fourth sensing signal into representative calibration equations to lead the first calibration sensing signal, the second calibration sensing signal, the third calibration sensing signal, and the fourth calibration sensing signal. The representative calibration equations include:


I.sub.1-D.sub.1×magnification=I.sub.1c;


I.sub.2-D.sub.1×magnification=I.sub.2c;


I.sub.3-D.sub.1×magnification=I.sub.3c; and


I.sub.4-D.sub.1×magnification=I.sub.4c;

[0033] where I.sub.1 represents the first sensing signal, I.sub.2 represents the second sensing signal, I.sub.3 represents the third sensing signal, I.sub.4 represents the fourth sensing signal, D.sub.1 represents the basing signal, lip represents the first calibration sensing signal, I.sub.2c represents the second calibration sensing signal, I.sub.3c represents the third calibration sensing signal, and I.sub.4c represents the fourth calibration sensing signal.

[0034] In Step S14, the processor 20 determines the falling point position of the light ray based on currents of the first calibration sensing signal, the second calibration sensing signal, the third calibration sensing signal, and the fourth calibration sensing signal. The falling point position is the position where the intersection C falls on the sensing unit 12. The falling point position is led by incorporating the first calibration sensing signal, the second calibration sensing signal, the third calibration sensing signal, and the fourth calibration sensing signal into representative falling point equations. The representative falling point equations includes:


I.sub.1c>I.sub.3c& I.sub.4c>I.sub.2c.fwdarw.falling on the first sensing area;


I.sub.1c>I.sub.3c& I.sub.2c>I.sub.4c.fwdarw.falling on the second sensing area;


I.sub.3c>I.sub.1c& I.sub.2c>I.sub.4c.fwdarw.falling on the third sensing area; and


I.sub.3c>I.sub.1c& I.sub.4c>I.sub.2c.fwdarw.falling on the fourth sensing area,

where I.sub.1c represents the first calibration sensing signal, I.sub.2c represents the second calibration sensing signal, I.sub.3c represents the third calibration sensing signal, and I.sub.4c represents the fourth calibration sensing signal.

[0035] In Step S16, the processor 20 determines the X-axis incident angle and the Y-axis incident angle of the light ray based on the first calibration sensing signal, the second calibration sensing signal, the third calibration sensing signal, and the fourth calibration sensing signal. The processor 20 incorporates the first calibration sensing signal, the second calibration sensing signal, the third calibration sensing signal, and the fourth calibration sensing signal into a first representative equation to lead the X-axis incident angle. The first representative equation includes

[00003] θ x = tan - 1 ( ( c L I 2 c + c U I 1 c ) - ( c D I 3 c + c R I 4 c ) c R I 4 c + c U I 1 c + c L I 2 c + c D I 3 c ) .Math. C ,

where θ.sub.x represents the X-axis incident angle, c.sub.U represents the weight of the first sensing area, c.sub.L represents the weight of the second sensing area, c.sub.D represents the weight of the third sensing area, c.sub.R represents the weight of the fourth sensing area, C represents a constant, I.sub.1c represents the first calibration sensing signal, I.sub.2c represents the second calibration sensing signal, I.sub.3c represents the third calibration sensing signal, and I.sub.4c represents the fourth calibration sensing signal.

[0036] The processor 20 incorporates the first calibration sensing signal, the second calibration sensing signal, the third calibration sensing signal, and the fourth calibration sensing signal into a second representative equation to lead the Y-axis incident angle. The second representative equation includes

[00004] θ y = tan - 1 ( ( ( 1 - c U ) I 1 c + ( 1 - c R ) I 4 c ) - ( ( 1 - c D ) I 3 c + ( 1 - c L ) I 2 c ) ( 1 - c R ) I 4 c + ( 1 - c U ) I 1 c + ( 1 - c L ) I 2 c + ( 1 - c D ) I 3 c ) .Math. C ,

where θ.sub.y represents the Y-axis incident angle, c.sub.U represents a weight of the first sensing area, c.sub.L represents a weight of the second sensing area, c.sub.D represents a weight of the third sensing area, c.sub.R represents a weight of the fourth sensing area, C represents a constant, lip represents the first calibration sensing signal, I.sub.2c represents the second calibration sensing signal, I.sub.3c represents the third calibration sensing signal, and I.sub.4c represents the fourth calibration sensing signal.

[0037] Using the foregoing method, the incident information of the light ray can be precisely determined. The present invention integrates a four-quadrant solar sensor to reduce the volume of the module and increase the precision of the solar sensor. The present invention adds a calibration sensor for calibrating environmental noise. Thus, when the solar sensor works, the solar sensor can immediately calibrate noise based on the ambient temperature or other environmental parameters, thereby increasing the accuracy of sensing light.

[0038] The embodiments described above are only to exemplify the present invention but not to limit the scope of the present invention. Therefore, any equivalent modification or variation according to the shapes, structures, features, or spirit disclosed by the present invention is to be also included within the scope of the present invention.