Digital signal demodulation circuit, demodulation method and digital isolator

By designing a demodulation circuit in the digital isolator and using components such as a pulse generator and a clock circuit to control the transmission delay of the output signal, the problem of too long transmission delay of the digital isolator in the existing technology is solved, and a faster Data response and wider application scenarios.

CN118764353APending Publication Date: 2024-10-11JOULWATT TECH INC LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410086733.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-22
Publication Date
2024-10-11

Smart Images

  • Figure CN118764353A_ABST
    Figure CN118764353A_ABST
Patent Text Reader

Abstract

The invention discloses a digital signal demodulation circuit, a demodulation method and a digital isolator, a digital signal comprises a first clock signal obtained by pre-amplifying a modulation signal of an input signal, and the demodulation circuit comprises a pulse generator which generates a pulse at each rising edge of the first clock signal and outputs a plurality of pulses as enable signals; the clock circuit is used for generating a periodic second clock signal and performing power-on reset according to the enable signal in each first clock period; the signal frequency dividing circuit is connected with the clock circuit and the pulse generator, receives the second clock signal to generate a frequency dividing signal, and performs zero clearing on the frequency dividing signal according to the enable signal; and the trigger circuit is connected with the signal frequency dividing circuit and generates an output signal according to the frequency dividing signal and the first clock signal, and the transmission delay between the output signal and the input signal is in positive correlation with the first clock period. The demodulation circuit can control the transmission delay by adjusting the first clock period to obtain an accurate demodulation signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of modulation and demodulation of digital signals, and in particular to a demodulation circuit, a demodulation method and a digital isolator for digital signals. Background Art

[0002] With the advancement of communication technology, digital isolators are used in electronic systems to better and more safely isolate electronic systems from users. Digital isolators can achieve high resistance isolation characteristics when digital signals and analog signals are transmitted.

[0003] Figure 1 and Figure 2 The schematic circuit diagram of the existing digital isolator and the working waveform diagram of the main signals are shown respectively. Figure 1 As shown, the common capacitive digital isolator based on OOK technology mainly includes a transmitter chip 10 and a receiver chip 20, and the signal is transmitted between the two through an isolation barrier 30, and the isolation barrier 30 is composed of four capacitors. The transmitter chip 10 and the receiver chip 20 are placed on two mutually insulated package base islands for sealing. The digital isolator performs OOK modulation on the input signal level by the transmitter chip 10, and transmits a high-frequency carrier when the input is a high level, and does not transmit a signal when the input is a low level. The isolation barrier 30 mainly realizes the isolation function, which is usually realized by the on-chip SiO2 capacitor. The receiver chip 20 restores the high-frequency carrier to a high level, and the low level remains unchanged. Figure 1 In the example, an oscillator 11 is used at the transmitting end to modulate the input signal IN into a high-frequency modulation signal MOD. The modulation signal MOD is converted into a differential signal by an inverter and a driver, and transmitted to the receiving end through an isolation barrier 30. The receiving end uses a preamplifier 21 to pre-amplify the attenuated signal, and uses an integrator (not shown) and an envelope detector 22 to demodulate the signal to obtain an output signal OUT, that is, to restore the original signal. Figure 2 The input signal IN is a square wave signal. After modulation, the high level is modulated into a high-frequency square wave, and the low level remains unchanged, obtaining a modulated signal MOD. After the modulated signal MOD passes through the isolation barrier 30, it is demodulated by the receiving end chip 20 and restored to a normal square wave signal, i.e., the output signal OUT. The digital isolator uses an integrator and a detector to demodulate the data. The time constant of the integrator is usually set to be relatively large. The data transmission delay of the digital isolator is very long, and it is not suitable for high-speed data transmission scenarios. The application occasions of the digital isolator are limited. Summary of the invention

[0004] The present application provides a demodulation circuit, a demodulation method and a digital isolator for a digital signal to solve the problems in the prior art.

[0005] According to one aspect of the present invention, there is provided a demodulation circuit for a digital signal, wherein the digital signal comprises a periodic first clock signal obtained by pre-amplifying a modulation signal of an input signal, wherein the demodulation circuit comprises: a pulse generator, receiving the first clock signal having a first clock period, generating a pulse at each rising edge of the first clock signal, and outputting a plurality of pulses as an enable signal; a clock circuit, generating a periodic second clock signal, and receiving the enable signal, wherein the enable signal powers on and resets the clock circuit in each first clock period to output the second clock signal from a high level state; a signal frequency division circuit, receiving the second clock signal and the enable signal, generating a frequency division signal of the second clock signal according to the second clock signal, and clearing the generated frequency division signal according to the enable signal; and a trigger circuit, receiving the frequency division signal and the first clock signal to generate an output signal, wherein a transmission delay between the output signal and the input signal is positively correlated with the first clock period.

[0006] Optionally, the signal frequency division circuit generates a first frequency division signal according to the second clock signal, and generates a start control signal according to the first frequency division signal; the trigger circuit generates a rising edge of the output signal according to the first frequency division signal and the first clock signal, and generates a falling edge of the output signal according to the start control signal.

[0007] Optionally, the trigger circuit generates a rising edge of the output signal when simultaneously receiving the first frequency-divided signal in a high-level state and the first clock signal in a high-level state; the trigger circuit generates a falling edge of the output signal when receiving a rising edge of the start control signal.

