# US 12,659,615 B2 · Semiconductor device, method for controlling the semiconductor device, and control program

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 12,659,615 B2
- Document ID: US12659615B2
- Status: Granted
- Kind: B2
- Application number: 18/915,626
- Filed: 2024-10-15
- Published: 2025-05-01
- Granted: 2026-06-16
- Earliest claimed: 2023-10-26
- Assignees: Renesas Electronics Corporation
- Applicants: Renesas Electronics Corporation
- Inventors: Fukashi Morishita
- Web page: https://patentgrep.com/patent/US12659615B2

## CPC

- H04N 25/633: by using optical black pixels
- H03K 23/005: {using minimum change code, e.g. Gray Code}
- H03L 7/0816: {the controlled phase shifter and the frequency- or phase-detection arrangement being connected to a common input}
- H03L 7/0891: {the up-down pulses controlling source and sink current generators, e.g. a charge pump}
- H04N 25/40: Extracting pixel data from image sensors by controlling scanning circuits, e.g. by modifying the number of pixels sampled or to be sampled
- H04N 25/78: Readout circuits for addressed sensors, e.g. output amplifiers or A/D converters
- H03K 5/24: the characteristic being amplitude
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)
- H03L: AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES (generation of oscillations H03B)

## Abstract

A semiconductor device according to this disclosure includes: a comparator circuit; a counter circuit; and a latch circuit that stores a count value of the counter circuit at a timing when an output signal of the comparator circuit changes, the counter circuit includes: a multiphase signal generator; and a plurality of flip-flop circuits including a first-stage flip-flop and second-stage and subsequent flip-flops, the first-stage flip-flop takes in an inverted signal of an output signal of a flip-flop in a final stage and each of the second-stage and subsequent flip-flops takes in an output signal of a flip-flop in a preceding stage in synchronization with each of the plurality of clock signals, and an output signal of each of the plurality of flip-flop circuits is output as a count signal of the count value.

## Claims

### Claim 1

A semiconductor device comprising a semiconductor chip,
wherein the semiconductor chip includes on a surface thereof:
a comparator circuit having one terminal to which a measured signal is input and the other terminal to which a reference voltage signal whose potential periodically linearly changes is input;
a counter circuit whose count value changes in accordance with a time change of the reference voltage signal; and
a latch circuit that is connected to the comparator circuit and stores the count value of the counter circuit at a timing when an output signal from the comparator circuit changes,
wherein the counter circuit includes:
a multiphase signal generator that shifts a phase of a reference clock signal and generates a plurality of clock signals having phases different from each other; and
a plurality of flip-flop circuits that are connected to the multiphase signal generator and are continuously connected to each other, and
wherein the plurality of flip-flop circuits include a first-stage flip-flop and second-stage and subsequent flip-flops, the first-stage flip-flop takes in an inverted signal of an output signal of a flip-flop in a final stage and each of the second-stage and subsequent flip-flops takes in an output signal of a flip-flop in a preceding stage in synchronization with each of the plurality of clock signals, and an output signal of each of the plurality of flip-flop circuits is output as a count signal of the count value.

### Claim 2 (depends on 1)

The semiconductor device according to claim 1,
wherein in the plurality of flip-flop circuits, an inverting output terminal of each flip-flop other than the flip-flop in the final stage is not connected to another flip-flop.

### Claim 3 (depends on 1)

The semiconductor device according to claim 1,
wherein the semiconductor chip includes on a surface thereof:
a plurality of the comparator circuits; and
a plurality of the latch circuits corresponding to the plurality of the comparator circuits, and
wherein a count signal representing a count value of the common counter circuit is input to the plurality of the latch circuits.

### Claim 4 (depends on 3)

The semiconductor device according to claim 3,
wherein the counter circuit outputs the count signal having a longer period than that of the plurality of clock signals.

### Claim 5 (depends on 4)

The semiconductor device according to claim 4,
wherein the semiconductor chip has a quadrangular shape, and
wherein a plurality of signal lines through which the count signal propagates are wired along one side of the quadrangular semiconductor chip.

### Claim 6 (depends on 1)

The semiconductor device according to claim 1, further comprising a reference voltage signal generation circuit that generates the reference voltage signal,
wherein the reference voltage signal generation circuit is configured so as to start a voltage change of the reference voltage signal in synchronization with a start timing of a counting operation by the counter circuit.

### Claim 7 (depends on 6)

The semiconductor device according to claim 6,
wherein the reference voltage signal generation circuit generates the reference voltage signal whose voltage change speed is n (n is an integer of 2 or more) times a reference speed,
wherein the counter circuit performs a counting operation at a speed n times a reference speed, and
wherein the comparator circuit and the latch circuit repeat AD conversion processing of the measured signal n times.

### Claim 8 (depends on 1)

The semiconductor device according to claim 1,
wherein both the multiphase signal generator and the counter circuit are configured using a current mode logic (CML) circuit, and
wherein the semiconductor device further comprises a level conversion circuit that converts an output signal of the counter circuit from a level of the CML circuit to a level of a complementary metal-oxide-semiconductor (CMOS) circuit.

### Claim 9 (depends on 1)

The semiconductor device according to claim 1,
wherein the multiphase signal generator includes:
a plurality of delay circuits that delay the reference clock signal by different delay amounts and output the reference clock signal as the plurality of clock signals;
a phase comparator that compares phases of an output signal of a final stage of the plurality of delay circuits and the reference clock signal;
a charge pump that outputs a current corresponding to a comparison result by the phase comparator; and
a filter that filters a voltage generated based on an output current of the charge pump and outputs a drive voltage of the plurality of delay circuits.

### Claim 10 (depends on 1)

The semiconductor device according to claim 1,
wherein the multiphase signal generator includes:
a frequency division circuit that divides the reference clock signal to generate a plurality of frequency division signals having different phases;
a plurality of integrators that perform integration processing on each of the plurality of frequency division signals; and
a plurality of logic circuits that output the plurality of clock signals of logical values corresponding to each of a plurality of potentials obtained by combining some of integration results of the plurality of integrators.

### Claim 11 (depends on 1)

The semiconductor device according to claim 1,
wherein the counter circuit further includes an upper bit counter that performs a count-up operation based on a count value of a lower bit counter configured by the plurality of flip-flop circuits, and
wherein the counter circuit outputs the count signal using a count value of the lower bit counter and a count value of the upper bit counter as a count value of the counter circuit.

### Claim 12 (depends on 11)

The semiconductor device according to claim 11,
wherein the upper bit counter is a binary counter that performs a count-up operation based on a count value of the lower bit counter.

### Claim 13 (depends on 12)

The semiconductor device according to claim 12,
wherein the upper bit counter includes:
a binary counter that performs a count-up operation based on a count value of the lower bit counter; and
a code conversion circuit that converts a count value of the binary counter into a gray code.

### Claim 14 (depends on 1)

The semiconductor device according to claim 1, further comprising a control circuit,
wherein the control circuit
causes the comparator circuit to compare a black color signal that is a black pixel signal with the reference voltage signal,
causes the latch circuit to latch a first count value that is a count value of the counter circuit in a period from start of comparison between the black color signal and the reference voltage signal at the comparator circuit to matching between the black color signal and the reference voltage signal,
causes the comparator circuit to compare a pixel signal that is the measured signal with the reference voltage signal,
causes the latch circuit to latch a second count value that is a count value of the counter circuit in a period from start of comparison between the pixel signal and the reference voltage signal at the comparator circuit to matching between the pixel signal and the reference voltage signal, and
handles a difference between the second count value and the first count value as a digital signal corresponding to the pixel signal.

### Claim 15 (depends on 14)

The semiconductor device according to claim 14,
wherein the control circuit
causes the comparator circuit to compare the black color signal with the reference voltage signal n (n is an integer of 2 or more) times,
causes the latch circuit to latch, n times, a first count value that is a count value of the counter circuit in a period from start of comparison between the black color signal and the reference voltage signal at the comparator circuit to matching between the black color signal and the reference voltage signal,
causes the comparator circuit to compare a pixel signal that is the measured signal with the reference voltage signal n times,
causes the latch circuit to latch, n times, a second count value that is a count value of the counter circuit in a period from start of comparison between the pixel signal and the reference voltage signal at the comparator circuit to matching between the pixel signal and the reference voltage signal, and
handles an average of n times of differences between the second count value and the first count value as a digital signal corresponding to the pixel signal.

### Claim 16

