Control method and device of lighting equipment, electronic equipment and storage medium

文档序号:410835 发布日期:2021-12-17 浏览:8次 中文

阅读说明:本技术 照明设备的控制方法、装置、电子设备和存储介质 (Control method and device of lighting equipment, electronic equipment and storage medium ) 是由 杨志华 于 2021-09-02 设计创作,主要内容包括:本申请涉及照明设备控制技术领域,特别涉及一种照明设备的控制方法、装置、电子设备和存储介质,照明设备设置于每层楼道的照明位置,其中,方法包括:检测待照明区域对应的多个目标楼层,并根据每个目标楼层生成包含照明指令的第一无线信号;获取照明设备的当前点亮楼层;根据当前点亮楼层、预设的延时时长和第一无线信号中的照明指令修改设置于当前点亮楼层上方和/或下方的目标楼层的照明设备的响应参数,以高于其他楼层的响应参数。由此,解决了相关技术中因无法设置照明设备感知声音导致用户体验较差的问题,实现了照明设备的智能亮灭控制与节能减排,方便居民出行,提升用户的使用体验。(The application relates to the technical field of lighting equipment control, in particular to a control method, a control device, electronic equipment and a storage medium for lighting equipment, wherein the lighting equipment is arranged at the lighting position of each floor of a corridor, and the method comprises the following steps: detecting a plurality of target floors corresponding to an area to be illuminated, and generating a first wireless signal containing an illumination instruction according to each target floor; acquiring a current lighting floor of the lighting equipment; and modifying the response parameters of the lighting equipment of the target floor above and/or below the current lighting floor according to the current lighting floor, the preset delay time and the lighting instruction in the first wireless signal so as to be higher than the response parameters of other floors. Therefore, the problem that user experience is poor due to the fact that the lighting equipment cannot sense sound in the related technology is solved, intelligent on-off control and energy conservation and emission reduction of the lighting equipment are achieved, travel of residents is facilitated, and use experience of users is improved.)

1. A control method of a lighting apparatus, wherein the lighting apparatus is provided at a lighting position of each floor of a corridor, wherein the method comprises the steps of:

detecting a plurality of target floors corresponding to an area to be illuminated, and generating a first wireless signal containing an illumination instruction according to each target floor;

acquiring a current lighting floor of the lighting equipment; and

and modifying the response parameters of the lighting equipment of the target floor above and/or below the current lighting floor according to the current lighting floor, the preset delay time and the lighting instruction in the first wireless signal so as to be higher than the response parameters of other floors.

2. The method of claim 1, wherein after modifying the response parameters of the lighting devices disposed at the destination floor above and/or below the currently illuminated floor according to the currently illuminated floor, the preset delay period, and the lighting instruction in the first wireless signal, further comprising:

controlling the lighting equipment of the target floor adjacent to the current lighting floor to enter a delay state based on the preset delay time;

judging whether the lighting equipment of the target floor adjacent to the current lighting floor detects a sound signal within the preset delay time;

and if the sound signal is detected, lightening a target floor adjacent to the current lightening floor, and returning to execute the control of the lighting equipment of the target floor adjacent to the current lightening floor to enter a delay state based on the preset delay time length until the lighting equipment cannot detect the sound signal in the preset delay time length.

3. The method of claim 2, further comprising:

and if the sound signal is not detected, controlling the response parameters of the lighting devices of the target floors to be recovered to the initial response parameters after the preset delay time is over.

4. The method of claim 1, further comprising:

detecting a current value of an illumination loop of the illumination device when the illumination device is in a lighting state;

and if the current value is smaller than a preset current threshold value, generating fault information.

5. The method of claim 4, further comprising:

and sending the fault information to a preset mobile terminal.

6. A control apparatus for lighting devices, wherein the lighting devices are provided at lighting positions of each floor of a corridor, wherein the apparatus comprises the steps of:

the generating module is used for detecting a plurality of target floors corresponding to the area to be illuminated and generating a first wireless signal containing an illumination instruction according to each target floor;

the acquisition module is used for acquiring the current lighting floor of the lighting equipment; and

and the modification module is used for modifying the response parameters of the lighting equipment of the target floor above and/or below the current lighting floor according to the current lighting floor, the preset delay time and the lighting instruction in the first wireless signal so as to be higher than the response parameters of other floors.