[0008] Optionally, the signal frequency division circuit generates a first frequency division signal and a second frequency division signal according to the second clock signal, the second frequency division signal is a frequency division signal of the first frequency division signal, and the second frequency division signal is the start control signal.

[0009] Optionally, the transmission delay between the rising edge of the output signal and the rising edge of the input signal is positively correlated with the first clock cycle, and the transmission delay between the falling edge of the output signal and the falling edge of the input signal is positively correlated with the second clock cycle of the second clock signal.

[0010] Optionally, the clock circuit and the trigger circuit both receive the start control signal, and when the start control signal is at a low level, the clock circuit, the signal frequency division circuit and the trigger circuit work normally; when the start control signal is at a high level, the clock circuit, the signal frequency division circuit and the trigger circuit stop working, and the second clock signal, the first frequency division signal and the output signal are all at a low level.

[0011] Optionally, the clock circuit includes: a first logic gate, whose two input ends respectively receive an enable signal and a start control signal; and an oscillator, which is connected to the output end of the first logic gate, generates the second clock signal when the first logic gate outputs a high level, and stops working when the first logic gate outputs a low level.

[0012] Optionally, a second clock period of the second clock signal generated by the oscillator is 0.3-2 times of the first clock period.

[0013] Optionally, the signal frequency division circuit includes: a second logic gate, whose input end is connected to the pulse generator and receives the enable signal; a third logic gate, whose first input end is connected to the oscillator and receives the second clock signal; a counter, whose clock end and reset end are respectively connected to the output end of the third logic gate and the output end of the second logic gate, and whose output end outputs a first frequency division signal and a second frequency division signal, wherein the second frequency division signal is a frequency division signal of the first frequency division signal, and the second frequency division signal is the start control signal; and a fourth logic gate, whose input end is connected to the output end of the counter and receives the second frequency division signal, and whose output end is connected to the second input end of the third logic gate.

[0014] Optionally, the signal frequency division circuit includes: a second logic gate, whose input end is connected to the pulse generator and receives the enable signal; a third logic gate, whose first input end is connected to the oscillator and receives the second clock signal; a counter, whose clock end and reset end are respectively connected to the output end of the third logic gate and the output end of the second logic gate, and whose output end outputs the first frequency division signal; a fourth logic gate, whose input end receives the start control signal, and whose output end is connected to the second input end of the third logic gate; and a sixth logic gate, whose first input end and second input end receive the first frequency division signal and the second clock signal respectively, and whose output end generates the start control signal and is connected to the input end of the fourth logic gate.

[0015] Optionally, the trigger circuit includes: a fifth logic gate, a first input end of the fifth logic gate is connected to the counter and receives the first frequency division signal, and a second input end of the fifth logic gate receives the first clock signal; and an RS trigger, a set end is connected to the output end of the fifth logic gate, a reset end receives the start control signal, and an output end outputs the output signal.

[0016] Optionally, the first logic gate is a NOR gate, the second logic gate and the fourth logic gate are both NOT gates, and the third logic gate, the fifth logic gate and the sixth logic gate are all AND gates.

[0017] According to another aspect of the present invention, a demodulation method for a digital signal is provided, wherein the digital signal includes a periodic first clock signal obtained by pre-amplifying a modulated signal of an input signal, wherein the demodulation method includes: receiving the first clock signal having a first clock cycle, and generating a pulse at each rising edge of the first clock signal, and outputting multiple pulses as an enable signal; generating a periodic second clock signal, and receiving the enable signal to output the second clock signal from a high level state according to the enable signal in each first clock cycle; receiving the second clock signal and the enable signal to generate a frequency-divided signal of the second clock signal according to the second clock signal, and clearing the generated frequency-divided signal according to the enable signal; and receiving the frequency-divided signal and the first clock signal to generate an output signal, wherein a transmission delay between the output signal and the input signal is positively correlated with the first clock cycle.

[0018] Optionally, the transmission delay between the rising edge of the output signal and the rising edge of the input signal is positively correlated with the first clock cycle, and the transmission delay between the falling edge of the output signal and the falling edge of the input signal is positively correlated with the second clock cycle of the second clock signal.

[0019] According to another aspect of the present invention, there is provided a digital isolator, comprising a transmitter chip and a receiver chip, wherein the transmitter chip and the receiver chip transmit digital signals through an isolation barrier, and the transmitter chip outputs a modulated signal of an input signal through the isolation barrier, wherein the receiver chip comprises: an operational amplifier, which pre-amplifies the modulated signal received via the isolation barrier to generate a first clock signal; and the above-mentioned digital signal demodulation circuit, which demodulates the first clock signal into an output signal, wherein the waveform of the output signal follows the input signal, and the transmission delay between the output signal and the input signal is positively correlated with a first clock period of the first clock signal.

[0020] The demodulation circuit, demodulation method and digital isolator of the digital signal provided by the present invention generate a periodic second clock signal through a clock circuit, and match the second clock signal with the first clock signal through an enable signal generated by a pulse generator. After that, a frequency division signal of the second clock signal is generated through a signal frequency division circuit, and the frequency division signal and the first clock signal are subjected to a logical operation to complete demodulation and obtain a final output signal. The flipping of the output signal is controlled by the first clock signal and the second clock signal, and the transmission delay between the output signal and the input signal is related to the first clock cycle of the first clock signal. The transmission delay of the output signal can be controlled by adjusting the size of the first clock cycle, which is applicable to circuits with different timing requirements, and the transmission delay can be limited to a very small value, thereby accelerating data response.

[0021] Furthermore, the signal frequency division circuit generates different frequency division signals through a counter, and the generation time of the rising edge and the falling edge of the output signal can be accurately controlled through the logical operation relationship between the frequency division signal and other signals. The generation time of the rising edge of the output signal is separated from the generation time of the rising edge of the input signal by at least one first clock cycle, and the transmission delay between the output signal and the input signal is positively correlated with the first clock cycle and the second clock cycle. Therefore, not only the transmission delay of the output signal can be adjusted, but also the maintenance time of the level state of the output signal can be controlled, and the input signal can be shaped to a certain extent, so that it is suitable for different circuit requirements and the applicability of the circuit is expanded.

[0022] It should be noted that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 and Figure 2 The schematic circuit diagram of the existing digital isolator and the working waveform diagram of the main signals are shown respectively;

[0024] Figure 3 A schematic circuit diagram of a digital isolator according to an embodiment of the present invention is shown;

[0025] Figure 4 A schematic block diagram of a demodulation circuit in a digital isolator according to an embodiment of the present invention is shown;

[0026] Figure 5 A schematic circuit diagram of a digital signal demodulation circuit according to a first embodiment of the present invention is shown;

[0027] Figure 6 Shown according to Figure 5 Schematic working waveform diagram of demodulation circuit and digital isolator;

[0028] Figure 7A schematic circuit diagram of a digital signal demodulation circuit according to a second embodiment of the present invention is shown;

[0029] Figure 8 Shown according to Figure 7 Schematic working waveform diagram of demodulation circuit and digital isolator;

[0030] Fig. 9 A schematic flow chart of a digital signal demodulation method according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0031] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present invention are shown in the drawings. However, the present invention can be implemented in different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive.

[0032] Figure 3 FIG. 4 shows a schematic circuit diagram of a digital isolator according to an embodiment of the present invention.

[0033] like Figure 3As shown, the digital isolator of the present invention is a capacitive digital isolator based on OOK technology, which mainly includes a transmitter chip 10 and a receiver chip 20, and the signal is transmitted between the two through an isolation gate 30. The isolation gate 30 is composed of four capacitors, capacitor C1 and capacitor C3 are connected in series, and capacitor C2 and capacitor C4 are connected in series. The transmitter chip 10 and the receiver chip 20 are placed on two mutually insulated package base islands for sealing. The transmitter chip 10 performs OOK modulation on the level of the input signal IN, converts the high level of the input signal IN into a high-frequency carrier, that is, a periodic square wave signal, and converts the low level of the input signal IN into a low-level transmission. The receiver chip 20 restores the high-frequency carrier to a high level, and the low level remains unchanged to obtain an output signal GTON. Specifically, the input chip 10 includes an oscillator 11, a driver 12 and an inverter 13. The oscillator 11 is used to modulate the input signal IN into a high-frequency modulation signal CKP, and the high-frequency modulation signal CKP is a periodic clock signal during the high level period of the input voltage IN. Afterwards, the modulation signal CMP is converted into a differential signal by using the inverter 13 and the driver 12, and transmitted to the receiving end chip 20 through the capacitor C2 and the capacitor C1 respectively. The receiving end chip 20 includes an operational amplifier CMP and a demodulation circuit 200. The positive input terminal and the reverse input terminal of the operational amplifier CMP receive the differential signal of the high-frequency modulation signal CKP through the capacitor C3 and the capacitor C4 respectively, and pre-amplify the attenuated signal to generate a first clock signal OX. The waveform of the first clock signal OX follows the waveform of the modulation signal CKP, that is, the two change synchronously and have the same waveform. Afterwards, the demodulation circuit 200 is used to demodulate the first clock signal OX into an output signal GTON, so that the waveform of the output signal GTON follows the waveform of the input signal IN, and the transmission delay between the output signal GTON and the input signal IN obtained by the demodulation circuit 200 is positively correlated with the clock period of the first clock signal OX. Therefore, the digital isolator of this embodiment can accurately control the transmission delay of the output signal to speed up the response speed of the digital isolator. The following is combined with Figure 4-Figure 8 A digital signal demodulation circuit according to an embodiment of the present invention is described in detail.

[0034] Figure 4 A schematic block diagram of a demodulation circuit in a digital isolator according to an embodiment of the present invention is shown.

[0035] Combination Figure 3-Figure 4 The demodulation circuit 200 demodulates the digital signal, for example, Figure 3The first clock signal OX mentioned in the above. The transmitting chip of the digital isolator modulates the high level of the input signal IN into a periodic clock signal with a finite number of pulses, and transmits the low level as a low level. The demodulation circuit 200 demodulates the corresponding periodic clock signal with a finite number of pulses into a high level, and outputs the low level as a low level. The demodulation circuit 200 includes a pulse generator 210, a clock circuit 220, a signal frequency division circuit 230 and a trigger circuit 240.

