CN118200102A - Frame signal detection method and device based on HPLC dual-mode wired system - Google Patents

Frame signal detection method and device based on HPLC dual-mode wired system Download PDF

Info

Publication number
CN118200102A
CN118200102A CN202410295979.3A CN202410295979A CN118200102A CN 118200102 A CN118200102 A CN 118200102A CN 202410295979 A CN202410295979 A CN 202410295979A CN 118200102 A CN118200102 A CN 118200102A
Authority
CN
China
Prior art keywords
cir
domain data
time domain
determining
peak
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410295979.3A
Other languages
Chinese (zh)
Inventor
任江涛
邓敬贤
温小军
张国松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Xinxiang Semiconductor Technology Co ltd
Original Assignee
Hangzhou Xinxiang Semiconductor Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Xinxiang Semiconductor Technology Co ltd filed Critical Hangzhou Xinxiang Semiconductor Technology Co ltd
Priority to CN202410295979.3A priority Critical patent/CN118200102A/en
Publication of CN118200102A publication Critical patent/CN118200102A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/26Systems using multi-frequency codes
    • H04L27/2601Multicarrier modulation systems
    • H04L27/2647Arrangements specific to the receiver only
    • H04L27/2655Synchronisation arrangements
    • H04L27/2656Frame synchronisation, e.g. packet synchronisation, time division duplex [TDD] switching point detection or subframe synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/02Details ; arrangements for supplying electrical power along data transmission lines
    • H04L25/0202Channel estimation
    • H04L25/0212Channel estimation of impulse response

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The embodiment of the invention discloses a method and a device for detecting frame signals based on an HPLC dual-mode wired system. According to the embodiment of the invention, a first CIR peak value is determined according to at least two groups of first time domain data, and then a CIR peak-to-average value is determined; determining that the last group of first time domain data in at least two groups of first time domain data is an OFDM symbol of SYNCP in response to the CIR peak-to-average ratio value being greater than a first set threshold value, and determining a position index of a first CIR peak value in the OFDM symbol of SYNCP; adjusting the timing point to a head position of an OFDM symbol of the preamble according to the position index of the first CIR peak value; receiving at least four sets of second time domain data; determining at least three second CIR peaks from at least four sets of second time domain data; and determining that the candidate OFDM symbol is a second OFDM symbol of SYNCM in response to the latest three second CIR peaks meeting the first-stage V-shaped characteristic and meeting the second-stage V-shaped characteristic or not meeting the second-stage V-shaped characteristic but meeting the set polarity characteristic. By the method, the probability of frame signal detection can be improved.

Description

