CN112114525B - Control method with wireless intelligent light resetting function - Google Patents

Control method with wireless intelligent light resetting function Download PDF

Info

Publication number
CN112114525B
CN112114525B CN202010933755.2A CN202010933755A CN112114525B CN 112114525 B CN112114525 B CN 112114525B CN 202010933755 A CN202010933755 A CN 202010933755A CN 112114525 B CN112114525 B CN 112114525B
Authority
CN
China
Prior art keywords
area
mcu
relay
time
scene
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
CN202010933755.2A
Other languages
Chinese (zh)
Other versions
CN112114525A (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.)
Hangzhou Metis Intelligent Technology Co ltd
Original Assignee
Hangzhou Metis Intelligent 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 Hangzhou Metis Intelligent Technology Co ltd filed Critical Hangzhou Metis Intelligent Technology Co ltd
Priority to CN202010933755.2A priority Critical patent/CN112114525B/en
Publication of CN112114525A publication Critical patent/CN112114525A/en
Application granted granted Critical
Publication of CN112114525B publication Critical patent/CN112114525B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Selective Calling Equipment (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

A scene panel with a wireless intelligent light resetting function comprises a shell, an MCU, an indicator light and a relay; the MCU and the indicator lamp are arranged on the shell; the MCU is electrically connected with the control end of the relay; the MCU is electrically connected with the indicator light; when the scene panel is connected with the intelligent lamp, the communication part of the MCU and the driving circuit of the intelligent lamp is connected in a wired or wireless way; the actuating end of the relay is electrically connected with an incoming line terminal of a driving circuit of the intelligent lamp; can switch one or more scenes through setting up a scene panel, control the relay of one or more intelligent lamps, realize not needing intelligent switch board to the one-to-many control of relay and intelligent lamp, practice thrift the cost, beautify the wall.

Description

Control method with wireless intelligent light resetting function
Technical Field
The invention relates to the field of intelligent lamps, in particular to a scene panel with a wireless intelligent light resetting function and a control method.
Background
Along with the popularity of intelligent house theory, the intelligent electrical apparatus in the life increases gradually, and remote operation can even be realized to some intelligent electrical apparatus, but numerous intelligent electrical apparatus need control alone, and is very loaded down with trivial details, has consequently appeared the scene panel. The scene panel can confirm the types and the states of one or more intelligent electric appliances by setting scenes, and can realize the simultaneous control of a plurality of intelligent electric appliances by controlling whether the scenes are started or not; compared with separate and independent control, the control through the scene panel is more convenient.
Common intelligent electrical apparatus includes the intelligent lamp, and the intelligent lamp possesses the function of resetting usually, but the resetting of intelligent lamp is difficult to realize to traditional scene panel. The reset of the intelligent lamp at first needs to be realized by setting the on-off times of the power-on loop of the intelligent lamp, and the traditional method is that an electric worker directly short-circuits and disconnects the wiring of the power-on loop of the intelligent lamp to realize on-off, which is not only inconvenient but also very dangerous. The relay is connected in the power-on loop of the intelligent lamp afterwards, and the intelligent switch board realizes the resetting of the intelligent lamp by directly controlling the on-off of the relay. No matter be traditional short circuit or intelligent switch board, all need control personnel eyes to see the clock and watch, hand is according to certain break-make chronogenesis switch a plurality of times (generally for about 5) intelligent switch board, and the hand-eye cooperation is realized, and inconvenient operation and in case the hand-eye cooperation has a fault, will lead to resetting failure, must come again heavily, wastes time and energy. In addition, the intelligent switch board and the scene panel are mutually independent, and when a plurality of relays are arranged, one or more intelligent switch boards can be arranged, so that the attractiveness of the wall surface is influenced; and when the relay is controlled through the intelligent switch board, the intelligent switch board is easily touched by children or old people, mistaken touch is generated to disconnect the relay, and then the control of the scene panel is disabled. On the other hand, the relay controlled by the intelligent switch board is difficult to determine whether the relay is disconnected or the driving circuit is controlled when the lamp is extinguished. Therefore, a scene panel capable of controlling the on/off of the relay and effectively preventing the false touch is urgently needed.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, and provides a scene panel with a wireless intelligent light resetting function and a control method, which can realize switching control of a plurality of scenes, effectively prevent mistaken touch, and have the advantages of simple structure and convenience in use.
A scene panel with a wireless intelligent light resetting function comprises a shell, an MCU, an indicator light and a relay; the MCU and the indicator lamp are arranged on the shell; the MCU is electrically connected with the control end of the relay; the MCU is electrically connected with the indicator light; when the scene panel is connected with the intelligent lamp, the communication part of the MCU and the driving circuit of the intelligent lamp is connected in a wired or wireless way; the execution end of the relay is electrically connected with the incoming line terminal of the driving circuit of the intelligent lamp.
Further, n +2 areas are distributed ON the shell, n represents the number of scenes and is respectively marked as an "ON" area, an "OFF" area, an "S1" area, an "S2" area, a … and an "Sn" area, wherein the "S1" area, the "S2" area, a … and the "Sn" area respectively correspond to the "S1" scene, the "S2" scene, a … and the "Sn" scene; the n +2 areas of the shell are respectively provided with a key and an indicator light; the reset of the corresponding intelligent lamp is realized by long pressing the 'S1' area, the 'S2' area, the … or the 'Sn' area.
Further, the keys comprise touch sensitive keys and/or micro switches.
A control method with a wireless intelligent light resetting function comprises the following steps:
step 1: an operator controls a scene panel in a contact or non-contact mode;
step 2: the MCU receives the control signal to judge and identify and generates a corresponding operation instruction;
and step 3: the MCU transmits the operation instruction to a driving circuit of a corresponding scene in a wired or wireless mode according to the type of the operation instruction, and transmits the operation instruction to a corresponding relay in a wired mode;
and 4, step 4: the relay and the drive circuit receive the operation instruction in a wired or wireless mode and execute corresponding actions;
the operation instruction in the step 3 comprises a distribution network instruction, a total opening instruction, a total closing instruction, a scene control instruction and a reset instruction.
Further, the distribution network instruction controls all the communication modules to be connected to the network, and the distribution network process includes the following steps:
step 11: the MCU receives a signal for controlling an 'ON' area by an operator;
step 12: the MCU judges whether the long-time pressing time of the 'ON' area reaches a set time t1; if the time meets the set time t1, entering a step 13, otherwise, entering a total closed flow;
step 13: the MCU controls all the communication modules to enter a distribution network state, and an indicator light in an OFF area flickers at least once in a blue-white mode to prompt an operator that the communication modules enter the distribution network state;
step 14: carrying out distribution, judging whether the distribution is successful, and if the distribution is successful, displaying indicator lights ON an 'ON' area, an 'OFF' area, an 'S1' area, an 'S2' area, a … and a 'Sn' area in orange; otherwise, the MCU and the intelligent lamp are kept in the original state.
Furthermore, the total opening instruction controls all relays to be closed, and the relays enter a total closing state to enable the driving circuit to be conducted; the general closing flow of the relay is as follows:
step 21: the MCU receives a signal for controlling an 'ON' area by an operator;
step 22: the MCU judges whether the long-time pressing time of the 'ON' area reaches a set time t1; if the time does not meet the set time t1, entering the step 23; otherwise, entering a distribution network flow;
step 23: and the MCU controls all the relays to be closed, the relays enter a total closed state, and the indicator lights in the 'ON' area are controlled to keep orange after flickering once at least.
Further, the total closing instruction controls all relays to be turned off, the relays enter a total off state, and the total off process of the relays is as follows:
step 31: the MCU receives a signal for controlling an OFF area by an operator;
step 32: the MCU judges whether the long-time pressing time of the OFF area reaches a set time t2; if the time meets the set time t2, entering step 33; otherwise, the MCU and the intelligent lamp keep the original state, and the total disconnection process of the relay is finished;
step 33: the MCU controls all relays to be switched OFF in a wired or wireless mode, the relays enter a total OFF state, and the indicator lights in the OFF area are controlled to be kept white after being flashed at least once in orange white.
Further, the scene control instruction can trigger a corresponding scene; the scene control flow is as follows:
step 41: the MCU receives signals for controlling an S1 area, an S2 area, a … area or a Sn area by an operator;
step 42: the MCU judges whether the long-pressed time of the 'S1' area, the 'S2' area, the … or the 'Sn' area does not reach the set time t3; if the time does not reach the set time t3, the step 43 is entered; otherwise, entering a reset flow;
step 43: the MCU triggers the corresponding intelligent lamp in a wired or wireless mode, and the indicator lamp of the corresponding area in the S1 area, the S2 area, the … or the Sn area keeps orange after flickering at least once in orange.
Further, the reset instruction resets the intelligent lamp; the reset process includes the following steps:
step 51: the MCU receives signals of an operator for operating an 'S1' area, an 'S2' area, a … area or a 'Sn' area;
step 52: the MCU judges whether the long-pressed time of the 'S1' area, the 'S2' area, the … or the 'Sn' area does not reach the set time t3; if the time reaches the set time t3, the step 53 is executed; otherwise, entering a scene control flow;
step 53: the MCU judges whether the relay is in a total closed state or a total open state; if the state is the total closed state, entering step 54; if the state is the total disconnection state, the original state is kept, and the resetting process is ended;
step 54: the MCU controls the on-off of the corresponding relay at least once in a wired or wireless connection mode; in the process of switching on and off the relay, the MCU judges whether the operator quickly and briefly presses the corresponding area twice; if the operator quickly and briefly presses the corresponding area twice in the process of switching on and switching off the relay, the next step is carried out; otherwise, keeping the original state and ending the reset process;
step 55: the relay continues to be switched on and off for a set number of times, and finally the relay keeps the power-on state, so that the resetting of the intelligent lamp is realized;
in the step 54, the quick short pressing twice indicates that the time spent by the operator for pressing the corresponding area twice is less than the set time t4; the corresponding area refers to the same area as the area operated by the operator in step 51.
Further, the contact mode in the step 1 comprises touch and pressing, the touch is induced by a touch induction key, the pressing is realized by a microswitch, and a control signal is generated by a capacitive element or the microswitch; the non-contact mode comprises networking control and infrared control, and the non-contact mode generates a control signal by an external device; and in the step S3, the MCU can control the action of the indicator light on the shell while outputting the operation instruction.
The invention has the beneficial effects that:
one or more scenes can be switched by arranging the scene panel to control the relay of one or more intelligent lamps, one-to-many control of the relay and the intelligent lamps is realized, an intelligent switch board is not needed, the cost is saved, and the wall surface is beautified;
by arranging the indicator light on the shell, the action of the operator or the scene being controlled can be prompted;
the on-off control of the relay is realized through the MCU, the full-on, full-off and resetting can be completed within a few seconds by simple operation, and compared with the method that an intelligent switch board controls the on-off of the relay or personnel directly short-circuit controls the on-off, the on-off control can be greatly simplified and is safer;
in the disconnection process and the reset process of the multi-path relay, long-time pressing operation is required, so that the maintenance and use safety of a scene panel are ensured, the false touch is avoided, the failure of scene control is reduced, and the accuracy of the scene panel is ensured;
through the total opening flow and the total closing flow of the relay, the maintenance and the nursing of the intelligent lamp electrically connected with the relay can be facilitated, an air switch in a distribution box does not need to be operated, the influence of the maintenance of the intelligent lamp on other household electrical appliances can be reduced to the maximum extent while the safety is ensured, and the beneficial effect is very obvious in large houses and villas;
by adding the operation of confirming the reset in the reset process, along with the on-off of the relay, an operator can observe the on-off of the indicator lamp in the corresponding area and can also observe the state change of the corresponding intelligent lamp, so that the operator can timely find and stop the intelligent lamp with the reset error, and the error touch is avoided;
drawings
Fig. 1 is a block diagram of a closing process of a distribution network and four relays according to a first embodiment of the present invention;
fig. 2 is a block diagram of a disconnection process of a four-way relay according to a first embodiment of the present invention;
fig. 3 is a block diagram of a scenario control and reset process according to a first embodiment of the present invention.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
The first embodiment is as follows:
a scene panel with a wireless intelligent light resetting function comprises a shell, a MCU, an indicator light and a relay. The MCU and the indicator light are arranged on the shell, and the shell is embedded in the wall body during installation; the MCU is electrically connected with the control end of the relay; the MCU is electrically connected with the indicator lamp, and the indicator lamp indicates the operation of the scene panel. When scene panel and intelligent lamp erection joint, the executive end of relay and drive circuit's inlet wire end electric connection, the break-make of drive circuit inlet wire end can be controlled to the relay, and then realizes the reset and the maintenance of intelligent lamp. The intelligent lamp is electrically connected with the output end of the driving circuit; the communication part of the MCU and the driving circuit of the intelligent lamp is connected in a wired or wireless way, the MCU can control the driving circuit, and the driving circuit can control the intelligent lamp; the driving circuit can control the intelligent lamp to change color temperature, tone, brightness and the like.
The shell is a partially semitransparent shell, and light rays of the indicator light can penetrate through the shell to be displayed. In this embodiment, six areas are distributed ON the shell, and are respectively marked as an "ON" area, an "OFF" area, an "S1" area, an "S2" area, a …, and a "Sn" area, where n represents the number of scenes, and n is 4 in this embodiment, it should be noted that each of the scenes corresponding to each area ON the shell does not need to be set, and the setting is performed according to actual requirements. The six areas of the shell are respectively provided with a key, the keys are used for receiving signals of corresponding areas on the shell contacted or pressed by an operator, the keys comprise touch sensing keys and/or microswitches, and the touch sensing keys are realized by means of capacitance elements. The "S1" area, the "S2" area, the "S3" area, and the "S4" area respectively correspond to four scenes, which are respectively an "S1" scene, an "S2" scene, an "S3" scene, and an "S4" scene. In this embodiment, the scene is the type and state of the intelligent electrical appliance; in one scenario, control of the smart lights may not be included, or control of one or more smart lights may be included.
The MCU is provided with a communication module, the communication module comprises wired communication and wireless communication, and the wireless communication comprises a WiFi module, a ZigBee module, a Bluetooth module and the like. The MCU can be connected into a network through wireless communication, and the driving circuit is also provided with a communication module which can be connected into the network, so that the wireless connection between the MCU and the driving circuit is realized. The wireless communication device further comprises an infrared module, a remote controller is arranged corresponding to the infrared module, and the MCU can be wirelessly remotely controlled through the remote controller. In this embodiment, the MCU is wired to the relay.
The pilot lamp is energy-saving LED lamp pearl, includes the pilot lamp of three kinds of colours in this embodiment for distinguish the different operations of scene panel. The indicator light can be the changeable LED lamp pearl of colour, also can adopt the LED lamp pearl of a plurality of different colours. The indicator lights are respectively arranged in six areas on the shell.
The relay and the intelligent lamp are respectively electrically connected with the driving circuit, share an S1 region, an S2 region, an S3 region and an S4 region in the embodiment, and are correspondingly provided with four paths of relays. In this embodiment, the control terminal of the relay is electrically connected to the MCU. The output end of the driving circuit is electrically connected with the intelligent lamp to realize power supply to the intelligent lamp; the incoming line end of the driving circuit can be connected with commercial power, and also can be connected with a power supply or a standby power supply. The driving circuit can realize accurate control on the intelligent lamp, and the control comprises the control of the color temperature, the tone, the brightness and other changes of the intelligent lamp. In this embodiment, the driving circuit is also provided with a communication module, and the driving circuit is connected to the network through the communication module, so as to realize network identification and connection between the MCU and the driving circuit.
In the embodiment, the on-off of the relay corresponding to the area can be realized by pressing the area S1, the area S2, the area S3 or the area S4 too long, so that the resetting of the intelligent lamp electrically connected with the relay is realized, wherein the connection relationship between the relay and the intelligent lamp is determined when the intelligent lamp is installed, and one relay is connected with one or more intelligent lamps; and setting a confirmation step in the resetting process, wherein the confirmation step comprises quickly pressing the corresponding area twice, and continuing the resetting process after the confirmation is passed until the resetting is completed.
In the embodiment, the MCU is also associated with app software, the intelligent electrical appliances are identified and added in the network through the app software, and the scene is set, so that the remote networking control of the scene can be realized after the intelligent electrical appliances are identified and added in the network through the app software.
A control method with a wireless intelligent light resetting function based on the scene panel comprises the following steps:
step 1: an operator controls a scene panel in a contact or non-contact mode;
step 2: the MCU receives the control signal to judge and identify and generates a corresponding operation instruction;
and step 3: the MCU transmits the operation instruction to a driving circuit of a corresponding scene in a wired or wireless mode according to the type of the operation instruction, and transmits the operation instruction to a corresponding relay in a wired mode;
and 4, step 4: the relay and the drive circuit receive the operation instruction in a wired or wireless mode and execute corresponding actions.
The contact mode in the step 1 comprises touch and pressing, and the contact mode is sensed by a capacitance element or a microswitch and generates a control signal to be transmitted to the MCU; the non-contact mode comprises networking control and infrared control, the non-contact mode is that an external device generates a control signal and transmits the control signal to the MCU, and the external device comprises a mobile phone, a remote controller and the like.
In the embodiment, at most five types of operation instructions can be generated according to the operation mode of the operator. The system comprises a distribution network command, a total opening command, a total closing command, a scene control command and a resetting command which respectively correspond to a distribution network flow, a total closing flow, a total opening flow, a scene control flow and a resetting flow.
As shown in fig. 1, the distribution network instruction can control the MCU and the communication module of the driving circuit to access the network, and in this embodiment, the distribution network instruction controls the MCU and the wireless communication module of the driving circuit to access the network; the distribution network process comprises the following steps:
step 11: the MCU receives a signal for controlling an 'ON' area by an operator;
step 12: the MCU judges whether the long-time pressing time of the 'ON' area reaches a set time t1, which is 10s in the embodiment; if the time meets the set time t1, which is 10s in the embodiment, the step 13 is executed, otherwise, the total closed flow is executed;
step 13: the MCU controls all the wireless communication modules to enter a distribution network state, and the indicator light in the OFF region blinks blue and white for three times to prompt an operator to enter the distribution network state;
step 14: carrying out distribution, judging whether the distribution is successful, and if the distribution is successful, displaying the indicator lamps ON an 'ON' area, an 'OFF' area, an 'S1' area, an 'S2' area, an 'S3' area and an 'S4' area in orange; otherwise, the MCU and the intelligent lamp are kept in the original state.
The MCU and the drive circuit are not connected with the network, and when the MCU and the drive circuit are not in the distribution network state, the indicator lamp in the OFF area is blue and is normally on.
The total opening instruction can control all relays electrically connected with the MCU to be closed, in the embodiment, the four regions correspond to four relays in the region of S1, S2, S3 and S4 on the shell, the relays enter a total closing state to enable the driving circuit to be switched on, and the total closing flow of the relays is as follows:
step 21: the MCU receives a signal for controlling an 'ON' area by an operator;
step 22: the MCU judges whether the long-time pressing time of the 'ON' area reaches a set time t1, which is 10s in the embodiment; if the time does not meet the set time t1, 10s in the present embodiment, step 23 is entered; otherwise, entering a distribution network flow;
step 23: the MCU controls the four paths of relays to be closed in a wired or wireless mode, the relays enter a total closed state, and the indicator lights in the 'ON' area are controlled to flicker orange and white for three times and then keep orange.
As shown in fig. 2, the total closing instruction can control the four-way relay to be turned off, the relay enters a total off state, and the total off flow of the relay is as follows:
step 31: the MCU receives a signal for controlling an OFF area by an operator;
step 32: the MCU judges whether the long-time pressing time of the OFF area reaches a set time t2 which is 5s in the embodiment; if the time satisfies the set time t2, which is 5s in the present embodiment, the process proceeds to step 33; otherwise, the MCU and the intelligent lamp keep the original state, and the total disconnection process of the relay is finished;
step 33: the MCU controls the four paths of relays to be disconnected in a wired or wireless mode, the relays enter a total disconnection state, and the indicating lamps in the OFF area are controlled to flicker orange and white for three times and then keep white.
As shown in fig. 3, the scene control instruction can trigger a corresponding scene, for example, the scene control instruction "S1" can trigger an intelligent electrical appliance corresponding to the scene "S1". The scene control flow is as follows:
step 41: the MCU receives signals for controlling an S1 region, an S2 region, an S3 region or an S4 region by an operator;
step 42: the MCU determines whether the long-pressed time of the "S1" region, the "S2" region, the "S3" region or the "S4" region is less than the set time t3, which is 5S in this embodiment; if the time does not reach the set time t3, which is 5s in the present embodiment, the step 43 is entered; otherwise, entering a reset flow;
step 43: the MCU triggers the corresponding scene in a wired or wireless mode, and the orange is kept after the indicator lamps of the corresponding areas in the areas S1, S2, S3 and S4 are flashed orange and white for three times.
It should be noted that the type and state of the intelligent electrical appliance in the scene can be changed by editing, for example, the scene "S1" is set by editing to turn on the intelligent lamp in the bathroom, turn on the water heater, and the like. There may be no smart lights in the scene.
The reset instruction can control the intelligent lamp connected with the relay to reset, and the intelligent lamp after being reset is wirelessly connected with the MCU. The reset process includes the following steps:
step 51: the MCU receives signals of operating an S1 region, an S2 region, an S3 region or an S4 region by an operator;
step 52: the MCU determines whether the long-pressed time of the "S1" region, the "S2" region, the "S3" region or the "S4" region is less than the set time t3, which is 5S in this embodiment; if the time reaches the set time t3, which is 5s in the present embodiment, the step 53 is entered; otherwise, entering a scene control flow;
step 53: the MCU judges whether the relay is in a total closed state or a total open state; if the relay is in the total closed state, then step 54 is entered; if the relay is in a total disconnection state, the original state is kept, and the resetting process is ended;
step 54: the MCU controls the on-off of the corresponding relay three times in a wired or wireless connection mode; in the process of switching on and off the relay for three times, the MCU judges whether the operator quickly and briefly presses the corresponding area for two times; if the operator quickly and briefly presses the corresponding area twice in the process of switching on and switching off the relay three times, the next step is carried out; otherwise, keeping the original state and ending the reset process;
step 55: the relay is continuously switched on and off twice, and finally the relay keeps the power-on state, so that the resetting of the intelligent lamp is realized.
The relay corresponding to the step 54 is a relay corresponding to the area controlled by the operator in the step 51, it should be noted that the "S1" area, "S2" area, "S3" area, and "S4" area on the housing are all connected to the relay when the relay is mounted again, the actuating terminal of the relay is electrically connected to the power input terminal of the driving circuit of the intelligent lamp, and the relationship between the relay and the intelligent lamp is determined when the relay and the intelligent lamp are mounted. The corresponding region refers to the same region as the region operated by the operator in step 51. The quick short pressing twice indicates that the time spent by the operator pressing the corresponding region is less than the set time t4, which is 3s in this embodiment. The on-off of the relay in the resetting process refers to that the MCU controls the relay to be closed for 2s and to be opened for 8s; and when the relay is switched on and off, the indicator lamps in the corresponding areas alternate with orange-white light, wherein the white color is 2s, and the orange color is 8s.
It should be noted that in this embodiment, the driving circuit of the smart lamp needs to be continuously turned on and off five times to achieve resetting, and in some other embodiments, the driving circuit also needs to be turned on and off four times or three times to achieve resetting.
In the implementation process, an operator can control the on-off state of the relays through the scene panel to control one or more relays without using an intelligent switch board; in the disconnection process and the reset process of the four-way relay, the operation of disconnecting the relay requires that an operator presses the corresponding area for a long time, so that the error touch is avoided, and because the intelligent lamp controlled by the traditional scene panel is turned off, the intelligent lamp controlled by the driving circuit or the intelligent lamp controlled by the relay is turned off is difficult to be accurately judged; in addition, in the resetting process, because the connection relation between the relay and the intelligent lamp is already determined during installation and is difficult to change, the connection relation needs to be observed firstly, along with the on-off of the relay, an operator can observe the state change of the corresponding intelligent lamp so as to determine whether the relay connected with the area on the shell corresponds to the intelligent lamp which is expected to be reset or not, if the operator finds the resetting error at the moment, the relay can be stopped in time, and the mistaken touch is avoided.
The above description is only one specific example of the present invention and should not be construed as limiting the invention in any way. It will be apparent to persons skilled in the relevant art(s) that, having the benefit of this disclosure and its principles, various modifications and changes in form and detail can be made without departing from the principles and structures of the invention, which are, however, encompassed by the appended claims.

Claims (5)

1. A control method with a wireless intelligent light resetting function is characterized by being applied to a scene panel with a wireless intelligent light resetting function, wherein the scene panel comprises a shell, an MCU, an indicator light and a relay; the MCU and the indicator lamp are arranged on the shell; the MCU is electrically connected with the control end of the relay; the MCU is electrically connected with the indicator light; when the scene panel is connected with the intelligent lamp, the communication part of the MCU and the driving circuit of the intelligent lamp is connected in a wired or wireless way; the execution end of the relay is electrically connected with an incoming line terminal of a driving circuit of the intelligent lamp, the shell is a partially semitransparent shell, light rays of the indicating lamp can penetrate through the shell to be displayed, n +2 areas are distributed ON the shell, n represents the number of scenes and is respectively marked as an 'ON' area, an 'OFF' area, an 'S1' area, an 'S2' area, a … and an 'Sn' area, wherein the 'S1' area, the 'S2' area, the … and the 'Sn' area respectively correspond to an 'S1' scene, an 'S2' scene, a … and an 'Sn' scene; the n +2 areas of the shell are respectively provided with a key and an indicator light; the method comprises the following steps that an S1 area, an S2 area, a … area or a Sn area are required to be pressed for a long time to reset a corresponding intelligent lamp, a communication module is arranged on an MCU and comprises wired communication and wireless communication, the wireless communication comprises a WiFi module, a ZigBee module and a Bluetooth module, the MCU can be connected into a network through wireless communication, a communication module is also arranged on a driving circuit and can be connected into the network to further realize wireless connection between the MCU and the driving circuit, and a key comprises a touch induction key and/or a microswitch;
the control method comprises the following steps:
step 1: an operator controls a scene panel in a contact or non-contact mode;
step 2: the MCU receives the control signal to judge and identify and generates a corresponding operation instruction;
and step 3: the MCU transmits the operation instruction to a driving circuit of a corresponding scene in a wired or wireless mode according to the type of the operation instruction, and transmits the operation instruction to a corresponding relay in a wired mode;
and 4, step 4: the relay and the drive circuit receive the operation instruction in a wired or wireless mode and execute corresponding actions;
the operation instruction in the step 3 comprises a distribution network instruction, a total opening instruction, a total closing instruction, a scene control instruction and a reset instruction;
the scene control instruction can trigger a corresponding scene; the scene control flow is as follows:
step 41: the MCU receives signals for controlling an S1 area, an S2 area, a … area or a Sn area by an operator;
step 42: the MCU judges whether the long-pressed time of the 'S1' area, the 'S2' area, the … or the 'Sn' area does not reach the set time t3; if the time does not reach the set time t3, the step 43 is entered; otherwise, entering a reset flow;
step 43: the MCU triggers the corresponding intelligent lamp in a wired or wireless mode, and the indicator lamp in the corresponding area in the S1 area, the S2 area, the … or the Sn area keeps orange after flickering for at least one time;
the reset instruction resets the intelligent lamp; the reset process comprises the following steps:
step 51: the MCU receives signals of an operator for operating an 'S1' area, an 'S2' area, a … area or a 'Sn' area;
step 52: the MCU judges whether the long-time pressing time of the 'S1' area, the 'S2' area, the … or the 'Sn' area does not reach the set time t3; if the time reaches the set time t3, the step 53 is executed; otherwise, entering a scene control flow;
step 53: the MCU judges whether the relay is in a total closed state or a total open state; if the state is the total closed state, entering step 54; if the state is the total disconnection state, the original state is kept, and the resetting process is ended;
step 54: the MCU controls the on-off of the corresponding relay at least once through a wired or wireless connection mode; in the process of switching on and off the relay, the MCU judges whether the operator quickly and briefly presses the corresponding area twice; if the operator quickly and briefly presses the corresponding area twice in the process of switching on and switching off the relay, the next step is carried out; otherwise, keeping the original state and ending the reset process;
step 55: the relay continues to be switched on and off for a set number of times, and finally the relay keeps the power-on state, so that the resetting of the intelligent lamp is realized;
the step 54 of quickly pressing twice indicates that the time spent by the operator for pressing the corresponding area twice is less than the set time t4; the corresponding area refers to the same area as the area operated by the operator in step 51.
2. The control method with the function of resetting the wireless intelligent light as claimed in claim 1, wherein the distribution network command controls all the communication modules to be connected into the network, and the distribution network process comprises the following steps:
step 11: the MCU receives a signal for controlling an 'ON' area by an operator;
step 12: the MCU judges whether the long-time pressing time of the 'ON' area reaches a set time t1; if the time meets the set time t1, entering a step 13, otherwise, entering a total closed flow;
step 13: the MCU controls all the communication modules to enter a distribution network state, and an indicator light in an OFF area flickers at least once in a blue-white mode to prompt an operator that the communication modules enter the distribution network state;
step 14: carrying out distribution, judging whether the distribution is successful, and if the distribution is successful, displaying indicator lights ON an 'ON' area, an 'OFF' area, an 'S1' area, an 'S2' area, a … and a 'Sn' area in orange; otherwise, the MCU and the intelligent lamp are kept in the original state.
3. The control method with the function of resetting the wireless intelligent light according to claim 1, wherein the total opening instruction controls all relays to be closed, and the relays enter a total closing state to enable a driving circuit to be conducted; the general closing flow of the relay is as follows:
step 21: the MCU receives a signal for controlling an 'ON' area by an operator;
step 22: the MCU judges whether the long-time pressing time of the 'ON' area reaches a set time t1; if the time does not meet the set time t1, entering the step 23; otherwise, entering a distribution network flow;
step 23: the MCU controls all the relays to be closed, the relays enter a total closed state, and the relays are controlled to be ON "
The indicator lights of the zones remain orange after flashing at least once with an orange-white color.
4. The control method with the function of resetting the wireless intelligent light as claimed in claim 1, wherein the total closing instruction controls all relays to be opened, the relays enter a total opening state, and the total opening process of the relays is as follows:
step 31: the MCU receives a signal for controlling an OFF area by an operator;
step 32: the MCU judges whether the long-pressed time of the OFF area reaches the set time t2 or not; if the time meets the set time t2, entering the step 33; otherwise, the MCU and the intelligent lamp keep the original state, and the total disconnection process of the relay is finished;
step 33: the MCU controls all relays to be switched OFF in a wired or wireless mode, the relays enter a total OFF state, and the indicator lights in the OFF area are controlled to be kept white after being flashed at least once in orange white.
5. The control method with the function of resetting the wireless intelligent light according to claim 1, wherein the contact mode in the step 1 comprises touch and pressing, the touch is sensed by a touch sensing key, the pressing is realized by a microswitch, and a control signal is generated by a capacitive element or the microswitch; the non-contact mode comprises networking control and infrared control, and the non-contact mode generates a control signal by an external device; and in the step 3, the MCU can also control the action of the indicator light on the shell while outputting the operation instruction.
CN202010933755.2A 2020-09-08 2020-09-08 Control method with wireless intelligent light resetting function Active CN112114525B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010933755.2A CN112114525B (en) 2020-09-08 2020-09-08 Control method with wireless intelligent light resetting function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010933755.2A CN112114525B (en) 2020-09-08 2020-09-08 Control method with wireless intelligent light resetting function

Publications (2)

Publication Number Publication Date
CN112114525A CN112114525A (en) 2020-12-22
CN112114525B true CN112114525B (en) 2022-12-23

Family

ID=73802707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010933755.2A Active CN112114525B (en) 2020-09-08 2020-09-08 Control method with wireless intelligent light resetting function

Country Status (1)

Country Link
CN (1) CN112114525B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112696648B (en) * 2020-12-28 2022-08-23 欧普照明股份有限公司 Switch control panel and pairing method of switch control panel and lamp

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508480A (en) * 2011-11-17 2012-06-20 福州市光速达智能电子有限公司 Intelligent touch screen switch
CN105911919A (en) * 2016-06-14 2016-08-31 南京荟学智能科技有限公司 Wireless touch control panel based on ZigBee
CN206118146U (en) * 2016-11-08 2017-04-19 深圳市莱福德光电有限公司 Sight device of adjusting luminance
CN106507568A (en) * 2016-11-08 2017-03-15 深圳市莱福德光电有限公司 Scene light-dimming method and device
CN208175067U (en) * 2018-03-02 2018-11-30 佛山市宝瑞通光电科技有限公司 A kind of intelligent dimming touch panel
CN209824083U (en) * 2019-01-26 2019-12-20 广州景晴光电科技有限公司 Touch glass panel compatible with multiple LED light types

Also Published As

Publication number Publication date
CN112114525A (en) 2020-12-22

Similar Documents

Publication Publication Date Title
CN104054153B (en) Method And Apparatus For Switching On-off A Group Or All Lights Or Appliances Of Premises
US6385495B1 (en) Automation system and method for the programming thereof
US9946230B2 (en) Automated load control system and method
CN108139716A (en) The touch light modulation Lighting control of multi input
GB2533646A (en) System and method for controlling energy consuming devices within a building
CN112696648B (en) Switch control panel and pairing method of switch control panel and lamp
CN105263233A (en) Intelligent lamplight control system based on WIFI and control method
CN112114525B (en) Control method with wireless intelligent light resetting function
CN105785787A (en) Smart electric appliance integrated control method and smart electric appliance integrated control system for smart home
CN209930576U (en) Multi-partition LED controller
CN205566758U (en) Lighting control device of single live wire mode
CN212060941U (en) Automatic control equipment
CN204807967U (en) Take measurable intelligent control circuit of WIFI function
CN217847741U (en) Switch panel
CN110764426B (en) Switch and switch system
CN109347470B (en) Internet of things touch duplex switch system with disconnection state indication
CN211152289U (en) Intelligent lighting control device and system
CN106970571B (en) Linkage switch panel control system
CN109343597B (en) Low-voltage large-current heating controller
CN114005690A (en) Key control method and circuit
CN205827228U (en) Multifunctional intellectual house control system
CN105552771A (en) Intelligent remote control panel for power distribution terminal equipment and control method thereof
CN114415531A (en) Intelligent household control panel and function allocation method thereof
AU2017203428A1 (en) A Non-Essential Circuit Switch System
JPS61141008A (en) Concentrated monitor and control equipment

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