CN111642045A - Intelligent controller and control method thereof - Google Patents

Intelligent controller and control method thereof Download PDF

Info

Publication number
CN111642045A
CN111642045A CN202010477898.7A CN202010477898A CN111642045A CN 111642045 A CN111642045 A CN 111642045A CN 202010477898 A CN202010477898 A CN 202010477898A CN 111642045 A CN111642045 A CN 111642045A
Authority
CN
China
Prior art keywords
touch
module
signal
intelligent controller
lighting
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.)
Pending
Application number
CN202010477898.7A
Other languages
Chinese (zh)
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.)
Enno Electronics Co ltd
Original Assignee
Enno Electronics 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 Enno Electronics Co ltd filed Critical Enno Electronics Co ltd
Priority to CN202010477898.7A priority Critical patent/CN111642045A/en
Publication of CN111642045A publication Critical patent/CN111642045A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • H05B47/19Controlling the light source by remote control via wireless transmission
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention provides an intelligent controller and a control method thereof, wherein the intelligent controller comprises: when a touch signal is sensed, the touch signal is sent to a touch sensing switch module of the processing control module, and the touch signal is generated by an external user touching any part of a touch sensing panel included in the touch sensing switch module; the communication interface module is connected with at least two external lighting devices; the processing control module configures the association relationship between the touch sensing panel and at least two first lighting devices according to externally input configuration information, and inquires the on-off state of the lighting devices associated with the touch sensing panel through the communication interface module when the received touch signal is an effective touch signal; and when the on-off states of the first lighting equipment are all off, controlling the first lighting equipment to be all on, otherwise, controlling the first lighting equipment to be all off. This scheme can convenience of customers realize opening or closing of a plurality of lighting apparatus simultaneously, and user experience is better.

Description

