CN108539834B - Charging control circuit and method of single-live-wire switch and intelligent household system - Google Patents

Charging control circuit and method of single-live-wire switch and intelligent household system Download PDF

Info

Publication number
CN108539834B
CN108539834B CN201810308267.5A CN201810308267A CN108539834B CN 108539834 B CN108539834 B CN 108539834B CN 201810308267 A CN201810308267 A CN 201810308267A CN 108539834 B CN108539834 B CN 108539834B
Authority
CN
China
Prior art keywords
microprocessor
charging
circuit
storage unit
energy storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810308267.5A
Other languages
Chinese (zh)
Other versions
CN108539834A (en
Inventor
傅春
游延筠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lumi United Technology Co Ltd
Original Assignee
Lumi United Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lumi United Technology Co Ltd filed Critical Lumi United Technology Co Ltd
Priority to CN201810308267.5A priority Critical patent/CN108539834B/en
Publication of CN108539834A publication Critical patent/CN108539834A/en
Application granted granted Critical
Publication of CN108539834B publication Critical patent/CN108539834B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • H02J7/045

Landscapes

  • Alarm Systems (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a charging control circuit of a single live wire switch, which comprises a power taking module, a charging module, an energy storage unit, a microprocessor and a human body sensor, wherein the power taking module is connected with the microprocessor through the charging module and the energy storage unit; the microprocessor is connected with the human body sensor; the power taking module is used for taking power when the load is switched on or switched off and charging the energy storage unit through the charging module; the energy storage unit supplies power to the microprocessor; the human body sensor is used for acquiring the sampling information of whether a person exists in the sensing range and transmitting the acquired sampling information to the microprocessor; and the microprocessor receives the sampling information, judges whether the current environment is occupied or not according to the sampling information, and controls the power taking module to be switched on or off according to a judgment result so as to control the charging of the energy storage unit. The invention can avoid the user from seeing the load flicker caused by charging the energy storage unit under the condition of not needing to frequently replace the battery.

Description

Charging control circuit and method of single-live-wire switch and intelligent household system
Technical Field
The invention relates to the technical field of switches, in particular to a charging control circuit and method of a single-live-wire switch and an intelligent home system.
Background
With the rapid development of information technology and network technology and the change and improvement of living ideas of people, home intelligence and household appliance networking become hot topics gradually. The intelligent home is characterized in that various information devices and residential devices are connected through a network, so that a comfortable, safe and convenient informationized living space is constructed, the requirements of life, work, entertainment and communication of people at home are met, and means for security protection, community management and people to know home conditions when going out are provided.
Along with the rapid development of intelligent home, a single-live-wire intelligent switch (only a single live wire enters/exits without a zero line) becomes an upgrading (direct replacement) product of a traditional mechanical wall switch, and the intelligent control of lighting equipment is realized. Moreover, most of domestic and foreign ordinary families are wired through a single live wire, and when the intelligent transformation is realized in the upgrading process, the new intelligent switch is often required to directly replace the old mechanical wall switch, and the new intelligent switch is not required to be wired again in the replacement process. Therefore, the single-live-wire intelligent switch of the single wire system is required to be adopted in designing the novel intelligent wall switch.
The inside microcontroller Module (MCU) that has usually of single live wire intelligence switch, for guaranteeing MCU's normal work, need continuously supply power to it when the switch is opened and is shut off. Because traditional mechanical switch is the live wire and gets into, live wire output, this gets the electric degree of difficulty of having brought for intelligent switch, and general intelligent switch needs zero, live wire power supply just can realize. The single live wire is used for getting electricity on one live wire, and the principle is that a loop is formed by flowing a tiny current (uA level or mA level) on a load (a bulb and the like) to get electricity.
Because single live wire switch leaks a little electric current through the series connection at the load and realizes getting the electricity, at the electricity-getting in-process, has the electric current through the load, the user can see the load and like the problem that electricity-saving lamp, LED lamp twinkle or shine a little, can make the user think that domestic appliance has appeared the problem, and user experience is relatively poor. Although the prior art has a scheme of supplying power to the microprocessor through the energy storage unit to solve the problem of flickering or slight brightness of a light-off load, the battery needs to be frequently replaced, and the user experience is poor.
Disclosure of Invention
The invention mainly aims to provide a charging control circuit and method of a single-live-wire switch and an intelligent home system, and aims to avoid load flicker caused by charging an energy storage unit seen by a user under the condition that a battery does not need to be replaced frequently.
In order to achieve the purpose, the charging control circuit of the single live wire switch comprises a power taking module, a charging module, an energy storage unit, a microprocessor and a human body sensor, wherein the power taking module is connected with the microprocessor through the charging module and the energy storage unit, a live wire forms a loop with a zero line through the power taking module and a load, and the microprocessor is connected with the power taking module; the microprocessor is also connected with the human body sensor;
the power taking module is used for taking power when a load is switched on or switched off and charging the energy storage unit through the charging module;
the energy storage unit is used for supplying power to the microprocessor;
the human body sensor is used for collecting sampling information of whether a person exists in the sensing range and transmitting the collected sampling information to the microprocessor;
the microprocessor is used for receiving sampling information, judging whether a person exists in the current environment according to the sampling information, and controlling the power taking module to be switched on and off according to a judgment result so as to control the energy storage unit to be charged.
Preferably, the power taking module comprises a parallel power taking circuit, a first switch circuit and a serial power taking circuit, the live wire forms a loop with a zero line through the serial power taking circuit, the first switch circuit and a load, the serial power taking circuit is further connected with the charging module, and the first switch circuit is further connected with the microprocessor; the live wire also forms a loop with the zero line through the parallel power taking circuit and the load; the parallel electricity taking circuit is also connected with the charging module;
the microprocessor controls the first switch circuit to be conducted so as to switch on the load, and the serial power taking circuit is used for charging the energy storage unit through the charging module when the load is switched on;
the microprocessor controls the first switch circuit to be switched off to disconnect the load, and the parallel electricity taking circuit is used for charging the energy storage unit through the charging module when the load is disconnected.
Preferably, the parallel power-taking circuit comprises an electronic switch circuit and an AC-DC circuit, the electronic switch circuit is connected with the AC-DC circuit, the electronic switch circuit is connected with a load, the electronic switch circuit is further connected with the microprocessor, and the AC-DC circuit is connected with the charging module;
the AC-DC circuit is used for converting alternating current into direct current so as to charge the energy storage unit;
and the microprocessor is also used for controlling the electronic switch circuit to be switched off and disconnecting the charging of the energy storage unit when the current environment is judged to have a person according to the sampling information.
Preferably, the microprocessor is further configured to, when it is determined that there is no person in the current environment according to the sampling information, control the electronic switch circuit to be turned on, so that the parallel power taking circuit charges the energy storage unit through the charging module, thereby ensuring that the microprocessor can normally work due to the electric quantity of the energy storage unit.
Preferably, the human body sensor includes an infrared sensor; the human body sensor is arranged inside or outside the single live wire switch.
In addition, in order to achieve the above object, the present invention further provides a charging control method for a single live wire switch, including the following steps:
step S1, the power taking module takes power when the load is switched on or off and charges the energy storage unit through the charging module;
step S2, the energy storage unit supplies power to the microprocessor to ensure the microprocessor to work normally;
step S3, the human body sensor collects the sampling information of whether a person exists in the sensing range and transmits the collected sampling information to the microprocessor;
and step S4, the microprocessor receives the sampling information, judges whether the current environment is occupied or not according to the sampling information, and controls the power taking module to be switched on or off according to the judgment result so as to control the charging of the energy storage unit.
Preferably, the method further comprises:
the microprocessor stores the judgment result in association with the acquisition time of the sampling information, and performs analysis and calculation according to the judgment result and the associated data of the acquisition time of the sampling information to obtain a manned time range corresponding to the judgment result of the manned environment in the current environment and an unmanned time range corresponding to the judgment result of the unmanned environment in the current environment;
when the current time is within the unmanned time range, the microprocessor controls the power taking module to be switched on so as to charge the energy storage unit when no person exists in the current environment.
Preferably, the method further comprises:
and the microprocessor performs combined analysis on the judgment result and the user behavior, analyzes that the user is at home if the judgment result is that the current environment is unmanned but the user load starting behavior is detected, and controls the power taking module to be turned off to disconnect the charging of the energy storage unit.
In addition, in order to achieve the above object, the present invention further provides an intelligent home system, which includes a single live wire switch, an intelligent gateway and a load, wherein the single live wire switch includes the charging control circuit of the single live wire switch;
the load is used for being switched on or switched off according to the control of the single live wire switch;
the single live wire switch is used for sending sampling information to the intelligent gateway after receiving the sampling information of whether a person exists, wherein the sampling information is collected by a human body sensor in the single live wire switch;
the intelligent gateway is used for receiving the sampling information, judging whether a person exists in the current environment according to the received sampling information, obtaining a judgment result and then sending the judgment result to the single-live-wire switch;
and the single live wire switch is also used for controlling the charging of the energy storage unit in the single live wire switch according to the judgment result.
Preferably, the intelligent gateway is further configured to receive sampling information sent by the human body sensors in the multiple single live wire switches within the preset range, determine that the current environment is occupied according to the sampling information sent by the human body sensor in at least one single live wire switch, and issue a determination result that the current environment is occupied to all the single live wire switches within the preset range.
Preferably, the intelligent home system further comprises a cloud server, the intelligent gateway is further configured to upload the sampling information to the cloud server after receiving the sampling information, the cloud server judges whether a person is in the current environment according to the received sampling information, and the judgment result is obtained and then is sent to the single live wire switch through the intelligent gateway.
Preferably, the intelligent home system further comprises one or more external human body sensors, the one or more external human body sensors send collected sampling information of whether people are present to the intelligent gateway, the intelligent gateway judges whether people are present in the current environment according to the received sampling information, and the judgment result is obtained and then sent to the single live wire switch.
The invention provides a charging control circuit and method of a single live wire switch and an intelligent home system, wherein a power taking module is used for taking power when a load is switched on or off and charging an energy storage unit through a charging module to supply power to a microprocessor; the human body sensor collects sampling information of whether a person exists in the sensing range and transmits the collected sampling information to the microprocessor; and the microprocessor judges whether the current environment is occupied or not according to the sampling information and controls the power taking module to be switched on or off according to the judgment result. Because the energy storage unit can be charged by the power taking module when the load is switched on or switched off, the battery does not need to be frequently replaced, and the power taking module is more convenient. And whether the current environment is occupied or not can be judged through sampling information collected by the human body sensor, and the power taking module is controlled to be switched on or switched off according to a judgment result so as to control the charging of the energy storage unit, so that a user is prevented from seeing load flicker caused by the charging of the energy storage unit.
Drawings
FIG. 1 is a block diagram of a charging control circuit of a single hot switch according to a preferred embodiment of the present invention;
FIG. 2 is a circuit diagram of a charge control circuit of a single hot switch according to a preferred embodiment of the present invention;
FIG. 3 is a schematic flowchart of a charging control method for a single-hot-wire switch according to an embodiment of the present invention;
FIG. 4 is a block diagram of an embodiment of an intelligent home system of the present invention;
fig. 5 is a schematic diagram of another embodiment of the smart home system of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a block diagram of a charging control circuit of a single-hot switch according to a preferred embodiment of the present invention.
The preferred embodiment of the invention provides a charging control circuit of a single live wire switch, which comprises a power taking module 1, a charging module 2, an energy storage unit 3, a microprocessor 4 and a human body sensor 6, wherein the power taking module 1 is connected with the microprocessor 4 through the charging module 2 and the energy storage unit 3, and a live wire (L) forms a loop with a zero line (N) through the power taking module 1 and a load 5; the microprocessor 4 is connected with the power taking module 1; the microprocessor 4 is also connected to a body sensor 6. The power taking module 1 is used for charging the energy storage unit 3 when the load 5 is switched on or switched off; the energy storage unit 3 is used for supplying power to the microprocessor 4; the human body sensor 6 is used for collecting the sampling information of whether a person exists in the sensing range and transmitting the collected sampling information to the microprocessor 4; and the microprocessor 4 is used for receiving the sampling information, judging whether the current environment is occupied or not according to the sampling information, and controlling the power taking module 1 to be switched on or switched off according to the judgment result so as to control the charging of the energy storage unit 3. For example, when it is determined that there is a person in the current environment, the microprocessor 4 may control the power generation module to turn off to stop charging the energy storage unit 3, so as to prevent the current flowing through the load from causing the load to flicker and being seen by the user during the charging process of the energy storage unit 3; when the current environment is judged to be nobody, the microprocessor 4 can control the power generation module to be switched on so as to start charging the energy storage unit 3. In this embodiment, the energy storage unit 3 is charged only when the current environment is nobody, that is, only when the current environment is nobody, the problem of load flicker caused by the current flowing through the load in the charging process of the energy storage unit 3 may occur, and because when nobody is present, the user cannot feel the flicker of the loads such as the bulb, the user can be effectively prevented from seeing the flicker of the load 5 caused by charging the energy storage unit 3 from the visitation, and the user experience is enhanced.
In the embodiment, the power taking module 1 is used for taking power when the load 5 is switched on or switched off and charging the energy storage unit 3 through the charging module 2 to supply power to the microprocessor 4; the human body sensor 6 collects the sampling information of whether a person exists in the sensing range and transmits the collected sampling information to the microprocessor 4; the microprocessor 4 judges whether the current environment is occupied or not according to the sampling information, and controls the power taking module 1 to be switched on or off according to the judgment result. Because the available electricity taking module 1 charges the energy storage unit 3 when the load 5 is switched on or switched off, the battery does not need to be frequently replaced, and the operation is more convenient. Moreover, whether a person exists in the current environment can be judged through sampling information collected by the human body sensor 6, and the power-taking module 1 is controlled to be switched on or switched off according to a judgment result so as to control the charging of the energy storage unit 3, so that a user is prevented from seeing the flickering of the load 5 caused by the charging of the energy storage unit 3.
Specifically, referring to fig. 2, fig. 2 is a circuit diagram of a charge control circuit of a single hot switch according to a preferred embodiment of the invention.
The electricity taking module 1 comprises a parallel electricity taking circuit 11, a first switch circuit 12 and a serial electricity taking circuit 13, a live wire forms a loop with a zero line through the serial electricity taking circuit 13, the first switch circuit 12 and a load 5, the serial electricity taking circuit 13 is also connected with the charging module 2, and the first switch circuit 12 is also connected with the microprocessor 4; the live wire also forms a loop with the zero line through the parallel power taking circuit 11 and the load 5; the parallel electricity taking circuit 11 is also connected with the charging module 2; the microprocessor 4 controls the first switch circuit 12 to be conducted to enable the load 5 to be connected, and the serial power taking circuit 13 is used for charging the energy storage unit 3 when the load 5 is connected; the microprocessor 4 controls the first switch circuit 12 to be turned off to disconnect the load 5, and the parallel power taking circuit 11 is used for charging the energy storage unit 3 when the load 5 is disconnected. Specifically, when a user presses a key on a switch panel, the microprocessor 4 controls electronic switches such as a relay to be turned on or off, the electronic switches such as the relay are turned on, and the load 5 is turned off; conversely, the load 5 is switched on. The parallel power-taking circuit 11 is a power-taking circuit when the load 5 (such as a bulb) is disconnected, an electronic switch such as a relay is disconnected, and alternating current flows to the load 5 through the parallel power-taking circuit 11. The first switch circuit 12 and the serial power supply circuit 13 constitute a power supply circuit when the load 5 is connected, and an electronic switch such as a relay is connected, so that the alternating current flows to the load 5 through the serial power supply circuit 13 and the first switch circuit 12. The two parts of power taking circuits can be connected to the charging module 2, the energy storage unit 3 is charged through the charging module 2, the energy storage unit 3 supplies power to the microprocessor 4, the microprocessor 4 is continuously powered when the switch is turned on and turned off, and the microprocessor 4 can normally work in real time. In this embodiment, the energy storage unit 3 is an energy storage device with a long service life, and includes, but is not limited to, a lithium battery, a super capacitor, and the like.
The parallel power taking circuit 11 comprises an electronic switch circuit 111 and an AC-DC circuit 112, the electronic switch circuit 111 is connected with the AC-DC circuit 112, the electronic switch circuit 111 is connected with a load 5, the electronic switch circuit 111 is also connected with the microprocessor 4, and the AC-DC circuit 112 is connected with the charging module 2; the AC-DC circuit 112 is used to convert alternating current into direct current to charge the energy storage unit 3; when the microprocessor 4 detects that the current flowing through the load 5 is greater than the preset second current threshold, the electronic switch circuit 111 is controlled to be turned off so as to directly turn off the parallel power-taking circuit 11. In this embodiment, the electronic switch circuit 111 may be implemented by an MOS transistor, a triode, or the like, the electronic switch circuit 111 is connected to a microprocessor 4(MCU), and the microprocessor 4 controls on/off of the electronic switch circuit 111. The AC-DC circuit 112 may be implemented using an AC-DC power chip.
When the load 5 is in an open state and the electronic switch circuit 111 inside the parallel power-taking circuit 11 is closed, the energy storage unit 3 is charged. Meanwhile, when the parallel power-taking circuit 11 works, current flows through the load 5, and a problem of micro-flash of the load (such as a lamp) when the load is turned off may occur. In this embodiment, a human body sensor 6 is further provided to solve this problem, and the human body sensor 6 includes, but is not limited to, an infrared sensor and the like. The human body sensor 6 is connected with the microprocessor 4, and the human body sensor 6 is used for providing sampling information for the microprocessor 4 so that the microprocessor 4 can judge whether a person exists in the current environment. For example, the motion sensor 6 is normally in a sleep state, and when a person is present in the detection range, the motion sensor 6 transmits the sampling information to the microprocessor 4. If no people are detected within the preset time (for example, 2 hours), the microprocessor 4 judges that the current environment is unmanned, and the microprocessor 4 controls the electronic switch circuit 111 to be switched on when judging that the current environment is unmanned, so that the parallel power taking circuit 11 can charge the energy storage unit 3 through the charging module 2, and the electric quantity of the energy storage unit 3 can be ensured to normally work for the microprocessor 4. In the embodiment, the parallel power taking circuit 11 is controlled to be turned on to charge the energy storage unit only when no person exists in the current environment, so that even if the load slightly flashes due to the fact that current passes through the load in the charging process, a user cannot feel the micro-flashes of the loads such as the lamp bulb and the like in the current unmanned environment, and therefore user experience is enhanced visually.
After the microprocessor 4 receives the sampling information of whether a person exists in the sensing range acquired by the human body sensor 6, the sampling information can be analyzed and processed. For example, in an alternative embodiment, the microprocessor 4 determines whether the current environment is occupied according to the sampling information, and stores the determination result in association with the acquisition time of the sampling information. And the microprocessor 4 carries out analysis and calculation according to the judgment result and the associated data of the acquisition time of the sampling information to obtain a manned time range corresponding to the judgment result of the manned environment and an unmanned time range corresponding to the judgment result of the unmanned environment. When the current time is within the unmanned time range, the microprocessor 4 controls the power taking module 2 to be switched on so as to charge the energy storage unit 3 when no person exists in the current environment. That is, the time range corresponding to the home of the user and the time range not corresponding to the home of the user are determined, and the time range in which no one is at home is used as the basis for controlling the parallel power-taking circuit 11 to be turned on.
In another alternative embodiment, the microprocessor 4 determines whether the current environment is occupied according to the sampling information, and performs combined analysis on the determination result and the user behavior to further determine whether the user is at home. If the judgment result shows that the current environment is unmanned but the load starting behavior of the user is detected, the analysis user is at home, the power taking module 1 is controlled to be turned off, and the charging of the energy storage unit is disconnected, so that the situation that the load flickers when the user is at home is prevented. For example, if it is determined that there is no person in the current environment according to the sampling information detected by the human body sensor 6, but a behavior of turning on a light of the user is detected, the parallel power taking circuit 11 is controlled to be turned off when the user is at home or at home, so as to prevent the load from flickering when the user is at home, and enhance the user experience.
Further, the human body sensor 6 can be arranged inside or outside the single live wire switch, when the human body sensor 6 is arranged inside the single live wire switch, the microprocessor 4 can judge whether the current environment is occupied or not according to the sampling information after receiving the sampling information, the microprocessor 4 can also send the sampling information to the intelligent gateway after receiving the sampling information, and the intelligent gateway judges whether the current environment is occupied or not according to the sampling information and then sends the judgment result to the microprocessor 4. Or the intelligent gateway uploads the sampling information to the cloud server, and the cloud server judges whether the current environment is occupied or not according to the sampling information and then sequentially sends the judgment result to the intelligent gateway and the microprocessor 4.
When the calculation judgment process is carried out in the intelligent gateway or the cloud server, in an optional implementation mode, more than one single live wire switch possibly exists in a user house, the detection range of the human body sensor in each single live wire switch is limited, the sampling information detected by the human body sensor in each single live wire switch can be sent to the intelligent gateway, if the current environment is judged to be someone by the intelligent gateway according to the sampling information sent by the human body sensor in at least one single live wire switch, the judgment result that the current environment is someone is sent to all the single live wire switches.
When the human body sensor 6 is arranged outside the single live wire switch, the single live wire switch and the human body sensor 6 are respectively connected with the intelligent gateway to form a local area network. And the sampling information acquired by the human body sensor 6 is sent to the intelligent gateway. In an implementation manner, the intelligent gateway may determine whether there is a person in the current environment according to the received sampling information, and issue the determination result to the single fire wire switch after obtaining the determination result. In another embodiment, the intelligent gateway can also directly send the received sampling information to the single live wire switch, and the microprocessor 4 in the single live wire switch judges whether the current environment is occupied according to the sampling information and controls the power taking module to be switched on and off according to the judgment result so as to control the charging of the energy storage unit.
Further, in a normal state, when a user turns on the lamp, the serial power taking circuit 13 is used for taking power, and the energy storage unit 3 is charged through the charging module 2. When the user turns off the lamp, if the energy storage unit 3 has sufficient power, the energy storage unit 3 does not need to be charged through the parallel power taking circuit 11. In an embodiment, the microprocessor 4 is further configured to detect an electric quantity of the energy storage unit 3 when the load 5 is turned off, and when the electric quantity of the energy storage unit 3 is detected to be lower than a preset electric quantity threshold value and it is determined that no person, i.e., a user, is present in the current environment according to the sampling information, the electronic switch circuit 111 is controlled to be turned on to control the parallel power taking circuit 11 to be turned on and charge the energy storage unit 3, so that the energy storage unit 3 can normally supply power to the microprocessor 4, and the microprocessor 4 can normally operate.
As shown in fig. 3, fig. 3 is a schematic flowchart of a charging control method for a single live wire switch according to an embodiment of the present invention, where the charging control method for the single live wire switch includes the following steps:
step S10, the power taking module takes power when the load is switched on or off and charges the energy storage unit through the charging module;
step S20, the energy storage unit supplies power to the microprocessor to ensure the microprocessor to work normally;
step S30, the human body sensor collects the sampling information of whether a person exists in the sensing range and transmits the collected sampling information to the microprocessor;
and step S40, the microprocessor receives the sampling information, judges whether the current environment is occupied or not according to the sampling information, and controls the power taking module to be switched on or off according to the judgment result so as to control the charging of the energy storage unit.
In the embodiment, the power taking module is used for taking power when the load is switched on or switched off and charging the energy storage unit through the charging module to supply power to the microprocessor; the human body sensor collects the sampling information of whether a person exists in the sensing range and transmits the collected sampling information to the microprocessor; and the microprocessor judges whether the current environment is occupied or not according to the sampling information and controls the power taking module to be switched on or off according to the judgment result. Because the energy storage unit can be charged by the power taking module when the load is switched on or switched off, the battery does not need to be frequently replaced, and the power taking module is more convenient. And whether the current environment is occupied or not can be judged through sampling information collected by the human body sensor, and the power taking module is controlled to be switched on or switched off according to a judgment result so as to control the charging of the energy storage unit, so that a user is prevented from seeing load flicker caused by the charging of the energy storage unit.
In an optional embodiment, on the basis of the above embodiment, the method further includes:
and the microprocessor judges whether the current environment is occupied or not according to the sampling information and stores the judgment result and the acquisition time of the sampling information in a correlation manner. And the microprocessor analyzes and calculates according to the judgment result and the associated data of the acquisition time of the sampling information to obtain a manned time range corresponding to the judgment result of the manned environment in the current environment and an unmanned time range corresponding to the judgment result of the unmanned environment in the current environment. When the current time is within the unmanned time range, the microprocessor controls the power taking module to be switched on so as to charge the energy storage unit when no person exists in the current environment. The time range corresponding to the home of the user and the time range corresponding to the absence of the user are judged, and the time range of the absence of the user at home is used as the basis for controlling the parallel power taking circuit to be opened.
In an optional embodiment, on the basis of the above embodiment, the method further includes:
and the microprocessor judges whether the current environment is occupied or not according to the sampling information, and performs combined analysis on the judgment result and the user behavior so as to further judge whether the user is at home or not. If the judgment result shows that the current environment is unmanned but the load starting behavior of the user is detected, the analysis user is at home, the power taking module is controlled to be turned off, and the charging of the energy storage unit is disconnected, so that the situation that the load flickers when the user is at home is prevented. For example, if it is determined that the current environment is unmanned according to sampling information detected by a human body sensor, but a behavior of turning on a light of a user is detected, the user is finally analyzed to be at home, and the parallel power taking circuit is controlled to be turned off under the condition that the user is at home, so that the situation that the load flickers when the user is at home is prevented, and user experience is enhanced.
As shown in fig. 4, fig. 4 is a block diagram of an embodiment of an intelligent home system according to the present invention, where the intelligent home system includes a single-live-wire switch 8, an intelligent gateway 9, and a load 7, and the load 7 is turned on or off according to the control of the single-live-wire switch 8; the single live wire switch 8 sends sampling information to the intelligent gateway 9 after receiving the sampling information of whether a person exists, wherein the sampling information is collected by a human body sensor in the single live wire switch; the intelligent gateway 9 receives the sampling information, judges whether a person is in the current environment according to the received sampling information, and sends a judgment result to the single-live-wire switch 8; and the single live wire switch 8 controls the charging of the energy storage unit in the single live wire switch according to the judgment result. The single live wire switch 8 includes the charging control circuit of the single live wire switch as described above; the working principle is as described above, and is not described herein again.
In this embodiment, the intelligent gateway 9 further receives sampling information sent by the internal human body sensors of the plurality of single live wire switches within the preset range, and if the current environment is determined to be occupied according to the sampling information sent by the internal human body sensors of at least one single live wire switch, the determination result that the current environment is occupied is sent to all the single live wire switches within the preset range. For example, because the user may have more than one single live wire switch at home, the detection range of the human body sensor inside each single live wire switch is limited, the sampling information detected by the human body sensor inside each single live wire switch can be sent to the intelligent gateway 9, and if the intelligent gateway 9 determines that the current environment is occupied according to the sampling information sent by the human body sensor inside at least one single live wire switch, the determination result that the current environment is occupied is sent to all the single live wire switches.
As shown in fig. 5, fig. 5 is a schematic view of another embodiment of the smart home system of the present invention, the smart home system further includes a cloud server, the smart gateway uploads the sampling information to the cloud server after receiving the sampling information, and the cloud server determines whether there is a person in the current environment according to the received sampling information, and sends a determination result to the smart gateway and the single-fire-wire switch in sequence after obtaining the determination result.
Furthermore, the intelligent home system further comprises one or more external human body sensors, the one or more external human body sensors send collected sampling information of whether people are in the environment to the intelligent gateway, the intelligent gateway judges whether people are in the current environment according to the received sampling information, and the judgment result is obtained and then sent to the single-live-wire switch. Wherein, single live wire switch, one or more outside human body sensor are connected with intelligent gateway respectively, constitute local area network. And the sampling information acquired by one or more external human body sensors is sent to the intelligent gateway. In an implementation manner, the intelligent gateway may determine whether there is a person in the current environment according to the received sampling information, and issue the determination result to the single fire wire switch after obtaining the determination result. In another embodiment, the intelligent gateway can also directly send the received sampling information to the single live wire switch, the microprocessor in the single live wire switch judges whether a person exists in the current environment according to the sampling information, and controls the power-taking module to be switched on and off according to a judgment result so as to control the energy storage unit to be charged.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (12)

1. The charging control circuit of the single live wire switch is characterized by comprising a power taking module, a charging module, an energy storage unit, a microprocessor and a human body sensor, wherein the power taking module is connected with the microprocessor through the charging module and the energy storage unit, a live wire forms a loop with a zero line through the power taking module and a load, and the microprocessor is connected with the power taking module; the microprocessor is also connected with the human body sensor;
the power taking module is used for taking power when a load is switched on or switched off and charging the energy storage unit through the charging module; the power taking module comprises a parallel power taking circuit for taking power when the load is disconnected;
the energy storage unit is used for supplying power to the microprocessor;
the human body sensor is used for collecting sampling information of whether a person exists in the sensing range and transmitting the collected sampling information to the microprocessor;
the microprocessor is used for receiving sampling information, judging whether a person exists in the current environment according to the sampling information, and controlling the power taking module to be switched on and off according to a judgment result so as to control the charging of the energy storage unit; when the current environment is judged to be nobody, the microprocessor controls a parallel power taking circuit of the power taking module to be switched on so as to start charging the energy storage unit; when the current environment is judged to be occupied, the microprocessor controls the parallel power taking circuit of the power taking module to be disconnected so as to stop charging the energy storage unit.
2. The charging control circuit of the single live wire switch according to claim 1, wherein the power-taking module further comprises a first switch circuit and a serial power-taking circuit, the live wire forms a loop with a zero wire through the serial power-taking circuit, the first switch circuit and a load, the serial power-taking circuit is further connected with the charging module, and the first switch circuit is further connected with the microprocessor; the live wire also forms a loop with the zero line through the parallel power taking circuit and the load; the parallel electricity taking circuit is also connected with the charging module;
the microprocessor controls the first switch circuit to be conducted so as to switch on the load, and the serial power taking circuit is used for charging the energy storage unit through the charging module when the load is switched on;
the microprocessor controls the first switch circuit to be switched off to disconnect the load, and the parallel electricity taking circuit is used for charging the energy storage unit through the charging module when the load is disconnected.
3. The charging control circuit of the single live wire switch according to claim 2, wherein the parallel power supply circuit comprises an electronic switching circuit and an AC-DC circuit, the electronic switching circuit is connected to the AC-DC circuit, the electronic switching circuit is connected to a load, the electronic switching circuit is further connected to the microprocessor, and the AC-DC circuit is connected to the charging module;
the AC-DC circuit is used for converting alternating current into direct current so as to charge the energy storage unit;
and the microprocessor is also used for controlling the electronic switch circuit to be switched off and disconnecting the charging of the energy storage unit when the current environment is judged to be occupied according to the sampling information.
4. The charging control circuit of a single live wire switch according to claim 3, wherein the microprocessor is further configured to control the electronic switch circuit to be turned on when it is determined that there is no person in the current environment according to the sampling information, so that the parallel power-taking circuit charges the energy storage unit through the charging module, thereby ensuring that the electric quantity of the energy storage unit can supply the microprocessor to work normally.
5. The charge control circuit of the single fire wire switch of any one of claims 1 to 4 wherein the body sensor comprises an infrared sensor; the human body sensor is arranged inside or outside the single live wire switch.
6. A charging control method of a single live wire switch is characterized by comprising the following steps:
step S1, the power taking module takes power when the load is switched on or off and charges the energy storage unit through the charging module; the power taking module comprises a parallel power taking circuit for taking power when the load is disconnected;
step S2, the energy storage unit supplies power to the microprocessor to ensure the microprocessor to work normally;
step S3, the human body sensor collects the sampling information of whether a person exists in the sensing range and transmits the collected sampling information to the microprocessor;
step S4, the microprocessor receives the sampling information, judges whether the current environment is occupied or not according to the sampling information, and controls the connection and disconnection of the electricity taking module according to the judgment result so as to control the charging of the energy storage unit; when the current environment is judged to be nobody, the microprocessor controls a parallel power taking circuit of the power taking module to be switched on so as to start charging the energy storage unit; when the current environment is judged to be occupied, the microprocessor controls the parallel power taking circuit of the power taking module to be disconnected so as to stop charging the energy storage unit.
7. The method of claim 6, further comprising:
the microprocessor stores the judgment result in association with the acquisition time of the sampling information, and performs analysis and calculation according to the judgment result and the associated data of the acquisition time of the sampling information to obtain a manned time range corresponding to the judgment result of the manned environment in the current environment and an unmanned time range corresponding to the judgment result of the unmanned environment in the current environment;
when the current time is within the unmanned time range, the microprocessor controls the power taking module to be switched on so as to charge the energy storage unit when no person exists in the current environment.
8. The method for controlling charging of a single hot switch as claimed in claim 6 or 7, further comprising:
and the microprocessor performs combined analysis on the judgment result and the user behavior, analyzes that the user is at home if the judgment result is that the current environment is unmanned but the user load starting behavior is detected, and controls the power taking module to be turned off to disconnect the charging of the energy storage unit.
9. The intelligent home system is characterized by comprising a single live wire switch, an intelligent gateway and a load, wherein the single live wire switch comprises a charging control circuit of the single live wire switch according to any one of claims 1-5;
the load is used for being switched on or switched off according to the control of the single live wire switch;
the single live wire switch is used for sending sampling information to the intelligent gateway after receiving the sampling information of whether a person exists, wherein the sampling information is collected by a human body sensor in the single live wire switch;
the intelligent gateway is used for receiving the sampling information, judging whether a person exists in the current environment according to the received sampling information, obtaining a judgment result and then sending the judgment result to the single-live-wire switch;
the single live wire switch is also used for controlling the charging of the energy storage unit in the single live wire switch according to the judgment result; when the current environment is judged to be nobody, the microprocessor of the single live wire switch controls a parallel power taking circuit of the power taking module to be switched on so as to start charging the energy storage unit; when the current environment is judged to be occupied, the microprocessor of the single live wire switch controls the parallel power taking circuit of the power taking module to be disconnected so as to stop charging the energy storage unit.
10. The intelligent home system according to claim 9, wherein the intelligent gateway is further configured to receive sampling information sent by the human body sensors in the multiple single live wire switches within a preset range, and if it is determined that the current environment is occupied according to the sampling information sent by the human body sensor in at least one single live wire switch, send a determination result that the current environment is occupied to all the single live wire switches within the preset range.
11. The smart home system according to claim 9 or 10, wherein the smart home system further comprises a cloud server, the smart gateway is further configured to upload sampling information to the cloud server after receiving the sampling information, the cloud server determines whether a person is present in the current environment according to the received sampling information, and sends a determination result to the single-live-wire switch via the smart gateway after obtaining the determination result.
12. The smart home system according to claim 9 or 10, wherein the smart home system further comprises one or more external body sensors, the one or more external body sensors send collected sampling information on whether a person is present to the smart gateway, and the smart gateway determines whether a person is present in the current environment according to the received sampling information, and sends a determination result to the single-live-wire switch after obtaining the determination result.
CN201810308267.5A 2018-04-08 2018-04-08 Charging control circuit and method of single-live-wire switch and intelligent household system Active CN108539834B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810308267.5A CN108539834B (en) 2018-04-08 2018-04-08 Charging control circuit and method of single-live-wire switch and intelligent household system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810308267.5A CN108539834B (en) 2018-04-08 2018-04-08 Charging control circuit and method of single-live-wire switch and intelligent household system

Publications (2)

Publication Number Publication Date
CN108539834A CN108539834A (en) 2018-09-14
CN108539834B true CN108539834B (en) 2022-05-10

Family

ID=63483266

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810308267.5A Active CN108539834B (en) 2018-04-08 2018-04-08 Charging control circuit and method of single-live-wire switch and intelligent household system

Country Status (1)

Country Link
CN (1) CN108539834B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109217442B (en) * 2018-10-09 2021-11-02 瑞纳智能设备股份有限公司 Power supply device and method based on single-live-wire power taking module
CN109818348B (en) * 2019-02-28 2021-01-26 深圳慧安康科技有限公司 Intelligent device and power taking circuit and method thereof
WO2020172847A1 (en) * 2019-02-28 2020-09-03 李修球 Smart device, and power taking circuit thereof and method therefor
CN110131861B (en) * 2019-06-17 2024-05-17 珠海格力电器股份有限公司 Wire controller and electric appliance control system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323922A (en) * 2015-10-14 2016-02-10 深圳市二八智能家居有限公司 Lithium battery based single firing line power-taking apparatus
CN106527235A (en) * 2016-12-25 2017-03-22 湖南晖龙股份有限公司 Bidirectional control switch based on single live wire power supply
CN206595716U (en) * 2017-01-17 2017-10-27 漳州立达信光电子科技有限公司 Wireless intelligent switch
CN107658646A (en) * 2016-07-24 2018-02-02 郭振华 A kind of multifunctional safe intelligent switch socket

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323922A (en) * 2015-10-14 2016-02-10 深圳市二八智能家居有限公司 Lithium battery based single firing line power-taking apparatus
CN107658646A (en) * 2016-07-24 2018-02-02 郭振华 A kind of multifunctional safe intelligent switch socket
CN106527235A (en) * 2016-12-25 2017-03-22 湖南晖龙股份有限公司 Bidirectional control switch based on single live wire power supply
CN206595716U (en) * 2017-01-17 2017-10-27 漳州立达信光电子科技有限公司 Wireless intelligent switch

Also Published As

Publication number Publication date
CN108539834A (en) 2018-09-14

Similar Documents

Publication Publication Date Title
CN108471160B (en) Charging control circuit and method of single-live-wire switch and intelligent household system
CN108539834B (en) Charging control circuit and method of single-live-wire switch and intelligent household system
CN104335448B (en) System and method for emergency lighting
CN103906323B (en) Intelligent light control system and method
CN102870307B (en) Electric current supplying module
CN105933193B (en) Intelligent switch control system and method
CN109951928A (en) A kind of flash detection control apparatus, electronic equipment and system including it
CN105487512A (en) Energy saving control method applied inside room
CN106712007A (en) Wireless intelligent switch
CN107807621A (en) A kind of smart home total management system
CN203909514U (en) Switch system based on manual and wireless double control
CN108365481A (en) A kind of multifunctional intellectual wiring board and its control method
CN208298008U (en) A kind of intelligent home control device based on PLC
CN105527848B (en) Communication equipment and the method that the communication equipment is controlled
CN110658727B (en) Equipment control method and device based on operating system
CN208094848U (en) The current regulating circuit and intelligent domestic system of single firewire switch
CN108303905B (en) Household equipment control system and control method
CN106843187A (en) A kind of family intelligent monitoring system
CN205160866U (en) Wireless Intelligence panel -switch that human response in area and illumiinance were surveyed
CN201965468U (en) Hotel room control system
CN206515668U (en) Intelligent switch
CN104216309B (en) A kind of devices and methods therefor with intelligent standby power on/off function
CN108594780A (en) A kind of intelligent home control device and its control method based on PLC
CN208535829U (en) Lighting apparatus and application the equipment exempt from be routed building safety monitoring system
CN103781244A (en) LED illuminating device, LED illumination control system and control method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant