Power line carrier target data modulation method and device, storage medium and chip
By dividing the power line communication system into resource groups and dynamically adjusting the modulation mode and diversity frequency, the problems of insufficient transmission rate and reliability of the power line communication system are solved, and more efficient data transmission is achieved.
Patent Information
- Application Number
- CN202511363663.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-23
- Publication Date
- 2025-12-09
- Estimated Expiration
- 2045-09-23
AI Technical Summary
Existing power line communication systems suffer from limitations in transmission rate due to complex channel environments and limited frequency domain resources, making it difficult to achieve minute-level data acquisition. Furthermore, their transmission reliability and stability are insufficient.
By dividing the resource into groups and correcting the signal-to-noise ratio of each group, the modulation mode and diversity number are dynamically adjusted to optimize the transmission parameters of each resource group, thereby adapting to changes in channel conditions and improving communication rate and reliability.
While maintaining signal transmission stability and reliability, the power line transmission rate was increased, transmission delay was reduced, spectrum resource utilization efficiency was improved, and the system's adaptability to different channel environments was enhanced.
Smart Images

Figure CN120880856B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of power line carrier communication, and in particular to a power line carrier target data modulation method and device, a storage medium and a chip. BACKGROUND
[0002] With the development of new power systems, multi-type and strong interactive services of "source, network, load and storage" in the transformer area are booming. In order to meet the needs of various professional actual business scenarios, improve the communication performance of the transformer area, increase the transmission rate of the power line and ensure the transmission reliability, and then realize the minute-level acquisition target, it has become a key task to be tackled at present. However, the current power line communication performance is limited, which makes it difficult to improve the transmission rate and cannot achieve minute-level acquisition. The main reasons are as follows:
[0003] On the one hand, in terms of channel characteristics, the power line channel environment is extremely complex, and there are many adverse factors such as multipath fading and noise interference. Once the channel quality deteriorates, information transmission is prone to errors, and multiple retransmissions are required, which consumes a lot of time and seriously affects the transmission rate, and also reduces the reliability of transmission. Secondly, the traditional technology uses fixed parameter configuration, which cannot adapt to the dynamic changes of the channel. When the channel condition changes, the fixed modulation mode and diversity times cannot be adjusted in time, which cannot fully utilize the advantages to improve the transmission rate when the channel quality is good, and cannot effectively maintain the reliability and stability of the transmission when the channel quality is poor. In addition, due to the particularity of power line transmission, high frequency attenuation is serious, and the frequency domain resource is naturally limited, which cannot use larger bandwidth.
[0004] Therefore, how to improve the transmission rate of the power line while maintaining the stability and reliability of the signal transmission is a problem to be solved. SUMMARY
[0005] Therefore, the embodiments of the present application provide a power line carrier target data modulation method, device, storage medium and chip to solve at least one problem in the background art.
[0006] In a first aspect, the embodiments of the present application provide a power line carrier target data modulation method, which comprises:
[0007] Obtaining the signal-to-noise ratio of each resource group; wherein the resource group is divided based on the number of subcarriers in the frequency spectrum range, and each resource group includes a plurality of subcarriers;
[0008] According to the preset diversity times, the signal-to-noise ratio of each resource group is corrected to obtain the corrected signal-to-noise ratio of each resource group;
[0009] determine a modulation mode of each resource group based on the corrected SNR of each resource group, and determine a bit number of each to-be-transmitted symbol corresponding to the modulation mode of each resource group; wherein the bit number of each subcarrier is related to the modulation mode thereof; each to-be-transmitted symbol is composed of all subcarriers in the frequency spectrum range;
[0010] calculate the to-be-transmitted symbol number according to the bit number of the target data, the preset diversity number, and the bit number of each to-be-transmitted symbol;
[0011] compare the to-be-transmitted symbol numbers under different preset diversity numbers, and modulate the target data based on the modulation mode of each resource group corresponding to the minimum to-be-transmitted symbol number and the preset diversity number.
[0012] In a second aspect, an embodiment of the present application provides a power line carrier target data modulation device, and the device comprises:
[0013] an acquisition unit, configured to acquire an SNR of each resource group; wherein the resource groups are divided based on a subcarrier number in a frequency spectrum range, and each resource group comprises a plurality of subcarriers;
[0014] a correction unit, configured to correct the SNR of each resource group according to a preset diversity number, to obtain a corrected SNR of each resource group;
[0015] a modulation mode determination unit, configured to determine a modulation mode of each resource group based on the corrected SNR of each resource group, and determine a bit number of each to-be-transmitted symbol corresponding to the modulation mode of each resource group; wherein the bit number of each subcarrier is related to the modulation mode thereof; each to-be-transmitted symbol is composed of all subcarriers in the frequency spectrum range;
[0016] a symbol number calculation unit, configured to calculate the to-be-transmitted symbol number according to the bit number of the target data, the preset diversity number, and the bit number of each to-be-transmitted symbol;
[0017] a comparison and selection unit, configured to compare the to-be-transmitted symbol numbers under different preset diversity numbers, and modulate the target data based on the modulation mode of each resource group corresponding to the minimum to-be-transmitted symbol number and the preset diversity number.
[0018] In a third aspect, an embodiment of the present application provides a computer readable storage medium, which stores instructions, and when the instructions are executed by a processor of a power line carrier chip, the power line carrier chip is enabled to perform the power line carrier target data modulation method provided in any one of the first aspect.
[0019] In a fourth aspect, an embodiment of the present application provides a power line carrier chip, which comprises:
[0020] a processor;
[0021] a memory for storing computer executable instructions;
[0022] the processor is configured to execute the computer executable instructions to implement the power line carrier target data modulation method according to any one of the first aspect.
[0023] In the embodiment of the present application, the SNR of each resource group is corrected based on the preset diversity number, then the modulation mode of each resource group and the bit number of each to-be-transmitted symbol sent are determined according to the corrected SNR, then the number of to-be-transmitted symbols is calculated according to the bit number of the target data and the preset diversity number, and finally the target data is modulated based on the modulation mode and the preset diversity number corresponding to the minimum number of to-be-transmitted symbols. In the embodiment of the present application, the limited frequency spectrum resource can be fully utilized, the dynamic configuration of the modulation mode of the resource group enables the system to flexibly adjust the transmission parameters of each resource group according to the real-time channel quality, high-order modulation is adopted when the channel condition is good, the bit number per unit time is increased, and the transmission efficiency is improved; meanwhile, each resource group is accurately matched with the modulation mode and the channel condition, resource waste is avoided, and the limited frequency spectrum resource is more reasonably utilized. In addition, the dynamic adjustment mechanism enhances the adaptability of the system to different channel environments, improves the reliability and stability of signal transmission, the selection strategy of the minimum number of to-be-transmitted symbols reduces transmission redundancy and transmission delay, enables data to reach the receiving end faster, and further improves the communication rate.
[0024] Additional aspects and advantages of the present application will be made apparent by the following description. BRIEF DESCRIPTION OF DRAWINGS
[0025] The accompanying drawings, which are included to provide a further understanding of the present application, constitute a part of this specification and illustrate illustrative embodiments of the present application and together with the description serve to explain the present application. In the drawings:
[0026] Figure 1 a power line carrier communication physical layer architecture schematic diagram provided for the embodiment of the present application;
[0027] Figure 2 a power line carrier target data modulation method flowchart provided for the embodiment of the present application;
[0028] Figure 3 a power line carrier target data modulation device schematic diagram provided for the embodiment of the present application;
[0029] Figure 4A structure schematic diagram of a power line carrier chip provided by an embodiment of the present application. DETAILED DESCRIPTION
[0030] In order to make the technical solutions and beneficial effects of the present application more obvious and easy to understand, the following will be described in detail by way of listing specific embodiments. Unless otherwise defined, the technical and scientific terms used herein have the same meaning as the technical and scientific terms in the technical field to which the present application belongs.
[0031] With the wide deployment of carrier communication systems such as power line communication in the field of smart grid, smart home and industrial automation, the real-time and reliability requirements of communication systems for data transmission are increasingly improved. The core of the Orthogonal Frequency Division Multiplexing (OFDM) modulation technology is to decompose a high-speed data stream into multiple orthogonal parallel low-speed subcarrier signals for transmission. Among them, the subcarrier modulation mode is a key factor affecting the communication transmission performance, which directly determines the anti-noise ability and transmission rate of signal transmission. The modulation modes in the embodiments of the present application include Binary Phase Shift Keying (BPSK), Quadrature Phase Shift Keying (QPSK) and 16-Quadrature Amplitude Modulation (16QAM), etc. Among them, BPSK has the strongest anti-noise, but the data transmission capacity is weak, each subcarrier transmits 1 bit; QPSK is the second, each subcarrier transmits 2 bits, the transmission capacity is improved; 16QAM is the weakest, but each subcarrier transmits 4 bits, the data transmission capacity is the strongest under good channel. However, in the existing wideband power line communication technology, the subcarrier usually adopts fixed parameter configuration, that is, the subcarrier modulates the signal according to the pre-set modulation mode and diversity times. The fixed parameter configuration cannot dynamically adjust the modulation mode and diversity times of the subcarrier according to the change of the power line channel environment, which limits the further improvement of the communication rate.
[0032] Therefore, the application provides a power line carrier target data modulation method.
[0033] The power line carrier target data modulation method provided by the application is described in detail below in combination with the accompanying drawings, specific embodiments and application scenarios.
[0034] For the HPLC system, the physical layer, the data link layer, the application layer protocol and the related inspection specification of the wideband carrier communication standard are specified in detail in the industry technical specification. In the technical specification, the finally transmitted signal is usually transmitted by means of a plurality of PPDU frames (Physical Protocol Data Unit) in sequence. The PPDU frame usually comprises a frame preamble signal (Preamble), a frame control signal (Frame Control, FC) and a data payload (Payload, PL). The frame preamble signal is composed of a plurality of synchronization symbols, and is used for frame synchronization and channel estimation; the frame control signal is used for describing the basic information of the frame, such as the modulation mode of the data payload, the subcarrier distribution, the data payload length and the like, so as to facilitate the subsequent analysis of the data payload signal by the receiving end; the data payload is used for describing the actual data to be transmitted. It should be noted that the frame preamble signal and the frame control signal generally have a fixed length, and at the same time, since the frame control signal needs to carry the length, the modulation mode and the like of the payload data, the modulation mode thereof is usually a fixed low-order modulation to guarantee the reliability and stability of the transmission.
[0035] Figure 1 The power line carrier communication physical layer architecture schematic diagram provided by the embodiments of the application is shown in Figure 1. Figure 1As shown, the frame control data and the payload data are respectively processed by encoding, interleaving, etc. to form one OFDM symbol after another, and then converted into time domain data by IFFT, and finally sent out through the analog front end after cyclic windowing, adding a preamble, etc. It should be noted that in the frequency domain, each OFDM symbol is composed of a specific number of subcarriers, each subcarrier carries different bit information, and after IFFT transformation, each OFDM symbol is converted from frequency domain to time domain. Based on the different information carried by each OFDM, the amplitude and phase of the specific number of sampling points corresponding to each OFDM symbol in the time domain are also different. In the existing power line carrier communication technology, the modulation mode and diversity number of the frame control data are fixedly configured, and the payload data is selectively fixedly configured based on the diversity copy mode in the communication protocol. For example, in basic mode 0, the physical block size is 520, the diversity number is 4, and the modulation mode is QPSK; in basic mode 2, the physical block size is 136, the diversity number is 5, and the modulation mode is QPSK; in extended mode 1, the physical block size is 520, the diversity number is 1, and the modulation mode is 16QAM. Among them, the physical block is the basic transmission unit carrying the payload data, which is composed of different number of OFDM symbols according to the physical block size, so as to realize the transmission of data payload. The target data in the embodiment of the present application refers to the data that has not been processed, i.e. Figure 1 the payload data that has not been processed by scrambling, encoding, etc.
[0036] Figure 2 The power line carrier target data modulation method flowchart provided by the embodiment of the present application. As shown in Figure 2 the target data modulation method of the embodiment of the present application comprises:
[0037] S1, obtaining the signal-to-noise ratio of each resource group.
[0038] Specifically, the resource groups are divided based on the number of subcarriers in the spectrum range, and each resource group includes a plurality of subcarriers; the spectrum range is determined based on a power line carrier communication protocol. In the embodiments of the present application, the spectrum range can be a certain frequency range in the power line carrier communication protocol, or can be the maximum frequency range that can be supported by the power line carrier communication protocol, which is not limited by the present application. For example, in the dual-mode communication interconnection and interworking technical specification (Q / GDW 12087.41), the number of subcarriers in the spectrum range is 512, and the subcarriers are numbered as 0-511 according to the frequency size. According to different communication frequency bands, the number of subcarriers is also different. The frequency range of frequency band 0 is 1.953-11.96, and the corresponding subcarrier number is 80-490; the frequency range of frequency band 1 is 2.441-5.615, and the corresponding subcarrier number is 100-230. Alternatively, the spectrum range in the embodiments of the present application is the maximum spectrum range that can be supported by the power line carrier communication protocol, and the subcarriers in the corresponding spectrum range are all the subcarriers specified by the protocol, so that the spectrum resources can be fully utilized and more data can be transmitted. Alternatively, each resource group includes a plurality of continuous subcarriers. Here, the continuous subcarriers refer to arranging all the subcarriers in the spectrum range according to the frequency size and dividing them into various resource groups in turn, and each resource group includes a part of continuous subcarriers. Further, the number of subcarriers in each resource group is the same. It should be noted that in the prior art, the power line is easily disturbed by noise, in order to ensure effective transmission of signals, the communication protocol generally divides the maximum spectrum range into a plurality of frequency bands, and then selects a certain frequency band based on the distance of signal transmission, the channel condition, the data size, etc. Although this method ensures effective transmission of signals, it also reduces the effective utilization of subcarriers and limits the signal transmission rate. In the embodiments of the present application, the channel quality information is determined based on the signal-to-noise ratio of each resource group, so that the subcarriers can be dynamically selected and adjusted subsequently, thereby improving the transmission rate and the transmission success rate.
[0039] The signal-to-noise ratio of each resource group in the embodiments of the present application refers to the signal-to-noise ratio of the channel between the sending end and the receiving end, which can be obtained by real-time channel measurement. In the embodiments of the present application, by dividing the subcarriers into resource groups, the data storage space and the amount of transmission data in the real-time channel measurement process can be reduced, and the signal-to-noise ratio data of each resource group can be obtained more accurately and quickly. In the embodiments of the present application, the real-time channel measurement specifically includes:
[0040] sending a full-band signal to the power line channel, so that the receiving end receives the full-band signal transmitted through the power line and calculates the signal-to-noise ratio of each resource group; wherein the full-band signal is composed of all the subcarriers in the spectrum range;
[0041] receiving the signal-to-noise ratio data of each resource group sent by the receiving end.
[0042] Optionally, the full-band data is composed of multiple synchronization symbols, so that the complexity of signal generation and processing (the payload signal and the frame control signal need to be encoded, interleaved, etc.) can be reduced, and the occupation of hardware resources can be reduced.
[0043] In the embodiments of the present application, the signal-to-noise ratio of each resource group can reflect the current channel quality, and is the basis for subsequent dynamic modulation mode. Through real-time channel measurement, more accurate channel data can be obtained. It should be noted that the embodiments of the present application can also be obtained by reading historical data, for example, data at the same time of the previous day can be read.
[0044] S2, correcting the signal-to-noise ratio of each resource group according to a preset diversity number to obtain a corrected signal-to-noise ratio of each resource group.
[0045] In the embodiments of the present application, the corrected signal-to-noise ratio of each resource group is greater than the signal-to-noise ratio of the corresponding resource group before correction. In power line carrier communication, the channel environment is complex and changeable, which greatly reduces the reliability of single transmission of signals. Therefore, in power line carrier communication, the frame control signal and the data payload signal are usually generated by multiple independent copies through diversity copying and interleaving technology, and the risk of transmission failure is reduced through redundant transmission in the spatial, temporal or frequency domain. The diversity copying technology can be understood as repeatedly transmitting data in the time line, thereby increasing the risk of single transmission failure. The receiving end uses the independence of each copy fading to superimpose the signals by combining calculation to realize reliable reception of the signals. In the embodiments of the present application, the signal-to-noise ratio of each resource group is obtained based on the synchronization symbol, although it reflects the actual channel quality information, but the influence of the diversity copying technology on the signal-to-noise ratio is not considered in the calculation process, therefore, the channel quality information obtained by the synchronization symbol and the actual channel quality information of the signal will form a difference due to whether the diversity copying is used. For example, if the signal-to-noise ratio of the synchronization symbol is 10 dB, and the actual signal-to-noise ratio of the payload data symbol after 4 times of diversity combination can be as high as 16 dB. Therefore, in the embodiments of the present application, the signal-to-noise ratio of each resource group is corrected by a preset diversity number, so that the signal-to-noise ratio based on the synchronization symbol can be corrected, thereby being closer to the actual transmission scenario of the payload symbol, and providing more accurate channel quality information for the dynamic allocation of the modulation mode. It should be noted that the more the preset diversity number is, the greater the corrected signal-to-noise ratio of the resource group is, the higher order modulation mode the corresponding resource group can select, the greater the number of bits it transmits, and the more the number of bits transmitted by a single OFDM symbol; but the more the diversity number is, the more the number of payload data symbols modulated finally will be, resulting in the more the total number of transmitted bits, and finally affecting the number of OFMD symbols to be transmitted.
[0046] As an optional specific implementation, S2 includes:
[0047] Based on the maximum ratio combining manner, the signal-to-noise ratio of each resource group is corrected according to a preset diversity number, to obtain a corrected signal-to-noise ratio of each resource group.
[0048] Specifically, the correction is performed by the following formula:
[0049] SNR' = SNR sync + 10log 10 N,
[0050] Wherein, SNR' is the corrected signal-to-noise ratio of the resource group, SNR sync is the signal-to-noise ratio of the resource group, and N is the preset diversity number. It should be noted that the formula here is a decibel domain formula, and the unit is dB.
[0051] It should be noted that the maximum ratio combining manner is equivalent to the sum of the signal-to-noise ratios of each branch in the linear domain, that is:
[0052] SNR linear = N x SNR sync, linear ,
[0053] Wherein, SNR linear is the corrected signal-to-noise ratio of the resource group in the linear domain, SNR sync, linear is the signal-to-noise ratio of the resource group in the linear domain, and N is the preset diversity number. By converting the logarithmic ratio with base 10 to the decibel (dB) domain, the decibel domain formula is obtained.
[0054] In the embodiment of the application, the maximum ratio combining is based on the superposition of the signal-to-noise ratio of the preset diversity number, so that the signal-to-noise ratio of the combined signal is closer to the actual transmission channel environment of the data payload symbol, and the reliability and accuracy of the payload data channel quality information are enhanced. Other combining manners can also be used in the embodiment of the application, and the application is not limited. It should be noted that the preset diversity number in the embodiment of the application is not a fixed value, but refers to multiple diversity numbers. For example, if the preset diversity number range is 5-12, the corresponding preset diversity number can be any value in 5-12.
[0055] S3, determine the modulation mode of each resource group based on the corrected signal-to-noise ratio of each resource group, and determine the number of bits sent for each to-be-transmitted symbol based on the modulation mode of each resource group.
[0056] Specifically, the modulation mode of each resource group is related to its modified signal-to-noise ratio, and the larger the modified signal-to-noise ratio is, the better the channel condition is, and the more symbols the corresponding resource group can send. In the embodiment of the application, the number of bits sent by each subcarrier is related to its modulation mode, that is, the number of bits sent by each subcarrier depends on its modulation mode, and correspondingly, the number of bits sent by each resource group is related to its modulation mode. As an optional specific implementation, the modulation mode of the embodiment of the application is BPSK, QPSK or 16QAM, and correspondingly, the number of bits sent by each subcarrier is 1, 2 and 4 respectively. In the embodiment of the application, the number of bits sent by each to-be-transmitted symbol is the cumulative sum of the number of bits sent by each resource group, and the number of bits sent by each resource group is the cumulative sum of the number of bits sent by each subcarrier in the resource group. Here, each to-be-transmitted symbol refers to a symbol corresponding to target data, that is, an OFDM symbol corresponding to payload data, and the target data is composed of multiple OFDM symbols, and the number of bits that can be carried by each OFDM symbol is determined according to the modulation mode of each resource group. In the embodiment of the application, the modulation mode of each resource group is determined based on the modified signal-to-noise ratio, and the modulation modes of different resource groups in the corresponding OFDM symbol are different, so that each resource group can adaptively configure the optimal modulation mode based on the channel condition, and ultimately maximize the number of bits sent by each resource group under the condition of ensuring transmission reliability, thereby also maximizing the number of bits sent by each to-be-transmitted symbol.
[0057] As an optional specific implementation, S3 comprises:
[0058] S30, comparing the modified signal-to-noise ratio of each resource group with a modulation mode signal-to-noise ratio threshold value to determine the modulation mode of each resource group.
[0059] Specifically, S30 comprises:
[0060] If the signal-to-noise ratio of a certain resource group is greater than or equal to the first signal-to-noise ratio threshold value and less than the second signal-to-noise ratio threshold value, the modulation mode of the resource group is the modulation mode corresponding to the first signal-to-noise ratio threshold value;
[0061] If the signal-to-noise ratio of a certain resource group is less than the minimum value of the signal-to-noise ratio threshold values of the modulation modes, the resource group is idle;
[0062] If the signal-to-noise ratio of a certain resource group is greater than the maximum value of the signal-to-noise ratio threshold values of the modulation modes, the modulation mode of the resource group is the modulation mode corresponding to the maximum value of the signal-to-noise ratio threshold values.
[0063] It should be noted that the idle resource group indicates that the subcarriers in the resource group are greatly affected by noise interference and have low signal-to-noise ratio, and therefore the idle resource group does not carry bit information of target data, that is, the effective information carried by the idle resource group is zero bits. As an optional specific embodiment, each to-be-transmitted symbol in the embodiment of the present application is composed of all subcarriers corresponding to all resource groups in the frequency spectrum range, that is, the to-be-transmitted symbol is composed of all subcarriers in the frequency spectrum range, and correspondingly, if a resource group is idle, the subcarriers corresponding to the resource group are filled with zeros. In the embodiment of the present application, based on the change of the modified signal-to-noise ratio, the modulation mode of each resource group dynamically changes, and by filling the subcarriers corresponding to the idle resource group with zeros, the dynamic change of the number of subcarriers in the to-be-transmitted symbol is avoided, and modulation and demodulation are performed based on the same number of subcarriers, thereby reducing the complexity of modulation and demodulation and improving the stability and reliability of the system. It should be noted that the to-be-transmitted symbol is composed of all subcarriers corresponding to all resource groups in the frequency spectrum range, which indicates that both idle resource groups and resource groups with determined modulation modes will be used. In the embodiment of the present application, although the subcarriers filled with zeros do not carry effective information, it is ensured that the to-be-transmitted symbol is always modulated and demodulated based on the same number of subcarriers; regardless of the change of the channel environment quality, the modulation end can uniformly modulate the subcarriers containing effective data and filled with zeros, and the demodulation end can accurately demodulate the signal according to fixed parameters, thereby greatly improving the reliability and anti-interference ability of the communication system and effectively reducing the data transmission error rate.
[0064] In the embodiment of the present application, the first signal-to-noise ratio threshold value and the second signal-to-noise ratio threshold value are not specific numerical values, but first noise ratio threshold values and second noise ratio threshold values corresponding to the signal-to-noise ratio of the resource group between two signal-to-noise ratio threshold values. For example, if the signal-to-noise ratio threshold values of BPSK, QPSK and 16QAM are 0 dB, 2 dB and 10 dB respectively, if the signal-to-noise ratio threshold value of the resource group REG1 is less than 0 dB, the resource group REG1 is idle; if it is greater than 0 and less than 2, the modulation mode of the resource group REG1 is BPSK, at this time the first noise ratio threshold value is 0 and the second noise ratio threshold value is 2; if it is greater than 2 and less than 10, the modulation mode of the resource group REG1 is QPSK, at this time the first noise ratio threshold value is 2 and the second noise ratio threshold value is 10; if it is greater than 10, the modulation mode of the resource group REG1 is 16QAM. It can be understood that if a resource group is idle, the subcarriers in the resource group do not transmit effective bit information, that is, the corresponding subcarriers are filled with zeros to avoid interfering with other subcarriers carrying effective bit information; if a resource group has a determined modulation mode, the subcarriers in the resource group transmit bits according to the modulation mode.
[0065] S31, based on the modulation mode of each resource group, accumulate the bit number transmitted by the corresponding subcarriers in each resource group to obtain the bit number transmitted by each resource group.
[0066] Specifically, the bit number transmitted by the subcarriers is related to the modulation mode thereof. If the modulation mode of a resource group is determined, the bit number transmitted by the subcarriers in the resource group can be determined. Specifically, the bit number transmitted by the subcarriers in each resource group is accumulated, and the bit number transmitted by the resource group can be obtained. For example, if the modulation mode of the resource group REG1 is QPSK, since each subcarrier can transmit 2 bits under the QPSK mode, each subcarrier in the resource group REG1 can transmit 2 bits, and the total bit number finally transmitted is equal to the accumulation of the bit numbers transmitted by the subcarriers in the resource group REG1.
[0067] S32, accumulate the bit number transmitted by each resource group to obtain the bit number transmitted by each to-be-transmitted symbol.
[0068] In the embodiment of the present application, the bit number transmitted by each OFDM symbol is determined based on the corrected signal-to-noise ratio of each resource group, so that each resource group can match the optimal modulation mode, which not only ensures the effective transmission of the signal, but also maximizes the transmittable bit number of each resource group, thereby improving the transmission efficiency of the signal.
[0069] S4, calculate the number of to-be-transmitted symbols according to the bit number of the target data, the preset diversity number and the bit number transmitted by each to-be-transmitted symbol.
[0070] The target data in the embodiment of the present application is the payload data that has not been processed. The bit number of the target data represents the bit number of the payload data that has not been processed. After the target data is processed by scrambling, encoding, interleaving, diversity copying and the like, the target data is combined with the frame control data processed in the time domain, and then the frame preamble data is added to form the final transmitted signal, i.e., the final transmitted signal is composed of a plurality of PPDU frames. In the embodiment of the present application, the number of to-be-transmitted symbols is calculated based on the bit number of the target data, the preset diversity number and the bit number transmitted by each to-be-transmitted symbol. Specifically, the following formula is used:
[0071] Symb Num =(Bit Num ×N) / (bit symb ),
[0072] wherein Symb Num represents the number of to-be-transmitted symbols, Bit Num represents the bit number of the target data, N represents the preset diversity number, and bit symb represents the bit number transmitted by each to-be-transmitted symbol.
[0073] It should be noted that the number of to-be-transmitted symbols refers to the number of symbols of the data payload in the finally transmitted PPDU frame, which directly affects the transmission time of the target data, and the more the number of symbols is, the longer the transmission time of the target data is, and the slower the transmission rate of the target data is. The length of the to-be-transmitted symbol directly affects the communication rate of the signal. Based on the number of bits of the target data, the preset diversity number and the number of bits transmitted by each to-be-transmitted symbol, the number of to-be-transmitted symbols can be accurately calculated, so that the final modulation mode and the diversity number can be determined by comparing the number of to-be-transmitted symbols subsequently.
[0074] S5, comparing the number of to-be-transmitted symbols under different preset diversity numbers, modulating the target data based on the modulation mode and the preset diversity number of each resource group corresponding to the minimum number of to-be-transmitted symbols.
[0075] In the embodiment of the application, the target data is the actual payload data to be transmitted, and the modulation mode and the diversity number of the target data will affect the number of symbols in the finally transmitted signal. The more the diversity number is, the more the corrected signal-to-noise ratio of each resource group is, and the more the number of bits transmitted by each to-be-transmitted symbol is, so as to improve the signal transmission efficiency; but the more the diversity number is, the more the number of symbols required is, and the lower the signal transmission efficiency is. Therefore, in the embodiment of the application, by comparing the number of to-be-transmitted symbols under different preset numbers, the minimum number of to-be-transmitted symbols can be obtained, and correspondingly, the number of bits transmitted by each to-be-transmitted symbol and the total number of bits to be transmitted can be considered, and the communication rate can be maximized. It should be noted that the number of to-be-transmitted symbols refers to the number of symbols corresponding to the data payload in the finally transmitted signal. Since the number of symbols of the frame preamble signal and the frame control signal is fixed in the power line communication protocol, the minimum number of to-be-transmitted symbols corresponds to the shortest transmission time, so that the actual channel quality information is fully utilized, and the communication rate is maximized.
[0076] As an optional specific implementation, the modulation method of the embodiment of the application further comprises:
[0077] If the number of bits transmitted by each to-be-transmitted symbol under different preset diversity numbers is zero, the resource group with the maximum signal-to-noise ratio is configured as a preset modulation mode, and the preset diversity number is configured as a preset fixed value.
[0078] Specifically, in the case of a more serious interference on the channel, i.e. in the case of a low signal-to-noise ratio, even after the signal-to-noise ratio is corrected according to different preset diversity times, there can be a case that the corrected signal-to-noise ratio of all resource groups is still less than the minimum value in the modulation mode threshold value, i.e. at this time all resource groups are idle, and the number of bits sent by each to-be-transmitted symbol is zero. At this time, the resource group with the largest signal-to-noise ratio in the S1 step can be configured as a preset modulation mode, and the preset diversity time is configured as a preset fixed value, so as to modulate the target data, thereby realizing the transmission of the target data. Specifically, the preset modulation mode is the modulation mode corresponding to the minimum value in the modulation mode threshold value, and the preset fixed value is the maximum value in the different preset diversity times, thereby realizing the reliability and stability of the target signal transmission.
[0079] The embodiment of the present application corrects the signal-to-noise ratio of each resource group based on the preset diversity time, then determines the modulation mode of each resource group and the number of bits sent by each to-be-transmitted symbol corresponding to each resource group according to the corrected signal-to-noise ratio, then calculates the number of to-be-transmitted symbols according to the target data bit number and the preset diversity time, and finally modulates the target data based on the modulation mode and the preset diversity time corresponding to the minimum number of to-be-transmitted symbols by comparing the number of to-be-transmitted symbols under different preset diversity times. In the embodiment of the present application, the limited frequency spectrum resources can be fully utilized, and the dynamic configuration of the modulation mode of the resource group enables the system to flexibly adjust the transmission parameters of each resource group according to the real-time channel quality, adopt high-order modulation when the channel condition is good, increase the number of transmission bits per unit time, and improve the transmission efficiency. At the same time, each resource group accurately matches the modulation mode with the channel condition, avoids resource waste, and makes the limited frequency spectrum resources more reasonably utilized. In addition, the dynamic adjustment mechanism enhances the adaptability of the system to different channel environments, improves the reliability and stability of the signal transmission, and the selection strategy of the minimum number of to-be-transmitted symbols reduces the transmission redundancy and transmission delay, so that the data can reach the receiving end faster, and the communication rate is further improved.
[0080] The power line carrier target data modulation method provided by the embodiment of the present application can be applied in an electronic device, which can be a terminal or a server, etc.
[0081] It should be understood that, although Figure 2 The steps in the flowchart are displayed in sequence according to the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other orders. Moreover, Figure 2At least one of the steps in the method can include multiple steps or multiple stages, which are not necessarily performed at the same time, but can be performed at different times, and the order of the steps or stages is not necessarily sequential, but can be performed alternately or alternately with at least one of the other steps or steps in the other steps.
[0082] Figure 3 The power line carrier target data modulation device provided by the embodiment of the application is shown in a schematic diagram. As shown in the figure, the modulation device 100 of the embodiment of the application comprises: Figure 3
[0083] The acquisition unit 101 is configured to acquire the signal-to-noise ratio of each resource group; wherein the resource groups are divided based on the number of subcarriers in the frequency spectrum range, and each resource group comprises a plurality of subcarriers;
[0084] The correction unit 102 is configured to correct the signal-to-noise ratio of each resource group according to a preset diversity number to obtain a corrected signal-to-noise ratio of each resource group;
[0085] The modulation mode determination unit 103 is configured to determine the modulation mode of each resource group and the number of bits transmitted by each to-be-transmitted symbol based on the corrected signal-to-noise ratio of each resource group; wherein the number of bits transmitted by each subcarrier is related to the modulation mode thereof; and each to-be-transmitted symbol is composed of all subcarriers in the frequency spectrum range;
[0086] The symbol number calculation unit 104 is configured to calculate the number of to-be-transmitted symbols according to the number of bits of the target data, the preset diversity number, and the number of bits transmitted by each to-be-transmitted symbol;
[0087] The comparison and selection unit 105 is configured to compare the number of to-be-transmitted symbols under different preset diversity numbers, and modulate the target data based on the modulation mode and the diversity number of each resource group corresponding to the minimum number of to-be-transmitted symbols.
[0088] As an optional specific implementation, determining the modulation mode of each resource group and the number of bits transmitted by each to-be-transmitted symbol based on the corrected signal-to-noise ratio of each resource group comprises:
[0089] Comparing the corrected signal-to-noise ratio of each resource group with a modulation mode signal-to-noise ratio threshold value to determine the modulation mode of each resource group;
[0090] Based on the modulation mode of each resource group, the number of bits transmitted by the corresponding subcarriers in each resource group is accumulated to obtain the number of bits transmitted by each resource group;
[0091] The number of bits transmitted by each resource group is accumulated to obtain the number of bits transmitted by each to-be-transmitted symbol.
[0092] As an optional implementation, the corrected signal-to-noise ratio of each resource group is compared with a modulation mode signal-to-noise ratio threshold value, and the modulation mode of each resource group is determined, including:
[0093] If the signal-to-noise ratio of a certain resource group is greater than or equal to the first signal-to-noise ratio threshold value and less than the second signal-to-noise ratio threshold value, the modulation mode of the resource group is the modulation mode corresponding to the first signal-to-noise ratio threshold value.
[0094] If the signal-to-noise ratio of a certain resource group is less than the minimum value of each modulation mode threshold value, the resource group is idle.
[0095] If the signal-to-noise ratio of a certain resource group is greater than the maximum value of the signal-to-noise ratio threshold value of each modulation mode, the modulation mode of the resource group is the modulation mode corresponding to the maximum value of the signal-to-noise ratio threshold value.
[0096] As an optional implementation, the modulation mode is QPSK, BPSK or 16QAM, and the number of bits transmitted by each subcarrier is 1, 2 and 4 respectively.
[0097] As an optional implementation, the signal-to-noise ratio of each resource group is corrected according to a preset diversity number, including:
[0098] Based on the maximum ratio combining method, the signal-to-noise ratio of each resource group is corrected according to a preset diversity number to obtain a corrected signal-to-noise ratio of each resource group.
[0099] As an optional implementation, the number of symbols to be transmitted is calculated according to the number of bits of target data, a preset diversity number and the number of bits transmitted by each symbol to be transmitted, specifically through the following formula:
[0100] Symb Num =(Bit Num ×N) / (bit symb ),
[0101] Where Symb Num represents the number of symbols to be transmitted, Bit Num represents the number of bits of target data, N represents the preset diversity number, and bit symb represents the number of bits transmitted by each symbol to be transmitted.
[0102] As an optional implementation, the comparison and selection unit 105 is further configured to:
[0103] If the number of bits transmitted by each symbol to be transmitted under different preset diversity numbers is zero, the resource group with the largest signal-to-noise ratio is configured with a preset modulation mode, and the preset diversity number is configured with a preset fixed value.
[0104] The embodiment of the present application further provides a computer readable storage medium. The computer readable storage medium stores instructions, when the instructions are executed by a processor of a power line carrier chip, the power line carrier chip can execute the steps in the power line carrier target data modulation method of any one of the above embodiments.
[0105] The embodiment of the present application can be a system, a method, and / or a computer program product. The computer program product can include a computer readable storage medium having computer readable program instructions embodied therewith to implement various aspects of the present application. In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA) or a programmable logic array (PLA), is personalized by utilizing state information of the computer readable program instructions, and the electronic circuit can execute the computer readable program instructions to implement various aspects of the present application.
[0106] The computer readable storage medium can take the form of one or more combinations of any type of readable medium. The readable medium can be a readable signal medium or a readable storage medium. The computer readable storage medium is a tangible device that can retain and store instructions for use by an instruction execution device. The readable storage medium can include, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or apparatus, or any suitable combination of the above. More specific examples (a non-exhaustive list) of the readable storage medium include 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), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a hole in a groove structure having instructions stored thereon, and any suitable combination of the above.
[0107] Various aspects of the present application are described herein with reference to flowcharts and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the present application. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer readable program instructions.
[0108] The embodiment of the present application further provides a power line carrier chip. Figure 4 The structure of the power line carrier chip provided by the embodiment of the present application is shown in the figure. As shown in the figure, the power line carrier chip 400 includes one or more processors 401 and a memory 402; the memory 402 stores computer executable instructions; the processor 401 is used to execute the computer executable instructions to implement the steps in the power line carrier target data modulation method of any one of the above embodiments. Figure 4 The structure of the power line carrier chip provided by the embodiment of the present application is shown in the figure. As shown in the figure, the power line carrier chip 400 includes one or more processors 401 and a memory 402; the memory 402 stores computer executable instructions; the processor 401 is used to execute the computer executable instructions to implement the steps in the power line carrier target data modulation method of any one of the above embodiments.
[0109] The processor 401 can be a central processing unit (CPU) or other form of processing unit that has data processing and / or instruction execution capabilities, and can control other components in the power line carrier chip to perform desired functions.
[0110] The memory 402 can include one or more computer program products that can include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory, for example, can include random access memory (RAM), cache memory, and / or the like. The non-volatile memory, for example, can include read only memory (ROM), hard disk, flash memory, and / or the like. One or more computer program instructions can be stored on the computer-readable storage media, and the processor 401 can execute the program instructions to implement the steps in the text recognition method of the various embodiments of the present application described above and / or other desired functions.
[0111] In one example, the power line carrier chip 400 can further include input devices and output devices, which are interconnected through a bus system and / or other forms of connection (not shown in the figure).
[0112] Of course, in order to simplify, Figure 4 Only a part of the components in the power line carrier chip 400 related to the present application is shown in the figure, and components such as buses, input / output interfaces, and the like are omitted. In addition, the power line carrier chip 400 can further include any other appropriate components according to specific application cases.
[0113] It should be noted that the power line carrier target data modulation method embodiment, the power line carrier target data modulation device embodiment, the computer readable storage medium embodiment, and the power line carrier chip embodiment provided by the embodiments of the present application belong to the same concept; the technical features in the technical solutions recorded by the embodiments can be combined arbitrarily without conflict.
[0114] It should be understood that the above embodiments are exemplary and are not intended to include all possible implementations of the claims. Various modifications and changes can also be made to the above embodiments without departing from the scope of the present disclosure. Similarly, various technical features of the above embodiments can be combined arbitrarily to form additional embodiments of the present application that can not have been explicitly described. Therefore, the above embodiments only express several implementations of the present application, and do not limit the scope of protection of the present application.
Claims
1. A method for modulating target data on a power line carrier, comprising: The method comprises: obtaining the signal-to-noise ratio of each resource group; wherein the resource groups are divided based on the number of subcarriers in the frequency spectrum range, and each resource group comprises a plurality of subcarriers; correcting the signal-to-noise ratio of each resource group according to a preset diversity number to obtain a corrected signal-to-noise ratio of each resource group; determining the modulation mode of each resource group based on the corrected signal-to-noise ratio of each resource group, and determining the number of bits transmitted by each to-be-transmitted symbol corresponding to the modulation mode of each resource group; wherein the number of bits transmitted by each subcarrier is related to the modulation mode thereof; each to-be-transmitted symbol is composed of all subcarriers in the frequency spectrum range; calculating the number of to-be-transmitted symbols according to the number of bits of the target data, the preset diversity number, and the number of bits transmitted by each to-be-transmitted symbol; comparing the number of to-be-transmitted symbols under different preset diversity numbers, and modulating the target data based on the modulation mode and the preset diversity number of each resource group corresponding to the minimum number of to-be-transmitted symbols; wherein determining the modulation mode of each resource group based on the corrected signal-to-noise ratio of each resource group comprises: comparing the corrected signal-to-noise ratio of each resource group with a modulation mode signal-to-noise ratio threshold value to determine the modulation mode of each resource group; if the signal-to-noise ratio of a certain resource group is greater than or equal to a first signal-to-noise ratio threshold value and less than a second signal-to-noise ratio threshold value, the modulation mode of the resource group is the modulation mode corresponding to the first signal-to-noise ratio threshold value; if the signal-to-noise ratio of a certain resource group is less than the minimum value of each modulation mode threshold value, the resource group is idle; if the signal-to-noise ratio of a certain resource group is greater than the maximum value of the signal-to-noise ratio threshold value of each modulation mode, the modulation mode of the resource group is the modulation mode corresponding to the maximum value of the signal-to-noise ratio threshold value.
2. The power line carrier target data modulation method of claim 1 wherein, determining the number of bits transmitted by each to-be-transmitted symbol corresponding to the modulation mode of each resource group comprises: based on the modulation mode of each resource group, accumulating the number of bits transmitted by the corresponding subcarriers in each resource group to obtain the number of bits transmitted by each resource group; accumulating the number of bits transmitted by each resource group to obtain the number of bits transmitted by each to-be-transmitted symbol.
3. The power line carrier target data modulation method of claim 2 wherein, The modulation mode is BPSK, QPSK, or 16QAM, and the number of bits transmitted by each corresponding subcarrier is 1, 2, or 4, respectively.
4. The power line carrier target data modulation method of claim 1 wherein, correcting the signal-to-noise ratio of each resource group according to a preset diversity number comprises: based on a maximum ratio combining method, correcting the signal-to-noise ratio of each resource group according to a preset diversity number to obtain a corrected signal-to-noise ratio of each resource group.
5. The power line carrier target data modulation method of claim 1 wherein, The number of to-be-transmitted symbols is calculated according to the number of bits of the target data, the preset diversity number, and the number of bits transmitted by each to-be-transmitted symbol through the following formula: Symb Num =(Bit Num ×N) / (bit symb ), Wherein, Symb Num represents the number of symbols to be transmitted, Bit Num represents the number of bits of the target data, N represents the preset diversity number, bit symb represents the number of bits sent by each symbol to be transmitted.
6. The power line carrier target data modulation method of claim 1 wherein, The method further comprises: if the number of bits transmitted by each to-be-transmitted symbol under different preset diversity numbers is zero, configuring the resource group with the highest signal-to-noise ratio as a preset modulation mode and configuring the preset diversity number as a preset fixed value.
7. A power line carrier target data modulation apparatus, characterized by comprising: The device comprises: an acquisition unit configured to obtain the signal-to-noise ratio of each resource group; wherein the resource groups are divided based on the number of subcarriers in the frequency spectrum range, and each resource group comprises a plurality of subcarriers; The correction unit is configured to correct the signal-to-noise ratio of each resource group according to a preset diversity number to obtain a corrected signal-to-noise ratio of each resource group; The modulation mode determination unit is configured to determine a modulation mode of each resource group based on the corrected signal-to-noise ratio of each resource group, and determine a number of bits to be transmitted by each to-be-transmitted symbol based on the modulation mode of each resource group; wherein the number of bits to be transmitted by each subcarrier is related to the modulation mode of the subcarrier; each to-be-transmitted symbol is composed of all subcarriers in a frequency spectrum range; The symbol number calculation unit is configured to calculate a number of to-be-transmitted symbols according to a number of bits of target data, the preset diversity number, and the number of bits to be transmitted by each to-be-transmitted symbol; The comparison and selection unit is configured to compare the number of to-be-transmitted symbols under different preset diversity numbers, and modulate the target data based on the modulation mode and the diversity number of each resource group corresponding to the minimum number of to-be-transmitted symbols. The determination of the modulation mode of each resource group based on the corrected signal-to-noise ratio of each resource group comprises: comparing the corrected signal-to-noise ratio of each resource group with a modulation mode signal-to-noise ratio threshold value to determine the modulation mode of each resource group; if the signal-to-noise ratio of a certain resource group is greater than or equal to a first signal-to-noise ratio threshold value and less than a second signal-to-noise ratio threshold value, the modulation mode of the resource group is a modulation mode corresponding to the first signal-to-noise ratio threshold value; if the signal-to-noise ratio of a certain resource group is less than a minimum value in the modulation mode threshold values, the resource group is idle; if the signal-to-noise ratio of a certain resource group is greater than a maximum value in the signal-to-noise ratio threshold values of the modulation modes, the modulation mode of the resource group is a modulation mode corresponding to the maximum value in the signal-to-noise ratio threshold values.
8. A computer-readable storage medium, characterized in that, The computer readable storage medium stores instructions, when the instructions are executed by a processor of a power line carrier chip, the power line carrier chip can execute the power line carrier target data modulation method in any one of claims 1 to 6.
9. A power line carrier chip, characterized by The chip comprises: a processor; a memory for storing computer executable instructions; the processor is configured to execute the computer executable instructions to implement the power line carrier target data modulation method in any one of claims 1 to 6.
Citation Information
Patent Citations
Data transmission method, sending device and receiving device
CN112887068A
Self-adaptive modulation method and device for power line carrier communication system
CN119383049A