An OOK modulation and demodulation system

By introducing edge synchronization processing technology into the OOK modulation system, the edge pulses of the modulation signal are captured and processed, which solves the problems of bit errors and pulse width distortion in the traditional OOK modulation method, achieves edge synchronization of the input signal and the output signal, and reduces the Bit error rate.

CN111970220BActive Publication Date: 2024-09-24THREE PEAK SEMICON (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010807680.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-12
Publication Date
2024-09-24
Estimated Expiration
2040-08-12

AI Technical Summary

Technical Problem

The traditional OOK modulation method will cause bit errors and large PWD pulse width distortion when the carrier signal frequency is low, resulting in a poor output eye diagram of the decoded signal and a high bit error rate.

Method used

Using edge synchronization processing, the secondary modulation unit in the modulation module captures the edge pulse of the input signal and processes the primary modulation signal to form a secondary modulation signal that is aligned with at least one edge of the input signal and is used in the demodulation module The signal restoration unit removes the part that is higher than the pulse width of the input signal to achieve edge synchronization between the input signal and the output signal.

Benefits of technology

It reduces the pulse width distortion and bit error rate of signals before and after modulation and demodulation, achieves edge synchronization between the input signal and the output signal, and improves the signal reception quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111970220B
    Figure CN111970220B
Patent Text Reader

Abstract

The present invention provides an OOK modulation and demodulation system, including a modulation module, a channel and a demodulation module, the modulation module includes an OOK modulator and a secondary modulation unit, the OOK modulator is used to modulate an input signal and output a primary modulation signal, the secondary modulation unit is connected to the OOK modulator, and is used to capture the edge pulse of the input signal and process the primary modulation signal to form a secondary modulation signal that is aligned with at least a single edge of the input signal; the channel is connected to the modulation module and the demodulation module, and is used to transmit the secondary modulation signal to the demodulation module; the demodulation module includes a demodulator and a signal restoration unit, the demodulator is used to demodulate the secondary modulation signal to obtain a demodulation signal, and the signal restoration unit is connected to the demodulator, and is used to obtain an output signal with the same pulse width as the input signal after processing the demodulation signal. Through the technical solution of the present application, the edge synchronization and alignment of the input signal and the output signal can be achieved to ensure that the demodulated signal has no duty cycle distortion problem and reduce the bit error rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of signal modulation and demodulation, and in particular to an OOK modulation and demodulation system. Background Art

[0002] During the transmission process of the signal, its transmission medium may be a long-distance transmission line, an optical coupler, a capacitor and other media. Due to the signal distortion, loss and other bad phenomena in the transmission channel, it is difficult for the baseband signal to receive the complete input signal at the receiving end. Therefore, OOK modulation is often used to move the signal spectrum to a high frequency where the transmission medium can pass, so that the input signal is transmitted in the form of a carrier, and finally a demodulation link is added at the receiver to demodulate the signal from the carrier. OOK (On-Off Keying) modulation is also called binary amplitude keying modulation, which uses a unipolar non-return-to-zero code sequence to control the opening and closing of the sinusoidal carrier. Due to the simplicity of implementation of this modulation method, the amplitude keying method has been widely used in optical fiber communication systems and isolation circuit systems. However, when OOK modulation is used, bit errors will occur when the carrier signal frequency is low, and the transmission signal cannot be sampled. In addition, the edge delay between the input signal edge and the sampled carrier signal will also cause the PWD of the decoded signal to be uncontrollable. Therefore, the traditional OOK modulation method has the disadvantages of large PWD pulse width distortion, poor output eye diagram and high bit error rate. Summary of the invention

[0003] In order to solve the above problems, the purpose of the present invention is to provide an OOK modulation and demodulation system, including a modulation module, a channel and a demodulation module, which adopts an edge synchronization processing method to solve the problem of inconsistent pulse width before and after modulation and demodulation, reduce pulse width distortion, and reduce bit error rate.

[0004] Specifically, on one hand, the present invention provides an OOK modulation and demodulation system, comprising a modulation module, a channel and a demodulation module; the modulation module comprises an OOK modulator and a secondary modulation unit, the OOK modulator is used to modulate an input signal and output a primary modulation signal, the secondary modulation unit is connected to the OOK modulator, and is used to capture the edge pulse of the input signal and process the primary modulation signal to form a secondary modulation signal, the secondary modulation signal is aligned with the input signal on at least a single edge; the channel is connected to the modulation module and the demodulation module, and is used to transmit the secondary modulation signal to the demodulation module; the demodulation module comprises a demodulator and a signal restoration unit, the demodulator is used to demodulate the secondary modulation signal to obtain a demodulation signal, and the signal restoration unit is connected to the demodulator, and is used to process the demodulation signal to obtain an output signal with the same pulse width as the input signal.

[0005] Preferably, the secondary modulation unit in the above system includes a double-edge pulse circuit and a first logic circuit; the double-edge pulse circuit is connected to the input signal, and generates a double-edge pulse signal on the rising edge and falling edge of the input signal; the first logic circuit is connected to the double-edge pulse circuit and the OOK modulator, receives and processes the double-edge pulse signal and the primary modulation signal, and outputs the secondary modulation signal that is aligned with the single edge of the input signal.

[0006] Preferably, in the above system, the first logic circuit is an adding circuit.

[0007] Preferably, the signal restoration unit in the above system includes a single edge delay circuit.

[0008] Preferably, the signal restoration unit in the above system includes a single-edge pulse circuit and a second logic circuit; the single-edge pulse circuit is connected to the demodulator, receives the demodulated signal, and generates a single-edge pulse signal at the rising edge or falling edge of the demodulated signal; the second logic circuit is connected to the single-edge pulse circuit and the demodulator, receives and processes the single-edge pulse signal and the demodulated signal, and outputs an output signal with the same pulse width as the input signal.

[0009] Preferably, the second logic circuit in the above system is a subtraction circuit.

[0010] Preferably, the modulation module in the above system also includes a preprocessing unit, which is located at the front end of the OOK modulator and the secondary modulation unit, and is used for preprocessing the input signal to form a preprocessed signal with a single edge delay relative to the input signal, and output it to the OOK modulator and the secondary modulation unit; the demodulation module does not include the signal restoration unit.

[0011] Preferably, the preprocessing unit in the above system is a single edge delay circuit.

[0012] Preferably, the secondary modulation unit in the above system includes a double-edge pulse circuit and a third logic circuit; the double-edge pulse circuit is connected to the preprocessing unit, receives the preprocessing signal, and generates a double-edge pulse signal on the rising edge and falling edge of the preprocessing signal; the third logic circuit is connected to the double-edge pulse circuit and the OOK modulator, receives and processes the double-edge pulse signal and the primary modulation signal, and outputs the secondary modulation signal aligned with the double edges of the input signal.

[0013] Preferably, the third logic circuit in the above system is an adding circuit.

[0014] Preferably, the pulse width of the double-edge pulse circuit in the above system is equal to the pulse width of the modulation clock signal.

[0015] Preferably, the demodulation module in the above system also includes a shaping circuit.

[0016] Compared with the prior art, the above technical solution has the following beneficial effects:

[0017] 1. Realize the edge synchronization of input signal and output signal;

[0018] 2. Reduce the pulse width distortion and bit error rate problems of the signal before and after modulation and demodulation. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 A schematic diagram of the structure of an OOK modulation and demodulation system in accordance with a preferred embodiment of the present invention;

[0020] Figure 2 The signal waveform diagrams of each level of the OOK modulation and demodulation system according to a preferred embodiment of the present invention are as follows;

[0021] Figure 3 A schematic diagram of the structure of an OOK modulation and demodulation system in accordance with another preferred embodiment of the present invention;

[0022] Figure 4 The signal waveform diagrams of each level of the OOK modulation and demodulation system according to another preferred embodiment of the present invention are as follows;

[0023] Figure 5 A schematic diagram of the structure of an OOK modulation and demodulation system in accordance with another preferred embodiment of the present invention;

[0024] Figure 6 The following are signal waveform diagrams of various levels of an OOK modulation and demodulation system in accordance with another preferred embodiment of the present invention. DETAILED DESCRIPTION

[0025] The advantages of the present invention are further described below in conjunction with the accompanying drawings and specific embodiments.

[0026] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0027] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms of "a", "said" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0028] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0029] In the following description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module" and "component" can be used interchangeably.

