WO2022165842A1 - Signal transmission method, electronic device, and storage medium - Google Patents

Signal transmission method, electronic device, and storage medium Download PDF

Info

Publication number
WO2022165842A1
WO2022165842A1 PCT/CN2021/076036 CN2021076036W WO2022165842A1 WO 2022165842 A1 WO2022165842 A1 WO 2022165842A1 CN 2021076036 W CN2021076036 W CN 2021076036W WO 2022165842 A1 WO2022165842 A1 WO 2022165842A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
phase
carrier signal
modulated signal
link
Prior art date
Application number
PCT/CN2021/076036
Other languages
French (fr)
Chinese (zh)
Inventor
魏建勇
Original Assignee
深圳市汇顶科技股份有限公司
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 深圳市汇顶科技股份有限公司 filed Critical 深圳市汇顶科技股份有限公司
Priority to PCT/CN2021/076036 priority Critical patent/WO2022165842A1/en
Publication of WO2022165842A1 publication Critical patent/WO2022165842A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and in particular, to a signal transmission method, an electronic device, and a storage medium.
  • NFC Near Field Communication
  • Radio Frequency Identification Radio Frequency Identification
  • PCD Proximity Coupling Device
  • PICC Proximity Integrated Circuit Card
  • Embodiments of the present application provide a signal transmission method, an electronic device, and a storage medium, so as to provide a signal transmission method.
  • an embodiment of the present application provides a signal transmission method, which is applied to a second electronic device, where the second electronic device includes a second transceiver link for transmitting and receiving signals, and the impedance of the second transceiver link is adjustable ,include:
  • the impedance of the second transceiving link is adjusted respectively at multiple different times, so that the second transceiving link correspondingly has multiple different impedances at multiple different times.
  • the multiple first carrier signals sent by the first electronic device are respectively received, and the multiple first carrier signals received by the second electronic device are obtained.
  • the mapping relationship between the phase deviation and the impedance is determined; wherein the phase deviation is used to characterize the first carrier signal sent by the first electronic device and the second Phase difference between the first carrier signals received by the electronic device.
  • the current impedance of the second transceiver link is acquired, and the current phase deviation is determined based on the current impedance and the mapping relationship.
  • the obtained second modulated signal is sent to the first electronic device.
  • phase compensation is performed on the carrier signal to be sent by the PICC side based on the phase deviation, so that the PICC side can be eliminated.
  • the phase deviation caused by the transmitted carrier signal on the PCD side can further improve the communication quality.
  • respectively adjusting the impedance of the second transceiver link at multiple different times includes:
  • the convenience of impedance adjustment can be improved.
  • the second transceiving link includes an initial impedance
  • periodically adjusting the impedance of the second transceiving link within a preset time period includes:
  • the impedance of the second transceiving link is adjusted respectively in two cycles within the preset time period, wherein the three impedances include the initial impedance and the two adjusted impedances.
  • periodically adjusting the impedance of the second transceiver link within a preset time period includes:
  • the impedances of the second transceiver link are respectively adjusted in three cycles within the preset time period, wherein the three impedances include three adjusted impedances.
  • One of the possible implementations also includes:
  • the phase difference between the modulated signal and the carrier signal can be effectively obtained.
  • the second electronic device includes a clock module, and the 0-phase moment of the first carrier signal received by the second electronic device is sampled by the clock module. get.
  • the sampling performed by the clock module includes:
  • the first carrier signal received by the second electronic device is sampled to obtain the 0-phase moment of the first carrier signal received by the second electronic device.
  • the method before performing phase compensation on the second modulated signal based on the phase deviation, the method further includes:
  • Phase compensation is performed on the second modulated signal based on the phase difference.
  • the influence caused by the phase deviation of the second modulated signal received on the PCD side can be effectively reduced, thereby further improving communication quality.
  • performing phase compensation on the second modulated signal based on the phase deviation includes:
  • phase deviations between the PCD and the PICC and between the PICC and the PCD are the same. Therefore, compensating twice the phase deviation for the second modulated signal can effectively reduce the The influence of the phase deviation on the modulated signal, which in turn can improve the communication quality.
  • the first electronic device includes a first transceiving link for transceiving signals, and the first transceiving link and the second transceiving link form an equivalent chain for signal transmission Road, based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device, determining the mapping relationship between the phase deviation and the impedance specifically includes:
  • the coefficients of the equivalent link are determined based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device, and the mapping relationship is represented by a formula including the coefficients.
  • the frequency of the first carrier signal and the second carrier signal are the same.
  • an embodiment of the present application provides a signal transmission apparatus, which is applied to a second electronic device.
  • the second electronic device includes a second transceiver link for transmitting and receiving signals, and the impedance of the second transceiver link is adjustable, including:
  • an adjustment module configured to adjust the impedance of the second transceiver link at multiple different times, so that the second transceiver link has different multiple impedances at multiple different times;
  • a receiving module configured to respectively receive a plurality of first carrier signals sent by the first electronic device when the second transceiver link has a plurality of different impedances, and obtain a plurality of first carrier signals received by the second electronic device;
  • the first determination module is configured to determine the mapping relationship between the phase deviation and the impedance based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device; wherein the phase deviation is used to characterize the signal sent by the first electronic device. a phase difference value between the first carrier signal and the first carrier signal received by the second electronic device;
  • a calculation module configured to obtain the current impedance of the second transceiver link, and determine the current phase deviation based on the current impedance and the mapping relationship;
  • the first compensation module is used to obtain the second carrier signal and the second modulation signal, modulate the second modulation signal on the second carrier signal, and obtain the second modulated signal; based on the current phase deviation, the second modulated signal is phased compensate,
  • the sending module is used for sending the second modulated signal obtained after the phase compensation to the first electronic device.
  • the above adjustment module is further configured to periodically adjust the impedance of the second transceiving link within a preset time period.
  • the second transceiver link includes an initial impedance
  • the adjustment module is further configured to adjust the impedance of the second transceiver link in two cycles within a preset time period, wherein the three impedances include Initial impedance and two adjusted impedances.
  • the adjustment module is further configured to adjust the impedance of the second transceiver link in three cycles within a preset time period, wherein the three impedances include three adjustment impedances.
  • the above-mentioned device further includes:
  • the second determining module is configured to respectively receive multiple first modulated signals sent by the first electronic device at different times, and obtain multiple first modulated signals received by the second electronic device, wherein the first modulated signals sent by the first electronic device are The plurality of first modulated signals include the first carrier signal and the first modulated signal sent by the first electronic device, and the first modulated signal received by the second electronic device includes the first carrier signal and the first modulated signal received by the second electronic device.
  • a modulated signal obtain the 0-phase moment of the first carrier signal received by the second electronic device and the frame start point moment of the first modulated signal received by the second electronic device, based on the first carrier signal received by the second electronic device.
  • the 0 phase moment of the second electronic device and the frame start point moment of the first modulated signal received by the second electronic device determine the phase difference, wherein the phase difference is used to characterize the first carrier signal received by the second electronic device and the second electronic device. The phase difference between the received first modulated signals.
  • the above-mentioned device further includes:
  • the clock module is configured to sample the first carrier signal received by the second electronic device to obtain the 0-phase moment of the first carrier signal received by the second electronic device.
  • the above clock module is also used to perform n-multiplier on the sampling frequency, where n is a constant, and n is determined by the precision of the phase deviation; sampling to obtain the 0-phase moment of the first carrier signal received by the second electronic device.
  • the above-mentioned device further includes:
  • the second compensation module is configured to perform phase compensation on the second modulated signal based on the phase difference.
  • the above-mentioned first compensation module is further configured to advance the phase of the second modulated signal by twice the phase deviation.
  • the first electronic device includes a first transceiving link for transceiving signals, the first transceiving link and the second transceiving link form an equivalent link for signal transmission, and the first determining module above It is also used to determine the coefficients of the equivalent link based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device, and the mapping relationship is represented by a formula including the coefficients.
  • the frequency of the first carrier signal and the second carrier signal are the same.
  • an embodiment of the present application provides a second electronic device, where the second electronic device includes a second transceiver link for transmitting and receiving signals, and the impedance of the second transceiver link is adjustable, including:
  • Memory used to store computer program code
  • the computer program code includes instructions, when the second electronic device reads the instructions from the memory, so that the second electronic device performs the following steps:
  • the mapping relationship between the phase deviation and the impedance is determined; wherein the phase deviation is used to characterize the first carrier signal sent by the first electronic device and the second the phase difference value between the first carrier signals received by the electronic device;
  • Phase compensation is performed on the second modulated signal based on the current phase deviation, and the second modulated signal obtained after the phase compensation is sent to the first electronic device.
  • the step of causing the above-mentioned second electronic device to perform the step of adjusting the impedance of the second transceiving link respectively at multiple different times includes:
  • the second transceiving link includes an initial impedance, and when the instruction is executed by the second electronic device, the second electronic device executes and periodically adjusts the second transceiving chain within a preset period of time.
  • the steps of circuit impedance include:
  • the impedance of the second transceiving link is adjusted respectively in two cycles within the preset time period, wherein the three impedances include the initial impedance and the two adjusted impedances.
  • causing the above-mentioned second electronic device to perform the step of periodically adjusting the impedance of the second transceiving link within a preset time period includes:
  • the impedances of the second transceiver link are respectively adjusted in three cycles within the preset time period, wherein the three impedances include three adjusted impedances.
  • the above-mentioned second electronic device when executed by the above-mentioned second electronic device, the above-mentioned second electronic device further executes the following steps:
  • the second electronic device includes a clock module, and the 0-phase moment of the first carrier signal received by the second electronic device is obtained after sampling by the clock module.
  • the step of causing the above-mentioned second electronic device to execute the clock module to perform sampling includes:
  • the first carrier signal received by the second electronic device is sampled to obtain the 0-phase moment of the first carrier signal received by the second electronic device.
  • Phase compensation is performed on the second modulated signal based on the phase difference.
  • the step of causing the above-mentioned second electronic device to perform phase compensation on the second modulated signal based on the phase deviation includes:
  • the first electronic device includes a first transceiving link for transceiving signals, the first transceiving link and the second transceiving link form an equivalent link for signal transmission, and the above-mentioned instruction is executed by the above-mentioned first transceiving link.
  • the step of determining the mapping relationship between the phase deviation and the impedance based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device includes:
  • the coefficients of the equivalent link are determined based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device, and the mapping relationship is represented by a formula including the coefficients.
  • the frequency of the first carrier signal and the second carrier signal are the same.
  • an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when it runs on a computer, causes the computer to execute the method described in the first aspect.
  • an embodiment of the present application provides a computer program, which is used to execute the method described in the first aspect when the computer program is executed by a computer.
  • the program in the fifth aspect may be stored in whole or in part on a storage medium packaged with the processor, and may also be stored in part or in part in a memory not packaged with the processor.
  • FIG. 1 is a schematic diagram of signal transceiving provided by an embodiment of the present application
  • FIG. 2 is a waveform diagram of a transmission signal provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a phase deviation between a received signal and a transmitted signal according to an embodiment of the present application
  • FIG. 4 is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a signal transmission method provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of an equivalent link provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a phase difference provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of frequency multiplication of a clock sampling frequency provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of calculating a phase difference between a modulated signal and a carrier signal according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of phase compensation of a modulated signal provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of a carrier signal phase compensation provided by an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a signal transmission apparatus provided by an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • first and second are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implicitly indicating the number of indicated technical features.
  • a feature defined as “first” or “second” may expressly or implicitly include one or more of that feature.
  • plural means two or more.
  • the above-mentioned devices may include electronic devices such as PCD and PICC.
  • the PCD and the PICC communicate through modulated signals. Since the modulated signal is usually a low-frequency signal, which is not conducive to transmission, the modulated signal is usually modulated on a high-frequency carrier signal for transmission.
  • the PCD can modulate the modulated signal on the carrier signal and send it to the PICC, and the PICC can also modulate the modulated signal on the carrier signal and send the modulated signal to the PICC, thereby implementing communication between the PCD and the PICC.
  • the above wireless link may include a transceiver circuit on the PCD side, such as an EMC and matching circuit on the PCD side, and a transceiver circuit on the PICC side, such as an EMC and matching circuit on the PICC side.
  • the PICC side will use a carrier with the same frequency and phase as the carrier received by the PICC, that is to say, the carrier signal sent by the PICC side has the same frequency and phase as the carrier signal received by the PICC side and sent by the PCD, and can
  • the modulated signal on the PICC side is modulated on the carrier wave sent by the PICC side, so that the PCD side can perform demodulation according to the carrier signal sent by the PICC side, so as to realize smooth communication between the PCD and the PICC.
  • the carrier signal between the PCD and the PICC has a phase deviation
  • the PCD receives the carrier signal sent by the PICC
  • the phase deviation will affect the amplitude of the received signal (for example, weaken or reverse)
  • the This adversely affects the demodulation of the PCD, which in turn may result in a loss of communication between the PCD and the PICC.
  • FIG. 1 is a schematic diagram of the communication between the PCD and the PICC.
  • the PCD side includes a transmitter 11 , a receiver 12 , a transceiver circuit 13 and an antenna 14 .
  • the transmitter 11 can be used to generate a carrier signal on the PCD side (for the convenience of description, the carrier signal sent by the PCD side is hereinafter referred to as a "first carrier signal") and a modulated signal sent by the PCD side (for the convenience of description, the following will be
  • the modulated signal sent by the PCD side is called the "first modulated signal", and the first modulated signal can be modulated on the first carrier signal, so that the modulated signal sent by the PCD side can be obtained (for the convenience of description, the PCD side
  • the transmitted modulated signal is called "first modulated signal”); it is understood that the above-mentioned first modulated signal may be a modulated carrier signal, and the first modulated signal and the first carrier signal have the same frequency and phase
  • the receiver 12 can be used
  • the modulated signal sent by the PICC side is referred to as the "second modulation signal"
  • the transceiver circuit 13 can be used for the first modulated signal sent by the PCD side and the second modulated signal received by the PCD side.
  • the modulated signal is processed, for example, electromagnetic compatibility, etc.; the antenna 14 is used for receiving the second modulated signal sent by the PICC and sending the first modulated signal on the PCD side.
  • the PICC side includes a transmitter 21 , a receiver 22 , a transceiver circuit 23 , an antenna 24 and a clock 25 .
  • the receiver 22 can be used to separate the first modulated signal received by the PICC side, thereby obtaining the first modulated signal received by the PICC side. It can be understood that the above separation process can be performed by the receiver 22 The first carrier signal in the first modulated signal received by the PICC side is removed, and the first modulated signal received by the PICC side is retained; the transmitter 21 can be used to modulate the second modulated signal sent by the PICC side on the PICC side.
  • the second carrier signal sent On the second carrier signal sent, the second carrier signal sent by the PICC side has the same frequency as the first carrier signal received by the PICC side, so that the second modulated signal sent by the PICC side can be obtained; it is understandable Yes, the second modulated signal may be a modulated carrier signal, and the second modulated signal and the second carrier signal sent by the PICC side have the same frequency and phase.
  • the transceiver circuit 23 can be used to process the second modulated signal sent by the PICC side and the first modulated signal received by the PICC side, for example, electromagnetic compatibility, etc.; the antenna 24 is used to receive the first modulated signal sent by the PCD and A second modulated signal is sent; clock 25 is used to generate the local clock.
  • the transmitter 11 of the PCD After the transmitter 11 of the PCD generates the first carrier signal (for example, it may be a carrier signal of 0 phase), it sends it to the PICC, and after processing by the transceiver link, the receiver 22 of the PICC receives the above-mentioned first carrier signal and transmits it to the PICC. demodulate.
  • the above-mentioned transceiver link may include a transceiver circuit 13 , an antenna 14 , a transceiver circuit 23 and an antenna 24 .
  • the first carrier signal received by the receiver 22 and the first carrier signal generated by the transmitter 11 may have a phase deviation (for example, the phase deviation is ⁇ ), that is, the receiver 22 of the PICC
  • the PICC can use the second carrier signal with the same frequency and phase as the first carrier signal received, and can modulate the second modulation signal to be sent by the PICC side on the second carrier signal to be sent by the PICC side superior. It can be understood that the phase deviation of the second carrier signal to be sent by the PICC side and the first carrier signal sent by the PCD side is ⁇ .
  • the device link of NFC is usually symmetrical, that is to say, when the PICC sends the carrier signal to the PCD, the same phase deviation (for example, the phase deviation is ⁇ ) will also be generated.
  • the PICC sends the second modulated signal to be sent by the PICC side to the PCD through the transmitter 21 , where the second modulated signal sent by the PICC includes a second carrier signal with a phase of ⁇ .
  • the phase of the second modulated signal received by the PCD receiver 12 is the same as the one sent by the PICC due to the phase deviation caused by the link.
  • the phase deviation of the second modulated signal is also ⁇ .
  • phase of the second modulated signal received by the receiver 12 of the PCD is offset from the phase of the first carrier signal sent by the transmitter 11 of the PCD by 2* ⁇ .
  • the PCD sends the first modulated signal to the PICC, a phase deviation similar to the above will also be generated.
  • FIG. 2 is a waveform diagram of the first carrier signal sent by the PCD side and the second modulated signal sent by the PICC side.
  • FIG. 3 is a waveform diagram of the second modulated signal received by the PCD side.
  • the waveform 310 represents a waveform with a phase deviation of 0 degrees.
  • the waveform 310 represents the second modulated signal received by the PCD, and the phase difference between it and the first carrier signal sent by the PCD is 0. Because The phase difference between the second modulated signal and the first carrier signal is equal to the phase difference between the second modulated signal and the first carrier signal, which means that the phase difference between the second modulated signal and the first carrier signal is 0 , at this time, it means that the system is in an ideal state, and there is no phase difference between PCD and PICC.
  • waveform 320 is a waveform with a phase deviation of 45 degrees, indicating that the phase difference between the second modulated signal received by the PCD and the first carrier signal sent by the PCD side is 45 degrees;
  • waveform 330 is a waveform with a phase deviation of 90 degrees Figure;
  • waveform 340 is a waveform diagram with a phase deviation of 180 degrees.
  • the phase deviation is 0, 45 or 90 degrees, the amplitude of the second modulated signal received by the PCD does not fluctuate significantly, while when the phase deviation is 180 degrees, the second modulated signal received by the PCD is 180 degrees.
  • the amplitude of the modulated signal is reversed, which will seriously affect the demodulation of the PCD.
  • the carrier signal between the PCD and the PICC generally produces a relatively serious phase deviation.
  • an embodiment of the present application proposes a signal transmission method.
  • the phase deviation of the carrier signal generated in the link processing can be eliminated, and the communication caused by the phase deviation can be avoided. reduction in efficiency.
  • FIG. 4 is an application scenario of an embodiment of the present application.
  • the above application scenario includes a first electronic device 410 and a second electronic device 420 .
  • the first electronic device 410 may be the aforementioned PCD (eg, a gate, etc.)
  • the second electronic device 420 may be the aforementioned PICC (eg, a mobile phone, etc.).
  • the PCD can also be a mobile phone working in a card reader mode
  • the PICC can be a mobile phone or other electronic device working in a card emulation mode.
  • the embodiments of the present application do not specifically limit the specific forms of the first electronic device 410 and the second electronic device 420 for implementing the technical solution. It can be understood that the embodiments of the present application may be applied to an NFC scenario, for example, the first electronic device 410 and the second electronic device 420 may communicate through NFC. The embodiments of the present application may also be applied to other short-range communication scenarios, for example, communication between the first electronic device 410 and the second electronic device 420 may be performed by means of RFID. This embodiment of the present application does not specifically limit the short-range communication manner.
  • FIG. 5 is a schematic flowchart of an embodiment of the signal transmission method provided by the embodiment of the present application.
  • the steps to be performed by the PCD and the PICC at different stages are integrated into the steps of the process according to the timeline.
  • the signal transmission method provided by the embodiment of the application performs
  • the main body is mainly PICC:
  • Step 101 the first electronic device 410 sends a first carrier signal to the second electronic device 420 .
  • the first electronic device 410 can periodically send the first carrier signal to the second electronic device 420, that is, it can complete multiple cycles in multiple cycles.
  • the period can be preset.
  • the size of the period is not particularly limited in this application. It can be understood that, the above-mentioned periodic sending method is only illustrative of the sending method of the first carrier signal of the first electronic device 410, and the first electronic device 410 can also send the first electronic device 420 to the second electronic device 420 in an aperiodic manner. carrier signal.
  • the foregoing manner in which the first electronic device 410 sends the first carrier signal to the second electronic device 420 does not constitute a limitation to the embodiments of the present application.
  • Step 102 the second electronic device 420 adjusts the impedance of the second transceiving link, and receives the first carrier signal sent by the first electronic device 410, based on the first carrier signal received by the second electronic device 420 and the second transceiving link The impedance determines the equivalent link.
  • the second electronic device 420 may receive multiple first carrier signals sent by the first electronic device 410 within a preset time period.
  • the above-mentioned preset time period may be determined according to the period at which the above-mentioned first electronic device 410 sends the first carrier signal. It can be understood that, within the above-mentioned preset time period, the second electronic device 420 can receive multiple first carrier signals periodically sent by the first electronic device 410, and the second electronic device 420 can also receive the first electronic device 410 aperiodically.
  • the manner in which the second electronic device 420 receives the first carrier signal sent by the first electronic device 410 does not constitute a limitation on the embodiments of the present application.
  • the second electronic device 420 may respectively receive the first carrier signal sent by the first electronic device 410 at different times within the foregoing preset time period.
  • the second electronic device 420 may receive the first carrier signal s1 at time t1
  • the second electronic device 420 may receive the first carrier signal s2 at time t2
  • the second electronic device 420 may receive the first carrier signal s2 at time t3.
  • the phase deviation of the signal is caused by the transceiving link of the first electronic device 410 and the transceiving link of the second electronic device 420 . Therefore, in order to calculate the phase deviation of the carrier signal, an equivalent link can be simulated, and the equivalent link can include the transceiving link (first transceiving link) of the first electronic device 410 and the transceiving link of the second electronic device 420 link (second transceiver link). Therefore, after the second electronic device 420 receives the first carrier signal sent by the first electronic device 410, it can be determined based on the equivalent link that the first carrier signal sent by the first electronic device 410 is received by the second electronic device 420.
  • FIG. 6 is a schematic diagram of an equivalent link structure between the PCD and the PICC.
  • the equivalent link g( ⁇ ) can be expressed by the following formula:
  • mapping relationship between the first carrier signal St sent by the first electronic device 410 and the first carrier signal Sr received by the second electronic device 420 can be obtained through the above equivalent link, and the mapping relationship can be expressed by the following formula :
  • is the phase deviation between the first carrier signal St sent by the first electronic device 410 and the first carrier signal Sr received by the second electronic device 420 . It can be understood that, since the equivalent link has symmetry, the ⁇ can also be the phase between the second carrier signal sent by the second electronic device 420 and the second carrier signal received by the first electronic device 410 deviation.
  • phase deviation ⁇ is related to the equivalent resistance R on the PICC side.
  • the second electronic device 420 may change the impedance of the equivalent resistance R.
  • the second electronic device 420 may periodically change the impedance of the equivalent resistance R within a preset time period.
  • the second electronic device 420 can change the impedance of the equivalent resistance R at three different times, for example, time t1', time t2', and time t3', so that the equivalent resistances at three different times can be obtained respectively.
  • the impedance of R eg, R1, R2, and R3. It can be understood that, after the first carrier signal sent by the first electronic device 410 at the above three different times is processed by the equivalent resistance R of different values, the second electronic device 420 can respectively receive three different phases of the first carrier signal.
  • the first carrier signal exemplarily, the impedance R1 of the equivalent resistance R at time t1' corresponds to the first carrier signal s1 at time t1, and the first carrier signal s1 may have a phase ⁇ 1 ;
  • the impedance R2 corresponds to the first carrier signal s2 at time t2, and the first carrier signal s2 may have a phase ⁇ 2 ;
  • the impedance R3 of the equivalent resistance R at time t3' corresponds to the first carrier signal s3 at time t3, and the first carrier signal s3 may has phase ⁇ 3 .
  • the second electronic device 420 can also change the impedance of the equivalent resistance R at different times in an aperiodic manner.
  • the second electronic device 420 may change the impedance of the equivalent resistance R after receiving the first carrier signal sent by the first electronic device 410 .
  • ⁇ 1 - ⁇ 2 is the phase difference between the first carrier signal s1 and the first carrier signal s2 after passing through the equivalent link
  • ⁇ 2 - ⁇ 3 is the phase difference between the first carrier signal s1 and the first carrier signal after passing through the equivalent link
  • the above-mentioned phase difference can be obtained by the above-mentioned clock 205 .
  • FIG. 7 is a schematic diagram of the phase difference. As shown in FIG.
  • waveform 700 is the first carrier signal sent by the PCD side
  • waveform 710 may be the first carrier signal s1 received by the PICC side at time t1
  • waveform 720 may be the first carrier signal received by the PICC side at time t2 s
  • the waveform 730 may be the first carrier signal s3 received by the PICC side at time t3.
  • the phase deviation between waveform 710 and waveform 700 is ⁇ 1
  • the phase deviation between waveform 720 and waveform 700 is ⁇ 2
  • the phase deviation between waveform 730 and waveform 700 is ⁇ 3
  • the phase difference between waveform 710 and waveform 720 is ⁇ 1 - ⁇ 2
  • the phase difference between waveform 720 and waveform 730 is ⁇ 2 - ⁇ 3 .
  • the above-mentioned changing the impedance of the equivalent resistance R at three different times is only an exemplary example, and does not constitute a limitation to the embodiments of the present application.
  • the impedance of the equivalent resistance R (for example, R1 and R2 ) can also be changed at two different moments, so that it is also possible to obtain Impedance at three different times (eg, R0, R1, and R2).
  • the 0-degree phase time can be obtained by the local clock.
  • the local clock may be a voltage-controlled oscillator (Voltage-Controlled Oscillator, VCO), or may be implemented by other devices, which is not particularly limited in this embodiment of the present application.
  • VCO Voltage-Controlled Oscillator
  • the 0-degree phase moment of the waveform 710 is P1
  • the 0-degree phase moment of the waveform 720 is P2
  • the 0-degree phase moment of the waveform 710 is P3, so it can be calculated according to P1 and P2 ⁇ 1 - ⁇ 2 is obtained, and ⁇ 2 - ⁇ 3 can be calculated from P2 and P3. It can be understood that ⁇ 1 - ⁇ 2 is the phase difference between the waveform 710 and the waveform 720.
  • the time difference can be P1-P2
  • ⁇ 1 - ⁇ 2 can be obtained through the values of P1-P2
  • ⁇ 2 - ⁇ 3 can also be obtained by calculating the values of P2-P3.
  • the sampling frequency of the local clock can also be multiplied to increase the sampling frequency of the local clock, so that the above waveform can be obtained more accurately.
  • the 0-phase moment in and then the calculation accuracy of the phase deviation can be improved.
  • the multiplier may be n, and the value of n may be preset. Exemplarily, the value of n may depend on the precision of the phase deviation. Preferably, the value of n may be 384.
  • a waveform 800 is a schematic diagram of a waveform before the local clock frequency multiplication
  • a waveform 810 is a schematic diagram of a waveform after the local clock frequency multiplication.
  • phase deviation calculation formula represents the phase deviation generated by the first carrier signal sent by the PCD side after passing through the equivalent link.
  • the above phase deviation calculation formula can also represent the phase deviation generated by the second carrier signal sent by the PICC side after passing through the equivalent link.
  • the phase of the second modulated signal sent by the PICC side is the same as the phase of the second carrier signal sent by the PICC side. Therefore, the above phase deviation calculation formula can also indicate that the second modulated signal sent by the PICC side has the same phase. The phase deviation produced by the second modulated signal after passing through the equivalent link.
  • Step 103 the second electronic device 420 determines the phase deviation of the carrier signal based on the equivalent link.
  • the working state of the second electronic device 420 can be obtained.
  • the working state may be used to characterize the current impedance of the equivalent resistance R in the second electronic device 420 .
  • the current impedance of the equivalent resistance R may be a value at the initial moment, for example, R0; the current impedance of the equivalent resistance R may also be a value at other moments, such as R1 or R2, etc.
  • the phase deviation of the carrier signal can be calculated.
  • the phase deviation generated on the PICC side after a carrier signal passes through the equivalent link, that is, the phase deviation of the carrier signal is the phase between the first carrier signal sent by the PCD side and the first carrier signal received by the PICC side difference. Therefore, phase compensation can be performed on the second carrier signal based on the phase deviation of the carrier signal, so as to eliminate the phase deviation of the second carrier signal during the communication process.
  • the current impedance of the equivalent resistance R in the second electronic device 420 is another value, exemplarily, the value may be R1, R2 or R3, etc., then the above R1, R2 or R3 can be substituted into the above formula (6), thus The phase deviation of the carrier signal of the second electronic device 420 when the impedance of the equivalent resistance R is R1, R2 or R3 can be calculated.
  • Step 104 the first electronic device 410 sends the first modulated signal to the second electronic device 420 .
  • the first electronic device 410 may also send the first modulated signal to the second electronic device 420 .
  • the first modulated signal sent by the first electronic device 410 includes the first carrier signal sent by the first electronic device 410 and the first modulated signal sent by the first electronic device 410.
  • the first electronic device 410 can The sent first modulated signal is modulated on the first carrier signal sent by the first electronic device 410 , thereby obtaining the first modulated signal sent by the first electronic device 410 .
  • Step 105 the second electronic device 420 receives the first modulated signal sent by the first electronic device 410, and determines the phase difference between the first carrier signal and the first modulated signal based on the received first modulated signal.
  • the second electronic device 420 can separate the first modulated signal received by the second electronic device 420, thereby obtaining the second modulated signal.
  • the first carrier signal and the first modulated signal in the first modulated signal received by the electronic device 420 may be implemented by a mixer or by other devices, which is not limited in this embodiment of the present application.
  • the second electronic device 420 may determine the frame start point (Start of Frame, SOF) of the first modulated signal received by the second electronic device 420 through the threshold decider. It is understood that the above threshold decider is only exemplary The method for determining the frame start point is shown, which does not constitute a limitation to the embodiments of the present application. In some embodiments, the frame start point may also be determined by other methods.
  • SOF Start of Frame
  • the second electronic device 420 can also detect the 0-phase moment of the first carrier signal received by the above-mentioned second electronic device 420 through the local clock, thereby obtaining the 0-phase moment. It can be understood that the second electronic device 420 can also detect the 0-phase moment of the first carrier signal received by the second electronic device 420 after multiplying the sampling frequency of the local clock. For the detection method of the above-mentioned 0-phase moment, reference may be made to step 102, which will not be repeated here.
  • the frame start point of the first modulated signal received by the second electronic device 420 can be The frame start point of the first modulated signal and the 0-phase moment of the first carrier signal received by the second electronic device 420 are calculated to obtain the first modulated signal received by the second electronic device 420 and the first modulated signal received by the second electronic device 420.
  • the phase difference between a carrier signal is a carrier signal.
  • the first electronic device 410 can be calculated The phase difference between the received second modulated signal and the second carrier signal received by the first electronic device 410, so that the phase compensation can be performed on the second modulated signal sent by the second electronic device 420 based on the phase difference, to The phase difference generated during the transmission process between the second modulated signal sent by the second electronic device 420 and the second carrier signal sent by the second electronic device 420 is eliminated.
  • FIG. 9 is a schematic diagram of phase difference calculation.
  • waveform 900 is the waveform of the first carrier signal received by the second electronic device 420
  • waveform 910 is the waveform of the first modulation signal received by the second electronic device 420
  • waveform 920 is the frequency multiplication of the local clock waveform
  • waveform 930 is the waveform of the threshold decider.
  • the 0-phase time Q1 of the waveform 900 can be detected by the waveform 920
  • the frame start point Q2 in the waveform 910 can be detected by the waveform 930 .
  • the phase difference between the first modulated signal received by the second electronic device 420 and the first carrier signal received by the second electronic device 420 can be determined.
  • the value of Q1-Q2 can be calculated through mathematics.
  • the phase difference between the first modulated signal received by the second electronic device 420 and the first carrier signal received by the second electronic device 420 is obtained by conversion.
  • Step 106 the second electronic device 420 performs phase compensation on the second modulated signal based on the phase difference between the carrier signal and the modulated signal, and performs phase compensation on the second modulated signal based on the phase deviation of the carrier signal.
  • the second electronic device 420 can determine the data to be sent by the second electronic device 420 based on the phase difference between the carrier signal and the modulated signal.
  • the second modulated signal is phase compensated.
  • the phase compensation of the second modulated signal to be sent by the second electronic device 420 may be to adjust the second modulated signal to be sent by the second electronic device 420 based on the phase difference between the carrier signal and the modulated signal phase, modulate the phase-adjusted second modulated signal on the second carrier signal to be sent by the second electronic device 420 , thereby obtaining the second modulated signal to be sent by the second electronic device 420 .
  • the second carrier signal to be sent by the second electronic device 420 may be a carrier signal of the same frequency and phase as the first carrier signal received by the second electronic device 420, that is, the second electronic device 420 to be
  • the sent second carrier signal has the same frequency and phase as the first carrier signal received by the second electronic device 420, and the second carrier signal to be sent by the second electronic device 420 is the same as the first carrier signal sent by the first electronic device 410.
  • a carrier signal has the same frequency but different phases.
  • the waveform 1000 is the waveform of the second carrier signal to be sent by the second electronic device 420
  • the waveform 1010 is the waveform of the second modulation signal to be sent by the second electronic device 420 . Since the phase difference between the first carrier signal received by the second electronic device 420 and the first modulated signal received by the second electronic device 420 is ⁇ , the first carrier signal received by the second electronic device 420 and the The phase difference ⁇ of the first modulated signal received by the second electronic device 420 performs phase compensation on the second modulated signal (eg, waveform 1010 ) to be sent by the second electronic device 420 .
  • the second modulated signal eg, waveform 1010
  • the phase of the waveform 1000 may be used as a reference, and the waveform 1010 may be advanced by ⁇ phase based on the waveform 1000, thereby obtaining the waveform 1020, which is the phase-compensated second electronic device 420 to be sent. the second modulated signal.
  • the second electronic device 410 can There is no longer a phase difference between the second modulated signal sent by the device 420 and the second carrier signal sent by the second electronic device 420, so that the second modulated signal sent by the second electronic device 420 and the second modulated signal sent by the second electronic device 420 can be eliminated. Influenced by the phase difference between the second carrier signals, the first electronic device 410 can smoothly demodulate the second modulated signal sent by the second electronic device 420.
  • the second electronic device 420 may modulate the second modulation signal to be sent by the second electronic device 420 on the second carrier signal to be sent by the second electronic device 420 ; for example, the waveform 1020 may be modulated on the waveform 1000 , so that the second modulated signal to be sent by the second electronic device 420 can be obtained, and phase compensation can be performed on the second modulated signal to be sent by the second electronic device 420 based on the phase deviation of the carrier signal.
  • the phase of the second modulated signal to be sent by the second electronic device 420 can be adjusted based on the phase deviation of the carrier signal, thereby eliminating the phase deviation brought by the above link to the second carrier signal.
  • waveform 1100 is the waveform of the first carrier signal sent by the first electronic device 410
  • waveform 1110 is the waveform of the first carrier signal received by the second electronic device 420
  • waveform 1120 is the waveform of the first carrier signal received by the second electronic device 420 .
  • the phase deviation of the first carrier signal sent by the first electronic device 410 and the first carrier signal received by the second electronic device 420 is ⁇
  • the second modulated signal sent by the second electronic device 420 is transmitted by the second electronic device 420
  • the received first carrier signal is obtained by modulation, that is, the phase of the second modulated signal to be sent by the second electronic device 420 is the same as the phase of the first carrier signal received by the second electronic device. Therefore, the second modulated signal (for example, waveform 1120 ) to be sent by the second electronic device 420 can be advanced by 2* ⁇ phase based on the second carrier signal to be sent by the second electronic device 420 , at this time, it can be obtained Phase compensated second modulated signal (eg, waveform 1130).
  • the phase deviation of the second modulated signal sent by the second electronic device 420 has been compensated, that is to say , the phase of the second carrier signal in the second modulated signal received by the first electronic device 410 is consistent with the phase of the first carrier signal sent by the first electronic device 410 , so that the first electronic device 410 can demodulate correctly.
  • the compensated phase deviation may include the phase deviation ⁇ caused when the first electronic device 410 sends the first carrier signal to the second electronic device 420 , and the second electronic device 420 sends the second modulated signal to the first electronic device 410 Therefore, the phase compensation amount of the second modulated signal to be sent by the second electronic device 420 is 2* ⁇ .
  • Step 107 the second electronic device 420 sends the phase-compensated second modulated signal to the first electronic device 410 .
  • the phase deviation brought by the link to the carrier signal is obtained, and the phase deviation of the carrier signal is performed based on the phase deviation. Therefore, the influence of the phase deviation on the signal demodulation at the receiving end can be eliminated, and the communication quality can be improved.
  • FIG. 12 is a schematic structural diagram of an embodiment of the signal transmission apparatus of the present application.
  • the above-mentioned signal transmission apparatus 1200 is applied to a second electronic device.
  • the second electronic device includes a second transceiver link for sending and receiving signals.
  • the impedance of the second transceiver link is adjustable, and may include: an adjustment module 1210, a reception module 1220, a first determination module 1230, a calculation module 1240, a first compensation module 1250, and a transmission module 1260; wherein,
  • an adjustment module 1210 configured to adjust the impedance of the second transceiver link at multiple different times, so that the second transceiver link has different impedances at multiple different times;
  • the receiving module 1220 is configured to respectively receive multiple first carrier signals sent by the first electronic device when the second transceiving link has multiple different impedances, and obtain multiple first carrier signals received by the second electronic device;
  • the first determination module 1230 is configured to determine the mapping relationship between the phase deviation and the impedance based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device; wherein the phase deviation is used to characterize the transmission of the first electronic device The phase difference value between the first carrier signal and the first carrier signal received by the second electronic device;
  • a calculation module 1240 configured to obtain the current impedance of the second transceiver link, and determine the current phase deviation based on the current impedance and the mapping relationship;
  • the first compensation module 1250 is used to obtain the second carrier signal and the second modulation signal, modulate the second modulation signal on the second carrier signal, and obtain the second modulated signal; phase compensation,
  • the sending module 1260 is configured to send the second modulated signal obtained after the phase compensation to the first electronic device.
  • the above-mentioned adjustment module 1210 is further configured to periodically adjust the impedance of the second transceiving link within a preset time period.
  • the second transceiver link includes an initial impedance
  • the adjustment module 1210 is further configured to adjust the impedance of the second transceiver link in two cycles within a preset time period, wherein the three impedances Includes initial impedance and two adjustment impedances.
  • the adjustment module 1210 is further configured to adjust the impedance of the second transceiver link in three cycles within a preset time period, wherein the three impedances include three adjustment impedances.
  • the above-mentioned apparatus 1200 further includes: a second determining module 1270; wherein,
  • the second determining module 1270 is configured to receive multiple first modulated signals sent by the first electronic device at different times respectively, and obtain multiple first modulated signals received by the second electronic device, wherein the first electronic device sends
  • the plurality of first modulated signals include the first carrier signal and the first modulated signal sent by the first electronic device, and the first modulated signal received by the second electronic device includes the first carrier signal received by the second electronic device and The first modulated signal; obtain the 0-phase moment of the first carrier signal received by the second electronic device and the frame start point moment of the first modulated signal received by the second electronic device, based on the first carrier wave received by the second electronic device
  • the 0-phase moment of the signal and the frame start point moment of the first modulated signal received by the second electronic device determine the phase difference, where the phase difference is used to characterize the first carrier signal received by the second electronic device and the second electronic device. Phase difference value between the received first modulated signals.
  • the above-mentioned apparatus 1200 further includes: a clock module 1280; wherein,
  • the clock module 1280 is configured to sample the first carrier signal received by the second electronic device to obtain the 0-phase moment of the first carrier signal received by the second electronic device.
  • the above clock module 1280 is further configured to perform n-multiplier on the sampling frequency, where n is a constant, and n is determined by the precision of the phase deviation; for the first carrier signal received by the second electronic device Sampling is performed to obtain the 0-phase moment of the first carrier signal received by the second electronic device.
  • the above-mentioned apparatus 1200 further includes: a second compensation module 1290; wherein,
  • the second compensation module 1290 is configured to perform phase compensation on the second modulated signal based on the phase difference.
  • the above-mentioned first compensation module 1250 is further configured to advance the phase of the second modulated signal by twice the phase deviation.
  • the first electronic device includes a first transceiving link for transceiving signals, the first transceiving link and the second transceiving link form an equivalent link for signal transmission, and the first determining module above 1230 is further configured to determine the coefficients of the equivalent link based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device, and the mapping relationship is represented by a formula including the coefficients.
  • the frequency of the first carrier signal and the second carrier signal are the same.
  • each module of the signal transmission apparatus shown in FIG. 12 above is only a division of logical functions, and may be fully or partially integrated into a physical entity in actual implementation, or may be physically separated.
  • these modules can all be implemented in the form of software calling through processing elements; they can also all be implemented in hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in hardware.
  • the detection module may be a separately established processing element, or may be integrated in a certain chip of the electronic device.
  • the implementation of other modules is similar.
  • all or part of these modules can be integrated together, and can also be implemented independently.
  • each step of the above-mentioned method or each of the above-mentioned modules can be completed by an integrated logic circuit of hardware in the processor element or an instruction in the form of software.
  • the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more specific integrated circuits (Application Specific Integrated Circuit; hereinafter referred to as: ASIC), or, one or more microprocessors Digital Signal Processor (hereinafter referred to as: DSP), or, one or more Field Programmable Gate Array (Field Programmable Gate Array; hereinafter referred to as: FPGA), etc.
  • ASIC Application Specific Integrated Circuit
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • these modules can be integrated together and implemented in the form of a system-on-a-chip (System-On-a-Chip; hereinafter referred to as: SOC).
  • FIG. 13 is a schematic structural diagram of the electronic device 100 .
  • the electronic device 100 may be the second electronic device 420 described above, and the electronic device 100 may be used to execute the functions/steps in the methods provided by the embodiments shown in FIG. 1 to FIG. 11 of the present application.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, a display screen 194, and a subscriber identification module (subscriber). identification module, SIM) card interface 195, etc.
  • a processor 110 an external memory interface 120, an internal memory 121, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, a display screen 194, and a subscriber identification module (subscriber). identification module, SIM) card interface 195, etc.
  • SIM subscriber identification module
  • the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • baseband processor baseband processor
  • neural-network processing unit neural-network processing unit
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Both antenna 1 and antenna 2 can be used to transmit and receive electromagnetic wave signals.
  • Each antenna in terminal 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed into the diversity antenna of the wireless local area network.
  • each communication mode can also be equipped with a separate antenna.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
  • the modem processor may be a stand-alone device.
  • the modulation and demodulation processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR).
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared technology
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110, perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
  • the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technology, etc.
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • Display screen 194 is used to display images, videos, and the like.
  • Display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light).
  • LED diode AMOLED
  • flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.
  • the storage data area may store data (such as audio data, phone book, etc.) created during the use of the electronic device 100 and the like.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • the SIM card interface 195 is used for connecting a SIM card.
  • the SIM card can be contacted and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 .
  • the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications.
  • the electronic device 100 employs an eSIM, ie: an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
  • the involved processors may include, for example, a CPU, a DSP, a microcontroller or a digital signal processor, and may also include a GPU, an embedded neural-network process unit (Neural-network Process Units; hereinafter referred to as: NPU) and Image signal processor (Image Signal Processing; hereinafter referred to as: ISP), the processor may also include necessary hardware accelerators or logic processing hardware circuits, such as ASIC, or one or more integrated circuits for controlling the execution of the program of the technical solution of the present application circuit, etc. Furthermore, the processor may have the function of operating one or more software programs, which may be stored in a storage medium.
  • Embodiments of the present application provide a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer instructions cause the computer to execute The signal transmission method provided by the embodiments shown in FIG. 1 to FIG. 11 of this specification.
  • the above-described non-transitory computer-readable storage media may employ any combination of one or more computer-readable media.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above.
  • a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • Computer program code for carrying out the operations of this specification may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, but also conventional Procedural programming language - such as the "C" language or similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or Wide Area Network (WAN), or it can Connect to an external computer (eg via the Internet using an Internet Service Provider).
  • LAN Local Area Network
  • WAN Wide Area Network
  • Internet Service Provider e.g via the Internet using an Internet Service Provider
  • first and second are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature delimited with “first”, “second” may expressly or implicitly include at least one of that feature.
  • plurality means at least two, such as two, three, etc., unless otherwise expressly and specifically defined.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined. Either it can be integrated into another system, or some features can be omitted, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • each functional unit in each embodiment of this specification may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
  • the above-mentioned integrated units implemented in the form of software functional units can be stored in a computer-readable storage medium.
  • the above-mentioned software functional unit is stored in a storage medium, and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (Processor) to execute the methods described in the various embodiments of this specification. some steps.
  • the aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (Read-Only Memory; hereinafter referred to as: ROM), Random Access Memory (Random Access Memory; hereinafter referred to as: RAM), magnetic disk or optical disk and other various A medium on which program code can be stored.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Digital Transmission Methods That Use Modulated Carrier Waves (AREA)

Abstract

The embodiments of the present application relate to the technical field of communications. Provided are a signal transmission method, an electronic device, and a storage medium. The method comprises: adjusting an impedance of a second transceiving link at multiple different moments; when the second transceiving link has multiple different impedances, receiving multiple first carrier signals sent by a first electronic device; on the basis of the multiple first carrier signals received by a second electronic device and the multiple impedances, determining a mapping relationship between phase deviations and impedances; determining the current phase deviation on the basis of the current impedance of the second transceiving link and the mapping relationship; and performing phase compensation on a second modulated signal on the basis of the current phase deviation, and sending to the first electronic device the second modulated signal obtained after the phase compensation. According to the method provided by the embodiments of the present application, the phase of a sent signal is compensated for at an NFC terminal, so that a phase deviation between a card reader signal and an NFC terminal signal can be eliminated, thereby improving the signal demodulation efficiency of a card reader.

Description

信号传输方法、电子设备及存储介质Signal transmission method, electronic device and storage medium 技术领域technical field
本申请实施例涉及通信技术领域,尤其涉及一种信号传输方法、电子设备及存储介质。The embodiments of the present application relate to the field of communication technologies, and in particular, to a signal transmission method, an electronic device, and a storage medium.
背景技术Background technique
随着短距通信技术的快速发展,例如,近场通信(Near Field Communication,NFC)及射频识别技术(Radio Frequency Identification)等,读写设备的种类越来越多。以NFC为例,包括各种邻近耦合设备(Proximity Coupling Device,PCD,俗称读写器)及对应的邻近卡(Proximity Integrated Circuit Card,PICC)等相关的电子设备。With the rapid development of short-range communication technologies, such as Near Field Communication (NFC) and Radio Frequency Identification (Radio Frequency Identification), there are more and more types of reading and writing devices. Taking NFC as an example, it includes various related electronic devices such as Proximity Coupling Device (PCD, commonly known as reader) and corresponding Proximity Integrated Circuit Card (PICC).
由于PCD在与PICC进行通信时,PCD的发送信号与PICC的接收信号之间会产生相位偏差,且不同频率的信号相位偏差也不同,由此会给PCD与PICC之间的通信带来不利影响,甚至会导致PCD与PICC之间无法通信。因此,亟需一种方法来消除PCD与PICC之间的相位偏差。When the PCD communicates with the PICC, there will be a phase deviation between the transmitted signal of the PCD and the received signal of the PICC, and the phase deviation of the signal at different frequencies is also different, which will adversely affect the communication between the PCD and the PICC. , and even cause the communication between PCD and PICC to fail. Therefore, a method to eliminate the phase deviation between PCD and PICC is urgently needed.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种信号传输方法、电子设备及存储介质,以提供一种信号传输的方式。Embodiments of the present application provide a signal transmission method, an electronic device, and a storage medium, so as to provide a signal transmission method.
第一方面,本申请实施例提供了一种信号传输方法,应用于第二电子设备,该第二电子设备包括用于收发信号的第二收发链路,该第二收发链路的阻抗可调,包括:In a first aspect, an embodiment of the present application provides a signal transmission method, which is applied to a second electronic device, where the second electronic device includes a second transceiver link for transmitting and receiving signals, and the impedance of the second transceiver link is adjustable ,include:
在多个不同时刻分别调整第二收发链路的阻抗,以使第二收发链路在多个不同时刻对应具有不同的多个阻抗。The impedance of the second transceiving link is adjusted respectively at multiple different times, so that the second transceiving link correspondingly has multiple different impedances at multiple different times.
在第二收发链路具有不同的多个阻抗之时分别接收第一电子设备发送的多个第一载波信号,得到第二电子设备接收到的多个第一载波信号。When the second transceiver link has multiple different impedances, the multiple first carrier signals sent by the first electronic device are respectively received, and the multiple first carrier signals received by the second electronic device are obtained.
基于第二电子设备接收到的多个第一载波信号及多个阻抗,确定相位偏差与阻抗之间的映射关系;其中,相位偏差用于表征第一电子设备发送的第一载波信号与第二电子设备接收到的第一载波信号之间的相位差值。Based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device, the mapping relationship between the phase deviation and the impedance is determined; wherein the phase deviation is used to characterize the first carrier signal sent by the first electronic device and the second Phase difference between the first carrier signals received by the electronic device.
获取第二收发链路的当前阻抗,基于当前阻抗及映射关系确定当前相位偏差。The current impedance of the second transceiver link is acquired, and the current phase deviation is determined based on the current impedance and the mapping relationship.
获取第二载波信号及第二调制信号,将第二调制信号调制在第二载波信号上,得到第二已调信号;基于当前相位偏差对第二已调信号进行相位补偿,并将相位补偿后得到的第二已调信号发送给第一电子设备。Obtain the second carrier signal and the second modulation signal, modulate the second modulation signal on the second carrier signal, and obtain the second modulated signal; perform phase compensation on the second modulated signal based on the current phase deviation, and perform phase compensation on the second modulated signal. The obtained second modulated signal is sent to the first electronic device.
本申请实施例中,通过计算PCD侧发送的载波信号与PICC侧接收到的载波信号之间的相位偏差,基于该相位偏差对PICC侧待发送的载波信号进行相位补偿,由此 可以消除PICC侧发送的载波信号在PCD侧引起的相位偏差,进而可以提高通信质量。In the embodiment of the present application, by calculating the phase deviation between the carrier signal sent by the PCD side and the carrier signal received by the PICC side, phase compensation is performed on the carrier signal to be sent by the PICC side based on the phase deviation, so that the PICC side can be eliminated. The phase deviation caused by the transmitted carrier signal on the PCD side can further improve the communication quality.
其中一种可能的实现方式中,在多个不同时刻分别调整第二收发链路的阻抗包括:In one possible implementation manner, respectively adjusting the impedance of the second transceiver link at multiple different times includes:
在预设时间段内周期性调整第二收发链路的阻抗。Periodically adjust the impedance of the second transceiving link within a preset time period.
本申请实施例中,通过周期性调整阻抗,可以提高阻抗调整的便利性。In the embodiment of the present application, by periodically adjusting the impedance, the convenience of impedance adjustment can be improved.
为了提高调整阻抗的效率,其中一种可能的实现方式中,第二收发链路包括初始阻抗,在预设时间段内周期性调整第二收发链路的阻抗包括:In order to improve the efficiency of adjusting the impedance, in one possible implementation manner, the second transceiving link includes an initial impedance, and periodically adjusting the impedance of the second transceiving link within a preset time period includes:
在预设时间段内的两个周期分别调整第二收发链路的阻抗,其中,三个阻抗包括初始阻抗及两个调整阻抗。The impedance of the second transceiving link is adjusted respectively in two cycles within the preset time period, wherein the three impedances include the initial impedance and the two adjusted impedances.
为了提高调整阻抗的灵活性,其中一种可能的实现方式中,在预设时间段内周期性调整第二收发链路的阻抗包括:In order to improve the flexibility of adjusting the impedance, in one possible implementation manner, periodically adjusting the impedance of the second transceiver link within a preset time period includes:
在预设时间段内的三个周期分别调整第二收发链路的阻抗,其中,三个阻抗包括三个调整阻抗。The impedances of the second transceiver link are respectively adjusted in three cycles within the preset time period, wherein the three impedances include three adjusted impedances.
其中一种可能的实现方式中,还包括:One of the possible implementations also includes:
分别在不同时刻接收第一电子设备发送的多个第一已调信号,得到第二电子设备接收到的多个第一已调信号,其中,第一电子设备发送的多个第一已调信号包括第一电子设备发送的第一载波信号及第一调制信号,第二电子设备接收到的第一已调信号包括第二电子设备接收到的第一载波信号及第一调制信号;Respectively receive multiple first modulated signals sent by the first electronic device at different times to obtain multiple first modulated signals received by the second electronic device, wherein the multiple first modulated signals sent by the first electronic device It includes the first carrier signal and the first modulation signal sent by the first electronic device, and the first modulated signal received by the second electronic device includes the first carrier signal and the first modulation signal received by the second electronic device;
获取第二电子设备接收到的第一载波信号的0相位时刻及第二电子设备接收到的第一调制信号的帧起始点时刻,基于第二电子设备接收到的第一载波信号的0相位时刻及第二电子设备接收到的第一调制信号的帧起始点时刻,确定相位差,其中,相位差用于表征第二电子设备接收到的第一载波信号与第二电子设备接收到的第一调制信号之间的相位差值。Obtain the 0-phase moment of the first carrier signal received by the second electronic device and the frame start point moment of the first modulated signal received by the second electronic device, based on the 0-phase moment of the first carrier signal received by the second electronic device and the frame start point moment of the first modulated signal received by the second electronic device to determine the phase difference, wherein the phase difference is used to characterize the first carrier signal received by the second electronic device and the first carrier signal received by the second electronic device. Phase difference value between modulated signals.
本申请实施例中,通过接收PCD端发送的已调信号,由此可以有效获得调制信号与载波信号之间的相位差。In the embodiment of the present application, by receiving the modulated signal sent by the PCD terminal, the phase difference between the modulated signal and the carrier signal can be effectively obtained.
为了有效获取第一载波信号的0相位时刻,其中一种可能的实现方式中,第二电子设备包括时钟模块,第二电子设备接收到的第一载波信号的0相位时刻由时钟模块进行采样后获得。In order to effectively obtain the 0-phase moment of the first carrier signal, in one possible implementation manner, the second electronic device includes a clock module, and the 0-phase moment of the first carrier signal received by the second electronic device is sampled by the clock module. get.
为了提高采样效率,其中一种可能的实现方式中,时钟模块进行采样包括:In order to improve the sampling efficiency, in one possible implementation manner, the sampling performed by the clock module includes:
对时钟模块的采样频率进行n倍频,其中,n为常数,n由相位偏差的精度确定;Multiply the sampling frequency of the clock module by n, where n is a constant, and n is determined by the precision of the phase deviation;
基于对采样频率进行n倍频后得到的时钟模块,对第二电子设备接收到的第一载波信号进行采样,以获得第二电子设备接收到的第一载波信号的0相位时刻。Based on the clock module obtained by multiplying the sampling frequency by n, the first carrier signal received by the second electronic device is sampled to obtain the 0-phase moment of the first carrier signal received by the second electronic device.
其中一种可能的实现方式中,基于相位偏差对第二已调信号进行相位补偿之前,还包括:In one possible implementation manner, before performing phase compensation on the second modulated signal based on the phase deviation, the method further includes:
基于相位差对第二调制信号进行相位补偿。Phase compensation is performed on the second modulated signal based on the phase difference.
本申请实施例中,通过对PICC侧发送的第二调制信号进行相位补偿,可以有效降低在PCD侧接收到的第二调制信号的相位偏差带来的影响,进而可以进一步提高通信质量。In the embodiment of the present application, by performing phase compensation on the second modulated signal sent by the PICC side, the influence caused by the phase deviation of the second modulated signal received on the PCD side can be effectively reduced, thereby further improving communication quality.
其中一种可能的实现方式中,基于相位偏差对第二已调信号进行相位补偿包括:In one possible implementation manner, performing phase compensation on the second modulated signal based on the phase deviation includes:
将第二已调信号的相位提前两倍的相位偏差。Advance the phase of the second modulated signal by twice the phase offset.
本申请实施例中,由于链路的对称性,PCD与PICC之间,以及PICC与PCD之间的相位偏差是相同的,因此,对第二已调信号补偿两倍的相位偏差,可以有效降低相位偏差给已调信号带来的影响,进而可以提高通信质量。In the embodiment of the present application, due to the symmetry of the link, the phase deviations between the PCD and the PICC and between the PICC and the PCD are the same. Therefore, compensating twice the phase deviation for the second modulated signal can effectively reduce the The influence of the phase deviation on the modulated signal, which in turn can improve the communication quality.
为了简化映射关系的形式,其中一种可能的实现方式中,第一电子设备包括用于收发信号的第一收发链路,第一收发链路和第二收发链路组成信号传输的等效链路,基于第二电子设备接收到的多个第一载波信号及多个阻抗,确定相位偏差与阻抗之间的映射关系具体包括:In order to simplify the form of the mapping relationship, in one possible implementation manner, the first electronic device includes a first transceiving link for transceiving signals, and the first transceiving link and the second transceiving link form an equivalent chain for signal transmission Road, based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device, determining the mapping relationship between the phase deviation and the impedance specifically includes:
基于第二电子设备接收到的多个第一载波信号及多个阻抗,确定等效链路的系数,映射关系通过包含系数的公式表征。The coefficients of the equivalent link are determined based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device, and the mapping relationship is represented by a formula including the coefficients.
为了提高通信效率,其中一种可能的实现方式中,第一载波信号与第二载波信号频率相同。In order to improve communication efficiency, in one possible implementation manner, the frequency of the first carrier signal and the second carrier signal are the same.
第二方面,本申请实施例提供一种信号传输装置,应用于第二电子设备,第二电子设备包括用于收发信号的第二收发链路,第二收发链路的阻抗可调,包括:In a second aspect, an embodiment of the present application provides a signal transmission apparatus, which is applied to a second electronic device. The second electronic device includes a second transceiver link for transmitting and receiving signals, and the impedance of the second transceiver link is adjustable, including:
调整模块,用于在多个不同时刻分别调整第二收发链路的阻抗,以使第二收发链路在多个不同时刻对应具有不同的多个阻抗;an adjustment module, configured to adjust the impedance of the second transceiver link at multiple different times, so that the second transceiver link has different multiple impedances at multiple different times;
接收模块,用于在第二收发链路具有不同的多个阻抗之时分别接收第一电子设备发送的多个第一载波信号,得到第二电子设备接收到的多个第一载波信号;a receiving module, configured to respectively receive a plurality of first carrier signals sent by the first electronic device when the second transceiver link has a plurality of different impedances, and obtain a plurality of first carrier signals received by the second electronic device;
第一确定模块,用于基于第二电子设备接收到的多个第一载波信号及多个阻抗,确定相位偏差与阻抗之间的映射关系;其中,相位偏差用于表征第一电子设备发送的第一载波信号与第二电子设备接收到的第一载波信号之间的相位差值;The first determination module is configured to determine the mapping relationship between the phase deviation and the impedance based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device; wherein the phase deviation is used to characterize the signal sent by the first electronic device. a phase difference value between the first carrier signal and the first carrier signal received by the second electronic device;
计算模块,用于获取第二收发链路的当前阻抗,基于当前阻抗及映射关系确定当前相位偏差;a calculation module, configured to obtain the current impedance of the second transceiver link, and determine the current phase deviation based on the current impedance and the mapping relationship;
第一补偿模块,用于获取第二载波信号及第二调制信号,将第二调制信号调制在第二载波信号上,得到第二已调信号;基于当前相位偏差对第二已调信号进行相位补偿,The first compensation module is used to obtain the second carrier signal and the second modulation signal, modulate the second modulation signal on the second carrier signal, and obtain the second modulated signal; based on the current phase deviation, the second modulated signal is phased compensate,
发送模块,用于将相位补偿后得到的第二已调信号发送给第一电子设备。The sending module is used for sending the second modulated signal obtained after the phase compensation to the first electronic device.
其中一种可能的实现方式中,上述调整模块还用于在预设时间段内周期性调整第二收发链路的阻抗。In one possible implementation manner, the above adjustment module is further configured to periodically adjust the impedance of the second transceiving link within a preset time period.
其中一种可能的实现方式中,第二收发链路包括初始阻抗,上述调整模块还用于在预设时间段内的两个周期分别调整第二收发链路的阻抗,其中,三个阻抗包括初始阻抗及两个调整阻抗。In one possible implementation manner, the second transceiver link includes an initial impedance, and the adjustment module is further configured to adjust the impedance of the second transceiver link in two cycles within a preset time period, wherein the three impedances include Initial impedance and two adjusted impedances.
其中一种可能的实现方式中,上述调整模块还用于在预设时间段内的三个周期分别调整第二收发链路的阻抗,其中,三个阻抗包括三个调整阻抗。In one possible implementation manner, the adjustment module is further configured to adjust the impedance of the second transceiver link in three cycles within a preset time period, wherein the three impedances include three adjustment impedances.
其中一种可能的实现方式中,上述装置还包括:In one possible implementation manner, the above-mentioned device further includes:
第二确定模块,用于分别在不同时刻接收第一电子设备发送的多个第一已调信号,得到第二电子设备接收到的多个第一已调信号,其中,第一电子设备发送的多个第一已调信号包括第一电子设备发送的第一载波信号及第一调制信号,第二电子设备接收到的第一已调信号包括第二电子设备接收到的第一载波信号及第一调制信号;获取第 二电子设备接收到的第一载波信号的0相位时刻及第二电子设备接收到的第一调制信号的帧起始点时刻,基于第二电子设备接收到的第一载波信号的0相位时刻及第二电子设备接收到的第一调制信号的帧起始点时刻,确定相位差,其中,相位差用于表征第二电子设备接收到的第一载波信号与第二电子设备接收到的第一调制信号之间的相位差值。The second determining module is configured to respectively receive multiple first modulated signals sent by the first electronic device at different times, and obtain multiple first modulated signals received by the second electronic device, wherein the first modulated signals sent by the first electronic device are The plurality of first modulated signals include the first carrier signal and the first modulated signal sent by the first electronic device, and the first modulated signal received by the second electronic device includes the first carrier signal and the first modulated signal received by the second electronic device. A modulated signal; obtain the 0-phase moment of the first carrier signal received by the second electronic device and the frame start point moment of the first modulated signal received by the second electronic device, based on the first carrier signal received by the second electronic device The 0 phase moment of the second electronic device and the frame start point moment of the first modulated signal received by the second electronic device determine the phase difference, wherein the phase difference is used to characterize the first carrier signal received by the second electronic device and the second electronic device. The phase difference between the received first modulated signals.
其中一种可能的实现方式中,上述装置还包括:In one possible implementation manner, the above-mentioned device further includes:
时钟模块,用于对第二电子设备接收到的第一载波信号进行采样,以获得第二电子设备接收到的第一载波信号的0相位时刻。The clock module is configured to sample the first carrier signal received by the second electronic device to obtain the 0-phase moment of the first carrier signal received by the second electronic device.
其中一种可能的实现方式中,上述时钟模块还用于对采样频率进行n倍频,其中,n为常数,n由相位偏差的精度确定;对第二电子设备接收到的第一载波信号进行采样,以获得第二电子设备接收到的第一载波信号的0相位时刻。In one of the possible implementations, the above clock module is also used to perform n-multiplier on the sampling frequency, where n is a constant, and n is determined by the precision of the phase deviation; sampling to obtain the 0-phase moment of the first carrier signal received by the second electronic device.
其中一种可能的实现方式中,上述装置还包括:In one possible implementation manner, the above-mentioned device further includes:
第二补偿模块,用于基于相位差对第二调制信号进行相位补偿。The second compensation module is configured to perform phase compensation on the second modulated signal based on the phase difference.
其中一种可能的实现方式中,上述第一补偿模块还用于将第二已调信号的相位提前两倍的相位偏差。In one possible implementation manner, the above-mentioned first compensation module is further configured to advance the phase of the second modulated signal by twice the phase deviation.
其中一种可能的实现方式中,第一电子设备包括用于收发信号的第一收发链路,第一收发链路和第二收发链路组成信号传输的等效链路,上述第一确定模块还用于基于第二电子设备接收到的多个第一载波信号及多个阻抗,确定等效链路的系数,映射关系通过包含系数的公式表征。In one possible implementation manner, the first electronic device includes a first transceiving link for transceiving signals, the first transceiving link and the second transceiving link form an equivalent link for signal transmission, and the first determining module above It is also used to determine the coefficients of the equivalent link based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device, and the mapping relationship is represented by a formula including the coefficients.
其中一种可能的实现方式中,第一载波信号与第二载波信号频率相同。In one possible implementation manner, the frequency of the first carrier signal and the second carrier signal are the same.
第三方面,本申请实施例提供一种第二电子设备,第二电子设备包括用于收发信号的第二收发链路,第二收发链路的阻抗可调,包括:In a third aspect, an embodiment of the present application provides a second electronic device, where the second electronic device includes a second transceiver link for transmitting and receiving signals, and the impedance of the second transceiver link is adjustable, including:
存储器,上述存储器用于存储计算机程序代码,上述计算机程序代码包括指令,当上述第二电子设备从上述存储器中读取上述指令,以使得上述第二电子设备执行以下步骤:Memory, the memory is used to store computer program code, and the computer program code includes instructions, when the second electronic device reads the instructions from the memory, so that the second electronic device performs the following steps:
在多个不同时刻分别调整第二收发链路的阻抗,以使第二收发链路在多个不同时刻对应具有不同的多个阻抗;Adjust the impedance of the second transceiver link respectively at multiple different times, so that the second transceiver link has different multiple impedances correspondingly at multiple different times;
在第二收发链路具有不同的多个阻抗之时分别接收第一电子设备发送的多个第一载波信号,得到第二电子设备接收到的多个第一载波信号;Respectively receive multiple first carrier signals sent by the first electronic device when the second transceiver link has multiple different impedances, to obtain multiple first carrier signals received by the second electronic device;
基于第二电子设备接收到的多个第一载波信号及多个阻抗,确定相位偏差与阻抗之间的映射关系;其中,相位偏差用于表征第一电子设备发送的第一载波信号与第二电子设备接收到的第一载波信号之间的相位差值;Based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device, the mapping relationship between the phase deviation and the impedance is determined; wherein the phase deviation is used to characterize the first carrier signal sent by the first electronic device and the second the phase difference value between the first carrier signals received by the electronic device;
获取第二收发链路的当前阻抗,基于当前阻抗及映射关系确定当前相位偏差;obtaining the current impedance of the second transceiver link, and determining the current phase deviation based on the current impedance and the mapping relationship;
获取第二载波信号及第二调制信号,将第二调制信号调制在第二载波信号上,得到第二已调信号;acquiring a second carrier signal and a second modulated signal, and modulating the second modulated signal on the second carrier signal to obtain a second modulated signal;
基于当前相位偏差对第二已调信号进行相位补偿,并将相位补偿后得到的第二已调信号发送给第一电子设备。Phase compensation is performed on the second modulated signal based on the current phase deviation, and the second modulated signal obtained after the phase compensation is sent to the first electronic device.
其中一种可能的实现方式中,上述指令被上述第二电子设备执行时,使得上述第 二电子设备执行在多个不同时刻分别调整第二收发链路的阻抗的步骤包括:In one possible implementation manner, when the above-mentioned instruction is executed by the above-mentioned second electronic device, the step of causing the above-mentioned second electronic device to perform the step of adjusting the impedance of the second transceiving link respectively at multiple different times includes:
在预设时间段内周期性调整第二收发链路的阻抗。Periodically adjust the impedance of the second transceiving link within a preset time period.
其中一种可能的实现方式中,上述第二收发链路包括初始阻抗,上述指令被上述第二电子设备执行时,使得上述第二电子设备执行在预设时间段内周期性调整第二收发链路的阻抗的步骤包括:In one possible implementation manner, the second transceiving link includes an initial impedance, and when the instruction is executed by the second electronic device, the second electronic device executes and periodically adjusts the second transceiving chain within a preset period of time. The steps of circuit impedance include:
在预设时间段内的两个周期分别调整第二收发链路的阻抗,其中,三个阻抗包括初始阻抗及两个调整阻抗。The impedance of the second transceiving link is adjusted respectively in two cycles within the preset time period, wherein the three impedances include the initial impedance and the two adjusted impedances.
其中一种可能的实现方式中,上述指令被上述第二电子设备执行时,使得上述第二电子设备执行在预设时间段内周期性调整第二收发链路的阻抗的步骤包括:In one possible implementation manner, when the above-mentioned instruction is executed by the above-mentioned second electronic device, causing the above-mentioned second electronic device to perform the step of periodically adjusting the impedance of the second transceiving link within a preset time period includes:
在预设时间段内的三个周期分别调整第二收发链路的阻抗,其中,三个阻抗包括三个调整阻抗。The impedances of the second transceiver link are respectively adjusted in three cycles within the preset time period, wherein the three impedances include three adjusted impedances.
其中一种可能的实现方式中,上述指令被上述第二电子设备执行时,使得上述第二电子设备还执行以下步骤:In one possible implementation manner, when the above-mentioned instruction is executed by the above-mentioned second electronic device, the above-mentioned second electronic device further executes the following steps:
分别在不同时刻接收第一电子设备发送的多个第一已调信号,得到第二电子设备接收到的多个第一已调信号,其中,第一电子设备发送的多个第一已调信号包括第一电子设备发送的第一载波信号及第一调制信号,第二电子设备接收到的第一已调信号包括第二电子设备接收到的第一载波信号及第一调制信号;Respectively receive multiple first modulated signals sent by the first electronic device at different times to obtain multiple first modulated signals received by the second electronic device, wherein the multiple first modulated signals sent by the first electronic device It includes the first carrier signal and the first modulation signal sent by the first electronic device, and the first modulated signal received by the second electronic device includes the first carrier signal and the first modulation signal received by the second electronic device;
获取第二电子设备接收到的第一载波信号的0相位时刻及第二电子设备接收到的第一调制信号的帧起始点时刻,基于第二电子设备接收到的第一载波信号的0相位时刻及第二电子设备接收到的第一调制信号的帧起始点时刻,确定相位差,其中,相位差用于表征第二电子设备接收到的第一载波信号与第二电子设备接收到的第一调制信号之间的相位差值。Obtain the 0-phase moment of the first carrier signal received by the second electronic device and the frame start point moment of the first modulated signal received by the second electronic device, based on the 0-phase moment of the first carrier signal received by the second electronic device and the frame start point moment of the first modulated signal received by the second electronic device to determine the phase difference, wherein the phase difference is used to characterize the first carrier signal received by the second electronic device and the first carrier signal received by the second electronic device. Phase difference value between modulated signals.
其中一种可能的实现方式中,上述第二电子设备包括时钟模块,上述第二电子设备接收到的第一载波信号的0相位时刻由时钟模块进行采样后获得。In one possible implementation manner, the second electronic device includes a clock module, and the 0-phase moment of the first carrier signal received by the second electronic device is obtained after sampling by the clock module.
其中一种可能的实现方式中,上述指令被上述第二电子设备执行时,使得上述第二电子设备执行时钟模块进行采样的步骤包括:In one possible implementation manner, when the above-mentioned instruction is executed by the above-mentioned second electronic device, the step of causing the above-mentioned second electronic device to execute the clock module to perform sampling includes:
对时钟模块的采样频率进行n倍频,其中,n为常数,n由相位偏差的精度确定;Multiply the sampling frequency of the clock module by n, where n is a constant, and n is determined by the precision of the phase deviation;
基于对采样频率进行n倍频后得到的时钟模块,对第二电子设备接收到的第一载波信号进行采样,以获得第二电子设备接收到的第一载波信号的0相位时刻。Based on the clock module obtained by multiplying the sampling frequency by n, the first carrier signal received by the second electronic device is sampled to obtain the 0-phase moment of the first carrier signal received by the second electronic device.
其中一种可能的实现方式中,上述指令被上述第二电子设备执行时,使得上述第二电子设备执行基于相位偏差对第二已调信号进行相位补偿的步骤之前,还执行以下步骤:In one possible implementation manner, when the above-mentioned instruction is executed by the above-mentioned second electronic device, before the above-mentioned second electronic device performs the step of performing phase compensation on the second modulated signal based on the phase deviation, the following steps are also performed:
基于相位差对第二调制信号进行相位补偿。Phase compensation is performed on the second modulated signal based on the phase difference.
其中一种可能的实现方式中,上述指令被上述第二电子设备执行时,使得上述第二电子设备执行基于相位偏差对第二已调信号进行相位补偿的步骤包括:In one possible implementation manner, when the above-mentioned instruction is executed by the above-mentioned second electronic device, the step of causing the above-mentioned second electronic device to perform phase compensation on the second modulated signal based on the phase deviation includes:
将第二已调信号的相位提前两倍的相位偏差。Advance the phase of the second modulated signal by twice the phase offset.
其中一种可能的实现方式中,第一电子设备包括用于收发信号的第一收发链路,第一收发链路和第二收发链路组成信号传输的等效链路,上述指令被上述第二电子设备执行时,使得上述第二电子设备执行基于第二电子设备接收到的多个第一载波信号 及多个阻抗,确定相位偏差与阻抗之间的映射关系的步骤包括:In one possible implementation manner, the first electronic device includes a first transceiving link for transceiving signals, the first transceiving link and the second transceiving link form an equivalent link for signal transmission, and the above-mentioned instruction is executed by the above-mentioned first transceiving link. When the second electronic device is executed, the step of determining the mapping relationship between the phase deviation and the impedance based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device includes:
基于第二电子设备接收到的多个第一载波信号及多个阻抗,确定等效链路的系数,映射关系通过包含系数的公式表征。The coefficients of the equivalent link are determined based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device, and the mapping relationship is represented by a formula including the coefficients.
其中一种可能的实现方式中,第一载波信号与第二载波信号频率相同。In one possible implementation manner, the frequency of the first carrier signal and the second carrier signal are the same.
第四方面,本申请实施例提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行如第一方面所述的方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when it runs on a computer, causes the computer to execute the method described in the first aspect.
第五方面,本申请实施例提供一种计算机程序,当上述计算机程序被计算机执行时,用于执行第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a computer program, which is used to execute the method described in the first aspect when the computer program is executed by a computer.
在一种可能的设计中,第五方面中的程序可以全部或者部分存储在与处理器封装在一起的存储介质上,也可以部分或者全部存储在不与处理器封装在一起的存储器上。In a possible design, the program in the fifth aspect may be stored in whole or in part on a storage medium packaged with the processor, and may also be stored in part or in part in a memory not packaged with the processor.
附图说明Description of drawings
图1为本申请实施例提供的信号收发示意图;FIG. 1 is a schematic diagram of signal transceiving provided by an embodiment of the present application;
图2为本申请实施例提供的发送信号波形图;FIG. 2 is a waveform diagram of a transmission signal provided by an embodiment of the present application;
图3为本申请实施例提供的接收信号与发送信号的相位偏差示意图;3 is a schematic diagram of a phase deviation between a received signal and a transmitted signal according to an embodiment of the present application;
图4为本申请实施例提供的应用场景示意图;FIG. 4 is a schematic diagram of an application scenario provided by an embodiment of the present application;
图5为本申请实施例提供的信号传输方法的流程示意图;FIG. 5 is a schematic flowchart of a signal transmission method provided by an embodiment of the present application;
图6为本申请实施例提供的等效链路示意图;FIG. 6 is a schematic diagram of an equivalent link provided by an embodiment of the present application;
图7为本申请实施例提供的相位差示意图;FIG. 7 is a schematic diagram of a phase difference provided by an embodiment of the present application;
图8为本申请实施例提供的时钟采样频率倍频示意图;FIG. 8 is a schematic diagram of frequency multiplication of a clock sampling frequency provided by an embodiment of the present application;
图9为本申请实施例提供的调制信号与载波信号的相位差计算示意图;9 is a schematic diagram of calculating a phase difference between a modulated signal and a carrier signal according to an embodiment of the present application;
图10为本申请实施例提供的调制信号相位补偿示意图;FIG. 10 is a schematic diagram of phase compensation of a modulated signal provided by an embodiment of the present application;
图11为本申请实施例提供的载波信号相位补偿示意图;11 is a schematic diagram of a carrier signal phase compensation provided by an embodiment of the present application;
图12为本申请实施例提供的信号传输装置的结构示意图;12 is a schematic structural diagram of a signal transmission apparatus provided by an embodiment of the present application;
图13为本申请实施例提供的电子设备的结构示意图。FIG. 13 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, unless otherwise stated, “/” means or means, for example, A/B can mean A or B; “and/or” in this document is only a description of the associated object The association relationship of , indicates that there can be three kinds of relationships, for example, A and/or B, can indicate that A exists alone, A and B exist at the same time, and B exists alone.
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。Hereinafter, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may expressly or implicitly include one or more of that feature. In the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
目前,短距通信的设备越来越多。以NFC为例,上述设备可以包括PCD及PICC 等电子设备。其中,PCD与PICC通过调制信号进行通信。由于调制信号通常为低频信号,不利于传输,因此,通常会将调制信号调制在高频的载波信号上进行传输。示例性的,PCD可以通过将调制信号调制在载波信号上发送给PICC,PICC也可以将调制信号调制在载波信号上发送给PICC,由此实现PCD与PICC之间的通信。At present, there are more and more devices for short-range communication. Taking NFC as an example, the above-mentioned devices may include electronic devices such as PCD and PICC. Among them, the PCD and the PICC communicate through modulated signals. Since the modulated signal is usually a low-frequency signal, which is not conducive to transmission, the modulated signal is usually modulated on a high-frequency carrier signal for transmission. Exemplarily, the PCD can modulate the modulated signal on the carrier signal and send it to the PICC, and the PICC can also modulate the modulated signal on the carrier signal and send the modulated signal to the PICC, thereby implementing communication between the PCD and the PICC.
然而,PCD与PICC进行通信时,由于无线链路的原因,例如,链路失谐,有可能会造成PCD的发送信号与PICC的接收信号之间产生相位偏差,同样的,PICC的发送信号与PCD的接收信号之间也有可能产生相位偏差。其中,上述无线链路可以包括PCD侧的收发电路,例如PCD侧的EMC及匹配电路,以及PICC侧的收发电路,例如PICC侧的EMC及匹配电路。由于PICC侧会使用与PICC接收到的载波同频且同相位的载波,也就是说,PICC侧发送的载波信号与PICC侧接收到的由PCD发送的载波信号同频且同相位,并可以将PICC侧的调制信号调制在PICC侧发送的载波上,由此可以使得PCD侧根据上述PICC侧发送的载波信号进行解调,以实现PCD与PICC之间的顺利通信。因此,当PCD与PICC之间的载波信号产生相位偏差,并当PCD收到PICC发送的载波信号后,由于相位偏差会给接收信号的幅值带来影响(例如,减弱或者反向),由此会对PCD的解调带来不利影响,进而可能导致PCD和PICC之间无法通信。However, when the PCD communicates with the PICC, due to the reasons of the wireless link, such as link detuning, there may be a phase deviation between the transmitted signal of the PCD and the received signal of the PICC. A phase deviation may also occur between the received signals of the PCD. The above wireless link may include a transceiver circuit on the PCD side, such as an EMC and matching circuit on the PCD side, and a transceiver circuit on the PICC side, such as an EMC and matching circuit on the PICC side. Since the PICC side will use a carrier with the same frequency and phase as the carrier received by the PICC, that is to say, the carrier signal sent by the PICC side has the same frequency and phase as the carrier signal received by the PICC side and sent by the PCD, and can The modulated signal on the PICC side is modulated on the carrier wave sent by the PICC side, so that the PCD side can perform demodulation according to the carrier signal sent by the PICC side, so as to realize smooth communication between the PCD and the PICC. Therefore, when the carrier signal between the PCD and the PICC has a phase deviation, and when the PCD receives the carrier signal sent by the PICC, since the phase deviation will affect the amplitude of the received signal (for example, weaken or reverse), the This adversely affects the demodulation of the PCD, which in turn may result in a loss of communication between the PCD and the PICC.
图1为PCD与PICC之间的通信示意图。参考图1,PCD侧包含发射机11、接收机12、收发电路13及天线14。其中,发射机11可以用于生成PCD侧的载波信号(为说明方便,下文将PCD侧发送的载波信号称为“第一载波信号”)和PCD侧发送的调制信号(为说明方便,下文将PCD侧发送的调制信号称为“第一调制信号”,并可以将第一调制信号调制在第一载波信号上,由此可以得到PCD侧发送的已调信号(为说明方便,下文将PCD侧发送的已调信号称为“第一已调信号”);可以理解的是,上述第一已调信号可以是经过调制的载波信号,该第一已调信号与第一载波信号同频同相位。接收机12可以用于对PICC侧发送的已调信号(为说明方便,下文将PICC侧发送的已调信号称为“第二已调信号”)进行解调,由此可以获得PICC侧发送的调制信号(为说明方便,下文将PICC侧发送的调制信号称为“第二调制信号”);收发电路13可以用于对PCD侧发送的第一已调信号和PCD侧接收的第二已调信号进行处理,例如,电磁兼容等;天线14用于接收PICC发送的第二已调信号以及发送PCD侧的第一已调信号。FIG. 1 is a schematic diagram of the communication between the PCD and the PICC. Referring to FIG. 1 , the PCD side includes a transmitter 11 , a receiver 12 , a transceiver circuit 13 and an antenna 14 . The transmitter 11 can be used to generate a carrier signal on the PCD side (for the convenience of description, the carrier signal sent by the PCD side is hereinafter referred to as a "first carrier signal") and a modulated signal sent by the PCD side (for the convenience of description, the following will be The modulated signal sent by the PCD side is called the "first modulated signal", and the first modulated signal can be modulated on the first carrier signal, so that the modulated signal sent by the PCD side can be obtained (for the convenience of description, the PCD side The transmitted modulated signal is called "first modulated signal"); it is understood that the above-mentioned first modulated signal may be a modulated carrier signal, and the first modulated signal and the first carrier signal have the same frequency and phase The receiver 12 can be used to demodulate the modulated signal sent by the PICC side (for the convenience of description, the modulated signal sent by the PICC side is hereinafter referred to as the "second modulated signal"), so that the signal sent by the PICC side can be obtained. (For the convenience of description, the modulated signal sent by the PICC side is referred to as the "second modulation signal"); the transceiver circuit 13 can be used for the first modulated signal sent by the PCD side and the second modulated signal received by the PCD side. The modulated signal is processed, for example, electromagnetic compatibility, etc.; the antenna 14 is used for receiving the second modulated signal sent by the PICC and sending the first modulated signal on the PCD side.
PICC侧包含发射机21、接收机22、收发电路23、天线24及时钟25。其中,接收机22可以用于对PICC侧接收到的第一已调信号进行分离,由此可以获得PICC侧接收到的第一调制信号,可以理解的是,上述分离的过程可以是接收机22将上述PICC侧接收到的第一已调信号中的第一载波信号去除,保留PICC侧接收到的第一调制信号;发射机21可以用于将PICC侧发送的第二调制信号调制在PICC侧发送的第二载波信号上,其中,该PICC侧发送的第二载波信号与上述PICC侧接收到的第一载波信号同频,由此可以得到PICC侧发送的第二已调信号;可以理解的是,上述第二已调信号可以是经过调制的载波信号,该第二已调信号与PICC侧发送的第二载波信号同频同相位。收发电路23可以用于对PICC侧发送的第二已调信号和PICC侧接收到的第一已调信号进行处理,例如,电磁兼容等;天线24用于接收PCD发送的第一已调 信号以及发送第二已调信号;时钟25用于产生本地时钟。The PICC side includes a transmitter 21 , a receiver 22 , a transceiver circuit 23 , an antenna 24 and a clock 25 . The receiver 22 can be used to separate the first modulated signal received by the PICC side, thereby obtaining the first modulated signal received by the PICC side. It can be understood that the above separation process can be performed by the receiver 22 The first carrier signal in the first modulated signal received by the PICC side is removed, and the first modulated signal received by the PICC side is retained; the transmitter 21 can be used to modulate the second modulated signal sent by the PICC side on the PICC side. On the second carrier signal sent, the second carrier signal sent by the PICC side has the same frequency as the first carrier signal received by the PICC side, so that the second modulated signal sent by the PICC side can be obtained; it is understandable Yes, the second modulated signal may be a modulated carrier signal, and the second modulated signal and the second carrier signal sent by the PICC side have the same frequency and phase. The transceiver circuit 23 can be used to process the second modulated signal sent by the PICC side and the first modulated signal received by the PICC side, for example, electromagnetic compatibility, etc.; the antenna 24 is used to receive the first modulated signal sent by the PCD and A second modulated signal is sent; clock 25 is used to generate the local clock.
其中,当PCD的发射机11生成第一载波信号(例如,可以是0相位的载波信号)后,向PICC发送,经收发链路处理之后,由PICC的接收机22接收上述第一载波信号并进行解调。上述收发链路可以包括收发电路13、天线14、收发电路23及天线24。由于上述收发链路的原因,接收机22接收到的第一载波信号与发射机11生成的第一载波信号会产生相位偏差(例如,相位偏差为θ),也就是说,PICC的接收机22接收到的第一载波信号的相位为0+θ=θ。此时,PICC可以使用与上述接收到的第一载波信号同频且同相位的第二载波信号,并可以将PICC侧待发送的第二调制信号调制在该PICC侧待发送的第二载波信号上。可以理解的是,该PICC侧待发送的第二载波信号与PCD侧发送的第一载波信号的相位偏差为θ。由于NFC的设备链路通常具有对称性,也就是说,PICC向PCD发送载波信号的时候,也会产生相同的相位偏差(例如,相位偏差为θ)。例如,PICC通过发射机21将PICC侧待发送的第二已调信号发送给PCD,其中,该PICC发送的第二已调信号包括相位为θ的第二载波信号。然而,经过收发电路13、天线14、收发电路23及天线24等收发链路处理后,由于链路引发的相位偏差,PCD的接收机12接收到的第二已调信号的相位与PICC发送的第二已调信号的相位偏差也为θ。可以理解的是,PCD的接收机12接收到的第二已调信号的相位与PCD的发射机11发送的第一载波信号的相位已偏差2*θ。此外,当PCD向PICC发送第一调制信号时,也会产生上述类似的相位偏差,具体细节可以参考上述第一载波信号的相位偏差,在此不再赘述。Wherein, after the transmitter 11 of the PCD generates the first carrier signal (for example, it may be a carrier signal of 0 phase), it sends it to the PICC, and after processing by the transceiver link, the receiver 22 of the PICC receives the above-mentioned first carrier signal and transmits it to the PICC. demodulate. The above-mentioned transceiver link may include a transceiver circuit 13 , an antenna 14 , a transceiver circuit 23 and an antenna 24 . Due to the above-mentioned transceiver chain, the first carrier signal received by the receiver 22 and the first carrier signal generated by the transmitter 11 may have a phase deviation (for example, the phase deviation is θ), that is, the receiver 22 of the PICC The phase of the received first carrier signal is 0+θ=θ. At this time, the PICC can use the second carrier signal with the same frequency and phase as the first carrier signal received, and can modulate the second modulation signal to be sent by the PICC side on the second carrier signal to be sent by the PICC side superior. It can be understood that the phase deviation of the second carrier signal to be sent by the PICC side and the first carrier signal sent by the PCD side is θ. Because the device link of NFC is usually symmetrical, that is to say, when the PICC sends the carrier signal to the PCD, the same phase deviation (for example, the phase deviation is θ) will also be generated. For example, the PICC sends the second modulated signal to be sent by the PICC side to the PCD through the transmitter 21 , where the second modulated signal sent by the PICC includes a second carrier signal with a phase of θ. However, after being processed by the transceiver circuit 13, the antenna 14, the transceiver circuit 23 and the antenna 24, the phase of the second modulated signal received by the PCD receiver 12 is the same as the one sent by the PICC due to the phase deviation caused by the link. The phase deviation of the second modulated signal is also θ. It can be understood that the phase of the second modulated signal received by the receiver 12 of the PCD is offset from the phase of the first carrier signal sent by the transmitter 11 of the PCD by 2*θ. In addition, when the PCD sends the first modulated signal to the PICC, a phase deviation similar to the above will also be generated. For details, reference may be made to the phase deviation of the first carrier signal, which will not be repeated here.
图2为PCD侧发送的第一载波信号及PICC侧发送的第二调制信号的波形图。FIG. 2 is a waveform diagram of the first carrier signal sent by the PCD side and the second modulated signal sent by the PICC side.
图3为PCD侧接收到的第二已调信号的波形图。如图3所示,波形310表示相位偏差为0度的波形图,该波形图310代表PCD接收到的第二已调信号,且其与PCD侧发送的第一载波信号相位差为0,由于第二已调信号与第一载波信号之间的相位差等于第二调制信号与第一载波信号之间的相位差,也就表示第二调制信号与第一载波信号之间的相位差为0,此时表示系统为理想状态,PCD与PICC之间信号不存在相位差。类似的,波形320为相位偏差为45度的波形图,表示PCD接收到的第二已调信号与PCD侧发送的第一载波信号相位差为45度;波形330为相位偏差为90度的波形图;波形340为相位偏差为180度的波形图。参考图3,在相位偏差为0度、45度或90度时,PCD接收到的第二已调信号的幅值没有明显波动,而在相位偏差为180度时,PCD接收到的第二已调信号的幅值出现了反向,由此会给PCD的解调带来严重影响。在实际的电路中,PCD与PICC之间的载波信号一般会产生比较严重的相位偏差。FIG. 3 is a waveform diagram of the second modulated signal received by the PCD side. As shown in FIG. 3 , the waveform 310 represents a waveform with a phase deviation of 0 degrees. The waveform 310 represents the second modulated signal received by the PCD, and the phase difference between it and the first carrier signal sent by the PCD is 0. Because The phase difference between the second modulated signal and the first carrier signal is equal to the phase difference between the second modulated signal and the first carrier signal, which means that the phase difference between the second modulated signal and the first carrier signal is 0 , at this time, it means that the system is in an ideal state, and there is no phase difference between PCD and PICC. Similarly, waveform 320 is a waveform with a phase deviation of 45 degrees, indicating that the phase difference between the second modulated signal received by the PCD and the first carrier signal sent by the PCD side is 45 degrees; waveform 330 is a waveform with a phase deviation of 90 degrees Figure; waveform 340 is a waveform diagram with a phase deviation of 180 degrees. Referring to FIG. 3 , when the phase deviation is 0, 45 or 90 degrees, the amplitude of the second modulated signal received by the PCD does not fluctuate significantly, while when the phase deviation is 180 degrees, the second modulated signal received by the PCD is 180 degrees. The amplitude of the modulated signal is reversed, which will seriously affect the demodulation of the PCD. In an actual circuit, the carrier signal between the PCD and the PICC generally produces a relatively serious phase deviation.
由上述图2和图3可见,由于链路处理带来的影响,PCD与PICC之间的载波信号会产生严重的相位偏差,由此会给PCD的解调带来影响,进而会影响PCD与PICC之间的通信。It can be seen from the above Figures 2 and 3 that due to the influence of the link processing, the carrier signal between the PCD and the PICC will have a serious phase deviation, which will affect the demodulation of the PCD, and then affect the PCD and the PICC. Communication between PICCs.
基于上述问题,本申请实施例提出了一种信号传输方法,通过在PICC侧对载波信号的相位进行补偿,由此可以消除载波信号在链路处理中产生的相位偏差,避免相位偏差导致的通信效率的降低。Based on the above problems, an embodiment of the present application proposes a signal transmission method. By compensating the phase of the carrier signal on the PICC side, the phase deviation of the carrier signal generated in the link processing can be eliminated, and the communication caused by the phase deviation can be avoided. reduction in efficiency.
现结合图4-图11对本申请实施例提供的信号传输方法进行说明。图4为本申请实施例的应用场景。如图4所示,上述应用场景包括第一电子设备410和第二电子设备420。示例性的,该第一电子设备410可以是上述PCD(例如,闸机等),该第二电子设备420可以是上述PICC(例如,手机等)。当然,PCD也可以是工作在读卡器模式的手机,PICC可以是工作在卡模拟模式的手机或其他电子设备。本申请实施例对执行该技术方案的第一电子设备410和第二电子设备420的具体形式不做特殊限制。可以理解的是,本申请实施例可以应用于NFC场景,例如,第一电子设备410和第二电子设备420之间可以通过NFC通信。本申请实施例也可以应用于其他短距通信场景中,例如,第一电子设备410和第二电子设备420之间可以通过RFID方式进行通信。本申请实施例对短距通信的方式不作特殊限定。The signal transmission method provided by the embodiment of the present application will now be described with reference to FIG. 4 to FIG. 11 . FIG. 4 is an application scenario of an embodiment of the present application. As shown in FIG. 4 , the above application scenario includes a first electronic device 410 and a second electronic device 420 . Exemplarily, the first electronic device 410 may be the aforementioned PCD (eg, a gate, etc.), and the second electronic device 420 may be the aforementioned PICC (eg, a mobile phone, etc.). Of course, the PCD can also be a mobile phone working in a card reader mode, and the PICC can be a mobile phone or other electronic device working in a card emulation mode. The embodiments of the present application do not specifically limit the specific forms of the first electronic device 410 and the second electronic device 420 for implementing the technical solution. It can be understood that the embodiments of the present application may be applied to an NFC scenario, for example, the first electronic device 410 and the second electronic device 420 may communicate through NFC. The embodiments of the present application may also be applied to other short-range communication scenarios, for example, communication between the first electronic device 410 and the second electronic device 420 may be performed by means of RFID. This embodiment of the present application does not specifically limit the short-range communication manner.
图5为本申请实施例提供的信号传输方法一个实施例的流程示意图,为方便公众完整理解本申请的完整方案,将PCD及PICC在不同阶段需要执行的步骤,按照时间线整合到该流程的描述中,但应该理解,对于实施信号发送的PICC而言,其在信号传输过程中只需要执行该流程中所需要执行的那些步骤即可,即可以理解本申请实施例提供的信号传输方法执行主体主要为PICC:FIG. 5 is a schematic flowchart of an embodiment of the signal transmission method provided by the embodiment of the present application. In order to facilitate the public to fully understand the complete solution of the present application, the steps to be performed by the PCD and the PICC at different stages are integrated into the steps of the process according to the timeline. In the description, but it should be understood that for the PICC that implements signal transmission, it only needs to perform those steps that need to be performed in the process during the signal transmission process, that is, it can be understood that the signal transmission method provided by the embodiment of the application performs The main body is mainly PICC:
步骤101,第一电子设备410向第二电子设备420发送第一载波信号。Step 101 , the first electronic device 410 sends a first carrier signal to the second electronic device 420 .
具体地,以第一电子设备410是PCD,第二电子设备420是PICC为例,第一电子设备410可以周期性向第二电子设备420发送第一载波信号,也就是可以在多个周期完成多个第一载波信号的发送。其中,该周期可以预先设置。本申请对周期的大小不作特殊限定。可以理解的是,上述周期发送方式只是示例性的示出了第一电子设备410的第一载波信号的发送方式,第一电子设备410也可以以非周期方式向第二电子设备420发送第一载波信号。上述第一电子设备410向第二电子设备420发送第一载波信号的方式并不构成对本申请实施例的限定。Specifically, taking the first electronic device 410 as a PCD and the second electronic device 420 as a PICC as an example, the first electronic device 410 can periodically send the first carrier signal to the second electronic device 420, that is, it can complete multiple cycles in multiple cycles. The transmission of a first carrier signal. Wherein, the period can be preset. The size of the period is not particularly limited in this application. It can be understood that, the above-mentioned periodic sending method is only illustrative of the sending method of the first carrier signal of the first electronic device 410, and the first electronic device 410 can also send the first electronic device 420 to the second electronic device 420 in an aperiodic manner. carrier signal. The foregoing manner in which the first electronic device 410 sends the first carrier signal to the second electronic device 420 does not constitute a limitation to the embodiments of the present application.
步骤102,第二电子设备420调整第二收发链路的阻抗,并接收第一电子设备410发送的第一载波信号,基于第二电子设备420接收到的第一载波信号以及第二收发链路的阻抗确定等效链路。Step 102, the second electronic device 420 adjusts the impedance of the second transceiving link, and receives the first carrier signal sent by the first electronic device 410, based on the first carrier signal received by the second electronic device 420 and the second transceiving link The impedance determines the equivalent link.
具体地,第二电子设备420可以在预设时间段内接收第一电子设备410发送的多个第一载波信号。在具体实现时,上述预设时间段可以根据上述第一电子设备410发送第一载波信号的周期确定。可以理解的是,在上述预设时间段内,第二电子设备420可以接收第一电子设备410周期发送的多个第一载波信号,第二电子设备420也可以接收第一电子设备410非周期发送的多个第一载波信号,上述第二电子设备420接收第一电子设备410发送的第一载波信号的方式并不构成对本申请实施例的限定。Specifically, the second electronic device 420 may receive multiple first carrier signals sent by the first electronic device 410 within a preset time period. During specific implementation, the above-mentioned preset time period may be determined according to the period at which the above-mentioned first electronic device 410 sends the first carrier signal. It can be understood that, within the above-mentioned preset time period, the second electronic device 420 can receive multiple first carrier signals periodically sent by the first electronic device 410, and the second electronic device 420 can also receive the first electronic device 410 aperiodically. For the multiple first carrier signals sent, the manner in which the second electronic device 420 receives the first carrier signal sent by the first electronic device 410 does not constitute a limitation on the embodiments of the present application.
在具体实现时,第二电子设备420可以分别在上述预设时间段内的不同时刻接收第一电子设备410发送的第一载波信号。示例性的,第二电子设备420可以在t1时刻收到第一载波信号s1,第二电子设备420可以在t2时刻收到第一载波信号s2,以及第二电子设备420可以在t3时刻收到第一载波信号s3等。During specific implementation, the second electronic device 420 may respectively receive the first carrier signal sent by the first electronic device 410 at different times within the foregoing preset time period. Exemplarily, the second electronic device 420 may receive the first carrier signal s1 at time t1, the second electronic device 420 may receive the first carrier signal s2 at time t2, and the second electronic device 420 may receive the first carrier signal s2 at time t3. The first carrier signal s3 and so on.
由于在第一电子设备410与第二电子设备420进行通信时,是由第一电子设备410 的收发链路及第二电子设备420的收发链路对信号造成相位偏差。因此,为了计算出载波信号的相位偏差,可以模拟出等效链路,该等效链路可以包括第一电子设备410的收发链路(第一收发链路)及第二电子设备420的收发链路(第二收发链路)。由此可以使得第二电子设备420接收第一电子设备410发送的第一载波信号后,可以基于该等效链路确定该第一电子设备410发送的第一载波信号与第二电子设备420接收到的第一载波信号之间的相位偏差,进而可以根据该相位偏差对第二电子设备420待发送的第二载波信号进行相位补偿。图6为PCD与PICC之间的等效链路结构示意图。示例性的,该等效链路g(ω)可以通过如下公式进行表示:When the first electronic device 410 communicates with the second electronic device 420 , the phase deviation of the signal is caused by the transceiving link of the first electronic device 410 and the transceiving link of the second electronic device 420 . Therefore, in order to calculate the phase deviation of the carrier signal, an equivalent link can be simulated, and the equivalent link can include the transceiving link (first transceiving link) of the first electronic device 410 and the transceiving link of the second electronic device 420 link (second transceiver link). Therefore, after the second electronic device 420 receives the first carrier signal sent by the first electronic device 410, it can be determined based on the equivalent link that the first carrier signal sent by the first electronic device 410 is received by the second electronic device 420. phase deviation between the received first carrier signals, and then phase compensation can be performed on the second carrier signal to be sent by the second electronic device 420 according to the phase deviation. FIG. 6 is a schematic diagram of an equivalent link structure between the PCD and the PICC. Exemplarily, the equivalent link g(ω) can be expressed by the following formula:
g(ω)=x+j*y。其中,x和y为等效链路的等效系数。g(ω)=x+j*y. where x and y are the equivalent coefficients of the equivalent link.
接着,通过上述等效链路可以获取第一电子设备410发送的第一载波信号St与第二电子设备420接收到的第一载波信号Sr之间的映射关系,其映射关系可以通过如下公式表述:Next, the mapping relationship between the first carrier signal St sent by the first electronic device 410 and the first carrier signal Sr received by the second electronic device 420 can be obtained through the above equivalent link, and the mapping relationship can be expressed by the following formula :
Figure PCTCN2021076036-appb-000001
Figure PCTCN2021076036-appb-000001
其中,R为PICC侧的等效电阻。θ为第一电子设备410发送的第一载波信号St与第二电子设备420接收到的第一载波信号Sr之间的相位偏差。可以理解的是,由于该等效链路具有对称性,因此,该θ也可以是第二电子设备420发送的第二载波信号与第一电子设备410接收到的第二载波信号之间的相位偏差。where R is the equivalent resistance on the PICC side. θ is the phase deviation between the first carrier signal St sent by the first electronic device 410 and the first carrier signal Sr received by the second electronic device 420 . It can be understood that, since the equivalent link has symmetry, the θ can also be the phase between the second carrier signal sent by the second electronic device 420 and the second carrier signal received by the first electronic device 410 deviation.
由上述图6的等效链路结构示意图及等效链路公式,可以获取对应的相位偏差计算公式:From the above-mentioned schematic diagram of the equivalent link structure and the equivalent link formula in FIG. 6, the corresponding phase deviation calculation formula can be obtained:
Figure PCTCN2021076036-appb-000002
Figure PCTCN2021076036-appb-000002
由上述相位偏差公式可以看出,相位偏差θ和PICC侧的等效电阻R相关。It can be seen from the above phase deviation formula that the phase deviation θ is related to the equivalent resistance R on the PICC side.
接着,第二电子设备420可以改变等效电阻R的阻抗。在具体实现时,第二电子设备420可以在预设时间段内周期性改变等效电阻R的阻抗。例如,第二电子设备420可以在三个不同的时刻,例如,时刻t1’、时刻t2’及时刻t3’,改变等效电阻R的阻抗,由此可以分别得到三个不同时刻的等效电阻R的阻抗,例如,R1、R2及R3。可以理解的是,第一电子设备410在上述三个不同时刻发送的第一载波信号经过不同数值的等效电阻R的处理后,可以在第二电子设备420处分别接收到三个不同相位的第一载波信号,示例性的,时刻t1’的等效电阻R的阻抗R1对应时刻t1的第一载波信号s1,第一载波信号s1可以具有相位θ 1;时刻t2’的等效电阻R的阻抗R2对应时刻t2的第一载波信号s2,第一载波信号s2可以具有相位θ 2;时刻t3’的等效电阻R的阻抗R3对应时刻t3的第一载波信号s3,第一载波信号s3可以具有相位θ 3。可以理解的是,第二电子设备420也可以按照非周期方式在不同时刻改变等效电阻R的阻抗。上述在不同时刻改变等效电阻R的阻抗的方式并不构成对本申请实施例的限定。示例性的,第二电子设备420可以在接收到第一电子设备410发送的第一载波信号后改变等效电阻R的阻抗。 Next, the second electronic device 420 may change the impedance of the equivalent resistance R. During specific implementation, the second electronic device 420 may periodically change the impedance of the equivalent resistance R within a preset time period. For example, the second electronic device 420 can change the impedance of the equivalent resistance R at three different times, for example, time t1', time t2', and time t3', so that the equivalent resistances at three different times can be obtained respectively. The impedance of R, eg, R1, R2, and R3. It can be understood that, after the first carrier signal sent by the first electronic device 410 at the above three different times is processed by the equivalent resistance R of different values, the second electronic device 420 can respectively receive three different phases of the first carrier signal. The first carrier signal, exemplarily, the impedance R1 of the equivalent resistance R at time t1' corresponds to the first carrier signal s1 at time t1, and the first carrier signal s1 may have a phase θ 1 ; The impedance R2 corresponds to the first carrier signal s2 at time t2, and the first carrier signal s2 may have a phase θ 2 ; the impedance R3 of the equivalent resistance R at time t3' corresponds to the first carrier signal s3 at time t3, and the first carrier signal s3 may has phase θ 3 . It can be understood that, the second electronic device 420 can also change the impedance of the equivalent resistance R at different times in an aperiodic manner. The above manner of changing the impedance of the equivalent resistance R at different times does not constitute a limitation to the embodiments of the present application. Exemplarily, the second electronic device 420 may change the impedance of the equivalent resistance R after receiving the first carrier signal sent by the first electronic device 410 .
由此可以得到如下联立公式:From this, the following simultaneous formula can be obtained:
Figure PCTCN2021076036-appb-000003
Figure PCTCN2021076036-appb-000003
Figure PCTCN2021076036-appb-000004
Figure PCTCN2021076036-appb-000004
Figure PCTCN2021076036-appb-000005
Figure PCTCN2021076036-appb-000005
由上述公式(1)及公式(2)进行推导,可以得到如下公式:From the above formula (1) and formula (2), the following formula can be obtained:
Figure PCTCN2021076036-appb-000006
Figure PCTCN2021076036-appb-000006
由上述公式(2)及公式(3)进行推导,可以得到如下公式:From the above formula (2) and formula (3), the following formula can be obtained:
Figure PCTCN2021076036-appb-000007
Figure PCTCN2021076036-appb-000007
其中,θ 12为在经过等效链路之后,第一载波信号s1与第一载波信号s2之间的相位差,θ 23为在经过等效链路之后,第一载波信号s2与第一载波信号s3之间的相位差。上述相位差可以由上述时钟205获取得到。图7为相位差示意图。如图7所示,波形700为PCD侧发送的第一载波信号,波形710可以为t1时刻PICC侧接收到的第一载波信号s1,波形720可以为t2时刻PICC侧接收到的第一载波信号s2,波形730可以为t3时刻PICC侧接收到的第一载波信号s3。参考图7,波形710与波形700之间的相位偏差为θ 1,波形720与波形700之间的相位偏差为θ 2,波形730与波形700之间的相位偏差为θ 3。则波形710与波形720之间的相位差为θ 12,波形720与波形730之间的相位差为θ 23Wherein, θ 12 is the phase difference between the first carrier signal s1 and the first carrier signal s2 after passing through the equivalent link, and θ 23 is the phase difference between the first carrier signal s1 and the first carrier signal after passing through the equivalent link The phase difference between the signal s2 and the first carrier signal s3. The above-mentioned phase difference can be obtained by the above-mentioned clock 205 . FIG. 7 is a schematic diagram of the phase difference. As shown in FIG. 7 , waveform 700 is the first carrier signal sent by the PCD side, waveform 710 may be the first carrier signal s1 received by the PICC side at time t1, and waveform 720 may be the first carrier signal received by the PICC side at time t2 s2, the waveform 730 may be the first carrier signal s3 received by the PICC side at time t3. Referring to FIG. 7 , the phase deviation between waveform 710 and waveform 700 is θ 1 , the phase deviation between waveform 720 and waveform 700 is θ 2 , and the phase deviation between waveform 730 and waveform 700 is θ 3 . Then the phase difference between waveform 710 and waveform 720 is θ 12 , and the phase difference between waveform 720 and waveform 730 is θ 23 .
需要说明的是,上述在三个不同时刻改变等效电阻R的阻抗仅是示例性举例,并不构成对本申请实施例的限定。在一些实施例中,由于PICC侧在初始时刻等效电阻R具有初始阻抗R0,因此,也可以在两个不同时刻改变等效电阻R的阻抗(例如,R1和R2),由此也可以获得三个不同时刻的阻抗(例如,R0,R1和R2)。It should be noted that the above-mentioned changing the impedance of the equivalent resistance R at three different times is only an exemplary example, and does not constitute a limitation to the embodiments of the present application. In some embodiments, since the equivalent resistance R on the PICC side has an initial impedance R0 at the initial moment, the impedance of the equivalent resistance R (for example, R1 and R2 ) can also be changed at two different moments, so that it is also possible to obtain Impedance at three different times (eg, R0, R1, and R2).
在上述图7所示的波形中,例如,波形710、波形720及波形730,通过本地时钟可以获取0度相位时刻。其中,该本地时钟可以是电压控制振荡器(Voltage-Controlled Oscillator,VCO),也可以通过其他器件实现,本申请实施例对此不作特殊限定。参考图7,通过上述本地时钟,可以容易获得波形710的0度相位时刻为P1、波形720的0度相位时刻为P2及波形710的0度相位时刻为P3,由此可以根据P1和P2计算获得θ 12,并可以根据P2和P3计算获得θ 23。可以理解的是,θ 12为波形710与波形720之间的相位差,通过计算波形710与波形720之间的时间差(例如,该时间差可以是P1-P2),并通过数学换算,通过P1-P2的值可以获得θ 12;同样地,通过上述方法,也可以通过计算P2-P3的值得到θ 23Among the waveforms shown in FIG. 7 , for example, waveform 710 , waveform 720 , and waveform 730 , the 0-degree phase time can be obtained by the local clock. Wherein, the local clock may be a voltage-controlled oscillator (Voltage-Controlled Oscillator, VCO), or may be implemented by other devices, which is not particularly limited in this embodiment of the present application. Referring to FIG. 7 , through the above local clock, it can be easily obtained that the 0-degree phase moment of the waveform 710 is P1, the 0-degree phase moment of the waveform 720 is P2, and the 0-degree phase moment of the waveform 710 is P3, so it can be calculated according to P1 and P2 θ 12 is obtained, and θ 23 can be calculated from P2 and P3. It can be understood that θ 12 is the phase difference between the waveform 710 and the waveform 720. By calculating the time difference between the waveform 710 and the waveform 720 (for example, the time difference can be P1-P2), and through mathematical conversion, θ 12 can be obtained through the values of P1-P2; similarly, through the above method, θ 23 can also be obtained by calculating the values of P2-P3.
可选地,在通过本地时钟检测上述波形中的0相位时刻时,还可以对该本地时钟的采样频率进行倍频,以提高该本地时钟的采样频率,由此可以更精准地获取到上述波形中的0相位时刻,进而可以提高对相位偏差的计算精度。其中,该倍频数可以是n,该n的取值可以预先设置,示例性的,该n的取值可以取决于相位偏差的精度,优选地,该n可以为384。Optionally, when the 0-phase moment in the above waveform is detected by the local clock, the sampling frequency of the local clock can also be multiplied to increase the sampling frequency of the local clock, so that the above waveform can be obtained more accurately. The 0-phase moment in , and then the calculation accuracy of the phase deviation can be improved. The multiplier may be n, and the value of n may be preset. Exemplarily, the value of n may depend on the precision of the phase deviation. Preferably, the value of n may be 384.
图8为本地时钟倍频示意图,波形800为本地时钟倍频前的波形示意图,波形810为本地时钟倍频后的波形示意图。8 is a schematic diagram of a local clock frequency multiplication, a waveform 800 is a schematic diagram of a waveform before the local clock frequency multiplication, and a waveform 810 is a schematic diagram of a waveform after the local clock frequency multiplication.
当获取到上述θ 12和θ 23的值后,由于R1、R2及R3为已知量,通过联立公式(4)和公式(5),可以求解得到x和y,由此可以得到对应的相位偏差计算公式: When the above values of θ 12 and θ 23 are obtained, since R1, R2 and R3 are known quantities, x and y can be obtained by combining formula (4) and formula (5), From this, the corresponding phase deviation calculation formula can be obtained:
Figure PCTCN2021076036-appb-000008
Figure PCTCN2021076036-appb-000008
可以理解的是,上述相位偏差计算公式表示的是,PCD侧发送的第一载波信号在经过等效链路之后,该第一载波信号产生的相位偏差。同样地,由于等效链路的对称性,上述相位偏差计算公式也可以表示,PICC侧发送的第二载波信号在经过等效链路 之后,该第二载波信号产生的相位偏差。需要说明的是,上述PICC侧发送的第二已调信号的相位和PICC侧发送的第二载波信号的相位相同,因此,上述相位偏差计算公式也可以表示,PICC侧发送的第二已调信号在经过等效链路之后,该第二已调信号产生的相位偏差。It can be understood that the above phase deviation calculation formula represents the phase deviation generated by the first carrier signal sent by the PCD side after passing through the equivalent link. Similarly, due to the symmetry of the equivalent link, the above phase deviation calculation formula can also represent the phase deviation generated by the second carrier signal sent by the PICC side after passing through the equivalent link. It should be noted that the phase of the second modulated signal sent by the PICC side is the same as the phase of the second carrier signal sent by the PICC side. Therefore, the above phase deviation calculation formula can also indicate that the second modulated signal sent by the PICC side has the same phase. The phase deviation produced by the second modulated signal after passing through the equivalent link.
步骤103,第二电子设备420基于等效链路确定载波信号相位偏差。Step 103, the second electronic device 420 determines the phase deviation of the carrier signal based on the equivalent link.
具体地,当获取到上述公式(6)后,可以获取第二电子设备420的工作状态。其中,该工作状态可以用于表征第二电子设备420中等效电阻R的当前阻抗。其中,该等效电阻R的当前阻抗可以是初始时刻的数值,例如,R0;该等效电阻R的当前阻抗也可以是其他时刻的数值,例如,R1或R2等。Specifically, after obtaining the above formula (6), the working state of the second electronic device 420 can be obtained. The working state may be used to characterize the current impedance of the equivalent resistance R in the second electronic device 420 . Wherein, the current impedance of the equivalent resistance R may be a value at the initial moment, for example, R0; the current impedance of the equivalent resistance R may also be a value at other moments, such as R1 or R2, etc.
若第二电子设备420中等效电阻R的当前阻抗为R0,则可以将R0代入上述公式(6),由此可以计算得到载波信号相位偏差,该载波信号相位偏差用于表征PCD侧发送的第一载波信号经过等效链路后,在PICC侧产生的相位偏差,也就是说,该载波信号相位偏差为PCD侧发送的第一载波信号与PICC侧接收到的第一载波信号之间的相位差值。由此可以基于该载波信号相位偏差对第二载波信号进行相位补偿,以消除第二载波信号在通信过程中产生的相位偏差。If the current impedance of the equivalent resistance R in the second electronic device 420 is R0, then R0 can be substituted into the above formula (6), so that the phase deviation of the carrier signal can be calculated. The phase deviation generated on the PICC side after a carrier signal passes through the equivalent link, that is, the phase deviation of the carrier signal is the phase between the first carrier signal sent by the PCD side and the first carrier signal received by the PICC side difference. Therefore, phase compensation can be performed on the second carrier signal based on the phase deviation of the carrier signal, so as to eliminate the phase deviation of the second carrier signal during the communication process.
若第二电子设备420中等效电阻R的当前阻抗为其他数值,示例性的,该数值可以是R1、R2或R3等,则可以将上述R1、R2或R3代入上述公式(6),由此可以计算得到第二电子设备420在等效电阻R的阻抗为R1、R2或R3时的载波信号相位偏差。If the current impedance of the equivalent resistance R in the second electronic device 420 is another value, exemplarily, the value may be R1, R2 or R3, etc., then the above R1, R2 or R3 can be substituted into the above formula (6), thus The phase deviation of the carrier signal of the second electronic device 420 when the impedance of the equivalent resistance R is R1, R2 or R3 can be calculated.
步骤104,第一电子设备410向第二电子设备420发送第一已调信号。Step 104 , the first electronic device 410 sends the first modulated signal to the second electronic device 420 .
具体地,第一电子设备410还可以向第二电子设备420发送第一已调信号。其中,该第一电子设备410发送的第一已调信号包含第一电子设备410发送的第一载波信号及第一电子设备410发送的第一调制信号,例如,可以将该第一电子设备410发送的第一调制信号调制在该第一电子设备410发送的第一载波信号上,由此可以得到第一电子设备410发送的第一已调信号。Specifically, the first electronic device 410 may also send the first modulated signal to the second electronic device 420 . The first modulated signal sent by the first electronic device 410 includes the first carrier signal sent by the first electronic device 410 and the first modulated signal sent by the first electronic device 410. For example, the first electronic device 410 can The sent first modulated signal is modulated on the first carrier signal sent by the first electronic device 410 , thereby obtaining the first modulated signal sent by the first electronic device 410 .
步骤105,第二电子设备420接收第一电子设备410发送的第一已调信号,基于接收到的第一已调信号确定第一载波信号与第一调制信号之间的相位差。Step 105, the second electronic device 420 receives the first modulated signal sent by the first electronic device 410, and determines the phase difference between the first carrier signal and the first modulated signal based on the received first modulated signal.
具体地,第二电子设备420接收到第一电子设备410发送的第一已调信号后,可以对该第二电子设备420接收到的第一已调信号进行分离,由此可以获取该第二电子设备420接收到的第一已调信号中的第一载波信号和第一调制信号。其中,上述分离的方式可以通过混频器,也可以通过其他器件实现,本申请实施例对此不作限定。Specifically, after receiving the first modulated signal sent by the first electronic device 410, the second electronic device 420 can separate the first modulated signal received by the second electronic device 420, thereby obtaining the second modulated signal. The first carrier signal and the first modulated signal in the first modulated signal received by the electronic device 420 . The above separation manner may be implemented by a mixer or by other devices, which is not limited in this embodiment of the present application.
接着,第二电子设备420可以通过阈值判决器确定上述第二电子设备420接收到的第一调制信号的帧起始点(Start of Frame,SOF),可以理解的是,上述阈值判决器仅示例性示出了用于确定帧起始点的方式,并不构成对本申请实施例的限定,在一些实施例中,也可以通过其他方式确定帧起始点。Next, the second electronic device 420 may determine the frame start point (Start of Frame, SOF) of the first modulated signal received by the second electronic device 420 through the threshold decider. It is understood that the above threshold decider is only exemplary The method for determining the frame start point is shown, which does not constitute a limitation to the embodiments of the present application. In some embodiments, the frame start point may also be determined by other methods.
此外,第二电子设备420还可以通过本地时钟对上述第二电子设备420接收到的 第一载波信号进行0相位时刻的检测,由此可以获得0相位时刻。可以理解的是,第二电子设备420还可以对本地时钟的采样频率进行倍频后,对上述第二电子设备420接收到的第一载波信号的0相位时刻进行检测。对上述0相位时刻的检测方式可以具体参考步骤102,在此不再赘述。In addition, the second electronic device 420 can also detect the 0-phase moment of the first carrier signal received by the above-mentioned second electronic device 420 through the local clock, thereby obtaining the 0-phase moment. It can be understood that the second electronic device 420 can also detect the 0-phase moment of the first carrier signal received by the second electronic device 420 after multiplying the sampling frequency of the local clock. For the detection method of the above-mentioned 0-phase moment, reference may be made to step 102, which will not be repeated here.
当获取到上述第二电子设备420接收到的第一调制信号的帧起始点和第二电子设备420接收到的第一载波信号的0相位时刻后,可以基于上述第二电子设备420接收到的第一调制信号的帧起始点和第二电子设备420接收到的第一载波信号的0相位时刻,计算获得第二电子设备420接收到的第一调制信号与第二电子设备420接收到的第一载波信号之间的相位差。由于等效链路具有对称性,通过获取第二电子设备420接收到的第一调制信号与第二电子设备420接收到的第一载波信号之间的相位差,可以推算出第一电子设备410接收到的第二调制信号与第一电子设备410接收到的第二载波信号之间的相位差,由此可以基于该相位差对第二电子设备420发送的第二调制信号进行相位补偿,以消除第二电子设备420发送的第二调制信号与第二电子设备420发送的第二载波信号之间在发送过程中产生的相位差。After the frame start point of the first modulated signal received by the second electronic device 420 and the 0-phase moment of the first carrier signal received by the second electronic device 420 are obtained, the frame start point of the first modulated signal received by the second electronic device 420 can be The frame start point of the first modulated signal and the 0-phase moment of the first carrier signal received by the second electronic device 420 are calculated to obtain the first modulated signal received by the second electronic device 420 and the first modulated signal received by the second electronic device 420. The phase difference between a carrier signal. Since the equivalent link has symmetry, by obtaining the phase difference between the first modulated signal received by the second electronic device 420 and the first carrier signal received by the second electronic device 420, the first electronic device 410 can be calculated The phase difference between the received second modulated signal and the second carrier signal received by the first electronic device 410, so that the phase compensation can be performed on the second modulated signal sent by the second electronic device 420 based on the phase difference, to The phase difference generated during the transmission process between the second modulated signal sent by the second electronic device 420 and the second carrier signal sent by the second electronic device 420 is eliminated.
图9为相位差计算示意图。如图9所示,波形900为第二电子设备420接收到的第一载波信号的波形,波形910为第二电子设备420接收到的第一调制信号的波形,波形920为本地时钟倍频后的波形,波形930为阈值判决器的波形。通过波形920可以检测出波形900的0相位时刻Q1,通过波形930可以检测出波形910中的帧起始点Q2。基于Q1和Q2可以确定第二电子设备420接收到的第一调制信号与第二电子设备420接收到的第一载波信号之间的相位差,示例性的,可以根据Q1-Q2的值通过数学换算得到第二电子设备420接收到的第一调制信号与第二电子设备420接收到的第一载波信号之间的相位差。FIG. 9 is a schematic diagram of phase difference calculation. As shown in FIG. 9 , waveform 900 is the waveform of the first carrier signal received by the second electronic device 420 , waveform 910 is the waveform of the first modulation signal received by the second electronic device 420 , and waveform 920 is the frequency multiplication of the local clock waveform, waveform 930 is the waveform of the threshold decider. The 0-phase time Q1 of the waveform 900 can be detected by the waveform 920 , and the frame start point Q2 in the waveform 910 can be detected by the waveform 930 . Based on Q1 and Q2, the phase difference between the first modulated signal received by the second electronic device 420 and the first carrier signal received by the second electronic device 420 can be determined. Exemplarily, the value of Q1-Q2 can be calculated through mathematics. The phase difference between the first modulated signal received by the second electronic device 420 and the first carrier signal received by the second electronic device 420 is obtained by conversion.
步骤106,第二电子设备420基于载波信号与调制信号之间的相位差对第二调制信号进行相位补偿,并基于载波信号相位偏差对第二已调信号进行相位补偿。Step 106, the second electronic device 420 performs phase compensation on the second modulated signal based on the phase difference between the carrier signal and the modulated signal, and performs phase compensation on the second modulated signal based on the phase deviation of the carrier signal.
具体地,当第二电子设备420获取到上述载波信号相位偏差及载波信号与调制信号之间的相位差后,可以基于载波信号与调制信号之间的相位差对第二电子设备420待发送的第二调制信号进行相位补偿。在具体实现时,上述第二电子设备420待发送的第二调制信号的相位补偿可以是,基于载波信号与调制信号之间的相位差对上述第二电子设备420待发送的第二调制信号调整相位,将调整相位后的第二调制信号调制在第二电子设备420待发送的第二载波信号上,由此可以得到第二电子设备420待发送的第二已调信号。其中,该第二电子设备420待发送的第二载波信号可以是与上述第二电子设备420接收到的第一载波信号同频同相位的载波信号,也就是说,上述第二电子设备420待发送的第二载波信号与上述第二电子设备420接收到的第一载波信号的频率和相位相同,而上述第二电子设备420待发送的第二载波信号与上述第一电子设备410发送的第一载波信号的频率相同,但是相位不同。Specifically, after the second electronic device 420 obtains the above-mentioned phase deviation of the carrier signal and the phase difference between the carrier signal and the modulated signal, the second electronic device 420 can determine the data to be sent by the second electronic device 420 based on the phase difference between the carrier signal and the modulated signal. The second modulated signal is phase compensated. In a specific implementation, the phase compensation of the second modulated signal to be sent by the second electronic device 420 may be to adjust the second modulated signal to be sent by the second electronic device 420 based on the phase difference between the carrier signal and the modulated signal phase, modulate the phase-adjusted second modulated signal on the second carrier signal to be sent by the second electronic device 420 , thereby obtaining the second modulated signal to be sent by the second electronic device 420 . Wherein, the second carrier signal to be sent by the second electronic device 420 may be a carrier signal of the same frequency and phase as the first carrier signal received by the second electronic device 420, that is, the second electronic device 420 to be The sent second carrier signal has the same frequency and phase as the first carrier signal received by the second electronic device 420, and the second carrier signal to be sent by the second electronic device 420 is the same as the first carrier signal sent by the first electronic device 410. A carrier signal has the same frequency but different phases.
现结合图10进行说明。如图10所示,波形1000为第二电子设备420待发送的第二载波信号的波形,波形1010为第二电子设备420待发送的第二调制信号的波形。由 于第二电子设备420接收到的第一载波信号与第二电子设备420接收到的第一调制信号的相位差为Δθ,因此,可以基于上述第二电子设备420接收到的第一载波信号与第二电子设备420接收到的的第一调制信号的相位差Δθ,对第二电子设备420待发送的第二调制信号(例如,波形1010)进行相位补偿。示例性的,可以以波形1000的相位为基准,将波形1010在波形1000的基础上提前Δθ相位,由此可以得到波形1020,该波形1020也就是相位补偿后的第二电子设备420待发送的第二调制信号。此时,由于通过相位补偿,由此可以使得第一电子设备410在接收到上述第二电子设备420发送的第二调制信号及第二电子设备420发送的第二载波信号后,上述第二电子设备420发送的第二调制信号与第二电子设备420发送的第二载波信号之间不再存在相位差,由此可以消除第二电子设备420发送的第二调制信号与第二电子设备420发送的第二载波信号之间的相位差带来的影响,使得第一电子设备410可以顺利对上述第二电子设备420发送的第二调制信号进行解调。The description will now be made with reference to FIG. 10 . As shown in FIG. 10 , the waveform 1000 is the waveform of the second carrier signal to be sent by the second electronic device 420 , and the waveform 1010 is the waveform of the second modulation signal to be sent by the second electronic device 420 . Since the phase difference between the first carrier signal received by the second electronic device 420 and the first modulated signal received by the second electronic device 420 is Δθ, the first carrier signal received by the second electronic device 420 and the The phase difference Δθ of the first modulated signal received by the second electronic device 420 performs phase compensation on the second modulated signal (eg, waveform 1010 ) to be sent by the second electronic device 420 . Exemplarily, the phase of the waveform 1000 may be used as a reference, and the waveform 1010 may be advanced by Δθ phase based on the waveform 1000, thereby obtaining the waveform 1020, which is the phase-compensated second electronic device 420 to be sent. the second modulated signal. At this time, due to the phase compensation, after the first electronic device 410 receives the second modulation signal sent by the second electronic device 420 and the second carrier signal sent by the second electronic device 420, the second electronic device 410 can There is no longer a phase difference between the second modulated signal sent by the device 420 and the second carrier signal sent by the second electronic device 420, so that the second modulated signal sent by the second electronic device 420 and the second modulated signal sent by the second electronic device 420 can be eliminated. Influenced by the phase difference between the second carrier signals, the first electronic device 410 can smoothly demodulate the second modulated signal sent by the second electronic device 420.
接着,第二电子设备420可以将第二电子设备420待发送的第二调制信号调制在第二电子设备420待发送的第二载波信号上;示例性的,可以将波形1020调制在波形1000上,由此可以得到第二电子设备420待发送的第二已调信号,并可以基于载波信号相位偏差对第二电子设备420待发送的第二已调信号进行相位补偿。在具体实现时,可以基于载波信号相位偏差调整第二电子设备420待发送的第二已调信号的相位,由此可以消除上述链路给第二载波信号带来的相位偏差。Next, the second electronic device 420 may modulate the second modulation signal to be sent by the second electronic device 420 on the second carrier signal to be sent by the second electronic device 420 ; for example, the waveform 1020 may be modulated on the waveform 1000 , so that the second modulated signal to be sent by the second electronic device 420 can be obtained, and phase compensation can be performed on the second modulated signal to be sent by the second electronic device 420 based on the phase deviation of the carrier signal. In specific implementation, the phase of the second modulated signal to be sent by the second electronic device 420 can be adjusted based on the phase deviation of the carrier signal, thereby eliminating the phase deviation brought by the above link to the second carrier signal.
现结合图11进行说明。如图11所示,波形1100为第一电子设备410发送的第一载波信号的波形,波形1110为第二电子设备420接收到的第一载波信号的波形,波形1120为第二电子设备420待发送的第二已调信号的波形。其中,波形1100与波形1110之间的相位偏差为θ。由于第一电子设备410发送的第一载波信号与第二电子设备420接收到的第一载波信号的相位偏差为θ,而第二电子设备420发送的第二已调信号由第二电子设备420接收到的第一载波信号通过调制获得,也就是说,第二电子设备420待发送的第二已调信号的相位与第二电子设备接收到的第一载波信号的相位相同。因此,可以将第二电子设备420待发送的第二已调信号(例如,波形1120)在第二电子设备420待发送的第二载波信号的基础上提前2*θ相位,此时,可以得到相位补偿后的第二已调信号(例如,波形1130)。由此可以使得第一电子设备410接收到该第二电子设备420发送的第二已调信号后,该第二电子设备420发送的第二已调信号的相位偏差已被补偿掉,也就是说,第一电子设备410接收到的第二已调信号中的第二载波信号与第一电子设备410发送的第一载波信号的相位一致,进而可以使得第一电子设备410可以正确解调。其中,该补偿的相位偏差可以包括第一电子设备410向第二电子设备420发送第一载波信号时引起的相位偏差θ,以及第二电子设备420向第一电子设备410发送第二已调信号时引起的相位偏差θ,因此,上述第二电子设备420对待发送的第二已调信号的相位补偿量为2*θ。The description will now be made with reference to FIG. 11 . As shown in FIG. 11 , waveform 1100 is the waveform of the first carrier signal sent by the first electronic device 410 , waveform 1110 is the waveform of the first carrier signal received by the second electronic device 420 , and waveform 1120 is the waveform of the first carrier signal received by the second electronic device 420 . The waveform of the second modulated signal sent. Among them, the phase deviation between the waveform 1100 and the waveform 1110 is θ. Since the phase deviation of the first carrier signal sent by the first electronic device 410 and the first carrier signal received by the second electronic device 420 is θ, and the second modulated signal sent by the second electronic device 420 is transmitted by the second electronic device 420 The received first carrier signal is obtained by modulation, that is, the phase of the second modulated signal to be sent by the second electronic device 420 is the same as the phase of the first carrier signal received by the second electronic device. Therefore, the second modulated signal (for example, waveform 1120 ) to be sent by the second electronic device 420 can be advanced by 2*θ phase based on the second carrier signal to be sent by the second electronic device 420 , at this time, it can be obtained Phase compensated second modulated signal (eg, waveform 1130). Therefore, after the first electronic device 410 receives the second modulated signal sent by the second electronic device 420, the phase deviation of the second modulated signal sent by the second electronic device 420 has been compensated, that is to say , the phase of the second carrier signal in the second modulated signal received by the first electronic device 410 is consistent with the phase of the first carrier signal sent by the first electronic device 410 , so that the first electronic device 410 can demodulate correctly. The compensated phase deviation may include the phase deviation θ caused when the first electronic device 410 sends the first carrier signal to the second electronic device 420 , and the second electronic device 420 sends the second modulated signal to the first electronic device 410 Therefore, the phase compensation amount of the second modulated signal to be sent by the second electronic device 420 is 2*θ.
步骤107,第二电子设备420将相位补偿后的第二已调信号发送给第一电子设备410。Step 107 , the second electronic device 420 sends the phase-compensated second modulated signal to the first electronic device 410 .
本实施例中,通过对第一电子设备与第二电子设备之间的等效链路的换算,由此 获得链路给载波信号带来的相位偏差,并基于该相位偏差对载波信号进行相位补偿,由此可以消除相位偏差对接收端的信号解调带来的影响,进而可以提高通信质量。In this embodiment, by converting the equivalent link between the first electronic device and the second electronic device, the phase deviation brought by the link to the carrier signal is obtained, and the phase deviation of the carrier signal is performed based on the phase deviation. Therefore, the influence of the phase deviation on the signal demodulation at the receiving end can be eliminated, and the communication quality can be improved.
图12为本申请信号传输装置一个实施例的结构示意图,如图12所示,上述信号传输装置1200应用于第二电子设备,第二电子设备包括用于收发信号的第二收发链路,第二收发链路的阻抗可调,可以包括:调整模块1210、接收模块1220、第一确定模块1230、计算模块1240、第一补偿模块1250及发送模块1260;其中,FIG. 12 is a schematic structural diagram of an embodiment of the signal transmission apparatus of the present application. As shown in FIG. 12 , the above-mentioned signal transmission apparatus 1200 is applied to a second electronic device. The second electronic device includes a second transceiver link for sending and receiving signals. The impedance of the second transceiver link is adjustable, and may include: an adjustment module 1210, a reception module 1220, a first determination module 1230, a calculation module 1240, a first compensation module 1250, and a transmission module 1260; wherein,
调整模块1210,用于在多个不同时刻分别调整第二收发链路的阻抗,以使第二收发链路在多个不同时刻对应具有不同的多个阻抗;an adjustment module 1210, configured to adjust the impedance of the second transceiver link at multiple different times, so that the second transceiver link has different impedances at multiple different times;
接收模块1220,用于在第二收发链路具有不同的多个阻抗之时分别接收第一电子设备发送的多个第一载波信号,得到第二电子设备接收到的多个第一载波信号;The receiving module 1220 is configured to respectively receive multiple first carrier signals sent by the first electronic device when the second transceiving link has multiple different impedances, and obtain multiple first carrier signals received by the second electronic device;
第一确定模块1230,用于基于第二电子设备接收到的多个第一载波信号及多个阻抗,确定相位偏差与阻抗之间的映射关系;其中,相位偏差用于表征第一电子设备发送的第一载波信号与第二电子设备接收到的第一载波信号之间的相位差值;The first determination module 1230 is configured to determine the mapping relationship between the phase deviation and the impedance based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device; wherein the phase deviation is used to characterize the transmission of the first electronic device The phase difference value between the first carrier signal and the first carrier signal received by the second electronic device;
计算模块1240,用于获取第二收发链路的当前阻抗,基于当前阻抗及映射关系确定当前相位偏差;a calculation module 1240, configured to obtain the current impedance of the second transceiver link, and determine the current phase deviation based on the current impedance and the mapping relationship;
第一补偿模块1250,用于获取第二载波信号及第二调制信号,将第二调制信号调制在第二载波信号上,得到第二已调信号;基于当前相位偏差对第二已调信号进行相位补偿,The first compensation module 1250 is used to obtain the second carrier signal and the second modulation signal, modulate the second modulation signal on the second carrier signal, and obtain the second modulated signal; phase compensation,
发送模块1260,用于将相位补偿后得到的第二已调信号发送给第一电子设备。The sending module 1260 is configured to send the second modulated signal obtained after the phase compensation to the first electronic device.
其中一种可能的实现方式中,上述调整模块1210还用于在预设时间段内周期性调整第二收发链路的阻抗。In one possible implementation manner, the above-mentioned adjustment module 1210 is further configured to periodically adjust the impedance of the second transceiving link within a preset time period.
其中一种可能的实现方式中,第二收发链路包括初始阻抗,上述调整模块1210还用于在预设时间段内的两个周期分别调整第二收发链路的阻抗,其中,三个阻抗包括初始阻抗及两个调整阻抗。In one possible implementation manner, the second transceiver link includes an initial impedance, and the adjustment module 1210 is further configured to adjust the impedance of the second transceiver link in two cycles within a preset time period, wherein the three impedances Includes initial impedance and two adjustment impedances.
其中一种可能的实现方式中,上述调整模块1210还用于在预设时间段内的三个周期分别调整第二收发链路的阻抗,其中,三个阻抗包括三个调整阻抗。In one possible implementation manner, the adjustment module 1210 is further configured to adjust the impedance of the second transceiver link in three cycles within a preset time period, wherein the three impedances include three adjustment impedances.
其中一种可能的实现方式中,上述装置1200还包括:第二确定模块1270;其中,In one possible implementation manner, the above-mentioned apparatus 1200 further includes: a second determining module 1270; wherein,
第二确定模块1270,用于分别在不同时刻接收第一电子设备发送的多个第一已调信号,得到第二电子设备接收到的多个第一已调信号,其中,第一电子设备发送的多个第一已调信号包括第一电子设备发送的第一载波信号及第一调制信号,第二电子设备接收到的第一已调信号包括第二电子设备接收到的第一载波信号及第一调制信号;获取第二电子设备接收到的第一载波信号的0相位时刻及第二电子设备接收到的第一调制信号的帧起始点时刻,基于第二电子设备接收到的第一载波信号的0相位时刻及第二电子设备接收到的第一调制信号的帧起始点时刻,确定相位差,其中,相位差用于表征第二电子设备接收到的第一载波信号与第二电子设备接收到的第一调制信号之间的相位差值。The second determining module 1270 is configured to receive multiple first modulated signals sent by the first electronic device at different times respectively, and obtain multiple first modulated signals received by the second electronic device, wherein the first electronic device sends The plurality of first modulated signals include the first carrier signal and the first modulated signal sent by the first electronic device, and the first modulated signal received by the second electronic device includes the first carrier signal received by the second electronic device and The first modulated signal; obtain the 0-phase moment of the first carrier signal received by the second electronic device and the frame start point moment of the first modulated signal received by the second electronic device, based on the first carrier wave received by the second electronic device The 0-phase moment of the signal and the frame start point moment of the first modulated signal received by the second electronic device determine the phase difference, where the phase difference is used to characterize the first carrier signal received by the second electronic device and the second electronic device. Phase difference value between the received first modulated signals.
其中一种可能的实现方式中,上述装置1200还包括:时钟模块1280;其中,In one possible implementation manner, the above-mentioned apparatus 1200 further includes: a clock module 1280; wherein,
时钟模块1280,用于对第二电子设备接收到的第一载波信号进行采样,以获得第 二电子设备接收到的第一载波信号的0相位时刻。The clock module 1280 is configured to sample the first carrier signal received by the second electronic device to obtain the 0-phase moment of the first carrier signal received by the second electronic device.
其中一种可能的实现方式中,上述时钟模块1280还用于对采样频率进行n倍频,其中,n为常数,n由相位偏差的精度确定;对第二电子设备接收到的第一载波信号进行采样,以获得第二电子设备接收到的第一载波信号的0相位时刻。In one possible implementation manner, the above clock module 1280 is further configured to perform n-multiplier on the sampling frequency, where n is a constant, and n is determined by the precision of the phase deviation; for the first carrier signal received by the second electronic device Sampling is performed to obtain the 0-phase moment of the first carrier signal received by the second electronic device.
其中一种可能的实现方式中,上述装置1200还包括:第二补偿模块1290;其中,In one possible implementation manner, the above-mentioned apparatus 1200 further includes: a second compensation module 1290; wherein,
第二补偿模块1290,用于基于相位差对第二调制信号进行相位补偿。The second compensation module 1290 is configured to perform phase compensation on the second modulated signal based on the phase difference.
其中一种可能的实现方式中,上述第一补偿模块1250还用于将第二已调信号的相位提前两倍的相位偏差。In one possible implementation manner, the above-mentioned first compensation module 1250 is further configured to advance the phase of the second modulated signal by twice the phase deviation.
其中一种可能的实现方式中,第一电子设备包括用于收发信号的第一收发链路,第一收发链路和第二收发链路组成信号传输的等效链路,上述第一确定模块1230还用于基于第二电子设备接收到的多个第一载波信号及多个阻抗,确定等效链路的系数,映射关系通过包含系数的公式表征。In one possible implementation manner, the first electronic device includes a first transceiving link for transceiving signals, the first transceiving link and the second transceiving link form an equivalent link for signal transmission, and the first determining module above 1230 is further configured to determine the coefficients of the equivalent link based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device, and the mapping relationship is represented by a formula including the coefficients.
其中一种可能的实现方式中,第一载波信号与第二载波信号频率相同。In one possible implementation manner, the frequency of the first carrier signal and the second carrier signal are the same.
应理解,以上图12所示的信号传输装置的各个模块的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且这些模块可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分模块以软件通过处理元件调用的形式实现,部分模块通过硬件的形式实现。例如,检测模块可以为单独设立的处理元件,也可以集成在电子设备的某一个芯片中实现。其它模块的实现与之类似。此外这些模块全部或部分可以集成在一起,也可以独立实现。在实现过程中,上述方法的各步骤或以上各个模块可以通过处理器元件中的硬件的集成逻辑电路或者软件形式的指令完成。It should be understood that the division of each module of the signal transmission apparatus shown in FIG. 12 above is only a division of logical functions, and may be fully or partially integrated into a physical entity in actual implementation, or may be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also all be implemented in hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in hardware. For example, the detection module may be a separately established processing element, or may be integrated in a certain chip of the electronic device. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, and can also be implemented independently. In the implementation process, each step of the above-mentioned method or each of the above-mentioned modules can be completed by an integrated logic circuit of hardware in the processor element or an instruction in the form of software.
例如,以上这些模块可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(Application Specific Integrated Circuit;以下简称:ASIC),或,一个或多个微处理器(Digital Signal Processor;以下简称:DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array;以下简称:FPGA)等。再如,这些模块可以集成在一起,以片上系统(System-On-a-Chip;以下简称:SOC)的形式实现。For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more specific integrated circuits (Application Specific Integrated Circuit; hereinafter referred to as: ASIC), or, one or more microprocessors Digital Signal Processor (hereinafter referred to as: DSP), or, one or more Field Programmable Gate Array (Field Programmable Gate Array; hereinafter referred to as: FPGA), etc. For another example, these modules can be integrated together and implemented in the form of a system-on-a-chip (System-On-a-Chip; hereinafter referred to as: SOC).
图13为电子设备100的结构示意图。该电子设备100可以是上述第二电子设备420,该电子设备100可以用于执行本申请图1-图11所示实施例提供的方法中的功能/步骤。FIG. 13 is a schematic structural diagram of the electronic device 100 . The electronic device 100 may be the second electronic device 420 described above, and the electronic device 100 may be used to execute the functions/steps in the methods provided by the embodiments shown in FIG. 1 to FIG. 11 of the present application.
如图13所示,电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,天线1,天线2,移动通信模块150,无线通信模块160,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。As shown in FIG. 13 , the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, a display screen 194, and a subscriber identification module (subscriber). identification module, SIM) card interface 195, etc.
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理 器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
天线1和天线2均可用于发射和接收电磁波信号。终端100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线,当然考虑到设计的简单和其他因素的影响,也可以给每种通信方式配备单独的天线。在另外一些实施例中,天线可以和调谐开关结合使用。Both antenna 1 and antenna 2 can be used to transmit and receive electromagnetic wave signals. Each antenna in terminal 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, the antenna 1 can be multiplexed into the diversity antenna of the wireless local area network. Of course, considering the simplicity of the design and the influence of other factors, each communication mode can also be equipped with a separate antenna. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 . The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Wherein, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and passed to the application processor. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modulation and demodulation processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信 模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR). The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110, perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(codedivision multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technology, etc. The GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light). emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on. In some embodiments, the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备100的各种功能应用以及数据处理。Internal memory 121 may be used to store computer executable program code, which includes instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like. The storage data area may store data (such as audio data, phone book, etc.) created during the use of the electronic device 100 and the like. In addition, the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like. The processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通 信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。The SIM card interface 195 is used for connecting a SIM card. The SIM card can be contacted and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 . The electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 employs an eSIM, ie: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
以上各实施例中,涉及的处理器可以例如包括CPU、DSP、微控制器或数字信号处理器,还可包括GPU、嵌入式神经网络处理器(Neural-network Process Units;以下简称:NPU)和图像信号处理器(Image Signal Processing;以下简称:ISP),该处理器还可包括必要的硬件加速器或逻辑处理硬件电路,如ASIC,或一个或多个用于控制本申请技术方案程序执行的集成电路等。此外,处理器可以具有操作一个或多个软件程序的功能,软件程序可以存储在存储介质中。In the above embodiments, the involved processors may include, for example, a CPU, a DSP, a microcontroller or a digital signal processor, and may also include a GPU, an embedded neural-network process unit (Neural-network Process Units; hereinafter referred to as: NPU) and Image signal processor (Image Signal Processing; hereinafter referred to as: ISP), the processor may also include necessary hardware accelerators or logic processing hardware circuits, such as ASIC, or one or more integrated circuits for controlling the execution of the program of the technical solution of the present application circuit, etc. Furthermore, the processor may have the function of operating one or more software programs, which may be stored in a storage medium.
本申请实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,当所述计算机指令在计算机上运行时,所述计算机指令使所述计算机执行本说明书图1-图11所示实施例提供的信号传输方法。Embodiments of the present application provide a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer instructions cause the computer to execute The signal transmission method provided by the embodiments shown in FIG. 1 to FIG. 11 of this specification.
上述非暂态计算机可读存储介质可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(Read Only Memory;以下简称:ROM)、可擦式可编程只读存储器(Erasable Programmable Read Only Memory;以下简称:EPROM)或闪存、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The above-described non-transitory computer-readable storage media may employ any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (non-exhaustive list) of computer readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (Read Only Memory) ; hereinafter referred to as: ROM), erasable programmable read only memory (Erasable Programmable Read Only Memory; hereinafter referred to as: EPROM) or flash memory, optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic memory components, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本说明书操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(Local Area Network;以下简称:LAN)或广域网(Wide Area Network;以下简称:WAN)连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of this specification may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, but also conventional Procedural programming language - such as the "C" language or similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or Wide Area Network (WAN), or it can Connect to an external computer (eg via the Internet using an Internet Service Provider).
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并 且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that in the embodiments and still achieve desirable results. Additionally, the processes depicted in the figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本说明书的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of this specification. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本说明书的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In the description of the present specification, "plurality" means at least two, such as two, three, etc., unless otherwise expressly and specifically defined.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本说明书的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本说明书的实施例所属技术领域的技术人员所理解。Any process or method description in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing custom logical functions or steps of the process , and the scope of the preferred embodiments of this specification includes alternative implementations in which the functions may be performed out of the order shown or discussed, including performing the functions substantially concurrently or in the reverse order depending upon the functions involved, which should It is understood by those skilled in the art to which the embodiments of this specification belong.
在本说明书所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this specification, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined. Either it can be integrated into another system, or some features can be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
另外,在本说明书各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of this specification may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机装置(可以是个人计算机,服务器,或者网络装置等)或处理器(Processor)执行本说明书各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory;以下简称:ROM)、随机存取存储器(Random Access Memory;以下简称:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units implemented in the form of software functional units can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (Processor) to execute the methods described in the various embodiments of this specification. some steps. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (Read-Only Memory; hereinafter referred to as: ROM), Random Access Memory (Random Access Memory; hereinafter referred to as: RAM), magnetic disk or optical disk and other various A medium on which program code can be stored.
以上所述仅为本说明书的较佳实施例而已,并不用以限制本说明书,凡在本说明书的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本说明书保护的范围之内。The above descriptions are only preferred embodiments of this specification, and are not intended to limit this specification. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this specification shall be included in this specification. within the scope of protection.

Claims (24)

  1. 一种信号传输方法,应用于第二电子设备,所述第二电子设备包括用于收发信号的第二收发链路,所述第二收发链路的阻抗可调,其特征在于,所述方法包括:A signal transmission method, applied to a second electronic device, the second electronic device comprising a second transceiver link for transmitting and receiving signals, the impedance of the second transceiver link being adjustable, characterized in that the method include:
    在多个不同时刻分别调整所述第二收发链路的阻抗,以使所述第二收发链路在所述多个不同时刻对应具有不同的多个阻抗;Adjust the impedance of the second transceiver link at multiple different times, so that the second transceiver link has different multiple impedances at the multiple different times;
    在所述第二收发链路具有不同的多个阻抗之时分别接收第一电子设备发送的多个第一载波信号,得到所述第二电子设备接收到的多个第一载波信号;Respectively receive multiple first carrier signals sent by the first electronic device when the second transceiver link has multiple different impedances, to obtain multiple first carrier signals received by the second electronic device;
    基于所述第二电子设备接收到的多个第一载波信号及所述多个阻抗,确定相位偏差与所述阻抗之间的映射关系;其中,所述相位偏差用于表征所述第一电子设备发送的第一载波信号与所述第二电子设备接收到的第一载波信号之间的相位差值;Based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device, a mapping relationship between the phase deviation and the impedance is determined; wherein the phase deviation is used to characterize the first electronic device The phase difference value between the first carrier signal sent by the device and the first carrier signal received by the second electronic device;
    获取所述第二收发链路的当前阻抗,基于所述当前阻抗及所述映射关系确定当前相位偏差;obtaining the current impedance of the second transceiver link, and determining the current phase deviation based on the current impedance and the mapping relationship;
    获取第二载波信号及第二调制信号,将所述第二调制信号调制在所述第二载波信号上,得到第二已调信号;obtaining a second carrier signal and a second modulated signal, and modulating the second modulated signal on the second carrier signal to obtain a second modulated signal;
    基于所述当前相位偏差对所述第二已调信号进行相位补偿,并将所述相位补偿后得到的第二已调信号发送给所述第一电子设备。Phase compensation is performed on the second modulated signal based on the current phase deviation, and the second modulated signal obtained after the phase compensation is sent to the first electronic device.
  2. 根据权利要求1所述的方法,其特征在于,所述在多个不同时刻分别调整所述第二收发链路的阻抗包括:The method according to claim 1, wherein the adjusting the impedance of the second transceiver link at multiple different times comprises:
    在预设时间段内周期性调整所述第二收发链路的阻抗。The impedance of the second transceiving link is periodically adjusted within a preset time period.
  3. 根据权利要求2所述的方法,其特征在于,所述第二收发链路包括初始阻抗,所述在预设时间段内周期性调整所述第二收发链路的阻抗包括:The method according to claim 2, wherein the second transceiving link comprises an initial impedance, and the periodically adjusting the impedance of the second transceiving link within a preset time period comprises:
    在预设时间段内的两个周期分别调整所述第二收发链路的阻抗,其中,三个所述阻抗包括所述初始阻抗及两个调整阻抗。The impedance of the second transceiving link is adjusted respectively in two cycles within a preset time period, wherein the three impedances include the initial impedance and the two adjusted impedances.
  4. 根据权利要求2所述的方法,其特征在于,所述在预设时间段内周期性调整所述第二收发链路的阻抗包括:The method according to claim 2, wherein the periodically adjusting the impedance of the second transceiver link within a preset time period comprises:
    在预设时间段内的三个周期分别调整所述第二收发链路的阻抗,其中,三个所述阻抗包括三个调整阻抗。The impedances of the second transceiving link are adjusted respectively in three cycles within a preset time period, wherein the three impedances include three adjusted impedances.
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    分别在不同时刻接收所述第一电子设备发送的多个第一已调信号,得到所述第二电子设备接收到的多个第一已调信号,其中,所述第一电子设备发送的多个第一已调信号包括所述第一电子设备发送的第一载波信号及第一调制信号,所述第二电子设备接收到的第一已调信号包括所述第二电子设备接收到的第一载波信号及第一调制信号;Respectively receive multiple first modulated signals sent by the first electronic device at different times to obtain multiple first modulated signals received by the second electronic device, wherein the multiple first modulated signals sent by the first electronic device are obtained. The first modulated signal includes a first carrier signal and a first modulated signal sent by the first electronic device, and the first modulated signal received by the second electronic device includes a first modulated signal received by the second electronic device. a carrier signal and a first modulation signal;
    获取所述第二电子设备接收到的第一载波信号的0相位时刻及所述第二电子设备接收到的第一调制信号的帧起始点时刻,基于所述第二电子设备接收到的第一载波信号的0相位时刻及所述第二电子设备接收到的第一调制信号的帧起始点时刻,确定相位差,其中,所述相位差用于表征所述第二电子设备接收到的第一载波信号与所述第二电子设备接收到的第一调制信号之间的相位差值。Obtain the 0-phase moment of the first carrier signal received by the second electronic device and the frame start point moment of the first modulated signal received by the second electronic device, based on the first The 0-phase moment of the carrier signal and the frame start point moment of the first modulated signal received by the second electronic device determine the phase difference, where the phase difference is used to represent the first signal received by the second electronic device. The phase difference value between the carrier signal and the first modulated signal received by the second electronic device.
  6. 根据权利要求5所述的方法,其特征在于,所述第二电子设备包括时钟模块, 所述第二电子设备接收到的第一载波信号的0相位时刻由所述时钟模块进行采样后获得。The method according to claim 5, wherein the second electronic device comprises a clock module, and the 0-phase moment of the first carrier signal received by the second electronic device is obtained after sampling by the clock module.
  7. 根据权利要求6所述的方法,其特征在于,所述时钟模块进行采样包括:The method according to claim 6, wherein the sampling by the clock module comprises:
    对所述时钟模块的采样频率进行n倍频,其中,n为常数,n由所述相位偏差的精度确定;Multiply the sampling frequency of the clock module by n, wherein n is a constant, and n is determined by the precision of the phase deviation;
    基于对采样频率进行n倍频后得到的时钟模块,对所述第二电子设备接收到的第一载波信号进行采样,以获得所述第二电子设备接收到的第一载波信号的0相位时刻。Based on the clock module obtained by multiplying the sampling frequency by n, sampling the first carrier signal received by the second electronic device to obtain the 0-phase moment of the first carrier signal received by the second electronic device .
  8. 根据权利要求5所述的方法,其特征在于,所述基于所述相位偏差对所述第二已调信号进行相位补偿之前,所述方法还包括:The method according to claim 5, wherein before performing phase compensation on the second modulated signal based on the phase deviation, the method further comprises:
    基于所述相位差对所述第二调制信号进行相位补偿。Phase compensation is performed on the second modulated signal based on the phase difference.
  9. 根据权利要求1-8任一项所述的方法,其特征在于,所述基于所述相位偏差对所述第二已调信号进行相位补偿包括:The method according to any one of claims 1-8, wherein the performing phase compensation on the second modulated signal based on the phase deviation comprises:
    将所述第二已调信号的相位提前两倍的所述相位偏差。The phase of the second modulated signal is advanced by twice the phase offset.
  10. 根据权利要求1-9任意一项所述的方法,其特征在于,所述第一电子设备包括用于收发信号的第一收发链路,所述第一收发链路和所述第二收发链路组成信号传输的等效链路,所述基于所述第二电子设备接收到的多个第一载波信号及所述多个阻抗,确定相位偏差与所述阻抗之间的映射关系具体包括:The method according to any one of claims 1-9, wherein the first electronic device comprises a first transceiving link for transceiving signals, the first transceiving link and the second transceiving link An equivalent link of signal transmission is formed by the signal transmission channel, and the determining of the mapping relationship between the phase deviation and the impedance based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device specifically includes:
    基于所述第二电子设备接收到的多个第一载波信号及所述多个阻抗,确定所述等效链路的系数,所述映射关系通过包含所述系数的公式表征。Based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device, coefficients of the equivalent link are determined, and the mapping relationship is characterized by a formula including the coefficients.
  11. 根据权利要求1-9任意一项所述的方法,其特征在于,所述第一载波信号与所述第二载波信号频率相同。The method according to any one of claims 1-9, wherein the frequency of the first carrier signal and the second carrier signal are the same.
  12. 一种第二电子设备,所述第二电子设备包括用于收发信号的第二收发链路,所述第二收发链路的阻抗可调,其特征在于,包括:存储器,所述存储器用于存储计算机程序代码,所述计算机程序代码包括指令,当所述第二电子设备从所述存储器中读取所述指令,以使得所述第二电子设备执行以下步骤:A second electronic device, the second electronic device includes a second transceiving link for transceiving signals, and the impedance of the second transceiving link is adjustable, characterized in that it comprises: a memory, the memory is used for Stores computer program code, the computer program code including instructions that, when read from the memory by the second electronic device, cause the second electronic device to perform the following steps:
    在多个不同时刻分别调整所述第二收发链路的阻抗,以使所述第二收发链路在所述多个不同时刻对应具有不同的多个阻抗;Adjust the impedance of the second transceiver link at multiple different times, so that the second transceiver link has different multiple impedances at the multiple different times;
    在所述第二收发链路具有不同的多个阻抗之时分别接收第一电子设备发送的多个第一载波信号,得到所述第二电子设备接收到的多个第一载波信号;Respectively receive multiple first carrier signals sent by the first electronic device when the second transceiver link has multiple different impedances, to obtain multiple first carrier signals received by the second electronic device;
    基于所述第二电子设备接收到的多个第一载波信号及所述多个阻抗,确定相位偏差与所述阻抗之间的映射关系;其中,所述相位偏差用于表征所述第一电子设备发送的第一载波信号与所述第二电子设备接收到的第一载波信号之间的相位差值;Based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device, a mapping relationship between the phase deviation and the impedance is determined; wherein the phase deviation is used to characterize the first electronic device The phase difference value between the first carrier signal sent by the device and the first carrier signal received by the second electronic device;
    获取所述第二收发链路的当前阻抗,基于所述当前阻抗及所述映射关系确定当前相位偏差;obtaining the current impedance of the second transceiver link, and determining the current phase deviation based on the current impedance and the mapping relationship;
    获取第二载波信号及第二调制信号,将所述第二调制信号调制在所述第二载波信号上,得到第二已调信号;obtaining a second carrier signal and a second modulated signal, and modulating the second modulated signal on the second carrier signal to obtain a second modulated signal;
    基于所述当前相位偏差对所述第二已调信号进行相位补偿,并将所述相位补偿后得到的第二已调信号发送给所述第一电子设备。Phase compensation is performed on the second modulated signal based on the current phase deviation, and the second modulated signal obtained after the phase compensation is sent to the first electronic device.
  13. 根据权利要求12所述的第二电子设备,其特征在于,所述指令被所述第二电 子设备执行时,使得所述第二电子设备执行在多个不同时刻分别调整所述第二收发链路的阻抗的步骤包括:The second electronic device according to claim 12, wherein when the instruction is executed by the second electronic device, the second electronic device adjusts the second transceiving chain at a plurality of different times. The steps of the impedance of the circuit include:
    在预设时间段内周期性调整所述第二收发链路的阻抗。The impedance of the second transceiving link is periodically adjusted within a preset time period.
  14. 根据权利要求13所述的第二电子设备,其特征在于,所述第二收发链路包括初始阻抗,所述指令被所述第二电子设备执行时,使得所述第二电子设备执行在预设时间段内周期性调整所述第二收发链路的阻抗的步骤包括:The second electronic device according to claim 13, wherein the second transceiving link comprises an initial impedance, and when the instruction is executed by the second electronic device, the second electronic device executes the pre-defined impedance. The step of periodically adjusting the impedance of the second transceiving link within a set time period includes:
    在预设时间段内的两个周期分别调整所述第二收发链路的阻抗,其中,三个所述阻抗包括所述初始阻抗及两个调整阻抗。The impedance of the second transceiving link is adjusted respectively in two cycles within a preset time period, wherein the three impedances include the initial impedance and the two adjusted impedances.
  15. 根据权利要求13所述的第二电子设备,其特征在于,所述指令被所述第二电子设备执行时,使得所述第二电子设备执行在预设时间段内周期性调整所述第二收发链路的阻抗的步骤包括:The second electronic device according to claim 13, characterized in that, when the instruction is executed by the second electronic device, the second electronic device executes to periodically adjust the second electronic device within a preset time period. The steps of transceiving the impedance of the link include:
    在预设时间段内的三个周期分别调整所述第二收发链路的阻抗,其中,三个所述阻抗包括三个调整阻抗。The impedances of the second transceiving link are adjusted respectively in three cycles within a preset time period, wherein the three impedances include three adjusted impedances.
  16. 根据权利要求12所述的第二电子设备,其特征在于,所述指令被所述第二电子设备执行时,使得所述第二电子设备还执行以下步骤:The second electronic device according to claim 12, wherein when the instruction is executed by the second electronic device, the second electronic device further performs the following steps:
    分别在不同时刻接收所述第一电子设备发送的多个第一已调信号,得到所述第二电子设备接收到的多个第一已调信号,其中,所述第一电子设备发送的多个第一已调信号包括所述第一电子设备发送的第一载波信号及第一调制信号,所述第二电子设备接收到的第一已调信号包括所述第二电子设备接收到的第一载波信号及第一调制信号;Respectively receive multiple first modulated signals sent by the first electronic device at different times to obtain multiple first modulated signals received by the second electronic device, wherein the multiple first modulated signals sent by the first electronic device are obtained. The first modulated signal includes a first carrier signal and a first modulated signal sent by the first electronic device, and the first modulated signal received by the second electronic device includes a first modulated signal received by the second electronic device. a carrier signal and a first modulation signal;
    获取所述第二电子设备接收到的第一载波信号的0相位时刻及所述第二电子设备接收到的第一调制信号的帧起始点时刻,基于所述第二电子设备接收到的第一载波信号的0相位时刻及所述第二电子设备接收到的第一调制信号的帧起始点时刻,确定相位差,其中,所述相位差用于表征所述第二电子设备接收到的第一载波信号与所述第二电子设备接收到的第一调制信号之间的相位差值。Obtain the 0-phase moment of the first carrier signal received by the second electronic device and the frame start point moment of the first modulated signal received by the second electronic device, based on the first The 0-phase moment of the carrier signal and the frame start point moment of the first modulated signal received by the second electronic device determine the phase difference, where the phase difference is used to represent the first signal received by the second electronic device. The phase difference value between the carrier signal and the first modulated signal received by the second electronic device.
  17. 根据权利要求16所述的第二电子设备,所述第二电子设备包括时钟模块,其特征在于,所述第二电子设备接收到的第一载波信号的0相位时刻由所述时钟模块进行采样后获得。The second electronic device according to claim 16, wherein the second electronic device comprises a clock module, wherein the 0-phase moment of the first carrier signal received by the second electronic device is sampled by the clock module obtained later.
  18. 根据权利要求17所述的第二电子设备,其特征在于,所述指令被所述第二电子设备执行时,使得所述第二电子设备执行时钟模块进行采样的步骤包括:The second electronic device according to claim 17, wherein when the instruction is executed by the second electronic device, the step of causing the second electronic device to execute the clock module to perform sampling comprises:
    对所述时钟模块的采样频率进行n倍频,其中,n为常数,n由所述相位偏差的精度确定;Multiply the sampling frequency of the clock module by n, wherein n is a constant, and n is determined by the precision of the phase deviation;
    基于对采样频率进行n倍频后得到的时钟模块,对所述第二电子设备接收到的第一载波信号进行采样,以获得所述第二电子设备接收到的第一载波信号的0相位时刻。Based on the clock module obtained by multiplying the sampling frequency by n, sampling the first carrier signal received by the second electronic device to obtain the 0-phase moment of the first carrier signal received by the second electronic device .
  19. 根据权利要求16所述的第二电子设备,其特征在于,所述指令被所述第二电子设备执行时,使得所述第二电子设备执行基于所述相位偏差对所述第二已调信号进行相位补偿的步骤之前,还执行以下步骤:The second electronic device according to claim 16, characterized in that, when the instruction is executed by the second electronic device, the second electronic device causes the second electronic device to perform a modification of the second modulated signal based on the phase deviation. Before the step of phase compensation, also perform the following steps:
    基于所述相位差对所述第二调制信号进行相位补偿。Phase compensation is performed on the second modulated signal based on the phase difference.
  20. 根据权利要求12-19任一项所述的第二电子设备,其特征在于,所述指令被所述第二电子设备执行时,使得所述第二电子设备执行基于所述相位偏差对所述第二 已调信号进行相位补偿的步骤包括:The second electronic device according to any one of claims 12-19, characterized in that, when the instruction is executed by the second electronic device, the second electronic device causes the second electronic device to execute the adjustment of the phase deviation based on the phase deviation. The step of performing phase compensation on the second modulated signal includes:
    将所述第二已调信号的相位提前两倍的所述相位偏差。The phase of the second modulated signal is advanced by twice the phase offset.
  21. 根据权利要求12-20任一项所述的第二电子设备,其特征在于,所述第一电子设备包括用于收发信号的第一收发链路,所述第一收发链路和所述第二收发链路组成信号传输的等效链路,所述指令被所述第二电子设备执行时,使得所述第二电子设备执行基于所述第二电子设备接收到的多个第一载波信号及所述多个阻抗,确定相位偏差与所述阻抗之间的映射关系的步骤包括:The second electronic device according to any one of claims 12-20, wherein the first electronic device comprises a first transceiving link for transceiving signals, the first transceiving link and the first transceiving link The two transceiver links form an equivalent link for signal transmission. When the instruction is executed by the second electronic device, the second electronic device causes the second electronic device to execute a plurality of first carrier signals received by the second electronic device. and the plurality of impedances, the step of determining the mapping relationship between the phase deviation and the impedances includes:
    基于所述第二电子设备接收到的多个第一载波信号及所述多个阻抗,确定所述等效链路的系数,所述映射关系通过包含所述系数的公式表征。Based on the plurality of first carrier signals and the plurality of impedances received by the second electronic device, coefficients of the equivalent link are determined, and the mapping relationship is represented by a formula including the coefficients.
  22. 根据权利要求12-20任一项所述的第二电子设备,其特征在于,所述第一载波信号与所述第二载波信号频率相同。The second electronic device according to any one of claims 12-20, wherein the first carrier signal and the second carrier signal have the same frequency.
  23. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在所述第二电子设备上运行时,使得所述第二电子设备执行如权利要求1-11中任一项所述的信号传输方法。A computer-readable storage medium, characterized by comprising computer instructions, when the computer instructions are executed on the second electronic device, the second electronic device is made to execute any one of claims 1-11 The described signal transmission method.
  24. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-11中任一项所述的信号传输方法。A computer program product, characterized in that, when the computer program product runs on a computer, the computer is caused to execute the signal transmission method according to any one of claims 1-11.
PCT/CN2021/076036 2021-02-08 2021-02-08 Signal transmission method, electronic device, and storage medium WO2022165842A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/076036 WO2022165842A1 (en) 2021-02-08 2021-02-08 Signal transmission method, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/076036 WO2022165842A1 (en) 2021-02-08 2021-02-08 Signal transmission method, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
WO2022165842A1 true WO2022165842A1 (en) 2022-08-11

Family

ID=82740708

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/076036 WO2022165842A1 (en) 2021-02-08 2021-02-08 Signal transmission method, electronic device, and storage medium

Country Status (1)

Country Link
WO (1) WO2022165842A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116545455A (en) * 2023-07-04 2023-08-04 北京紫光青藤微系统有限公司 Method and device for adjusting energy dissipation of transmitter antenna and transmitter

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101978383A (en) * 2008-03-20 2011-02-16 Nxp股份有限公司 Transceiving circuit for contactless communication and nfc device or rfid reader/writer device comprising such a transceiving circuit
US20180183638A1 (en) * 2015-06-02 2018-06-28 Logomotion, S.R.O. Method of processing of signal transmitted from the analog nfc driver and system for realization of said method
CN112187333A (en) * 2019-07-05 2021-01-05 华为技术有限公司 Signal transmission method and device
CN112202508A (en) * 2019-07-08 2021-01-08 中兴通讯股份有限公司 Wireless signal performance adjusting device and method and wireless communication terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101978383A (en) * 2008-03-20 2011-02-16 Nxp股份有限公司 Transceiving circuit for contactless communication and nfc device or rfid reader/writer device comprising such a transceiving circuit
US20180183638A1 (en) * 2015-06-02 2018-06-28 Logomotion, S.R.O. Method of processing of signal transmitted from the analog nfc driver and system for realization of said method
CN112187333A (en) * 2019-07-05 2021-01-05 华为技术有限公司 Signal transmission method and device
CN112202508A (en) * 2019-07-08 2021-01-08 中兴通讯股份有限公司 Wireless signal performance adjusting device and method and wireless communication terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116545455A (en) * 2023-07-04 2023-08-04 北京紫光青藤微系统有限公司 Method and device for adjusting energy dissipation of transmitter antenna and transmitter
CN116545455B (en) * 2023-07-04 2023-11-03 北京紫光青藤微系统有限公司 Method and device for adjusting energy dissipation of transmitter antenna and transmitter

Similar Documents

Publication Publication Date Title
US10292115B2 (en) Electronic device and method of transmitting wireless signal thereof
JP5969107B2 (en) Device, system and method for estimating position of mobile device
CN113810083B (en) Information transmission method and device, terminal equipment and storage medium
EP3087683B1 (en) Apparatus, system and method of bluetooth communication
US20140211894A1 (en) Data interface synchronization
US9699014B2 (en) Digital modulation jitter compensation for polar transmitter
DE102015222607A1 (en) Apparatus and methods for reducing signal distortion in I / Q modulation transceivers
WO2022165842A1 (en) Signal transmission method, electronic device, and storage medium
US9385822B2 (en) Wideband calibration method and wideband calibration apparatus for calibrating mismatch between first signal path and second signal path of transmitter/receiver
WO2020063541A1 (en) Information processing method, communication device, system and storage medium
CN114430281B (en) Impedance matching method and device, electronic equipment and readable storage medium
CN112953590B (en) Signal transmission method, electronic device, and storage medium
CN114900199A (en) Scattering parameter determination method and device, signal processing circuit and electronic equipment
US9893745B2 (en) High efficiency transmitter architectures for a localized single-carrier frequency division multiple access transceiver
US11513209B2 (en) Radio frequency ranging using phase difference
US10128795B2 (en) Polar loop modulation techniques for wireless communication
US11057829B2 (en) Power saving for non-trigger-based ranging
TWI698095B (en) Beam acquisition with receiving beamforming
TWI619355B (en) Receiving circuit capable of performing i/q mismatch calibration based on external oscillating signal
WO2019137393A1 (en) Mobile terminal frequency compensation method and apparatus, storage medium and processor
US20230208474A1 (en) Apparatus, system and method of body proximity sensing
US11057001B2 (en) Apparatus, system, and method of distributing a reset signal to a plurality of PHY chains
US11050446B2 (en) Device and method for improving radiation performance of antenna using impedance tuning
US7801246B2 (en) Multi-mode communication device for generating constant envelope modulated signals using a quadrature modulator
CN113840030A (en) Icon display method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21923852

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21923852

Country of ref document: EP

Kind code of ref document: A1