CN116032322A - Power line communication frequency band detection method and device and receiver - Google Patents

Power line communication frequency band detection method and device and receiver Download PDF

Info

Publication number
CN116032322A
CN116032322A CN202211595413.XA CN202211595413A CN116032322A CN 116032322 A CN116032322 A CN 116032322A CN 202211595413 A CN202211595413 A CN 202211595413A CN 116032322 A CN116032322 A CN 116032322A
Authority
CN
China
Prior art keywords
data
frequency band
power line
current
module
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
CN202211595413.XA
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.)
Shanghai Eastsoft Microelectronics Co ltd
Original Assignee
Shanghai Eastsoft Microelectronics 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 Shanghai Eastsoft Microelectronics Co ltd filed Critical Shanghai Eastsoft Microelectronics Co ltd
Priority to CN202211595413.XA priority Critical patent/CN116032322A/en
Publication of CN116032322A publication Critical patent/CN116032322A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

The invention discloses a power line communication frequency band detection method, a device and a receiver, wherein the method comprises the following steps: caching power line communication data received in real time; detecting a preamble signal according to the current cache data, and taking the current cache data in the cache as a preamble data sequence after detecting the preamble signal; and detecting the frequency band according to the front derivative sequence, and determining the current communication frequency band. By utilizing the scheme of the invention, the frequency band detection can be carried out on the power line communication in real time, and the whole operation amount is reasonable and controllable.

Description

Power line communication frequency band detection method and device and receiver
Technical Field
The invention relates to the technical field of power line communication, in particular to a power line communication frequency band detection method and device and a receiver.
Background
Power line communication (Power Line Communication, PLC) is also called power line carrier communication, and is a communication technology for transmitting data based on a power supply line. Different from other wired communication modes, the power line communication is complex in communication environment, and because of the numerous types of accessed electric equipment, a great amount of noise interference can be generated on a power supply line when the electric equipment works, and the time and frequency band of the interference are complex and changeable. For high noise channel environments, power line communication protocols typically define a plurality of configurable communication frequency bands, so as to avoid some bands of strong interference when applied. In addition, in many intelligent electronic product application scenarios, a private communication frequency band may be configured according to an actual channel environment.
In the existing power line communication process, the transmitting and receiving ends must be configured to be the same frequency band to normally perform data transmission. In most of the current power line applications, the transceiving frequency band is generally configured in advance, and the operation is simpler, but reduces the flexibility of frequency band switching, and the frequency band switching can be completed only by matching with a complex upper communication protocol or even software intervention. This approach reduces the efficiency of the access to the network on the one hand, and limits some applications requiring automatic frequency band switching, such as adaptive frequency hopping, simultaneous access to multiple networks by a single node, etc.
The rapid and accurate frequency band detection technology is the basis of automatic frequency band switching, and if a receiving end can automatically judge the working frequency band of a transmitted signal, the efficiency of networking access can be greatly improved, and meanwhile, the method provides possibility for a series of application expansion implementation such as self-adaptive frequency hopping. However, the current frequency band detection scheme used in the power line communication is low in efficiency or requires large operation resources, so that the use of the frequency band detection technology in actual products is limited.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a receiver for detecting the frequency band of power line communication, which can detect the frequency band of the power line communication in real time and have reasonable and controllable integral operation.
Therefore, the embodiment of the invention provides the following technical scheme:
in one aspect, an embodiment of the present invention provides a method for detecting a power line communication frequency band, where the method includes:
caching power line communication data received in real time;
detecting a preamble signal according to the current cache data, and taking the current cache data in the cache as a preamble data sequence after detecting the preamble signal;
and detecting the frequency band according to the front derivative sequence, and determining the current communication frequency band.
Optionally, the caching the power line communication data received in real time includes: and storing the power line communication data received in real time into a FIFO buffer, wherein the maximum length of the FIFO buffer is a complete preamble sequence length.
Optionally, the detecting the preamble signal according to the current buffered data includes:
acquiring current cache data from the FIFO buffer;
performing autocorrelation detection on the current cache data to obtain a correlation value;
and determining whether a preamble signal is detected according to the correlation value.
Optionally, the performing autocorrelation detection on the current cached data to obtain a correlation value includes:
delaying the current cache data by one or more preamble sequence repetition periods to obtain delay data;
and performing correlation operation on the delay data and the current cache data to obtain a correlation value.
Optionally, the determining whether the preamble signal is detected according to the correlation value includes:
if the correlation value is greater than a set threshold, determining that a preamble signal is detected;
otherwise, it is determined that the preamble signal is not detected.
Optionally, the performing frequency band detection according to the first derivative sequence, and determining the current communication frequency band includes:
preprocessing the front derivative sequence to obtain data to be detected;
and inputting the data to be detected into a pre-established classification model, and determining the current communication frequency band according to the output of the classification model.
Optionally, the preprocessing the first derivative sequence to obtain data to be detected includes: and accumulating the front derivative sequences according to a set repetition period to obtain data to be detected.
On the other hand, the embodiment of the invention also provides a device for detecting the frequency band of the power line communication, which comprises: the device comprises a buffer module, a preamble detection module and a frequency band detection module;
the buffer module is used for buffering the power line communication data received in real time;
the preamble detection module is used for detecting a preamble signal according to the current cache data in the cache module, locking the current cache data in the cache module after detecting the preamble signal, and indicating the frequency band detection module to detect the frequency band;
and the frequency band detection module is used for acquiring current cache data from the cache module as a front data sequence after receiving the indication of the front data detection module, and carrying out frequency band detection according to the front data sequence to determine the current communication frequency band.
Optionally, the buffer module is a FIFO buffer, and a maximum length of the FIFO buffer is a complete preamble sequence length.
Optionally, the preamble detection module includes:
a data extraction unit, configured to obtain current cached data from the FIFO buffer;
the correlation operation unit is used for carrying out autocorrelation detection on the current cache data to obtain a correlation value;
the related value detection unit is used for determining whether the leading signal is detected according to the related value, locking the current cache data in the cache module after the leading signal is detected, and indicating the frequency band detection module to carry out frequency band detection.
Optionally, the correlation operation unit includes:
the delay unit is used for delaying the current cache data by one or more sequence repetition periods to obtain delay data;
and the correlation value calculation unit is used for carrying out correlation operation on the delay data and the current cache data to obtain a correlation value.
Optionally, the frequency band detection module includes:
the front data acquisition unit is used for acquiring current cache data from the cache module as a front data sequence after receiving the indication of the front detection module;
the preprocessing unit is used for preprocessing the front data sequence to obtain data to be detected;
and the classification unit is used for inputting the data to be detected into a pre-established classification model, and determining the current communication frequency band according to the output of the classification model.
In another aspect, an embodiment of the present invention further provides a power line communication receiver, including: the receiving module and the power line communication frequency band detection device are used for detecting the power line communication frequency band;
the receiving module is used for receiving the power line communication data in real time;
the power line communication frequency band detection device is used for determining the current communication frequency band according to the power line communication data received by the receiving module in real time.
According to the power line communication frequency band detection method, the power line communication frequency band detection device and the power line communication frequency band detection receiver, power line communication data received in real time are cached, preamble signal detection is carried out according to current cached data, and after the preamble signal is detected, the current cached data in the cache is used as the preamble data; and then, frequency band detection is carried out according to the front derivative, and the current communication frequency band is determined. The scheme of the invention separates the preamble detection from the frequency band detection, and can complete the real-time detection function of the communication frequency band under the condition of high-speed data input.
Furthermore, the frequency band detection method using the preprocessing and the neural network can achieve good frequency band resolution under the condition of high noise, and is suitable for the power line communication environment.
The scheme of the invention can use a mode of combining software and hardware, has flexible implementation mode, controllable integral operation and storage resources, does not need to modify hardware when the number of frequency bands is changed, and has stronger robustness. The method can be applied to various narrow-width and broadband power line communication standards, and is particularly suitable for high-speed communication applications with a large number of frequency bands.
Drawings
Fig. 1 is a diagram of a preamble structure of the IEEE P1901.1 protocol;
fig. 2 is a flowchart of a method for detecting a power line communication frequency band according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of accumulating a sequence of forward derivatives in an embodiment of the invention;
fig. 4 is a schematic structural diagram of a power line communication frequency band detection device according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a preamble detection module according to an embodiment of the invention;
fig. 6 is a schematic diagram of a power line communication receiver according to an embodiment of the present invention.
Detailed Description
In order to make the above objects, features and advantages of the present invention more comprehensible, embodiments accompanied with figures are described in detail below.
In the main power line communication protocol, the start of a data frame generally defines a continuously repeated preamble sequence. The preamble sequence is used for synchronization of the receiver, for example, as shown in fig. 1, and the preamble sequence of the institute of electrical and electronics engineers (Institute of Electrical and Electronics Engineers, IEEE) P1901.1 protocol (hereinafter referred to as P1901.1) consists of 10 repeated SYNCP symbols and 2 SYNCM symbols inverted from the SYNCP (i.e., the SYNCM symbols are 180 ° out of phase with respect to the SYNCP symbols).
Based on the characteristic that the values of the preamble sequences of different frequency bands are different, but the preamble lengths and the repetition periods are the same, the embodiment of the invention provides a method and a device for detecting the power line communication frequency band and a receiver.
As shown in fig. 2, a flowchart of a method for detecting a power line communication frequency band according to an embodiment of the present invention includes the following steps:
step 201, power line communication data received in real time is buffered.
In the embodiment of the present invention, a first-in first-out (First Input First Output, FIFO) buffer may be used to buffer the continuous data stream, that is, the power line communication data received in real time is stored in the FIFO buffer, and the subsequent detection process needs to extract the current buffered data from the FIFO buffer for detection.
The FIFO memory is divided into a writing area and a reading area, and the reading operation and the writing operation can be performed asynchronously, and the data written in the writing area are read out from the reading area according to the writing order. In a specific application, the maximum length of the FIFO buffer may be set to be one complete preamble length. If the length of the FIFO buffer is smaller than the length of a complete preamble sequence, the subsequent detection can be completed, but the detection performance will be affected to some extent, and in a specific application, the FIFO buffer can be adjusted according to the requirements of the detection performance.
In the embodiment of the invention, the FIFO buffer can be divided into two modes of working and locking, and the received input data is stored during working; when locked, the cache data remains unchanged.
Step 202, detecting a preamble signal according to the current cache data, and taking the current cache data in the cache as a preamble data sequence after detecting the preamble signal.
Specifically, current cache data is obtained from the FIFO buffer, autocorrelation detection is performed on the current cache data, a correlation value is obtained, and whether a preamble signal is detected is determined according to the correlation value.
Because the preamble signal is a set of repeated sequences of data, the received communication data is delayed by one or more repeated periods of the preamble sequence by utilizing the characteristic, delay data is obtained, and then the delay data and the original data (namely the current cache data) are subjected to correlation operation, so that a correlation value is obtained.
When the received communication data is a preamble sequence with a repetitive sequence characteristic, the correlation value obtained by the operation will be large, and in other cases, the correlation value will be small. Therefore, whether the preamble signal is detected or not can be determined according to the correlation value obtained by the operation, that is, whether the current buffer data is the preamble sequence or not can be determined according to the correlation value obtained by the operation.
For example, a corresponding threshold may be preset, and if the correlation value is greater than the set threshold, it is determined that the preamble signal is detected; otherwise, it is determined that the preamble signal is not detected.
It should be noted that the threshold may also be different according to the specific manner of the correlation operation. For example, the correlation value of each bit of data in the delay data and the original data can be calculated, then the total correlation value is obtained, and judgment is performed according to the total correlation value; for another example, the total correlation value is calculated, and then the average correlation value is further calculated according to the total number of data participating in the correlation calculation. The thresholds may be different in these two cases, and in practical applications, the thresholds may need to be set according to a specific adopted correlation operation method, which is not limited to this embodiment of the present invention.
In addition, it should be noted that, under the same communication protocol, although the preamble values of different frequency bands are different, the repeated data mode is the same, so the method for detecting the autocorrelation delay in the embodiment of the present invention is applicable to preamble sequences of various different frequency bands.
And 203, performing frequency band detection according to the front derivative sequence, and determining the current communication frequency band.
In a specific application, a classification model may be used to determine the current communication frequency band based on the first derivative. The classification model may be, but is not limited to, a neural network model, where the input of the classification model is the preamble data, and the output is the frequency band class.
The neural network has strong classification capability, can ensure good classification capability even under the condition of high noise, and is suitable for the high-noise channel environment of power line communication. In addition, the neural network is flexible, and particularly, the neural network model can be conveniently and adaptively adjusted according to the frequency band number adopted by the communication protocol applied by the scheme. For example, when the number of communication frequency bands is increased or reduced according to the actual application requirement, only the number of output nodes of the output layer of the neural network model needs to be simply modified, the operation scale of the whole neural network is little affected, and the method is very beneficial to use in a multi-frequency band communication protocol or application.
Further, considering that the front derivative sequence is long, if the whole front derivative sequence is input into the neural network model, the scale of the neural network is large, the operation amount of the model is increased, and the operation efficiency is affected.
For this purpose, in another non-limiting embodiment of the present invention, the preceding data sequence may also be preprocessed to obtain the data to be detected; and then inputting the data to be detected into a pre-established classification model, and determining the current communication frequency band according to the output of the classification model.
For example, the front derivative sequences are accumulated according to a set repetition period to obtain data to be detected. Taking the P1901.1 protocol as an example, the preamble data sequence has 12 repeated symbols, and each symbol is 1024 sampling points. Since the last two symbols are SYNCM, the subtraction is performed for the last two symbols, which is opposite to the previous SYNCP value.
The repeated addition of the preceding data sequences is shown in fig. 3.
Referring to fig. 3, the 1 st sampling point of the 1 st to 12 th symbols is accumulated to obtain the 1 st accumulated value, then the 2 nd sampling point of the 1 st to 12 th symbols is accumulated to obtain the 2 nd accumulated value, and so on, 1024 accumulated values are finally obtained, and the 1024 accumulated values are used as the data to be detected.
Through the preprocessing accumulation operation, the length of the data sequence input into the neural network model can be reduced, namely the input data quantity of the neural network model is reduced, and the scale of the whole neural network can be further reduced. Meanwhile, as the front derivative is repeated, the repeated period is used for data accumulation, so that the signal to noise ratio of the data can be improved, and the classification success rate of the neural network is further improved.
Of course, in practical application, other ways may be used to reduce the input data amount of the neural network model, for example, for each symbol in the front derivative sequence, selecting a part of sampling values, accumulating, and the like, to obtain the data to be detected, which is not limited in the embodiment of the present invention.
It should be noted that various types of neural networks with classification functions may be suitable for use in the present invention. In particular applications, convolutional neural networks (Convolutional Neural Network, CNN) may be utilized for frequency band classification, considering implementation scale. The convolutional neural network may include one input layer, two convolutional layers, one fully-connected layer, and one output layer.
The input nodes and the output nodes of the convolutional neural network can be adjusted according to the protocol to be supported, for example, for the P1901.1 protocol, 1024 input nodes are arranged on the input layer, and the output layer comprises two output nodes corresponding to two classified outputs, namely two communication frequency bands specified by the P1901.1 protocol.
Through simulation test, under the condition of supporting the P1901.1 protocol, the scheme of the invention can achieve 100% of classification success rate under the condition that the signal-noise ratio (SNR) of received communication data is equal to-10 dB, namely the accuracy of frequency band detection can achieve 100%, and can completely meet the requirements of power line communication application scenes.
According to the power line communication frequency band detection method provided by the embodiment of the invention, power line communication data received in real time are cached, preamble signal detection is carried out according to the current cached data, and after the preamble signal is detected, the current cached data in the cache is used as the preamble data; and then, frequency band detection is carried out according to the front derivative, and the current communication frequency band is determined. The scheme of the invention separates the preamble detection and the frequency band detection, and in practical application, the detection process can be completed in a mode of combining software and hardware, wherein the data caching and the preamble detection are realized by using hardware, the requirement of high data rate input can be met, the frequency band detection is realized by using software, the quantity of detection frequency bands can be flexibly adjusted, and the hardware scale of the whole system can be controlled. By using the power line communication frequency band detection method provided by the embodiment of the invention, the real-time frequency band detection can be realized, and the whole operation resource can be reasonably controlled.
Further, by adopting the classification model based on the neural network, the input nodes and/or the output nodes of the neural network can be increased or reduced according to different application scenes, specifically, the input nodes can be adjusted according to the sampling points of the preamble symbol, and the output nodes can be adjusted according to the number of the working frequency bands, so that the frequency band detection number can be flexibly increased or reduced.
For example, two operating bands defined for the P1901.1 protocol: detection of band0 (1.953 MHz-11.96 MHz) and band1 (2.441 MHz-5.615 MHz) may set the input node of the neural network to 1024 and the output node to 2.
As another example, three operating bands are specified for the international telecommunications union standard (International Telecommunication Union, ITU) G9903 protocol: detection of CELENCE-A (39.938 kHz-90.625 kHz), CELENCE-B (98.4375 kHz-121.875 kHz), and FCC (159.375 kHz-478.125 kHz) can be performed by setting the input node of the neural network to 256 and the output node to 3.
For another example, in addition to the three frequency bands specified by the G3-PLC protocol, a series of frequency bands such as CENELEC-C/BC/D/BCD/BD may be provided, and the input node of the neural network may be 256 and the output node may be 8.
Correspondingly, the embodiment of the invention also provides a device for detecting the power line communication frequency band, as shown in fig. 4, which is a schematic structural diagram of the device for detecting the power line communication frequency band.
The detection device 400 includes: a buffer module 401, a preamble detection module 402, and a frequency band detection module 403. Wherein:
the buffer module 401 is configured to buffer power line communication data received in real time;
the preamble detection module 402 is configured to perform preamble detection according to current cached data in the cache module 401, lock the current cached data in the cache module 401 after detecting the preamble, and prompt the frequency band detection module 403 to perform frequency band detection;
the frequency band detection module 403 is configured to, after receiving the indication of the preamble detection module 402, obtain current buffered data from the buffer module 401 as a preamble sequence, perform frequency band detection according to the preamble sequence, and determine a current communication frequency band.
In a specific application, the buffering module 401 may use a FIFO buffer, where the maximum length of the FIFO buffer is one complete preamble length. The FIFO buffer memory can be divided into two modes of working and locking, and the received input data is stored during working; when locked, the cache data remains unchanged.
Since the preamble is a repeated sequence of a set of data, the preamble detection module 402 can determine whether the preamble is detected according to the obtained correlation value by performing a correlation operation on the current buffered data using the characteristic.
As shown in fig. 5, in one non-limiting embodiment, the preamble detection module 402 may include the following elements:
a data extraction unit 421, configured to obtain current buffered data from the FIFO buffer;
a correlation operation unit 422, configured to perform autocorrelation detection on the current cached data, to obtain a correlation value;
the correlation value detection unit 423 is configured to determine whether a preamble is detected according to the correlation value, lock current cache data in the cache module after the preamble is detected, and instruct the frequency band detection module to perform frequency band detection.
The correlation operation unit 422 may specifically include: a delay unit 4221 and a correlation value calculation unit 4222; the delay unit 4221 is configured to delay the current buffered data by one or more sequence repetition periods to obtain delayed data; the correlation value calculating unit 4222 is configured to perform a correlation operation on the delay data and the current buffered data to obtain a correlation value.
The correlation value detecting unit 423 may specifically determine whether the preamble signal is detected according to the correlation value and a preset threshold value, and if the correlation value is greater than the preset threshold value, determine that the preamble signal is detected; otherwise, it is determined that the preamble signal is not detected.
Referring to fig. 4 and 5, after the correlation value detecting unit 423 detects the preamble signal, the correlation value detecting unit 423 may cause the buffer module 401 to store the currently buffered data, that is, the preamble data sequence, by sending a lock indication signal to the buffer module 401. Meanwhile, the correlation value detecting unit 423 also needs to instruct the frequency band detecting module 403 to start frequency band detection to the unit of the frequency band detecting module. In practical applications, the correlation value detecting unit 423 may instruct the frequency band detecting module 403 to start frequency band detection by an interrupt mode or a mode of sending an instruction signal, which is not limited in this embodiment of the present invention.
Accordingly, after receiving the corresponding instruction, the frequency band detection module 403 obtains the current buffered data from the buffer module 401 as a first-derivative data sequence, and determines the current communication frequency band by detecting the first-derivative data sequence.
In one non-limiting embodiment, the frequency band detection module 403 may include: a leading data acquisition unit and a classification unit; wherein:
the front data acquisition unit is used for acquiring current cache data from the cache module as a front data sequence after receiving the indication of the front detection module;
the classification unit is used for inputting the forward data sequence into a pre-established classification model, and determining the current communication frequency band according to the output of the classification model.
The classification model may be constructed by a corresponding model building module (not shown), which may be part of the apparatus of the present invention or may be independent of the apparatus of the present invention, which is not limited thereto.
In practical applications, the classification model may employ a neural network model, such as CNN, and the like.
In another non-limiting embodiment, the frequency band detection module 403 may further include: and the preprocessing unit is used for preprocessing the front data sequence, for example, accumulating the front data sequence according to a set repetition period to obtain data to be detected.
Accordingly, in this embodiment, the classification unit is configured to input the data to be detected into a pre-established classification model, and determine the current communication frequency band according to an output of the classification model.
The length of the data sequence input into the neural network model can be reduced by the accumulated operation of the preprocessing unit on the front data sequence, namely the input data quantity of the neural network model is reduced, and the scale of the whole neural network can be further reduced. Meanwhile, as the front derivative is repeated, the repeated period is used for data accumulation, so that the signal to noise ratio of the data can be improved, and the classification success rate of the neural network is further improved.
It should be noted that, in practical application, the module of the power line communication frequency band detection device provided by the embodiment of the invention may be implemented by combining hardware and software, for example, the buffer module and the preamble detection module are implemented by hardware, and the frequency band detection module is implemented by software, so that the preamble detection and the frequency band detection can be separately performed, thereby completing the function of real-time detection of the communication frequency band under the condition of high-rate data input.
Furthermore, the frequency band detection adopts a mode of preprocessing and adding a neural network, so that the frequency band resolution can be very good under the condition of high noise, and the method is suitable for the power line communication environment.
Accordingly, the embodiment of the present invention further provides a power line communication receiver, as shown in fig. 6, the receiver 600 includes: a receiving module 601, and the power line communication band detection apparatus 400. Wherein:
the receiving module 601 is configured to receive power line communication data in real time;
the power line communication frequency band detection apparatus 400 is configured to determine a current communication frequency band according to the power line communication data received by the receiving module 601 in real time.
With respect to each of the apparatuses and each of the modules/units included in the products described in the above embodiments, it may be a software module/unit, a hardware module/unit, or a software module/unit, and a hardware module/unit. For example, for each device or product applied to or integrated on a chip, each module/unit included in the device or product may be implemented in hardware such as a circuit, or at least part of the modules/units may be implemented in software program, where the software program runs on a processor integrated inside the chip, and the rest (if any) of the modules/units may be implemented in hardware such as a circuit; for each device and product applied to or integrated in the chip module, each module/unit contained in the device and product can be realized in a hardware manner such as a circuit, different modules/units can be located in the same component (such as a chip, a circuit module and the like) or different components of the chip module, or at least part of the modules/units can be realized in a software program, the software program runs on a processor integrated in the chip module, and the rest (if any) of the modules/units can be realized in a hardware manner such as a circuit; for each device, product, or application to or integrated with the terminal device, each module/unit included in the device may be implemented in hardware such as a circuit, and different modules/units may be located in the same component (e.g., a chip, a circuit module, etc.) or different components in the terminal device, or at least some modules/units may be implemented in a software program, where the software program runs on a processor integrated within the terminal device, and the remaining (if any) part of the modules/units may be implemented in hardware such as a circuit.
It should be noted that, the term "plurality" as used in the embodiments of the present application refers to two or more.
The first, second, etc. descriptions in the embodiments of the present application are only used for illustrating and distinguishing the description objects, and no order division is used, nor does it indicate that the number of the devices in the embodiments of the present application is particularly limited, and no limitation on the embodiments of the present application should be construed.
The above embodiments may be implemented in whole or in part by software, hardware, firmware, or any other combination. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. When the computer instructions or computer program are loaded or executed on a computer, the processes or functions described in accordance with the embodiments of the present application are all or partially produced. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wired or wireless means.
It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
In the several embodiments provided in the present application, it should be understood that the disclosed method, apparatus, and system may be implemented in other manners. For example, the device embodiments described above are merely illustrative; for example, the division of the units is only one logic function division, and other division modes can be adopted in actual implementation; for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may be physically included separately, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform part of the steps of the methods described in the embodiments of the present application.
Although the present application is disclosed above, the present application is not limited thereto. Various changes and modifications may be made by one skilled in the art without departing from the spirit and scope of the invention, and the scope of the invention shall be defined by the appended claims.