7. The apparatus of claim 6, wherein after modifying the response parameters of the lighting devices disposed at the destination floor above and/or below the currently illuminated floor according to the currently illuminated floor, the preset delay period, and the lighting instructions in the first wireless signal, the modifying module is further configured to:

controlling the lighting equipment of the target floor adjacent to the current lighting floor to enter a delay state based on the preset delay time;

judging whether the lighting equipment of the target floor adjacent to the current lighting floor detects a sound signal within the preset delay time;

and if the sound signal is detected, lightening a target floor adjacent to the current lightening floor, and returning to execute the control of the lighting equipment of the target floor adjacent to the current lightening floor to enter a delay state based on the preset delay time length until the lighting equipment cannot detect the sound signal in the preset delay time length.

8. The apparatus of claim 7, further comprising:

and if the sound signal is not detected, controlling the response parameters of the lighting devices of the target floors to be recovered to the initial response parameters after the preset delay time is over.

9. An electronic device, comprising: memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing the program to implement the method of controlling a lighting device according to any one of claims 1-5.

10. A computer-readable storage medium, on which a computer program is stored, characterized in that the program is executed by a processor for implementing the method of controlling a lighting device according to any one of claims 1-5.

Technical Field

The present disclosure relates to the field of lighting device control technologies, and in particular, to a method and an apparatus for controlling a lighting device, an electronic device, and a storage medium.

Background

In the related technology, the building illuminating lamp is generally a sound control illuminating lamp, so that the travel requirements of residents in all time periods at night can be well met, and green energy conservation can be better realized.

However, when the sensitivity of the microphone of the sound control illuminating lamp for sensing sound is strong, sound in a house or wind sound outside a building can cause the lamp to be lighted up at intervals, and the lamp is electricity-consuming and easy to break; when the sensitivity of perception sound is weak, need make big sound so that the lamp is bright when going upstairs and downstairs every time, the people is difficult to control again promptly, has reduced user's use experience, needs a urgent need to solve.

Content of application

The application provides a control method and device of lighting equipment, electronic equipment and a storage medium, so that the problem of poor user experience caused by the fact that the lighting equipment cannot sense sound in the related art is solved, intelligent on-off control and energy conservation and emission reduction of the lighting equipment are achieved, convenience is brought to travel of residents, and the use experience of users is improved.

The application provides a control method of lighting equipment, the lighting equipment is arranged at the lighting position of each floor of corridor, wherein, the method comprises the following steps:

detecting a plurality of target floors corresponding to an area to be illuminated, and generating a first wireless signal containing an illumination instruction according to each target floor;

acquiring a current lighting floor of the lighting equipment; and

and modifying the response parameters of the lighting equipment of the target floor above and/or below the current lighting floor according to the current lighting floor, the preset delay time and the lighting instruction in the first wireless signal so as to be higher than the response parameters of other floors.

Further, after the modifying the response parameters of the lighting devices of the target floor above and/or below the currently illuminated floor according to the currently illuminated floor, the preset delay time and the lighting instruction in the first wireless signal, the method further includes:

controlling the lighting equipment of the target floor adjacent to the current lighting floor to enter a delay state based on the preset delay time;

judging whether the lighting equipment of the target floor adjacent to the current lighting floor detects a sound signal within the preset delay time;

and if the sound signal is detected, lightening a target floor adjacent to the current lightening floor, and returning to execute the control of the lighting equipment of the target floor adjacent to the current lightening floor to enter a delay state based on the preset delay time length until the lighting equipment cannot detect the sound signal in the preset delay time length.

Further, still include:

and if the sound signal is not detected, controlling the response parameters of the lighting devices of the target floors to be recovered to the initial response parameters after the preset delay time is over.

Further, still include:

detecting a current value of an illumination loop of the illumination device when the illumination device is in a lighting state;

and if the current value is smaller than a preset current threshold value, generating fault information.

Further, still include:

and sending the fault information to a preset mobile terminal.

In a second aspect of the present application, an embodiment provides a control device for a lighting apparatus, where the lighting apparatus is disposed at a lighting position of each floor of a corridor, where the control device includes the following steps:

the generating module is used for detecting a plurality of target floors corresponding to the area to be illuminated and generating a first wireless signal containing an illumination instruction according to each target floor;

the acquisition module is used for acquiring the current lighting floor of the lighting equipment; and

and the modification module is used for modifying the response parameters of the lighting equipment of the target floor above and/or below the current lighting floor according to the current lighting floor, the preset delay time and the lighting instruction in the first wireless signal so as to be higher than the response parameters of other floors.

