Communication device and data processing method

By designing the receiving module, sending module, interference canceller and phase selector in the communication device, the problem of mutual influence of CDR, MIMO-EQ and MIMO-EC is solved, and the performance of communication device is improved.

CN119945469APending Publication Date: 2025-05-06HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311469783.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-06
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

In the same frequency full-duplex communication device, CDR, MIMO-EQ and MIMO-EC influence each other, making it difficult to determine appropriate parameters, affecting the performance of the communication device.

Method used

A communication device is designed, including a receiving module, a sending module, an interference canceller and a phase selector. The receiving signal is sampled through the receiving module, the interference canceller filters the signal based on the filter coefficient, and the phase selector determines the signal attenuation value to determine the target filter coefficient, so as to decouple the filter coefficient, sampling phase and other filter coefficients of the interference canceller.

Benefits of technology

The overall performance of communication equipment is improved, and by decoupling the filter coefficient and sampling phase of the interference canceller, echo interference and crosstalk are reduced, signal quality and equipment performance are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119945469A_ABST
    Figure CN119945469A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides communication equipment and a data processing method, relates to the technical field of chips, and improves the performance of the communication equipment. According to the specific scheme, the communication equipment comprises a receiving module, a sending module, an interference canceller and a phase selector. When the communication device is in a first state, the receiving module is used for sampling a received first signal based on N sampling phases to obtain N first input signals, the N sampling phases and the N filtering coefficients are in one-to-one correspondence, and N is an integer greater than or equal to 2. The interference eliminator is used for filtering the second signals sent by the sending module based on the N filtering coefficients to obtain N filtered second signals. The phase selector is used for obtaining N signal attenuation values based on the N first input signals and the N filtered second signals. And the phase selector is also used for determining the filtering coefficient corresponding to the minimum signal attenuation value in the N signal attenuation values as a target filtering coefficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of chip technology, and in particular to a communication device and a data processing method. Background Art

[0002] The simultaneous same-frequency full-duplex technology allows the same communication device to send and receive signals at the same time on the same frequency band. When the same communication device in the full-duplex technology sends and receives signals at the same time on the same frequency band, the signal sent by the communication device may be transmitted back to the communication device through coupling or reflection, thereby generating echo interference to the received signal of the communication device. When a communication device has multiple links at the same time, near-end crosstalk (NEXT) and far-end crosstalk (FEXT) will also be generated accordingly. In addition, the communication device must perform interference cancellation while performing channel equalization of the received signal, so the receiver needs to be equipped with an equalizer, an echo interference canceller, a far-end crosstalk canceller, and a near-end crosstalk canceller. Among them, the equalizer and the far-end crosstalk canceller can be implemented in one through a multiple-input multiple-output (MIMO) architecture, such as a multiple-input multiple-output equalizer (MIMO-EQ), and the echo interference canceller and the near-end crosstalk canceller can also be implemented in one through a multiple-input multiple-output (MIMO) architecture, such as a multiple-input multiple-output echo canceller (MIMO-EC).

[0003] However, when determining parameters, CDR, MIMO-EQ and MIMO-EC affect and couple each other, and appropriate parameters cannot be determined, thereby affecting the performance of communication equipment. Summary of the invention

[0004] The present application provides a communication device and a data processing method to improve the performance of the communication device.

[0005] In order to achieve the above-mentioned purpose, this application adopts the following technical solution.

[0006] In the first aspect, the present application provides a communication device, which includes a receiving module, a sending module, an interference eliminator and a phase selector. The first output end of the receiving module is coupled to the input end of the phase selector, the output end of the sending module is coupled to the first input end of the interference eliminator, the first output end of the phase selector is coupled to the second input end of the interference eliminator, the second output end of the phase selector is coupled to the input end of the receiving module, and the output end of the interference eliminator is coupled to the input end of the phase selector. When the communication device is in the first state, the receiving module is used to sample the received first signal based on N sampling phases respectively to obtain N first input signals, the N sampling phases and the N filter coefficients correspond one to one, and N is an integer greater than or equal to 2. The interference eliminator is used to filter the second signal sent by the sending module based on the N filter coefficients respectively to obtain N filtered second signals. The phase selector is used to obtain N signal attenuation values ​​based on the N first input signals and the N filtered second signals respectively. The phase selector is also used to determine the filter coefficient corresponding to the smallest signal attenuation value among the N signal attenuation values ​​as the target filter coefficient.

[0007] Therefore, when the communication device provided by the present application is in the first state, the first state may be a state in which the communication device is in a training stage, that is, the communication devices send interactive signals to each other, and the receiving module samples the received first signal based on N sampling phases to obtain N first input signals, wherein the first signal may include an interactive signal and a plurality of interference signals. The interference eliminator filters the second signal based on N filter coefficients to obtain N filtered second signals, wherein the second signal is the interactive signal sent by the sending module. Thus, N signal attenuation values ​​can be determined to further determine the filter coefficient corresponding to the minimum signal attenuation value among the N signal attenuation values ​​as the target filter coefficient, wherein the minimum signal attenuation value can be understood as the minimum high-frequency attenuation corresponding to the sampling phase. Thus, the better filter coefficient of the interference eliminator in the link establishment stage can be determined, so as to facilitate the subsequent training of the sampling phase and other filter coefficients, so as to achieve the effect of decoupling the filter coefficient, sampling phase and other filter coefficients of the interference eliminator, and improve the overall performance of the communication device.

[0008] In a possible design, when the communication device is in the second state, the receiving module is also used to sample the received third signal based on M sampling phases to obtain M second input signals, M is an integer greater than N, and the M sampling phases include N sampling phases. The phase selector is also used to obtain M interference values ​​and M filter coefficients based on the M second input signals, the M filter coefficients include N filter coefficients, and the N sampling phases are the first N sampling phases in the M sampling phases sorted from small to large according to the interference value corresponding to each sampling phase. Among them, the second state can be a state in which the communication device is in a link establishment stage, that is, the first communication device among multiple communication devices sends a signal, and the second communication device among multiple communication devices remains silent. At this time, the first communication device samples the received signal to obtain echo interference and near-end crosstalk. Therefore, the communication device can obtain multiple filter coefficients based on multiple sampling phases in the link establishment stage, and the multiple filter coefficients at this time are all filter coefficients of the interference eliminator, and the multiple filter coefficients can also be screened based on the interference value to reduce the data processing process in the subsequent training stage.

[0009] In one possible design, the communication device further includes: a clock data recovery module. The input end of the clock data recovery module is coupled to the second output end of the receiving module, and the output end of the clock data recovery module is coupled to the input end of the receiving module. When the communication device is in the third state, the clock data recovery module is used to send the target sampling phase to the receiving module. The receiving module is also used to sample the received fourth signal based on the target sampling phase. Among them, the third state can be a state in which the communication device is in a data transmission stage, that is, the communication devices send data signals to each other. The communication device can determine the target sampling phase through the clock data recovery module to improve the phase sensitivity problem of the communication device.

[0010] In a possible design, the communication device further includes a component switch module, a first output end of the component switch module is coupled to a control end of the phase selector, and a second output end of the component switch module is coupled to a control end of the clock data recovery module. The component switch module is used to send an enable signal to the phase selector when the communication device is in the first state and the second state respectively. The component switch module is also used to send an enable signal to the clock data recovery module when the communication device is in the third state. Thus, when the component switch module sends an enable signal to the phase selector, the phase selector can be enabled to work, and when the component switch module sends an enable signal to the clock data recovery module, the clock data recovery module can be enabled to work, so the phase selector can be controlled to be in a working state or the clock data recovery module can be controlled to be in a working state through the component switch module. For example, when the communication device is in the first state and the second state, the phase selector is enabled to obtain multiple filter coefficients when the communication device is in the second state, and the target filter coefficient is determined when the communication device is in the first state, that is, a better filter coefficient is determined for the interference eliminator. Alternatively, when the communication device is in the third state, the clock data recovery module is enabled to determine the target sampling phase through the clock data recovery module to improve the phase sensitivity problem of the communication device.

[0011] In a possible design, the interference canceller is further used to filter the fifth signal sent by the sending module based on the target filter coefficient when the communication device is in the third state. Thus, the target filter coefficient of the interference canceller is determined so as to train the sampling phase and other filter coefficients in the subsequent process, thereby achieving the effect of decoupling the filter coefficient of the interference canceller, the sampling phase and other filter coefficients, and improving the overall performance of the communication device.

[0012] In one possible design, the receiving module includes a time domain to frequency domain converter. The time domain to frequency domain converter is used to convert the digital signal sampled by the receiving module into a frequency domain signal, the frequency domain signal is the first input signal, and the signal attenuation value is obtained based on the frequency domain signal and the filtered second signal. In this way, the received signal can be converted from the time domain to the frequency domain for analysis, which can reduce the circuit area related to filtering in the communication device, and reduce the power consumption and circuit area overhead of the communication device.

[0013] In a possible design, the signal attenuation value is a power ratio value, the power ratio value is the ratio of the power of the signal of the first frequency to the power of the signal of the second frequency in the sixth signal, the sixth signal is the sum of the first input signal and the filtered second signal, and the first frequency is less than the second frequency. In addition, the signal attenuation value can also be a signal high-frequency power value or other values ​​related to the signal high-frequency power.

[0014] In a possible design, the interference value is a signal power value. In addition, the interference value may also be a signal average power value, a signal high frequency power value, etc.

[0015] In a possible design, the phase selector is also used to send the sampling phase to the receiving module.

[0016] In one possible design, the communication device also includes a storage module, and the storage module is used to store the filter coefficients.

[0017] In a second aspect, the present application provides a communication device, which includes a receiving module, a sending module and a filter coefficient selector. The output end of the receiving module is coupled to the input end of the filter coefficient selector, and the output end of the filter coefficient selector is coupled to the input end of the sending module. When the communication device is in a first state, the filter coefficient selector is used to obtain a signal attenuation value of the first signal based on the first signal received by the receiving module. The filter coefficient selector is also used to select a filter coefficient from a plurality of filter coefficients as a target filter coefficient based on the signal attenuation value and at least one threshold. The sending module is used to filter the second signal sent based on the target filter coefficient. Among them, the first state can be a state in which the communication device is in a link establishment stage, at which time the first communication device in the communication device sends a signal, and the second communication device in the communication device remains silent. Among them, the communication device provided in the present application is a second communication device, the first signal can include a signal sent by the first communication device in the first state and a plurality of interference signals, and the second signal can be a signal sent by the second communication device in any state.

[0018] Therefore, the communication device provided by the present application can determine a suitable filter coefficient from multiple filter coefficients based on the signal attenuation value and at least one threshold value, improve the phase sensitivity problem of the communication device, and improve the overall performance of the communication device.

[0019] In a possible design, at least one threshold value includes a first threshold value, and the filter coefficient selector is specifically used to select a first filter coefficient from a plurality of filter coefficients as a target filter coefficient when the signal attenuation value is less than the first threshold value, and the cutoff frequency corresponding to the first filter coefficient is equal to the preset frequency. Among them, the signal attenuation value less than the first threshold value can be understood as the communication device is in a low attenuation environment, and the first filter coefficient corresponding to the cutoff frequency equal to the preset frequency can be used for filtering, and the in-band attenuation can be appropriately increased to enhance the phase detection capability of the clock data recovery module, so as to improve the phase sensitivity problem of the communication device.

[0020] In a possible design, the filter coefficient selector is also specifically used to select the second filter coefficient from the multiple filter coefficients as the target filter coefficient when the signal attenuation value is greater than or equal to the first threshold, and the cutoff frequency corresponding to the second filter coefficient is greater than the preset frequency. Among them, the signal attenuation value greater than or equal to the first threshold can be understood as the communication device is in a high attenuation environment, and the second filter coefficient corresponding to the cutoff frequency greater than the preset frequency can be used for filtering, which can maintain in-band flatness, ensure the performance of the communication device, filter out-of-band signals, and reduce the sensitivity of the sampling phase.

[0021] In a third aspect, the present application provides a data processing method, which is applied to a communication device, wherein the communication device includes a receiving module, a sending module, an interference eliminator and a phase selector. The data processing method includes: when the communication device is in a first state, the receiving module samples the received first signal based on N sampling phases respectively to obtain N first input signals, the N sampling phases correspond to N filter coefficients one by one, and N is an integer greater than or equal to 2. The interference eliminator filters the second signal sent by the sending module based on the N filter coefficients respectively to obtain N filtered second signals. The phase selector obtains N signal attenuation values ​​based on the N first input signals and the N filtered second signals respectively. The phase selector determines the filter coefficient corresponding to the smallest signal attenuation value among the N signal attenuation values ​​as the target filter coefficient.

[0022] In one possible design, the method further includes: when the communication device is in the second state, the receiving module samples the received third signal based on M sampling phases respectively to obtain M second input signals. M is an integer greater than N, the M sampling phases correspond to the M filter coefficients one-to-one, the M filter coefficients also correspond to the M interference values ​​one-to-one, and the N sampling phases are the first N sampling phases in the M sampling phases sorted from small to large according to the interference value corresponding to each sampling phase.

[0023] In one possible design, the communication device also includes a clock data recovery module, and the method also includes: when the communication device is in a third state, the clock data recovery module sends the target sampling phase to the receiving module, and the receiving module samples the received fourth signal based on the target sampling phase.

[0024] In one possible design, the communication device further includes a component switch module, and the method further includes: the component switch module sends an enable signal to the phase selector when the communication device is in the first state and the second state respectively. When the communication device is in the third state, the component switch module sends an enable signal to the clock data recovery module.

[0025] In one possible design, the method further includes: when the communication device is in the third state, the interference eliminator filters the fifth signal sent by the sending module based on the target filter coefficient.

[0026] In one possible design, the receiving module includes: a time domain to frequency domain converter, and the method also includes: the time domain to frequency domain converter converts the digital signal sampled by the receiving module into a frequency domain signal, the frequency domain signal is the first input signal, and obtains a signal attenuation value based on the frequency domain signal and the filtered second signal.

[0027] In one possible design, the signal attenuation value is a power ratio, the power ratio is the ratio of the power of the signal of the first frequency to the power of the signal of the second frequency in the sixth signal, the sixth signal is the sum of the first input signal and the filtered second signal, and the first frequency is less than the second frequency.

[0028] In one possible design, the method further includes: a phase selector sending the sampling phase to a receiving module.

[0029] In a possible design, the communication device further includes: a storage module. The method further includes: the storage module stores the filter coefficients.

[0030] The beneficial effects of the third aspect can refer to the description of the first aspect.

[0031] In a fourth aspect, the present application provides a data processing method, which is applied to a communication device, the communication device including a receiving module, a sending module and a filter coefficient selector, and the method includes: when the communication device is in a first state, the filter coefficient selector obtains a signal attenuation value of the first signal based on the first signal received by the receiving module. The filter coefficient selector selects a filter coefficient from a plurality of filter coefficients as a target filter coefficient based on the signal attenuation value and at least one threshold. The sending module filters the second signal to be sent based on the target filter coefficient.

[0032] In one possible design, at least one threshold includes a first threshold, and the filter coefficient selector selects a filter coefficient from multiple filter coefficients as a target filter coefficient based on the signal attenuation value and at least one threshold, including: when the signal attenuation value is less than the first threshold, the filter coefficient selector selects the first filter coefficient from the multiple filter coefficients as the target filter coefficient, and the cutoff frequency corresponding to the first filter coefficient is equal to the preset frequency.

[0033] In one possible design, the filter coefficient selector selects a filter coefficient from multiple filter coefficients as a target filter coefficient based on a signal attenuation value and at least one threshold, and also includes: when the signal attenuation value is greater than or equal to a first threshold, the filter coefficient selector selects a second filter coefficient from the multiple filter coefficients as the target filter coefficient, and the cutoff frequency corresponding to the second filter coefficient is greater than a preset frequency.

[0034] The beneficial effects of the fourth aspect can refer to the description of the second aspect.

[0035] In a fifth aspect, the present application provides an electronic device, comprising one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer instructions. When the one or more processors execute the computer instructions, the electronic device executes the data processing method in the third aspect or the fourth aspect and any possible implementation.

[0036] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the data processing method in any of the above aspects and any possible implementation methods.

[0037] In a seventh aspect, an embodiment of the present application provides a computer program product, which, when executed on a computer or a processor, enables the computer or the processor to execute the data processing method in any of the above aspects and any possible implementation manners.

[0038] It can be understood that any of the communication devices, computer-readable storage media or computer program products provided above can be applied to the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods and will not be repeated here.

[0039] These and other aspects of the present application will become more apparent from the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A schematic diagram of communication between full-duplex communication devices provided in an embodiment of the present application;

[0041] Figure 2 A schematic diagram of the structure of a digital full-duplex transceiver provided in an embodiment of the present application;

[0042] Figure 3 A schematic diagram of the structure of a digital full-duplex transceiver based on a frequency domain architecture provided in an embodiment of the present application;

[0043] Figure 4 A schematic diagram of the structure of a communication device provided in an embodiment of the present application;

[0044] Figure 5 A schematic diagram of the structure of another communication device provided in an embodiment of the present application;

