A control method, device, and single live wire switch of a single live wire switch
By automatically adjusting the power consumption gear of the switch controller in a single live switch, the problem of insufficient current caused by load power changes is solved, ensuring that the switch controller works normally under different load conditions and improving system reliability.
Patent Information
- Application Number
- CN202211405061.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-10
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2042-11-10
AI Technical Summary
In a single live switch, the switch controller may not work properly when it is operating at different power consumption gears. When the load power is low, the current on the live wire is insufficient, resulting in the switch controller being unable to match the appropriate power consumption gears.
By determining the target power consumption gear of the switch controller, it controls its operation in this gear, and determines whether it is working normally. If it works normally, maintain this gear; if it does not work properly, reduce the target power consumption gear and repeat the control process.
The switch controller in a single live switch is realized to match the appropriate power consumption gear under different load conditions, ensuring the normal operation of the switch and improving working reliability.
Smart Images

Figure CN115562090B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of switch control, and particularly to a control method, equipment and single live wire switch of a single live wire switch. Background Art
[0002] With the increasingly wide application of the Internet of Things in people's daily lives, people's requirements for intelligent control are becoming more and more specific. For the single live wire switch frequently used in life, it can be intelligently controlled through wireless communication methods such as ZigBee. Generally, the single live wire switch and the load are commonly connected in series on the live wire. The single live wire switch includes a single live wire power extraction module, a switch and a switch controller. The live wire supplies power to the load, and at the same time, the single live wire power extraction module also extracts power from the live wire to supply power to the switch controller. Please refer to Figure 1 , Figure 1 which is a schematic structural diagram of a single live wire switch.
[0003] Since the switch controller requires different working currents when operating in different power consumption levels, and the magnitude of the working current depends on the magnitude of the current supplied by the live wire to the single live wire power extraction module, and the magnitude of the current on the live wire depends on the power of the load. When the load power is small, the current on the live wire is small, and the working current supplied by the single live wire power extraction module to the switch controller is also small. At this time, if the switch controller is in a high power consumption level, it may not work properly.
[0004] In order to enable the single live wire switch to work properly even when the power of the load on the live wire is low, the prior art generally limits the power consumption of the switch controller. For example, a maximum working current is set for the switch controller so that the average working current of the switch controller is less than the maximum working current. Specifically, the power consumption can be reduced by using the window reception mode or reducing the main frequency, reducing functions and reducing the transmission frequency. However, for the window reception mode, it can only achieve presetting the switch controller to use different powers at different time periods, that is, only changing the power consumption of the switch controller at fixed time periods, and other methods will limit the performance of the switch controller, resulting in packet loss and delay phenomena in the wireless communication on the switch controller. Summary of the Invention
[0005] The object of the present invention is to provide a control method, equipment and single live wire switch of a single live wire switch, which realizes that the switch controller in the single live wire switch can match a suitable power consumption level when the live wire carries loads with different power consumptions, thereby realizing the normal operation of the single live wire switch and improving the reliability of the operation of the single live wire switch.
[0006] To solve the above technical problems, the present invention provides a control method of a single live wire switch, including:
[0007] Determine the target power consumption level of the switch controller in the single live wire switch;
[0008] Control the switch controller to operate at the target power consumption level;
[0009] Determine whether the switch controller is operating normally at the target power consumption level;
[0010] If so, control the switch controller to continue operating at the target power consumption level;
[0011] If not, lower the target power consumption level of the switch controller and return to the step of controlling the switch controller to operate at the target power consumption level.
[0012] Preferably, determining the target power consumption level of the switch controller in the single live wire switch includes:
[0013] Receive a power consumption level instruction sent by the user, where the power consumption level instruction includes information about the target power consumption level;
[0014] Determine the target power consumption level of the switch controller in the single live wire switch according to the power consumption level instruction.
[0015] Preferably, determining the target power consumption level of the switch controller in the single live wire switch includes:
[0016] When receiving an instruction for the adaptive adjustment function sent by the user, use the preset power consumption level as the target power consumption level of the switch controller in the single live wire switch.
[0017] Preferably, lowering the target power consumption level of the switch controller includes:
[0018] Lower the target power consumption level of the switch controller by a preset number of power consumption levels.
[0019] Preferably, lowering the target power consumption level of the switch controller includes:
[0020] Lower the target power consumption level of the switch controller to the lowest power consumption level.
[0021] Preferably, determining whether the switch controller is operating normally at the target power consumption level includes:
[0022] Determine whether the switch controller restarts after operating at the target power consumption level;
[0023] If so, determine that the switch controller is not operating normally at the target power consumption level;
[0024] If not, determine that the switch controller is operating normally at the target power consumption level.
[0025] Preferably, while controlling the switch controller to operate in the target power consumption gear, it further includes:
[0026] Start a timer to start timing, wherein the timer restarts timing when the switch controller restarts;
[0027] Judging whether the switch controller restarts after operating in the target power consumption gear includes:
[0028] Judge whether the timer reaches a preset time;
[0029] If the timer reaches the preset time, turn off the timer and determine that the switch controller has not restarted after operating in the target power consumption gear;
[0030] If the timer does not reach the preset time, determine that the switch controller has restarted after operating in the target power consumption gear.
[0031] Preferably, while controlling the switch controller to operate in the target power consumption gear, it further includes:
[0032] Start a counter to count from zero;
[0033] After determining that the switch controller has restarted after operating in the target power consumption gear, it further includes:
[0034] Control the counter to increment by one;
[0035] Judge whether the count value in the counter reaches a preset number of times;
[0036] If so, determine that the switch controller does not operate normally in the target power consumption gear;
[0037] If not, return to the step of judging whether the switch controller restarts after operating in the target power consumption gear.
[0038] To solve the above technical problems, the present invention also provides a control device for a single - wire switch, including:
[0039] A memory for storing a computer program;
[0040] A processor for implementing the steps of the control method of the single - wire switch when executing the computer program.
[0041] To solve the above technical problems, the present invention also provides a single - wire switch, including the control device of the single - wire switch.
[0042] A control method, equipment, and single live wire switch provided by the present invention determine the target power consumption level of the switch controller in the single live wire switch, control the switch controller to operate at this target power consumption level, and determine whether the switch controller operates normally at the target power consumption level. If it can operate normally, the level is maintained; if not, the target power consumption level of the switch controller is reduced and the switch controller is continued to be controlled to operate at the new target power consumption level, realizing that the switch controller in the single live wire switch can match a suitable power consumption level when the live wire carries loads with different power consumptions, thereby realizing the normal operation of the single live wire switch and improving the reliability of the single live wire switch operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the prior art and the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0044] Figure 1 It is a schematic structural diagram of a single live wire switch;
[0045] Figure 2 It is a schematic flow chart of a control method of a single live wire switch provided by the present invention;
[0046] Figure 3 It is a schematic flow chart of another control method of a single live wire switch provided by the present invention;
[0047] Figure 4 It is a schematic flow chart of another control method of a single live wire switch provided by the present invention;
[0048] Figure 5 It is a schematic structural diagram of a control device of a single live wire switch provided by the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0049] The core of the present invention is to provide a control method, equipment, and single live wire switch, realizing that the switch controller in the single live wire switch can match a suitable power consumption level when the live wire carries loads with different power consumptions, thereby realizing the normal operation of the single live wire switch and improving the reliability of the single live wire switch operation.
[0050] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0051] Please refer to Figure 2 , Figure 2 the schematic flowchart of a control method for a single live wire switch provided by the present invention. The method includes:
[0052] S11: Determine the target power consumption level of the switch controller in the single live wire switch;
[0053] S12: Control the switch controller to operate at the target power consumption level;
[0054] S13: Determine whether the switch controller is operating normally at the target power consumption level. If so, proceed to S14; if not, proceed to S15 and return to S12;
[0055] S14: Control the switch controller to maintain operation at the target power consumption level;
[0056] S15: Lower the target power consumption level of the switch controller.
[0057] When the switch controller is set to the high power consumption level, if the power consumption of the load on the live wire is low, the current on the live wire will be very small at this time. Since the switch controller in the high power consumption level requires a large current, the live wire cannot provide a suitable current, and the switch controller cannot operate normally, indicating that the level of the switch controller does not match the load at this time. The present invention can automatically adjust the level of the switch controller. By determining whether the adjusted level matches the load, that is, determining whether the switch controller can operate normally at the adjusted level, the appropriate level is finally automatically selected. The automatic adjustment in the present invention refers to adjusting from a higher power consumption level to a lower power consumption level. On the one hand, when at the high power consumption level, the switch controller draws more power from the live wire. Without knowing the load, as much power as possible is drawn from the live wire first to ensure that the switch controller can at least reach the current that can restart the switch controller regardless of whether it can operate normally (the reason for restarting is that the working current of the switch controller is too small). On the other hand, on the premise of ensuring the normal operation of the load, the higher the power consumption level of the switch controller, the better. Additionally, it should be noted that when the power consumption level of the switch controller is the lowest power consumption level, it can ensure the operation of any load connected in series with the single live wire switch.
[0058] The method for determining the target power consumption level is not specifically limited. Relevant instructions can be transmitted to the switch controller in a wired or wireless manner. The instructions can include information about the target power consumption level, or can trigger the switch controller to enter a preset target power consumption level for operation through an instruction. The process of reducing the target power consumption level is also not specifically limited. It can be to reduce one preset power consumption level each time, or different preset power consumption levels each time.
[0059] The present invention provides a control method for a single - wire switch. By determining the target power consumption level of the switch controller in the single - wire switch, controlling the switch controller to operate at this target power consumption level, and judging whether the switch controller operates normally at the target power consumption level. If it can operate normally, the level is maintained; if not, the target power consumption level of the switch controller is reduced and the switch controller is continued to be controlled to operate at the new target power consumption level, achieving that the switch controller in the single - wire switch can match a suitable power consumption level when the live wire carries loads with different power consumptions, thereby realizing the normal operation of the single - wire switch and improving the reliability of the single - wire switch operation.
[0060] Based on the above - mentioned embodiments:
[0061] As a preferred embodiment, determining the target power consumption level of the switch controller in the single - wire switch includes:
[0062] Receiving a power consumption level instruction sent by the user, where the power consumption level instruction includes information about the target power consumption level;
[0063] Determining the target power consumption level of the switch controller in the single - wire switch according to the power consumption level instruction.
[0064] In this embodiment, by receiving the instruction sent by the user, which directly indicates the target power consumption level, and without limiting the way of receiving the instruction, which can be various wireless methods, the information about the target power consumption level is saved in the memory, and then the switch controller is controlled to operate at this target power consumption level. The user can manually adjust the power consumption of the single - wire switch controller according to the load situation, so as to adapt to various application scenarios and solve the problem that small - power lamps may flicker when the lights are off.
[0065] This embodiment can directly realize the change of the power consumption level of the switch controller when the user knows the power consumption situation of the load, improving the user's control over the switch controller.
[0066] As a preferred embodiment, determining the target power consumption level of the switch controller in the single - wire switch includes:
[0067] When receiving an instruction for the adaptive adjustment function sent by the user, set the preset power consumption level as the target power consumption level of the switch controller in the single-phase live wire switch.
[0068] When the user is not clear about the power consumption situation of the load, the adaptive adjustment function can be selected, which is used to enable the switch controller to automatically select a preset power consumption level, and then automatically adjust based on the preset power consumption level. There is no limitation on the preset power consumption level, which can be the highest power consumption level, and there is also no limitation on the automatic adjustment process. It can decrease one level at a time or several levels at a time, or directly decrease to the lowest level.
[0069] This embodiment provides another method for determining the target power consumption level, making the function of the switch controller more diverse and perfect, and increasing the control methods of the switch controller.
[0070] As a preferred embodiment, reducing the target power consumption level of the switch controller includes:
[0071] Reduce the target power consumption level of the switch controller by a preset number of power consumption levels.
[0072] This embodiment provides a method for reducing the target power consumption level. The preset number of power consumption levels to be reduced can be set, which can be one level at a time, or multiple levels at a time, or different each time.
[0073] This embodiment realizes the precise selection of the power consumption level, and finally can obtain a power consumption level that enables the switch controller to achieve optimal control of the controlled load.
[0074] As a preferred embodiment, reducing the target power consumption level of the switch controller includes:
[0075] Reduce the target power consumption level of the switch controller to the lowest power consumption level.
[0076] This embodiment provides another method for reducing the target power consumption level. Since the lowest power consumption level is applicable to all loadable loads, only one change in the power consumption level is required to select the power consumption level of the switch controller.
[0077] This embodiment can realize the selection of the power consumption level in a very short time, improving the speed of selecting the power consumption level.
[0078] As a preferred embodiment, determining whether the switch controller is operating normally at the target power consumption level includes:
[0079] Determine whether the switch controller restarts after operating at the target power consumption level;
[0080] If so, determine that the switch controller is not operating normally at the target power consumption level;
[0081] If not, it is determined that the switch controller is operating normally at the target power consumption level.
[0082] In this embodiment, by determining whether the switch controller restarts, it is judged whether the switch controller is operating normally. Since when the switch controller fails to operate normally, it will perform a restart action itself and can also detect whether a restart action occurs, it is easy to judge the working state of the switch controller. The method of detecting system restart enables the single-phase switch to automatically obtain the best performance for the current load.
[0083] The judgment method of this embodiment is relatively easy to implement, and the judgment result is relatively accurate, improving the reliability of the power consumption level adjustment of the switch controller.
[0084] As a preferred embodiment, while controlling the switch controller to operate at the target power consumption level, it further includes:
[0085] Start a timer to start timing, where the timer restarts timing when the switch controller restarts;
[0086] Judging whether the switch controller restarts after operating at the target power consumption level includes:
[0087] Judging whether the timer reaches a preset time;
[0088] If the timer reaches the preset time, turn off the timer and determine that the switch controller has not restarted after operating at the target power consumption level;
[0089] If the timer does not reach the preset time, it is determined that the switch controller has restarted after operating at the target power consumption level.
[0090] In this embodiment, by setting a timer to judge whether the switch controller restarts, if the switch controller still does not restart after working for a preset time, it means that the switch controller can operate normally at this power consumption level, because if it cannot operate normally, the switch controller will restart within a very short time and the timer will not reach the preset time. When it is determined that the switch controller operates normally, the timer can be turned off, and when the switch controller restarts, the timer also needs to restart timing after the restart. There is no limitation on the timer, which can be a timer inside the switch controller or an external timer, etc.
[0091] This embodiment realizes the judgment of whether the switch controller restarts by setting a timer. The judgment method is relatively easy to implement, and the judgment result is relatively accurate.
[0092] As a preferred embodiment, while controlling the switch controller to operate at the target power consumption level, it further includes:
[0093] Start a counter to count from zero;
[0094] After determining that the switch controller has restarted after operating at the target power consumption level, it further includes:
[0095] Increment the control counter by one;
[0096] Determine whether the count value in the counter has reached a preset number of times;
[0097] If so, determine that the switch controller is not operating properly at the target power consumption level;
[0098] If not, return to the step of determining whether the switch controller has restarted after operating at the target power consumption level.
[0099] The above embodiments do not consider the situation of misoperation of the switch controller. Therefore, in this embodiment, a counter is set up. The counter is used to calculate the number of restarts of the switch controller. When the number of restarts reaches the preset number of times, it is determined that the switch controller is not operating properly. If the preset number of times is not reached, continue to determine whether the switch controller has restarted after operating at the target power consumption level. Counting is performed each time the switch controller is controlled to operate. After determining that the switch controller is not operating properly at the target power consumption level or after controlling the switch controller to operate at the target power consumption level again, the counter can be cleared and wait for the next judgment. There is no limitation on the counter, which can be a counter inside the switch controller or an external counter, etc.
[0100] This embodiment reduces the situation of the power consumption level decreasing caused by the restart of the switch controller due to misoperation and other reasons by setting a counter, and increases the reliability and accuracy of the power consumption level adjustment.
[0101] Please refer to Figure 3 , Figure 3 which is a schematic flowchart of another control method for a single - live - wire switch provided by the present invention. First, the user can manually set the power consumption level of the switch controller to the H level through wireless communication and save it to the memory. Then, start the timer and restart the counter. Determine whether the switch controller has restarted. If it has restarted, increment the count value N of the counter by one and restart the timer. When N is greater than the preset value T, it means that the power consumption level of the switch controller is too high and the switch controller cannot operate properly. Then, lower the power consumption level to the lowest and restart the counter to end this process. If it has not restarted and the timer reaches the preset time, it means that the power consumption level of the switch controller is appropriate and the switch controller can operate properly. Then, maintain the current power consumption level and restart the counter to end this process. If it has not restarted and the timer has not reached the preset time, continue to determine whether the switch controller has restarted.
[0102] Please refer to Figure 4 , Figure 4Schematic flowchart of another control method for a single - live - wire switch provided by the present invention. First, the user activates the adaptive mode. In this mode, the power - consumption level of the switch controller is preset to the highest level D. At this time, the adaptive flag bit S representing the adaptive mode is S = 1. Start the timer and determine whether the switch controller restarts. If it restarts, lower the power - consumption level by one level and restart the timer. If it is not the lowest level at this time, continue to determine whether the switch controller restarts and subsequent steps. If it is already the lowest level, directly clear the adaptive flag bit S = 0 and end this process. If it does not restart and the timer reaches the preset time, it means that the power - consumption level of the switch controller is appropriate and the switch controller can work normally. Then maintain the current power - consumption level and clear the adaptive flag bit S = 0 to end this process. If it does not restart and the timer does not reach the preset time, continue to determine whether the switch controller restarts.
[0103] The present invention also provides a control device for a single - live - wire switch. Please refer to Figure 5 , Figure 5 Schematic structural diagram of a control device for a single - live - wire switch provided by the present invention, including:
[0104] A memory 1 for storing computer programs;
[0105] A processor 2 for implementing the steps of the control method for the single - live - wire switch when executing the computer program.
[0106] It can be understood that if the method in the above - mentioned embodiments is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer - readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods described in various embodiments of the present application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read - only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0107] The specific implementation example is as above and has the same effect as the control method for the single - live - wire switch described above.
[0108] The present invention also provides a single - live - wire switch including the control device for the single - live - wire switch.
[0109] The specific implementation example is as above and has the same effect as the control method for the single - live - wire switch described above.
[0110] In the present specification, the various embodiments are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. For the same or similar parts among the various embodiments, reference can be made to each other. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple. For the relevant parts, reference can be made to the description in the method section.
[0111] The term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the element.
Claims
1. A control method for a single - live - wire switch, characterized in that, Including: Determine the target power consumption level of the switch controller in the single live wire switch; Control the switch controller to operate at the target power consumption level; Judge whether the switch controller is operating normally at the target power consumption level; If so, control the switch controller to keep operating at the target power consumption level; If not, lower the target power consumption level of the switch controller and return to the step of controlling the switch controller to operate at the target power consumption level; The judging whether the switch controller is operating normally at the target power consumption level includes: judging whether the switch controller restarts after operating at the target power consumption level; if so, it is determined that the switch controller is not operating normally at the target power consumption level; if not, it is determined that the switch controller is operating normally at the target power consumption level.
2. The control method of the single live wire switch according to claim 1, characterized in that, Determining the target power consumption level of the switch controller in the single live wire switch includes: Receive the power consumption level instruction sent by the user, where the power consumption level instruction includes information on the target power consumption level; Determine the target power consumption level of the switch controller in the single live wire switch according to the power consumption level instruction.
3. The control method of the single live wire switch according to claim 1, characterized in that, Determining the target power consumption level of the switch controller in the single live wire switch includes: When receiving the instruction of the adaptive adjustment function sent by the user, use the preset power consumption level as the target power consumption level of the switch controller in the single live wire switch.
4. The control method of the single - live - wire switch according to claim 1, characterized in that, Lowering the target power consumption level of the switch controller includes: Lower the target power consumption level of the switch controller by a preset number of power consumption levels.
5. The control method of the single live wire switch according to claim 1, characterized in that, Lowering the target power consumption level of the switch controller includes: Lower the target power consumption level of the switch controller to the lowest power consumption level.
6. The control method of the single live wire switch according to claim 1, characterized in that, While controlling the switch controller to operate at the target power consumption level, it also includes: Start a timer to start timing, where the timer restarts timing when the switch controller restarts; Judging whether the switch controller restarts after operating at the target power consumption level includes: Judge whether the timer reaches the preset time; If the timer reaches the preset time, turn off the timer and determine that the switch controller has not restarted after operating at the target power consumption level; If the timer does not reach the preset time, determine that the switch controller has restarted after operating at the target power consumption level.
7. The control method of the single live wire switch according to claim 1, characterized in that While controlling the switch controller to operate at the target power consumption level, it also includes: Start a counter to count from zero; After determining that the switch controller has restarted after operating at the target power consumption level, it also includes: Control the counter to increment by one; Judge whether the count value in the counter reaches the preset number of times; If so, determine that the switch controller is not operating normally at the target power consumption level; If not, return to the step of judging whether the switch controller restarts after operating at the target power consumption level.
8. A control device for a single live wire switch, characterized in that, Including: A memory for storing a computer program; A processor for implementing the steps of the control method of the single live wire switch according to any one of claims 1 to 7 when executing the computer program.
9. A single live wire switch, including the control device of the single live wire switch according to claim 8.
Citation Information
Patent Citations
Intelligent control method and system for power takeoff
CN114407646A