Internal clock monitoring using external clock provided by communication interface
Abstract
An integrated circuit (IC) includes an internal clock source configured to generate an internal clock signal; a communication interface configured to receive an external clock signal from an external clock source and a communication frame signal that signals a communication frame during which data communication between the IC and the external clock source is enabled, wherein the external clock signal and the communication frame signal are received in parallel; and a clock monitoring circuit configured to monitor the internal clock signal based on the external clock signal. The clock monitoring circuit is configured to compare the internal clock signal and the external clock signal during the communication frame, and generate a timing error signal if a frequency of the internal clock signal does not satisfy a predetermined threshold relative to a frequency of the external clock signal.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 0.
Claims (12 — 2 Independent, 10 Dependent)
- Claim 1Independent Claim
An integrated circuit (IC), comprising: an internal clock source configured to generate an internal clock signal; a communication interface configured to receive an external clock signal from an external clock source and a communication frame signal that signals a communication frame during which data communication between the IC and the external clock source is enabled, wherein the external clock signal and the communication frame signal are received in parallel; and a clock monitoring circuit configured to monitor the internal clock signal based on the external clock signal, wherein the clock monitoring circuit is configured to compare the internal clock signal and the external clock signal during the communication frame, and generate a timing error signal if a frequency of the internal clock signal does not satisfy a predetermined threshold relative to a frequency of the external clock signal, wherein the predetermined threshold is a first predetermined threshold, wherein the clock monitoring circuit comprises: a first counter configured to receive the internal clock signal and generate a first counter value that is representative of a first number of internal clock cycles of the internal clock signal that occur during a first time interval; a second counter configured to receive the external clock signal and generate a second counter value that is representative of a first number of external clock cycles of the external clock signal that occur during the first time interval; and a processing unit configured to perform a first comparison by comparing a first measurement value derived from the first counter value and the second counter value with the first predetermined threshold, wherein the first comparison is sufficient to quantify a deviation of a frequency ratio of the frequency of the internal clock signal to the frequency of the external clock signal from a nominal ratio, and wherein the processing unit is configured to generate a first timing error signal if the first comparison indicates that the first measurement value exceeds the first predetermined threshold, wherein the first counter is configured to receive the internal clock signal and generate a third counter value that is representative of a second number of internal clock cycles of the internal clock signal that occur during a second time interval, wherein the first time interval and the second time interval have different durations, wherein the second counter is configured to receive the external clock signal and generate a fourth counter value that is representative of a second number of external clock cycles of the external clock signal that occur during the second time interval, and wherein the processing unit is configured to perform a second comparison by comparing a second measurement value derived from the third counter value and the fourth counter value with a second predetermined threshold, wherein the second comparison is sufficient to quantify a deviation of the frequency ratio of the frequency of the internal clock signal to the frequency of the external clock signal from the nominal ratio, and wherein the processing unit is configured to generate a second timing error signal if the second comparison indicates that the second measurement value exceeds the second predetermined threshold.
- Claim 2Depends on #1
The IC of claim 1, wherein the first time interval is defined by a single external clock cycle of the external clock signal, and wherein the second time interval is defined by a single communication frame of the communication frame signal.
- Claim 3Depends on #2
The IC of claim 2, wherein the first predetermined threshold is smaller than the second predetermined threshold.
- Claim 4Depends on #1
The IC of claim 1, wherein the external clock signal includes a predefined number of external clock cycles per communication frame of the communication frame signal, and wherein, during normal operation of the internal clock source, the internal clock signal includes a first predefined number of internal clock cycles per external clock cycle of the external clock signal and a second predefined number of internal clock cycles per communication frame of the communication frame signal.
- Claim 5Independent Claim
A communication system, comprising: a first integrated circuit (IC) comprising: a first clock source configured to generate a first clock signal; and a first communication interface configured to generate a first communication signal having a signal period proportional to a first clock period of the first clock signal, and transmit the first communication signal; a second IC comprising: a second clock source configured to generate a second clock signal having a second clock period; a sampling circuit configured to detect transition edges of the first communication signal to determine the signal period of the first communication signal; a scaler configured to scale the signal period by a first scaling factor to derive a first clock value that is representative of the first clock period of the first clock signal; and a clock monitoring circuit configured to monitor the first clock signal based on the second clock signal, wherein the clock monitoring circuit is configured to receive the first clock value from the scaler, and generate a timing error signal if the first clock value deviates from a second clock value derived from the second clock signal by more than a first predetermined threshold.
- Claim 6Depends on #5
The communication system of claim 5, wherein the first communication interface is a pulse-width modulation (PWM) interface and the first communication signal is a PWM signal.
- Claim 7Depends on #5
The communication system of claim 5, wherein the second clock value is representative of the second clock period, and wherein the clock monitoring circuit is configured to calculate a difference between the first clock value and the second clock value, and generate the timing error signal if the difference is greater than the first predetermined threshold.
- Claim 8Depends on #7
The communication system of claim 7, wherein the second IC comprises a timer module configured to receive the second clock signal and derive the second clock value from the second clock signal.
- Claim 9Depends on #5
The communication system of claim 5, wherein the clock monitoring circuit is configured to determine that the first clock source is operating normally if the first clock value does not deviate from the second clock value by more than the first predetermined threshold.
- Claim 10Depends on #5
The communication system of claim 5, wherein the first IC is integrated on a first semiconductor chip and the second IC is integrated on a second semiconductor chip.
- Claim 11Depends on #5
The communication system of claim 5, wherein the first communication signal is representative of a first value to be transmitted to the second IC, wherein the first IC comprises a second communication interface configured to generate a second communication signal that is representative of a second value to be transmitted to the second IC, wherein the second IC comprises a third communication interface configured to receive the first communication signal and decode the first communication signal to obtain the first value, and a fourth communication interface configured to receive the second communication signal and decode the second communication signal to obtain the second value, and wherein the second IC comprises a value monitoring circuit configured to compare the first value and the second value, and generate a communication error signal if the first value deviates from the second value by more than a second predetermined threshold.
- Claim 12Depends on #11
The communication system of claim 11, wherein the first value is represented by a first pulse width, a duty cycle, or the signal period of the first communication signal, and the second value is represented by a number of pulses and a relationship between pulses on different signal lines transmitted via the second communication signal, a serial binary code on the second communication signal, or parallel binary code on the second communication signal.
Technical Overview & Description
BACKGROUND When a digital sensor is used, clock monitoring is an essential safety measure to ensure detection of common cause failures. However, monitoring a clock signal that is generated internally by the digital sensor can typically only be implemented with low accuracy and limited diagnostic coverage giving only marginal benefit, or with high accuracy and considerable effort. When performed internally by the digital sensor, the clock monitoring also requires a redundant clock source, which needs to be tested before the redundant clock can be used reliably for the clock monitoring. For high accuracy, that clock source needs to be trimmed as well. Trimming and testing of the redundant clock increase chip area of the digital sensor and increases test times, both of which result in higher costs. The trimming of the redundant clock is inherently dependent on a digital core of the digital sensor, which reduces the diagnostic coverage of the safety mechanism. Especially because the safety mechanism is usually implemented to protect the digital core from the common cause failure of faulty clock signal. SUMMARY In some implementations, a communication system includes a first integrated circuit (IC) comprising: a first clock source configured to generate a first clock signal; a counter configured to receive the first clock signal and increment or decrement a counter value based on the first clock signal; and a first communication interface configured to receive the counter value from the counter and transmit the counter value from the first IC; and a second IC comprising: a second clock source configured to generate a second clock signal; a sampling circuit configured to acquire a first sample of the counter value at a first sampling time, acquire a second sample of the counter value at a second sampling time, and calculate a difference value as a difference between the second sample and the first sample; and a clock monitoring circuit configured to monitor the first cloc
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (14)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2025/0052812 A1 | APPARATUS AND METHODS FOR VOLTAGE DROOP DETECTION IN DIE ARCHITECTURES | — | 2 |