Further, after the response parameters of the lighting devices on the target floor above and/or below the currently lit floor are modified according to the currently lit floor, the preset delay time and the lighting instruction in the first wireless signal, the modification module is further configured to:

controlling the lighting equipment of the target floor adjacent to the current lighting floor to enter a delay state based on the preset delay time;

judging whether the lighting equipment of the target floor adjacent to the current lighting floor detects a sound signal within the preset delay time;

and if the sound signal is detected, lightening a target floor adjacent to the current lightening floor, and returning to execute the control of the lighting equipment of the target floor adjacent to the current lightening floor to enter a delay state based on the preset delay time length until the lighting equipment cannot detect the sound signal in the preset delay time length.

Further, still include:

and if the sound signal is not detected, controlling the response parameters of the lighting devices of the target floors to be recovered to the initial response parameters after the preset delay time is over.

Further, still include:

the detection module is used for detecting the current value of an illumination loop of the illumination equipment when the illumination equipment is in an illumination state;

and the judging module is used for generating fault information if the current value is smaller than a preset current threshold value.

Further, still include:

and the sending module is used for sending the fault information to a preset mobile terminal.

An embodiment of a third aspect of the present application provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being arranged to perform the method of controlling a lighting device as described in the above embodiments.

A fourth aspect of the present application provides a computer-readable storage medium storing computer instructions for causing a computer to execute the control method of a lighting device according to the above embodiments.

Therefore, a plurality of target floors corresponding to the area to be illuminated can be detected, and a first wireless signal containing an illumination instruction is generated according to each target floor; acquiring a current lighting floor of the lighting equipment; according to the current lighting floor, the preset delay time and the lighting instruction in the first wireless signal modify the response parameters of the lighting equipment arranged on the target floor above and/or below the current lighting floor, so that the response parameters are higher than those of other floors, the induction sensitivity of the lighting equipment is managed by multi-level intelligent control, the problem of poor user experience caused by incapability of setting the perception sound of the lighting equipment in the related technology is solved, intelligent lighting and extinguishing control and energy conservation and emission reduction of the lighting equipment are realized, convenience is brought to resident trip, and the use experience of a user is improved.

Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.

Drawings

The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:

fig. 1 is a flowchart of a control method of a lighting device according to an embodiment of the present application;

FIG. 2 is a circuit diagram of a sound stage control circuit according to one embodiment of the present application;

FIG. 3 is a circuit schematic of a detection circuit according to one embodiment of the present application;

FIG. 4 is a block diagram of a lighting system according to one embodiment of the present application;

FIG. 5 is a control flow diagram of a master controller according to one embodiment of the present application;

fig. 6 is a control flow diagram of a lamp controller according to an embodiment of the present application;

fig. 7 is a block schematic diagram of a control arrangement of a lighting device according to an embodiment of the present application;

FIG. 8 is a block diagram of an electronic device according to one embodiment of the present application.

Detailed Description

Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.

A control method, an apparatus, an electronic device, and a storage medium of a lighting device of an embodiment of the present application are described below with reference to the drawings. Aiming at the problem that user experience is poor due to the fact that the lighting equipment cannot be set to sense sound in the related technology mentioned in the background technology center, the application provides a control method of the lighting equipment, which can detect a plurality of target floors corresponding to an area to be illuminated and generate a first wireless signal containing an illumination instruction according to each target floor; acquiring a current lighting floor of the lighting equipment; according to the current lighting floor, the preset delay time and the lighting instruction in the first wireless signal modify the response parameters of the lighting equipment arranged on the target floor above and/or below the current lighting floor, so that the response parameters are higher than those of other floors, the induction sensitivity of the lighting equipment is managed by multi-level intelligent control, the problem of poor user experience caused by incapability of setting the perception sound sensitivity of the lighting equipment in the related technology is solved, intelligent lighting-off control and energy conservation and emission reduction of the lighting equipment are realized, convenience is brought to resident trip, and the use experience of a user is improved.

Specifically, fig. 1 is a flowchart of a control method of a lighting device according to an embodiment of the present application. In this embodiment, the lighting device is disposed at the lighting position of each floor of the corridor, and the lighting device is a lighting lamp of each floor.

As shown in fig. 1, the control method of the lighting device includes the following steps:

