A construction site power carrier signal modulation and demodulation method, medium and system
By detecting power line current waveform data, power line carrier signal modulation and demodulation were achieved at the construction site, solving the problem of weak signal and realizing effective transmission of wireless communication and data signals.
Patent Information
- Application Number
- CN202311138148.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-05
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2043-09-05
AI Technical Summary
Weak or no communication signals at construction sites prevent workers from communicating online.
By detecting the current waveform data of the power line, including the amplitude and the timing and frequency of glitch generation, the instantaneous current range of the transmitted data signal is determined, and the data signal is loaded within the instantaneous current range, while an interval signal is loaded outside the instantaneous current range, thus realizing the modulation and demodulation of the power line carrier signal.
It enables wireless communication at the construction site, solves the problem of poor signal, facilitates online communication among workers, and avoids data signal overload.
Smart Images

Figure CN117040985B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of communication technology, and specifically relates to a method, medium and system for modulation and demodulation of power line carrier signals at a construction site. Background Technology
[0002] In places such as construction sites, mobile communication signals are weak, non-existent, or lack coverage due to various reasons, which causes inconvenience and trouble for communication equipment and personnel.
[0003] Chinese invention patent with publication number CN101895910A (application number CN201010228013.6) discloses a mobile communication terminal and its communication method. The method includes the following steps: A. receiving a dialing operation command input by a user; B. determining whether the network coverage signal is within the normal range; C. when the network coverage signal is not within the normal range, selecting the actual maximum available power for communication according to the dialing operation command.
[0004] The aforementioned mobile communication terminal and its communication method cannot solve the problem of poor signal at construction sites, which prevents workers from communicating online. Summary of the Invention
[0005] In view of this, the present invention provides a method, medium and system for modulation and demodulation of power line carrier signals at construction sites, which can solve the problem of poor signal at construction sites and facilitate online communication among workers.
[0006] This invention is implemented as follows:
[0007] The first aspect of the present invention provides a method for modulation and demodulation of power line carrier signals at a construction site, wherein the transmitted signal of the carrier includes multiple spaced signals and multiple data signals, wherein the spaced signals do not carry data information, and the modulation method specifically includes the following steps:
[0008] S11. Detect the current waveform data of the power line over a period of time, including the amplitude and the timing and frequency of glitch generation;
[0009] S12. Determine the instantaneous current range of the transmitted data signal based on the detected current waveform data;
[0010] S13. Based on the instantaneous current range of the transmitted data signal, load the data signal onto the current waveform within the instantaneous current range, and load the interval signal onto the current waveform outside the instantaneous current range to complete the modulation.
[0011] The demodulation method specifically includes the following steps:
[0012] S21. Filter the received data signals;
[0013] S22. The data signals are spliced together to form the received signal, and demodulation is completed.
[0014] The technical advantages of the power line carrier signal modulation and demodulation method provided by this invention are as follows: By detecting the current waveform data of the power line over a period of time, the amplitude of the current waveform, the timing of glitch generation, and the frequency components of the glitch can be detected, providing a basis for subsequent modulation method selection; by determining the instantaneous current range of the transmitted data signal based on the detected current waveform data, the transmitted data signal can be made to conform to the current carrier capability of the equipment, avoiding overload; by loading the data signal onto the current waveform within the instantaneous current range and loading the current waveform outside the instantaneous current range with an interval signal, the modulation is completed. The invention implements a modulation process that loads data signals into the instantaneous current range and interval signals into the range outside the instantaneous current range, enabling the implementation of the modulation method. By filtering the received data signals, the transmitted data signals can be effectively detected and filtered from the mixed signals at the receiving end, completing the first step of the demodulation method and laying the foundation for subsequent signal splicing and demodulation, thus realizing the practicality of the invention. By splicing the data signals to form the received signal and completing demodulation, the invention realizes the reconstruction of dispersed data symbols and demodulation decision, completing the recovery of the received signal, making the modulation and demodulation method of the invention a practical system and achieving the purpose of wireless communication.
[0015] Based on the above technical solution, the method for modulation and demodulation of power line carrier signals at a construction site according to the present invention can be further improved as follows:
[0016] The process of detecting the current waveform data of the power line over a period of time, including the amplitude and the timing and frequency of glitch generation, specifically includes the following steps:
[0017] (1) Collect and sample the power line current to obtain current waveform data;
[0018] (2) Perform DC removal and filtering on the collected current data;
[0019] (3) Calculate the effective value of the filtered data, which represents the amplitude of the current waveform;
[0020] (4) Perform time-domain analysis on the waveform to detect the time when the glitches occur;
[0021] (5) Perform frequency domain analysis on the waveform to detect the main frequency of the glitch interference.
[0022] The beneficial effects of adopting the above-mentioned improved scheme are as follows: the amplitude of the current waveform, the timing of glitch generation, and the frequency components of the glitch can be detected by the above method, providing a basis for the selection of subsequent modulation methods.
[0023] Furthermore, frequency domain analysis is performed on the waveform to detect the main frequencies of glitches and interference. This includes the following steps:
[0024] (1) Divide the filtered signal into segments and calculate the power spectrum of each segment.
[0025] (2) Detect the peak value in each power spectrum;
[0026] (3) Analyze the peak values in each power spectrum to obtain the main frequency of the glitch interference.
[0027] The beneficial effects of adopting the above-mentioned improvement scheme are as follows:
[0028] Furthermore, determining the instantaneous current range of the transmitted data signal based on the detected current waveform data specifically includes the following steps:
[0029] (1) Set the modulation bandwidth and carrier center frequency for the transmitted data;
[0030] (2) Determine the frequency band range occupied by the data signal based on the modulation bandwidth;
[0031] (3) Select the modulation method, here it is amplitude modulation;
[0032] (4) Set the peak-to-peak amplitude of the carrier signal;
[0033] (5) Calculate the maximum and minimum amplitudes of the data signal when the glitch occurs and when it is normal;
[0034] (6) Determine the segmentation of the instantaneous current amplitude range of the transmitted data signal.
[0035] The beneficial effects of adopting the above-mentioned improved scheme are as follows: By using the current waveform information obtained in step S11, the instantaneous current range of the transmitted data signal is dynamically calculated, thus realizing the function of step S12. This method takes into account the influence of glitches, which can ensure that the transmitted data signal conforms to the current carrier capability of the equipment and avoids overload.
[0036] Furthermore, the modulation process, which involves loading a data signal onto the current waveform within the instantaneous current range of the transmitted data signal and loading an interval signal onto the current waveform outside the instantaneous current range, specifically includes the following steps:
[0037] (1) Generate a data symbol stream and determine the symbol transmission time;
[0038] (2) Sample and modulate the carrier signal at the symbol transmission time;
[0039] (3) Dynamically adjust the amplitude of the modulation signal according to the period of the glitch;
[0040] (4) Transmit a fixed amplitude carrier during non-data interval periods.
[0041] The beneficial effects of adopting the above-mentioned improved scheme are as follows: by dynamically adjusting the amplitude of the data modulation signal, combined with the current characteristics obtained in the first two steps, the modulation process of loading data signals into the instantaneous current range and loading interval signals outside the instantaneous current range is realized, thus enabling the invention modulation method to be implemented.
[0042] Furthermore, the sampling and modulation of the carrier signal at the symbol transmission time specifically includes the following steps:
[0043] (1) Sample the carrier signal;
[0044] (2) Modulate the sampled sample to obtain the modulated sample;
[0045] (3) Connect the modulated samples to obtain the modulated signal.
[0046] The beneficial effects of adopting the above-mentioned improvement scheme are as follows:
[0047] Furthermore, the filtering of the received data signals specifically includes the following steps:
[0048] (1) Perform symbol division and filtering on the received signal to remove the interval carrier;
[0049] (2) Extract the modulation signal by envelope detection;
[0050] (3) Detect data symbols based on envelope amplitude;
[0051] (4) Finally, filter the output data modulation symbols.
[0052] Furthermore, the process of splicing the data signals to form the received signal and completing demodulation specifically includes the following steps:
[0053] (1) Determine the original transmission order of each detected data symbol;
[0054] (2) Reassemble the symbols according to the launch sequence;
[0055] (3) Perform decision-making and demapping on the concatenated symbol stream;
[0056] (4) Finally, the original binary data is restored.
[0057] A second aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores program instructions, which, when executed, are used to perform the above-described method for modulation and demodulation of power line carrier signals at a construction site.
[0058] A third aspect of the present invention provides a power line carrier signal modulation and demodulation system for a construction site, wherein the system includes the aforementioned computer-readable storage medium.
[0059] Compared with existing technologies, the beneficial effects of the power line carrier signal modulation and demodulation method, medium, and system provided by this invention are as follows: By detecting the current waveform data of the power line over a period of time, the amplitude of the current waveform, the timing of glitch generation, and the frequency components of the glitch can be detected, providing a basis for subsequent modulation method selection; by determining the instantaneous current range of the transmitted data signal based on the detected current waveform data, the transmitted data signal can be made to conform to the equipment's current carrier capability, avoiding overload; by loading the data signal onto the current waveform within the instantaneous current range and loading the intermittent current signal onto the current waveform outside the instantaneous current range, the present invention provides the following advantages: By isolating the signal and completing modulation, the process of loading a data signal within the instantaneous current range and loading an interval signal outside the instantaneous current range is realized, enabling the implementation of the invention's modulation method. By filtering the received data signal, the transmitted data signal can be effectively detected and filtered from the mixed signal at the receiving end, completing the first step of the demodulation method and laying the foundation for subsequent signal splicing and demodulation, thus realizing the practicality of the invention's method. By splicing the data signal to form the received signal and completing demodulation, the dispersed data symbol recombination and demodulation decision are realized, and the received signal is recovered, making the modulation and demodulation method of the present invention a practical system and achieving the purpose of wireless communication. Attached Figure Description
[0060] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0061] Figure 1 A flowchart of a power line carrier signal modulation method for a building construction site;
[0062] Figure 2 A flowchart of a power line carrier signal demodulation method for building construction sites; Detailed Implementation
[0063] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings.
[0064] like Figure 1 , Figure 2 The diagram illustrates a first embodiment of a method for modulating and demodulating power line carrier signals at a construction site, provided by the first aspect of this invention. In this embodiment, the transmitted carrier signal includes multiple spaced signals and multiple data signals. The spaced signals do not carry data information. The modulation method specifically includes the following steps:
[0065] S11. Detect the current waveform data of the power line over a period of time, including the amplitude and the timing and frequency of glitch generation;
[0066] S12. Determine the instantaneous current range of the transmitted data signal based on the detected current waveform data;
[0067] S13. Based on the instantaneous current range of the transmitted data signal, load the data signal onto the current waveform within the instantaneous current range, and load the interval signal onto the current waveform outside the instantaneous current range to complete the modulation.
[0068] The demodulation method specifically includes the following steps:
[0069] S21. Filter the received data signals;
[0070] S22. The data signals are spliced together to form the received signal, and demodulation is completed.
[0071] By detecting the current waveform data of the power line over a period of time, the amplitude of the current waveform, the timing of glitch generation, and the frequency components of the glitch can be detected, providing a basis for subsequent modulation method selection. By determining the instantaneous current range of the transmitted data signal based on the detected current waveform data, the transmitted data signal can be made to conform to the equipment's current carrier capability, avoiding overload. Modulation is completed by loading the data signal onto the current waveform within the instantaneous current range and loading interval signals onto the current waveform outside the instantaneous current range, realizing the modulation process of loading the data signal within the instantaneous current range and loading interval signals outside the instantaneous current range, thus enabling the implementation of the invention's modulation method. By filtering the received data signal, the transmitted data signal can be effectively detected and filtered from the mixed signal at the receiving end, completing the first step of the demodulation method and laying the foundation for subsequent signal splicing and demodulation, realizing the practicality of the invention. By splicing the data signals to form the received signal and completing demodulation, the dispersed data symbol reconstruction and demodulation decision are realized, completing the recovery of the received signal, making the modulation and demodulation method of the present invention a practical system, achieving the purpose of wireless communication.
[0072] In the above technical solution, detecting the current waveform data of the power line over a period of time, including the amplitude and the timing and frequency of glitch generation, specifically includes the following steps:
[0073] (1) Collect and sample the power line current to obtain current waveform data;
[0074] (2) Perform DC removal and filtering on the collected current data;
[0075] (3) Calculate the effective value of the filtered data, which represents the amplitude of the current waveform;
[0076] (4) Perform time-domain analysis on the waveform to detect the time when the glitches occur;
[0077] (5) Perform frequency domain analysis on the waveform to detect the main frequency of the glitch interference.
[0078] Furthermore, in the above technical solution, frequency domain analysis is performed on the waveform to detect the main frequencies of glitches and interference. This specifically includes the following steps:
[0079] (1) Divide the filtered signal into segments and calculate the power spectrum of each segment.
[0080] (2) Detect the peak value in each power spectrum;
[0081] (3) Analyze the peak values in each power spectrum to obtain the main frequency of the glitch interference.
[0082] First, in step S11, it is necessary to detect the current waveform data of the power line over a period of time, including the amplitude and the timing and frequency of glitch generation. To achieve this, the following method can be used:
[0083] 1. Set the sampling time T and sampling frequency f s This is used to collect current signals from power lines. Assuming the sampling time is set to 1 second and the sampling frequency is set to 10kHz, current waveform data containing 10,000 samples can be collected.
[0084] 2. Preprocess the acquired current waveform data, including removing the DC component and filtering. Let the original current signal be i(n), n = 1, 2, ..., 10000. First, calculate the DC component I... dc :
[0085]
[0086] Where N = 10000 is the number of samples. The signal after removing the DC component is:
[0087]
[0088] Then to Perform a low-pass filter to remove high-frequency noise. Let the filtered signal be i'(n).
[0089] 3. Calculate the effective value of the filtered signal i'(n), which represents the amplitude information of the current waveform. The formula for the effective value is:
[0090]
[0091] Among them, I rms This is a valid value.
[0092] 4. Perform time-domain analysis on the filtered current waveform i'(n) to detect the timing of glitches. The specific method is:
[0093] (1) Calculate the short-time maximum value M k :
[0094]
[0095] Where W is the width of the calculation window, which can be taken as W = 200, and k is the window number.
[0096] (2) When M k When the value exceeds a preset threshold δ, the k-th window is determined to contain glitch interference. That is:
[0097] M k >δ,k∈K;
[0098] Then the k-th window contains spikes, and the set of window indices is K.
[0099] (3) The timing of burr formation can be determined based on K.
[0100] 5. Perform frequency domain analysis on the filtered current waveform to detect the main frequency components of the glitches. The power spectral density method is used.
[0101] (1) Divide i'(n) into segments of length L, and calculate the power spectrum P of each segment. m (f), m represents the m-th segment:
[0102]
[0103] FFT() represents the Fast Fourier Transform.
[0104] (2) Detect each P m The peak value in (f) is denoted as That is, the main frequency components of glitch interference.
[0105] (3) Analysis This allows us to obtain the main frequency information of the glitches in each signal segment, including the main frequency f of the glitches. p .
[0106] Thus, the current waveform detection in step S11 is complete. Using the above method, the amplitude of the current waveform, the timing of glitches, and the frequency components of the glitches can be detected, providing a basis for subsequent modulation method selection. It should be noted that the above parameters, such as T and f... s δ, W, L, etc., need to be adjusted according to the actual situation to achieve the best detection results.
[0107] Furthermore, in the above technical solution, determining the instantaneous current range of the transmitted data signal based on the detected current waveform data specifically includes the following steps:
[0108] (1) Set the modulation bandwidth and carrier center frequency for the transmitted data;
[0109] (2) Determine the frequency band range occupied by the data signal based on the modulation bandwidth;
[0110] (3) Select the modulation method, here it is amplitude modulation;
[0111] (4) Set the peak-to-peak amplitude of the carrier signal;
[0112] (5) Calculate the maximum and minimum amplitudes of the data signal when the glitch occurs and when it is normal;
[0113] (6) Determine the segmentation of the instantaneous current amplitude range of the transmitted data signal.
[0114] The specific method can be as follows:
[0115] 1. First, set the modulation bandwidth B (Hz) of the transmitted data signal. There is a corresponding relationship between the modulation bandwidth and the data rate; the higher the data rate, the larger the bandwidth required.
[0116] 2. Set the center frequency f of the carrier signal. c A frequency outside the glitch band should be selected to avoid interference. It can be set as follows:
[0117] f c = k·f p ;
[0118] Where k is a constant and should be greater than 1.
[0119] 3. Based on the modulation bandwidth B and carrier frequency f c This allows us to determine the frequency range occupied by the transmitted data signal.
[0120]
[0121] 4. Determine the modulation method. Here we choose amplitude modulation, which transmits information by adjusting the signal amplitude.
[0122] 5. Set the amplitude range of the carrier signal. Assume peak-to-peak (PP) amplitude is used, denoted as A. pp .but:
[0123] A pp =k'·I rms ;
[0124] Here, k' is a constant that controls the modulation depth. A larger modulation depth results in stronger noise immunity, but may exceed the current carrying capacity of the equipment.
[0125] 6. Ignoring glitches, the amplitude range of the modulated carrier signal is:
[0126]
[0127] 7. Considering the effect of burrs, assume the instantaneous current when a burr occurs is i. s Then the instantaneous maximum amplitude of the modulated signal is:
[0128]
[0129] The minimum instantaneous amplitude is:
[0130]
[0131] 8. Therefore, the instantaneous current range of the transmitted data signal is determined as follows:
[0132] [A min A max ];
[0133] Modulating the data signal within this range avoids exceeding the device's current carrier capability.
[0134] 9. Before sending data, the current waveform can be monitored to dynamically obtain i. s And the instantaneous current range of the transmitted data signal is calculated in real time according to the above method.
[0135] 10. Based on the calculated instantaneous current range, the carrier wave is amplitude modulated to obtain the transmitted data signal.
[0136] Furthermore, in the above technical solution, based on the instantaneous current range of the transmitted data signal, a data signal is loaded onto the current waveform within the instantaneous current range, and an interval signal is loaded onto the current waveform outside the instantaneous current range to complete the modulation. Specifically, this includes the following steps:
[0137] (1) Generate a data symbol stream and determine the symbol transmission time;
[0138] (2) Sample and modulate the carrier signal at the symbol transmission time;
[0139] (3) Dynamically adjust the amplitude of the modulation signal according to the period of the glitch;
[0140] (4) Transmit a fixed amplitude carrier during non-data interval periods.
[0141] Furthermore, in the above technical solution, sampling and modulating the carrier signal at the symbol transmission time specifically includes the following steps:
[0142] (1) Sample the carrier signal;
[0143] (2) Modulate the sampled sample to obtain the modulated sample;
[0144] (3) Connect the modulated samples to obtain the modulated signal.
[0145] In the first two steps, we have acquired the current waveform data and determined the instantaneous current range of the transmitted data signal [A]. min A max Next, step S13 requires modulating the acquired current waveform according to this current range.
[0146] 1. Set the data symbol rate R s (symbols / s) means the number of symbols transmitted per second. Each symbol represents one bit of data.
[0147] 2. Calculate the symbol period based on the symbol rate.
[0148] 3. Generate a data symbol stream:
[0149] Let the binary data stream be d(n)∈{0,1}, n=1,2,
[0150] Convert it into a symbolic stream s(k)∈{-1, +1}, where k=1,2,...
[0151] Conversion rules:
[0152]
[0153]
[0154] 4. For the carrier signal c(t) = sin(2πf) c t) Modulation:
[0155] (1) Sample the carrier signal at time t = kT to obtain c(kT).
[0156] (2) Calculate the modulated sample:
[0157] x(kT)=A k s(k)c(kT);
[0158] Where A k Let be the modulation amplitude of the k-th symbol.
[0159] (3) Based on the previously obtained instantaneous current range [A] min A max ],set up:
[0160]
[0161] That is, if the time of the kth symbol is within the glitch interval K, then the maximum amplitude is used for modulation; otherwise, the minimum amplitude is used.
[0162] (4) Connect all the modulated samples to obtain the modulated signal:
[0163]
[0164] Where rect(t) is a rectangular window function.
[0165] 5. During intervals when there is no data, transmit a pure carrier signal:
[0166]
[0167] Where A c The amplitude of the interval signal can be taken as...
[0168] 6. The data modulation signal and the spaced carrier signal are superimposed to obtain the final transmitted signal:
[0169] s(t)=x(t)+x c (t);
[0170] The signal is sent to the power line for modulation.
[0171] Furthermore, in the above technical solution, the filtering of received data signals specifically includes the following steps:
[0172] (1) Perform symbol division and filtering on the received signal to remove the interval carrier;
[0173] (2) Extract the modulation signal by envelope detection;
[0174] (3) Detect data symbols based on envelope amplitude;
[0175] (4) Finally, filter the output data modulation symbols.
[0176] The specific method can employ the following digital signal processing algorithm:
[0177] 1. Set the symbol rate R to be the same as that of the sender. s and sampling frequency f s The received signal r(t) is sampled to obtain the sampling sequence r(n), n = 1, 2, ...
[0178] 2. Divide r(n) into segments according to the symbol period T of the transmitting end, with each segment containing N = f s T samples. Represented as:
[0179] r k (n)=r((k-1)N+n), n=1, 2,...,N; k=1, 2,...;
[0180] 3. For each signal segment r k (n) Perform filtering, design a bandpass filter with a passband range of:
[0181]
[0182] This refers to the frequency band range of the transmitted data signal. This allows for the filtering out of intermittent carrier signals. The filtered signal is represented as...
[0183] 4. Perform envelope detection on the filtered signal to extract the envelope of the modulated signal, denoted as e. k (n).
[0184] The specific method is as follows:
[0185] (1) Calculate the analytic signal:
[0186]
[0187] in This represents the Hilbert transform, where j is the imaginary unit and y is the number of units. k (n) represents the analytic signal.
[0188] (2) Calculate the envelope: e k (n)=|y k (n)|
[0189] 5. The envelope signal e after detection k (n) Perform amplitude detection to find the maximum value E k :
[0190]
[0191] 6. Place E k Compare with the preset threshold β:
[0192]
[0193] 7. Based on "above", the symbol range containing the data signal can be distinguished, represented as:
[0194] D={k|E k >β};
[0195] 8. Finally, based on D, the filtered data symbols are obtained:
[0196]
[0197] Where n = 1, 2, ..., (|D|-1)N.
[0198] Furthermore, in the above technical solution, the data signals are spliced to form a received signal and demodulation is completed, specifically including the following steps:
[0199] (1) Determine the original transmission order of each detected data symbol;
[0200] (2) Reassemble the symbols according to the launch sequence;
[0201] (3) Perform decision-making and demapping on the concatenated symbol stream;
[0202] (4) Finally, the original binary data is restored.
[0203] The specific method can be implemented using the following steps:
[0204] 1. Based on the detected data symbol interval D, the number of detected data symbols M = |D| can be determined.
[0205] 2. Set up an empty vector to store the concatenated signal:
[0206] y(n)=0, n=1, 2,...,M×N;
[0207] Where N is the number of sampling points for each symbol.
[0208] 3. Based on interval D, the index k of the original transmitted symbol corresponding to the m-th detected symbol can be determined. m , where m = 1, 2, ..., M.
[0209] 4. Record each detected data symbol Place it at the position corresponding to vector y(n):
[0210]
[0211] 5. The above process can be represented by the following formula:
[0212]
[0213] in,
[0214]
[0215] 6. This will give us the complete data symbol y(n) after concatenation.
[0216] 7. Perform decision and demapping on y(n), and let the decision symbol stream be...
[0217] And perform demapping:
[0218]
[0219] Where n = 1, 2, ...
[0220] 8. Finally, the demodulated and restored binary data stream is obtained.
[0221] Specifically, the principle of this invention is as follows: By detecting the current waveform data of the power line over a period of time, the amplitude of the current waveform, the timing of glitch generation, and the frequency components of the glitch can be detected, providing a basis for subsequent modulation method selection; by determining the instantaneous current range of the transmitted data signal based on the detected current waveform data, the transmitted data signal can be made to conform to the current carrier capability of the equipment, avoiding overload; by loading the data signal onto the current waveform within the instantaneous current range and loading the interval signal onto the current waveform outside the instantaneous current range according to the instantaneous current range of the transmitted data signal, modulation is completed, realizing the modulation process of loading the data signal within the instantaneous current range and loading the interval signal outside the instantaneous current range, enabling the implementation of the invention's modulation method; by filtering the received data signal, the transmitted data signal can be effectively detected and filtered from the mixed signal at the receiving end, completing the first step of the demodulation method, laying the foundation for subsequent signal splicing and demodulation, and realizing the practicality of the invention's method; by splicing the data signals to form the received signal, demodulation is completed, realizing the reconstruction of dispersed data symbols and demodulation decision, completing the recovery of the received signal, making the modulation and demodulation method of this invention a practical system, achieving the purpose of wireless communication.
Claims
1. A method for modulation and demodulation of power line carrier signals at a construction site, wherein, The transmitted signal of the carrier wave includes multiple spaced signals and multiple data signals, wherein the spaced signals do not carry data information. The modulation method specifically includes the following steps: S11. Detect the current waveform data of the power line over a period of time, including the amplitude and the timing and frequency of glitch generation; S12. Based on the detected current waveform data, determine the instantaneous current range of the transmitted data signal, specifically including the following steps: Set the modulation bandwidth and carrier center frequency for the transmitted data; The frequency band occupied by the data signal is determined based on the modulation bandwidth; Select the modulation method; here, amplitude modulation is selected. Set the peak-to-peak amplitude of the carrier signal; Calculate the maximum and minimum amplitudes of the data signal when glitch occurs and during normal operation; Determine the segmentation of the instantaneous current amplitude range of the transmitted data signal; S13. Based on the instantaneous current range of the transmitted data signal, load the data signal onto the current waveform within the instantaneous current range, and load the interval signal onto the current waveform outside the instantaneous current range to complete the modulation. The demodulation method specifically includes the following steps: S21. Filter the received data signals; S22. The data signals are spliced together to form the received signal, and demodulation is completed.
2. The method for modulation and demodulation of power line carrier signals at a construction site according to claim 1, characterized in that, The detection of current waveform data of the power line over a period of time, including amplitude and the timing and frequency of glitch generation, specifically includes the following steps: The power line current is collected and sampled to obtain current waveform data; The collected current data is subjected to DC removal and filtering. Calculate the effective value of the filtered data, which represents the amplitude of the current waveform; Perform time-domain analysis on the waveform to detect the timing of glitches and interference. Frequency domain analysis was performed on the waveform to detect the main frequencies of glitches and interference.
3. The method for modulation and demodulation of power line carrier signals at a construction site according to claim 2, characterized in that, Frequency domain analysis of the waveform is performed to detect the main frequencies of glitches and interference. This includes the following steps: The filtered signal is segmented, and the power spectrum of each segment is calculated separately. Detect the peak value in each power spectrum; The peak values in each power spectrum are analyzed to obtain the main frequencies of the glitch interference.
4. A method for modulation and demodulation of power line carrier signals at a construction site according to claim 3, characterized in that, The modulation process, which involves loading a data signal onto the current waveform within the instantaneous current range of the transmitted data signal and loading an interval signal onto the current waveform outside the instantaneous current range, specifically includes the following steps: Generate a data symbol stream and determine the symbol transmission time; The carrier signal is sampled and modulated at the symbol transmission time; The amplitude of the modulation signal is dynamically adjusted according to the duration of the glitch. A fixed-amplitude carrier is transmitted during non-data intervals.
5. A method for modulation and demodulation of power line carrier signals at a construction site according to claim 4, characterized in that, The sampling and modulation of the carrier signal at the symbol transmission time specifically includes the following steps: Sample the carrier signal; The sampled sample is modulated to obtain the modulated sample; The modulated samples are concatenated to obtain the modulated signal.
6. A method for modulation and demodulation of power line carrier signals at a construction site according to claim 5, characterized in that, The process of filtering the received data signals specifically includes the following steps: The received signal is symbol-divided and filtered to remove interleaved carriers; The modulated signal is extracted by envelope detection; Detect data symbols based on envelope amplitude; Finally, the modulation symbols for the output data are selected.
7. A method for modulation and demodulation of power line carrier signals at a construction site according to claim 6, characterized in that, The process of splicing data signals to form a received signal and completing demodulation specifically includes the following steps: Determine the original emission order of each detected data symbol; Reassemble the symbols according to the launch order; Perform decision-making and demapping on the concatenated symbol stream; The original binary data was eventually recovered.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores program instructions, which, when executed, are used to perform a method for modulation and demodulation of power line carrier signals at a construction site as described in any one of claims 1-7.
9. A power line carrier signal modulation and demodulation system for construction sites, characterized in that, It includes the computer-readable storage medium of claim 8.
Citation Information
Patent Citations
Mobile communication terminal and communication method thereof
CN101895910A
Carrier signal superposition communication method and device based on power line transmission, medium and equipment
CN115314078A
