Signal processing method and electronic equipment

By identifying and eliminating the high-order harmonic components of low-frequency signals in the signal processing method, the problem of low-frequency signals interfering with radio frequency signals in electronic devices is solved, and efficient signal interference cancellation is achieved.

CN121750113APending Publication Date: 2026-03-27HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

As electronic devices become smaller, the traces on PCBs become increasingly complex, causing high-frequency harmonic components of low-frequency signals to interfere with radio frequency signals. Existing technologies struggle to effectively eliminate this interference.

Method used

By determining whether there are interference signals in the signal in the signal processing method, obtaining its parameters, and configuring the corresponding modules to eliminate the interference signals, specifically including the processing of signal amplitude, period and pulse width, the high-order harmonic components of low-frequency signals can be eliminated.

Benefits of technology

It effectively eliminates the interference of low-frequency signals on radio frequency signals, improves the accuracy of signal processing, and avoids affecting normal signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121750113A_ABST
    Figure CN121750113A_ABST
Patent Text Reader

Abstract

The embodiment of the invention is suitable for the technical field of radio frequency, provides a signal processing method and electronic equipment, and can eliminate the interference of a low-frequency signal (such as a control signal) on a radio-frequency signal. The electronic equipment comprises a first channel, a second channel and a radio frequency front-end module, the second channel comprises a first module, the first module is used for eliminating a first interference signal in a first signal, whether the first interference signal exists in the first signal or not is firstly determined, and if the first interference signal exists in the first signal, a first parameter of the first interference signal is determined; the method comprises the following steps: firstly, determining a first parameter of a first module, then determining configuration information of the first module according to the first parameter, configuring the first module according to the configuration information, and finally, processing a first signal through the first module to obtain a second signal which is a signal obtained by eliminating a first interference signal in the first signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of radio frequency technology, and more specifically, to a signal processing method and an electronic device. Background Technology

[0002] As electronic devices become smaller, their internal structures become increasingly compact, leading to more complex routing on printed circuit boards (PCBs).

[0003] Increasingly complex PCB traces can lead to more severe signal interference. In some cases, high-frequency harmonic components of control signals transmitted at lower frequencies may interfere with higher-frequency radio frequency (RF) signals. The spectrum of the interfered RF signal is not significantly different from that of the normal RF signal, making it impossible to eliminate the anomaly in the control signal using conventional methods.

[0004] Therefore, how to eliminate the interference of low-frequency signals on radio frequency signals has become an urgent problem to be solved. Summary of the Invention

[0005] This application provides a signal processing method that can eliminate the interference of low-frequency signals on radio frequency signals.

[0006] A first aspect provides a signal processing method applied to an electronic device, the electronic device including a first channel, a second channel, a radio frequency (RF) front-end module, and a modem processor, wherein the modem processor is connected to the second channel, the second channel is connected to the RF front-end module, a third signal is transmitted in the first channel, the third signal is crosstalked to the second channel through the RF front-end module, and a crosstalked first signal is transmitted in the second channel, the second channel including a first module, the first module being used to eliminate the first interference signal in the first signal to obtain the second signal, the method including:

[0007] Determine whether a first interference signal exists in the first signal;

[0008] If a first interference signal exists in the first signal, determine the first parameter of the first interference signal;

[0009] The configuration information of the first module is determined based on the first parameter, and the first module is configured according to the configuration information;

[0010] The first module processes the first signal to obtain the second signal, which is the signal obtained by eliminating the first interference signal in the first signal.

[0011] The signal processing method provided in this application is applied in an electronic device, wherein the electronic device includes a first channel, a second channel, and a radio frequency front-end module. The second channel includes a first module, which is used to eliminate a first interference signal in a first signal. The method includes: determining whether a first interference signal exists in the first signal, and the first interference signal has an anomaly in the time domain of the first signal. If a first interference signal exists in the first signal, determining a first parameter of the first interference signal, then determining the configuration information of the first module according to the first parameter, and configuring the first module according to the configuration information. Finally, the first signal is processed by the first module to obtain a second signal, which is the signal obtained by eliminating the first interference signal in the first signal. Since the first interference signal has an anomaly in the time domain expression of the first signal, the first interference signal is usually generated by crosstalk of high-order harmonic components of low-frequency signals. The signal processing method provided in this application can eliminate the first interference signal generated by low-frequency signal crosstalk in the first signal through the first module, thereby realizing the function of eliminating the interference of low-frequency signals (e.g., control signals) on radio frequency signals.

[0012] In conjunction with the first aspect, in some embodiments of the first aspect, the first parameter includes the signal period and signal amplitude of the first interference signal.

[0013] In some possible cases, the first interference signal is a periodically changing signal. Since the first parameter may include the signal period and signal amplitude of the first interference signal, the first module can be configured according to the signal period and signal amplitude of the first interference signal so that when the first signal passes through the first module, the first signal can be processed at the time indicated by the signal period of the first interference signal to eliminate the first interference signal in the first signal, thereby realizing the function of eliminating the interference of low frequency signals (such as control signals) on radio frequency signals.

[0014] In conjunction with the first aspect, in some embodiments of the first aspect, the above-mentioned processing of the first signal by the first module to obtain the second signal includes: the first module subtracting the signal amplitude of the first interference signal from the signal amplitude of the first signal at a first moment to obtain the second signal, wherein the first moment is the moment when the first interference signal appears.

[0015] For example, when the first signal passes through the first module, the first module can subtract the signal amplitude indicated by the first parameter from the signal of the first signal at the first moment to eliminate the first interference signal in the first signal and obtain the second signal. For instance, if the signal amplitude of the first interference signal indicated by the first parameter is 10dB, then when the first signal passes through the first module, the first module can subtract 10dB from the signal of the first signal at the first moment to eliminate the first interference signal in the first signal and obtain the second signal, thus realizing the function of eliminating the interference of low-frequency signals (such as control signals) on radio frequency signals.

[0016] By subtracting the signal amplitude indicated by the first parameter from the signal at the first moment of the first signal, and subtracting the corresponding value from the signal corresponding to the width of the pulse signal in the first interference signal, a second signal is obtained. This allows the removal of the first interference signal from the first signal based on its signal amplitude, improving the accuracy of eliminating the first interference signal in the first signal while avoiding interference with normal signals. In conjunction with the first aspect, in some embodiments of the first aspect, the above-described processing of the first signal by the first module to obtain the second signal includes: the first module setting the signal amplitude of the first signal at the first moment of the first moment to 0 to obtain the second signal, where the first moment is the moment when the first interference signal appears.

[0017] For example, when the first signal passes through the first module, the first module can set the signal amplitude of the first signal to 0 at the first moment to obtain the second signal, thereby realizing the function of eliminating the interference of low-frequency signals (such as control signals) on radio frequency signals.

[0018] By setting the amplitude of the first signal to 0 at the first moment and also setting the amplitude corresponding to the width of the pulse signal in the first interference signal to 0, the first interference signal in the first signal is eliminated, and the second signal is obtained. This reduces the difficulty of eliminating the first interference signal in the first signal.

[0019] In conjunction with the first aspect, in some embodiments of the first aspect, the first parameter mentioned above further includes the pulse width of the first interference signal.

[0020] In conjunction with the first aspect, in some embodiments of the first aspect, the above-mentioned processing of the first signal by the first module to obtain the second signal includes: the first module subtracting the corresponding signal amplitude from the signal within the pulse width of the first interference signal in the first signal to obtain the second signal.

[0021] In some possible cases, the first interference signal can be a periodically varying pulse signal. The first parameters may include the signal period, signal amplitude, and pulse width of the first interference signal. The first module can be configured according to the signal period, signal amplitude, and pulse width of the first interference signal so that when the first signal passes through the first module, it can process the first signal within the pulse width at the time indicated by the signal period of the first interference signal to eliminate the first interference signal in the first signal, thereby realizing the function of eliminating the interference of low-frequency signals (such as control signals) on radio frequency signals.

