# US 2024/0201011 A1 · Optical sensor acquiring image frames corresponding to ambient light flickers

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

- Number: US 2024/0201011 A1
- Document ID: US20240201011A1
- Status: Published application
- Kind: A1
- Application number: 18/585,101
- Filed: 2024-02-23
- Published: 2024-06-20
- Earliest claimed: 2020-12-16
- Assignees: Pixart Imaging Inc.
- Applicants: PixArt Imaging Inc.
- Inventors: ZI-HAO TAN
- Web page: https://patentgrep.com/patent/US20240201011A1

## CPC

- G01J 1/4204: {with determination of ambient light (solar light G01J2001/4266)}
- G01J 1/44: Electric circuits {(for command of an exposure part G03B7/02)}
- G01P 13/00: Indicating or recording presence, absence, or direction, of movement (electric switches H01H; counting moving objects G06M7/00)
- G01J 2001/446: {Photodiode}
- G01J: MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY (light sources F21, H01J, H01K, H05B; investigating properties of materials by optical means G01N)
- G01P: MEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT (measuring or recording blood flow A61B5/02, A61B8/06; monitoring speed or deceleration of electrically-propelled vehicles B60L3/00; vehicle lighting systems adapted to indicate speed B60Q1/54; determining position or course in navigation, measuring ground distance in geodesy or surveying G01C; combined measuring devices for measuring two or more variables of movement G01C23/00; measuring velocity of sound G01H; measuring velocity of light G01J7/00; measuring direction or velocity of solid objects by reception or emission of radiowaves or other waves and based on propagation effects, e.g. Doppler effect, propagation time, direction of propagation, G01S; measuring speed of nuclear radiation G01T; measuring acceleration of gravity G01V; {measuring or recording the speed of trains B61L23/00; speed indicators incorporated in motor vehicles B60K35/00; measuring frequency or phase G01R; traffic control G08G})

## Abstract

There is provided an optical sensor including a photodiode, a wave converter, a pixel array and a processor. The photodiode detects ambient light flicker to generate sine waves. The wave converter converts the sine waves to square waves. The processor uses a sampling frequency to count the square waves, and identifies whether the ambient light flicker is well detected according to a counting value of each square wave and a counting value variation of multiple square waves within a count period to accordingly determine whether to recognize a frequency of ambient light flicker and adjust an acquiring phase of the image frame.

## Claims

### Claim 1

An optical sensor, comprising:
a photodiode, configured to detect ambient light flicker to generate a light signal;
a wave converter, configured to receive the light signal and to generate a square wave signal;
a pixel array, configured to acquire image frames according to frame ticks; and
a digital backend, configured to
count the square wave signal using a sampling frequency,
generate a trigger tick for adjusting the frame ticks,
compare a counting value of a last square wave signal in a count period with at least one count threshold to identify whether a frequency of the ambient light flicker is a first frequency or a second frequency when the trigger tick is generated, and
generate the frame ticks corresponding to the first frequency and the second frequency.

### Claim 2 (depends on 1)

The optical sensor as claimed in claim 1, wherein the photodiode is separated from the pixel array.

### Claim 3 (depends on 1)

The optical sensor as claimed in claim 1, wherein
the first frequency is 100 HZ and the count period includes 100 square wave periods of the square wave signal, and
the second frequency is 120 HZ and the count period includes 120 square wave periods of the square wave signal.

### Claim 4 (depends on 1)

The optical sensor as claimed in claim 1, wherein
the trigger tick is generated when the digital backend identifies that a counting value of every square wave signal within the count period is within two predetermined thresholds as well as a difference value between a maximum counting value and a minimum counting value among multiple counting values of all square wave signals within the count period is within a predetermined range.

### Claim 5 (depends on 1)

The optical sensor as claimed in claim 1, wherein the digital backend is further configured to calculate a first time difference between a reference tick and the trigger tick,
calculate a second time difference between a first frame tick of a next count period behind the count period and the trigger tick, and
calculate a time offset between the first time difference and the second time difference to adjust a first period between a second frame tick of the next count period and the first frame tick according to the time offset.

### Claim 6 (depends on 5)