Intelligent controller and control method thereof
Technical Field
The invention relates to the technical field of computers, in particular to an intelligent controller and a control method thereof.
Background
The lighting equipment is a necessary electrical appliance commonly used in a home, and a plurality of lighting equipment can exist in the home environment. After the user returns home, it is common to first turn on several lights.
At present, the same position can be used, for example, a plurality of switch buttons are arranged at a door opening of a room, and different switch buttons are used for controlling different lighting equipment. Therefore, when the user needs to turn on the lighting equipment after returning home, the user only needs to press the corresponding switch buttons respectively. Similarly, when the light devices need to be turned off, the corresponding switch buttons can be pressed again respectively.
However, to turn on or off a plurality of lighting devices, the user needs to press the switch button a plurality of times, which makes the user experience poor.
Disclosure of Invention
The invention provides an intelligent controller and a control method thereof, which can facilitate a user to simultaneously realize the opening or closing of a plurality of lighting devices and have better user experience.
In order to achieve the purpose, the invention is realized by the following technical scheme:
in a first aspect, the present invention provides an intelligent controller comprising: the touch sensing switch module, the communication interface module and the processing control module;
the touch sensing switch module comprises a touch sensing panel;
the touch sensing switch module is used for sending a touch signal to the processing control module when the touch sensing switch module senses the touch signal, wherein the touch signal is generated by an external user touching any part of the touch sensing panel;
the communication interface module is used for connecting with at least two external lighting devices so as to enable each lighting device to be connected into the intelligent controller;
the processing control module is used for configuring the association relationship between the touch sensing panel and at least two first lighting devices according to configuration information input from the outside, wherein the at least two lighting devices comprise the at least two first lighting devices; receiving a touch signal sent by the touch sensing switch module; when the received touch signal is an effective touch signal, inquiring the on-off state of first lighting equipment associated with the touch sensing panel through the communication interface module; when the on-off state of each first lighting device is off, each first lighting device is controlled to be on through the communication interface module; and when the on-off state of at least one first lighting device is on, controlling each first lighting device to be off through the communication interface module.
Further, the processing control module is configured to, when the touch signal is received, determine whether a time difference between the current time and the last time when the effective touch signal is received is not less than a preset time threshold according to the current time and the time when the effective touch signal is received last time, and if so, determine that the received touch signal is the effective touch signal.
Further, the touch-sensitive panel includes a metal key sheet;
wherein an outer surface of the metal key sheet is positioned on the front panel of the intelligent controller, so that an external user can touch any part of the outer surface;
a capacitance of the metal key sheet that changes when an external user touches the outer surface and changes when the external user releases the touch of the outer surface;
the touch sensing switch module is used for monitoring the capacitance change condition of the metal key-press plate; determining that a touch signal is sensed when the monitored change in capacitance is indicative of an external user touching the external surface.
Further, the touch sensing panel includes: a metal key board provided with metal screw holes;
the touch-sensitive switch module further includes: a metal screw, a PCB (printed circuit Board) designed with a metal via pad, a touch detection IC (integrated circuit) unit, and an ESD (Electro-Static discharge) electrostatic protection electronic device;
wherein the metal screw passes through the metal through-hole pad and is screwed into the metal screw hole, so that three metal conductors of the metal screw, the metal through-hole pad and the metal screw hole are in contact with each other and are electrically connected;
the ESD electrostatic protection electronic device is connected between the metal through hole welding disc and the touch control detection IC unit through a circuit board lead on the PCB;
the touch detection IC unit is connected with the metal through hole welding disc through a circuit board lead on the PCB;
the touch control detection IC unit is connected with the processing control module through a circuit;
when an external user touches the metal key board, the capacitance value of the metal key board changes, charges on the metal key board are transferred, and changed electric signals are transmitted to the touch detection IC unit through the metal screws, the metal through hole bonding pads and circuit board leads on the PCB in sequence;
the touch detection IC unit is used for scanning and detecting capacitance charge change of the signal receiving end in real time and determining that a touch signal is sensed when the variation of the electric signal is detected to reach a preset threshold value.
Further, the intelligent controller further comprises: a display module;
the display screen of the display module is positioned on the front panel of the intelligent controller;
the display screen and the touch sensing panel are distributed on the front panel of the intelligent controller in a left-right mode;
the processing control module is used for sending a first control instruction for controlling the starting of each first lighting device to the communication interface module when the switching state of at least one first lighting device is found to be off; when the on-off state of at least one first lighting device is inquired to be on, sending a second control instruction for controlling each first lighting device to be off to the communication interface module; the on-off state information of the lighting equipment sent by the communication interface module is forwarded to the display module;
the communication interface module is used for sending a starting control signal to the corresponding lighting equipment when receiving the first control instruction, and forwarding the switch state information fed back by the corresponding lighting equipment to the processing control module; when the second control instruction is received, a closing control signal is sent to the corresponding lighting equipment, and the switch state information fed back by the corresponding lighting equipment is forwarded to the processing control module;
and the display module is used for graphically displaying the on-off state information of the lighting equipment sent by the processing control module.
Further, the display module includes: the touch display screen module;
the communication interface module is used for connecting with at least two external controllable devices so as to enable each controllable device to be accessed into the intelligent controller;
the processing control module is configured to configure at least one scene item according to configuration information input from the outside, where each scene item is associated with at least two controllable devices, each scene item is configured with device control parameters of each associated controllable device, and the controllable devices and/or the device control parameters associated with different scene items are not completely the same; when a starting request aiming at any scene item sent by the display module is received, according to the configured device control parameters of each controllable device associated with the scene item, each controllable device associated with the scene item is correspondingly controlled through the communication interface module;
the display module is used for displaying each scene item configured by the processing control module through a graphical menu; and receiving a starting request which is input by an external user through the touch display screen module and aims at any displayed scene item, and sending the starting request to the processing control module.
Further, the display module further includes: the connector is connected with the touch display screen module;
wherein a first pin of the connector is connected with a CTP _ RST _ N control signal, and the other end of the CTP _ RST _ N control signal is connected with the processing control module;
the second pin of the connector is connected with a 3.3V power supply network;
a third pin of the connector is grounded;
a fourth pin of said connector is connected to a CTP _ INT control signal, and another terminal of said CTP _ INT control signal is connected to said process control module;
a fifth pin of the connector connects a CTP _ SDA data signal line in an I2C bus, and the other end of the CTP _ SDA data signal line terminates the processing control module;
a sixth pin of the connector is connected to a CTP _ SCL clock signal line in an I2C bus, and the other end of the CTP _ SCL clock signal line is connected to the processing control module;
the processing control module is used for acquiring touch position data of an external user on the touch display screen module through the CTP _ SDA data signal line and the CTP _ SCL clock signal line; and controlling the touch display screen module to work through the CTP _ RST _ N control signal and the CTP _ INT control signal.
In a second aspect, the present invention provides an intelligent control method, applied to the intelligent controller of any one of the above first aspects,
connecting at least two external lighting devices into the intelligent controller;
configuring an incidence relation between a touch sensing panel of the intelligent controller and at least two first lighting devices according to configuration information input from the outside, wherein the at least two lighting devices comprise the at least two first lighting devices;
further comprising:
when a touch signal is sensed, continuing the current process, wherein the touch signal is generated by an external user touching any part of the touch sensing panel;
when the sensed touch signal is a valid touch signal, inquiring the on-off state of first lighting equipment associated with the touch sensing panel;
when the on-off state of each first lighting device is off, controlling each first lighting device to be on;
and when the on-off state of at least one first lighting device is inquired to be on, controlling each first lighting device to be off.
In a third aspect, the present invention provides a memory controller comprising: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine-readable program to perform the method of the second aspect.
In a fourth aspect, the present invention provides a computer readable medium having stored thereon computer instructions which, when executed by a processor, cause the processor to perform the method of the second aspect described above.
The invention provides an intelligent controller and a control method thereof, wherein the intelligent controller comprises: when a touch signal is sensed, the touch signal is sent to a touch sensing switch module of the processing control module, and the touch signal is generated by an external user touching any part of a touch sensing panel included in the touch sensing switch module; the communication interface module is connected with at least two external lighting devices; the processing control module configures the association relationship between the touch sensing panel and at least two first lighting devices according to externally input configuration information, and inquires the on-off state of the lighting devices associated with the touch sensing panel through the communication interface module when the received touch signal is an effective touch signal; and when the on-off states of the first lighting equipment are all off, controlling the first lighting equipment to be all on, otherwise, controlling the first lighting equipment to be all off. The invention can facilitate the user to simultaneously realize the opening or closing of a plurality of lighting devices, and the user experience is better.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic diagram of an intelligent controller according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of another intelligent controller provided by an embodiment of the present invention;
fig. 3 is a schematic diagram of a touch-sensitive switch module according to an embodiment of the present invention;
FIG. 4 is a schematic view of a connector according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another intelligent controller provided by an embodiment of the invention;
fig. 6 is a schematic diagram of an RS485 transceiver circuit according to an embodiment of the invention;
FIG. 7 is a diagram of a power conversion module and a power management module according to an embodiment of the invention;
fig. 8 is a flowchart of an intelligent control method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides an intelligent controller, which may include: the system comprises a touch sensing switch module 101, a communication interface module 102 and a processing control module 103;
wherein the touch-sensitive switch module 101 includes a touch-sensitive panel;
the touch sensing switch module 101 is configured to send a touch signal to the processing control module 103 when the touch signal is sensed, where the touch signal is generated by an external user touching any part of the touch sensing panel;
the communication interface module 102 is configured to connect to at least two external lighting devices, so that each lighting device is connected to the intelligent controller;
the processing control module 103 is configured to configure an association relationship between the touch sensing panel and at least two first lighting devices according to configuration information input from the outside, where the at least two lighting devices include the at least two first lighting devices; receiving a touch signal sent by the touch sensing switch module 101; when the received touch signal is an effective touch signal, inquiring the on-off state of the first lighting equipment associated with the touch sensing panel through the communication interface module 102; when the on-off state of each first lighting device is off, the communication interface module 102 controls each first lighting device to be on; when the on-off state of at least one first lighting device is on, the communication interface module 102 controls each first lighting device to be off.
The intelligent controller provided by the embodiment of the invention comprises: when a touch signal is sensed, the touch signal is sent to a touch sensing switch module of the processing control module, and the touch signal is generated by an external user touching any part of a touch sensing panel included in the touch sensing switch module; the communication interface module is connected with at least two external lighting devices; the processing control module configures the association relationship between the touch sensing panel and at least two first lighting devices according to externally input configuration information, and inquires the on-off state of the lighting devices associated with the touch sensing panel through the communication interface module when the received touch signal is an effective touch signal; and when the on-off states of the first lighting equipment are all off, controlling the first lighting equipment to be all on, otherwise, controlling the first lighting equipment to be all off. The embodiment of the invention can facilitate the user to simultaneously realize the opening or closing of a plurality of lighting devices, and the user experience is better.
In the embodiment of the invention, when a user needs to control a plurality of lighting devices at the same time, the association relationship between the lighting devices and the touch sensing panel can be configured in advance. Of course, the association relationship can be changed according to the user's requirement. In general, corresponding configuration information can be input as required to update and replace the association relationship of the current configuration.
In order to realize the unified control of the lighting devices based on the touch sensing panel, the lighting devices should be connected to the intelligent controller (or called intelligent control panel) in advance, and particularly, the device connection can be realized through a communication interface module on the intelligent controller. As such, the light devices associated with the touch sensitive panel may be part or all of a plurality of light devices that are interfaced into the intelligent controller.
In order to realize the on-off control of a plurality of lighting devices, in the embodiment of the invention, a user only needs to touch any part of the touch sensing panel, which is different from the conventional realization mode of pressing a corresponding switch button. Generally, the portion that can be touched by the user can be exposed on the front panel (or operation panel) of the intelligent controller. Typically, the front panel may be opposite to the wall when the smart controller is mounted on the wall.
When a user touches the touch sensing panel, the touch sensing switch module can sense a touch signal, and if the touch information is an effective touch signal, on-off control can be performed on each lighting device associated with the touch sensing panel. Specifically, when the lighting devices are all turned off currently, the lighting devices can be turned on uniformly after effective touch of a user, otherwise, the lighting devices can be turned off uniformly as long as the turned-on lighting devices exist in the lighting devices.
For example, fig. 2 shows a front view of a smart controller, showing a front panel of the smart controller, which may be square in shape. As shown in fig. 2, the metal key sheet may be located on the right side of the front panel of the intelligent controller, and the display screen of the intelligent controller is located on the left side of the front panel, and the areas of the two may be equal. The touch control result of the lighting equipment can be displayed on the display screen in real time so that the user can visually check the result.
Based on the above, the intelligent controller provided in the embodiment of the present invention at least has the following features:
(1) the user only needs to touch the touch sensing panel, and the on-off control of the lighting equipment can be realized. Compared with the pressing of the switch button, the use experience of the touch control mode by the user is better.
(2) A user only needs to touch any part of the touch sensing panel, and unified on-off control of the plurality of lighting devices can be achieved. In the prior art, the user needs to press a plurality of corresponding switch buttons respectively. Compared with the mode of pressing for multiple times respectively, the operation mode of one-time triggering is more concise and efficient.
(3) The touch sensing panel is only one, and a user does not need to memorize the corresponding relation between the touch sensing panel and the lighting equipment and only needs to touch the touch sensing panel once, so that the full opening or the full closing of the corresponding lighting equipment can be realized. The switch buttons in the prior art are multiple and are respectively used for controlling different lighting equipment, so that a user needs to memorize the corresponding relation between the switch buttons and the lighting equipment, and false triggering operation is easy to occur.
(4) The incidence relation between the touch sensing panel and the lighting equipment can be flexibly adjusted according to needs so as to be suitable for different practical application requirements. In the prior art, the association relationship between the switch button and the lighting device is fixed.
In summary, the light on-off control is the most frequently used control function in the building, and the on-off states of a plurality of lights are switched by performing touch operation on any part of the touch sensing panel.
In one embodiment of the invention, other controllable devices may also be connected to the intelligent controller, in addition to the lighting devices described above. In this way, the user can also configure the association of the touch-sensitive panel with several other controllable devices as desired. For example, after the user touches the touch-sensitive panel, if all the associated lighting devices need to be turned on/off, all the associated other controllable devices can be turned on/off at the same time.
In detail, the equipment facilities of the intelligent controller can be accessed through the communication interface module, and the equipment facilities can be a dimming lamp, a lamp strip, an air conditioner, a fresh air, a heating and ventilating device, a curtain, a window pushing device, an entrance guard, a sweeper, an air purifier and the like.
In an embodiment of the present invention, to implement access of different types of equipment facilities, the communication interface module may include a KNX bus interface, an RS485 bus interface, a DMX512 bus interface, a DALI bus interface, an ethernet wired interface, a WIFI interface, a bluetooth interface, a ZigBee interface, and other intelligent building communication interfaces, and supports an apple HomeKit protocol, an aristo IoT protocol, an MQTT protocol, and other intelligent building control interface protocols on software.
For example, the KNX bus interface may be connected to a floor heating system and an access control system; the RS485 bus interface can be connected with an electric curtain and a fresh air system; the DALI bus interface can be connected with a main lamp and a corner lamp; the DMX512 bus interface can be connected with a lamp belt and an atmosphere lamp.
In detail, different types of equipment facilities may access the respective communication interfaces to enable connection with the intelligent controller. In detail, after the equipment facilities access the corresponding communication interfaces, the equipment facilities can be accessed to the intelligent controller by performing initialization configuration through corresponding interface configuration protocol software supported by the equipment. The process control module may then control the facility to which each communication interface is connected.
In the embodiment of the invention, the interface type and the protocol type can support most of intelligent household equipment facilities in the market at present, and the equipment facilities compatible with the interfaces and the protocols can be accessed to the intelligent controller through a building integrated wiring system or a wireless communication interface in the installation stage. The access of accessible intelligent control ware is controlled hundreds of interior equipment facilities of building up, realizes highly integrated intelligent control. Therefore, the intelligent controller can be applied to not only the home environment but also other building environments.
Because can adopt all kinds of buses or wireless mode to be connected with equipment, and do not need every equipment all to link directly with intelligent control ware, so can reduce system wiring degree of difficulty and work load when equipment inserts by a wide margin, also can obtain reducing by a wide margin with the degree of difficulty and the work load of work such as switch box installation, system maintenance and upgrading that system wiring is relevant.
In addition, the intelligent control ware accessible KNX bus interface's the weak current power supply of 30V, interface voltages such as the RS485 bus of other accesses also all belong to the weak current scope, do not have the strong current of 220V and insert, so can effectively avoid equipment electric leakage to hinder people's safety risk.
In an embodiment of the present invention, to illustrate a possible implementation manner of determining whether a touch signal is valid or not, the processing control module 103 is configured to, when receiving the touch signal, determine whether a time difference between a current time and a last time when the valid touch signal is received is not less than a preset time threshold, and if so, determine that the received touch signal is a valid touch signal.
For example, the predetermined time threshold may be set to 0.1s, 0.5s, 1s, etc., as needed. If the interval time between two adjacent touch operations of the user is too short, the subsequent touch operation can be regarded as a false touch.
In detail, the processing control module can record the current time when the signal is received every time the touch signal is received. Therefore, for the touch signals received later, whether the currently received touch signals are valid or not can be accurately judged based on the time when the last valid touch signal is received, so that invalid touch signals caused by false triggering are filtered out, and the invalid touch signals are not processed. By filtering out the invalid touch signal, the touch control operation of the user can be more accurate.
In the embodiment of the present invention, the comparison is performed with the time when the valid touch signal was received last time, and based on the similar implementation principle, in another embodiment of the present invention, the comparison may also be performed with the time when the touch signal was received last time, but not limited to the valid touch signal.
For example, the touch sensing switch module can sense a touch signal at any position on the surface of the touch sensing panel and forward the touch signal to the processing control module, and the processing control module records the start time and the end time of each touch operation after receiving the touch input signal. And when the time interval from the starting time of a certain touch operation to the ending time of the last touch operation is smaller than a specified time threshold, considering the touch operation as a single error touch, and otherwise, considering the touch operation as a single effective touch. After receiving the effective touch signal, the processing control module can inquire the on-off states of all the lighting equipment associated with the touch sensing panel through the communication interface module. When at least one of the light equipment is on, sending an operation instruction of turning off all the light equipment associated with the touch sensing panel to the communication interface module, and after receiving the operation instruction, sending a turning-off control signal to the corresponding light equipment to complete turning off all the light equipment. And when all the light equipment is inquired to be off, sending an operation instruction of turning on all the light equipment associated with the touch sensing panel to the communication interface module, and after receiving the operation instruction, sending a turning-on control signal to the corresponding light equipment to complete turning on all the light equipment.
In an embodiment of the present invention, please refer to fig. 2, the touch sensing panel includes a metal key sheet; wherein an outer surface of the metal key sheet is positioned on the front panel of the intelligent controller, so that an external user can touch any part of the outer surface;
a capacitance of the metal key sheet that changes when an external user touches the outer surface and changes when the external user releases the touch of the outer surface;
the touch sensing switch module 101 is configured to monitor a capacitance change condition of the metal key board; determining that a touch signal is sensed when the monitored change in capacitance is indicative of an external user touching the external surface.
In detail, the touch sensing panel may be a metal key sheet (or called metal panel), so that when a user touches or touches the metal key sheet with a finger or other skin, that is, before or after the touch, a capacitance charge change of the metal key sheet may be induced. Based on this, the touch-sensitive switch module can monitor the capacitance change of the metal key-press plate in real time, and sense the touch signal when monitoring the capacitance change of the metal key-press plate caused by the user touching the metal key-press plate.
Similarly, for example, when the user finger touches the metal key sheet, the capacitance charge change of the metal key sheet can be also caused before and after the user finger leaves the metal key sheet.
Based on this, in an embodiment of the present invention, the implementation manner of determining whether the touch signal is valid may further be: the processing control module respectively records the starting time and the ending time of each touch of the metal key board by a user, when a touch signal is not received for the first time, the time interval between the starting time of the current touch operation and the recorded ending time of the last touch operation can be calculated, if the time interval is not larger than a corresponding preset time threshold value, the touch is considered to be an invalid touch, otherwise, the touch is an effective touch. For example, the predetermined time threshold may be set to 0.1s, 0.5s, etc., as needed.
In an embodiment of the present invention, referring to fig. 3, the touch sensing panel includes: a metal key sheet 1011 designed with metal screw holes;
the touch sensing switch module 101 further includes: metal screws 1012, a PCB designed with metal via pads 1013, a touch detection IC unit 1014, and ESD protection electronics 1015;
wherein the metal screw 1012 passes through the metal via pad 1013 and is screwed into the metal screw hole, so that three metal conductors of the metal screw 1012, the metal via pad 1013 and the metal screw hole are in contact with each other to maintain electrical connection;
the ESD protection electronics 1015 is connected between the metal via pad 1013 and the touch detection IC unit 1014 through a circuit board lead on the PCB;
the touch detection IC unit 1014 is connected to the metal via pad 1013 via a circuit board lead on the PCB;
the touch detection IC unit 1014 is connected to the processing control module 103 through a line;
when an external user touches the metal key sheet 1011, the capacitance value of the metal key sheet 1011 changes, electric charges on the metal key sheet 1011 are transferred, and a changed electric signal is transmitted to the touch detection IC unit 1014 through the metal screw 1012, the metal through hole pad 1013, and a circuit board lead on the PCB in sequence;
the touch detection IC unit 1014 is configured to scan a capacitance charge change at the signal receiving end in real time, and determine that a touch signal is sensed when detecting that a variation of the electrical signal reaches a preset threshold.
In the embodiment of the invention, the touch sensing switch module is realized by metal key touch control operation, the metal key touch control is realized by adopting a capacitance touch control principle, and the purpose of touch sensing is realized by detecting capacitance/charge change between metal key plates.
In detail, the touch detection IC unit may be connected to the processing control module through an I2C bus, a UART (Universal asynchronous receiver Transmitter/Transmitter) bus, or a control signal line. The touch detection IC unit can detect capacitance change within the range of 3-300 pf.
In detail, the ESD protection electronic device may employ a transient suppression diode to effectively reduce electrostatic damage to the IC chip.
In the embodiment of the invention, the metal key board is provided with the metal screw hole, the metal screw penetrates through the metal through hole pad on the PCB, is screwed into the screw hole position of the metal key board and is screwed tightly, so that the metal conductors of the metal key board, the metal screw hole pad and the metal screw hole are mutually contacted to realize electrical connection. Based on the method, the electric signal transmission direction is metal key board-metal screw hole of the metal key board-metal screw-screw hole welding disc of the PCB. Therefore, the embodiment of the invention can realize the electrical path and signal transmission based on the ingenious hardware physical connection between the metal key board and the PCB circuit, and is practical on an intelligent controller.
In an embodiment of the present invention, the detection action working process of the key operation may be as follows: the processing control module sends a working instruction to the touch detection IC unit through the bus so as to scan the capacitance/charge change of the detection signal receiving end in real time. When a finger or other skin part of a human body touches the metal key board, the capacitance value of the metal key board changes, the charge on the metal key board is transferred, and the changed electric signal is transmitted to a path through the electric signal and is transmitted to the touch detection IC unit. After the touch detection IC unit detects that the electric signal change reaches a threshold value, the touch operation of the key can be determined to occur, and then a message can be sent to the processing control module through the bus. And after the processing control module receives the effective touch operation instruction, the touch operation instruction can be correspondingly processed.
In an embodiment of the present invention, referring to fig. 2 and fig. 4, the intelligent controller further includes: a display module 401;
wherein, the display screen of the display module 401 is located on the front panel of the intelligent controller;
the display screen and the touch sensing panel are distributed on the front panel of the intelligent controller in a left-right mode;
the processing control module 103 is configured to send, to the communication interface module 102, a first control instruction for controlling each first lighting device to be turned on when it is found that the on-off state of at least one first lighting device is turned off; when the on-off state of at least one first lighting device is found to be on, sending a second control instruction for controlling each first lighting device to be off to the communication interface module 102; the on-off state information of the lighting equipment sent by the communication interface 102 module is forwarded to the display module 401;
the communication interface module 102 is configured to send a start control signal to the corresponding lighting device when receiving the first control instruction, and forward the switch state information fed back by the corresponding lighting device to the processing control module 103; when receiving the second control instruction, sending a closing control signal to the corresponding lighting device, and forwarding the switch state information fed back by the corresponding lighting device to the processing control module 103;
the display module 401 is configured to graphically display the on-off state information of the lighting device sent by the processing control module 103.
In detail, the processing control module may be connected to the Display module through an MIPI (Mobile Industry Processor Interface) bus, an 8080 (Liquid Crystal Display) bus or another LCD (Liquid Crystal Display) bus.
As shown in fig. 2, the front panel of the intelligent control panel is mainly composed of a display screen of the display module and a touch sensing panel. When the user needs to switch on or off the lighting equipment, the user can touch the touch sensing panel positioned on the right side, the internal processor can control the corresponding lighting equipment to be fully switched on or off, and the control effect can be graphically displayed on the display screen positioned on the left side in real time, so that the user can directly check the control effect in real time after touch operation.
In the embodiment of the invention, the communication interface module can realize the connection of the intelligent control panel and the external equipment facilities, send control operation instructions to various accessed external equipment facilities and receive state information input by various accessed external equipment facilities.
In one embodiment of the present invention, the display module 401 includes: a touch display screen module 4011;
the communication interface module 102 is configured to connect to at least two external controllable devices, so that each controllable device is connected to the intelligent controller;
the processing control module 103 is configured to configure at least one scene item according to configuration information input from the outside, where each scene item is associated with at least two controllable devices, each scene item is configured with device control parameters of each associated controllable device, and the controllable devices and/or the device control parameters associated with different scene items are not completely the same; when a starting request for any scene item sent by the display module 401 is received, according to the configured device control parameters of the controllable devices associated with the scene item, the communication interface module 102 is used to respectively control the controllable devices associated with the scene item;
the display module 401 is configured to display each scene item configured by the processing control module 103 through a graphical menu; receiving a start request for any displayed scene item, which is input by an external user through the touch display screen module 4011, and sending the start request to the processing control module 103.
In the embodiment of the invention, the display screen of the display module can be a touch display screen, so that the display module not only can play a display role, but also can be used as a human-computer interaction interface, and a user can conveniently input an operation command through the touch screen.
In the embodiment of the invention, the display module can display the on-off state and the related parameter information of each external equipment facility accessed to the intelligent controller to a user through the graphical menu, and the user can select, view details and control the icon and the menu of any equipment facility on the touch screen to form touch screen operation input.
In detail, the touch screen input of the user may be processed by the processing control module. For example, after the control operation input by the user is converted by the corresponding interface protocol through the communication interface module, a corresponding device control signal may be formed and forwarded to the single device facility accessed correspondingly, so as to implement the control operation on the single device facility accessed correspondingly.
In the embodiment of the invention, the scene function can support the user to simultaneously operate a plurality of equipment facilities accessed to the intelligent controller in batch. In detail, a user may input configuration information for configuring a scene item through the touch screen, and the configuration information may be forwarded to the processing control module by the display module for processing, thereby implementing configuration of the scene item.
For example, a user may configure a breakfast scene and associate equipment facilities such as hall lights, restaurant curtains, restaurant window pushers, etc., and set operating parameters to all on. Based on this, when the user switches to the scene and triggers to request to start the scene through the intelligent controller next time, the intelligent controller can automatically control the lamps, the curtains and the windows of the restaurant to be opened simultaneously, so that the operation steps are reduced for the user, and the operation time is saved.
Under the general condition, intelligent control ware can be installed and fix specific position, on the wall of door department in the home environment, the region that often contacts when the daily household activity of user, can be convenient for the user at any time quick control home a plurality of linkage controllable device's operating condition, user use experiences.
In an embodiment of the present invention, referring to fig. 5, the display module 401 further includes: a connector 4012 connected to the touch display screen module 4011;
wherein a first pin of the connector 4012 is connected to a CTP _ RST _ N control signal, and the other end of the CTP _ RST _ N control signal is connected to the process control module 103;
the second pin of the connector 4012 is connected to a 3.3V power supply network;
a third pin of the connector 4012 is grounded;
a fourth pin of said connector 4012 is connected to a CTP _ INT control signal, and the other end of said CTP _ INT control signal is connected to said process control module 103;
a fifth pin of the connector 4012 is connected to a CTP _ SDA data signal line in the I2C bus, and the other end of the CTP _ SDA data signal line is connected to the processing control module 103;
a sixth pin of the connector 4012 is connected to a CTP _ SCL clock signal line in an I2C bus, and the other end of the CTP _ SCL clock signal line terminates the processing control module 103;
the processing control module 103 is configured to obtain touch position data of an external user on the touch display screen module 4011 through the CTP _ SDA data signal line and the CTP _ SCL clock signal line; and controlling the touch display screen module 4011 to work through the CTP _ RST _ N control signal and the CTP _ INT control signal.
In the embodiment of the invention, two ends of the connector can be respectively connected with the processing control module and the touch display screen module through an I2C bus. The touch display screen module may include a capacitive touch screen.
In detail, P3V3 in fig. 6 is a 3.3V power network, which can supply power to the touch display module.
Based on the connection relationship shown in fig. 6, the processing control module can initialize the touch screen through the I2C bus and obtain the position data of the touch screen touched by the user, and can also control the touch display screen module to work through the control signal line.
For example, when a finger or other skin of a human body touches the touch display screen module, capacitance/charge at a touch position changes, charge on the touch display screen module is transferred, the touch chip detects the change of the electrical signal and determines that key touch operation occurs, position coordinates of the charge change on the touch display screen module are calculated, and then the touch position is obtained and transmitted to the processing control module.
In summary, the intelligent controller provided in the embodiment of the present invention can support a user to perform a touch operation on any portion of the touch sensing panel to switch the on/off state of the light, and has a function of preventing false triggering caused by repeated touch in a short time.
Based on the above, the embodiment of the present invention further provides an intelligent controller, which includes a communication interface module, a processing control module, and a display module including a touch display screen module;
the communication interface module comprises at least two communication interfaces with different bus types, and the at least two communication interfaces are connected with the processing control module, wherein the communication interfaces with different bus types are connected with external communication buses with different types, and each communication bus is connected with at least one intelligent device which adopts the communication rule corresponding to the communication bus to carry out communication;
the display module is used for receiving a first operation instruction input by at least one first intelligent device and sending the first operation instruction to the processing control module, wherein the first intelligent device is connected with the communication interface module through the communication interface belonging to the corresponding bus type;
the processing control module is used for generating a first control instruction for the at least one first intelligent device according to the first operation instruction and sending the first control instruction to the communication interface module;
the communication interface module is configured to send the first control instruction to each of the first intelligent devices through at least one communication interface to which the at least one first intelligent device is connected, so as to control the at least one first intelligent device.
In detail, the smart device herein may include the above-mentioned lighting device and other controllable devices, and the communication interface herein may include the above-mentioned KNX bus interface, RS485 bus interface, and the like.
In the embodiment of the invention, because the communication interface module comprises a plurality of communication interfaces of different bus types, each communication interface can be connected with a plurality of intelligent devices supporting the communication interface through a corresponding communication bus, the intelligent controller can be simultaneously connected with a plurality of intelligent devices adopting different communication interfaces for communication, and can be connected with a plurality of intelligent devices supporting unified communication interfaces, so that a user can control the plurality of intelligent devices of various types through the intelligent controller, and the user does not need to frequently switch different controllers when controlling the intelligent devices, thereby being capable of more conveniently controlling the intelligent devices.
Based on the above, in other embodiments of the present invention, the intelligent controller may further implement functions such as authorization and linkage.
In detail, for the linkage function:
in an embodiment of the present invention, the processing control module is further configured to perform the following operations:
acquiring at least one of device state information, environment state information and time information of at least one intelligent device as a trigger condition, wherein the device state information is used for representing the state of the corresponding intelligent device, the environment state information is used for representing the state of the environment where the intelligent controller is located, and the time information is used for representing the current time where the intelligent controller is located;
judging whether at least one target linkage rule triggered by the triggering condition exists in at least one preset linkage rule or not;
if at least one target linkage rule triggered by the trigger condition exists, executing the following steps for each target linkage rule:
determining at least one second intelligent device related to the target linkage rule;
respectively determining a second control instruction for each second intelligent device according to the target linkage rule;
and respectively sending each second control instruction to the corresponding second intelligent equipment through the communication interface module so as to control the second intelligent equipment.
In the embodiment of the invention, a plurality of linkage rules are created in advance, the linkage rules take equipment state information, environment state information, time information and the like as trigger conditions, the processing control module judges whether the linkage rules triggered by the acquired trigger conditions exist or not after acquiring the equipment state information, the environment state information and the time information which are taken as the trigger conditions, and if the triggered linkage rules exist, corresponding control instructions are generated according to the triggered linkage rules to automatically control the corresponding intelligent equipment. The processing control module can automatically control the intelligent equipment according to the linkage rules and the triggering conditions without manual operation of a user, so that the user can realize automatic control of the intelligent equipment by setting the linkage rules and the corresponding triggering conditions, and the use experience of the user on the intelligent equipment is improved.
For example, a custom linkage rule is newly created and named, and then trigger conditions are set, which may be: 1) some sensed value included from the intelligent controller is greater than or less than a specified threshold, such as "the temperature sensor has a readout temperature greater than 30 ℃; 2) a state value of any one of the intelligent devices connected to the intelligent controller, for example, "the opening and closing state of the motorized window treatment is" closed "; 3) the current time reaches a certain point or period of time, such as "9 am to 18 pm on monday to friday"; 4) the above 1-3 conditions are combined with or not with parenthesized priority operation, such as "temperature 30 ℃ or relative humidity higher than 90%". After the trigger condition is set, a linkage action is set, wherein the linkage action can be to modify and control the switch state or a certain operation parameter of at least one intelligent device connected to the intelligent controller, or can be a certain self-defined scene, such as ' opening the electric curtain ' or ' starting ' an early-security ' scene. After the setting is finished, the custom named linkage rules are stored in the processing control module, and a user can select to enable or disable each linkage rule and also can delete any unwanted linkage rule. When a certain linkage rule is selected to be started, the intelligent controller automatically carries out automatic intelligent control according to the trigger condition and the linkage action set for the linkage rule. For example, a user presets and starts a self-defined linkage rule named as "open the curtain in the morning", the trigger condition is that "the time reaches 8:30 am", the linkage action is used as "open the curtain", and when the time reaches 8:30 am every day, the intelligent controller automatically initiates an "open" control instruction to the accessed curtain, so that the curtain is automatically opened.
In detail, for the authorization function:
in one embodiment of the present invention, when the intelligent controller acts as a master controller,
the communication interface module is also used for receiving a first authorization instruction from a connected slave controller and sending the first authorization instruction to the processing control module;
the display module is further configured to receive a second operation instruction for the slave controller, and send the second operation instruction to the processing control module;
the processing control module is further configured to obtain a right to control the slave controller according to the first authorization instruction, generate a third control instruction for the slave controller according to the second operation instruction, and send the third control instruction to the communication interface module;
the communication interface module is further configured to send the third control instruction to the slave controller, so that the slave controller forwards the third control instruction to at least one piece of intelligent equipment connected to the slave controller, so as to control the intelligent equipment connected to the slave controller;
when the intelligent controller acts as a slave controller,
the display module is further configured to receive a third operation instruction, which is input by a user and is directed to a main control center, and send the third operation instruction to the processing control module;
the processing control module is further configured to generate a second authorization instruction according to the third operation instruction, and send the second authorization instruction to the communication interface module, where the second authorization instruction is used to enable the main control center to obtain a right to control the intelligent controller;
the communication interface module is configured to send the second authorization instruction to the main control center, and forward the third control instruction from the main control center to at least one connected intelligent device.
In the embodiment of the invention, the intelligent controller can obtain the authorization instruction from other intelligent controllers to become the master controller, further obtain the authority of controlling other intelligent controllers, and can also send the authorization instruction to the master control center to become the slave controller, further be controlled by the master control center. The user can control the intelligent equipment connected to the slave controller through the master controller or the master control center, so that the intelligent equipment is controlled across the intelligent controller, and the user can more conveniently control the intelligent equipment connected to the intelligent controller.
For example, all smart controllers installed in rooms other than the master bedroom are authorized to be installed in the master bedroom, and smart devices accessed to the whole house can be controlled through a single smart controller installed in the master bedroom. In addition, all the intelligent controllers in the family can be authorized to the mobile terminal app of the user, and then the user can remotely control the intelligent devices accessed to the family at the mobile terminal.
Optionally, on the basis that the intelligent controller in the above embodiment can be used as a slave controller, the master center for controlling the slave controller may be a master controller, and may also be a panel control server.
In the embodiment of the invention, when the master control center is a master controller, a plurality of connected intelligent controllers form an intelligent device control system, the intelligent controller serving as the master controller can send control instructions to other intelligent controllers serving as slave controllers so as to control the intelligent devices connected to the slave controllers, the intelligent device control system is suitable for families accessing a plurality of intelligent controllers, and a user can control all intelligent devices accessed to the families through the master controller. When the main control center is a panel control server, the panel control server and the intelligent controllers form an intelligent device control system, the panel control server can send control instructions to the intelligent controllers to control the intelligent devices connected to the intelligent controllers, the intelligent device control system is suitable for being used in scenes such as office buildings with centralized control requirements, and office building managers can control all intelligent devices accessed into the office buildings through the panel control server.
In the embodiment of the invention, the intelligent device control system can be formed by a plurality of intelligent controllers, wherein one or a plurality of intelligent controllers are used as the main control controller, the intelligent devices connected to the intelligent controllers can be controlled through the main control controller, the intelligent device control system is suitable for scenes with fewer intelligent controllers, the intelligent device control system can be formed by a plurality of intelligent controllers and a panel control server, the intelligent devices connected to the intelligent controllers can be controlled through the panel control server, and the intelligent device control system is suitable for scenes with more intelligent controllers. Because master control controller can be intelligent control ware, also can be panel control server, specifically can confirm to use intelligent device panel or panel control server as the key center according to the quantity of access intelligent control ware to be applicable to different scenes, promoted this intelligent control ware's suitability.
In one embodiment of the present invention, the key center may include the key controller or the panel control server.
In one embodiment of the present invention, at least two of the smart devices connected to the communication interface module through different communication buses are distributed in the same room, the same floor, the same building, or a building group consisting of at least two buildings.
In an embodiment of the present invention, referring to fig. 6, the communication interface module includes an RS485 transceiver circuit, where the RS485 transceiver circuit is used to implement communication between the processing control module and the intelligent device that uses an RS485 communication interface for communication;
the RS485 transceiver circuit includes: an RS485 chip U1, a first capacitor C1, a second capacitor C2, a third capacitor C3, a fourth capacitor C4, a first transient suppression diode D1, a second transient suppression diode D2, a third transient suppression diode D3, a first resistor R1, a second resistor R1, a third resistor R3 and a connector Q;
a signal receiving pin RXD of the RS485 chip U1 is connected with a signal output end MCU _ RX of the processing control module, and a signal output pin TXD of the RS485 chip U1 is connected with a signal input end MCU _ TX of the processing control module;
the working mode control pin RE/DE of the RS485 chip U1 is connected with the mode control end MCU _ RE/DE of the processing control module;
a first end of the first capacitor C1 is connected with the direct current power supply P3V3, and a second end of the first capacitor C1 is grounded;
a first end of a second capacitor C2 is respectively connected with a first end of a first capacitor C1 and a first filter pin VCC11/VCC12 of an RS485 chip U1, and a second end of a second capacitor C2 is connected with a second end of a first capacitor C1;
a first end of a third capacitor C3 is connected with a second filter pin VISOUT/VISOIN of the RS485 chip U1, and a second end of the third capacitor C3 is grounded;
a first terminal of the fourth capacitor C4 is connected to a first terminal of the third capacitor C3, and a second terminal of the fourth capacitor C4 is connected to a second terminal of the third capacitor C3;
a first end of the first resistor R1 is connected with a first downlink pin Y/A of the RS485 chip U1, and a second end of the first resistor R1 is connected with a first terminal CT485_ A of the connector Q;
a first end of a second resistor R2 is connected with a second downlink pin Z/B of the RS485 chip U1, and a second end of a second resistor R2 is connected with a second terminal CT485_ B of the connector Q;
a first end of the third resistor R3 is connected with a second end of the first resistor R1, and a second end of the third resistor R3 is connected with a second end of the second resistor R2;
a first terminal of the first transient suppression diode D1 is connected to the second terminal of the first resistor R1, a second terminal of the first transient suppression diode D1 is connected to the first terminal of the second transient suppression diode D2, a second terminal of the second transient suppression diode D2 is connected to the second terminal of the second resistor R2, and a second terminal of the first transient suppression diode D1 is grounded;
a first terminal of a third transient suppression diode D3 is connected to the second terminal of the first resistor R1, and a second terminal of the third transient suppression diode D3 is connected to the second terminal of the second resistor R2;
and the connector Q is used for being connected with intelligent equipment which adopts an RS485 bus interface for communication.
In the embodiment of the invention, the RS485 communication instruction sending process comprises the following steps: the processing control module sends an instruction to the RS485 transceiver circuit through the bus, the RS485 transceiver circuit converts the instruction signal into a signal instruction which accords with the RS485 standard after receiving the instruction, and the signal instruction is sent to the intelligent equipment which is connected with the connector Q and uses the RS485 bus through the RS485 bus, so that the control of the corresponding intelligent equipment is completed; the receiving process and the sending sequence of the RS485 communication instruction are just opposite, the intelligent device connected with the connector Q sends an instruction, the signal instruction is sent to the RS485 transceiver circuit through the 408 bus RS485 bus, the RS485 transceiver circuit converts the standard RS485 signal instruction into a signal instruction which is in line with the bus and sends the signal instruction to the processing control module, and the instruction response or the request to the processing control module is completed.
In the embodiment of the invention, a sending logic unit module and a receiving logic unit module are integrated in the RS485 chip U1, and an electrical isolation module is integrated to perform direct current electrical isolation on an externally accessed 485 bus and an internal circuit and couple alternating signals. One end of the MCU _ RX signal is connected with a signal receiving pin of the RS485 chip U1, the other end of the MCU _ RX signal is connected with a pin corresponding to the processing control module, and the data electric signal is sent to the S485 chip U1 by the processing control module. One end of the MCU _ TX signal is connected with a signal transmitting pin of the U1 of the S485 chip, the other end of the MCU _ TX signal is connected with a corresponding pin of the processing control module, and a data electric signal is transmitted to the U1 of the S485 chip from the U1 of the S485 chip. One end of the MCU _ RE/DE signal is connected with a working mode control pin of the U1 of the S485 chip, the other end of the MCU _ RE/DE signal is connected with a corresponding pin of the processing control module, and the pin connected with the processing control module controls the working mode of the U1 of the S485 chip through the signal.
In the embodiment of the present invention, the first capacitor C1 and the second capacitor C2 are power filter capacitors, and the third capacitor C3 and the fourth capacitor C4 are power filter capacitors. The first resistor R1 and the second resistor R2 are filter resistors, and the third resistor R3 is a matching resistor (matching bus impedance), so that the signal receiving capacity is improved. The first transient suppression diode D1, the second transient suppression diode D2, and the third transient suppression diode D3 are transient suppressors, and suppress electrical surge interference reaching the device side on the bus. The signal CT485_ A and the signal CT485_ A are two signal lines of an RS485 bus, the other end of the signal CT485_ A and the other end of the signal CT485_ A are connected with a connector Q, and the external 485 bus can be accessed by the connector Q.
In an embodiment of the present invention, referring to fig. 7, the intelligent controller further includes: the power supply conversion module and the power supply management module;
the power conversion module includes: a fourth transient suppression diode D4, a self-recovery fuse F1, a magnetic bead FB2, a fifth capacitor C5, a sixth capacitor C6, a seventh capacitor C7, an eighth capacitor C8, a ninth capacitor C9, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, an inductor L, a freewheeling diode D5 and a power control chip U2;
the anode of the fourth transient suppression diode D4 is grounded, and the cathode of the fourth transient suppression diode D4 is connected to the KNX bus;
a first end of the self-recovery fuse F1 is connected with a cathode of the fourth transient suppression diode D4, a second end of the self-recovery fuse F1 is connected with a first end of the magnetic bead FB2, and a second end of the magnetic bead FB2 is connected with a power input pin VIN of the power control chip U2;
a first end of the fifth capacitor C5 is connected to the first end of the magnetic bead FB2, and a second end of the fifth capacitor C5 is grounded;
a first end of the sixth capacitor C6 is connected to the second end of the magnetic bead FB2, and a second end of the sixth capacitor C6 is grounded;
a first end of the fourth resistor R4 is connected with a second end of the magnetic bead FB2, and a second end of the fourth resistor R4 is connected with a working state control pin EN of the power supply control chip U2;
a first end of the fifth resistor R5 is connected with a second end of the fourth resistor R4, and a second end of the fifth resistor R5 is grounded;
a first end of the sixth resistor R6 is connected with the frequency setting pin RT/CLK of the power control chip U2, and a second end of the sixth resistor R6 is grounded;
the first end of the inductor L is connected with a power output pin SW of the power control chip U2, and the second end of the inductor L is connected with the power management module;
a first end of the seventh resistor R7 is connected with a current supplement control pin COMP of the power control chip U2, a second end of the seventh resistor R7 is connected with a first end of a seventh capacitor C7, and a second end of the seventh capacitor C7 is grounded;
the anode of the freewheeling diode D5 is grounded, and the cathode of the freewheeling diode D5 is connected with the first end of the inductor L;
first ends of an eighth capacitor C8 and a ninth capacitor C9 are connected with the second end of the inductor L, and second ends of the eighth capacitor C8 and the ninth capacitor C9 are grounded;
a first end of the eighth resistor R8 is connected with a second end of the inductor L, a second end of the eighth resistor R8 is respectively connected with a first end of the ninth resistor R9 and a feedback pin FB of the power control chip U2, and a second end of the ninth resistor R9 is grounded;
the power supply conversion module is used for converting the first direct current input from the KNX bus into a second direct current with a preset size and transmitting the second direct current to the power supply management module;
and the power supply management module is used for converting the second direct current into at least two third direct currents with different sizes and transmitting the third direct currents with corresponding sizes to corresponding power utilization components in the intelligent controller.
In the embodiment of the invention, the KNX bus is used as an input power supply of the power supply conversion module, and the input range of the power supply is 12V-30V. The fourth transient suppression diode D4 is used to suppress the surge voltage on the input power line. When the rear-stage circuit is short-circuited or current is overloaded, the self-recovery fuse F1 operates, and the internal impedance becomes large, thereby protecting the rear-stage circuit. The magnetic bead FB2 can filter out high frequency noise on the power supply. The fifth capacitor C5 and the sixth capacitor C6 are used for power supply filtering and filtering noise on the power supply. The power control chip U2 is a DC/DC controller chip, a logic control module, a switch tube and the like are integrated inside the power control chip, a pin VIN is power input, a pin EN is a working state control pin, when the voltage on the pin EN is higher than a threshold voltage, the chip starts to work, the resistor connected with the pin RT/CLK can set the PWM square wave frequency inside the power control chip U2, and the PWM square wave cooperates with the logic module inside the power control chip U2 to control the switch tube integrated inside the power control chip U2 to perform on/off actions. The direct current input power is output by a pin SW through a switch tube in the power control chip U2. Under the condition that a switching tube integrated in a PWM square wave control power supply control chip U2 normally switches, a pin SW outputs an electric signal in a square wave form, the electric signal is filtered by an inductor L, an eighth capacitor C9 and a ninth capacitor C9, a direct current voltage is finally obtained at a VCC _4V2 node, an eighth resistor R8 and a ninth resistor R9 form a feedback network, the feedback signal is input to a pin FB of the power supply control chip U2 and matched with a logic control unit in the power supply control chip U2, and finally the output voltage is stabilized at 4.2V (VCC _4V2 represents a network with 4.2V of power supply voltage). The freewheeling diode D5, the inductor L, the eighth capacitor C8, the ninth capacitor C9 and the rear-stage load form a circuit loop, and when the switching tube integrated in the power control chip U2 is turned off, the freewheeling diode D5 provides freewheeling and works normally.
As shown in fig. 8, an embodiment of the present invention provides an intelligent control method, which is applied to any one of the intelligent controllers described above, and the method may include the following steps:
step 801: connecting at least two external lighting devices into the intelligent controller;
step 802: configuring an incidence relation between a touch sensing panel of the intelligent controller and at least two first lighting devices according to configuration information input from the outside, wherein the at least two lighting devices comprise the at least two first lighting devices;
step 803: when a touch signal is sensed, executing step 804, wherein the touch signal is generated by an external user touching any part of the touch sensing panel;
step 804: when the sensed touch signal is a valid touch signal, inquiring the on-off state of first lighting equipment associated with the touch sensing panel;
step 805: when the on-off state of each first lighting device is off, controlling each first lighting device to be on;
step 806: and when the on-off state of at least one first lighting device is inquired to be on, controlling each first lighting device to be off.
The information interaction, execution process and other contents between the units in the method are based on the same concept as the embodiment of the apparatus of the present invention, and specific contents can be referred to the description in the embodiment of the apparatus of the present invention, and are not described herein again.
Embodiments of the present invention also provide a computer-readable medium storing instructions for causing a computer to perform an intelligent control method as described herein. Specifically, a system or an apparatus equipped with a storage medium on which software program codes that realize the functions of any of the above-described embodiments are stored may be provided, and a computer (or a CPU or MPU) of the system or the apparatus is caused to read out and execute the program codes stored in the storage medium.
In this case, the program code itself read from the storage medium can realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer via a communications network.
Further, it should be clear that the functions of any one of the above-described embodiments may be implemented not only by executing the program code read out by the computer, but also by causing an operating system or the like operating on the computer to perform a part or all of the actual operations based on instructions of the program code.
Further, it is to be understood that the program code read out from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then causes a CPU or the like mounted on the expansion board or the expansion unit to perform part or all of the actual operations based on instructions of the program code, thereby realizing the functions of any of the above-described embodiments.
In summary, the embodiments of the present invention have at least the following advantages:
1. the intelligent controller provided by the embodiment of the invention comprises: when a touch signal is sensed, the touch signal is sent to a touch sensing switch module of the processing control module, and the touch signal is generated by an external user touching any part of a touch sensing panel included in the touch sensing switch module; the communication interface module is connected with at least two external lighting devices; the processing control module configures the association relationship between the touch sensing panel and at least two first lighting devices according to externally input configuration information, and inquires the on-off state of the lighting devices associated with the touch sensing panel through the communication interface module when the received touch signal is an effective touch signal; and when the on-off states of the first lighting equipment are all off, controlling the first lighting equipment to be all on, otherwise, controlling the first lighting equipment to be all off. The embodiment of the invention can facilitate the user to simultaneously realize the opening or closing of a plurality of lighting devices, and the user experience is better.
2. The intelligent controller provided by the embodiment of the invention can support a user to perform touch operation on any part of the touch sensing panel of the intelligent controller to switch the on-off state of the light, and has the function of preventing false triggering caused by repeated touch in a short time.
It should be noted that not all steps and modules in the above flows and system structure diagrams are necessary, and some steps or modules may be omitted according to actual needs. The execution order of the steps is not fixed and can be adjusted as required. The system structure described in the above embodiments may be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by a plurality of physical entities, or some components in a plurality of independent devices may be implemented together.
In the above embodiments, the hardware unit may be implemented mechanically or electrically. For example, a hardware element may comprise permanently dedicated circuitry or logic (such as a dedicated processor, FPGA or ASIC) to perform the corresponding operations. The hardware elements may also comprise programmable logic or circuitry, such as a general purpose processor or other programmable processor, that may be temporarily configured by software to perform the corresponding operations. The specific implementation (mechanical, or dedicated permanent, or temporarily set) may be determined based on cost and time considerations.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other similar elements in a process, method, article, or apparatus that comprises the element.
While the invention has been shown and described in detail in the drawings and in the preferred embodiments, it is not intended to limit the invention to the embodiments disclosed, and it will be apparent to those skilled in the art that various combinations of the code auditing means in the various embodiments described above may be used to obtain further embodiments of the invention, which are also within the scope of the invention.