[0036] like Figure 4 As shown, the pulse generator 210 is used to receive the first clock signal OX, generate a pulse at each rising edge of the first clock signal OX, and output multiple pulses as the enable signal REP. Then the first clock signal OX includes as many clock cycles as the enable signal REP includes. Since the number of pulses corresponding to each high-level device of the modulation signal CKP at the input voltage IN is limited, the number of clock cycles corresponding to the first clock signal is limited, and the number of pulses generated by the enable signal REP is limited. The clock circuit 220 is used to generate a periodic second clock signal CKS, the clock cycle of the second clock signal CKS is the second clock cycle, and the clock cycle of the first clock signal OX is the first clock cycle. Then the second clock cycle is, for example, 0.3-2 times the first clock cycle, and the second clock cycle is preferably 1-1.5 times the first clock cycle. The clock circuit 220 is also connected to the pulse generator 210 to receive the enable signal REP. In each first clock cycle, the enable signal REP will cause the clock circuit 220 to power on and reset, so as to output the second clock signal CKS from a high-level state. For example, the falling edge of each pulse of the enable signal REP will cause the clock circuit 220 to start outputting the second clock signal CKS and start outputting from a high level. Due to the existence of the enable signal, the rising edge of each pulse of the second clock signal CKS is separated by the same time as the rising edge of each pulse of the corresponding first clock signal OX. However, after all pulses of the enable signal REP are completed, the clock circuit 220 continues to generate a periodic second clock signal CKS and is no longer affected by the enable signal. At this time, the waveform of the second clock signal CKS is, for example, a square wave with a duty cycle of 50%. The second clock signal CKS and the first clock signal OX are matched by the enable signal REP. In each first clock cycle, the high level duration of the second clock signal CKS is longer than the high level duration of the first clock signal OX. The high level duration of the second clock signal CKS is, for example, 0.3-2 times the high level duration of the first clock signal OX, preferably 1-1.5 times.

[0037] The signal frequency division circuit 230 is connected to the clock circuit 220 and the pulse generator 210, receives the second clock signal CKS to generate a frequency division signal of the second clock signal CKS, and clears the generated frequency division signal according to the enable signal REP, for example, at the time of the rising edge of the enable signal REP, the level state of the frequency division signal is changed to a low level. The signal frequency division circuit 230 can generate a plurality of frequency division signals in sequence, each of which is a frequency division signal of the previous frequency division signal, and each of which flips its level at the falling edge of the previous signal. The trigger circuit 240 is connected to the signal frequency division circuit 230, and generates an output signal OUT according to the frequency division signal and the first clock signal OX. The signal frequency division circuit 230, for example, generates a first frequency division signal CQ0, and then generates a start control signal CQK according to the first frequency division signal CQ0 and the second clock signal CKS. Alternatively, the signal frequency division circuit 230 generates, for example, a first frequency division signal CQ0 and a second frequency division signal CQ1, wherein the first frequency division signal CQ0 is a frequency division signal of the second clock signal CKS, and the second frequency division signal CQ1 is a frequency division signal of the first frequency division signal CQ0, and the second frequency division signal CQ1 serves as a start control signal CQK. The start control signal CQK serves as a control signal of other circuits to control the working state of the circuits.

[0038] The trigger circuit 240 can generate the rising edge of the output signal OUT according to the first frequency-divided signal CQ0 and the first clock signal OX, and generate the falling edge of the output signal OUT according to the start control signal CQK. Further, the trigger circuit 240 generates the rising edge of the output signal OUT when receiving the high-level first frequency-divided signal CQ0 and the high-level first clock signal OX at the same time; the trigger circuit 240 generates the falling edge of the output signal OUT when receiving the rising edge of the start control signal CQK. The generation time of the rising edge of the output voltage OUT can be controlled by controlling the generation time of the frequency-divided signal of the second clock signal CKS, and the generation time of the falling edge of the output voltage OUT can be controlled by controlling the number of frequency-divided signals of the second clock signal CKS, so that the transmission delay between the output voltage OUT and the input voltage IN is at least one clock cycle of the first clock signal, so that the transmission delay is positively correlated with the clock cycle of the first clock signal OX. Specifically, the rising edge of the output signal OUT is separated from the rising edge of the input signal IN by at least one first clock cycle, and the transmission delay is positively correlated with the first clock cycle, and the transmission delay is also positively correlated with the second clock cycle.

[0039] Furthermore, the clock circuit 220 and the trigger circuit 240 are both connected to the signal frequency division circuit 230 to receive the start control signal CQK. When the start control signal CQK is at a low level, the clock circuit 220, the signal frequency division circuit 230 and the trigger circuit 240 work normally; when the start control signal CQK is at a high level, the clock circuit 220, the signal frequency division circuit 230 and the trigger circuit 240 stop working, and the second clock signal CKS, the first frequency division signal CQ0 and the output signal OUT are all at a low level.

[0040] Figure 5 A schematic circuit diagram of a digital signal demodulation circuit according to a first embodiment of the present invention is shown.

[0041] Figure 5 yes Figure 4 The schematic circuit connection diagram of the block diagram shown. Figure 5As shown, the clock circuit 220 includes a NOR gate U1 and an oscillator 221. One input end of the NOR gate U1 is connected to the output end of the pulse generator 210 to receive the enable signal REP, and the other input end of the NOR gate U1 receives the start control signal CQK. The oscillator 221 is connected to the output end of the NOR gate U1, generates a second clock signal CKS when the NOR gate U1 outputs a high level, and stops working when the NOR gate U1 outputs a low level. The oscillator 221 is used to generate a second clock signal CKS with a fixed clock period. The clock period of the second clock signal CKS is, for example, 0.3-2 times of the first clock period, preferably 1-1.5 times. The oscillator 221 is powered on and reset at each falling edge of the enable signal REP, and restarts to output the periodic second clock signal CKS, and starts outputting from a high level. The signal frequency division circuit 230 includes a NOT gate U2, an AND gate U3, a NOT gate U4 and a counter 231. The input end of the NOT gate U2 is connected to the pulse generator to receive the enable signal REP, and the output end is connected to the reset end RB of the counter 231. The first input end of the AND gate U3 is connected to the oscillator 221 to receive the second clock signal CKS, the second input end is connected to the output end of the NOT gate U4, and the output end is connected to the clock end CK of the counter 231. The counter 231 outputs the first frequency division signal CQ0 and the second frequency division signal CQ1 from the output ends Q0 and Q1 respectively according to the signal control of the clock end CK and the reset end RB. The second frequency division signal CQ1 is the frequency division signal of the first frequency division signal CQ0 and is also the start control signal CQK. The input end of the NOT gate U4 is connected to the output end of the counter 231 to receive the second frequency division signal CQ1. The second frequency division signal CQ1 (start control signal CQK) is also output to an input end of the NOR gate U1 to control the working state of the clock circuit 220. The trigger circuit 240 includes an AND gate U5 and an RS flip-flop 241. The first input terminal of the AND gate U5 is connected to the output terminal Q0 of the counter 231 to receive the first frequency-divided signal CQ0, and the second input terminal is the first clock signal OX. The set terminal S of the RS flip-flop 241 is connected to the output terminal of the AND gate U5, the reset terminal R is connected to the output terminal Q1 of the counter 231 to receive the second frequency-divided signal CQ1, and the output terminal generates an output signal GTON.

[0042] Figure 6 Shown according to Figure 5 Schematic operating waveform diagram of the demodulation circuit and digital isolator.

[0043] like Figure 6 As shown in FIG. 1 , it mainly shows the working waveform of each signal when the input voltage IN is at a high level. Figure 5 and Figure 6At time t0, the high level of the input signal IN begins to be generated, the modulation signal CKP begins to generate a periodic clock signal, the modulation signal CKP generates a rising edge, the first clock signal OX follows the waveform of the modulation signal CKP, the two change synchronously, and the first clock signal OX also generates a rising edge. The rising edges of the first clock signal OX and the modulation signal CKP are slightly later than the rising edge of the input signal IN to take into account the delay during signal transmission. At time t1, the rising edge of the first clock signal OX causes the pulse generator 210 to generate a pulse, and a pulse signal is generated at each rising edge of the first clock signal OX. Multiple pulse signals form the enable signal REP, and the enable signal REP is also slightly delayed relative to the first clock signal OX. At the same time, the rising edge of the pulse of the enable signal REP will also clear the first frequency-dividing signal CQ0 and the second frequency-dividing signal CQ1 (start control signal CQK), that is, the level states of the first frequency-dividing signal CQ0 and the second frequency-dividing signal CQ1 are all changed to low levels, and the clearing moments of the first frequency-dividing signal CQ0 and the second frequency-dividing signal CQ1 are also slightly delayed relative to the moment t1. At t2, the falling edge of the pulse of the enable signal REP causes the oscillator 221 to generate the second clock signal CKS. During the t2-t3 period, the second clock signal CKS maintains a high level. At t3, the second clock signal CKS flips to a low level, and the first frequency-dividing signal CQ0 flips from a low level to a high level. At t4, the first frequency-dividing signal CQ0 still maintains a high level. At this time, the rising edge of the first clock signal OX arrives, and the level state is also a high level, so the RS trigger 241 outputs a high-level output signal, that is, the output signal GTON flips from a low level to a high level. At t5, the rising edge of the pulse of the enable signal REP clears the first frequency-dividing signal CQ0 and the second frequency-dividing signal CQ1, and the first frequency-dividing signal CQ0 and the second frequency-dividing signal CQ1 both become low levels. Due to the clearing effect, the second frequency-dividing signal CQ1 has been maintained at a low level, and the level state of GTON is not affected and maintains a high level. Afterwards, the falling edge of the pulse of the enable signal REP causes the oscillator 221 to generate the second clock signal CKS at a high level again. Therefore, the generation time of the rising edge of the second clock signal CKS is always the same time as the generation time of the rising edge of the first clock signal OX. At this time, the duty cycle of the waveform of the second clock signal CKS is large, greater than 50%. Afterwards, the output signal GTON maintains a high level. The next time the first frequency-divided signal CQ0 and the first clock signal OX are both high levels, the RS trigger 241 outputs a high-level output signal GTON. Therefore, the output signal GTON maintains a high level until the reset terminal R receives the reset signal. In the time period t5-t6, each signal repeats the previous action. At time t6, the input signal IN flips to a low level. At this time, the modulation signal CKP and the first clock signal OX both flip to a low level. The enable signal REP no longer generates pulses and also maintains a low level.Therefore, the enable signal REP will no longer affect the waveform of the second clock signal CKS, and the waveform of the second clock signal CKS is restored to a complete square wave with a duty cycle of 50%. Similarly, at time t7, the second clock signal CKS is flipped from a low level to a high level, and the first frequency division signal CQ0 is maintained at a high level because it is not cleared. Until time t8, the second clock signal CKS is flipped from a high level to a low level, and its falling edge causes the first frequency division signal CQ0 to flip from a high level to a low level, and the falling edge of the first frequency division signal CQ0 causes the second frequency division signal CQ1 to flip from a low level to a high level. The second frequency division signal CQ1 is a start control signal. When it is at a high level, the RS trigger 241 is reset, and the output signal GTON is flipped to a low level. The clock circuit 220, the signal frequency division circuit 230 and the trigger circuit 240 all stop working. Except for the second frequency division signal GQ1, the remaining signals are maintained at a low level. Repeat the above process until the next high level of the input signal IN is received.

[0044] It can be seen from the waveform that the rising edge of the output signal GTON differs from the rising edge of the input signal IN by about one first clock cycle, and the falling edge of the output signal GTON differs from the falling edge of the input signal IN by about 1.5 second clock cycles. The transmission delay of the output signal can be adjusted by adjusting the size of the first clock cycle and the second clock cycle.

[0045] Figure 7 A schematic circuit diagram of a digital signal demodulation circuit according to a second embodiment of the present invention is shown.

[0046] like Figure 7 As shown, the demodulation circuit 300 of this embodiment has the same structure as the demodulation circuit 200 of the first embodiment, and the demodulation circuit 300 includes a pulse generator 310, a clock circuit 320, a signal frequency division circuit 330 and a trigger circuit 340. The clock circuit 320 includes a NOR gate U1 and an oscillator 321, the signal frequency division circuit 330 includes a counter 331, a NOT gate U2, an AND gate U3 and a NOT gate U4, and the trigger circuit 340 includes an RS trigger 341 and an AND gate U5. These are the same as the first embodiment and will not be repeated here.

[0047] The difference between this embodiment and the first embodiment is that the counter 331 only outputs a first frequency division signal CQ0. In addition, the signal frequency division circuit 330 also includes an AND gate U6, one input end of which is connected to the output end Q0 of the counter 331 to receive the first frequency division signal CQ0, the other input end is connected to the output end of the oscillator 321 to receive the second clock signal CKS, and the output end generates a start control signal CQK. In this embodiment, the start control signal CQK is used to replace the second frequency division signal CQ1 of the first embodiment. The start control signal CQK is sent to the input end of the NOR gate U1, the input end of the NOT gate U4, and the reset end R of the RS trigger 341, and the effect it produces is the same as the second frequency division signal CQ1.

[0048] Figure 8 Shown according to Figure 7 Schematic operating waveform diagram of the demodulation circuit and digital isolator.

[0049] Combination Figure 7 and Figure 8 , the working waveforms of the various signals of the digital isolator of this embodiment are roughly the same as those of the first embodiment. The waveforms of the input signal IN, the modulation signal CKP, the first clock signal OX, and the enable signal REP are the same as those of the first embodiment, and are not repeated here. Between the time period t0-t7, the waveforms of the second clock signal CKS, the first frequency-divided signal CQ0, and the output signal GTON are the same as those of the first embodiment, and are not repeated here. The start control signal CQK is the result of the logic AND of the second clock signal CKS and the first frequency-divided signal CQ0, and maintains a low level between the time period t0-t7. At t7, the second clock signal CKS flips to a high level, and at this time, the first frequency-divided signal CQ0 is also a high level, and the start control signal CQK flips from a low level to a high level. The high-level start control signal CQK resets the RS trigger 341, and the output signal GTON flips from a high level to a low level. At t8, the high-level start control signal CQK also flips the second clock signal CKS and the first frequency-divided signal CQ0 to a low level.

[0050] pass Figure 8It can be seen that the arrival time of the falling edge of the output signal GTON is earlier than that of the first embodiment. Therefore, the generation time of the falling edge of the output signal GTON can be adjusted by controlling the number of frequency division signals generated by the counter. In other embodiments, three frequency division signals, four frequency division signals or even more frequency division signals can be used to control the level flip of the output signal GTON, so as to accurately control the transmission delay of the output signal GTON. In addition, by performing logical operations on the frequency division signals and the signals of other logic circuits, the number of clock cycles of the difference between the rising edge and the falling edge of the output signal GTON and the input signal IN can be adjusted, and the number of clock cycles of the difference between the falling edge of the output signal GTON and the input signal IN can be a non-integer, so that the transmission delay can be adjusted. The digital isolation circuit is applied to different timing requirements and the application range is expanded. The whole circuit is simple to implement, has a fast response speed and high data transmission accuracy.

[0051] Fig. 9 A schematic flow chart of a digital signal demodulation method according to an embodiment of the present invention is shown.

[0052] like Fig. 9 As shown, the present invention also provides a digital signal demodulation method, wherein the digital signal includes a periodic first clock signal OX obtained by pre-amplifying the modulation signal CKP of the input signal IN. The digital signal demodulation method is as follows: Figure 3-Figure 8 The demodulation circuit shown in the figure is used to implement the demodulation method, which includes the following steps:

[0053] In step S101 , a first clock signal having a first clock period is received, and a pulse is generated at each rising edge of the first clock signal, and a plurality of pulses are output as an enable signal.

[0054] In step S102, a periodic second clock signal is generated, and a second enable signal is received, so as to output the second clock signal from a high level state according to the enable signal in each first clock cycle.

[0055] In step S103, a second clock signal and an enable signal are received to generate a frequency-divided signal of the second clock signal according to the second clock signal, and the generated frequency-divided signal is cleared according to the enable signal.

[0056] In step S104, the frequency-divided signal and the first clock signal are received to generate an output signal, wherein the transmission delay between the output signal and the input signal is positively correlated with the first clock period.

[0057] Specifically, the transmission delay between the rising edge of the output signal GTON and the rising edge of the input signal IN is positively correlated with the first clock cycle, and the transmission delay between the falling edge of the output signal GTON and the falling edge of the input signal IN is positively correlated with the second clock cycle of the second clock signal CKS.

[0058] Since the working principle of the circuit and the waveform changes of each signal have been introduced in detail in the above-mentioned digital signal demodulation circuit, they will not be described in detail here.

[0059] In summary, the demodulation circuit, demodulation method and digital isolator of the digital signal provided by the present invention generate a periodic second clock signal through a clock circuit, and match the second clock signal with the first clock signal through an enable signal generated by a pulse generator. After that, a divided signal of the second clock signal is generated by a signal frequency division circuit, and the divided signal and the first clock signal are subjected to a logical operation to complete demodulation and obtain a final output signal. The flipping of the output signal is controlled by the first clock signal and the second clock signal, and the transmission delay between the output signal and the input signal is related to the first clock period of the first clock signal. The transmission delay of the output signal can be controlled by adjusting the size of the first clock period, which is suitable for circuits with different timing requirements, and the transmission delay can be limited to a very small value, thereby speeding up data response.

[0060] Furthermore, the signal frequency division circuit generates different frequency division signals through a counter, and the generation time of the rising edge and the falling edge of the output signal can be accurately controlled through the logical operation relationship between the frequency division signal and other signals. The generation time of the rising edge of the output signal is separated from the generation time of the rising edge of the input signal by at least one first clock cycle, so that the transmission delay of the output signal and the input signal is positively correlated with the first clock cycle and the second clock cycle. In this way, not only the transmission delay of the output signal can be adjusted, but also the maintenance time of the level state of the output signal can be controlled, and the input signal can be shaped to a certain extent to make it suitable for different circuit requirements and expand the applicability of the circuit. The transmission delay and level maintenance time of the output signal can be accurately controlled by adjusting the number of frequency division signals generated by the counter.

[0061] It should be noted that the numerical values ​​in this article are only used for exemplary description. In other embodiments of the present invention, other numerical values ​​can also be sampled to implement this solution. The specific settings should be reasonable according to the actual situation, and the present invention does not limit this.

[0062] Finally, it should be noted that: Obviously, the above embodiments are only examples for clearly explaining the present invention, and are not intended to limit the implementation methods. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from this are still within the scope of protection of the present invention.

[0063] It should also be understood that the terms and expressions used herein are for description only, and one or more embodiments of this specification should not be limited to these terms and expressions. The use of these terms and expressions does not mean to exclude any equivalent features of the illustrations and descriptions (or parts thereof), and it should be recognized that various modifications that may exist should also be included in the scope of the claims. Other modifications, changes and substitutions may also exist. Accordingly, the claims should be deemed to cover all such equivalents.

Claims

1. A demodulation circuit for a digital signal, wherein the digital signal comprises a periodic first clock signal obtained by pre-amplifying a modulation signal of an input signal, wherein: The demodulation circuit comprises: a pulse generator, receiving the first clock signal having a first clock period, generating a pulse at each rising edge of the first clock signal, and outputting the plurality of pulses as an enable signal; A clock circuit, generating a periodic second clock signal, and receiving the enable signal, wherein the enable signal powers on and resets the clock circuit in each first clock cycle to output the second clock signal from a high level state; a signal frequency dividing circuit, receiving the second clock signal and the enable signal, to generate a frequency-divided signal of the second clock signal according to the second clock signal, and to clear the generated frequency-divided signal according to the enable signal; and A trigger circuit receives the frequency-divided signal and the first clock signal to generate an output signal, wherein a transmission delay between the output signal and the input signal is positively correlated with the first clock period.

2. The demodulation circuit according to claim 1, wherein: The signal frequency division circuit generates a first frequency division signal according to the second clock signal, and generates a start control signal according to the first frequency division signal; the trigger circuit generates a rising edge of the output signal according to the first frequency division signal and the first clock signal, and generates a falling edge of the output signal according to the start control signal.

3. The demodulation circuit according to claim 2, wherein: The trigger circuit generates a rising edge of the output signal when simultaneously receiving the first frequency-divided signal in a high-level state and the first clock signal in a high-level state; the trigger circuit generates a falling edge of the output signal when receiving a rising edge of the start control signal.

4. The demodulation circuit according to claim 2, wherein: The signal frequency division circuit generates a first frequency division signal and a second frequency division signal according to the second clock signal, the second frequency division signal is a frequency division signal of the first frequency division signal, and the second frequency division signal is the start control signal.