[0030] See attached Figure 1 , is a structural diagram of an OOK modulation and demodulation system in accordance with a preferred embodiment of the present invention, including a modulation module, a channel and a demodulation module.

[0031] The modulation module includes an OOK modulator and a secondary modulation unit, wherein the OOK modulator is a traditional OOK modulator, which receives an input signal and a clock signal, and outputs a primary modulation signal after modulating the input signal. Different from the traditional OOK modulator, the OOK modulator generates a primary modulation signal after modulating the input signal, but this modulated signal is not directly transmitted through the channel, but is input to the secondary modulation unit for further processing.

[0032] The secondary modulation unit is connected to the OOK modulator, receives the input signal and the primary modulation signal, and captures the edge pulse of the input signal and processes the primary modulation signal to form a secondary modulation signal that is at least single-edge aligned with the input signal. It should be noted that the secondary modulation signal is at least single-edge aligned with the input signal does not mean that each pulse of the secondary modulation signal has at least one edge (rising edge / falling edge) aligned with the edge of the input signal, but that in each pulse period corresponding to the input signal, the secondary modulation signal has at least one pulse aligned with the rising edge or falling edge of the input signal. The secondary modulation signal is the modulated signal.

[0033] The channel is connected to the modulation module and the demodulation module, and is used to transmit the secondary modulation signal to the demodulation module. The present invention does not limit the specific implementation of the channel, such as inductance, optical coupling, capacitance, twisted pair and other media, and is not limited to a specific channel form. Different channel forms are within the scope of protection of this patent.