Claims (10)

1. Intelligent controller, its characterized in that includes:
the touch sensing switch module, the communication interface module and the processing control module;
the touch sensing switch module comprises a touch sensing panel;
the touch sensing switch module is used for sending a touch signal to the processing control module when the touch sensing switch module senses the touch signal, wherein the touch signal is generated by an external user touching any part of the touch sensing panel;
the communication interface module is used for connecting with at least two external lighting devices so as to enable each lighting device to be connected into the intelligent controller;
the processing control module is used for configuring the association relationship between the touch sensing panel and at least two first lighting devices according to configuration information input from the outside, wherein the at least two lighting devices comprise the at least two first lighting devices; receiving a touch signal sent by the touch sensing switch module; when the received touch signal is an effective touch signal, inquiring the on-off state of first lighting equipment associated with the touch sensing panel through the communication interface module; when the on-off state of each first lighting device is off, each first lighting device is controlled to be on through the communication interface module; and when the on-off state of at least one first lighting device is on, controlling each first lighting device to be off through the communication interface module.
2. The intelligent controller of claim 1,
and the processing control module is used for judging whether the time difference between the current time and the last time when the effective touch signal is received is not less than a preset time threshold value or not according to the current time and the time when the effective touch signal is received last time when the touch signal is received, and if so, determining that the received touch signal is the effective touch signal.
3. The intelligent controller of claim 1,
the touch sensing panel comprises a metal key board;
wherein an outer surface of the metal key sheet is positioned on the front panel of the intelligent controller, so that an external user can touch any part of the outer surface;
a capacitance of the metal key sheet that changes when an external user touches the outer surface and changes when the external user releases the touch of the outer surface;
the touch sensing switch module is used for monitoring the capacitance change condition of the metal key-press plate; determining that a touch signal is sensed when the monitored change in capacitance is indicative of an external user touching the external surface.
4. The intelligent controller of claim 1,
the touch-sensitive panel includes: a metal key board provided with metal screw holes;
the touch-sensitive switch module further includes: the device comprises a metal screw, a PCB provided with a metal through hole bonding pad, a touch detection IC unit and an ESD electrostatic protection electronic device;
wherein the metal screw passes through the metal through-hole pad and is screwed into the metal screw hole, so that three metal conductors of the metal screw, the metal through-hole pad and the metal screw hole are in contact with each other and are electrically connected;
the ESD electrostatic protection electronic device is connected between the metal through hole welding disc and the touch control detection IC unit through a circuit board lead on the PCB;
the touch detection IC unit is connected with the metal through hole welding disc through a circuit board lead on the PCB;
the touch control detection IC unit is connected with the processing control module through a circuit;
when an external user touches the metal key board, the capacitance value of the metal key board changes, charges on the metal key board are transferred, and changed electric signals are transmitted to the touch detection IC unit through the metal screws, the metal through hole bonding pads and circuit board leads on the PCB in sequence;
the touch detection IC unit is used for scanning and detecting capacitance charge change of the signal receiving end in real time and determining that a touch signal is sensed when the variation of the electric signal is detected to reach a preset threshold value.
5. The intelligent controller according to any one of claims 1 to 4,
further comprising: a display module;
the display screen of the display module is positioned on the front panel of the intelligent controller;
the display screen and the touch sensing panel are distributed on the front panel of the intelligent controller in a left-right mode;
the processing control module is used for sending a first control instruction for controlling the starting of each first lighting device to the communication interface module when the switching state of at least one first lighting device is found to be off; when the on-off state of at least one first lighting device is inquired to be on, sending a second control instruction for controlling each first lighting device to be off to the communication interface module; the on-off state information of the lighting equipment sent by the communication interface module is forwarded to the display module;
the communication interface module is used for sending a starting control signal to the corresponding lighting equipment when receiving the first control instruction, and forwarding the switch state information fed back by the corresponding lighting equipment to the processing control module; when the second control instruction is received, a closing control signal is sent to the corresponding lighting equipment, and the switch state information fed back by the corresponding lighting equipment is forwarded to the processing control module;
and the display module is used for graphically displaying the on-off state information of the lighting equipment sent by the processing control module.
6. The intelligent controller of claim 5,
the display module includes: the touch display screen module;
the communication interface module is used for connecting with at least two external controllable devices so as to enable each controllable device to be accessed into the intelligent controller;
the processing control module is configured to configure at least one scene item according to configuration information input from the outside, where each scene item is associated with at least two controllable devices, each scene item is configured with device control parameters of each associated controllable device, and the controllable devices and/or the device control parameters associated with different scene items are not completely the same; when a starting request aiming at any scene item sent by the display module is received, according to the configured device control parameters of each controllable device associated with the scene item, each controllable device associated with the scene item is correspondingly controlled through the communication interface module;
the display module is used for displaying each scene item configured by the processing control module through a graphical menu; and receiving a starting request which is input by an external user through the touch display screen module and aims at any displayed scene item, and sending the starting request to the processing control module.
7. The intelligent controller of claim 6,
the display module further includes: the connector is connected with the touch display screen module;
wherein a first pin of the connector is connected with a CTP _ RST _ N control signal, and the other end of the CTP _ RST _ N control signal is connected with the processing control module;
the second pin of the connector is connected with a 3.3V power supply network;
a third pin of the connector is grounded;
a fourth pin of said connector is connected to a CTP _ INT control signal, and another terminal of said CTP _ INT control signal is connected to said process control module;
a fifth pin of the connector is connected with a CTP _ SDA data signal line in an I2C (Inter-Integrated Circuit) bus, and the other end of the CTP _ SDA data signal line is connected with the processing control module;
a sixth pin of the connector is connected to a CTP _ SCL clock signal line in an I2C bus, and the other end of the CTP _ SCL clock signal line is connected to the processing control module;
the processing control module is used for acquiring touch position data of an external user on the touch display screen module through the CTP _ SDA data signal line and the CTP _ SCL clock signal line; and controlling the touch display screen module to work through the CTP _ RST _ N control signal and the CTP _ INT control signal.
8. An intelligent control method applied to the intelligent controller of any one of claims 1 to 7,
connecting at least two external lighting devices into the intelligent controller;
configuring an incidence relation between a touch sensing panel of the intelligent controller and at least two first lighting devices according to configuration information input from the outside, wherein the at least two lighting devices comprise the at least two first lighting devices;
further comprising:
when a touch signal is sensed, continuing the current process, wherein the touch signal is generated by an external user touching any part of the touch sensing panel;
when the sensed touch signal is a valid touch signal, inquiring the on-off state of first lighting equipment associated with the touch sensing panel;
when the on-off state of each first lighting device is off, controlling each first lighting device to be on;
and when the on-off state of at least one first lighting device is inquired to be on, controlling each first lighting device to be off.
9. A storage controller, comprising: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor, configured to invoke the machine readable program, to perform the method of claim 8.
10. A computer readable medium having stored thereon computer instructions which, when executed by a processor, cause the processor to perform the method of claim 8.
CN202010477898.7A 2020-05-29 2020-05-29 Intelligent controller and control method thereof Pending CN111642045A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010477898.7A CN111642045A (en) 2020-05-29 2020-05-29 Intelligent controller and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010477898.7A CN111642045A (en) 2020-05-29 2020-05-29 Intelligent controller and control method thereof

Publications (1)

Publication Number Publication Date
CN111642045A true CN111642045A (en) 2020-09-08

Family

ID=72332426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010477898.7A Pending CN111642045A (en) 2020-05-29 2020-05-29 Intelligent controller and control method thereof

Country Status (1)

Country Link
CN (1) CN111642045A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114340082A (en) * 2021-12-20 2022-04-12 华人运通(江苏)技术有限公司 Door trim lighting system, control method, storage medium and vehicle
CN114599138A (en) * 2022-05-09 2022-06-07 杭州雅观科技有限公司 Intelligent lighting method for controlling electric lamp group
WO2024046039A1 (en) * 2022-08-30 2024-03-07 华为技术有限公司 Smart switch and smart switch configuration method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6421593B1 (en) * 1999-07-30 2002-07-16 Pierce Manufacturing Inc. Military vehicle having cooperative control network with distributed I/O interfacing
CN104142659A (en) * 2013-11-12 2014-11-12 珠海优特电力科技股份有限公司 Method and system for switching smart home scenes
WO2016045320A1 (en) * 2014-09-22 2016-03-31 小米科技有限责任公司 Control method and device for smart lamp
CN108174501A (en) * 2018-02-07 2018-06-15 深圳市禧龙电器有限公司 Scene coordinated signals Intelligent wall switch
CN209386070U (en) * 2019-02-21 2019-09-13 安徽惠宁进出口有限公司 A kind of Novel LED light
CN110268805A (en) * 2016-10-21 2019-09-20 路创技术有限责任公司 Control electric loading groups
CN110869891A (en) * 2017-07-19 2020-03-06 三菱电机株式会社 Touch operation determination device and touch operation validity determination method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6421593B1 (en) * 1999-07-30 2002-07-16 Pierce Manufacturing Inc. Military vehicle having cooperative control network with distributed I/O interfacing
CN104142659A (en) * 2013-11-12 2014-11-12 珠海优特电力科技股份有限公司 Method and system for switching smart home scenes
WO2016045320A1 (en) * 2014-09-22 2016-03-31 小米科技有限责任公司 Control method and device for smart lamp
CN110268805A (en) * 2016-10-21 2019-09-20 路创技术有限责任公司 Control electric loading groups
CN110869891A (en) * 2017-07-19 2020-03-06 三菱电机株式会社 Touch operation determination device and touch operation validity determination method
CN108174501A (en) * 2018-02-07 2018-06-15 深圳市禧龙电器有限公司 Scene coordinated signals Intelligent wall switch
CN209386070U (en) * 2019-02-21 2019-09-13 安徽惠宁进出口有限公司 A kind of Novel LED light

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114340082A (en) * 2021-12-20 2022-04-12 华人运通(江苏)技术有限公司 Door trim lighting system, control method, storage medium and vehicle
CN114340082B (en) * 2021-12-20 2023-12-26 华人运通(江苏)技术有限公司 Door trim lighting system, control method, storage medium and vehicle
CN114599138A (en) * 2022-05-09 2022-06-07 杭州雅观科技有限公司 Intelligent lighting method for controlling electric lamp group
WO2024046039A1 (en) * 2022-08-30 2024-03-07 华为技术有限公司 Smart switch and smart switch configuration method

Similar Documents

Publication Publication Date Title
CN111642045A (en) Intelligent controller and control method thereof
KR102020100B1 (en) Lighting controller
US6297746B1 (en) Centralized apparatus control system for controlling a plurality of electrical apparatuses
US20060161270A1 (en) Distributed wireless home and commercial electrical automation systems
WO2012122630A1 (en) Modular intelligent power system
CN111650844B (en) Intelligent equipment control panel and control method thereof
EP3210273B1 (en) Controlling power usage in appliances
CN106125568A (en) Smart Home management method and device
CN108415273B (en) Control method of electric curtain
JPH11346392A (en) Appliance central management system, appliance central management unit used for this system or terminal for managed device
WO2000043900A1 (en) Method of adding a device to a network
CN106354060B (en) Master-slave communication method of guest room control device
CN204759069U (en) Intelligent building control panel
CN107219832A (en) A kind of intelligent appliance and access control system based on technology of Internet of things
CN111505959A (en) Intelligent device control panel and intelligent device control system
CN106292614B (en) Guest room networking control system
CN106647319A (en) Bus control system suitable for smart home
CN211956150U (en) Intelligent device control panel and intelligent device control system
JPH11220782A (en) Appliance equipment unit centralized management system and equipment unit appliance power controller used for the same
KR101112214B1 (en) Method and apparatus for saving standby power in an electric outlet and computer readable medium thereof
CN111897235A (en) Multifunctional hotel RCU system
CN106527364B (en) Hotel guest room electrical equipment control system
CN111639048B (en) Intelligent equipment control panel and system
CN106502223B (en) Hotel guest room monitoring management system
WO2021169752A1 (en) Edge computing device management method and apparatus, devices, and system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200908