IP Library Granted Patent US 9,032,239
Granted Patent B2
US 9,032,239 · App. 13/716,029 · Granted May 12, 2015

HS-CAN bus clock recovery using a tracking oscillator circuit

Inventors: Panny Cai (Shanghai, CN); Martin Haug (Shanghai, CN)
Assignee: STMicroelectronics R&D (Shanghai) Co. Ltd.
G06F1/04G06F11/3051G06F3/044
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 9,032,239
App. No.
13/716,029
Granted
May 12, 2015
Kind
B2
Abstract

A method for recovering a clock frequency of a CAN bus, the method including: receiving a data signal, wherein the data signal includes at least one state transition; detecting the state transition; and adjusting a frequency of a clocking signal generated by an oscillator circuit, wherein the frequency is adjusted when the state transition is detected and adjusting the frequency is for recovering the clock frequency of the CAN bus.

Claims (39)

1. A tracking oscillator circuit for recovering a clock frequency of a received data signal from a controller area network (CAN) bus, the received data signal operating based upon a plurality of state transitions, the tracking oscillator circuit comprising:

an edge detector circuit configured to detect at least one state transition of the received data signal, the at least one state transition comprising one of a rising edge or a falling edge;

an oscillator circuit configured to

generate an internal oscillator signal of a first frequency, the received data signal being based upon a second frequency, and

synchronize the first frequency with the second frequency of the received data signal; and

a synchronization generator circuit coupled to said edge detector circuit and configured to generate at least one synchronization signal based upon the detected at least one state transition.

2. The tracking oscillator circuit of claim 1 wherein the oscillator circuit comprises:

a first set of switches configured to be controlled by a first state of the at least one a synchronization signal; and

a second set of switches configured to be controlled by a second state of the at least one synchronization signal, the oscillator circuit being reset during the first state, the oscillator being free running during the second state.

3. The tracking oscillator circuit of claim 1 further comprising a track and counter circuit configured to adjust the first frequency of the oscillator circuit.

4. The tracking oscillator circuit of claim 1 further comprising a sampling circuit configured to sample the received data signal at a programmable sampling point.

5. A controller area network (CAN) bus system comprising:

a CAN bus; and

a tracking oscillator circuit for recovering a clock frequency of a received data signal from said CAN bus, the received data signal operating based upon a plurality of state transitions, the tracking oscillator circuit comprising

an edge detector circuit configured to detect at least one state transition of the received data signal, the at least one state transition comprising one of a rising edge or a falling edge,

an oscillator circuit configured to

generate an internal oscillator signal of a first frequency, the received data signal being based upon a second frequency, and

synchronize the first frequency with the second frequency of the received data signal, and

a synchronization generator circuit coupled to said edge detector circuit and configured to generate at least one synchronization signal based upon the detected at least one state transition.

6. The CAN bus system of claim 5 wherein the oscillator circuit comprises:

a first set of switches configured to be controlled by a first state of the at least one synchronization signal; and

a second set of switches configured to be controlled by a second state of the at least one synchronization signal, the oscillator circuit being reset during the first state, the oscillator being free running during the second state.

7. The CAN bus system of claim 5 further comprising a track and counter circuit configured to adjust the first frequency of the oscillator circuit.

8. The CAN bus system of claim 5 further comprising a sampling circuit configured to sample the received data signal at a programmable sampling point.

9. The CAN bus system of claim 5 wherein the first frequency is equal to the second frequency.

10. The CAN bus system of claim 5 wherein the oscillator circuit comprises a capacitive element; and further comprising a compensation circuit configured to charge and discharge said capacitive element.

11. The CAN bus system of claim 10 wherein the capacitive element has a value of 2 pF.

12. A method for recovering a clock frequency of a received data signal from a controller area network (CAN) bus, the received data signal operating based upon a plurality of state transitions, the method comprising:

detecting at least one state transition of the received data signal, the at least one state transition comprising one of a rising edge or a falling edge;

operating an oscillator circuit to generate an internal oscillator signal of a first frequency, the received data signal being based upon a second frequency;

operating the oscillator circuit to synchronize the first frequency with the second frequency of the received data signal; and

generating at least one synchronization signal based upon the detected at least one state transition.

13. The method of claim 12 further comprising:

controlling a first set of switches in the oscillator circuit by a first state of the at least one synchronization signal; and

controlling a second set of switches in the oscillator circuit by a second state of the at least one synchronization signal, the oscillator circuit being reset during the first state, the oscillator being free running during the second state.

14. The method of claim 12 further comprising operating a track and counter circuit to adjust the first frequency of the oscillator circuit.

15. The method of claim 12 further comprising operating a sampling circuit to sample the received data signal at a programmable sampling point.

16. The method of claim 12 further comprising computing a restart time for resetting the oscillator circuit, and generating the at least one synchronization signal based on the computed restart time; and wherein the at least one synchronization signal is configured to restart the oscillator circuit when the at least one state transition is detected.

17. The method of claim 12 further comprising computing a compensation time for charging and discharging a capacitive element of the oscillator circuit such that an operational frequency of the oscillator circuit is maintained.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 16, 2013
From: CAI, PANNY; HAUG, MARTIN
To: STMICROELECTRONICS R&D (SHANGHAI) CO. LTD.
Reel/Frame 030422/0864 →
Priority Claims (1)
CN 2011 1 0461961 · Dec 31, 2011 · national
Continuity (1)
Related Publication 20130173949A1 · Jul 4, 2013