Frame signal detection method and device based on HPLC dual-mode wired system
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for detecting frame signals based on an HPLC dual-mode wired system.
Background
Along with development of science and technology, smart Power grid meter reading systems, energy internet, smart home, industrial data acquisition and the like are increasingly and widely used in production and life of people, data transmission is needed in the application process, a common data transmission mode comprises a High-speed Power line carrier (High-speed Power LINE CARRIER, HPLC), the High-speed Power line carrier is also called a broadband Power line carrier, the broadband Power line carrier technology for data transmission on a voltage Power line is adopted, the broadband Power line carrier communication technology can utilize the existing Power line to carry out data transmission without rewiring, networking is simple, cost is low, application range is wide, and information safety is guaranteed.
In the prior art, the orthogonal frequency division multiplexing (Orthogonal Frequency Division Multiplexing, OFDM) symbol in the HPLC system is a burst frame signal, the primary work of the receiver is to detect the frame signal in real time, and the effect of detecting the frame signal is to detect the arrival of the frame signal in the burst system so as to determine the busy and idle state of the channel, and at the same time, timing synchronization can be performed so as to determine the boundary of the OFDM symbol in the frame signal; most of the existing OFDM frame signal detection and synchronization methods are carried out in the time domain, the common OFDM frame signal detection and synchronization methods are difficult to meet the performance and the calculated amount at the same time, in order to meet the performance and the calculated amount at the same time, the prior art utilizes the peak-to-average ratio of a time domain channel impulse response (Channel Impulse Response, CIR) of a Preamble signal (Preamble) to judge the arrival of a SYNCP symbol, and the V-shaped power characteristic of the CIR and the polarity reversal of a power peak to judge the occurrence of SYNCM symbols; however, due to the influence of various interferences, especially the interferences of sampling frequency offset, the V-type power characteristics are very obvious, so that the peak position is deviated by a non-integer number of points, the peak position index is deviated, the CIR at the peak position is disordered, the condition of polarity inversion is not satisfied, the Frame Detection (FD) is missed, and the detection probability of the Frame signal is reduced.
In summary, how to increase the probability of frame signal detection is a problem to be solved at present.
Disclosure of Invention
In view of this, the embodiment of the invention provides a method and a device for detecting frame signals based on an HPLC dual-mode wired system, which can improve the probability of frame signal detection.
In a first aspect, an embodiment of the present invention provides a method for detecting a frame signal based on an HPLC dual-mode wired system, where the method includes:
Receiving at least two sets of first time domain data;
Determining a first Channel Impulse Response (CIR) peak from the at least two sets of first time domain data;
Determining a CIR peak-to-average ratio value according to the first CIR peak value;
Determining that a last one of the at least two sets of first time domain data is an Orthogonal Frequency Division Multiplexing (OFDM) symbol of a SYNCP in response to the CIR peak-to-average value being greater than a first set threshold, and determining a location index of the first CIR peak in the OFDM symbol of the SYNCP;
adjusting a timing point to a head position of an OFDM symbol of a preamble signal according to a position index of the first CIR peak value;
receiving at least four sets of second time domain data, wherein the second time domain data is time domain data received at a head position of an OFDM symbol of the preamble signal;
determining at least three second CIR peaks from the at least four sets of second time domain data;
Determining that the last group of second time domain data is SYNCM as a candidate OFDM symbol in response to the latest three times that the second CIR peak accords with a first-stage V-shaped characteristic;
And determining that the candidate OFDM symbol is a second OFDM symbol of SYNCM in response to the latest three times that the second CIR peak meets a second-stage V-shaped characteristic or the latest three times that the second CIR peak does not meet the second-stage V-shaped characteristic but meets a set polarity characteristic.
Optionally, the determining a first Channel Impulse Response (CIR) peak according to the at least two sets of first time domain data specifically includes:
performing Fast Fourier Transform (FFT) on the first time domain data to generate first frequency domain data;
And determining a first CIR peak value according to at least two groups of the first frequency domain data.
Optionally, the determining the first CIR peak according to at least two sets of the first frequency domain data specifically includes:
combining the at least two groups of first frequency domain data to generate first combined frequency domain data;
Performing conjugate multiplication on the first combined frequency domain data and the local frequency domain data of the preamble symbol to obtain a first product;
Performing Inverse Fast Fourier Transform (IFFT) on the first product to generate a set number of first CIR values;
And determining the maximum value of the set number of first CIR values as the first CIR peak value.
Optionally, the determining that the last one of the at least two sets of first time domain data is an Orthogonal Frequency Division Multiplexing (OFDM) symbol of SYNCP in response to the CIR peak-to-average value being greater than a first set threshold specifically includes:
And determining that the last group of the first time domain data in the at least two groups of the first time domain data is an OFDM symbol of the SYNCP in response to the CIR peak-to-average value being greater than the first set threshold and the first CIR peak value being greater than a second set threshold.
Optionally, after the timing point is adjusted to the head position of the OFDM symbol of the preamble according to the position index of the first CIR peak, the method further includes:
After the last OFDM symbol of the position index of the first CIR peak value is determined, waiting for the position index time domain signal points, and then receiving time domain data, wherein the received time domain data is the second time domain data; or alternatively
And in response to the number of the position index time domain signal points being smaller than a hardware circuit delay threshold, waiting for the position index time domain signal points and the time domain signal points of a complete OFDM symbol, and then receiving time domain data, wherein the received time domain data is the second time domain data.
Optionally, determining at least three second CIR peaks according to the at least four sets of second time domain data specifically includes:
Determining a second CIR peak value and a maximum value index after combining two adjacent groups of second time domain data, wherein the second CIR peak value is the maximum value of the modulus values in +/-1 point indexes of the maximum value index;
and updating the second time domain data and the maximum value index to obtain the second CIR peak value of the latest three times.
Optionally, the responding to the last three times of the second CIR peak accords with the first-stage V-shaped characteristic specifically includes:
Determining that a third of the most recent three second CIR peaks meets a first level V-shape feature in response to a first one of the third most recent second CIR peaks being greater than a product of the second one of the second CIR peaks and a first threshold and a third one of the third most recent second CIR peaks being greater than a product of the second one of the second CIR peaks and the first threshold;
The determining, in response to the latest three times that the second CIR peak meets a second-stage V-shaped feature or the latest three times that the second CIR peak does not meet the second-stage V-shaped feature but meets a set polarity feature, the candidate OFDM symbol is a second OFDM symbol of SYNCM specifically includes:
Determining a second OFDM symbol of SYNCM for the candidate OFDM symbol in response to a first one of the last three second CIR peaks being greater than a product of the second one of the second CIR peaks and a second threshold and a third one of the last three second CIR peaks being greater than a product of the second one of the second CIR peaks and a second threshold; or alternatively
And determining that the candidate OFDM symbol is a second OFDM symbol of SYNCM in response to a first one of the second CIR peaks of the last three times being less than or equal to a product of the second one of the second CIR peaks and a second threshold and or a third one of the second CIR peaks of the last three times being less than or equal to a product of the second one of the second CIR peaks and a second threshold, but satisfying a first polarity of the first one of the second CIR peaks and a second polarity of the third one of the second CIR peaks being opposite.
In a second aspect, an embodiment of the present invention provides an apparatus for detecting and synchronizing frame signals based on an HPLC system, where the apparatus includes:
A first receiving unit for receiving at least two groups of first time domain data;
a first determining unit configured to determine a first Channel Impulse Response (CIR) peak value according to the at least two sets of first time domain data;
the first determining unit is further configured to determine a CIR peak-to-average value according to the first CIR peak value;
A second determining unit, responsive to the CIR peak-to-average value being greater than a first set threshold, configured to determine that a last one of the at least two sets of first time domain data is an Orthogonal Frequency Division Multiplexing (OFDM) symbol of SYNCP, and determine a position index of the first CIR peak in the OFDM symbol of SYNCP;
An adjusting unit, configured to adjust a timing point to a head position of an OFDM symbol of a preamble signal according to a position index of the first CIR peak;
A second receiving unit configured to receive at least four sets of second time domain data, where the second time domain data is time domain data that starts to be received at a head position of an OFDM symbol of the preamble;
A third determining unit, configured to determine at least three second CIR peaks according to the at least four sets of second time domain data;
a fourth determining unit, configured to determine that the last group of second time domain data is SYNCM as a candidate OFDM symbol in response to the latest three times that the second CIR peak accords with a first-stage V-shaped feature;
The fourth determining unit is further configured to determine, in response to the latest three times that the second CIR peak meets a second level V-shaped feature, or the latest three times that the second CIR peak does not meet the second level V-shaped feature but meets a set polarity feature, that the candidate OFDM symbol is a second OFDM symbol of SYNCM.
Optionally, the first determining unit is specifically configured to:
performing Fast Fourier Transform (FFT) on the first time domain data to generate first frequency domain data;
And determining a first CIR peak value according to at least two groups of the first frequency domain data.
Optionally, the first determining unit is specifically further configured to:
combining the at least two groups of first frequency domain data to generate first combined frequency domain data;
Performing conjugate multiplication on the first combined frequency domain data and the local frequency domain data of the preamble symbol to obtain a first product;
Performing Inverse Fast Fourier Transform (IFFT) on the first product to generate a set number of first CIR values;
And determining the maximum value of the set number of first CIR values as the first CIR peak value.
Optionally, the second determining unit is specifically configured to:
And determining that the last group of the first time domain data in the at least two groups of the first time domain data is an OFDM symbol of the SYNCP in response to the CIR peak-to-average value being greater than the first set threshold and the first CIR peak value being greater than a second set threshold.
Optionally, the second receiving unit is further configured to:
After the last OFDM symbol of the position index of the first CIR peak value is determined, waiting for the position index time domain signal points, and then receiving time domain data, wherein the received time domain data is the second time domain data; or alternatively
And in response to the number of the position index time domain signal points being smaller than a hardware circuit delay threshold, waiting for the position index time domain signal points and the time domain signal points of a complete OFDM symbol, and then receiving time domain data, wherein the received time domain data is the second time domain data.
Optionally, the third determining unit is specifically configured to:
Determining a second CIR peak value and a maximum value index after combining two adjacent groups of second time domain data, wherein the second CIR peak value is the maximum value of the modulus values in +/-1 point indexes of the maximum value index;
and updating the second time domain data and the maximum value index to obtain the second CIR peak value of the latest three times.
Optionally, the fourth determining unit is specifically configured to:
Determining that a third of the most recent three second CIR peaks meets a first level V-shape feature in response to a first one of the third most recent second CIR peaks being greater than a product of the second one of the second CIR peaks and a first threshold and a third one of the third most recent second CIR peaks being greater than a product of the second one of the second CIR peaks and the first threshold;
The fourth determining unit is specifically further configured to:
Determining a second OFDM symbol of SYNCM for the candidate OFDM symbol in response to a first one of the last three second CIR peaks being greater than a product of the second one of the second CIR peaks and a second threshold and a third one of the last three second CIR peaks being greater than a product of the second one of the second CIR peaks and a second threshold; or alternatively
And determining that the candidate OFDM symbol is a second OFDM symbol of SYNCM in response to a first one of the second CIR peaks of the last three times being less than or equal to a product of the second one of the second CIR peaks and a second threshold and or a third one of the second CIR peaks of the last three times being less than or equal to a product of the second one of the second CIR peaks and a second threshold, but satisfying a first polarity of the first one of the second CIR peaks and a second polarity of the third one of the second CIR peaks being opposite.
In a third aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor, the memory configured to store one or more computer instructions, wherein the one or more computer instructions are executable by the processor to implement the method of the first aspect or any one of the possibilities of the first aspect.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium having stored thereon a computer program for execution by a processor to implement the method of the first aspect or any of the possibilities of the first aspect.
The embodiment of the invention receives at least two groups of first time domain data; determining a first Channel Impulse Response (CIR) peak from the at least two sets of first time domain data; determining a CIR peak-to-average ratio value according to the first CIR peak value; determining that a last one of the at least two sets of first time domain data is an Orthogonal Frequency Division Multiplexing (OFDM) symbol of a SYNCP in response to the CIR peak-to-average value being greater than a first set threshold, and determining a location index of the first CIR peak in the OFDM symbol of the SYNCP; adjusting a timing point to a head position of an OFDM symbol of a preamble signal according to a position index of the first CIR peak value; receiving at least four sets of second time domain data, wherein the second time domain data is time domain data received at a head position of an OFDM symbol of the preamble signal; determining at least three second CIR peaks from the at least four sets of second time domain data; determining that the last group of second time domain data is SYNCM as a candidate OFDM symbol in response to the latest three times that the second CIR peak accords with a first-stage V-shaped characteristic; and determining that the candidate OFDM symbol is a second OFDM symbol of SYNCM in response to the latest three times that the second CIR peak meets a second-stage V-shaped characteristic or the latest three times that the second CIR peak does not meet the second-stage V-shaped characteristic but meets a set polarity characteristic. By the method, the probability of frame signal detection can be improved.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following description of embodiments of the present invention with reference to the accompanying drawings, in which:
FIG. 1 is a schematic diagram of a prior art frame format;
fig. 2 is a schematic diagram of a preamble symbol in the prior art;
FIG. 3 is a schematic diagram of a frame signal detection and synchronization structure based on an HPLC system according to an embodiment of the present invention;
FIG. 4 is a flow chart of a method for detecting and synchronizing frame signals based on an HPLC system according to an embodiment of the present invention;
FIG. 5 is a flow chart of a method for determining a first CIR peak in an embodiment of the invention;
FIG. 6 is a schematic diagram illustrating calculation of a first CIR value according to an embodiment of the present invention;
FIG. 7 is a flow chart of a method for determining CIR peak-to-average ratio in an embodiment of the invention;
FIG. 8 is a flow chart of a method for determining a second CIR peak in an embodiment of the invention;
FIG. 9 is a schematic diagram of an apparatus for detecting and synchronizing frame signals based on an HPLC system according to an embodiment of the present invention;
fig. 10 is a schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The present disclosure is described below based on examples, but the present disclosure is not limited to only these examples. In the following detailed description of the present disclosure, certain specific details are set forth in detail. The present disclosure may be fully understood by those skilled in the art without a review of these details. Well-known methods, procedures, flows, components and circuits have not been described in detail so as not to obscure the nature of the disclosure.
Moreover, those of ordinary skill in the art will appreciate that the drawings are provided herein for illustrative purposes and that the drawings are not necessarily drawn to scale.
Unless the context clearly requires otherwise, the words "comprise," "comprising," and the like throughout the application are to be construed as including but not being exclusive or exhaustive; that is, it is the meaning of "including but not limited to".
In the description of the present disclosure, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present disclosure, unless otherwise indicated, the meaning of "a plurality" is two or more.
In the prior art, a common data transmission mode includes HPLC, a high-speed power line carrier is also called a broadband power line carrier, which is a broadband power line carrier technology for performing data transmission on a low-voltage power line, a broadband power line carrier communication network uses a power line as a communication medium to realize convergence, transmission and interaction of low-voltage power user power consumption information, and the broadband power line carrier mainly adopts an OFDM technology, and uses 2MHz-12MHz in a frequency band. Because the above communication manner cannot realize data transmission of data in a wireless space, an HPLC dual-mode system, i.e. a communication module or a communication device for performing data transmission by adopting two modes of a high-speed power line carrier and a high-speed wireless communication technology, is proposed in the prior art. The high-speed wireless communication technology in the HPLC dual-mode system is an effective supplement to the high-speed power line carrier technology, is a broadband carrier technology for data transmission in a wireless space, adopts an OFDM technology, and supports 470 MHz-510 MHz in a communication frequency band. The embodiment of the invention mainly aims at a communication system which adopts a high-speed wired communication technology to carry out data transmission in an HPLC dual-mode system, namely an HPLC dual-mode wired system.
The HPLC dual-mode wired system adopts the broadband power line carrier communication technology to carry out data transmission by utilizing the existing power line, does not need rewiring, has simple networking, low cost and wide application range, and simultaneously ensures the information safety; compared with the traditional narrowband power line communication technology, the physical layer is based on the OFDM technology, the communication rate is generally more than 1Mbps, the average communication rate is about 10Mbps, the method has obvious advantages in real-time performance and dynamic ad hoc network, the meter reading service of the smart grid is embodied, the meter reading rate can mainly reach 100%, and real-time fee control, remote real-time recharging, station area line loss analysis and the like can be realized; based on widely verified transmission control protocol/Internet protocol (Transmission Control Protocol/Internet Protocol, TCP/IP) network technology, the method has perfect link layer and network layer data protection and verification; besides data encryption of an application layer, the broadband carrier supports high-strength encryption algorithms such as data encryption labeling (Data Encryption Standard, DES), triple data encryption algorithm (TRIPLE DES,3 DES), advanced encryption standard (Advanced Encryption Standard, AES) and the like at a link layer, so that the data communication security is high; due to the advantages, the HPLC is widely applied to smart grid meter reading systems, energy Internet, smart home, industrial data acquisition and the like.
In the HPLC dual-mode wired system, the transmitter and the receiver adopt the same Frame format and are composed of three parts, including a Preamble Frame Control symbol (FC) and a traffic symbol (PL), as shown in fig. 1, the Preamble symbol (Preamble) includes 10.5 repeated SYNCP symbols and 2.5 SYNCM, wherein the first 0.5 SYNCP is the result of performing roll-off windowing on the second half of one SYNCP, the middle 10 SYNCPs are OFDM data, the time length of each OFDM data is 40.96us, the SYNCM is obtained by inverting the SYNCP symbol bits, and the last 0.5 SYNCP SYNCM is composed of data after roll-off windowing on the first half of SYNCM, and the Preamble symbol is mainly used for Frame signal detection, timing, sampling clock bias estimation, channel estimation and the like.
Most of the existing OFDM frame signal detection and synchronization methods are carried out in the time domain, and basically comprise the following three modes, namely, the first mode is to carry out frame signal detection and synchronization by utilizing the time delay autocorrelation characteristic among time domain sampling signals; secondly, performing frame signal detection and synchronization by utilizing the cross-correlation characteristic between the time domain sampling signal and the local sampling sequence; a third mode is combined by the first mode and the second mode; the method is calculated in a recursive manner, the calculated amount is small, but the method is very sensitive to narrow-band interference, such as single-frequency sine waves, and a complex filter circuit is required to be added to influence the performance of frame synchronization; the second pair of the mode has better resistance to noise and narrowband interference, but the calculation amount, the storage and the power consumption are very large as the mutual correlation operation needs to be carried out again for each updated sampling point, and the method is difficult to realize in broadband high-speed communication application; performance and computational effort are also difficult to meet simultaneously in the manner described.
Aiming at the situation that the performance and the calculated amount are difficult to meet at the same time, the prior art proposes a method for judging the arrival of a SYNCP symbol by using the peak-to-average ratio of the time domain CIR of the Preamble, and judging the occurrence of SYNCM symbols by using the V-shaped power characteristic of the CIR and the polarity reversal of the power peak; in the calculation process, FFT/IFFT operation is used for approximately replacing cross-correlation operation, so that the calculated amount is obviously reduced; in the process of judging SYNCM symbols, due to the influence of various interferences, particularly the interferences of sampling frequency offset, the V-shaped power characteristics are very obvious, so that the peak position generates non-integer point deviation, for example, when a certain range of sampling frequency offset exists between the receiving and transmitting ends, the timing drift condition can occur at intervals of a plurality of symbols; under the sampling rate of 25MHz, if the sampling frequency deviation is 200ppm, every 5 OFDM symbols, the symbol timing is deviated by 1 point; if the sampling frequency deviation is 100ppm, the symbol timing is deviated by 1 point every 10 symbols; even a few severe environments can lead to larger crystal oscillator frequency deviation; in the FD process, when the head of an OFDM symbol is positioned in the SYNCP detection process, CIR peak drift occurs in the SYNCM detection process, so that the CIR polarity of the peak position is disordered, the condition of polarity reversal is not satisfied, and the missing detection of the FD is caused; if the CIR peak value is searched within a certain range of the CP symbol head, the wrong maximum peak value is easy to detect, so that the wrong detection of the FD is caused, and the problems of the wrong detection and the missed detection are reduced to a certain extent.
Therefore, how to increase the probability of frame signal detection is a problem that needs to be solved at present.
In the embodiment of the present invention, in order to solve the above-mentioned problems, a frame signal detection and synchronization needs to be performed in a receiver, and a specific structure diagram is shown in fig. 3, where the specific structure diagram includes a SYNCP detection unit 301, a timing adjustment unit 302 and SYNCM detection unit 303, where the SNYCP detection unit is configured to detect whether a SYNCP symbol in a preamble signal arrives, and when the SYNCP symbol is detected successfully, the timing adjustment unit 302 is configured to adjust the timing of a received signal, adjust a timing point to a head position of an OFDM symbol of the preamble signal, and after the timing adjustment is completed, the timing adjustment unit is configured to enter the SYNCM detection unit, and the SYNCM detection unit is configured to detect whether a SYNCM symbol in the preamble signal arrives. As is clear from the above description, since the preamble symbol includes two parts, a SYNCP symbol and SYNCM symbols, the frame signal detection mainly includes two part processes, i.e., determination of the SYNCP symbol and determination of occurrence of the SYNCM symbol, and timing adjustment is performed after determining the SYNCP symbol and before determining the SYNCM symbol, which may also be referred to as timing synchronization.
The following describes the present invention in detail by a complete embodiment, and specifically proposes a method for detecting frame signals based on an HPLC dual-mode wired system, as shown in fig. 4, and fig. 4 is a schematic diagram of a method for detecting and synchronizing frame signals based on an HPLC dual-mode wired system according to an embodiment of the present invention. The method specifically comprises the following steps:
step S400, at least two sets of first time domain data are received.
Specifically, each set of first time domain data includes Nfft time domain signals, where the value of Nfft may be 1024 or other values, and the specific value is determined according to the sampling rate. In the embodiment of the present invention, each time-domain signal of Nfft is received, which indicates that an OFDM symbol is received.
Step S401, determining a first channel impulse response (Channel Impulse Response, CIR) peak value according to the at least two sets of first time domain data.
In one possible implementation, each time a set of first time domain data is received, i.e. each time a set of Nfft time domain signals is received, performing a fast fourier transform (Fast Fourier Transform, FFT) on a set of the first time domain data to generate first frequency domain data, wherein the first frequency domain data includes frequency domain data of Nfft points; and determining a first CIR peak value according to at least two groups of the first frequency domain data.
In this embodiment of the present invention, the determining the first CIR peak according to at least two sets of the first frequency domain data, as shown in fig. 5, includes the following steps:
And S500, combining the at least two groups of first frequency domain data to generate first combined frequency domain data.
Specifically, a plurality of sets of the first frequency domain data, that is, the first frequency domain data obtained by combining multiple FFT operations, where the number of the combined sets may be represented by num_cp_cmb, where the num_cp_cmb is set to be smaller than the number of symbols of SYNCP, preferably, the num_cp_cmb=4, and when the num_cp_cmb=4, the first frequency domain data of 4 sets are combined, and in this embodiment, the num_cp_cmb=6 or other values, where the specific value is determined according to the actual situation.
In the embodiment of the present invention, it is assumed that each set of first frequency domain data includes 1024 frequency domain data, where indexes of the 1024 frequency domain data are respectively index 0, index 1, index 2, and index 3 … … and index 1023, when 4 sets of the first frequency domain data are combined, that is, the frequency domain data on 4 index 0 are subjected to equal-ratio combination, the frequency domain data on 4 index 1 are subjected to equal-ratio combination, the frequency domain data on 4 index 2 are subjected to equal-ratio combination, the frequency domain data on 4 index 3 are subjected to equal-ratio combination … …, the frequency domain data on 4 index 1023 are subjected to equal-ratio combination, and the first combined frequency domain data generated after the combination is denoted as cp_cmb_freq, where the first combined frequency domain data includes 1024 frequency domain data. The other values are not described in detail, and the specific values are determined according to actual conditions.
Step S501, performing conjugate multiplication on the first combined frequency domain data and the local frequency domain data of the preamble symbol to obtain a first product.
Specifically, the first combined frequency domain data is expressed as cp_cmb_freq and the local frequency domain data of the preamble symbol are subjected to conjugate multiplication, wherein the local frequency domain data of the preamble symbol is data specified in a protocol, the local frequency domain data of the preamble symbol can be recorded as PRMB _loc_freq, specifically, as shown in fig. 6, the frequency domain data of the cp_cmb_freq and PRMB _loc_freq indexed at the same position are subjected to point-to-point conjugate multiplication to obtain a first product, which can be expressed as cp_cmb_ MULP; for example, the cp_cmb_freq includes 1024 pieces of frequency domain data, the indexes of the 1024 pieces of frequency domain data are respectively an index (1) 0, an index (1) 1, an index (1) 2, and an index (1) 3 … … and an index (1) 1023, the PRMB _loc_freq includes 1024 pieces of frequency domain data, the indexes of the 1024 pieces of frequency domain data are respectively an index (2) 0, an index (2) 1, an index (2) 2, and an index (2) 3 … …, and an index (2) 1023, and the frequency domain data at the position of the index (1) 0 is conjugate multiplied with the frequency domain data at the position of the index (2) 0, so as to generate frequency domain data at the position of an index (3) 0 of the first product cp_cmb_ MULP; the frequency domain data of the index (1) 1 position is multiplied by the frequency domain data of the index (2) 1 position in a conjugate way to generate frequency domain data of the index (3) 1 position of a first product CP_CMB_ MULP; similarly, the frequency domain data at the position 1023 of the index (1) is multiplied by the frequency domain data at the position 1023 of the index (2) in a conjugate manner to generate the frequency domain data at the position 1023 of the index (3) of the first product cp_cmb_ MULP.
In one possible implementation manner, when the Band number of the known frame signal (i.e., the first time domain data) is PRMB _loc_freq, the frequency domain data of the subcarrier corresponding to the Band number is taken, and the other subcarriers are all set to 0; for example, BAND0 occupies 411 points, and all points except the 411 points are set to 0 among 1024 points; when the Band number of the unknown frame signal is selected, selecting all subcarrier frequency domain data corresponding to each Band number, and setting other subcarriers to 0; for example, BAND0 occupies 411 points, and all points except the 411 points are set to 0 among 1024 points; the BAND0 occupies 411 points, and the index is from 80 to 490; the band1 occupies 131 points, the index is from 100 to 230, the repetition is occupied, and other points except the occupied point in 1024 points are all set to 0.
Step S502, the first product is subjected to inverse fast Fourier transform (INVERSE FAST Fourier Transform, IFFT) to generate a set number of first CIR values.
Specifically, performing an IFFT operation on the first product cp_cmb_ MULP, as shown in fig. 6, to obtain a first CIR value, denoted as cp_cmb_cir, and assuming that the first product includes 1024 points, generating 1024 first CIR values according to the first product; the specific numerical values are determined according to actual conditions, and the embodiment of the invention is not limited.
Step S503, determining a maximum value of the set number of first CIR values as the first CIR peak value.
Specifically, 1024 first CIR values are generated according to the first product, and specific values are determined according to actual conditions, which is not limited by the embodiment of the present invention.
And step S402, determining a CIR peak-to-average ratio value according to the first CIR peak value.
Specifically, as shown in fig. 7, the flowchart for determining the CIR peak-to-average value according to the first CIR peak value includes the following steps:
Step S700, determining the first CIR module values of the set number according to the first CIR values of the set number.
Specifically, assuming that the number of first CIR values is 1024, that is, the number of cp_cmb_cirs is 1024, 1024 first CIR modulus values are determined, which are denoted as cp_cmb_cir_abs; obtaining a maximum value CP_CIR_MAXV in a modulus value sequence of the 1024 first CIR modulus values, a position index CP_CIR_MAXV_IDX of the maximum value, and a symbol polarity CIR_SIGN_ANCHOR of the CP_CMB_CIR at the position index CP_CIR_MAXV_IDX of the maximum value; it is assumed that the modulus value at the index 3 position in the modulus value sequence of 1024 first CIR modulus values is the maximum value in the modulus value sequence, and this is only illustrative, and the specific number is determined according to the actual situation.
Step S701, determining a first average value according to the set number of first CIR modules.
Specifically, a sum of the first CIR modulus values of the set number is determined, and a ratio of the sum to the set number is determined as the first average value and is recorded as cp_cmb_cir_avg.
For example, a sum of 1024 first CIR modulus values cp_cmb_cir_abs is determined, and a ratio of the sum to 1024 is determined as the first average.
In one possible implementation, after one peak value is removed from the 1024 first CIR modules, calculating a sum value of the remaining 1023 first CIR modules, and determining a ratio of the sum value to the 1023 as the first average value; or removing the maximum values from the 1024 first CIR modules, for example, removing the maximum value from the 4 sequences, calculating the sum of the rest 1020 first CIR modules, and determining the ratio of the sum to 1020 as the first average value.
Step S702, determining the ratio of the first CIR peak value to the first average value as the CIR peak-to-average value ratio.
Specifically, the CIR peak-to-average ratio is expressed as CP_CIR_MAXV/CP_CMB_CIR_AVG.
Step S403, in response to the CIR peak-to-average value being greater than a first set threshold, determining that a last one of the at least two sets of first time domain data is an Orthogonal Frequency Division Multiplexing (OFDM) symbol of SYNCP, and determining a position index of the first CIR peak in the OFDM symbol of SYNCP.
Specifically, assuming that the first set threshold is denoted as cp_cir_p2a_thr, when the CIR peak-to-average value is greater than the cp_cir_p2a_thr, determining that the SYNCP detection is successful, that is, determining that the received first time domain data is an OFDM symbol of SYNCP.
In one possible implementation manner, while determining that the CIR peak-to-average value is greater than the cp_cir_p2a_thr, determining whether the cp_cir_maxv is greater than a second set threshold cp_cir_maxv_thr of the maximum cp_cir_maxv, and if the cp_cir_maxv is greater than the second set threshold cp_cir_maxv_thr of the maximum cp_cir_maxv, determining that the SYNCP detection is successful, that is, determining that the last one of the at least two sets of first time domain data is an OFDM symbol of SYNCP.
In one possible implementation, if the SYNCP detection fails, time domain data is continuously received, and the above procedure is repeated for SYNCP detection.
In the embodiment of the present invention, in the SYNCP detection process, the first time domain data is generated by performing real-time automatic gain control (Automatic Gain Control, AGC) estimation and adjustment on the time domain signal.
Step S404, adjusting the timing point to the head position of the OFDM symbol of the preamble signal according to the position index of the first CIR peak value.
Specifically, after the SYNCP detection is successful, starting timing adjustment, and adjusting the timing point of receiving the time domain data to the head position of the next OFDM symbol according to the position index cp_cir_maxv_idx of the first CIR peak; and adjusting the timing point to a head position of an OFDM symbol of the preamble according to the position index of the first CIR peak, the method further comprising: after determining the last OFDM symbol of the position index of the first CIR peak value, waiting for the position index CP_CIR_MAXV_IDX time domain signal points, and then receiving time domain data, wherein the received time domain data is the second time domain data; or in a possible implementation manner, considering the influence of the hardware circuit delay on the data buffering, if the number cp_cir_maxv_idx of the position index time domain signal points is smaller than the hardware circuit delay threshold asic_dly_thr, waiting for the position index cp_cir_maxv_idx time domain signal points and the time domain signal points of a complete OFDM symbol, then receiving time domain data, where the received time domain data is the second time domain data.
In one possible implementation, the AGC estimation and adjustment of the time domain signal is stopped after the timing point is adjusted to the head position of the OFDM symbol of the preamble.
Step S405, receiving at least four sets of second time domain data, where the second time domain data is time domain data received at a head position of an OFDM symbol of the preamble signal.
Specifically, each set of second time domain data includes Nfft time domain signals, where the value of Nfft may be 1024 or other values, which is specifically determined according to the sampling rate. In the embodiment of the present invention, each time-domain signal of Nfft is received, which indicates that an OFDM symbol is received.
In the embodiment of the present invention, since at least three CIR peaks are required for testing SYNCM, and two sets of time domain data are required for calculating each CIR peak, at least four sets of second time domain data are required to be received to realize SYNCM test.
In one possible implementation, but in the practical application process, the second time-domain data that starts to be received after timing adjustment may be the 5 th or 6 th symbol in SYNCP, and the specific value is determined according to the practical situation, which is only illustrated here, so that it may be required to receive more than four sets of the second time-domain data to implement the test of SYNCM, for example, to receive six sets of the second time-domain data to implement the test of SYNCM.
Step S406, determining at least three second CIR peaks according to the at least four sets of second time domain data.
Specifically, after merging according to two adjacent groups of second time domain data, determining one second CIR peak value and a maximum value index of the second CIR peak value, wherein the second CIR peak value is the maximum value of the modulus value in +/-1 point indexes of the maximum value index; and updating the second time domain data and the maximum value index of the second CIR peak value to obtain the second CIR peak value of the latest three times.
In the embodiment of the present invention, after the merging according to the two adjacent sets of the second time domain data, one second CIR peak value is determined, as shown in fig. 8, and the method includes the following steps:
Step S800, merging the two sets of second frequency domain data to generate second merged frequency domain data.
Specifically, the two sets of the second frequency domain data are combined, that is, the second frequency domain data obtained by the two FFT operations are combined.
Assuming that each set of second frequency domain data includes 1024 frequency domain data, indexes of the 1024 frequency domain data are respectively index 0, index 1, index 2 and index 3 … … index 1023, when 2 sets of the second frequency domain data are combined, namely 2 sets of frequency domain data on index 0 are subjected to equal-ratio combination, 2 sets of frequency domain data on index 1 are subjected to equal-ratio combination, 2 sets of frequency domain data on index 2 are subjected to equal-ratio combination, 2 sets of frequency domain data on index 3 are subjected to equal-ratio combination … …,2 sets of frequency domain data on index 1023 are subjected to equal-ratio combination, and second combined frequency domain data generated after combination are expressed as CM_CMB_FREQ, wherein 1024 sets of frequency domain data are included in the second combined frequency domain data. The other values are not described in detail, and the specific values are determined according to actual conditions.
Step S801, performing conjugate multiplication on the second combined frequency domain data and the local frequency domain data of the preamble symbol to obtain a second product.
Specifically, the second combined frequency domain data is expressed as cm_cmb_freq and the local frequency domain data of the preamble symbol are subjected to conjugate multiplication, wherein the local frequency domain data of the preamble symbol is data specified in a protocol, the local frequency domain data of the preamble symbol can be recorded as PRMB _loc_freq, the frequency domain data indexed in the same position by the cm_cmb_freq and PRMB _loc_freq are subjected to point-to-point conjugate multiplication to obtain a second product, which can be expressed as cm_cmb_ MULP; for example, the cm_cmb_freq includes 1024 pieces of frequency domain data, the indexes of the 1024 pieces of frequency domain data are respectively an index (4) 0, an index (4) 1, an index (4) 2, an index (4) 3 … …, and an index (4) 1023, the PRMB _loc_freq includes 1024 pieces of frequency domain data, the indexes of the 1024 pieces of frequency domain data are respectively an index (5) 0, an index (5) 1, an index (5) 2, and an index (5) 3 … …, and an index (5) 1023, and the frequency domain data at the position of the index (4) 0 is conjugate multiplied with the frequency domain data at the position of the index (5) 0, so as to generate frequency domain data at the position of an index (6) 0 of a second product cm_cmb_ MULP; the frequency domain data of the index (4) 1 position is multiplied by the frequency domain data of the index (5) 1 position in a conjugate way to generate frequency domain data of the index (6) 1 position of a second product CM_CMB_ MULP; similarly, the frequency domain data at the position of the index (4) 1023 is multiplied by the frequency domain data at the position of the index (5) 1023 in a conjugate manner to generate the frequency domain data at the position of the index (6) 1023 of the second product cm_cmb_ MULP.
In one possible implementation manner, when the Band number of the known frame signal (i.e., the first time domain data) is PRMB _loc_freq, the frequency domain data of the subcarrier corresponding to the Band number is taken, and the other subcarriers are all set to 0; for example, BAND0 occupies 411 points, and all points except the 411 points are set to 0 among 1024 points; when the Band number of the unknown frame signal is selected, selecting all subcarrier frequency domain data corresponding to each Band number, and setting other subcarriers to 0; for example, BAND0 occupies 411 points, and all points except the 411 points are set to 0 among 1024 points; the BAND0 occupies 411 points, and the index is from 80 to 490; the band1 occupies 131 points, the index is from 100 to 230, the repetition is occupied, and other points except the occupied point in 1024 points are all set to 0.
Step S802, performing inverse fast Fourier transform (INVERSE FAST Fourier Transform, IFFT) on the second product to generate a set number of second CIR values.
Specifically, performing an IFFT operation on the second product cm_cmb_ MULP to obtain a second CIR value, denoted as cm_cmb_cir, and assuming that the second product includes 1024 points, generating 1024 second CIR values according to the second product; the specific value is determined according to the actual situation, and the embodiment of the invention is not limited.
Step S803, determining a maximum value of the set number of second CIR values as the second CIR peak value.
Specifically, 1024 second CIR values are generated according to the second product, and specific values are determined according to actual conditions, which is not limited by the embodiment of the present invention.
In the embodiment of the invention, the initial value of CM-CIR_MAXV_IDX is set to 0, namely the initial value of the maximum value index of the second CIR peak value is set to 0, the modulus value CM_CMB_CIR of CM_CMB_CIR in CM-CIR_MAXV_IDX+/-1 point index is calculated, finding the maximum value of the first CIR peak value as the second CIR peak value, marking the second CIR peak value as CM_CIR_MAXV, and updating the maximum value index of the second CIR peak value; and updating the second time domain data, wherein each two groups acquire one second CIR peak value, the latest three times of second CIR peak values and polarities are acquired, the latest 3 times of second peak values are respectively marked as CM_CIR_MAXV1, CM_CIR_MAXV2 and CM_CIR_MAXV3, and the polarities are respectively marked as CM_CIR_SIGN1, CM_CIR_SIGN2 and CM_CIR_SIGN3.
In one possible implementation, the second CIR peak cm_cir_maxv1 is a peak of 1 value around the cm_cmb_cir_abs index 0 and index 0, i.e., the second CIR peak is a peak of 1 value around the cm_cmb_cir_abs index 0 and index 0; if the second CIR peak value is at the index 1 position, updating the maximum value index of the second CIR peak value to be 1, wherein the next second CIR peak value cm_cir_maxv2 is the peak value of 1 values around the cm_cmb_cir_abs index 1 and the index 1, namely, the second CIR peak value is the peak value of 1 values around the cm_cmb_cir_abs index 1 and the index 1; similarly, a new second CIR maximum is searched only within ±1 point of the known second CIR peak, and the second CIR peak search starting point of the updated symbol is the reference point with the second CIR peak index of the last symbol.
In one possible implementation, when the real part of the second CIR value is positive, its corresponding polarity decision is +1, otherwise, its corresponding polarity decision is-1.
And step S407, determining that the last group of second time domain data is SYNCM as a candidate OFDM symbol in response to the latest three times that the second CIR peak accords with the first-stage V-shaped characteristic.
Specifically, in response to a first one of the third most recent CIR peaks being greater than a product of the second one of the second CIR peaks and a first threshold, a third one of the third most recent CIR peaks being greater than a product of the second one of the second CIR peaks and the first threshold, determining that the third most recent CIR peak meets a first level V-shape feature.
In the embodiment of the invention, after the third second CIR peak value is obtained, the first V-shaped judgment is started, whether the third second CIR peak value accords with the first V-shaped characteristic is judged, if the third second CIR peak value accords with the V-shaped characteristic, the processing is continued, if the third second CIR peak value does not accord with the V-shaped characteristic, new time domain data is continuously received, the FFT operation is carried out, the new second CIR peak value is generated, and the second CIR peak value with the V-shaped judgment is the latest third second CIR peak value each time.
For example, the second CIR peaks of the last three times are cm_cir_maxv1, cm_cir_maxv2, and cm_cir_maxv3, deciding whether the cm_cir_maxv1, the cm_cir_maxv2, and the cm_cir_maxv3 satisfy a first level V-type feature, if cm_cir_maxv1> cm_cir_maxv2 x v_thr1, cm_cir_ma_xv3 > cm_cir_maxv2 x v_thr1, and cm_cir_maxv1> cm_cir_pwr_thr; if cm_cir_maxv3> cm_cir_pwr_thr, determining that the cm_cir_maxv1, the cm_cir_maxv2 and the cm_cir_maxv3 meet a first-stage V-type characteristic, wherein the v_thr1 is a first V-type power decision factor threshold, and the value of the v_thr1 is greater than 1; the cm_cir_pwr_thr is an error-proof threshold.
Step S408, in response to the latest three times of the second CIR peak value meeting the second-stage V-shaped characteristic, or the latest three times of the second CIR peak value not meeting the second-stage V-shaped characteristic but meeting the set polarity characteristic, determining that the candidate OFDM symbol is the second OFDM symbol of SYNCM.
Specifically, in response to a first one of the second CIR peaks of the three most recent times being greater than a product of the second CIR peak and a second threshold, and a third one of the second CIR peaks of the three most recent times being greater than a product of the second CIR peak and a second threshold, determining the candidate OFDM symbol as a second OFDM symbol of SYNCM; or alternatively
And determining that the candidate OFDM symbol is a second OFDM symbol of SYNCM in response to a first one of the second CIR peaks of the last three times being less than or equal to a product of the second one of the second CIR peaks and a second threshold and or a third one of the second CIR peaks of the last three times being less than or equal to a product of the second one of the second CIR peaks and a second threshold, but satisfying a first polarity of the first one of the second CIR peaks and a second polarity of the third one of the second CIR peaks being opposite.
In the embodiment of the present invention, if the third second CIR peak satisfies the second-stage V-type feature, then decision SYNCM is successful in detection; or the third second CIR peak does not meet the second-stage V-shaped characteristic, and whether the first polarity of the first second CIR peak and the second polarity of the third second CIR peak meet the reverse characteristic is judged, if yes, the judgment SYNCM is successful, if not, the judgment SYNCM is failed, the time domain data is continuously received, the FFT operation is carried out, and the processing mode is repeated.
In one possible implementation, if the latest three second CIR peaks are cm_cir_maxv1, cm_cir_maxv2, and cm_cir_maxv3, determining whether the cm_cir_maxv1, the cm_cir_maxv2, and the cm_cir_maxv3 satisfy a second level V-type feature, then SYNCM detecting successfully, wherein if cm_cir_maxv1> cm_cir_maxv2 is v_thr2, cm_cir_maxv2 > cm_cir_maxv2 is v_thr2, and if cm_cir_maxv2, and cm_cir_maxv3 satisfy a second level V-type feature, then SYNCM detecting successfully, wherein the v_thr2 is a second level V-type power decision factor threshold, the v_thr2 is greater than the value of thr1; or the three second CIR peaks do not satisfy a second level V-shape feature, the cm_cir_maxv1 is less than or equal to cm_cir_maxv2 x v_thr2, and or cm_cir_maxv is less than or equal to cm_cir_maxv2 x v_thr2, but the first polarity of the first of the second CIR peaks cm_cir_sign1 is the same as the SIGN polarity of the cp_cir_sign_ancor at the position index cp_cir_maxv_idx of the cp_cmb_cir at the maximum value, i.e. cm_cir_sign1 = cir_sign_ancor; and the second polarity cm_cir_signal3 of the third said second CIR peak is opposite to the SIGN polarity cir_sign_ancor at the position index cp_cir_maxv_idx of the cp_cmb_cir at the maximum value, i.e. cm_cir_signal3= -cir_sign_anchor, then decision SYNCM detects success; at this time, determining that the last set of the second time domain data is a second OFDM symbol SYNCM; the penultimate set of the second time domain data is the first OFDM symbol of SYNCM.
In the embodiment of the invention, the probability of frame signal detection is improved by the method.
Fig. 9 is a schematic diagram of an apparatus for detecting and synchronizing frame signals based on an HPLC system according to an embodiment of the present invention. As shown in fig. 9, the apparatus of the present embodiment includes a first receiving unit 901, a first determining unit 902, a second determining unit 903, an adjusting unit 904, a second receiving unit 905, a third determining unit 906, and a fourth determining unit 907.
The first receiving unit 901 is configured to receive at least two sets of first time domain data; the first determining unit 902 is configured to determine a first Channel Impulse Response (CIR) peak according to the at least two sets of first time domain data; the first determining unit 902 is further configured to determine a CIR peak-to-average value according to the first CIR peak value; the second determining unit 903, responsive to the CIR peak-to-average value being greater than a first set threshold, is configured to determine that a last one of the at least two sets of first time domain data is an Orthogonal Frequency Division Multiplexing (OFDM) symbol of SYNCP, and determine a position index of the first CIR peak in the OFDM symbol of SYNCP; the adjusting unit 904 is configured to adjust the timing point to a head position of an OFDM symbol of the preamble signal according to the position index of the first CIR peak; the second receiving unit 905 is configured to receive at least four sets of second time domain data, where the second time domain data is time domain data received at a head position of an OFDM symbol of the preamble signal; the third determining unit 906 is configured to determine at least three second CIR peaks according to the at least four sets of second time domain data; the fourth determining unit 907, responsive to the latest three times that the second CIR peak accords with a first-stage V-shaped characteristic, is configured to determine that the last set of the second time domain data is SYNCM as a candidate OFDM symbol; the fourth determining unit is further configured to determine, in response to the latest three times that the second CIR peak meets a second level V-shaped feature, or the latest three times that the second CIR peak does not meet the second level V-shaped feature but meets a set polarity feature, that the candidate OFDM symbol is a second OFDM symbol of SYNCM.
Further, the first determining unit is specifically configured to:
performing Fast Fourier Transform (FFT) on the first time domain data to generate first frequency domain data;
And determining a first CIR peak value according to at least two groups of the first frequency domain data.
Further, the first determining unit is specifically further configured to:
combining the at least two groups of first frequency domain data to generate first combined frequency domain data;
Performing conjugate multiplication on the first combined frequency domain data and the local frequency domain data of the preamble symbol to obtain a first product;
Performing Inverse Fast Fourier Transform (IFFT) on the first product to generate a set number of first CIR values;
And determining the maximum value of the set number of first CIR values as the first CIR peak value.
Further, the second determining unit is specifically configured to:
And determining that the last group of the first time domain data in the at least two groups of the first time domain data is an OFDM symbol of the SYNCP in response to the CIR peak-to-average value being greater than the first set threshold and the first CIR peak value being greater than a second set threshold.
Further, the second receiving unit is further configured to:
After the last OFDM symbol of the position index of the first CIR peak value is determined, waiting for the position index time domain signal points, and then receiving time domain data, wherein the received time domain data is the second time domain data; or alternatively
And in response to the number of the position index time domain signal points being smaller than a hardware circuit delay threshold, waiting for the position index time domain signal points and the time domain signal points of a complete OFDM symbol, and then receiving time domain data, wherein the received time domain data is the second time domain data.
Further, the third determining unit is specifically configured to:
Determining a second CIR peak value and a maximum value index after combining two adjacent groups of second time domain data, wherein the second CIR peak value is the maximum value of the modulus values in +/-1 point indexes of the maximum value index;
and updating the second time domain data and the maximum value index to obtain the second CIR peak value of the latest three times.
Further, the fourth determining unit is specifically configured to:
Determining that a third of the most recent three second CIR peaks meets a first level V-shape feature in response to a first one of the third most recent second CIR peaks being greater than a product of the second one of the second CIR peaks and a first threshold and a third one of the third most recent second CIR peaks being greater than a product of the second one of the second CIR peaks and the first threshold;
The fourth determining unit is specifically further configured to:
Determining a second OFDM symbol of SYNCM for the candidate OFDM symbol in response to a first one of the last three second CIR peaks being greater than a product of the second one of the second CIR peaks and a second threshold and a third one of the last three second CIR peaks being greater than a product of the second one of the second CIR peaks and a second threshold; or alternatively
And determining that the candidate OFDM symbol is a second OFDM symbol of SYNCM in response to a first one of the second CIR peaks of the last three times being less than or equal to a product of the second one of the second CIR peaks and a second threshold and or a third one of the second CIR peaks of the last three times being less than or equal to a product of the second one of the second CIR peaks and a second threshold, but satisfying a first polarity of the first one of the second CIR peaks and a second polarity of the third one of the second CIR peaks being opposite.
Fig. 10 is a schematic diagram of an electronic device according to an embodiment of the invention. The electronic device shown in fig. 10 is an apparatus for frame signal detection, which includes a general-purpose computer hardware structure including at least a processor 1001 and a memory 1002. The processor 1001 and the memory 1002 are connected by a bus 1003. The memory 1002 is adapted to store instructions or programs executable by the processor 1001. The processor 1001 may be a separate microprocessor or may be a set of one or more microprocessors. Thus, the processor 1001 performs the process of the embodiment of the present invention as described above by executing the instructions stored in the memory 1002 to realize the processing of data and the control of other devices. The bus 1003 connects the above-described components together, and connects the above-described components to the display controller 1004 and the display device and input/output (I/O) device 1005. Input/output (I/O) device 1005 may be a mouse, keyboard, modem, network interface, touch input device, somatosensory input device, printer, and other devices known in the art. Typically, the input/output devices 1005 are connected to the system through input/output (I/O) controllers 1006.
As will be appreciated by one skilled in the art, aspects of embodiments of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of embodiments of the invention may take the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a "circuit," module "or" system. Furthermore, aspects of embodiments of the invention may take the form of: a computer program product embodied in one or more computer-readable media having computer-readable program code embodied thereon.
Any combination of one or more computer readable media may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of embodiments of the present invention, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, such as in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to: electromagnetic, optical, or any suitable combination thereof. The computer readable signal medium may be any of the following: a computer-readable storage medium is not a computer-readable storage medium and can communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of embodiments of the present invention may be written in any combination of one or more programming languages, including: object oriented programming languages such as Java, smalltalk, C ++, etc.; and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package; executing partly on the user computer and partly on the remote computer; or entirely on a remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention described above describe aspects of embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer-readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, and various modifications and variations may be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for detecting a frame signal based on an HPLC dual mode cable system, the method comprising:
Receiving at least two sets of first time domain data;
Determining a first Channel Impulse Response (CIR) peak from the at least two sets of first time domain data;
Determining a CIR peak-to-average ratio value according to the first CIR peak value;
Determining that a last one of the at least two sets of first time domain data is an Orthogonal Frequency Division Multiplexing (OFDM) symbol of a SYNCP in response to the CIR peak-to-average value being greater than a first set threshold, and determining a location index of the first CIR peak in the OFDM symbol of the SYNCP;
adjusting a timing point to a head position of an OFDM symbol of a preamble signal according to a position index of the first CIR peak value;
receiving at least four sets of second time domain data, wherein the second time domain data is time domain data received at a head position of an OFDM symbol of the preamble signal;
determining at least three second CIR peaks from the at least four sets of second time domain data;
Determining that the last group of second time domain data is SYNCM as a candidate OFDM symbol in response to the latest three times that the second CIR peak accords with a first-stage V-shaped characteristic;
And determining that the candidate OFDM symbol is a second OFDM symbol of SYNCM in response to the latest three times that the second CIR peak meets a second-stage V-shaped characteristic or the latest three times that the second CIR peak does not meet the second-stage V-shaped characteristic but meets a set polarity characteristic.
2. The method of claim 1, wherein the determining a first Channel Impulse Response (CIR) peak from the at least two sets of first time domain data, comprises:
performing Fast Fourier Transform (FFT) on the first time domain data to generate first frequency domain data;
And determining a first CIR peak value according to at least two groups of the first frequency domain data.
3. The method of claim 2, wherein determining the first CIR peak from at least two sets of the first frequency domain data, specifically comprises:
combining the at least two groups of first frequency domain data to generate first combined frequency domain data;
Performing conjugate multiplication on the first combined frequency domain data and the local frequency domain data of the preamble symbol to obtain a first product;
Performing Inverse Fast Fourier Transform (IFFT) on the first product to generate a set number of first CIR values;
And determining the maximum value of the set number of first CIR values as the first CIR peak value.
4. The method of claim 1, wherein the determining that the last one of the at least two sets of first time domain data is an Orthogonal Frequency Division Multiplexing (OFDM) symbol of SYNCP in response to the CIR peak-to-average value being greater than a first set threshold value, comprises:
And determining that the last group of the first time domain data in the at least two groups of the first time domain data is an OFDM symbol of the SYNCP in response to the CIR peak-to-average value being greater than the first set threshold and the first CIR peak value being greater than a second set threshold.
5. The method of claim 1, wherein after the timing point is adjusted to the head position of the OFDM symbol of the preamble based on the position index of the first CIR peak, the method further comprises:
After the last OFDM symbol of the position index of the first CIR peak value is determined, waiting for the position index time domain signal points, and then receiving time domain data, wherein the received time domain data is the second time domain data; or alternatively
And in response to the number of the position index time domain signal points being smaller than a hardware circuit delay threshold, waiting for the position index time domain signal points and the time domain signal points of a complete OFDM symbol, and then receiving time domain data, wherein the received time domain data is the second time domain data.
6. The method of claim 1, wherein determining at least three second CIR peaks from the at least four sets of second time domain data, comprises:
Determining one second CIR peak value and a maximum value index of the second CIR peak value after merging the two adjacent groups of second time domain data, wherein the second CIR peak value is the maximum value of the modulus values in +/-1 point indexes of the maximum value index;
And updating the second time domain data and the maximum value index of the second CIR peak value to obtain the second CIR peak value of the latest three times.
7. The method of claim 1, wherein the responding to the last three times the second CIR peak meets a first level V-shape characteristic comprises:
Determining that a third of the most recent three second CIR peaks meets a first level V-shape feature in response to a first one of the third most recent second CIR peaks being greater than a product of the second one of the second CIR peaks and a first threshold and a third one of the third most recent second CIR peaks being greater than a product of the second one of the second CIR peaks and the first threshold;
The determining, in response to the latest three times that the second CIR peak meets a second-stage V-shaped feature or the latest three times that the second CIR peak does not meet the second-stage V-shaped feature but meets a set polarity feature, the candidate OFDM symbol is a second OFDM symbol of SYNCM specifically includes:
Determining a second OFDM symbol of SYNCM for the candidate OFDM symbol in response to a first one of the last three second CIR peaks being greater than a product of the second one of the second CIR peaks and a second threshold and a third one of the last three second CIR peaks being greater than a product of the second one of the second CIR peaks and a second threshold; or alternatively
And determining that the candidate OFDM symbol is a second OFDM symbol of SYNCM in response to a first one of the second CIR peaks of the last three times being less than or equal to a product of the second one of the second CIR peaks and a second threshold and or a third one of the second CIR peaks of the last three times being less than or equal to a product of the second one of the second CIR peaks and a second threshold, but satisfying a first polarity of the first one of the second CIR peaks and a second polarity of the third one of the second CIR peaks being opposite.
8. An apparatus for detecting a frame signal based on an HPLC dual mode cable system, the apparatus comprising:
A first receiving unit for receiving at least two groups of first time domain data;
a first determining unit configured to determine a first Channel Impulse Response (CIR) peak value according to the at least two sets of first time domain data;
the first determining unit is further configured to determine a CIR peak-to-average value according to the first CIR peak value;
A second determining unit, responsive to the CIR peak-to-average value being greater than a first set threshold, configured to determine that a last one of the at least two sets of first time domain data is an Orthogonal Frequency Division Multiplexing (OFDM) symbol of SYNCP, and determine a position index of the first CIR peak in the OFDM symbol of SYNCP;
An adjusting unit, configured to adjust a timing point to a head position of an OFDM symbol of a preamble signal according to a position index of the first CIR peak;
A second receiving unit configured to receive at least four sets of second time domain data, where the second time domain data is time domain data that starts to be received at a head position of an OFDM symbol of the preamble;
A third determining unit, configured to determine at least three second CIR peaks according to the at least four sets of second time domain data;
a fourth determining unit, configured to determine that the last group of second time domain data is SYNCM as a candidate OFDM symbol in response to the latest three times that the second CIR peak accords with a first-stage V-shaped feature;
The fourth determining unit is further configured to determine, in response to the latest three times that the second CIR peak meets a second level V-shaped feature, or the latest three times that the second CIR peak does not meet the second level V-shaped feature but meets a set polarity feature, that the candidate OFDM symbol is a second OFDM symbol of SYNCM.
9. An electronic device comprising a memory and a processor, wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method of any of claims 1-7.
10. A computer readable storage medium having stored thereon a computer program, characterized in that the program is executed by a processor to implement the method of any of claims 1-7.
CN202410295979.3A 2024-03-14 2024-03-14 Frame signal detection method and device based on HPLC dual-mode wired system Pending CN118200102A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410295979.3A CN118200102A (en) 2024-03-14 2024-03-14 Frame signal detection method and device based on HPLC dual-mode wired system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410295979.3A CN118200102A (en) 2024-03-14 2024-03-14 Frame signal detection method and device based on HPLC dual-mode wired system

Publications (1)

Publication Number Publication Date
CN118200102A true CN118200102A (en) 2024-06-14

Family

ID=91414709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410295979.3A Pending CN118200102A (en) 2024-03-14 2024-03-14 Frame signal detection method and device based on HPLC dual-mode wired system

Country Status (1)

Country Link
CN (1) CN118200102A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118555179A (en) * 2024-07-29 2024-08-27 广州海格通信集团股份有限公司 Frame synchronization method and device based on peak-to-average ratio and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118555179A (en) * 2024-07-29 2024-08-27 广州海格通信集团股份有限公司 Frame synchronization method and device based on peak-to-average ratio and electronic equipment

Similar Documents

Publication Publication Date Title
CN101295999B (en) Detection method for accidental precursor access
TWI271048B (en) Cell search method for orthogonal frequency division multiplexing based cellular communication system
CN101355383B (en) Signal detection method for stochastic access channel
CN110691056B (en) Synchronization method, device, equipment and storage medium of wireless communication system
KR102248486B1 (en) Apparatus and method for frequency offset estimation of received signal
CN118200102A (en) Frame signal detection method and device based on HPLC dual-mode wired system
CN104022996B (en) Channel estimation-based timing synchronization method for orthogonal frequency division multiplexing (OFDM) system
JP2008510419A (en) Symbol timing detection method in OFDM system
JP4138751B2 (en) Excess delay spread detection method for multi-carrier communication system
CN108075807B (en) Cell identifier detection method and device
US10742469B2 (en) Method and apparatus for determining time offset
US10187243B2 (en) Preamble sequence generating method, timing synchronization method, and device
CN111342919B (en) Method and equipment for estimating frequency domain channel correlation value of channel
CN116846722A (en) Method and device for detecting and synchronizing frame signals based on BPLC system
EP3804248B1 (en) Radio signal detection
US20140064190A1 (en) Apparatus and method for detecting lte uplink random access preamble based on parallel processing
JP6492506B2 (en) Sequence synchronization apparatus, method and receiver
US7876863B2 (en) Method and system for improving timing position estimation in wireless communications networks
CN105187353B (en) Symbol timing synchronization method and device in a kind of ofdm system
WO2010061993A1 (en) Apparatus and method for acquaring frame synchronization
CN113141197A (en) HPLC communication system sampling error detection method and system
KR20090028727A (en) Design of preamble structure for block transmission signals and receiver therefor
KR100857904B1 (en) Apparatus for Uplink Fast Ranging in mobile communication system and method thereof
CN101478519B (en) Fine synchronization method and receiver
CN102904852B (en) The synchronous method of the opposing bursty interference of a kind of ofdm system and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination