A method and system for real-time power testing of a load on a single live wire
By utilizing power line data transmission and carrier module technology on a single live line, the current and phase difference are measured, and the real-time power of the load is calculated. This solves the problem of real-time power measurement on a single live line and enables accurate power consumption monitoring of traditional home equipment.
Patent Information
- Application Number
- CN202110844284.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-04-07
- Filing Date
- 2021-07-26
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-07-26
AI Technical Summary
Real-time measurement of the power of traditional household devices such as lamps on a single live wire, especially when there is a disconnect in the wire, is difficult to achieve with existing technology.
By transmitting power line data on the live line between the computing device and the measuring device, using the power line carrier module to send and receive signals, measuring the current value and phase difference, and calculating the real-time power of the load, the formula P=U·I·cos(2Πf ·ΔT), where U is the mains 220V, I is the current value, f is 50Hz, and ΔT is the difference at the zero-crossing moment of the signal.
It realizes real-time power measurement of the load on a single live line, can accurately calculate power consumption, and is suitable for real-time power monitoring of smart homes.
Smart Images

Figure CN113589032B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic technology, and in particular to a method and system for performing real-time power testing on a load on a single live wire. Background Art
[0002] With the popularity of smart homes, more and more users use smart home apps to check the power consumption of smart homes. However, the price of smart homes is too high. If you want to measure the real-time power of traditional homes, especially when the switch of electrical appliances such as lights only disconnects the live wire in the wire, how to measure the real-time power of electrical appliances on a single live wire has become an urgent problem to be solved. Summary of the invention
[0003] The present invention aims to solve the above-mentioned problems.
[0004] The main purpose of the present invention is to provide a method for performing real-time power testing on a load on a single live wire;
[0005] Another object of the present invention is to provide a system for performing real-time power testing on a load on a single live wire.
[0006] To achieve the above object, the technical solution of the present invention is specifically implemented as follows:
[0007] On one hand, the present invention provides a system for performing real-time power testing on a load on a single live wire, comprising: a calculation device and a measuring device; wherein: the calculation device is arranged at the live wire input end, and the measuring device is arranged at the live wire at the end of the load to be tested; the calculation device comprises: a calculation module and a first power line carrier module; the measuring device comprises: a second power line carrier module and a measuring module; after the load to be tested is connected to the circuit, the first power line carrier module sends a signal to be tested to the measuring device through the live wire; after the second power line carrier module receives the signal to be tested, it sends a response signal to the first power line carrier module through the live wire, and the response signal includes zero-crossing point information of the signal to be tested; the measuring module calculates the measurement parameters flowing through the load to be tested, and transmits the measurement parameters through The second power line carrier module is sent to the first power line carrier module; the first power line carrier module sends the response signal and the measurement parameters to the calculation module; the calculation module obtains the zero-crossing point information of sending the signal to be tested, and calculates the real-time power of the load to be tested according to the zero-crossing point information of sending the signal to be tested, the zero-crossing point information of receiving the signal to be tested and the measurement parameters, wherein the calculation module calculates the real-time power of the load to be tested according to the following formula: P=U·I·cos(2Πf·ΔT); wherein U is the mains 220V, I is the current value flowing through the load to be tested obtained by the measurement module, f is the mains frequency of 50Hz, and ΔT is the difference between the zero-crossing point moment of sending the signal to be tested and the zero-crossing point moment of receiving the signal to be tested.
[0008] Wherein, the measuring module includes: a resistor and a voltmeter, the current value I=U / R, U is the voltmeter measurement value, and R is the resistor value.
[0009] On the other hand, the present invention provides a system for performing real-time power testing on a load on a single live wire, comprising: a calculation device and a measurement device; wherein: the calculation device is arranged at the live wire input end, and the measurement device is arranged at the live wire at the end of the load to be tested; the calculation device comprises: a first MCU and a first power line carrier module; the measurement device comprises: a second power line carrier module, a second MCU and a measurement module; after the load to be tested is connected to the circuit, information is transmitted between the calculation device and the measurement device through the live wire; wherein: the first MCU sends a signal to be tested to the measurement device through the first power line carrier module; after the second MCU receives the signal to be tested through the second power line carrier module, it generates a response signal, and sends the response signal to the first power line carrier module through the second power line carrier module, and the response signal contains the zero-crossing information of the received signal to be tested; the measurement module calculates the current through The measured parameters of the load to be tested are obtained, and the measured parameters are sent to the second MCU; the second MCU sends the measured parameters to the first power line carrier module through the second power line carrier module; the first MCU receives the response signal and the measured parameters through the first power line carrier module, obtains the zero-crossing point information of sending the signal to be tested, and calculates the real-time power of the load to be tested according to the zero-crossing point information of sending the signal to be tested, the zero-crossing point information of receiving the signal to be tested and the measured parameters, wherein the first MCU calculates the real-time power of the load to be tested according to the following formula: P=U·I·cos(2Πf·ΔT); wherein U is the mains 220V, I is the current value flowing through the load to be tested obtained by the measurement module, f is the mains frequency of 50Hz, and ΔT is the difference between the zero-crossing point moment of sending the signal to be tested and the zero-crossing point moment of receiving the signal to be tested.
[0010] Wherein, the measuring module includes: a resistor and a voltmeter, the current value I=U / R, U is the voltmeter measurement value, and R is the resistor value.
[0011] Another aspect of the present invention provides a method for performing real-time power testing on a load on a single live wire, comprising: setting a calculation device and a measuring device, wherein the calculation device is set at the live wire input end, and the measuring device is set at the live wire at the end of the load to be tested; after the load to be tested is connected to the circuit, the calculation device sends a signal to be tested to the measuring device through the live wire, wherein the signal to be tested is a power line transmission signal; after receiving the signal to be tested, the measuring device sends a response signal to the calculation device through the live wire, and sends a measurement parameter flowing through the load to be tested to the calculation device through the live wire, wherein the response signal and the measurement parameter are power line transmission signals, and the response signal and the measurement parameter are power line transmission signals. The signal includes zero-crossing point information of receiving the signal to be tested; the computing device obtains the zero-crossing point information of sending the signal to be tested, and calculates the real-time power of the load to be tested according to the zero-crossing point information of sending the signal to be tested, the zero-crossing point information of receiving the signal to be tested and the measurement parameters, wherein the computing module calculates the real-time power of the load to be tested according to the following formula: P=U·I·cos(2Πf·ΔT); wherein U is the mains 220V, I is the current value flowing through the load to be tested obtained by the measuring device, f is the mains frequency of 50Hz, and ΔT is the difference between the zero-crossing point moment of sending the signal to be tested and the zero-crossing point moment of receiving the signal to be tested.
[0012] It can be seen from the technical solution provided by the present invention that the present invention provides a method and system for performing real-time power testing on a load on a single live wire, which can determine the phase difference generated by power line data transmission on the single live wire, and measure the current value of the load, so that the real-time power of the load to be tested can be calculated using the calculated phase difference and the measured current value. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0014] Figure 1 A schematic diagram of the structure of a system for performing real-time power testing on a load on a single live wire provided in Embodiment 1 of the present invention;
[0015] Figure 2 A schematic diagram of the structure of a system for performing real-time power testing on a load on a single live wire provided in Embodiment 2 of the present invention. DETAILED DESCRIPTION
[0016] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of the present invention.
[0017] The present invention provides a method for performing real-time power testing on a load on a single live wire, the method comprising:
[0018] S1, setting a calculation device and a measurement device, wherein the calculation device is set at a live wire input end, and the measurement device is set at a live wire at a load end to be tested.
[0019] Specifically, the real-time power test device of the present invention is arranged on a single live wire, and the computing device is arranged on the live wire input end, such as the live wire input end of a house, or the live wire input end of a load to be tested, which is not specifically limited in the present invention. The measuring device is arranged on the live wire at the end of the load to be tested, and the measurement of relevant data of the load to be tested can be realized.
[0020] S2, after the load to be tested is connected to the circuit, the computing device sends a signal to be tested to the measuring device through the live wire, wherein the signal to be tested is a power line transmission signal;
[0021] S3, after receiving the signal to be tested, the measuring device sends a response signal to the computing device through the live wire, and sends the measurement parameters flowing through the load to be tested to the computing device through the live wire, wherein the response signal and the measurement parameters are power line transmission signals, and the response signal includes the zero-crossing point information of the received signal to be tested.
[0022] Specifically, after the load to be tested is connected to the circuit, for example, when the load to be tested is a lamp, when the light switch is in a closed state, the load to be tested is connected to the circuit. At this time, the computing device sends a test signal to the measuring device through the live wire, and sends the test signal to the measuring device through power line data transmission. Thereafter, after receiving the test signal, the measuring device can generate a response signal in response to the test signal, and the response signal includes zero-crossing point information when the measuring device receives the test signal, and returns the response signal and the measurement parameters obtained by the measuring device measuring the load to be tested to the computing device through power line data transmission.
[0023] S4, the calculation device obtains the zero-crossing point information of the signal to be tested, and calculates the real-time power of the load to be tested according to the zero-crossing point information of the signal to be tested, the zero-crossing point information of the signal to be tested, and the measurement parameters, wherein the calculation module calculates the real-time power of the load to be tested according to the following formula:
[0024] P = U·I·cos(2Πf·ΔT);
[0025] Among them, U is the mains 220V, I is the current value flowing through the load to be tested obtained by the measuring device, f is the mains frequency 50Hz, and ΔT is the difference between the zero-crossing time of sending the signal to be tested and the zero-crossing time of receiving the signal to be tested.
[0026] Specifically, the calculation device and the measuring device synchronize time, so that after the calculation device sends the signal to be tested through the power line data transmission mode, the zero-crossing time T1 of sending the signal to be tested can be determined by zero-crossing detection. In the case of changes in the load to be tested, the measuring device will determine that the time of receiving the zero-crossing point of the signal to be tested is T2, and the measuring device will send the zero-crossing time of the received signal to the calculation device through a response signal. The calculation device can determine ΔT=T2-T1, that is, in the case of changes in the load to be tested, such as adjusting the brightness of the lamp, a phase difference ψ=2Πf·ΔT will be generated in the power line data transmission. At the same time, since the measuring device also measures the current value of the load to be tested, the real-time power P=U·I·cosψ of the load to be tested can be calculated based on the phase difference ψ and the current value generated in the power line data transmission.
[0027] It can be seen that the method for performing real-time power testing on a single live wire provided by an embodiment of the present invention can determine the phase difference generated by power line data transmission on the single live wire, and measure the current value of the load, so that the real-time power of the load to be tested can be calculated using the calculated phase difference and the measured current value.
[0028] Based on the above method for performing real-time power testing on a load on a single live wire, two systems for performing real-time power testing on a load on a single live wire are provided below. Since the system for performing real-time power testing on a load on a single live wire is applied to the above method, it will not be described in detail. For specific related solutions, please refer to the related description of the method for performing real-time power testing on a load on a single live wire:
[0029] Example 1
[0030] See also Figure 1 , Embodiment 1 of the present invention provides a system for performing real-time power testing on a load on a single live wire, comprising: a computing device and a measuring device; wherein:
[0031] The calculation device is arranged at the live wire input end, and the measuring device is arranged at the live wire at the load end to be tested;
[0032] The computing device comprises: a computing module and a first power line carrier module;
[0033] The measuring device comprises: a second power line carrier module and a measuring module;
[0034] After the load to be tested is connected to the circuit,
[0035] The first power line carrier module sends a signal to be tested to the measuring device through a live line;
[0036] After receiving the signal to be tested, the second power line carrier module sends a response signal to the first power line carrier module through the live line, wherein the response signal includes zero-crossing point information of the received signal to be tested;
[0037] The measuring module calculates the measuring parameters flowing through the load to be tested, and sends the measuring parameters to the first power line carrier module through the second power line carrier module;
[0038] The first power line carrier module sends the response signal and the measurement parameter to the calculation module;
[0039] The calculation module obtains the zero-crossing point information of the signal to be tested, and calculates the real-time power of the load to be tested according to the zero-crossing point information of the signal to be tested, the zero-crossing point information of the signal to be tested, and the measurement parameters. The calculation module calculates the real-time power of the load to be tested according to the following formula:
[0040] P = U·I·cos(2Πf·ΔT);
[0041] Wherein, U is the mains 220V, I is the current value flowing through the load to be tested obtained by the measurement module, f is the mains frequency 50Hz, and ΔT is the difference between the zero-crossing time of sending the signal to be tested and the zero-crossing time of receiving the signal to be tested.
[0042] In the present invention, the calculation module and the first power line carrier module can be set as one chip or multiple chips, which is not specifically limited in the present invention. The second power line carrier module and the measurement module can be set as one chip or multiple chips, which is not specifically limited in the present invention.
[0043] The first power line carrier module and the second power line carrier module are synchronized in time and include the function of zero-crossing detection. The first power line carrier module can determine the zero-crossing moment of sending the signal to be tested, and the second power line carrier module can determine the zero-crossing moment of receiving the signal to be tested. The zero-crossing moment of the received signal to be tested is sent to the first power line carrier module through response information, so that the calculation device can calculate the phase difference generated in the power line transmission according to the zero-crossing moment of sending the signal to be tested and the zero-crossing moment of receiving the signal to be tested, and then calculate the real-time power of the load to be tested.
[0044] As an optional implementation of an embodiment of the present invention, the measuring module includes: a resistor and a voltmeter, the current value I=U / R, U is the voltmeter measurement value, and R is the resistance value. Specifically, a measuring resistor and a voltmeter can be set to directly measure the voltage flowing through the measuring resistor, thereby calculating the current flowing through the resistor, that is, the current flowing through the load to be tested.
[0045] It can be seen that the system for performing real-time power testing on a single live wire provided by an embodiment of the present invention can determine the phase difference generated by power line data transmission on the single live wire, and measure the current value of the load, so that the real-time power of the load to be tested can be calculated using the calculated phase difference and the measured current value.
[0046] Example 2
[0047] See also Figure 2 Embodiment 2 of the present invention provides a system for performing real-time power testing on a load on a single live wire, comprising: a computing device and a measuring device; wherein:
[0048] The calculation device is arranged at the live wire input end, and the measuring device is arranged at the live wire at the load end to be tested;
[0049] The computing device includes: a first MCU and a first power line carrier module;
[0050] The measuring device comprises: a second power line carrier module, a second MCU and a measuring module;
[0051] After the load to be tested is connected to the circuit, information is transmitted between the computing device and the measuring device via a live wire; wherein:
[0052] The first MCU sends a signal to be tested to the measuring device through the first power line carrier module;
[0053] After receiving the signal to be tested through the second power line carrier module, the second MCU generates a response signal, and sends the response signal to the first power line carrier module through the second power line carrier module, wherein the response signal includes zero-crossing point information of the received signal to be tested;
[0054] The measuring module calculates the measuring parameters flowing through the load to be tested, and sends the measuring parameters to the second MCU;
[0055] The second MCU sends the measurement parameters to the first power line carrier module through the second power line carrier module;
[0056] The first MCU receives the response signal and the measurement parameters through the first power line carrier module, obtains the zero-crossing point information of the signal to be tested, and calculates the real-time power of the load to be tested according to the zero-crossing point information of the signal to be tested, the zero-crossing point information of the signal to be tested, and the measurement parameters, wherein the first MCU calculates the real-time power of the load to be tested according to the following formula:
[0057] P = U·I·cos(2Πf·ΔT);
[0058] Wherein, U is the mains 220V, I is the current value flowing through the load to be tested obtained by the measurement module, f is the mains frequency 50Hz, and ΔT is the difference between the zero-crossing time of sending the signal to be tested and the zero-crossing time of receiving the signal to be tested.
[0059] In the present invention, the first MCU and the first power line carrier module can be set as one chip or multiple chips, which is not specifically limited in the present invention. The second MCU, the second power line carrier module and the measurement module can be set as one chip or multiple chips, which is not specifically limited in the present invention.
[0060] The first MCU sends the signal to be tested through the power line carrier module, and the second MCU receives the signal to be tested through the second power line carrier module. The first MCU and the second MCU are time synchronized and include a zero-crossing detection function. The first MCU can determine the zero-crossing moment of sending the signal to be tested, and the second MCU can determine the zero-crossing moment of receiving the signal to be tested. The second MCU sends the zero-crossing information of the received signal to be tested to the first power line carrier module through the second power line carrier module, so that the first MCU can calculate the phase difference generated in the power line transmission according to the zero-crossing moment of sending the signal to be tested and the zero-crossing moment of receiving the signal to be tested, and then calculate the real-time power of the load to be tested.
[0061] As an optional implementation of an embodiment of the present invention, the measuring module includes: a resistor and a voltmeter, the current value I=U / R, U is the voltmeter measurement value, and R is the resistance value. Specifically, a measuring resistor and a voltmeter can be set to directly measure the voltage flowing through the measuring resistor, thereby calculating the current flowing through the resistor, that is, the current flowing through the load to be tested.
[0062] It can be seen that the system for performing real-time power testing on a single live wire provided by an embodiment of the present invention can determine the phase difference generated by power line data transmission on the single live wire, and measure the current value of the load, so that the real-time power of the load to be tested can be calculated using the calculated phase difference and the measured current value.
[0063] Although the embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. Those skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention without departing from the principles and purpose of the present invention. The scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A system for performing real-time power testing on a load on a single live wire, characterized in that: include: Computing means and measuring means; wherein: The calculation device is arranged at the live wire input end, and the measurement device is arranged at the live wire of the load end to be tested; The computing device comprises: a computing module and a first power line carrier module; The measuring device comprises: a second power line carrier module and a measuring module; After the load to be tested is connected to the circuit, The first power line carrier module sends a signal to be tested to the measuring device through the live line; After receiving the signal to be tested, the second power line carrier module sends a response signal to the first power line carrier module through the live line, wherein the response signal includes zero-crossing point information of receiving the signal to be tested; The measuring module calculates the measurement parameters flowing through the load to be tested, and sends the measurement parameters to the first power line carrier module through the second power line carrier module; The first power line carrier module sends the response signal and the measurement parameter to the calculation module; The calculation module obtains the zero-crossing point information of sending the signal to be tested, and calculates the real-time power of the load to be tested according to the zero-crossing point information of sending the signal to be tested, the zero-crossing point information of receiving the signal to be tested, and the measurement parameters, wherein the calculation module calculates the real-time power of the load to be tested according to the following formula: P = U·I·cos(2Πf·ΔT); Among them, U is the mains 220V, I is the current value flowing through the load to be tested obtained by the measurement module, f is the mains frequency 50Hz, and ΔT is the difference between the zero-crossing time of sending the signal to be tested and the zero-crossing time of receiving the signal to be tested.
2. The system according to claim 1, characterized in that The measuring module includes: a resistor and a voltmeter, the current value I=U / R, U is the voltmeter measurement value, and R is the resistor value.
3. A system for performing real-time power testing on a load on a single live wire, characterized in that: include: Computing means and measuring means; wherein: The calculation device is arranged at the live wire input end, and the measurement device is arranged at the live wire of the load end to be tested; The computing device comprises: a first MCU and a first power line carrier module; The measuring device comprises: a second power line carrier module, a second MCU and a measuring module; After the load to be tested is connected to the circuit, information is transmitted between the computing device and the measuring device via the live wire; wherein: The first MCU sends a signal to be tested to the measuring device through the first power line carrier module; After receiving the signal to be tested through the second power line carrier module, the second MCU generates a response signal, and sends the response signal to the first power line carrier module through the second power line carrier module, wherein the response signal includes zero-crossing point information of receiving the signal to be tested; The measuring module calculates the measurement parameters flowing through the load to be tested, and sends the measurement parameters to the second MCU; The second MCU sends the measurement parameter to the first power line carrier module through the second power line carrier module; The first MCU receives the response signal and the measurement parameter through the first power line carrier module, obtains the zero-crossing point information of sending the signal to be tested, and calculates the real-time power of the load to be tested according to the zero-crossing point information of sending the signal to be tested, the zero-crossing point information of receiving the signal to be tested, and the measurement parameters, wherein the first MCU calculates the real-time power of the load to be tested according to the following formula: P = U·I·cos(2Πf·ΔT); Among them, U is the mains 220V, I is the current value flowing through the load to be tested obtained by the measurement module, f is the mains frequency 50Hz, and ΔT is the difference between the zero-crossing time of sending the signal to be tested and the zero-crossing time of receiving the signal to be tested.
4. The system according to claim 3, characterized in that The measuring module includes: a resistor and a voltmeter, the current value I=U / R, U is the voltmeter measurement value, and R is the resistor value.
5. A method for performing real-time power testing on a load on a single live wire, characterized in that: include: Providing a calculation device and a measuring device, wherein the calculation device is arranged at the live wire input end, and the measuring device is arranged at the live wire of the load end to be tested; After the load to be tested is connected to the circuit, The computing device sends a signal to be tested to the measuring device through the live wire, wherein the signal to be tested is a power line transmission signal; After receiving the signal to be tested, the measuring device sends a response signal to the computing device through the live wire, and sends a measurement parameter flowing through the load to be tested to the computing device through the live wire, wherein the response signal and the measurement parameter are power line transmission signals, and the response signal includes zero-crossing point information of receiving the signal to be tested; The calculation device obtains the zero-crossing point information of sending the signal to be tested, and calculates the real-time power of the load to be tested according to the zero-crossing point information of sending the signal to be tested, the zero-crossing point information of receiving the signal to be tested, and the measurement parameters, wherein the calculation device calculates the real-time power of the load to be tested according to the following formula: P = U·I·cos(2Πf·ΔT); Among them, U is the mains power 220V, I is the current value flowing through the load to be tested obtained by the measuring device, f is the mains frequency 50Hz, and ΔT is the difference between the zero-crossing time of sending the signal to be tested and the zero-crossing time of receiving the signal to be tested.
