Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
IC, DRIVER IC, DISPLAY SYSTEM, AND ELECTRONIC DEVICE
Document Type and Number:
WIPO Patent Application WO/2018/163021
Kind Code:
A1
Abstract:
A test circuit is incorporated in an IC without an increase in a chip area. The IC includes a plurality of pins, a plurality of current sensing circuits, and a current generation circuit. The plurality of current sensing circuits process currents flowing through the plurality of pins in parallel and generates digital data, for example. The current generation circuit includes a capacitor and generates a reference current corresponding to the amount of electric charge of the capacitor. The amount of electric charge can be controlled by a voltage input to the capacitor, and thus the range of output currents for current generation can be made wide. The reference current is used for testing the plurality of current sensing circuits. The IC is used for a source driver IC of a display panel, for example. In this case, currents flowing through pixels in the display panel can be sensed by the plurality of current sensing circuits.

Inventors:
YAMAMOTO ROH (JP)
Application Number:
PCT/IB2018/051254
Publication Date:
September 13, 2018
Filing Date:
February 28, 2018
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SEMICONDUCTOR ENERGY LAB (JP)
International Classes:
G01R35/00; G01R19/00; G09G3/20; G09G3/3233
Foreign References:
US20160093641A12016-03-31
US20130154672A12013-06-20
US20030057895A12003-03-27
US20080036703A12008-02-14
US20090207106A12009-08-20
US20170168648A12017-06-15
US20170186371A12017-06-29
Download PDF:
Claims:
CLAIMS

1. An IC comprising:

a first pin;

a second pin;

a first current sensing circuit that senses a current flowing through the first pin;

a second current sensing circuit that senses a current flowing through the second pin; and

a current generation circuit including a capacitor,

wherein the current generation circuit generates a first reference current corresponding to an amount of electric charge held by the capacitor, and

wherein the first reference current is successively input to the first current sensing circuit and the second current sensing circuit in order to test the first current sensing circuit and the second current sensing circuit.

2. The IC according to claim 1,

wherein the current generation circuit includes a first switch, a second switch, a first node, and a second node,

wherein a first voltage is input to a first terminal of the capacitor,

wherein a second voltage is input to the first node,

wherein the first switch controls electrical continuity between the first node and a second terminal of the capacitor,

wherein the second switch controls electrical continuity between the second node and the second terminal of the capacitor, and

wherein the current generation circuit outputs a current flowing through the second node as the first reference current.

3. An IC comprising:

first to K-t pins, K being an integer greater than or equal to 2;

first to N-th current sensing circuits, N being an integer greater than or equal to 2; and a current generation circuit including a first capacitor,

wherein a y'-th current sensing circuit senses a current flowing through a y'-th pin, j being an integer greater than or equal to 1 and less than or equal to N,

wherein the current generation circuit generates a reference current corresponding to an amount of electric charge held by the first capacitor, and wherein the reference current is successively input to the first to N-th current sensing circuits in order to test the first to N-th current sensing circuits.

4. The IC according to claim 3, further comprising:

a first circuit;

a second circuit;

a third circuit; and

a wiring,

wherein the first circuit controls electrical continuity between the y'-th pin and the y'-th current sensing circuit,

wherein the second circuit controls input of the reference current to the wiring, and wherein the third circuit selects, from the first to K-t pins, one pin to be electrically connected to the wiring.

5. The IC according to claim 3,

wherein the current generation circuit includes a first switch, a second switch, a first node, and a second node,

wherein a first voltage is input to a first terminal of the first capacitor,

wherein a second voltage is input to the first node,

wherein the first switch controls electrical continuity between the first node and a second terminal of the first capacitor,

wherein the second switch controls electrical continuity between the second node and the second terminal of the first capacitor, and

wherein the current generation circuit outputs a current flowing through the second node as the reference current.

6. The IC according to claim 3,

wherein the current generation circuit includes a first switch, a second switch, a first node, a second node, a third node, a first selection circuit, and a second selection circuit,

wherein a first voltage is input to a first terminal of the first capacitor,

wherein the first switch controls electrical continuity between the first node and a second terminal of the first capacitor,

wherein the second switch controls electrical continuity between the second node and the second terminal of the first capacitor, wherein the first selection circuit selects one voltage from a plurality of voltages and inputs the selected voltage to the first node,

wherein the second selection circuit selects one node from the first node and the second node, and

wherein a current flowing through the selected node is output as the reference current.

7. The IC according to any one of claims 3 to 6,

wherein each of the first to N-th current sensing circuits includes a current-voltage conversion circuit,

wherein the current-voltage conversion circuit includes an amplifier circuit, a second capacitor, and a third switch,

wherein the amplifier circuit includes an inverting input terminal, a first non-inverting input terminal, a second non-inverting input terminal, and an output terminal. A first terminal and a second terminal of the second capacitor are electrically connected to the inverting input terminal and the output terminal, respectively, and

wherein the third switch controls electrical continuity between the inverting input terminal and the output terminal.

8. The IC according to any one of claims 3 to 5,

wherein each of the first to N-th current sensing circuits includes a current-voltage conversion circuit,

wherein the current-voltage conversion circuit includes an amplifier circuit, a second capacitor, and a third switch,

wherein the amplifier circuit includes an inverting input terminal, a first non-inverting input terminal, a second non-inverting input terminal, and an output terminal,

wherein the amplifier circuit amplifies a difference between a voltage of the inverting input terminal and an average voltage of voltages of the first non-inverting input terminal and the second non-inverting input terminal,

wherein a first terminal and a second terminal of the second capacitor are electrically connected to the inverting input terminal and the output terminal, and

wherein the third switch controls electrical continuity between the inverting input terminal and the output terminal.

9. The IC according to claim 7, wherein the third switch of the current-voltage conversion circuit is controlled by a first signal pair,

wherein the current generation circuit includes a delay circuit,

wherein the delay circuit delays the first signal pair to generate a second signal pair and delays the second signal pair to generate a third signal pair, and

wherein the first switch and the second switch of the current generation circuit are controlled by the second signal pair and the third signal pair, respectively.

10. The IC according to claim 7,

wherein each of the first to N-th current sensing circuits includes a sample-and-hold circuit and an analog-digital conversion circuit,

wherein the sample-and-hold circuit holds an output voltage of the current-voltage conversion circuit, and

wherein the analog-digital conversion circuit converts the voltage held by the sample-and-hold circuit into digital data.

11. An IC comprising:

2N first pins [1] to [2N], N being an integer greater than or equal to 1;

a second pin;

a first wiring;

a second wiring;

N current sensing circuits [1] to [N];

a first switch circuit;

a second switch circuit;

a third switch circuit; and

a current generation circuit,

wherein the current generation circuit includes a first capacitor, a first switch, a second switch, a first node, a second node, a third node, a fourth node, a first selection circuit, and a second selection circuit,

wherein a first terminal of the first capacitor is electrically connected to the second pin, wherein the first switch controls electrical continuity between the first node and a second terminal of the first capacitor,

wherein the second switch controls electrical continuity between the second node and the second terminal of the first capacitor,

wherein a current is input to the third node, wherein a current flowing through the fourth node is output, as a reference current, from the current generation circuit,

wherein the first selection circuit selects one voltage from a plurality of voltages and inputs the selected voltage to the first node,

wherein the second selection circuit selects the second node or the third node and electrically connects the selected node to the fourth node,

wherein the first switch circuit controls electrical continuity between an input terminal [h] of a current sensing circuit [h] and a first pin [2h-l] and electrical continuity between the input terminal [h] and a first pin [2h], h being an integer greater than or equal to 1 and less than or equal to N.

wherein the current sensing circuit [h] senses a current flowing through the input terminal [h],

wherein the second switch circuit controls electrical continuity between the first wiring and the fourth node and electrical continuity between the second wiring and the fourth node, and wherein the third switch circuit controls electrical continuity between the first wiring and the first pin [2h] and electrical continuity between the second wiring and the first pin [2h-l].

12. The IC according to claim 11

wherein the current sensing circuit [h] includes a current-voltage conversion circuit [h], a sample-and-hold circuit [h], and an analog-digital conversion circuit [h],

wherein the current-voltage conversion circuit [h] includes an amplifier circuit [h], a second capacitor [h], and a third switch [h],

wherein the amplifier circuit [h] includes an inverting input terminal [h], a first non-inverting input terminal [h], a second non-inverting input terminal [h], and an output terminal [h],

wherein a first terminal and a second terminal of the second capacitor [h] are electrically connected to the inverting input terminal [h] and the output terminal [h],

wherein the third switch [h] controls electrical continuity between the inverting input terminal [h] and the output terminal [h],

wherein the inverting input terminal [h] is electrically connected to the input terminal

[hi

wherein the amplifier circuit [h] amplifies a difference between a voltage of the inverting input terminal [h] and an average voltage of voltages of a voltage of the first non-inverting input terminal [h] and a voltage of the second non-inverting input terminal [h], wherein the sample-and-hold circuit [h] holds a voltage of the output terminal [h], and wherein the analog-digital conversion circuit [h] converts the voltage held by the sample-and-hold circuit [h] into digital data.

13. The IC according to claim 12,

wherein the third switch [h] is controlled by a first signal pair,

wherein the current generation circuit includes a delay circuit,

wherein the delay circuit delays the first signal pair to generate a second signal pair and delays the second signal pair to generate a third signal pair,

wherein the first switch is controlled by the second signal pair, and

wherein the second switch is controlled by the third signal pair.

14. The IC according to any one of claims 11 to 13,

wherein the first switch circuit is configured to establish electrical continuity between the first pin [2h-l] and the inverting input terminal [h], electrical continuity between the first pin [2/z-l] and the first non-inverting input terminal [h], and electrical continuity between the first pin [2/z] and the second non-inverting input terminal [h], and

wherein the first switch circuit is configured to establish electrical continuity between the first pin [2h] and the inverting input terminal [h], electrical continuity between the first pin [2 z-l] and the first non-inverting input terminal [h], and electrical continuity between the first pin [2Λ+ 1] and the second non-inverting input terminal [h].

15. The IC according to any one of claims 11 to 13,

wherein the first switch circuit is configured to make the inverting input terminal [h] have electrical continuity with the first pin [2/z-l] and to make the first non-inverting input terminal [h] and the second non-inverting input terminal [h] have electrical continuity with the first pin [2/z-l],

wherein the first switch circuit is configured to make the inverting input terminal [h] have electrical continuity with the first pin [2/z-l] and to make the first non-inverting input terminal [h] and the second non-inverting input terminal [h] have electrical continuity with the first pin [2/z],

wherein the first switch circuit is configured to make the inverting input terminal [h] have electrical continuity with the first pin [2h] and to make the first non-inverting input terminal [h] and the second non-inverting input terminal [h] have electrical continuity with the first pin [2/z-l], and wherein the first switch circuit is configured to make the inverting input terminal [h] have electrical continuity with the first pin [2h] and to make the first non-inverting input terminal [h] and the second non-inverting input terminal [h] have electrical continuity with the first pin [2/2+1].

16. The IC according to any one of claims 11 to 13,

wherein the first switch circuit is configured to make the inverting input terminal [h] have electrical continuity with the first pin [2/z-l] and to make the first non-inverting input terminal [h] and the second non-inverting input terminal [h] have electrical continuity with the second pin, and

wherein the first switch circuit is configured to make the inverting input terminal [h] have electrical continuity with the first pin [2h] and to make the first non-inverting input terminal [h] and the second non-inverting input terminal [h] have electrical continuity with the second pin.

17. A driver IC,

wherein the IC according to any one of claims 11 to 13 is provided with a driver portion, and

wherein the driver portion processes an image signal input from an outside of the IC and generates a grayscale signal.

18. A display system comprising:

the driver IC according to claim 17; and

a pixel array,

wherein the driver IC transmits the grayscale signal to the pixel array.

19. An electronic device comprising:

a display portion,

wherein the display portion includes the driver IC according to claim 17 and a pixel array, and

wherein the driver IC inputs the grayscale signal to the pixel array.

Description:
DESCRIPTION

IC, DRIVER IC, DISPLAY SYSTEM, AND ELECTRONIC DEVICE TECHNICAL FIELD

[0001]

In the specification, drawings, and claims of this application (hereinafter referred to as "this specification and the like"), a semiconductor device, an electronic component, an electronic device, operating methods thereof, and manufacturing methods thereof are described, for example.

[0002]

In this specification and the like, a semiconductor device refers to a device that utilizes semiconductor characteristics, and means a circuit including a semiconductor element (e.g., a transistor, a diode, or a photodiode), a device including the circuit, and the like. The semiconductor device also means any device that can function by utilizing semiconductor characteristics. For example, an integrated circuit, a chip including an integrated circuit, and an electronic component including a chip in a package are examples of semiconductor devices. Moreover, a memory device, a display device, a light-emitting device, a lighting device, an electronic device, and the like themselves might be semiconductor devices, or might each include a semiconductor device.

BACKGROUND ART

[0003]

In order to meet demands for a larger number of gray levels and higher resolution of a display device or the like, a dedicated IC (driver IC) is used in a driver circuit of a display device, particularly in a source driver circuit where a data signal is generated from a video signal

(Non-Patent Document 1, for example).

[Reference]

[Patent Document]

[0004]

For pixels of an active matrix display device using light-emitting elements, a variety of circuit configurations have been proposed. In general, a pixel is provided with at least a light-emitting element, a selection transistor that controls input of a grayscale signal to the pixel, and a driving transistor that drives the light-emitting element. Supplying a drain current flowing through the driving transistor to the light-emitting element enables the light-emitting element to emit light with a luminance corresponding to the value of the drain current.

[0005]

Therefore, in the case where electrical characteristics (e.g., threshold voltage, field-effect mobility) of the driving transistor vary among a plurality of pixels that constitute a screen of a display device, variations in luminance of the light-emitting element are generated even when grayscale signals with the same voltage are supplied. Variations in electrical characteristics of the driving transistor among a plurality of pixels are one of the causes of reduction in display quality of a display device.

[0006]

For active matrix display devices, the number of pixels provided has been increased to achieve higher resolution, and hundreds of thousands to tens of millions of pixels are provided in one display device. In a general color display device, a pixel is composed of three subpixels corresponding to display colors of red, green, and blue (RGB). For example, in the case where the display resolution is full-FID, the number of subpixels is 1366 x 768 x 3 (RGB) = 1,049,088; and in the case where the resolution is 8K4K (Super Hi-Vision), the number of subpixels is 7,680 x 4,320 x 3 (RGB) = 33,177,600. It is very difficult for driving transistors of a large number of subpixels to have perfectly the same electrical characteristics. Thus, measuring the electrical characteristics of a driving transistor and correcting the luminance of a light-emitting element is proposed (e.g., Non-Patent Document 1).

[0007]

In Non-Patent Document 1, each of the transistors in subpixels and a scan driver included in a display device is a transistor having a channel formed using a metal oxide. In this specification and the like, a transistor whose channel is formed using a metal oxide is referred to as a metal oxide transistor, an oxide semiconductor transistor, or an OS transistor.

[Reference]

[Non-Patent Document]

[0008]

[Non-Patent Document 1] R. Yamamoto et al., " 13.3-inch 8k4k 664-ppi 120-Hz 12-bit OLED Display Using Top-Gate Self-Aligned CAAC-OS FETs and 12-bit Source Driver Ics", SID Symposium Digest of Technical Papers, Vol. 47, 2016, pp. 53-56.

DISCLOSURE OF INVENTION

[0009] An object of one embodiment of the present invention is to provide a novel test circuit, to make it possible to perform a highly reliable test, to provide a semiconductor device having a wide range of output currents, to make it possible to adjust the value of an output current with high accuracy, and to reduce the circuit area.

[0010]

Note that the description of a plurality of objects does not disturb the existence of each object. One embodiment of the present invention does not necessarily achieve all the objects listed above. Objects other than those listed above are apparent from the description of this specification and the like, and such objects could be objects of one embodiment of the present invention.

[0011]

(1) One embodiment of the present invention is an IC including a plurality of pins, a plurality of current sensing circuits, and a current generation circuit. The plurality of current sensing circuits process currents flowing through the plurality of pins in parallel. The current generation circuit includes a capacitor and generates a reference current corresponding to the amount of electric charge of the capacitor. The reference current is used to test the plurality of current sensing circuits.

[0012]

(2) An IC of one embodiment of the present invention includes first to K-th pins (K is an integer greater than or equal to 2), first to K-th current sensing circuits, and a current generation circuit including a first capacitor. A y ' -th current sensing circuit (/ ' is an integer greater than or equal to 1 and less than or equal to N) senses a current flowing through a y ' -th pin. The current generation circuit generates a reference current corresponding to the amount of electric charge held by the first capacitor. The reference current is successively input to the first to K-th current sensing circuits in order to test the first to K-th current sensing circuits.

[0013]

(3) The IC of the above embodiment (2) further includes a first circuit, a second circuit, a third circuit, and a wiring. The first circuit controls electrical continuity between the y ' -th pin and the y ' -th current sensing circuit. The second circuit controls input of the reference current to the wiring. The third circuit selects, from the first to K-th pins, one pin to be electrically connected to the wiring.

[0014]

(4) In the IC of the above embodiment (2), the current generation circuit includes a first switch, a second switch, a first node, and a second node. A first voltage is input to a first terminal of the first capacitor. A second voltage is input to the first node. The first switch controls electrical continuity between the first node and a second terminal of the first capacitor. The second switch controls electrical continuity between the second node and the second terminal of the first capacitor. The current generation circuit outputs a current flowing through the second node as the reference current.

[0015]

(5) In the IC of the above embodiment (2), the current generation circuit includes a first switch, a second switch, a first node, a second node, a third node, a first selection circuit, and a second selection circuit. A first voltage is input to a first terminal of the first capacitor. The first switch controls electrical continuity between the first node and a second terminal of the first capacitor. The second switch controls electrical continuity between the second node and the second terminal of the first capacitor. The first selection circuit selects one voltage from a plurality of voltages and inputs the selected voltage to the first node. The second selection circuit selects one node from the first node and the second node. A current flowing through the selected node is output as the reference current.

[0016]

(6) In the IC of any of the above embodiments (2) to (5), each of the first to K-t current sensing circuits includes a current-voltage conversion circuit. The current-voltage conversion circuit includes an amplifier circuit, a second capacitor, and a third switch. The amplifier circuit includes an inverting input terminal, a first non-inverting input terminal, a second non-inverting input terminal, and an output terminal. A first terminal and a second terminal of the second capacitor are electrically connected to the inverting input terminal and the output terminal, respectively. The third switch controls electrical continuity between the inverting input terminal and the output terminal.

[0017]

(7) In the IC of any of the above embodiments (2) to (5), each of the first to K-th current sensing circuits includes a current-voltage conversion circuit. The current-voltage conversion circuit includes an amplifier circuit, a second capacitor, and a third switch. The amplifier circuit includes an inverting input terminal, a first non-inverting input terminal, a second non-inverting input terminal, and an output terminal. The amplifier circuit amplifies a difference between a voltage of the inverting input terminal and an average voltage of voltages of the first non-inverting input terminal and the second non-inverting input terminal. A first terminal and a second terminal of the second capacitor are electrically connected to the inverting input terminal and the output terminal. The third switch controls electrical continuity between the inverting input terminal and the output terminal.

[0018] (8) In the IC of the above embodiment (6) or (7), the third switch of the current-voltage conversion circuit is controlled by a first signal pair. The current generation circuit includes a delay circuit. The delay circuit delays the first signal pair to generate a second signal pair and delays the second signal pair to generate a third signal pair. The first switch is controlled by the second signal pair. The second switch is controlled by the third signal pair.

[0019]

(9) Another embodiment of the present invention is a driver IC in which the IC of any of the above embodiments (1) to (8) is provided with a driver portion. The driver portion processes an image signal input from the outside and generates a grayscale signal.

[0020]

In this specification and the like, ordinal numbers such as "first", "second", and "third" may be used to show the order. Alternatively, ordinal numbers are used to avoid confusion among components in some cases. In such a case, the ordinal numbers do not limit the number of the components. For example, it is possible to replace the term "first" with the term "second" or "third" in describing one embodiment of the present invention.

[0021]

A transistor has three terminals: a gate, a source, and a drain. The gate is a control terminal for controlling the on/off state of the transistor. Two terminals functioning as a source and a drain are input/output terminals of the transistor. Functions of the input/output terminals of the transistor depend on the type (n-channel type or p-channel type) and the levels of potentials applied to the terminals, and one of the two terminals functions as a source and the other functions as a drain. Therefore, the terms "source" and "drain" can be switched in this specification and the like. In this specification and the like, the two terminals other than the gate may be referred to as a first terminal and a second terminal for convenience.

[0022]

A node can be referred to as a terminal, a wiring, an electrode, a conductive layer, a conductor, an impurity region, or the like depending on the circuit configuration, the device structure, or the like. Furthermore, a terminal, a wiring, or the like can be referred to as a node.

[0023]

In many cases, a voltage refers to a potential difference between a certain potential and a reference potential (e.g., a ground potential (G D) or a source potential). Thus, a voltage can be referred to as a potential and vice versa. Note that a potential has a relative value; therefore, GND does not necessarily mean 0 V.

[0024] In this specification and the like, the terms "film" and "layer" can be interchanged depending on the case or circumstances. For example, in some cases, the term "conductive film" can be used instead of the term "conductive layer", and the term "insulating layer" can be used instead of the term "insulating film".

[0025]

In this specification and the like, a description " and Y are connected" means that X and Y are electrically connected, X and Y are functionally connected, and X and Y are directly connected. Accordingly, without being limited to a predetermined connection relationship, for example, a connection relationship shown in drawings or texts, another connection relationship is included in the drawings or the texts. Here, each of X and Y denotes an object (e.g., a device, an element, a circuit, a wiring, an electrode, a terminal, a conductive layer, or a semiconductor region).

[0026]

One embodiment of the present invention can provide a novel semiconductor device or a novel method for operating the semiconductor device.

[0027]

Note that the description of the plurality of effects does not preclude the existence of other effects. In one embodiment of the present invention, there is no need to obtain all the effects described above. In one embodiment of the present invention, an object other than the above objects, an effect other than the above effects, and a novel feature will be apparent from the description of the specification and the drawings.

BRIEF DESCRIPTION OF DRAWINGS

[0028]

FIG. 1 is a functional block diagram illustrating a structure example of an IC.

FIG. 2 is a circuit diagram illustrating a structure example of a unit circuit of a current sensing circuit.

FIG. 3 is a circuit diagram illustrating a structure example of a current generation circuit.

FIG. 4A is a timing chart showing an example of an operation in a current sensing mode,

FIG. 4B is a timing chart showing an example of an IV sequence and an AD sequence. FIG. 4C is a timing chart showing an example of an RD sequence.

FIGS. 5A to 5E are circuit diagrams for describing an operation example in a current sensing mode. FIG. 6A is a timing chart showing an example of an operation in a test mode, and FIG.

6B is a timing chart showing an example of an IV sequence and an AD sequence.

FIG. 7 is a functional block diagram illustrating a structure example of a source driver IC (SD-IC).

FIG. 8 is a functional block diagram illustrating a structure example of a source driver

(SDR) portion.

FIG. 9 is a functional block diagram illustrating a structure example of a current sensing (CSN) portion.

FIG. 10 is a circuit diagram illustrating a structure example of a current generation portion.

FIG. 11 is a circuit diagram illustrating a structure example of a current sensing circuit and a test circuit

FIG. 12 is a truth table of a decoder and a correspondence table between a control signal of a switch matrix and a current sensing mode.

FIGS. 13A to 13C are each a diagram for describing a current sensing mode and a circuit structure of a switch matrix.

FIG. 14 is a circuit diagram illustrating a structure example of a current sensing circuit and a test circuit.

FIG. 15A is a timing chart showing an example of an operation in a current sensing mode, and FIG. 15B is a timing chart showing an example of an RD sequence.

FIG. 16 is a timing chart showing an example of an IV sequence and an AD sequence. FIG. 17 is a timing chart showing an example of an operation in a test mode.

FIG. 18 is a timing chart showing an example of an IV sequence and an AD sequence in a test mode.

FIG. 19A is a block diagram illustrating a structure example of a display system, and

FIG. 19B is a schematic view illustrating a connection structure between an SD-IC and a pixel array.

FIGS. 20A and 20B are diagrams illustrating a structure example of a pixel array.

FIGS. 21 A and 21B are diagrams illustrating a structure example of a switch circuit. FIG. 22 is a diagram illustrating an example of a connection structure between a pixel array, a gate driver circuit, and an SD-IC.

FIG. 23 is a flow chart showing an example of a current sensing operation of a display system.

FIG. 24 is a simplified circuit diagram for describing a current sensing operation example. FIG. 25 is a simplified circuit diagram for describing a current sensing operation example.

FIGS. 26A to 26C are circuit diagrams each illustrating a structure example of a pixel array.

FIG. 27 is a circuit diagram illustrating a structure example of a pixel array.

FIGS. 28A and 28B are circuit diagrams illustrating structure examples of a subpixel. FIG. 29 is a cross-sectional view illustrating a structure example of a display panel. FIGS. 30A and 30B are cross-sectional views illustrating structure examples of a display panel.

FIGS. 31A to 3 ID are diagrams each illustrating a structure example of an electronic device.

FIGS. 32Ato 32C are diagrams illustrating structure examples of an electronic device. FIGS. 33 A and 33B are diagrams illustrating structure examples of an electronic device. FIG. 34 shows results of current values obtained when a CSN portion of a manufactured SD-IC is operated in a test mode.

BEST MODE FOR CARRYING OUT THE INVENTION

[0029]

Hereinafter, embodiments of the present invention are described. Note that one embodiment of the present invention is not limited to the following description. It will be readily appreciated by those skilled in the art that modes and details of the present invention can be modified in various ways without departing from the spirit and scope of the present invention.

One embodiment of the present invention therefore should not be construed as being limited to the following description of the embodiments and the example.

[0030]

Any of the embodiments described below can be combined as appropriate. In addition, in the case where a plurality of structure examples (including a manufacturing method example, an operating method example, a usage example, and the like) are given in one embodiment, any of the structure examples can be combined as appropriate, and any of the structure examples can be combined with one or more structure examples described in the other embodiments and the example.

[0031]

In the drawings, the same elements, elements having similar functions, elements formed of the same material, elements formed at the same time, and the like are sometimes denoted by the same reference numerals, and the description thereof is not repeated in some cases. [0032]

When the same reference numerals are used for a plurality of elements and those elements need to be distinguished from each other, " 1", " 2", "[«]", [m, «]", or the like may be added to the reference numerals. For example, in the case where a plurality of wirings ML are individually distinguished from each other, the wiring ML in a second column (or a second row) may be described as a wiring ML[2].

[0033]

In this specification, a power supply potential VDD may be abbreviated to "potential VDD", "VDD", or the like. The same applies to other components (e.g., a signal, a voltage, a circuit, an element, an electrode, and a wiring).

[0034]

In the drawings, the size, the layer thickness, or the region is exaggerated for clarity in some cases. Therefore, the size, the layer thickness, or the region is not limited to the illustrated scale. Note that the drawings are schematic views showing ideal examples, and embodiments of the present invention are not limited to shapes or values shown in the drawings. For example, the following can be included: variation in signal, voltage, or current due to noise or difference in timing.

[0035]

(Embodiment 1)

In this embodiment, an IC having a current sensing function is described. FIG. 1 is a functional block diagram of the IC.

[0036]

An ICIOO illustrated in FIG. 1 includes a current-voltage conversion portion 110, a sample-and-hold portion 112, an analog-digital conversion portion 113, an output driver 114, a switch portion 117, a level shift (LS) portion 121, a logic portion 122, a logic portion 123, a logic/level shift (LOG/LS) portion 124, a current generation circuit 125, a switch matrix 128, a switch portion 129, a wiring TM81, a wiring TM82, a capacitor Cn81, and a capacitor Cn82.

[0037]

The IC 100 includes a plurality of pins such as a pin PMV1, a pin PMV2, and 2N pins PI (N is an integer greater than or equal to 1). The number of current input channels in the IC 100 is 2N, and 2Npins PI are pins for current input.

[0038]

The expression "pin PI[1]" or the like is used below to identify one of the 2N pins PI. The expression "pin PI" denotes an arbitrary pin PI. The same applies to other components. As other identification signs for identifying components, " 1 ", [1,2], and the like are used. [0039]

The IC 100 senses currents that flow through the pins PI of N odd-numbered channels (or N even-numbered channels) in parallel. Currents input from the N pins PI are processed in the portions 110, 112, and 113 in parallel and converted into N parallel digital data. The output driver 114 converts the N digital data into serial digital data and outputs the serial digital data to the outside as a signal CMDO. The current-voltage conversion portion 110 includes N unit circuits in order to parallelize current sensing processing. The same applies to the sample-and-hold portion 112, the analog-digital conversion portion 113, and the like. Thus, the number of unit circuits of the current-voltage conversion portion 110 is smaller than that of the pins PI.

[0040]

The current-voltage conversion portion 110 includes N current-voltage conversion circuits (I/V circuits) 130. The I/V circuit 130 is formed using a current input integrating circuit and includes an amplifier circuit 131, a capacitor Civ, and a switch SWiv. The capacitor Civ is an integrating capacitor. The sample-and-hold portion 112 includes N sample-and-hold circuits (S/H circuits) 132. The S/H circuit 132 includes a capacitor Csh and a switch SWsh. The analog-digital conversion portion 113 includes N analog-digital conversion circuits (AID circuits) 133.

[0041]

The switch portion 117 includes N switch matrixes 137. The switch matrix 137 includes a switch SW71, a switch SW72, a switch SW73, a switch SW74, a switch SW75, and a switch SW76. The switches SWiv, SWsh, and SW71 to SW76 are analog switches.

[0042]

A test circuit for testing the current-voltage conversion portion 110 is incorporated in the IC 100. The test circuit includes the LOG/LS portion 124, the current generation circuit 125, the switch matrix 128, the switch portion 129, the capacitor Cn81, and the capacitor Cn82.

[0043]

The current generation circuit 125 generates a current IRFINT. The current IRFINT is a reference current used for testing the current-voltage conversion portion 110. The current generation circuit 125 includes a node Nt, a switch SWt, a switch SWtb, a capacitor Ct, and a delay circuit 125a.

[0044]

The switch portion 129 includes the wiring TM81, the wiring TM82, and N switch circuits 139. The switch portion 129 functions as a demultiplexer (DEMUX) and selects two of the 2N pins PI to have electrical continuity with the wirings TM81 and TM82. Each of the wirings TM81 and TM82 functions as a path of the current IRFINT.

[0045]

The switch matrix 128 has the same circuit structure as the switch matrix 137 and includes a switch SW81, a switch SW82, a switch SW83, a switch SW84, a switch SW85, and a switch SW86. The switch matrix 128 has functions of the DeMUX and a precharge circuit. The switch matrix 128 selects one of the wirings TM81 and TM82, to which the current IRFINT is to be output, and precharges the wiring TM81 and TM82.

[0046]

A voltage VDDD, a voltage VDDA, a voltage VSSD, a voltage VSSA, a voltage

CMVRI, and a voltage CMVRC are input to the IC 100. Each of the voltages VDDD and VDDA is a high-level-side power supply voltage. Each of the voltages VSSD and VSSA is a low-level -side power supply voltage and is, for example, a ground potential. Each of the voltages VDDD and VSSD is a power supply voltage for a digital circuit. Each of the voltages VDDA and VSSA is a power supply voltage for an analog circuit. The pin PMV1 is a pin for inputting a voltage CMVRI. The pin PMV2 is a pin for inputting a voltage CMVRC.

[0047]

A variety of signals such as a signal CMPRE, a signal CMREV, a signal CMSET, a signal CMSH, a signal RTCM, a signal TDCLK, and a signal TDSP are input to the IC 100.

[0048]

The signals CMPRE, CMREV, CMSET, and CMSH are input to a level shift portion 121. The level shift portion 121 is a circuit for converting a digital signal into a signal for an analog circuit, converts a digital signal into a differential signal, and shifts the level of the differential signal. In this specification and the like, reference numerals in which "H" or "BH" is added to the symbols used for a digital signal are used as symbols for such a differential signal. For example, a pair of differential signals that correspond to the signal CMPRE is represented by "CMPREH" and "CMPREBH". The signal CMPREH is a signal with the same logic as the signal CMPRE, and the signal CMPREBH is an inverted signal of the signal CMPRH.

[0049]

The signal CMPRE is a signal that controls precharge of the pin PI. The signal

CMREV is a signal that specifies whether the channel for which a current is sensed is an odd-numbered channel or an even-numbered channel. The signal CMSET is a control signal for offset cancellation of the I/V circuit 130. The signal CMSH is a control signal for sampling operation of the S/H circuit 132.

[0050] The signal CMPREH, the signal CMPREBH, the signal CMREVH, and the signal CMREVBH are input to the switch portion 117 and the switch matrix 128. The signal CMSETH and the signal CMSETBH are input to the current-voltage conversion portion 110 and the current generation circuit 125. The signal CMSHH and the signal CMSHBH are input to the S/H portion 112.

[0051]

The logic portion 122 processes an external signal and generates a control signal for the analog-digital conversion portion 113. Control signals are input from the logic portion 122 and the outside to the analog-digital conversion portion 113.

[0052]

The signals RTCM, TDCLK, and TDSP are input to the logic portion 123. The signal RTCM is a signal for determining the operation mode of the IC 100. The operation mode of the IC 100 is roughly classified into a current sensing mode in which currents flowing through the pins PI are sensed and a test mode in which the operation of an internal circuit is verified. The test mode is executed in pre-shipment inspection of the IC 100, for example.

[0053]

The logic portion 123 outputs the signal TDSP and the signal TDCLK to one of the output driver 114 and the LOG/LS portion 124 in accordance with the signal RTCM. The signal TDSP is a start pulse signal, and the signal TDCLK is a clock signal. The output driver 114 converts N digital signals output from the analog-digital conversion portion 113 into a serial digital signal and outputs the signal CMDO in accordance with the signals TDCLK and TDSP. The signals RTCM, TDCLK, and TDSP are input to the LOG/LS portion 124. The LOG/LS portion 124 processes the input signals to generate control signals for the analog-digital conversion portion 113 and the switch portion 129.

[0054]

«Current sensing circuit»

In the IC 100, one current sensing circuit is provided for two input channels. FIG. 2 illustrates a unit circuit of the current sensing circuit and a structure example of a circuit used for a test of the unit circuit.

[0055]

Note that although the signals CMSETH and CMSETBH are input from the level shift portion 121 to the switch SWiv, FIG. 2 illustrates only the signal CMSETH with which the switch SWiv is turned on when the signal CMSET is at a high level ("H"). The same applies to signals input to switches in FIG. 2 and other drawings.

[0056] The unit circuit of the current sensing circuit includes the I/V circuit 130, the S/H circuit 132, and the AID circuit 133. The unit circuit is referred to as a CM circuit 140 for convenience. The CM circuit 140[/z] (h is an integer greater than or equal to 1 and less than or equal to N) senses currents flowing through a pin PI[2/z-l] and a pin PI[2/z]. The switch matrix 137[/z] selects the pin PI that is targeted to be monitored by the CM circuit 140[/z]. A circuit structure example of the switch matrix 137 [ ?] is described below.

[0057]

The switch SW71 controls electrical continuity between the pin PI[2/z-l] and the pin PMV1. The switch SW72 controls electrical continuity between the pin PI[2/z] and the pin PMV1. The on/off of the switch SW71 and the switch SW72 is controlled by the signals CMPREH and CMPREBH.

[0058]