[0022] By subtracting the signal amplitude indicated by the first parameter from the signal at the first moment of the first signal, and subtracting the corresponding value from the signal corresponding to the width of the pulse signal in the first interference signal, the second signal is obtained. This can remove the first interference signal based on the signal amplitude of the first interference signal in the first signal, thereby improving the accuracy of eliminating the first interference signal in the first signal, while avoiding the influence on the normal signal.

[0023] In conjunction with the first aspect, in some embodiments of the first aspect, the above-mentioned processing of the first signal by the first module to obtain the second signal includes: the first module setting the signal amplitude within the pulse width of the first interference signal in the first signal to 0, thereby obtaining the second signal.

[0024] In conjunction with the first aspect, in some embodiments of the first aspect, the aforementioned first channel is a MIPI control signal channel.

[0025] It should be understood that the MIPI control signal channel is usually used to transmit MIPI control signals, which are signals used to control radio frequency circuits. Therefore, there is usually a connection between the MIPI control signal channel and the radio frequency channel, and the probability of MIPI control signal crosstalk to the radio frequency channel is higher.

[0026] In conjunction with the first aspect, in some embodiments of the first aspect, the aforementioned first channel is a control signal channel in a camera module.

[0027] In conjunction with the first aspect, in some embodiments of the first aspect, the first channel is an I2C channel.

[0028] In conjunction with the first aspect, in some embodiments of the first aspect, the second channel described above is a radio frequency channel.

[0029] In a second aspect, an electronic device is provided, comprising a first channel, a second channel, a radio frequency front-end module, and a modem processor, wherein the modem processor is connected to the second channel, the second channel is connected to the radio frequency front-end module, a third signal is transmitted in the first channel, the third signal is crosstalked to the second channel through the radio frequency front-end module, and a crosstalked first signal is transmitted in the second channel, the second channel including a first module, the first module being used to eliminate the first interference signal in the first signal to obtain the second signal.

[0030] In conjunction with the second aspect, in some embodiments of the second aspect, the second channel is a radio frequency (RF) channel, and the second channel further includes a transmitting sub-channel and a receiving sub-channel, wherein the transmitting sub-channel is used to transmit RF signals and the receiving sub-channel is used to receive RF signals.

[0031] In conjunction with the second aspect, in some embodiments of the second aspect, the first channel is a MIPI control signal channel, and the first channel is connected to the modem processor and the radio frequency front-end module respectively.

[0032] In conjunction with the second aspect, in some embodiments of the second aspect, the above-mentioned electronic device further includes a serial transmission module, and the receiving sub-channel includes an I-channel transmission channel and a Q-channel transmission channel; the first module is connected to the serial transmission module, the I-channel transmission channel, and the Q-channel transmission channel respectively; the first signal includes a first I-channel signal and a first Q-channel signal; the first module is used to eliminate interference signals in the first I-channel signal to obtain a second I-channel signal, and to eliminate interference signals in the first Q-channel signal to obtain a second Q-channel signal; wherein the second I-channel signal and the second Q-channel signal are parallel signals, and the serial transmission module converts the parallel second I-channel signal and the second Q-channel signal into serial second I-channel signal and second Q-channel signal, and sends the serial second I-channel signal and the second Q-channel signal to the modem processor.

[0033] Thirdly, a signal processing apparatus is provided, including a unit for performing any of the methods in the first aspect. The apparatus may be a server, a terminal device, or a chip within a terminal device. The apparatus may include an input unit and a processing unit.

[0034] When the device is a terminal device, the processing unit may be a processor, and the input unit may be a communication interface; the terminal device may also include a memory for storing computer program code, which, when the processor executes the computer program code stored in the memory, causes the terminal device to perform either the first aspect or the second aspect.

[0035] When the device is a chip within a terminal device, the processing unit can be an internal processing unit of the chip, and the input unit can be an input interface, pin, or circuit, etc.; the chip may also include a memory, which can be an internal memory of the chip (e.g., registers, cache, etc.) or an external memory (e.g., read-only memory, random access memory, etc.); the memory is used to store computer program code, and when the processor executes the computer program code stored in the memory, the chip performs any of the methods in the first aspect.

[0036] In one possible implementation, a memory is used to store computer program code; a processor executes the computer program code stored in the memory. When the computer program code stored in the memory is executed, the processor performs the following: determining whether a first interference signal exists in a first signal; if the first interference signal exists in the first signal, determining a first parameter of the first interference signal; determining configuration information of a first module based on the first parameter, and configuring the first module according to the configuration information; and processing the first signal through the first module to obtain a second signal, wherein the second signal is a signal obtained by eliminating the first interference signal in the first signal.

[0037] Fourthly, a computer-readable storage medium is provided, the computer-readable storage medium storing computer program code, which, when executed by a signal processing apparatus, causes the signal processing apparatus to perform any of the signal processing methods in the first aspect.

[0038] Fifthly, a computer program product is provided, the computer program product comprising: computer program code, which, when executed by a signal processing apparatus, causes the signal processing apparatus to perform any of the apparatus methods in the first aspect.

[0039] The signal processing method and electronic device provided in this application embodiment include a first channel, a second channel, and a radio frequency front-end module. The second channel includes a first module, which is used to eliminate a first interference signal in a first signal. The method includes: determining whether a first interference signal exists in the first signal, and if the first interference signal has an anomaly in the time domain of the first signal, determining a first parameter of the first interference signal if the first interference signal exists, then determining the configuration information of the first module according to the first parameter, configuring the first module according to the configuration information, and finally processing the first signal through the first module to obtain a second signal, which is the signal obtained by eliminating the first interference signal in the first signal. Since the first interference signal has an anomaly in the time domain expression of the first signal, the first interference signal is usually generated by crosstalk of high-order harmonic components of low-frequency signals. The signal processing method provided in this application embodiment can eliminate the first interference signal generated by low-frequency signal crosstalk in the first signal through the first module, thereby realizing the function of eliminating the interference of low-frequency signals (e.g., control signals) on radio frequency signals. Attached Figure Description

[0040] Figure 1 This is a schematic diagram of a hardware system for an electronic device applicable to this application;

[0041] Figure 2 This is a schematic diagram of a control signal;

[0042] Figure 3 This is a schematic diagram illustrating an application scenario provided in an embodiment of this application;

[0043] Figure 4 This is a schematic diagram illustrating an application scenario provided in an embodiment of this application;

[0044] Figure 5 This is a frequency domain diagram showing a point-frequency interference signal.

[0045] Figure 6 This is a time-domain schematic diagram showing the presence of point-frequency interference signals;

[0046] Figure 7 This is a time-domain schematic diagram for eliminating point frequency interference signals;

[0047] Figure 8 This is a schematic diagram of the Q-channel and I-channel time-domain signals that contain time-domain interference signals;

[0048] Figure 9 This is a frequency domain diagram of a time-domain interference signal and a normal signal;

[0049] Figure 10 This is a schematic diagram comparing the frequency domain with and without time-domain interference signals;

[0050] Figure 11 This is a schematic flowchart of a signal processing method provided in an embodiment of this application;

[0051] Figure 12 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;

[0052] Figure 13 This is a schematic diagram of the Q-channel and I-channel time-domain signals that contain time-domain interference signals;

[0053] Figure 14 This is a schematic diagram of a normal distribution of data.

[0054] Figure 15 This is a schematic diagram of the structure of another electronic device provided in an embodiment of this application;

[0055] Figure 16 This is a schematic diagram of the structure of another electronic device provided in an embodiment of this application;

[0056] Figure 17 This is a schematic diagram of an RSSI with time-domain interference signal provided in an embodiment of this application;

[0057] Figure 18 This is a schematic diagram of a signal that contains time-domain interference signals and has not undergone the signal processing method provided in the embodiments of this application.

[0058] Figure 19 This is a schematic diagram of a signal that contains time-domain interference signals and has undergone the signal processing method provided in the embodiments of this application. Detailed Implementation

[0059] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; "and / or" in this text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

[0060] Hereinafter, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first," "second," or "third" may explicitly or implicitly include one or more of that feature.

[0061] For ease of understanding, the examples provided are for reference only and are related to the concepts in the embodiments of this application.

[0062] 1. Time-domain characteristics of the signal.

[0063] The time-domain characteristics of a signal are used to characterize its dynamic changes over time; that is, the horizontal axis represents time, and the vertical axis represents the change (amplitude) of the signal. In communication signal processing, time-domain analysis helps to understand the transmission characteristics and reception performance of a signal.

[0064] 2. The spectrum of the signal.

[0065] The spectrum of a signal is used to characterize its features in the frequency domain, namely its frequency and amplitude. It displays the frequency structure of a signal by converting it from a time-domain signal (a signal that varies with time) to a frequency-domain expression (a signal that varies with frequency). In the frequency domain, the amplitude and frequency of a signal do not change with time, making the analysis of the frequency components of a signal more intuitive and convenient. Frequency-domain signals are typically represented by a spectrum graph, with the horizontal axis representing frequency and the vertical axis representing the amplitude of the signal at that frequency.

[0066] Frequency domain signals can be derived from time domain signals through Fourier transform. The Fourier transform is a mathematical method that decomposes a signal into a sum of complex sine and cosine functions, where the frequency and amplitude of each sine and cosine function can be calculated. Through the Fourier transform, the components of the signal at different frequencies can be obtained, thus yielding the frequency domain representation of the signal. In communication systems, frequency domain signal processing is used for signal modulation, demodulation, and spectrum analysis.

[0067] 3. I / Q data.

[0068] I / Q data, or In-phase and Quadrature data, are two commonly used complex components in wireless communication systems to describe the phase and amplitude information of a signal. I / Q data uses two orthogonal components to represent the phase and amplitude information of a signal, thus preserving the complete information of the signal. Therefore, I / Q data can be widely used in wireless communication, radar systems, satellite communication and navigation systems, and other fields.

[0069] Wherein, the I component represents the in-phase component of the signal, that is, the component that is in phase with the reference signal.

[0070] Q component: Represents the quadrature component of the signal, that is, the component that is 90 degrees out of phase with the reference signal.

[0071] I / Q modulation involves dividing a digital signal into a real part (I component) and an imaginary part (Q component), multiplying each part by two mutually orthogonal carrier signals, and then adding or subtracting the two product signals to obtain the modulated analog signal. This modulation method can fully utilize the channel's bandwidth resources and improve data transmission rates. Through I / Q modulation and demodulation techniques, efficient signal transmission and reception can be achieved.

[0072] 4. Signal decomposition.

[0073] Signal decomposition refers to breaking down a complex signal into a series of simpler signals. In signal processing, signal decomposition is typically achieved using Fourier series or Fourier transforms. Fourier series decomposition can represent any periodic signal as a linear combination of a series of sine and cosine functions with different frequencies, amplitudes, and phases.

[0074] For a continuous-time periodic signal x(t) with period T, its Fourier series expansion can be expressed as:

[0075]

[0076] Where f0 = 1 / T, represents the fundamental frequency, and c n This represents the Fourier series. n represents the harmonic order. When n = 0, the corresponding signal component is the DC component; when n = 1, the corresponding signal component is the fundamental component; when n > 1, the corresponding signal component is the higher harmonic component.

[0077] The expression for higher harmonic components can be:

[0078]

[0079] It should be noted that higher harmonic components of a signal can also interfere with other signals. For example, the 15th harmonic component of a 52MHz MIPI control signal has a frequency of 52*15=780MHz. Therefore, the 15th harmonic component of a 52MHz MIPI control signal may interfere with other signals operating at 780MHz.

[0080] The signal processing method provided in this application can be applied to electronic devices. Optionally, the electronic device includes a terminal device, which can also be called a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The terminal device can be a mobile phone, smart TV, wearable device, tablet computer, computer with wireless transceiver function, virtual reality (VR) terminal device, augmented reality (AR) terminal device, wireless terminal in industrial control, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, etc. The embodiments of this application do not limit the specific technology or device form used in the terminal device.

[0081] Figure 1 This diagram illustrates a possible structure for an electronic device 100, which may include a radio frequency (RF) circuit 10, multiple antennas 15, a processor 16, and a memory 17. The RF circuit 10 includes a baseband chip 11, a radio frequency integrated circuit (RFIC) 12, an RF front-end 13, and a MIPI driver 14. The MIPI driver 14 can be a standalone device, integrated into the RFIC 12, or integrated with the baseband chip 11 and the processor 16 in a system-on-chip (SoC).

[0082] The processor 16 involved in this application embodiment can be a chip. For example, it can be a field-programmable gate array (FPGA), an application-specific integrated circuit (ASIC), a central processing unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), or other integrated chips. The processor 16 can also be called an application processor (AP). The processor 16 can receive data from or transmit data through the radio frequency circuit 10.

[0083] The memory 17 involved in this application embodiment can be volatile memory or non-volatile memory, or it can include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory used in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0084] The radio frequency circuit 10 can realize wireless communication technologies such as 2nd generation (2G), 3rd generation (3G), 4th generation (4G), and 5th generation (5G). The radio frequency circuit 10 can also provide wireless communication technologies applied to the electronic device 10, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), and near field communication (NFC).

[0085] In the RF circuit 10, the RF front-end 13 includes multiple LNAs, power amplifiers (PAs), RF front-end switches, and other devices. The LNAs are used to amplify the RF signals received by the receiving channel, the PAs are used to amplify the RF signals transmitted by the transmitting channel, and the filters are used to filter the RF signals.

[0086] The baseband chip 11, also known as a modem, is used for modulation and demodulation of baseband signals, digital filtering, equalization processing, etc., and also for controlling the devices in the RF front-end via the MIPI driver 14. For example, the MIPI driver 14 is connected to various devices in the RF front-end 13 (such as the aforementioned PA, LNA, and RF front-end switch) via the MIPI RFFE bus, thereby controlling the various devices in the RF front-end 13. The RFIC 12 is used to convert the baseband signal from the baseband chip 11 into an RF signal, which is then transmitted through the RF front-end 13 and the antenna 15. Alternatively, it can receive RF signals through the antenna 15 and the RF front-end 13, convert them into baseband signals, and send them to the baseband chip 11. The memory 17 can store computer program instructions for execution by the controller (e.g., the baseband chip 11, the processor 16). The MIPI driver 14 also includes a memory for storing computer program instructions for execution by the MIPI driver 14, thereby executing the signal processing methods involved in the embodiments of this application.

[0087] In the traditional control scheme for LNA gain updates, the MIPI driver 14 sends a gain control command to the LNA of each receiving channel via the MIPI RFFE bus in each subframe. The gain control command is used to set the gain of the LNA, thereby performing automatic gain control (AGC) on the LNA to adapt to changes in the communication network.

[0088] The MIPI driver 14 can send gain control commands to the LNA as follows: Figure 2 As shown, this includes clock signals and data signals. The clock signal can be a pulse signal with an operating frequency of 52MHz, and each pulse signal can be composed of multiple periodically repeating waveforms. For example, as... Figure 2 As shown, a clock signal pulse can be formed by the periodic repetition of multiple square waves or similar square wave signals. In some possible cases, when the clock signal is a 52MHz pulse signal, the frequency of the 15th harmonic component of the 52MHz clock signal is 780MHz. In some possible cases, when the clock signal is a 26MHz pulse signal, the frequency of the 30th harmonic component of the 26MHz clock signal is 780MHz.

[0089] The application scenarios provided by the embodiments of this application are described below with reference to the accompanying drawings.

[0090] It is understood that higher harmonic components of signals operating at lower frequencies can interfere with radio frequency (RF) signals at the same frequency. For example, RF signals operating at higher frequencies have shorter wavelengths and are more susceptible to interference from other signals. The signal processing method provided in this application can prevent higher harmonic components of signals operating at lower frequencies from interfering with RF signals. Exemplarily, the signal processing method provided in this application can be applied in at least the following scenarios.

[0091] Scene 1.

[0092] like Figure 3As shown, the control signal sent by the MIPI driver 14 is typically a low-frequency signal. The higher harmonic components of this control signal can crosstalk into the RFIC 12 via the RF front-end 13. For example, the 15th harmonic component of a 52MHz control signal has a frequency of 780MHz. Simultaneously, the operating frequency of the RF signal transmitted in the RFIC 12 can also be 780MHz, the same as the 15th harmonic component of the 52MHz control signal. When the 52MHz control signal crosstalks into the RFIC 12 via the RF front-end 13, because the frequency of the 15th harmonic component of the 52MHz control signal is the same as the operating frequency of the RF signal transmitted in the RFIC 12, the 52MHz control signal will interfere with the RF signal received by the electronic device.

[0093] In some possible cases, the higher harmonic components of the control signal can also crosstalk into RFIC 12 through other channels, which is not limited in this application embodiment.

[0094] The signal processing method provided in this application embodiment can avoid interference of the radio frequency signal with the high-order harmonic components of the control signal sent by the MIPI driver 14.

[0095] Scene 2.

[0096] like Figure 4 As shown, the control signal of the camera in the electronic device is usually a low-frequency signal. The control signal is usually transmitted in the camera module of the electronic device. The high-order harmonic components of the control signal can crosstalk to the RFIC 12 through the RF front-end 13. Similar to the situation in Scenario 1, if the high-order harmonic components of the control signal have the same frequency as the RF signal transmitted in the RFIC 12, the control signal of the camera will interfere with the RF signal received by the electronic device.

[0097] The signal processing method provided in the embodiments of this application can avoid interference of high-order harmonic components of control signals with radio frequency signals.

[0098] Scene 3.

[0099] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor can include multiple I2C buses. The processor can couple touch sensors, chargers, flashlights, cameras, etc., through different I2C bus interfaces. For example, the processor can couple touch sensor 1 through the I2C interface, enabling communication between the processor and the touch sensor via the I2C bus interface to realize the touch function of the electronic device. Since the higher harmonic components of the signal transmitted in I2C have the same frequency as the radio frequency signal transmitted in RFIC 12, the signal transmitted in I2C may also crosstalk into RFIC 12 through RF front-end 13, thereby interfering with the radio frequency signal of the electronic device.

[0100] The signal processing method provided in this application embodiment can avoid interference of high-order harmonic components of the signal transmitted in I2C with the radio frequency signal.

[0101] It should be understood that the above are illustrative examples of application scenarios and do not limit the application scenarios of this application in any way.

[0102] It should be noted that common signal interference in electronic devices is caused by point-frequency signals. For example, the spectrum of I / Q data exhibiting point-frequency interference is shown below. Figure 5 As shown, the time-domain plot of I / Q data with point frequency interference can be as follows: Figure 6 As shown, the spectrum of I / Q data with point-frequency interference exhibits obvious abnormal peaks, but the time domain of the I / Q data with point-frequency interference shows no obvious anomalies. In this case, electronic devices can eliminate point-frequency interference signals using peak clipping algorithms or filters.

[0103] For example, an electronic device can determine the frequency of abnormal spikes in the spectrum of I / Q data, and then use a bandpass filter that cuts off the signal at that frequency to filter the signal. The spectrum of the I / Q data of the filtered signal can be obtained as follows: Figure 7 As shown, the abnormal spikes caused by point frequency interference have been eliminated.

[0104] For example, electronic devices can use peak clipping algorithms to clip the peaks of signals with point-frequency interference. For instance, a threshold value can be set at the frequency point where abnormal peaks occur. When the peak value of the signal exceeds this threshold, the peak value is limited to below the threshold. This threshold value can be determined based on the signal values ​​of other frequencies surrounding the abnormal peak. Alternatively, electronic devices can set a signal window at the frequency point of the abnormal peak and smooth or attenuate the signal within the window to reduce the peak value. The spectrum of the I / Q data of the signal after peak clipping can be shown as follows: Figure 7 As shown, the abnormal spikes caused by point frequency interference have been eliminated.

[0105] In some cases, the interference signal can be a pulse interference signal appearing in the time domain. It is understood that a time-domain signal can be decomposed into I-channel data and Q-channel data, and the I / Q data in the time domain where time-domain interference exists can be represented as follows: Figure 8 As shown, there is one pulse interference in the I-channel data and one pulse interference in the Q-channel data. The time-domain interference signal can be divided into the sum of the normal signal and the pulse interference signal. Performing a Fourier transform on the signal with time-domain interference can refer to performing a Fourier transform on the normal signal to obtain its spectrum, and performing a Fourier transform on the pulse interference signal to obtain its spectrum. The spectrum of the normal signal can be as follows: Figure 9 As shown by the blue curve in the image, the spectrum of the pulse interference signal can be represented as follows: Figure 9 As shown by the orange curve, the spectra of the normal signal and the impulse interference signal are mixed together and cannot be separated. Superimposing the spectra of the normal signal and the impulse interference signal yields the spectrum of the signal containing interference.

[0106] The spectrum of a signal with time-domain interference is compared with the spectrum of a signal without time-domain interference, such as... Figure 10 As shown, the spectrum of a signal with time-domain interference is indistinguishable from that of a signal without time-domain interference in the frequency domain. Signals with time-domain interference do not exhibit obvious abnormal peaks in the frequency domain; therefore, peak clipping algorithms or filters cannot eliminate the time-domain interference signal.

[0107] In view of this, the signal processing method provided in this application embodiment is applied in an electronic device, wherein the electronic device includes a first channel, a second channel, and a radio frequency front-end module. The second channel includes a first module, which is used to eliminate a first interference signal in a first signal. The method includes: determining whether a first interference signal exists in the first signal, and the first interference signal has an anomaly in the time domain of the first signal; if the first interference signal exists in the first signal, determining a first parameter of the first interference signal; if the first interference signal exists in the first signal, determining the first parameter of the first interference signal; then determining the configuration information of the first module according to the first parameter, and configuring the first module according to the configuration information; finally, processing the first signal through the first module to obtain a second signal, the second signal being the signal obtained by eliminating the first interference signal in the first signal. Since the first interference signal has an anomaly in the time domain expression of the first signal, the first interference signal is usually generated by crosstalk of high-order harmonic components of low-frequency signals. The signal processing method provided in this application embodiment can eliminate the first interference signal generated by low-frequency signal crosstalk in the first signal through the first module, thereby realizing the function of eliminating the interference of low-frequency signals (e.g., control signals) on radio frequency signals.

[0108] The following is combined with Figure 11 to Figure 19 The signal processing method provided in the embodiments of this application will be described in detail.

[0109] Figure 11 This is a flowchart illustrating a signal processing method provided in an embodiment of this application. This signal processing method is applied in an electronic device, wherein the electronic device can, as... Figure 12 As shown, the system includes a first channel 1000, a second channel 2000, an RF front-end module 3000, and a modem processor 4000. The modem processor 4000 is connected to the second channel 2000, and the second channel 2000 is connected to the RF front-end module 3000. A third signal is transmitted in the first channel 1000. The third signal is crosstalked through the RF front-end module 3000 to the second channel 2000, where a crosstalked first signal is transmitted. The second channel 2000 includes a first module 2100, which is used to eliminate the first interference signal in the first signal to obtain a second signal. The method includes:

[0110] S101. Determine whether there is a first interference signal in the first signal, and whether the first interference signal is abnormal in the time domain of the first signal.

[0111] The first signal can be the third signal transmitted in the first channel 1000, which is crosstalked to the second channel 2000 by the radio frequency front-end module and then transmitted in the second channel 2000.

[0112] Optionally, the first channel 1000 is a channel for transmitting MIPI control signals.

[0113] If the first channel 1000 is a channel for transmitting MIPI control signals, then the first channel 1000 can be connected to the modem processor 4000 and the radio frequency front-end module 3000 respectively, and the third signal transmitted in the first channel 1000 can be a MIPI control signal.

[0114] In some possible cases, the higher harmonic components of the MIPI control signal can be crosstalked to the second channel 2000 through the RF front-end module 3000.

[0115] In some possible cases, the higher harmonic components of the MIPI control signal can also crosstalk to the second channel 2000 through other channels.

[0116] Optionally, the first channel 1000 is a channel for transmitting camera control signals.

[0117] If the first channel 1000 is a channel for transmitting camera control signals, then the first channel 1000 may not be connected to the modem processor 4000 and the RF front-end module 3000. The third signal transmitted in the first channel 1000 can be a camera control signal. Since the distance between the first channel 1000 and the RF front-end module 3000 is small, the camera control signal transmitted in the first channel 1000 can crosstalk to the RF front-end module 3000, and then crosstalk to the second channel 2000 through the RF front-end module 3000 to generate the first signal.

[0118] Optionally, the first channel 1000 is an Inter-Integrated Circuit (I2C) channel.

[0119] If the first channel 1000 is an I2C channel, then the first channel 1000 does not need to be connected to the modem processor 4000 and the RF front-end module 3000. I2C is typically used to connect low-speed peripheral devices to the processor and microcontroller, and usually uses two bidirectional signal lines—a data line and a clock line—for data transmission. The third signal transmitted in the first channel 1000 can be a signal transmitted between the peripheral device and the processor or microcontroller.

[0120] Optionally, the second channel 2000 may refer to the transmission channel of the radio frequency signal of the electronic device, and the first signal may refer to the radio frequency signal.

[0121] In some possible cases, the second channel 2000 can refer to the radio frequency receiving channel, and correspondingly, the first signal can refer to the radio frequency receiving signal.

[0122] In some possible cases, the second channel 2000 can refer to the radio frequency transmission channel, and correspondingly, the first signal can refer to the radio frequency transmission signal.

[0123] The following explanation will be based on the example where the second signal is the radio frequency receiving channel and the first signal is the radio frequency receiving signal.

[0124] A detection point 2110 can be set at the first module 2100 in the second channel 2000. The user can obtain the first signal at the detection point 2110 and test the first signal. It is understood that the user can obtain the first signal through different test instruments.

[0125] For example, a user can use a spectrum analyzer to acquire a first signal at detection point 2110. The first signal is displayed in the spectrum analyzer as a spectrum, and the user can read the frequency domain characteristic parameters of the first signal in the spectrum analyzer. The frequency domain characteristic parameters include, but are not limited to, the operating frequency and operating bandwidth of the first signal. The spectrum of the first signal can refer to the way the first signal is expressed in the frequency domain, representing the amplitude and phase information of different frequency components in the signal.

[0126] For example, a user can use an oscilloscope to acquire the first signal at detection point 2110, display the time-domain characteristics of the first signal on the oscilloscope, and simultaneously read the time-domain characteristic parameters of the first signal from the oscilloscope. These time-domain characteristic parameters include, but are not limited to, the signal period and signal amplitude of the first signal.

[0127] For example, after the signal received through the second channel 2000 is transmitted to the modem processor 4000, the modem processor 4000 can process it through an algorithm to obtain the signal at the detection point 2110, which is the first signal. This application embodiment does not limit the process of obtaining the first signal.

[0128] Users can directly obtain the spectrum of the first signal through a spectrum analyzer to obtain the spectral characteristic parameters of the first signal. At the same time, they can obtain the time-domain characteristic parameters of the first signal by using an oscilloscope at the detection point 2110.

[0129] Users can also obtain the spectrum of the first signal through a spectrum analyzer to obtain the frequency domain characteristic parameters of the first signal. Then, the first signal acquired by the spectrum analyzer is subjected to Fourier transform to obtain the time domain signal of the first signal. The time domain signal of the first signal can characterize the time domain characteristic parameters of the first signal.

[0130] Users can also acquire the first signal at detection point 2110 using an oscilloscope and read its time-domain characteristic parameters. Then, a Fourier transform is performed on the acquired first signal to obtain its frequency-domain signal. The frequency-domain signal of the first signal can characterize its spectral characteristic parameters.

[0131] If the first signal has no obvious anomaly in the frequency domain, but has an obvious anomaly in the time domain, then the first signal contains a first interference signal.

[0132] If the first signal has a significant anomaly in the frequency domain and no anomaly in the time domain, then there is no first interference signal in the first signal.

[0133] If the first signal has no abnormality in the frequency domain and no abnormality in the time domain, then there is no first interference signal in the first signal.

[0134] If the first signal has an anomaly in the frequency domain and also has an anomaly in the time domain, then the first signal contains a first interference signal, and the first signal also contains other interference signals that interfere with the frequency domain characteristics.

[0135] It should be noted that radio frequency (RF) signals are typically high-frequency signals, and low-frequency control signals generally do not interfere with RF signals. If the higher harmonic components of the low-frequency control signal have the same operating frequency as the RF signal, the interference signal crosstalking into the RF signal will usually show anomalies in the time domain representation of the signal, but no anomalies in the signal's spectrum (frequency domain representation). Therefore, the first signal with a first interference signal in the embodiments of this application can generally refer to the signal generated by the higher harmonic components of the low-frequency signal crosstalking into the RF signal.

[0136] The aforementioned low-frequency signals may include, but are not limited to, MIPI control signals, camera control signals, signals transmitted in I2C, and signals transmitted in SPI.

[0137] The first signal acquired can refer to a single frame of signal transmitted in an electronic device. It should be noted that in a communication system, a single signal frame is the basic unit of information transmission. This basic unit helps ensure signal continuity and integrity, and facilitates signal synchronization, encoding, decoding, and error detection. It should also be noted that the length of a single signal frame varies depending on the communication standard. For example, in the LTE standard, the length of a single signal frame is 10ms.

[0138] S102. If a first interference signal exists in the first signal, determine the first parameter of the first interference signal.

[0139] Since the first interference signal exhibits anomalies in the time domain of the first signal, a first parameter of the first interference signal can indicate its time-domain characteristics. For example, the first parameter can indicate the signal period or signal amplitude of the first interference signal.

[0140] Optionally, the first interference signal may be a periodically changing pulse signal, and the first parameter may also indicate the width of a pulse in the first signal.

[0141] It should be noted that the width of a pulse can indicate the start time of the pulse as well as the end time of the pulse.

[0142] For example, the first interference signal can be as follows Figure 13 As shown, this includes multiple pulses, and the pulse width is defined by the time from the start time T1 to the end time T2 of the pulse.

[0143] If the first signal is obtained by the user at detection point 2110 using an oscilloscope, then the first parameter of the first interference signal can be read directly.

[0144] If the first signal is the spectrum of the first signal obtained by the user through a spectrum analyzer, the user can perform a Fourier transform on the first signal acquired by the spectrum analyzer to obtain the time-domain characteristic parameters of the first signal, and then determine the first parameter from the time-domain characteristic parameters of the first signal.

[0145] S103. Determine the configuration information of the first module according to the first parameter, and configure the first module according to the configuration information.

[0146] The configuration information of the first module can be as shown in Table 1, including: signal type, signal bandwidth, interference signal period, interference signal strength, interference signal frequency, and interference signal depth.

[0147] Table 1

[0148] Signal format Signal bandwidth Interference signal period Interference signal strength Interference signal frequency Interference signal depth LTE 28MHz 1ms 1000 780MHz -1000

[0149] The first parameter may include the signal period and signal amplitude of the first interference signal. The signal period of the first interference signal may be the interference signal period shown in Table 1; the signal amplitude of the first interference signal may include the "interference signal strength" and "interference signal depth" shown in Table 1. The "interference signal strength" may be a positive value of the signal amplitude of the first interference signal, and the "interference signal depth" may be a negative value of the signal amplitude of the first interference signal. After obtaining the first parameter, the configuration information of the first module can be obtained by setting Table 1 according to the first parameter.

[0150] In some possible cases, the interference signal strength can vary with the received signal strength, for example, as shown in Table 2. When the received signal strength is less than -125 dBm / 15 kHz, the interference signal strength is 1000; when the received signal strength is (-125 to -115] dBm / 15 kHz, the interference signal strength is 1000; when the received signal strength is (-115 to -105] dBm / 15 kHz, the interference signal strength is 900; when the received signal strength is (-105 to -95] dBm / 15 kHz, the interference signal strength is... 800; when the received signal strength is (-98 to -85] dBm / 15 kHz, the interference signal strength is 700; when the received signal strength is (-85 to -75] dBm / 15 kHz, the interference signal strength is 600; when the received signal strength is (-75 to -65] dBm / 15 kHz, the interference signal strength is 500; when the received signal strength is greater than -65 dBm / 15 kHz, the interference signal strength is 400.

[0151] Table 2

[0152]

[0153] It can be seen that as the strength of the received signal increases, the strength of the interference signal also increases.

[0154] The first module can be used to eliminate the first interference signal in the first signal. Therefore, the first module needs to set corresponding filtering conditions for the characteristic parameters of the first interference signal in order to eliminate the first interference signal in the first signal. After determining the first parameters of the first interference signal, the first module can configure the filtering conditions of the first module, that is, the configuration information, based on the first parameters, so that when the first signal passes through the first module, the first interference signal can be eliminated by the first module.

[0155] For example, the first interference signal is a periodically changing signal, and the first parameter may include the signal period and signal amplitude of the first interference signal. The first module can be configured according to the signal period and signal amplitude of the first interference signal so that when the first signal passes through the first module, the first signal can be processed at the time indicated by the signal period of the first interference signal to eliminate the first interference signal in the first signal.

[0156] For example, the first interference signal can be a periodically changing pulse signal, and the first parameters can include the signal period, signal amplitude, and pulse width of the first interference signal. The first module can be configured according to the signal period, signal amplitude, and pulse width of the first interference signal so that when the first signal passes through the first module, it can be processed at the time indicated by the signal period of the first interference signal to eliminate the first interference signal in the first signal.

[0157] S104. The first signal is processed by the first module to obtain the second signal, which is the signal obtained by eliminating the first interference signal in the first signal.

[0158] After the first module is configured according to the first parameter, it can process the area corresponding to the first interference signal, eliminate the first interference signal, and obtain the second signal.

[0159] For example, the first module performs peak clipping on the signal at the first moment according to the signal period of the first interference signal indicated in the first parameter, and obtains the second signal.

[0160] Here, "first moment" can refer to the moment when the first interference signal appears, determined based on its signal period. It is understood that the first interference signal can be a periodically occurring interference signal; therefore, "first moment" can refer to multiple periodically repeating moments. For example, if the signal period of the first interference signal is 1 ms, then "first moment" can refer to multiple moments spaced 1 ms apart.

[0161] The following explains how to determine the first moment.

[0162] Since the first interference signal usually refers to a signal with obvious abnormalities in the first signal, such as an abnormal protrusion in the first signal, the amplitude of the first interference signal is usually much greater than the amplitude of the first signal.

[0163] The signal amplitudes of the first signal at various times can be sorted, and the time with the largest absolute value of the signal amplitude can be taken as the first time. Alternatively, the signal amplitudes at various times of the first signal can be statistically analyzed to obtain a normal distribution plot of the signal amplitudes at various times of the first signal, and then the first time can be selected from the data outside μ±3σ.

[0164] The normal distribution plot can be as follows: Figure 14As shown, μ represents the mean of the normally distributed data, which is the center point of the normally distributed data, i.e., the x-coordinate corresponding to the highest point (or axis of symmetry) of the curve. μ represents the average level or central tendency of the data distribution. μ can be calculated by adding up all the values ​​and then dividing by the number of values ​​(i.e., the sample size). σ refers to the standard deviation, which is the square root of the average of the squares of the differences between each data point and the mean μ. The standard deviation can be calculated using formula (3), which includes:

[0165]

[0166] N can represent the number of normally distributed data points, x i Each data point can be represented by μ, and the mean of these data points can be represented by μ.

[0167] For example, if all the signal amplitudes in the first signal are positive, i=1, then the moment with the largest signal amplitude in the first signal can be taken as the first moment; if the signal amplitudes in the first signal include both positive and negative values, then the moment with the largest absolute value of the signal amplitude in the first signal can be taken as the first moment. The signal amplitude at the first moment can be either the maximum or the minimum signal amplitude in the first signal.

[0168] For example, the normal distribution plot of the signal values ​​at each time step in the first signal can be obtained, such as... Figure 14 As shown, the time corresponding to the signal amplitude outside μ±3σ in the normal distribution graph is then taken as the first time. It should be noted that the signal amplitude outside μ±3σ in the normal distribution graph can be multiple signal amplitudes.

[0169] In one possible scenario, the aforementioned multiple signal amplitudes can be multiple signal amplitudes within a single signal period.

[0170] For example, the signal amplitudes outside μ±3σ in the normal distribution plot can be the signal amplitudes at times T11, T12, and T13. Here, T11 and T12 are times within one period of the first interference signal, and T13 can be a time within another period of the first interference signal. In this case, the determined first time can include T11 and T12, as well as the periodically repeating times corresponding to T11 and T12.

[0171] It is understood that the received signal can be decomposed into I-channel and Q-channel signals. The first time point can be the moment corresponding to the signal amplitude beyond μ±3σ determined by the normal distribution plot of the I-channel signal; alternatively, the first time point can be the moment corresponding to the signal amplitude beyond μ±3σ determined by the normal distribution plot of the Q-channel signal; or the first time point can be the union of the moments corresponding to the signal amplitude beyond μ±3σ determined by the normal distribution plot of the I-channel signal and the moments corresponding to the signal amplitude beyond μ±3σ determined by the normal distribution plot of the Q-channel signal. This application does not impose any limitations on these methods.

[0172] The first module eliminates the first interference signal in the first signal to obtain the second signal, which can refer to reducing the signal amplitude of the first signal at the first moment.

[0173] For example, when the first signal passes through the first module, the first module can set the signal amplitude of the first signal to 0 at the first moment to obtain the second signal.

[0174] For example, when the first signal passes through the first module, the first module can subtract the signal amplitude indicated by the first parameter from the signal at the first moment to eliminate the first interference signal in the first signal and obtain the second signal. For instance, if the signal amplitude of the first interference signal indicated by the first parameter is 10dB, then when the first signal passes through the first module, the first module can subtract 10dB from the signal at the first moment to eliminate the first interference signal in the first signal and obtain the second signal.

[0175] In some possible cases, the first interference signal can be a periodically changing pulse signal, and the first parameter may include the signal period, signal amplitude, and pulse width of the first interference signal. In this case, peak clipping may refer to the first module subtracting the signal amplitude indicated by the first parameter from the signal of the first signal at the first moment when the first signal passes through the first module, and subtracting the corresponding value from the signal corresponding to the pulse width in the first interference signal to obtain the second signal.

[0176] For example, the first parameter indicates that the maximum signal amplitude of the first interference signal is 10dB, and the signal change gradient in a pulse signal, for example, the signal amplitude decreases by 1dB every 0.1ms. When the first signal passes through the first module, the first module can subtract 10dB from the signal at the first moment, and subtract (10-1) = 9dB from the signal at the first moment ±0.1ms, subtract (10-2) = 8dB from the signal at the first moment ±0.2ms, ..., subtract (10-9) = 1dB from the signal at the first moment ±0.9ms, thereby eliminating the first interference signal in the first signal and obtaining the second signal.

[0177] By subtracting the signal amplitude indicated by the first parameter from the signal at the first moment of the first signal, and subtracting the corresponding value from the signal corresponding to the width of the pulse signal in the first interference signal, the second signal is obtained. This can remove the first interference signal based on the signal amplitude of the first interference signal in the first signal, thereby improving the accuracy of eliminating the first interference signal in the first signal, while avoiding the influence on the normal signal.

[0178] In some possible cases, the first interference signal can be a periodically varying pulse signal, and the first parameters may include the signal period, signal amplitude, and pulse width of the first interference signal. In this case, peak clipping may refer to the first module setting the signal amplitude of the first signal to 0 at a first moment when the first signal passes through the first module, and also setting the signal amplitude corresponding to the pulse width in the first interference signal to 0, thus obtaining the second signal.

[0179] For example, if the first parameter indicates that the signal width of a pulse is 1ms, the first module can set the signal amplitude of the first signal to 0 in a pulse with a signal width of 1ms, thereby eliminating the first interference signal in the first signal and obtaining the second signal.

[0180] By setting the amplitude of the first signal to 0 at the first moment and also setting the amplitude corresponding to the width of the pulse signal in the first interference signal to 0, the first interference signal in the first signal is eliminated, and the second signal is obtained. This reduces the difficulty of eliminating the first interference signal in the first signal.

[0181] The signal processing method provided in this application is applied in an electronic device. The electronic device includes a first channel, a second channel, and a radio frequency front-end module. The second channel includes a first module, which is used to eliminate a first interference signal in a first signal. The method includes: determining whether a first interference signal exists in the first signal; the first interference signal has an anomaly in the time domain of the first signal; if the first interference signal exists in the first signal, determining a first parameter of the first interference signal; if the first interference signal exists in the first signal, determining the first parameter of the first interference signal; then determining the configuration information of the first module according to the first parameter; configuring the first module according to the configuration information; and finally, processing the first signal through the first module to obtain a second signal, which is the signal obtained by eliminating the first interference signal in the first signal. Since the first interference signal has an anomaly in the time domain expression of the first signal, the first interference signal is usually generated by low-frequency signal crosstalk. The signal processing method provided in this application can eliminate the first interference signal generated by low-frequency signal crosstalk in the first signal through the first module, thereby realizing the function of eliminating the interference of low-frequency signals (such as control signals) on radio frequency signals.

[0182] Optionally, the signal processing method provided in the embodiments of this application can also be applied to, for example, Figure 15 In the electronic devices shown, such as Figure 15 As shown, the electronic device includes a first channel 1000, a second channel 2000, an RF front-end module 3000, and a modem processor 4000. The modem processor 4000 is connected to the second channel 2000, and the second channel 2000 is connected to the RF front-end module 3000. The first channel 1000 can be a MIPI control signal channel, transmitting MIPI control signals. These MIPI control signals are crosstalked through the RF front-end module 3000 to the second channel 2000. The second channel 2000... 00 can refer to the radio frequency channel, which includes a first module 2100, a receiving sub-channel 2200, and a transmitting sub-channel 2300. After the MIPI control signal is crosstalked to the radio frequency channel by the radio frequency front-end module 3000, it is transmitted to the modem processor 4000 through the receiving sub-channel 2200 and the first module 2100 in the radio frequency channel. When the first signal after crosstalk is transmitted in the second channel 2000 passes through the first module 2100, the first module 2100 eliminates the first interference signal in the first signal to obtain the second signal.

[0183] Optionally, the signal processing method provided in the embodiments of this application can also be applied to, for example, Figure 16 In the electronic devices shown, such as Figure 16 As shown, the electronic device includes a first channel 1000, a second channel 2000, an RF front-end module 3000, a modem processor 4000, and a serializer-deserializer transmitter (SerDes TX) 5000. The modem processor 4000 is connected to the first channel 1000 and the second channel 2000. The first channel 1000 can be a MIPI control signal channel, which is connected to the RF front-end module 3000. The MIPI control signal is transmitted in the MIPI control signal channel. The MIPI control signal is crosstalked to the second channel 2000 through the RF front-end module 3000. The second channel 2000 can be an RF channel, which includes a first module 2100, a receiving sub-channel 2200, a transmitting sub-channel 2300, and a receiver decision feedback equalizer (RX DFE) 2400.

[0184] The receiving sub-channel 2200 includes a low-noise amplifier 2210, mixer A2220, mixer B 2230, an I-channel receiving channel 2240, a Q-channel receiving channel 2250, an analog-to-digital converter (ADC) A2260, and an ADC-B 2270. The MIPI control signal, after being crosstalked to the RF channel by the RF front-end module 3000, generates a first signal. This first signal is filtered by the low-noise amplifier 2210 to remove low-frequency noise and is then split into two paths: a first I-channel signal and a first Q-channel signal. The first I-channel signal reaches the RX DFE 2400 via mixer A2220, I-channel receiving channel 2240, and ADC-A2260; the first Q-channel signal reaches the RX DFE 2400 via mixer B 2230, Q-channel receiving channel 2250, and ADC-B 2270. The RXDFE 2400 can eliminate inter-signal interference (ISI) caused by lossy channels, thereby improving signal quality, that is, improving the signal quality of the first I-channel signal and the first Q-channel signal.

[0185] Then, after the first I-channel signal is input to the first module 2100, the first module 2100 eliminates interference signals in the first I-channel signal to obtain the second I-channel signal; after the first Q-channel signal is input to the first module 2100, the first module 2100 eliminates interference signals in the first Q-channel signal to obtain the second Q-channel signal. For the specific process of the first module 2100 eliminating interference signals in the first I-channel signal and the first module 2100 eliminating interference signals in the first Q-channel signal, please refer to [link to documentation]. Figure 11 The methods shown in the embodiments will not be described again here.

[0186] The second I-channel signal and the second Q-channel signal can be two parallel signals. Both the second I-channel signal and the second Q-channel signal need to be sent to the modem processor 4000 for processing. Therefore, before being sent to the modem processor 4000 for processing, the parallel signals need to be converted into serial signals by the SerDes TX 5000. This can avoid problems caused by timing conflicts between the two signals after they are input to the modem 4000.

[0187] The first module 2100 can be set in the radio frequency channel 2000. Typically, the radio frequency channel 2000 can use an RFIC to realize the function of transmitting radio frequency signals. Therefore, the first module 2100 can be integrated into the RFIC.

[0188] The effects of using the signal processing method provided in the embodiments of this application will be explained below.

[0189] Electronic devices acquire Received Signal Strength Indicator (RSSI) to evaluate the quality of the received signal. Generally, a higher RSSI value indicates a stronger received signal and relatively better signal quality; conversely, a lower RSSI value indicates a weaker signal, potentially indicating signal attenuation, interference, or other issues that degrade communication quality. RSSI typically includes the useful signal, natural noise, and interference. In some cases, to minimize the impact of natural noise on signal quality, the Signal-to-Noise-plus-Interference Ratio (SNIR) can be used to indicate the received signal quality. SNIR is the ratio of the useful signal to the sum of the natural noise and interference. Under relatively stable external conditions, natural noise typically does not change significantly, therefore RSSI can be used to indicate the quality of the received signal. The acquired RSSI can be obtained as follows: Figure 17 As shown, the RSSI value at 780MHz is -98dBm, while at other operating frequencies, such as 775MHz, the RSSI value is -104dBm. This means the received signal quality at 780MHz is higher than that at 775MHz. If the electronic device adjusts the parameters of the receiving channel according to the 780MHz RSSI, the received signal quality may deteriorate when receiving 775MHz signals, failing to meet requirements.

[0190] Analysis of the received signal revealed that its spectrum can be as follows: Figure 18 As shown in (a) above, it can be seen that the spectrum of the received signal shows no obvious abnormalities. The time-domain plot of the received signal can be shown as follows: Figure 18 (b) and Figure 18 As shown in (c) in the figure, Figure 18 (b) in the diagram represents the I-channel component of the received signal in the time domain. Figure 18 In the diagram, (c) represents the Q-path component of the received signal time-domain plot. It can be seen that significant interference signals exist in both the I-path and Q-path components of the received signal time-domain plot. A distribution diagram of the received signal I / Q data is obtained by plotting and analyzing the I / Q data, as shown below. Figure 18 As shown in (d) in the figure, there are discrete data points in the distribution diagram of the received signal I / Q data.

[0191] After the received signal is processed using the signal processing method provided in this application embodiment, the spectrum of the processed received signal is as follows: Figure 19As shown in (a) above, it can be seen that the spectrum of the processed received signal still shows no obvious abnormalities. The time-domain plot of the processed received signal can be seen as follows: Figure 19 (b) and Figure 19 As shown in (c) in the figure, Figure 19 (b) in the diagram represents the I-channel component of the processed received signal in the time domain. Figure 19 In the diagram, (c) represents the Q-path component of the processed received signal time-domain plot. It can be seen that significant interference signals on the I-path component of the processed received signal time-domain plot are eliminated, and interference signals on the Q-path component are also eliminated. A distribution diagram of the received signal I / Q data is obtained by plotting the I / Q data of the received signal, as shown below. Figure 19 As shown in (d) in the figure, it can be seen that the discrete data points in the distribution map of the processed received signal I / Q data are also eliminated.

[0192] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowchart may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.

[0193] It is understood that, in order to achieve the above functions, the electronic device includes hardware and / or software modules that perform the respective functions. Based on the algorithmic steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is implemented in hardware or by 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 conjunction with the embodiments, but such implementation should not be considered beyond the scope of this application.

[0194] It should be noted that the modules in the aforementioned electronic devices can be embodied in the form of functional units. The term "unit" here can be implemented in software and / or hardware, without specific limitations.

[0195] For example, a "unit" can be a software program, a hardware circuit, or a combination of both that implements the above functions. The hardware circuit may include an application-specific integrated circuit (ASIC), electronic circuitry, a processor (e.g., a shared processor, a proprietary processor, or a group processor) and memory for executing one or more software or firmware programs, integrated logic circuitry, and / or other suitable components that support the described functions.

[0196] Therefore, the units of the various examples described in the embodiments of this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software 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, but such implementation should not be considered beyond the scope of this application.

[0197] This application also provides a computer program product that, when executed by a processor, implements the signal processing method described in any of the method embodiments of this application.

[0198] The computer program product can be stored in memory, for example, it is a program. The program is eventually converted into an executable object file that can be executed by the processor after processes such as preprocessing, compilation, assembly and linking.

[0199] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a computer, implements the signal processing method described in any of the method embodiments of this application. The computer program may be a high-level language program or an executable object program.

[0200] The computer-readable storage medium is, for example, a memory. The memory can be volatile or non-volatile, or the memory 702 can include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which serves as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0201] In this application, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or multiple items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0202] It should be understood that in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0203] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software 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, but such implementation should not be considered beyond the scope of this application.

[0204] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0205] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for example, the division of units is merely a logical functional division, and other division methods may exist in actual implementation; for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0206] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0207] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0208] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A signal processing method, characterized in that, The method is applied to an electronic device, which includes a first channel, a second channel, an RF front-end module, and a modem processor. The modem processor is connected to the second channel, and the second channel is connected to the RF front-end module. A third signal is transmitted in the first channel. The third signal is crosstalked to the second channel via the RF front-end module, and a crosstalked first signal is transmitted in the second channel. The second channel includes a first module for eliminating a first interference signal in the first signal to obtain a second signal. The method includes: Determine whether a first interference signal exists in the first signal; If the first interference signal is present in the first signal, determine the first parameter of the first interference signal; The configuration information of the first module is determined based on the first parameter, and the first module is configured according to the configuration information; The first signal is processed by the first module to obtain a second signal, which is the signal obtained by eliminating the first interference signal in the first signal.

2. The method according to claim 1, characterized in that, The first parameter includes the signal period and signal amplitude of the first interference signal.

3. The method according to claim 2, characterized in that, The step of processing the first signal through the first module to obtain the second signal includes: The first module subtracts the amplitude of the first interference signal from the amplitude of the first signal at a first moment in the first signal to obtain the second signal, where the first moment is the moment when the first interference signal appears.

4. The method according to claim 2, characterized in that, The step of processing the first signal through the first module to obtain the second signal includes: The first module sets the signal amplitude of the first signal at a first moment to 0 to obtain the second signal, where the first moment is the moment when the first interference signal appears.

5. The method according to any one of claims 2 to 4, characterized in that, The first parameter also includes the pulse width of the first interference signal.

6. The method according to claim 5, characterized in that, The step of processing the first signal through the first module to obtain the second signal includes: The first module subtracts the corresponding signal amplitude from the signal within the pulse width of the first interference signal in the first signal to obtain the second signal.

7. The method according to claim 5, characterized in that, The step of processing the first signal through the first module to obtain the second signal includes: The first module sets the signal amplitude within the pulse width of the first interference signal in the first signal to 0, thereby obtaining the second signal.

8. The method according to any one of claims 1 to 7, characterized in that, The first channel is the MIPI control signal channel.

9. The method according to any one of claims 1 to 7, characterized in that, The first channel is the control signal channel in the camera module.

10. The method according to any one of claims 1 to 7, characterized in that, The first channel is an I2C channel.

11. The method according to any one of claims 1 to 10, characterized in that, The second channel is a radio frequency channel.

12. An electronic device, characterized in that, The electronic device includes a first channel, a second channel, an RF front-end module, and a modem processor. The modem processor is connected to the second channel, and the second channel is connected to the RF front-end module. A third signal is transmitted in the first channel. The third signal is crosstalked to the second channel through the RF front-end module, and a crosstalked first signal is transmitted in the second channel. The second channel includes a first module, which is used to eliminate the first interference signal in the first signal to obtain the second signal.

13. The electronic device according to claim 12, characterized in that, The second channel is a radio frequency (RF) channel, which further includes a transmitting sub-channel and a receiving sub-channel. The transmitting sub-channel is used to transmit RF signals, and the receiving sub-channel is used to receive RF signals.

14. The electronic device according to claim 13, characterized in that, The first channel is a MIPI control signal channel, and the first channel is connected to the modulation and demodulation processor and the radio frequency front-end module respectively.

15. The electronic device according to claim 13 or 14, characterized in that, The electronic device further includes a serial transmission module, and the receiving sub-channel includes an I-channel transmission channel and a Q-channel transmission channel; The first module is connected to the serial transmission module, the I-channel transmission channel, and the Q-channel transmission channel, respectively. The first signal includes a first I-channel signal and a first Q-channel signal; The first module is used to eliminate interference signals in the first I-channel signal to obtain a second I-channel signal, and to eliminate interference signals in the first Q-channel signal to obtain a second Q-channel signal; The second I-channel signal and the second Q-channel signal are parallel signals. The serial transmission module converts the parallel second I-channel signal and the second Q-channel signal into serial second I-channel signal and second Q-channel signal, and sends the serial second I-channel signal and the second Q-channel signal to the modem processor.