CN113993256B - Lighting control method, device, system and readable storage medium - Google Patents

Lighting control method, device, system and readable storage medium Download PDF

Info

Publication number
CN113993256B
CN113993256B CN202111367518.5A CN202111367518A CN113993256B CN 113993256 B CN113993256 B CN 113993256B CN 202111367518 A CN202111367518 A CN 202111367518A CN 113993256 B CN113993256 B CN 113993256B
Authority
CN
China
Prior art keywords
current
time
latitude
longitude
day
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111367518.5A
Other languages
Chinese (zh)
Other versions
CN113993256A (en
Inventor
陶晓东
高平
李柏
潘传佑
徐丽玲
李巍
刘博文
吴梦伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Tengen Electric Co Ltd
Original Assignee
Zhejiang Tengen Electric 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 Zhejiang Tengen Electric Co Ltd filed Critical Zhejiang Tengen Electric Co Ltd
Priority to CN202111367518.5A priority Critical patent/CN113993256B/en
Publication of CN113993256A publication Critical patent/CN113993256A/en
Application granted granted Critical
Publication of CN113993256B publication Critical patent/CN113993256B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H05B47/16Controlling the light source by timing means
    • 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

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The embodiment of the application provides a lighting control method, a device, a system and a readable storage medium, wherein the method is applied to a lighting control system, the lighting control system comprises a gateway and at least one intelligent breaker, each intelligent breaker is used for connecting lighting loads, and the gateway stores longitude and latitude information of each lighting load; the method comprises the following steps: calculating the opening time and closing time of the corresponding lighting load on the current longitude and latitude according to the longitude and latitude information and the date of the current longitude and latitude; sending a closing instruction to the intelligent circuit breaker according to the opening time, so that the intelligent circuit breaker controls the corresponding lighting load to be opened after receiving the closing instruction; and sending a switching-off instruction to the intelligent circuit breaker according to the switching-off time, so that the intelligent circuit breaker controls the corresponding lighting load to be switched off after receiving the switching-off instruction. The method can realize accurate and reliable on-off control of the lighting loop, is energy-saving and safe, and can also reduce the cost of the whole system.

Description

Lighting control method, device, system and readable storage medium
Technical Field
The present disclosure relates to the field of power control technologies, and in particular, to a lighting control method, device, system, and readable storage medium.
Background
At present, the lighting control systems such as street lamps are usually controlled by the following control modes: 1. fixed time control, table look-up control, external longitude and latitude controller control, and light sensor control. The fixed time control mode needs to manually set the switching time according to different seasons and different sunrise and sunset times, and is time-consuming, labor-consuming and inaccurate in control; the table look-up method needs to select adjacent preset cities according to longitude and latitude of different target sites, and corresponding tables are summarized according to different cities and different dates, so that the table look-up workload is high and the control is inaccurate; although the external longitude and latitude controller is accurate in control, the method requires additional equipment and cost, and a certain installation space is required for installing the longitude and latitude controller, so that some miniaturized control equipment cannot adopt the method; the light sensor is smaller in size through sensing the visible switch strength control switch, but in actual application, the light sensor is greatly influenced by temperature, is easy to damage or fault and has higher requirement on the installation environment. In addition, the current lighting control systems such as street lamps are commonly used for controlling the on-off of a main loop by a relay or an alternating current contactor, but the relay and the alternating current contactor control the on-off of a normally open contact and a public terminal contact by utilizing a control terminal signal to control coil attraction, so that the breaking capacity is weak, and the like.
Disclosure of Invention
In view of this, the embodiments of the present application provide a lighting control method, apparatus, system, and readable storage medium, which can realize accurate and reliable on-off control of a lighting circuit, save energy and be safe, and also can reduce the cost of the entire system, etc.
The embodiment of the application provides a lighting control method which is applied to a lighting control system, wherein the lighting control system comprises a gateway and at least one intelligent breaker, each intelligent breaker is used for being connected with a lighting load, and the gateway stores longitude and latitude information of each connected lighting load; the method comprises the following steps:
calculating the opening time and closing time of the corresponding lighting load on the current longitude and latitude day according to the longitude and latitude information and the current day date;
sending a closing instruction to the intelligent circuit breaker according to the opening time, so that the intelligent circuit breaker controls the corresponding lighting load to be opened after receiving the closing instruction;
and sending a switching-off instruction to the intelligent circuit breaker according to the closing time, so that the intelligent circuit breaker controls the corresponding lighting load to be closed after receiving the switching-off instruction.
In some embodiments, the calculating the on time and the off time of the current day of the corresponding lighting load according to the longitude and latitude information and the date of the current day includes:
calculating the noon time of the current longitude according to the longitude of the current lighting load and the current date;
calculating the number of days from the first day to the current day of the current year, calculating a corresponding progress angle of the current day according to the number of days, and calculating the time of the current latitude on the current day according to the progress angle;
calculating the buffer time of the current latitude;
and calculating the opening time and closing time of the current longitude and latitude on the same day according to the noon time, the long-time day and the buffer time.
In some embodiments, the noon time of the current longitude is calculated according to the following formula:
Tzw=36-(360*j+(-1)j*JD-120)/15;
wherein Tzw represents the noon time of the current longitude JD; j represents whether the current longitude JD is located in the east or west longitude, j=0 is the east longitude, and j=1 west longitude.
In some embodiments, the calculating the process angle corresponding to the current day according to the number of days includes:
determining the current solar terms to which the current day belongs according to the number of days, wherein each solar term is preset with a respective process angle calculation rule;
and calculating the progress angle of the current solar terms on the same day according to the number of days and the corresponding progress angle calculation rule of the current solar terms.
In some embodiments, the solar terms include spring, summer, autumn and winter, and the process angle calculation rules of the four solar terms are:
JC=(((DD+8)%365)-87)*23.45/88;
JC=(((DD+8)%365)-87)*23.45/94;
JC=((271-(DD+8)%365))*23.45/90;
JC=((271-(DD+8)%365))*23.45/93;
wherein JC represents the progress angle and DD represents the number of days.
In some embodiments, the current latitude is calculated according to the following formula during the day length of the day:
Trc=24*k+(-1) k *(360-2*arcos(sin(WD*π/180)*(tan(JC*π/180)/(cos(WD*π/180))))/360*24);
wherein Trc represents the time of day, JC represents the progress angle, k represents whether the current latitude WD is located in the south latitude or the north latitude, k=1 is the south latitude, and k=0 is the north latitude.
In some embodiments, the calculation formula of the buffering time of the current latitude is as follows:
Tb=0.0004*WD^3-0.0187*WD^2+0.33*WD+21;
where Tb represents the buffering time and WD represents the current latitude.
In some embodiments, the calculation formulas of the opening time and the closing time of the current day under the current longitude and latitude are as follows:
Topen=(Tzw+Trc/2+Tb)%24;
Tclose=(24+Tzw-Trc/2-Tb)%24;
wherein Topen and Tclose represent the opening time and closing time, tzw represents the noon time, trc represents the long-time-of-day time, and Tb represents the buffering time, respectively.
The embodiment of the application also provides a lighting control device which is applied to a lighting control system, wherein the lighting control system comprises a gateway and at least one intelligent breaker, each intelligent breaker is used for being connected with a lighting load, and the gateway stores longitude and latitude information of each connected lighting load; the device comprises:
the time calculation module is used for calculating the opening time and closing time of the current longitude and latitude of the corresponding lighting load according to the longitude and latitude information and the date of the current day;
the instruction sending module is used for sending a closing instruction to the intelligent circuit breaker according to the opening time so that the intelligent circuit breaker can control the corresponding lighting load to be opened after receiving the closing instruction;
the instruction sending module is also used for sending a switching-off instruction to the intelligent circuit breaker according to the closing time, so that the intelligent circuit breaker controls the corresponding lighting load to be closed after receiving the switching-off instruction.
Embodiments of the present application also provide a lighting control system, including: the intelligent circuit breaker is used for being connected with lighting loads, longitude and latitude information of each connected lighting load is stored in the gateway, and the gateway adopts the lighting control method when controlling each lighting load.
In some embodiments, the intelligent circuit breaker comprises a first shell and a second shell, wherein the first shell comprises a main control circuit, a motor and a movable gear set, a movable contact assembly is arranged in the second shell, and the movable contact assembly is connected with the movable gear set;
the main control circuit is used for controlling the motor to drive the movable gear set to rotate after receiving a switching-on or switching-off instruction sent by the gateway so as to push the movable contact assembly to perform corresponding switching-on or switching-off actions, and further correspondingly controlling the connection or switching-on or switching-off of the connected lighting load and the power line.
Embodiments of the present application also provide a readable storage medium storing a computer program which, when executed on a processor, implements the above-described lighting control method.
The embodiment of the application has the following beneficial effects:
the illumination control method is applied to an illumination control system, the illumination control system comprises a gateway and at least one intelligent breaker, each intelligent breaker is used for being connected with an illumination load, and the gateway stores longitude and latitude information of each connected illumination load; the method comprises the following steps: calculating the opening time and closing time of the corresponding lighting load on the current longitude and latitude day according to the longitude and latitude information and the current day date; sending a closing instruction to the intelligent circuit breaker according to the opening time, so that the intelligent circuit breaker controls the corresponding lighting load to be opened after receiving the closing instruction; and sending a switching-off instruction to the intelligent circuit breaker according to the closing time, so that the intelligent circuit breaker controls the corresponding lighting load to be closed after receiving the switching-off instruction. According to the method, the gateway calculates the opening and closing time of each lighting load every day according to the longitude and latitude of the actual installation place and the date of the current day, and compared with the existing fixed time control scheme, table lookup control scheme and other schemes, the control is more accurate; in addition, as the corresponding longitude and latitude controllers or light sensation controllers and the like are not required to be externally connected to each lighting load, the simultaneous control of a plurality of lighting loads can be realized by only one gateway, the cost is lower, and the requirement on the installation space is lower. In addition, each lighting load is controlled to be on-off through the intelligent circuit breaker, and the intelligent circuit breaker can realize wireless communication with the gateway and the like, so that the breaking control of the lighting load is more reliable and convenient.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered limiting the scope, and that other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 illustrates a schematic diagram of a lighting control system according to an embodiment of the present application;
fig. 2 shows a schematic structural diagram of the intelligent circuit breaker according to the embodiment of the present application;
fig. 3 shows another schematic structural diagram of the intelligent circuit breaker according to the embodiment of the present application;
FIG. 4 shows a first flowchart of a lighting control method of an embodiment of the present application;
FIG. 5 illustrates a second flowchart of a lighting control method of an embodiment of the present application;
fig. 6 shows a schematic structural diagram of an illumination control apparatus according to an embodiment of the present application.
Description of main reference numerals:
100-a lighting control system; 110-gateway; 120-intelligent circuit breaker; 130-lighting load; 140-cloud platform; 210-a first housing; 220-a second housing; 211-a master control circuit; 212-a motor drive circuit; 213-motor; 214-a gear set; 215-a photosensor; 216-a power management module; 221-a moving contact assembly; 300-lighting control means; 310-a time calculation module; 320-instruction sending module.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments.
The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, are intended to be within the scope of the present application.
In the following, the terms "comprises", "comprising", "having" and their cognate terms may be used in various embodiments of the present application are intended only to refer to a particular feature, number, step, operation, element, component, or combination of the foregoing, and should not be interpreted as first excluding the existence of or increasing the likelihood of one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and should not be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of this application belong. The terms (such as those defined in commonly used dictionaries) will be interpreted as having a meaning that is identical to the meaning of the context in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in connection with the various embodiments.
Example 1
Referring to fig. 1, the present embodiment provides a lighting control system 100, which can be used for controlling lighting loads such as one or more street lamps.
Illustratively, the lighting control system 100 mainly includes a gateway 110 and at least one intelligent breaker 120, wherein the gateway 110 and each intelligent breaker 120 may be in a wired or wireless communication connection, such as 485 bus, a cellular network, or a Wifi network, and each intelligent breaker 120 is to be used for connecting to a corresponding lighting load 130. For example, the lighting load 130 may be a street lamp or the like.
Further optionally, the system may further include a cloud platform 140 connected to the gateway 110, where the cloud platform 140 may be configured to send some control instructions or data such as longitude and latitude information of each lighting load 130 to the gateway 110, and may also obtain status data of the gateway 110, each intelligent breaker 120, the lighting loads 130, and so on.
In this embodiment, the intelligent circuit breaker 120 is mainly used for controlling on and off of the connected lighting load 130 at required time. Since the lighting load 130 needs to be powered by a corresponding power line, the intelligent breaker 120 can obtain a required operating voltage by taking power from the corresponding power line.
In one embodiment, as shown in fig. 2, the intelligent circuit breaker 120 mainly includes a first housing 210 and a second housing 220, wherein the first housing 210 is also called an electrically operated housing, and is mainly responsible for communicating with the gateway 110, and sends out a motor driving control signal according to a corresponding command to push the corresponding gear set to rotate; the second housing 220 is called an air switch housing, and is mainly responsible for realizing synchronous linkage operation of the link mechanism components under the drive of the rotating gear set, thereby realizing control of real on-off of the lighting load 130 and the power line.
As shown in fig. 2, in the first housing 210, the main control circuit 211 mainly includes a main control circuit 211, a motor driving circuit 212, a motor 213, a gear set 214, a photoelectric sensor 215, a power management module 216, etc., where the main control circuit 211 is mainly used for communicating with the gateway 110, and controlling the motor driving circuit 212 according to feedback signals of the photoelectric sensor 215, etc., so as to control actions such as forward rotation, reverse rotation or stop of the motor 213, etc., and further drive the second housing 220 to execute corresponding operations through the gear set 214. If the intelligent circuit breaker 120 and the gateway 110 adopt a wired communication mode, the main control circuit 211 can directly interact with the gateway 110; optionally, if a wireless communication manner is adopted, the intelligent breaker 120 may further include a wireless communication module, such as a Wifi module, a 4G cellular module, etc., for implementing interaction with the gateway 110.
The power management module 216 may be configured to take ac power from the power line and convert the ac power to a low-voltage dc power, for example, 5V, 12V, etc., so as to provide the operating voltage for the main control circuit 211 and the motor driving circuit 212. As an alternative, the chip of the intelligent breaker 120 and the motor driving circuit 212 may be powered by an external power module, for example, a bus such as Type-C may be used for connection, and the reduced direct current, such as 12V, is input to the intelligent breaker 120 at this time, so the voltage driving circuit may be directly connected to the external power module to obtain the required working voltage, and a simple reducing circuit may be provided for reducing the working voltage of the chip in the intelligent breaker 120, such as a linear voltage stabilizer. It will be appreciated that the manner of power supply for the intelligent circuit breaker 120 is not limited herein.
In one embodiment, a movable gear set 214 is disposed in the first housing 210, the movable gear set 214 includes a plurality of gears, each gear is connected by a corresponding link or direct engagement, for example, as shown in fig. 3, the movable gear set 214 includes an initial gear 1, a second gear 2, a third gear 3 and a fourth gear 4, wherein the initial gear is directly driven by a motor 213, the second gear 2 is connected with the third gear 3, a protruding structure is disposed on the third gear 3 for pushing the trip link 6 to complete the trip action, the fourth gear 4 is connected with a link 5, and the link 5 is connected with a movable contact assembly 221 in the second housing 220. Therefore, when the control motor 213 drives the movable gear set 214 to rotate, based on the transmission structures, the movable contact assembly 221 for directly controlling the on-off of the lighting load 130 and the power line is driven to operate, so as to achieve the purpose of opening and closing.
Regarding the structure in the second housing 220, in one embodiment, the structure mainly includes the moving contact assembly 221, an electromagnetic system for improving safety, a bimetal assembly, an arc extinguishing assembly, and the like, where the electromagnetic system is mainly used for short-circuit protection, and when the lighting load 130 is shorted, the electromagnetic system pushes the moving contact assembly 221 to separate from the fixed contact, so as to disconnect the load from the power line, thereby achieving the short-circuit delay protection function. The bimetal assembly is mainly used for overload protection, when current is overloaded, the bimetal layers with different thermal expansion coefficients are heated and bent to push the movable contact assembly 221 to be separated from the fixed contact, so that the load and the power line are disconnected, and the short-circuit delay protection function is achieved. In addition, the arc extinguishing assembly is mainly used for attracting, lengthening and extinguishing an arc during breaking, improving safety and the like.
According to the lighting control system, the gateway and the intelligent circuit breaker are adopted to realize lighting control on lighting loads, corresponding longitude and latitude controllers or light sensation controllers and the like are not required to be externally connected in each lighting load, and simultaneous control on a plurality of lighting loads can be realized only by one gateway, so that the cost is lower, and meanwhile, the requirement on an installation space is lower. The on-off control is carried out through the intelligent circuit breaker, so that the breaking control of lighting load is more reliable and convenient, and the like.
Example 2
Referring to fig. 4, the present embodiment proposes a lighting control method to be applied to the lighting control system 100 of the above embodiment 1, so as to realize precise control of the lighting load 130.
For example, when calculating the switching time of the corresponding lighting load, the gateway 110 needs to obtain the position information such as the longitude and latitude of the actual installation location of each lighting load, and then execute the following steps:
step S110, the on time and the off time of the current longitude and latitude of the corresponding lighting load are calculated according to the longitude and latitude information and the date of the current longitude and latitude.
For each lighting load, the respective on-time and off-time may be calculated from its longitude and latitude information, the date of the day, and the like, as an example. In one embodiment, as shown in fig. 5, the step S110 may include the following sub-steps:
sub-step S210, calculating the noon time of the current longitude from the longitude of the current lighting load and the current date.
Illustratively, in calculating the noon time, it may be first determined from the longitude whether it is in the east or west longitude, e.g., east longitude may be represented by j=0 and west longitude by j=1; further, the noon time of the current longitude is determined according to the following formula:
Tzw=36-(360*j+(-1)j*JD-120)/15;
wherein Tzw represents the noon time of the current longitude JD; j represents whether the current longitude JD is located in the east or west longitude.
In the substep S220, the number of days from the first day to the current day of the current year is calculated, the process angle corresponding to the current day is calculated according to the number of days, and the time of day of the current latitude is calculated according to the process angle.
Illustratively, according to the date of the day, the total day DD from 1 month 1 day to the day of the present year can be calculated, for example, without considering leap years, the following formula can be adopted for calculation:
DD=A[N-1]+D;
wherein D represents the date, N represents the month, 12 months a year, so it can be represented as A0-A11. In this embodiment, a [ N-1] = {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334}.
It is considered that the angle of direct sunlight is also different due to different time points, which affects the sunlight time. The above-mentioned process angle mainly refers to the direct solar radiation angle of the current day, and by calculating the process angle from the current day to the corresponding solar terms, the embodiment can obtain more accurate long-time solar terms.
In this embodiment, the number of days and the time point occupied by each throttle can be determined in advance for the number of days of one year according to the four throttles of spring, summer, autumn and winter. For example, for 365 days a year, spring festival can be divided into intervals [1, 87); the summer-time throttling may be divided into intervals [87, 181); autumn-split gas can be divided into intervals [181, 271); winter to solar terms may be divided into intervals 271, 365.
Further, based on the above section division, a corresponding process angle calculation rule is set for each throttle. In one embodiment, the progress angle calculation rules for each damper relate to the number of days for the corresponding damper. Specifically, the process angle calculation rules of the spring festival, the summer festival, the autumn festival and the winter festival can be set as follows:
JC=(((DD+8)%365)-87)*23.45/88;
JC=(((DD+8)%365)-87)*23.45/94;
JC=((271-(DD+8)%365))*23.45/90;
JC=((271-(DD+8)%365))*23.45/93;
where JC represents the angle of progress of the day in the solar terms to which it belongs, and DD represents the number of days from the first day (1 month, 1 day) to the current day of the year.
Then, after the corresponding process angle is calculated, the time of day of the current latitude on the same day can be calculated according to the following formula:
Trc=24*k+(-1) k *(360-2*arcos(sin(WD*π/180)*(tan(JC*π/180)/(cos(WD*π/180))))/360*24);
where Trc denotes a long-time-of-day, JC denotes a progress angle, WD denotes a current latitude, k denotes whether the current latitude is located in a south latitude or a north latitude, k=1 is a south latitude, and k=0 is a north latitude.
In a substep S230, the buffering time of the current latitude is calculated.
The calculation formula of the buffer time Tb of the current latitude WD is as follows:
Tb=0.0004*WD^3-0.0187*WD^2+0.33*WD+21。
it will be appreciated that the time before the moment when the sun rises is short, and the time when the sun falls down is long, the buffer time is taken into consideration, so that the lighting load can be correspondingly turned off and turned on in advance before the sun rises and after the sun falls down, so that the purpose of saving electricity can be achieved.
And step S240, calculating the opening time and the closing time of the current longitude and latitude on the same day according to the noon time, the long-time day and the buffering time.
Illustratively, when the noon time Tzw corresponding to the longitude, the day time Trc corresponding to the latitude and the buffer time Tb are calculated, the opening time and closing time of the current day under the longitude and latitude may be calculated according to the following formulas:
Topen=(Tzw+Trc/2+Tb)%24;
Tclose=(24+Tzw-Trc/2-Tb)%24。
it should be noted that the system time of the gateway 110 is taken as the eastern eight area instead of the current latitude and longitude time as the standard in this embodiment, so that the lighting system can be suitable for different areas and the like.
And step S120, a closing instruction is sent to the intelligent circuit breaker 120 according to the opening time, so that the intelligent circuit breaker 120 controls the corresponding lighting load to be opened after receiving the closing instruction.
And step S130, sending a switching-off instruction to the intelligent circuit breaker 120 according to the closing time, so that the intelligent circuit breaker 120 controls the corresponding lighting load to be closed after receiving the switching-off instruction.
Wherein latitude and longitude information for each lighting load may be pre-associated with a unique identification of the corresponding intelligent breaker 120. Illustratively, after calculating the opening time and the closing time, when the opening time is reached, the gateway 110 will send a closing command to the intelligent breaker 120 corresponding to the longitude and latitude, and the intelligent breaker 120 controls the corresponding lighting load to be opened. Similarly, when the closing time is reached, the gateway 110 will send a switching-off instruction to the intelligent breaker 120 corresponding to the longitude and latitude, and then the intelligent breaker 120 controls the corresponding lighting load to be closed, so as to complete the opening and closing control of the lighting load in the same day.
Further, the gateway 110 may immediately start the opening and closing time for the next time after each power-up initialization, and after each day of the switching-off and switching-on actions, and so on.
According to the lighting control method, the gateway timely calculates the opening and closing time of each lighting load every day according to the longitude and latitude of the actual installation place of each lighting load and the date of the day, and compared with the existing fixed time control scheme, table lookup control scheme and other schemes, the lighting control method is more accurate in control; in addition, as the corresponding longitude and latitude controllers or light sensation controllers and the like are not required to be externally connected to each lighting load, the simultaneous control of a plurality of lighting loads can be realized by only one gateway, the cost is lower, and the requirement on the installation space is lower. In addition, each lighting load is controlled to be on-off through the intelligent circuit breaker, and the intelligent circuit breaker can realize wireless communication with the gateway and the like, so that the breaking control of the lighting load is more reliable and convenient.
Example 3
Referring to fig. 6, based on the method of the above embodiment 2, the present embodiment proposes a lighting control device 300, which is applied to a lighting control system, the lighting control system includes a gateway 110 and at least one intelligent breaker 120, each intelligent breaker 120 is used for connecting a lighting load, and the gateway 110 stores longitude and latitude information of each connected lighting load.
Illustratively, the lighting control apparatus 300 includes:
the time calculating module 310 is configured to calculate an on time and an off time of the day under the current longitude and latitude of the corresponding lighting load according to the longitude and latitude information and the date of the day.
The instruction sending module 320 is configured to send a closing instruction to the intelligent circuit breaker 120 according to the opening time, so that the intelligent circuit breaker 120 controls the corresponding lighting load to be opened after receiving the closing instruction.
The instruction sending module 320 is further configured to send a switching-off instruction to the intelligent circuit breaker 120 according to the closing time, so that the intelligent circuit breaker 120 controls the corresponding lighting load to be closed after receiving the switching-off instruction.
It will be appreciated that the apparatus of this embodiment corresponds to the method of embodiment 2 described above, and the alternatives in embodiment 2 described above are equally applicable to this embodiment, so that the description will not be repeated here.
The present application also provides a gateway, which exemplarily includes a processor and a memory, wherein the memory stores a computer program, and the processor executes the computer program, so that the terminal device executes the lighting control method.
The present application also provides a readable storage medium for storing the computer program for use in the gateway described above.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners as well. The apparatus embodiments described above are merely illustrative, for example, of the flow diagrams and block diagrams in the figures, which illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules or units in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application.

Claims (9)

1. The lighting control method is characterized by being applied to a lighting control system, wherein the lighting control system comprises a gateway and at least one intelligent breaker, each intelligent breaker is used for being connected with a lighting load, and the gateway stores longitude and latitude information of each connected lighting load; the method comprises the following steps:
calculating the opening time and closing time of the corresponding lighting load on the current longitude and latitude day according to the longitude and latitude information and the current day date;
sending a closing instruction to the intelligent circuit breaker according to the opening time, so that the intelligent circuit breaker controls the corresponding lighting load to be opened after receiving the closing instruction;
sending a switching-off instruction to the intelligent circuit breaker according to the closing time, so that the intelligent circuit breaker controls the corresponding lighting load to be closed after receiving the switching-off instruction;
the calculating the opening time and closing time of the corresponding lighting load on the current longitude and latitude according to the longitude and latitude information and the date of the current day comprises the following steps:
calculating the noon time of the current longitude according to the longitude of the current lighting load and the current date;
calculating the number of days from the first day to the current day of the current year, calculating a corresponding progress angle of the current day according to the number of days, and calculating the time of the current latitude on the current day according to the progress angle;
calculating the buffer time of the current latitude;
and calculating the opening time and closing time of the current longitude and latitude on the same day according to the noon time, the long-time day and the buffer time.
2. The lighting control method according to claim 1, wherein calculating the progress angle corresponding to the current day from the number of days comprises:
determining the current solar terms to which the current day belongs according to the number of days, wherein each solar term is preset with a respective process angle calculation rule;
and calculating the progress angle of the current solar terms on the same day according to the number of days and the corresponding progress angle calculation rule of the current solar terms.
3. The lighting control method of claim 2, wherein the solar terms include spring, summer, autumn and winter, and the process angle calculation rules of the four solar terms are:
JC=(((DD+8)%365)-87)*23.45/88;
JC=(((DD+8)%365)-87)*23.45/94;
JC=((271-(DD+8)%365))*23.45/90;
JC=((271-(DD+8)%365))*23.45/93;
wherein JC represents the progress angle and DD represents the number of days.
4. The lighting control method of claim 1, wherein the noon time of the current longitude is calculated according to the following formula:
Tzw=36-(360*j+(-1) j *JD-120)/15;
wherein Tzw represents the noon time of the current longitude JD; j represents whether the current longitude JD is located in the east or west longitude, j=0 is the east longitude, and j=1 is the west longitude;
the current latitude is calculated according to the following formula during the day length of the day:
Trc=24*k+(-1) k *(360-2*arcos(sin(WD*π/180)*(tan(JC*π/180)/
(cos(WD*π/180))))/360*24);
wherein Trc represents the time of day, JC represents the progress angle, k represents whether the current latitude WD is located in the south latitude or the north latitude, k=1 is the south latitude, and k=0 is the north latitude.
5. The lighting control method according to claim 1, wherein the calculation formula of the buffering time of the current latitude is as follows:
Tb=0.0004*WD^3-0.0187*WD^2+0.33*WD+21;
wherein Tb represents the buffering time, WD represents the current latitude;
the calculation formulas of the opening time and the closing time of the current longitude and latitude on the same day are as follows:
Topen=(Tzw+Trc/2+Tb)%24;
Tclose=(24+Tzw-Trc/2-Tb)%24;
wherein Topen and Tclose represent the on time and the off time, respectively, tzw represents the noon time, and Trc represents the long-time-of-day.
6. The lighting control device is characterized by being applied to a lighting control system, wherein the lighting control system comprises a gateway and at least one intelligent breaker, each intelligent breaker is used for being connected with a lighting load, and the gateway stores longitude and latitude information of each connected lighting load; the device comprises:
the time calculation module is used for calculating the opening time and closing time of the current longitude and latitude of the corresponding lighting load according to the longitude and latitude information and the date of the current longitude and latitude, and specifically comprises the following steps: calculating the noon time of the current longitude according to the longitude of the current lighting load and the current date; calculating the number of days from the first day to the current day of the current year, calculating a corresponding progress angle of the current day according to the number of days, and calculating the time of the current latitude on the current day according to the progress angle; calculating the buffer time of the current latitude; calculating the opening time and closing time of the current longitude and latitude on the same day according to the noon time, the long-time day and the buffer time;
the instruction sending module is used for sending a closing instruction to the intelligent circuit breaker according to the opening time so that the intelligent circuit breaker can control the corresponding lighting load to be opened after receiving the closing instruction;
the instruction sending module is also used for sending a switching-off instruction to the intelligent circuit breaker according to the closing time, so that the intelligent circuit breaker controls the corresponding lighting load to be closed after receiving the switching-off instruction.
7. A lighting control system, comprising: a gateway and at least one intelligent breaker, each intelligent breaker is used for connecting lighting loads, the gateway stores longitude and latitude information of each connected lighting load, and the gateway adopts the lighting control method as claimed in any one of claims 1 to 5 when controlling each lighting load.
8. The lighting control system of claim 7, wherein the intelligent circuit breaker comprises a first housing and a second housing, the first housing comprises a main control circuit, a motor and a movable gear set, the second housing is internally provided with a movable contact assembly, and the movable contact assembly is connected with the movable gear set;
the main control circuit is used for controlling the motor to drive the movable gear set to rotate after receiving a switching-on or switching-off instruction sent by the gateway so as to push the movable contact assembly to perform corresponding switching-on or switching-off actions, and further correspondingly controlling the connection or switching-on or switching-off of the connected lighting load and the power line.
9. A readable storage medium, characterized in that it stores a computer program which, when executed on a processor, implements the lighting control method according to any one of claims 1-5.
CN202111367518.5A 2021-11-18 2021-11-18 Lighting control method, device, system and readable storage medium Active CN113993256B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111367518.5A CN113993256B (en) 2021-11-18 2021-11-18 Lighting control method, device, system and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111367518.5A CN113993256B (en) 2021-11-18 2021-11-18 Lighting control method, device, system and readable storage medium

Publications (2)

Publication Number Publication Date
CN113993256A CN113993256A (en) 2022-01-28
CN113993256B true CN113993256B (en) 2024-04-09

Family

ID=79749224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111367518.5A Active CN113993256B (en) 2021-11-18 2021-11-18 Lighting control method, device, system and readable storage medium

Country Status (1)

Country Link
CN (1) CN113993256B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102958226A (en) * 2011-08-24 2013-03-06 何义植 System, device and method for intelligent centralized illuminating lamp control
CN106208394A (en) * 2016-09-21 2016-12-07 深圳市欧瑞博电子有限公司 Intelligent power saving electric power system based on cloud computing technology and method
CN108834279A (en) * 2018-06-29 2018-11-16 广州市浩洋电子股份有限公司 City illumination intelligent management system and localization method based on multi-internet integration
CN209472810U (en) * 2018-09-30 2019-10-08 东华理工大学 A kind of intelligent road lamp centralized control system
CN111556623A (en) * 2020-05-11 2020-08-18 上海顺舟智能科技股份有限公司 Intelligent lighting control equipment, method, system and medium based on Internet of things technology

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9949339B2 (en) * 2014-05-23 2018-04-17 Lonestar Inventions, L.P. Method and apparatus for controlling electrical power usage based on exact sun elevation angle and measured geographical location
US10085328B2 (en) * 2014-08-11 2018-09-25 RAB Lighting Inc. Wireless lighting control systems and methods

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102958226A (en) * 2011-08-24 2013-03-06 何义植 System, device and method for intelligent centralized illuminating lamp control
CN106208394A (en) * 2016-09-21 2016-12-07 深圳市欧瑞博电子有限公司 Intelligent power saving electric power system based on cloud computing technology and method
CN108834279A (en) * 2018-06-29 2018-11-16 广州市浩洋电子股份有限公司 City illumination intelligent management system and localization method based on multi-internet integration
CN209472810U (en) * 2018-09-30 2019-10-08 东华理工大学 A kind of intelligent road lamp centralized control system
CN111556623A (en) * 2020-05-11 2020-08-18 上海顺舟智能科技股份有限公司 Intelligent lighting control equipment, method, system and medium based on Internet of things technology

Also Published As

Publication number Publication date
CN113993256A (en) 2022-01-28

Similar Documents

Publication Publication Date Title
KR101193499B1 (en) Grid connected solar generation system and method thereof
KR101788326B1 (en) Methods, systems, and apparatus for shedding loads from an electrical grid
CN104110800A (en) Air conditioner, and on-off control method and on-off control system for resistive load
CN113993256B (en) Lighting control method, device, system and readable storage medium
US4147203A (en) Method and apparatus for controlling the heating and cooling function of a heat pump system
CN102109860A (en) Method and device for controlling transformer cooling system
CN102298341A (en) Microcomputer time control switch
CN211580268U (en) Lighting real-time control device
KR101001278B1 (en) Grid connected solar generation apparatus and method thereof
CA1202077A (en) Apparatus for controlling power consumption in lighting loads and the like
CN213126490U (en) Split type 5G communication intelligent turn-off device
CN202093407U (en) Automatic adjusting system for temperature controller
CN203368829U (en) Street light automatic timing control box
CN201549864U (en) Intelligent recloser
CN2711986Y (en) Intelligent control box for motor
CN212183796U (en) Illumination time control system
CN212013147U (en) Intelligent street lamp centralized controller
CN215647515U (en) Street lamp switch control circuit and street lamp box-type substation
CN217087508U (en) Self-adaptation management and control circuit with self-resuming fuse
CN205747340U (en) Communication outdoor machine cabinet air-conditioning
RU2177586C1 (en) Off-line heating system
CN220139778U (en) Remote control device for projection lamp of quay bridge
CN215499672U (en) Night scene light loop control device based on multi-carrier joint control
CN202617420U (en) Anti-explosion photoinduction illuminating control apparatus
CN201298177Y (en) An intelligent temperature control device for integrated automation transforming plant

Legal Events

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