[go: up one dir, main page]

CN120066203B - A data synchronization circuit and device - Google Patents

A data synchronization circuit and device

Info

Publication number
CN120066203B
CN120066203B CN202510151215.1A CN202510151215A CN120066203B CN 120066203 B CN120066203 B CN 120066203B CN 202510151215 A CN202510151215 A CN 202510151215A CN 120066203 B CN120066203 B CN 120066203B
Authority
CN
China
Prior art keywords
pull
signal
push
module
gate
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.)
Active
Application number
CN202510151215.1A
Other languages
Chinese (zh)
Other versions
CN120066203A (en
Inventor
王明照
王云
张建华
郑凯华
陆超
李荣荣
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.)
Guangdong Greater Bay Area Institute of Integrated Circuit and System
Original Assignee
Guangdong Greater Bay Area Institute of Integrated Circuit and System
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 Guangdong Greater Bay Area Institute of Integrated Circuit and System filed Critical Guangdong Greater Bay Area Institute of Integrated Circuit and System
Priority to CN202510151215.1A priority Critical patent/CN120066203B/en
Publication of CN120066203A publication Critical patent/CN120066203A/en
Application granted granted Critical
Publication of CN120066203B publication Critical patent/CN120066203B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Manipulation Of Pulses (AREA)

Abstract

The invention provides a data synchronization circuit and a data synchronization device, wherein the circuit comprises a signal input module, a signal modulation module, a demodulation module and a quick push-pull logic module, wherein the signal input module is used for acquiring input data and clock signals, the signal modulation module is used for modulating the input data based on clock signals to generate modulation signals, the quick push-pull logic module is used for carrying out quick push-pull based on the input data and the clock signals to acquire quick push-pull signals, the demodulation module comprises a Schmitt trigger, the demodulation module is used for carrying out preliminary demodulation on the modulation signals to acquire preliminary demodulation signals, then carrying out push-pull based on the quick push-pull signals to acquire push-pull modulation signals, and the Schmitt trigger is used for filtering the push-pull modulation signals and outputting terminal demodulation signals. The invention provides a data synchronization circuit and a data synchronization device, which can reduce signal delay and pulse width distortion, ensure the stability and reliability of a sequential logic circuit and reduce the problems of data errors and circuit misoperation.

Description

