USPatent applicationPatented

Ambient light sensor

Granted 23 Aug 2011 · no office action yet

Assignee: ROHM Co., Ltd.

Law firm: Law firm · Log in to unlock

Attorney: Attorney · Log in to unlock

Inventors: Yuichiro Nakata, Shinichi Otsuka, Junji Fujino · Examiner: Kevin Pyo · AU 2878 · TC 2800

Life of the application

6 dated events
⤢ drag to zoom20102012201420162018202020222024202620282030ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

In an ambient light sensor according to the present invention, a current amplification portion which amplifies a light current obtained by a light receiving portion to generate an output signal includes: a current amplification stage that has: a first current mirror amplifier which is composed of a bipolar transistor, and a second current mirror amplifier which is composed of a field effect transistor connected in parallel with the first current mirror amplifier; and a changeover control circuit which monitors an amplified current input into the current amplification stage, and performs changeover control of the first and second current mirror amplifiers according to a value of the amplified current.

Description

14 parts
›CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of (and claims the benefit of priority of) U.S. application Ser. No. 12/277,618, filed on Nov. 25, 2008, which in turn is based on the following Japanese Patent Applications:

[1] No. 2007-311906 (the filing date: Dec. 3, 2007)

[2] No. 2007-311909 (the filing date: Dec. 3, 2007)

[3] No. 2008-293624 (the filing date: Nov. 17, 2008),

the contents of which are hereby incorporated by reference.

›BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to an ambient light sensor which detects ambient illumination.

2. Description of Related Art

Conventionally, electronic apparatuses that use an ambient light sensor to detect ambient illumination and carry out various kinds of control according to the detected results are in practical use. For example, in the field of photographing apparatuses, typically, a digital still camera and a digital camcorder, exposure control and flash control are carried out according to a detected result from an ambient light sensor. Besides, in the field of liquid crystal display apparatuses, typically, a liquid crystal display television and a liquid crystal display monitor, brightness control of a backlight is carried out according to a detected result from an ambient light sensor.

As an example of the conventional art related to the technology described above, there is JP-A-2002-176192 which is disclosed and proposed by the applicant of the present patent application.

Generally, the conventional ambient light sensor has a structure in which a photoelectric transducing device such as a photodiode and the like is used to generate a light current depending on ambient illumination, and the light current is amplified by a current mirror amplifier to generate a desired output signal (output current).

Because of this, in an ambient light sensor that has the structure described above, to obtain an output signal proportionate to ambient illumination, it is necessary to keep always the mirror ratio of the current mirror amplifier at a constant value.

However, in a case where the current mirror amplifier is composed of a bipolar transistor, the output signal is saturated as the light current increases, and the mirror ratio of the current mirror amplifier deviates from a predetermined target value, accordingly, linearity of the output signal is kept in only a region where the light current is relatively small.

On the other hand, in a case where the current mirror amplifier is composed of a MOS (Metal Oxide Semiconductor) Field Effect Transistor, fluctuation in the output signal becomes large as the light current becomes small, and the mirror ratio of the current mirror amplifier deviates from a predetermined target value, accordingly, linearity of the output signal is kept in only a region where the light current is relatively large.

In the field of ambient light sensors, a technology is developed, in which calculation of a difference between light currents that are separately generated by a first and second photoelectric transducing devices which are different from each other in light receiving characteristic (spectral sensitivity) is carried out, thereby only a desired wavelength is measured.

However, because the ambient light sensor described above is so structured as to always carry out a difference between the light signals according to a constant proportion, depending on certain kinds of light sources whose illuminations are measured, the difference calculation result becomes below zero, and the output signal becomes zero, accordingly, there is a problem that exact measurement of illuminations of the light sources cannot be carried out.

›SUMMARY OF THE INVENTION

The present invention has been made to cope with the conventional problems, and it is an object of the present invention to provide an ambient light sensor which is capable of keeping excellent linearity of an output signal in a wide illumination range.

To achieve the object, an ambient light sensor according to the present invention comprises: a light receiving portion which generates a light current that depends on ambient illumination; and a current amplification portion which amplifies a light current obtained by the light receiving portion to generate an output signal, wherein the current amplification portion includes: a current amplification stage that has: a first current mirror amplifier which is composed of a bipolar transistor; and a second current mirror amplifier which is composed of a field effect transistor connected in parallel with the first current mirror amplifier, and a changeover control circuit which monitors an input current to the current amplification stage, and performs changeover control of the first and second current mirror amplifiers according to a value of the input current.

Other features, elements, steps, advantages, and characteristics of the present invention will become more apparent from detailed description of the following best embodiments and accompanying drawings in connection with the embodiments.

In addition, in the present specification, besides the above description, other various technological features such as an ambient light sensor and the like that are capable of implementing a constant output to be obtained for a constant illumination are disclosed and proposed.

›BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram showing an embodiment of a semiconductor apparatus according to the present invention.

FIG. 2 is a table showing pin numbers, terminal names, input/output equivalent circuits, and functions of external terminals.

FIG. 3 is a dimensional view of a semiconductor apparatus 10 .

FIG. 4 is a view for description of optical design of a package upper surface.

FIG. 5 is a table showing electrical characteristics of the semiconductor apparatus 10 .

FIG. 6 is a circuit diagram showing a structural example of a light receiving portion 11 .

FIG. 7 is a view showing largeness of a light current generated by a unit area of a visible light detection photodiode PDv.

FIG. 8 is a view showing largeness of a light current generated by a unit area of an infrared light detection photodiode PDir.

FIG. 9 is a schematic view showing an arrangement example of photodiodes.

FIG. 10 is a view showing largeness of each of a light current iv 1 , a light current iir 1 , and a difference current ia 1 .

FIG. 11 is a view showing largeness of each of a light current iv 2 , a light current iir 2 , and a difference current ia 2 .

FIG. 12 is a view showing largeness of each of a light current iv 3 , a light current iir 3 , and a difference current ia 3 .

FIG. 13 is a view showing total values of the difference currents ia 1 , ia 2 , and ia 3 .

FIG. 14 is a circuit diagram showing a structural example of a current amplification portion 12 .

FIG. 15 is a logical-value table for mode settings using a GC1 terminal and a GC2 terminal.

FIG. 16 is a circuit diagram showing a modification of a current amplification stage AMP 3 .

FIG. 17 is a circuit diagram showing a modification of a level shifter circuit LS.

FIG. 18 is a circuit diagram showing a structural example of a transistor Q 32 .

FIG. 19 is a view showing a relationship between a monitor current im and a current proportion.

FIG. 20A is a circuit diagram showing a structural example of an output saturation limiter circuit.

FIG. 20B is a circuit diagram showing another connection example of an output saturation limiter circuit.

FIG. 20C is a circuit diagram in which an output saturation limiter circuit is not used.

FIG. 21 is a view to describe light-current compensation by bipolar transistors.

FIG. 22 is a circuit diagram showing a structural example of a light-current compensation circuit CL 2 .

FIG. 23 is a schematic view showing a device layout example of bipolar transistors.

›DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS · 1 of 10

FIG. 1 is a block diagram showing an embodiment of a semiconductor apparatus according to the present invention.

An overview of a semiconductor apparatus 10 according to the present embodiment is described below.

The semiconductor apparatus 10 shown in FIG. 1 is an analog ambient light sensor IC that outputs an electric current, and, for example, is capable of outputting illumination data for implementation of brightness adjustment of a liquid crystal display screen. Besides, it is possible to decrease power consumption of a set and improve visibility of a screen by adjusting brightness of a liquid crystal display and a key pad according to illumination data.

Next, features of the semiconductor apparatus 10 are described.

A first feature is that a small surface mount package (3.0 [mm]×1.6 [mm]) is used. A second feature is that the semiconductor apparatus 10 has a spectral sensitivity characteristic near visual sensitivity (the peak sensitivity wavelength: 560 [nm] (typ.)). A third feature is that an electric current proportionate to an illumination is output. A fourth feature is that the semiconductor apparatus 10 can operate in a wide driving voltage range of 2.4 to 5.5 [V]. A fifth feature is that a shutdown function is incorporated. A sixth feature is that the current output gain can be controlled by 3 steps. A seventh feature is that the semiconductor apparatus 10 is compatible with a 1.8 [V] logic input interface. A eighth feature is that sensitivity fluctuation is small (±15%).

The semiconductor apparatus 10 is incorporated in electronic apparatuses such as a mobile phone, a liquid crystal display television, a plasma television, a notebook computer, a mobile game machine, a digital still camera, a digital camcorder, a car navigation apparatus, a PDA (Personal Digital/Data Assistant) and the like, and can be preferably used as a means for detecting ambient illumination.

As shown in FIG. 1 , the semiconductor apparatus 10 according to the present embodiment that has the features described above includes a light receiving portion 11 , a current amplification portion 12 , and a logic portion 13 that are integrated.

The light receiving portion 11 is a light receiving means that presents a spectral sensitivity characteristic near visual sensitivity, and includes a plurality of photodiodes in the present embodiment.

The current amplification portion 12 is a means that amplifies a light current obtained by the light receiving portion 11 to generate an output signal, and can change the gain by 3 steps (H/M/L).

The logic portion 13 is a logic circuit that sets an operation mode (shutdown mode/H gain mode/M gain mode/gain mode) of the apparatus according to input voltages to a GC1 terminal and a GC2 terminal.

Besides, the semiconductor apparatus 10 according to the present embodiment includes 6 outer terminals (first to sixth pins) as means for electric connection to external apparatuses.

FIG. 2 is a table showing pin numbers, terminal names, input/output equivalent circuits, and functions of the outer terminals.

An IOUT terminal (the first pin) is a terminal via which a detected current depending on an illumination is output, and is connected to a GND terminal via an external resistor RL for use (see FIG. 1 ). Electrostatic protective diodes are each connected across the IOUT terminal and the VCC terminal (the third pin), and across the IOUT terminal and the GND terminal (the second pin).

The GND terminal (the second pin) is a ground terminal.

The VCC terminal (the third pin) is a power-supply voltage terminal.

The NC terminal (the fourth pin) is a non-connect terminal that is not used in a usual time, and it is desirable that the NC terminal is opened or short-circuited to the GND terminal in a usual time.

The GC1 terminal (the fifth pin) and the GC2 terminal (the sixth pin) are mode setting terminals that are compatible with a 1.8 [V] logic interface, and an electrostatic protective resistor is connected in a signal circuit of each mode setting terminal. Besides, electrostatic protective diodes are each connected across the GC1 terminal and the VCC terminal, the GC2 terminal and the VCC terminal, the GC1 terminal and the GND terminal, and the GC2 terminal and the GND terminal.

The semiconductor apparatus 10 is encapsulated in a small surface mount package (3.0 [mm]×1.6 [mm]) shown in FIG. 3 . As for optical design of the upper surface of the package, as shown in FIG. 4 , a light receiving area X (0.25 [mm]×0.3 [mm]) is formed on the central portion of the package upper surface. Accordingly, it is desirable that set design is so performed as to allow light to hit at least an area indicated by a circular portion Y shown in FIG. 4 .

FIG. 5 is a table that shows electric characteristics of the semiconductor apparatus 10 having the structure described above. The electric characteristics shown in FIG. 5 present numerical values under a condition of VCC=3 [V], and an ambient temperature Ta=25 [° C.] unless otherwise specified.

Next, a structure and operation of the light receiving portion 11 are described in detail.

FIG. 6 is a circuit diagram showing a structural example of the light receiving portion 11 .

As shown in FIG. 6 , the light receiving portion 11 includes photodiodes PDv 1 , PDv 2 , and PDv 3 , photodiodes PDir 1 , PDir 2 , and PDir 3 , diodes D 1 , D 2 , and constant-current sources I 1 , I 2 .

All the cathodes of the photodiodes PDv 1 , PDv 2 , and PDv 3 are connected to the application terminal of the power-supply voltage VCC. The anodes of the photodiodes PDv 1 , PDv 2 , and PDv 3 are connected to the emitters of transistors Qv 1 , Qv 2 , and Qv 3 , respectively. The collectors of the transistors Qv 1 , Qv 2 , and Qv 3 are connected to the collectors of transistors Qir 1 , Qir 2 , and Qir 3 , respectively. The emitters of the transistors Qir 1 , Qir 2 , and Qir 3 are connected to the cathodes of the photodiodes PDir 1 , PDir 2 , and PDir 3 , respectively. All the anodes of the photodiodes PDir 1 , PDir 2 , and PDir 3 are connected to a ground terminal. The anode of the diode D 1 is connected to the application terminal of the power-supply voltage VCC. The cathode of the diode D 1 is connected to the bases of the transistors Qv 1 , Qv 2 , and Qv 3 , and is also connected to the ground terminal via the constant-current source I 1 . The cathode of the diode D 2 is connected to the ground terminal. The anode of the diode D 2 is connected to the bases of the transistors Qir 1 , Qir 2 , and Qir 3 , and is also connected to the application terminal of the power-supply voltage VCC via the constant-current source I 2 .

›DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS · 2 of 10

Each of the photodiodes PDv 1 , PDv 2 , and PDv 3 includes a PN junction that is composed of a P-type impurity diffusion layer (L/I layer) and an N-type impurity diffusion layer (B/L layer) formed on the lower surface of the L/I layer, and is so designed as to have the peak sensitivity wavelength λ p 1 of about 600 [nm]. As described above, because the PN junction is formed in a shallow region of the semiconductor chip, it is possible to form a photoelectric transducing device that has the peak sensitivity wavelength λ p 1 in a visible-light region.

FIG. 7 is a view showing largeness of a light current generated by a unit area of a visible light detection photodiode PDv, and in order from the top, current values (ratios of the current values to the light current assumed 1 that is obtained by a unit area of the visible light detection photodiode PDv when a fluorescent lamp is used as the light source) which are respectively obtained when a fluorescent lamp, an incandescent lamp, a halogen lamp, and a white LED is used as the light source are shown.

On the other hand, each of the photodiodes PDir 1 , PDir 2 , and PDir 3 includes a PN junction that is composed of an N-type impurity diffusion layer (B/L layer) and an P-type substrate (Psub), and is so designed as to have the peak sensitivity wavelength λ p 2 of about 860 [nm]. As described above, because the PN junction is formed in a deep region of the semiconductor chip, it is possible to form a photoelectric transducing device that has the peak sensitivity wavelength λ p 2 in an infrared-light region.

FIG. 8 is a view showing largeness of a light current generated by a unit area of an infrared light detection photodiode PDir, and in order from the top, current values (ratios of the current values to the light current assumed 1 that is obtained by a unit area of the visible light detection photodiode PDv when a fluorescent lamp is used as the light source) which are respectively obtained when a fluorescent lamp, an incandescent lamp, a halogen lamp, and a white LED is used as the light source are shown.

In the light receiving portion 11 having the structure described above, a difference current ia 1 that is obtained by subtracting a light current iir 1 generated by the photodiode PDir 1 from a light current iv 1 generated by the photodiode PDv 1 is drawn from the connection node where the collector of the transistor Qv 1 and the collector of the transistor Qir 1 are connected to each other.

In other words, in the light receiving portion 11 having the structure described above, the visible-light detection photodiode PDv 1 and the infrared-light detection photodiode PDir 1 are connected with each other in series, thereby a first light receiving unit, which calculates differences between the light currents iv 1 , iir 1 which are respectively generated by the photodiodes PDv 1 , PDir 1 , is formed.

As shown in FIG. 9 , the photodiodes PDv 1 and PDir 1 are so arranged on the chip upper surface that the light-receiving area proportion between them becomes a first proportion (in the example shown in FIG. 9 , PDv 1 :PDir 1 =25.6:11.7).

FIG. 10 is a view showing largeness of each of the light current iv 1 , the light current iir 1 , and the difference current ia 1 , and in order from the top, current values (ratios of the current values to the light current assumed 1 that is obtained by a unit area of the visible-light detection photodiode PDv when a fluorescent lamp is used as the light source) which are respectively obtained when a fluorescent lamp, an incandescent lamp, a halogen lamp, and a white LED is used as the light source are shown.

In the light receiving portion 11 having the structure described above, a difference current ia 2 that is obtained by subtracting a light current iir 2 generated by the photodiode PDir 2 from a light current iv 2 generated by the photodiode PDv 2 is drawn from the connection node where the collector of the transistor Qv 2 and the collector of the transistor Qir 2 are connected to each other.

In other words, in the light receiving portion 11 having the structure described above, the visible-light detection photodiode PDv 2 and the infrared-light detection photodiode PDir 2 are connected with each other in series, thereby a second light receiving unit, which calculates differences between the light currents iv 2 , iir 2 which are respectively generated by the photodiodes PDv 2 , PDir 2 , is formed.

As shown in FIG. 9 , the photodiodes PDv 2 and PDir 2 are so arranged on the chip upper surface that the light-receiving area proportion between them becomes a second proportion (in the example shown in FIG. 9 , PDv 2 :PDir 2 =25.6:4.5). Thus, in the second light receiving unit, the subtraction proportion at the time of subtracting the infrared-light amount from the visible-light amount is reduced compared with that in the first light receiving unit.

FIG. 11 is a view showing largeness of each of the light currents iv 2 , iir 2 , and the difference current ia 2 , and in order from the top, current values (ratios of the current values to the light current assumed 1 that is obtained by a unit area of the visible-light detection photodiode PDv when a fluorescent lamp is used as the light source) which are respectively obtained when a fluorescent lamp, an incandescent lamp, a halogen lamp, and a white LED is used as the light source are shown.

In the light receiving portion 11 having the structure described above, a difference current ia 3 that is obtained by subtracting a light current iir 3 generated by the photodiode PDir 3 from a light current iv 3 generated by the photodiode PDv 3 is drawn from the connection node where the collector of the transistor Qv 3 and the collector of the transistor Qir 3 are connected to each other.

In other words, in the light receiving portion 11 having the structure described above, the visible-light detection photodiode PDv 3 and the infrared-light detection photodiode PDir 3 are connected with each other in series, thereby a third light receiving unit, which calculates differences between the light currents iv 3 , iir 3 which are respectively generated by the photodiodes PDv 3 , PDir 3 , is formed.

›DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS · 3 of 10

As shown in FIG. 9 , the photodiodes PDv 3 and PDir 3 are so arranged on the chip upper surface that the light-receiving area proportion between them becomes a third proportion (in the example shown in FIG. 9 , PDv 3 :PDir 3 =30.5:1.7). Thus, in the third light receiving unit, the subtraction proportion at the time of subtracting the infrared-light amount from the visible-light amount is reduced compared with that in the first light receiving unit.

FIG. 12 is a view showing largeness of each of the light current iv 3 , the light current iir 3 , and the difference current ia 3 , and in order from the top, current values (ratios of the current values to the light current assumed 1 that is obtained by a unit area of the visible-light detection photodiode PDv when a fluorescent lamp is used as the light source) which are respectively obtained when a fluorescent lamp, an incandescent lamp, a halogen lamp, and a white LED is used as the light source are shown.

The difference currents ia 1 , ia 2 , and ia 3 are totaled and amplified by the next-stage current amplification portion 12 , and the total current is output as a detected current depending on brightness of the light source via the IOUT terminal.

As described above, the semiconductor apparatus 10 has the structure in which the semiconductor apparatus 10 includes a plurality of the light receiving units that calculate differences between the light currents iv 1 , iv 2 , and iv 3 which are respectively generated by the visible-light detection photodiodes PDv 1 , PDv 2 , and PDv 3 , and the light currents iir 1 , iir 2 , and iir 3 which are respectively generated by the infrared-light detection photodiodes PDir 1 , PDir 2 , and PDir 3 , all the difference calculation results (difference currents ia 1 , ia 2 , and ia 3 ) are totaled to generate an output signal, and the plurality of light receiving units calculate differences between the light currents according to different subtraction proportions.

According to this structure, for example, if a halogen lamp that emits light which contains much infrared light is used as the light source, in the first light receiving unit, the difference calculation result obtained by subtracting an infrared-light amount from a visible-light amount becomes below zero, accordingly, the difference current ia 1 becomes zero. However, in the second and third light receiving units in which the subtraction proportions are smaller than that of the first light receiving unit, the difference calculation result does not become below zero, accordingly, the difference currents ia 2 and ia 3 each having a positive current value are output. If an incandescent lamp that emits light which contains more infrared light than a halogen lamp is used as the light source, the difference current ia 2 obtained by the second light receiving unit also becomes zero. However, in the third light receiving unit which has the smallest subtraction proportion, the difference calculation result does not become below zero, accordingly, the difference current ia 3 having a positive current value is output. On the other hand, if a fluorescent lamp and a white LED that do not contain so much infrared light is used as the light source, all the difference calculation results obtained by the first to third light receiving units become positive, and all the difference currents ia 1 , ia 2 , and ia 3 each having a positive current value are output.

In other words, in connection with the total current (ia 1 +ia+ 2 ia 3 ) of the difference currents ia 1 to ia 3 , the semiconductor apparatus 10 according to the present embodiment operates automatically changing the subtraction proportions of infrared light according to the kind of the light source.

Accordingly, in the semiconductor apparatus 10 according to the present embodiment, it is possible to carry out a constant output for a constant illumination irrespective of the kind of the light source by suitably adjusting the difference calculation proportions of the first to third light receiving units (in the present embodiment as an example, the light receiving area proportions between the photodiodes PDv 1 to PDv 3 and the photodiodes PDir 1 to PDir 3 ).

FIG. 13 is a view showing largeness of each of total currents (ia 1 +ia 2 +ia 3 ) of the difference currents ia 1 , ia 2 , and ia 3 , and in order from the top, current values (ratios of the current values to the light current assumed 1 that is obtained by a unit area of the visible-light detection photodiode PDv when a fluorescent lamp is used as the light source) which are respectively obtained when a fluorescent lamp, an incandescent lamp, a halogen lamp, and a white LED is used as the light source are shown.

As shown in FIG. 13 , in the semiconductor apparatus 10 according to the present embodiment, a constant output is carried out for a constant illumination irrespective of the light source.