[0034] The demodulation module includes a demodulator, which receives a secondary modulation signal and is used to demodulate the secondary modulation signal to obtain a demodulated signal. The demodulated signal is not directly input after being obtained. The demodulation module also includes a signal restoration unit, which is connected to the demodulator and is used to process the demodulated signal, remove the part of the demodulated signal that is higher than the pulse width of the input signal, and restore the demodulated signal to an output signal with the same pulse width as the input signal.

[0035] Through this technical solution, the input signal modulated by the OOK modulator is subjected to secondary processing through the secondary modulation module, thereby obtaining a secondary modulation signal that is at least single-edge aligned with the input signal, and the signal is transmitted to the demodulation module. After demodulation by the demodulator, the demodulation module is reprocessed by the signal restoration unit to restore the pulse width of the output signal, and an output signal with the same pulse width as the output signal is obtained, thereby achieving edge synchronization between the input signal and the output signal, and effectively reducing the pulse width distortion and bit error rate problems of the signal before and after modulation-demodulation.

[0036] Based on the above embodiments, in a preferred embodiment of the present invention, the secondary modulation unit includes a double-edge pulse circuit and a first logic circuit; the double-edge pulse circuit receives an input signal, captures the rising edge and the falling edge of the input signal, and generates a pulse signal at the rising edge and the falling edge of the input signal, that is, a double-edge pulse signal; the first logic circuit is connected to the double-edge pulse circuit and the OOK modulator, receives and processes the double-edge pulse signal and the primary modulation signal, and adds the double-edge pulse signal to the primary modulation signal. Since the double-edge pulse signal is a pulse signal at the rising edge and the falling edge of the input signal, after passing through the first logic circuit, the output secondary modulation signal is single-edge aligned with the input signal. As mentioned above, single-edge alignment does not mean that each pulse of the secondary modulation signal has an edge (rising edge / falling edge) aligned with the edge of the input signal, but that in each pulse period corresponding to the input signal, the secondary modulation signal has a pulse aligned with the rising edge or the falling edge of the input signal.

[0037] The present invention does not specifically limit the specific implementation method of the double-edge pulse circuit. Any circuit that captures the rising edge and falling edge of a signal and forms a pulse signal at the rising edge and falling edge is within the protection scope of the present invention.

[0038] Based on the above embodiments, in a preferred embodiment of the present invention, the first logic circuit is an addition circuit, through which a double-edge pulse signal is added to a primary modulation signal, thereby obtaining a secondary modulation signal aligned with a single edge of the input signal. Furthermore, in each pulse cycle corresponding to the input signal, the secondary modulation signal has a pulse aligned with the rising edge of the input signal. Through the addition circuit and the double-edge pulse circuit, the edge signal lost when the OOK modulator modulates the input signal is captured to form a secondary modulation signal with the edge signal of the input signal.

[0039] The present invention does not specifically limit the adding circuit, and any circuit that implements signal addition is within the protection scope of the present invention.