[0045] Figure 6 A schematic diagram of the structure of another communication device provided in an embodiment of the present application;

[0046] Figure 7A schematic diagram of the structure of another communication device provided in an embodiment of the present application;

[0047] Figure 8 An amplitude-frequency response diagram of a transmission filter provided in an embodiment of the present application;

[0048] Fig. 9 A flowchart of a data processing method provided in an embodiment of the present application;

[0049] Fig.10 A flowchart of another data processing method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0051] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.

[0052] like Figure 1 As shown, Figure 1 A schematic diagram of communication between full-duplex communication devices provided in an embodiment of the present application. Figure 1 , wherein there are multiple links between communication device 1 and communication device 2, and each link corresponds to a transmitter and a receiver. In a possible example, if communication device 1 and communication device 2 are connected by Ethernet, the multiple links may be multiple twisted pairs. If communication device 1 and communication device 2 are connected by optical fiber, the multiple links may be multiple fiber cores. Among them, the transmitter in the same link will cause echo interference to the receiver in the link. Other links in communication device 1 will also cause near-end crosstalk to the link, such as NEXT1 and NEXTn. Other links in communication device 2 will also cause far-end crosstalk to the link, such as FEXT1 and FEXTn. In addition, when the receiver in the same link performs channel equalization of the received signal, interference cancellation is also required.

[0053] In digital communication systems, receivers can use clock data recovery technology to synchronize the sampling clock of the received signal, estimate the sampling frequency and sampling phase, etc. Figure 2 As shown, Figure 2 A schematic diagram of the structure of a digital full-duplex transceiver provided in an embodiment of the present application. Figure 2 The structure diagram of one link of a digital full-duplex transceiver is shown in the figure, wherein the receiver includes a receive analog front end (RX AFE), an analog to digital converter (ADC), a multiple input multiple output equalizer (MIMO-EQ), a clock data recovery module and a symbol demapping module (demap). Specifically, the analog to digital converter converts the analog signal into a digital signal, and the symbol demapping module demaps the received signal into a received bit stream. In addition, the transmitter includes a transmit analog front end (TX AFE), a digital to analog converter (DAC), a transmit filter and a symbol mapping module (map). Specifically, the digital to analog converter converts the digital signal into an analog signal, the transmit filter performs spectrum shaping on the transmit signal, and the symbol mapping module maps the bit stream into a transmit signal. The receiver and transmitter are coupled via a multiple input multiple output echo canceller (MIMO-EC). MIMO-EQ and MIMO-EC can be implemented using finite impulse response (FIR) filters. It is important to understand that Figure 2 Only some modules of the digital full-duplex transceiver are shown, and Figure 2 For illustrative purposes, Figure 2 The structure shown does not impose any limitation on the structure of the digital full-duplex transceiver provided in the embodiment of the present application.

[0054] To cope with environmental changes, MIMO-EQ and MIMO-EC need to be continuously trained for adaptation, for example, the least mean square (LMS) adaptive algorithm can be used for training. In addition, CDR also needs to continuously track clock changes. When a device has multiple links at the same time, the input of MIMO-EC includes the transmitted signals of other links, and the input of MIMO-EQ also includes the received signals of other links. Figure 2 In is simplified to the current link.

[0055] Communication equipment should have the ability to cope with different environments and scenarios. For harsh environments, the number of taps of MIMO-EQ and MIMO-EC filters needs to be increased to improve communication capabilities. However, as the number of taps of MIMO-EQ and MIMO-EC filters increases, the corresponding chip area power consumption also increases. In order to reduce the chip area power consumption, frequency domain convolution can be used instead of finite impulse response filters to implement MIMO-EQ and MIMO-EC. Figure 3 As shown, Figure 3 A schematic diagram of the structure of a digital full-duplex transceiver based on a frequency domain architecture provided in an embodiment of the present application. Among them, fast Fourier transform (FFT) and inverse fast Fourier transform (IFFT) can be used to realize the transformation of time domain and frequency domain. Specifically, the fast Fourier transform converts the digital signal sampled by the analog-to-digital converter into a frequency domain signal. After MIMO-EQ filters the frequency domain signal, the fast inverse Fourier transform converts the frequency domain signal into a digital signal again and sends it to the symbol demapping module for subsequent processing.

[0056] The communication process between communication devices can be divided into three stages: link establishment, training, and data transmission. Taking communication device 1 and communication device 2 as an example, in the link establishment stage, communication device 1 sends a signal and communication device 2 remains silent. After communication device 2 stably detects the signal of communication device 1, it starts to send interactive signals. After the link is successfully established, communication device 1 and communication device 2 simultaneously send training signals to enter the training stage. After the training is successful, communication device 1 and communication device 2 simultaneously send data signals to enter the data transmission stage.

[0057] Specifically, in the link establishment phase, only communication device 1 sends a signal, and communication device 2 remains silent at this time, that is, the receiver in communication device 2 has no echo interference and near-end crosstalk, and the receiver in communication device 1 has only echo interference and near-end crosstalk, and no received signal interference and far-end crosstalk. Therefore, the receiver of communication device 1 can perform MIMO-EC training in the link establishment phase, and the receiver of communication device 2 can perform CDR and MIMO-EQ training in the link establishment phase. After entering the training phase, communication device 1 performs CDR and MIMO-EQ training based on the MIMO-EC coefficients obtained in the link establishment phase, and communication device 2 performs MIMO-EC training based on the MIMO-EQ and sampling phase obtained in the link establishment phase, thereby achieving the effect of decoupling CDR and MIMO-EQ from MIMO-EC.

[0058] However, the initial sampling phase of the communication device 1 in the link establishment phase may be poor and not suitable for the training phase. Therefore, the communication device 1 cannot use the MIMO-EC coefficients in the link establishment phase in the training phase, thereby failing to achieve the effect of decoupling CDR and MIMO-EQ from MIMO-EC.

[0059] Thus, an embodiment of the present application provides a communication device, which includes a receiving module, a sending module, an interference canceller and a phase selector. When the communication device is in a first state, the first state may be a state in which the communication device is in a training phase, that is, the communication devices send interactive signals to each other, and the receiving module samples the received first signal based on N sampling phases to obtain N first input signals, wherein the first signal may include an interactive signal and a plurality of interference signals. The interference canceller filters the second signal based on N filter coefficients to obtain N filtered second signals, wherein the second signal is the interactive signal sent by the sending module. Thus, N signal attenuation values ​​can be determined to further determine the filter coefficient corresponding to the minimum signal attenuation value among the N signal attenuation values ​​as the target filter coefficient, wherein the minimum signal attenuation value can be understood as the minimum high-frequency attenuation corresponding to the sampling phase. Thus, the better filter coefficient of the interference canceller in the link building phase can be determined, so as to train the sampling phase and other filter coefficients later, so as to achieve the effect of decoupling the filter coefficient, sampling phase and other filter coefficients of the interference canceller, and improve the overall performance of the communication device.

[0060] In the above scenario, the communication device of the embodiment of the present application can be applied to a variety of communication devices that can implement full-duplex digital communication, such as Ethernet switches.

[0061] The following is an introduction to the communication device provided in the embodiments of the present application.

[0062] like Figure 4 As shown, Figure 4 The structure diagram of a communication device provided in an embodiment of the present application is shown in FIG. 4. The communication device 40 includes a receiving module 41, a sending module 42, an interference canceller 43, and a phase selector 44. The first output terminal (eg, Figure 4 The output terminal a) and the input terminal of the phase selector 44 (eg Figure 4 The input terminal b) of the sending module 42 is coupled to the output terminal (eg Figure 4 The output terminal c) and the first input terminal of the interference canceller 43 (eg Figure 4 The first output terminal (eg, Figure 4 The output terminal e) and the second input terminal of the interference canceller 43 (eg Figure 4The second output terminal of the phase selector 44 (eg Figure 4 The output terminal g in the receiving module 41 and the input terminal of the receiving module 41 (eg Figure 4 The input terminal h) of the interference canceller 43 is coupled, and the output terminal (eg Figure 4 The output terminal i) in is coupled to the input terminal b of the phase selector 44.

[0063] Among them, the first state can be a state in which the communication device 40 is in a training phase, at which time the first communication device and the second communication device among the multiple communication devices send an interactive signal, and the interactive signal can also be understood as a training signal or a preset signal. Among them, the first communication device and the second communication device can be the same communication device. In the embodiment of the present application, in the link establishment phase, the first communication device sends a signal and the second communication device remains silent. In the training phase, the first communication device and the second communication device send interactive signals simultaneously. In the data transmission phase, the first communication device and the second communication device send data signals simultaneously.

[0064] Among them, when the communication device 40 is in the first state, the receiving module 41 is used to sample the received first signal based on N sampling phases (samplephase) to obtain N first input signals, and the N sampling phases correspond to N filter coefficients one by one, and N is an integer greater than or equal to 2. The interference eliminator 43 is used to filter the second signal sent by the sending module 42 based on the N filter coefficients to obtain N filtered second signals. The phase selector 44 is used to obtain N signal attenuation values ​​based on the N first input signals and the N filtered second signals. The phase selector 44 is also used to determine the filter coefficient corresponding to the smallest signal attenuation value among the N signal attenuation values ​​as the target filter coefficient.

[0065] Exemplarily, in the training phase, the communication devices send interactive signals to each other, and the first signal at this time may include interactive signals, echo interference, near-end crosstalk, far-end crosstalk and received signal interference, that is, the first signal includes interactive signals and four interference signals. In addition, the second signal at this time may be an interactive signal sent by the sending module 42 of the communication device 40, wherein the second signal is coupled and reflected to the input end of the receiving module 41 as near-end crosstalk and echo interference.

[0066] Optionally, the signal attenuation value may be a power ratio, where the power ratio is the ratio of the power of the signal of the first frequency in the sixth signal to the power of the signal of the second frequency. The sixth signal is the sum of the first input signal and the filtered second signal, and the first frequency is less than the second frequency. That is, the power ratio is the ratio of the low-frequency power to the high-frequency power in the sixth signal. In one possible example, assume that the sixth signal includes n carriers, where the amplitude of the i-th carrier among the n carriers is denoted as Ai. Take the 1st carrier to the m-th carrier among the n carriers as low-frequency signals, and the n-(m-1)th carrier to the n-th carrier among the n carriers as high-frequency signals, where m is an integer less than n, then the low-frequency power is The high frequency power is That is, the ratio of low-frequency power to high-frequency power is: The smaller the signal attenuation value is, the smaller the high-frequency attenuation of the sixth signal obtained by sampling based on the sampling phase corresponding to the signal attenuation value is.

[0067] In another possible example, the power ratio may also be the ratio of the high-frequency power to the low-frequency power in the sixth signal, wherein the larger the signal attenuation value, the smaller the high-frequency attenuation of the sixth signal obtained by sampling based on the sampling phase corresponding to the signal attenuation value. In addition, the signal attenuation value may also be the high-frequency power value in the sixth signal, wherein the smaller the signal attenuation value, the smaller the high-frequency attenuation of the sixth signal obtained by sampling based on the sampling phase corresponding to the signal attenuation value. The signal attenuation value may also be any other value related to the high-frequency power of the signal.

[0068] Exemplarily, the receiving module 41 may include a sampling module. Specifically, the sampling module may be an analog-to-digital converter, which may sample the received first signal based on N sampling phases to obtain N first input signals, where the first input signal is a digital signal. The receiving module 41 may also include a time domain to frequency domain converter, which may convert the digital signal into a frequency domain signal. Thus, the first input signal may be converted from the time domain to the frequency domain for analysis, which may reduce the circuit area related to filtering in the communication device 40, thereby reducing the power consumption and area overhead of the communication device 40.

[0069] Exemplarily, the interference canceller 43 may adopt a multi-input multi-output structure, such as MIMO-EC. The communication device 40 may include multiple receivers and multiple transmitters, multiple input ends of the interference canceller 43 are respectively coupled with the multiple transmitters, and multiple output ends of the interference canceller 43 are coupled with the multiple receivers. The interference canceller 43 can filter out echo interference and near-end crosstalk in the communication device 40.

[0070] Optionally, the phase selector 44 can be configured with N sampling phases, and the phase selector 44 is further configured to send the N sampling phases to the receiving module 41. In addition, N filter coefficients can be stored in the phase selector 44, where the N filter coefficients and the N sampling phases correspond one by one.

[0071] In a possible example, taking 3 sampling phases and 3 filter coefficients as an example, the 3 sampling phases and the 3 filter coefficients correspond one by one. Specifically, the 3 sampling phases are phase1, phase2, and phase3 respectively, and the 3 filter coefficients are coef1, coef2, and coef3 respectively. phase1 corresponds to coef1, phase2 corresponds to coef2, and phase3 corresponds to coef3.

[0072] Specifically, the receiving module 41 samples the received first signal based on phase1 to obtain the first input signal din1. The interference canceller 43 filters the second signal based on coef1 to obtain the filtered second signal SIGN1. The phase selector 44 obtains the signal attenuation value PowR1 based on the first input signal din1 and the filtered second signal SIGN1.

[0073] Correspondingly, the receiving module 41 samples the received first signal based on phase2 to obtain the first input signal din2. The interference canceller 43 filters the second signal based on coef2 to obtain the filtered second signal SIGN2. The phase selector 44 obtains the signal attenuation value PowR2 based on the first input signal din2 and the filtered second signal SIGN2.

[0074] The receiving module 41 samples the received first signal based on phase3 to obtain the first input signal din3. The interference canceller 43 filters the second signal based on coef3 to obtain the filtered second signal SIGN3. The phase selector 44 obtains the signal attenuation value PowR3 based on the first input signal din3 and the filtered second signal SIGN3.

[0075] Thus, if PowR1 < PowR3 < PowR2, and the signal power value is the ratio of the low-frequency power to the high-frequency power, then the phase selector 44 can determine coef1 corresponding to the signal attenuation value PowR1 as the target filter coefficient and configure the target filter coefficient to the interference canceller 43. If PowR1 < PowR3 < PowR2, and the signal power value is the ratio of the high-frequency power to the low-frequency power, then the phase selector 44 can determine coef2 corresponding to the signal attenuation value PowR2 as the target filter coefficient and configure the target filter coefficient to the interference canceller 43.

[0076] Optionally, the interference eliminator 43 is further configured to filter the fifth signal sent by the sending module 42 based on the target filtering coefficient when the communication device is in the third state.

[0077] Exemplarily, the fifth signal may be a data signal transmitted during the data transmission phase.

[0078] Exemplarily, the target filter coefficient of the interference canceller 43 is determined so as to subsequently train the sampling phase and other filter coefficients of the communication device 40, so as to achieve the effect of decoupling the filter coefficient, sampling phase and other filter coefficients of the interference canceller 43, and improve the overall performance of the communication device 40. Among them, other filter coefficients include, for example, filter coefficients for filtering far-end crosstalk and received signal interference by the communication device 40.

[0079] In a possible example, continuing to take the first communication device and the second communication device as examples, in the link establishment phase, the first communication device determines the target filter coefficient of the interference canceller 43, and the second communication device trains the sampling phase and other filter coefficients. In the training phase, the first communication device trains the sampling phase and other filter coefficients based on the interference canceller 43 using the target filter coefficient, and the second communication device trains the filter coefficient of the interference canceller 43 based on the sampling phase and other filter coefficients obtained in the link establishment phase, thereby achieving the effect of decoupling the filter coefficient, sampling phase and other filter coefficients of the interference canceller 43.

[0080] Optionally, in the second state of the communication device, the receiving module 41 is further used to sample the received third signal based on M sampling phases, respectively, to obtain M second input signals, where M is an integer greater than N. The M sampling phases include N sampling phases. The phase selector 44 is also used to obtain M interference values ​​and M filter coefficients based on the M second input signals, respectively. The M filter coefficients include N filter coefficients, and the N sampling phases are the first N sampling phases in the M sampling phases sorted from small to large according to the interference value corresponding to each sampling phase.

[0081] Exemplarily, the second state of the communication device 40 is the state in which the communication device is in the link establishment stage, at which time the first communication device sends a signal and the second communication device remains silent. Thus, the third signal received by the receiving module 41 includes echo interference, near-end crosstalk and other external interference. Since the second input signal is obtained by sampling the third signal by the receiving module 41, the smaller the interference value calculated based on the second input signal, the smaller the echo interference, near-end crosstalk and other external interferences suffered by the communication device.

[0082] In the link establishment phase, the filter coefficients can be preliminarily screened to remove inappropriate filter coefficients, thereby reducing the data processing time of the communication device 40 in the training phase. Thus, the M sampling phases can be sorted from small to large according to the interference value corresponding to each sampling phase, and the sampling phases corresponding to the first N interference values ​​are taken.

[0083] Exemplarily, the interference value may be a signal power value of the second input signal, a signal average power value, a signal high frequency power value, or any other value related to signal power.

[0084] Exemplarily, the phase selector 44 can train the second input signal to obtain the filter coefficient. In one possible example, the training method can be a minimum mean square adaptive algorithm. Specifically, the phase selector 44 can include a parameter-adjustable digital filter. The second input signal generates an output signal through a parameter-adjustable digital filter, and the output signal is compared with the expected signal to form an error signal. The parameters of the parameter-adjustable digital filter are adjusted through an adaptive algorithm to minimize the mean square value of the error signal, and the parameters of the parameter-adjustable filter when the mean square value of the error signal is minimized are used as the filter coefficients.

[0085] Continuing to refer to the above embodiment, taking 4 sampling phases and 4 filter coefficients as an example, the 4 sampling phases and the 4 filter coefficients correspond one to one. Specifically, the 4 sampling phases are phase1, phase2, phase3 and phase4, and the 4 filter coefficients are coef1, coef2, coef3 and coef4. Among them, phase1 corresponds to coef1, phase2 corresponds to coef2, phase3 corresponds to coef3, and phase4 corresponds to coef4.

[0086] Specifically, the receiving module 41 samples the received third signal based on phase1 to obtain the second input signal din'1. The phase selector 44 calculates the interference value pow1 based on the second input signal din'1. In addition, the phase selector 44 also performs training based on the second input signal din'1 to obtain the filter coefficient coef1.

[0087] The receiving module 41 samples the received third signal based on phase2 to obtain a second input signal din'2. The phase selector 44 calculates the interference value pow2 based on the second input signal din'2. In addition, the phase selector 44 also performs training based on the second input signal din'2 to obtain a filter coefficient coef2.

[0088] The receiving module 41 samples the received third signal based on phase3 to obtain the second input signal din'3. The phase selector 44 calculates the interference value pow3 based on the second input signal din'3. Additionally, the phase selector 44 also performs training based on the second input signal din'3 to obtain the filtering coefficient coef3.

[0089] The receiving module 41 samples the received third signal based on phase4 to obtain the second input signal din'4. The phase selector 44 calculates the interference value pow4 based on the second input signal din'4. Additionally, the phase selector 44 also performs training based on the second input signal din'4 to obtain the filtering coefficient coef4.

[0090] Thus, in order to simplify the data processing process during the training phase of the communication device 40, in a possible example, a preliminary screening can be performed among 4 sampling phases to determine 3 sampling phases. If pow1 < pow3 < pow2 < pow4, the phase selector 44 can determine the sampling phases corresponding to pow1, pow2, and pow3. Thus, phase4 can be excluded during the link establishment phase, and the communication device can sample with fewer sampling phases (e.g., 3 sampling phases) during the training phase. Thus, the data processing process during the training phase of the communication device 40 can be simplified.

[0091] Optionally, the communication device 40 may further include a clock data recovery module 45. As Figure 5 shown, Figure 5 This is a schematic structural diagram of another communication device provided by an embodiment of the present application. Figure 5 The identifications of the input and output ends in Figure 4 correspond to the identifications of the input and output ends in Figure 5 Among them, the input end of the clock data recovery module 45 (e.g., Figure 5 the input end j in Figure 5 is coupled to the second output end of the receiving module 41 (e.g.,

[0092] the output end k in

[0093] Figure 5 ), and the output end of the clock data recovery module 45 (e.g.,

[0092] the output end l in

[0093] Figure 5 ) is coupled to the input end h of the receiving module 41.

[0092] Among them, the clock data recovery module 45 is used to send the target sampling phase to the receiving module 41 when the communication device 40 is in the third state. The receiving module 41 is further used to sample the received fourth signal based on the target sampling phase.

[0093] Exemplarily, the third state of the communication device 40 may be a state in which the communication device is in a data transmission stage, that is, the communication devices send data signals to each other. Among them, the fourth signal may be a data signal transmitted between the communication devices. Specifically, the clock data recovery module can extract the receiving synchronization clock from the data signal including large interference and jitter received by the receiving module 41 of the communication device 40, and resample the data signal based on the receiving synchronization clock. That is, the frequency offset of the sampling clock of the receiving module of the transmitting end and the receiving end is tracked and eliminated, as well as the phase jitter of the sampling clock.

[0094] In the above example, in combination with the first signal to the sixth signal, the working principle of the communication device provided in the embodiment of the present application in the first state, the second state and the third state is introduced. For example, when the communication device is in the first state, that is, the training phase, the communication device receives the first signal, and the first signal may include an interactive signal, echo interference, near-end crosstalk, far-end crosstalk and received signal interference; the communication device sends a second signal, and the second signal may include an interactive signal sent to each other between the communication devices during the training phase. Among them, the communication device samples the first signal to obtain a first input signal, and the sixth signal is the sum of the first input signal and the filtered second signal. When the communication device is in the second state, that is, the link establishment phase, the communication device receives the third signal, and the third signal may include echo interference, near-end crosstalk and other external interference. When the communication device is in the third state, that is, the data transmission phase, the communication device receives the fourth signal, and the fourth signal may include a data signal transmitted between the communication devices; the communication device sends the fifth signal, and the fifth signal may include a data signal transmitted between the communication devices.

[0095] Optional, continue to see Figure 5 The communication device 40 may further include a module switch module 46. The first output terminal (eg Figure 5 The output terminal m in the phase selector 44 and the control terminal (eg Figure 5 The coupling end n) is coupled to the second output end (eg, Figure 5 The output terminal o in the clock data recovery module 45 and the control terminal (eg Figure 5 The coupling end p) is coupled.

[0096] The component switch module 46 is used to send an enable signal to the phase selector 44 when the communication device 40 is in the first state. The component switch module 46 is also used to send an enable signal to the phase selector 44 when the communication device 40 is in the second state. The component switch module 46 is also used to send an enable signal to the clock data recovery module 45 when the communication device 40 is in the third state.

[0097] Exemplarily, both the phase selector 44 and the clock data recovery module 45 can generate a sampling phase, and thus, the working states of the phase selector 44 and the clock data recovery module 45 can be controlled by the component switch module 46. Specifically, the state machine in the communication device 40 can send a mode index to control the component switch module 46 to enable the phase selector 44 or enable the clock data recovery module 45. In one possible example, if the mode index is a first value (e.g., 0), the component switch module 46 sends an enable signal to the phase selector 44, and if the mode index is a second value (e.g., 1), the component switch module 46 sends an enable signal to the clock data recovery module 45.

[0098] Exemplarily, the enable signal can be understood as a signal that allows operation. If the phase selector 44 receives the enable signal, the phase selector 44 is in a working state, and if the phase selector 44 does not receive the enable signal, the phase selector 44 is in a non-working state. Correspondingly, if the clock data recovery module 45 receives the enable signal, the clock data recovery module 45 is in a working state, and if the clock data recovery module 45 does not receive the enable signal, the clock data recovery module 45 is in a non-working state.

[0099] Thus, the phase selector 44 can be enabled when the communication device 40 is in the first state and the second state respectively, so as to obtain a plurality of filter coefficients when the communication device 40 is in the second state, and to determine the target filter coefficient when the communication device 40 is in the first state, that is, to determine a better filter coefficient for the interference canceller 43. The clock data recovery module 45 is enabled when the communication device 40 is in the third state, so as to determine a better target sampling phase through the clock data recovery module, thereby improving the phase sensitivity problem of the communication device 40.

[0100] Optional, continue to see Figure 5 The receiving module 41 may include a time domain to frequency domain converter 411, and an output end of the time domain to frequency domain converter 411 is coupled to a first output end a of the receiving module 41. The time domain to frequency domain converter 411 is used to convert the digital signal sampled by the receiving module 41 into a frequency domain signal, and obtain a signal attenuation value based on the frequency domain signal.

[0101] In addition, the receiving module 41 may further include an analog-to-digital converter 412, an equalizer 413, and a frequency-domain-time-domain converter 414. The transmitting module 42 may include a digital-to-analog converter 421 and a transmitting filter 422. The input end of the analog-to-digital converter 412 is coupled to the input end h of the receiving module 41, the output end of the analog-to-digital converter 412 is coupled to the input end of the time-domain-frequency-domain converter 411, the output end of the time-domain-frequency-domain converter 411 is also coupled to the input end of the equalizer 413, the output end of the equalizer 413 is coupled to the input end of the frequency-domain-time-domain converter 414, and the output end of the frequency-domain-time-domain converter 414 is coupled to the second output end k of the receiving module 41.

[0102] Exemplarily, the equalizer 413 may adopt a multi-input multi-output structure, such as MIMO-EQ. The communication device 40 may include multiple receivers, and the input end of the equalizer 413 is coupled to the output end of the time domain frequency domain converter 411 of each receiver, and the output end of the equalizer 413 is coupled to the input end of the frequency domain time domain converter 414 of each receiver.

[0103] Exemplarily, the time domain to frequency domain converter 411 can convert the received signal from the time domain to the frequency domain for analysis, and the frequency domain to time domain converter 414 can convert the frequency domain signal back to the time domain, thereby reducing the circuit area related to filtering in the communication device 40 and reducing the power consumption and circuit area overhead of the communication device 40.

[0104] In one possible example, the time-domain to frequency-domain converter 411 may apply a Fourier transform algorithm to perform the time-domain to frequency-domain conversion. In another possible example, the time-domain to frequency-domain converter 411 may apply a wavelet transform (WT) algorithm to perform the time-domain to frequency-domain conversion.

[0105] Optional, continue to see Figure 5 The communication device 40 may further include a storage module 47, and the output end of the phase selector 44 may be coupled to the interference canceller 43 via the storage module 47. The storage module 47 is used to store the filter coefficients.

[0106] Exemplarily, the storage module 47 may be integrated into the phase selector 44, or the storage module 47 may be a separate functional module. Specifically, the storage module 47 may be a random access memory (RAM) or the like.

[0107] In addition, in order to improve the phase sensitivity problem of the communication device, an embodiment of the present application also proposes a communication device, which can determine a suitable filter coefficient from multiple filter coefficients based on a signal attenuation value and at least one threshold, thereby improving the phase sensitivity problem of the communication device and improving the overall performance of the communication device.

[0108] The following is a detailed introduction to another communication device provided in an embodiment of the present application.

[0109] like Figure 6 As stated, Figure 6 A schematic diagram of the structure of another communication device provided in an embodiment of the present application. The communication device 60 may include a receiving module 61, a sending module 62, and a filter coefficient selector 63. The output end of the receiving module 61 is coupled to the input end of the filter coefficient selector 63, and the output end of the filter coefficient selector 63 is coupled to the input end of the sending module 62.

[0110] Wherein, when the communication device 60 is in the first state, the filter coefficient selector 63 is used to obtain the signal attenuation value of the first signal based on the first signal received by the receiving module 61. The filter coefficient selector 63 is also used to select a filter coefficient from multiple filter coefficients as a target filter coefficient based on the signal attenuation value and at least one threshold. The sending module 62 is used to filter the second signal to be sent based on the target filter coefficient.

[0111] Exemplarily, the first state may be a state in which the communication device 60 is in a link establishment phase, at which time the communication device 60 remains silent, that is, the communication device 60 does not send a signal but receives a signal normally.

[0112] Optional, such as Figure 7 As shown, Figure 7 A structural diagram of another communication device provided in an embodiment of the present application. The receiving module 61 may include an analog-to-digital converter 611, a time-domain frequency-domain converter 612, an equalizer 613, and a frequency-domain time-domain converter 614. The specific implementation of the analog-to-digital converter 611, the time-domain frequency-domain converter 612, the equalizer 613, and the frequency-domain time-domain converter 614 can refer to the description of the above embodiment. The sending module 62 may include a digital-to-analog converter 621 and a transmission filter 622. The specific implementation of the digital-to-analog converter 621 and the transmission filter 622 can refer to the description of the above embodiment. In addition, the communication device 60 may also include a clock data recovery module 64, an interference eliminator 65, and a storage module 66. The specific implementation of the clock data recovery module 64, the interference eliminator 65, and the storage module 66 can also refer to the description of the above embodiment. It can be understood that the storage module 66 can also be integrated in the filter coefficient selector 63. Specifically, the storage module 66 can be a read-only memory (ROM) or the like.

[0113] Optionally, at least one threshold value includes a first threshold value, and the filter coefficient selector 63 is specifically used to select a first filter coefficient from among the multiple filter coefficients as a target filter coefficient when the signal attenuation value is less than the first threshold value. The cutoff frequency corresponding to the first filter coefficient is equal to a preset frequency. The filter coefficient selector 63 is also specifically used to determine that a second filter coefficient from among the multiple filter coefficients is a target filter coefficient when the signal attenuation value is greater than or equal to the first threshold value, and the cutoff frequency corresponding to the second filter coefficient is greater than the preset frequency.

[0114] Exemplarily, the preset frequency may be half the baud rate, that is, the cutoff frequency of the communication device 60 is equal to the frequency bandwidth, which may also be referred to as bandwidth. In a possible example, assuming that the frequency bandwidth of the communication device 60 is 100 MHz, the cutoff frequency corresponding to the first filter coefficient is 100 MHz, and the cutoff frequency corresponding to the second filter coefficient is greater than 100 MHz.

[0115] Exemplarily, a signal attenuation value less than the first threshold value can be understood as the communication device 60 being in a low attenuation environment. In this case, filtering can be performed using a first filter coefficient having a cutoff frequency equal to a preset frequency. The in-band attenuation can be appropriately increased, thereby improving the phase detection capability of the clock data recovery module 64 and improving the phase sensitivity problem of the communication device 60.

[0116] Exemplarily, a signal attenuation value greater than or equal to the first threshold can be understood as the communication device 60 being in a high attenuation environment. In this case, a second filter coefficient having a cutoff frequency greater than a preset frequency can be used for filtering, thereby maintaining in-band flatness, ensuring the performance of the communication device 60, filtering out-of-band signals, and reducing the sensitivity of the sampling phase.

[0117] Among them, the frequency response of different filter coefficients is different. In order to solve the phase sensitivity problem of the communication device 60, a phase-insensitive sampling technology is usually adopted, that is, a zero excess bandwidth transmission filter is adopted to achieve the effect of phase-insensitive sampling. Among them, the zero excess bandwidth transmission filter is a transmission filter that limits the passband within the bandwidth range. According to the Nyquist sampling theorem, the bandwidth of the digital communication system should be equal to half the baud rate, so the zero excess bandwidth transmission filter needs to limit the passband to half the baud rate. Figure 8 As shown, Figure 8 This is an amplitude-frequency response diagram of a transmission filter provided in an embodiment of the present application. Figure 8 The horizontal axis in is the normalized baud rate. Figure 8 The vertical axis is the magnitude. Figure 8 Three types of transmit filters are shown in Figure 1. Figure 8 (a) shows the amplitude-frequency response diagram of the transmission filter 1, Figure 8(b) in FIG. 2 shows the amplitude-frequency response diagram of the transmission filter 2. Figure 8 (c) in the figure shows the amplitude-frequency response diagram of the transmission filter 3. Specifically, the transmission filter 1 is a 28-order transmission filter with 30% additional bandwidth, the transmission filter 2 is a 256-order transmission filter with zero additional bandwidth, and the transmission filter 3 is a 28-order transmission filter with zero additional bandwidth. Among them, the transmission filter 2 can achieve the effect of lossless in-band, but the order of the transmission filter 2 is too high, and the implementation cost is too high. In addition, the transmission filter 1 and the transmission filter 3 have the same order, but the transmission filter 3 will cause loss in the passband, reducing the overall performance of the digital communication system. Therefore, each filter coefficient of the transmission filter has advantages and disadvantages, and the appropriate filter coefficient in this scenario can be determined according to the signal attenuation value and the threshold.

[0118] Exemplarily, the filter coefficient selector 63 can store L filter coefficients, wherein the L filter coefficients correspond to L-1 thresholds, and L is an integer greater than or equal to 2. Taking 3 filter coefficients and 2 thresholds as an example, the 2 thresholds include a first threshold and a second threshold, and the 3 filter coefficients include a first filter coefficient, a second filter coefficient, and a third filter coefficient. Among them, the first filter coefficient corresponds to a zero extra bandwidth of the 28th order, the second filter coefficient corresponds to a 30% extra bandwidth of the 28th order, and the third filter coefficient corresponds to a 50% extra bandwidth of the 28th order. If the signal attenuation value is less than the first threshold, the first filter coefficient can be determined to be the target filter coefficient. If the signal attenuation value is greater than or equal to the first threshold and less than the second threshold, the second filter coefficient can be determined to be the target filter coefficient. If the signal attenuation value is greater than or equal to the second threshold, the third filter coefficient can be determined to be the target filter coefficient. Among them, the first threshold and the second threshold can also be understood as attenuation values. In a possible example, the calculation formula of the attenuation value can be: attenuation value = 10*lg (received signal power / transmitted signal power). The received signal power may be the power of the first signal, and the transmitted signal power may be the power of the transmitted signal of the communication device that transmits the first signal. In another possible example, since the transmitted signal power is a given signal power of the communication device, the attenuation value may be calculated using only the received signal power. Specifically, the first threshold may be 10 dB, and the second threshold may be 30 dB.

[0119] Understandably, Figure 4 or Figure 5 Communication equipment and Figure 6 or Figure 7 The communication devices in the communication device may be the same communication device or different communication devices.

[0120] Applied to the above-mentioned communication device, a data processing method provided in an embodiment of the present application is introduced below.

[0121] like Fig. 9 As shown, Fig. 9 A flowchart of a data processing method provided in an embodiment of the present application. The method includes the following process.

[0122] S901: When the communication device is in a first state, the receiving module samples a received first signal based on N sampling phases to obtain N first input signals, wherein the N sampling phases correspond to N filter coefficients one by one, and N is an integer greater than or equal to 2.

[0123] Exemplarily, the first state may be a state in which the communication devices are in a training phase, that is, the communication devices send interaction signals to each other. The first signal may include the interaction signal and multiple interference signals.

[0124] S902: The interference eliminator filters the second signal sent by the sending module based on N filter coefficients to obtain N filtered second signals.

[0125] S903. The phase selector obtains N signal attenuation values ​​based on the N first input signals and the filtered N second signals respectively.

[0126] Exemplarily, the signal attenuation value may be a power ratio value, or the signal attenuation value may be a signal high-frequency power value or other values ​​related to the signal high-frequency power.

[0127] S904. The phase selector determines the filter coefficient corresponding to the smallest signal attenuation value among the N signal attenuation values ​​as the target filter coefficient.

[0128] Thus, the target filter coefficient of the interference canceller in the link establishment stage can be determined to facilitate the subsequent training of the sampling phase and other filter coefficients, thereby achieving the effect of decoupling the filter coefficient, sampling phase and other filter coefficients of the interference canceller, thereby improving the overall performance of the communication device.

[0129] Optionally, the method may also include: when the communication device is in the second state, the receiving module samples the received third signal based on M sampling phases to obtain M second input signals, M is an integer greater than N, the M sampling phases correspond one-to-one to the M filter coefficients, the M filter coefficients also correspond one-to-one to the M interference values, and the N sampling phases are the first N sampling phases among the M sampling phases sorted from small to large according to the interference value corresponding to each sampling phase.

[0130] Exemplarily, the second state may be a state in which the communication device is in a link establishment stage. The communication device may obtain multiple filter coefficients based on multiple sampling phases in the link establishment stage. At this time, the multiple filter coefficients are all filter coefficients of the interference eliminator. The multiple filter coefficients may also be screened based on the interference value to reduce the data processing process in the subsequent training stage.

[0131] Optionally, the communication device further includes a clock data recovery module, and the method further includes: when the communication device is in the third state, the clock data recovery module sends the target sampling phase to the receiving module. The receiving module samples the received fourth signal based on the target sampling phase.

[0132] Exemplarily, the third state may be a state where the communication device is in a data transmission phase, that is, the communication devices send data signals to each other. The communication device may determine the target sampling phase through a clock data recovery module to improve the phase sensitivity problem of the communication device.

[0133] Optionally, the communication device also includes a component switch module, and the method also includes: the component switch module sends an enable signal to the phase selector when the communication device is in the first state and the second state respectively; the component switch module sends an enable signal to the clock data recovery module when the communication device is in the third state.

[0134] Exemplarily, the component switch module can enable the phase selector to work when sending an enable signal to the phase selector, and can enable the clock data recovery module to work when sending an enable signal to the clock data recovery module. Therefore, the phase selector can be controlled to be in a working state or the clock data recovery module can be controlled to be in a working state through the component switch module. For example, the phase selector is enabled when the communication device is in a first state and a second state, respectively, so as to obtain multiple filter coefficients when the communication device is in the second state, and to determine the target filter coefficient when the communication device is in the first state, that is, to determine a better filter coefficient for the interference eliminator. Alternatively, the clock data recovery module is enabled when the communication device is in a third state, so as to determine the target sampling phase through the clock data recovery module, thereby improving the phase sensitivity problem of the communication device.

[0135] Optionally, the method further includes: when the communication device is in the third state, the interference eliminator filters the fifth signal sent by the sending module based on the target filtering coefficient.

[0136] Exemplarily, after determining the target filter coefficient of the interference canceller, the sampling phase and other filter coefficients can be subsequently trained to achieve the effect of decoupling the filter coefficient, sampling phase and other filter coefficients of the interference canceller, thereby improving the overall performance of the communication device.

[0137] Optionally, the receiving module includes a time domain to frequency domain converter, and the method also includes: the time domain to frequency domain converter converts the digital signal sampled by the receiving module into a frequency domain signal, the frequency domain signal is the first input signal, and obtains a signal attenuation value based on the frequency domain signal and the filtered second signal.

[0138] Exemplarily, the time domain to frequency domain converter can convert the received signal from the time domain to the frequency domain for analysis, which can reduce the circuit area related to filtering in the communication device, and reduce the power consumption and circuit area overhead of the communication device.

[0139] Optionally, the method further includes: a phase selector sending the sampling phase to a receiving module.

[0140] Optionally, the communication device further includes a storage module, and the method further includes: the storage module stores the filter coefficients.

[0141] Applied to the above-mentioned communication device, another data processing method provided in an embodiment of the present application is introduced below.

[0142] like Fig.10 As shown, Fig.10 A flowchart of another data processing method provided in an embodiment of the present application. The method includes the following process.

[0143] S1001. When the communication device is in a first state, a filter coefficient selector obtains a signal attenuation value of a first signal based on a first signal received by a receiving module.

[0144] S1002. A filter coefficient selector selects a filter coefficient from a plurality of filter coefficients as a target filter coefficient based on a signal attenuation value and at least one threshold value.

[0145] S1003. The sending module filters the second signal to be sent based on the target filter coefficient.

[0146] Therefore, the data processing method provided in the embodiment of the present application can determine a suitable filter coefficient from multiple filter coefficients based on the signal attenuation value and at least one threshold value, improve the phase sensitivity problem of the communication device, and improve the overall performance of the communication device.

[0147] Optionally, at least one threshold may include a first threshold, and S1002 may include: when the signal attenuation value is less than the first threshold, the filter coefficient selector selects a first filter coefficient from multiple filter coefficients as the target filter coefficient, and the cutoff frequency corresponding to the first filter coefficient is equal to a preset frequency.

[0148] Optionally, S1002 may further include: when the signal attenuation value is greater than or equal to the first threshold, the filter coefficient selector selects a second filter coefficient from the multiple filter coefficients as the target filter coefficient, and the cutoff frequency corresponding to the second filter coefficient is greater than a preset frequency.

[0149] Exemplarily, if the signal attenuation value is less than the first threshold, it can be understood that the communication device is in a low attenuation environment, and the first filter coefficient corresponding to the cutoff frequency equal to the preset frequency can be used for filtering, and the in-band attenuation can be appropriately increased to improve the phase detection capability of the clock data recovery module to improve the phase sensitivity problem of the communication device. If the signal attenuation value is greater than or equal to the first threshold, it can be understood that the communication device is in a high attenuation environment, and the second filter coefficient corresponding to the cutoff frequency greater than the preset frequency can be used for filtering, which can maintain in-band flatness, ensure the performance of the communication device, filter out-of-band signals, and reduce the sensitivity of the sampling phase.

[0150] It is understandable that in order to implement the above functions, the electronic device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of the present application.

[0151] In this embodiment, the electronic device can be divided into functional modules according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0152] The embodiment of the present application also provides an electronic device, including one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions. When the one or more processors execute the computer instructions, the electronic device executes the above-mentioned related method steps to implement the data processing method in the above-mentioned embodiment.

[0153] An embodiment of the present application further provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the data processing method in the above-mentioned embodiment.

[0154] The embodiments of the present application further provide a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement the data processing method executed by the electronic device in the above-mentioned embodiments.

[0155] In addition, an embodiment of the present application also provides a device, which may specifically be a chip, a component or a module, and the device may include a connected processor and a memory; wherein the memory is used to store computer execution instructions, and when the device is running, the processor may execute the computer execution instructions stored in the memory so that the chip executes the data processing method performed by the electronic device in the above-mentioned method embodiments.

[0156] Among them, the electronic device, computer storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above and will not be repeated here.

[0157] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0158] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0159] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0160] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, 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 in the form of software functional units.

[0161] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0162] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A communication device, characterized in that: The invention comprises a receiving module, a sending module, an interference canceller and a phase selector, wherein a first output end of the receiving module is coupled to an input end of the phase selector, an output end of the sending module is coupled to a first input end of the interference canceller, a first output end of the phase selector is coupled to a second input end of the interference canceller, a second output end of the phase selector is coupled to an input end of the receiving module, and an output end of the interference canceller is coupled to an input end of the phase selector; When the communication device is in a first state, The receiving module is used to sample the received first signal based on N sampling phases respectively to obtain N first input signals, wherein the N sampling phases correspond to N filter coefficients one by one, and N is an integer greater than or equal to 2; The interference canceller is used to filter the second signal sent by the sending module based on the N filter coefficients respectively to obtain N filtered second signals; The phase selector is used to obtain N signal attenuation values ​​based on the N first input signals and the N filtered second signals respectively; The phase selector is further used to determine the filter coefficient corresponding to the smallest signal attenuation value among the N signal attenuation values ​​as the target filter coefficient.

2. The communication device according to claim 1, characterized in that When the communication device is in the second state, The receiving module is further configured to sample the received third signal based on M sampling phases respectively to obtain M second input signals, where M is an integer greater than N, and the M sampling phases include the N sampling phases; The phase selector is further used to obtain M interference values ​​and M filter coefficients based on the M second input signals respectively, the M filter coefficients include the N filter coefficients, and the N sampling phases are the first N sampling phases among the M sampling phases sorted from small to large according to the interference value corresponding to each sampling phase.

3. The communication device according to claim 1 or 2, characterized in that: The communication device further comprises: a clock data recovery module, an input end of the clock data recovery module is coupled to the second output end of the receiving module, and an output end of the clock data recovery module is coupled to the input end of the receiving module; When the communication device is in a third state, The clock data recovery module is used to send the target sampling phase to the receiving module; The receiving module is further configured to sample the received fourth signal based on the target sampling phase.

4. The communication device according to any one of claims 1 to 3, characterized in that: The communication device further comprises: a component switch module, a first output end of the component switch module is coupled to the control end of the phase selector, and a second output end of the component switch module is coupled to the control end of the clock data recovery module; The component switch module is used to send an enable signal to the phase selector when the communication device is in the first state and the second state respectively; The component switch module is further configured to send the enable signal to the clock data recovery module when the communication device is in the third state.

5. The communication device according to claim 1, characterized in that The interference eliminator is further configured to filter the fifth signal sent by the sending module based on the target filtering coefficient when the communication device is in the third state.

6. The communication device according to claim 1, characterized in that The receiving module includes: a time domain and frequency domain converter; The time-domain to frequency-domain converter is used to convert the digital signal sampled by the receiving module into a frequency-domain signal, where the frequency-domain signal is the first input signal, and obtain the signal attenuation value based on the frequency-domain signal and the filtered second signal.

7. The communication device according to any one of claims 1 to 6, characterized in that: The signal attenuation value is a power ratio, and the power ratio is the ratio of the power of the signal of the first frequency to the power of the signal of the second frequency in the sixth signal. The sixth signal is the sum of the first input signal and the filtered second signal, and the first frequency is less than the second frequency.

8. The communication device according to any one of claims 1 to 7, characterized in that: The phase selector is further used to send the sampling phase to the receiving module.

9. The communication device according to any one of claims 1 to 8, characterized in that: The communication device further includes: a storage module; The storage module is used to store the filter coefficients.

10. A communication device, characterized in that: include: A receiving module, a sending module and a filter coefficient selector, wherein the output end of the receiving module is coupled to the input end of the filter coefficient selector, and the output end of the filter coefficient selector is coupled to the input end of the sending module; When the communication device is in a first state, The filter coefficient selector is used to obtain a signal attenuation value of the first signal based on the first signal received by the receiving module; The filter coefficient selector is further used to select a filter coefficient from a plurality of filter coefficients as a target filter coefficient based on the signal attenuation value and at least one threshold value; The sending module is used to filter the second signal to be sent based on the target filter coefficient.

11. The communication device according to claim 10, characterized in that The at least one threshold includes a first threshold, and the filter coefficient selector is specifically used to select a first filter coefficient from the multiple filter coefficients as the target filter coefficient when the signal attenuation value is less than the first threshold, and the cutoff frequency corresponding to the first filter coefficient is equal to a preset frequency.

12. The communication device according to claim 11, characterized in that The filter coefficient selector is further specifically used to select a second filter coefficient from the multiple filter coefficients as the target filter coefficient when the signal attenuation value is greater than or equal to the first threshold, and the cutoff frequency corresponding to the second filter coefficient is greater than the preset frequency.

13. A data processing method, characterized in that: The method is applied to a communication device, the communication device comprising: a receiving module, a sending module, an interference canceller and a phase selector; the method comprises: When the communication device is in a first state, The receiving module samples the received first signal based on N sampling phases respectively to obtain N first input signals, wherein the N sampling phases correspond to N filter coefficients one by one, and N is an integer greater than or equal to 2; The interference canceller filters the second signal sent by the sending module based on the N filter coefficients to obtain N filtered second signals; The phase selector obtains N signal attenuation values ​​based on the N first input signals and the N filtered second signals respectively; The phase selector determines that the filter coefficient corresponding to the smallest signal attenuation value among the N signal attenuation values ​​is the target filter coefficient.

14. The method according to claim 13, characterized in that The method further comprises: When the communication device is in the second state, the receiving module samples the received third signal based on M sampling phases respectively to obtain M second input signals, where M is an integer greater than N, and the M sampling phases correspond one-to-one to M filter coefficients, and the M filter coefficients also correspond one-to-one to M interference values. The N sampling phases are the first N sampling phases among the M sampling phases sorted from small to large according to the interference value corresponding to each sampling phase.

15. The method according to claim 13 or 14, characterized in that The communication device further includes: a clock data recovery module, and the method further includes: When the communication device is in the third state, the clock data recovery module sends the target sampling phase to the receiving module; The receiving module samples the received fourth signal based on the target sampling phase.

16. The method according to any one of claims 13 to 15, characterized in that: The communication device further includes: a component switch module, and the method further includes: The component switch module sends an enable signal to the phase selector when the communication device is in the first state and the second state respectively; The component switch module sends the enable signal to the clock data recovery module when the communication device is in the third state.

17. The method according to claim 13, characterized in that The method further includes: when the communication device is in a third state, the interference canceller filters the fifth signal sent by the sending module based on the target filter coefficient.

18. The method according to claim 13, characterized in that The receiving module includes: a time domain and frequency domain converter, and the method further includes: The time domain to frequency domain converter converts the digital signal sampled by the receiving module into a frequency domain signal, where the frequency domain signal is the first input signal, and obtains the signal attenuation value based on the frequency domain signal and the filtered second signal.

19. The method according to any one of claims 13 to 18, characterized in that: The signal attenuation value is a power ratio, and the power ratio is the ratio of the power of the signal of the first frequency to the power of the signal of the second frequency in the sixth signal. The sixth signal is the sum of the first input signal and the filtered second signal, and the first frequency is less than the second frequency.

20. The method according to any one of claims 13 to 19, characterized in that: The method further comprises: The phase selector sends the sampling phase to the receiving module.

21. The method according to any one of claims 13 to 20, characterized in that: The communication device further includes: a storage module, and the method further includes: The storage module stores the filter coefficients.

22. A data processing method, characterized in that: The method is applied to a communication device, the communication device includes a receiving module, a sending module and a filter coefficient selector, and the method includes: When the communication device is in a first state, the filter coefficient selector obtains a signal attenuation value of the first signal based on a first signal received by the receiving module; The filter coefficient selector selects a filter coefficient from a plurality of filter coefficients as a target filter coefficient based on the signal attenuation value and at least one threshold value; The sending module filters the second signal to be sent based on the target filter coefficient.

23. The method according to claim 22, characterized in that The at least one threshold value includes a first threshold value, and the filter coefficient selector selects a filter coefficient from a plurality of filter coefficients as a target filter coefficient based on the signal attenuation value and the at least one threshold value, including: When the signal attenuation value is less than the first threshold, the filter coefficient selector selects a first filter coefficient among the multiple filter coefficients as the target filter coefficient, and a cutoff frequency corresponding to the first filter coefficient is equal to a preset frequency.

24. The method according to claim 23, characterized in that The filter coefficient selector selects a filter coefficient from a plurality of filter coefficients as a target filter coefficient based on the signal attenuation value and at least one threshold value, and further includes: When the signal attenuation value is greater than or equal to the first threshold, the filter coefficient selector selects a second filter coefficient from the multiple filter coefficients as the target filter coefficient, and a cutoff frequency corresponding to the second filter coefficient is greater than the preset frequency.

25. An electronic device, characterized in that: The electronic device includes one or more processors and one or more memories, which are coupled to the one or more processors. The one or more memories are used to store computer program code, and the computer program code includes computer instructions. When the one or more processors execute the computer instructions, the electronic device executes any one of the methods described in claims 13-21 or any one of claims 22-24.

26. A computer-readable storage medium, characterized in that: The method comprises computer instructions, which, when executed on an electronic device, cause the electronic device to execute the method described in any one of claims 13 to 21 or any one of claims 22 to 24.