In the semiconductor apparatus 10 according to the present embodiment, the photodiodes PDv 1 to PDv 3 and the photodiodes PDir 1 to PDir 3 have light receiving area proportions different from each other among the first to third light receiving units. According to this structure, it is possible to easily adjust the difference calculation proportions in the first to third light receiving units.

Besides, in the semiconductor apparatus 10 according to the present embodiment, the photodiodes PDv 1 to PDv 3 and the photodiodes PDir 1 to PDir 3 are so arranged on the chip upper surface that the first to third light receiving units have the same optical characteristic (directivity and the like)(see FIG. 9 described above). Especially, some photodiodes (in the example shown in FIG. 9 , the photodiodes PDv 1 , PDir 1 , PDv 2 , and PDv 3 that have a large area proportion) are so arranged separately at different places on the chip upper surface that the first to third light receiving units have the same optical characteristic (directivity and the like). According to this structure, even if light is directed from any directions to the semiconductor apparatus 10 , it is possible to perform exact measurement of illuminations.

›DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS · 4 of 10

In addition, in the semiconductor apparatus 10 according to the present embodiment, the light receiving portion 11 includes a first bias circuit (the diode D 1 , the transistors Qv 1 to Qv 3 , and the constant-current source I 1 ) which keeps the potential differences across both terminals of the photodiodes PDv 1 to PDv 3 at constant values, and a second bias circuit (the diode D 2 , the transistors Qir 1 to Qir 3 , and the constant-current source 12 ) which keeps the potential differences across both terminals of the photodiodes PDir 1 to PDir 3 at constant values. According to this structure, it is possible to keep the potential differences across both terminals of the photodiodes PDv 1 to PDv 3 , and the potential differences across both terminals of the photodiodes PDir 1 to PDir 3 at values of almost zero (the difference values between the forward drop voltage of the diode D 1 (D 2 ) and the base-emitter voltages of the transistors Qv 1 to Qv 3 (Qir 1 to Qir 3 )). Accordingly, even if the temperature of the semiconductor apparatus 10 becomes high, it becomes possible to reduce leak currents of the photodiodes PDv 1 to PDv 3 , and of the photodiodes PDir 1 to PDir 3 .

Next, a structure and operation of the current amplification portion 12 are described in detail.

FIG. 14 is a circuit diagram showing a structural example of the current amplification portion 12 .

As shown in FIG. 14 , the current amplification portion 12 includes current amplification stages AMP 1 to AMP 4 .

The current amplification stage AMP 1 is a means that amplifies the difference currents ia 1 , ia 2 , and ia 3 which are input from the light receiving portion 11 , totals the amplified currents to generate an amplified current ib, and includes npn-type bipolar transistors Q 11 to Q 16 .

The collector of the transistor Q 11 is connected to the input terminal for the difference current ia 1 . All the bases of the transistors Q 11 , Q 12 are connected to the collector of the transistor Q 11 . All the emitters of the transistors Q 11 , Q 12 are connected to a ground terminal. The emitter-area proportion between the transistors Q 11 and Q 12 is set to 1:16. In other words, the transistors Q 11 and Q 12 compose a current mirror amplifier that amplifies the difference current ia 1 to a 16-fold current and outputs the amplified current.

The collector of the transistor Q 13 is connected to the input terminal for the difference current ia 2 . All the bases of the transistors Q 13 , Q 14 are connected to the collector of the transistor Q 13 . All the emitters of the transistors Q 13 , Q 14 are connected to a ground terminal. The emitter-area proportion between the transistors Q 13 and Q 14 is set to 1:16. In other words, the transistors Q 13 and Q 14 compose a current mirror amplifier that amplifies the difference current ia 2 to a 16-current and outputs the amplified current.

The collector of the transistor Q 15 is connected to the input terminal for the difference current ia 3 . All the bases of the transistors Q 15 , Q 16 are connected to the collector of the transistor Q 15 . All the emitters of the transistors Q 15 , Q 16 are connected to a ground terminal. The emitter-area proportion between the transistors Q 15 and Q 16 is set to 1:16. In other words, the transistors Q 15 and Q 16 compose a current mirror amplifier that amplifies the difference current ia 3 to a 16-current and outputs the amplified current.

All the collectors of the transistors Q 12 , Q 14 , and Q 16 are connected to an output terminal for the amplified current ib. Accordingly, the amplified current ib equals the total value (=(ia 1 +ia 2 +ia 3 )×16) of the mirror currents that are obtained by the current mirror amplifiers.

The current amplification stage AMP 2 is a means that further amplifies the amplified current ib input from the current amplification stage AMP 1 to generate an amplified current ic, and includes pnp-type bipolar transistors Q 21 to Q 23 and switches S 21 , S 22 .

The collector of the transistor Q 21 is connected to the input terminal (the output terminal of the current amplification stage AMP 1 ) for the amplified current ib. All the emitters of the transistors Q 21 , Q 22 are connected to a power-supply line. The emitter of the transistor Q 23 is connected to the power-supply line via the switch S 22 . All the bases of the transistors Q 21 , Q 22 , and Q 23 are connected to the collector of the transistor Q 21 , and are also connected to the power-supply line via the switch S 21 . All the collectors of the transistor Q 22 , Q 23 are connected to an output terminal for the amplified current ic. The emitter-area proportion among the transistors Q 21 , Q 22 , and Q 23 is set to 11:1:9. In other words, the transistors Q 21 , Q 22 , and Q 23 compose a current mirror amplifier that amplifies the amplified current ib to a 1-fold or a 10-fold current and outputs the amplified current.

The current amplification stage AMP 3 is a means that further amplifies the amplified current ic input from the current amplification stage AMP 2 to generate an amplified current id, and includes npn-type bipolar transistors Q 31 to Q 34 and switches S 31 , S 32 .

The collectors of the transistors Q 31 , Q 33 are connected to the input terminal (the output terminal of the current amplification stage AMP 2 ) for the amplified current ic. All the emitters of the transistors Q 31 , Q 32 are connected to a aground terminal. The emitter of the transistor Q 33 is connected to the ground terminal via the switch S 31 . All the bases of the transistors Q 31 , Q 32 , and Q 33 are connected to the collector of the transistor Q 31 , and are also connected to the ground terminal via the switch S 32 . The collector of the transistor Q 32 is connected to an output terminal for the amplified current id. The collector of the transistor Q 34 is connected to an amplified-current detection terminal of a changeover control circuit SW. The emitter of the transistor Q 34 is connected to the ground terminal. The base of the transistor Q 34 is connected to the base of the transistor Q 31 , and is also connected to the collector of the transistor Q 34 . The emitter-area proportion among the transistors Q 33 , Q 31 , and Q 32 is set to 9:1:α (where α=12.25 to 28, and is set to 17.5 as a default). In other words, the transistors Q 31 , Q 32 , and Q 33 compose a current mirror amplifier that amplifies the amplified current ic to an α-fold or α/10-fold current and outputs the amplified current.

›DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS · 5 of 10

The current amplification stage AMP 4 is a means that further amplifies the amplified current id input from the current amplification stage AMP 3 to generate an amplified current ie, and includes pnp-type bipolar transistors Q 41 , Q 42 , P channel-type MOS Field Effect Transistors Q 43 , Q 44 , and switches S 41 to S 44 .

The collector of the transistor Q 41 is connected to the input terminal (the output terminal of the current amplification stage AMP 3 ) for the amplified current id via the switch S 41 . All the emitters of the transistors Q 41 , Q 42 are connected to a power-supply line. All the bases of the transistors Q 41 , Q 42 are connected to the collector of the transistor Q 41 , and are also connected to the power-supply line via the switch S 42 . The emitter-area proportion between the transistors Q 41 , Q 42 is set to 1:23. In other words, the transistors Q 41 , Q 42 compose a first current mirror amplifier that amplifies the amplified current id to a 23-fold current and outputs the amplified current.