Data synchronization circuit and device
Technical Field
The present invention relates to the field of digital information transmission, and in particular, to a data synchronization circuit and apparatus.
Background
In today's electronic circuit technology, and in particular sequential logic circuits, data typically only changes when a clock edge arrives. In the synchronous logic circuit, all clock signals of the internal control circuit are from the same reference clock source, and the data is changed only when the unified clock edge is triggered. Whereas dynamic changes of data in asynchronous logic circuits may be driven by different clock sources, the phase relationship of the input data and clock is completely independent. When the clock edge comes, the input data can just change, so that the output of the asynchronous logic circuit generates an unstable state, and the stability and the reliability of the circuit are affected.
In addition to paying attention to the correctness of the output logic level, two indexes are also paid more attention. One is the delay of the output signal compared to the input signal. Such as the time difference between the rising edge of the output signal and the rising edge of the input signal. The other is pulse width distortion, i.e., the difference between the output signal pulse width and the input signal pulse width, which can also be defined as the difference between the rising edge delay time and the falling edge delay time. In the prior art, in order to avoid an unstable state when data is transmitted in different clock domains, a conventional asynchronous data synchronization method and a twice synchronization-twice sampling method are often adopted to reduce the probability of generating the unstable state. And during the subsampling method, there is a delay of approximately 2 clock cycles in the worst case. The maximum pulse width distortion is approximately 1 clock cycle. For the part fields with extremely high time sensitivity requirements, such as high-speed signal processing, real-time communication, precise measurement and the like, the processing mode can cause delay and pulse width distortion, influence the stability and reliability of a sequential logic circuit, and cause the problems of data errors, circuit misoperation and the like.
Disclosure of Invention
The invention aims to provide a data synchronization circuit and a data synchronization device, which are used for solving the technical problems, reducing signal delay and pulse width distortion, guaranteeing the stability and reliability of a sequential logic circuit, and reducing the problems of data errors, circuit misoperation and the like.
In order to solve the technical problems, the invention provides a data synchronization circuit, which comprises a signal input module, a signal modulation module, a demodulation module and a quick push-pull logic module, wherein:
The signal input module is used for acquiring input data and clock signals;
the signal modulation module is used for modulating the input data based on the clock signal to generate a modulation signal;
The quick push-pull logic module is used for carrying out quick push-pull based on the input data and the clock signal to obtain a quick push-pull signal;
The demodulation module comprises a Schmitt trigger;
The demodulation module is used for carrying out preliminary demodulation on the modulation signals to obtain preliminary demodulation signals, then pushing and pulling the preliminary demodulation signals based on the rapid push-pull signals to obtain push-pull modulation signals, and the Schmitt trigger is used for filtering the push-pull modulation signals and outputting terminal demodulation signals.
The quick push-pull logic module can avoid the condition that the primary demodulation signal shows that the first falling edge is quick and the last rising edge is slow, further prevent the terminal demodulation signal processed by the Schmitt trigger from having the problems of smaller rising edge delay and larger falling edge delay, effectively reduce the delay of the terminal demodulation signal, inhibit the pulse width distortion phenomenon, thereby realizing the accurate synchronization of data, ensuring the stability and the reliability of a time sequence logic circuit and reducing the occurrence of data errors and circuit misoperation.
Further, the signal modulation module comprises a first inverter and a first nor gate;
the first inverter is used for converting the input data into logic state inversion data and transmitting the logic state inversion data to the first NOR gate;
the first NOR gate is used for performing NOR operation on the logic state inversion data based on the clock signal and generating a modulation signal.
In the scheme, the first NOR gate executes NOR operation, wherein when input data is low level, a modulation signal modulated by the first NOR gate is in a low level state, and when the input data is high level, the modulation signal modulated by the first NOR gate is in inverse phase of a clock signal.
Further, the demodulation module comprises a narrowing pulse module and a filtering module;
The narrowing pulse module is used for carrying out preliminary demodulation and narrowing pulse on the modulated signal to obtain a preliminary demodulation signal, and transmitting the preliminary demodulation signal to the filtering module;
The Schmitt trigger is arranged in the filtering module;
The filtering module is used for pushing and pulling the preliminary demodulation signal based on the rapid push-pull signal and outputting a terminal demodulation signal through the Schmitt trigger.
In the scheme, the narrowing pulse module can perform pulse width compression processing on the modulation signal to obtain a preliminary demodulation signal with 2 times of clock frequency, and the filtering module can enable the waveform of the signal to be smoother. The irregular signal waveform can be more regular, the signal jitter is reduced, and the signal stability is improved.
Further, the narrowed pulse module comprises a delay and a second nor gate;
The delayer is used for carrying out signal delay on the modulation signal, obtaining a delayed modulation signal and transmitting the delayed modulation signal to the second NOR gate;
the second nor gate is configured to perform a nor operation on the modulated signal and the delayed modulated signal, generate a preliminary demodulation signal, and transmit the preliminary demodulation signal to the filtering module.
In the scheme, the delayer works cooperatively with the modulation signal, the second NOR gate performs NOR operation on the modulation signal and the delayed modulation signal to realize pulse width compression processing and obtain a preliminary demodulation signal with 2 times of clock frequency, and the delayer has a signal time sequence adjusting function, and realizes accurate regulation and control on each signal time sequence in the circuit by performing delay processing on the modulation signal and changing time correlation of the signal.
Further, the filtering module comprises a first NMOS tube, a second PMOS tube, a current limiting resistor, a voltage stabilizing capacitor and a second inverter;
The first NMOS tube and the second PMOS tube are used for carrying out asymmetric charge and discharge on a preliminary demodulation signal, acquiring a push-pull pre-signal, transmitting the push-pull pre-signal to a quick push-pull logic module, pushing and pulling the push-pull pre-signal by the quick push-pull logic module, acquiring a push-pull modulation signal and transmitting the push-pull modulation signal to a Schmidt trigger;
The first access end of the current limiting resistor is connected with the source electrode of the second PMOS tube, the second access end of the current limiting resistor is connected with the drain electrode of the first NMOS tube and the input end of the Schmitt trigger, and the current limiting resistor is used for limiting the charging current of the voltage stabilizing capacitor;
The first access end of the voltage stabilizing capacitor is connected with the second access end of the current limiting resistor and the input end of the Schmitt trigger, the second access end of the voltage stabilizing capacitor is connected with the ground, and the voltage stabilizing capacitor is used for stabilizing the push-pull signal;
The second inverter is used for carrying out logic state inversion on the push-pull modulation signal filtered by the Schmitt trigger so as to output a terminal demodulation signal.
In the scheme, the asymmetric charge and discharge changes the characteristics of the signal before push-pull by controlling the charge and discharge speed and the path of the voltage stabilizing capacitor, thereby playing the roles of adjusting the signal waveform, reducing the pulse width distortion and realizing the accurate synchronization of data.
Further, the asymmetric charge-discharge mode has two modes of slow charge, fast discharge and fast charge, slow discharge;
The slow charge and fast discharge mode specifically comprises that in a charging stage, the gate-source voltage of the first PMOS tube is larger than the starting voltage of the first PMOS tube, the first PMOS tube is in a relatively cut-off state, the power supply current slowly charges the voltage stabilizing capacitor through the current limiting resistor to enable the voltage of the voltage stabilizing capacitor to slowly rise, in a discharging stage, the gate-source voltage of the first NMOS tube is larger than the starting voltage of the first NMOS tube, the first NMOS tube is rapidly conducted to enable charges stored on the voltage stabilizing capacitor to be rapidly released through the first NMOS tube, the voltage of the voltage stabilizing capacitor is rapidly reduced, and a push-pull signal of slow charge and fast discharge is obtained;
The fast charging and slow discharging mode specifically comprises the steps that in a charging stage, the gate-source voltage of the first PMOS tube is smaller than the starting voltage of the first PMOS tube, the first PMOS tube is rapidly conducted, the power supply current rapidly flows to the voltage stabilizing capacitor, the voltage of the voltage stabilizing capacitor rapidly rises, in a discharging stage, the gate-source voltage of the first NMOS tube is smaller than the starting voltage of the first NMOS tube, the first NMOS tube is in a relatively cut-off state, the voltage stabilizing capacitor discharges through the current limiting resistor, the discharging current is smaller, the voltage of the voltage stabilizing capacitor slowly drops, and the push-pull signal of fast charging and slow discharging is obtained.
In the scheme, the slow charge and fast discharge enable the signal before push-pull to have the characteristics of slow rising edge and fast falling edge. If the processing is not added, the rising edge delay is small and the falling edge delay is large after the push-pull signal passes through the Schmitt trigger, so that the pulse width of the terminal demodulation signal is larger than that of the input data, the situation can be improved by slow charge and fast discharge, the pulse width distortion is reduced, the accuracy of data transmission is ensured, and the fast charge and slow discharge enable the push-pull signal to have the characteristics of fast rising edge and slow falling edge. If the processing is not added, the rising edge delay is large and the falling edge delay is small after the push-pull signal passes through the Schmitt trigger, so that the pulse width of the terminal demodulation signal is larger than the pulse width of input data;
further, the quick push-pull logic module comprises an AND gate and a first PMOS tube;
The AND gate is used for performing AND operation on the clock signal and the input data to obtain a preliminary push-pull signal, and transmitting the preliminary push-pull signal to the first PMOS tube;
The drain electrode of the first PMOS tube is connected with the input end of the Schmitt trigger, the grid electrode of the first PMOS tube is connected with the output end of the AND gate, the source electrode of the first PMOS tube is connected with the power supply, and the first PMOS tube is used for rapidly pushing and pulling the potential of the signal before pushing and pulling to obtain a push-pull modulation signal and transmitting the push-pull modulation signal to the Schmitt trigger.
In the scheme, after the rapid push-pull module is introduced to rapidly push-pull the push-pull signal, the problem of pulse width distortion caused by asymmetric charge and discharge can be solved, and the excessive distortion of pulse width is avoided.
Further, the quick push-pull has two modes of quick pull-up and quick pull-down;
the first PMOS tube is used for pulling up the potential of a signal before push-pull to the power supply voltage, obtaining a push-pull modulation signal for pull-up, and transmitting the push-pull modulation signal to the Schmitt trigger;
the fast pull-down mode is specifically that the first PMOS tube is used for pulling down the potential of a signal before push-pull to the ground potential, obtaining a pull-down push-pull modulation signal and transmitting the push-pull modulation signal to the Schmitt trigger.
In the above scheme, if the second PMOS transistor and the current limiting resistor are only relied on to charge the voltage stabilizing capacitor in the slow charge and fast discharge process, the rising edge of the push-pull modulation signal will be very slow. When the first PMOS tube is used for pulling up the push-pull modulation signal in a rapid pull-up mode, when the gate-source voltage of the first PMOS tube is smaller than the starting voltage of the first PMOS tube, the first PMOS tube is conducted, the first PMOS tube can rapidly pull up the potential of the signal before push-pull to the power voltage, the push-pull modulation signal which is pulled up is obtained, the problem of pulse width distortion caused by slow rising edge of the push-pull modulation signal is avoided, the problem that the falling edge of the signal before push-pull is not rapid enough exists in the process of rapid charging and slow discharging, rapid pull-down can ensure that the signal rapidly drops to a low level, adverse effects of pulse width distortion caused by slow falling of the signal before push-pull are avoided, and accuracy of data transmission and stability of signal processing are ensured.
The invention provides a data synchronization device, which comprises a shell, wherein the shell is internally provided with the data synchronization circuit, the shell is provided with a data input interface, a data output interface and a power interface, the data input interface is electrically connected with a signal input module, the data output interface is electrically connected with a demodulation module, and the power interface is electrically connected with a quick push-pull logic module.
The data synchronization device provided by the scheme is simple in structure, in practical application, the data input interface is only required to be connected with the signal input module, the data output interface is connected with the demodulation module and is used for powering on the quick push-pull logic module through the power interface, so that data synchronization can be stably and reliably completed, delay of a terminal demodulation signal is effectively reduced, pulse width distortion phenomenon is restrained, accurate synchronization of data is realized, stability and reliability of a sequential logic circuit are guaranteed, and data errors and circuit misoperation problems are reduced.
Drawings
FIG. 1 is a diagram of a data synchronization circuit according to an embodiment of the present invention;
FIG. 2 is a circuit diagram of a data synchronization circuit according to an embodiment of the present invention;
FIG. 3 is a signal waveform diagram of a data synchronization circuit according to an embodiment of the present invention;
fig. 4 is a signal waveform diagram of a data synchronization circuit of a fast push-pull module according to an embodiment of the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, the present embodiment provides a data synchronization circuit, and the architecture thereof specifically referring to fig. 1 includes:
the signal input module is used for acquiring input data and clock signals;
the signal modulation module is used for modulating the input data based on the clock signal and generating a modulation signal;
The fast push-pull logic module is used for carrying out fast push-pull based on the input data and the clock signal to obtain a fast push-pull signal;
The demodulation module comprises a Schmitt trigger, and is used for carrying out preliminary demodulation on the modulation signal to obtain a preliminary demodulation signal, pushing and pulling the preliminary demodulation signal based on the rapid push-pull signal to obtain a push-pull modulation signal, and the Schmitt trigger is used for filtering the push-pull modulation signal and outputting a terminal demodulation signal.
The data synchronization circuit provided by the embodiment provides a new data synchronization mode to provide smaller delay and data pulse width distortion, adopts the input data and clock signals to be input into the quick push-pull logic module together to generate a quick push-pull signal so as to quickly push-pull the modulated signal, and adopts the quick push-pull logic module to avoid the condition that the initial demodulated signal shows that the first falling edge is quick and the last rising edge is slow, thereby preventing the problems of smaller rising edge delay and larger falling edge delay of the terminal demodulated signal processed by the Schmitt trigger, effectively reducing the delay of the terminal demodulated signal, inhibiting the pulse width distortion phenomenon, realizing the accurate synchronization of data, ensuring the stability and the reliability of the sequential logic circuit and reducing the occurrence of data errors and circuit misoperation problems.
Referring to fig. 2, a circuit structure diagram of a data synchronization circuit provided in this embodiment is shown, where the signal modulation module includes a first inverter and a first nor gate;
the first inverter is used for converting the input data into logic state inversion data and transmitting the logic state inversion data to the first NOR gate;
the first NOR gate is used for performing NOR operation on the logic state inversion data based on the clock signal and generating a modulation signal.
In this embodiment, the clock is used to perform OOK modulation on the input data, where OOK modulation may be implemented by a nor gate or an and gate; in this embodiment, a nor gate is used, where the nor gate performs nor operation, when input data is low level, a modulated signal modulated by the first nor gate is in a low level state, and when input data is high level, the modulated signal modulated by the first nor gate is an inversion of a clock signal, so that a problem of data synchronization is solved, and the nor gate can effectively reduce delay, so that the circuit can detect the level of the input data once every half clock signal period.
Further, the demodulation module comprises a narrowing pulse module and a filtering module;
the pulse narrowing module is used for primarily demodulating the modulated signal and narrowing the pulse to obtain a primarily demodulated signal, and transmitting the primarily demodulated signal to the filtering module;
The Schmitt trigger is arranged in the filtering module;
And the filtering module is used for pushing and pulling the preliminary demodulation signal based on the rapid push-pull signal and outputting a terminal demodulation signal through the Schmitt trigger.
In this embodiment, the narrowing pulse module may perform pulse width compression processing on the modulated signal to obtain a preliminary demodulation signal with 2 times of clock frequency, and the filtering module may make the waveform of the signal smoother. The method can change irregular signal waveforms into more regular, lower charging waveforms are filtered, signal jitter is reduced, square wave signal output is obtained, signal stability is improved, demodulation signals of the demodulated terminal only change when clock signals are low level, and therefore unstable state errors cannot occur when the terminal demodulation signals are collected on rising edges of the clock signals.
Further, the narrowed pulse module comprises a delay and a second nor gate;
The delayer is used for carrying out signal delay on the modulation signal, obtaining a delayed modulation signal and transmitting the delayed modulation signal to the second NOR gate;
the second nor gate is configured to perform a nor operation on the modulated signal and the delayed modulated signal, generate a preliminary demodulation signal, and transmit the preliminary demodulation signal to the filtering module.
In the embodiment, the delayer is cooperated with the modulation signal, the second NOR gate performs NOR operation on the modulation signal and the delayed modulation signal to realize pulse width compression processing and obtain a preliminary demodulation signal of narrow pulse with 2 times of clock frequency, and the delayer is provided with a signal time sequence adjusting function, and the time correlation of the signals is changed by performing delay processing on the modulation signal to realize accurate regulation and control on each signal time sequence in the circuit.
Further, the filtering module comprises a first NMOS tube, a second PMOS tube, a current limiting resistor, a voltage stabilizing capacitor and a second inverter;
The first NMOS tube and the second PMOS tube are used for carrying out asymmetric charge and discharge on a preliminary demodulation signal, acquiring a push-pull pre-signal, transmitting the push-pull pre-signal to a quick push-pull logic module, pushing and pulling the push-pull pre-signal by the quick push-pull logic module, acquiring a push-pull modulation signal and transmitting the push-pull modulation signal to a Schmidt trigger;
The first access end of the current limiting resistor is connected with the source electrode of the second PMOS tube, the second access end of the current limiting resistor is connected with the drain electrode of the first NMOS tube and the input end of the Schmitt trigger, and the current limiting resistor is used for limiting the charging current of the voltage stabilizing capacitor;
The first access end of the voltage stabilizing capacitor is connected with the second access end of the current limiting resistor and the input end of the Schmitt trigger, the second access end of the voltage stabilizing capacitor is connected with the ground, and the voltage stabilizing capacitor is used for stabilizing the push-pull signal;
The second inverter is used for carrying out logic state inversion on the push-pull modulation signal filtered by the Schmitt trigger so as to output a terminal demodulation signal.
In this embodiment, the first NMOS transistor and the second PMOS transistor form an inverter, and perform asymmetric charging and discharging, and the asymmetric charging and discharging changes the characteristics of the signal before push-pull by controlling the charging and discharging speed and path of the voltage stabilizing capacitor, so as to play roles in adjusting the signal waveform, reducing pulse width distortion, and realizing accurate synchronization of data.
Further, the asymmetric charge-discharge mode has two modes of slow charge, fast discharge and fast charge, slow discharge;
The slow charge and fast discharge mode specifically comprises that in a charging stage, the gate-source voltage of the first PMOS tube is larger than the starting voltage of the first PMOS tube, the first PMOS tube is in a relatively cut-off state, the power supply current slowly charges the voltage stabilizing capacitor through the current limiting resistor to enable the voltage of the voltage stabilizing capacitor to slowly rise, in a discharging stage, the gate-source voltage of the first NMOS tube is larger than the starting voltage of the first NMOS tube, the first NMOS tube is rapidly conducted to enable charges stored on the voltage stabilizing capacitor to be rapidly released through the first NMOS tube, the voltage of the voltage stabilizing capacitor is rapidly reduced, and a push-pull signal of slow charge and fast discharge is obtained;
The fast charging and slow discharging mode specifically comprises the steps that in a charging stage, the gate-source voltage of the first PMOS tube is smaller than the starting voltage of the first PMOS tube, the first PMOS tube is rapidly conducted, the power supply current rapidly flows to the voltage stabilizing capacitor, the voltage of the voltage stabilizing capacitor rapidly rises, in a discharging stage, the gate-source voltage of the first NMOS tube is smaller than the starting voltage of the first NMOS tube, the first NMOS tube is in a relatively cut-off state, the voltage stabilizing capacitor discharges through the current limiting resistor, the discharging current is smaller, the voltage of the voltage stabilizing capacitor slowly drops, and the push-pull signal of fast charging and slow discharging is obtained.
In this embodiment, the slow charge and fast discharge makes the pre-push signal exhibit the characteristics of slow rising edge and fast falling edge. If the processing is not added, the rising edge delay is small and the falling edge delay is large after the push-pull signal passes through the Schmitt trigger, so that the pulse width of the terminal demodulation signal is larger than that of the input data, the situation can be improved by slow charge and fast discharge, the pulse width distortion is reduced, the accuracy of data transmission is ensured, and the fast charge and slow discharge enable the push-pull signal to have the characteristics of fast rising edge and slow falling edge. If the processing is not added, the rising edge delay is large and the falling edge delay is small after the push-pull signal passes through the Schmitt trigger, so that the pulse width of the terminal demodulation signal is larger than the pulse width of input data;
further, the quick push-pull logic module comprises an AND gate and a first PMOS tube;
The AND gate is used for performing AND operation on the clock signal and the input data to obtain a preliminary push-pull signal, and transmitting the preliminary push-pull signal to the first PMOS tube;
The drain electrode of the first PMOS tube is connected with the input end of the Schmitt trigger, the grid electrode of the first PMOS tube is connected with the output end of the AND gate, the source electrode of the first PMOS tube is connected with the power supply, and the first PMOS tube is used for rapidly pushing and pulling the potential of the signal before pushing and pulling to obtain a push-pull modulation signal and transmitting the push-pull modulation signal to the Schmitt trigger.
In this embodiment, since the and gate is used to perform and operation on the clock signal and the input data, if the input data has become low level at this time, the preliminary push-pull signal will change to low level along with the falling edge of the clock signal when the clock signal changes to low level from high level, after the preliminary push-pull signal changes to low level, the first PMOS transistor will become conductive, at this time, the push-pull modulation signal is pulled up to high level, if the logic module is not pushed up quickly, the push-pull modulation signal of the logic module is not pushed up quickly, the rising edge delay is small, the falling speed is fast, the pulse width of the terminal demodulation signal after passing through the schmitt trigger will be greater than the pulse width of the input data, resulting in increased pulse width distortion, and after the fast push-pull module is introduced to push-pull the signal quickly, the problem of pulse width distortion generated due to asymmetric charge and discharge can be improved, and the excessive distortion of pulse width is avoided.
Further, the quick push-pull has two modes of quick pull-up and quick pull-down;
the first PMOS tube is used for pulling up the potential of a signal before push-pull to the power supply voltage, obtaining a push-pull modulation signal for pull-up, and transmitting the push-pull modulation signal to the Schmitt trigger;
the fast pull-down mode is specifically that the first PMOS tube is used for pulling down the potential of a signal before push-pull to the ground potential, obtaining a pull-down push-pull modulation signal and transmitting the push-pull modulation signal to the Schmitt trigger.
In this embodiment, in the slow charge and fast discharge process, if the second PMOS transistor and the current limiting resistor are only used to charge the voltage stabilizing capacitor, the rising edge of the push-pull modulation signal will be slow. When the first PMOS tube is used for pulling up the push-pull modulation signal in a rapid pull-up mode, when the gate-source voltage of the first PMOS tube is smaller than the starting voltage of the first PMOS tube, the first PMOS tube is conducted, the first PMOS tube can rapidly pull up the potential of the signal before push-pull to the power voltage at the moment, the push-pull modulation signal which is pulled up is obtained, the problem of pulse width distortion caused by slow rising edge of the signal before push-pull is avoided, the problem that the falling edge of the signal before push-pull is not rapid enough exists in the process of rapid charging and slow discharging, the signal before push-pull can be pulled down to be rapidly lowered to a low level by rapid pull, adverse effects of pulse width distortion caused by slow falling of the signal before push-pull are avoided, accuracy of data transmission and stability of signal processing are guaranteed, and after rapid push-pull, the terminal demodulation signal is lowered to 0.5 cycle delay from 2 cycle delay.
Referring to fig. 3, a signal waveform diagram of a data synchronization circuit provided in this embodiment is generated by a fast pull-up method in fast push-pull, in which data_in is input data, clk is a clock signal, a is a modulated signal, b is a preliminary demodulation signal, c is a preliminary push-pull signal, d is a push-pull modulation signal, data_out is a terminal demodulation signal, fig. 4 is a signal waveform diagram of an unsprung fast push-pull logic module, in which data_in is input data, clk is a clock signal, a is a modulated signal, b is a preliminary demodulation signal, c is a preliminary push-pull signal, d is a push-pull modulation signal, and data_out is a terminal demodulation signal, fig. 4 and fig. 3 are compared, only the last edge signal of the push-pull modulation signal and the terminal demodulation signal is found to be different, and after the fast pull-up method in fast push-pull, the maximum delay and pulse width distortion of the terminal demodulation signal data_out are both 1/2 clock cycles, thereby achieving the purposes of effectively reducing delay of the terminal demodulation signal and suppressing pulse width distortion.
Further, the embodiment provides a data synchronization device, which comprises a shell, wherein the shell is internally provided with the data synchronization circuit, the shell is provided with a data input interface, a data output interface and a power interface, the data input interface is electrically connected with the signal input module, the data output interface is electrically connected with the demodulation module, and the power interface is electrically connected with the quick push-pull logic module.
The data synchronization device provided in the embodiment has a simple structure, and in practical application, the data synchronization device is only connected with the signal input module through the data input interface, the data output interface is connected with the demodulation module and powers on the quick push-pull logic module through the power interface, so that the data synchronization can be stably and reliably completed, the delay of a terminal demodulation signal is effectively reduced, the pulse width distortion phenomenon is restrained, the accurate synchronization of data is realized, the stability and the reliability of a sequential logic circuit are ensured, and the occurrence of data errors and circuit misoperation problems is reduced.
The embodiment can be applied to a transmission scene of a motor PWM driving signal in an isolation chip, and because the PWM signal is closely related to dead time which directly affects energy loss and efficiency in a motor driving process, and meanwhile, pulse width distortion plays a key role in motor control accuracy, so that delay of the PWM signal in the transmission process is reduced, the pulse width distortion phenomenon is reduced, and the method is important for optimizing motor driving performance, improving the overall energy efficiency of a motor system and realizing accurate motor control. The data synchronization circuit effectively solves the problems of signal delay and pulse width distortion, improves the control precision of the motor, reduces the energy loss, provides reliable guarantee for efficient and stable operation of the motor, and has wide application prospect and remarkable practical value.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.

Claims (6)

1.一种数据同步电路,其特征在于,包括信号输入模块、信号调制模块、解调模块与快速推拉逻辑模块;其中:1. A data synchronization circuit, characterized in that it comprises a signal input module, a signal modulation module, a demodulation module, and a fast push-pull logic module; wherein: 所述信号输入模块用于获取输入数据及时钟信号;The signal input module is used to acquire input data and clock signals; 所述信号调制模块包括第一反相器和第一或非门;其中:The signal modulation module includes a first inverter and a first NOR gate; wherein: 所述第一反相器用于将所述输入数据转换为逻辑状态反转数据,并将所述逻辑状态反转数据传输给所述第一或非门;The first inverter is used to convert the input data into logic state inverted data and transmit the logic state inverted data to the first NOR gate; 所述第一或非门用于基于所述时钟信号对所述逻辑状态反转数据进行或非运算并生成调制信号;The first NOR gate is used to perform NOR operation on the logic state inverted data based on the clock signal and generate a modulated signal; 所述快速推拉逻辑模块用于基于所述输入数据及时钟信号进行快速推拉,获取快速推拉信号;The fast push-pull logic module is used to perform fast push-pull based on the input data and clock signal to obtain the fast push-pull signal; 所述解调模块包括缩窄脉冲模块和滤波模块;其中:The demodulation module includes a pulse narrowing module and a filtering module; wherein: 所述缩窄脉冲模块包括延迟器和第二或非门;其中:The pulse narrowing module includes a delay unit and a second NOR gate; wherein: 所述延迟器用于将所述调制信号进行信号延迟,获取延迟调制信号,并将所述延迟调制信号传输给所述第二或非门;The delay unit is used to delay the modulation signal to obtain a delayed modulation signal, and transmit the delayed modulation signal to the second NOR gate; 所述第二或非门用于将所述调制信号和所述延迟调制信号进行或非运算,生成初步解调信号,并将所述初步解调信号传输给所述滤波模块;The second NOR gate is used to perform a NOR operation on the modulated signal and the delayed modulated signal to generate a preliminary demodulated signal, and then transmits the preliminary demodulated signal to the filtering module. 施密特触发器设置在所述滤波模块内;The Schmitt trigger is located within the filtering module; 所述滤波模块用于基于所述快速推拉信号推拉所述初步解调信号并通过所述施密特触发器输出终端解调信号。The filtering module is used to push and pull the preliminary demodulated signal based on the fast push-pull signal and output the terminal demodulated signal through the Schmitt trigger. 2.根据权利要求1所述的一种数据同步电路,其特征在于,所述滤波模块包括第一NMOS管、第二PMOS管、限流电阻、稳压电容和第二反相器;其中:2. The data synchronization circuit according to claim 1, characterized in that the filtering module comprises a first NMOS transistor, a second PMOS transistor, a current-limiting resistor, a voltage-regulating capacitor, and a second inverter; wherein: 所述第二PMOS管的栅极连接所述第二或非门的输出端,所述第二PMOS管的漏极连接所述第一NMOS管的漏极,所述第二PMOS管的源极连接电源;所述第一NMOS管的栅极连接所述第二或非门的输出端,所述第一NMOS管的源极接地;所述第一NMOS管和所述第二PMOS管用于对初步解调信号进行非对称充放电,获取推拉前信号,并将所述推拉前信号传输给快速推拉逻辑模块,以使所述快速推拉逻辑模块对所述推拉前信号进行推拉,获取推拉调制信号,并将所述推拉调制信号传输给施密特触发器;The gate of the second PMOS transistor is connected to the output of the second NOR gate, the drain of the second PMOS transistor is connected to the drain of the first NMOS transistor, and the source of the second PMOS transistor is connected to the power supply; the gate of the first NMOS transistor is connected to the output of the second NOR gate, and the source of the first NMOS transistor is grounded; the first NMOS transistor and the second PMOS transistor are used to perform asymmetrical charging and discharging on the preliminary demodulated signal to obtain the pre-push-pull signal, and transmit the pre-push-pull signal to the fast push-pull logic module so that the fast push-pull logic module pushes and pulls the pre-push-pull signal to obtain the push-pull modulation signal, and transmits the push-pull modulation signal to the Schmitt trigger; 所述限流电阻的第一接入端连接所述第二PMOS管的漏极,所述限流电阻的第二接入端连接所述第一NMOS管的漏极和所述施密特触发器的输入端,所述限流电阻用于限制稳压电容的充电电流;The first terminal of the current-limiting resistor is connected to the drain of the second PMOS transistor, and the second terminal of the current-limiting resistor is connected to the drain of the first NMOS transistor and the input terminal of the Schmitt trigger. The current-limiting resistor is used to limit the charging current of the voltage regulator capacitor. 所述稳压电容的第一接入端连接所述限流电阻的第二接入端和施密特触发器的输入端,所述稳压电容的第二接入端连接地,所述稳压电容用于稳定所述推拉前信号;The first terminal of the voltage-stabilizing capacitor is connected to the second terminal of the current-limiting resistor and the input terminal of the Schmitt trigger. The second terminal of the voltage-stabilizing capacitor is connected to ground. The voltage-stabilizing capacitor is used to stabilize the push-pull signal. 所述第二反相器用于将经过施密特触发器过滤的所述推拉调制信号进行逻辑状态反转,以输出终端解调信号。The second inverter is used to invert the logic state of the push-pull modulation signal filtered by the Schmitt trigger in order to output the terminal demodulated signal. 3.根据权利要求2所述的一种数据同步电路,其特征在于,所述非对称充放电的方式具有慢充快放和快充慢放两种方式;其中:3. A data synchronization circuit according to claim 2, characterized in that the asymmetric charging and discharging method has two modes: slow charging and fast discharging, and fast charging and slow discharging; wherein: 所述慢充快放的方式具体为:在充电阶段,第一PMOS管的栅源电压大于第一PMOS管的开启电压,第一PMOS管处于相对截止的状态,电源电流通过限流电阻缓慢地给稳压电容进行充电,使稳压电容的电压缓慢上升;在放电阶段,所述第一NMOS管的栅源电压大于所述第一NMOS管的开启电压,第一NMOS管迅速导通,使得稳压电容上存储的电荷能够快速通过第一NMOS管释放,稳压电容的电压迅速下降,获取慢充快放的推拉前信号;The slow charging and fast discharging method is as follows: During the charging phase, the gate-source voltage of the first PMOS transistor is greater than the turn-on voltage of the first PMOS transistor, and the first PMOS transistor is in a relatively off state. The power supply current slowly charges the voltage regulator capacitor through the current limiting resistor, causing the voltage of the voltage regulator capacitor to rise slowly. During the discharging phase, the gate-source voltage of the first NMOS transistor is greater than the turn-on voltage of the first NMOS transistor, and the first NMOS transistor quickly turns on, allowing the charge stored on the voltage regulator capacitor to be quickly released through the first NMOS transistor. The voltage of the voltage regulator capacitor drops rapidly, and the push-pull signal before slow charging and fast discharging is obtained. 所述快充慢放的方式具体为:在充电阶段,第一PMOS管的栅源电压小于第一PMOS管的开启电压,第一PMOS管迅速导通,所述电源电流快速流向稳压电容,稳压电容电压迅速上升;在放电阶段,所述第一NMOS管的栅源电压小于所述第一NMOS管的开启电压,所述第一NMOS管处于相对截止的状态,稳压电容通过限流电阻进行放电,放电电流较小,稳压电容的电压缓慢下降,获取快充慢放的推拉前信号。The fast charging and slow discharging method is as follows: During the charging phase, the gate-source voltage of the first PMOS transistor is less than the turn-on voltage of the first PMOS transistor, and the first PMOS transistor is quickly turned on. The power supply current flows rapidly to the voltage regulator capacitor, and the voltage of the voltage regulator capacitor rises rapidly. During the discharging phase, the gate-source voltage of the first NMOS transistor is less than the turn-on voltage of the first NMOS transistor, and the first NMOS transistor is in a relatively off state. The voltage regulator capacitor discharges through the current-limiting resistor. The discharge current is small, and the voltage of the voltage regulator capacitor drops slowly, thus obtaining the push-pull signal before fast charging and slow discharging. 4.根据权利要求3所述的一种数据同步电路,其特征在于,所述快速推拉逻辑模块包括与门和第一PMOS管;其中:4. A data synchronization circuit according to claim 3, characterized in that the fast push-pull logic module includes an AND gate and a first PMOS transistor; wherein: 所述与门用于将所述时钟信号和所述输入数据进行与运算,获取初步推拉信号,并将所述初步推拉信号传输给所述第一PMOS管;The AND gate is used to perform an AND operation on the clock signal and the input data to obtain a preliminary push-pull signal, and transmit the preliminary push-pull signal to the first PMOS transistor; 所述第一PMOS管的漏极连接所述施密特触发器的输入端,所述第一PMOS管的栅极连接所述与门的输出端,所述第一PMOS管的源极连接所述电源;所述第一PMOS管用于将推拉前信号的电位进行快速推拉,获取推拉调制信号,并将所述推拉调制信号传输给所述施密特触发器。The drain of the first PMOS transistor is connected to the input terminal of the Schmitt trigger, the gate of the first PMOS transistor is connected to the output terminal of the AND gate, and the source of the first PMOS transistor is connected to the power supply. The first PMOS transistor is used to quickly push and pull the potential of the signal before push and pull, obtain the push and pull modulation signal, and transmit the push and pull modulation signal to the Schmitt trigger. 5.根据权利要求4所述的一种数据同步电路,其特征在于,所述快速推拉具有快速上拉和快速下拉两种方式;其中:5. A data synchronization circuit according to claim 4, characterized in that the rapid push-pull has two modes: rapid pull-up and rapid pull-down; wherein: 所述快速上拉的方式具体为:所述第一PMOS管用于将推拉前信号的电位拉高至电源电压,获取上拉的推拉调制信号,并将所述推拉调制信号传输给所述施密特触发器;The fast pull-up method is as follows: the first PMOS transistor is used to pull the potential of the signal before push-pull up to the power supply voltage, obtain the push-pull modulation signal of the pull-up, and transmit the push-pull modulation signal to the Schmitt trigger; 所述快速下拉的方式具体为:所述第一PMOS管用于将推拉前信号的电位拉低至地电位,获取下拉的推拉调制信号,并将所述推拉调制信号传输给所述施密特触发器。The fast pull-down method is as follows: the first PMOS transistor is used to pull the potential of the signal before push-pull down to ground potential, obtain the push-pull modulation signal of pull-down, and transmit the push-pull modulation signal to the Schmitt trigger. 6.一种数据同步装置,其特征在于,包括壳体,所述壳体内设置有如权利要求1~5任一项所述的一种数据同步电路;所述壳体上设置有数据输入接口、数据输出接口及电源接口;所述数据输入接口与所述信号输入模块电连接,所述数据输出接口与所述解调模块电连接,所述电源接口与所述快速推拉逻辑模块电连接。6. A data synchronization device, characterized in that it comprises a housing, wherein a data synchronization circuit as described in any one of claims 1 to 5 is disposed within the housing; a data input interface, a data output interface, and a power interface are disposed on the housing; the data input interface is electrically connected to the signal input module, the data output interface is electrically connected to the demodulation module, and the power interface is electrically connected to the fast push-pull logic module.
CN202510151215.1A 2025-02-11 2025-02-11 A data synchronization circuit and device Active CN120066203B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202510151215.1A CN120066203B (en) 2025-02-11 2025-02-11 A data synchronization circuit and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202510151215.1A CN120066203B (en) 2025-02-11 2025-02-11 A data synchronization circuit and device

