Carrier signal processing method, device and electronic device based on OFDM system
By comparing the signal energy of the current sampling point with the reference energy in the OFDM system and filtering out the impulse or pulse noise sampling points, the signal synchronization problem caused by the hysteresis of the automatic gain control is solved, and the synchronization accuracy and system reliability are improved.
Patent Information
- Application Number
- CN202510859569.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-25
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2045-06-25
AI Technical Summary
In OFDM systems, the time lag of automatic gain control causes signal impulses, affecting signal synchronization accuracy. Especially under high signal-to-noise ratios, signal saturation or synchronization deviation problems are serious.
By obtaining the signal energy of the current sampling point in the digital signal, comparing it with the reference energy, performing amplitude suppression processing, filtering out impulse or pulse noise sampling points, and using the average signal energy of multiple historical signal segments to determine the reference energy, carrier synchronization is achieved.
The accuracy of signal synchronization and the reliability of the OFDM system are improved, the deviation of signal synchronization is reduced, and the stability of the system is enhanced.
Smart Images

Figure CN120378276B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and in particular relates to a carrier signal processing method, device and electronic equipment based on an OFDM system. Background Art
[0002] In an OFDM (Orthogonal Frequency Division Multiplexing) system, the analog front-end subsystem typically includes an automatic gain control (AGC) module, analog filters, and an analog-to-digital converter (ADC). The core function of the AGC is to dynamically adjust the gain to prevent signal saturation or amplitude reduction during ADC quantization, ensuring that the baseband demodulation module obtains a digital signal with stable amplitude.
[0003] However, AGC gain adjustment has a time lag, meaning it takes time to adjust to the correct gain when the received signal energy changes suddenly. At high signal-to-noise ratios, this time lag can cause a brief burst of high energy output, or an impulse, when the signal first arrives. This can lead to signal saturation or cause synchronization errors, compromising synchronization accuracy. Summary of the Invention
[0004] The present application aims to solve at least one of the technical problems existing in the related art. To this end, the present application proposes a carrier signal processing method, device, and electronic device based on an OFDM system to filter out impulse or pulse noise sampling points, thereby improving the accuracy of signal synchronization and further improving the reliability of the OFDM system.
[0005] In a first aspect, the present application provides a carrier signal processing method based on an OFDM system, the method comprising:
[0006] Obtain the signal energy of the current sampling point in the current signal segment of the digital signal;
[0007] performing amplitude suppression processing on the signal energy of the current sampling point based on a comparison result of the signal energy of the current sampling point and a reference energy; the reference energy is determined based on an average signal energy of historical sampling points corresponding to a plurality of historical signal segments in the digital signal, wherein each signal segment in the digital signal has the same number of sampling points;
[0008] Carrier synchronization processing is performed based on the signal energy of the current sampling point after the amplitude suppression processing.
[0009] According to the carrier signal processing method of the present application, the amplitude suppression processing of the signal energy of the current sampling point based on the comparison result of the signal energy of the current sampling point and the reference energy includes:
[0010] If the signal energy of the current sampling point is greater than the reference energy, the signal energy of the current sampling point is set to zero; if the signal energy of the current sampling point is less than or equal to the reference energy, the signal energy of the current sampling point is kept unchanged.
[0011] According to the carrier signal processing method of the present application, the reference energy is determined based on the minimum value of the average signal energies of the historical sampling points corresponding to the multiple historical signal segments.
[0012] According to the carrier signal processing method of the present application, the number of sampling points of each signal segment in the digital signal is determined based on the number of synchronization preamble symbols included in the preamble signal corresponding to the digital signal and the number of sampling points included in the synchronization preamble symbol.
[0013] According to the carrier signal processing method of the present application, the number of sampling points of each signal segment in the digital signal is greater than or equal to the number of sampling points included in the synchronization preamble symbol; the total number of sampling points of the multiple historical signal segments is less than the product value of the number of the synchronization preamble symbols and the number of sampling points included in the synchronization preamble symbol.
[0014] According to the carrier signal processing method of the present application, obtaining the signal energy of the current sampling point in the current signal segment of the digital signal includes:
[0015] Obtaining the initial signal energy of the current sampling point in the initial digital signal;
[0016] The initial signal energy of the current sampling point is multiplied by the current gain to obtain the signal energy of the current sampling point; the current gain is updated based on the signal energy of the previous sampling point before the current sampling point.
[0017] According to the carrier signal processing method of the present application, the initial digital signal is an output signal of a digital filter.
[0018] According to the carrier signal processing method of the present application, performing carrier synchronization processing based on the signal energy of the current sampling point after amplitude suppression processing includes:
[0019] performing amplitude limiting processing on the signal energy of the current sampling point after the amplitude suppression processing based on a comparison result of the signal energy of the current sampling point and a preset saturation threshold value, wherein the saturation threshold value is less than the reference energy;
[0020] Carrier synchronization processing is performed based on the signal energy of the current sampling point after the limiting processing.
[0021] In a second aspect, the present application provides a carrier signal processing device based on an OFDM system, the device comprising:
[0022] A sampling point acquisition module is used to obtain the signal energy of the current sampling point in the current signal segment of the digital signal;
[0023] a sampling point processing module, configured to perform amplitude suppression processing on the signal energy of the current sampling point based on a comparison result of the signal energy of the current sampling point with a reference energy; the reference energy is determined based on an average signal energy of historical sampling points corresponding to a plurality of historical signal segments in the digital signal, wherein each signal segment in the digital signal has the same number of sampling points;
[0024] The synchronization processing module is used to perform carrier synchronization processing based on the signal energy of the current sampling point after the amplitude suppression processing.
[0025] In a third aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the carrier signal processing method based on the OFDM system as described in the first aspect above is implemented.
[0026] In a fourth aspect, the present application provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the carrier signal processing method based on the OFDM system as described in the first aspect above.
[0027] In a fifth aspect, the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the carrier signal processing method based on the OFDM system as described in the first aspect.
[0028] In a sixth aspect, the present application provides a computer program product, comprising a computer program, which, when executed by a processor, implements the carrier signal processing method based on the OFDM system as described in the first aspect above.
[0029] The above one or more technical solutions in the embodiments of the present application have at least one of the following technical effects:
[0030] Furthermore, by automatically tracking the signal energy of each newly arrived sampling point, detecting impulse or pulse noise sampling points based on the comparison result of the signal energy and the reference energy, and filtering out the impulse or pulse noise sampling points through amplitude suppression processing, the accuracy of signal synchronization is improved, thereby improving the reliability of the OFDM system;
[0031] Furthermore, the reference energy is calculated by the average signal energy of the historical sampling points corresponding to multiple historical signal segments. On the basis of increasing the tracking sensitivity, it is ensured that the calculated reference energy is more likely to represent the reasonable energy range of the real signal, thereby further improving the accuracy of signal synchronization.
[0032] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become obvious from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0034] Figure 1 This is an architectural diagram of the analog front-end subsystem provided by the related art;
[0035] Figure 2 This is a comparison diagram of the received signal frame header with impulse and without impulse provided by the related technology;
[0036] Figure 3 This is one of the flow charts of the carrier signal processing method based on the OFDM system provided in the embodiment of the present application;
[0037] Figure 4a This is one of the schematic diagrams of the reference energy provided in the embodiments of the present application;
[0038] Figure 4b This is the second schematic diagram of the reference energy provided in the embodiment of the present application;
[0039] Figure 4c This is the third schematic diagram of the benchmark energy provided in the embodiment of the present application;
[0040] Figure 5 This is a data flow diagram of the feedback digital gain control provided by an embodiment of the present application;
[0041] Figure 6 This is an architecture diagram of the OFDM system provided in an embodiment of the present application;
[0042] Figure 7 This is a second flow chart of a carrier signal processing method based on an OFDM system provided in an embodiment of the present application;
[0043] Figure 8 This is the third flow chart of the carrier signal processing method based on the OFDM system provided in the embodiment of the present application;
[0044] Figure 9 1 is a structural diagram of a carrier signal processing device based on an OFDM system provided in an embodiment of the present application;
[0045] Figure 10 It is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0046] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0047] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.
[0048] Below, in conjunction with the accompanying drawings, the carrier signal processing method based on the OFDM system, the carrier signal processing device based on the OFDM system, the electronic device and the readable storage medium provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.
[0049] The carrier signal processing method based on the OFDM system can be applied to a terminal, and can be specifically executed by hardware or software in the terminal.
[0050] The carrier signal processing method based on the OFDM system provided in the embodiment of the present application can be an electronic device or a functional module or functional entity in the electronic device that can implement the carrier signal processing method. The electronic devices mentioned in the embodiment of the present application include but are not limited to mobile phones, tablets, computers, cameras and wearable devices. The carrier signal processing method based on the OFDM system provided in the embodiment of the present application is described below using the electronic device as an example of the execution subject.
[0051] Figure 1This is the architecture diagram of the analog front-end subsystem provided by the relevant technology, such as Figure 1 As shown in the figure, in digital communication systems, to prevent saturation or undershoot of the signal after analog-to-digital conversion and facilitate demodulation and other processing in the hardware baseband, it is necessary to pre-amplify or reduce the received signal of uncertain energy to a roughly consistent energy level at the receiving end. This is called automatic gain control. This step is typically performed in the analog front-end (AFE). The general process involves calculating the energy of the digital signal at the receiving end after ADC conversion and comparing it with a given target baseline. The target gain is adjusted based on the difference, and this gain is fed back as a digital signal to the AFE before the ADC for gain application.
[0052] Figure 2 This is a comparison diagram of the received signal frame header with impulse and without impulse provided by the relevant technology, such as Figure 2 As shown in the figure, under high signal-to-noise ratio (SNR) conditions, the energy input to the receiver changes significantly before and after the arrival of a valid signal. However, the automatic gain control (AGC) takes some time to reduce the high gain applied before the arrival of the valid signal to a low gain after the arrival of the valid signal. During this period, the AGC results in a period of high energy output, or an impulse. The impulse caused by AGC typically occurs when the valid signal arrives, i.e., at the beginning of the frame. In digital communication systems, the frame beginning is often a repetitive sequence used for synchronization. While saturated, the impulse still retains some of the characteristics of the repetitive sequence, potentially affecting the accuracy of subsequent synchronization (even when saturated). Under high SNR conditions, due to the significant difference between noise and valid signal, the gain remains high before the arrival of a valid signal to maintain the received signal energy within a certain range. When a valid signal arrives, the gain cannot be adjusted quickly enough (i.e., the average energy over this period does not increase immediately, but rather gradually). The gain then changes from high to medium, and finally to low (which is the actual target gain). This delayed adjustment can lead to subsequent synchronization accuracy problems. For example, a large or medium gain in the frame header part of the synchronization symbol can cause signal saturation (for example, when the dynamic range of the ADC processing is exceeded, signal saturation can cause the peak of the signal to be flattened, resulting in waveform distortion), thereby affecting the synchronization accuracy. Alternatively, if the energy of the sampling points in the synchronization symbol is inconsistent, deviations will occur during the synchronization process, resulting in poor synchronization accuracy.
[0053] In response to the above problem, considering that the communication protocol generally leaves redundancy for the number of repetitions of the repeated sequence when it is designed, that is, only a part of the repeated sequence is needed to complete synchronization, the embodiment of the present application can avoid the impact of automatic gain control on synchronization by detecting the impulse and filtering it.
[0054] Figure 3 This is one of the flow charts of the carrier signal processing method based on the OFDM system provided in the embodiment of the present application. Figure 3 As shown, the carrier signal processing method includes: step 110, step 120 and step 130.
[0055] Step 110: Obtain the signal energy of the current sampling point in the current signal segment of the digital signal.
[0056] In actual implementation, the signal after analog-to-digital conversion can be directly used as a digital signal, the filtered signal obtained through digital filtering can be used as a digital signal, and the signal obtained through other processing such as digital gain control can also be used as a digital signal. The embodiments of the present application do not make specific restrictions on this.
[0057] Step 120: Based on the comparison result of the signal energy of the current sampling point and the reference energy, amplitude suppression processing is performed on the signal energy of the current sampling point; the reference energy is determined based on the average signal energy of historical sampling points corresponding to multiple historical signal segments in the digital signal, and the number of sampling points in each signal segment in the digital signal is the same.
[0058] In actual implementation, a sampling point sequence consisting of a preset number of sampling points in the digital signal can be considered a signal segment. Within each signal segment, the signal energy of each sampling point is counted and averaged to obtain the average signal energy. Multiple historical signal segments correspond to the current signal segment. The signal segment preceding the current signal segment is the historical signal segment, and the sampling points within the historical signal segment are the historical sampling points.
[0059] The reference energy is intended to represent the reasonable energy range of a normal signal. The reference energy can be determined based on the minimum value of the average signal energies corresponding to multiple historical signal segments, or based on the average of the two smaller values of the average signal energies corresponding to multiple historical signal segments. The specific determination method can be to use it directly as the reference energy, or to perform simple mathematical operations on this basis, such as superimposing a constant or multiplying by a coefficient, and use the value obtained by the operation as the reference energy. The embodiments of this application do not specifically limit this. The amplitude suppression processing can specifically be to set the signal energy of the current sampling point to zero, or to suppress the signal energy of the current sampling point to a smaller threshold, such as 0.1. The embodiments of this application do not specifically limit this.
[0060] Step 130: Perform carrier synchronization processing based on the signal energy of the current sampling point after the amplitude suppression processing.
[0061] In actual implementation, a reference energy can be determined using the average signal energy corresponding to multiple historical signal segments. This reference energy is continuously updated as input sampling points accumulate to form new signal segments. When a new sampling point, i.e., the current sampling point within the current signal segment, arrives, the signal energy of the current sampling point is determined using the reference energy determined by the average signal energy corresponding to multiple historical signal segments preceding the current signal segment. If the reference energy is greater than the reference energy, the current sampling point is considered to be an impulse signal or pulse noise, and amplitude suppression is performed on the signal energy of the current sampling point to filter out the impulse signal or pulse noise. If the signal energy of the current sampling point is less than or equal to the reference energy, the signal energy of the current sampling point can be maintained unchanged. Based on this, carrier synchronization processing can be performed, ultimately obtaining a relatively accurate frame synchronization position.
[0062] Assuming that each signal segment has 256 sampling points and the number of historical signal segments used to determine the baseline energy is 5, the first through 256 current sampling points within the current signal segment can be sequentially acquired. The same baseline energy can be used to determine the signal energy for each current sampling point. This baseline energy is determined based on the average signal energy of the historical sampling points corresponding to the previous five historical signal segments. After acquiring these 256 current sampling points within the current signal segment, the baseline energy can be updated based on the average signal energy corresponding to the current signal segment and the four historical signal segments preceding it. This energy is then used to determine the signal energy of the sampling points within the next signal segment. When a sampling point within the next signal segment arrives, the next signal segment becomes the current signal segment, and steps 110 through 130 are executed.
[0063] It is understandable that the analog signal processing section usually includes automatic gain control. In the case of high signal-to-noise ratio, automatic gain control (such as large gain) will cause impulses at the effective signal frame header position, and the impulse will cause the signal energy at the frame header position to be large. Signal synchronization in power carrier communication is based on the energy of the sampling points in the synchronization symbol in the received signal to perform autocorrelation or cross-correlation calculations, and then determine the synchronization position based on the position of the autocorrelation peak or cross-correlation peak. Although the impulse of the effective signal will cause waveform distortion or cause the energy of the sampling points in the received synchronization symbol to be inconsistent, it still retains some of the characteristics of the repetitive sequence and can still generate autocorrelation peaks or cross-correlation peaks. However, the impulse will cause the peak position to deviate, resulting in synchronization accuracy deviation, affecting the subsequent demodulation effect. To address this problem, the embodiment of the present application compares the sampling point signal energy with the reference energy, performs amplitude suppression processing on the sampling points that are greater than the reference energy, thereby filtering out the impulse sampling points, avoiding the synchronization symbols containing impulse sampling points from generating autocorrelation peaks or cross-correlation peaks, and thus avoiding the impact of the impulse sampling points on the synchronization accuracy. Furthermore, even without an automatic gain control section, or in the case of a low signal-to-noise ratio, embodiments of the present application can filter out impulse noise, thus avoiding the impact on synchronization accuracy. It should be noted that, depending on the communication protocol, the received signal may include multiple synchronization symbols. By performing synchronization using synchronization symbols without impulse sampling points, synchronization accuracy can be improved.
[0064] It should be noted that to ensure that the reference energy used for decision, or the impulse threshold, is as representative of the reasonable energy range of normal signals as possible, a larger statistical window length is required to minimize the influence of pulses or impulses on the statistical short-time average energy. However, a larger window length may result in slower threshold changes, leading to excessive normal signal sampling points being filtered out as useless impulses upon the arrival of a frame under high signal-to-noise ratio conditions (poor threshold tracking sensitivity). Using multiple historical short-time average energies as the reference energy basis for decision making keeps the statistical window length (i.e., the number of sampling points per signal segment) relatively small. This approach has the advantage of using fewer statistical sampling points, which increases threshold tracking sensitivity while better ensuring that the threshold represents the reasonable energy range of normal signals (because it can be assumed that at least one historical short-time average energy point does not capture the energy of an impulse), further improving signal synchronization accuracy.
[0065] According to the carrier signal processing method provided in the embodiment of the present application, the signal energy of each newly arrived sampling point is automatically tracked, the impulse or pulse noise sampling point is detected based on the comparison result of the signal energy and the reference energy, and the impulse or pulse noise sampling point is filtered out through amplitude suppression processing, thereby improving the accuracy of signal synchronization and further improving the reliability of the OFDM system. In addition, the reference energy is calculated by the average signal energy of the historical sampling points corresponding to multiple historical signal segments. On the basis of increasing the tracking sensitivity, it is ensured that the calculated reference energy is more likely to represent the reasonable energy range of the real signal, thereby further improving the accuracy of signal synchronization.
[0066] In some embodiments, step 120 may include:
[0067] If the signal energy of the current sampling point is greater than the reference energy, the signal energy of the current sampling point is set to zero; if the signal energy of the current sampling point is less than or equal to the reference energy, the signal energy of the current sampling point is kept unchanged.
[0068] It is understandable that sampling points with energies greater than the reference energy are usually impulse or pulse noise and do not carry valid signal information. In order to completely eliminate the impact of impulse or pulse noise on signal synchronization, the embodiment of the present application compares the signal energy of the current sampling point with the reference energy. If the signal energy of the current sampling point is greater than the reference energy, the signal energy of the sampling point is set to zero; if the signal energy of the current sampling point is less than or equal to the reference energy, the signal energy of the current sampling point is maintained unchanged.
[0069] In some embodiments, the reference energy may be determined based on a minimum value of average signal energies of historical sampling points corresponding to a plurality of historical signal segments.
[0070] It can be understood that, considering that it is usually guaranteed that only at least one historical short-term average energy does not count the energy of the impulse, in order to obtain a better reference energy and further improve the accuracy of signal synchronization, the reference energy in the embodiment of the present application can be determined based on the minimum value of the average signal energy of the historical sampling points corresponding to multiple historical signal segments.
[0071] In actual implementation, the specific determination method can be to directly use the minimum value as the reference energy, or to perform simple mathematical operations on this basis, such as superimposing a constant or multiplying by a coefficient, and use the value obtained by the operation as the reference energy. It can be set specifically according to the signal type or actual communication situation, and the embodiments of the present application do not make specific limitations on this.
[0072] It can be understood that the reference energy is positively correlated with the minimum value of the average signal energies corresponding to multiple historical signal segments, that is, the larger the minimum value of the average signal energies corresponding to multiple historical signal segments is, the larger the reference energy is. Figure 4a 、 Figure 4b and Figure 4c are schematic diagrams of the reference energy provided in the embodiments of the present application, taking the number of historical signal segments used to determine the reference energy as 3 as an example, Figure 4a As shown, the minimum value of the average signal energy corresponding to n1, n2 and n3 is used to determine the reference energy as A1, as shown in Figure 4b As shown, the minimum value of the average signal energy corresponding to n1, n2 and n3 is also the reference energy A1, as shown in Figure 4c As shown, the reference energy determined by the minimum value of the average signal energies corresponding to n1, n2 and n3 is A2, and A2 is greater than A1.
[0073] In some embodiments, the number of sampling points of each signal segment in the digital signal may be determined based on the number of synchronization preamble symbols included in the preamble signal corresponding to the digital signal and the number of sampling points included in the synchronization preamble symbol.
[0074] It is understood that in the power carrier communication protocol, the impulse caused by automatic gain control generally appears in the frame header portion, which includes a preamble signal used for synchronization. The preamble signal includes multiple synchronization preamble symbols (SYNCP). The SYNCP symbol is the basic unit of the synchronization process. To further improve the accuracy of signal synchronization, the embodiment of the present application determines the number of sampling points in the signal segment by the SYNCP symbols included in the preamble signal and the number of sampling points included in the SYNCP symbols to obtain a better baseline energy. Here, the preamble signal is the sequence of sampling points used for synchronization included in the frame header portion of the digital signal.
[0075] It should be noted that the number of sampling points included in the synchronization preamble symbol must be an integer, while the number of synchronization preamble symbols included in the preamble signal can be an integer or a decimal. For example, in the power carrier communication protocol, the frame header includes a preamble signal for synchronization, and the preamble signal includes 10.5 SYNCP symbols for synchronization. The number of sampling points of each signal segment can be directly calculated based on the number of synchronization preamble symbols included in the preamble signal and the number of sampling points included in the synchronization preamble symbol. It can also be determined based on the number of synchronization preamble symbols included in the preamble signal and the number of sampling points included in the synchronization preamble symbol. A certain number range is then selected from it. The embodiments of the present application do not specifically limit this.
[0076] In some embodiments, the number of sampling points in each signal segment in the digital signal may be greater than or equal to the number of sampling points included in the synchronization preamble symbol; the total number of sampling points of multiple historical signal segments may be less than the product value of the number of synchronization preamble symbols and the number of sampling points included in the synchronization preamble symbol.
[0077] For example, the preamble signal includes 10.5 SYNCP symbols, and each SYNCP symbol includes 1024 sampling points. The number of sampling points in each signal segment may be greater than or equal to the number of sampling points included in one SYNCP symbol, but less than (10.5×1024 / n), where n is the number of historical signal segments used to determine the reference energy, that is, the total number of sampling points in multiple historical signal segments is less than 10.5×1024.
[0078] Here, the number n of historical signal segments used to determine the reference energy can be an integer not less than 3 and not greater than the number of synchronization preamble symbols included in the preamble signal. The specific values of the number of sampling points in each signal segment and the number of historical signal segments can be set according to actual communication conditions and are not specifically limited in this embodiment of the present application.
[0079] According to the carrier signal processing method provided in the embodiments of the present application, by controlling the number of sampling points in a signal segment to be greater than or equal to the number of sampling points included in the synchronization preamble symbol, frequent updates of the reference energy due to an insufficient number of sampling points in the signal segment are avoided, while also avoiding the problem of ineffective removal of some impulse signals due to a too small window (for example, if the total number of sampling points in a historical signal segment is less than the impulse signal range, subsequent impulse points cannot be effectively reset to zero). By controlling the total number of sampling points in multiple historical signal segments, i.e., the total number of sampling points used to determine the reference energy, within the preamble signal range, the impulse portion and the impulse-free portion of the preamble signal can be effectively distinguished, thereby enabling timely updating of the reference energy and further ensuring that the determined reference energy represents a reasonable energy range for a normal signal. In the embodiments of the present application, the range and number of signal segments are adjusted based on the number and number of sampling points of the synchronization symbol, thereby enabling timely updating of the reference energy and ensuring that the impulse points are effectively reset to zero. It should be noted that the impulse signal range is related to the actual signal-to-noise ratio, the gain coefficient, and the gain adjustment response time. The specific number and range of historical signal segments should be set based on the actual impulse signal range and the leading signal range.
[0080] In some embodiments, step 110 may include:
[0081] Obtaining the initial signal energy of the current sampling point in the initial digital signal;
[0082] The initial signal energy of the current sampling point is multiplied by the current gain to obtain the signal energy of the current sampling point; the current gain is updated based on the signal energy of the previous sampling point before the current sampling point.
[0083] It's important to note that automatic gain control (AGC) in related technologies is typically implemented in the analog front end (AFE). However, due to hardware cost and design challenges, the analog circuits typically used to apply gain (filters, amplifiers, etc.) struggle to achieve continuously variable gain control over a wide range. Furthermore, the desired fixed-energy signal at the baseband is an in-band signal after filtering. However, at low signal-to-noise ratios, the signal reaching the baseband may be saturated or too low due to the performance limitations of analog filters. Analog filters cannot completely remove out-of-band noise. If the analog gain control comparison point is placed before the digital filter (with noise), the energy after filtering (after noise removal) is significantly reduced, failing to meet the required level. If the comparison point is placed after the digital filter (without noise), pre-filter saturation is likely to occur, leading to signal distortion. These issues have led to the development of digital gain control.
[0084] To address this issue, the embodiments of the present application add digital gain control to analog gain control, using this as a basis to obtain the signal energy at the current sampling point. Unlike analog gain control, digital gain control applies gain to the filtered signal at the current sampling point via a digital multiplier. Therefore, its resolution and adjustable range are only affected by the signal bit width, making it easy to achieve better performance with almost no additional cost, improving control efficiency while increasing adjustment accuracy. It can be understood that analog gain control is a coarse gain adjustment, while digital gain control is a fine gain adjustment. By adjusting both, effective control of signal energy is achieved.
[0085] When the initial signal energy at the current sampling point in the initial digital signal is input into the digital gain control, the digital gain controller multiplies the initial signal energy at the current sampling point by the current gain to obtain the signal energy at the current sampling point. The controller then updates the next gain based on the signal energy at the current sampling point. When the initial signal energy at the next sampling point arrives, the next gain is used to calculate the signal energy at the next sampling point. This cycle repeats, achieving real-time signal energy calculation and gain updates.
[0086] Here, the digital gain control may adopt one-stage digital gain control or multi-stage digital gain control, which is not specifically limited in the embodiment of the present application.
[0087] In some embodiments, the digital gain control can update the current gain corresponding to the current sampling point based on the difference between the gain average energy and the preset reference energy; the gain average energy is obtained by iteratively updating the average signal energy of historical sampling points within a preset time window based on the signal energy of the previous sampling point before the current sampling point.
[0088] Take the first-level digital gain control as an example, Figure 5 The data flow diagram of the feedback digital gain control provided by the embodiment of the present application is given, which processes each sampling point of the digital signal. The main process is:
[0089] The signal (sample point) is multiplied by the gain
[0090] Calculate the signal energy of the sample after applying the gain
[0091] Using this sampling point affects the statistics of the average energy ( Filtering
[0092] Compare the difference and update the gain
[0093] in, is the initial signal at the input sampling point, is the sampling point signal after gain is applied, Represents the average signal energy of historical sampling points within the preset time window before updating. Represents the updated average signal energy, i.e., the gain average energy, represents the reference energy; is the filter coefficient. The larger it is, the greater the average energy is affected by the new sampling point and the faster the gain adjustment speed. is the gain adjustment coefficient. The larger it is, the more aggressive the gain adjustment will be.
[0094] It should be noted that after adding digital gain control, the impulse problem may become more prominent, but the embodiment of the present application can avoid the impact of the impulse on the synchronization accuracy by comparing the signal energy of the sampling point with the reference energy and then processing it. In addition, since the control efficiency of the gain is improved, the embodiment of the present application is conducive to adjusting the gain to the target gain, that is, the small gain, more quickly, thereby further improving the accuracy of signal synchronization.
[0095] In some embodiments, Figure 6 This is an architecture diagram of the OFDM system provided in the embodiment of the present application. Figure 6 As shown, the initial digital signal is the output signal of the digital filter.
[0096] It should be noted that by adding digital gain control after the digital filter, even at low signal-to-noise ratios, the signal after digital filtering can be adjusted quickly and timely, keeping the signal energy within a certain range and further avoiding interference from noise signals. Analog gain control needs to be determined based on the energy of the digital signal after analog-to-digital conversion. The analog signal includes out-of-band noise signals and in-band signals. The function of the analog filter is to filter out the out-of-band noise signals, thereby including the in-band signals. By comparing the analog-to-digital conversion with a first threshold, the analog gain can be adjusted in a timely manner. At low signal-to-noise ratios, the out-of-band noise and in-band signal strengths are similar. In this case, analog gain control alone cannot meet the signal adjustment requirements. In this case, by adding digital gain control after the digital filter and adjusting the digital gain by comparing the energy after gain with a second threshold, the digital signal energy can be adjusted to an appropriate range. Here, the second threshold is the reference energy involved in the above embodiment.
[0097] In some embodiments, the carrier signal processing method may further include:
[0098] If the ratio of the signal energy of the current sampling point to the minimum value of the average signal energies of the historical sampling points corresponding to the multiple historical signal segments exceeds a preset ratio, the filter coefficient used when updating the current gain is increased.
[0099] It should be noted that the filter coefficient of the automatic gain control in the related art is usually fixed, while the embodiment of the present application calculates the ratio between the signal energy of the current sampling point and the minimum value of the average signal energy of the historical sampling points corresponding to multiple historical signal segments, and compares it with the preset ratio. If the ratio exceeds the preset ratio, it can be considered that an impulse signal has arrived under a high signal-to-noise ratio. At this time, the filter coefficient of the digital gain control is increased, thereby achieving faster gain adjustment speed, effectively reducing the range of the impulse signal, and thus being more conducive to subsequent synchronization processing.
[0100] In some embodiments, the carrier signal processing method may further include:
[0101] If the ratio of the average signal energy of a preset number of consecutive sampling points in the current signal segment to the minimum value of the average signal energy of the historical sampling points corresponding to multiple historical signal segments exceeds the preset ratio, the gain adjustment coefficient used when updating the current gain is increased.
[0102] In the embodiment of the present application, the average signal energy of a preset number of consecutive sampling points reflects the overall energy of the consecutively received sampling points. If the average signal energy exceeds a preset ratio, it indicates that the preset number of sampling points are within the impulse signal range. In this case, by increasing the gain adjustment coefficient, the gain can be adjusted more aggressively to adjust the energy of the effective signal to the appropriate range as quickly as possible. In actual implementation, the preset ratio can be obtained by multiplying the signal-to-noise ratio value under high signal-to-noise ratio by a certain expansion coefficient. The expansion coefficient here can be specifically set according to the signal type or actual communication situation. The specific value of the signal-to-noise ratio here can be set according to actual requirements and is not specifically limited in the embodiment of the present application.
[0103] In some embodiments, step 130 may include:
[0104] Based on the comparison result of the signal energy of the current sampling point and the preset saturation threshold, the signal energy of the current sampling point after the amplitude suppression processing is limited; the saturation threshold is less than the reference energy;
[0105] Carrier synchronization processing is performed based on the signal energy of the current sampling point after the limiting processing.
[0106] It is understandable that, considering that there may be a situation where the impulse level of a sampling point is low, the signal energy of the sampling point does not need to be set to zero, but it is desired to control the energy to be smaller. To this end, the embodiment of the present application further limits the signal energy of the current sampling point obtained in step 120 based on the comparison result of the signal energy of the current sampling point and the preset saturation threshold. Specifically, if it is determined that the signal energy of the current sampling point is greater than the saturation threshold, the signal energy of the current sampling point is suppressed to the saturation threshold; otherwise, the signal energy of the current sampling point is maintained unchanged; on this basis, carrier synchronization processing is performed to further weaken the impact of the impulse.
[0107] In some embodiments, the embodiments of the present application provide a new digital gain control system that avoids the impact of automatic gain control on synchronization by automatically detecting the frame header energy mutation (impulse) caused by the previous stage analog or current stage digital automatic gain control and eliminating this part of the signal. Figure 7 This is a second flow chart of a carrier signal processing method based on an OFDM system provided in an embodiment of the present application. Figure 7 As shown, the main process is:
[0108] 1. After the new sampling point arrives, cache it for backup.
[0109] 2. Multiply the sample point by the current gain, applying the gain to the input.
[0110] 3. Calculate the signal energy at the sampling point.
[0111] 4. Calculate the new gain.
[0112] 4.1 Using the signal energy of the sampling point to affect the average signal energy of the historical sampling points over a period of time ( filtering).
[0113] 4.2 Compare the signal energy of the sampling point with the average signal energy of historical sampling points over a period of time to obtain the difference.
[0114] 4.3 Scale the difference to obtain a new gain, which is used to calculate the signal energy of the next sampling point.
[0115] 5. Use the single-point signal energy to update the short-time cumulative energy (or short-time average energy).
[0116] 6. After the input point conditions are met, the accumulated short-term cumulative energy is used to update the historical short-term cumulative energy.
[0117] 7. Calculate the reference energy used to compare the decision impulse, i.e., the impulse threshold, based on all historical short-term cumulative energies.
[0118] 8. Compare the reference energy and the input single-point signal energy. If the latter is larger, the point is considered to be part of the impulse and the corresponding output is set to 0. Otherwise, the input point signal energy after gain is applied is used as the output of the point.
[0119] 9. The output is saturated by a limiter. If it is greater than a certain saturation threshold, it is set to that value to further weaken the impact of the impulse. The saturation threshold here is less than the impulse threshold. It can be understood that if the impulse level is low, the energy of the sampling point is not too high, and the limiter can also be used to limit it.
[0120] 10. Synchronize based on the processed signal to obtain the frame synchronization position (the ultimate goal is to achieve accurate synchronization).
[0121] Figure 8 This is the third flow chart of the carrier signal processing method based on the OFDM system provided in the embodiment of the present application. Figure 8 (n=4) Further explanation of steps 5, 6, 7, and 8.
[0122] In step 5, the short-term cumulative energy is updated by maintaining a short-term cumulative energy by summing the calculated single-point energies each time. When the number of points equals the accumulation window length win_len, the short-term cumulative energy is cleared. Similarly, a short-term average energy can be maintained, differing only in that the short-term average energy is obtained by directly dividing the accumulated energy by the accumulation window length win_len. The minimum of the subsequent n historical short-term average energies is then multiplied by the coefficient γ to obtain the baseline energy. Here, the short-term average energy is the average signal energy in step 120.
[0123] For step 6, when updating the historical short-term accumulated energy, maintain n historical short-term accumulated energies Esum(n), and define the short-term accumulated energy in step 6 as Esum(0). When the number of points is equal to the accumulation window length win_len, set Esum(n) = Esum(n -1). It should be noted that the number of input points in step 6 needs to cover the range of points affected by the impulse and cannot be too many or too few. For example, the preamble symbol includes 10.5 SYNCP symbols, and each SYNCP symbol includes 1024 sampling points. In this case, the number of input points can be greater than or equal to the number of points in 1 SYNCP symbol, but less than (10.5×1024 / n), where n is the number of historical short-term accumulated energies.
[0124] In step 7, the baseline energy is calculated by calculating the minimum historical short-term accumulated energy from the n historical short-term accumulated energies obtained in the previous step. This minimum energy is divided by the accumulation window length win_len and then multiplied by the coefficient γ to obtain the baseline energy. γ should be selected so that the baseline energy represents the reasonable energy range of a normal signal as closely as possible. In other words, it is obtained by appropriately amplifying 1. The specific value can be set based on actual communication conditions. It should be noted that this is a specific implementation method for obtaining the impulse threshold based on the historical short-term accumulated energy. Signal saturation occurs when the signal amplitude exceeds the maximum value that the system can represent during processing, resulting in signal "clipping" or "limiting," which introduces distortion. When the input signal amplitude exceeds this range, the system cannot correctly represent the larger values, resulting in truncation of the signal peak and waveform distortion. For example, setting the analog gain or digital gain too high can lead to signal saturation. A saturated signal loses detail in the original signal, introduces harmonic distortion, and affects the accuracy of subsequent digital signal processing.
[0125] like Figure 8As shown, taking n equal to 4 as an example, it is necessary to maintain 4 historical short-term cumulative energies, that is, the average signal energy corresponding to the 4 historical signal segments in step 120. The four corresponding time periods are a1, a2, a3, and a4. The number of sampling points in each time period is equal. When the fifth time period reaches the cumulative number of sampling points, the corresponding updated 4 historical short-term cumulative energies correspond to time periods a2, a3, a4, and a5. Here, the impulse threshold is calculated by the minimum historical short-term cumulative energy. , so that the signal energy at the impulse sampling point can be and impulse threshold The comparison can realize the judgment of impulse sampling point.
[0126] For the 8th step of comparing the size and judging the erasure, the impulse threshold obtained in the previous step will be exceeded. The energy of the sampling point is set to 0, thereby completing the operation of filtering out the impulse.
[0127] It should be noted that after successful synchronization, if the signal energy remains within a reasonable range, the automatic gain control will be locked, so that the signal amplitude is stable and at an appropriate level. At this time, the AGC has completed the adjustment of the signal amplitude and maintains this state; that is, when the AGC is locked, it indicates that the amplitude of the received signal has been successfully stabilized within the predetermined range and no further adjustment is required. It should be noted that after the AGC is locked, the amplitude of the received signal will also be monitored in real time. For the current data frame, once the AGC is locked, the AGC will generally not be adjusted for the current data frame. However, for the next data frame, whether to adjust it depends on the actual system requirements and application scenarios.
[0128] In power line carrier communications, digital gain control is used to dynamically adjust the amplitude of the received signal to accommodate input signals of varying strengths, ensuring that the signal remains within the appropriate level range for subsequent processing (such as demodulation and synchronization). However, improper automatic gain control can lead to signal saturation, where the signal amplitude exceeds the linear range that the system can handle, severely impacting the detection and accuracy of synchronization signals and, in turn, reducing the reliability of the communication system. By optimizing the gain control algorithm, improving the signal processing circuitry, and optimizing the synchronization signal design, the embodiments of the present application can effectively avoid signal saturation and improve synchronization performance and communication quality.
[0129] This embodiment of the present application avoids the impact of automatic gain control on synchronization by automatically detecting sudden changes (impulses) in frame header energy caused by the preceding analog or current digital automatic gain control and eliminating these signals. This embodiment optimizes tracking speed and hardware implementation difficulty. This embodiment uses automatic tracking to address the impulse issues often caused by automatic gain control, and can also address impulse noise introduced by external channels. The use of multiple historical short-term accumulated energies increases tracking sensitivity, ensuring that the calculated baseline energy is more likely to represent the reasonable energy range of the actual signal.
[0130] The following is an introduction to the technical terms involved in the embodiments of this application.
[0131] In-band signal: The portion of the received signal that is within the expected effective signal bandwidth (specified by the physical layer communication protocol in the dual-mode communication interoperability technical specifications).
[0132] Signal saturation related content
[0133] 1. Definition and manifestation of signal saturation
[0134] Signal saturation means that the amplitude of the input signal exceeds the dynamic range of the analog-to-digital converter (ADC) or subsequent processing circuits, resulting in the peak value of the signal being flattened and the waveform being distorted. The specific manifestations are:
[0135] Waveform distortion: The peak of the signal is cut off, causing the original sine wave or pulse wave to become a flat-top wave.
[0136] Harmonic distortion: A saturated signal will produce higher-order harmonics that interfere with the spectrum of the original signal.
[0137] Information loss: Saturation can lead to loss of signal details, especially high-frequency components.
[0138] 2. The impact of signal saturation on synchronization signal
[0139] Synchronization signals (such as frame synchronization and carrier synchronization) are key signals used in power line carrier communications to ensure clock consistency and frame structure alignment between the transmitter and receiver. Signal saturation can have the following adverse effects on synchronization signals:
[0140] (1) Synchronization signal detection failure
[0141] Synchronization header loss: Synchronization signals typically include a specific synchronization header (such as a preamble or training sequence) that the receiver uses to detect and lock onto. If the synchronization header signal is saturated, its waveform becomes distorted, preventing the receiver from correctly identifying the synchronization header and, consequently, establishing synchronization.
[0142] Threshold detection failure: Synchronization signal detection is typically based on threshold comparisons (such as zero-crossing detection and amplitude threshold detection). The amplitude of a saturated signal is flattened, which can cause the detection threshold to fail to trigger correctly, leading to synchronization failure.
[0143] (2) Synchronization accuracy decreases
[0144] Phase offset: Harmonic distortion of a saturated signal can cause signal phase offset, affecting the accuracy of carrier synchronization.
[0145] Timing Error: The timing information of a synchronization signal (such as frame boundaries and symbol boundaries) depends on the signal's accurate amplitude and phase. Saturated signals can cause timing errors to accumulate, reducing synchronization accuracy.
[0146] (3) Increased bit error rate
[0147] Synchronization error propagation: Synchronization signal errors can lead to demodulation errors in subsequent data frames, thereby increasing the bit error rate.
[0148] Degraded signal-to-noise ratio: Harmonic distortion of saturated signals introduces additional noise, reducing the signal-to-noise ratio (SNR) and further deteriorating communication performance.
[0149] 3. Solution to signal saturation
[0150] To avoid the impact of signal saturation on the synchronization signal, the following measures can be taken:
[0151] (1) Dynamic gain control optimization
[0152] Automatic Gain Control (AGC): By monitoring the amplitude of the input signal in real time, the gain is dynamically adjusted to ensure that the signal amplitude is always within the linear range of the ADC.
[0153] Fast response mechanism: AGC should have fast response capability to adapt to the rapid changes in signal strength in power line carrier communication.
[0154] (2) Signal limiting and filtering
[0155] Soft limiter: A soft limiter is added before the ADC to perform nonlinear compression on signals that exceed the threshold, avoiding waveform distortion caused by hard limiting.
[0156] Low-pass filtering: Filter out high-frequency harmonics through a low-pass filter to reduce harmonic interference of saturated signals.
[0157] (3) Synchronous signal design optimization
[0158] Redundant design: Redundant information (such as repeated synchronization headers, checksums, etc.) is added to the synchronization signal to improve the anti-interference ability of the synchronization signal.
[0159] Adaptive synchronization algorithm: Adaptive synchronization algorithm is used to dynamically adjust synchronization parameters (such as synchronization threshold, synchronization window, etc.) according to signal quality.
[0160] (4) Receiver design improvements
[0161] Multi-stage amplification and attenuation: A multi-stage amplification and attenuation structure is used in the receiver to flexibly adjust the signal amplitude.
[0162] Digital Signal Processing (DSP): Post-process the saturated signal through the DSP algorithm to restore some of the distorted information.
[0163] The carrier signal processing method based on an OFDM system provided in the embodiments of the present application can be executed by a carrier signal processing device based on an OFDM system. In the embodiments of the present application, the carrier signal processing device provided in the embodiments of the present application is described by taking the carrier signal processing device based on an OFDM system executing the carrier signal processing method based on an OFDM system as an example.
[0164] An embodiment of the present application also provides a carrier signal processing device based on an OFDM system. Figure 9 : is a structural diagram of a carrier signal processing device based on an OFDM system provided in an embodiment of the present application. Figure 9 As shown, the carrier signal processing device includes: a sampling point acquisition module 910, a sampling point processing module 920 and a synchronization processing module 930.
[0165] The sampling point acquisition module 910 is used to obtain the signal energy of the current sampling point in the current signal segment of the digital signal;
[0166] a sampling point processing module 920 configured to perform amplitude suppression processing on the signal energy of the current sampling point based on a comparison result of the signal energy of the current sampling point with a reference energy; the reference energy being determined based on an average signal energy of historical sampling points corresponding to a plurality of historical signal segments in the digital signal, wherein each signal segment in the digital signal has the same number of sampling points;
[0167] The synchronization processing module 930 is configured to perform carrier synchronization processing based on the signal energy of the current sampling point after the amplitude suppression processing.
[0168] According to the carrier signal processing device provided in the embodiment of the present application, the signal energy of each newly arrived sampling point is automatically tracked, the impulse or pulse noise sampling point is detected based on the comparison result of the signal energy and the reference energy, and the impulse or pulse noise sampling point is filtered out through amplitude suppression processing, thereby improving the accuracy of signal synchronization and further improving the reliability of the OFDM system. In addition, the reference energy is calculated by the average signal energy of the historical sampling points corresponding to multiple historical signal segments. On the basis of increasing the tracking sensitivity, it is ensured that the calculated reference energy is more likely to represent the reasonable energy range of the real signal, thereby further improving the accuracy of signal synchronization.
[0169] The carrier signal processing device in the embodiments of the present application can be an electronic device or a component of an electronic device, such as an integrated circuit or chip. The electronic device can be a terminal or other device other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc., and the embodiments of the present application are not specifically limited.
[0170] The carrier signal processing device in the embodiments of the present application may be a device having an operating system. The operating system may be a Microsoft (Windows) operating system, an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
[0171] The carrier signal processing device provided in the embodiment of the present application can achieve Figures 3 to 8 To avoid repetition, the various processes implemented in the method embodiment are not described here.
[0172] In some embodiments, as Figure 10As shown, an embodiment of the present application also provides an electronic device 1000, including a processor 1001, a memory 1002, and a computer program stored in the memory 1002 and executable on the processor 1001. When the program is executed by the processor 1001, the various processes of the above-mentioned carrier signal processing method embodiment based on the OFDM system are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0173] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0174] An embodiment of the present application also provides a non-transitory computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the various processes of the above-mentioned carrier signal processing method embodiment based on the OFDM system and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0175] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0176] An embodiment of the present application further provides a computer program product, including a computer program, which implements the above-mentioned carrier signal processing method based on the OFDM system when executed by a processor.
[0177] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0178] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned carrier signal processing method embodiment based on the OFDM system, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0179] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0180] It should be noted that, in this document, the terms "comprises", "includes" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may be added, omitted, or signal segmented. In addition, features described with reference to certain examples may be signal segmented in other examples.
[0181] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, or the part that contributes to the relevant technology, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of this application.
[0182] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.
[0183] Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
[0184] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions, and variations may be made to the embodiments without departing from the principles and intent of the present application, and that the scope of the present application is defined by the claims and their equivalents.
Claims
1. A carrier signal processing method based on an OFDM system, characterized in that: include: Acquire an initial digital signal output by a pre-stage analog gain control, and determine the initial signal energy of a current sampling point in the initial digital signal; the initial digital signal includes an impulse sampling point generated in the pre-stage analog gain control; performing digital gain control on the current sampling point according to the current gain to obtain the signal energy of the current sampling point; the current gain is updated based on the difference between the gain average energy and a preset reference energy; the gain average energy is obtained by iteratively updating the average signal energy of historical sampling points within a preset time window based on the signal energy of the previous sampling point before the current sampling point; Based on a comparison result of the signal energy of the current sampling point and a reference energy, if the current sampling point is an impulse sampling point, performing amplitude suppression processing on the signal energy of the current sampling point to filter out the impulse sampling point in the initial digital signal; The reference energy is equal to the product of the minimum value of the average signal energy of the historical sampling points corresponding to multiple historical signal segments in the digital signal and a coefficient, and the coefficient is greater than 1 so that the reference energy represents a reasonable energy range of a normal signal; the number of sampling points in each signal segment in the digital signal is equal to the number of sampling points in a preset time window; Carrier synchronization processing is performed based on the signal energy of the current sampling point after the amplitude suppression processing.
2. The carrier signal processing method based on OFDM system according to claim 1, characterized in that: The performing amplitude suppression processing on the signal energy of the current sampling point based on the comparison result of the signal energy of the current sampling point and the reference energy includes: If the signal energy of the current sampling point is greater than the reference energy, the signal energy of the current sampling point is set to zero; if the signal energy of the current sampling point is less than or equal to the reference energy, the signal energy of the current sampling point is kept unchanged.
3. The carrier signal processing method based on OFDM system according to claim 1, characterized in that: The reference energy is determined based on a minimum value of average signal energies of historical sampling points corresponding to the multiple historical signal segments.
4. The carrier signal processing method based on OFDM system according to claim 1, characterized in that: The initial digital signal is an output signal of a digital filter.
5. The carrier signal processing method based on an OFDM system according to any one of claims 1 to 4, characterized in that: The performing carrier synchronization processing based on the signal energy of the current sampling point after the amplitude suppression processing includes: performing amplitude limiting processing on the signal energy of the current sampling point after the amplitude suppression processing based on a comparison result of the signal energy of the current sampling point and a preset saturation threshold value, wherein the saturation threshold value is less than the reference energy; Carrier synchronization processing is performed based on the signal energy of the current sampling point after the limiting processing.
6. A carrier signal processing device based on an OFDM system, characterized in that: include: A sampling point acquisition module is used to acquire an initial digital signal output by a pre-stage analog gain control and determine the initial signal energy of a current sampling point in the initial digital signal; the initial digital signal includes an impulse sampling point generated by the pre-stage analog gain control; performing digital gain control on the current sampling point according to the current gain to obtain the signal energy of the current sampling point; the current gain is updated based on the difference between the gain average energy and a preset reference energy; the gain average energy is obtained by iteratively updating the average signal energy of historical sampling points within a preset time window based on the signal energy of the previous sampling point before the current sampling point; a sampling point processing module, configured to, based on a comparison result of the signal energy of the current sampling point and a reference energy, perform amplitude suppression processing on the signal energy of the current sampling point, so as to filter out the impulse sampling point in the initial digital signal, if the current sampling point is an impulse sampling point; The reference energy is equal to the product of the minimum value of the average signal energy of the historical sampling points corresponding to multiple historical signal segments in the digital signal and a coefficient, and the coefficient is greater than 1 so that the reference energy represents a reasonable energy range of a normal signal; the number of sampling points in each signal segment in the digital signal is equal to the number of sampling points in a preset time window; The synchronization processing module is used to perform carrier synchronization processing based on the signal energy of the current sampling point after the amplitude suppression processing.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the carrier signal processing method based on the OFDM system is implemented as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Impulse noise suppression method for power line carrier communication system
CN116545476A
Interference suppression method and system based on HPLC (High Performance Liquid Chromatography) system
CN116915283A