The drain of the transistor Q 43 is connected to the input terminal (the output terminal of the current amplification stage AMP 3 ) for the amplified current id via the switch S 43 . All the sources of the transistors Q 43 , Q 44 are connected to a power-supply line. All the gates of the transistors Q 43 , Q 44 are connected to the drain of the transistor Q 43 , and are also connected to the power-supply line via the switch S 44 . The source-area proportion between the transistors Q 43 , Q 44 is set to 1:23. In other words, the transistors Q 43 , Q 44 compose a second current mirror amplifier that amplifies the amplified current id to a 23-fold current and outputs the amplified current.

Both the collector of the transistor Q 42 and the drain of the transistor Q 44 are connected to the IOUT terminal. Accordingly, the detected current (the amplified current ie) from the semiconductor apparatus 10 equals the total value of the mirror currents that are obtained by the first and second current mirror amplifiers described above.

Next, gain changeover of the current amplification stage 12 having the above structure is described in detail.

A logic portion 13 has a variable-control function to change the operation mode of the current amplification stage 12 by 4 steps based on a 2-bit gain control signal that is input from the GC1 terminal and the GC2 terminal via a level shifter circuit LS.

FIG. 15 is a logical-value table for mode settings that use the GC1 terminal and the GC2 terminal.

If all the input voltages to the GC1 terminal and the GC2 terminal have a low level, the semiconductor apparatus 10 goes into a shutdown mode. In the shutdown mode, the switches S 21 , S 32 , S 42 , and S 44 are turned on, and the gains of the current amplification stages AMP 2 to AMP 4 become zero, accordingly, the total gain of the current amplification stage 12 also becomes zero. Even in the shutdown mode, the gain of the current amplification stage AMP 1 is fixed at 16 times. According to this structure, it becomes possible to shorten a startup time (wakeup time) from the shutdown mode. However, if priority is given to power consumption reduction during the time of shutdown mode, the gain of the current amplification stage AMP 1 may be decreased.

If the input voltage at the GC2 terminal has the low level and the input voltage at the GC1 terminal has the high level, the semiconductor apparatus 10 goes into a H gain mode. In the H gain mode, the switch S 22 is turned on, and the gain of the current amplification stage AMP 2 is set to 10 times. Besides, the switch S 31 is turned off, and the gain of the current amplification AMP 3 is set to 17.5 times (default). Accordingly, the total gain of the current amplification portion 12 becomes 64400 times.

If the input voltage at the GC2 terminal has the high level and the input voltage of the GC1 terminal has the low level, the semiconductor apparatus 10 goes into a M gain mode. In the M gain mode, the switch S 22 is turned off, and the gain of the current amplification stage AMP 2 is set to 1 time. Besides, the switch S 31 is turned off, and the gain of the current amplification AMP 3 is set to 17.5 times (default). Accordingly, the total gain of the current amplification portion 12 becomes 6440 times.

If both input voltages at the GC1 terminal and the GC2 terminal have the high level, the semiconductor apparatus 10 goes into a L gain mode. In the L gain mode, the switch S 22 is turned off, and the gain of the current amplification stage AMP 2 is set to 1 time. Besides, the switch S 31 is turned on, and the gain of the current amplification AMP 3 is set to 1.75 times (default). Accordingly, the total gain of the current amplification portion 12 becomes 644 times.

Thus, 3-step gain changeover control is carried out using the GC1 and GC2 terminals, thereby it becomes possible to perform a detection operation that is excellent in linearity in a wide input dynamic range of low illumination to high illumination.

FIG. 16 is a circuit diagram showing a modification of the current amplification AMP 3 .

The modified current amplification stage AMP 3 includes the transistors Q 31 , Q 32 , and Q 33 described above, an npn-type bipolar transistor Q 35 , N channel-type MOS Field Effect Transistors N 31 to N 34 , and switches S 33 , S 34 .

All the emitters of the transistors Q 31 , Q 32 , and Q 35 are connected to a ground terminal. The emitter of the transistor Q 33 is connected to a common terminal of the switch S 33 . A first selection terminal of the switch S 33 is connected to the base of the transistor Q 33 . A second selection terminal of the switch S 33 is connected to the ground terminal. All the bases of the transistors Q 31 , Q 32 , Q 33 , and Q 35 are connected to the collector of the transistor Q 35 . The collector of the transistor Q 31 is connected to the source of the transistor N 31 . The collector of the transistor Q 32 is connected to the source of the transistor N 33 . The collector of the transistor Q 33 is connected to the source of the transistor N 34 . The collector of the transistor Q 35 is connected to the source of the transistor N 32 . All the gates of the transistors N 31 to N 34 are connected to the drain of the transistor N 31 . The drain of the transistor N 31 is connected to the input terminal for the amplified current ic. The drain of the transistor N 32 is connected to a power-supply line. The drain of the transistor N 33 is connected to the output terminal of the amplified current id. The drain of the transistor N 34 is connected to a common terminal of the switch S 34 . A first selection terminal of the switch S 34 is connected to a power-supply line. A second selection terminal of the switch S 34 is connected to the drain of the transistor N 31 .

›DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS · 6 of 10

In the current amplification stage AMP 3 having the above structure, if the semiconductor apparatus 10 is in the H gain mode or in the M gain mode described above, the common terminal of the switch S 33 is connected to the first selection terminal, the common terminal of the switch S 34 is connected to the first selection terminal, and the mirror ratio of the current mirror amplifier is set to 8:β (where β=98 to 224, and is set to 140 as a default). Here, the collector of the transistor Q 33 is electrically disconnected from the current amplification stage AMP 3 . On the other hand, if the semiconductor apparatus 10 is in the L gain mode described above, the common terminal of the switch S 33 is connected to the second selection terminal, the common terminal of the switch S 34 is connected to the second selection terminal, and the mirror ratio of the current mirror amplifier is set to 80:β.

In this modified current amplification stage AMP 3 , because the current mirror amplifier is in a cascode connection, it is possible to reduce power-supply voltage dependency of the amplified current id.

Next, a structure and operation of the level shifter circuit LS are described in detail.

FIG. 17 is a circuit diagram showing a structural example of the level shifter circuit LS.

As shown in FIG. 17 , the level shifter circuit LS in this structural example is a means that carries out a level shift of a 2-bit gain control signal each bit of which is input to each of the GC1 terminal and the GC2 terminal, sends a forward output of each shifted signal to the logic portion 13 , and includes inverters INV 1 to INV 4 .

The inverter INV 1 includes a P channel-type MOS Field Effect transistor P 1 , N channel-type MOS Field Effect transistors N 1 a , N 1 b , and a resistor R 1 . The inverter INV 2 includes a P channel-type MOS Field Effect transistor P 2 , and an N channel-type MOS Field Effect transistor N 2 .

The source of the transistor P 1 is connected to a power-supply line. The drain of the transistor P 1 is connected to the drain of the transistor N 1 a via the resistor R 1 . The source of the transistor N 1 a is connected to the drain of the transistor N 1 b . The source of the transistor N 1 b is connected to a ground line. All the gates of the transistors P 1 , N 1 a , and N 1 b are connected to the GC1 terminal via an electrostatic protective resistor Resd 1 . The source of the transistor P 2 is connected to the power-supply line. All the gates of the transistors P 2 , N 2 are connected to the drain of the transistor N 1 a . All the drains of the transistors P 2 , N 2 are connected to a signal input terminal of the logic portion 13 (not shown) as a forward output terminal GC1A for the gain control signal.

