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
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-23
- Publication Date
- 2025-10-31
- 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 in order to adapt to changes in channel conditions.
It improves communication speed and success rate, enhances the reliability and stability of signal transmission, reduces transmission delay, and makes full use of spectrum resources.
Smart Images

Figure CN120880856A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power line carrier communication, and in particular to a power line carrier target data modulation method, apparatus, storage medium, and chip. Background Technology
[0002] With the development of new power systems, the multi-type and highly interactive "source-grid-load-storage" business in distribution transformer areas is booming. To meet the actual business needs of various specialties, improving the communication performance of distribution transformer areas, increasing power line transmission rates, and ensuring transmission reliability, thereby achieving minute-level data collection, has become a critical task that urgently needs to be addressed. However, at present, power line communication performance faces many limitations, making it difficult to increase transmission rates and achieve minute-level data collection. The main reasons are as follows: On the one hand, at the channel characteristics level, the power line channel environment is extremely complex, with many unfavorable factors such as multipath fading and noise interference. Once the channel quality deteriorates, information transmission is prone to errors, requiring multiple retransmissions, a process that consumes a lot of time, severely impacting the transmission rate and reducing transmission reliability. Secondly, traditional technologies use fixed parameter configurations, which cannot adapt to dynamic changes in the channel. When channel conditions change, fixed modulation modes and diversity operations cannot be adjusted appropriately in a timely manner. This means that the advantages of good channel quality cannot be fully utilized to increase the transmission rate, and that the reliability and stability of transmission cannot be effectively maintained when the channel quality is poor. Furthermore, due to the unique characteristics of power line transmission, high-frequency attenuation is severe, and frequency domain resources are naturally limited, preventing the use of larger bandwidths.
[0003] Therefore, how to improve the power line transmission rate while maintaining the stability and reliability of signal transmission is an urgent problem to be solved. Summary of the Invention
[0004] In view of this, embodiments of this application provide a power line carrier target data modulation method, apparatus, storage medium, and chip to solve at least one problem existing in the background art.
[0005] In a first aspect, embodiments of this application provide a power line carrier target data modulation method, the method comprising: Obtain the signal-to-noise ratio of each resource group; wherein, the resource groups are divided based on the number of subcarriers within the spectrum range, and each resource group includes multiple subcarriers; Based on the preset number of diversity subdivisions, the signal-to-noise ratio of each resource group is corrected to obtain the corrected signal-to-noise ratio of each resource group. The modulation mode of each resource group is determined based on the modified signal-to-noise ratio of each resource group, and the number of bits to be transmitted for each corresponding symbol to be transmitted is determined based on the modulation mode of each resource group; wherein, the number of bits transmitted for each subcarrier is related to its modulation mode; each symbol to be transmitted consists of all subcarriers within the spectrum range; Calculate the number of symbols to be transmitted based on the number of bits in the target data, the preset number of diversity operations, and the number of bits sent for each symbol to be transmitted. Compare the number of symbols to be transmitted under different preset diversity counts, and modulate the target data based on the modulation mode of each resource group corresponding to the minimum number of symbols to be transmitted and the preset diversity count.
[0006] Secondly, embodiments of this application provide a power line carrier target data modulation apparatus, the apparatus comprising: An acquisition unit is used to acquire the signal-to-noise ratio of each resource group; wherein, the resource groups are divided based on the number of subcarriers within the spectrum range, and each resource group includes multiple subcarriers; The correction unit is used to correct the signal-to-noise ratio of each resource group according to the preset number of diversity operations, so as to obtain the corrected signal-to-noise ratio of each resource group. The modulation mode determination unit is used to determine the modulation mode of each resource group based on the modified signal-to-noise ratio of each resource group, and to determine the number of bits to be transmitted for each corresponding symbol based on the modulation mode of each resource group; wherein, the number of bits transmitted for each subcarrier is related to its modulation mode; each symbol to be transmitted consists of all subcarriers within the spectrum range; The symbol count calculation unit is used to calculate the number of symbols to be transmitted based on the number of bits in the target data, the preset diversity count, and the number of bits sent for each symbol to be transmitted. The comparison and selection unit is used to compare the number of symbols to be transmitted under different preset diversity counts, and modulate the target data based on the modulation method and diversity count of each resource group corresponding to the minimum number of symbols to be transmitted.
[0007] Thirdly, one embodiment of this application provides a computer-readable storage medium storing instructions that, when executed by a processor of a power line carrier chip, enable the power line carrier chip to perform the power line carrier target data modulation method provided in any of the first aspects above.
[0008] Fourthly, one embodiment of this application provides a power line carrier chip, the power line carrier chip comprising: processor; Memory used to store executable instructions for a computer; The processor is configured to execute the computer-executable instructions to implement the power line carrier target data modulation method as described in any one of the first aspects above.
[0009] This application embodiment corrects the signal-to-noise ratio (SNR) of each resource group based on a preset diversity round. Then, by correcting the SNR, it determines the modulation mode of each resource group and the number of bits transmitted for each corresponding symbol. Next, it calculates the number of symbols to be transmitted based on the number of bits in the target data and the preset diversity round. Finally, by comparing the number of symbols to be transmitted under different preset diversity rounds, it modulates the target data based on the modulation mode corresponding to the minimum number of symbols to be transmitted and the preset diversity round. This application embodiment can fully utilize limited spectrum resources. The dynamic configuration of the modulation mode for resource groups allows the system to flexibly adjust the transmission parameters of each resource group according to real-time channel quality. Higher-order modulation is used when channel conditions are good, increasing the number of bits transmitted per unit time and improving transmission efficiency. Simultaneously, each resource group accurately matches the modulation mode with the channel conditions, avoiding resource waste and making more rational use of limited spectrum resources. Furthermore, the dynamic adjustment mechanism enhances the system's adaptability to different channel environments, improving the reliability and stability of signal transmission. The selection strategy for the minimum number of symbols to be transmitted reduces transmission redundancy and transmission latency, enabling data to reach the receiving end faster and further improving the communication rate.
[0010] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0011] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments of this application and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings: Figure 1 A schematic diagram of the physical layer architecture for power line carrier communication provided in this application embodiment; Figure 2 A flowchart of a power line carrier target data modulation method provided in an embodiment of this application; Figure 3 A schematic diagram of a power line carrier target data modulation apparatus provided in an embodiment of this application; Figure 4 This is a schematic diagram of the power line carrier chip provided in an embodiment of this application. Detailed Implementation
[0012] To make the technical solution and beneficial effects of the present invention more apparent and understandable, a detailed description is provided below by listing specific embodiments. Unless otherwise defined, the technical and scientific terms used herein have the same meanings as those in the technical field to which this application pertains.
[0013] With the widespread deployment of power line communication and other carrier communication systems in smart grids, smart homes, and industrial automation, the requirements for real-time and reliable data transmission in communication systems are increasing. The core of 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 these, the subcarrier modulation mode is a key factor affecting communication transmission performance, directly determining the signal's noise immunity and transmission rate. In the embodiments of this application, the modulation modes include Binary Phase Shift Keying (BPSK), Quadrature Phase Shift Keying (QPSK), and 16-Quadrature Amplitude Modulation (16QAM). Among them, BPSK has the strongest noise immunity but weak data transmission capability, transmitting 1 bit per subcarrier; QPSK has the next strongest noise immunity, transmitting 2 bits per subcarrier, thus improving transmission capability; 16QAM has the weakest noise immunity but transmits 4 bits per subcarrier, offering the strongest data transmission capability under good channel conditions. However, in existing broadband power line communication technologies, subcarriers typically employ fixed parameter configurations, meaning that subcarriers modulate signals according to pre-set modulation modes and diversity numbers. Fixed parameter configurations cannot dynamically adjust the modulation mode and diversity number of subcarriers according to changes in the power line channel environment, limiting further improvements in communication speed.
[0014] In view of this, the present invention proposes a power line carrier target data modulation method. This method corrects the signal-to-noise ratio (SNR) of each resource group based on a preset diversity factor, then determines the modulation scheme for each resource group and obtains the corresponding number of bits to be transmitted for each symbol. Next, it calculates the number of symbols to be transmitted based on the number of bits of the target data, the preset diversity factor, and the number of bits transmitted for each symbol. Finally, it obtains the minimum number of symbols to be transmitted based on different preset diversity factors, thereby determining the optimal modulation scheme and diversity factor. This invention dynamically adjusts the resource group configuration parameters by adjusting the SNR of each resource group, thus adapting to changes in channel conditions and improving communication rate and success rate.
[0015] The power line carrier target data modulation method provided by the present invention will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.
[0016] For HPLC systems, industry technical specifications detail the physical layer, data link layer, and application layer protocols of broadband carrier communication standards, as well as related testing specifications. In these specifications, the final transmitted signal is typically achieved through the sequential transmission of individual PPDU (Physical Protocol Data Unit) frames. A PPDU frame typically contains a preamble, a frame control (FC) signal, and a payload (PL). The preamble, composed of multiple synchronization symbols, is used for frame synchronization and channel estimation. The FC signal describes basic frame information, such as the modulation mode, subcarrier distribution, and payload length, facilitating subsequent parsing of the payload signal at the receiving end. The payload describes the actual data to be transmitted. It's important to note that the preamble and FC signals generally have fixed lengths. Furthermore, because the FC signal carries control information such as the payload data length and modulation mode, its modulation mode is typically a fixed low-order modulation to ensure transmission reliability and stability.
[0017] Figure 1 This is a schematic diagram of the physical layer architecture for power line carrier communication provided in an embodiment of this application. Figure 1As shown, frame control data and payload data undergo their respective encoding and interleaving processes to form individual OFDM symbols. These symbols are then converted to time-domain data via IFFT, and after further processing such as cyclic windowing and preamble addition, they are finally transmitted via the analog front-end. It should be noted that in the frequency domain, each OFDM symbol consists of a specific number of subcarriers, each carrying different bit information. After IFFT transformation, these subcarriers change from the frequency domain to the time domain, and each OFDM symbol is transformed from a frequency-domain signal to a time-domain signal. Because each OFDM symbol carries different information, the amplitude and phase of the specific number of sampling points corresponding to each OFDM symbol in the time domain are also different. In existing power line carrier communication technologies, the modulation mode and diversity count of frame control data are fixed, while the payload data is selectively fixed based on the diversity copy mode in the communication protocol. For example, in basic mode 0, the physical block size is 520, the diversity factor is 4, and the modulation scheme is QPSK; in basic mode 2, the physical block size is 136, the diversity factor is 5, and the modulation scheme is QPSK; in extended mode 1, the physical block size is 520, the diversity factor is 1, and the modulation scheme is 16QAM. The physical block is the basic transmission unit carrying the payload data, and it consists of different numbers of OFDM symbols depending on the physical block size, thereby realizing the transmission of the data payload. In the embodiments of this application, the target data refers to unprocessed data, i.e. Figure 1 The data in the middle is the payload data that has not yet undergone scrambling, encoding, or other processing.
[0018] Figure 2 This is a flowchart illustrating a power line carrier target data modulation method provided in an embodiment of this application. Figure 2 As shown, the target data modulation method of this application embodiment includes: S1. Obtain the signal-to-noise ratio of each resource group.
[0019] Specifically, resource groups are divided based on the number of subcarriers within the spectrum range, with each resource group including multiple subcarriers; the spectrum range is determined based on the power line carrier communication protocol. In this application embodiment, the spectrum range can be a certain frequency band range in the power line carrier communication protocol, or it can be the maximum frequency band range supported by the power line carrier communication protocol; this application does not limit this. For example, in the dual-mode communication interconnection technical specification (Q / GDW 12087.41), the number of subcarriers within the spectrum range is 512, and the subcarriers are numbered 0-511 according to their frequency size. The number of subcarriers varies depending on the different communication frequency bands. The frequency band range of frequency band 0 is 1.953-11.96, and the corresponding subcarrier numbers are 80-490; the frequency band range of frequency band 1 is 2.441-5.615, and the corresponding subcarrier numbers are 100-230. Optionally, the spectrum range in this embodiment is the maximum supported spectrum range specified by the power line carrier communication protocol, and the subcarriers within the corresponding spectrum range are all the subcarriers specified by the protocol, thereby making full use of spectrum resources and transmitting more data. Optionally, each resource group contains multiple consecutive subcarriers. Here, consecutive subcarriers refer to arranging all subcarriers within the spectrum range according to frequency and sequentially assigning them to each resource group, with each resource group including a portion of consecutive subcarriers. Further, the number of subcarriers in each resource group is the same. It should be noted that in the prior art, power lines are easily affected by their own noise interference. To ensure effective signal transmission, communication protocols generally divide the maximum spectrum range into multiple frequency bands, and then select a frequency band based on the signal transmission distance, channel conditions, data size, etc. While this method ensures effective signal transmission, it also reduces the effective utilization of subcarriers and limits the signal transmission rate. In this embodiment, channel quality information is determined based on the signal-to-noise ratio of each resource group, so that subcarriers can be adaptively and dynamically selected and adjusted subsequently, thereby improving both the transmission rate and the transmission success rate.
[0020] In this embodiment, the signal-to-noise ratio (SNR) of each resource group refers to the SNR of the channel between the transmitter and receiver, which can be obtained through real-time channel measurement. By dividing subcarriers into resource groups, this embodiment reduces the data storage space and data transmission volume during real-time channel measurement, allowing for more accurate and faster acquisition of the SNR data for each resource group. In this embodiment, real-time channel measurement specifically includes: A full-band signal is transmitted to the power line channel so that the receiver can receive the full-band signal transmitted via the power line and calculate the signal-to-noise ratio of each resource group; wherein, the full-band signal consists of all subcarriers within the spectrum range; Receive the signal-to-noise ratio data for each resource group sent by the receiving end.
[0021] Optionally, full-band data consists of multiple synchronization symbols, which can reduce the complexity of signal generation and processing (payload signals and frame control signals need to be encoded, interleaved, etc.) and reduce the occupation of hardware resources.
[0022] In this embodiment, the signal-to-noise ratio (SNR) of each resource group reflects the current channel quality and forms the basis for subsequent dynamic modulation modes. Real-time channel measurement allows for more accurate channel data. It should be noted that this embodiment can also obtain SNR by reading historical data, such as data from the same time the previous day.
[0023] S2. Based on the preset number of diversity operations, the signal-to-noise ratio of each resource group is corrected to obtain the corrected signal-to-noise ratio of each resource group.
[0024] In this embodiment, the corrected signal-to-noise ratio (SNR) of each resource group is greater than the original SNR of its corresponding resource group. In power line carrier communication, the complex and variable channel environment leads to a significant decrease in the reliability of single signal transmissions. Therefore, power line carrier communication typically employs diversity copy and interleaving techniques to generate multiple independent copies of the frame control signal and data payload signal. This reduces the risk of transmission failure through redundant transmission in the spatial, temporal, or frequency domains. Diversity copy technology can be understood as repeatedly transmitting data on the timeline, thereby increasing the risk of single transmission failure. The receiver utilizes the independence of the fading of each copy and superimposes the signals through merging calculations to achieve reliable signal reception. In this embodiment, the SNR of each resource group is calculated based on the synchronization symbol. Although it reflects the actual channel quality information, the calculation process does not consider the impact of diversity copy technology on the SNR. Therefore, the channel quality information obtained through the synchronization symbol will differ from the actual signal's channel quality information due to the presence or absence of diversity copy. For example, if the SNR of the synchronization symbol is 10dB, the actual SNR of the payload data symbol after four diversity merging operations may be as high as 16dB. Therefore, in this embodiment, by presetting the diversity factor (SMF) of each resource group, the SMF result based on the synchronization symbol can be corrected, thus more closely reflecting the actual transmission scenario of the payload symbols and providing more accurate channel quality information for the dynamic allocation of modulation modes. It should be noted that the more presetting diversity factors, the higher the corrected SMF of the resource group, allowing the corresponding resource group to select a higher-order modulation scheme, transmit a larger number of bits, and transmit more bits per OFDM symbol. However, more diversity factors also result in a larger number of ultimately modulated payload data symbols, leading to a larger total number of transmitted bits, which ultimately affects the number of OFDM symbols that need to be transmitted.
[0025] As an optional specific implementation, S2 includes: Based on the maximum ratio merging method, the signal-to-noise ratio of each resource group is corrected according to the preset number of diversity operations to obtain the corrected signal-to-noise ratio of each resource group.
[0026] Specifically, the correction is made using the following formula: SNR'=SNR sync +10log 10 N, Where SNR' is the corrected signal-to-noise ratio of the resource group, SNR sync Let N be the signal-to-noise ratio of the resource group, and N be the preset diversity factor. It should be noted that this formula is a decibel-domain formula, with the unit being dB.
[0027] It should be noted that the signal-to-noise ratio (SNR) of the maximum ratio combining method in the linear domain is equivalent to the sum of the SNRs of each branch, that is: SNR linear =N×SNR sync, linear , Among them, SNR linear For the corrected signal-to-noise ratio of the linear domain resource group, SNR sync, linear Let N be the signal-to-noise ratio of the linear domain resource group, and N be the preset diversity factor. The decibel domain formula is obtained by converting the logarithmic ratio to the decibel (dB) domain using a base-10 logarithmic ratio.
[0028] In this embodiment, maximum ratio combining is based on the superposition of signal-to-noise ratios (SNR) after a preset number of diversity operations. This allows the combined signal-to-noise ratio to more closely approximate the actual transmission channel environment of the data payload symbols, enhancing the reliability and accuracy of the payload data channel quality information. Other combining methods can also be used in this embodiment, and this application is not limited to any particular method. It should be noted that the preset number of diversity operations in this embodiment is not a fixed value, but rather refers to multiple diversity operations. For example, if the range of the preset number of diversity operations is 5-12, then the corresponding preset number of diversity operations can be any value within the range of 5-12.
[0029] 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 to be transmitted for each corresponding symbol based on the modulation mode of each resource group.
[0030] Specifically, the modulation mode of each resource group is related to its modified signal-to-noise ratio (SNR). A higher modified SNR indicates better channel conditions, and the corresponding resource group can transmit more symbols. In this embodiment, the number of bits transmitted by each subcarrier is related to its modulation mode; that is, the number of bits transmitted by each subcarrier depends on its modulation mode. Correspondingly, the number of bits transmitted by each resource group is related to its modulation mode. As an optional specific implementation, the modulation modes in this embodiment are BPSK, QPSK, or 16QAM, with corresponding number of bits transmitted by each subcarrier being 1, 2, and 4, respectively. In this embodiment, the number of bits transmitted by each symbol to be transmitted is the sum of the number of bits transmitted by each resource group, and the number of bits transmitted by each resource group is the sum of the number of bits transmitted by each subcarrier within the resource group. Here, each symbol to be transmitted refers to the symbol corresponding to the target data, that is, the OFDM symbol corresponding to the payload data. The target data consists of multiple OFDM symbols, and the number of bits that each OFDM symbol can carry is determined according to the modulation mode of each resource group. In this embodiment, the modulation mode of each resource group is determined based on the modified signal-to-noise ratio. The modulation modes of different resource groups in the corresponding OFDM symbols are different. Thus, each resource group can adaptively configure the optimal modulation mode based on the channel conditions. Ultimately, while ensuring transmission reliability, the number of bits transmitted by each resource group is maximized, thereby maximizing the number of bits transmitted by each symbol to be transmitted.
[0031] As an optional specific implementation, S3 includes: S30. Compare the corrected signal-to-noise ratio of each resource group with the modulation mode signal-to-noise ratio threshold value to determine the modulation mode of each resource group.
[0032] Specifically, S30 includes: If the signal-to-noise ratio of a resource group is greater than or equal to the first signal-to-noise ratio threshold and less than the second signal-to-noise ratio threshold, then the modulation mode of the resource group is the modulation mode corresponding to the first signal-to-noise ratio threshold. If the signal-to-noise ratio of a resource group is less than the minimum value among the threshold values of each modulation mode, then the resource group is idle. If the signal-to-noise ratio (SNR) of a resource group is greater than the maximum value among the SNR thresholds of each modulation mode, then the modulation mode of that resource group is the modulation mode corresponding to the maximum value among the SNR thresholds.
[0033] It should be noted that an idle resource group indicates that the subcarriers within that resource group are significantly affected by noise interference, resulting in a low signal-to-noise ratio. Therefore, idle resource groups do not carry bit information of the target data; that is, the effective information carried by an idle resource group is zero bits. As an optional implementation, in this embodiment, each symbol to be transmitted consists of subcarriers corresponding to all resource groups within the spectrum range. Correspondingly, if a resource group is idle, the subcarriers corresponding to that resource group are filled with zeros. In this embodiment, based on the correction of signal-to-noise ratio changes, the modulation mode of each resource group dynamically changes. By filling the subcarriers corresponding to idle resource groups with zeros, the dynamic change in the number of subcarriers in the symbol to be transmitted is avoided. Instead, modulation and demodulation are performed based on the same number of subcarriers, reducing the complexity of modulation and demodulation and improving the stability and reliability of the system. It should be noted that the symbol to be transmitted consists of subcarriers corresponding to all resource groups within the spectrum range, indicating that both idle resource groups and resource groups with determined modulation modes will be used. In this embodiment, although the zero-filled subcarriers do not carry valid information, it ensures that the symbols to be transmitted are always modulated and demodulated based on the same number of subcarriers. Regardless of how the channel environment quality changes, the modulation end can uniformly modulate the subcarriers containing valid data and zero-filled subcarriers, and the demodulation end can accurately demodulate the signal based on fixed parameters, which greatly improves the reliability and anti-interference capability of the communication system and effectively reduces the data transmission error rate.
[0034] In this embodiment, the first and second signal-to-noise ratio (SNR) thresholds are not specific numerical values, but rather represent the first and second SNR thresholds corresponding to the SNR of a resource group falling between two SNR thresholds. For example, if the SNR thresholds for BPSK, QPSK, and 16QAM are 0dB, 2dB, and 10dB respectively, and the SNR threshold of resource group REG1 is less than 0dB, then resource group REG1 is idle; if it is greater than 0 and less than 2, then the modulation mode of REG1 is BPSK, with the corresponding first SNR threshold of 0 and the second SNR threshold of 2; if it is greater than 2 and less than 10, then the modulation mode of resource group REG1 is QPSK, with the corresponding first SNR threshold of 2 and the second SNR threshold of 10; if it is greater than 10, then the modulation mode of resource group REG1 is 16QAM. It is understandable that if a resource group is idle, the subcarriers within that resource group will not transmit valid bit information; that is, the corresponding subcarriers will be filled with zeros to avoid interfering with other subcarriers carrying valid bit information. If a resource group has a defined modulation mode, the subcarriers within that resource group will transmit bits according to that modulation mode.
[0035] S31. Based on the modulation mode of each resource group, the number of bits transmitted by the corresponding subcarrier in each resource group is accumulated to obtain the number of bits transmitted by each resource group.
[0036] Specifically, the number of bits transmitted by a subcarrier is related to its modulation mode. If the modulation mode of a resource group is determined, the number of bits transmitted by the subcarriers within that resource group can be determined. Specifically, the total number of bits transmitted by the subcarriers within each resource group is obtained by summing the number of bits transmitted by the resource group itself. For example, if the modulation mode of resource group REG1 is QPSK, since each subcarrier can transmit 2 bits in QPSK mode, each subcarrier in resource group REG1 can transmit 2 bits, and the final total number of transmitted bits is equal to the sum of the number of bits transmitted by the subcarriers in resource group REG1.
[0037] S32. Accumulate the number of bits sent by each resource group to obtain the number of bits sent by each symbol to be transmitted.
[0038] In this embodiment, the number of bits transmitted for each OFDM symbol is determined based on the modified signal-to-noise ratio of each resource group, so that each resource group can be matched with the optimal modulation mode. This not only ensures the effective transmission of the signal, but also maximizes the number of bits that can be transmitted in each resource group, thereby improving the transmission efficiency of the signal.
[0039] S4. Calculate the number of symbols to be transmitted based on the number of bits in the target data, the preset number of diversity operations, and the number of bits sent for each symbol to be transmitted.
[0040] In this embodiment, the target data is unprocessed payload data. The number of bits in the target data represents the number of bits in the unprocessed payload data. After processing such as scrambling, encoding, interleaving, and diversity copying, the target data is merged with the processed frame control data in the time domain, and then frame preamble data is added to form the final transmitted signal. That is, the final transmitted signal is composed of individual PPDU frames. In this embodiment, the number of symbols to be transmitted is calculated based on the number of bits in the target data, the preset number of diversity operations, and the number of bits transmitted for each symbol to be transmitted, specifically using the following formula: Symb Num =(Bit Num ×N) / (bit symb ), Among them, Symb Num Indicates the number of symbols to be transmitted, Bit Num This represents the number of bits in the target data, where N represents the preset number of diversity operations. symb This indicates the number of bits sent for each symbol to be transmitted.
[0041] It should be noted that the number of symbols to be transmitted here refers to the number of symbols in the data payload of the final transmitted PPDU frame. This directly affects the transmission time of the target data; the more symbols, the longer the target data transmission time, and the slower the corresponding transmission rate. The length of the symbols to be transmitted directly affects the signal communication rate. This application, based on the number of bits in the target data, the preset diversity rounds, and the number of bits transmitted for each symbol, can accurately calculate the number of symbols to be transmitted. This facilitates subsequent determination of the final modulation mode and diversity rounds by comparing the number of symbols to be transmitted.
[0042] S5. Compare the number of symbols to be transmitted under different preset diversity counts, and modulate the target data based on the modulation mode of each resource group corresponding to the minimum number of symbols to be transmitted and the preset diversity count.
[0043] In this embodiment, the target data is the actual payload data to be transmitted. Its modulation mode and diversity factor both affect the number of symbols in the final transmitted signal. A higher diversity factor results in a higher corrected signal-to-noise ratio for each resource group, and thus more bits are transmitted for each symbol to be transmitted, thereby improving signal transmission efficiency. However, a higher diversity factor also requires more symbols, reducing signal transmission efficiency. Therefore, in this embodiment, by comparing the number of symbols to be transmitted under different preset numbers, the minimum number of symbols to be transmitted can be obtained. This balances the number of bits transmitted for each symbol and the total number of bits to be transmitted, maximizing the communication rate. It should be noted that the number of symbols to be transmitted here refers to the number of symbols corresponding to the data payload in the final transmitted signal. Since the number of symbols in the frame preamble and frame control signals is fixed in the power line communication protocol, the minimum number of symbols to be transmitted corresponds to the shortest transmission time, thus fully utilizing the actual channel quality information and maximizing the communication rate.
[0044] As an optional specific implementation, the modulation method of this application embodiment further includes: If the number of bits transmitted for each symbol to be transmitted is zero under different preset diversity counts, then the resource group with the highest signal-to-noise ratio is configured with the preset modulation mode, and the preset diversity count is configured with a preset fixed value.
[0045] Specifically, when the channel is severely interfered with, i.e., when the signal-to-noise ratio (SNR) is low, even after SNR correction based on different preset diversity iterations, there may still be cases where the corrected SNR of all resource groups is less than the minimum value among the threshold values of each modulation mode. In this case, all resource groups are idle, and the number of bits transmitted for each corresponding symbol to be transmitted is zero. In this situation, the resource group with the highest SNR in step S1 can be configured as the preset modulation mode, and the preset diversity iterations can be configured as a preset fixed value, thereby modulating the target data and achieving its transmission. Specifically, the preset modulation mode is the modulation mode corresponding to the minimum value among the threshold values of each modulation mode, and the preset fixed value is the maximum value among different preset diversity iterations, thus ensuring the reliability and stability of the target signal transmission.
[0046] This application embodiment corrects the signal-to-noise ratio (SNR) of each resource group based on a preset diversity number of operations. Then, by correcting the SNR, it determines the modulation mode of each resource group and the number of bits transmitted for each corresponding symbol. Next, it calculates the number of symbols to be transmitted based on the target data bit count and the preset diversity number of operations. Finally, by comparing the number of symbols to be transmitted under different preset diversity numbers, it modulates the target data based on the modulation mode corresponding to the minimum number of symbols to be transmitted and the preset diversity number of operations. This application embodiment can fully utilize limited spectrum resources. The dynamic configuration of the modulation mode for resource groups allows the system to flexibly adjust the transmission parameters of each resource group according to real-time channel quality. Higher-order modulation is used when channel conditions are good, increasing the number of bits transmitted per unit time and improving transmission efficiency. Simultaneously, each resource group accurately matches the modulation mode with the channel conditions, avoiding resource waste and making more rational use of limited spectrum resources. Furthermore, the dynamic adjustment mechanism enhances the system's adaptability to different channel environments, improving the reliability and stability of signal transmission. The selection strategy for the minimum number of symbols to be transmitted reduces transmission redundancy and transmission latency, enabling data to reach the receiving end faster and further improving the communication rate.
[0047] The power line carrier target data modulation method provided in this application embodiment can be specifically applied in electronic devices, such as terminals or servers.
[0048] It should be understood that, although Figure 2 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 2At least some of the steps in the process may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but may be executed at different times. The execution order of these steps or stages is not necessarily sequential, but may be executed in turn or alternately with other steps or at least some of the steps or stages in other steps.
[0049] Figure 3 This is a schematic diagram of a power line carrier target data modulation apparatus provided in an embodiment of this application. Figure 3 As shown, the modulation apparatus 100 in this embodiment includes: The acquisition unit 101 is used to acquire the signal-to-noise ratio of each resource group; wherein, the resource groups are divided based on the number of subcarriers within the spectrum range, and each resource group includes multiple subcarriers; The correction unit 102 is used to correct the signal-to-noise ratio of each resource group according to a preset number of diversity operations, so as to obtain the corrected signal-to-noise ratio of each resource group. The modulation mode determination unit 103 is used to determine the modulation mode of each resource group and the number of bits to be transmitted for each corresponding symbol based on the modified signal-to-noise ratio of each resource group; wherein, the number of bits transmitted for each subcarrier is related to its modulation mode; each symbol to be transmitted consists of all subcarriers within the spectrum range; The symbol number calculation unit 104 is used to calculate the number of symbols to be transmitted based on the number of bits of the target data, the preset diversity number of times, and the number of bits sent for each symbol to be transmitted. The comparison and selection unit 105 is used to compare the number of symbols to be transmitted under different preset diversity numbers, and modulate the target data based on the modulation method and diversity number of each resource group corresponding to the minimum number of symbols to be transmitted.
[0050] As an optional specific implementation, the modulation mode of each resource group and the number of bits to be transmitted for each corresponding symbol are determined based on the modified signal-to-noise ratio of each resource group, including: The modified signal-to-noise ratio of each resource group is compared with the modulation mode signal-to-noise ratio threshold to determine the modulation mode of each resource group; 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 in each resource group. The number of bits sent by each resource group is summed to obtain the number of bits sent for each symbol to be transmitted.
[0051] As an optional specific implementation, the modified signal-to-noise ratio of each resource group is compared with the modulation mode signal-to-noise ratio threshold to determine the modulation mode of each resource group, including: If the signal-to-noise ratio of a resource group is greater than or equal to the first signal-to-noise ratio threshold and less than the second signal-to-noise ratio threshold, then the modulation mode of the resource group is the modulation mode corresponding to the first signal-to-noise ratio threshold. If the signal-to-noise ratio of a resource group is less than the minimum value among the threshold values of each modulation mode, then the resource group is idle. If the signal-to-noise ratio (SNR) of a resource group is greater than the maximum value among the SNR thresholds of each modulation mode, then the modulation mode of that resource group is the modulation mode corresponding to the maximum value among the SNR thresholds.
[0052] As an optional specific implementation, the modulation mode is QPSK, BPSK or 16QAM, and the number of bits transmitted for each subcarrier is 1, 2 or 4 respectively.
[0053] As an optional specific implementation, the signal-to-noise ratio of each resource group is corrected according to a preset number of diversity operations, including: Based on the maximum ratio merging method, the signal-to-noise ratio of each resource group is corrected according to the preset number of diversity operations to obtain the corrected signal-to-noise ratio of each resource group.
[0054] As an optional implementation, the number of symbols to be transmitted is calculated based on the number of bits in the target data, the preset number of diversity operations, and the number of bits sent for each symbol to be transmitted, using the following formula: Symb Num =(Bit Num ×N) / (bit symb ), Among them, Symb Num Indicates the number of symbols to be transmitted, Bit Num This represents the number of bits in the target data, where N represents the preset number of diversity operations. symb This indicates the number of bits sent for each symbol to be transmitted.
[0055] As an optional specific implementation, the comparison selection unit 105 is also used for: If the number of bits transmitted for each symbol to be transmitted is zero under different preset diversity counts, then the resource group with the highest signal-to-noise ratio is configured with the preset modulation mode, and the preset diversity count is configured with a preset fixed value.
[0056] This application also provides a computer-readable storage medium. The computer-readable storage medium stores instructions that, when executed by a processor of a power line carrier chip, enable the power line carrier chip to perform the steps of the power line carrier target data modulation method as described in any of the above embodiments.
[0057] Embodiments of this application may be systems, methods, and / or computer program products. A computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of this application. In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is customized by utilizing state information from the computer-readable program instructions. This electronic circuitry can execute the computer-readable program instructions to implement various aspects of this application.
[0058] Computer-readable storage media can take the form of any combination of one or more readable media. A readable medium can be a readable signal medium or a readable storage medium. A computer-readable storage medium is a tangible device capable of holding and storing instructions for use by an instruction execution device. A readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combinations thereof.
[0059] Various aspects of this application are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0060] This application also provides a power line carrier chip. Figure 4 This is a schematic diagram of the power line carrier chip provided in an embodiment of this application. Figure 4 As shown, 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 as described in any of the above embodiments.
[0061] The processor 401 may be a central processing unit (CPU) or other form of processing unit with data processing and / or instruction execution capabilities, and may control other components in the power line carrier chip to perform the desired functions.
[0062] The memory 402 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 401 may execute the program instructions to implement the steps in the text recognition methods of the various embodiments of this application described above, and / or other desired functions.
[0063] In one example, the power line carrier chip 400 may also include input and output devices, which are interconnected via a bus system and / or other forms of connection (not shown in the figure).
[0064] Of course, for the sake of simplicity, Figure 4 Only a portion of the components of the power line carrier chip 400 relevant to this application are shown in this illustration; components such as buses and input / output interfaces are omitted. In addition, the power line carrier chip 400 may include any other suitable components depending on the specific application.
[0065] It should be noted that the embodiments of the power line carrier target data modulation method, the power line carrier target data modulation device, the computer-readable storage medium, and the power line carrier chip provided in this application belong to the same concept; the technical features in the technical solutions described in each embodiment can be arbitrarily combined without conflict.
[0066] It should be understood that the above embodiments are exemplary and are not intended to encompass all possible implementations included in the claims. Various modifications and changes can be made to the above embodiments without departing from the scope of this disclosure. Similarly, the various technical features of the above embodiments can be arbitrarily combined to form other embodiments of the present invention that may not be explicitly described. Therefore, the above embodiments only illustrate several implementations of the present invention and do not limit the scope of protection of this patent.
Claims
1. A method for modulating target data using a power line carrier, characterized in that, The method includes: Obtain the signal-to-noise ratio of each resource group; wherein, the resource groups are divided based on the number of subcarriers within the spectrum range, and each resource group includes multiple subcarriers; Based on a preset number of diversity operations, the signal-to-noise ratio of each resource group is corrected to obtain the corrected signal-to-noise ratio of each resource group. The modulation mode of each resource group is determined based on the corrected signal-to-noise ratio of each resource group, and the number of bits to be transmitted for each corresponding symbol to be transmitted is determined based on the modulation mode of each resource group; wherein, the number of bits transmitted for each subcarrier is related to its modulation mode; each symbol to be transmitted consists of all subcarriers within the spectrum range; The number of symbols to be transmitted is calculated based on the number of bits in the target data, the preset number of diversity operations, and the number of bits sent for each symbol to be transmitted. The number of symbols to be transmitted is compared under different preset diversity counts, and the target data is modulated based on the modulation mode of each resource group corresponding to the minimum number of symbols to be transmitted and the preset diversity count.
2. The power line carrier target data modulation method as described in claim 1, characterized in that, The step of 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 to be transmitted for each corresponding symbol based on the modulation mode of each resource group, includes: The modified signal-to-noise ratio of each resource group is compared with the modulation mode signal-to-noise ratio threshold value to determine the modulation mode of each resource group; Based on the modulation mode of each resource group, the number of bits transmitted by the corresponding subcarrier in each resource group is accumulated to obtain the number of bits transmitted by each resource group. The number of bits sent by each resource group is summed to obtain the number of bits sent by each symbol to be transmitted.
3. The power line carrier target data modulation method as described in claim 2, characterized in that, The step of comparing the corrected signal-to-noise ratio of each resource group with the modulation mode signal-to-noise ratio threshold to determine the modulation mode of each resource group includes: If the signal-to-noise ratio of a resource group is greater than or equal to the first signal-to-noise ratio threshold and less than the second signal-to-noise ratio threshold, then the modulation mode of the resource group is the modulation mode corresponding to the first signal-to-noise ratio threshold. If the signal-to-noise ratio of a resource group is less than the minimum value among the threshold values of each modulation mode, then the resource group is idle. If the signal-to-noise ratio (SNR) of a resource group is greater than the maximum value among the SNR thresholds of each modulation mode, then the modulation mode of that resource group is the modulation mode corresponding to the maximum value among the SNR thresholds.
4. The power line carrier target data modulation method as described in claim 2, characterized in that, The modulation mode is BPSK, QPSK or 16QAM, and the number of bits transmitted for each subcarrier is 1, 2 or 4 respectively.
5. The power line carrier target data modulation method as described in claim 1, characterized in that, The step of correcting the signal-to-noise ratio of each resource group according to a preset number of diversity operations includes: Based on the maximum ratio merging method, the signal-to-noise ratio of each resource group is corrected according to the preset number of diversity operations to obtain the corrected signal-to-noise ratio of each resource group.
6. The power line carrier target data modulation method as described in claim 1, characterized in that, The number of symbols to be transmitted is calculated based on the number of bits in the target data, the preset number of diversity operations, and the number of bits sent for each symbol to be transmitted, using the following formula: Symb Num =(Bit Num ×N) / (bit symb ), Among them, Symb Num Indicates the number of symbols to be transmitted, Bit Num This represents the number of bits in the target data, where N represents the preset number of diversity operations. symb This indicates the number of bits sent for each symbol to be transmitted.
7. The power line carrier target data modulation method as described in claim 1, characterized in that, The method further includes: If the number of bits transmitted for each symbol to be transmitted is zero under different preset diversity counts, then the resource group with the highest signal-to-noise ratio is configured with the preset modulation mode, and the preset diversity count is configured with a preset fixed value.
8. A power line carrier target data modulation device, characterized in that, The device includes: An acquisition unit is used to acquire the signal-to-noise ratio of each resource group; wherein, the resource groups are divided based on the number of subcarriers within the spectrum range, and each resource group includes multiple subcarriers; The correction unit is used to correct the signal-to-noise ratio of each resource group according to a preset number of diversity operations, so as to obtain the corrected signal-to-noise ratio of each resource group. The modulation mode determination unit is used to determine the modulation mode of each resource group based on the modified signal-to-noise ratio of each resource group, and to determine the number of bits to be transmitted for each corresponding symbol to be transmitted based on the modulation mode of each resource group; wherein, the number of bits transmitted for each subcarrier is related to its modulation mode; each symbol to be transmitted consists of all subcarriers within the spectrum range; The symbol count calculation unit is used to calculate the number of symbols to be transmitted based on the number of bits in the target data, the preset diversity count, and the number of bits sent for each symbol to be transmitted. The comparison and selection unit is used to compare the number of symbols to be transmitted under different preset diversity counts, and modulate the target data based on the modulation method and diversity count of each resource group corresponding to the minimum number of symbols to be transmitted.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed by the processor of the power line carrier chip, enable the power line carrier chip to perform the power line carrier target data modulation method according to any one of claims 1 to 7.
10. A power line carrier chip, characterized in that, The chip includes: processor; Memory used to store executable instructions for a computer; 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 claims 1 to 7.
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
Power carrier signal processing method and device, storage medium and chip
CN119996144A
Signal decoding method and device based on OFDM (Orthogonal Frequency Division Multiplexing) system and electronic equipment
CN120474670A
Adjusting multi-carrier modulation and transmission power properties
US20140269873A1