IP Library › Granted Patent US 12,203,774
Granted Patent B2
US 12,203,774 · App. 17/654,057 · Granted Jan 21, 2025

Trim circuit and method of oscillator drive circuit phase calibration

Inventors: Raghavendra N Sridhar (Queen Creek, AZ); Gerhard Trauth (Muret, FR); Keith L. Kraver (Gilbert, AZ); Sung Jin Jo (Gilbert, AZ)
Assignee: NXP USA, Inc.
G01C25/00B81B7/02G01C19/5726G01C19/5762H04L27/125B81B2201/0242
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 12,203,774
App. No.
17/654,057
Granted
Jan 21, 2025
Kind
B2
Abstract

An oscillator drive circuit and a trim circuit are implemented inside an integrated circuit of a sensor. The drive circuit provides an oscillating drive signal at a resonant frequency to drive a movable mass of the sensor. The drive circuit includes a phase shift circuit having an input for receiving a first signal indicative of an oscillation of the movable mass and having an output. The phase shift circuit adds a phase shift component to the first signal and produces a second signal shifted in phase by the phase shift component. The trim circuit includes a first comparator for receiving the first signal, a second comparator for receiving the second signal, and a processing element. The processing element determines a phase lag between the first and second signals and produces trim code for use by the phase shift circuit, the trim code being configured to adjust the phase shift component.

Claims (40)

1. A trim circuit for a sensor, the sensor including an oscillator drive circuit configured to provide an oscillating drive signal at a resonant frequency to drive a movable mass of the sensor, the oscillator drive circuit including a phase shift circuit having an input configured to receive a first signal indicative of an oscillation of the movable mass and having an output, the phase shift circuit being configured to add a phase shift component to the first signal and produce a second signal shifted in phase by the phase shift component, wherein the trim circuit comprises:

a first comparator connected with the input of the phase shift circuit and configured to receive the first signal;

a second comparator in communication with the output of the phase shift circuit and configured to receive the second signal; and

a processing element in communication with the first and second comparators, the processing element being configured to determine a phase lag between the first and second signals and produce a trim code in response to the phase lag for use by the phase shift circuit, the trim code being configured to adjust the phase shift component, wherein the trim code is configured to minimize a difference between the phase lag and a target phase lag.

2. The trim circuit of claim 1 wherein the oscillator drive circuit and the trim circuit are implemented inside an integrated circuit of the sensor.

3. The trim circuit of claim 1 wherein the second comparator is only enabled during a trim process to produce the trim code.

4. The trim circuit of claim 1 wherein the first signal is an externally provided test signal at the resonant frequency.

5. The trim circuit of claim 1 wherein the oscillator drive circuit further includes a capacitance-to-voltage amplifier configured to receive a time variable charge indicative of an induced oscillation of the movable mass and convert the time variable charge to the first signal, the first signal corresponding to the induced oscillation of the movable mass.

6. The trim circuit of claim 1 wherein the trim code is configured to be implemented at the phase shift circuit to adjust the phase shift component to produce a target phase lag between the first and second signals.

7. The trim circuit of claim 6 wherein the phase shift circuit comprises a 90° phase shifter, the target phase shift component is a 90° phase adjustment of the first signal to produce the second signal.

8. The trim circuit of claim 1 further comprising an oscillator for providing a digital clock signal having a clock frequency that is greater than the resonant frequency, wherein the processing element is configured to:

determine a first quantity of clock pulses of the digital clock signal during a period of the first signal;

define a target phase shift component in response to the first quantity of clock pulses:

determine a second quantity of clock pulses of the digital clock signal between a first edge of the first signal and a second edge of the second signal;

define a target phase shift component in response to the first quantity of clock pulses;

determine a second quantity of clock pulses of the digital clock signal between a first edge of the first signal and a second edge of the second signal; and

determine the phase lag from the second quantity of clock pulses.

9. A device comprising:

a movable mass;