Accordingly, a gain control signal that is input from the GC1 terminal via the electrostatic protective resistor Resd 1 is shifted in level by the inverters INV 1 , INV 2 , and output from the forward terminal GC1A to the logic portion 13 .

The inverters INV 3 and INV have the same structures as those of the inverters INV 1 and INV 2 , a gain control signal that is input from the GC2 terminal via an electrostatic protective resistor Resd 2 is shifted in level by the inverters INV 3 , INV 4 and output from the forward terminal GC2A to the logic portion 13 .

In the semiconductor apparatus 10 , 1.8 [V] is set as the high-level voltage of the gain control signal that is input to the GC1 terminal and the GC2 terminal, and a voltage range of 2.4 to 3.6 [V] is set as the input range of the power-supply voltage VCC (see FIG. 5 described above).

Here, if the gain control signal is set to the high level, it is necessary to transmit a low-level signal to the next-stage inverter INV 2 by turning off the transistor P 1 that composes the inverter INV 1 , and turning on the transistors N 1 a , N 1 b that compose the inverter INV 1 .

However, if 3.6 [V] is set as the power-supply voltage VCC, because a gate-source voltage of the transistor P 1 becomes 1.8 [V] even if the gain control signal is set to the high level (1.8 [V]), the transistor P 1 cannot be completely turned off, and a penetration current flows through the transistors P 1 , N 1 a , and N 1 b.

To prevent this, in the level shifter circuit LS having the structure described above has a structure (resistor-type level shifter) in which device design is so carried out as to raise the on resistance of the transistor P 1 (e.g., the channel width W/the channel length L=3/300), and a current-limiting resistor R 1 is inserted between the drain of the transistor P 1 and the drain of the transistor N 1 a.

According to this structure, even if the transistor P 1 cannot be completely turned off, the penetration current that flows through the transistors P 1 , N 1 a , and Nib is decreased, thereby it becomes possible to transmit a low-level signal to the next-stage inverter INV 2 .

As for the on resistance of the transistor P 1 , even if the high-level voltage of the gain control signal further drops, and even if the power-supply voltage VCC further drops, it is desirable that device design is so suitably carried out as to sufficiently decrease a leak current from the transistor P 1 .

The logic inversion threshold voltage of the level shifter circuit having the structure described above depends on the on threshold voltage Vth of the transistors N 1 a , N 1 b . However, the higher this logic inversion threshold voltage is, the better it is. Accordingly, as the transistors N 1 a and Nib, it is desirable to use devices (HV relatives) resistant to high voltage that have a higher on threshold voltage Vth.

Next, gain fine adjustment (laser repair trimming of the transistor Q 32 ) of the current amplification stage AMP 3 is described in detail.

FIG. 18 is a circuit diagram showing a structural example of the transistor Q 32 .

As shown in FIG. 18 , the transistor Q 32 that composes the current mirror amplifier of the current amplification stage AMP 3 includes 7 npn-type bipolar transistors Qa, Qb, Qc, Qd, Qe, Qf, and Qx, and 6 switches Sa, Sb, Sc, Sd, Se, and Sf.

›DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS · 7 of 10

All the collectors of the transistors Qa to Qf, and Qx are connected to the source of the transistor N 33 . All the bases of the transistors Qa to Qf, and Qx are connected to the base of the transistor Q 31 . All the emitters of the transistors Qa to Qf are connected to a ground terminal via the switches Sa to Sf. The emitter of the transistor Qx is directly connected to the ground terminal. The emitter-area proportion among the transistors Qa to Qf, and Qx is set to 2:4:8:16:32:64:98.

A fuse circuit FS performs on/off control of the switches Sa to Sf depending on whether or not 6-bit fuses (not shown) are blown out by laser repair trimming, and further performs fine adjustment of the emitter area of the transistor Q 32 . In a default state where no fuses are blown out, the switches Sa, Sc, and Se are turned on, and the switches Sb, Sd, and Sf are turned off. Accordingly, in the default state, the emitter-area proportion between the transistors Q 31 and Q 32 becomes 8:140 (=1:17.5).

Besides, a pad T 1 to flow a test current in evaluating the gain adjustment is disposed at the input terminal of the current amplification stage AMP 3 . To perform the gain adjustment of the current amplification stage AMP 3 , first, a test current is given from the pad T 1 , an output current that appears at the IOUT terminal is monitored to measure a deviation from a target value, then, laser repair trimming of the fuse circuit FS is so carried out as to minimize the deviation.

As described above, in the semiconductor apparatus 10 having the above structure, because the gain of the current amplification stage AMP 3 can be finely adjusted by laser repair trimming, it becomes possible to dramatically reduce sensitivity fluctuation to illumination (devices: ±20% to ±2%, the total: ±35% to ±15%).

The pad T 1 is an internal pad that is not seen from outside after the semiconductor apparatus 10 is packaged, and is used only during the time of performing the gain adjustment on a wafer (non-package stage). According to this structure, as for a finished product of the semiconductor apparatus 10 , unnecessary increase in the number of pins is prevented.

In this structure, the fuse circuit FS is described as an example of a holding circuit for a 6-bit signal that is used for the on/off control of the switches Sa to Sf. However, the structure of the present invention is not limited this, and a non-volatile memory may be used.

Next, changeover control of the current mirror amplifier in the current amplification stage AMP 4 is described in detail with reference to FIG. 14 described above.

As described above, the current amplification stage AMP 4 includes the first current mirror amplifier that is composed of the pnp-type bipolar transistors Q 41 , Q 42 , and the second current mirror amplifier that is composed of the P channel-type MOS Field Effect Transistors Q 43 , Q 44 in parallel with the first current mirror amplifier. The changeover control circuit SW monitors the amplified current id (in the example shown in FIG. 14 , a monitor current im that presents behavior identical to that of the amplified current id), and carries out changeover control of the first and second current mirror amplifiers according to a value of the monitored current.

In the semiconductor apparatus 10 according to the present embodiment, the changeover control circuit SW has a structure in which the changeover control circuit SW carries out changeover control of the first and second current mirror amplifiers by dividing the amplified current id input to the current amplification stage AMP 4 according to a proportion of the value of the monitor current im and supplying the divided currents to the first and second current mirror amplifiers. Specifically, if the monitor current im has a small value, the changeover control circuit SW supplies a larger portion of the amplified current id to the first current mirror amplifier in which the output current has excellent linearity in a relatively small range of the input current. In contrast, if the monitor current im has a large value, the changeover control circuit SW supplies a larger portion of the amplified current id to the second current mirror amplifier in which the output current has excellent linearity in a relatively large range of the input current.

According to this structure, because the current amplification stage AMP 4 can always keep the gain (the mirror portion of the current mirror amplifier) at a desired value as a whole, it is possible to keep the excellent linearity of the output current in a wide illumination range.

In particular, as shown in FIG. 19 , the changeover control circuit SW has a structure in which in carrying out changeover control of the first and second current mirror amplifiers, the input currents that are supplied to the first and second current mirror amplifiers are slowly increased and decreased in a complementary way. According to this structure, noise appearance due to the changeover control of the current mirror amplifiers can be prevented.

However, in carrying out the changeover control of the first and second current mirror amplifiers, it is not limited to the way described above, and another structure may be used, in which the supply circuit for the amplified current id is changed using a logical circuit depending on whether or not the monitor-current value reaches a given threshold value.

