Digital isolator and method of digital signal transmission
By encoding rising and falling edges into pulse sequences with different time intervals in a digital isolator and transmitting them with electrical isolation, the problem of poor anti-interference capability in digital signal transmission is solved, achieving higher signal transmission reliability and anti-interference capability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-14
- Publication Date
- 2026-03-31
AI Technical Summary
Existing digital isolators have poor anti-interference capabilities during digital signal transmission and are easily affected by electromagnetic interference, leading to decoding errors.
The rising and falling edges of the input digital signal are encoded into a first pulse sequence and a second pulse sequence with different time intervals by an encoding circuit, and these encoded signals are transmitted in an electrically isolated manner through an isolation element. The decoding circuit determines the output rising and falling edges based on the time interval of the pulse sequences.
This improves the anti-interference performance of digital isolators, ensures the accuracy and reliability of digital signal transmission, and reduces the impact of electromagnetic interference on signals.
Smart Images

Figure CN114553209B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of circuit technology, and more specifically to a digital isolator and a digital signal transmission method. Background Technology
[0002] A digital isolator is a device in an electronic system that provides high resistive isolation between the electronic system and the user when digital and analog signals are transmitted. Circuit designers introduce isolation to meet safety requirements or reduce noise from ground loops, among other things. Current isolation ensures that data transmission does not occur through electrical connections or leakage paths, thus avoiding safety risks. Summary of the Invention
[0003] In view of this, embodiments of the present invention provide a digital isolator and a digital signal transmission method to improve the problem of poor anti-interference capability during digital signal transmission.
[0004] In a first aspect, embodiments of the present invention provide a digital isolator, the digital isolator comprising:
[0005] An encoding circuit is used to receive an input digital signal and encode the rising and falling edges of the input digital signal into different encoded signals respectively;
[0006] An isolation element, connected to the encoding circuit, is used to transmit the encoded signal in an electrically isolated manner;
[0007] A decoding circuit, connected to the isolation element, is used to receive the encoded signal and decode the rising and falling edges to obtain an output digital signal consistent with the input digital signal;
[0008] Wherein, the rising edge is encoded as a first pulse sequence, and the falling edge is encoded as a second pulse sequence;
[0009] The first pulse sequence includes multiple first pulse groups, and the duration interval between the first pulse groups is a first duration; the second pulse sequence includes multiple second pulse groups, and the duration interval between the second pulse groups is a second duration, the first duration and the second duration are different, and the first pulse group and the second pulse group include at least one pulse.
[0010] Furthermore, the encoding circuit is configured to start outputting the encoded signal after detecting the rising edge or falling edge;
[0011] The decoding circuit is used to control the output rising edge after receiving the first pulse sequence, and to control the output falling edge after receiving the second pulse sequence.
[0012] Furthermore, the number of first pulse groups in the first pulse sequence is the same as the number of second pulse groups in the second pulse sequence.
[0013] Furthermore, the first pulse sequence includes multiple identical first pulse groups, and the second pulse sequence includes multiple identical second pulse groups.
[0014] Furthermore, the first pulse group and the second pulse group differ in at least one of the following: the number of pulses, amplitude, width, polarity, and arrangement.
[0015] Furthermore, the number of pulses in the first pulse group and the second pulse group is the same.
[0016] Furthermore, the first pulse group includes a plurality of identical pulses, and the second pulse group includes a plurality of identical pulses.
[0017] Furthermore, both the first pulse group and the second pulse group include a single pulse.
[0018] Furthermore, the pulses of the first pulse group or the pulses of the second pulse group differ from each other in at least one of the following: pulse polarity, width, and amplitude.
[0019] Furthermore, the first pulse group includes multiple pulses, wherein at least one of the polarity, width, and amplitude of the multiple pulses is different.
[0020] Furthermore, the second pulse group includes a plurality of pulses, wherein at least one of the polarity, width, and amplitude of the plurality of pulses is different.
[0021] In a second aspect, embodiments of the present invention provide a digital signal transmission method, the method comprising:
[0022] Receive input digital signals;
[0023] The rising and falling edges of the input digital signal are encoded into different encoded signals respectively;
[0024] The encoded signal is transmitted in an electrically isolated manner;
[0025] The encoded signal is received and the rising and falling edges are decoded to obtain an output digital signal that is consistent with the input digital signal;
[0026] Wherein, the rising edge is encoded as a first pulse sequence, and the falling edge is encoded as a second pulse sequence;
[0027] The first pulse sequence includes multiple first pulse groups, and the duration interval between the first pulse groups is a first duration; the second pulse sequence includes multiple second pulse groups, and the duration interval between the second pulse groups is a second duration, the first duration and the second duration are different, and the first pulse group and the second pulse group include at least one pulse.
[0028] Furthermore, encoding the rising edge and falling edge of the input digital signal into different encoded signals includes: starting to output the encoded signal after detecting the rising edge or falling edge;
[0029] The step of receiving the encoded signal and decoding and outputting the rising and falling edges includes: controlling the output of the rising edge after receiving the first pulse sequence, and controlling the output of the falling edge after receiving the second pulse sequence.
[0030] The technical solution of this invention encodes the rising and falling edges of the input digital signal into a first pulse sequence and a second pulse sequence, respectively, through an encoding circuit. The first pulse sequence is represented by multiple first pulse groups with a first time interval, and the second pulse sequence is represented by multiple second pulse groups with a second time interval. Since more information is added to the encoded signal, the encoded information corresponding to the rising and falling edges can be accurately transmitted through the isolation element. While realizing the encoding and transmission of the input digital signal, the anti-interference performance of the digital isolator is improved. Attached Figure Description
[0031] The above and other objects, features and advantages of the present invention will become clearer from the following description of embodiments of the invention with reference to the accompanying drawings, in which:
[0032] Figure 1 This is a schematic diagram of a digital isolator according to an embodiment of the present invention;
[0033] Figure 2 This is a waveform diagram of the operation of a digital isolator based on related technologies;
[0034] Figure 3 This is a waveform diagram of the digital isolator in one optional implementation of this embodiment;
[0035] Figure 4 This is a waveform diagram of the digital isolator in another optional implementation of this embodiment;
[0036] Figure 5 This is a waveform diagram of the digital isolator in another optional implementation of this embodiment;
[0037] Figure 6 This is a waveform diagram of the digital isolator in another optional implementation of this embodiment;
[0038] Figure 7 This is a flowchart of a digital signal transmission method according to an embodiment of the present invention. Detailed Implementation
[0039] The present invention is described below based on embodiments, but the invention is not limited to these embodiments. In the detailed description of the invention below, certain specific details are described in detail. Those skilled in the art will fully understand the invention even without these details. To avoid obscuring the essence of the invention, well-known methods, processes, flows, elements, and circuits are not described in detail.
[0040] Furthermore, those skilled in the art should understand that the accompanying drawings provided herein are for illustrative purposes only and are not necessarily drawn to scale.
[0041] Furthermore, unless the context explicitly requires it, words such as "including" or "contains" in the instruction manual should be interpreted as including rather than exclusive or exhaustive; that is, meaning "including but not limited to".
[0042] In the description of this invention, it should be understood that the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Furthermore, in the description of this invention, unless otherwise stated, "a plurality of" means two or more.
[0043] Figure 1 This is a schematic diagram of a digital isolator according to an embodiment of the present invention. Figure 1 As shown, the digital isolator of this embodiment includes an encoding circuit 1, an isolation element 2, and a decoding circuit 3. The encoding circuit 1 receives the input digital signal and encodes the rising and falling edges of the input digital signal into different encoded signals. The isolation element 2 is connected to the encoding circuit 1 and transmits the encoded signals in an electrically isolated manner. The decoding circuit 3 is connected to the isolation element 2 and receives the encoded signals and decodes the output rising and falling edges to obtain an output digital signal consistent with the input digital signal. Thus, the encoding and transmission of the input digital signal are realized.
[0044] Furthermore, in this embodiment, the encoding circuit 1 starts outputting an encoded signal after detecting a rising edge or a falling edge. Specifically, the encoding circuit 1 encodes the rising edge of the input digital signal DIN into a first pulse sequence and the falling edge into a second pulse sequence. The first pulse sequence includes multiple first pulse groups, with a first duration between the multiple first pulse groups. The second pulse sequence includes multiple second pulse groups, with a second duration between the multiple second pulse groups. The second duration is different from the first duration, and both the first and second pulse groups include at least one pulse, which can be a single pulse or a pulse sequence composed of multiple consecutive pulses. Thus, by grouping pulses into pulse groups in a certain way, arranging multiple pulse groups into corresponding pulse sequences according to a preset time interval, and using different pulse sequences to represent the rising and falling edges of the input digital signal, the encoded signal simultaneously includes pulse information, pulse group information, and pulse sequence information, resulting in richer information and improved anti-interference capability of the encoded signal.
[0045] Meanwhile, due to the difference between the first pulse sequence and the second pulse sequence, the isolation element 2 transmits the pulse sequence (i.e., encoded signals for the rising and falling edges) to the decoding circuit 3 using electrical isolation (i.e., the input and output terminals are not grounded). Upon receiving the first pulse sequence, the decoding circuit 3 controls the output to output the rising edge, and upon receiving the second pulse sequence, controls the output to output the falling edge.
[0046] Specifically, since the first pulse sequence and the second pulse sequence have different time intervals, and the corresponding time intervals of the first and second pulse sequences are both fixed, the decoding circuit determines that the first pulse sequence has been detected when the time interval of the pulse sequence detected in the encoded signal is a first duration, and outputs a rising edge at the output terminal. When the time interval of the pulse sequence detected in the encoded signal is a second duration, it determines that the second pulse sequence has been detected, and outputs a falling edge at the output terminal. Thus, the decoding circuit can accurately output rising and falling edges according to the time intervals corresponding to the pulse sequences, thereby outputting an output digital signal consistent with the waveform of the input digital signal and improving the anti-interference capability during digital signal transmission.
[0047] Optionally, the encoding circuit 1 and decoding circuit 3 in this embodiment can be constructed using an edge detection circuit, a signal modulator, and a carrier generator. The isolation element 2 can be a capacitor or a miniature transformer. Furthermore, when the encoding circuit outputs a single-channel pulse signal, a single-ended transmission type isolation element is used accordingly. When the encoding circuit outputs a dual-channel differential signal, a differential transmission type isolation element is used accordingly to further improve the anti-interference capability during pulse sequence transmission and the anti-interference performance of the digital isolator.
[0048] The technical solution of this invention encodes the rising and falling edges of the input digital signal into a first pulse sequence and a second pulse sequence, respectively, through an encoding circuit. The first pulse sequence is represented by multiple first pulse groups with a first time interval, and the second pulse sequence is represented by multiple second pulse groups with a second time interval. This adds more correlation information to the encoded signal, improving its anti-interference capability. Simultaneously, the encoded information corresponding to the rising and falling edges is transmitted through an isolation element. The output rising and falling edges are determined by the decoding circuit based on the time interval of the pulse signals in the encoded signal. This achieves both encoding and transmission of the input digital signal while improving the anti-interference capability of the encoded signal and the anti-interference performance of the digital isolator.
[0049] Figure 2 This is a waveform diagram of the operation of a digital isolator based on related technologies. For example... Figure 2 As shown, in the digital isolator of this related technology, the rising edge of the input digital signal DIN is encoded as 6 consecutive pulses, and the falling edge is encoded as 4 consecutive pulses. Therefore, at the decoding end, the rising and falling edges can be identified by counting the number of consecutive pulses within a predetermined period, and the output digital signal DOUT can be obtained. However, digital isolators using this encoding method have poor anti-interference capabilities. If electromagnetic interference occurs during transmission, causing a change in the number of consecutive pulses, it may lead to decoding errors at the decoding end.
[0050] Figure 3 This is a waveform diagram of the digital isolator in an optional implementation of this embodiment. For example... Figure 3 As shown, in this implementation, the first pulse sequence M1 corresponding to the rising edge of the input digital signal DIN includes two first pulse groups, namely first pulse group M11 and first pulse group M12. Each of the first pulse groups M11 and M12 includes one pulse. The time interval between the first pulse groups M11 and M12 is T1. The second pulse sequence M2 corresponding to the falling edge of the input digital signal DIN includes two second pulse groups, namely second pulse group M21 and second pulse group M22. Each of the second pulse groups M21 and M22 includes one pulse, and the time interval between the second pulse groups M21 and M22 is T2. Therefore, by using pulse groups with different time intervals to form the pulse sequence, the information content in the encoded signal is enriched, thereby improving the anti-interference capability of the encoded signal.
[0051] exist Figure 3In this circuit, the output signal of the encoding circuit is the encoded signal PC. The decoding circuit receives the encoded signal PC through an isolation element. When the first pulse sequence M1 is detected in the encoded signal PC, a rising edge is output at the output terminal, and when the second pulse sequence M2 is detected in the encoded signal PC, a falling edge is output at the output terminal.
[0052] Furthermore, since the first pulse sequence and the second pulse sequence have different time intervals, and the corresponding time intervals of the first pulse sequence and the second pulse sequence are both determined, when the decoding circuit detects a pulse sequence time interval of T1 in the encoded signal PC, it determines that the first pulse sequence M1 has been detected and outputs a rising edge at the output terminal. When the pulse sequence time interval of T2 is detected in the encoded signal PC, it determines that the second pulse sequence M2 has been detected and outputs a falling edge at the output terminal. Thus, the decoding circuit can accurately output rising and falling edges according to the corresponding time intervals of the pulse sequences, thereby outputting an output digital signal DOUT that is consistent with the waveform of the input digital signal DIN, and improving the anti-interference capability during digital signal transmission.
[0053] Optionally, to facilitate the output of the encoded signal and the detection of rising and falling edges, the number of first pulse groups in the first pulse sequence in this embodiment is the same as the number of second pulse groups in the second pulse sequence.
[0054] It should be understood that the number of the first pulse group and the second pulse group in this embodiment is not limited to two, and can also be more than two. The number and type of the first pulse group and the second pulse group can be set according to actual needs. The more groups and the more complex they are, the more complex the circuit will be, and the better the anti-interference performance will be.
[0055] Furthermore, the first pulse sequence includes multiple identical first pulse groups, and the second pulse sequence includes multiple identical second pulse groups. Specifically, each first pulse group in the first pulse sequence can also adopt the same form as each second pulse group in the second pulse sequence. When each first pulse group adopts the same form, each second pulse group adopts the same form, and each first pulse group and each second pulse group adopts the same form, the number, polarity, width, amplitude, and arrangement of pulses in each first pulse group and each second pulse group are all the same. Thus, by setting identical pulse groups, it facilitates the output of the coded signal and the detection of rising and falling edges.
[0056] like Figure 3As shown, in this implementation, the first pulse sequence M1 corresponding to the rising edge of the input digital signal includes two identical first pulse groups, namely first pulse group M11 and first pulse group M12, with a time interval T1 between them. Simultaneously, the second pulse sequence M2 corresponding to the falling edge of the input digital signal includes two identical second pulse groups, namely second pulse group M21 and second pulse group M22, with a time interval T2 between them. The first pulse group M11, first pulse group M12, second pulse group M21, and second pulse group M22 all adopt the same form. Therefore, by setting the first and second pulse groups in the same form, while improving anti-interference performance, the use of identical first and second pulse groups helps to reduce signal transmission delay time and improve the overall performance of the digital isolator.
[0057] Specifically, when the first pulse sequence includes multiple identical first pulse groups and the second pulse sequence includes multiple identical second pulse groups, the first pulse groups and the second pulse groups can take the same form or take different forms. When the first pulse groups and the second pulse groups take different forms, the first pulse groups and the second pulse groups differ in at least one of the following: the number of pulses, the width, the polarity, the amplitude, and the arrangement.
[0058] Furthermore, in this embodiment, the first pulse sequence may include multiple different first pulse groups, and the second pulse sequence may include multiple different second pulse groups. "Multiple different" indicates that there are at least two different first pulse groups or second pulse groups. When different first pulse groups or second pulse groups exist, the pulses in each first pulse group differ in at least one of the following: pulse quantity, width, polarity, amplitude, and arrangement; and the pulses in each second pulse group differ in at least one of the following: pulse quantity, width, polarity, amplitude, and arrangement.
[0059] Figure 4 This is a waveform diagram of the digital isolator in another optional implementation of this embodiment. For example... Figure 4As shown, in this implementation, the first pulse sequence M1 corresponding to the rising edge of the input digital signal DIN includes two different first pulse groups, namely first pulse group M11 and first pulse group M12, with a time interval T1 between them. Both first pulse groups M11 and M12 contain one pulse, and their pulse widths are the same, but their polarities and amplitudes are different. Similarly, the second pulse sequence M2 corresponding to the falling edge of the input digital signal DIN includes two different second pulse groups, namely second pulse group M21 and second pulse group M22, with a time interval T2 between them. Both second pulse groups M21 and M22 contain one pulse, and their pulse polarities are the same, but their pulse widths and amplitudes are different. Therefore, by forming corresponding pulse groups with pulses of different pulse widths, polarities, and amplitudes, and by arranging different pulse groups in a predetermined manner according to a preset time interval, corresponding pulse sequences are formed. Different pulse sequences represent the rising and falling edges of the input digital signal, respectively. Since both the first and second pulse sequences include attribute information such as the corresponding pulse polarity, width, and amplitude, as well as the arrangement information and time interval information of the pulse groups, the amount of information in the encoded signal is richer, thereby improving the anti-interference ability of the encoded signal.
[0060] Furthermore, in Figure 4 In this circuit, since the first pulse sequence M1 and the second pulse sequence M2 have different time intervals T1 and T2, and these time intervals T1 and T2 are both fixed, the decoding circuit determines that the first pulse sequence M1 has been detected when the time interval of the pulse group within the pulse sequence in the encoded signal PC is T1, and outputs a rising edge at the output terminal. Conversely, when the time interval of the pulse group within the pulse sequence in the encoded signal PC is T2, the second pulse sequence M2 has been detected, and a falling edge is output at the output terminal. Therefore, the decoding circuit can accurately output rising and falling edges according to the time intervals corresponding to the pulse sequences, thereby outputting an output digital signal DOUT that is consistent with the waveform of the input digital signal DIN, and improving the anti-interference capability during digital signal transmission.
[0061] Optionally, to facilitate the output of the encoded signal and the detection of rising and falling edges, the number of pulses in the first pulse group and the second pulse group are the same in this embodiment.
[0062] It should be understood that the number of pulses in the first pulse group and the second pulse group can be one or more. The number of pulses in the first pulse group and the second pulse group can be set according to actual needs. Setting a larger number of pulses will relatively increase the complexity of the circuit, but will also further improve the anti-interference capability.
[0063] Furthermore, the first pulse group includes multiple identical pulses, and the second pulse group also includes multiple identical pulses. When both the first and second pulse groups include multiple identical pulses, and each pulse in each pulse group adopts the same form, the polarity, width, amplitude, and other attributes of each pulse are identical. Therefore, by setting a larger number of pulses, the encoded information in the pulse sequence is further enriched, improving the anti-interference capability during digital signal transmission. Moreover, by setting the pulses in the first and second pulse groups to the same form, while improving anti-interference capability, it is beneficial to reduce the overall circuit complexity, reduce signal transmission delay time, and improve the overall performance of the digital isolator.
[0064] Figure 5 This is a waveform diagram of the digital isolator in another optional implementation of this embodiment. For example... Figure 5As shown, in this implementation, the first pulse sequence M1 corresponding to the rising edge of the input digital signal DIN includes two first pulse groups, namely first pulse group M11 and first pulse group M12. The time interval between first pulse group M11 and first pulse group M12 is T1. First pulse group M11 and first pulse group M12 use the same pulse sequence format, each including three pulses, and the polarity, width, amplitude, and arrangement of each pulse are identical. The second pulse sequence M2 corresponding to the falling edge of the input digital signal DIN includes two second pulse groups, namely second pulse group M21 and second pulse group M22. The time interval between second pulse group M21 and second pulse group M22 is T2. Second pulse group M21 and second pulse group M22 use the same pulse sequence format, each including three pulses, and the polarity, width, amplitude, and arrangement of each pulse are identical. Furthermore, the pulses in first pulse group M11 and second pulse group M21 differ in pulse amplitude, but their pulse width and polarity are identical. Therefore, a pulse group is formed by a pulse sequence consisting of three pulses with the same pulse polarity, width, and amplitude. These identical pulse groups are then arranged at preset time intervals to form a first pulse sequence and a second pulse sequence. Different pulse sequences represent the rising and falling edges of the input digital signal, respectively. Since both the first and second pulse sequences include information about the polarity, width, and amplitude of the corresponding pulses, as well as the arrangement and time interval information of the pulse groups, the information content in the encoded signal is enriched, thereby improving the anti-interference capability of the encoded signal. Furthermore, by setting identical first and second pulse groups, while improving anti-interference performance, it is beneficial to reduce signal transmission delay time and enhance the overall performance of the digital isolator.
[0065] exist Figure 5 In this circuit, the output signal of the encoding circuit is the encoded signal PC. The decoding circuit receives the encoded signal PC through an isolation element. When the first pulse sequence M1 is detected in the encoded signal PC, a rising edge is output at the output terminal, and when the second pulse sequence M2 is detected in the encoded signal PC, a falling edge is output at the output terminal.
[0066] Furthermore, when the decoding circuit detects a time interval T1 between pulse groups within the pulse sequence in the encoded signal PC, it determines that the first pulse sequence M1 has been detected and outputs a rising edge at the output terminal. When the time interval T2 between pulse groups within the pulse sequence in the encoded signal PC is detected, it determines that the second pulse sequence M2 has been detected and outputs a falling edge at the output terminal. Thus, the decoding circuit can accurately output rising and falling edges according to the time intervals corresponding to the pulse sequences, thereby outputting an output digital signal DOUT that is consistent with the waveform of the input digital signal DIN, and improving the anti-interference capability during digital signal transmission.
[0067] Specifically, when the first pulse group includes multiple identical pulses, and the second pulse group includes the same number of identical pulses, the pulses in the first pulse group and the pulses in the second pulse group can be the same or different. When the pulses in the first pulse group and the second pulse group are the same, the polarity, width, and amplitude of each corresponding pulse in the pulse group are the same. When the pulses in the first pulse group and the second pulse group are different, at least one of the polarity, width, and amplitude of each corresponding pulse in the pulse group is different. Furthermore, the corresponding pulses appear in the same order within their respective pulse sequences.
[0068] Furthermore, the first pulse group includes multiple different pulses. When the pulses in the first pulse group adopt different forms, at least one of the polarity, width, and amplitude of the multiple pulses in the first pulse group is different. Furthermore, the second pulse group includes multiple different pulses. When the pulses in the second pulse group adopt different forms, at least one of the polarity, width, and amplitude of the multiple pulses in the second pulse group is different. Here, "multiple different" means that there are at least two different pulses.
[0069] Figure 6 This is a waveform diagram of the digital isolator in another optional implementation of this embodiment. For example... Figure 6 As shown, in this implementation, the first pulse sequence M1 corresponding to the rising edge of the input digital signal DIN includes two different first pulse groups, namely first pulse group M11 and first pulse group M12. The time interval between first pulse group M11 and first pulse group M12 is T1. First pulse group M11 consists of three pulses, with the same polarity and width but different amplitudes. First pulse group M12 has the same number of pulses as first pulse group M11, and the three pulses in first pulse group M12 have the same polarity but different amplitudes. The width of the last pulse in first pulse group M12 is also different from the previous two pulses.
[0070] Simultaneously, the second pulse sequence M2 corresponding to the falling edge of the input digital signal DIN includes two different second pulse groups, namely second pulse group M21 and second pulse group M22. The time interval between second pulse group M21 and second pulse group M22 is T2, and each second pulse group includes three different pulses. The three pulses in second pulse group M21 have the same width but different amplitudes. Furthermore, the first pulse in second pulse group M21 is a negative pulse, and the latter two are positive pulses. That is, the polarities of the pulses in second pulse group M21 are different. The three pulses in second pulse group M22 have the same width and polarity, but different amplitudes. Therefore, through the above configuration, the information content in the encoded signal is enriched, thereby improving the anti-interference capability of the encoded signal.
[0071] Furthermore, in Figure 6 In this circuit, since the first pulse sequence M1 and the second pulse sequence M2 have different time intervals T1 and T2, and these time intervals T1 and T2 are both fixed, the decoding circuit determines that the first pulse sequence M1 has been detected when the time interval of the pulse group within the pulse sequence in the encoded signal PC is T1, and outputs a rising edge at the output terminal. Conversely, when the time interval of the pulse group within the pulse sequence in the encoded signal PC is T2, the second pulse sequence M2 has been detected, and a falling edge is output at the output terminal. Therefore, the decoding circuit can accurately output rising and falling edges according to the time intervals corresponding to the pulse sequences, thereby outputting an output digital signal DOUT that is consistent with the waveform of the input digital signal DIN, and improving the anti-interference capability during digital signal transmission.
[0072] Figure 7 This is a flowchart of a digital signal transmission method according to an embodiment of the present invention. Figure 7 As shown, the digital signal transmission method of this embodiment includes the following steps:
[0073] In step S100, an input digital signal is received.
[0074] In this embodiment, the input digital signal is received through the input terminal of the encoding circuit.
[0075] In step S200, the rising and falling edges of the input digital signal are encoded into different encoded signals.
[0076] In this embodiment, the rising and falling edges of the input digital signal are encoded by an encoding circuit. The encoding circuit can be constructed using an edge detection circuit, a signal modulator, and a carrier generator. The encoding circuit encodes the rising and falling edges of the input digital signal into different encoded signals by starting to output the encoded signal after detecting a rising or falling edge. When outputting the encoded signal, the encoding circuit can output a single-channel pulse signal or dual-channel differential signals.
[0077] Furthermore, in this embodiment, the rising edge is encoded as a first pulse sequence, and the falling edge is encoded as a second pulse sequence. The first pulse sequence includes multiple first pulse groups, with a duration interval of a first duration between the first pulse groups. The second pulse sequence includes multiple second pulse groups, with a duration interval of a second duration between the second pulse groups. The first and second durations are different, and each first and second pulse group includes at least one pulse.
[0078] Specifically, the first pulse sequence and the second pulse sequence can be set in any of the aforementioned pulse sequence setting methods, which will not be elaborated here.
[0079] In step S300, the encoded signal is transmitted in an electrically isolated manner.
[0080] In this embodiment, the encoded signal is transmitted in an electrically isolated manner using an isolation element. The isolation element can be a capacitor or a miniature transformer. When the encoding circuit outputs a single-channel pulse signal, a single-ended transmission isolation element is used. When the encoding circuit outputs a dual-channel differential signal, a differential transmission isolation element is used to further improve the anti-interference capability during pulse sequence transmission and the anti-interference performance of the digital isolator.
[0081] In step S400, the encoded signal is received and the rising and falling edges of the output are decoded to obtain an output digital signal that is consistent with the input digital signal.
[0082] In this embodiment, the encoded signal is received by a decoding circuit, which decodes and outputs the rising and falling edges. The decoding circuit can be constructed using an edge detection circuit, a signal modulator, and a carrier generator.
[0083] Furthermore, the decoding circuit receives the encoded signal and decodes and outputs rising and falling edges, including controlling the output of rising edges after receiving the first pulse sequence and controlling the output of falling edges after receiving the second pulse sequence.
[0084] Furthermore, since the first pulse sequence and the second pulse sequence have different time intervals, and the corresponding time intervals of the first pulse sequence and the second pulse sequence are both determined, the decoding circuit determines that the first pulse sequence has been detected when the time interval of the pulse sequence detected in the encoded signal is a first duration, and outputs a rising edge at the output terminal. When the time interval of the pulse sequence detected in the encoded signal is a second duration, it determines that the second pulse sequence has been detected, and outputs a falling edge at the output terminal. Thus, the decoding circuit can accurately output rising and falling edges according to the time intervals corresponding to the pulse sequences, thereby outputting an output digital signal consistent with the waveform of the input digital signal and improving the anti-interference capability during digital signal transmission.
[0085] The technical solution of this embodiment redundantly encodes the rising and falling edges of the input digital signal. A first pulse sequence consisting of a first pulse group with a first time interval and a second pulse sequence consisting of a second pulse group with a second time interval represent the rising and falling edges, respectively. Because more information is added to the encoded information, the rising and falling edge information can be accurately transmitted through isolation elements, improving anti-interference performance. Simultaneously, the decoding circuit accurately outputs the rising and falling edges according to the time intervals corresponding to the pulse sequences, thereby outputting an output digital signal consistent with the waveform of the input digital signal, further enhancing the anti-interference capability during digital signal transmission.
[0086] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. For those skilled in the art, the present invention can be modified and varied in various ways. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of the present invention should be included within the scope of protection of the present invention.
Claims
1. A digital isolator, comprising: The digital isolator comprises: an encoding circuit configured to receive an input digital signal and encode rising and falling edges of the input digital signal as different encoded signals; an isolation element connected to the encoding circuit and configured to transmit the encoded signals in an electrically isolated manner; a decoding circuit connected to the isolation element and configured to receive the encoded signals and decode output rising and falling edges to obtain an output digital signal consistent with the input digital signal; wherein the rising edges are encoded as a first pulse sequence and the falling edges are encoded as a second pulse sequence; the first pulse sequence comprises a plurality of first pulse groups, and time intervals between the first pulse groups are first time intervals; the second pulse sequence comprises a plurality of second pulse groups, and time intervals between the second pulse groups are second time intervals, the first time intervals and the second time intervals being different, and the first pulse groups and the second pulse groups each comprise at least one pulse; wherein the decoding circuit determines that the first pulse sequence is detected when a time interval of a pulse sequence in the encoded signals is the first time interval, and determines that the second pulse sequence is detected when a time interval of a pulse sequence in the encoded signals is the second time interval.
2. The digital isolator of claim 1, wherein, The encoding circuit is configured to start outputting the encoded signals after detecting the rising or falling edges. The decoding circuit is configured to control output of the rising edges after receiving the first pulse sequence, and control output of the falling edges after receiving the second pulse sequence.
3. The digital isolator of claim 1, wherein, The number of first pulse groups in the first pulse sequence is the same as the number of second pulse groups in the second pulse sequence.
4. The digital isolator of claim 1, wherein, The first pulse sequence comprises a plurality of identical first pulse groups, and the second pulse sequence comprises a plurality of identical second pulse groups.
5. The digital isolator of claim 4, wherein, The first pulse groups and the second pulse groups differ in at least one of the number, amplitude, width, polarity, and arrangement of pulses.
6. The digital isolator of claim 1, wherein, The number of pulses in the first pulse groups is the same as the number of pulses in the second pulse groups.
7. The digital isolator of claim 1, wherein, The first pulse groups each comprise a plurality of identical pulses, and the second pulse groups each comprise a plurality of identical pulses.
8. The digital isolator of claim 1, wherein, The first pulse groups and the second pulse groups each comprise one pulse.
9. The digital isolator of claim 6, wherein, The pulse of the first pulse group or the pulse of the second pulse group differs in at least one of the polarity, width, and amplitude of the pulse.
10. The digital isolator of claim 1, wherein, The first pulse groups each comprise a plurality of pulses, and at least one of the polarity, width, and amplitude of the pulses is different.
11. The digital isolator of claim 1, wherein, The second pulse groups each comprise a plurality of pulses, and at least one of the polarity, width, and amplitude of the pulses is different.
12. A method of transmitting digital signals, characterized by The method comprises: receiving an input digital signal; encoding rising and falling edges of the input digital signal as different encoded signals; transmitting the encoded signals in an electrically isolated manner; receiving the encoded signals and decoding output rising and falling edges to obtain an output digital signal consistent with the input digital signal; wherein the rising edges are encoded as a first pulse sequence and the falling edges are encoded as a second pulse sequence; The first pulse sequence comprises a plurality of first pulse groups, and time intervals between the first pulse groups are first time intervals; the second pulse sequence comprises a plurality of second pulse groups, and time intervals between the second pulse groups are second time intervals, the first time intervals and the second time intervals are different, and the first pulse groups and the second pulse groups comprise at least one pulse; the decoding circuit determines that the first pulse sequence is detected when a time interval of a pulse sequence detected in the encoded signal is the first time interval; and the decoding circuit determines that the second pulse sequence is detected when a time interval of a pulse sequence detected in the encoded signal is the second time interval.
13. The digital signal transmission method according to claim 12, wherein The encoding of the rising edge and the falling edge of the input digital signal into different encoded signals respectively comprises: starting to output the encoded signal after the rising edge or the falling edge is detected; The receiving of the encoded signal and the decoding of the output rising edge and the output falling edge comprise: controlling the output rising edge after the first pulse sequence is received, and controlling the output falling edge after the second pulse sequence is received.
Citation Information
Patent Citations
Digital isolator and digital signal transmission method
CN114142847A