in step S101, a plurality of target floors corresponding to an area to be illuminated are detected, and a first wireless signal including an illumination instruction is generated according to each target floor.

It can be understood that, when the user swipes an access card or clicks a key trigger switch, the embodiment of the present application may identify, through the access card identification module or the key trigger switch, a plurality of target floors corresponding to the area to be illuminated, for example, when the user is about to go from floor 1 to floor 10, the user may swipe an access card leading to floor 10 from floor 1 or click a key trigger switch of floor 10, and then the plurality of target floors corresponding to the area to be illuminated are respectively 1-10 floors.

Further, in order to intelligently adjust the sensitivity of the sensing sound signal of the target floor, in the embodiment of the present application, after a plurality of target floors are detected, a first wireless signal including an illumination instruction may be generated according to each target floor, where the illumination instruction may include a response parameter of the illumination device, that is, a sensitivity parameter and a delay time parameter of the illumination device to the sound signal are modified, where the delay time parameter may be a preset delay time or a number of floors × a preset delay time obtained according to the number of floors.

In step S102, the currently illuminated floor of the lighting apparatus is acquired.

For example, when a user goes upstairs, after swiping an access card, the embodiment of the application can control the lighting equipment on the first floor to be turned on, namely the current lighting floor of the lighting equipment is 1 floor.

In step S103, the response parameters of the lighting devices of the destination floor above and/or below the currently lit floor are modified according to the currently lit floor, the preset delay time and the lighting instruction in the first wireless signal, so as to be higher than the response parameters of other floors.

For example, assuming that the lighting device currently entering the high sensitivity level is the lighting device on the layer 1, after detecting the sound signal, the lighting device on the layer may be controlled to be turned on, and at the same time, a wireless communication signal (i.e., a first wireless signal) is generated, so as to notify the lighting device on the layer 2 to enter the high sensitivity level and adjust the maximum delay time to the preset delay time.

Since the wireless signal is not transmitted to the next floor if the current floor is the destination floor 10, the 11 th floor does not receive the command for allowing entry to the high sensitivity floor, and does not enter the high sensitivity floor even if the entry to the high sensitivity floor of the previous floor is received.

Therefore, after a plurality of target floors corresponding to the areas to be illuminated are determined, the first wireless signals are sent to the lighting equipment which is used for lighting the upper floor and/or the lower floor of the floor at present, so that the sensitivity of the lighting equipment to sound signals is improved, the lighting equipment is more intelligent, the traveling of residents is facilitated, and the use experience of users is improved.

Further, in some embodiments, after modifying the response parameters of the lighting devices disposed on the target floor above and/or below the currently-lit floor according to the currently-lit floor, the preset delay time and the lighting instruction in the first wireless signal, the method further includes: controlling the lighting equipment of the target floor adjacent to the current lighting floor to enter a high-sensitivity delay state based on preset delay time; the lighting equipment of the target floor adjacent to the current lighting floor judges whether a sound signal is detected within a preset delay time; and if the sound signal is detected, further lightening a target floor adjacent to the current lightening floor, and returning to control the lighting equipment of the target floor adjacent to the current lightening floor to enter a time delay state based on the preset time delay duration until the lighting equipment cannot detect the sound signal in the preset time delay duration.

The preset delay time duration may be a time duration preset by a user, may be a time duration obtained through a limited number of experiments, or may be a time duration obtained through a limited number of computer simulations, which is not specifically limited herein.

For example, after a user swipes an access card, the user detects that a plurality of target floors corresponding to the area to be illuminated are 1-3 floors respectively, in the embodiment of the application, the access control system can send a first wireless signal to the 1-3 floors, and at this time, the 3 floors can be allowed to enter a high-sensitivity delay state but not enter the high-sensitivity delay state.

When the layer 1 is lighted, the embodiment of the application can send the message that the layer 1 is lighted to the layer 2, at the moment, the layer 2 can enter a high-sensitivity delay state according to the preset delay time, if the sound signal is detected in the preset delay time, if a user goes from the layer 1 to the layer 2, the lighting equipment of the layer 2 can be lighted at the moment, the embodiment of the application can send the message that the layer 2 is lighted to the layer 3, at the moment, the layer 3 can enter the high-sensitivity delay state according to the preset delay time, and if the sound signal is detected in the preset delay time, the lighting equipment of the layer 3 can be lighted.

It should be noted that, if the sound signal is not detected within the preset delay time, it indicates that the user may be in fact and does not go to the target floor, and in order to avoid that the lighting device is in the high-sensitivity delay state for a long time, in the embodiment of the present application, the high-sensitivity state may be set after the preset delay time is reached (for example, the response parameter of the lighting device is restored to the initial parameter).

That is, after receiving the illumination instruction, the illumination devices in each layer can store and set corresponding information; after continuously receiving the wireless signal of the lighting device which is lighted up before, entering a high-sensitivity delay state, wherein the preset delay time can be T1; if no sound signal is detected within the preset delay time period T1, the high sensitivity state is exited.

In addition, when detecting a sound signal, the embodiment of the present application may employ a sound gradation control circuit as shown in fig. 2.

Specifically, the sound gradation control circuit includes: the sound collecting device comprises a first switch S2, a first resistor R2, a second switch S1, a second resistor R1, a third resistor R0, a sound collecting unit MK and a signal processing unit. Wherein, one end of the first switch S2 is connected with the control unit; one end of the first resistor R2 is connected to the other end of the first switch S2; one end of the second switch S1 is connected to the control unit; one end of the second resistor R1 is connected to the other end of the second switch S1; one end of the third resistor R0 is connected to one end of the second switch S1; one end of the sound collection unit MK is connected with the other end of the first resistor R2, the other end of the second resistor R1 and the other end of the third resistor R0 respectively, and the other end of the sound collection unit MK is grounded; the signal processing unit is connected to one end of the third resistor R0 and one end of the sound collecting unit MK, respectively. The sound collecting unit MK may be a microphone, and the signal processing unit may be a signal amplifying and controlling circuit.

The sound grading control circuit mainly adjusts the sensitivity of the microphone (i.e., the sound collecting Unit MK) input through an MCU (Microcontroller Unit) chip (i.e., a control Unit), when the sound grading control circuit is normal, the first switch S2 and the second switch S1 are closed, the first resistor R2, the second resistor R1 and the third resistor R0 are all connected into the sound grading control circuit, when the response parameter (such as the sound collecting sensitivity) of the lighting device arranged on the target floor is modified, the first switch S2 and the second switch S1 are all opened to the corresponding floor, only the third resistor R0 is connected into the circuit, the pull-up resistor of the sound collecting Unit MK is increased, the sensitivity is increased, the corridor can be lighted in a small sound, and the default closed states of the first switch S2 and the second switch S1 are restored after a set time. Thus, by increasing the change in the number of resistors connected in parallel, the sensitivity of microphone recognition can be improved when someone goes upstairs or downstairs.

It should be noted that the above-mentioned sound grading control circuit is only exemplary, and is not meant to limit the present invention, and the embodiment of the present application may further perform fine grading on the sound grading control circuit, so as to adjust the control sensitivity of the sound collecting unit.

For the sake of understanding, the following description is given with reference to specific examples.

As a possible implementation manner, when a user prepares to go upstairs and acquires that the currently lit floor of the current lighting device is 1 floor, the embodiment of the present application may modify the response parameter of the lighting device of the target floor (i.e., 2 floors) above the currently lit floor, so as to improve the sensitivity of the 2-floor lighting device to the sound signal, because the sensitivity of the 2-floor lighting device to the sound signal is higher, after the 2-floor lighting device detects the sound signal, the lighting device may be lit, when the user goes to the 2 floors, the currently lit floor of the current lighting device is 2 floors, the embodiment of the present application may modify the response parameter of the lighting device of the target floor (i.e., 3 floors) above the currently lit floor, so as to be higher than the response parameters of other floors, and so on until the user returns home.

As another possible implementation manner, when a user prepares to go downstairs and acquires that the currently lit floor of the current lighting device is 10 floors, in this embodiment of the present application, the response parameter of the lighting device of the target floor (i.e., 9 floors) below the currently lit floor may be modified, so as to improve the sensitivity of the 9 floors of lighting device to the sound signal, since the sensitivity of the 9 floors of lighting device to the sound signal is higher, after the 9 floors of lighting device detect the sound signal, the lighting device may be lit, when the user goes to 9 floors, the currently lit floor of the current lighting device is 9 floors, in this embodiment of the present application, the response parameter of the lighting device of the target floor (i.e., 8 floors) below the currently lit floor may be modified, so as to be higher than the response parameters of other floors, and so on, until the user goes to 1 floor.

It should be noted that, in order to avoid the lighting device being in high sensitivity to the sound signal for a long time, the embodiment of the present application may be set with a preset delay time duration, such as 1 minute.

Further, in some embodiments, the method further comprises: and if the sound signal is not detected, controlling the response parameters of the lighting devices of the plurality of target floors to be recovered to the initial response parameters after the preset delay time is over.

It should be understood that if the sound signal is not detected within the preset delay time, it indicates that the user may be in fact, such as going to the adjacent home of the currently lit floor and getting home without preparing to return to home, the embodiment of the present application may control the response parameters of the lighting devices of the multiple target floors to be restored to the initial response parameters after the preset delay time is over, so that the lighting devices may be prevented from being highly sensitive to the sound signal for a long time.

Further, in some embodiments, the method for controlling an illumination apparatus further includes: detecting a current value of an illumination loop of the illumination device when the illumination device is in a lighting state; and if the current value is smaller than the preset current threshold value, generating fault information.

Further, in some embodiments, the method for controlling an illumination apparatus further includes: and sending the fault information to a preset mobile terminal. The preset mobile terminal may be a mobile phone, a tablet, a computer, and the like, and is not limited specifically herein.

It can be understood that the lighting device may sometimes be damaged, for example, the lamp is not turned on, and therefore, in the embodiment of the application, when the lighting device is in the lighting state, the current value of the lighting device may be detected, and if the current value is smaller than the preset current threshold, it is indicated that the lighting device is damaged, and compared with a method for detecting a voltage error, the accuracy rate of detecting whether the lighting device is damaged by using the current value is higher.

For example, the detection circuit shown in fig. 3 may be used in the embodiment of the present application to detect the current value of the lighting circuit of the lighting device. The current value of the lighting loop of the lighting equipment can be detected through the Hall transformer, when the lighting equipment is controlled to be turned on, if the detected current value is smaller than a preset threshold value, the lighting equipment can be determined to be damaged, and compared with a method for detecting voltage errors, the method for detecting whether the lighting equipment is damaged through the current value is higher in accuracy.

It should be noted that the detection circuit is only exemplary and is not meant to limit the present invention, and the embodiment of the present application may further perform fine classification on the detected circuit to determine the good or bad state of the lamp, so as to facilitate maintenance.

Further, in order to replace the lighting device in time, the embodiment of the application can send the fault information to the mobile phone of the user or other mobile terminal devices when the lighting device is damaged, and no specific limitation is made here.

In order to further understand the control method of the lighting device according to the embodiment of the present application, a lighting system related to the control method of the lighting device according to the embodiment of the present application will be described in detail below.

As shown in fig. 2, the lighting system includes: main control unit and lamp controller. The main controller comprises a first power supply circuit, an entrance guard card identification module, a key trigger switch, a first communication assembly (such as an NB-IOT module) and a second communication assembly (such as a ZIGBEE communication module). The first power supply circuit supplies power to the main controller; the entrance guard card identification module can acquire a target floor corresponding to an area to be illuminated; the key trigger switch can acquire a target floor corresponding to the area to be illuminated; the first communication assembly is used for generating a first wireless signal containing an illumination instruction according to a target floor and sending the first wireless signal to the lamp controller through the second communication assembly, and the second communication assembly can also receive fault information sent by the lamp controller. The main controller may be located at an entrance of the cell door (or may be located in each room), and the first communication component is an NB-IoT (Narrow Band Internet of Things) communication chip.

The lamp controller comprises a second power supply circuit, a sound grading control circuit, a control unit, a detection circuit and a third communication assembly. The second power supply circuit supplies power to the lamp controller; the sound grading control circuit modifies response parameters of the lighting equipment arranged on the target floor according to the lighting instructions; the control unit may receive a first wireless signal containing an illumination instruction sent by the first communication component via the second communication component and send the illumination instruction to the sound grading control circuit. Among other things, the control unit may use an STM32 chip. The detection circuit can detect the current value of the lighting loop of the lighting equipment so as to generate fault information when the lighting equipment is controlled to be turned on and if the current value is smaller than a preset threshold value; and the third communication assembly is connected with the control unit and used for generating and sending a second wireless signal containing fault information to the second communication assembly according to the control instruction of the control unit. The controller is located at the voice control switch of each floor, each controller can provide ZIGBEE to realize mutual communication or transfer information to the main controller, and ZIGBEE wireless information can be transferred to the highest floor from the first floor through other floors.

The NB-IoT can be directly deployed in GSM (Global System for Mobile Communications), UMTS (Universal Mobile Telecommunications System), or LTE (Long Term Evolution) Network, supports cellular data connection of Low-Power devices in a Wide Area Network (WAN), is also called a Low-Power Wide-Area Network (LPWAN), has the characteristics of Wide coverage, more connections, Low cost, Low Power consumption, excellent architecture and the like, is widely applied to industries with Low requirements on transmission data volume and communication rate, such as remote meter reading, asset tracking, intelligent parking, agriculture and the like, and an NB-IoT communication chip adopts a BG95-N1 module. The second communication component and the third communication component are Zigbee wireless communication chips. The wireless communication chip can adopt AW516X to transmit and receive data and transmit data; the Zigbee is a wireless connection, can work in 2.4GHz unlicensed frequency band, has the transmission distance of 10-75m generally, has the technical characteristics of short distance, short time delay, low speed, low power consumption, ad hoc network, wireless signal relay function and the like, and adopts a honeycomb structure for networking. The first communication assembly may also include a second communication assembly (ZIGBEE wireless communication or other communication means); mutual ZIGBEE information interaction is realized between the second communication assembly and the third communication assembly, the second communication assembly transmits a control signal to the third communication assembly, the third communication assembly transmits lamp state information to the second communication assembly, and the third communication assembly can also communicate with other communication assemblies.

It should be noted that, the main controller may use an NB-IoT communication chip (a first communication component) as the main control chip, the number of floors that each access control card reaches is added and stored in the first communication component, and the first communication component is connected to a triggering module for triggering the lamp controller at the same time, and the triggering module includes an access control card identification module triggered upstairs and a key switch triggered downstairs. At the entrance of a door, corresponding floor information can be read through the identification of the main controller to the entrance guard card, and then the information is sent to the lamp controller to modify the response parameters of the lighting equipment arranged on the target floor, so that smaller sound can be identified, and the response parameters of the lighting equipment are restored to default values after the sound signal exists on the target floor or after a certain time is delayed. If it damages to detect lighting apparatus, can convey to main control unit through third communication subassembly communication to further send to predetermineeing the terminal by the second communication subassembly via first communication subassembly and overhaul, perhaps transmit to the platform through wireless communication network, in order to inform maintainer to overhaul through modes such as cell-phone APP, realize local collection and the remote report to lighting lamp operation information.

The control flow of the main controller and the lamp controller is described below with reference to specific examples.

As shown in fig. 5, fig. 5 is a control flow chart of the main controller, which includes the following steps:

s501, receiving card swiping information of the access control card.

And S502, the main controller judges that the target floor is N floors.

S503, each lamp controller is informed by the second communication component of a delay time period T1 that allows it to control the lamp into the high-sensitivity state.

And S504, sending a control signal for lighting the lighting equipment on the floor where the current user is located to the lamp controller through the second communication component.

As shown in fig. 6, fig. 6 is a control flow chart of the lamp controller, including the following steps:

s601, receiving the time delay time T1 of the high sensitivity allowed by the main controller to calculate the time delay time of the layer, storing and setting the parameters such as the sensitivity adjustment level and the like sent by the main controller.

S602, if the lamp controller receives the message that the last floor is lighted, the lighting equipment on the floor is controlled to enter a high-sensitivity time-delay state, otherwise, the lighting equipment does not enter the high-sensitivity time-delay state.

S603, the lamp controller judges whether the sound signal is detected within the preset delay time, if so, the step S604 is executed, otherwise, the step S605 is executed.

And S604, controlling the lighting equipment on the floor to be lighted, and sending a message that the floor is lighted to the lighting equipment on the next floor, so that the lighting equipment on the next floor enters a high-sensitivity state for preset delay time.

And S605, finishing the high-sensitivity time delay of the lamp controller and keeping the low-sensitivity state.

According to the control method of the lighting equipment provided by the embodiment of the application, a plurality of target floors corresponding to the area to be illuminated can be detected, and a first wireless signal containing an illumination instruction is generated according to each target floor; acquiring a current lighting floor of the lighting equipment; according to the current lighting floor, the preset delay time and the lighting instruction in the first wireless signal modify the response parameters of the lighting equipment arranged on the target floor above and/or below the current lighting floor, so that the response parameters are higher than those of other floors, the induction sensitivity of the lighting equipment is managed by multi-level intelligent control, the problem of poor user experience caused by incapability of setting the perception sound of the lighting equipment in the related technology is solved, intelligent lighting and extinguishing control and energy conservation and emission reduction of the lighting equipment are realized, convenience is brought to resident trip, and the use experience of a user is improved.