Next, an output saturation limiter function of the semiconductor apparatus 10 is described.

FIG. 20A is a circuit diagram sowing a structural example of an output saturation limiter circuit.

As shown in FIG. 20A , the current amplification portion 12 according to the present embodiment includes an output saturation limiter circuit LM disposed across the IOUT terminal and the input terminal (the input terminal for the amplified current ib) of the current amplification stage AMP 2 . The output saturation limiter circuit LM includes a P channel-type MOS Field Effect Transistor P 51 , and a resistor R 51 . The source of the transistor P 51 is connected to the IOUT terminal via the resistor R 51 . Both drain and gate of the transistor P 51 are connected to the input terminal (the input terminal for the amplified current ib) of the current amplification stage AMP 2 .

›DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS · 8 of 10

In the current amplification portion 12 having the structure described above, if the amplified current ie becomes excessively large, and if an A-point voltage VA becomes larger than a B-point voltage VB by a given value (a gate-source drop voltage Vgs of the transistor P 51 + a drop voltage across the resistor R 51 ), a current flows into the input terminal of the current amplification stage AMP 2 from the IOUT terminal via the output saturation limiter circuit LM. In other words, because the amplified current ib is drawn through both the input terminal of the current amplification stage AMP 2 and the IOUT terminal, the proportion of the amplified current ib that is input into the current amplification stage AMP 2 decreases. Consequently, because the amplified currents ic, id that are respectively generated by the current amplification stages AMP 2 , AMP 3 decrease, the amplified current ie generated by the current amplification stage AMP 4 drops. Because of this feedback, the collector voltage of the transistor Q 42 is limited to a given upper limit value, and the transistor Q 42 does not reach saturation, thereby it becomes possible to prevent unnecessary current increase (a leak current that flows from the power-supply line to the chip substrate) which occurs at the time of output saturation.

As shown in FIG. 20B , the output saturation limiter circuit LM may be inserted between the IOUT terminal and the input terminal (the input terminal for the amplified current id) of the current amplification stage AMP 4 . According to this structure, because output oscillation does not easily occur, it becomes possible to carry out stable current amplification. To curb the current flowing in the output saturation limiter circuit LM as small as possible, as described above, it is desirable to insert the output saturation limier circuit LM between the IOUT terminal and the input terminal (the input terminal for the amplified current ib) of the current amplification stage AMP 2 . Besides, instead of the P channel-type MOS Field Effect Transistor P 51 , a pnp-type bipolar transistor may be used as the transistor that composes the output saturation limiter circuit LM. If priority is given to avoidance of output oscillation rather than to prevention of unnecessary current increase at the time of output saturation, as shown in FIG. 20C , the output saturation limiter circuit LM may be removed.

Next, a technology to improve power-supply voltage dependency of the detected current is described in detail.

Because a wide voltage range of 2.4 to 5.5 [V] is set as the power-supply voltage input range, it is desirable to curb power-supply voltage dependency of the detected current (the amplified current ie) output from the IOUT terminal as small as possible.

For this purpose, in the semiconductor apparatus 10 according to the present embodiment, all the current mirror amplifiers of the current amplification stages AMP 1 to AMP 4 that compose the current amplification portion 12 are in cascode connection.

In FIGS. 20A to 20C described above, circuit examples are illustrated, in which each of the current mirror amplifiers of the current amplification stages AMP 2 , AMP 3 , and AMP 4 is in cascode connection.

The current amplification stage AMP 2 includes the pnp-type bipolar transistor Q 24 , and the P channel-type MOS Field Effect Transistors P 21 to P 23 besides the transistors Q 21 , Q 22 . All the emitters of the transistors Q 21 , Q 22 , and Q 24 are connected to a power-supply line. All the bases of the transistors Q 21 , Q 22 , and Q 24 are connected to the collector of the transistor Q 24 . The collector of the transistor Q 21 is connected to the source of the transistor P 21 . The collector of the transistor Q 22 is connected to the source of the transistor P 23 . The collector of the transistor Q 24 is connected to the source of the transistor P 22 . All the gates of the transistors P 21 to P 23 are connected to the drain of the transistor P 21 . The drain of the transistor P 21 is connected to the input terminal for the amplified current ib. The drain of the transistor P 22 is connected to a ground terminal. The drain of the transistor P 23 is connected to the output terminal for the amplified current ic.

The current amplification stage AMP 3 includes the npn-type bipolar transistor Q 35 , and the N channel-type MOS Field Effect Transistors N 31 to N 33 besides the transistors Q 31 , Q 32 . Because the connection among the devices is already described with reference to FIG. 16 , double description of the connection is skipped. As for each of the current mirror amplifier of the current amplification stage AMP 1 that is not shown, the structure is the same as that of the current amplification stage AMP 3 .

The first current mirror amplifier of the current amplification stage AMP 4 includes the pnp-type bipolar transistor Q 45 , and the P channel-type MOS Field Effect Transistors P 41 to P 43 besides the transistors Q 41 , Q 42 . All the emitters of the transistors Q 41 , Q 42 , and Q 45 are connected to a power-supply line. All the bases of the transistors Q 41 , Q 42 , and Q 45 are connected to the collector of the transistor Q 45 . The collector of the transistor Q 41 is connected to the source of the transistor P 41 . The collector of the transistor Q 42 is connected to the source of the transistor P 43 . The collector of the transistor Q 45 is connected to the source of the transistor P 42 . All the gates of the transistors P 41 to P 43 are connected to the drain of the transistor P 41 . The drain of the transistor P 41 is connected to the input terminal for the amplified current id. The drain of the transistor P 42 is connected to a ground terminal. The drain of the transistor P 43 is connected to the output terminal (the IOUT terminal) for the amplified current ie. As for the second current mirror amplifier of the current amplification stage AMP 4 that is not shown, the structure is the same as that of the first current mirror amplifier.

›DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS · 9 of 10

According to the cascode-type current mirror amplifiers, because power-supply voltage dependence of the amplified currents ib to ie which are respectively generated by the current amplification stages AMP 1 to AMP 4 can be improved, it becomes possible to reduce power-supply voltage dependence of the detected current (the amplified current ie), which is eventually output via the IOUT terminal, to about 3%/V.

Next, light-compensation of bipolar transistors that are integrated in the semiconductor apparatus 10 is described in detail.

FIG. 21 is a circuit diagram to describe light-current compensation of bipolar transistors.

The chip upper surface of the semiconductor apparatus 10 is shielded from light by aluminum except the light receiving area of the light receiving portion 11 . However, the chip side surfaces of the semiconductor apparatus 10 are still exposed after they are formed at the time of dicing, and no special light shielding is taken. Accordingly, incident light (especially, infrared light) through the chip side surfaces is received by parasitic photodiodes that are present between the base of the pnp-type bipolar transistor and the chip substrate, and between the collector of the npn-type bipolar transistor and the chip substrate, which can adversely affect the gain (also, illumination detection accuracy) of the current amplification stage 12 .

To avoid this, in the semiconductor apparatus 10 according to the present embodiment, a light-current compensation circuit CL is added to compensate a current equal to a current that flows in the parasitic photodiodes, and the device layout of the bipolar transistors is devised, thereby the circuit operation is stabilized.

First, light-current compensation of the pnp-type transistors is described in detail using the current amplification stage AMP 2 as an example.