The switch SW73 controls electrical continuity between the pin PI[2/z-l] and an inverting input terminal (hereinafter referred to as a terminal INM) of an amplifier circuitl31 [/z]. The switch SW74 controls electrical continuity between the pin PI[2/z] and a non-inverting input terminal (hereinafter referred to as a terminal INP) of the amplifier circuit 131 [ ?] . The switch SW75 controls electrical continuity between the pin PI[2/z-l] and the terminal INP) of the amplifier 131 [/z]. The switch SW76 controls electrical continuity between the pin PI[2/z] and the terminal INM of the amplifier circuit 131 [/z]. The on/off of the switches SW73 to SW76 is controlled by the signals CMREVH and CMREVBH.

[0059]

In the output driver 114, N buffer circuits 134 and N registers 135 are provided. An N-stage shift register 118 is formed of the N registers 135. The signal TDCLK is input to the N registers 135. The signal TDSP is input to the register 135[1] in a first stage. To the register 135 [A] in any of second and subsequent stages, an output signal of the register 135[/z-l] in the previous stage is input.

[0060]

An output signal of the register 135[/z] is input to the buffer circuit 134[/z] as a signal ENO[/z]. The signal ENO[/z] is an output enable signal of the buffer circuit 134[/z]. A digital signal generated in the AID circuit 133[/z] is input to the buffer circuit 134[/z]. The buffer circuit 134[/z] outputs the digital signal in accordance with the signal ENO[/z]. The shift register 118 controls timings at which the N buffer circuits 134 output digital signals, whereby the serial signal CMDO is output to the outside of the IC 100.

[0061] The switch circuit 139[/z] includes a switch SW87[/z] and a switch SW88[/z]. The switch SW87[/z] controls electrical continuity between the pin PI[2/z-l] and the wiring TM81. The switch SW88[/z] controls electrical continuity between the pin PI[2/z] and the wiring TM82.

[0062]

The LOG/LS portion 124 includes N circuits 160. The circuit 160 generates a signal

ENC, a signal TSELH, and a signal TSELBH. The signal ENC is an enable signal of the AID circuit 133. The signals TSELH and TSELBH are control signals for the switches SW87 and SW88.

[0063]

The circuit 160 includes a level shifter 161, an OR circuit 162, and a register 163. An

N-stage shift register 168 is formed of N registers 163. The signal TDCLK is input to the N registers 163. The signal TDSP is input to the register 163 [1] in a first stage. To the register 163 [A] in any of second and subsequent stages, an output signal of the register 163[/z-l] is input.

[0064]

An output signal of the register 163 [A] is input to the register 163 [A + 1] and input to the

OR circuit 162[A] and the level shifter 161 [A] as the signal TSEL[A]. The OR circuit 162[A] obtains a logical sum of a signal RTCMB (an inversion signal of the signal RTCM) and the signal TSEL[/z] and generates the signal ENC [A]. The level shifter 161 [h] converts the signal TSEL[/z] into a differential signal and shifts the level of the differential signal to generate the signals TSELH[/z] and TSELBH[A].

[0065]

The switch matrix 128 includes a node N81 and a node N82. A capacitor Cn81 and a capacitor Cn82 are electrically connected to the node N81 and the node N82, respectively. The current IRFINT is input from the current generation circuit 125 to the node N81.

[0066]

The switch SW81 controls electrical continuity between the wiring TM81 and the pin PMV1. The switch SW82 controls electrical continuity between the wiring TM82 and the pin PMV1. The on/off of the switch SW81 and the switch SW82 is controlled by the signals CMPREH and CMPREBH. The switch SW83 controls electrical continuity between the wiring TM81 and the node N81. The switch SW84 controls electrical continuity between the wiring TM82 and the node N82. The switch SW85 controls electrical continuity between the wiring TM81 and the node N82. The switch SW86 controls electrical continuity between the wiring TM82 and the node N81. The on/off of the switches SW83 to SW86 is controlled by the signals CMREVH and CMREVBH.

[0067] «Current generation circuit»

FIG. 3 illustrates a circuit structure example of the current generation circuit 125.

[0068]

As illustrated in FIG. 3, the delay circuit 125a is formed of 12 CMOS inverter circuits. The delay circuit 125a delays the signals CMSETH and CMSETBH to generate a signal CMSETH Dl and a signal CMSETBH Dl and delays the signals CMSETH Dl and CMSETBH Dl to generate a signal CMSETH D2 and a signal CMSETBH D2. The signals CMSETH Dl and CMSETBH Dl control the on/off of the switch SWt. The signals CMSETH D2 and CMSETBH D2 control the on/off of the switch SWtb.

[0069]

The capacitor Ct is electrically connected to the node Nt and the pin PMV1. The switch SWt controls electrical continuity between the pin PMV2 and the node Nt. The switch SWtb controls electrical continuity between the node Nt and the node N81. The switches SWt an SWtb are exclusive to each other. When one of the switches SWt and SWtb is in an on state, the other is in an off state. The states of the switches SWt and SWtb are determined by the signal CMSET. The timings of switching of the switches SWt and SWtb are made different from each other by the delay circuit 125a. First, the switch SWt is changed from the on state to the off state. Subsequently, the switch SWtb is changed from the off state to the on state.

[0070]

The capacitor Ct is charged while the switch SWt is in the on state and the switch SWtb is in the off state. The amount of electric charge Qt of the capacitor Ct is Ct|CMVRC-CMVRI|. The capacitor Ct is discharged while the switch SWt is in the off state and the switch SWtb is in the on state, and the current IRFINT corresponding to the amount of electric charge Qt flows through the node N81. Whether the current IRFINT is a source current or a sink current with respect to the node N81 depends on the magnitude relation between a voltage CMVRC and a voltage CMVRI.

[0071]

The current generation circuit 125 generates the current IRFINT using the capacitor Ct and the two switches SWt and SWtb that controls charge and discharge of the capacitor Ct. The value of the current IRFINT can be controlled by the voltages CMVRI and CMVRC. Accordingly, as the current IRFINT, a minute current (e.g., lower than or equal to several tens of nanoamperes) can be generated with high accuracy, and the value of the current IRFINT can be adjusted with high accuracy.

[0072] In some cases, many resistors are used in a current generation circuit in order to enable generation of a minute current and fine adjustment of the current value. Such a current generation circuit has a large area and thus is not suitable for a test circuit incorporated in an IC. The test circuit becomes unnecessary after shipment of the IC and thus is required to have a small area. The current generation circuit 125 does not include a resistor and is formed using a CMOS circuit and a capacitor, and thus an increase in the area of the IC 100 due to incorporation of the current generation circuit 125 can be prevented.

[0073]

«Current sensing mode»

FIG. 4 A shows an example of an operation sequence of the IC 100 in the current sensing mode. The signal RTCM at a low level ("L") is input to the IC 100 in order to bring the operation mode of the IC 100 to the current sensing mode. The LOG/LS portion 124 outputs the signals TDSP and TDCLK to the circuit 160 while the signal RTCM is at "L". Accordingly, in the current sensing mode, the signal ENC is kept at "H", and thus the AID circuit 133 is always in an active state.

[0074]

The operation sequence is roughly classified into a sensing (SN) sequence and a reading (RD) sequence. The SN sequence includes a current-voltage (IV) conversion sequence and a digital-analog conversion (AD) sequence. In the case where currents for N odd-numbered channels are sensed, the signal CMREV at "L" is input to the IC 100. In the case where current sensing of N even-numbered channels is performed, the signal CMREV at "H" is input to the IC 100.

[0075]

In the IV sequence, the CM circuits 140[1] to 140[N] convert currents flowing through the target pins PI into voltages. In the AD sequence, the CM circuits 140[1] to 140[N] convert the voltages (analog data) obtained in the IV sequence into digital data. In the RD sequence, the digital data obtained by the CM circuits 140[1] to 140[N] is sequentially read by the output driver 114.

[0076]

An operation example of the CM circuit 140[/z] in the IV sequence and the AD sequence is described with reference to FIG. 4B, FIGS. 5A to 5E, and the like. FIG. 4B is a timing chart of the CM circuit 140[/z], where tO, tl, and the like represent the time. FIGS. 5A to 5E are circuit diagrams for describing the operation example of the CM circuit 140[/z].

[0077]

<IV sequence> At the time tO, the signal CMREV is at "L", and thus in the switch matrix 137[/z], the switches SW73[/z] and SW74[/z] are in an on state, and the switches SW75[/z] and SW76[/z] are in an off state (see FIG. 5 A). Accordingly, the pin PI[2/z-l] and the terminal INM[/z] in the amplifier circuit 131 [/z] are electrically connected to each other, and the pin PI[2/z] and the terminal INP[/z] in the amplifier circuit 131 [ ?] are electrically connected to each other.

[0078]

(Precharge)

In a period from tl to t2, 2N pins PI are precharged. When the signal CMPRE becomes "H", the switches SW71 [/z] and SW72[/z] are turned on (see FIG. 5B). Accordingly, the pins PI[2/z-l] and PI[2/z] are electrically connected to the pin PMV1 and precharged to the voltage CMVRI. In addition, the terminals INM[/z] and INP[/z] are precharged to the voltage CMVRI.

[0079]

At the time tl, the signal CMSH becomes "H", and thus the switch SWsh[/z] is turned on. An output terminal of the amplifier circuit 131 [/z] (hereinafter referred to as a "terminal OT131 [h]") and a node N132[/z] of the S/H circuit 132[/z] are electrically connected to each other.

[0080]

(Offset cancellation)

In a period from t3 to t4, offset cancellation for correction of the offset voltage of the

I/V circuit 130 is performed. At t3, the signal CMSET becomes "H", and thus the switch SWiv[/z] is turned on. The terminal INM[/z] and the output terminal OT131 [/z] are electrically connected to each other, whereby the offset voltage of the amplifier circuit 131 [/z] is corrected.

[0081]

(Current- voltage conversion)

In a period from t4 to t5, the I/V circuit 130 converts a current flowing through the terminal INM into a voltage, and the S/H circuit 132 performs a sampling operation.

[0082]

At t4, the signal CMSET becomes "L". The switch SWiv[/z] is turned off, and the I/V circuit 130 [ ?] starts an integrating operation. By the integrating operation of the I/V circuit 130[/z], the voltage of the output terminal OT131 [/z] is decreased.

[0083]

Since the terminal INP[/z] is electrically connected to the pin PI[2/z], the amplifier circuit 131 [/z] is operated as a differential amplifier circuit. Accordingly, the amplifier circuit 131 [/z] cancels the common mode noise of the pin PI[2/z-l] and the common mode noise of the pin PI[2/z], and thus the signal-to-noise ratio (S R) of an output signal of the I/V circuit 130[/z] can be improved.

[0084]

<AD sequence>

The signal CMSH becomes "L" at t5, the IV sequence is terminated, and the AD sequence is started. In the S/H circuit 132[/z], the switch SWsh[/z] is turned off, and thus a voltage V132 of the output terminal OT131 [A] at t5 is held (see FIG. 5E). The voltage V132 corresponds to the amount of the current flowing through the terminal INM[/z] in the period from t4 to t5. At t6, the AID circuit 133[/z] converts the voltage VI 32 into digital data and outputs the digital data to the buffer circuit 134[/z] of the output driver 114.

[0085]

<RD sequence>

FIG. 4C is a timing chart showing an example of the RD sequence. When the signal TDSP is input to the output driver 114, the RD sequence is started. In the shift register 118 of the output driver 114, a shift operation of the signal TDSP is performed in response to a rise in the signal TDCLK, and the digital data is sequentially output from the buffer circuits 134[1] to \34[N].

[0086]

The signal CMREV is set to "H" while the RD sequence is executed, the channels that are targeted to be monitored are changed from the odd-numbered channels to the even-numbered channels. By the switch matrix 137[/z], the terminal INM[/z] of the amplifier circuit 131 [/z] and the terminal INP[/z] of the amplifier circuit 131 [/z] are electrically connected to the pin PI[2/z] and the pin PI[2A-1].

[0087]

«Test mode»

In the test mode, the current IRFINT generated in the current generation circuit 125 is successively input to the CM circuits 140[1] to 140[N], whereby one unit of the CM circuit 140 is tested at a time. FIG. 6A shows an example of the operation sequence of the IC 100 in the test mode.

[0088]

The signal RTCM at "H" is input to the IC 100 in order to bring the operation mode of the IC 100 to the test mode. The logic portion 123 outputs the signals TDSP and TDCLK to the LOG/LS portion 124 while the signal RTCM is at Ή". The signal CMREV is "L" in order to input the current IRFINT to the terminal INM of the amplifier circuit 131.

[0089] The shift register 168 of the LOG/LS portion 124 performs a shift operation of the signal TDSP in accordance with the signal TDCLK to generate the signals TSEL[1] to TSEL[NJ. The CM circuits 140[1] to 140[N] are sequentially selected by the signals TSEL[1] to TSEL[N]. The selected CM circuit 140 executes the IV sequence and the AD sequence described above.

[0090]

After the SN sequence by the CM circuit 140[N], the signal RTCM is set to "L" for execution of the RD sequence. As described above, the output driver 114 is operated in accordance with the signals TDSP and TDCLK, and thus the signal CMDO is output from the IC 100.

[0091]

The operation of the CM circuit 140 in the test mode is similar to the operation in the current sensing mode. The CM circuit 140 is operated as shown in the timing chart in FIG. 4B. The test mode is different from the current sensing mode in that the current IRFINT is input to the selected CM circuit 140 while the IV sequence is performed. The IV sequence and the AD sequence of the CM circuit 140[/z] in the test mode are described with reference to FIG. 2, FIGS. 5 A to 5D, FIG. 6B, and the like.

[0092]

<IV sequence>

At tlO, the signal CMREV is at "L". The switches SW73[/z] and SW74[/z] are in an on state, and the switches SW75[/z] and SW76[/z] are in an off state (see FIG. 5 A). In the switch matrix 128, the switches SW83 and SE84 are in an on state, and the switches SW85 and SW86 are in an off state.

[0093]

At ti l, the register \63[h] outputs the signal TSEL[/z] at Ή". The A/D circuit \33[h] is activated. By the switch matrix 128, the switch circuit 139[/z], and the switch matrix 137[/z], the pin PI [2/z-l] is electrically connected to the wiring TM81 and the terminal INM[/z], and the pin PI[2/z] is electrically connected to the wiring TM82 and the terminal INP[/z].

[0094]

(Precharge)

In a period from ti l to tl2, the pin PI[2/z-l], the pin PI[2/z], the wiring TM81, and the wiring TM82 are precharged. When the signal CMPRE becomes "H", the switches SW71[/z], SW72[/z], SW81, and SW82 are turned on. The pin PI[2/z-l], the pin PI[2/z], the wiring TM81, and the wiring TM82 are electrically connected to the pin PMV1, and thus the pin PI[2/z-l], the pin PI[2/z], the wiring TM81, the wiring TM82, the terminal INM[/z], the terminal INP[/z], and the node Nt are precharged to the voltage CMVRI. The amount of electric charge Qt of the capacitor Ct in the current generation circuit 125 is 0 coulombs.

[0095]

The signal CMSH becomes "H" at ti l, and thus the switch SWsh[/z] is turned on. The output terminal OT131 [/z] of the amplifier circuit 131 [/z] and the node N132[/z] are electrically connected to each other.

[0096]

(Offset cancellation)

In a period from tl3 to tl4, offset cancellation in which the offset voltage of the I/V circuit 130[/z] is corrected is performed. The signal CMSET is at "H", and thus the switch SWiv[/z] is turned on, so that the terminal INM[/z] and the output terminal OT131 [/z] are electrically connected to each other.

[0097]

In a period from tl3 to tl4, the capacitor Ct of the current generation circuit 125 is charged. With a delay of a certain period from the time when the signal CMSET becomes "H", the switch SWt is turned on. Subsequently, the switch SWtb is turned off with a delay of a certain period. The capacitor Ct is charged, and the amount of electric charge Qt is (CMVRC - CMVRI)Ct. Here, CMVRC > CMVRI is satisfied.

[0098]

(Current-voltage conversion and sampling)

In a period from tl4 to tl5, the current generation circuit 125 generates and outputs the current IRFINT. The I/V circuit 130 converts the current flowing through the terminal INM into a voltage, and the S/H circuit 132 performs a sampling operation.

[0099]

The signal CMSET becomes "L" at tl4, and thus the switch SWiv[/z] is turned off. The

I/V circuit 130[/z] starts an integrating operation using the voltage of the terminal INP[/z] as a reference voltage.

[0100]

With a delay of a certain period from the time when the signal CMSET becomes "L", the switch SWt is turned off. Subsequently, the switch SWtb is turned on with delay of a certain period. The current IRFINT is generated by electric charge accumulated in the capacitor

Ct to be output. The current IRFINT is input to the terminal INM[/z] through the wiring TM81.

The I/V circuit 130 [ ?] integrates the current IRFINT and converts the current IRFINT into a voltage. The voltage VT132 of the node N132[/z] is CMVRI-Qt/Civ.

[0101] <AD sequence>

The signal CMSH becomes "L" at tl5, the IV sequence is terminated, and the AD sequence is started. In the S/H circuit 132[/z], the switch SWsh[/z] is turned off, and thus the voltage VT132 of the output terminal OT131 [/z] is held. At tl6, the AID circuit 133 [h] converts the voltage VT132 into digital data and outputs the digital data to the buffer circuit 134[/z]. The signal TSEL[h] becomes "L" at tl7, and thus the AD sequence is terminated.

[0102]

In the IC 100, the reference current used for a test is internally generated, and thus highly reliable pre-shipment inspection can be performed on a plurality of current sensing circuits. As another method of the pre-shipment inspection, a method in which a reference current is generated by a current generation device provided outside the IC, and the reference current is sequentially input to a plurality of current sensing circuits can be given. For the following reason, it is difficult to evaluate the plurality of current sensing circuits accurately by this method.

[0103]

As the value of the reference current becomes smaller, a current-voltage conversion circuit is likely to be influenced by noise. When the reference current is lower than or equal to several tens of nanoamperes, for example, it becomes very difficult to evaluate the current-voltage conversion circuit. Although the current generation device is used as an ideal current source, it is difficult to input the reference current stably from the outside to a circuit whose input impedance is changed, such as the I/V circuit 130.

[0104]

Accordingly, in the case where the value of the reference current is small, the reference current is preferably generated in the IC for highly reliable inspection. In this case, the current generation circuit is required to have a small circuit area, generate a minute current (e.g., a current lower than or equal to several tens of nanoamperes), and perform adjustment with high accuracy (e.g., adjustment in several nanoamperes). The current generation circuit 125 in this embodiment satisfies these requirements.

[0105]

Although many resistors are used in order to generate a minute current in some cases, the current IRFINT is generated using two switches and one capacitor in the current generation circuit 125. The value of the current IRFINT can be controlled by the voltages CMVRI and CMVRC and thus can be adjusted with high accuracy.

[0106] When the current generation circuit 125 is incorporated in the IC 100, the plurality of CM circuits 140 can be tested with high accuracy. When the current generation circuit 125 has a small area, the area overhead of the IC 100 which is caused by incorporation of the test circuit can be suppressed.

[0107]

[Embodiment 2]

In this embodiment, a source driver IC using the test circuit of Embodiment 1 is described.

[0108]

FIG. 7 is a functional block diagram illustrating a structure example of the source driver

IC. A source driver IC 200 (hereinafter, referred to as an "SD-IC 200") illustrated in FIG. 7 includes a source driver portion 201 (hereinafter, referred to as an "SDR portion 201"), a current sensing portion (hereinafter, referred to as a "CSN portion 202"), and a plurality of pins PS, PM, Pl l, and P12.

[0109]

The SD-IC 200 is mounted on a display panel including a pixel array. The SDR portion 201 processes an image signal and generates a grayscale signal that is to be supplied to the pixel array. The pins PS are pins for outputting the grayscale signal. The pins Pl l and P12 are input pins for the SDR portion 201. The pins Pl l are input pins of a differential signal and the pins P12 are input pins of a single-ended signal. The input signals of the pins Pl l include an image signal, a clock signal, and the like. The input signals of the pins P12 include a command signal and the like.

[0110]

The CSN portion 202 is a circuit for sensing a current flowing through the pixel array. The number of input channels of the CSN portion 202 is 2N (N is an integer greater than or equal to 1), and 2N pins PM[1] to PM[2N] are connected. The CSN portion 202 processes currents (analog signals) flowing through the pins PM of N odd-numbered (or even-numbered) channels in parallel, generates a serial digital signal (a signal CMDO), and outputs the signal. The signal CMDO is used to correct the grayscale signal, whereby luminance unevenness of the display panel can be reduced.

[0111]

<SDR portion 201>

FIG. 8 is a functional block diagram illustrating a structure example of the SDR portion 201. The SDR portion 201 includes a receiver 210, a logic portion 211, a shift register 212, latch portions 214 and 215, a level shift portion 216, a digital-analog conversion portion (D/A portion) 217, and an amplifier portion 218. In the example in FIG. 8, the number of pins PS is

Ms (Ms is an integer greater than or equal to 1).

[0112]

To perform the parallel processing, the portions 214 to 218 are each formed of Ms unit circuits. The latch portion 214 includes M s latch circuits (LAT) 224. The latch portion 215 includes Ms latch circuits 225. The level shift portion 216 includes Ms level shift circuits (LS) 226. The D/A portion 217 includes Ms digital-analog conversion circuits (D/A circuits) 227. The amplifier portion 218 includes Ms amplifier circuits (AMP) 228.

[0113]

The receiver 210 converts the differential signal input to the pins Pl l into a single-ended signal. For example, a low voltage differential signaling (LVDS) receiver can be used as the receiver 210.

[0114]

Image signals DA and DB and clock signals CKLA and CLKB are input to the receiver 210. A signal pair formed of an TVs-bit image signal DA (TVs is an integer greater than or equal to 1) and an TVs-bit image signal DB is a differential image signal. A signal pair formed of a signal CLKA and a signal CLKB is a differential clock signal. In the receiver 210, the image signals DA and DB are converted into a single-ended TVs-bit image signal DC, and the clock signals CLKA and CLKB are converted into a single-ended signal SDCLK. The image signal DC and the signal SDCLK are each input to the logic portion 211.

[0115]

For example, a reset signal SDRST, a standby signal SDSTBY, and the like are input to the pins P12. The logic portion 211 controls an internal circuit of the SDR portion 201 in accordance with the signal SDCLK, a command signal input from the pins P12, and the like. In the case where the command signal is a differential signal, the command signal is input to the logic portion 211 through the receiver 210.

[0116]

The logic portion 211 generates control signals such as signals SRSP, SRCLK, and SLT. The signals SRSP and SRCLK are a start pulse signal and a clock signal, respectively, and input to the shift register 212. The signal SLT is a latch signal and input to the latch portion 215.

[0117]

The logic portion 211 converts the serial image signal DC into a parallel image signal DD (serial-to-parallel conversion function). Here, the logic portion 211 divides the image signal DC into X $ parts (¾ is an integer greater than or equal to 1) to generate X $ image signals DD (Ns bits). The image signals DD are output to the latch portion 214. The value of the image signals DD expresses a grayscale value.

[0118]

The shift register 212 includes registers in a plurality of stages. The signal SRSP is input to a register in a first stage. The register in each stage outputs a sampling signal in accordance with the signal SRCLK. The latch portion 214 stores the image signal DD in the latch circuit 224 in a column specified by the sampling signal. The latch portion 215 rewrites data in each latch circuit 225 to data of the corresponding latch circuit 224 in accordance with the signal SLT.

[0119]

The level shifters 226 convert the image signals output from the latch circuits 225 into differential signals and shift the level of the signals. The D/A circuits 227 convert the differential signals output from the level shifters 226 into analog signals. The amplifier circuits 228 amplify the output signals (analog signals) of the D/A circuits 227 and output the signals to the pins PS. The output signals of the pins PS are grayscale signals.

[0120]

<CSN portion 202>

FIG. 9 is a functional block diagram illustrating a structure example of the CSN portion

202.

[0121]

The pins PM[1] to PM[2N] and pins PVP, PDI, PVR1 to PVR4, PDOl, PD02, and PAIO are electrically connected to the CSN portion 202.

[0122]

The pins PVP are input pins of power supply voltages VDDD, VDDA, VSSD, and VSSA. The pins PVR1 to PVR4 are input pins of reference voltages. Voltages CMVRD1, CMVRD2, and CMVRC are input to the pins PVR1 to PVR4.

[0123]

The pins PM[1] to PM[2N] are current input pins. The pins PDI are digital input pins, and various digital signals such as signals CMSTBY and CMRST are input to the pins. The signal CMSTBY is a standby signal, by which whether the CSN portion 202 is brought into a standby mode or an active mode is controlled. The signal CMRST is a reset signal for a reset of a logic circuit of the CSN portion 202.

[0124] The pins PDOl and PD02 are digital output pins, and the pins PAIO are analog input/output pins. The functions of the pins PD02 and PAIO can be changed depending on the operation of the CSN portion 202.

[0125]

The CSN portion 202 includes an analog switch (ASW) portion 230, an I/V portion 231, a S/H portion 232, an analog-digital conversion portion (A/D portion) 233, an output driver 235, an ASW circuit 260, a level shift portion 270, a setup register (REG) 271, a decoder (DEC) 272, selectors (SEL) 274 and 275, a counter 277, and a D/A circuit 278.

[0126]

The I/V portion 231 includes N I/V circuits 241. The S/H portion 232 includes N S/H circuits 242. The A/D portion includes N A/D circuits 243. The output driver 235 includes a buffer (BUFF) portion 236 and a shift register (SR) 237. The I/V circuit 241, the S/H circuit 242, and the A/D circuit 243 form a unit circuit of the current sensing circuit. The unit circuit formed of the I/V circuit 241 [A], the S/H circuit 242[A], and the A/D circuit 243 [A] is referred to as a CM circuit 245 [A] for convenience.

[0127]

Various circuits are provided in the CSN portion 202 to verify the operation of the CM circuit 245. A switch matrix 250, ASW portions 251 and 252, a buffer portion 253, a LOG/LS portion 254, a current generation portion 258, an ASW circuit 259, and a multiplexer (MUX) 269 are provided in the CSN portion 202.

[0128]

The ASW portion 251 includes N ASW circuits 261, the buffer portion 253 includes N tri-state (TRI) buffer circuits 53, and the LOG/LS portion 254 includes a shift register 255.

[0129]

Currents flowing through the pins PM of N odd-numbered (or even-numbered) channels are input to the I/V portion 231 by the ASW portion 230. The N currents input are processed in parallel by N CM circuits 245 and converted into N digital signals. The output driver 235 converts N digital signals into a serial digital signal and generates the signal CMDO. The signal CMDO is output from the pins PDOl .

[0130]

The setup register 271 stores data for setting the operation of the CSN portion 202. A signal RGCLK is a clock signal for the setup register 271. A signal RGSRD is a serial digital signal. While the signal RGCLK is active, the setup register 271 captures the signal RGSRD and updates data. The data held in the setup register 271 determines the logic of the signals RTCM, RCON, RIRF, RCPOL, RANA[3 :0], RDIG[1 :0], and RITG[2:0]. In the case where the number of pins PDI for digital input can be increased, all or some of the signals generated by the setup register 271 may be external input signals.

[0131]

The decoder 272 decodes the signal RITG[2:0] and generates a signal DRITG[4:0].

[0132]

The level shift portion 270 converts a digital signal into a differential signal and shifts the level of the signal. The signals CMPRE, CMREV, CMSET, CMSH, DRITG[4:0], RCON, RIRF, and RANA[3 :0] are input to the level shift portion 270. Note that a level shift circuit may be provided in an analog circuit so as to perform a level shift of a digital signal inside the analog circuit.

[0133]

A signal CMCLK is a clock signal. The counter 277 counts the number of rises (or falls) of the signal CMCLK and generates a signal CNT representing a count value. The least significant bit of the signal CNT is a signal CMCLKB. The signal CNT is input to the D/A circuit 278 and the A/D portion 233, and the signal CNT is input to the A/D portion 233. The D/A circuit 278 converts the signal CNT into an analog signal and generates a signal DACO. The signal DACO is a ramp wave signal. To the ASW circuit 260, signals RCONH and RCONBH are input from the level shift portion 270, the signal DACO is input from the D/A circuit 278, and the voltage CMVRC is input from the pin PVR3. From the ASW circuit 260, the signal DACO is output to the A/D portion 233 when the signal RCON is " 1", and the voltage CMVRC is output to the A/D portion 233 when the signal RCON is "0".

[0134]

The resolution of the A/D portion 233 is 12 bits, for example. The number of bits of the output signal CNT of the counter 277 is 12, and the D/A circuit 278 is a 12-bit D/A circuit.

[0135]

The signals TDSP and TDCLK are input to the CSN portion 202 through the pins PDI. The signals TDSP and TDCLK are a start pulse signal and a clock signal, respectively. By the selector 274, the signals TDSP and TDCLK are output to the shift register 237 when the signal RTCM is "0", and the output of the signals TDSP and TDCLK to the shift register 237 is stopped when the signal RTCM is "1". By the selector 275, the signals TDSP and TDCLK are output to the shift register 255 when the signal RTCM is "1", and the output of the signals TDSP and TDCLK to the shift register 255 is stopped when the signal RTCM is "0".

[0136]

The level shift portion 270 outputs differential signals generated from the signals RIRF, CMSET, and RCON to the current generation portion 258. The current generation portion 258 outputs a current TIREE The current TIREF is input to the I/V portion 231 through the switch matrix 250 and the ASW portions 251 and 230. The current TIREF is a reference current for a test of the I/V portion 231.

[0137]

The ASW portion 252 has functions of an output circuit that reads a signal TAMPO from the I/V portion 231 and an input circuit that transmits a signal TCMPIN for testing the AID portion 233. The buffer portion 253 holds an internal signal of the AID portion 233, and the signal held is output as a signal TCMPO to the MUX 269. The LOG/LS portion 254 controls the A/D portion 233, the ASW portions 251 and 252, and the buffer portion 253. A signal RANA[2:0] is a signal for setting the function of the pin PAIO. The level shift portion 270 outputs a differential signal generated from the signal RANA[2:0] to the ASW portion 252. A signal RDIG[1 :0] is a signal for setting the function of the pin PD02, and input to the MUX 269. The ASW circuit 259 sets the function of the pin PAIO, and the MUX 269 sets the function of the pin PD02.

[0138]

«Current generation portion 258»

FIG. 10 illustrates a circuit structure example of the current generation portion 258. The current generation portion 258 includes terminals B20 and B21, a current generation circuit 258G, and ASW circuits 258A and 258B. The terminal B20 is an output terminal of the current TIREF. The terminal B21 is an input terminal of a current IRFEXT. The current IRFEXT is an external reference current, and input to the terminal B21 through the pin AOI and the ASW circuit 259.

[0139]

The current generation circuit 258G has a circuit structure similar to that of the current generation circuit 125 in FIG. 3 and includes a delay circuit 258a, the switches SWt and SWtb, the capacitor Ct, the node Nt, and nodes Nta and Ntb. The current generation circuit 258G generates the current IRFINT corresponding to the amount of electric charge Qt in the capacitor Ct. The function of the delay circuit 258a is similar to that of the delay circuit 125a in FIG. 3; the delay circuit 258a delays the signals CMSETH and CMSETBH to generate the signals CMSETH Dl and CMSETBH Dl, respectively, and delays the signals CMSETH Dl and CMSETBH to generate the signals CMSETH D2 and CMSETBH D2, respectively. The signals CMSETH Dl and CMSETBH Dl are input to the switch SWt, and the signals CMSETH D2 and CMSETBH D2 are input to the switch SWtb. The voltage CMVRC or CMVRD2 is input to the node Nta through the ASW circuit 258A. The node Ntb is an output node of the current IRFINT. [0140]

The ASW circuit 258A has a function of a selection circuit. The signals RCO H and RCO BH are input to the ASW circuit 258 A. When the signal RCON is "0", electrical continuity between the node Nta and the pin PVR2 is established by the ASW circuit 258A and the voltage CMVRC is input to the node Nta. When the signal RCON is "1", electrical continuity between the node Nta and the pin PVR3 is established by the ASW circuit 258A and the voltage CMVRC is input to the node Nta. Thus, a voltage Vt of the capacitor Ct is set to |CMVRD2-CMVRI| or |CMVRDC-CMVRI| depending on the signal RCON.

[0141]

The ASW circuit 258B has a function of a selection circuit. Signals RIRFBH and

RIRFH are input to the ASW circuit 258B from the level shift portion 270. When the signal RIRF is "0", electrical continuity between the terminal B20 and the terminal B21 is established by the ASW circuit 258B and the current IRFEXT flows through the terminal B20. When the signal RIRF is "1", electrical continuity between the terminal B20 and the node Ntb is established by the ASW circuit 258B and the current IRFINT flows through the terminal B20. Thus, the test reference current TIREF is set to the external reference current (IRFEXT) or the internal reference current (IRFINT) by the signal RIRF.

[0142]

«ASW portions 230, 251, and 252, I/V portion 231, and S/H portion 232»

A circuit structure example of the ASW portion 230, the I/V portion 231, the S/H portion 232, and the like is described with reference to FIG. 11. FIG. 11 illustrates a unit circuit of the portions corresponding to the CM circuit 245 [/z].

[0143]

The level shift portion 270 outputs differential signals generated from the signals CMPRE, CMREV, and DRITG[4:0] to the ASW portion 230 and the switch matrix 250, outputs a differential signal generated from the signal CMSET to the I/V portion 231, and outputs a differential signal generated from the signal CMSH to the S/H portion 232.

[0144]

The I/V circuit 241 [h] senses currents flowing through the pins PM[2/z-l] and PM[2/z]. The I/V circuit 241 [h] is formed of a current input integrating circuit and includes an amplifier circuit 41, a capacitor C41, and a switch S41. The on/off of the switch S41 is controlled by the signals CMSETH and CMSETBH.

[0145]

The amplifier circuit 41 includes one inverting input terminal (-), two inverting input terminals (+), and an output terminal. Here, the inverting input terminal (-) is referred to as a terminal INM, the two inverting input terminals (+) are referred to as terminals INP1 and INP2, and the output terminal is referred to as a terminal OTA.

[0146]

The S/H circuit 242 includes a node Nsh, a capacitor C42, and a switch S42. The on/off of the switch S42 is controlled by the signals CMSHH and CMSHBH.

[0147]

The ASW portion 252 includes N switches S34 and N switches S35. The on/off of the switches S34 and S35 is controlled by an output signal of the LOG/LS portion 254. The switch S34[/z] controls electrical continuity between the I/V circuit 241 [ ?] and the S/H circuit 242[h]. The switch S35[/z] controls electrical continuity between the S/H circuit 242[h] and the ASW circuit 259.

[0148]

A TRI buffer circuit 53 [h] of the buffer portion 253 holds an internal signal of the AID circuit 243 [/z]. Electrical continuity between the pin PAIO and an output terminal of the TRI buffer circuit 53 [h] is controlled by the ASW circuit 259.

[0149]

The ASW portion 251 includes wirings TMO to TM3. The ASW portion 251 functions as a DeMUX, and four pins of 2N pins PM have electrical continuity with the wirings TMO to TM3.

[0150]

The ASW circuit 26\ [h\ includes switches S30[/z] to S33[/z]. The on/off of the switches S30[/z] to S33[/z] is controlled by an output signal of the LOG/LS portion 254. The switch S30[/z] controls electrical continuity between the wiring TMO and the pin PM[2/z+l]. The switch S31 [ ?] controls electrical continuity between the wiring TM1 and the pin PM[2/z]. The switch S32[/z] controls electrical continuity between the wiring TM2 and pin PM[2/z-l]. The switch S33[/zl] controls electrical continuity between the wiring TM3 and pin PM[2/z-2].

[0151]

The ASW portion 230 includes (2N+2) switches Sl l, (2N+2) switches SI 2, (2N+2) switches S13, N switches S14, N switches S15, N switches S16, N switches S18, and 2N switches S17. The switches Sl l [2/z-2] to Sl l [2/z+l], S12[2/z-2] to S12[2/z+l], S13[2/z-2] to S13[2/z+l], S14[/z], S15[/z], S16[/z], S17[2/2-l], S17[2/z], and S18[/z] form a switch matrix 240[/z]. The switch matrix 240[/z] selects a pin to have electrical continuity with the I/V circuit 241 [ ?] from the pins PM[2/z-l] to PM[2/z+l] and PVR4.

[0152] Note that although the pin PM[0] (h = 1) and the pin PM[2N+1] (h = N) are not provided in the SD-IC 200, the switches S11[0], S11 [2N+1], S12[0], S12[2N+1], and the like are provided in the ASW portion 230.

[0153]

The switch matrix 250 has a circuit structure similar to that of the switch matrix 240.

The switch matrix 250 includes terminals B0 to B3 and B10 to B 12 and switches S21 [0] to S21 [3], S22[0] to S22[3], S23[0] to S23[3], S24, S25, S26, S27[l], S27[2], and S28. The ASW circuit 259 makes the terminal Bl have electrical continuity with the pin PAIO.

[0154]

The ASW portion 230 and the switch matrix 250 are controlled by a common signal.

The on/off of the switches Sl l and S21 is controlled by the signal CMPREH and a signal CMPREBH. The signal CMPRE is a precharge signal that controls precharge of the pins PM and the wirings TM0 to TM3. The on/off of the switches S12, S13, S21, and S23 is controlled by the signal CMREVH and a signal CMREVBH. The signal CMREV is a signal for setting a channel that is targeted to be monitored.

[0155]

The on/off of the switches S14 and S24 is controlled by signals DRITGH[0] and DRITGBH[0]. The on/off of the switches S15 and S25 is controlled by signals DRITGH[1] and DRITGBH[1]. The on/off of the switches S16 and S26 is controlled by signals DRITGH[2] and DRIGBH[2]. The on/off of the switches S 17 and S27 is controlled by signals DRITGH[3] and DRITGBH[3]. The on/off of the switches S18 and S28 is controlled by signals DRITGH[4] and DRITGBH[4].

[0156]

The terminals B0 to B3 are electrically connected to the wirings TM3 to TM0, respectively. The terminal B 10 is electrically connected to the terminal B20 of the current generation portion 258. To take measures against noise, capacitors CnlO to Cnl2 are electrically connected to the terminals B10 to B 12, respectively.

[0157]

«S witch matrix 240 and I/V circuit 241»

The amplifier circuit 41 of the I/V circuit 241 has a function of amplifying a difference between an average voltage of voltages of the terminals INPl and INP2 and a voltage of the terminal INM. For example, the amplifier circuit 41 has a function of amplifying a difference voltage when voltages of the terminals INPl, INP2, and INM are inpi, J 7 ^, and Vmm. For example, given that the amplification factor (differential gain) of the amplifier circuit 41 is Α Ό and the common mode gain thereof is 0 dB, the relationship between a voltage ampo of the terminal OTA of the amplifier circuit 41 and the input voltages Vi np2 , and Viraa is represented by the following formula: V ampo = + V j)l2 - (al).

[0158]

Electrical continuity between the I/V circuit 241 [/z] and the pins PVR4 and PM[2/z-l] to PM[2/z+l] is set by the circuit structure of the switch matrix 240 [/z]. Since the switch matrix 240[/z] is a programmable switch circuit, the I/V circuit 241 [/z] can have a plurality of current sensing modes. The current sensing modes include a 3-input differential sensing mode, a differential sensing mode, a single-ended sensing mode, and a high impedance mode. With reference to FIG. 12 and FIGS. 13 A to 13C, the current sensing modes and their corresponding circuit structures of the switch matrix 240[/z] are described.

[0159]

FIG. 12 shows control signals of the switch matrix 240[/z], their corresponding functions of the I/V circuit 241 [h], and a truth table of the decoder 272. The column "INM" represents the pin PM connected to the terminal INM[/z]. For example, "2h" shows that the electrical continuity between the terminal INM[/z] and the pin PM[2/z] is established. The same applies to the columns "INP1 " and "INP2". FIGS. 13 A to 13C illustrate the current sensing modes and their corresponding circuit structures of the switch matrix 240 [/z].

[0160]

The channel that is targeted to be monitored is set by the signal CMREV. An odd-numbered channel is targeted to be monitored when the signal CMREV is "H", and an even-numbered channel is targeted to be monitored when the signal CMREV is "L". The signal input mode of the I/V circuit 241 is set by signals RITG[0] to RITG[2]. In other words, the current sensing mode of the I/V circuit 241 is determined by the signal RITG[2:0].

[0161]

(High impedance (HIz) mode)

When the signal RITG[2:0] is 3 'bi l l, the terminal INM[/z] is brought into a high impedance state by the switch matrix 240 [/z].

[0162]

(Single-ended sensing (SE) mode)

FIG. 13 A illustrates a circuit structure of the switch matrix 240 [h] in the case where the signal CMREV is l 'bO and the signal RITG[2:0] is 3'bl00. The terminal JNM[h] has electrical continuity with the pin PM[2/z-l], and the terminals INPl [/z] and INP2[/z] have electrical continuity with the pin PVR4. Thus, the circuit structure of the I/V circuit 241 [/z] in FIG. 13 A is equivalent to that of an integrating circuit 241 SE. The integrating circuit 241 SE is a single-ended input integrating circuit and integrates a current flowing through the pin PM[2/z-l] with the use of the constant voltage (CMVRI) as a reference voltage.

[0163]

(Differential sensing (DEFF) mode)

FIG. 13B illustrates a circuit structure of the switch matrix 240[/z] in the case where the signal CMREV is l 'bO and the signal RITG[2:0] is 3'b010. The terminal INM[A] has electrical continuity with the pin PM[2/z-l], and the terminals INPl [/z] and INP2[/z] have electrical continuity with the pin PM[2/z]. Thus, the circuit structure of the I/V circuit 241 [ ?] in FIG. 13B is equivalent to that of a differential integrating circuit 24 ID. The differential integrating circuit 241D integrates a current flowing through the pin PM[2/z-l] with the use of a voltage of the pin PM[2/z] as a reference voltage.

[0164]

(3 -Input differential sensing (3 -DEFF) mode)

The current sensing mode for the I/V circuit 241 having the circuit structure where different signals can be input to the three pins INM, INP1, and INP2 is the "3-input differential sensing mode".

[0165]

FIG. 13C illustrates a circuit structure of the switch matrix 240 [h] in the case where the signal CMREV is l 'bO and the signal RITG[2:0] is 3'b000. The terminal INM[A] has electrical continuity with the pin PM[2A-1]. The terminals INPl [/z] and INP2[/z] have electrical continuity with the pins PM[2/z-2] and PM[2/z+l], respectively. The I/V circuit 241 integrates a current flowing through the pin PM[2/z-l] with the use of an average voltage of voltages of the pins PM[2/z-l] and PM[2/z] as a reference voltage.

[0166]

In the 3-input differential sensing mode, since the voltages of the two pins PM are used as the reference voltage of the I/V circuit 241, a noise component of the reference voltage can be leveled off. Accordingly, in the 3-input differential sensing mode, common mode noise can be removed from the output of the amplifier circuit 41 more effectively than in the differential sensing mode.

[0167]

The switch matrix 250 is set to have the same circuit structure as the switch matrix 240 [h] by the signals CMREV and RITG[2:0]. Depending on the circuit structure of the switch matrix 250, electrical continuity between the terminals B 10, Bl l, and B12 and the wirings TM0 to TM3 is set.

[0168] For example, when the signal CMREV is l 'bO and the signal RITG[2:0] is 3'b000 (see FIG. 13C), the switch matrix 250 makes the terminals BIO, Bl l, and B12 have electrical continuity with the wirings TM1, TMO, and TM2, respectively.

[0169]

With reference to FIG. 14, a structure example of the AID portion 233, the output driver

235, the buffer portion 253, and the LOG/LS portion 254 is described. FIG. 14 illustrates a unit circuit of the portions.

[0170]

«A/D portion 233»

The A/D circuit 243 [h] includes the comparator 43 [h], the flip-flops (FF) 44[h] and

45[/z], the inverter circuit 46[h], and the selector 47[h].

[0171]

A non-inverting input terminal (hereinafter, referred to as a terminal (+)) of the comparator 43 [h] is electrically connected to the node Nsh[/z] of the S/H circuit 242[h]. The signal DACO or the voltage CMVRC is input to an inverting input terminal (hereinafter, referred to as a terminal (-)) through the ASW circuit 260. When the signal RCON is "0", the voltage CMVRC is input to the terminal (-). When the signal RCON is "1", the signal DACO is input to the terminal (-). Depending on the circuit structure of the comparator 43 [h] or the like, the node Nsh[/z] may be electrically connected to the terminal (-) while the output of the ASW circuit 260 may be electrically connected to the terminal (+).

[0172]

The signal RCPOL is input to the selector 47[h]. The signal PCPOL sets the polarity of a signal CMPO /z to be input to the flip-flop 44[h]. When the signal PCPOL is "0", the selector 47[h] outputs an output signal of the comparator 43 [h] to the flip-flop 44[h]. When the signal PCPOL is " 1", the selector 47[h] outputs an output signal of the inverter circuit 46[h] to the flip-flop 44[h]. The signal CMPO z at this time is an inverted signal of the output signal of the comparator 43[h].

[0173]

The flip-flop 44[h] is formed of, for example, a delay (D) flip-flop. A signal EN_/z and the signal CMCLKB are input to the flip-flop 44[h]. The signal EN_/z is an enable signal of the flip-flop 44[h] and generated in the LOG/LS portion 254. The signal CMCLKB is a clock signal of the flip-flop 44[h]. Data in the flip-flop 44[h] is updated at the timing of a rise of the signal CMCLKB. The data in the flip-flop 44[h] is output as a signal LATO z to a flip-flop 45[h]. [0174]

The flip-flop 45[h] functions as a register that temporarily stores a signal CNT[11 :0]. The flip-flop 45[h] is formed of, for example, a 12-bit D flip-flop. The signal LATO /z, the signal CNT[11 :0], and a signal CMSRT are input to the flip-flop 45[h]. The signal LATO /z is used as a clock signal, and the signal CMSRT is used as a reset signal. When an output signal of the flip-flop 44[h] undergoes a low-to-high level transition, the flip-flop 45 [h] stores the signal CNT[11 :0]. A signal ADO[l 1 :0]_/z output by the flip-flop 45[h] represents a count value of the counter 277.

[0175]

«Output driver 235»

The buffer portion 236 includes 3N TRI buffer circuits 48. Each TRI buffer circuit 48 holds 4-bit data, for example. To hold the signal ADO[l l :0]_/z, three TRI buffer circuits 48[3/z-2], 48[3/z-l], and 48[3/z] are provided. The TRI buffer circuits 48[3/z-2], 48[3/z-l], and 48[3/z] hold the signals ADO[l l :8]_/z, ADOUT[7:4]_/z, and ADO [3 :0]_/z, respectively.

[0176]

The shift register 237 is formed of 3N stages of flip-flops 49. The signal TDCLK is input to the flip-flop 49 in each stage, and the signal TDSP is input to a flip-flop 49[1] in a first stage. An output signal of the flip-flop 49 is used as an enable signal of the TRI buffer circuit 48.

[0177]

Any one of the 3N TRI buffer circuits 48 is selected by an output signal of the shift register 237. Output terminals of the non-selected TRI buffer circuits 48 are brought into a high impedance state. An output terminal of the selected TRI buffer circuit 48 is electrically connected to the pin PDOl . The output signal of the selected TRI buffer circuit 48 is output as a signal CMDO[3 :0] from the pin PDOl .

[0178]

«Buffer portion 253»

The signal CMPO z is output to the TRI buffer circuit 53 [h] and held. A signal TSEL /z is input from the shift register 255 to the TRI buffer circuit 53[h]. When the signal TSEL /z is "H", the TRI buffer circuit 53 [h] outputs a signal. In other words, an output signal of the TRI buffer circuit 53 selected by the shift register 255 is output as the signal TCMPO to the MUX 269.

[0179]

«LOG/LS portion 254» The LOG/LS portion 254 includes N OR circuits 62, N inverter circuits 63, N AND circuits 64, N level shift circuits 67, N level shift circuits 68, and N level shift circuits 69. The signal RTCM is input to the OR circuit 62, the signal RANA[1] is input to the AND circuit 64, and the signal RANA[3] is input to the inverter circuit 63.

[0180]

The shift register 255 is formed of N stages of flip-flops 60. The signal TDCLK is input to the flip-flop 60 in each stage, and the signal TDSP is input to a flip-flop 60[1] in a first stage. The signal TSEL /z is an output signal of the flip-flop 60[h]. The signal TSEL /z is input to the TRI buffer circuit 53 [h], the OR circuit 62 [h], the inverter circuits 63 [h] and 64 [h], and the level shift circuit 67[h].

[0181]

The OR circuit 62[h] obtains a logical sum of the signal TSEL /z and the inversion signal of the signal RTCM and generates the signal EN_/z. The signal EN_/z is output to the flip-flop 44[h].

[0182]

The level shift circuit 67[h] converts the signal TSEL /z into a differential signal and shifts the level of the signal, thereby generating signals TSELH /z and TSELBH_/z. The signals TSELH /z and TSELBH /z control the on/off of the switches S30[/z] to S33[/z].

[0183]

The inverter circuit 63 [h] obtains a negation of the signal RANA[3] and generates a signal TSEL3. The level shift circuit 68[ z] converts the signal TSEL3 into a differential signal and shifts the level of the signal, thereby generating signals TSEL3H_/z and TSEL3BH_/z. The signals TSEL3H_/z and TSEL3BH_/z control the on/off of the switch S34[/z].

[0184]

The AND circuit 64[ z] obtains a logical product of the signal TSEL z and the signal

RANA[1] and generates a signal TSEL1. The level shift circuit 69[h] converts the signal TSELl /z into a differential signal and shifts the level of the signal, thereby generating signals TSELlH /z and TSELlBH /z. The signals TSELlH /z and TSELlBH /z control the on/off of the switch S35 [A].

[0185]

«ASW portion 252»

As described above, the ASW portion 252 has functions of an output circuit that reads the signal TAMPO in the test mode and an input circuit that transmits the signal TCMPIN to the AID portion 233. For example, when the switches S34[ z] and S35[ z] are in an on state, the output of the amplifier circuit 4l [h] is transmitted as the signal TAMPO to the ASW circuit 259. When the switch S34[/z] is in an off state and the switch S35[/z] is in an on state, the signal TCMPIN is input from the ASW circuit 259 to the S/H circuit 242[A].

[0186]

«Pin ΡΑΙΟ»

Table 1 is a truth table of the pin PAIO. The function of the pin PAIO is set by the signal RANA[3 :0]. Specifically, the circuit structure of the ASW circuit 259 is set by the signal RANA[2:0] and that of the ASW portion 252 is set by the signals RANA[1] and RANA[3].

[0187]

[Table 1]

[0188]

Although currents flowing through the pins PM[1] to PM[2N] are monitored using the output of the pin PAIO, there is no limitation on the number of pins PM that are targeted to be monitored and the pin number.

[0189]

«Pin PD02»

Table 2 is a truth table of the pin PD02. An output signal of the pin PD02 is set by the signal RDIG[1 :0]. Specifically, the MUX 269 decodes the signal RDIG[1 :0] and selects a signal output from the pin PD02.

[0190]

[Table 2]

TCMPO L H

[0191]

A signal CSRO is an output signal of the flip-flop 49[3N] in a last stage of the shift register 237. A signal TSRO is an output signal of the flip-flop 60[N] in a last stage of the shift register 255. The signal CSRO is monitored to indicate the termination timing of the RD sequence. The signal TSRO is monitored to indicate the termination timing of the SN sequence of the N CM circuits 245 in the test mode.

[0192]

An operation mode of the CSN portion 202 can be set independently of an operation mode of the SDR portion 201. The operation mode of the CSN portion 202 is roughly classified into a current sensing mode and a test mode.

[0193]

«Current sensing mode»

FIG. 15A shows an example of an operation sequence of the CSN portion 202 in the current sensing mode. The operation sequence is roughly classified into an register setting (RS) sequence, a sensing (SN) sequence, and a reading (RD) sequence. The SN sequence includes the current-voltage conversion (IV) sequence and the digital-analog conversion (AD) sequence.

[0194]

(RS sequence)

In the RS sequence, configuration data in the setup register 271 is updated. When the signal CMRST becomes "H", logic circuits (the setup register 271, the flip-flop 45 of the A/D portion 233, and the like) of the CSN portion 202 are reset. Next, the signals RGCLK and RGSRD are input to the setup register 271. At the timing of a rise (or a fall) of the signal RGCLK, the setup register 271 captures the signal RGSRD and stores data. Here, the configuration data is written to the setup register 271 as follows.

[0195]

To set the CSN portion 202 to the current sensing mode, the signal RTCM is "0". To set the I/V portion 231 to a 2-input differential sensing mode, the signal RITG[2:0] is 3'b000. To input the signal DACO to the A/D portion 233, the signal RCON is "1". To set the signal CMPO to an output signal of the comparator 43, a signal RPOL is "0". In the current sensing mode, a signal RIRF is "0". To bring the pin PAIO into a high impedance state, the signal RANA[3 :0] is 4'b0111. To output the signal CSRO from the pin PD02, the signal RDIG[1 :0] is 2'b00.

[0196] After the RS sequence is executed, an SN sequence is executed alternately for N odd-numbered channels and N even-numbered channels. In the SN sequence, currents flowing through odd-numbered (or even-numbered) pins PM are processed in parallel by N CM circuits 245 and converted into digital signals. Every time the SN sequence is executed, the output driver 235 performs a reading operation. The CSN portion 202 executes a predetermined number of cycles of the SN sequence and the RD sequence, and the current sensing mode is terminated.

[0197]

With reference to FIG. 16, operation examples of the IV sequence and the AD sequence are described. FIG. 16 is a timing chart of the CM circuit 245. Here, the magnitude relation between the reference voltages is CMVRI>CMVRD2>CMVRD1. The current that is to be sensed is the source current flowing from the pin PM out of the SD-IC 200.

[0198]

<IV sequence>

In a period from tl to t5, the IV sequence is performed. Note that prior to tl, the circuit structures of the ASW portion 230 and the CM circuit 245 [h] are set by the configuration data in the setup register 271. The AID circuit 243 is in an active state. Electrical continuity between the terminal OTA of the I/V circuit 241 and an input terminal of the S/H circuit 242 is established. Specifically, the terminals INM[/z], INPl [A], and INP2[A] of the I/V circuit 241 [A] are electrically connected to the pins PM[2A-1], PM[2A-2], and PM[2A], respectively.

[0199]

(Precharge)

In a period from tl to t2, a precharge operation is performed. The signal CMPRE at "H" is input, turning on the switches Sl l of the ASW portion 230. Consequently, N pins PM and the terminals INM, INPl, and INP2 of the N I/V circuits 241 are each electrically connected to the pin PVR4 and precharged to the voltage CMVRI.

[0200]

At tl, the signal CMSH becomes "H", turning on the switch S42. The node Nsh of the S/H circuit 242 has electrical continuity with the terminal OTA of the I/V circuit 241.

[0201]

(Offset cancellation)

In a period from t3 to t4, offset cancellation in which the offset voltage of the amplifier circuit 41 is corrected is performed. The signal CMSET at "H" is input, turning on the switch S41. The terminal OTA has electrical continuity with the terminal INM, and the capacitor C41 is discharged. [0202]

(I/V conversion)

In a period from t4 to t5, the I/V circuit 241 converts a current flowing through the terminal INM into a voltage, and the S/H circuit 242 samples the voltage of the terminal OTA.

[0203]

At t4, the signal CMSET becomes "L", so that the I/V circuit 241 starts an integrating operation using an average voltage of the voltage of the terminal INP1 and the voltage of the terminal INP2 as a reference voltage. The voltage of the terminal INM[/z] decreases due to the current flowing through the pin PM[2/z-l], and accordingly the voltage of the terminal OTA[/z] decreases.

[0204]

The signal CMSH becomes "L" at t5, and the I/V sequence is terminated. A voltage CMVSMP of the terminal OTA at t5 is held by the S/H circuit 242. The voltage CMVSMP corresponds to the amount of electric charge flowing through the terminal INM in the period from t4 to t5.

[0205]

<A/D sequence>

In a period from t5 to tl 1, the AD sequence is executed. In a period from t6 to tl 1, the signal CMCLK is input to the counter 277, and the counter 277 generates the signals CNT[11 :0] and CMCLKB. The signal CMCLKB is an inverted signal of the signal CMCLK. The D/A circuit 278 converts the signal CNT[11 :0] into an analog signal and generates the signal DACO. The signal DACO is input to a terminal (+) of the comparator 43.

[0206]

The comparator 43 compares the voltage CMVSMP of the node Nsh and the voltage of the signal DACO. At t7 when the voltage of the signal DACO exceeds the voltage CMVSMP, the output signal of the comparator 43 undergoes an "H"-to-"L" transition. Here, since the output signal of the inverter circuit 46 is the signal CMPO, the signal CMPO undergoes a "L"-to-"H" transition at t7.

[0207]

With a rise of the signal CMCLKB (a fall of the signal CMCLK), data in the flip-flop 44 is updated by the signal CMPO. At t8 when the signal CMCLKB rises, the signal LATO becomes "1" ("H"). With a rise of the signal LATO (clock signal), the flip-flop 45 stores the signal CNT[11 :0], that is, a count value Xsmp. The count value Xsmp represents the amount of current flowing through the terminal INM in the period from t4 to t5.

[0208] At t9, the count value of the counter 277 becomes 0, so that the signal CMPO undergoes an "H"-to-"L" transition. With a rise of the signal CMCLKB at tlO, data in the flip-flop 44 is updated by the signal CMPO, so that the signal LATO becomes "L". The data ADO[11 :0] in the flip-flop 45 is not updated until the signal LATO undergoes an "L"-to-"H" transition.

[0209]

<RD sequence>

FIG. 15B is a timing chart showing an example of the RD sequence. When the signal TDSP is input to the output driver 235, the RD sequence is started. In the shift register 237 of the output driver 235, a shift operation of the signal TDSP is performed in response to a rise of the signal TDCLK, and the flip-flops 49[1] to 49[3N] output enable signals to the TRI buffer circuits 48[1] to 48[3N], respectively. The enable signals at "H" are successively input to the TRI buffer circuits 48[1] to 48[3N], and 4-bit data held is output as the signal CMDO[3 :0] to the pin PDOl . As the output of the shift register 237 in the last stage, the signal CSRO is output from the pin PD02.

[0210]

While the RD sequence is executed, the signal CMREV is set to "L" from "H" (or "H" from "L") and the channel that is targeted to be monitored is changed.

[0211]

«Test mode»

In the test mode, the current TIREF is successively input to the CM circuits 245 [1] to

245 [N], whereby one unit of the CM circuits 245 is tested at a time. FIG. 18 shows an example of an operation sequence of the CSN portion 202 in the test mode. The operation sequence is roughly classified into an RS sequence (1), N cycles of the SN sequence, an RS sequence (2), and the RD sequence.

[0212]

<RS sequence (1)>

In the RS sequence (1), the configuration data in the setup register 271 is updated. When the signal CMRST becomes "FT, the setup register 271, the flip-flop 45 of the A/D portion 233, and the like of the CSN portion 202 are reset. Next, the signals RGCLK and RGSRD are input to the setup register 271, and the configuration data is written to the setup register 271. In the RS sequence (1), the signal RTCM is set to "1" to bring the CSN portion 202 into the test mode.

[0213]

<SN sequence> By the selector 275, the signals TDCLK and TDSP are input to the shift register 255.

The shift register 255 performs a shift operation of the signal TDSP to generate the signals TSEL[1] to TSEL[NJ. The CM circuits 245[1] to 245 [N] are successively selected by the signals TSEL[1] to TSEL[NJ. The selected CM circuit 245 executes the SN sequence.

[0214]

The SN sequence of the CM circuit 245 in the test mode is similar to that in the current sensing mode. A major difference is that the current TIREF is input from the current generation portion 258 to the terminal INM. In order that the current TIREF be input to the I/V portion 231, the signal CMREV is fixed at "L".

[0215]

For example, in the RS sequence (1), configuration data for outputting the signal TSRO from the pin PD02 is written to the setup register 271. Thus, the output of the pin PD02 is monitored to indicate the termination of the SN sequence of the CM circuit 245 [N].

[0216]

<RS sequence (2)>

In the RS sequence (2), configuration data for executing the RD sequence is written to the setup register 271. In the RS sequence (2), the signal RTCM is set to "0". For example, to output the signal CSRO from the pin PD02, the signal RDIG[1 :0] is set to 2'b00. As the other configuration data, the same data as that in the RS sequence (1) can be used.

[0217]

<RD sequence>

In accordance with the timing chart in FIG. 15B, the output driver 235 is operated. The N 12-bit digital signals (ADO[11 :0]) generated by the CM circuits 245[1] to 245[N] are converted into serial 4-bit digital signals (CMDO[3 :0]) and output from the pin PDOl . By analysis of the signals CMDO[3 :0], quality determination of the CM circuit 245, for example, is performed.

[0218]

In an example in FIG. 17, the frequencies of the signals TDSP and TDCLK are set in accordance with data of the signal RTCM. The frequencies of the signals TDSP and TDCLK are higher when the signal RTCM is "0" than when the signal RTCM is "1".

[0219]

«IV and AD sequences»

FIG. 18 shows an operation example of the IV and AD sequences of the CM circuit 245 [h] in the current sensing mode.

[0220] In the RS sequence (1), data in the setup register 271 is set as follows. To set the CSN portion 202 to the test mode, the signal RTCM is "1". To set the current TIREF to the current IRFINT, the signal RIRF is "1". To set the I/V portion 231 to the 2-input differential sensing mode, the signal RITG[2:0] is 3'b000. To input the signal DACO to the A/D portion 233, the signal RCON is "1". When the signal RCON is set to "1", the voltage CMVRC is input to the current generation portion 258. To set the signal CMPO to the output signal of the comparator 43, the signal RPOL is "0". To bring the pin PAIO into a high impedance state, the signal RANA[3 :0] is 4'b0111. To output the signal TSRO from the pin PD02, the signal RDIG[1 :0] is 2'b01.

[0221]

<IV sequence>

Prior to t21, the circuit structures of the ASW portion 230 and the switch matrixes 240[/z] and 250 are set by the configuration data in the setup register 271. The switch matrix 240[A] makes the terminals INM[/z], INPl [/z], and INP2[/z] have electrical continuity with the pins PM[2A-1], PM[2A-2], and PM[2A], respectively. The terminals B0 to B3 of the switch matrix 250 have electrical continuity with the wirings TM3 to TMO, respectively. The current TIREF is input to the terminal INM[/z] through the TM3.

[0222]

At 120, the flip-flop 60[h] generates the signal TSEL /z at "FT. The switches S30 to S33 of the ASW circuit 261 [h] are turned on, and electrical continuity between the pins PM[2A-1] to PM[2A+1] and the wirings TM3 to TMO is established. The enable signal (TSEL A) at "H" is input to the TRI buffer circuit 53 [A], and the enable signal (EN_A) at "H" is input to the flip-flop 44[h].

[0223]

Since the signal RANA[3] is "0" and the signal RANA[1] is "1", the switches S34[A] and S35 [A] are in an on state.

[0224]

(Precharge)

In a period from t21 to t22, a precharge operation is performed. The signal CMPRE at Ή" is input, turning on the switches Sl l of the ASW portion 230 and the switches S21 of the switch matrix 250. The pins PM[2A-1] to PM[2A+1], the terminals ΓΝΜ[Α], INP1 [A], and ΓΝΡ2[Α], and the wirings TMO to TM3 are each electrically connected to the pin PVR4 and precharged to the voltage CMVRI.

[0225] The signal CMSH becomes "H" at t21, and thus the switch S42[/z] is turned on. The node Nsh[/z] has electrical continuity with the terminal OTA[/z].

[0226]

(Offset cancellation)

In a period from t23 to t24, offset cancellation in which the offset voltage of the amplifier circuit 41 [h] is corrected is performed. The switch S41 [ ?] is in an on state. The capacitor C41 [/z] is discharged, and the amount of electric charge is 0 coulombs.

[0227]

(Generation of current IRFINT)

In the period from t23 to t24, the switch SWt of the current generation portion 258 is in an on state, and the switch SWtb is in an off state. The voltage CMVRC is input to the node Nt, and the capacitor Ct is charged. The amount of electric charge Qt of the capacitor Ct is (CMVRC-CMVRI)xCt. At t24 when the signal CMSET becomes "L", the switch SWt is turned off with a delay of a certain period. Next, the switch SWtb is turned on, and the current IRFINT flows to the node Ntb. The current IRFINT is output as the current TIREF from the terminal B20 to the switch matrix 250. The current TIREF is input to the terminal INM[/z] through the wiring TM2.

[0228]

(I/V conversion)

In a period from t24 to t25, the I/V circuit 24\ [h] converts the current TIREF flowing through the terminal INM[/z] into a voltage, and the S/H circuit 242[/z] samples the voltage of the terminal OTA[/z].

[0229]

At t24, the signal CMSET becomes "L", so that the I/V circuit 241 starts an integrating operation using an average voltage of the voltage of the terminal INP1 and the voltage of the terminal INP2 as a reference voltage. The voltage of the node Nsh[/z] decreases to the voltage

TVSMP. The difference between the voltage TVSMP and the voltage CMVRI is Qt/Civh; Civh is the capacitance of C41 [/z] of the I/V circuit 241 [/z].

[0230]

<A/D sequence>

In a period from t25 to t31, the AD sequence is executed. The AID circuit 243 [h] converts the voltage TVSMP into a 12-bit digital signal (ADO[11 :0]_/?). A count value Xirf corresponds to the amount of electric charge Qt.

[0231] The test method of the CSN portion 202 is not limited to the above. Depending on the configuration data in the setup register 271, modification of the data to be obtained, the signal to be used in the test, the operation sequence, or the like is possible.

[0232]

For example, with the signal RANA[3 :0] set to 4Ό0Π and the signal RCON set to "1", the signal DACO is output from the pin PAIO. A DC offset voltage of the D/A circuit 278 can be obtained from the voltage of the pin PAIO.

[0233]

For example, with the signal RANA[3 :0] set to 4Ό010, the signal TAMPO is output from the pin PAIO. An offset voltage of the I/V circuit 241 can be obtained from the voltage of the pin PAIO. In this case, in order that the I/V circuit 241 be operated as a voltage follower, the signal RIRF is "0" and the signal RITG[2:0] is 3Ί00, for example (see FIG. 12).

[0234]

For example, with the signal RANA[3 :0] set to 4Ί010, the signal TCMPIN is input from the pin PAIO. The AID portion 233 can be tested using the signal TCMPIN. For example, with the signal RTCM set to "0", a test of the AID portion 233 in the current sensing mode may be executed.

[0235]

In the current generation portion 258, the current IRFINT is generated by charging the capacitor Ct with a voltage. Thus, the current generation portion 258 achieves a wide range of output currents and can accurately adjust the values of the output currents. Accordingly, when the current generation portion 258 is incorporated into the SD-IC 200, a highly reliable test of the plurality of CM circuits 245 can be performed. This is described in Example 1.

[0236]

When formed without using many resistors, the current generation portion 258 can have a small area. An area overhead of the SD-IC 200 caused by including the current generation portion 258 can be suppressed, which reduces the cost of the SD-IC 200.

[0237]

(Embodiment 3)

In this embodiment, a display panel including the SD-IC of Embodiment 2 and a display system including the display panel are described.

[0238]

« Structure example of display system»

FIG. 19A is a block diagram illustrating a structure example of a display system. A display system 500 includes a processor 510, a display controller 515, and a display panel 520. [0239]

The processor 510 includes an execution unit 512 and a memory device 513. The display controller 515 includes an image processor 516, a timing controller 517, and a memory device 518. The display panel 520 includes a pixel array 521 and a peripheral circuit 522.

[0240]

The processor 510 executes various programs to control the entire display system 500. The execution unit 512 has a function of executing a program. For example, the execution unit 512 is an arithmetic logic unit (ALU), and the memory device 513 is a cache memory. Alternatively, as the execution unit 512, any of a variety of processors such as a central processing unit (CPU) and a microprocessor unit (MPU) can be used. In the case where the display system 500 is incorporated as an electronic component in an electronic device, for example, a processor of the electronic device (host device) is used as the processor 510.

[0241]

The display controller 515 is a controller for controlling the display panel 520. The timing controller 517 generates a variety of signals for setting the timing of the operation of the peripheral circuit 522. The image processor 516 processes an image signal transmitted from the processor 510. The memory device 518 stores data necessary for the display controller 515 to execute processing. As examples of the data, image data processed by the image processer 516, parameter data used in the image processor 516 and the timing controller 517, and the like can be given.

[0242]

The display panel 520 includes the pixel array 521 and the peripheral circuit 522. The pixel array 521 includes subpixels 10, gate lines GL1, source lines SL1, and wirings ML.

[0243]

The peripheral circuit 522 includes a switch circuit 523U, a switch circuit 523D, a gate driver circuit 524L, a gate driver circuit 524R, and 12 SD-ICs 200. Here, in order to distinguish the 12 SD-ICs 200 from each other, the reference numeral "200" is followed by "_1U", "_1D", or the like as illustrated in FIG. 19 A. FIG. 19B schematically illustrates a connection structure between the SD-IC 200 and the pixel array 521.

[0244]

The pins PS of the SD-IC 200 are electrically connected to the source lines SL1. The connection between the pin PM and the wiring ML is controlled by the switch circuit 523D (or the switch circuit 523U). Each of the switch circuits 523U and 523D is an interface between the pixel array 521 and the CSN portion 202. The SDR portion 201 of the SD-IC 200 processes an image signal transmitted from the display controller 515 to generate a grayscale signal supplied to the source line SL1. The CSN portion 202 of the SD-IC 200 senses a current flowing through the wiring ML. The signal CMDO generated by the CSN portion 202 is transmitted to the processor 510. The processor 510 processes the signal CMDO and updates a parameter used in the image processor 516, for example. A structure in which the signal CMDO is processed by the image processor 516 of the display controller 515 can also be employed.

[0245]

The number of the SD-ICs 200 to be included in the display system 500 is determined in accordance with the specifications of the SD-IC 200, the number of pixels, and the like.

[0246]

The gate driver circuit 524L generates a scan signal for selecting the subpixel 10 to which a grayscale signal is input, and inputs the scan signal to the gate line GL1. The same applies to the gate driver circuit 524R.

[0247]

The switch circuits 523U and 523D and the gate driver circuits 524L and 524R have a gate-on-array structure and are formed over the same insulating surface as the pixel array 521. The SD-IC 200 is mounted by a chip on glass (COG) method. The structure of the peripheral circuit 522 is not limited to the above structure. The SD-IC 200 may have some of functions of the switch circuits 523U and 523D. Each of the gate driver circuits 524L and 524R may be formed of one or more gate driver ICs. Examples of methods of mounting an IC on the display panel 520 include a chip on film (COF) method and a tape automated bonding (TAB) method in addition to the COG method.

[0248]

An FPC is mounted on the display panel 520. A voltage, a signal, and the like are input to the pixel array 521 and the peripheral circuit 522 through the FPC.

[0249]

«Pixel array 521»

Structure examples of the subpixel 10 and the pixel array 521 are described with reference to FIGS. 20 A and 20B.

[0250]

FIG. 20A illustrates six subpixels 10 arranged in two rows and three columns. In this specification and the like, the gate line GL1 J (j is an integer greater than or equal to 1) is the gate line GL1 in a y ' -th row. The source line SL1 6& (A: is an integer greater than or equal to 1) is the source line SL1 in a 6&-th column. The subpixel 10[/ ' ,6&] is the subpixel 10 in the y ' -th row and the 6 k-th column. [0251]

The subpixel 10 includes an electroluminescent (EL) element DEI, transistors MSI, MDl, and MMl, and a capacitor CSl . The subpixel 10 is electrically connected to the gate line GL1, the source line SL1, the wiring ML, and a wiring A L. In the example of FIG. 20A, the wiring ML is shared by two adjacent columns.

[0252]

The EL element DEI includes a pair of electrodes (a pixel electrode and a common electrode) and an EL layer. The EL layer includes a region sandwiched between a pair of electrodes. The EL layer includes at least a layer containing a light-emitting material (light-emitting layer). Another functional layer such as a layer containing an electron-transport material (electron-transport layer) or a layer containing a hole-transport material (hole-transport layer) can be provided in the EL layer. The EL element is referred to as an organic EL element when containing an organic light-emitting material, and is referred to as an inorganic EL element when containing an inorganic light-emitting material. One of a pair of electrodes functions as an anode, and the other functions as a cathode. In the example of FIG. 20A, the pixel electrode is the anode and the common electrode is the cathode. The pixel electrode is electrically connected to the transistor MDl and the capacitor CSl, and a voltage VCT is input to the common electrode.

[0253]

Although an example in which the display element of the subpixel is an EL element is described in this embodiment, a different light-emitting element can be used as the display element. Examples of the light-emitting element include a light-emitting diode, a light-emitting transistor, and a light-emitting element including a quantum dot.

[0254]

The wiring ANL has a function of a voltage supply line, for example. The voltage of the wiring ANL may be set higher than the voltage VCT. Although the wiring ANL is provided in every column in the example of FIGS. 20A and 20B, one wiring ANL may be provided for a plurality of columns.

[0255]

The transistor MSI is referred to as a selection transistor, and the transistor MDl is referred to as a driving transistor. The transistor MDl functions as a current source for the EL element DEI . The transistor MDl supplies a drain current corresponding to a gate voltage to the EL element DEI . The capacitor CSl is a storage capacitor for holding the gate voltage of the transistor MDl . The transistor MMl controls readout of a current from the subpixel 10 to the wiring ML. Here, a transistor having a function like the transistor MM1 is referred to as a monitor transistor.

[0256]

Each of the transistors MSI, MD1, and MM1 is an OS transistor with a back gate. The back gates of the transistors MSI and MM1 are electrically connected to the gate line GL1. Gates of the transistors MSI and MMl are electrically connected to the wiring ML. The back gate of the transistor MD1 is electrically connected to a gate thereof.

[0257]

As illustrated in FIG. 20B, three kinds of subpixels 10 for displaying red (R), green (G), and blue (B) are provided in the pixel array 521. The three (RGB) subpixels 10 constitute a pixel 20.

[0258]

To distinguish components according to the color expressed by the subpixels, an identification sign such as "R" or "_R" is added. For example, the subpixel 10R represents a red subpixel 10. The source line SL1 G& is the source line SL1 in a k-t column to which a grayscale signal for green is input.

[0259]

The number of the subpixels in the pixel array 521 is 2N C x 3 (RGB) in the row (horizontal) direction and N r in the column (vertical) direction (each of N r and N c is an integer greater than or equal to 1).

[0260]

In the case where the display resolution of the display panel 520 is 8K4K (7680 x 4320), for example, the number of the subpixels 10 is 7680 x 3 (RGB) x 4320. The number of each of the source lines SL1 R, SL1 G, and SL1 B is 7680. The number of the wirings ML is 3840 x 3.

[0261]

The structure of the pixel is not limited to the structure illustrated in the example of FIG. 20B and may be a structure in which one subpixel 10R, two subpixels 10G, and one subpixel 10B constitute one pixel, for example. Examples of a combination of colors of the subpixels 10 include [C (cyan), M (magenta), Y (yellow)], [R, G, B, W (white)], [R, G, B, Y], and [R, G, B, C].

[0262]

<Switch circuit 523U and switch circuit 523D>

The switch circuits 523U and 523D are described with reference to FIGS. 21 A and 21B.

[0263] A voltage V0 and signals MPON U and MSEL_U[1] to MSEL_U[3] are input to the switch circuit 523U. The voltage V0 and signals MPON D and MSEL_D[1] to MSEL_D[3] are input to the switch circuit 523D.

[0264]

The switch circuit 523U includes N c terminals MO[2 -l], Nc circuits 531 [2^-1], and

Nc circuits 532[2 ]. The switch circuit 523D includes Nc terminals MO[2 ], Nc circuits 532[2 -l], and Nc circuits 531 [2q]. Note that q is an integer greater than or equal to 1 and less than or equal to N c . The terminal MO is electrically connected to the pin PM of the SD-IC 200.

[0265]

The circuit 531 includes transistors Mi l to Ml 6. The circuit 532 includes transistors

M24 to M26. Each of the transistors Mi l to Ml 6 and the transistors M24 to M26 is an OS transistor with a back gate.

[0266]

The circuit 531 controls electrical continuity between three wirings ML and the terminal MO. The wiring ML to be electrically connected to the terminal MO is selected with the signals MSEL Ul to MSEL U3 and MSEL Dl to MSEL D3. By the circuits 531 and 532, the voltage V0 can be input from both ends of the wiring ML. By the signals MPON U and MPON D, input of the voltage V0 to the wiring ML is controlled. The voltage V0 is input to the wiring ML while the display panel 520 displays an image. To sense a current flowing through the subpixel 10, electrical continuity between one or more wirings ML and the terminal MO is established.

[0267]

With reference to FIG. 22, the connection structure between the pixel array 521, the gate driver circuits 524L and 524R, and the SD-ICs 200 is described.

[0268]

The gate lines GLl l to GLl_N r are electrically connected to both of the gate driver circuits 524L and 524R. The gate driver circuits 524L and 524R have the same circuit structure and include OS transistors. A scan signal is input from both ends of the gate line GL1 at the same time by the gate driver circuits 524L and 524R. Alternatively, for example, the gate lines GL1 in odd-numbered rows may be driven by the gate driver circuit 524L, and the gate lines GL1 in even-numbered rows may be driven by the gate driver circuit 524R.

[0269]

The connection destination (the SD-IC 200) of the source lines SLl and the wirings ML changes every two columns of pixels (every six columns of subpixels). FIG. 22 typically illustrates a connection structure between the pixel array 521 and the SD-ICs 200 1U and

200_1D. A main part of the CSN portion 202 of the SD-IC 200_1U is simplified.

[0270]

The connection destination (the SD-IC 200) of the wirings ML changes every three wirings between the SD-IC 1U and the SD-IC ID. A terminal MO[l], a terminal MO[3], and a terminal MO[5] are electrically connected to the pin PM[1], the pin PM[2], and the pin PM[3], of the SD-IC 200 1U, respectively. A terminal MO[2] and a terminal MO[4] are electrically connected to the pin PM[1] and the pin PM[2], of the SD-IC 200 1D, respectively.

[0271]

The connection destination (the SD-IC 200) of the source lines SL1 R changes every two wirings between the SD-IC 200 1U and the SD-IC 200 1D. The same applies to the source lines SL1 G and SL1 B.

[0272]

«Current sensing»

A current sensing operation example is described with reference to FIG. 23, FIG. 24, and FIG. 25. FIG. 23 is a flow chart of a current sensing operation example. FIG. 24 and FIG. 25 are simplified circuit diagrams for describing the current sensing operation example.

[0273]

(Step SS10)

The signal CMRST at Ή" is input to the CSN portion 202, and thus the CSN portion

202 is reset.

[0274]

(Step SS11)

The RS sequence is executed, and configuration data for bringing the mode of the CSN portion 202 to the current sensing mode is written to the setup register 271 of the CSN portion 202. The subsequent steps are described using an example where the sensing mode of the I/V portion 231 is the 3-input differential sensing mode.

[0275]

Steps SS12 to SSI 7 are one cycle of the current sensing operation. In Step SS12, grayscale signals are written to the subpixels 10 in a y ' -th row. The CSN portion 202 executes the SN sequence and the RD sequence of the odd-numbered channels (Steps SS13 and SS14). In Step SS15, grayscale signals are written to the subpixels 10 in the y ' -th row. The CSN portion 202 executes the SN sequence and the RD sequence of the even-numbered channels (Steps SSI 6 and SS17). Steps SS12 to SS17 are executed the same number of times as the number of rows (N r ) in the pixel array 521, and the current sensing operation is terminated (Step SS18).

[0276]

(Step SS12)

Grayscale signals are written to the subpixels 10 by the peripheral circuit 522. In the case of Step SS12 in the y ' -th cycle, for example, the gate line GLl J is selected, and grayscale signals are written to the subpixels 10 in the y ' -th row.

[0277]

In Step SS13, the CSN portion 202 senses currents for the odd-numbered channels. Accordingly, in Step SS12, grayscale signals written to the target subpixels 10 in Step SS13 are different from grayscale signals written to the nontarget subpixels 10 in Step SS13. A grayscale signal for the subpixel 10 that is targeted to be sensed is referred to as a "grayscale signal CM", and a grayscale signal for the nontarget subpixel 10 is referred to as a "grayscale signal L".

[0278]

When the gate line GLl J is in a selected state, a current Im flows between the transistor

MMl of the subpixel 10 to which the grayscale signal CM has been written and the wiring ML, and the current Im does not flow between the transistor MMl of the subpixel 10 to which the grayscale signal NL has been written and the wiring ML. For example, a grayscale signal (a grayscale signal for black display) with a grayscale value of 0 is used as the grayscale signal NL.

[0279]

Step SS12 is described with reference to FIG. 24. In Step SS12, the transistors M14 to M16 and the transistors M24 to M26 in the switch circuits 523U and 523D are turned on, and the voltage V0 is input to the wiring ML. Next, the gate line GLl J is selected, and grayscale signals are written to the subpixels 10R, 10G, and 10B in the y ' -th row.

[0280]

In the example of FIG. 24, the subpixels 10R are targeted, and the subpixels 10G and 10B are not targeted. Grayscale signals NL G and Grayscale signals NL B are written to the subpixels 10G and the subpixels 10B, respectively. Grayscale signals CM R are written to the subpixels 1 OR in a column electrically connected to the pins PM in the odd-numbered channels, and grayscale signals NL R are written to the other subpixels 10R. The transistors MMl are in an on state while the gate line GLl J is selected, and thus currents Im_R flow between the subpixels 10R to which the grayscale signals CM R have been written and the wirings ML.

[0281]

(Step SS13-1) Next, the terminals MO and the wirings ML are electrically connected to each other in order to execute the I/V sequence in the CSN portion 202. The transistors Ml 4 to Ml 6 and the transistors M24 to M26 in the switch circuits 523U and 523D are turned off, and the transistors Mi l and M12 are turned on (FIG. 25). The I/V circuit 241 of the CSN portion 202 converts a current flowing through the terminal INM into a voltage using an average voltage of voltages of the terminals INP1 and INP2 as a reference voltage. At the timing of termination of the I/V sequence, the transistors Mi l and M12 in the switch circuits 523U and 523D are turned off, and thus electrical continuity between the terminals MO and the wirings ML is broken.

[0282]

There is high similarity between the noise components of the adjacent wirings ML.

When the currents Im_R of the subpixels 10R are sensed in the 3-input differential sensing mode, an output signal of the I/V circuit 241 can remove the noise components effectively, so that the values of the currents Im_R flowing through the subpixels 10R can be obtained with higher accuracy.

[0283]

(Step SSI 3-2)

The CSN portion 202 executes the AID sequence. The AID circuit 243 converts an output voltage of the I/V circuit 241 into digital data. The transistors Ml 4 t oM16 and the transistors M24 to M26 in the switch circuits 523U and 523D are turned on while the CSN portion 202 executes the A/D sequence, and the voltage V0 is input to the wiring ML.

[0284]

(Step SS14)

The CSN portion 202 executes the R/D sequence and outputs the signal CMDO[3 :0].

[0285]

(Step SSI 5)

Step SSI 5 is executed in a manner similar to that of Step SS12. The grayscale signals NL G and NL B are written to the subpixels 10G and 10B, respectively. The grayscale signals CM R are written to the subpixels 10R in a column that is targeted to be sensed in Step SS16, and the grayscale signals NL R are written to the other subpixels 10R in the column that is targeted to be sensed.

[0286]

The SDR portion 201 and the CSN portion 202 are operated independently, and thus Step SSI 5 can be executed while the AD sequence (Step SSI 3-2) or the RD sequence (Step SS14) is executed.

[0287] (Step SSI 6)

Step SS16 is executed in a manner similar to that of Step SS13, and the CSN portion executes the IV sequence (Step SS16-1) and the AD sequence (Step SS16-2).

[0288]

(Step SSI 7)

The CSN portion 202 executes the R/D sequence and outputs the signal CMDO[3 :0].

[0289]

(Step SSI 8)

In the operation example in FIG. 23, the number of cycles of Steps SS12 to SSI 8 is set to N r , and currents of the subpixels 10 are sensed row by row. The number of cycles is not limited to N r . The number of cycles is set in accordance with the number of the subpixels that are targeted to be sensed, and the like.

[0290]

The driving transistors (transistors MDl) in the subpixels 10 each have an extremely low drain current, which is as low as approximately one nanoampere to several hundred nanoamperes. The CM circuit 245 in the CSN portion 202 can sense such a minute current. In the 3 -input differential sensing mode, the I/V circuit 241 can obtain an analog signal with a high SNR, so that the CM circuit 245 is capable of high-accuracy current sensing. When the signal CMDO[3 :0] is used, grayscale signals to be written to the subpixels 10 can be corrected more appropriately. Thus, the display system 500 including the SD-IC 200 as a source driver circuit can have excellent display quality.

[0291]

«Other structure examples of pixel array and subpixel»

Other structure examples of the pixel array and the subpixel are described with reference to FIGS. 26 A to 26C, FIG. 27, and FIGS. 28 A and 28B.

[0292]

A pixel array 551 illustrated in FIG. 26A is a modification example of the pixel array 521 and includes subpixels 11 instead of the subpixels 10. The subpixel 11 includes a transistor MS2, a transistor MD2, a transistor MM2, a capacitor CS2, and an EL element DE2.

[0293]

A back gate of the transistor MS2 is electrically connected to a gate thereof, and a back gate of the transistor MM2 is electrically connected to a gate thereof. The gates of the transistors MS2 and MM2 are electrically connected to the gate line GL1.

[0294] In a pixel array 552 illustrated in FIG. 26B, two gate lines GL1 and GL2 are provided for one row. The back gate of the transistor MMl is electrically connected to the gate line GL2. The on/off of the transistor MSI and the transistor MMl can be controlled independently. The pixel array 552 may include the subpixels 11 instead of the subpixels 10.

[0295]

A pixel array 553 illustrated in FIG. 26C includes the gate line GL1, the source line SL, the wiring ML, and a subpixel 12. The subpixel 12 includes a transistor MS3, a transistor MD3, a capacitor CS3, and an EL element DE3. A gate and a back gate of the transistor MS3 are electrically connected to the gate line GL1. A pixel electrode functions as a cathode of the EL element DE3. A common electrode functions as an anode of the EL element DE3 and is supplied with a voltage VAN.

[0296]

A plurality of source lines may be provided for one column. In a pixel array 554 illustrated in FIG. 27, source lines SLla and SLlb are provided for one column. Gate lines GLla and GLlb are provided for the source lines SLla and SLlb, respectively. Scan signals are input from the gate driver circuits 524L and 524R to the gate lines GLla and GLlb at the same timing. The pixel array 554 includes the subpixels 10 in the example of FIG. 27 but may include different subpixels.

[0297]

When the plurality of source lines are provided for one column, a plurality of rows can be selected at the same time. When the number of the source lines is two, one horizontal period is doubled, so that data writing time can be made long. Accordingly, the pixel array 554 is suitable for a large-screen display system (e.g., with a diagonal of 50 inches or more) and a display system to which an image signal with high resolution (e.g., a gray scale of 12 bits and 120 Hz) is input.

[0298]

The transistor of the subpixel is not limited to an OS transistor and may be a polycrystalline silicon transistor, for example. In the case where a polycrystalline silicon transistor is used, the subpixel can include a p-channel transistor. A subpixel 15 illustrated in FIG. 28A includes three p-channel transistors. A subpixel 16 illustrated in FIG. 28B includes two p-channel transistors.

[0299]

Some or all of the transistors in the subpixel may be transistors without back gates. The driving transistor is preferably a transistor with a back gate. This is because when a back gate is provided, the saturation characteristics of the h-Va characteristics and the current drive capability can be improved.

[0300]

[Embodiment 4]

In Embodiment 4, structure examples of a display panel are described with reference to

FIG. 29 and FIGS. 30A and 30B.

[0301]

In a display panel 4201 illustrated in FIG. 29, a substrate 4001 is a base substrate of an element substrate, and a substrate 4006 is a base substrate of a counter substrate.

[0302]

The substrate 4001 is provided with a pixel array 4120, a gate driver circuit 4125, and a terminal portion 4126. In FIG. 29, a transistor 4010, a capacitor 4020, and an EL element 4513 included in the pixel array 4120 and a transistor 4011 included in the gate driver circuit 4125 are illustrated as an example. Over the substrate 4001, insulating layers 4102, 4103, 4110, 4111, and 4112 are provi ded .

[0303]

The transistors 4010 and 4011 are provided over the insulating layer 4102. The transistors 4010 and 4011 each include conductive layers 4150 and 4151, a semiconductor layer 4152, and conductive layers 4156 and 4157. The conductive layers 4150 and 4151 form a source electrode and a drain electrode. The conductive layer 4156 forms a back gate electrode, and the conductive layer 4157 forms a gate electrode.

[0304]

The capacitor 4020 includes a region where the conductive layer 4151 and a conductive layer 4021 overlap with each other with the insulating layer 4103 sandwiched therebetween.

[0305]

The terminal portion 4126 is provided with conductive layers 4014 and 4015. The conductive layer 4015 is electrically connected to a terminal included in an FPC 4018 through an anisotropic conductive layer 4019. The conductive layer 4015 is electrically connected to the conductive layer 4014. The conductive layer 4014 forms a terminal, and the conductive layer 4015 forms a lead wiring.

[0306]

The semiconductor layer 4152 includes a channel formation region. The semiconductor layer 4152 is, for example, a metal oxide layer or a silicon layer.

[0307] In the case where the semiconductor layer 4152 is a metal oxide layer, for example, the metal oxide layer preferably contains at least one of indium (In) and zinc (Zn). Typical examples of such a metal oxide include an In oxide, a Zn oxide, an In-Zn oxide, and an In-M-Zn oxide (the element Mis Al, Ti, Ga, Y, Zr, La, Ce, Nd, or Hf).

[0308]

In the case where the transistors 4010 and 4011 are OS transistors, the semiconductor layer 4152 is, for example, a metal oxide layer of one to three layers.

[0309]

A conductive layer 4030 is provided over the insulating layer 4112. A partition wall 4510 is provided over the conductive layer 4030 and the insulating layer 4112. Stacked layers of a light-emitting layer 4511 and a conductive layer 4031 are provided over the partition wall 4510. The partition wall 4510 is formed using an organic insulating material or an inorganic insulating material. It is particularly preferable that the partition wall be formed using a photosensitive resin material to have an opening over the conductive layer 4030 so that a side surface of the opening is formed as an inclined surface with continuous curvature.

[0310]

The EL element 4513 is formed of stacked layers of the conductive layer 4030, the light-emitting layer 4511, and the conductive layer 4031. The conductive layer 4030 is a pixel electrode, and the conductive layer 4031 is a common electrode. The light-emitting layer 4511 may be a single layer or stacked layers.

[0311]

A protective layer may be formed over the conductive layer 4031 and the partition wall 4510 in order to prevent entry of oxygen, hydrogen, moisture, carbon dioxide, or the like into the EL element 4513. As the protective layer, silicon nitride, silicon nitride oxide, aluminum oxide, aluminum nitride, aluminum oxynitride, aluminum nitride oxide, diamond like carbon (DLC), or the like can be used.

[0312]

The substrate 4006 is fixed to the substrate 4001 with a sealant 4005. A space sealed by the sealant 4005 between the substrate 4001 and the substrate 4006 is filled with a filler 4514. As the filler 4514, an ultraviolet curable resin or a thermosetting resin can be used as well as an inert gas such as nitrogen or argon; for example, polyvinyl chloride (PVC), an acrylic resin, a polyimide resin, an epoxy resin, a silicone resin, polyvinyl butyral (PVB), ethylene vinyl acetate (EVA), or the like can be used. A drying agent may be contained in the filler 4514. A glass material such as a glass frit, or a resin that is curable at room temperature such as a two-component-mixture-type resin, a light curable resin, a thermosetting resin, and the like can be used as the sealant 4005. A drying agent may be contained in the sealant 4005.

[0313]

A color filter layer, a black matrix layer, a polarizing plate, a circularly polarizing plate (including an elliptically polarizing plate), a retardation plate (a quarter-wave plate or a half-wave plate), or the like may be provided as appropriate. These components may be provided on the substrate 4006 side if the display panel 4201 is of a top-emission type, and provided on the substrate 4001 side if the display panel 4201 is of a bottom-emission type.

[0314]

Other structure examples of the display panel are illustrated in FIGS. 30A and 30B. A display panel 4202 illustrated in FIG. 30A and a display panel 4203 illustrated in FIG. 30B are different from the display panel 4201 in transistor structure. The transistors 4010 and 4011 in the display panel 4202 are of a top-gate type. The transistors 4010 and 4011 in the display panel 4203 are of a top-gate type with a back gate electrode.

[0315]

[Embodiment 5]

The display system disclosed in this specification and the like can be used in display portions of various electronic devices. The luminance of the display portion can be corrected by the SD-IC disclosed in this specification and the like; thus, the number of bits of grayscale data, the size of a screen, and the number of pixels can be easily increased. Examples of electronic devices include a television receiver (hereinafter, a TV device), a virtual-reality (VR) head-mounted display, a medical display device (a display device of a diagnostic imaging device), a digital signage, a simulator for simulating the operation of an aircraft, a ship, an automobile, a machine, or the like, a digital camera, a digital video camera, a mobile device (e.g., a tablet terminal, a smartphone, or a game console), and a wearable device.

[0316]

Some specific examples of electronic devices provided with the display system are described below with reference to FIGS. 31A to 3 ID, FIGS. 32A to 32C, and FIGS. 33 A and 33B.

[0317]

A TV device 2010 illustrated in FIG. 31A includes a display portion 2011, a housing 2013, a support base 2015, and the like. The TV device 2010 is, for example, a 30- to 110-inch 8K TV device.

[0318] A display device 2020 illustrated in FIG. 3 IB includes a display portion 2021, a housing 2023, a support base 2025, and the like. The display device 2020 can be used as a monitor of a computer, a game machine, or the like. When a receiver for television broadcasting is incorporated into the display device 2020, the display device 2020 can be utilized as a television (TV) receiver.

[0319]

FIGS. 31C and 3 ID illustrate structural examples of medical display devices. A medical display device 2040 illustrated in FIG. 31C includes a display portion 2041, a housing 2043, and a support portion 2045. The support portion 2045 enables the medical display device 2040 to be fixed to a ceiling, a wall, or the like. For example, the medical display device 2040 is installed in an operating room, an intensive care unit, or the like. The display portion 2041 displays an image of a surgical field or an affected area, patient information (e.g., an electrocardiogram or blood pressure), or a medical image (e.g., an X-ray image or an MRI image).

[0320]

A medical display device 2050 illustrated in FIG. 3 ID includes a display portion 2051, a housing 2053, and a support base 2055. The medical display device 2050 is a stationary display device and is used for medical image diagnosis, for example. The housing 2053 is rotatably attached to the support base 2055, and the display portion 2253 can be rotated to a horizontal (landscape) position or a vertical (portrait) position depending on an image to be displayed.

[0321]

An information terminal 2110 shown in FIG. 32A includes a display portion 2111, a housing 2113, an optical sensor 2114, a camera 2115, and an operation button 2116. The information terminal 2110 has functions of a voice call, a video call with the use of the camera 2115, e-mailing, an appointment organizer, Internet communication, music reproduction, and the like. For example, the information terminal 2110 that stores data of an electronic textbook can be used as a digital textbook reader.

[0322]

The display portion 2111 includes the display system in which a touch sensor device is incorporated. The information terminal 2110 can be operated when a stylus pen 2117 (or an electronic pen), a finger, or the like touches a screen of the information terminal 2110. The brightness, color tone, or the like of the display portion 2111 can be changed on the basis of data of environmental light detected by the optical sensor 2114. Display portions of electronic devices described below as examples have a function similar to that of the display portion 2111. [0323]

A personal computer (PC) 2130 in FIG. 32B includes a display portion 2131, a housing 2133, an optical sensor 2134, a camera 2135, and a keyboard 2136. The display portion 2131 includes the display system in which a touch sensor device is incorporated, and has a function similar to that of the display portion 2111. The keyboard 2136 can be attached to or detached from the housing 2133. When the keyboard 2136 is attached to the housing 2133, the PC 2130 can be used as a laptop PC. When the keyboard 2136 is detached from the housing 2133, the PC 2130 can be used as a tablet PC.

[0324]

A smartphone 2150 shown in FIG. 32C includes a display portion 2151, a housing 2153, an optical sensor 2154, a microphone 2156, a speaker 2157, and an operation button 2158. The display portion 2151 includes the display system in which a touch sensor device is incorporated, and has a function similar to that of the display portion 2111. A camera or the like is provided on the back side of the housing 2153. The smartphone 2150 has a function similar to that of the information terminal 2110.

[0325]

FIG. 33 A illustrates structural examples of in-vehicle electronic devices. For example, an automobile 2200 is provided with a navigation system 2210, a rearview monitor 2220, a rear seat monitor 2230, and the like. FIG. 33A schematically illustrates the inside of the automobile 2200 which is seen from a rear seat.

[0326]

The rearview monitor 2220 functions as a rearview mirror (also referred to as inner rearview mirror). The rearview monitor 2220 includes a display portion 2221, a housing 2223, and a joint 2225. The display portion 2221 is installed in the automobile by the joint 2225 such that the screen orientation can be changed. The automobile 2200 is provided with a camera for taking an image of an area behind the automobile, and the image taken with the camera is displayed by the rearview monitor 2220 in real time. The navigation system 2210 may have a function of displaying an image from the camera when the automobile 2200 is moved backward.

[0327]

The rear seat monitor 2230 includes a display portion 2231 and a housing 2233. The housing 2233 includes an installation portion for fixing to a shaft of a headrest 2235 of a front seat. The rear seat monitor 2230 displays, for example, an image on the navigation system 2210, a TV broadcast image, video content stored in a recording medium (for example, a DVD or an SD card), or the like.

[0328] A digital signage 2300 shown in FIG. 33B includes a display portion 2301, a housing 2303, and a speaker 2305. The digital signage 2300 can be used as, for example, a display system for displaying an information map in a station, an airport, a seaport, a variety of facilities (e.g., an exhibition hall, a stadium, a theater, and an art museum), or a display system for displaying a waiting list in a hospital, a bank, or the like.

[Example 1]

[0329]

The SD-IC 200 of Embodiment 2 was fabricated and a wafer test was performed. A base substrate of the SD-IC 200 is a silicon wafer base. In the wafer test, to check the performance of the current generation portion 258, the CSN portion 202 was operated in the test mode and the signal CMDO[11 :0] was obtained. FIG. 34 shows analysis results of the signal CMDO[3 :0].

[0330]

[Table 3]

[0331]

Table 3 shows specifications of the SD-IC 200. In the CSN portion 202, 180 CM circuits 245 (see FIG. 11) are provided. The AID circuit 243 is a 12-bit AID circuit. The capacitance of the capacitor Ct of the current generation portion 258 is 1 pF.

[0332]

Note that in the SD-IC 200 fabricated, the switch S34 is not provided in the ASW portion 252 and the inverter circuit 63 and the level shift circuit 68 are not provided in the LOG/LS portion 254 (see FIG. 14).

[0333]

The CSN portion 202 was operated in the test mode and the signal CMDO[3 :0] was measured. The sensing mode of the I/V circuit 241 was set to the 3 -input differential sensing mode. The signal DACO was input to the comparator 43 of the A/D circuit 243. The reference voltages of the D/A circuit 278 were 1 V (= CMVRD1) and 4 V (= CMVRD2).

[0334] The current IRFINT (internally generated current) was used as the current TIREF. The voltage CMVRI is 4 V. The voltage CMVRC was input to the node Nt. The voltage CMVRC was varied from 4 V to 7 V in 16 steps (in increments of 0.1875 V) to vary the current IRFINT. The CSN portion 202 was operated in the test mode for each current IRFINT, and the signal CMDO[3 :0] was obtained. FIG. 34 shows the values of output data (ADO[11 :0]) of the CM circuits 245[176] to 245[180] versus the voltage CMVRC. The values on the vertical axis in FIG. 34 correspond to the values of the currents IRFINT sensed by the CM circuits 245 [176] to 245[180].

[0335]

FIG. 34 reveals that, by controlling the current IRFINT with the electric charge of the capacitor Ct and the input voltage CMVRC, the current generation portion 258 achieves a wide range of output currents and can accurately adjust the values of the output currents. Accordingly, when the current generation portion 258 is incorporated into the SD-IC 200, the plurality of CM circuits 245 can be accurately examined.

REFERENCE NUMERALS

[0336]

10, 11, 12, 15, 16: subpixel, 20: pixel, 41 : amplifier circuit, 43 : comparator, 44, 45, 49, 60: flip-flop, 46: inverter circuit, 47: selector, 48: tri-state (TRI) buffer circuit, 53 : TRI buffer circuit, 62: OR circuit, 63 : inverter circuit, 64: AND circuit, 67, 68, 69: level shift circuit, 100: IC, 110: current-voltage conversion portion, 112: sample-and-hold portion, 113 : analog-digital conversion portion, 114: output driver, 117: switch portion, 118: shift register, 121 : level shift portion, 122, 123 : logic portion, 124: logic/level shifter (LOG/LS) portion, 125: current generation circuit, 125a: delay circuit, 128: switch matrix, 129: switch portion, 130: current-voltage conversion circuit (I/V circuit), 131 : amplifier circuit, 132: sample-and-hold circuit (S/H circuit), 133 : analog-digital conversion circuit (A/D circuit), 134: buffer circuit, 135: register, 137: switch matrix, 139: switch circuit, 140: CM circuit, 160: circuit, 161 : level shifter, 162: OR circuit, 163 : register, 168: shift register, 200: source driver IC (SD-IC), 201 : source driver (SDR) portion, 202: current sensing (CSN) portion, 210: receiver, 211 : logic portion, 212: shift register, 214: latch portion, 215: latch portion, 216: level shift portion, 217: digital-analog conversion portion (D/A portion), 218: amplifier portion, 224, 225: latch circuit, 226: level shifter, 227: digital-analog conversion circuit (D/A circuit), 228: amplifier circuit, 230: analog switch (ASW) portion, 231 : I/V (current-voltage conversion) portion, 232: sample-and-hold (S/H) portion, 233 : analog-digital conversion portion (A/D portion), 235: output driver, 236: buffer portion, 237: shift register, 240: switch matrix, 241 : I/V circuit, 241 S: integrating circuit, 241D: differential integrating circuit, 242: S/H circuit, 243 : A/D circuit, 245: CM circuit, 250: switch matrix, 251 :

ASW portion, 252: ASW portion, 253 : buffer portion, 254: LOG/LS portion, 255: shift register, 258: current generation portion, 258a: delay circuit, 258A, 258B, 259, 260, 261 : ASW circuit, 258G: current generation circuit, 269: multiplexer (MUX), 270: level shift portion, 271 : setup register, 272: decoder, 274, 275: selector, 277: counter, 278: D/A circuit, 500: display system, 510: processor, 512: execution unit, 513 : memory device, 515: display controller, 516: image processor, 517: timing controller, 518: memory device, 520: display panel, 521 : pixel array, 522: peripheral circuit, 523D, 523U: switch circuit, 524L, 524R: gate driver circuit, 531, 532: circuit, 551, 552, 553, 554: pixel array, 2010: TV device, 2011 : display portion, 2013 : housing, 2015: support base, 2020: display device, 2021 : display portion, 2023 : housing, 2025: support base, 2040: medical display device, 2041 : display portion, 2043 : housing, 2045: support portion, 2050: medical display device, 2051 : display portion, 2053 : housing, 2055: support base, 2110: information terminal, 2111 : display portion, 2113 : housing, 2114: optical sensor, 2115: camera, 2116: operation button, 2117: stylus pen, 2130: personal computer (PC), 2131 : display portion, 2131 : housing, 2133 : housing, 2134: optical sensor, 2135: camera, 2136: keyboard, 2150: smartphone, 2151 : display portion, 2153 : housing, 2154: optical sensor, 2156: microphone, 2157: speaker, 2158: operation button, 2200: automobile, 2210: navigation system, 2220: rearview monitor, 2221 : display portion, 2223 : housing, 2225: joint, 2230: rear seat monitor, 2231 : display portion, 2233 : housing, 2235: headrest, 2300: digital signage, 2301 : display portion, 2303 : housing, 2305: speaker, 4001 : substrate, 4005: sealant, 4006: substrate, 4010, 4011 : transistor, 4014, 4015, 4021, 4030, 4031, 4156, 4157, 4150, 4151 : conductive layer, 4018: FPC, 4019: anisotropic conductive layer, 4020: capacitor, 4102, 4103, 4110, 4111, 4112: insulating layer, 4120: pixel array, 4125: gate driver circuit, 4126: terminal portion, 4152: semiconductor layer, 4201, 4202, 4203 : display panel, 4510: partition wall, 4511 : light-emitting layer, 4513 : electroluminescent (EL) element, 4514: filler, Pl l, PI 2, PAIO, PDI, PDOl, PD02, PI, PM, PMV1, PMV2, PS, PVP, PVR1, PVR2, PVR3, PVR4: pin, B0, Bl, B2, B3, B 10, B l l, B12, B20, B21, INM, INP, INPl, INP2, MO, OTA, OT131 : terminal, N81, N82, N132, Nsh, Nt, Nta, Ntb: node, Sl l, S12, S13, S14, S15, S16, S17, S18, S21, S22, S23, S24, S25, S26, S27, S28, S30, S31, S32, S33, S34, S35, S41, S42, SW71, SW72, SW73, SW74, SW75, SW76, SW81, SW82, SW83, SW84, SW85, SW86, SW87, SW88, SWiv, SWsh, SWt, SWtb: switch, Civ, Csh, Ct, C41, C42, CnlO, Cnl l, Cnl2, Cn81, Cn82, CSl, CS2, CS3 : capacitor, ANL, ML, TMO, TMl, TM2, TM3, TM81, TM82: wiring, GL1, GLla, GLlb, GL2: gate line, SL1, SLla, SLlb: source line, DEI, DE2, DE3 : EL element, Mi l, M12, M13, M14, M15, M16, M24, M25, M26, MD1, MD2, MD3, MM1, MM2, MSI, MS2, MS3 : transistor This application is based on Japanese Patent Application Serial No. 2017-043102 f i led with Japan Patent Office on March 7, 2017, the entire contents of which are hereby incorporated by reference.