CN114900409A - Demodulation method and device of 2ASK signal and readable storage medium - Google Patents

Demodulation method and device of 2ASK signal and readable storage medium Download PDF

Info

Publication number
CN114900409A
CN114900409A CN202210416646.2A CN202210416646A CN114900409A CN 114900409 A CN114900409 A CN 114900409A CN 202210416646 A CN202210416646 A CN 202210416646A CN 114900409 A CN114900409 A CN 114900409A
Authority
CN
China
Prior art keywords
signal
2ask
phase
single period
phase point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210416646.2A
Other languages
Chinese (zh)
Other versions
CN114900409B (en
Inventor
王聪颖
顾丽娟
张瑞
翟昊方
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Resources Microelectronics Holding Co ltd
China Resources Shenzhen Bay Development Co ltd Science And Technology Research Branch
Shenzhen Research Institute Tsinghua University
Original Assignee
China Resources Microelectronics Holding Co ltd
China Resources Shenzhen Bay Development Co ltd Science And Technology Research Branch
Shenzhen Research Institute Tsinghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Resources Microelectronics Holding Co ltd, China Resources Shenzhen Bay Development Co ltd Science And Technology Research Branch, Shenzhen Research Institute Tsinghua University filed Critical China Resources Microelectronics Holding Co ltd
Priority to CN202210416646.2A priority Critical patent/CN114900409B/en
Publication of CN114900409A publication Critical patent/CN114900409A/en
Application granted granted Critical
Publication of CN114900409B publication Critical patent/CN114900409B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/02Amplitude-modulated carrier systems, e.g. using on-off keying; Single sideband or vestigial sideband modulation
    • H04L27/06Demodulator circuits; Receiver circuits
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides a demodulation method and equipment of a 2ASK signal and a readable storage medium. The demodulation method is applied to a communication system and comprises the following steps: acquiring a 2ASK signal; converting the 2ASK signal into two paths of direct current signals according to the maximum amplitude phase point and the minimum amplitude phase point in a single period of the 2ASK signal; respectively filtering the two paths of direct current signals to obtain two paths of target signals; performing signal splicing processing on the two paths of target signals to obtain a modulation signal; the 2ASK signal is obtained by modulating a modulation signal into a carrier signal by binary amplitude keying. In the process of demodulating the 2ASK signal, links such as orthogonal decomposition, square sum evolution and the like in the conventional demodulation method are not involved, so that the demodulation overhead can be effectively reduced, and the demodulation efficiency can be greatly improved.

Description

Demodulation method and device of 2ASK signal and readable storage medium
[ technical field ] A method for producing a semiconductor device
The present application relates to the field of signal processing technologies, and in particular, to a method and an apparatus for demodulating a 2ASK signal, and a readable storage medium.
[ background of the invention ]
In a wireless charging system according to Qi standard (a wireless charging standard), transmission of a modulation signal from an energy receiving terminal to an energy transmitting terminal is achieved in a 2ASK (binary amplitude keying) manner, i.e., the energy receiving terminal transmits a 2ASK signal to the energy transmitting terminal; wherein, the modulated signal is an original signal which is not modulated/needs to be modulated. The forming process of the 2ASK signal is as follows: the energy transmitting terminal provides a carrier signal to the energy receiving terminal; the energy receiving end modulates the modulation signal into a carrier signal in a 2ASK mode, so that a modulated signal (namely a 2ASK signal) is formed; therefore, the carrier frequency (i.e. the frequency of the carrier signal) is provided by the energy transmitting terminal, and the range of the carrier frequency is usually 80-205 KHz, which is not fixed. In practical application, on one hand, a carrier signal provided by an energy sending end is not a sine wave, but a large amount of higher harmonics exist; on the other hand, due to the problems of coil coupling between the energy transmitting end and the energy receiving end and the like, the envelope of the 2ASK signal can be deformed in a positive half shaft and a negative half shaft.
In the related art, the demodulation methods of the modulated signal can be generally divided into two types, namely, a conventional demodulation method and a novel demodulation method. The traditional demodulation method carries out orthogonal decomposition on a modulated signal to obtain an equidirectional component and an orthogonal component, and carries out evolution on the square sum of the equidirectional component and the orthogonal component respectively, and then removes a direct current component; for such a demodulation method, it cannot demodulate a modulated signal whose envelope has been damaged (for example, the envelope of the modulated signal is deformed in both the positive and negative half-axes, and/or the envelope of the modulated signal is not consistent in the positive and negative half-axes, and/or the amplitude of the envelope of the modulated signal in the positive and negative half-axes is small), and further, operations such as squaring and opening are required, which results in a large demodulation overhead and low efficiency. Although the novel demodulation method optimizes the square sum and the square root operation in the traditional demodulation method, a series of other operations related to orthogonal decomposition still exist, which also causes the higher cost and the lower efficiency of demodulation, and the demodulation method also has higher requirements on the signal sampling frequency. Therefore, the demodulation overhead is high and the efficiency is low in both the traditional demodulation method and the novel demodulation method.
Therefore, there is a need for an improved method of demodulating the modulated signal.
[ summary of the invention ]
The application provides a demodulation method, a demodulation device and a readable storage medium of a 2ASK signal, and aims to solve the problems of high overhead and low efficiency when a modulated signal is demodulated in the related art.
In order to solve the above technical problem, a first aspect of the embodiments of the present application provides a method for demodulating a 2ASK signal, which is applied to a communication system and includes:
acquiring a 2ASK signal; wherein the 2ASK signal is obtained by modulating a modulation signal into a carrier signal by binary amplitude keying;
converting the 2ASK signal into two paths of direct current signals according to a maximum amplitude phase point and a minimum amplitude phase point in a single period of the 2ASK signal;
filtering the two paths of direct current signals respectively to obtain two paths of target signals;
and performing signal splicing processing on the two paths of target signals to obtain the modulation signal.
A second aspect of embodiments of the present application provides an electronic device, including a storage and at least one processor; the storage device is configured to store at least one program, and when the at least one program is executed by the at least one processor, the at least one processor is configured to execute the method for demodulating a 2ASK signal according to the first aspect of the embodiment of the present application.
A third aspect of the embodiments of the present application provides a computer-readable storage medium, where executable instructions are stored on the computer-readable storage medium, and when executed, the method for demodulating a 2ASK signal according to the first aspect of the embodiments of the present application is performed.
As can be seen from the above description, the present application has the following advantages compared with the related art:
firstly, obtaining a 2ASK signal; converting the 2ASK signal into two paths of direct current signals according to the maximum amplitude phase point and the minimum amplitude phase point in the single period of the 2ASK signal; then, respectively filtering the two paths of direct current signals to obtain two paths of target signals; finally, performing signal splicing processing on the two paths of target signals to obtain a modulation signal; the 2ASK signal is obtained by modulating a modulation signal into a carrier signal by binary amplitude keying. Therefore, in the process of demodulating the 2ASK signal, links such as orthogonal decomposition, square sum evolution and the like in the conventional demodulation method are not involved, so that the demodulation overhead can be effectively reduced, and the demodulation efficiency can be greatly improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions in the related art or the embodiments of the present application, the drawings needed to be used in the description of the related art or the embodiments of the present application will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, not all embodiments, and other drawings can be obtained by those skilled in the art without inventive efforts.
Fig. 1 is a block diagram of an energy transmitting end according to an embodiment of the present disclosure;
FIG. 2 is a preset diagram of phase points in a single period of a PWM signal according to an embodiment of the present disclosure;
FIG. 3 is another preset diagram of a phase point in a single period of a PWM signal according to an embodiment of the present disclosure;
fig. 4 is a preset schematic diagram of a phase point in a single period of a 2ASK signal according to an embodiment of the present disclosure;
fig. 5 is a flowchart illustrating a method for demodulating a 2ASK signal according to an embodiment of the present disclosure;
fig. 6 is a block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a block diagram of a computer-readable storage medium according to an embodiment of the present application.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present application more apparent and understandable, the present application will be clearly and completely described below in conjunction with the embodiments of the present application and the corresponding drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. It should be understood that the embodiments of the present application described below are only for explaining the present application and are not intended to limit the present application, that is, all other embodiments obtained by a person of ordinary skill in the art without making creative efforts based on the embodiments of the present application belong to the protection scope of the present application. In addition, the technical features involved in the embodiments of the present application described below may be combined with each other as long as they do not conflict with each other.
Wireless charging systems are an important manifestation of wireless communication systems. In a wireless charging system according to Qi standard (a wireless charging standard), transmission of a modulation signal from an energy receiving terminal to an energy transmitting terminal is achieved in a 2ASK (binary amplitude keying) manner, i.e., the energy receiving terminal transmits a 2ASK signal to the energy transmitting terminal; wherein, the modulated signal is an original signal which is not modulated/needs to be modulated. The forming process of the 2ASK signal is as follows: the energy transmitting terminal provides a carrier signal (generally, a high-frequency sine wave signal) to the energy receiving terminal; the energy receiving end modulates the modulation signal into a carrier signal in a 2ASK mode, so that a modulated signal, namely a 2ASK signal, is formed; therefore, the carrier frequency (namely the frequency of the carrier signal) is provided by the energy sending end, and the range of the carrier frequency is usually 80-205 KHz and is not fixed. In practical application, on one hand, a carrier signal provided by an energy sending end is not a sine wave, but a large amount of higher harmonics exist; on the other hand, due to the problems of coil coupling between the energy transmitting end and the energy receiving end and the like, the envelope of the 2ASK signal is deformed in a positive half shaft and a negative half shaft.
In the related art, the demodulation methods of the modulated signal can be generally divided into two types, namely, a conventional demodulation method and a novel demodulation method. The traditional demodulation method carries out orthogonal decomposition on a modulated signal to obtain an equidirectional component and an orthogonal component, and carries out evolution on the square sum of the equidirectional component and the orthogonal component respectively, and then removes a direct current component; for such a demodulation method, it cannot demodulate a modulated signal whose envelope has been damaged (for example, the envelope of the modulated signal is deformed in both the positive and negative half-axes, and/or the envelope of the modulated signal is not consistent in the positive and negative half-axes, and/or the amplitude of the envelope of the modulated signal in the positive and negative half-axes is small), and further, operations such as squaring and opening are required, which results in a large demodulation overhead and low efficiency. Although the novel demodulation method optimizes the square sum and the square root operation in the traditional demodulation method, a series of other operations related to orthogonal decomposition still exist, which also causes the higher cost and the lower efficiency of demodulation, and the demodulation method also has higher requirements on the signal sampling frequency. Therefore, the demodulation overhead is high and the efficiency is low in both the traditional demodulation method and the novel demodulation method. To this end, the embodiment of the present application provides a method for demodulating a 2ASK signal. Here, it should be noted that the method for demodulating the 2ASK signal can be applied to any communication system that needs to demodulate the 2ASK signal, and the method for demodulating the 2ASK signal is applicable to both the case where the carrier signal is known and the case where the carrier signal is unknown; wherein, when the 2ASK signal is generated by the communication system itself, the carrier signal is known (for example, the communication system is a wireless charging system according to Qi standard, and an energy transmitting end therein generates the carrier signal); when the 2ASK signal is received from the outside by the communication system, that is, when the 2ASK signal is generated by a system other than the communication system, the carrier signal is unknown (for example, the communication system is a Listen device of NFC, which cannot generate the carrier signal itself but can accurately restore the carrier signal by a phase-locked loop or the like).
Before explaining the demodulation method of the 2ASK signal provided by the embodiment of the present application in detail, a principle based on which the demodulation method of the 2ASK signal provided by the embodiment of the present application is based is briefly explained, specifically, a wireless charging system according to the Qi standard is used as a communication system for explanation; the wireless charging system comprises an energy sending end and an energy receiving end.
Referring to fig. 1, fig. 1 is a block diagram of an energy transmitting end according to an embodiment of the present disclosure. An energy sending end in the wireless charging system comprises a Pulse Width Modulation (PWM) circuit, a driving circuit connected with the PWM circuit, an oscillating circuit connected with the driving circuit, a sampling circuit connected with the oscillating circuit and a demodulation circuit connected with the sampling circuit and the PWM circuit. In practical application, an energy sending end generates an alternating electromagnetic field (equivalent to providing a carrier signal for an energy receiving end) through a PWM circuit, a driving circuit and an oscillating circuit, then the energy receiving end in a wireless charging system modulates a modulation signal to be transmitted to the energy sending end into the electromagnetic field, and finally the energy sending end acquires a 2ASK signal from the electromagnetic field through a sampling circuit and demodulates the 2ASK signal through a demodulating circuit, so that the modulation signal is obtained; if the energy receiving end encodes the modulation signal before modulating the modulation signal into the electromagnetic field, the energy sending end also comprises a decoding link in the process of demodulating the 2ASK signal through the demodulation circuit.
Specifically, the method for demodulating the 2ASK signal by the demodulation circuit is actually the demodulation method for the 2ASK signal provided in the embodiment of the present application, and the more detailed demodulation process is as follows: generating a PWM signal with the same frequency as the carrier signal according to the carrier signal (here, since the communication system is a wireless charging system according to the Qi standard, the carrier signal is known, and then we can directly generate a PWM signal with the same frequency as the carrier signal according to the carrier signal; acquiring a maximum amplitude phase point and a minimum amplitude phase point in a single period of the 2ASK signal according to the PWM signal (or in other words, taking the PWM signal as a reference); converting the 2ASK signals into two paths of direct current signals according to the obtained maximum amplitude phase point and the obtained minimum amplitude phase point; respectively filtering the two obtained direct current signals to obtain two target signals; performing signal splicing processing on the two obtained target signals to obtain a modulation signal; if the modulated signal is encoded before being modulated into the carrier signal, the two obtained target signals need to be decoded before the signal splicing process.
It will be appreciated that, in accordance with the concept of signal modulation (i.e., signal modulation is a signal processing method that causes certain characteristics of a carrier signal to vary with a modulation signal), a 2ASK signal is actually a carrier signal that varies with a modulation signal. Since the PWM signal is generated from the carrier signal (i.e., the frequency of the carrier signal), the frequency characteristic (corresponding to the period characteristic) of the PWM signal is kept identical to the carrier signal; further, since the 2ASK signal is one of the amplitude modulation methods, and the 2ASK signal is actually a carrier signal that varies with the modulation signal, the 2ASK signal has the same characteristics as the carrier signal except that the amplitude of the 2ASK signal is different from that of the carrier signal, such as the frequency characteristics, which means that the frequency characteristics of the 2ASK signal are the same as the carrier signal (or PWM signal).
It will also be appreciated that since the carrier signal is generated by the communication system itself, i.e. the wireless charging system according to the Qi standard, we are able to more easily control the frequency characteristics of the carrier signal. Importantly, since the carrier signal is generated by the energy transmitting terminal in the wireless charging system, the frequency characteristic (such as the starting point of the period) of the carrier signal can be clearly locked by the energy transmitting terminal; however, in the generation process of the carrier signal, both the driving circuit and the oscillating circuit participate, and there are problems of coil coupling and the like between the energy receiving end and the energy transmitting end, which causes great uncertainty in the oscillation characteristic of the carrier signal (which is equivalent to great uncertainty in the oscillation characteristic of the 2ASK signal). Therefore, in the demodulation method of the 2ASK signal provided in the embodiment of the present application, by utilizing the characteristic that the frequency characteristics of the PWM signal, the carrier signal and the 2ASK signal are the same, a plurality of first phase points are preset in a single period of the PWM signal, and a plurality of second phase points in the single period of the 2ASK signal are sampled with reference to the preset plurality of first phase points (that is, the plurality of first phase points correspond to the plurality of second phase points one to one, and the first phase points and the corresponding second phase points are consistent in the time domain), and a maximum amplitude phase point and a minimum amplitude phase point are selected from the plurality of second phase points, and finally, according to the selected maximum amplitude phase point and minimum amplitude phase point, the 2ASK signal having the characteristics of periodicity, oscillation and the like is converted into two direct current signals corresponding to the maximum amplitude phase point and the minimum amplitude phase point respectively, and sequentially carrying out operations such as filtering, decoding, signal splicing and the like on the two paths of direct current signals so as to obtain a modulation signal to be transmitted by an energy receiving end. On the basis, for a single period of the 2ASK signal, only the maximum amplitude phase point and the minimum amplitude phase point are correspondingly processed, so that the signal sampling frequency and the data calculation amount in the whole demodulation process can be greatly reduced.
As an example, please refer to fig. 2, fig. 2 is a preset diagram of phase points in a single period of a PWM signal according to an embodiment of the present disclosure (in fig. 2, P represents a phase point, and T represents a period). When a plurality of first phase points are preset in a single period of the PWM signal, 4 first phase points, which are P1, P2, P3 and P4 in fig. 2, may be preset; wherein, P1 is a phase point with a phase of 0 degree, and is located at the rising edge in a single period of the PWM signal; p2 is a phase point with 90 degrees phase, and is positioned at 1/2 of a high level signal segment in a single period of the PWM signal; p3 is a phase point with a phase of 180 degrees, and is positioned at the falling edge in a single period of the PWM signal; p4 is a phase point with a phase of 270 degrees, located at 1/2 of the low level signal segment within a single period of the PWM signal.
As another example, please refer to fig. 3, fig. 3 is another preset diagram of phase points in a single period of a PWM signal according to an embodiment of the present disclosure (in fig. 3, P represents a phase point, and T represents a period). When a plurality of first phase points are preset in a single period of the PWM signal, 6 first phase points, which are P1, P2, P3, P4, P5, and P6 in fig. 3, may be preset; wherein, P1 is a phase point with a phase of 0 degree, and is located at the rising edge in a single period of the PWM signal; p2 is a phase point with a phase of 60 degrees and is positioned at 1/3 of a high-level signal segment in a single period of the PWM signal; p3 is a phase point with 120 degrees phase, and is positioned at 2/3 of a high level signal segment in a single period of the PWM signal; p4 is a phase point with a phase of 180 degrees, and is positioned at the falling edge in a single period of the PWM signal; p5 is a phase point with a phase of 240 degrees, and is positioned at 1/3 of a low-level signal segment in a single period of the PWM signal; p6 is a phase point with a phase of 300 degrees and is located at 2/3 of the low level signal segment within a single period of the PWM signal.
Based on this example, after 6 first phase points are preset in a single period of the PWM signal, 6 second phase points in the single period of the 2ASK signal may be sampled with reference to the 6 first phase points (see fig. 4, fig. 4 is a preset schematic diagram of phase points in the single period of the 2ASK signal provided by the embodiment of the present application, where the 6 second phase points in the single period of the 2ASK signal are still represented by P1, P2, P3, P4, P5, and P6). Since the frequency characteristics of the 2ASK signal, the carrier signal and the PWM signal are the same, the 6 second phase points of a single period of the 2ASK signal can be regarded as direct current signals individually, and the amplitude variation of the direct current signals represents the envelope variation of the 2ASK signal.
Specifically, the second phase point within a single period of the 2ASK signal can be represented by the following equation:
P i =Acos(φ 0i );
wherein, P i Denotes the ith second phase point, A denotes the modulation signal, phi 0 Represents the phase difference between the PWM signal and the 2ASK signal (corresponding to the carrier signal) (which naturally occurs due to signal propagation and delay, which are different in different communication systems, and which remain unchanged when the PWM signal is asserted), phi i Represents the phase of the first phase point corresponding to the ith second phase point, and i is a positive integer greater than 1. Can be understoodIs when P is i Constant time, phi i Constant, cos (. phi.) 0i ) Then it is not changed, which means P i In fact, it is a dc-like signal that is linearly related to a (i.e., the modulated signal), or that is, the signal samples a dc-like signal at the carrier frequency; then when cos (phi) 0i ) Phi in 0i Equal to 0 degree and 180 degrees, P i Is the largest, the amplitude variation of the 2ASK signal is also most pronounced, i.e. when phi 0i When the angle is equal to 0 degree and 180 degrees, corresponding two P i Namely a maximum amplitude phase point and a minimum amplitude phase point respectively; in practical application, when there is no phi 0i When two second phase points equal to 0 degree and 180 degrees, we can take phi 0i Two second phase points closest to 0 and 180 degrees.
In addition, when determining the maximum amplitude phase point and the minimum amplitude phase point from the plurality of second phase points, the sampling may be performed in a plurality of periods of the 2ASK signal to cover more second phase points, rather than only in a single period of the 2ASK signal, so as to more accurately lock the phase points where the maximum amplitude and the minimum amplitude occur.
Further, after the maximum amplitude phase point and the minimum amplitude phase point in the 2ASK signal are determined, the 2ASK signal can be converted into two paths of direct current signals according to the maximum amplitude phase point and the minimum amplitude phase point, so that the two paths of direct current signals can be filtered subsequently and respectively; the purpose of the filtering operation is to filter out harmonics due to magnetic field coupling, carrier amplitude when not modulated, and other noise, and only to preserve the amplitude variation of the modulated signal. Specifically, when performing the filtering operation, a low-pass filter may be used to perform low-pass filtering, and then a dc-removing filter may be used to perform dc-removing filtering; alternatively, the filtering is performed directly using a band-pass filter. The low-pass filter is used for filtering frequencies above 2ASK signals, and the maximum frequency of the 2ASK signals is 2KHz, so that the cutoff frequency of the low-pass filter can be set to be about 5KHz to retain the signals as much as possibleRight; further, the low pass filter may employ, but is not limited to, an IIR filter (i.e., a recursive filter) and an FIR filter (i.e., a non-recursive filter). The dc-removing filter may employ a first order IIR filter, and the transfer function may be expressed as h (z) -1-z -1 /1-az -1 . It can be understood that the maximum frequency of the 2ASK signal is 2KHz, and the cutoff frequency of the low-pass filter is set to 5KHz, etc., which are specific examples, and this is not limited in this embodiment of the application, that is, the maximum frequency of the 2ASK signal and the cutoff frequency of the low-pass filter, etc. can be flexibly set according to the actual application scenario.
From the foregoing, the principle on which the demodulation method of the 2ASK signal provided in the embodiment of the present application is based is basically understood. Based on the principle that the demodulation method of the 2ASK signal provided by the embodiment of the present application is based on, compared with the existing demodulation method, the demodulation method of the 2ASK signal provided by the embodiment of the present application does not need a complex analog circuit, and only the maximum amplitude phase point and the minimum amplitude phase point are screened before demodulation, and for a single period of the 2ASK signal, because only the maximum amplitude phase point and the minimum amplitude phase point are correspondingly processed, the overhead and the calculation amount of demodulation are greatly reduced, the cost is reduced, and the demodulation step is effectively simplified while the demodulation effect is ensured. Hereinafter, a demodulation method of the 2ASK signal provided in the embodiment of the present application will be described in detail.
Referring to fig. 5, fig. 5 is a flowchart illustrating a demodulation method of a 2ASK signal according to an embodiment of the present disclosure. As can be seen from fig. 5, the demodulation method for 2ASK signals provided in the embodiment of the present application is applied to a communication system, and includes the following steps 501 to 504.
And step 501, acquiring a 2ASK signal.
In the embodiment of the present application, when demodulating the 2ASK signal, the 2ASK signal needs to be acquired first; the 2ASK signal is formed in the following manner: the modulation signal is modulated into a carrier signal by means of binary amplitude keying to obtain a 2ASK signal.
Step 502, converting the 2ASK signal into two paths of direct current signals according to the maximum amplitude phase point and the minimum amplitude phase point in the single period of the 2ASK signal.
In this embodiment of the present application, after the 2ASK signal is obtained, the 2ASK signal needs to be converted into two paths of direct current signals according to the maximum amplitude phase point and the minimum amplitude phase point in a single period of the 2ASK signal.
And 503, respectively filtering the two paths of direct current signals to obtain two paths of target signals.
In this embodiment of the application, after the 2ASK signal is converted into two paths of direct current signals, the two paths of direct current signals need to be filtered respectively, so as to obtain two paths of target signals.
And step 504, performing signal splicing processing on the two paths of target signals to obtain a modulation signal.
In the embodiment of the present application, after obtaining the two target signals, signal splicing processing needs to be performed on the two target signals, so as to obtain the modulation signal.
In the embodiment of the application, a 2ASK signal is firstly obtained; converting the 2ASK signal into two paths of direct current signals according to the maximum amplitude phase point and the minimum amplitude phase point in the single period of the 2ASK signal; then, respectively filtering the two paths of direct current signals to obtain two paths of target signals; finally, signal splicing processing is carried out on the two paths of target signals to obtain modulation signals; the 2ASK signal is obtained by modulating a modulation signal into a carrier signal by binary amplitude keying. Therefore, in the process of demodulating the 2ASK signal, the embodiments of the present application do not involve the links such as orthogonal decomposition, square sum evolution and the like in the existing demodulation method, so that the overhead of demodulation can be effectively reduced, and the demodulation efficiency can be greatly improved.
In some embodiments, step 502, namely, converting the 2ASK signal into two direct current signals according to the maximum amplitude phase point and the minimum amplitude phase point in a single period of the 2ASK signal, may specifically include: generating a PWM signal with the same frequency as the carrier signal according to the carrier signal; acquiring a maximum amplitude phase point and a minimum amplitude phase point in a single period of the 2ASK signal according to the PWM signal; and converting the 2ASK signals into two paths of direct current signals according to the maximum amplitude phase point and the minimum amplitude phase point.
As an embodiment, generating a PWM signal having the same frequency as the carrier signal according to the carrier signal may specifically include: if the carrier signal is known, generating a PWM signal with the same frequency as the carrier signal according to the carrier signal; if the carrier signal is unknown, restoring the carrier signal through a phase-locked loop; generating a PWM signal with the same frequency as the carrier signal according to the carrier signal; wherein the carrier signal is known when the 2ASK signal is generated by the communication system; when the 2ASK signal is received from the outside by the communication system, the carrier signal is unknown.
As an embodiment, acquiring the maximum amplitude phase point and the minimum amplitude phase point in a single period of the 2ASK signal according to the PWM signal may specifically include: presetting a plurality of first phase points in a single period of a PWM signal; sampling a plurality of second phase points in a single period of the 2ASK signal by taking the plurality of first phase points as reference; selecting a maximum amplitude phase point and a minimum amplitude phase point from the plurality of second phase points; the plurality of first phase points and the plurality of second phase points are in one-to-one correspondence, and the first phase points and the corresponding second phase points are kept consistent in the time domain.
As a specific implementation of this embodiment, the second phase point may be represented by the following formula:
P i =Acos(φ 0i );
wherein, P i Denotes the ith second phase point, A denotes the modulation signal, phi 0 Represents the phase difference between the PWM signal and the 2ASK signal (corresponding to the carrier signal) (which naturally occurs due to signal propagation and delay, which are different in different communication systems, and which remain unchanged when the PWM signal is asserted), phi i Represents the phase of the first phase point corresponding to the ith second phase point, and i is a positive integer greater than 1. On this basis, the selecting the maximum amplitude phase point and the minimum amplitude phase point from the plurality of second phase points may specifically include: cos (phi) for a plurality of second phase points 0i ) Carrying out comparison; according to the comparison result, from a plurality ofSelecting phi from two phase points 0i Two second phase points equal to (or closest to) 0 degrees and 180 degrees; wherein, one selected second phase point is the maximum amplitude phase point, and the other selected second phase point is the minimum amplitude phase point; for example, phi 0i The second phase point equal to (or closest to) 0 degrees is the maximum amplitude phase point, phi 0i The second phase point equal to (or closest to) 180 degrees is the minimum amplitude phase point.
As a specific implementation of the present embodiment, presetting a plurality of first phase points in a single period of the PWM signal may specifically include: presetting four first phase points in a single period of a PWM signal; the first phase point is located at the rising edge in the single period of the PWM signal, the second first phase point is located at 1/2 where the high level is located in the single period of the PWM signal, the third first phase point is located at the falling edge in the single period of the PWM signal, and the fourth first phase point is located at 1/2 where the low level is located in the single period of the PWM signal.
As another specific implementation of this embodiment, presetting a plurality of first phase points in a single period of the PWM signal may specifically include: presetting six first phase points in a single period of a PWM signal; the first phase point is located at the rising edge of the single period of the PWM signal, the second first phase point is located at 1/3 of high level in the single period of the PWM signal, the third first phase point is located at 2/3 of high level in the single period of the PWM signal, the fourth first phase point is located at the falling edge of the single period of the PWM signal, the fifth first phase point is located at 1/3 of low level in the single period of the PWM signal, and the sixth first phase point is located at 2/3 of low level in the single period of the PWM signal.
It should be understood that the foregoing embodiment is only a preferred implementation of the embodiment of the present application, and is not a sole limitation to the specific flow of step 502 in the embodiment of the present application; in this regard, a person skilled in the art can flexibly set the setting according to the actual application scenario on the basis of the embodiment of the present application.
In addition, if the modulated signal is encoded before being modulated into the carrier signal, before step 504, that is, before performing signal splicing processing on the two target signals, the method may further include: and decoding the two paths of target signals.
Referring to fig. 6, fig. 6 is a block diagram of an electronic device according to an embodiment of the present disclosure.
As shown in fig. 6, an embodiment of the present application further provides an electronic device 600, which includes a storage 610 and at least one processor 620; the storage device 610 is configured to store at least one program, and when the at least one program is executed by the at least one processor 620, the at least one processor 620 is enabled to execute the method for demodulating a 2ASK signal according to the embodiment of the present application.
In some embodiments, the electronic device 600 may also include a bus 630 for communicative coupling between the storage 610 and the at least one processor 620.
Referring to fig. 7, fig. 7 is a block diagram of a computer-readable storage medium according to an embodiment of the present disclosure.
As shown in fig. 7, an embodiment of the present application further provides a computer-readable storage medium 700, where the computer-readable storage medium 700 has stored thereon executable instructions 710, and when the executable instructions 710 are executed, the method for demodulating a 2ASK signal provided in an embodiment of the present application is performed.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the procedures or functions described in accordance with the present application are generated, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk), among others.
It should be noted that, the embodiments in the present disclosure are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the product class embodiment, since it is similar to the method class embodiment, the description is relatively simple, and for the relevant points, refer to the partial description of the method class embodiment.
It is further noted that, within the context of this application, relational terms such as first and second, and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for demodulating 2ASK signals, which is applied to a communication system, is characterized by comprising the following steps:
acquiring a 2ASK signal; wherein the 2ASK signal is obtained by modulating a modulation signal into a carrier signal by binary amplitude keying;
converting the 2ASK signal into two paths of direct current signals according to a maximum amplitude phase point and a minimum amplitude phase point in a single period of the 2ASK signal;
respectively filtering the two paths of direct current signals to obtain two paths of target signals;
and performing signal splicing processing on the two paths of target signals to obtain the modulation signal.
2. The method for demodulating a 2ASK signal according to claim 1, wherein the converting the 2ASK signal into two dc signals according to the maximum amplitude phase point and the minimum amplitude phase point in a single period of the 2ASK signal comprises:
generating a PWM signal with the same frequency as the carrier signal according to the carrier signal;
acquiring a maximum amplitude phase point and a minimum amplitude phase point in a single period of the 2ASK signal according to the PWM signal;
and converting the 2ASK signal into two paths of direct current signals according to the maximum amplitude phase point and the minimum amplitude phase point.
3. The method for demodulating 2ASK signal according to claim 2, wherein the generating a PWM signal having the same frequency as the carrier signal from the carrier signal comprises:
if the carrier signal is known, generating a PWM signal with the same frequency as the carrier signal according to the carrier signal; wherein the carrier signal is known when the 2ASK signal is generated by the communication system;
if the carrier signal is unknown, restoring the carrier signal through a phase-locked loop; wherein the carrier signal is unknown when the 2ASK signal is received externally by the communication system;
and generating a PWM signal with the same frequency as the carrier signal according to the carrier signal.
4. The method for demodulating a 2ASK signal according to claim 2 or 3, wherein the obtaining a maximum amplitude phase point and a minimum amplitude phase point within a single period of the 2ASK signal from the PWM signal includes:
presetting a plurality of first phase points in a single period of the PWM signal;
sampling a plurality of second phase points within a single period of the 2ASK signal with the plurality of first phase points as reference; the first phase points and the second phase points are in one-to-one correspondence, and the first phase points and the corresponding second phase points are consistent in a time domain;
and selecting a maximum amplitude phase point and a minimum amplitude phase point from the plurality of second phase points.
5. The method for demodulating a 2ASK signal according to claim 4, wherein the second phase point is represented by the following formula:
P i =Acos(φ 0i );
wherein, P i Represents the ith of the second phase point, A represents the modulation signal, phi 0 Representing the phase difference, phi, between the PWM signal and the 2ASK signal i Representing the phase of the first phase point corresponding to the ith second phase point, and i is a positive integer greater than 1;
the selecting a maximum amplitude phase point and a minimum amplitude phase point from the plurality of second phase points comprises:
cos (phi) for the plurality of second phase points 0i ) Carrying out comparison;
selecting phi from the plurality of second phase points according to the comparison result 0i Two of the second phase points equal to 0 degrees and 180 degrees; and selecting one second phase point as a maximum amplitude phase point, and selecting the other second phase point as a minimum amplitude phase point.
6. The method for demodulating a 2ASK signal according to claim 4, wherein the presetting of the plurality of first phase points within the single period of the PWM signal includes:
presetting four first phase points in a single period of the PWM signal; wherein a first one of said first phase points is located at a rising edge within a single period of said PWM signal, a second one of said first phase points is located at 1/2 where said first phase point is high within said single period of said PWM signal, a third one of said first phase points is located at a falling edge within said single period of said PWM signal, and a fourth one of said first phase points is located at 1/2 where said first phase point is low within said single period of said PWM signal.
7. The method for demodulating a 2ASK signal according to claim 4, wherein the presetting of the plurality of first phase points within the single period of the PWM signal includes:
presetting six first phase points in a single period of the PWM signal; wherein a first one of the first phase points is located at a rising edge of a single period of the PWM signal, a second one of the first phase points is located at 1/3 where the signal level is high in the single period of the PWM signal, a third one of the first phase points is located at 2/3 where the signal level is high in the single period of the PWM signal, a fourth one of the first phase points is located at a falling edge of the signal period of the PWM signal, a fifth one of the first phase points is located at 1/3 where the signal level is low in the single period of the PWM signal, and a sixth one of the first phase points is located at 2/3 where the signal level is low in the single period of the PWM signal.
8. The method for demodulating 2ASK signals according to claim 1, wherein if the modulated signal is encoded before being modulated into the carrier signal, before the signal splicing processing is performed on the two paths of target signals, the method further comprises:
and decoding the two paths of target signals.
9. An electronic device comprising storage and at least one processor; the storage device is for storing at least one program and when the at least one program is executed by the at least one processor, causes the at least one processor to perform the method of any one of claims 1-8.
10. A computer-readable storage medium having stored thereon executable instructions that, when executed, perform the method of any one of claims 1-8.
CN202210416646.2A 2022-04-20 2022-04-20 Demodulation method and device for 2ASK signal and readable storage medium Active CN114900409B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210416646.2A CN114900409B (en) 2022-04-20 2022-04-20 Demodulation method and device for 2ASK signal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210416646.2A CN114900409B (en) 2022-04-20 2022-04-20 Demodulation method and device for 2ASK signal and readable storage medium