Publications (2)

Publication Number Publication Date
CN120066203A CN120066203A (en) 2025-05-30
CN120066203B true CN120066203B (en) 2025-11-28

Family

ID=95807279

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202510151215.1A Active CN120066203B (en) 2025-02-11 2025-02-11 A data synchronization circuit and device

Country Status (1)

Country Link
CN (1) CN120066203B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5172397A (en) * 1991-03-05 1992-12-15 National Semiconductor Corporation Single channel serial data receiver
CN102707766A (en) * 2011-03-18 2012-10-03 瑞昱半导体股份有限公司 Signal synchronization device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5172397A (en) * 1991-03-05 1992-12-15 National Semiconductor Corporation Single channel serial data receiver
CN102707766A (en) * 2011-03-18 2012-10-03 瑞昱半导体股份有限公司 Signal synchronization device

Also Published As

Publication number Publication date
CN120066203A (en) 2025-05-30

Similar Documents

Publication Publication Date Title
US6198327B1 (en) Pulse generator with improved high speed performance for generating a constant pulse width
JPH10309076A (en) Synchronous step-up voltage generator
CN114915285A (en) Half-bridge power circuit, controller for half-bridge power circuit and control method
CN120066203B (en) A data synchronization circuit and device
US20220294446A1 (en) Voltage conversion circuit
US20240036090A1 (en) Frequency detection device for clock signal and detection method thereof
CN116707497A (en) Tunable low-speed clock duty ratio skew trimming circuit and method, timing circuit
CN116505928A (en) Buffer circuit applied to TX clock
WO2022247681A1 (en) Delay modulation circuit and method, chip, and server
US12537522B2 (en) Isolated driver device, corresponding electronic system and method of transmitting a data signal across a galvanic isolation barrier
US6894548B2 (en) Circuit for modifying a clock signal to achieve a predetermined duty cycle
CN204031108U (en) A kind of driving chip pulsewidth limiter protection circuit
CN115987083B (en) Control circuit for reducing electromagnetic radiation, control method thereof, and isolated power supply system
CN107733402B (en) Sequence monitoring unit and monitoring system for near-threshold low voltage
CN216819829U (en) High-speed sampling circuit and SerDes receiver and chip including the high-speed sampling circuit
CN115412070B (en) Comparator
US7098695B2 (en) Dynamic-to-static logic converter
CN115032441A (en) Voltage peak detection circuit and electronic equipment
CN223693892U (en) Delay circuits, circuit board assemblies and electronic equipment
US20120169382A1 (en) Dividing method and dividing apparatus for generating noise-reduced frequency divided signal by utilizing noise reducing circuit
TWI820783B (en) Frequency detection device for clock signal and detection method thereof
CN113839662B (en) Interface circuit and chip
CN216216812U (en) Duty ratio regulating circuit, integrated circuit and electronic equipment
CN115498858B (en) Charge pump for phase-locked loop
US20260039283A1 (en) Digital phase circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant