A low power consumption operation method, system and device based on power line technology
By dynamically adjusting the power consumption of slave equipment, the problems of low voltage of slave equipment and large system power consumption in power line technology are solved, the reliability and anti-interference ability of power line are improved, and the communication distance and more Access to multiple slave devices.
Patent Information
- Application Number
- CN202211683094.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-27
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2042-12-27
AI Technical Summary
In the process of intelligent, networked and multifunctional development, the existing power cord technology has a large number of slaves, long communication distances and parasitic cables, resulting in a low voltage of the farthest slave, which affects the system's ability to access slaves. Quantity, signal transmission reliability and electromagnetic radiation, and the system power consumption is large, which cannot be effectively reduced.
By judging the pulse data sent by the host controller, dynamically adjusting the power consumption of the slave device. If data is not received, it will maintain a low power consumption state. When data is received, it will adjust the power consumption to process instructions, and use energy storage components and power consumption. The management module controls the voltage regulator power supply to realize dynamic power consumption adjustment of slave equipment.
It reduces the overall power consumption of the power line system, improves the number of mounted slave devices, communication distance and system reliability, reduces voltage fluctuations in the power circuit, and improves anti-interference ability.
Smart Images

Figure CN115967586B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of power line technology, and in particular to a low-power operation method, system and device based on power line technology. Background Art
[0002] Power line technology is a technology that combines two power lines and two signal lines into two lines, realizing signal and power sharing, saving construction and cable costs, bringing great convenience to on-site construction and later maintenance, and has been widely used in fire protection, instrumentation, sensors, industrial control and other fields. Power line technology generally uses voltage pulse width modulation technology for downstream and current loop modulation technology for upstream. As power line technology develops towards intelligence, networking, and multi-functionality, it is required that the number of slave controllers or components that can be hung on a power line loop should be as large as possible (up to 256), and the communication distance should be as far as possible (up to 3 kilometers). Because of the large number of slaves, the high energy consumption of the slaves, the long distance, and the parasitics of the cable itself, the voltage of the farthest slave will become lower and lower, and even the slave at the end will not work properly.
[0003] like Figure 1 As shown in the figure, it is a traditional system and slave architecture diagram based on power line technology. The physical layer PHY module in the slave chip is responsible for charging the energy storage element and powering other modules of the slave through LDO in addition to modulating and demodulating the high-voltage signal and current signal on the power line; the energy storage element is used by the slave to provide sufficient current to the slave chip during the period when the slave needs a large current; the link layer MAC layer is responsible for the low-voltage pulse width detection and current pulse width control from the physical layer PHY to the physical layer PHY; other IO peripherals, PMU, MCU core, memory, etc., together analyze the signal protocol and application when the pulse width wakes up, and do corresponding processing and feedback. However, based on the current system and slave solution, the master controller will wake up all slaves every time it sends a voltage pulse width modulation signal to analyze and identify whether it needs to be processed by itself, so that all slaves are in operation, and the power consumption of the entire system increases as a whole; when dormant, all slaves are dormant. In this way, all slaves are either all awakened and in operation, or all dormant and in low power consumption, which will cause a large fluctuation in the power supply of the entire power line loop. Therefore, these two problems not only affect the upper limit of the number of slaves that can be connected to the entire system, but also affect the reliability of power line signal transmission and electromagnetic radiation. Summary of the invention
[0004] The present invention provides a low-power operation method, system and device based on power line technology, which can dynamically adjust the power consumption of multiple slave devices mounted on a power line according to actual conditions to reduce the power consumption of the power line system.
[0005] In order to solve the above technical problems, an embodiment of the present invention provides a low-power operation method based on power line technology, which is applied to a slave device mounted on a power line. The method includes:
[0006] Determine whether the pulse data sent by the host controller based on the power line is received;
[0007] If not received, continuously controlling the first module set of the slave device to be in a low power consumption operation state, and the second module set to be in a normal operation state;
[0008] If received, the pulse data is processed based on the second module set to determine whether the instructions in the pulse data need to be processed by the own device, and based on the determination result, at least the power consumption adjustment strategy of the first module set is determined.
[0009] As an optional embodiment, the first module set includes an energy storage element for replenishing power to the chip of the slave device and a functional module for cooperating in executing instructions in the pulse data, and the second module set includes a physical layer, a link layer and a power consumption management module.
[0010] As an optional embodiment, if the signal is not received, then continuously controlling the first module set of the slave device to be in a low power consumption operation state includes:
[0011] If the pulse data is not received, the power consumption management module controls the voltage regulator in the physical layer to continuously supply energy to the first module set at a minimum current.
[0012] As an optional embodiment, the pulse data at least includes the instruction and target slave device information for executing the instruction;
[0013] The processing of the pulse data based on the second module set and determining whether instructions in the pulse data need to be processed by the own device include:
[0014] Parsing the pulse data based on the link layer in the second module set;
[0015] At least based on the parsed target slave device information, it is determined whether it matches the own device information, and then it is determined whether the instruction in the pulse data needs to be processed by the own device.
[0016] As an optional embodiment, the link layer includes a hardware protocol decoding and sequence matching module;
[0017] The step of parsing the pulse data based on the link layer in the second module set and determining whether the target slave device information obtained by parsing matches the own device information at least based on the parsed target slave device information includes:
[0018] The pulse data is parsed based on the hardware protocol decoding and sequence matching module in the link layer, and it is determined whether the target slave device information obtained by parsing matches the own device information at least based on the parsed target slave device information.
[0019] As an optional embodiment, the determining at least the power consumption adjustment strategy of the first module set based on the judgment result includes:
[0020] When the judgment result indicates that the instructions in the pulse data need to be processed by the device itself, the power consumption management module controls the voltage regulator in the physical layer to deliver a medium current to the energy storage element, and maintains the overall operation of the slave device based on the medium current, thereby achieving power consumption adjustment of the first module set in the slave device.
[0021] As an optional embodiment, the first module set includes an MCU core;
[0022] The method further comprises:
[0023] When the slave device executes the instruction in the pulse data, determining the current required to be consumed by the chip of the slave device at the next moment based on the MCU core;
[0024] If the required current meets the target threshold, the power consumption management module is notified to control the voltage regulator to increase the current to the energy storage element, so that the energy storage element provides the required power for the chip of the slave device.
[0025] As an optional embodiment, the method further includes:
[0026] When the slave device completes the instruction, the MCU core notifies the power consumption management module to control the voltage regulator to deliver minimum current to the first module set so that the first module set is in a low power consumption operation state, and at the same time delivers normal current to the second module set so that the second module set is in a normal operation state.
[0027] Another embodiment of the present invention also provides a low-power operation system based on power line technology, which is applied to a slave device mounted on a power line. The system includes:
[0028] A first judgment module is used to judge whether the pulse data sent by the host controller based on the power line is received;
[0029] A first control module, used for continuously controlling the first module set of the slave device to be in a low power consumption operation state and the second module set to be in a normal operation state when the pulse data is not received;
[0030] The second judgment module is used to process the pulse data based on the second module set when receiving the pulse data, judge whether the instructions in the pulse data need to be processed by its own device, and determine at least the power consumption adjustment strategy of the first module set based on the judgment result.
[0031] Another embodiment of the present invention further provides a low power consumption operation device based on power line technology, comprising:
[0032] one or more processors;
[0033] a memory configured to store one or more programs;
[0034] When the one or more programs are executed by the one or more processors, the one or more processors implement the low-power operation method based on the power line technology as described in any one of the embodiments above.
[0035] Based on the disclosure of the above embodiments, it can be known that the beneficial effects of the embodiments of the present invention include judging whether the pulse data sent by the host controller based on the power line is received. If not, the first module set of the slave device is continuously controlled to be in a low-power operation state and the second module set is in a normal operation state. If received, the pulse data is processed based on the second module set to judge whether the instructions in the pulse data need to be processed by the device itself, and at least the power consumption adjustment strategy of the first module set is determined based on the judgment result. Based on the above method, the overall power consumption of the system formed by the power line and the slave device can be greatly reduced, the upper limit of the number of slave devices that can be mounted on the power line is increased, the communication and wiring distance of the power line is increased, the voltage fluctuation of the power circuit is reduced, and the overall reliability and anti-interference ability of the system are improved.
[0036] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0037] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0039] Figure 1 This is a diagram of the power line technology system and slave architecture in the prior art.
[0040] Figure 2The figure is a flow chart of a low power consumption operation method based on power line technology in an embodiment of the present invention.
[0041] Figure 3 2 is a diagram of the architecture of a power line and its slave device in an embodiment of the present invention.
[0042] Figure 4 The figure is a flow chart of a low power consumption operation method based on power line technology in another embodiment of the present invention.
[0043] Figure 5 The figure is a flow chart of a low power consumption operation method based on power line technology in another embodiment of the present invention.
[0044] Figure 6 It is a structural block diagram of a low-power operation system based on power line technology in an embodiment of the present invention. DETAILED DESCRIPTION
[0045] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings, but are not intended to limit the present invention.
[0046] It should be understood that various modifications may be made to the embodiments disclosed herein. Therefore, the following description should not be considered as limiting, but merely as an example of an embodiment. Other modifications within the scope and spirit of the invention will occur to those skilled in the art.
[0047] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the general description of the invention given above and the detailed description of the embodiments given below, serve to explain the principles of the invention.
[0048] These and other characteristics of the invention will become apparent from the following description of a preferred form of embodiment given as a non-limiting example, with reference to the accompanying drawings.
[0049] It should also be understood that, although the invention has been described with reference to some specific examples, those skilled in the art will be able to realize many other equivalent forms of the invention that have the characteristics recited in the claims and are therefore within the scope of protection defined thereby.
[0050] The above and other aspects, features and advantages of the present invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.
[0051] Specific embodiments of the present invention are described hereinafter with reference to the accompanying drawings; however, it should be understood that the disclosed embodiments are merely examples of the present invention, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present invention. Therefore, the specific structural and functional details disclosed herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present invention in a variety of ways with substantially any suitable detailed structure.
[0052] This specification may use the phrases "in one embodiment," "in another embodiment," "in a further embodiment," or "in other embodiments," which may all refer to one or more of the same or different embodiments according to the present invention.
[0053] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0054] like Figure 2 As shown, an embodiment of the present invention provides a low-power operation method based on power line technology, which is applied to a slave device mounted on a power line. The method includes:
[0055] S101: Determine whether pulse data sent by the host controller based on the power line is received;
[0056] S102: If not received, continuously controlling the first module set of the slave device to be in a low power consumption operation state, and the second module set to be in a normal operation state;
[0057] S103: If received, the pulse data is processed based on the second module set to determine whether the instruction in the pulse data needs to be processed by the own device, and based on the determination result, at least determine the power consumption adjustment strategy of the first module set.
[0058] For example, a plurality of slave devices are mounted on the power line, and each slave device can determine in real time or at intervals of a target time period whether the pulse data sent by the host controller based on the power line is received. If it is determined that it is not received, the first module set in the slave device can continue to be controlled to be in a low-power operation state, such as a sleep state, while the second module set is in a normal operation state. That is, in this embodiment, as long as each slave device determines that it has not received the pulse data, it will always control the first module set to be in a low-power operation state, and the second module set to be in a normal operation state. When determining whether the pulse data is received, it can be implemented based on the second module set. Further, if it is determined that the pulse data is received, each slave device can process the pulse data based on the second module set to determine whether the instruction in the pulse data needs to be processed by its own device, and at least determine the power consumption adjustment strategy of the first module set based on the judgment result, for example, determine whether to increase the power consumption of the first module set based on the judgment result, such as waking up the first module set to cooperate in executing the instruction, or continue to control the first module set to be in a low-power operation state, such as continuing to sleep.
[0059] Therefore, based on the disclosure of the above method in this embodiment, it can be known that the method in this embodiment can greatly reduce the overall power consumption of the system formed by the power line and the slave devices, increase the upper limit of the number of slave devices that can be mounted on the power line, increase the communication and wiring distance of the power line, reduce the voltage fluctuation of the power circuit, and improve the overall reliability and anti-interference ability of the system.
[0060] Furthermore, if Figure 3 As shown, the first module set in this embodiment includes an energy storage element for replenishing electric energy to the chip of the slave device and a functional module for cooperating with the execution of instructions in the pulse data, wherein the energy storage element can supply energy to the chip of the slave device, especially when the slave device performs a large current operation, so that it can cooperate with the slave device to complete the large current operation. As for the functional modules, they may include but are not limited to IO modules, peripheral devices, memory, MCU core (to be introduced below), power management module (PMU), etc. The second module set includes a physical layer (PHY), a link layer (MAC) and a power management module (PMU). Among them, the physical layer has a voltage regulator (SLDO). The voltage regulator in this embodiment can realize dynamic current load balancing according to the different operating states of the chip in the slave device. It can cooperate with the power management module to adjust and limit the power output of the voltage regulator according to the different operating states of the slave device or the different operating states required by the slave device, such as the power output of the energy storage element, the power output of the functional module in the first module concentration, etc.
[0061] Specifically, in this embodiment, when it is determined that the pulse data is not received, the first module set of the slave device is continuously controlled to be in a low power consumption operation state, including:
[0062] S104: If the pulse data is not received, control the voltage regulator in the physical layer based on the power consumption management module to continuously supply energy to the first module set with a minimum current.
[0063] For example, in this embodiment, when the host controller does not send the pulse width, all slave devices are in a dormant state, and only the physical layer PHY, link layer MAC and power management module PMU are in an operating state. At this time, the power consumption of all slave devices is relatively low, and at the same time, the corresponding power management module PMU in all slave devices controls the voltage regulator SLDO in the physical layer PHY to output the minimum current to charge the energy storage element and maintain the power consumption required for the dormant operation of other functional modules. At this time, the overall power consumption of the system formed by the power line and multiple slave devices is relatively low.
[0064] Furthermore, the pulse data in this embodiment includes at least instructions and target slave device information for executing the instructions, and may also include information such as frame synchronization, frame type, and special frames.
[0065] like Figure 4 As shown, based on the second module set processing the pulse data, determining whether the instruction in the pulse data needs to be processed by the own device includes:
[0066] S105: parsing pulse data based on the link layer in the second module set;
[0067] S106: At least based on the parsed target slave device information, determine whether it matches the own device information, and then determine whether the instruction in the pulse data needs to be processed by the own device.
[0068] For example, based on the link layer in the second module, the pulse data is parsed to obtain the specific data information contained in the pulse data. Then, it can be determined whether the information matches the device information based on the parsed data information. If it matches, it can be determined that the instructions in the pulse data should be processed by the local device. If it does not match, it can be determined that the instructions in the pulse data are not processed by the local device. The local device does not need to adjust the power consumption and can continue to maintain the current low-power operation state.
[0069] Furthermore, the link layer in this embodiment includes a hardware protocol decoding and sequence matching module;
[0070] When the pulse data is parsed based on the link layer in the second module set, at least based on the parsed target slave device information, it is determined whether it matches the own device information, including:
[0071] S107: Parse the pulse data based on the hardware protocol decoding and sequence matching module in the link layer, and determine whether the target slave device information obtained by parsing matches the own device information at least based on the target slave device information obtained by parsing.
[0072] Furthermore, when at least the power consumption adjustment strategy of the first module set is determined based on the judgment result, it includes:
[0073] S108: When the judgment result indicates that the instruction in the pulse data needs to be processed by the own device, the power consumption management module controls the voltage regulator in the physical layer to deliver a medium current to the energy storage element, and maintains the overall operation of the slave device based on the medium current, thereby realizing the power consumption adjustment of the first module set in the slave device.
[0074] Specifically, for example, in this embodiment, when the host controller sends pulse data, all slave devices are still in a dormant state, but the built-in hardware protocol decoding and sequence matching modules of the link layer MAC of all slave devices are always in a normal operating state, which can generate a corresponding sequence code according to the combined data content of 0 or 1 corresponding to the pulse data sent by the hardware decoding host processing according to the preset pulse width range, and then match the information code of the information to be processed by the slave device based on the sequence code. If the match is successful, the slave device is awakened, that is, the first module set of the awakened slave device executes the instruction. The pulse data in this embodiment includes frame synchronization, frame type, slave device address, data sent to the slave (including instructions) and other information. When the address, sequence code, or special request / special frame issued by the host controller of a certain slave device successfully matches the functional attributes, tasks to be executed, and instruction types to be processed of the slave device, the corresponding slave device is awakened. At this time, its power management module PMU automatically controls the slave device to switch from the sleep state to the normal operation state, and automatically controls the voltage regulator SLDO in the physical layer PHY to modulate to a medium current, and transmits a medium current to charge the energy storage element, and maintains the power consumption required for the normal operation of the first module set and the second module set in the slave device. For other slave devices that have not been successfully matched, they are still in a sleep state. At the same time, the power management modules PMU corresponding to other slave devices that have not been successfully matched control the SLDO in the physical layer to output the minimum current to charge the energy storage element, and maintain the power consumption required for the sleep operation of the device. In this state, the power consumption of the entire system formed by the power line and the slave device is a medium level, in which only one slave device is in a normal operation state, and all other slave devices are in a sleep state.
[0075] Further, the first module set in this embodiment includes an MCU core;
[0076] like Figure 5 As shown, when executing the method of this embodiment, the following steps are also included:
[0077] S109: when the slave device executes the instruction in the pulse data, the current required to be consumed by the chip of the slave device at the next moment is determined based on the MCU core;
[0078] S110: If the required current meets the target threshold, notify the power consumption management module to control the voltage regulator to increase the current to the energy storage element, so that the energy storage element provides the required power for the chip of the slave device.
[0079] For example, when a slave device in normal operation is found to need to perform a high current operation at the next moment after analysis and judgment by its MCU core, the specific operation to be performed next and the current used to perform the operation can be determined by the MCU core when processing the application logic corresponding to the instruction, so as to be able to adjust the charging current of the energy storage element in time, ensure timely replenishment of the consumed current, and maintain normal operation. For example, when performing the photoelectric detection operation in the fire protection system, it is necessary to turn on the high-power light-emitting diode, which will cause a significant increase in power, and the power directly affects the detection signal-to-noise ratio and accuracy. At this time, if it is determined that the slave device is to perform a high-current operation, the MCU core will notify the power management module PMU to control the SLDO in the physical layer PHY to automatically modulate to a large current, and deliver it to the energy storage element for rapid charging to maintain the consumption of the large current. When the high-current operation of the slave device is completed, the MCU core will notify the power management module PMU to control the voltage regulator SLDO in the physical layer PHY to automatically modulate to a medium current, and deliver it to the energy storage element for charging, while maintaining the power consumption required for the normal operation of this slave device.
[0080] Optionally, in actual application, the application logic of the MCU core can pre-set how much current will be required to maintain different operations. For example, a table can be set to record the matching relationship between the operation and the current. The MCU core can analyze and determine the current required by the next slave device based on the matching relationship. Of course, when developing the actual system, the current can also be set in combination with the required detection signal-to-noise ratio and accuracy requirements. When it is a photoelectric detection operation, the actual required current can also be determined based on the power of the light-emitting diode required by the actual measurement, that is, the power consumption current required by the light intensity. When the slave device performs a high-current operation, the power consumption of the entire system formed by the power line and multiple slave devices is the highest, of which only one slave device is in a high-current operating state, that is, a high-power consumption operating state. The corresponding energy storage element needs to provide sufficient high current to support the normal operation of the device, while all other slave devices are in a dormant state.
[0081] Preferably, the method in this embodiment further includes:
[0082] S111: When the slave device completes the instruction, the MCU core notifies the power consumption management module to control the voltage regulator to deliver minimum current to the first module set so that the first module set is in a low power consumption operation state, and at the same time delivers normal current to the second module set so that the second module set is in a normal operation state.
[0083] That is, when a slave device in normal operation completes all operations, including high-current operation, non-high-current operation, etc., the MCU core notifies the power management module PMU of the device to control the device to enter a low-power state such as a sleep state. The power management module PMU responds to the control of the MCU core and shuts down all modules except the physical layer PHY, link layer MAC and itself, such as the first module set, to enter a sleep state, and at the same time controls the voltage regulator SLDO in the physical layer PHY to automatically modulate to the minimum current to charge the energy storage element and maintain the power consumption required for the sleep operation of the slave device. At this time, the power consumption of the entire system formed by the power line and multiple slave devices switches to a smaller state, and all slave devices are in a sleep state again.
[0084] like Figure 6 As shown, another embodiment of the present invention also provides a low-power operation system 200 based on power line technology, which is applied to a slave device mounted on a power line. The system includes:
[0085] The first judgment module 201 is used to judge whether the pulse data sent by the host controller based on the power line is received;
[0086] The first control module 202 is used to continuously control the first module set of the slave device to be in a low power consumption operation state and the second module set to be in a normal operation state when the pulse data is not received;
[0087] The second judgment module 203 is used to process the pulse data based on the second module set when receiving the pulse data, determine whether the instructions in the pulse data need to be processed by the own device, and determine at least the power consumption adjustment strategy of the first module set based on the judgment result.
[0088] As an optional embodiment, the first module set includes an energy storage element for replenishing power to the chip of the slave device and a functional module for cooperating in executing instructions in the pulse data, and the second module set includes a physical layer, a link layer and a power consumption management module.
[0089] As an optional embodiment, if the signal is not received, then continuously controlling the first module set of the slave device to be in a low power consumption operation state includes:
[0090] If the pulse data is not received, the power consumption management module controls the voltage regulator in the physical layer to continuously supply energy to the first module set at a minimum current.
[0091] As an optional embodiment, the pulse data at least includes the instruction and target slave device information for executing the instruction;
[0092] The processing of the pulse data based on the second module set and determining whether instructions in the pulse data need to be processed by the own device include:
[0093] Parsing the pulse data based on the link layer in the second module set;
[0094] At least based on the parsed target slave device information, it is determined whether it matches the own device information, and then it is determined whether the instruction in the pulse data needs to be processed by the own device.
[0095] As an optional embodiment, the link layer includes a hardware protocol decoding and sequence matching module;
[0096] The step of parsing the pulse data based on the link layer in the second module set and determining whether the target slave device information obtained by parsing matches the own device information at least based on the parsed target slave device information includes:
[0097] The pulse data is parsed based on the hardware protocol decoding and sequence matching module in the link layer, and it is determined whether the target slave device information obtained by parsing matches the own device information at least based on the parsed target slave device information.
[0098] As an optional embodiment, the determining at least the power consumption adjustment strategy of the first module set based on the judgment result includes:
[0099] When the judgment result indicates that the instructions in the pulse data need to be processed by the device itself, the power consumption management module controls the voltage regulator in the physical layer to deliver a medium current to the energy storage element, and maintains the overall operation of the slave device based on the medium current, thereby achieving power consumption adjustment of the first module set in the slave device.
[0100] As an optional embodiment, the first module set includes an MCU core;
[0101] The MCU core is used for:
[0102] When the slave device executes the instruction in the pulse data, determining the current required to be consumed by the chip of the slave device at the next moment based on the MCU core;
[0103] If the required current meets the target threshold, the power consumption management module is notified to control the voltage regulator to increase the current to the energy storage element, so that the energy storage element provides the required power for the chip of the slave device.
[0104] As an optional embodiment, the MCU core is further used for:
[0105] When the slave device completes the instruction, the MCU core notifies the power consumption management module to control the voltage regulator to deliver minimum current to the first module set so that the first module set is in a low power consumption operation state, and at the same time delivers normal current to the second module set so that the second module set is in a normal operation state.
[0106] Another embodiment of the present invention further provides a low power consumption operation device based on power line technology, comprising:
[0107] one or more processors;
[0108] a memory configured to store one or more programs;
[0109] When the one or more programs are executed by the one or more processors, the one or more processors implement the low-power operation method based on the power line technology as described in any of the above embodiments.
[0110] Furthermore, an embodiment of the present invention also provides a storage medium on which a computer program is stored, and when the program is executed by a processor, the low-power operation method based on the power line technology as described above is implemented. It should be understood that each solution in this embodiment has the corresponding technical effect in the above method embodiment, which will not be repeated here.
[0111] Furthermore, an embodiment of the present invention also provides a computer program product, which is tangibly stored on a computer-readable medium and includes computer-readable instructions, which, when executed, enable at least one processor to perform a low-power operation method based on power line technology such as in the embodiments described above.
[0112] It should be noted that the computer storage medium of the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, system or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access storage medium (RAM), a read-only storage medium (ROM), an erasable programmable read-only storage medium (EPROM or flash memory), an optical fiber, a portable compact disk read-only storage medium (CD-ROM), an optical storage medium, a magnetic storage medium, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate or transmit a program configured to be used by or in conjunction with an instruction execution system, system or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, antenna, optical cable, RF, etc., or any suitable combination of the above.
[0113] In addition, it will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0114] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1A process or multiple processes and / or boxes Figure 1 A system that specifies the functions of a box or multiple boxes.
[0115] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction system, which is implemented in the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0116] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0117] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
[0118] The above embodiments are only exemplary embodiments of the present invention and are not intended to limit the present invention. The protection scope of the present invention is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present invention within the essence and protection scope of the present invention, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present invention.
Claims
1. A low-power operation method based on power line technology, applied to a slave device mounted on a power line, characterized in that: The method comprises: Determine whether the pulse data sent by the host controller based on the power line is received; If not received, continuously controlling the first module set of the slave device to be in a low power consumption operation state, and the second module set to be in a normal operation state; If received, processing the pulse data based on the second module set, determining whether the instruction in the pulse data needs to be processed by the own device, and determining at least the power consumption adjustment strategy of the first module set based on the determination result; The first module set includes an energy storage element for replenishing power to the chip of the slave device and a functional module for cooperating in executing instructions in the pulse data, and the second module set includes a physical layer, a link layer and a power consumption management module; The pulse data at least includes the instruction and the target slave device information for executing the instruction; the link layer includes a hardware protocol decoding and sequence matching module; The processing of the pulse data based on the second module set and determining whether instructions in the pulse data need to be processed by the own device include: Parsing the pulse data based on the link layer in the second module set; The pulse data is parsed based on the hardware protocol decoding and sequence matching module in the link layer, and whether the parsed target slave device information matches its own device information is determined at least based on the parsed target slave device information. This includes generating a sequence code corresponding to the pulse data sent down based on a preset pulse width range by the hardware decoding host in the link layer, and then matching the information code of the information to be processed by the slave device based on the sequence code, wherein the sequence code is generated by a combination of data of 0 or 1.
2. The low power consumption operation method based on power line technology according to claim 1, characterized in that: If the signal is not received, the first module set of the slave device is continuously controlled to be in a low power consumption operation state, including: If the pulse data is not received, the power consumption management module controls the voltage regulator in the physical layer to continuously supply energy to the first module set with a minimum current.
3. The low power consumption operation method based on power line technology according to claim 2, characterized in that: The step of at least determining the power consumption adjustment strategy of the first module set based on the judgment result includes: When the judgment result indicates that the instructions in the pulse data need to be processed by the device itself, the power consumption management module controls the voltage regulator in the physical layer to deliver a medium current to the energy storage element, and maintains the overall operation of the slave device based on the medium current, thereby achieving power consumption adjustment of the first module set in the slave device.
4. The low power consumption operation method based on power line technology according to claim 2, characterized in that: The first module set includes an MCU core; The method further comprises: When the slave device executes the instruction in the pulse data, determining the current required to be consumed by the chip of the slave device at the next moment based on the MCU core; If the required current meets the target threshold, the power consumption management module is notified to control the voltage regulator to increase the current to the energy storage element, so that the energy storage element provides the required power for the chip of the slave device.
5. The low power consumption operation method based on power line technology according to claim 4, characterized in that: The method further comprises: When the slave device completes the instruction, the MCU core notifies the power consumption management module to control the voltage regulator to deliver minimum current to the first module set so that the first module set is in a low power consumption operation state, and at the same time delivers normal current to the second module set so that the second module set is in a normal operation state.
6. A low-power operation system based on power line technology, applied to a slave device mounted on a power line, characterized in that: The system comprises: A first judgment module is used to judge whether the pulse data sent by the host controller based on the power line is received; A first control module, used for continuously controlling the first module set of the slave device to be in a low power consumption operation state and the second module set to be in a normal operation state when the pulse data is not received; A second judgment module is used to, when receiving the pulse data, process the pulse data based on the second module set, determine whether the instruction in the pulse data needs to be processed by its own device, and determine at least the power consumption adjustment strategy of the first module set based on the judgment result; The first module set includes an energy storage element for replenishing power to the chip of the slave device and a functional module for cooperating in executing instructions in the pulse data, and the second module set includes a physical layer, a link layer and a power consumption management module; The pulse data at least includes the instruction and the target slave device information for executing the instruction; the link layer includes a hardware protocol decoding and sequence matching module; The processing of the pulse data based on the second module set and determining whether instructions in the pulse data need to be processed by the own device include: Parsing the pulse data based on the link layer in the second module set; The pulse data is parsed based on the hardware protocol decoding and sequence matching module in the link layer, and whether the parsed target slave device information matches its own device information is determined at least based on the parsed target slave device information. This includes generating a sequence code corresponding to the pulse data sent down based on a preset pulse width range by the hardware decoding host in the link layer, and then matching the information code of the information to be processed by the slave device based on the sequence code, wherein the sequence code is generated by a combination of data of 0 or 1.
7. A low power consumption operation device based on power line technology, characterized in that: include: one or more processors; a memory configured to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the low power consumption operation method based on the power line technology as described in any one of claims 1 to 5.
