Power line communication method based on time shift keying
By adopting time-shift keying transmission module and coherent or incoherent demodulation methods in power line communication, the problems of noise interference and low signal rate are solved, and a higher signal-to-noise ratio and communication rate are achieved, reducing the cost of use.
Patent Information
- Application Number
- CN202411743228.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-04-22
AI Technical Summary
In the existing power line communication method based on time-shift keying, there is a large noise interference, a relatively low signal signal-to-noise, and a low communication rate.
The sending module using time-shift keying sends a communication signal through a modulation method, and demodulates the signal by detecting the coherent or incoherent method of the activation time slot at the receiving end to achieve effective transmission of the signal.
It improves signal-to-noise ratio, reduces noise interference, enhances communication rate, and does not need to send pilot signals or reference signals. It requires lower computing complexity and hardware performance requirements, and has lower usage costs.
Smart Images

Figure CN119865405A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of power line communication, in particular to a power line communication method based on time shift keying. Background Art
[0002] Power line communication uses transmission lines as a signal transmission medium to transmit data such as telephone, telegraph, telecontrol data and remote protection signals. Since power lines are energy transmission lines, using power lines for data transmission has the disadvantages of large noise interference, low signal-to-noise ratio and low communication rate. In view of this defect, it is necessary to study new power line communication methods. Summary of the invention
[0003] In view of the problems existing in the existing power line communication based on time shift keying, the present invention is proposed.
[0004] Therefore, the problem to be solved by the present invention is: large noise interference, low signal-to-noise ratio, and low communication rate.
[0005] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0006] In a first aspect, an embodiment of the present invention provides a power line communication method based on time shift keying, which comprises the following steps:
[0007] The communication signal is sent out by a transmission module using time shift keying according to the modulation method;
[0008] After receiving the communication signal, the communication signal is detected, and the sending information of the sending module is obtained from the communication signal.
[0009] As a preferred solution of the power line communication method based on time shift keying of the present invention, when time shift keying modulation is performed on the transmitted communication signal, an M-ary symbol is generated based on the transmitted bit, wherein M is an integer power of 2, and the size of the transmitted symbol is specifically m, and m belongs to {1, 2, ...M};
[0010] The symbol transmission time is divided into M time slots. The transmission module selects the corresponding mth time slot as the activated time slot according to the size of m, and the other time slots are inactive;
[0011] In the activation time slot, select an analog signal to send;
[0012] Among them, the inactive time slots do not send signals.
[0013] As a preferred solution of the power line communication method based on time shift keying described in the present invention, wherein: the waveform of the activation time slot includes a pulse signal and a continuous wave signal.
[0014] As a preferred solution of the power line communication method based on time shift keying of the present invention, wherein: after receiving the signal, the activation time slot is detected by a coherent method or a non-coherent method;
[0015] The coherent method accurately recovers the carrier phase of the transmitted signal so as to perform a multiplication operation with the received signal, thereby achieving signal demodulation;
[0016] The non-coherent method detects the signal according to the energy of the received signal.
[0017] As a preferred solution of the power line communication method based on time shift keying of the present invention, wherein: the communication signal includes a time code;
[0018] The time code includes a time type bit, a clock type bit, and a time information bit.
[0019] As a preferred solution of the power line communication method based on time shift keying of the present invention, wherein: the communication signal also includes an address code;
[0020] The address code includes the MAC bit of the sending module, the type bit of the communication device where the sending module is located, and the sub-address bit of the communication device corresponding to the sending module.
[0021] As a preferred solution of the power line communication method based on time shift keying of the present invention, the step of sending the communication signal is:
[0022] Detecting the sending module according to the MAC bit in the first address code;
[0023] Differentiate the different communication devices corresponding to each sending module according to the communication device type bit where the sending module is located in the first address code, and divide the communication devices into multiple communication groups;
[0024] Sort the communication devices of the communication group according to the sub-address bits of the communication devices corresponding to the sending modules in the first address code;
[0025] Distinguishing, according to the time type bit of the second address code, that the time code includes a sending time bit of the sending module or a receiving time bit of the sending module;
[0026] The time code includes the time stamp bit of the sending module relative to the initial time or the time difference bit of the sending module relative to the relay module according to the clock type bit of the second address code, and the time information of the communication device is obtained according to the time information bit of the second address code.
[0027] In a second aspect, an embodiment of the present invention provides a power line communication system based on time shift keying, which includes a sending module and a receiving module;
[0028] The sending module includes a modulation unit and a signal sending unit;
[0029] The receiving module includes a detection unit and a signal receiving unit;
[0030] Wherein, the signal sending unit and the signal receiving unit are connected via a power line.
[0031] In a third aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, wherein: when the processor executes the computer program, any step of the above-mentioned time-shift keying-based power line communication method is implemented.
[0032] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program is executed by a processor, any step of the above-mentioned time-shift keying-based power line communication method is implemented.
[0033] The beneficial effects of the present invention are as follows: the receiving module can obtain the communication signal sent by the sending module through the time-shift keying transmission of the radio frequency signal, and parse the information sent by the sending module from the communication signal. In the communication method of the present invention, the sending module does not need to send a pilot signal or a reference signal. The technical solution in the embodiment has low computational complexity and low performance requirements for the hardware, and therefore has lower usage costs and a wider range of application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0035] Figure 1 The invention is a flow chart of a power line communication method based on time shift keying.
[0036] Figure 2 The schematic diagram of the power line communication method based on time shift keying.
[0037] Figure 3 The module structure diagram of the power line communication method based on time shift keying. DETAILED DESCRIPTION
[0038] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0039] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0040] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.
[0041] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.
[0042] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0043] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0044] Example 1
[0045] Reference Figure 1 and Figure 2, which is the first embodiment of the present invention, and which provides a power line communication method based on time shift keying, comprising the following steps:
[0046] S1. The communication signal is sent by a transmission module using time shift keying according to the modulation method.
[0047] When performing time shift keying modulation on a transmitted communication signal, an M-ary symbol is generated based on the transmitted bit, where M is an integer power of 2, and the size of the transmitted symbol is specifically m, where m belongs to {1, 2, ..., M};
[0048] The symbol transmission time is divided into M time slots. The transmission module selects the corresponding mth time slot as the activated time slot according to the size of m, and the other time slots are inactive;
[0049] In the activation time slot, select an analog signal to send;
[0050] Among them, the inactive time slots do not send signals.
[0051] In this embodiment, each bit in the modulation information is called a modulation bit. The length of each modulation information is M, that is, each modulation information includes log2M modulation bits, and M is usually an integer power of 2, such as Figure 2 As shown, the sending module uses 4 time slots for modulation, that is, each modulation information includes 2 modulation bits; for example, {00, 01, 10, 11} corresponds to the {1, 2, 3, 4}th activation time slot;
[0052] The sending module can determine the time slot to be activated among the M time slots according to the modulation information. After the time slot is selected, the sending module sends a signal in the selected time slot.
[0053] The waveform of the activation time slot includes a pulse signal and a continuous wave signal.
[0054] The sending module reads each bit in the information block bit by bit. For example, when Y=2, that is, each modulated information includes 2 modulated bits, the sending module reads two bits each time. The read information bits may be 00, 01, 10 or 11. These four cases correspond to different time slots. The sending module selects the corresponding activation time slot according to the two bits read to transmit the radio frequency signal.
[0055] S1. After receiving a communication signal, detect the communication signal and obtain sending information of a sending module from the communication signal.
[0056] After receiving the signal, detecting the activation time slot using a coherent method or a non-coherent method;
[0057] The coherent method accurately recovers the carrier phase of the transmitted signal so as to perform a multiplication operation with the received signal, thereby achieving signal demodulation;
[0058] The non-coherent method detects the signal according to the energy of the received signal.
[0059] Incoherent detection can detect signals based on the received signal energy. Determine the activated time slot position This is the modulation information.
[0060] The communication signal includes a time code;
[0061] The time code includes a time type bit, a clock type bit, and a time information bit.
[0062] The communication signal also includes an address code;
[0063] The address code includes the MAC bit of the sending module, the type bit of the communication device where the sending module is located, and the sub-address bit of the communication device corresponding to the sending module.
[0064] The step of sending the communication signal is:
[0065] Detecting the sending module according to the MAC bit in the first address code;
[0066] Differentiate the different communication devices corresponding to each sending module according to the communication device type bit where the sending module is located in the first address code, and divide the communication devices into multiple communication groups;
[0067] Sort the communication devices of the communication group according to the sub-address bits of the communication devices corresponding to the sending modules in the first address code;
[0068] Distinguishing, according to the time type bit of the second address code, that the time code includes a sending time bit of the sending module or a receiving time bit of the sending module;
[0069] The time code includes the time stamp bit of the sending module relative to the initial time or the time difference bit of the sending module relative to the relay module according to the clock type bit of the second address code, and the time information of the communication device is obtained according to the time information bit of the second address code.
[0070] For example, we have a series of sensor devices, each with a unique MAC address. By parsing the MAC bits in the first address code, we can identify which devices have the transmit function. For example, all devices with MAC addresses starting with 0x12 have the transmit function;
[0071] Differentiate communication device types and divide communication groups
[0072] Temperature sensor: The 3rd to 5th bits of the MAC address are 001;
[0073] Humidity sensor: The 3rd to 5th digits of the MAC address are 010;
[0074] Light intensity sensor: The 3rd to 5th bits of the MAC address are 011;
[0075] According to the above rules, we divide all devices with sending functions into three communication groups by type:
[0076] Communication group 1: temperature sensor;
[0077] Communication group 2: humidity sensor;
[0078] Communication group 3: light intensity sensor;
[0079] Within each communication group, we sort the devices according to the sub-address bits in the first address code. For example, the device with sub-address bit 0001 is at the front, and so on. This ensures that each device has a fixed transmission order within the group to avoid conflicts caused by simultaneous transmission;
[0080] The time type bit in the second address code is used to distinguish whether the time code represents the sending time or the receiving time. For example:
[0081] The time type bit is 0: indicates the sending time bit
[0082] The time type bit is 1: indicates receiving time bit
[0083] Distinguish clock type bit
[0084] The clock type bit in the second address code is used to distinguish whether the time code represents the time stamp relative to the initial time or the time difference relative to the relay module. For example:
[0085] The clock type bit is 0: indicates the time stamp bit relative to the initial time
[0086] The clock type bit is 1: indicates the time difference relative to the relay module
[0087] Get time information
[0088] Finally, the specific time information of each communication device is obtained according to the time information bit in the second address code. For example:
[0089] If the time type bit is 0 and the clock type bit is 0, the time information bits represent the device's time stamp relative to the origin time.
[0090] If the time type bit is 1 and the clock type bit is 1, the time information bit indicates the time difference of the device relative to the relay module.
[0091] A specific example is:
[0092] Assume there is a temperature sensor with a MAC address of 0x120010001 and a sub-address of 0001, belonging to communication group 1. The second address code is 0x00001001, where:
[0093] The first bit is 0, indicating the sending time bit;
[0094] The second bit is 0, indicating the time stamp relative to the initial time;
[0095] The last 8 bits are 00001001, indicating that the sending time of the device is 9 units of time relative to the initial time.
[0096] Through the above steps, we can ensure that each device transmits data according to the predetermined rules and time, avoid conflicts and improve network efficiency.
[0097] In summary, the receiving module can obtain the communication signal sent by the sending module through the time-shift keying radio frequency signal, and parse the information sent by the sending module from the communication signal. In the communication method of the present invention, the sending module does not need to send a pilot signal or a reference signal. The technical solution in the embodiment has low computational complexity and low performance requirements for hardware, and therefore has lower usage costs and a wider range of application scenarios.
[0098] Example 2
[0099] Reference Figure 3 , based on the first embodiment, this embodiment further provides a power line communication system based on time shift keying, including a sending module and a receiving module;
[0100] The sending module includes a modulation unit and a signal sending unit;
[0101] The receiving module includes a detection unit and a signal receiving unit;
[0102] Wherein, the signal sending unit and the signal receiving unit are connected via a power line.
[0103] This embodiment also provides a computer device, which is suitable for the case of a power line communication method based on time shift keying, including a memory and a processor; the memory is used to store computer executable instructions, and the processor is used to execute computer executable instructions to implement the power line communication method based on time shift keying proposed in the above embodiment.
[0104] The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.
[0105] This embodiment further provides a storage medium on which a computer program is stored. When the program is executed by a processor, the power line communication method based on time shift keying as proposed in the above embodiment is implemented.
[0106] The storage medium proposed in this embodiment and the data storage method proposed in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be found in the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0107] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A power line communication method based on time shift keying, characterized in that: The following steps are included: The communication signal is sent out by a transmission module using time shift keying according to the modulation method; After receiving the communication signal, the communication signal is detected, and the sending information of the sending module is obtained from the communication signal.
2. The power line communication method based on time shift keying according to claim 1, characterized in that: When performing time shift keying modulation on a transmitted communication signal, an M-ary symbol is generated based on the transmitted bit, where M is an integer power of 2, and the size of the transmitted symbol is specifically m, where m belongs to {1, 2, ..., M}; The symbol transmission time is divided into M time slots. The transmission module selects the corresponding mth time slot as the activated time slot according to the size of m, and the other time slots are inactive; In the activation time slot, select an analog signal to send; Among them, the inactive time slots do not send signals.
3. The power line communication method based on time shift keying as claimed in claim 2, characterized in that: The waveform of the activation time slot includes a pulse signal and a continuous wave signal.
4. The power line communication method based on time shift keying according to claim 3, characterized in that: After receiving the signal, detecting the activation time slot using a coherent method or a non-coherent method; The coherent method accurately recovers the carrier phase of the transmitted signal so as to perform a multiplication operation with the received signal, thereby achieving signal demodulation; The non-coherent method detects the signal according to the energy of the received signal.
5. The power line communication method based on time shift keying according to claim 4, characterized in that: The communication signal includes a time code; The time code includes a time type bit, a clock type bit, and a time information bit.
6. The power line communication method based on time shift keying according to claim 5, characterized in that: The communication signal also includes an address code; The address code includes the MAC bit of the sending module, the type bit of the communication device where the sending module is located, and the sub-address bit of the communication device corresponding to the sending module.
7. The power line communication method based on time shift keying according to claim 6, characterized in that: The step of sending the communication signal is: Detecting the sending module according to the MAC bit in the first address code; Differentiate the different communication devices corresponding to each sending module according to the communication device type bit where the sending module is located in the first address code, and divide the communication devices into multiple communication groups; Sort the communication devices of the communication group according to the sub-address bits of the communication devices corresponding to the sending modules in the first address code; Distinguishing, according to the time type bit of the second address code, that the time code includes a sending time bit of the sending module or a receiving time bit of the sending module; The time code includes the time stamp bit of the sending module relative to the initial time or the time difference bit of the sending module relative to the relay module according to the clock type bit of the second address code, and the time information of the communication device is obtained according to the time information bit of the second address code.
8. A power line communication system based on time shift keying, based on the power line communication method based on time shift keying according to any one of claims 1 to 7, characterized in that: It includes a sending module and a receiving module; The sending module includes a modulation unit and a signal sending unit; The receiving module includes a detection unit and a signal receiving unit; Wherein, the signal sending unit and the signal receiving unit are connected via a power line.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the power line communication method based on time shift keying according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the power line communication method based on time shift keying according to any one of claims 1 to 7 are implemented.