Publications (2)

Publication Number Publication Date
CN114900409A true CN114900409A (en) 2022-08-12
CN114900409B CN114900409B (en) 2023-07-18

Family

ID=82717143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210416646.2A Active CN114900409B (en) 2022-04-20 2022-04-20 Demodulation method and device for 2ASK signal and readable storage medium

Country Status (1)

Country Link
CN (1) CN114900409B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040179588A1 (en) * 2003-03-11 2004-09-16 Stephen Kuffner Method and apparatus for electronic item identification in a communication system using known source parameters
CN102123119A (en) * 2010-01-11 2011-07-13 晨星软件研发(深圳)有限公司 Amplitude modulation demodulation circuit and method
WO2015148477A1 (en) * 2014-03-25 2015-10-01 Rensselaer Polytechnic Institute Method and apparatus for acoustic downhole telemetry and power delivery system using transverse or torsional waves
CN105119864A (en) * 2015-07-10 2015-12-02 东南大学 Symmetrical extended binary phase shift keying modulation and demodulation method
CN105702138A (en) * 2014-11-23 2016-06-22 上海莞东拿信息科技有限公司 High-frequency circuit practical training device
CN106897762A (en) * 2015-12-17 2017-06-27 北京同方微电子有限公司 A kind of adaptive demodulation circuit and method for RFID label tag
CN107493249A (en) * 2017-07-21 2017-12-19 浙江大学 A kind of ASK demodulation circuit based on analog switch
US20200304160A1 (en) * 2016-03-29 2020-09-24 University Of Washington Two-port mixers and systems, receivers, and methods using same
CN112995080A (en) * 2021-04-21 2021-06-18 华南理工大学 Self-adaptive wireless energy-carrying communication system based on bias ASK modulation
CN114189417A (en) * 2021-12-07 2022-03-15 北京零壹空间电子有限公司 Carrier frequency synchronization method and device, computer equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040179588A1 (en) * 2003-03-11 2004-09-16 Stephen Kuffner Method and apparatus for electronic item identification in a communication system using known source parameters
CN102123119A (en) * 2010-01-11 2011-07-13 晨星软件研发(深圳)有限公司 Amplitude modulation demodulation circuit and method
WO2015148477A1 (en) * 2014-03-25 2015-10-01 Rensselaer Polytechnic Institute Method and apparatus for acoustic downhole telemetry and power delivery system using transverse or torsional waves
CN105702138A (en) * 2014-11-23 2016-06-22 上海莞东拿信息科技有限公司 High-frequency circuit practical training device
CN105119864A (en) * 2015-07-10 2015-12-02 东南大学 Symmetrical extended binary phase shift keying modulation and demodulation method
CN106897762A (en) * 2015-12-17 2017-06-27 北京同方微电子有限公司 A kind of adaptive demodulation circuit and method for RFID label tag
US20200304160A1 (en) * 2016-03-29 2020-09-24 University Of Washington Two-port mixers and systems, receivers, and methods using same
CN107493249A (en) * 2017-07-21 2017-12-19 浙江大学 A kind of ASK demodulation circuit based on analog switch
CN112995080A (en) * 2021-04-21 2021-06-18 华南理工大学 Self-adaptive wireless energy-carrying communication system based on bias ASK modulation
CN114189417A (en) * 2021-12-07 2022-03-15 北京零壹空间电子有限公司 Carrier frequency synchronization method and device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
W. K. CHEN等: "Design of Galvanic Coupling Intra-Body Communication Transceiver Using Direct Sequence Spread Spectrum Technology", 《IEEE ACCESS》, vol. 8 *

Also Published As

Publication number Publication date
CN114900409B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
US4229821A (en) System for data transmission by means of an angle-modulated carrier of constant amplitude
US7113557B2 (en) Noise canceling method and apparatus
US6078630A (en) Phase-based receiver with multiple sampling frequencies
KR102031598B1 (en) Signal transmission method and apparatus
TWI672029B (en) A demodulator and a method for demodulating an amplitude-modulated input signal
CN108306628B (en) Amplitude demodulator and method of demodulating an input signal
JP4676357B2 (en) Quadrature demodulator and interrogator
KR100281430B1 (en) Variable speed asynchronous modem
JPH0752862B2 (en) 4-level FSK optical communication system
JP5354293B2 (en) Phase synchronization apparatus and phase synchronization method
US20160315646A1 (en) Wireless receiver and method
CN114900409A (en) Demodulation method and device of 2ASK signal and readable storage medium
US5852636A (en) Method of and apparatus for modulation of FSK carrier in a very narrow band
US9106485B1 (en) System and method for FSK demodulation
JP4641274B2 (en) Optical receiver and optical interferometer control method
WO2021240695A1 (en) Optical reception device and clock synchronization method
WO2018157798A1 (en) Vector millimeter wave generation method and apparatus, and computer storage medium
JP2944040B2 (en) Optical transmission system
US20220006675A1 (en) Transmission device
CN109067679A (en) A kind of DSB demodulation method for offsetting frequency deviation
Bae et al. Study on the reader baseband receiver structure for the demodulation of subcarrier signal in a passive RFID environment
Rudolph Modulation Methods
JP3091408B2 (en) Distribution line transport method by differential phase modulation
CN117040994A (en) Synchronization method, system, signal processing method, signal processing module and medium
Klymash et al. Increasing the Multi-position Signals Noise Immunity of Mobile Communication Systems Based on High-order Phase Modulation.

Legal Events

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