[0040] Based on the above embodiments, in a preferred embodiment of the present invention, the signal restoration unit includes a single-edge delay circuit. After the secondary modulated signal is transmitted to the demodulation module through the channel, the demodulator receives the secondary modulated signal and is used to demodulate the secondary modulated signal to obtain a demodulated signal. The signal restoration unit, i.e., the single-edge delay circuit, receives the demodulated signal and delays the demodulated signal by a pulse width through the single-edge delay circuit, thereby removing the portion of the demodulated signal that is higher than the input signal pulse width, and restoring the demodulated signal to an output signal with the same pulse width as the input signal. Furthermore, the pulse width delayed by the single-edge delay circuit is equal to a pulse width of the double-edge pulse circuit.

[0041] See also Figure 2 , which is a waveform diagram of each level of signals of the OOK modulation and demodulation system using the above embodiment. V1 is the input signal, the pulse width is t1, and Clock is the clock signal. First, the OOK modulator receives the input signal V1 and the clock signal Clock, and obtains the first-level modulation signal V2 after modulation. Figure 2It can be seen that the primary modulation signal loses the edge pulse relative to the input signal. In the traditional OOK modulation and demodulation system, the primary modulation signal is directly transmitted and demodulated through the channel to obtain the demodulated signal, which will have a large pulse width distortion. Therefore, the novel OOK modulation and demodulation system of the present invention performs secondary processing on the primary modulation signal in the secondary modulation unit of the modulation module. Specifically, first, the double-edge pulse circuit receives the input signal, captures the rising edge and the falling edge of the input signal, and generates a double-edge pulse signal V3 at the rising edge and the falling edge. The pulse width of the double-edge pulse signal is t2. After obtaining the double-edge pulse signal V3 with the edge information of the input signal, the first logic circuit in the secondary modulation unit, preferably, an addition circuit, adds the double-edge pulse signal V3 to the primary modulation signal V2 to obtain the secondary modulation signal V4. Since the double-edge pulse signal V3 captures the rising edge and the falling edge of the input signal, it can be seen from the figure that in each pulse period of the input signal, the secondary modulation signal V4 has a pulse signal aligned with the rising edge of the input signal, and after the falling edge of the input signal, the secondary modulation signal V4 also has an additional signal with a pulse width of t2. The secondary modulation signal V4 is transmitted to the demodulation module through the channel. The demodulator demodulates the secondary modulation signal V4 to obtain the demodulation signal V5. The pulse width of the demodulation signal V5 is t3. Since the secondary modulation signal V4 is aligned with the input signal V1 on a single edge, the demodulation signal V5 is aligned with the rising edge of the input signal V1, and there is a delay of t2 at the falling edge, that is, in each cycle, the demodulation signal V5 has a pulse width of t2 more than the input signal V1, that is, t3 = t1 + t2. After obtaining the demodulation signal V5, it enters the signal restoration unit, preferably, a unilateral delay circuit, which delays the demodulation signal, and the delay width is t4, t4 = t2, so that the pulse width of the output signal Vout after the unit delay circuit is t5 = t3-t4 = t3-t2 = t1, that is, the output signal is equal to the input signal pulse width. The edge-synchronized OOK modulation and demodulation system of the present invention ensures that t1=t5, thereby solving the problem of inconsistent pulse widths before and after modulation and demodulation, reducing pulse width distortion and bit error rate.

[0042] It should be noted that the present invention does not limit the value of the pulse width t2. Preferably, t2 is equal to or close to the pulse width of the Clock signal. If t2 is too long, it will affect the number of pulses in the secondary modulation signal, and the signal may not be demodulated normally; if t2 is too short, it may be filtered out as a burr. Therefore, it is preferred that t2 is equal to or close to the pulse width of the Clock signal for the best effect.

[0043] See also Figure 3In accordance with the structural diagram of the OOK modulation and demodulation system of another preferred embodiment of the present invention, the signal restoration unit includes a single-edge pulse circuit and a second logic circuit; the single-edge pulse circuit is connected to the demodulator, receives the demodulated signal after demodulation by the demodulator, and the single-edge pulse circuit generates a single-edge pulse signal at the rising edge or falling edge of the demodulated signal. Preferably, a single-edge pulse signal is generated at the rising edge of the demodulated signal, and the pulse width of the single-edge pulse signal is equal to a pulse width of the double-edge pulse circuit mentioned above; the second logic circuit is connected to the single-edge pulse circuit and the demodulator, receives the single-edge pulse signal and the demodulated signal and processes them, and outputs an output signal with the same pulse width as the input signal. Preferably, the second logic circuit is a subtraction circuit, which subtracts the single-edge pulse signal from the demodulated signal to obtain an output signal with the same pulse width as the input signal. The present invention does not specifically limit the subtraction circuit, and any circuit that implements signal subtraction is within the protection scope of the present invention.