A method for controlling a semiconductor device, the semiconductor device including a semiconductor chip,
wherein the semiconductor chip includes on a surface thereof:
a comparator circuit having one terminal to which a measured signal is input and the other terminal to which a reference voltage signal whose potential periodically linearly changes is input;
a counter circuit whose count value changes in accordance with a time change of the reference voltage signal; and
a latch circuit that is connected to the comparator circuit and stores the count value of the counter circuit at a timing when an output signal from the comparator circuit changes,
wherein the counter circuit includes:
a multiphase signal generator that shifts a phase of a reference clock signal and generates a plurality of clock signals having phases different from each other; and
a plurality of flip-flop circuits that are connected to the multiphase signal generator and are continuously connected to each other, and
wherein the plurality of flip-flop circuits include a first-stage flip-flop and second-stage and subsequent flip-flops, the first-stage flip-flop takes in an inverted signal of an output signal of a flip-flop in a final stage and each of the second-stage and subsequent flip-flops takes in an output signal of a flip-flop in a preceding stage in synchronization with each of the plurality of clock signals, and an output signal of each of the plurality of flip-flop circuits is output as a count signal of the count value,
the method comprising:
causing the comparator circuit to compare a black color signal that is a black pixel signal with the reference voltage signal;
causing the latch circuit to latch a first count value that is a count value of the counter circuit in a period from start of a comparison between the black color signal and the reference voltage signal at the comparator circuit to matching between the black color signal and the reference voltage signal;
causing the comparator circuit to compare a pixel signal that is the measured signal with the reference voltage signal;
causing the latch circuit to latch a second count value that is a count value of the counter circuit in a period from start of a comparison between the pixel signal and the reference voltage signal at the comparator circuit to matching between the pixel signal and the reference voltage signal; and
handling a difference between the second count value and the first count value as a digital signal corresponding to the pixel signal.

### Claim 17 (depends on 16)

The method for controlling the semiconductor device according to claim 16, the method further comprising:
causing the comparator circuit to compare the black color signal with the reference voltage signal n (n is an integer of 2 or more) times;
causing the latch circuit to latch, n times, a first count value that is a count value of the counter circuit in a period from start of comparison between the black color signal and the reference voltage signal at the comparator circuit to matching between the black color signal and the reference voltage signal;
causing the comparator circuit to compare a pixel signal that is the measured signal with the reference voltage signal n times;
causing the latch circuit to latch, n times, a second count value that is a count value of the counter circuit in a period from start of comparison between the pixel signal and the reference voltage signal at the comparator circuit to matching between the pixel signal and the reference voltage signal; and
handling an average of n times of differences between the second count value and the first count value as a digital signal corresponding to the pixel signal.

### Claim 18

A non-transitory computer readable medium storing a control program causing a computer to execute control processing in a semiconductor device, the semiconductor device including a semiconductor chip,
wherein the semiconductor chip includes on a surface thereof:
a comparator circuit having one terminal to which a measured signal is input and the other terminal to which a reference voltage signal whose potential periodically linearly changes is input;
a counter circuit whose count value changes in accordance with a time change of the reference voltage signal; and
a latch circuit that is connected to the comparator circuit and stores the count value of the counter circuit at a timing when an output signal from the comparator circuit changes,
wherein the counter circuit includes:
a multiphase signal generator that shifts a phase of a reference clock signal and generates a plurality of clock signals having phases different from each other; and
a plurality of flip-flop circuits that are connected to the multiphase signal generator and are continuously connected to each other, and
wherein the plurality of flip-flop circuits include a first-stage flip-flop and second-stage and subsequent flip-flops, the first-stage flip-flop takes in an inverted signal of an output signal of a flip-flop in a final stage and each of the second-stage and subsequent flip-flops takes in an output signal of a flip-flop in a preceding stage in synchronization with each of the plurality of clock signals, and an output signal of each of the plurality of flip-flop circuits is output as a count signal of the count value,
the control program causing the computer to execute the processing of:
causing the comparator circuit to compare a black color signal that is a black pixel signal with the reference voltage signal;
causing the latch circuit to latch a first count value that is a count value of the counter circuit in a period from start of a comparison between the black color signal and the reference voltage signal at the comparator circuit to matching between the black color signal and the reference voltage signal;
causing the comparator circuit to compare a pixel signal that is the measured signal with the reference voltage signal;
causing the latch circuit to latch a second count value that is a count value of the counter circuit in a period from start of a comparison between the pixel signal and the reference voltage signal at the comparator circuit to matching between the pixel signal and the reference voltage signal; and
handling a difference between the second count value and the first count value as a digital signal corresponding to the pixel signal.

### Claim 19 (depends on 18)

The non-transitory computer readable medium storing the control program according to claim 18,
causing computer to execute the processing of: causing the comparator circuit to compare the black color signal with the reference voltage signal n (n is an integer of 2 or more) times;
causing the latch circuit to latch, n times, a first count value that is a count value of the counter circuit in a period from start of comparison between the black color signal and the reference voltage signal at the comparator circuit to matching between the black color signal and the reference voltage signal;
causing the comparator circuit to compare a pixel signal that is the measured signal with the reference voltage signal n times;
causing the latch circuit to latch, n times, a second count value that is a count value of the counter circuit in a period from start of comparison between the pixel signal and the reference voltage signal at the comparator circuit to matching between the pixel signal and the reference voltage signal; and
handling an average of n times of differences between the second count value and the first count value as a digital signal corresponding to the pixel signal.
