US9225321B2 - Signal synchronizing systems and methods - Google Patents

Signal synchronizing systems and methods Download PDF

Info

Publication number
US9225321B2
US9225321B2 US13/172,647 US201113172647A US9225321B2 US 9225321 B2 US9225321 B2 US 9225321B2 US 201113172647 A US201113172647 A US 201113172647A US 9225321 B2 US9225321 B2 US 9225321B2
Authority
US
United States
Prior art keywords
signal
logic circuit
stage flip
flip flop
receive
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related, expires
Application number
US13/172,647
Other versions
US20120166856A1 (en
Inventor
Ankur Bal
Anupam Jain
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
STMICROELECTRONICS INTERNATIONAL NV
STMicroelectronics International NV
Original Assignee
STMicroelectronics International NV
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by STMicroelectronics International NV filed Critical STMicroelectronics International NV
Assigned to STMICROELECTRONICS PVT. LTD. reassignment STMICROELECTRONICS PVT. LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: BAL, ANKUR, JAIN, ANUPAM
Publication of US20120166856A1 publication Critical patent/US20120166856A1/en
Assigned to STMICROELECTRONICS INTERNATIONAL N.V. reassignment STMICROELECTRONICS INTERNATIONAL N.V. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: STMICROELECTRONICS PVT. LTD.
Application granted granted Critical
Publication of US9225321B2 publication Critical patent/US9225321B2/en
Expired - Fee Related legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/13Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals
    • H03K5/135Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals by the use of time reference signals, e.g. clock signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0016Arrangements for synchronising receiver with transmitter correction of synchronization errors
    • H04L7/0045Correction by a latch cascade
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/02Speed or phase control by the received code signals, the signals containing no special synchronisation information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/12Synchronisation of different clock signals provided by a plurality of clock generators

Definitions

  • Signal synchronizing systems and methods are disclosed, and more particularly, a signal receiver and a communication system.
  • synchronizers that prevent metastability and synchronize data across different unrelated clock domains may suffer from unpredictable data transfer delays across the domains.
  • signals as relative time stamps or, alternatively, where such signals have to be applied or released within a deterministic time, significant phase and latency error margins have to be taken care of.
  • a basic synchronizer that may include series-coupled flip-flops (FFs) may be used to prevent metastability and to minimize mean time between failures (MTBF). This arrangement may result in unpredictable phase offsets and may suffer from minimum pulse width constraints.
  • FFs series-coupled flip-flops
  • a signal synchronizing system may include a sequential logic circuit to receive an input signal and generate a plurality of intermediate signals from the input signal based on a clock signal, and a logic circuit to combine the intermediate signals for generating an output signal.
  • the input signal may comprise an asynchronous signal
  • the output signal may comprise a synchronous signal.
  • the sequential logic circuit may comprise a plurality of flip flops comprising a plurality of first-stage flip flops, wherein the first-stage flip flops may be configured to be coupled in series to a respective plurality of second-stage flip flops.
  • the respective inputs of the first-stage flip flops may be configured to receive the input signal.
  • the plurality of intermediate signals may comprise respective output signals of the plurality of second-stage flip flops.
  • Clock inputs to the flip flops may be derived from the clock signal to be time-offset from each other.
  • the clock inputs to a selected first group of flip flops may be configured to be inverted.
  • the clock inputs to a selected second group of flip flops may be configured to be delayed.
  • the flip flops may comprise D-type flip flops.
  • the logic circuit may comprise a pair of logic gates, wherein each of the logic gates may be configured to receive the plurality of intermediate signals as inputs.
  • the pair of logic gates may comprise an AND gate and an OR gate.
  • the system may further comprise a combinational logic circuit, wherein the combinational logic circuit may be configured to receive outputs of the AND and OR logic gates as inputs.
  • the combinational logic circuit may be configured to receive a delayed signal obtainable from one of the outputs of the logic gates.
  • the combinational logic circuit may be configured to generate the output signal rising with the rising edge of the OR logic gate output signal and falling with the falling edge of the AND logic gate output signal.
  • a signal receiver may include a microcontroller, and a signal synchronizer configured to be coupled to the microcontroller.
  • the signal synchronizer may further include a sequential logic circuit to receive an input signal from a transmitter and generate a plurality of intermediate signals from the input signal based on a clock signal, and a logic circuit configured to combine the intermediate signals for generating an output signal.
  • a communication system may include a signal transmitter, a signal receiver to receive an input signal from the transmitter.
  • the signal receiver may include a microcontroller.
  • a signal synchronizer may be configured to be coupled to the microcontroller that may include a sequential logic circuit to receive the input signal from the transmitter and generate a plurality of intermediate signals from the received input signal based on a clock signal.
  • a logic circuit may be configured to combine the intermediate signals for generating an output signal.
  • a signal synchronizing method may include receiving an input signal, generating a plurality of intermediate signals from the received input signal based on a clock signal. The intermediate signals may be combined to generate an output signal.
  • FIG. 1 a is a schematic view of a conventional synchronizer comprising series-coupled flip-flops.
  • FIG. 1 b is a graph of signals in the synchronizer of FIG. 1 a with respect to time.
  • FIG. 2 a shows a schematic of a signal synchronizing system according to the various embodiments.
  • FIG. 2 b shows graphs of signals in the circuit of FIG. 2 a with respect to time, according to the various embodiments.
  • FIG. 3 a shows a schematic circuit diagram illustrating a signal synchronizing system, according to the various embodiments.
  • FIG. 3 b shows graphs of signals in the circuit of FIG. 3 a with respect to time, according to the various embodiments.
  • FIG. 4 shows a block diagram illustrating a signal receiver comprising a signal synchronizing system according to the various embodiments.
  • FIG. 5 shows a block diagram illustrating a communication system comprising a signal transmitter, and the signal receiver of FIG. 4 , according to the various embodiments.
  • FIG. 6 shows a flow chart illustrating a signal synchronizing method, according to the various embodiments.
  • FIG. 1 a shows a schematic circuit diagram illustrating a synchronizer comprising series-coupled flip-flops FF 1 , FF 2 .
  • FIG. 1 b shows graphs of signals in the circuit of FIG. 1 a with respect to time.
  • An input signal d in to the first flip-flop FF 1 may come from asynchronous domains with unpredictable time stamps, as illustrated by multiple lines at the rising and falling edges of the input signal in FIG. 1 b .
  • an output from the first flip-flop FF 1 can have metastability issues as the metastability may be probabilistically resolved to either a ‘high’ value (i.e., a logic level 1) at time t 1 , or remain ‘low’ (i.e., a logic level 0) for an additional clock period and change to ‘high’ at time t 1 +T.
  • This uncertainty is carried forward through the second flip-flop FF 2 (which may delay the output from the first flip-flop FF 1 by one clock period) such that the output signal d out contains an error of ⁇ 1 clock period, as shown in FIGS. 1 a and 1 b . That is, if the pulse width of the input signal d in is equal or less than 1 clock period, the input signal d in may be “lost” (i.e., not detected) by the system.
  • One approach may include a two-stage synchronizer in which the second flip flop receives the output of the first flip flop as its clock input.
  • synchronizer requires an external processor to process partial outputs.
  • metastability can still enter in the second stage clock input, and there is no reduction in the error width.
  • Another approach may include a metastability filtering circuit comprising series-coupled flip flops.
  • this approach requires time for initial settling, and may not be suitable for a time-varying clock signal.
  • an additional clock signal (T 1 ) is needed as input, such approach may suffer from T 1 edge miss, i.e., the rising and falling edges do not occur at predetermined time.
  • Yet another approach may use a digital de-skew system to help prevent metastability. However, this approach may not work for a time-varying clock signal.
  • FIG. 2 a shows a schematic circuit diagram illustrating a signal synchronizing system 200 according to an example embodiment.
  • FIG. 2 b shows graphs of signals in the circuit of FIG. 2 a with respect to time.
  • the system 200 may include a sequential logic circuit in the form of a plurality of D-type flip flops 202 , 204 , 206 , 208 , which may be arranged such that an input signal d in , e.g., from asynchronous domains, is provided in parallel to respective D-inputs of flip flops 202 and 206 .
  • respective flip flop pairs 202 and 204 , 206 and 208 are series-coupled (i.e., output from first-stage flip flop 202 is coupled to the D-input of second-stage flip flop 204 , and output from first-stage flip flop 206 is coupled to the D-input of second-stage flip flop 208 ).
  • a clock signal CLK may be directly coupled to respective clock inputs of flip flops 202 and 204 .
  • the same clock signal CLK may be inverted and coupled to respective clock inputs of flip flops 206 and 208 .
  • the sequential logic circuit may comprise other types of flip flops.
  • outputs A and B from 2 nd -stage flip flips 204 and 208 may be coupled to each of logic gates 210 and 212 .
  • logic gate 210 comprises an AND gate
  • logic gate 212 comprises an OR gate.
  • Respective outputs d 0 and d 1 from the logic gates 210 and 212 may then be combined with an output d 1 ′ of another D-type flip flop 214 using e.g., a combinational logic circuit 216 to generate a single output d out .
  • the D-input of flip flop 214 may be coupled to d 1 .
  • Table 1 shows a suitable (i.e., one of many possible) truth table of the combinational logic circuit 216 used in the various embodiments.
  • np denotes “Not Possible”.
  • the input signal d in may comprise a pulse (with unpredictable time stamps) that rises e.g., at time t and has a pulse width of approximately three clock periods (3T).
  • output A from flip flop 204 comprises a pulse starting at approximately t+T and having a pulse width of approximately 3T ⁇ T (i.e., an error of ⁇ T).
  • the clock signal CLK may be inverted before coupling to flip flops 206 and 208 .
  • flip flops 206 and 208 may be triggered approximately half-a-clock period later than flip flops 202 and 204 respectively, at which time the input signal d in has stabilized as either high or low.
  • output B from flip flop 208 comprises a pulse starting at approximately t+1.5T and having a pulse width of approximately 3T (i.e., a substantially reduced error).
  • logic gate 212 comprises an OR gate
  • its output d 1 rises as long as either A or B is high. That is, when the input signal d in rises, such change is captured by the output d 1 , which has an error of about half-a-clock period (i.e., the 0.5T overlap between t+T and t+1.5T).
  • logic gate 210 comprises an AND gate
  • its output d 0 falls as long as one of A and B is low. That is, when the input signal d in falls, such change is captured by the output d 0 , which also has an error of about half a clock period (0.5T).
  • the system By configuring the combinational logic circuit 216 to generate the output d out that is based on d 1 when the input d in is changing from low to high (i.e., 0 to 1), and based on d 0 when the input d in is changing from high to low (i.e., 1 to 0), the system according to the various embodiments are capable of registering the correct data while significantly reducing the error.
  • the output signal d out has a pulse width of about 3T ⁇ 0.5T (i.e. the maximum error is about half a clock period).
  • inverting the clock signal CLK introduces a trigger difference of approximately 0.5T to the clock inputs of flip flops 206 and 208 , as compared to flip flops 202 and 204 , thereby a time-offset of 0.5T between outputs A and B.
  • This may reduce the error in the output signal d out by approximately one-half, as described in detail above.
  • the error may be further reduced by reducing the trigger difference, e.g., by using a combination of more flip flops with appropriate delaying and/or inverting.
  • FIG. 3 a shows a schematic circuit diagram illustrating a signal synchronizing system 300 , according to the various embodiments.
  • FIG. 3 b shows graphs of signals in the circuit of FIG. 3 a with respect to time.
  • the system 300 may comprise additional flip flops. As shown in FIG. 3 a , four pairs of series-coupled D-type flip flops ( 302 and 304 , 306 and 308 , 310 and 312 , 314 and 316 ) may be present. The clock signal CLK to some of the flip flops may be inverted.
  • the system 300 may comprise delay devices DL 1 , DL 2 coupled to clock inputs of some of the first-stage flip flops. Delay devices DL 1 and DL 2 are configured to provide different delays so that different combinations of delaying and inverting may be provided to the clock inputs of the pairs of series-coupled flip flops.
  • the first-stage flip flops 302 , 306 , 310 and 314 may be triggered at slightly different times.
  • outputs A 1 , A 2 , A 3 , A 4 from the second-stage flip flops 304 , 308 , 312 , 316 respectively are time-offset from each other.
  • These outputs may be coupled to each of logic gates 318 (AND gate) and 320 (OR gate).
  • respective outputs d 0 and d 1 from the logic gates 318 and 320 may then be combined with an output d 1 ′ of another D-type flip flop 322 using e.g., the same combinational logic circuit 216 as described previously, to generate a single output d out .
  • system 300 utilizes four pairs of series-coupled flip flops and two delay devices, a different number of such components can be used in the various embodiments to achieve other error reductions.
  • the system of the various embodiments may provide an effective solution, in which data pulse width uncertainty may reduce.
  • the latency between input and output data is low ( ⁇ 1T).
  • the latency is approximately n ⁇ 1 clock cycles.
  • the system may be implemented with minimal area overhead, and may be suitable for integration with existing digital systems.
  • FIG. 4 shows a block diagram illustrating a signal receiver 400 comprising a signal synchronizing system 410 (herein interchangeably referred to as a signal synchronizer 410 ), as described above with respect to FIG. 2 or 3 .
  • the signal receiver 400 may comprise a microcontroller 420 configured to be coupled to the signal synchronizer 410 , and other components, e.g., an amplifier, modulator, etc. (not shown).
  • the signal receiver 400 typically receives the input signal from a transmitter (not shown).
  • FIG. 5 shows a block diagram illustrating a communication system 500 comprising a signal transmitter 510 , and a signal receiver 400 as described above with respect to FIG. 4 .
  • the signal receiver 400 may be configured to be coupled to, and receive the input signal from, the signal transmitter 510 (e.g., via a data link 520 ).
  • FIG. 6 shows a flow chart illustrating a signal synchronizing method 600 according to the various embodiments.
  • an input signal is received.
  • a plurality of intermediate signals are generated from the received input signal based on a clock signal.
  • the intermediate signals are combined for generating an output signal.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Nonlinear Science (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

Signal synchronizing systems and methods are disclosed. A signal synchronizing system includes a sequential logic circuit to receive an input signal and to generate a plurality of intermediate signals from the input signal based on a clock signal. A logic circuit combines the intermediate signals to generate an output signal. A signal receiver includes a microcontroller and a signal synchronizer coupled to the microcontroller. The signal synchronizer includes a sequential logic circuit to receive an input signal from a transmitter and to generate a plurality of intermediate signals from the received input signal based on a clock signal. A logic circuit combines the intermediate signals to generate an output signal.

Description

PRIORITY CLAIM
The instant application claims priority to Indian Patent Application No. 3124/DEL/2010, filed Dec. 28, 2010, which application is incorporated herein by reference in its entirety.
TECHNICAL FIELD
Signal synchronizing systems and methods are disclosed, and more particularly, a signal receiver and a communication system.
BACKGROUND
In digital circuits, synchronizers that prevent metastability and synchronize data across different unrelated clock domains may suffer from unpredictable data transfer delays across the domains. In designs that use such signals as relative time stamps or, alternatively, where such signals have to be applied or released within a deterministic time, significant phase and latency error margins have to be taken care of.
For example, a basic synchronizer that may include series-coupled flip-flops (FFs) may be used to prevent metastability and to minimize mean time between failures (MTBF). This arrangement may result in unpredictable phase offsets and may suffer from minimum pulse width constraints.
SUMMARY
According to a first aspect, a signal synchronizing system may include a sequential logic circuit to receive an input signal and generate a plurality of intermediate signals from the input signal based on a clock signal, and a logic circuit to combine the intermediate signals for generating an output signal. The input signal may comprise an asynchronous signal, and the output signal may comprise a synchronous signal.
The sequential logic circuit may comprise a plurality of flip flops comprising a plurality of first-stage flip flops, wherein the first-stage flip flops may be configured to be coupled in series to a respective plurality of second-stage flip flops.
The respective inputs of the first-stage flip flops may be configured to receive the input signal. The plurality of intermediate signals may comprise respective output signals of the plurality of second-stage flip flops.
Clock inputs to the flip flops may be derived from the clock signal to be time-offset from each other. The clock inputs to a selected first group of flip flops may be configured to be inverted. The clock inputs to a selected second group of flip flops may be configured to be delayed.
The flip flops may comprise D-type flip flops.
The logic circuit may comprise a pair of logic gates, wherein each of the logic gates may be configured to receive the plurality of intermediate signals as inputs.
The pair of logic gates may comprise an AND gate and an OR gate.
The system may further comprise a combinational logic circuit, wherein the combinational logic circuit may be configured to receive outputs of the AND and OR logic gates as inputs.
The combinational logic circuit may be configured to receive a delayed signal obtainable from one of the outputs of the logic gates.
The combinational logic circuit may be configured to generate the output signal rising with the rising edge of the OR logic gate output signal and falling with the falling edge of the AND logic gate output signal.
According to a second aspect, a signal receiver may include a microcontroller, and a signal synchronizer configured to be coupled to the microcontroller. The signal synchronizer may further include a sequential logic circuit to receive an input signal from a transmitter and generate a plurality of intermediate signals from the input signal based on a clock signal, and a logic circuit configured to combine the intermediate signals for generating an output signal.
According to a third aspect, a communication system may include a signal transmitter, a signal receiver to receive an input signal from the transmitter. The signal receiver may include a microcontroller. A signal synchronizer may be configured to be coupled to the microcontroller that may include a sequential logic circuit to receive the input signal from the transmitter and generate a plurality of intermediate signals from the received input signal based on a clock signal. A logic circuit may be configured to combine the intermediate signals for generating an output signal.
According to a fourth aspect, a signal synchronizing method may include receiving an input signal, generating a plurality of intermediate signals from the received input signal based on a clock signal. The intermediate signals may be combined to generate an output signal.
BRIEF DESCRIPTION OF THE DRAWINGS
Various embodiments are described in detail in the discussion below and with reference to the following drawings.
FIG. 1 a is a schematic view of a conventional synchronizer comprising series-coupled flip-flops.
FIG. 1 b is a graph of signals in the synchronizer of FIG. 1 a with respect to time.
FIG. 2 a shows a schematic of a signal synchronizing system according to the various embodiments.
FIG. 2 b shows graphs of signals in the circuit of FIG. 2 a with respect to time, according to the various embodiments.
FIG. 3 a shows a schematic circuit diagram illustrating a signal synchronizing system, according to the various embodiments.
FIG. 3 b shows graphs of signals in the circuit of FIG. 3 a with respect to time, according to the various embodiments.
FIG. 4 shows a block diagram illustrating a signal receiver comprising a signal synchronizing system according to the various embodiments.
FIG. 5 shows a block diagram illustrating a communication system comprising a signal transmitter, and the signal receiver of FIG. 4, according to the various embodiments.
FIG. 6 shows a flow chart illustrating a signal synchronizing method, according to the various embodiments.
DETAILED DESCRIPTION
FIG. 1 a shows a schematic circuit diagram illustrating a synchronizer comprising series-coupled flip-flops FF1, FF2. FIG. 1 b shows graphs of signals in the circuit of FIG. 1 a with respect to time. An input signal din to the first flip-flop FF1 may come from asynchronous domains with unpredictable time stamps, as illustrated by multiple lines at the rising and falling edges of the input signal in FIG. 1 b. As a result, an output from the first flip-flop FF1 can have metastability issues as the metastability may be probabilistically resolved to either a ‘high’ value (i.e., a logic level 1) at time t1, or remain ‘low’ (i.e., a logic level 0) for an additional clock period and change to ‘high’ at time t1+T. This uncertainty is carried forward through the second flip-flop FF2 (which may delay the output from the first flip-flop FF1 by one clock period) such that the output signal dout contains an error of ±1 clock period, as shown in FIGS. 1 a and 1 b. That is, if the pulse width of the input signal din is equal or less than 1 clock period, the input signal din may be “lost” (i.e., not detected) by the system.
Prior attempts to use multiple flip flops to try to circumvent the above problem in a limited manner have been attempted, but these are typically not entirely effective in removing metastability. One approach may include a two-stage synchronizer in which the second flip flop receives the output of the first flip flop as its clock input. However, such synchronizer requires an external processor to process partial outputs. Also, metastability can still enter in the second stage clock input, and there is no reduction in the error width.
Another approach may include a metastability filtering circuit comprising series-coupled flip flops. However, this approach requires time for initial settling, and may not be suitable for a time-varying clock signal. Furthermore, as an additional clock signal (T1) is needed as input, such approach may suffer from T1 edge miss, i.e., the rising and falling edges do not occur at predetermined time.
Yet another approach may use a digital de-skew system to help prevent metastability. However, this approach may not work for a time-varying clock signal.
FIG. 2 a shows a schematic circuit diagram illustrating a signal synchronizing system 200 according to an example embodiment. FIG. 2 b shows graphs of signals in the circuit of FIG. 2 a with respect to time.
The system 200 may include a sequential logic circuit in the form of a plurality of D- type flip flops 202, 204, 206, 208, which may be arranged such that an input signal din, e.g., from asynchronous domains, is provided in parallel to respective D-inputs of flip flops 202 and 206. In addition, respective flip flop pairs 202 and 204, 206 and 208 are series-coupled (i.e., output from first-stage flip flop 202 is coupled to the D-input of second-stage flip flop 204, and output from first-stage flip flop 206 is coupled to the D-input of second-stage flip flop 208). A clock signal CLK may be directly coupled to respective clock inputs of flip flops 202 and 204. The same clock signal CLK may be inverted and coupled to respective clock inputs of flip flops 206 and 208. It will be appreciated that the sequential logic circuit may comprise other types of flip flops.
Still referring to FIG. 2 a, outputs A and B from 2nd-stage flip flips 204 and 208 may be coupled to each of logic gates 210 and 212. In the various embodiments, logic gate 210 comprises an AND gate, while logic gate 212 comprises an OR gate. Respective outputs d0 and d1 from the logic gates 210 and 212 may then be combined with an output d1′ of another D-type flip flop 214 using e.g., a combinational logic circuit 216 to generate a single output dout. In the various embodiments, as shown in FIG. 2 a, the D-input of flip flop 214 may be coupled to d1. It will be appreciated that the D-input of flip flop 214 may be coupled to d0 in the various embodiments. Table 1 shows a suitable (i.e., one of many possible) truth table of the combinational logic circuit 216 used in the various embodiments. In Table 1, np denotes “Not Possible”.
TABLE 1
d0 d1 d1′ dout
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 0
1 0 0 np
1 0 1 np
1 1 0 1
1 1 1 1
With reference now to FIG. 2 b, operation of the circuit 200 will now be described. In the various embodiments, the input signal din may comprise a pulse (with unpredictable time stamps) that rises e.g., at time t and has a pulse width of approximately three clock periods (3T). As a result, output A from flip flop 204 comprises a pulse starting at approximately t+T and having a pulse width of approximately 3T±T (i.e., an error of ±T).
In addition, as described above, the clock signal CLK may be inverted before coupling to flip flops 206 and 208. Thus, flip flops 206 and 208 may be triggered approximately half-a-clock period later than flip flops 202 and 204 respectively, at which time the input signal din has stabilized as either high or low. As a result, output B from flip flop 208 comprises a pulse starting at approximately t+1.5T and having a pulse width of approximately 3T (i.e., a substantially reduced error).
As logic gate 212 comprises an OR gate, its output d1 rises as long as either A or B is high. That is, when the input signal din rises, such change is captured by the output d1, which has an error of about half-a-clock period (i.e., the 0.5T overlap between t+T and t+1.5T). Also, as logic gate 210 comprises an AND gate, its output d0 falls as long as one of A and B is low. That is, when the input signal din falls, such change is captured by the output d0, which also has an error of about half a clock period (0.5T).
By configuring the combinational logic circuit 216 to generate the output dout that is based on d1 when the input din is changing from low to high (i.e., 0 to 1), and based on d0 when the input din is changing from high to low (i.e., 1 to 0), the system according to the various embodiments are capable of registering the correct data while significantly reducing the error. For example, and with reference to FIGS. 2 a and 2 b, the output signal dout has a pulse width of about 3T±0.5T (i.e. the maximum error is about half a clock period).
In the various embodiments, as shown in FIGS. 2 a and 2 b, inverting the clock signal CLK introduces a trigger difference of approximately 0.5T to the clock inputs of flip flops 206 and 208, as compared to flip flops 202 and 204, thereby a time-offset of 0.5T between outputs A and B. This may reduce the error in the output signal dout by approximately one-half, as described in detail above. The error may be further reduced by reducing the trigger difference, e.g., by using a combination of more flip flops with appropriate delaying and/or inverting.
FIG. 3 a shows a schematic circuit diagram illustrating a signal synchronizing system 300, according to the various embodiments. FIG. 3 b shows graphs of signals in the circuit of FIG. 3 a with respect to time.
In the various embodiments, the system 300 may comprise additional flip flops. As shown in FIG. 3 a, four pairs of series-coupled D-type flip flops (302 and 304, 306 and 308, 310 and 312, 314 and 316) may be present. The clock signal CLK to some of the flip flops may be inverted. In addition, the system 300 may comprise delay devices DL1, DL2 coupled to clock inputs of some of the first-stage flip flops. Delay devices DL1 and DL2 are configured to provide different delays so that different combinations of delaying and inverting may be provided to the clock inputs of the pairs of series-coupled flip flops. Thus, the first- stage flip flops 302, 306, 310 and 314 may be triggered at slightly different times.
As a result, outputs A1, A2, A3, A4 from the second- stage flip flops 304, 308, 312, 316 respectively are time-offset from each other. These outputs may be coupled to each of logic gates 318 (AND gate) and 320 (OR gate). Also, respective outputs d0 and d1 from the logic gates 318 and 320 may then be combined with an output d1′ of another D-type flip flop 322 using e.g., the same combinational logic circuit 216 as described previously, to generate a single output dout.
Still referring to FIG. 3 b, additional improvements in error reduction may be obtained due to a change in the input signal din from low to high that is detected by d1 with even lower uncertainty. Likewise, a change in the input signal din from high to low is detected by output d0 with even lower uncertainty. In other words, the maximum error is substantially less than half a clock period.
It will be appreciated that while the system 300 utilizes four pairs of series-coupled flip flops and two delay devices, a different number of such components can be used in the various embodiments to achieve other error reductions.
The system of the various embodiments may provide an effective solution, in which data pulse width uncertainty may reduce. In addition, the latency between input and output data is low (˜1T). In the various embodiments using a chain of n-FFs, the latency is approximately n−1 clock cycles. Also, the system may be implemented with minimal area overhead, and may be suitable for integration with existing digital systems.
FIG. 4 shows a block diagram illustrating a signal receiver 400 comprising a signal synchronizing system 410 (herein interchangeably referred to as a signal synchronizer 410), as described above with respect to FIG. 2 or 3. The signal receiver 400 may comprise a microcontroller 420 configured to be coupled to the signal synchronizer 410, and other components, e.g., an amplifier, modulator, etc. (not shown). The signal receiver 400 typically receives the input signal from a transmitter (not shown).
FIG. 5 shows a block diagram illustrating a communication system 500 comprising a signal transmitter 510, and a signal receiver 400 as described above with respect to FIG. 4. Here, the signal receiver 400 may be configured to be coupled to, and receive the input signal from, the signal transmitter 510 (e.g., via a data link 520).
FIG. 6 shows a flow chart illustrating a signal synchronizing method 600 according to the various embodiments. At 602, an input signal is received. At 604, a plurality of intermediate signals are generated from the received input signal based on a clock signal. At 606, the intermediate signals are combined for generating an output signal.
From the foregoing it will be appreciated that, although embodiments have been described herein for purposes of illustration, various modifications may be made without deviating from the spirit and scope of the disclosure. Furthermore, where an alternative is disclosed for a particular embodiment, this alternative may also apply to other embodiments even if not specifically stated.

Claims (21)

The invention claimed is:
1. A signal synchronizing system comprising:
a sequential logic circuit comprising:
a first sequential logic circuit configured to receive an input signal and generate a first intermediate signal from the input signal based on a single clock signal, the first sequential logic circuit comprising a first-stage flip flop coupled in series to a second-stage flip flop, the first-stage flip flop and second-stage flip flop being clocked by the single clock signal;
a second sequential logic circuit to receive the input signal and generate a second intermediate signal from the input signal based upon an inverse of the single clock signal, the second sequential logic circuit comprising a first-stage flip flop coupled in series to a second-stage flip flop, the first-stage flip flop and second-stage flip flop being clocked by the inverse of the single clock signal; and
a logic circuit configured to combine the first and second intermediate signals to generate an output signal, the logic circuit comprising a first logic gate to receive the first intermediate signal and the second intermediate signal and a second logic gate to receive the first intermediate signal and the second intermediate signal.
2. The system as claimed in claim 1, wherein the input signal comprises an asynchronous signal, and wherein the output signal comprises a synchronous signal.
3. The system as claimed in claim 1, wherein inputs of the first-stage flip flops are configured to receive the input signal.
4. The system as claimed in claim 1, wherein the first and second intermediate signals comprise respective output signals of the plurality of second-stage flip flops.
5. The system as claimed in claim 1, wherein clock inputs to the first-stage flip flop and the second-stage flip flop in the second sequential logic circuit are derived from the clock signal to be time-offset from the first-stage flip flop and the second-stage flip flop in the first sequential logic circuit.
6. The system as claimed in claim 5, wherein the clock inputs to a selected ones of the first stage flip flops are configured to be time-delayed.
7. The system as claimed in claim 1, wherein the first-stage flip flops of the first and seconds sequential logic circuits comprise D-type flip flops.
8. The system as claimed in claim 1, wherein the first and second logic gates comprise an AND gate and an OR gate.
9. The system as claimed in claim 8, comprising a combinational logic circuit configured to receive respective outputs of the AND and OR logic gates as inputs and generate the output signal.
10. The system as claimed in claim 9, wherein the combinational logic circuit further receives a delayed signal output from one of the outputs of the first and second logic gates.
11. The system as claimed in claim 9, wherein the combinational logic circuit generates the output signal rising with a rising edge of the OR logic gate output signal and falling with a falling edge of the AND logic gate output signal.
12. A signal receiver comprising:
a microcontroller; and
a signal synchronizer configured to be coupled to the microcontroller, the signal synchronizer comprising:
a sequential logic circuit comprising:
a first sequential logic circuit configured to receive an input signal from a transmitter and generate a first intermediate signal from the received input signal based on a single clock signal, the first sequential logic circuit comprising a first-stage flip flop coupled in series to a second-stage flip flop, the first-stage flip flop and second-stage flip flop being clocked by the single clock signal; and
a second sequential logic circuit configured to receive the input signal and generate a second intermediate signal from the input signal based upon an inverse of the single clock signal, the second sequential logic circuit comprising a first-stage flip flop coupled in series to a second-stage flip flop, the first-stage flip flop and second-stage flip flop being clocked by the inverse of the single clock signal; and
a logic circuit configured to combine the first and second intermediate signals to generate an output signal, the logic circuit comprising a first logic gate having inputs receiving the first intermediate signal and the second intermediate signal and a second logic gate having inputs receiving the first intermediate signal and the second intermediate signal.
13. The signal receiver of claim 12, wherein the first and second logic gates comprise an AND gate and an OR gate.
14. The signal receiver of claim 13, further comprising a combinational logic circuit configured to receive respective outputs of the AND and OR logic gates as inputs and generate the output signal.
15. The signal receiver of claim 14, wherein the combinational logic circuit is configured to receive a delayed signal from an output of the first and second logic gates.
16. The signal receiver of claim 14, wherein the combinational logic circuit is configured to generate the output signal rising with a rising edge of the OR logic gate output and falling with a falling edge of the AND logic gate output.
17. A communication system comprising:
a signal transmitter;
a signal receiver configured to be receive an input signal from the transmitter, the signal receiver comprising:
a microcontroller, and
a signal synchronizer coupleable to the microcontroller,
wherein the signal synchronizer comprises a sequential logic circuit, the sequential logic circuit comprising:
a first sequential logic circuit configured to receive the input signal from the transmitter and generate a first intermediate signal from the received input signal based on a first clock signal, the first sequential logic circuit comprising a first-stage flip flop coupled in series to a second-stage flip flop, the first-stage flip flop and second-stage flip flop being clocked by the first clock signal, and
a second sequential logic circuit configured to receive the input signal from the transmitter and generate a second intermediate signal from the received input signal based upon an inverse of the first clock signal, the second sequential logic circuit comprising a first-stage flip flop coupled in series to a second-stage flip flop, the first-stage flip flop and second-stage flip flop being clocked by the inverse of the first clock signal; and
a logic circuit configured to combine the first and second intermediate signals for generating an output signal, the output signal comprising a first logic gate to receive the first intermediate signal and the second intermediate signal and a second logic gate to receive the first intermediate signal and the second intermediate signal.
18. The communication system of claim 17, wherein the first and second logic gates comprise an AND gate and an OR gate, respectively.
19. The communication system of claim 18, comprising a combinational logic circuit configured to receive respective outputs of the AND and OR logic gates as inputs.
20. The communication system of claim 19, wherein the combinational logic circuit is configured to receive a delayed signal from an output of the first and second logic gates.
21. The communication system of claim 19, wherein the combinational logic circuit is configured to generate the output signal rising with a rising edge of the OR logic gate output and falling with a falling edge of the AND logic gate output.
US13/172,647 2010-12-28 2011-06-29 Signal synchronizing systems and methods Expired - Fee Related US9225321B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
IN3124DE2010 2010-12-28
IN3124/DEL/2010 2010-12-28

Publications (2)

Publication Number Publication Date
US20120166856A1 US20120166856A1 (en) 2012-06-28
US9225321B2 true US9225321B2 (en) 2015-12-29

Family

ID=46318516

Family Applications (1)

Application Number Title Priority Date Filing Date
US13/172,647 Expired - Fee Related US9225321B2 (en) 2010-12-28 2011-06-29 Signal synchronizing systems and methods

Country Status (1)

Country Link
US (1) US9225321B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11262786B1 (en) * 2020-12-16 2022-03-01 Silicon Laboratories Inc. Data delay compensator circuit

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10924091B2 (en) 2019-07-02 2021-02-16 Stmicroelectronics International N.V. Immediate fail detect clock domain crossing synchronizer
US11392165B2 (en) * 2019-07-31 2022-07-19 Texas Instruments Incorporated Synchronization of a clock generator divider setting and multiple independent component clock divider settings
WO2021068011A1 (en) * 2019-10-07 2021-04-15 Pfaff Markus Synchronization circuit with reduced latency and increased throughput
KR102707477B1 (en) * 2021-04-19 2024-09-19 텐센트 테크놀로지(센젠) 컴퍼니 리미티드 System for clock synchronization, method for controlling signal synchronization, and storage medium

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5555213A (en) * 1995-06-29 1996-09-10 Rockwell International Corporation Interface circuit, system and method for interfacing an electronic device and a synchronous state machine having different clock speeds
US5767720A (en) * 1995-07-26 1998-06-16 Kabushiki Kaisha Toshiba Clock signal supplying circuit
US5990811A (en) * 1997-01-14 1999-11-23 Sharp Kabushiki Kaisha Transfer clock converter for digital data
US6008680A (en) * 1997-08-27 1999-12-28 Lsi Logic Corporation Continuously adjustable delay-locked loop
US6150859A (en) * 1998-03-02 2000-11-21 Hyundai Electronics Industries Co., Ltd. Digital delay-locked loop
US20020046384A1 (en) * 2000-08-31 2002-04-18 Hartwell David W. Detection of added or missing forwarding data clock signals
US20020070761A1 (en) * 2000-12-13 2002-06-13 International Business Machines Corporation Phase Independent Frequency Comparator
US20030034809A1 (en) * 2001-01-17 2003-02-20 Yasuhiro Nakashima Variable-frequency pulse generator
US20030068003A1 (en) * 2001-10-05 2003-04-10 Asulab S.A. Switched phase dual-modulus prescaler circuit having means for reducing power consumption
US6687319B1 (en) * 1999-02-04 2004-02-03 Rambus Inc. Spread spectrum clocking of digital signals
US20040124899A1 (en) * 2000-08-14 2004-07-01 Cavazos Jose Alberto Synchronizer with zero metastability
US20060031728A1 (en) * 2004-08-05 2006-02-09 Warren Robert W Jr Method and apparatus for measuring digital timing paths by setting a scan mode of sequential storage elements
US7385861B1 (en) * 2006-08-18 2008-06-10 Ambarella, Inc. Synchronization circuit for DDR IO interface
US20090153182A1 (en) * 2007-12-17 2009-06-18 Renesas Technology Corp. Semiconductor device
US20100001769A1 (en) * 2008-07-03 2010-01-07 Texas Instruments Incorporated Method and Apparatus for Synchronizing Time Stamps
US20110161719A1 (en) * 2009-12-31 2011-06-30 Industrial Technology Research Institute Processing devices

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5555213A (en) * 1995-06-29 1996-09-10 Rockwell International Corporation Interface circuit, system and method for interfacing an electronic device and a synchronous state machine having different clock speeds
US5767720A (en) * 1995-07-26 1998-06-16 Kabushiki Kaisha Toshiba Clock signal supplying circuit
US5990811A (en) * 1997-01-14 1999-11-23 Sharp Kabushiki Kaisha Transfer clock converter for digital data
US6008680A (en) * 1997-08-27 1999-12-28 Lsi Logic Corporation Continuously adjustable delay-locked loop
US6150859A (en) * 1998-03-02 2000-11-21 Hyundai Electronics Industries Co., Ltd. Digital delay-locked loop
US6687319B1 (en) * 1999-02-04 2004-02-03 Rambus Inc. Spread spectrum clocking of digital signals
US20040124899A1 (en) * 2000-08-14 2004-07-01 Cavazos Jose Alberto Synchronizer with zero metastability
US7065169B2 (en) * 2000-08-31 2006-06-20 Hewlett-Packard Development Company, L.P. Detection of added or missing forwarding data clock signals
US20020046384A1 (en) * 2000-08-31 2002-04-18 Hartwell David W. Detection of added or missing forwarding data clock signals
US20020070761A1 (en) * 2000-12-13 2002-06-13 International Business Machines Corporation Phase Independent Frequency Comparator
US20030034809A1 (en) * 2001-01-17 2003-02-20 Yasuhiro Nakashima Variable-frequency pulse generator
US20030068003A1 (en) * 2001-10-05 2003-04-10 Asulab S.A. Switched phase dual-modulus prescaler circuit having means for reducing power consumption
US20060031728A1 (en) * 2004-08-05 2006-02-09 Warren Robert W Jr Method and apparatus for measuring digital timing paths by setting a scan mode of sequential storage elements
US7385861B1 (en) * 2006-08-18 2008-06-10 Ambarella, Inc. Synchronization circuit for DDR IO interface
US20090153182A1 (en) * 2007-12-17 2009-06-18 Renesas Technology Corp. Semiconductor device
US20100001769A1 (en) * 2008-07-03 2010-01-07 Texas Instruments Incorporated Method and Apparatus for Synchronizing Time Stamps
US20110161719A1 (en) * 2009-12-31 2011-06-30 Industrial Technology Research Institute Processing devices

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
http://www.cs.kent.edu/~batcher/CS10051/c5.html, "Computer Systems Organization",10 pages,Sep. 19, 2006. *
http://www.cs.kent.edu/˜batcher/CS10051/c5.html, "Computer Systems Organization",10 pages,Sep. 19, 2006. *
https://msdn.microsoft.com/en-us/library/aa288734(v=vs.71).aspx, "Delegates in Action with J", 11 pages, Jan. 2005. *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11262786B1 (en) * 2020-12-16 2022-03-01 Silicon Laboratories Inc. Data delay compensator circuit

Also Published As

Publication number Publication date
US20120166856A1 (en) 2012-06-28

Similar Documents

Publication Publication Date Title
US8686773B1 (en) In-system margin measurement circuit
US8564330B1 (en) Methods and systems for high frequency clock distribution
US7613254B2 (en) Phase detector for comparing phases of data and a plurality of clocks
US9225321B2 (en) Signal synchronizing systems and methods
US9417655B2 (en) Frequency division clock alignment
US8205110B2 (en) Synchronous operation of a system with asynchronous clock domains
KR101297683B1 (en) Method and apparatus for adjustment of synchronous clock signals
CN210168032U (en) System for aligning sampling instances of a high data rate clock and data recovery deserializer
US8674736B2 (en) Clock synchronization circuit
US9268888B1 (en) Latency computation circuitry
US20070127612A1 (en) Apparatus and method for retiming data using phase-interpolated clock signal
US10886930B1 (en) Voltage controlled oscillator based analog-to-digital converter including a maximum length sequence generator
US20100322365A1 (en) System and method for synchronizing multi-clock domains
EP3273601A1 (en) Time-to-digital converter and digital phase-locked loop
EP2778942B1 (en) Synchronizing data transfer from a core to a physical interface
US10419204B2 (en) Serializer-deserializer with frequency doubler
US9154291B2 (en) Differential signal skew adjustment method and transmission circuit
Al-Alem et al. Clock jitter correction circuit for high speed clock signals using delay units a nd time selection window
US9584305B2 (en) Deskew FIFO buffer with simplified initialization
US10284358B1 (en) Clock and frame synchronization carried as a single composite signal allows the use of a single transmission line with a narrower bandwidth
US9411361B2 (en) Frequency division clock alignment using pattern selection
US20090015449A1 (en) Serial-to-parallel conversion circuit and method of designing the same
US7280628B1 (en) Data capture for a source synchronous interface
JP2013034087A (en) Serial communication interface circuit and parallel-serial conversion circuit
JP2022183237A (en) Asynchronous asic

Legal Events

Date Code Title Description
AS Assignment

Owner name: STMICROELECTRONICS PVT. LTD., INDIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:BAL, ANKUR;JAIN, ANUPAM;REEL/FRAME:026524/0107

Effective date: 20110622

AS Assignment

Owner name: STMICROELECTRONICS INTERNATIONAL N.V., NETHERLANDS

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:STMICROELECTRONICS PVT. LTD.;REEL/FRAME:034042/0156

Effective date: 20141027

ZAAA Notice of allowance and fees due

Free format text: ORIGINAL CODE: NOA

ZAAB Notice of allowance mailed

Free format text: ORIGINAL CODE: MN/=.

STCF Information on status: patent grant

Free format text: PATENTED CASE

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 4

FEPP Fee payment procedure

Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

LAPS Lapse for failure to pay maintenance fees

Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20231229