The optical sensor as claimed in claim 5, wherein
a rising edge of the reference tick is in-phase with a rising edge of a first square wave signal of the next count period, and
a rising edge of the trigger tick is in-phase with a falling edge of the last square wave signal of the count period.

### Claim 7 (depends on 5)

The optical sensor as claimed in claim 5, wherein a subsequent period of the frame ticks behind the second frame tick of the next count period is arranged as one square wave period of the square wave signal.

### Claim 8 (depends on 1)

The optical sensor as claimed in claim 1, wherein
upon identifying that the frequency is the first frequency, the digital backend is configured to generate one frame tick every first number of oscillations of the sampling frequency, and
upon identifying that the frequency is the second frequency, the digital backend is configured to generate one frame tick every second number, different from the first number, of oscillations of the sampling frequency.

### Claim 9 (depends on 1)

The optical sensor as claimed in claim 1, wherein the photodiode is included in at least one edge pixel of the pixel array.

### Claim 10 (depends on 1)

The optical sensor as claimed in claim 1, wherein the digital backend is further configured not to compare the counting value of the last square wave signal in the count period with the at least one count threshold when the trigger tick is not generated.

### Claim 11

An optical sensor, comprising:
a photodiode, configured to detect ambient light flicker to generate a light signal;
a wave converter, configured to receive the light signal and to generate a square wave signal;
a pixel array, configured to acquire image frames according to frame ticks; and
a digital backend, configured to
count the square wave signal using a sampling frequency,
generate a trigger tick for adjusting the frame ticks, and
compare a counting value of a last square wave signal in a count period with at least one count threshold to identify whether a frequency of the ambient light flicker is a first frequency or a second frequency when the trigger tick is generated,
wherein the pixel array is configured to acquire the image frames corresponding to the first frequency and the second frequency.

### Claim 12 (depends on 11)

The optical sensor as claimed in claim 11, wherein the photodiode is separated from the pixel array.

### Claim 13 (depends on 11)

The optical sensor as claimed in claim 11, wherein
the first frequency is 100 HZ and the count period includes 100 square wave periods of the square wave signal, and
the second frequency is 120 HZ and the count period includes 120 square wave periods of the square wave signal.

### Claim 14 (depends on 11)

The optical sensor as claimed in claim 11, wherein
the trigger tick is generated when the digital backend identifies that a counting value of every square wave signal within the count period is within two predetermined thresholds as well as a difference value between a maximum counting value and a minimum counting value among multiple counting values of all square wave signals within the count period is within a predetermined range.

### Claim 15 (depends on 11)

The optical sensor as claimed in claim 11, wherein the digital backend is further configured to calculate a first time difference between a reference tick and the trigger tick,
calculate a second time difference between a first frame tick of a next count period behind the count period and the trigger tick, and
calculate a time offset between the first time difference and the second time difference to adjust a first period between a second frame tick of the next count period and the first frame tick according to the time offset.

### Claim 16 (depends on 15)

The optical sensor as claimed in claim 15, wherein
a rising edge of the reference tick is in-phase with a rising edge of a first square wave signal of the next count period, and
a rising edge of the trigger tick is in-phase with a falling edge of the last square wave signal of the count period.

### Claim 17 (depends on 15)

The optical sensor as claimed in claim 15, wherein a subsequent period of the frame ticks behind the second frame tick of the next count period is arranged as one square wave period of the square wave signal.

### Claim 18 (depends on 11)

The optical sensor as claimed in claim 11, wherein the photodiode is included in at least one edge pixel of the pixel array.

### Claim 19 (depends on 11)

The optical sensor as claimed in claim 11, wherein
upon identifying that the frequency is the first frequency by the digital backend, the pixel array is configured to acquire one image frame every first number of the frame ticks, and
upon identifying that the frequency is the second frequency by the digital backend, the pixel array is configured to acquire one image frame every second number, different from the first number, of the frame ticks.

### Claim 20 (depends on 11)

The optical sensor as claimed in claim 11, wherein the digital backend is further configured not to compare the counting value of the last square wave signal in the count period with the at least one count threshold when the trigger tick is not generated.