5. The demodulation circuit according to claim 2, wherein: The transmission delay between the rising edge of the output signal and the rising edge of the input signal is positively correlated with the first clock cycle, and the transmission delay between the falling edge of the output signal and the falling edge of the input signal is positively correlated with the second clock cycle of the second clock signal.

6. The demodulation circuit according to claim 2, wherein: The clock circuit and the trigger circuit both receive the start control signal. When the start control signal is at a low level, the clock circuit, the signal frequency division circuit and the trigger circuit work normally. When the start control signal is at a high level, the clock circuit, the signal frequency division circuit and the trigger circuit stop working, and the second clock signal, the first frequency division signal and the output signal are all at a low level.

7. The demodulation circuit according to claim 2, wherein: The clock circuit comprises: A first logic gate, wherein two input terminals of the first logic gate receive an enable signal and a start control signal respectively; and An oscillator is connected to the output end of the first logic gate, generates the second clock signal when the first logic gate outputs a high level, and stops working when the first logic gate outputs a low level.

8. The demodulation circuit according to claim 7, wherein: A second clock period of the second clock signal generated by the oscillator is 0.3-2 times of the first clock period.

9. The demodulation circuit according to claim 7, wherein: The signal frequency division circuit comprises: A second logic gate, an input end of which is connected to the pulse generator and receives the enable signal; a third logic gate, wherein a first input end of the third logic gate is connected to the oscillator and receives the second clock signal; a counter, wherein a clock terminal and a reset terminal of the counter are respectively connected to an output terminal of the third logic gate and an output terminal of the second logic gate, and the output terminal of the counter outputs a first frequency-divided signal and a second frequency-divided signal, wherein the second frequency-divided signal is a frequency-divided signal of the first frequency-divided signal, and the second frequency-divided signal is the start control signal; and A fourth logic gate, wherein the input end of the fourth logic gate is connected to the output end of the counter, receives the second frequency-divided signal, and the output end of the fourth logic gate is connected to the second input end of the third logic gate.

10. The demodulation circuit according to claim 7, wherein: The signal frequency division circuit comprises: A second logic gate, an input end of which is connected to the pulse generator and receives the enable signal; a third logic gate, wherein a first input end of the third logic gate is connected to the oscillator and receives the second clock signal; A counter, wherein a clock terminal and a reset terminal of the counter are respectively connected to an output terminal of the third logic gate and an output terminal of the second logic gate, and an output terminal of the counter outputs a first frequency-divided signal; a fourth logic gate, an input terminal of the fourth logic gate receiving the start control signal, an output terminal of the fourth logic gate connected to the second input terminal of the third logic gate; and A sixth logic gate, wherein the first input terminal and the second input terminal of the sixth logic gate receive the first frequency-divided signal and the second clock signal respectively, and the output terminal of the sixth logic gate generates the start control signal and is connected to the input terminal of the fourth logic gate.

11. The demodulation circuit according to claim 9 or 10, wherein: The trigger circuit comprises: a fifth logic gate, wherein a first input end of the fifth logic gate is connected to the counter and receives the first frequency-divided signal, and a second input end of the fifth logic gate receives the first clock signal; and The RS flip-flop has a set end connected to the output end of the fifth logic gate, a reset end receiving the start control signal, and an output end outputting the output signal.

12. The demodulation circuit according to claim 11, wherein: The first logic gate is a NOR gate, the second logic gate and the fourth logic gate are both NOT gates, and the third logic gate, the fifth logic gate and the sixth logic gate are all AND gates.

13. A method for demodulating a digital signal, wherein the digital signal comprises a periodic first clock signal obtained by pre-amplifying a modulation signal of an input signal, wherein: The demodulation method comprises: receiving the first clock signal having a first clock cycle, generating a pulse at each rising edge of the first clock signal, and outputting the plurality of pulses as an enable signal; Generate a periodic second clock signal, and receive the enable signal, so as to output the second clock signal from a high level state according to the enable signal in each first clock cycle; receiving the second clock signal and the enable signal to generate a frequency-divided signal of the second clock signal according to the second clock signal, and clearing the generated frequency-divided signal according to the enable signal; and The frequency-divided signal and the first clock signal are received to generate an output signal, wherein a transmission delay between the output signal and the input signal is positively correlated with the first clock period.

14. The demodulation method according to claim 13, wherein: The transmission delay between the rising edge of the output signal and the rising edge of the input signal is positively correlated with the first clock cycle, and the transmission delay between the falling edge of the output signal and the falling edge of the input signal is positively correlated with the second clock cycle of the second clock signal.

15. A digital isolator, comprising a transmitter chip and a receiver chip, wherein the transmitter chip and the receiver chip transmit digital signals through an isolation barrier, and the transmitter chip outputs a modulated signal of an input signal through the isolation barrier, wherein: The receiving end chip comprises: an operational amplifier, configured to pre-amplify the modulated signal received via the isolation barrier to generate a first clock signal; and According to the digital signal demodulation circuit according to any one of claims 1 to 12, the first clock signal is demodulated into an output signal, the waveform of the output signal follows the input signal, and the transmission delay between the output signal and the input signal is positively correlated with the first clock period of the first clock signal.

Citation Information

Cited By

  • Data reading circuit, display driving chip, display driving method and display device

    CN119832855A

  • Signal demodulation circuit and digital isolator

    CN120389704A

  • A signal demodulation circuit and digital isolator

    CN120389704B