[0044] See also Figure 4 , are waveform diagrams of signals at each level of the OOK modulation and demodulation system using the above embodiment. Figure 2The same, V1 is the input signal, the pulse width is t1, Clock is the clock signal, first, the OOK modulator receives the input signal V1 and the clock signal Clock, and obtains the primary modulation signal V2 after modulation, the double-edge pulse circuit receives the input signal, captures the rising edge and the falling edge of the input signal, and generates a double-edge pulse signal V3 at the rising edge and the falling edge, the pulse width of the double-edge pulse signal is t2, after obtaining the double-edge pulse signal V3 with the edge information of the input signal, the first logic circuit in the secondary modulation unit adds the double-edge pulse signal V3 to the primary modulation signal V2, so as to obtain the secondary modulation signal V4, because the double-edge pulse signal V3 captures the rising edge and the falling edge of the input signal, therefore, it can be seen from the figure that in each pulse period of the input signal, the secondary modulation signal V4 has a pulse signal aligned with the rising edge of the input signal, and after the falling edge of the input signal, the secondary modulation signal V4 has an additional signal with a pulse width of t2. The secondary modulation signal V4 is transmitted to the demodulation module through the channel. The demodulator demodulates the secondary modulation signal V4 to obtain the demodulation signal V5. The pulse width of the demodulation signal V5 is t3. Since the secondary modulation signal V4 is single-edge aligned with the input signal V1, the demodulation signal V5 is aligned with the rising edge of the input signal V1, and has a delay of t2 at the falling edge, that is, in each cycle, the demodulation signal V5 has a pulse width of t2 more than the input signal V1, that is, t3=t1+t2. After obtaining the demodulated signal V5, it enters the signal restoration unit. In this embodiment, the signal restoration unit is a single-edge pulse circuit and a second logic circuit. The single-edge pulse circuit is connected to the demodulator to receive the demodulated signal after demodulation by the demodulator. The single-edge pulse circuit generates a single-edge pulse signal V6 at the rising edge or falling edge of the demodulated signal. Preferably, the single-edge pulse signal is generated at the rising edge of the demodulated signal. The pulse width t4' of the single-edge pulse signal V6 is equal to a pulse width t2 of the above-mentioned double-edge pulse circuit, t4'=t2; the second logic circuit is preferably a subtraction circuit, connected to the single-edge pulse circuit and the demodulator, receives the single-edge pulse signal V6 and the demodulated signal V5 and processes them, so that the demodulated signal V5 is subtracted from the single-edge pulse signal V6, thereby obtaining the output signal Vout. The pulse width of the output signal is t5=t3-t4'=t3-t2=t1, that is, the output signal is equal to the input signal pulse width. The edge-synchronized OOK modulation and demodulation system of the present invention ensures that t1=t5, thereby solving the problem of inconsistent pulse widths before and after modulation and demodulation, reducing pulse width distortion and bit error rate.

[0045] See also Figure 5To conform to the structural diagram of the OOK modulation and demodulation system of another preferred embodiment of the present invention, the modulation module also includes a preprocessing unit, which is located at the front end of the OOK modulator and the secondary modulation unit. After preprocessing the input signal to form a preprocessed signal with a single edge delay relative to the input signal, the preprocessed signal is output to the OOK modulator and the secondary modulation unit for processing. The signal modulated by the modulator is a preprocessed signal preprocessed by the preprocessing unit. In the OOK modulation and demodulation system of this embodiment, the demodulation module does not include a signal restoration unit, that is, after the signal is demodulated by the demodulator, an output signal with the same pulse width as the input signal can be directly obtained.

[0046] Based on the above embodiments, in a preferred embodiment of the present invention, the preprocessing unit is a single edge delay circuit, which preprocesses the input signal to form a preprocessed signal with a single edge delay relative to the input signal.

[0047] Based on the above embodiments, in a preferred embodiment of the present invention, the secondary modulation unit includes a double-edge pulse circuit and a third logic circuit; the double-edge pulse circuit is connected to the preprocessing unit, receives the preprocessing signal, captures the rising edge and falling edge of the preprocessing signal, and generates a double-edge pulse signal at the rising edge and falling edge of the preprocessing signal; the third logic circuit is connected to the double-edge pulse circuit and the OOK modulator, receives and processes the double-edge pulse signal and the primary modulation signal. In this embodiment, after the input signal is preprocessed, it is modulated by the OOK modulator and post-processed by the secondary modulation unit, and the secondary modulation signal output by the secondary modulation unit is aligned with the double edges of the input signal. The double-edge alignment described in this embodiment does not mean that the rising edge and the falling edge of the secondary modulation signal and the input signal are aligned on the same time axis, but means that within one cycle of the input signal, the pulse width of the secondary modulation signal is equal to that of the input signal, that is, after the input signal is shifted backward along the time axis as a whole, within one cycle of the input signal, a pulse rising edge and another pulse falling edge of the secondary modulation signal are aligned with the rising edge and falling edge of the input signal respectively. Therefore, after the secondary modulated signal is transmitted to the demodulation module through the channel, the fundamental wave signal obtained by directly demodulating the secondary modulated signal has the same pulse width as the input signal, and no subsequent processing is required.

[0048] Based on the above embodiments, in a preferred embodiment consistent with the present invention, the third logic circuit is an adding circuit.

[0049] See also Figure 6, are signal waveforms of each level of the OOK modulation and demodulation system using the above embodiment. V1 is the input signal, the pulse width is t1, and Clock is the clock signal. First, the input signal is preprocessed by the preprocessing unit, and a single-edge delayed preprocessing signal V1' is input. The delayed pulse width is t0, and the pulse width of the preprocessing signal is t1'=t1-t0. The OOK modulator receives the preprocessing signal V1' and the clock signal Clock, and obtains a primary modulation signal V2 after modulation. The double-edge pulse circuit receives the preprocessing signal V1', captures the rising edge and falling edge of the preprocessing signal V1', and generates a double-edge pulse signal V3 at the rising edge and the falling edge. The pulse width of the double-edge pulse signal is t2, where t2=t0. After obtaining the double-edge pulse signal V3 with the edge information of the preprocessing signal, the third logic circuit in the secondary modulation unit adds the double-edge pulse signal V3 to the primary modulation signal V2, thereby obtaining the secondary modulation signal V4. Since the double-edge pulse signal V3 captures the rising edge and the falling edge of the preprocessing signal, the preprocessing Signal V1' has a single edge delay compared to input signal V1. Therefore, it can be seen from the figure that within each pulse cycle of the input signal, if the input signal V1 is shifted backward along the time axis as a whole by t0, within one cycle of the input signal V1, a rising edge of a pulse of the secondary modulation signal and a falling edge of another pulse are aligned with the rising and falling edges of the input signal respectively, and then the secondary modulation signal V4 is transmitted to the demodulation module through the channel. After the demodulator demodulates the secondary modulation signal V4, the pulse width t3=t1'+t2=t1-t0+t0=t1 of the demodulated signal V5 is obtained. The fundamental signal demodulated by the demodulator is equal to the pulse width of the input signal and can be directly output as the output signal Vout. The edge-synchronized OOK modulation and demodulation system of the present invention ensures that t3=t1, thereby solving the problem of inconsistent pulse width before and after modulation-demodulation, with small pulse width distortion and reduced bit error rate.

[0050] Based on the above embodiments, in a preferred embodiment of the present invention, the demodulation module further includes a shaping circuit. The shaping circuit is mainly used for post-processing the output signal to further improve the quality of the output signal, such as using a burr elimination filter. The present invention does not limit the specific implementation method and content of the shaping circuit. As long as the implementation method of post-processing the output signal to improve the signal quality is within the protection scope of the present invention, adding a shaping circuit in this embodiment helps to improve the quality of the output signal, and the shaping circuit can also be omitted.

[0051] The OOK modulation and demodulation system of the present invention mainly solves the problem of edge synchronization and alignment of input and output signals to ensure that the demodulated signal has no duty cycle distortion. It can be understood as OOK modulation with automatic edge alignment. Other modified modulation methods or implementation forms that use similar principles to this modulation-demodulation method should all be within the scope of protection of this patent.

[0052] By adopting the technical solution of the present invention, a double-edge pulse circuit is added after the traditional OOK modulator to capture the edge signal lost during modulation, and during demodulation, a single-edge processing circuit is added after the traditional demodulator to remove the added edge signal or the input signal is pre-processed before modulation and then modulated, without the need for further processing during demodulation, thereby achieving input-output signal edge synchronization and eliminating the problems of large pulse width distortion and high bit error rate.

[0053] It should be noted that the embodiments of the present invention have better practicability and do not impose any form of limitation on the present invention. Any technician familiar with the field may use the technical content disclosed above to change or modify it into an equivalent effective embodiment. However, any modification or equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention are still within the scope of the technical solution of the present invention.

Claims

1. An OOK modulation and demodulation system, It is characterized in that Including modulation module, channel and demodulation module; The modulation module includes an OOK modulator and a secondary modulation unit, wherein the OOK modulator is used to modulate the input signal and output a primary modulation signal, and the secondary modulation unit is connected to the OOK modulator and is used to capture the edge pulse of the input signal and process the primary modulation signal to form a secondary modulation signal, wherein the secondary modulation signal is aligned with at least one edge of the input signal; The channel is connected to the modulation module and the demodulation module, and is used to transmit the secondary modulation signal to the demodulation module; The demodulation module includes a demodulator and a signal restoration unit. The demodulator is used to demodulate the secondary modulation signal to obtain a demodulated signal. The signal restoration unit is connected to the demodulator and is used to process the demodulated signal to obtain an output signal with the same pulse width as the input signal.

2. The OOK modulation and demodulation system as claimed in claim 1, It is characterized in that The secondary modulation unit includes a double-edge pulse circuit and a first logic circuit; The double-edge pulse circuit is connected to the input signal and generates a double-edge pulse signal at the rising edge and the falling edge of the input signal; The first logic circuit is connected to the double-edge pulse circuit and the OOK modulator, receives and processes the double-edge pulse signal and the primary modulation signal, and outputs the secondary modulation signal that is aligned with a single edge of the input signal.

3. The OOK modulation and demodulation system as claimed in claim 2, It is characterized in that The first logic circuit is an adding circuit.

4. The OOK modulation and demodulation system as claimed in claim 3, It is characterized in that The signal restoration unit includes a single edge delay circuit.

5. The OOK modulation and demodulation system as claimed in claim 3, It is characterized in that The signal restoration unit includes a single edge pulse circuit and a second logic circuit; The single-edge pulse circuit is connected to the demodulator, receives the demodulated signal, and generates a single-edge pulse signal at the rising edge or falling edge of the demodulated signal; The second logic circuit is connected to the single-edge pulse circuit and the demodulator, receives and processes the single-edge pulse signal and the demodulated signal, and outputs an output signal with a pulse width equal to that of the input signal.

6. The OOK modulation and demodulation system as claimed in claim 5, It is characterized in that The second logic circuit is a subtraction circuit.

7. The OOK modulation and demodulation system as claimed in claim 1, It is characterized in that The modulation module also includes a preprocessing unit, which is located at the front end of the OOK modulator and the secondary modulation unit, and is used for preprocessing the input signal to form a preprocessed signal with a single edge delay relative to the input signal, and output it to the OOK modulator and the secondary modulation unit; the demodulation module does not include the signal restoration unit.

8. The OOK modulation and demodulation system as claimed in claim 7, It is characterized in that The preprocessing unit is a single edge delay circuit.

9. The OOK modulation and demodulation system as claimed in claim 8, It is characterized in that The secondary modulation unit includes a double-edge pulse circuit and a third logic circuit; The double-edge pulse circuit is connected to the preprocessing unit, receives the preprocessing signal, and generates a double-edge pulse signal at the rising edge and the falling edge of the preprocessing signal; The third logic circuit is connected to the double-edge pulse circuit and the OOK modulator, receives and processes the double-edge pulse signal and the primary modulation signal, and outputs the secondary modulation signal that is aligned with the double edges of the input signal.

10. The OOK modulation and demodulation system as claimed in claim 9, It is characterized in that The third logic circuit is an adding circuit.

11. The OOK modulation and demodulation system according to any one of claims 2 to 6, It is characterized in that The pulse width of the double-edge pulse circuit is equal to the pulse width of the modulation clock signal.

12. The OOK modulation and demodulation system according to any one of claims 1 to 10, It is characterized in that The demodulation module also includes a shaping circuit.