IP Library Granted Patent US 12676612
Granted Patent B2
US 12676612 · App. 19/231,289 · Granted Jul 7, 2026

IR timing calibration for a key switch

Inventors: Jérémie Willemin (Zhubei City, TW); Yu-Sen Chen (Hsinchu County, TW); Chi-Hsun Tsao (Taoyuan County, TW)
Assignee: Logitech Europe S.A.
H03K17/9636G08B21/182H01H13/705H03K17/9629H03K17/969H03K2217/94104
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12676612
App. No.
19/231,289
Granted
Jul 7, 2026
Kind
B2
Abstract

A keyboard system comprises a key structure including a key switch with a lighting element and phototransistor, and one or more processors that drive the lighting element for a first pulse duration. The output of the phototransistor is determined at the end of the first pulse duration, wherein the key structure is determined to be pressed when the output is below a first output value at an end of the first pulse duration, and unpressed when the output of the phototransistor is above a second output value at the end of the first pulse duration. A fall-time of the output during the first pulse duration is determined and the first pulse duration is calibrated to a second pulse duration when the fall time less than the first pulse duration, the second pulse duration being greater than the fall time and less than the first pulse duration.

Claims (45)

1 . A keyboard system comprising:

a key structure including a key switch comprised of:

a lighting element; and

a phototransistor;

one or more processors communicatively coupled to the key switch, the one or more processors configured to:

drive the lighting element for a first pulse duration;

determine an output of the phototransistor at an end of the first pulse duration;

determine a press state of the key structure based at least in part on an output value of the output of the phototransistor at the end of the first pulse duration;

determine a fall-time of the output of the phototransistor during the first pulse duration; and

calibrate the first pulse duration to a second pulse duration when the fall-time of the output of the phototransistor is less than the first pulse duration, wherein the second pulse duration is greater than the fall-time and less than the first pulse duration.

2 . The keyboard system of claim 1 wherein the key structure further comprises:

a switch blocker configured to:

obstruct a line-of-sight between the lighting element and the phototransistor when the key structure is pressed; and

clear the line-of-sight when the key structure is unpressed.

3 . The keyboard system of claim 2 wherein the key switch is a hybrid key switch including:

a contactless key switch comprising the lighting element, the phototransistor, and the switch blocker; and

a contact-based key switch.

4 . The keyboard system of claim 3 wherein the contactless key switch is an optical key switch and the contact-based key switch is a galvanic key switch.

5 . The keyboard system of claim 2 wherein the key switch is a normally open switch.

6 . The keyboard system of claim 1 wherein the lighting element is an infrared (IR) diode and the phototransistor is an npn-type transistor.

7 . The keyboard system of claim 1 wherein the second pulse duration is equal to the fall-time plus a buffer time between 2 μs and 10 μs.

8 . The keyboard system of claim 1 wherein calibrating the first pulse duration to the second pulse duration occurs during a sleep mode of operation.

9 . The keyboard system of claim 1 further comprising a plurality of key structures, each key structure having a corresponding lighting element and corresponding phototransistor,

wherein determining the fall-time of the output of the phototransistor includes determining a maximum fall-time over the plurality of key structures, and

wherein the second pulse duration is greater than the maximum fall-time and less than the first pulse duration.

10 . The keyboard system of claim 1 wherein the one or more processors are operable to:

track changes in the fall-time of the output of the phototransistor over a period of use; and

generate an alert when the fall-time exceeds a threshold change in the fall-time over the period of use.

11 . The keyboard system of claim 1 wherein the one or more processors drive the lighting element at a periodic scan rate, wherein the periodic scan rate is increased based on a reduction of the second pulse duration from the first pulse duration.

12 . A method of operating a keyboard, the method comprising:

driving, by one or more processors of the keyboard, a lighting element of a key switch for a first pulse duration;

measuring an output of a phototransistor at an end of the first pulse duration;

determining that the key switch is pressed when the output of the phototransistor is below a first output value at the end of the first pulse duration;

determining that the key switch is unpressed when the output of the phototransistor is above a second output value at the end of the first pulse duration;

determining a fall-time of the output of the phototransistor during the first pulse duration; and

calibrating the first pulse duration to a second pulse duration when the fall-time of the output of the phototransistor is less than the first pulse duration, wherein the second pulse duration is greater than the fall-time and less than the first pulse duration.

13 . The method of claim 12 wherein the key switch is housed by a key structure, wherein the key structure further comprises:

a switch blocker configured to:

obstruct a line-of-sight between the lighting element and the phototransistor when the key structure is pressed; and

clear the line-of-sight when the key structure is unpressed.

14 . The method of claim 12 wherein the lighting element is an infrared (IR) diode and the phototransistor is an npn-type transistor.

15 . The method of claim 12 wherein the second pulse duration is equal to the fall-time plus a buffer time between 2 μs and 10 μs.

16 . The method of claim 12 further comprising:

driving the lighting element at a periodic scan rate; and

increasing the periodic scan rate based on a reduction of the second pulse duration from the first pulse duration.