CN114900409B - A 2ASK signal demodulation method, device and readable storage medium - Google Patents
A 2ASK signal demodulation method, device and readable storage medium Download PDFInfo
- Publication number
- CN114900409B CN114900409B CN202210416646.2A CN202210416646A CN114900409B CN 114900409 B CN114900409 B CN 114900409B CN 202210416646 A CN202210416646 A CN 202210416646A CN 114900409 B CN114900409 B CN 114900409B
- Authority
- CN
- China
- Prior art keywords
- signal
- phase
- 2ask
- phase point
- pwm signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/02—Amplitude-modulated carrier systems, e.g. using on-off keying; Single sideband or vestigial sideband modulation
- H04L27/06—Demodulator circuits; Receiver circuits
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Digital Transmission Methods That Use Modulated Carrier Waves (AREA)
Abstract
本申请提供了一种2ASK信号的解调方法、设备及可读存储介质。解调方法应用于通信系统,且包括:获取2ASK信号;根据2ASK信号单个周期内的最大幅度相位点和最小幅度相位点,将2ASK信号转换为两路直流信号;分别对两路直流信号进行滤波,得到两路目标信号;对两路目标信号进行信号拼接处理,得到调制信号;其中,2ASK信号由通过二进制振幅键控将调制信号调制入载波信号的方式得到。本申请在对2ASK信号进行解调的过程中,并未涉及现有解调方法中的正交分解和平方和开方等环节,从而能够有效地减少解调的开销,进而能够大幅度提升解调的效率。
The present application provides a 2ASK signal demodulation method, device and readable storage medium. The demodulation method is applied to a communication system, and includes: obtaining a 2ASK signal; converting the 2ASK signal into two DC signals according to the maximum amplitude phase point and the minimum amplitude phase point in a single cycle of the 2ASK signal; filtering the two DC signals respectively , to obtain two target signals; the two target signals are spliced to obtain a modulated signal; wherein, the 2ASK signal is obtained by modulating the modulated signal into a carrier signal through binary amplitude keying. In the process of demodulating the 2ASK signal, this application does not involve the links of orthogonal decomposition, square and square root in the existing demodulation method, so that the demodulation overhead can be effectively reduced, and the solution can be greatly improved. tuning efficiency.
Description
【技术领域】【Technical field】
本申请涉及信号处理技术领域,尤其涉及一种2ASK信号的解调方法、设备及可读存储介质。The present application relates to the technical field of signal processing, and in particular to a demodulation method, device and readable storage medium of a 2ASK signal.
【背景技术】【Background technique】
在依据Qi标准(一种无线充电标准)的无线充电系统中,能量接收端向能量发送端传输调制信号是通过2ASK(二进制振幅键控)的方式实现的,即能量接收端会向能量发送端传输2ASK信号;其中,调制信号为未经调制/需要被调制的原始信号。2ASK信号的形成过程为:能量发送端向能量接收端提供载波信号;能量接收端通过2ASK的方式将调制信号调制到载波信号中,从而形成了已调信号(即2ASK信号);由此可见,载波频率(即载波信号的频率)由能量发送端提供,其范围通常为80~205KHz,是不固定的。在实际应用中,一方面能量发送端所提供的载波信号并非是正弦波,而是存在大量的高次谐波;另一方面由于能量发送端与能量接收端之间的线圈耦合等问题,从而导致2ASK信号的包络在正、负半轴均会发生变形。In a wireless charging system based on the Qi standard (a wireless charging standard), the transmission of modulation signals from the energy receiving end to the energy sending end is realized by means of 2ASK (binary amplitude keying), that is, the energy receiving end will transmit the modulated signal to the energy sending end. 2ASK signal is transmitted; wherein, the modulated signal is an unmodulated/original signal that needs to be modulated. The formation process of the 2ASK signal is as follows: the energy transmitting end provides the carrier signal to the energy receiving end; the energy receiving end modulates the modulation signal into the carrier signal by means of 2ASK, thus forming a modulated signal (that is, a 2ASK signal); thus, The carrier frequency (that is, the frequency of the carrier signal) is provided by the energy transmitter, and its range is usually 80-205KHz, which is not fixed. In practical applications, on the one hand, the carrier signal provided by the energy transmitting end is not a sine wave, but has a large number of high-order harmonics; on the other hand, due to problems such as coil coupling between the energy transmitting end and the energy receiving end, the As a result, the envelope of the 2ASK signal will be deformed in both positive and negative half axes.
相关技术中,已调信号的解调方法通常可以分为两种,分别为传统解调方法和新型解调方法。其中,传统解调方法会对已调信号进行正交分解,得到同向分量和正交分量,并分别对同向分量和正交分量的平方和进行开方,之后再去除直流分量;对于此种解调方法而言,其不能很好地解调出包络已经受到一定破坏的已调信号(比如已调信号的包络在正、负半轴均发生变形,和/或已调信号的包络在正、负半轴不一致,和/或已调信号在正、负半轴的包络的幅度很小),且还需要平方和开放等运算,这将导致解调的开销较大,效率较低。新型解调方法虽然优化了传统解调方法中的平方和开方运算,但是仍然存在与正交分解相关的一系列其它运算,这将同样导致解调的开销较大,效率较低,而且此种解调方法还对信号采样频率有较高的要求。由此可见,不管是传统解调方法还是新型解调方法,其解调的开销均较大,效率均较低。In the related art, demodulation methods for modulated signals can generally be classified into two types, which are traditional demodulation methods and new demodulation methods. Among them, the traditional demodulation method will perform quadrature decomposition on the modulated signal to obtain the co-directional component and the quadrature component, and take the square root of the square sum of the co-directional component and the quadrature component respectively, and then remove the DC component; for this As far as this demodulation method is concerned, it cannot demodulate the modulated signal whose envelope has been damaged to a certain extent (for example, the envelope of the modulated signal is deformed in both positive and negative half axes, and/or the The envelopes are inconsistent on the positive and negative half axes, and/or the amplitude of the envelope of the modulated signal on the positive and negative half axes is very small), and operations such as square sum and opening are required, which will lead to a large demodulation overhead, less efficient. Although the new demodulation method optimizes the square and square root operations in the traditional demodulation method, there are still a series of other operations related to orthogonal decomposition, which will also lead to high demodulation overhead and low efficiency, and this This demodulation method also has higher requirements on the signal sampling frequency. It can be seen that no matter it is a traditional demodulation method or a new demodulation method, the demodulation overhead is large and the efficiency is low.
因此,有必要对上述已调信号的解调方法进行改进。Therefore, it is necessary to improve the demodulation method of the above-mentioned modulated signal.
【发明内容】【Content of invention】
本申请提供了一种2ASK信号的解调方法、设备及可读存储介质,旨在解决相关技术中对已调信号进行解调时的开销较大,效率较低的问题。The present application provides a 2ASK signal demodulation method, device and readable storage medium, aiming to solve the problems of relatively large overhead and low efficiency when demodulating a modulated signal in the related art.
为了解决上述技术问题,本申请实施例第一方面提供了一种2ASK信号的解调方法,应用于通信系统,且包括:In order to solve the above technical problems, the first aspect of the embodiment of the present application provides a 2ASK signal demodulation method, which is applied to a communication system, and includes:
获取2ASK信号;其中,所述2ASK信号由通过二进制振幅键控将调制信号调制入载波信号的方式得到;Obtaining a 2ASK signal; wherein, the 2ASK signal is obtained by modulating a modulating signal into a carrier signal through binary amplitude keying;
根据所述2ASK信号单个周期内的最大幅度相位点和最小幅度相位点,将所述2ASK信号转换为两路直流信号;Converting the 2ASK signal into two DC signals according to the maximum amplitude phase point and the minimum amplitude phase point within a single cycle of the 2ASK signal;
分别对所述两路直流信号进行滤波,得到两路目标信号;Filtering the two direct current signals respectively to obtain two target signals;
对所述两路目标信号进行信号拼接处理,得到所述调制信号。performing signal splicing processing on the two channels of target signals to obtain the modulated signal.
本申请实施例第二方面提供了一种电子设备,包括存储装置和至少一个处理器;所述存储装置用于存储至少一个程序,且当所述至少一个程序被所述至少一个处理器执行时,使得所述至少一个处理器执行如本申请实施例第一方面所述的2ASK信号的解调方法。The second aspect of the embodiment of the present application provides an electronic device, including a storage device and at least one processor; the storage device is used to store at least one program, and when the at least one program is executed by the at least one processor , so that the at least one processor executes the method for demodulating a 2ASK signal as described in the first aspect of the embodiments of the present application.
本申请实施例第三方面提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有可执行指令,所述可执行指令被执行时执行如本申请实施例第一方面所述的2ASK信号的解调方法。The third aspect of the embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores executable instructions, and when the executable instructions are executed, the execution is as described in the first aspect of the embodiment of the present application. The demodulation method of 2ASK signal.
从上述描述可知,与相关技术相比,本申请的有益效果在于:As can be seen from the above description, compared with related technologies, the beneficial effects of the present application are:
先获取2ASK信号;再根据2ASK信号单个周期内的最大幅度相位点和最小幅度相位点,将2ASK信号转换为两路直流信号;之后分别对两路直流信号进行滤波,得到两路目标信号;最后对两路目标信号进行信号拼接处理,得到调制信号;其中,2ASK信号由通过二进制振幅键控将调制信号调制入载波信号的方式得到。由此可见,本申请在对2ASK信号进行解调的过程中,并未涉及现有解调方法中的正交分解和平方和开方等环节,从而能够有效地减少解调的开销,进而能够大幅度提升解调的效率。First obtain the 2ASK signal; then convert the 2ASK signal into two DC signals according to the maximum amplitude phase point and the minimum amplitude phase point in a single cycle of the 2ASK signal; then filter the two DC signals respectively to obtain two target signals; finally Perform signal splicing processing on the two target signals to obtain the modulated signal; among them, the 2ASK signal is obtained by modulating the modulated signal into the carrier signal through binary amplitude keying. It can be seen that, in the process of demodulating the 2ASK signal, the present application does not involve links such as orthogonal decomposition and square sum square root in the existing demodulation method, thereby effectively reducing the demodulation overhead, and then being able to Greatly improve the efficiency of demodulation.
【附图说明】【Description of drawings】
为了更清楚地说明相关技术或本申请实施例中的技术方案,下面将对相关技术或本申请实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,而并非是全部实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the related technologies or the technical solutions in the embodiments of the present application, the following will briefly introduce the accompanying drawings that need to be used in the description of the related technologies or the embodiments of the present application. Obviously, the accompanying drawings in the following description These are only some embodiments of the present application, rather than all embodiments. For those skilled in the art, other drawings can also be obtained according to these drawings without creative work.
图1为本申请实施例提供的能量发送端的模块框图;Fig. 1 is a module block diagram of an energy transmitting end provided by an embodiment of the present application;
图2为本申请实施例提供的PWM信号单周期内相位点的一预设示意图;FIG. 2 is a preset schematic diagram of a phase point within a single cycle of a PWM signal provided by an embodiment of the present application;
图3为本申请实施例提供的PWM信号单周期内相位点的另一预设示意图;FIG. 3 is another preset schematic diagram of a phase point within a single cycle of a PWM signal provided by an embodiment of the present application;
图4为本申请实施例提供的2ASK信号单周期内相位点的预设示意图;FIG. 4 is a preset schematic diagram of a phase point within a single cycle of a 2ASK signal provided by an embodiment of the present application;
图5为本申请实施例提供的2ASK信号的解调方法的流程示意图;FIG. 5 is a schematic flowchart of a demodulation method for a 2ASK signal provided in an embodiment of the present application;
图6为本申请实施例提供的电子设备的模块框图;FIG. 6 is a block diagram of modules of an electronic device provided in an embodiment of the present application;
图7为本申请实施例提供的计算机可读存储介质的模块框图。FIG. 7 is a module block diagram of a computer-readable storage medium provided by an embodiment of the present application.
【具体实施方式】【Detailed ways】
为了使本申请的目的、技术方案以及优点更加的明显和易懂,下面将结合本申请实施例以及相应的附图,对本申请进行清楚、完整地描述,其中,自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。应当理解的是,下面所描述的本申请的各个实施例仅仅用以解释本申请,并不用于限定本申请,也即基于本申请的各个实施例,本领域的普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。此外,下面所描述的本申请的各个实施例中所涉及的技术特征只要彼此之间未构成冲突就可以相互组合。In order to make the purpose, technical solutions and advantages of the application more obvious and understandable, the following will clearly and completely describe the application in conjunction with the embodiments of the application and the corresponding drawings, wherein the same or similar symbols throughout represent the same or similar elements or elements having the same or similar functions. It should be understood that the various embodiments of the application described below are only used to explain the application, and are not intended to limit the application, that is, based on the various embodiments of the application, those skilled in the art will not make an inventive step. All other embodiments obtained under the premise of labor all belong to the protection scope of this application. In addition, the technical features involved in the various embodiments of the present application described below may be combined with each other as long as they do not constitute a conflict with each other.
无线充电系统是无线通信系统的重要表现形式。在依据Qi标准(一种无线充电标准)的无线充电系统中,能量接收端向能量发送端传输调制信号是通过2ASK(二进制振幅键控)的方式实现的,即能量接收端会向能量发送端传输2ASK信号;其中,调制信号为未经调制/需要被调制的原始信号。2ASK信号的形成过程为:能量发送端向能量接收端提供载波信号(通常情况下为高频的正弦波信号);能量接收端通过2ASK的方式将调制信号调制到载波信号中,从而形成了已调信号,也就是2ASK信号;由此可见,载波频率(即载波信号的频率)由能量发送端提供,其范围通常为80~205KHz,是不固定的。在实际应用中,一方面能量发送端所提供的载波信号并非是正弦波,而是存在大量的高次谐波;另一方面由于能量发送端与能量接收端之间的线圈耦合等问题,从而导致2ASK信号的包络在正、负半轴均会发生变形。Wireless charging system is an important form of wireless communication system. In a wireless charging system based on the Qi standard (a wireless charging standard), the transmission of modulation signals from the energy receiving end to the energy sending end is realized by means of 2ASK (binary amplitude keying), that is, the energy receiving end will transmit the modulated signal to the energy sending end. 2ASK signal is transmitted; wherein, the modulated signal is an unmodulated/original signal that needs to be modulated. The formation process of the 2ASK signal is as follows: the energy sending end provides the carrier signal (usually a high-frequency sine wave signal) to the energy receiving end; the energy receiving end modulates the modulating signal into the carrier signal through 2ASK, thus forming an It can be seen that the carrier frequency (that is, the frequency of the carrier signal) is provided by the energy transmitting end, and its range is usually 80-205KHz, which is not fixed. In practical applications, on the one hand, the carrier signal provided by the energy transmitting end is not a sine wave, but has a large number of high-order harmonics; on the other hand, due to problems such as coil coupling between the energy transmitting end and the energy receiving end, the As a result, the envelope of the 2ASK signal will be deformed in both positive and negative half axes.
相关技术中,已调信号的解调方法通常可以分为两种,分别为传统解调方法和新型解调方法。其中,传统解调方法会对已调信号进行正交分解,得到同向分量和正交分量,并分别对同向分量和正交分量的平方和进行开方,之后再去除直流分量;对于此种解调方法而言,其不能很好地解调出包络已经受到一定破坏的已调信号(比如已调信号的包络在正、负半轴均发生变形,和/或已调信号的包络在正、负半轴不一致,和/或已调信号在正、负半轴的包络的幅度很小),且还需要平方和开放等运算,这将导致解调的开销较大,效率较低。新型解调方法虽然优化了传统解调方法中的平方和开方运算,但是仍然存在与正交分解相关的一系列其它运算,这将同样导致解调的开销较大,效率较低,而且此种解调方法还对信号采样频率有较高的要求。由此可见,不管是传统解调方法还是新型解调方法,其解调的开销均较大,效率均较低。为此,本申请实施例提供了一种2ASK信号的解调方法。此处,有必要进行说明,该2ASK信号的解调方法可以应用于任何需要对2ASK信号进行解调的通信系统,且该2ASK信号的解调方法既适用于载波信号已知的情况,也适用于载波信号未知的情况;其中,当2ASK信号由通信系统本身产生时,载波信号是已知的(比如通信系统为依据Qi标准的无线充电系统,其内的能量发送端会产生载波信号);当2ASK信号由通信系统从外部接收时,即当2ASK信号由除通信系统以外的其它系统产生时,载波信号是未知的(比如通信系统为NFC的Listen设备,其本身虽然不能产生载波信号,但是可以通过锁相环等准确还原出载波信号)。In the related art, demodulation methods for modulated signals can generally be classified into two types, which are traditional demodulation methods and new demodulation methods. Among them, the traditional demodulation method will perform quadrature decomposition on the modulated signal to obtain the co-directional component and the quadrature component, and take the square root of the square sum of the co-directional component and the quadrature component respectively, and then remove the DC component; for this As far as this demodulation method is concerned, it cannot demodulate the modulated signal whose envelope has been damaged to a certain extent (for example, the envelope of the modulated signal is deformed in both positive and negative half axes, and/or the The envelopes are inconsistent on the positive and negative half axes, and/or the amplitude of the envelope of the modulated signal on the positive and negative half axes is very small), and operations such as square sum and opening are required, which will lead to a large demodulation overhead, less efficient. Although the new demodulation method optimizes the square and square root operations in the traditional demodulation method, there are still a series of other operations related to orthogonal decomposition, which will also lead to high demodulation overhead and low efficiency, and this This demodulation method also has higher requirements on the signal sampling frequency. It can be seen that no matter it is a traditional demodulation method or a new demodulation method, the demodulation overhead is large and the efficiency is low. To this end, an embodiment of the present application provides a method for demodulating a 2ASK signal. Here, it is necessary to explain that the demodulation method of the 2ASK signal can be applied to any communication system that needs to demodulate the 2ASK signal, and the demodulation method of the 2ASK signal is not only applicable to the case where the carrier signal is known, but also applicable to In 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 based on the Qi standard, and the energy transmitting end in it will generate 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 an NFC Listen device, although it cannot generate the carrier signal itself, but The carrier signal can be accurately restored by a phase-locked loop, etc.).
在对本申请实施例提供的2ASK信号的解调方法进行详细阐述之前,先对本申请实施例提供的2ASK信号的解调方法所基于的原理进行简要说明,具体是以依据Qi标准的无线充电系统作为通信系统进行说明的;其中,无线充电系统包括能量发送端和能量接收端。Before elaborating the demodulation method of the 2ASK signal provided by the embodiment of the present application in detail, first briefly explain the principle of the demodulation method of the 2ASK signal provided by the embodiment of the present application. Specifically, the wireless charging system based on the Qi standard is used as the The communication system is described; wherein, the wireless charging system includes an energy sending end and an energy receiving end.
请参阅图1,图1为本申请实施例提供的能量发送端的模块框图。无线充电系统中的能量发送端包括PWM(Pulse Width Modulation,脉冲宽度调制)电路、与PWM电路连接的驱动电路、与驱动电路连接的振荡电路、与振荡电路连接的采样电路和与采样电路、PWM电路连接的解调电路。在实际应用中,能量发送端通过PWM电路、驱动电路和振荡电路产生交变的电磁场(相当于为能量接收端提供一个载波信号),之后无线充电系统中的能量接收端将所要传输至能量发送端的调制信号调制到该电磁场中,最后能量发送端通过采样电路从该电磁场中采集出2ASK信号,并通过解调电路对2ASK信号进行解调,从而得出调制信号;其中,如果能量接收端在将调制信号调制入该电磁场之前,对调制信号进行了编码,那么能量发送端通过解调电路对2ASK信号进行解调的过程中还包括解码环节。Please refer to FIG. 1 . FIG. 1 is a module block diagram of an energy sending end provided by an embodiment of the present application. The energy transmitting end in the wireless charging system includes a PWM (Pulse Width Modulation, pulse width modulation) circuit, a drive circuit connected to the PWM circuit, an oscillation circuit connected to the drive circuit, a sampling circuit connected to the oscillation circuit, and a sampling circuit, PWM circuit connected to the demodulation circuit. In practical applications, the energy transmitting end generates an alternating electromagnetic field through a PWM circuit, a drive circuit and an oscillating circuit (equivalent to providing a carrier signal for the energy receiving end), and then the energy receiving end in the wireless charging system transmits the energy to the energy transmitting end. The modulated signal at the end is modulated into the electromagnetic field, and finally the energy transmitting end collects the 2ASK signal from the electromagnetic field through the sampling circuit, and demodulates the 2ASK signal through the demodulation circuit to obtain the modulated signal; among them, if the energy receiving end is in Before the modulated signal is modulated into the electromagnetic field, the modulated signal is encoded, and the process of demodulating the 2ASK signal by the energy transmitting end through the demodulation circuit also includes a decoding link.
具体地,解调电路对2ASK信号进行解调的方法,实际上就是本申请实施例提供的2ASK信号的解调方法,且更为详细的解调过程为:根据载波信号,生成频率与载波信号相同的PWM信号(此处,由于通信系统为依据Qi标准的无线充电系统,所以载波信号是已知的,那么我们可以根据载波信号,直接生成一个频率与载波信号相同的PWM信号即可;当然,如果通信系统不为依据Qi标准的无线充电系统,即载波信号是未知的,那么我们可以先通过锁相环等准确还原出载波信号,再根据所还原的载波信号,生成一个频率与载波信号相同的PWM信号即可);根据PWM信号(或者是说,以PWM信号为参照),获取2ASK信号单个周期内的最大幅度相位点和最小幅度相位点;根据所获取的最大幅度相位点和最小幅度相位点,将2ASK信号转换为两路直流信号;分别对所得到的两路直流信号进行滤波,得到两路目标信号;对所得到的两路目标信号进行信号拼接处理,得到调制信号;其中,如果调制信号被调制入载波信号之前,经过了编码,那么在信号拼接处理之前,还需要对所得到的两路目标信号进行解码。Specifically, the method for the demodulation circuit to demodulate the 2ASK signal is actually the demodulation method for the 2ASK signal provided by the embodiment of the present application, and the more detailed demodulation process is: according to the carrier signal, generate frequency and carrier signal The same PWM signal (here, since the communication system is a wireless charging system based on the Qi standard, the carrier signal is known, then we can directly generate a PWM signal with the same frequency as the carrier signal according to the carrier signal; of course , if the communication system is not a wireless charging system based on the Qi standard, that is, the carrier signal is unknown, then we can first accurately restore the carrier signal through a phase-locked loop, and then generate a frequency and carrier signal based on the restored carrier signal the same PWM signal); according to the PWM signal (or in other words, with the PWM signal as a reference), obtain the maximum amplitude phase point and the minimum amplitude phase point within a single cycle of the 2ASK signal; according to the obtained maximum amplitude phase point and minimum amplitude phase point Amplitude and phase points, convert the 2ASK signal into two DC signals; respectively filter the obtained two DC signals to obtain two target signals; perform signal splicing processing on the obtained two target signals to obtain modulated signals; , if the modulated signal is encoded before being modulated into the carrier signal, then the obtained two target signals need to be decoded before the signal splicing process.
可以理解的是,根据信号调制的概念(即信号调制是使载波信号的某些特性随调制信号的变化而变化的一种信号处理方法)可知,2ASK信号实际上就是随调制信号变化后的载波信号。而由于PWM信号根据载波信号(即载波信号的频率)生成,所以PWM信号的频率特性(相当于周期特性)与载波信号保持一致;进一步地,由于2ASK属于调幅方式的一种,且2ASK信号实际上就是随调制信号变化后的载波信号,所以2ASK信号除了振幅与载波信号不同外,其余特性均与载波信号保持一致,比如频率特性等,这也就意味着2ASK信号的频率特性与载波信号(或PWM信号)相同。It can be understood that, according to the concept of signal modulation (that is, signal modulation is a signal processing method that makes certain characteristics of the carrier signal change with the change of the modulating signal), it can be known that the 2ASK signal is actually the carrier after the modulating signal changes. Signal. Since the PWM signal is generated according to the carrier signal (that is, the frequency of the carrier signal), the frequency characteristic (equivalent to the period characteristic) of the PWM signal is consistent with the carrier signal; further, since 2ASK is a type of amplitude modulation, and the 2ASK signal is actually The above is the carrier signal after changing with the modulation signal, so the 2ASK signal has the same characteristics as the carrier signal except the amplitude and the carrier signal, such as frequency characteristics, which means that the frequency characteristics of the 2ASK signal are the same as the carrier signal ( or PWM signal) the same.
还可以理解的是,由于载波信号由通信系统(即依据Qi标准的无线充电系统)本身产生,所以我们能够更加容易地对载波信号的频率特性进行控制。重要的是,由于载波信号具体由无线充电系统中的能量发送端产生,所以能量发送端能够很明确地锁定载波信号的频率特性(比如周期的起始点等);然而,在载波信号的产生过程中,驱动电路和振荡电路均参与其中,并且能量接收端与能量发送端之间还存在线圈耦合等问题,这使得载波信号的振荡特性具有很大的不确定性(相当于2ASK信号的振荡特性也具有很大的不确定性)。因此,在本申请实施例提供的2ASK信号的解调方法中,利用了PWM信号、载波信号与2ASK信号之间的频率特性相同的特点,在PWM信号单个周期内预设多个第一相位点,同时以所预设的多个第一相位点为参照,对2ASK信号单个周期内的多个第二相位点进行采样(即多个第一相位点与多个第二相位点之间一一对应,且第一相位点与相应的第二相位点在时域上保持一致),并从中选取出最大幅度相位点和最小幅度相位点,最后再根据所选取出的最大幅度相位点和最小幅度相位点,将具备周期性、振荡性等特性的2ASK信号转换为分别与最大幅度相位点和最小幅度相位点对应的两路直流信号,并依次对两路直流信号进行滤波、解码、信号拼接等操作,从而得出能量接收端所要传输的调制信号。在此基础上,对于2ASK信号的单个周期而言,由于仅对最大幅度相位点和最小幅度相位点进行相应处理,所以能够大大减小整个解调过程中的信号采样频率以及数据计算量。It can also be understood that since the carrier signal is generated by the communication system itself (that is, the wireless charging system according to the Qi standard), we can more easily control the frequency characteristics of the carrier signal. The important thing is that since the carrier signal is specifically generated by the energy sending end in the wireless charging system, the energy sending end can clearly lock the frequency characteristics of the carrier signal (such as the starting point of the cycle, etc.); however, in the generation process of the carrier signal In the process, both the drive circuit and the oscillation circuit are involved, and there are problems such as coil coupling between the energy receiving end and the energy transmitting end, which makes the oscillation characteristics of the carrier signal have great uncertainty (equivalent to the oscillation characteristics of the 2ASK signal also has great uncertainty). Therefore, in the demodulation method of the 2ASK signal provided in the embodiment of the present application, the characteristics of the same frequency characteristics between the PWM signal, the carrier signal and the 2ASK signal are utilized, and a plurality of first phase points are preset in a single cycle of the PWM signal , while taking the preset multiple first phase points as a reference, sampling multiple second phase points within a single period of the 2ASK signal (that is, between multiple first phase points and multiple second phase points one by one corresponding, and the first phase point is consistent with the corresponding second phase point in the time domain), and select the maximum amplitude phase point and the minimum amplitude phase point, and finally according to the selected maximum amplitude phase point and minimum amplitude phase point Phase point, which converts the 2ASK signal with periodicity and oscillation characteristics into two DC signals corresponding to the maximum amplitude phase point and the minimum amplitude phase point respectively, and sequentially filters, decodes, and splices the two DC signals. Operation, so as to obtain the modulation signal to be transmitted by the energy receiving end. On this basis, for a single period of the 2ASK signal, only the maximum amplitude phase point and the minimum amplitude phase point are processed accordingly, so the signal sampling frequency and data calculation amount in the entire demodulation process can be greatly reduced.
作为一种示例,请参阅图2,图2为本申请实施例提供的PWM信号单周期内相位点的一预设示意图(图2中,P表示相位点,T表示周期)。在PWM信号单个周期内预设多个第一相位点时,可以预设4个第一相位点,分别为图2中的P1、P2、P3和P4;其中,P1为相位为0度的相位点,位于PWM信号单个周期内的上升沿处;P2为相位为90度的相位点,位于PWM信号单个周期内高电平信号段的1/2处;P3为相位为180度的相位点,位于PWM信号单个周期内的下降沿处;P4为相位为270度的相位点,位于PWM信号单个周期内低电平信号段的1/2处。As an example, please refer to FIG. 2 , which is a preset schematic diagram of a phase point within a single cycle of a PWM signal provided by an embodiment of the present application (in FIG. 2 , P represents a phase point, and T represents a period). When multiple first phase points are preset in a single cycle of the PWM signal, four first phase points can be preset, which are P1, P2, P3 and P4 in Figure 2; where P1 is a phase with a phase of 0 degrees Point, located at the rising edge of a single cycle of the PWM signal; P2 is a phase point with a phase of 90 degrees, located at 1/2 of the high-level signal segment within a single cycle of the PWM signal; P3 is a phase point with a phase of 180 degrees, Located at the falling edge of a single cycle 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 cycle of the PWM signal.
作为另一种示例,请参阅图3,图3为本申请实施例提供的PWM信号单周期内相位点的另一预设示意图(图3中,P表示相位点,T表示周期)。在PWM信号单个周期内预设多个第一相位点时,可以预设6个第一相位点,分别为图3中的P1、P2、P3、P4、P5和P6;其中,P1为相位为0度的相位点,位于PWM信号单个周期内的上升沿处;P2为相位为60度的相位点,位于PWM信号单个周期内高电平信号段的1/3处;P3为相位为120度的相位点,位于PWM信号单个周期内高电平信号段的2/3处;P4为相位为180度的相位点,位于PWM信号单个周期内的下降沿处;P5为相位为240度的相位点,位于PWM信号单个周期内低电平信号段的1/3处;P6为相位为300度的相位点,位于PWM信号单个周期内低电平信号段的2/3处。As another example, please refer to FIG. 3 , which is another preset schematic diagram of a phase point within a single cycle of a PWM signal provided by an embodiment of the present application (in FIG. 3 , P represents a phase point, and T represents a period). When multiple first phase points are preset in a single cycle of the PWM signal, six first phase points can be preset, which are respectively P1, P2, P3, P4, P5 and P6 in Figure 3; wherein, P1 is the phase of The phase point of 0 degrees is located at the rising edge within a single cycle of the PWM signal; P2 is the phase point with a phase of 60 degrees, located at 1/3 of the high-level signal segment within a single cycle of the PWM signal; P3 is the phase of 120 degrees The phase point is located at 2/3 of the high-level signal segment within a single cycle of the PWM signal; P4 is a phase point with a phase of 180 degrees, located at the falling edge of a single cycle of the PWM signal; P5 is a phase with a phase of 240 degrees Point, located at 1/3 of the low-level signal segment within a single cycle of the PWM signal; P6 is a phase point with a phase of 300 degrees, located at 2/3 of the low-level signal segment within a single cycle of the PWM signal.
以本示例为基础,在PWM信号单个周期内预设6个第一相位点后,可以以这6个第一相位点为参照,对2ASK信号单个周期内的6个第二相位点进行采样(可以参见图4,图4为本申请实施例提供的2ASK信号单周期内相位点的预设示意图;其中,2ASK信号单个周期所具有的6个第二相位点仍然以P1、P2、P3、P4、P5和P6表示)。由于2ASK信号、载波信号与PWM信号之间的频率特性相同,所以2ASK信号单个周期所具有的6个第二相位点均可以单独视为直流信号,其幅度变化体现了2ASK信号的包络变化。Based on this example, after 6 first phase points are preset in a single period of the PWM signal, the 6 second phase points in a single period of the 2ASK signal can be sampled with these 6 first phase points as a reference ( You can refer to FIG. 4, which is a preset schematic diagram of the phase points in a single cycle of the 2ASK signal provided by the embodiment of the present application; wherein, the 6 second phase points in a single cycle of the 2ASK signal are still represented by P1, P2, P3, and P4 , P5 and P6 represent). Since the frequency characteristics of the 2ASK signal, the carrier signal and the PWM signal are the same, the six second phase points in a single cycle of the 2ASK signal can be regarded as DC signals alone, and the amplitude changes reflect the envelope changes of the 2ASK signal.
具体地,2ASK信号单个周期内的第二相位点可以由如下公式表示:Specifically, the second phase point in a single period of the 2ASK signal can be expressed by the following formula:
Pi=Acos(φ0+φi);P i =Acos(φ 0 +φ i );
其中,Pi表示第i个第二相位点,A表示调制信号,φ0表示PWM信号与2ASK信号(相当于载波信号)之间的相位差(此相位差由于信号传递与延迟等原因天然存在,其在不同的通信系统中不尽相同,且当PWM信号确定后,其是保持不变的),φi表示与第i个第二相位点相应的第一相位点的相位,且i为大于1的正整数。可以理解的是,当Pi不变时,φi不变,cos(φ0+φi)便不变,这就说明Pi实际上就是一个与A(即调制信号)线性相关的类似直流的信号,或者是说,信号采样频率为载波频率的类似直流的信号;那么,当cos(φ0+φi)中的φ0+φi等于0度和180度时,Pi的幅度最大,2ASK信号的幅度变化也最明显,即当φ0+φi等于0度和180度时,所对应的两个Pi即分别为最大幅度相位点和最小幅度相位点;在实际应用中,当未有φ0+φi等于0度和180度的两个第二相位点时,我们可以取φ0+φi最接近0度和180度的两个第二相位点。Among them, P i represents the i-th second phase point, A represents the modulation signal, and φ0 represents the phase difference between the PWM signal and the 2ASK signal (equivalent to the carrier signal) (this phase difference exists naturally due to signal transmission and delay, etc. , which are different in different communication systems, and when the PWM signal is determined, it remains unchanged), φ i represents the phase of the first phase point corresponding to the i-th second phase point, and i is A positive integer greater than 1. It can be understood that when P i does not change, φ i does not change, so cos(φ 0 +φ i ) does not change, which means that P i is actually a similar DC , or a DC-like signal whose sampling frequency is the carrier frequency; then, when φ 0 +φ i in cos(φ 0 +φ i ) is equal to 0 degrees and 180 degrees, the amplitude of Pi is the largest , the amplitude change of the 2ASK signal is also the most obvious, that is, when φ 0 +φ i is equal to 0 degrees and 180 degrees, the corresponding two P i are the maximum amplitude phase point and the minimum amplitude phase point respectively; in practical applications, When there are no two second phase points where φ 0 +φ i is equal to 0 degree and 180 degree, we can take the two second phase points where φ 0 +φ i is closest to 0 degree and 180 degree.
此外,需要说明的是,在从多个第二相位点中确定最大幅度相位点和最小幅度相位点时,并非仅限于在2ASK信号的单个周期内,也可以在2ASK信号的多个周期内进行采样,以覆盖更多的第二相位点,从而能够更加准确地锁定最大幅度与最小幅度出现的相位点。In addition, it should be noted that, when determining the maximum amplitude phase point and the minimum amplitude phase point from multiple second phase points, it is not limited to a single period of the 2ASK signal, and can also be performed within multiple periods of the 2ASK signal sampling to cover more second phase points, so that the phase points where the maximum amplitude and the minimum amplitude appear can be locked more accurately.
进一步地,在确定出2ASK信号中的最大幅度相位点和最小幅度相位点后,便可以根据最大幅度相位点和最小幅度相位点,将2ASK信号转换为两路直流信号,以便后续分别对两路直流信号进行滤波操作;其中,滤波操作的目的在于滤除因磁场耦合而产生的谐波、未调制时的载波幅度以及其它噪声,仅保留调制信号的幅度变化。具体地,在进行滤波操作时,可以先使用低通滤波器进行低通滤波,再使用去直流滤波器进行去直流滤波;或者,直接使用带通滤波器进行滤波。其中,低通滤波器的作用是滤除2ASK信号以上的频率,而由于2ASK信号的频率最高为2KHz,所以为了尽可能多地保留信号,可以将低通滤波器的截止频率设为5KHz左右;此外,低通滤波器可以采用但不限于IIR滤波器(即递归滤波器)和FIR滤波器(即非递归滤波器)。去直流滤波器可以采用一阶IIR滤波器,且传递函数可以表示为H(z)=1-z-1/1-az-1。可以理解的是,2ASK信号的频率最高为2KHz,以及将低通滤波器的截止频率设为5KHz等均为一种具体的实例,本申请实施例对此不做唯一限定,即2ASK信号的频率的最高值和低通滤波器的截止频率等均可以根据实际应用场景进行灵活设定。Further, after determining the maximum amplitude phase point and the minimum amplitude phase point in the 2ASK signal, the 2ASK signal can be converted into two DC signals according to the maximum amplitude phase point and the minimum amplitude phase point, so that the two channels can be separately The DC signal is filtered; the purpose of the filter operation is to filter out the harmonics generated by magnetic field coupling, the unmodulated carrier amplitude, and other noises, and only retain the amplitude changes of the modulated signal. Specifically, when performing a filtering operation, a low-pass filter may be used to perform low-pass filtering first, and then a DC-removing filter is used to perform DC-removing filtering; or, a band-pass filter is directly used for filtering. Among them, the role of the low-pass filter is to filter out the frequency above 2ASK signal, and since the frequency of the 2ASK signal is up to 2KHz, in order to retain as much signal as possible, the cut-off frequency of the low-pass filter can be set to about 5KHz; In addition, the low-pass filter may adopt, but is not limited to, an IIR filter (ie, a recursive filter) and a FIR filter (ie, a non-recursive filter). A first-order IIR filter can be used as the DC removing filter, and the transfer function can be expressed as H(z)=1-z −1 /1-az −1 . It can be understood that the frequency of the 2ASK signal is up to 2KHz, and setting the cut-off frequency of the low-pass filter to 5KHz is a specific example, which is not uniquely limited in the embodiment of the present application, that is, the frequency of the 2ASK signal The highest value of and the cutoff frequency of the low-pass filter can be flexibly set according to actual application scenarios.
经过前文所述,已经对本申请实施例提供的2ASK信号的解调方法所基于的原理有了基本的了解。通过本申请实施例提供的2ASK信号的解调方法所基于的原理可知,与现有解调方法相比,本申请实施例提供的2ASK信号的解调方法不需要复杂的模拟电路,仅在解调前进行最大幅度、最小幅度相位点的筛选即可,而对于2ASK信号的单个周期而言,由于仅对最大幅度相位点和最小幅度相位点进行相应处理,所以大大减少了解调的开销与计算量,降低了成本,并在保证解调效果的同时有效地简化了解调步骤。下面,将对本申请实施例提供的2ASK信号的解调方法进行详细阐述。Through the foregoing, a basic understanding of the principle on which the 2ASK signal demodulation method provided in the embodiment of the present application is based. According to the principle based on the demodulation method of 2ASK signal provided by the embodiment of the present application, compared with the existing demodulation method, the demodulation method of the 2ASK signal provided by the embodiment of the present application does not need complex analog circuits, only in the demodulation It is enough to screen the maximum amplitude and minimum amplitude phase points before adjustment, but for a single period of 2ASK signal, only the maximum amplitude phase point and the minimum amplitude phase point are processed accordingly, so the cost and calculation of demodulation are greatly reduced The quantity reduces the cost and effectively simplifies the demodulation steps while ensuring the demodulation effect. Next, the demodulation method of the 2ASK signal provided by the embodiment of the present application will be described in detail.
请参阅图5,图5为本申请实施例提供的2ASK信号的解调方法的流程示意图。从图5中可以看出,本申请实施例提供的2ASK信号的解调方法应用于通信系统,且包括如下步骤501至504。Please refer to FIG. 5 . FIG. 5 is a schematic flowchart of a demodulation method for a 2ASK signal provided in an embodiment of the present application. It can be seen from FIG. 5 that the 2ASK signal demodulation method provided by the embodiment of the present application is applied to a communication system, and includes steps 501 to 504 as follows.
步骤501、获取2ASK信号。Step 501, acquire 2ASK signal.
在本申请实施例中,对2ASK信号进行解调时,需要先对2ASK信号进行获取;其中,2ASK信号的形成方式为:通过二进制振幅键控的方式将调制信号调制到载波信号中,以得到2ASK信号。In the embodiment of the present application, when demodulating the 2ASK signal, the 2ASK signal needs to be acquired first; wherein, the formation method of the 2ASK signal is: the modulated signal is modulated into the carrier signal by means of binary amplitude keying to obtain 2ASK signal.
步骤502、根据2ASK信号单个周期内的最大幅度相位点和最小幅度相位点,将2ASK信号转换为两路直流信号。Step 502: Convert the 2ASK signal into two DC signals according to the maximum amplitude phase point and the minimum amplitude phase point within a single cycle of the 2ASK signal.
在本申请实施例中,获取到2ASK信号后,还需要根据2ASK信号单个周期内的最大幅度相位点和最小幅度相位点,将2ASK信号转换为两路直流信号。In the embodiment of the present application, after the 2ASK signal is obtained, it is necessary to convert the 2ASK signal into two DC signals according to the maximum amplitude phase point and the minimum amplitude phase point within a single period of the 2ASK signal.
步骤503、分别对两路直流信号进行滤波,得到两路目标信号。Step 503: Filter the two channels of direct current signals respectively to obtain two channels of target signals.
在本申请实施例中,将2ASK信号转换为两路直流信号后,还需要分别对两路直流信号进行滤波,从而得到两路目标信号。In the embodiment of the present application, after the 2ASK signal is converted into two channels of DC signals, the two channels of DC signals need to be filtered separately, so as to obtain two channels of target signals.
步骤504、对两路目标信号进行信号拼接处理,得到调制信号。Step 504, performing signal splicing processing on the two channels of target signals to obtain modulated signals.
在本申请实施例中,得到两路目标信号后,还需要对两路目标信号进行信号拼接处理,从而得到调制信号。In the embodiment of the present application, after obtaining the two target signals, it is necessary to perform signal splicing processing on the two target signals, so as to obtain the modulated signal.
本申请实施例先获取2ASK信号;再根据2ASK信号单个周期内的最大幅度相位点和最小幅度相位点,将2ASK信号转换为两路直流信号;之后分别对两路直流信号进行滤波,得到两路目标信号;最后对两路目标信号进行信号拼接处理,得到调制信号;其中,2ASK信号由通过二进制振幅键控将调制信号调制入载波信号的方式得到。由此可见,本申请实施例在对2ASK信号进行解调的过程中,并未涉及现有解调方法中的正交分解和平方和开方等环节,从而能够有效地减少解调的开销,进而能够大幅度提升解调的效率。In the embodiment of the present application, the 2ASK signal is obtained first; then, according to the maximum amplitude phase point and the minimum amplitude phase point in a single period of the 2ASK signal, the 2ASK signal is converted into two DC signals; and then the two DC signals are respectively filtered to obtain two DC signals The target signal; finally, the signal splicing process is performed on the two target signals to obtain the modulated signal; wherein, the 2ASK signal is obtained by modulating the modulated signal into the carrier signal through binary amplitude keying. It can be seen that, in the process of demodulating the 2ASK signal in the embodiment of the present application, links such as orthogonal decomposition and square and square root in the existing demodulation method are not involved, so that the demodulation overhead can be effectively reduced, Thus, the demodulation efficiency can be greatly improved.
在一些实施例中,步骤502,即根据2ASK信号单个周期内的最大幅度相位点和最小幅度相位点,将2ASK信号转换为两路直流信号,具体可以包括:根据载波信号,生成频率与载波信号相同的PWM信号;根据PWM信号,获取2ASK信号单个周期内的最大幅度相位点和最小幅度相位点;根据最大幅度相位点和最小幅度相位点,将2ASK信号转换为两路直流信号。In some embodiments, step 502, converting the 2ASK signal into two DC signals according to the maximum amplitude phase point and the minimum amplitude phase point in a single cycle of the 2ASK signal may specifically include: generating a frequency and a carrier signal according to the carrier signal The same PWM signal; according to the PWM signal, obtain the maximum amplitude phase point and the minimum amplitude phase point in a single cycle of the 2ASK signal; convert the 2ASK signal into two DC signals according to the maximum amplitude phase point and the minimum amplitude phase point.
作为一种实施方式,根据载波信号,生成频率与载波信号相同的PWM信号,具体可以包括:若载波信号已知,则根据载波信号,生成频率与载波信号相同的PWM信号;若载波信号未知,则通过锁相环还原出载波信号;根据载波信号,生成频率与载波信号相同的PWM信号;其中,当2ASK信号由通信系统产生时,载波信号已知;当2ASK信号由通信系统从外部接收时,载波信号未知。As an implementation, generating a PWM signal with 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, Then the carrier signal is restored through the phase-locked loop; according to the carrier signal, a PWM signal with the same frequency as the carrier signal is generated; wherein, when the 2ASK signal is generated by the communication system, the carrier signal is known; when the 2ASK signal is received by the communication system from the outside , the carrier signal is unknown.
作为一种实施方式,根据PWM信号,获取2ASK信号单个周期内的最大幅度相位点和最小幅度相位点,具体可以包括:在PWM信号的单个周期内预设多个第一相位点;以多个第一相位点为参照,对2ASK信号单个周期内的多个第二相位点进行采样;从多个第二相位点中选取出最大幅度相位点和最小幅度相位点;其中,多个第一相位点与多个第二相位点之间一一对应,且第一相位点与相应的第二相位点在时域上保持一致。As an implementation manner, according to the PWM signal, obtaining the maximum amplitude phase point and the minimum amplitude phase point in a single cycle of the 2ASK signal may specifically include: preset multiple first phase points in a single cycle of the PWM signal; The first phase point is a reference, and a plurality of second phase points in a single cycle of the 2ASK signal are sampled; the maximum amplitude phase point and the minimum amplitude phase point are selected from the plurality of second phase points; wherein, the plurality of first phase There is a one-to-one correspondence between a point and a plurality of second phase points, and the first phase point is consistent with the corresponding second phase point in the time domain.
作为本实施方式的一种具体实现,第二相位点可以由如下公式表示:As a specific implementation of this embodiment, the second phase point can be expressed by the following formula:
Pi=Acos(φ0+φi);P i =Acos(φ 0 +φ i );
其中,Pi表示第i个第二相位点,A表示调制信号,φ0表示PWM信号与2ASK信号(相当于载波信号)之间的相位差(此相位差由于信号传递与延迟等原因天然存在,其在不同的通信系统中不尽相同,且当PWM信号确定后,其是保持不变的),φi表示与第i个第二相位点相应的第一相位点的相位,且i为大于1的正整数。在此基础上,从多个第二相位点中选取出最大幅度相位点和最小幅度相位点,具体可以包括:对多个第二相位点的cos(φ0+φi)进行对比;根据对比结果,从多个第二相位点中选取出φ0+φi等于(或最接近)0度和180度的两个第二相位点;其中,所选取出的一个第二相位点为最大幅度相位点,所选取出的另一个第二相位点为最小幅度相位点;比如,φ0+φi等于(或最接近)0度的第二相位点为最大幅度相位点,φ0+φi等于(或最接近)180度的第二相位点为最小幅度相位点。Among them, P i represents the i-th second phase point, A represents the modulation signal, and φ0 represents the phase difference between the PWM signal and the 2ASK signal (equivalent to the carrier signal) (this phase difference exists naturally due to signal transmission and delay, etc. , which are different in different communication systems, and when the PWM signal is determined, it remains unchanged), φ i represents the phase of the first phase point corresponding to the i-th second phase point, and i is A positive integer greater than 1. On this basis, selecting a maximum amplitude phase point and a minimum amplitude phase point from a plurality of second phase points may specifically include: comparing cos(φ 0 +φ i ) of a plurality of second phase points; As a result, two second phase points where φ 0 +φ i are equal to (or closest to) 0 degrees and 180 degrees are selected from a plurality of second phase points; wherein, the selected second phase point is the maximum amplitude Phase point, the selected second phase point is the minimum amplitude phase point; for example, the second phase point where φ 0 +φ i is equal to (or closest to) 0 degrees is the maximum amplitude phase point, φ 0 +φ i The second phase point equal to (or closest to) 180 degrees is the minimum amplitude phase point.
作为本实施方式的一种具体实现,在PWM信号的单个周期内预设多个第一相位点,具体可以包括:在PWM信号的单个周期内预设四个第一相位点;其中,第一个第一相位点位于PWM信号单个周期内的上升沿处,第二个第一相位点位于PWM信号单个周期内高电平的1/2处,第三个第一相位点位于PWM信号单个周期内的下降沿处,第四个第一相位点位于PWM信号单个周期内低电平的1/2处。As a specific implementation of this embodiment, presetting a plurality of first phase points within a single period of the PWM signal may specifically include: presetting four first phase points within a single period of the PWM signal; wherein, the first The first phase point is located at the rising edge of a single period of the PWM signal, the second first phase point is located at 1/2 of the high level within a single period of the PWM signal, and the third first phase point is located at a single period of the PWM signal At the falling edge of the PWM signal, the fourth first phase point is located at 1/2 of the low level in a single period of the PWM signal.
作为本实施方式的另一种具体实现,在PWM信号的单个周期内预设多个第一相位点,具体可以包括:在PWM信号的单个周期内预设六个第一相位点;其中,第一个第一相位点位于PWM信号单个周期内的上升沿处,第二个第一相位点位于PWM信号单个周期内高电平的1/3处,第三个第一相位点位于PWM信号单个周期内高电平的2/3处,第四个第一相位点位于PWM信号单个周期内的下降沿处,第五个第一相位点位于PWM信号单个周期内低电平的1/3处,第六个第一相位点位于PWM信号单个周期内低电平的2/3处。As another specific implementation of this embodiment, presetting multiple first phase points within a single period of the PWM signal may specifically include: presetting six first phase points within a single period of the PWM signal; wherein, the first One first phase point is located at the rising edge of a single period of the PWM signal, the second first phase point is located at 1/3 of the high level within a single period of the PWM signal, and the third first phase point is located at the single period of the PWM signal At 2/3 of the high level in the cycle, the fourth first phase point is located at the falling edge of a single cycle of the PWM signal, and the fifth first phase point is located at 1/3 of the low level in a single cycle of the PWM signal , the sixth first phase point is located at 2/3 of the low level in a single cycle of the PWM signal.
应当理解的是,上述实施方式仅作为本申请实施例的优选实现,并非是本申请实施例对步骤502的具体流程的唯一限定;对此,本领域技术人员可以在本申请实施例的基础上,根据实际应用场景进行灵活设定。It should be understood that the above-mentioned implementation is only a preferred implementation of the embodiment of the present application, and is not the only limitation of the specific process of step 502 in the embodiment of the present application; for this, those skilled in the art can , and flexibly set according to the actual application scenario.
此外,如果调制信号被调制入载波信号之前,进行了编码,那么步骤504之前,即对两路目标信号进行信号拼接处理之前,还可以包括:对两路目标信号进行解码。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 channels of target signals, it may further include: decoding the two channels of target signals.
请参阅图6,图6为本申请实施例提供的电子设备的模块框图。Please refer to FIG. 6 . FIG. 6 is a block diagram of modules of an electronic device provided by an embodiment of the present application.
如图6所示,本申请实施例还提供了一种电子设备600,包括存储装置610和至少一个处理器620;其中,存储装置610用于存储至少一个程序,且当至少一个程序被至少一个处理器620执行时,使得至少一个处理器620执行本申请实施例提供的2ASK信号的解调方法。As shown in FIG. 6, the embodiment of the present application also provides an electronic device 600, including a storage device 610 and at least one processor 620; wherein, the storage device 610 is used to store at least one program, and when at least one program is used by at least one When the processors 620 are executed, at least one processor 620 is made to execute the 2ASK signal demodulation method provided by the embodiment of the present application.
在一些实施例中,电子设备600还可以包括总线630,用于存储装置610与至少一个处理器620之间的通信连接。In some embodiments, the electronic device 600 may further include a bus 630 for communication connection between the storage device 610 and at least one processor 620 .
请参阅图7,图7为本申请实施例提供的计算机可读存储介质的模块框图。Please refer to FIG. 7 , which is a block diagram of a computer-readable storage medium provided by an embodiment of the present application.
如图7所示,本申请实施例还提供了一种计算机可读存储介质700,该计算机可读存储介质700上存储有可执行指令710,该可执行指令710被执行时执行本申请实施例提供的2ASK信号的解调方法。As shown in FIG. 7 , the embodiment of the present application also provides a computer-readable storage medium 700, on which an executable instruction 710 is stored. When the executable instruction 710 is executed, the embodiment of the present application is executed. The demodulation method of the 2ASK signal is provided.
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the methods or algorithms described in connection with the embodiments disclosed herein may be directly implemented by hardware, software modules executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other Any other known storage medium.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请所述的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk)等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the present application will be generated in whole or in part. A computer can be a general purpose computer, special purpose computer, computer network, or other programmable device. Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g. Coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server, a data center, etc. integrated with one or more available media. Usable media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk), among others.
需要说明的是,本申请内容中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于产品类实施例而言,由于其与方法类实施例相似,所以描述的比较简单,相关之处参见方法类实施例的部分说明即可。It should be noted that each embodiment in the content of this application is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment refer to each other That's it. As for the product embodiment, since it is similar to the method embodiment, the description is relatively simple, and for the related parts, please refer to the description of the method embodiment.
还需要说明的是,在本申请内容中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that in the content of this application, relative terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations, any such actual relationship or order exists. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请内容。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本申请内容中所定义的一般原理可以在不脱离本申请内容的精神或范围的情况下,在其它实施例中实现。因此,本申请内容将不会被限制于本申请内容所示的这些实施例,而是要符合与本申请内容所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables those skilled in the art to implement or use the contents of the application. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined in the content of the application can be used in other embodiments without departing from the spirit or scope of the content of the application. accomplish. Therefore, the content of the application will not be limited to the embodiments shown in the content of the application, but will conform to the broadest scope consistent with the principles and novel features disclosed in the content of the application.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210416646.2A CN114900409B (en) | 2022-04-20 | 2022-04-20 | A 2ASK signal demodulation method, device 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 | A 2ASK signal demodulation method, device and readable storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114900409A CN114900409A (en) | 2022-08-12 |
| CN114900409B true 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 | A 2ASK signal demodulation method, device and readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114900409B (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102123119A (en) * | 2010-01-11 | 2011-07-13 | 晨星软件研发(深圳)有限公司 | Amplitude modulation demodulation circuit and method |
| CN105119864A (en) * | 2015-07-10 | 2015-12-02 | 东南大学 | Symmetrical extended binary phase shift keying modulation and demodulation method |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6970518B2 (en) * | 2003-03-11 | 2005-11-29 | Motorola, Inc. | Method and apparatus for electronic item identification in a communication system using known source parameters |
| 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 |
| CN106897762A (en) * | 2015-12-17 | 2017-06-27 | 北京同方微电子有限公司 | A kind of adaptive demodulation circuit and method for RFID label tag |
| WO2017172899A1 (en) * | 2016-03-29 | 2017-10-05 | University Of Washington | Two-port mixers and systems, receivers, and methods using same |
| CN107493249B (en) * | 2017-07-21 | 2019-09-20 | 浙江大学 | An Amplitude Keying Demodulation Circuit Based on Analog Switch |
| CN112995080B (en) * | 2021-04-21 | 2021-08-06 | 华南理工大学 | An adaptive wireless energy-carrying communication system based on biased ASK modulation |
| CN114189417B (en) * | 2021-12-07 | 2023-10-17 | 北京零壹空间电子有限公司 | Carrier frequency synchronization method, carrier frequency synchronization device, computer equipment and storage medium |
-
2022
- 2022-04-20 CN CN202210416646.2A patent/CN114900409B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102123119A (en) * | 2010-01-11 | 2011-07-13 | 晨星软件研发(深圳)有限公司 | Amplitude modulation demodulation circuit and method |
| CN105119864A (en) * | 2015-07-10 | 2015-12-02 | 东南大学 | Symmetrical extended binary phase shift keying modulation and demodulation method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114900409A (en) | 2022-08-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6363175B1 (en) | Spectral encoding of information | |
| CN107135174B (en) | Signal transmission device, carrier phase recovery device and method | |
| CN1197316C (en) | Blind carrier offset detection for quadrature modulated digital communication systems | |
| CN112350970B (en) | Multi-phase frequency shift keying modulation and demodulation method and equipment | |
| CN100421437C (en) | Information Modulation and Demodulation Method for High Band Utilization | |
| CN111181883A (en) | Polarized Transmitter Using Zero-Crossing Avoidance | |
| CN114900409B (en) | A 2ASK signal demodulation method, device and readable storage medium | |
| CN112491766B (en) | Digital modulation method and device and storage medium | |
| CN103795443B (en) | A kind of power circuit power frequency communication means and device | |
| CN102170415A (en) | Reference Phase Tracking Method and Apparatus for Digital Phase Modulated Signals in a Receiver | |
| JP7549667B2 (en) | Clock transmission method, clock reception method, and computer-readable storage medium | |
| WO1997020417A1 (en) | Digital demodulator | |
| CN207460228U (en) | The circuit structure that fsk signal efficiently demodulates is realized in wireless charging device | |
| CN110708268A (en) | Signal modulation device and terminal | |
| US5838208A (en) | Modulation of transmission data signal in sychronous with transmission clock signal | |
| WO2019024620A1 (en) | Data transmission method, apparatus and device based on modulated signal, and storage medium | |
| CN119865409B (en) | MPSK signal carrier frequency and initial phase calculation method and device, storage medium and electronic equipment | |
| JP2001160834A (en) | GMSK modulation circuit | |
| CN109067679B (en) | DSB demodulation method for offsetting frequency offset | |
| WO2018157798A1 (en) | Vector millimeter wave generation method and apparatus, and computer storage medium | |
| KR102420291B1 (en) | System and method for upsampling a polar amplitude sample stream in a polar modulator | |
| WO2024113975A1 (en) | Data modulation method and apparatus, and medium and storage medium | |
| US7068739B1 (en) | Method and system for providing a binary demodulator | |
| CN120825381A (en) | Data modulation and demodulation method, communication device and storage medium | |
| JPH0678006A (en) | Quadrature modulation circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20250728 Address after: 518000 Guangdong Province Shenzhen City Nanshan District Yu Hai Street No. 19, Gaoxin South 7th Road Room A302, Tsinghua University Research Institute Patentee after: RESEARCH INSTITUTE OF TSINGHUA University IN SHENZHEN Country or region after: China Patentee after: China Resources Microelectronics Holding Co.,Ltd. Address before: 518000 Guangdong Province Shenzhen City Nanshan District Yu Hai Street No. 19, Gaoxin South 7th Road Room A302, Tsinghua University Research Institute Patentee before: RESEARCH INSTITUTE OF TSINGHUA University IN SHENZHEN Country or region before: China Patentee before: China Resources Microelectronics Holding Co.,Ltd. Patentee before: China Resources Shenzhen Bay Development Co.,Ltd. science and technology research branch |