Next, a control apparatus of a lighting device proposed according to an embodiment of the present application is described with reference to the drawings. In this embodiment, the lighting apparatus is disposed at a lighting position of each floor of the corridor.

Fig. 7 is a block schematic diagram of a control device of a lighting apparatus according to an embodiment of the present application.

As shown in fig. 7, the control device 10 of the lighting apparatus includes: a generation module 100, an acquisition module 200 and a modification module 300.

The generation module 100 is configured to detect a plurality of target floors corresponding to an area to be illuminated, and generate a first wireless signal including an illumination instruction according to each target floor;

the obtaining module 200 is configured to obtain a current lighting floor of the lighting device; and

the modification module 300 is configured to modify the response parameters of the lighting devices of the target floor above and/or below the currently-lit floor according to the currently-lit floor, the preset delay time and the lighting instruction in the first wireless signal, so as to be higher than the response parameters of other floors.

Further, after modifying the response parameters of the lighting devices of the target floor above and/or below the currently illuminated floor according to the currently illuminated floor, the preset delay time and the lighting instruction in the first wireless signal, the modification module 300 is further configured to:

controlling the lighting equipment of the target floor adjacent to the current lighting floor to enter a delay state based on a preset delay time;

judging whether the lighting equipment of the target floor adjacent to the current lighting floor detects a sound signal within a preset delay time;

and if the sound signal is detected, lightening a target floor adjacent to the current lightening floor, and returning to control the lighting equipment of the target floor adjacent to the current lightening floor to enter a time delay state based on the preset time delay duration until the lighting equipment cannot detect the sound signal in the preset time delay duration.

Further, the modification module 300 is further configured to:

and if the sound signal is not detected, controlling the response parameters of the lighting devices of the plurality of target floors to be recovered to the initial response parameters after the preset delay time is over.

Further, still include:

the detection module is used for detecting the current value of an illumination loop of the illumination equipment when the illumination equipment is in an on state;

and the judging module is used for generating fault information if the current value is smaller than the preset current threshold value.

Further, still include:

and the sending module is used for sending the fault information to the preset mobile terminal.

According to the control device of the lighting equipment provided by the embodiment of the application, a plurality of target floors corresponding to a to-be-illuminated area can be detected, and a first wireless signal containing an illumination instruction is generated according to each target floor; acquiring a current lighting floor of the lighting equipment; according to the current lighting floor, the preset delay time and the lighting instruction in the first wireless signal modify the response parameters of the lighting equipment arranged on the target floor above and/or below the current lighting floor, so that the response parameters are higher than those of other floors, the induction sensitivity of the lighting equipment is managed by multi-level intelligent control, the problem of poor user experience caused by incapability of setting the perception sound of the lighting equipment in the related technology is solved, intelligent lighting and extinguishing control and energy conservation and emission reduction of the lighting equipment are realized, convenience is brought to resident trip, and the use experience of a user is improved.

Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device may include:

a memory 801, a processor 802, and a computer program stored on the memory 801 and executable on the processor 802.

The processor 802, when executing the program, implements the control method of the lighting device provided in the above-described embodiments.

Further, the electronic device further includes:

a communication interface 803 for communicating between the memory 801 and the processor 802.

A memory 801 for storing computer programs operable on the processor 802.

The memory 801 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.

If the memory 801, the processor 802 and the communication interface 803 are implemented independently, the communication interface 803, the memory 801 and the processor 802 may be connected to each other via a bus and communicate with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 8, but this is not intended to represent only one bus or type of bus.

Optionally, in a specific implementation, if the memory 801, the processor 802, and the communication interface 803 are integrated on one chip, the memory 801, the processor 802, and the communication interface 803 may complete communication with each other through an internal interface.

The processor 802 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present Application.

The present embodiment also provides a computer-readable storage medium on which a computer program is stored, characterized in that the program, when executed by a processor, implements the control method of the lighting apparatus as above.

In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or N embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.

Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "N" means at least two, e.g., two, three, etc., unless specifically limited otherwise.

It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.

In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种自适应调整驱动功率的车身控制系统及方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!