Claims (13)

1. A method for detecting a power line communication frequency band, the method comprising:
caching power line communication data received in real time;
detecting a preamble signal according to the current cache data, and taking the current cache data in the cache as a preamble data sequence after detecting the preamble signal;
and detecting the frequency band according to the front derivative sequence, and determining the current communication frequency band.
2. The method of claim 1, wherein buffering the power line communication data received in real time comprises:
and storing the power line communication data received in real time into a FIFO buffer, wherein the maximum length of the FIFO buffer is a complete preamble sequence length.
3. The method of claim 2, wherein the preamble detection based on the current buffered data comprises:
acquiring current cache data from the FIFO buffer;
performing autocorrelation detection on the current cache data to obtain a correlation value;
and determining whether a preamble signal is detected according to the correlation value.
4. The method of claim 3, wherein the performing autocorrelation detection on the current buffered data to obtain a correlation value comprises:
delaying the current cache data by one or more preamble sequence repetition periods to obtain delay data;
and performing correlation operation on the delay data and the current cache data to obtain a correlation value.
5. A method according to claim 3, wherein said determining whether a preamble signal is detected based on said correlation value comprises:
if the correlation value is greater than a set threshold, determining that a preamble signal is detected;
otherwise, it is determined that the preamble signal is not detected.
6. The method according to any one of claims 1 to 5, wherein said performing band detection from said sequence of leading data, determining a current communication band comprises:
preprocessing the front derivative sequence to obtain data to be detected;
and inputting the data to be detected into a pre-established classification model, and determining the current communication frequency band according to the output of the classification model.
7. The method of claim 6, wherein preprocessing the sequence of leading data to obtain data to be detected comprises:
and accumulating the front derivative sequences according to a set repetition period to obtain data to be detected.
8. A power line communication frequency band detection apparatus, characterized in that the apparatus comprises: the device comprises a buffer module, a preamble detection module and a frequency band detection module;
the buffer module is used for buffering the power line communication data received in real time;
the preamble detection module is used for detecting a preamble signal according to the current cache data in the cache module, locking the current cache data in the cache module after detecting the preamble signal, and indicating the frequency band detection module to detect the frequency band;
and the frequency band detection module is used for acquiring current cache data from the cache module as a front data sequence after receiving the indication of the front data detection module, and carrying out frequency band detection according to the front data sequence to determine the current communication frequency band.
9. The apparatus of claim 8, wherein the buffering module is a FIFO buffer having a maximum length of one complete preamble sequence length.
10. The apparatus of claim 9, wherein the preamble detection module comprises:
a data extraction unit, configured to obtain current cached data from the FIFO buffer;
the correlation operation unit is used for carrying out autocorrelation detection on the current cache data to obtain a correlation value;
the related value detection unit is used for determining whether the leading signal is detected according to the related value, locking the current cache data in the cache module after the leading signal is detected, and indicating the frequency band detection module to carry out frequency band detection.
11. The apparatus of claim 10, wherein the correlation unit comprises:
the delay unit is used for delaying the current cache data by one or more sequence repetition periods to obtain delay data;
and the correlation value calculation unit is used for carrying out correlation operation on the delay data and the current cache data to obtain a correlation value.
12. The apparatus according to any one of claims 8 to 11, wherein the frequency band detection module comprises:
the front data acquisition unit is used for acquiring current cache data from the cache module as a front data sequence after receiving the indication of the front detection module;
the preprocessing unit is used for preprocessing the front data sequence to obtain data to be detected;
and the classification unit is used for inputting the data to be detected into a pre-established classification model, and determining the current communication frequency band according to the output of the classification model.
13. A power line communication receiver, comprising: a receiving module, a power line communication frequency band detection apparatus as claimed in any one of claims 8 to 12;
the receiving module is used for receiving the power line communication data in real time;
the power line communication frequency band detection device is used for determining the current communication frequency band according to the power line communication data received by the receiving module in real time.
CN202211595413.XA 2022-12-13 2022-12-13 Power line communication frequency band detection method and device and receiver Pending CN116032322A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211595413.XA CN116032322A (en) 2022-12-13 2022-12-13 Power line communication frequency band detection method and device and receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211595413.XA CN116032322A (en) 2022-12-13 2022-12-13 Power line communication frequency band detection method and device and receiver

Publications (1)

Publication Number Publication Date
CN116032322A true CN116032322A (en) 2023-04-28

Family

ID=86069718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211595413.XA Pending CN116032322A (en) 2022-12-13 2022-12-13 Power line communication frequency band detection method and device and receiver

Country Status (1)

Country Link
CN (1) CN116032322A (en)

Similar Documents

Publication Publication Date Title
JP2001352350A (en) Measurement system and method by statistic eye-diagram of continuous bit stream
CN112615803B (en) Signal processing method and processing device
CN112532371B (en) Parallel frame synchronization method, transmitting end, receiving end and low-orbit satellite communication system
CN108736921B (en) Power line carrier communication preamble detection method for resisting random impulse noise
CN107911328B (en) Frame synchronization judging device and judging method
CN114221674B (en) Spread spectrum signal rate self-adaptive capturing method
CN103023529A (en) Field programmable gate array (FPGA) based method for achieving synchronous detection of oversampling Golay sequence
CN116032322A (en) Power line communication frequency band detection method and device and receiver
CN101667242B (en) Back-off method and back-off device, and method and device for detecting radio-frequency identification signal state
CN114421981B (en) Pulse noise filtering device and method
KR100436166B1 (en) Apparatus for detecting burst signal and method thereof
US6556620B1 (en) Synchronization acquisition device for both preventing erroneous detection due to noise and reducing required storage capacity
CN108696296B (en) Frequency band selection method and terminal station
US10165603B2 (en) Collision detection device, communication device, collision detection method, and program
CN114706810B (en) Baud rate self-adaptive serial port communication expansion device and method based on FPGA
CN101242539A (en) Frame synchronization device and method for T-DMB system receiver
CN103051356B (en) CDMA communication system reduces the method and apparatus of the error rate
CN111181598B (en) Method for timing synchronization of burst spread spectrum signal with extremely low signal-to-noise ratio
CN116633870B (en) Operation and maintenance data processing system and method based on cloud end-added mode
CN116470927B (en) Data processing method, device, equipment and storage medium
CN116886772A (en) Data sending and receiving method and device, electronic equipment and medium
CN107861709B (en) Accumulator and power spectrum accumulator adaptive to front-end high-speed processing and accumulation method thereof
CN117478456A (en) Equipment instruction acquisition scheduling method and device based on RS485 bus
CN118353771A (en) Detection method, detection device and electronic equipment
JP3581112B2 (en) Data transmission method, transmission circuit, and communication 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