an oscillator drive circuit configured to provide an oscillating drive signal at a resonant frequency to drive the movable mass, the oscillator drive circuit including a phase shift circuit having an input configured to receive a first signal indicative of an oscillation of the movable mass and having an output, the phase shift circuit being configured to add a phase shift component to the first signal and produce a second signal shifted in phase by the phase shift component; and

a trim circuit comprising:

a first comparator connected with the input of the phase shift circuit and configured to receive the first signal;

a second comparator in communication with the output of the phase shift circuit and configured to receive the second signal; and

a processing element in communication with the first and second comparators, the processing element being configured to determine a phase lag between the first and second signals and produce a trim code in response to the phase lag for use by the phase shift circuit, wherein the oscillator drive circuit and the trim circuit are implemented inside an integrated circuit of the device, wherein the trim code is configured to minimize a difference between the phase lag and a target phase lag.

10. The device of claim 9 wherein the second comparator is only enabled during a trim process to produce the trim code.

11. The device of claim 9 wherein the trim code is configured to be implemented at the phase shift circuit to adjust the phase shift component to produce a target phase lag between the first and second signals.

12. A device comprising:

a movable mass;

an oscillator drive circuit configured to provide an oscillating drive signal at a resonant frequency to drive the movable mass, the oscillator drive circuit including a phase shift circuit having an input configured to receive a first signal indicative of an oscillation of the movable mass and having an output, the phase shift circuit being configured to add a phase shift component to the first signal and produce a second signal shifted in phase by the phase shift component;

a trim circuit comprising:

a first comparator connected with the input of the phase shift circuit and configured to receive the first signal;

a second comparator in communication with the output of the phase shift circuit and configured to receive the second signal; and

a processing element in communication with the first and second comparators, the processing element being configured to determine a phase lag between the first and second signals and produce a trim code in response to the phase lag for use by the phase shift circuit, wherein the oscillator drive circuit and the trim circuit are implemented inside an integrated circuit of the device; and

an oscillator for producing a digital clock signal having a clock frequency that is greater than the resonant frequency, wherein the processing element is configured to:

determine a first quantity of clock pulses of the digital clock signal during a period of the first signal;

define a target phase lag in response to the first quantity of clock pulses:

determine a second quantity of clock pulses of the digital clock signal between a first edge of the first signal and a second edge of the second signal;

determine the phase lag from the second quantity of clock pulses; and produce the trim code that minimizes a difference between the phase lag and the target phase lag.

13. The trim circuit of claim 12 wherein the second comparator is only enabled during a trim process to produce the trim code.

14. The device of claim 12 wherein the trim code is configured to be implemented at the phase shift circuit to adjust the phase shift component to produce a target phase lag between the first and second signals.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 11, 2026
From: NXP USA, INC.
To: STMICROELECTRONICS INTERNATIONAL N.V.
Reel/Frame 075090/0552 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 26, 2024
From: SRIDHAR, RAGHAVENDRA N; TRAUTH, GERHARD; KRAVER, KEITH L.; JO, SUNG JIN
To: NXP USA, INC.
Reel/Frame 068707/0391 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 9, 2022
From: SRIDHAR, RAGHAVENDRA N; TRAUTH, GERHARD; KRAVER, KEITH L.; JO, SUNG JIN
To: NXP USA, INC.
Reel/Frame 059205/0353 →
Priority Claims (1)
EP 21305450 · Apr 8, 2021 · regional
Continuity (1)
Related Publication 20220326044A1 · Oct 13, 2022
References Cited (9)
US 7003066B1 · Davies · 2006 [cited by examiner]
US 20080013656A1 · Van Sinderen et al. · 2008 [cited by applicant]
US 20110254599A1 · Dikshsit et al. · 2011 [cited by applicant]
US 20120303688A1 · Kuo · 2012 [cited by examiner]
US 20140118040A1 · Nakayama · 2014 [cited by examiner]
US 20150280949A1 · Cornibert · 2015 [cited by examiner]
US 20160290804A1 · Cassagnes · 2016 [cited by examiner]
JP S60208115A · 1984 [cited by applicant]
JP 60208115A · 1985 [cited by applicant]