A single live wire intelligent switch and electric energy metering method thereof
By using dual-mode resistors to simulate the on-off state in a single-fire intelligent switch, and using gateway and wireless communication technology to calculate the power factor compensation coefficient, the problem that a single-fire intelligent switch cannot measure power is solved, and the power metering in the absence of a neutral wire is realized, which simplifies the installation process.
Patent Information
- Application Number
- CN202210791171.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-07
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2042-07-07
AI Technical Summary
Existing single-fire-wire intelligent switches cannot directly measure voltage signals in the absence of neutral lines, and thus cannot calculate electrical energy, resulting in the inability to realize electrical energy measurement.
A single-fire intelligent switch is designed, using a dual-mode resistor to simulate the on-off state of the switch, and wirelessly communicates with the single-fire switch through the gateway. The power factor compensation coefficient is calculated using the voltage zero detection module and the waveform comparison method to realize the power measurement.
It realizes voltage sampling and current sampling without additional wiring in a single-fire scenario. The voltage zero detection information is obtained through wireless communication, and the power consumption is calculated, which simplifies the installation process and improves the convenience of power metering.
Smart Images

Figure CN115087174B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electrical equipment, and in particular to a single-live-wire intelligent switch and an electric energy metering method for the single-live-wire intelligent switch. Background Art
[0002] Green energy saving and intelligent control have become the main goals of today's smart construction. In order to achieve energy-saving effects, measuring the power consumption of electrical equipment when it is in use is a necessary prerequisite for taking energy-saving measures. In general, to monitor power data, at least the voltage signal and current signal must be continuously obtained, and then the consumed power is calculated by multiplication, accumulation or integration. The voltage signal must be connected to both the zero and live lines at the same time, but under certain field conditions, there is only a single live wire and no neutral wire, such as most light control switches. The biggest problem caused by the lack of a neutral wire is that the voltage signal cannot be directly obtained, and thus the power cannot be calculated. This is the core reason why the existing smart single-fire light control switches on the market cannot measure power.
[0003] With the development of smart control applications such as smart homes and smart buildings, single-fire switches have begun to be widely used. On the one hand, most control boxes where single-fire switches are installed do not have a neutral wire, which makes it impossible for single-fire switches to directly measure voltage signals at any time; on the other hand, when a single-fire switch is in an open state, only the voltage value of the fire wire can be measured, but not the current value, and when the switch is in a closed state, only the current value of the fire wire can be measured, but not its voltage value. It is precisely because it is impossible to measure the voltage and current values on the fire wire at the same time in a smart switch that it becomes very difficult to measure the power consumption of electrical equipment through a single fire wire.
[0004] At present, some organizations or researchers have the following plan: near the single-fire switch, where the neutral line signal can be obtained, the voltage value of the neutral line in the scene is obtained by electronic means, and then converted into a corresponding voltage signal through the signal conversion circuit, and finally a physical (wired) signal line is installed to transmit the voltage signal to the single-fire switch, and then the electronic circuit inside the single-fire switch combines the current signal to calculate the power and measure the electric energy. Although this method is feasible, its biggest problem is that it needs to be wired through on-site construction. It is better to directly lay a neutral line to the switch. This method does not provide a good solution from the user's perspective, but may cause unnecessary troubles due to cumbersome installation and wiring.
[0005] Therefore, how to simply and conveniently realize the power metering function of the single-fire smart switch has become a technical problem that needs to be solved urgently. Summary of the invention
[0006] The present invention aims to solve at least one of the technical problems existing in the prior art or related technology, and discloses a single-live-wire intelligent switch and an electric energy metering method thereof, so that when using a single-live-wire intelligent switch, the power consumption of related electrical equipment such as lighting lamps can be conveniently and reasonably measured and the power on and off can be controlled. The invention also has the advantages of simple and convenient installation and no need to arrange additional signal lines.
[0007] The first aspect of the present invention discloses a single-live-wire intelligent switch, comprising: a single-live-wire switch and a switch gateway installed in a phase line of a circuit breaker; the switch gateway specifically comprises: a gateway controller; a voltage zero position detection module, connected to the gateway controller, for detecting the voltage phase on the measured live wire, and generating timestamp information when it is detected that the voltage phase waveform changes from a positive phase to zero; a gateway communication module, connected to the gateway controller, for wirelessly communicating with the switch communication module to send the timestamp information to the single-live-wire switch; the single-live-wire switch specifically comprises: a dual-mode resistor, connected in series in a circuit, for switching the circuit on and off; a switch controller, connected to the dual-mode resistor, for controlling the resistance value of the dual-mode resistor; a current sampling module, for collecting the current value flowing through the live wire; a voltage sampling module, for collecting the voltage value at both ends of the dual-mode resistor; a switch communication module, for communicating with the switch gateway, receiving the voltage zero position detection information sent by the switch gateway, or uploading the single-live device information to the switch gateway, so as to calculate the power factor compensation coefficient by a waveform comparison method according to the voltage zero position detection information; a power consumption calculation module, for calculating the power consumption according to the current value, the voltage value and the power factor compensation coefficient.
[0008] According to the single-live-wire intelligent switch disclosed in the present invention, preferably, the single-live-wire switch further comprises: a switch clock module, communicating with the switch gateway to provide clock synchronization information.
[0009] According to the single-live-wire intelligent switch disclosed in the present invention, preferably, the single-live-wire switch further comprises: a switching power supply module for supplying power to various components in the single-live-wire switch.
[0010] According to the single-live-wire intelligent switch disclosed in the present invention, preferably, the switch gateway further comprises: a gateway clock module, communicating with the single-live-wire switch for clock synchronization.
[0011] According to the single-live-wire intelligent switch disclosed in the present invention, preferably, the switch gateway further comprises: a gateway power module, which supplies power to various components in the switch gateway.
[0012] According to the single-live-wire intelligent switch disclosed in the present invention, preferably, when there are multiple single-live-wire switches, the single-live-wire switches are connected in parallel.
[0013] The second aspect of the present invention discloses an electric energy metering method, which is used for a single live wire intelligent switch as disclosed in any of the above technical solutions. The method includes: performing a short power outage at regular intervals through an open circuit voltage method to obtain a half-cycle voltage waveform, and restoring it to a complete voltage waveform based on the half-cycle voltage waveform to obtain an effective voltage value; sampling the current when the measured live wire resistance is a small resistance value to obtain an effective current value; generating a reference waveform of the voltage waveform based on voltage zero position detection information, and combining it with the current waveform to calculate the power factor compensation coefficient through a waveform phase differential comparison method; and calculating the power consumption based on the effective voltage value, the effective current value and the power factor compensation coefficient.
[0014] According to the electric energy metering method disclosed in the above technical solution of the present invention, preferably, the short power outage is to control the dual-mode resistor to an approximately open circuit state when it is in a high resistance value, at which time the resistance is greater than or equal to 500kΩ, the power-off time is less than or equal to 10ms, and the effective value of the voltage can be obtained through high-speed sampling of more than 100kHz during this period.
[0015] According to the electric energy metering method disclosed in the above technical solution of the present invention, preferably, the small resistance value is specifically less than 2 mΩ.
[0016] According to the electric energy metering method disclosed in the above technical solution of the present invention, preferably, it also includes: storing the value of power consumption in the memory of the single live wire switch to facilitate reading by the application layer device.
[0017] The beneficial effects of the present invention include at least: using the dual-mode resistor to greatly change the resistance value to simulate the on-off state of the switch, so that voltage sampling can be performed without additional wiring in the single-live-wire scenario, and the voltage and current phase information is obtained through wireless communication. The installation line of the single-live intelligent switch device is optimized while realizing power consumption detection. In the case of using a single-live-wire intelligent switch, the power consumption of related electrical equipment such as lighting lamps can be measured and the on-off control can be carried out conveniently and reasonably, and the installation is simple and convenient. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 A schematic diagram of the switch side structure of a single-live-wire intelligent switch according to an embodiment of the present invention is shown.
[0019] Figure 2 A schematic block diagram of a gateway of a single-live-wire intelligent switch according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0020] In order to more clearly understand the above-mentioned objects, features and advantages of the present invention, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0021] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0022] like Figure 1 As shown, the single-fire intelligent switch disclosed in the present invention includes: a power module, a clock module, a microcontroller, a voltage sampling (module), a power consumption calculation module, a communication module, a dual-mode resistor and a current sampling (module). A gateway and one or more single-fire intelligent switches are installed in a certain phase line of a circuit breaker, and the single-fire intelligent switches are connected in parallel, that is, they do not interfere with each other. Through the cooperation of the gateway and the single-fire intelligent switch, the power consumption of each single-fire intelligent switch can be obtained.
[0023] Single live wire intelligent switch specifically includes:
[0024] The dual-mode resistor acts as a switch. When the resistance value is large enough (500kΩ), it is equivalent to the switch being open. When the resistance value is small enough (2mΩ), it is equivalent to the switch being closed.
[0025] A microcontroller is connected to the dual-mode resistor and is used to control the resistance change of the dual-mode resistor. When the microcontroller receives a switch signal from the outside, it controls the resistance change of the dual-mode resistor, thereby achieving the effect of circuit on and off;
[0026] A clock module, which is synchronized with the clock module in the gateway and is used to provide clock synchronization information;
[0027] The current sampling module is used to measure the current value flowing through the live wire. The current value is the current value of the actual line;
[0028] The voltage sampling module is used to measure the voltage value across the dual-mode resistor when the switch is in the off state. This voltage value is the voltage value of the actual line;
[0029] The communication module is used to communicate with the gateway, receive voltage zero detection information from the gateway, and upload single-fire equipment information to the gateway. Using the voltage zero detection information, the power factor compensation coefficient is given by the waveform comparison method;
[0030] The power consumption calculation module calculates the power consumption of the electrical equipment on the measured line by obtaining the current value, voltage value, and power factor compensation coefficient;
[0031] The power module is used to provide power to the microcontroller, current sampling module, voltage sampling module, communication module, etc. in the single-fire intelligent switch.
[0032] like Figure 2 As shown, the smart switch gateway specifically includes:
[0033] Microcontroller;
[0034] Clock module;
[0035] The voltage zero position detection module is used to detect the voltage phase on the tested live wire. When it is detected that the voltage phase waveform changes from the positive phase to zero, the timestamp information of the phase being zero is sent to the single-fire intelligent switch through the communication module;
[0036] A communication module, used for communicating with a single-fire intelligent switch;
[0037] The power module is used to provide power to the microcontroller, clock module, detection module, communication module, etc. in the gateway.
[0038] The power calculation process includes:
[0039] Voltage effective value acquisition: The voltage sampling module uses the open circuit voltage method at regular intervals (15 minutes) to cut off the power for 10ms (the 100kHz high-speed sampling can obtain the 10ms voltage sampling value), obtains the voltage waveform of half a cycle, and uses the microprocessor to restore it to a complete voltage waveform, calculates the voltage effective value, and passes the calculated voltage effective value to the power consumption calculation module.
[0040] Current effective value acquisition: When the dual-mode resistor is of small resistance, the current sampling module can obtain a 10ms current sampling value through 100kHz high-speed sampling, and send the obtained current sampling value to the power consumption calculation module.
[0041] Power factor compensation coefficient acquisition: After the communication module obtains the voltage zero detection information from the gateway, it uses the obtained multiple voltage zero detection information to generate a voltage waveform reference waveform, combined with the current waveform obtained by the current sampling module, and the power factor compensation coefficient can be obtained through the waveform phase difference comparison method. . And pass the calculated power factor compensation coefficient to the power consumption calculation module.
[0042] The power consumption calculation module has a hardware digital integrator, and its principle is to use the integration method to calculate the power consumption Q within a certain time range. The specific formula is as follows:
[0043]
[0044] The obtained power consumption information can be stored in the device memory of the single-fire switch device under the control of the microcontroller, so as to be easy to read and use by the application layer device.
[0045] According to the above-mentioned embodiments of the present invention, the present invention provides a new solution for measuring power consumption in a single-live-wire switch scenario. No additional construction and wiring are required, and the information acquisition of voltage and current phase is solved through wireless communication. In the case of using a single-live-wire smart switch, the power consumption of related electrical equipment such as lighting lamps can also be measured and the power on and off can be controlled conveniently and reasonably.
[0046] All or part of the steps in the various methods of the above embodiments can be completed by controlling the relevant hardware through a program, and the program can be stored in a readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable programmable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other readable medium that can be used to carry or store data.
[0047] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A single live wire intelligent switch, comprising a single live wire switch and a switch gateway, characterized in that: include: The single live wire switch and the switch gateway are installed in a phase line of the circuit breaker; The switch gateway specifically includes: Gateway controller; A voltage zero position detection module, connected to the gateway controller, for detecting the voltage phase on the live wire under test, and generating timestamp information when it is detected that the voltage phase waveform changes from a positive phase to zero; A gateway communication module, connected to the gateway controller, and used for wireless communication with the switch communication module to send the timestamp information to the single live wire switch; The single live wire switch specifically comprises: A dual-mode resistor is connected in series in the circuit and is used to switch the circuit on and off. When the resistance of the dual-mode resistor is large enough, it is equivalent to opening the switch, and when the resistance of the dual-mode resistor is small enough, it is equivalent to closing the switch. A switch controller, connected to the dual-mode resistor, for controlling the resistance value of the dual-mode resistor; A current sampling module is used to collect the current value flowing through the live wire. The current value collection process specifically includes: when the dual-mode resistor simulates the path state, current sampling is performed to obtain the current sampling value, and the obtained current sampling value is sent to the power consumption calculation module; A voltage sampling module is used to collect the voltage value at both ends of the dual-mode resistor. The voltage value collection process specifically includes: when the dual-mode resistor simulates an open circuit state, obtaining a half-cycle voltage waveform and restoring it to a complete voltage waveform, calculating the voltage effective value, and passing the calculated voltage effective value to the power consumption calculation module; A switch communication module is used to communicate with the switch gateway, receive the voltage zero position detection information sent by the switch gateway, or upload the single-fire device information to the switch gateway, so as to calculate the power factor compensation coefficient by the waveform comparison method according to the voltage zero position detection information; The power consumption calculation module is used to calculate the power consumption according to the current value, the voltage value and the power factor compensation coefficient.
2. The single live wire intelligent switch according to claim 1, characterized in that: The single live wire switch also includes: A switch clock module communicates with the switch gateway to provide clock synchronization information.
3. The single live wire intelligent switch according to claim 1, characterized in that: The single live wire switch also includes: The switch power supply module supplies power to various components in the single live wire switch.
4. The single live wire intelligent switch according to claim 1, characterized in that: The switch gateway also includes: The gateway clock module communicates with the single live wire switch to perform clock synchronization.
5. The single live wire intelligent switch according to claim 1, characterized in that: The switch gateway also includes: The gateway power module supplies power to various components in the switch gateway.
6. The single live wire intelligent switch according to any one of claims 1 to 5, characterized in that: When there are multiple single live wire switches, each single live wire switch is connected in parallel.
7. A method for measuring electric energy of a single live wire intelligent switch, used for the single live wire intelligent switch according to any one of claims 1 to 6, characterized in that: include: By using the open circuit voltage method, a short power outage is performed at regular intervals to obtain a voltage waveform of half a cycle, and a complete voltage waveform is calculated based on the voltage waveform of the half cycle to obtain a voltage effective value; When the resistance of the live wire under test is small, current sampling is performed to obtain the effective value of the current; A reference waveform of the voltage waveform is generated according to the voltage zero detection information, and the power factor compensation coefficient is calculated by the waveform phase difference comparison method in combination with the current waveform; The power consumption is calculated according to the voltage effective value, the current effective value and the power factor compensation coefficient.
8. The electric energy metering method according to claim 7, characterized in that: The short power outage is to control the dual-mode resistor to be in an approximately open circuit state when the resistance is high. At this time, the resistance is greater than or equal to 500kΩ, and the power-off time is less than or equal to 10ms. During this period, the effective value of the voltage can be obtained through high-speed sampling above 100kHz.
9. The electric energy metering method according to claim 7, characterized in that: The small resistance value is specifically less than 2 mΩ.
10. The electric energy metering method according to claim 7, characterized in that: Also includes: The power consumption value is stored in the memory of the single live wire switch so as to facilitate reading by the application layer device.
Citation Information
Patent Citations
Single-live-wire power consumption data measurement method and single-live-wire intelligent breaker
CN106526365A
Detection method of current transformer sampling and state detection circuit
CN114252836A