As described above, a parasitic photodiode is present between the base of the pnp-type bipolar transistor and the chip substrate. In the example shown in FIG. 21 , parasitic photodiodes are present between the common base of the transistors Q 21 to Q 24 and the chip substrate. If incident light through the chip side surfaces hits the parasitic photodiodes, a light current (45×ipd) proportionate to the total emitter area of the transistors Q 21 to Q 24 flows.

To prevent this, a light-current compensation circuit CL 1 is so structured as to flow a compensation current larger than the above-described light current into the common base of the transistors Q 21 to Q 24 so that the light current flowing in the parasitic photodiodes is cancelled. Specifically, the light-current compensation circuit CL 1 includes pnp-type bipolar transistors Q 61 to Q 63 . The emitters of the transistors Q 61 , Q 62 are connected to a power-supply line. The emitter of the transistor Q 63 is connected to the collector of the transistor Q 63 . The collector of the transistor Q 61 is connected to the common base of the transistors Q 21 to Q 24 . All the bases of the transistors Q 61 to Q 63 are connected to the collector of the transistor Q 62 . The emitter-area proportion among the transistors Q 61 , Q 62 , and Q 63 is set to 6:1:1.

In the light-current compensation circuit having the above structure, parasitic photodiodes are present between the common base of the transistors Q 61 to Q 63 and the chip substrate, and if incident light through the chip side surfaces hits the parasitic photodiodes, a light current (8×ipd) proportionate to the total emitter area of the transistors Q 61 to Q 63 flows. This light current is amplified to a 6-fold current by the current mirror amplifier composed of the transistors Q 61 , Q 62 , and is flown into the common base of the transistors Q 21 to Q 24 as a compensation current (48×ipd). Because the light current (45×ipd) flowing in the parasitic photodiodes that are present between the common base of the transistors Q 21 to Q 24 and the chip substrate can be cancelled by the compensation current (48×ipd), it becomes possible to stably keep the gain (also, ambient-illumination detection accuracy) of the current amplification portion 12 .

In the light-current compensation circuit CL 1 having the above structure, a compensation current larger than the light current to be cancelled is flown. However, the surplus current can be flown to the ground terminal through the transistor Q 24 that is in cascode connection, which causes no trouble with the circuit operation.

Next, light-current compensation of the npn-type transistor is described in detail using the current amplification stage AMP 3 as an example.

As described above, a parasitic photodiode is present between the collector of the npn-type bipolar transistor and the chip substrate. In the example shown in FIG. 21 , parasitic photodiodes are present between the collectors of the transistors Q 31 to Q 32 and the chip substrate, and if incident light through the chip side surfaces hits the parasitic photodiodes, light currents respectively proportionate to the collector areas of the transistors Q 31 , Q 32 flow.

Here, in the current mirror amplifier composed of the npn-type bipolar transistors, if the emitter-area proportion between the transistors Q 31 and Q 32 is identical to the collector-area proportion between the transistors Q 31 and Q 32 , as presented by the following expression (1), even if no special light-compensation circuit is disposed, the light currents (8×ipd, 100×ipd) flowing in the parasitic photodiodes can cancel each other out in the process that the amplified current ic is amplified by the current mirror circuit to generate the amplified current id.

id={ic −(8 ×ipd )}×100/8+(100 ×ipd )=100/8 ×ic   (1)

On the other hand, if the emitter-area proportion between the transistors Q 31 and Q 32 is not identical to the collector-area proportion between the transistors Q 31 and Q 32 , it is necessary to dispose a light-current compensation circuit LC 2 in the current amplification stage AMP 3 as well. For example, in a case where the emitter-area proportion between the transistors Q 31 and Q 32 is 1:10, and the collector-area proportion between the transistors Q 31 and Q 32 is 1:1, if no light-current compensation is applied, the amplified current id becomes a value given by the following expression (2), and a current value to be generated cannot be obtained.

›DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS · 10 of 10

To prevent this disadvantage, as shown in FIG. 22 , the light-current compensation circuit LC 2 composed of an npn-type bipolar transistor Q 64 is disposed to draw a compensation current (9×ipd) from the collector of the transistor Q 32 , thereby the light-current deviation (9×ipd) can be cancelled by the compensation current (9×ipd), and it becomes possible to stably keep the gain (also, ambient-illumination detection accuracy) of the current amplification portion 12 .

In fabricating the semiconductor apparatus 10 , the layout needs to be so taken into consideration that incident light through the side surfaces is evenly radiated to both the bipolar transistors composing the current amplification stages AMP 1 to AMP 4 and the bipolar transistors composing the light-current compensation circuits CL 1 , CL 2 .

For example, in a case where n bipolar transistors each having an emitter area of 1 unit are arranged to form a bipolar transistor apparatus that has an emitter area of n units, as shown in FIG. 23 , the bipolar transistors (indicated by the white circles ◯ in FIG. 23 ) composing the current amplification stages AMP 1 to AMP 4 , and the bipolar transistors (indicated by the black circles ● in FIG. 23 ) composing the light-current compensation CL 1 , CL 2 are equally dispersed and arranged on a given device arrangement area, thus even if light hits the semiconductor apparatus 10 from any directions, a current flowing in the parasitic photodiodes can be equalized, and further, effect of the light-current compensation described above can be raised.

Next, a way of making a MOS Field Effect Transistor and an electrostatic protective device resistant to high voltage is described.

To allow operation on 5.5 [V] of the power-supply input voltage VCC, in the semiconductor apparatus 10 , all the MOS Field Effect Transistors (MOS Field Effect Transistors and switches composing the logic portion 12 , the level shifter circuit LS, the fuse circuit FS, and the current amplification stages AMP 1 to AMP 4 ) that are integrated in the apparatus are made resistant to high voltage (HV operatable). It is relatively easy to achieve these devices resistant to high voltage by lengthening the distance between the P-type impurity diffusion region and the N-type impurity diffusion region, and the distance between the devices and the isolation layer.

In addition, in the semiconductor apparatus 10 , besides the MOS Field Effect Transistors made resistant to high voltage, a device (shrink version) resistant to high voltage is used for the electrostatic protective device as well.

Moreover, in connection with the other layouts, in the semiconductor apparatus 10 , to integrate additional circuits described above on a conventional-size chip substrate, reduction in laser repair alignment mark, mask-version shrink, and rocket mark, and the like are performed.

Besides the embodiments described above, the structures according to the present invention can be modified in various ways without departing from the spirit of the present invention.

As for industrial applicability of the present invention, the ambient light sensor according to the present invention is incorporated in electronic apparatuses such as a mobile phone, a liquid crystal display television, a plasma television, a notebook computer, a mobile game machine, a digital still camera, a digital camcorder, a car navigation apparatus, a PDA, and a liquid crystal display, and can be preferably used as a means for detecting ambient illumination.

In the above description, the best embodiments of the present invention are explained. However, the disclosed invention can be modified in various ways, and it is apparent to those skilled in the art that various embodiments different from the structures specifically described above are possible. Accordingly, the following claims are intended to read on all modifications of the present invention without departing from the spirit and technological concept of the present invention.

Claims as granted

17 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

5 codes
IPC · International Patent Classification
Section H — Electricity
  • H01J40/14
USPC · US Patent Classification
250/214.AL327/515250/214.A250/214.B

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomOct 2010Jan 2011Apr 2011Jul 2011Oct 2011USPTOApplicantNotice of allowance
USPTOApplicanthover for detail · click to open
Pendency
0.8 y
309 days filing → grant
Office actions
0
none on record
Responses
1
no RCE
Examiner
Kevin Pyo
art unit 2878 · TC 2800
Citations: 4 back · 1 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20102012201420162018202020222024202620282030Owner 1
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock