CN111315094A - Light-operated lamp and control method thereof - Google Patents
Light-operated lamp and control method thereof Download PDFInfo
- Publication number
- CN111315094A CN111315094A CN202010158690.9A CN202010158690A CN111315094A CN 111315094 A CN111315094 A CN 111315094A CN 202010158690 A CN202010158690 A CN 202010158690A CN 111315094 A CN111315094 A CN 111315094A
- Authority
- CN
- China
- Prior art keywords
- light
- threshold
- illumination intensity
- lamp
- threshold value
- 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.)
- Granted
Links
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The application provides a light-operated lamp and a control method thereof, and the method comprises the following steps: acquiring a light-off threshold reference value through a photosensitive sensor; determining a light-off threshold value according to the light-off threshold value reference value and the illumination intensity of the light-operated lamp; and controlling the light-operated lamp to turn off according to the light-off threshold value. According to the embodiment of the application, the reference value of the light-off threshold value is obtained through the photosensitive sensor, the current light-off threshold value is determined according to the reference value of the light-off threshold value and the illumination intensity of the light-operated lamp, the function of accurately controlling the light-operated lamp to be turned on and off is achieved, the light-operated lamp has the advantages of being small in energy consumption, low in cost, high in reproducibility and simple and convenient to install, and can be widely applied to public places and greatly save social human resources. The problem of the mistake of turning off the light that traditional light-operated illumination lamps and lanterns lead to because the interference of self illumination has been solved, the flashing light phenomenon of light-operated lamps and lanterns has significantly reduced.
Description
Technical Field
The application belongs to the technical field of lighting equipment, and particularly relates to a light-operated lamp and a control method thereof.
Background
The light-operated lamp is widely applied at present, and the light-operated lamp is automatically turned on and off according to the intensity of light, so that unmanned automatic control can be realized, the waste of social resources is reduced, and the energy is effectively saved.
The light-on threshold value and the light-off threshold value are preset in a traditional light-operated lamp, the light intensity of the environment where the light-operated lamp is located is detected through a photosensitive sensor arranged on the light-operated lamp, and the light is automatically turned on when the light intensity reaches the preset light-on threshold value. And automatically turning off the lamp according to the illumination intensity reaching a preset lamp turning-off threshold value.
However, light emitted by the light-operated lamp interferes with the light-sensitive sensor, so that natural light and light of the light-operated lamp are superposed in the light intensity detected by the light-sensitive sensor, and the light is automatically controlled to be turned off according to the light intensity detected by the light-sensitive sensor and a preset light-off threshold value, so that the light-operated lamp frequently flashes.
Disclosure of Invention
The application provides a light-operated lamp and a control method thereof, a light-off threshold value reference value is obtained through a photosensitive sensor, and the current light-off threshold value is determined according to the light-off threshold value reference value and the illumination intensity of the light-operated lamp, so that the problem of mistaken light-off caused by the interference of illumination of the traditional light-operated lamp is solved, and the phenomenon of light flashing of the light-operated lamp is greatly reduced.
The embodiment of the first aspect of the present application provides a control method of a light-operated lamp, where the method includes;
acquiring a light-off threshold reference value through a photosensitive sensor;
determining a light-off threshold value according to the light-off threshold value reference value and the illumination intensity of the light-operated lamp;
and controlling the light-operated lamp to turn off according to the light-off threshold value.
In some embodiments of the present application, the obtaining the reference value of the light-off threshold value by the photosensitive sensor includes:
detecting the illumination intensity of the current environment in real time through a photosensitive sensor;
controlling a light-operated lamp to turn on according to the illumination intensity being less than or equal to a preset light-on threshold value;
reading the illumination intensity currently detected by the photosensitive sensor according to the condition that the lamp-on time is greater than or equal to the preset time;
determining the read illumination intensity as a light-off threshold reference value.
In some embodiments of the present application, the determining the light-off threshold according to the light-off threshold reference value and the illumination intensity of the light-controlled luminaire itself includes:
determining a threshold adjustment coefficient corresponding to the light-operated lamp according to the illumination intensity of the light-operated lamp;
and calculating the light-off threshold value according to the light-off threshold value reference value and the threshold value adjusting coefficient.
In some embodiments of the present application, the determining a threshold adjustment coefficient corresponding to the light-controlled lamp according to the illumination intensity of the light-controlled lamp itself includes:
determining an illumination intensity interval to which the illumination intensity of the light-operated lamp per se belongs;
acquiring a threshold adjustment coefficient corresponding to the illumination intensity interval;
and determining the obtained threshold value adjusting coefficient as a threshold value adjusting coefficient corresponding to the light-operated lamp.
In some embodiments of the present application, said calculating a light-off threshold according to the light-off threshold reference value and the threshold adjustment coefficient comprises:
determining a product of the turn-off threshold reference value and the threshold adjustment coefficient as a threshold adjustment amount;
calculating the sum of the reference value of the light-off threshold value and the threshold adjustment amount;
the calculated sum is determined as the light-off threshold.
In some embodiments of the present application, said controlling the light-operated lamp to turn off according to the light-off threshold comprises:
detecting the illumination intensity of the current environment in real time through the photosensitive sensor;
and controlling the light-operated lamp to turn off according to the fact that the detected illumination intensity is greater than or equal to the light-off threshold value.
An embodiment of a second aspect of the present application provides a light-controlled lamp, including a lamp body, a photosensor and a control chip;
the control chip is respectively connected with the lamp body and the photosensitive sensor;
the control chip acquires a light-off threshold reference value through the photosensitive sensor, and determines a light-off threshold according to the light-off threshold reference value and the illumination intensity of the lamp body; and controlling the lamp body to turn off the lamp according to the lamp turning-off threshold value.
In some embodiments of the present application, the light-sensitive sensor detects the illumination intensity of the current environment in real time;
the control chip reads the illumination intensity detected by the photosensitive sensor and controls the lamp body to be turned on according to the condition that the illumination intensity is smaller than or equal to a preset lamp turning-on threshold value;
and the control chip reads the illumination intensity currently detected by the photosensitive sensor as a light-off threshold value reference value according to the condition that the light-on time is greater than or equal to the preset time.
In some embodiments of the present application, the control chip determines a threshold adjustment coefficient corresponding to the lamp body according to the illumination intensity of the lamp body itself; and calculating the light-off threshold value according to the light-off threshold value reference value and the threshold value adjusting coefficient.
In some embodiments of the present application, the control chip determines an illumination intensity interval to which an illumination intensity of the lamp body itself belongs; acquiring a threshold adjustment coefficient corresponding to the illumination intensity interval; and determining the obtained threshold adjustment coefficient as a threshold adjustment coefficient corresponding to the lamp body.
In some embodiments of the present application, the control chip determines a product of the turn-off threshold reference value and the threshold adjustment coefficient as a threshold adjustment amount; calculating the sum of the reference value of the light-off threshold value and the threshold adjustment amount; the calculated sum is determined as the light-off threshold.
In some embodiments of the present application, the light-sensitive sensor detects the illumination intensity of the current environment in real time;
the control chip reads the illumination intensity detected by the photosensitive sensor, and controls the lamp body to turn off the lamp according to the fact that the detected illumination intensity is larger than or equal to the lamp turning-off threshold value.
An embodiment of the third aspect in the community proposes a computer-readable storage medium having stored thereon a computer program for execution by a processor for implementing the method of the first aspect described above.
The technical scheme provided in the embodiment of the application at least has the following technical effects or advantages:
in the embodiment of the application, the current illumination intensity is detected in real time, the current light-off threshold value is determined according to the detected illumination intensity and the illumination intensity of the light-operated lamp, the function of accurately controlling the light-operated lamp to turn on and off is realized, and the light-operated lamp has the characteristics of low energy consumption, low cost, high reproducibility and simplicity and convenience in installation, can be widely applied to public places, and greatly saves social human resources. The problem of the mistake of turning off the light that traditional light-operated illumination lamps and lanterns lead to because the interference of self illumination has been solved, the flashing light phenomenon of light-operated lamps and lanterns has significantly reduced.
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
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings.
In the drawings:
fig. 1 illustrates a flowchart of a control method for a light-controlled lamp according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a control method for a light-controlled lamp according to an embodiment of the present application;
fig. 3 is a schematic structural diagram illustrating a light control lamp according to an embodiment of the present application;
fig. 4 is a schematic structural diagram illustrating a control device of a light-controlled lamp according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 6 is a schematic diagram illustrating a memory structure according to an embodiment of the present application.
The meanings represented by the reference numerals in the above drawings are as follows:
1: lamp body, 2: photosensitive sensor, 3: and a control chip.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It is to be noted that, unless otherwise specified, technical or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which this application belongs.
A light control lamp and a control method thereof proposed according to an embodiment of the present application are described below with reference to the accompanying drawings.
The embodiment of the application provides a control method of a light-operated lamp, wherein after the light is turned on every time, a light-off threshold value is determined according to the illumination intensity of the light-operated lamp and the illumination intensity detected by a photosensitive sensor after the light is turned on, and the light-operated lamp is controlled to be turned off according to the determined light-off threshold value. Therefore, after the lamp is turned on at every time, the lamp turning-off threshold value is determined according to the illumination intensity of the lamp and the illumination intensity detected by the current photosensitive sensor, the influence of the illumination intensity of the lamp can be effectively offset, the condition that the lamp is turned off by mistake by the light-operated lamp is reduced, and the phenomenon of lamp flashing caused by the wrong turning-off of the lamp is reduced.
Referring to fig. 1, the method specifically includes the following steps;
step 101: and acquiring a reference value of the light-off threshold value through a photosensitive sensor.
The execution main body of the embodiment of the application is a light-operated lamp or a control chip installed in the light-operated lamp. One or more photosensitive sensors are installed on the light-operated lamp, and each photosensitive sensor is connected with the control chip.
And detecting the illumination intensity of the current environment in real time through a photosensitive sensor. The photosensitive sensor receives external light, converts the energy of the received light into a corresponding voltage value, transmits the converted voltage value to the control chip, the control chip is internally provided with an analog-to-Digital (AD) conversion module, the AD conversion module converts the voltage value into a corresponding value, the converted value is the illumination intensity of the current environment, and the illumination intensity is a measured value detected by the photosensitive sensor. If the light-operated lamp is provided with the photosensitive sensors, calculating the average value of the illumination intensity detected by the photosensitive sensors, and determining the average value as the illumination intensity of the current environment.
In the embodiment of the application, the light-on threshold is preset in the control chip of the light-operated lamp. The illumination intensity of the current environment is obtained in real time in the mode, the obtained illumination intensity is compared with the preset lamp-on threshold value, and when the obtained illumination intensity is judged to be smaller than or equal to the preset lamp-on threshold value, the light-operated lamp is controlled to be turned on according to the condition that the illumination intensity is smaller than or equal to the preset lamp-on threshold value. The method comprises the steps of starting timing when a light-operated lamp is turned on, comparing the timed on-time with preset time, reading the illumination intensity currently detected by a photosensitive sensor according to the on-time greater than or equal to the preset time when the on-time is determined to be greater than or equal to the preset time, and determining the read illumination intensity as a light-off threshold reference value.
The preset time period may be 3 seconds or 5 seconds. The embodiment of the application does not limit the specific value of the preset duration, and the actual value of the preset duration can be determined according to the specific condition of the light-operated lamp in practical application.
The preset duration is set to ensure that light reaches a stable state after the light-operated lamp is turned on for a period of time, so that the obtained reference value of the light-off threshold is the illumination intensity detected by the photosensitive sensor after the light of the light-operated lamp is stable. That is, the reference value of the light-off threshold is superimposed with the illumination intensity of natural light in the environment and the illumination intensity of the light-controlled lamp itself. In practical application, different light-operated lamps have different durations required by stable light after being turned on, and the value of the preset duration is related to the specific condition of the light-operated lamp.
Step 102: and determining the light-off threshold according to the light-off threshold reference value and the illumination intensity of the light-operated lamp.
The step of determining the light-off threshold specifically includes the following steps S1 and S2:
s1: and determining a threshold value adjusting coefficient corresponding to the light-operated lamp according to the illumination intensity of the light-operated lamp.
The light intensity of the light-operated lamp and the rated power of the light-operated lamp have a certain conversion relation, and the light intensity of the light-operated lamp can be converted according to the rated power of the light-operated lamp. The light-operated lamps with different illumination intensities have different corresponding threshold adjustment coefficients, and the higher the illumination intensity is, the lower the corresponding threshold adjustment coefficient is. The embodiment of the application obtains the numerical value change relationship between the illumination intensity of the light-operated lamp and the threshold value adjusting coefficient in advance through a large number of tests, and stores the corresponding relationship between different illumination intensity intervals and the threshold value adjusting coefficient in advance in the control chip of the light-operated lamp.
The light-operated lamp can determine an illumination intensity interval to which the illumination intensity of the light-operated lamp per se belongs; acquiring a threshold adjustment coefficient corresponding to the illumination intensity interval; and determining the obtained threshold value adjusting coefficient as a threshold value adjusting coefficient corresponding to the light-operated lamp.
In this embodiment of the application, the determined threshold adjustment coefficient may also be stored in the control chip, and when the subsequent light-operated lamp is turned on every time to determine the light-off threshold corresponding to the next light-on, the threshold adjustment coefficient may be directly taken from the control chip, so that the calculation process may be simplified, and the efficiency of the light-operated lamp to determine the light-off threshold corresponding to the next light-on may be improved.
S2: and calculating the light-off threshold according to the light-off threshold reference value and the threshold adjusting coefficient.
The light-operated lamp calculates the product of the reference value of the lamp-turning-off threshold value and the threshold value adjusting coefficient, and determines the product as the threshold value adjusting quantity; calculating the sum of the reference value of the light-off threshold value and the threshold value adjustment amount; the calculated sum is determined as the light-off threshold.
And after the light-off threshold value is calculated, the light-off threshold value is also stored so as to carry out light-off control according to the light-off threshold value.
In the embodiment of the application, the illumination intensity of natural light in the environment and the illumination intensity of the light-operated lamp are superposed in the reference value of the light-off threshold. And determining a threshold value adjusting coefficient according to the illumination intensity of the light-operated lamp, increasing the reference value of the light-off threshold value by the threshold value adjusting coefficient, and obtaining the light-off threshold value corresponding to the light-on after increasing. The light-off threshold value obtained by adjusting the light-off threshold value reference value according to the illumination intensity of the light-operated lamp per se counteracts the influence of the illumination intensity of the light-operated lamp per se.
Step 103: and controlling the light-operated lamp to turn off according to the light-off threshold value.
Detecting the illumination intensity of the current environment in real time through a photosensitive sensor; and comparing the detected illumination intensity with the light-off threshold, and controlling the light-operated lamp to turn off according to the fact that the detected illumination intensity is greater than or equal to the light-off threshold when the detected illumination intensity is greater than or equal to the light-off threshold.
After the light-operated lamp is controlled to be turned off, the light intensity of the current environment is detected in real time through the photosensitive sensor, the lamp is turned on when the light intensity is smaller than or equal to a preset lamp turning-on threshold value, and then the step 101 is returned to perform circular execution. And deleting the light-off threshold value which is stored in the control chip and calculated last time after the light is turned on again, and recalculating the light-off threshold value corresponding to the time.
In order to further facilitate understanding of the control scheme of the light-operated lamp according to the embodiment of the present application, the following description is briefly made with reference to the accompanying drawings. As shown in fig. 2, a 1: and reading the illumination intensity of the current environment. A2: and D, judging whether the illumination intensity reaches a preset light-on threshold, if so, executing the step A3, and if not, returning to the step A1. A3: and (5) turning on the lamp. A4: delaying for a preset duration. A5: and reading the illumination intensity of the current environment as a light-off threshold reference value. A6: and calculating a reference value of the light-off threshold value (1+ threshold value adjusting coefficient) to obtain the light-off threshold value. A7: and reading the illumination intensity of the current environment. A8: and judging whether the illumination intensity reaches a light-off threshold value, if so, executing the step A9, and if not, returning to the step A7. A9: turn off the light and then return to step a 1.
In this embodiment of the application, the control chip In the light-operated lamp may be a single chip, and the single chip is a small and perfect microcomputer system formed by integrating functions of a Central Processing Unit (CPU), a Random Access Memory (RAM), a Read-Only Memory (ROM), various I/O (In/Out) ports, an interrupt system, a timer/counter, an AD converter, and the like, which have data Processing capability, on a silicon chip by using an integrated circuit technology.
The light-operated lamp has the advantages that the current illumination intensity can be detected in real time by utilizing the AD conversion function of the photosensitive sensor and the single chip microcomputer, then the current lamp turning-off threshold value is determined according to the detected illumination intensity and the illumination intensity of the light-operated lamp, the function of accurately controlling the light-operated lamp to turn on and turn off is realized, the energy consumption is low, the cost is low, the reproducibility is high, the installation is simple and convenient, the light-operated lamp can be widely applied to public places, and social human resources are greatly saved. The problem of the mistake of turning off the light that traditional light-operated illumination lamps and lanterns lead to because the interference of self illumination has been solved, the flashing light phenomenon of light-operated lamps and lanterns has significantly reduced.
The embodiment of the application provides a light-operated lamp, which is used for executing the control method of the light-operated lamp described in the embodiment, as shown in fig. 3, the light-operated lamp includes a lamp body 1, a photosensor 2 and a control chip 3;
the control chip 3 is respectively connected with the lamp body 1 and the photosensitive sensor 2; the control chip 3 acquires a light-off threshold reference value through the photosensitive sensor 2, and determines a light-off threshold according to the light-off threshold reference value and the illumination intensity of the lamp body 1; and controlling the lamp body 1 to turn off the lamp according to the lamp turning-off threshold value.
Because the control chip 3 determines the light-off threshold value according to the illumination intensity of the lamp and the illumination intensity detected by the photosensitive sensor 2 at present after the lamp is turned on at each time, the influence of the illumination intensity of the lamp can be effectively offset, the condition that the lamp is turned off by mistake by the light-operated lamp is reduced, and the phenomenon of flashing light caused by the light turning off by mistake is reduced.
Specifically, the photosensitive sensor 2 detects the illumination intensity of the current environment in real time; the control chip 3 reads the illumination intensity detected by the photosensitive sensor 2 and controls the lamp body 1 to be turned on according to the condition that the illumination intensity is less than or equal to a preset lamp turning-on threshold value; and the control chip 3 reads the illumination intensity currently detected by the photosensitive sensor 2 as a light-off threshold reference value according to the condition that the light-on time is greater than or equal to the preset time.
The preset duration is set to ensure that the light reaches a steady state after the light of the light-operated lamp is turned on for a period of time, so that the obtained reference value of the light-off threshold is the illumination intensity detected by the photosensitive sensor 2 after the light of the light-operated lamp is steady. That is, the reference value of the light-off threshold is superimposed with the illumination intensity of natural light in the environment and the illumination intensity of the light-controlled lamp itself. In practical application, different light-operated lamps have different durations required by stable light after being turned on, and the value of the preset duration is related to the specific condition of the light-operated lamp.
The control chip 3 determines a threshold adjustment coefficient corresponding to the lamp body 1 according to the illumination intensity of the lamp body 1; and calculating the light-off threshold value according to the light-off threshold value reference value and the threshold value adjusting coefficient.
In the embodiment of the application, the corresponding relations between different illumination intensity intervals and the threshold value adjusting coefficients are pre-stored in the control chip 3 of the light-operated lamp. The control chip 3 determines an illumination intensity interval to which the illumination intensity of the lamp body 1 per se belongs; acquiring a threshold adjustment coefficient corresponding to the illumination intensity interval; and determining the obtained threshold value adjusting coefficient as the threshold value adjusting coefficient corresponding to the lamp body 1. Then the control chip 3 determines the product of the reference value of the light-off threshold and the threshold adjustment coefficient as the threshold adjustment amount; calculating the sum of the reference value of the light-off threshold value and the threshold value adjustment amount; the calculated sum is determined as the light-off threshold.
After the light-off threshold value is determined in the above mode, the photosensitive sensor 2 detects the illumination intensity of the current environment in real time; the control chip 3 reads the illumination intensity detected by the photosensitive sensor 2, and controls the lamp body 1 to turn off the lamp according to the fact that the detected illumination intensity is greater than or equal to the lamp turn-off threshold value.
The light control lamp provided by the embodiment of the application and the control method of the light control lamp provided by the embodiment of the application have the same inventive concept and have the same beneficial effects as those of the light control lamp adopted, operated or realized.
The embodiment of the present application provides a control device for a light-operated lamp, which is used for executing the control method for the light-operated lamp described in the above embodiment, and referring to fig. 4, the control device includes;
an obtaining module 401, configured to obtain a reference value of a light-off threshold through a photosensitive sensor;
a determining module 402, configured to determine a light-off threshold according to a light-off threshold reference value and an illumination intensity of the light-controlled lamp itself;
and a light-off control module 403, configured to control the light-operated lamp to turn off the light according to the light-off threshold.
The acquiring module 401 is configured to detect the illumination intensity of the current environment in real time through a photosensitive sensor; controlling the light-operated lamp to turn on according to the illumination intensity being less than or equal to a preset light-on threshold value; reading the illumination intensity currently detected by the photosensitive sensor according to the condition that the lamp-on time is greater than or equal to the preset time; the read illumination intensity is determined as the light-off threshold reference value.
The determining module 402 comprises:
the determining unit is used for determining a threshold adjusting coefficient corresponding to the light-operated lamp according to the illumination intensity of the light-operated lamp;
and the calculating unit is used for calculating the light-off threshold according to the light-off threshold reference value and the threshold adjusting coefficient.
The determining unit is used for determining an illumination intensity interval to which the illumination intensity of the light-operated lamp belongs; acquiring a threshold adjustment coefficient corresponding to the illumination intensity interval; and determining the obtained threshold value adjusting coefficient as a threshold value adjusting coefficient corresponding to the light-operated lamp.
The calculating unit is configured to determine a product of the reference value of the light-off threshold and the threshold adjustment coefficient as a threshold adjustment amount; calculating the sum of the reference value of the light-off threshold value and the threshold value adjustment amount; the calculated sum is determined as the light-off threshold.
The light-off control module 403 is configured to detect the illumination intensity of the current environment in real time through a photosensitive sensor; and controlling the light-operated lamp to turn off the lamp according to the fact that the detected illumination intensity is greater than or equal to the lamp turning-off threshold value.
The control device of the light-operated lamp provided by the embodiment of the application and the control method of the light-operated lamp provided by the embodiment of the application have the same inventive concept and have the same beneficial effects as the control device, the control device and the control method of the light-operated lamp adopted, operated or realized.
The embodiment of the present application further provides an electronic device corresponding to the control method of the light-operated lamp provided in the foregoing embodiment, so as to execute the control method of the light-operated lamp, where the electronic device may be a light-operated lamp, or a control chip or a single chip microcomputer arranged on the light-operated lamp.
Please refer to fig. 5, which illustrates a schematic diagram of an electronic device according to some embodiments of the present application. As shown in fig. 5, the electronic device 2 includes: the system comprises a processor 200, a memory 201, a bus 202 and a communication interface 203, wherein the processor 200, the communication interface 203 and the memory 201 are connected through the bus 202; the memory 201 stores a computer program that can be executed on the processor 200, and the processor 200 executes the control method of the light-controlled luminaire provided in any one of the foregoing embodiments when executing the computer program.
The Memory 201 may include a high-speed Random Access Memory (RAM) and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 203 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
The processor 200 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 200. The Processor 200 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 201, and the processor 200 reads the information in the memory 201 and completes the steps of the method in combination with the hardware thereof.
The electronic device provided by the embodiment of the application and the control method of the light-operated lamp provided by the embodiment of the application have the same inventive concept and have the same beneficial effects as the method adopted, operated or realized by the electronic device.
Referring to fig. 6, the computer-readable storage medium is an optical disc 30, and a computer program (i.e., a program product) is stored on the optical disc 30, and when the computer program is executed by a processor, the computer program may execute the method for controlling the light-operated lamp according to any of the foregoing embodiments.
It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory, or other optical and magnetic storage media, which are not described in detail herein.
The computer-readable storage medium provided by the above embodiments of the present application and the control method of the light-operated lamp provided by the embodiments of the present application have the same beneficial effects as the method adopted, operated or implemented by the application program stored in the computer-readable storage medium.
It should be noted that:
the algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose devices may be used with the teachings herein. The required structure for constructing such a device will be apparent from the description above. In addition, this application is not directed to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the present application as described herein, and any descriptions of specific languages are provided above to disclose the best modes of the present application.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the application may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the application, various features of the application are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the application and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: this application is intended to cover such departures from the present disclosure as come within known or customary practice in the art to which this invention pertains. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this application.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the application and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the present application may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in the creation apparatus of a virtual machine according to embodiments of the present application. The present application may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present application may be stored on a computer readable medium or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the application, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The above description is only for the preferred embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (13)
1. A control method of a light-operated lamp is characterized by comprising the following steps of;
acquiring a light-off threshold reference value through a photosensitive sensor;
determining a light-off threshold value according to the light-off threshold value reference value and the illumination intensity of the light-operated lamp;
and controlling the light-operated lamp to turn off according to the light-off threshold value.
2. The method of claim 1, wherein said obtaining a light-off threshold reference value by a light-sensitive sensor comprises:
detecting the illumination intensity of the current environment in real time through a photosensitive sensor;
controlling a light-operated lamp to turn on according to the illumination intensity being less than or equal to a preset light-on threshold value;
reading the illumination intensity currently detected by the photosensitive sensor according to the condition that the lamp-on time is greater than or equal to the preset time;
determining the read illumination intensity as a light-off threshold reference value.
3. The method of claim 1, wherein determining the light-off threshold according to the light-off threshold reference value and the illumination intensity of the light-controlled luminaire itself comprises:
determining a threshold adjustment coefficient corresponding to the light-operated lamp according to the illumination intensity of the light-operated lamp;
and calculating the light-off threshold value according to the light-off threshold value reference value and the threshold value adjusting coefficient.
4. The method according to claim 3, wherein the determining the threshold adjustment coefficient corresponding to the light-controlled lamp according to the illumination intensity of the light-controlled lamp itself comprises:
determining an illumination intensity interval to which the illumination intensity of the light-operated lamp per se belongs;
acquiring a threshold adjustment coefficient corresponding to the illumination intensity interval;
and determining the obtained threshold value adjusting coefficient as a threshold value adjusting coefficient corresponding to the light-operated lamp.
5. The method of claim 3, wherein said calculating a light-off threshold based on said light-off threshold reference value and said threshold adjustment factor comprises:
determining a product of the turn-off threshold reference value and the threshold adjustment coefficient as a threshold adjustment amount;
calculating the sum of the reference value of the light-off threshold value and the threshold adjustment amount;
the calculated sum is determined as the light-off threshold.
6. The method of claim 1, wherein controlling the light-controlled light fixture to turn off according to the light-off threshold comprises:
detecting the illumination intensity of the current environment in real time through the photosensitive sensor;
and controlling the light-operated lamp to turn off according to the fact that the detected illumination intensity is greater than or equal to the light-off threshold value.
7. A light-operated lamp is characterized by comprising a lamp body, a photosensitive sensor and a control chip;
the control chip is respectively connected with the lamp body and the photosensitive sensor;
the control chip acquires a light-off threshold reference value through the photosensitive sensor, and determines a light-off threshold according to the light-off threshold reference value and the illumination intensity of the lamp body; and controlling the lamp body to turn off the lamp according to the lamp turning-off threshold value.
8. The light control light fixture of claim 7,
the photosensitive sensor detects the illumination intensity of the current environment in real time;
the control chip reads the illumination intensity detected by the photosensitive sensor and controls the lamp body to be turned on according to the condition that the illumination intensity is smaller than or equal to a preset lamp turning-on threshold value;
and the control chip reads the illumination intensity currently detected by the photosensitive sensor as a light-off threshold value reference value according to the condition that the light-on time is greater than or equal to the preset time.
9. The light control light fixture of claim 7,
the control chip determines a threshold adjustment coefficient corresponding to the lamp body according to the illumination intensity of the lamp body; and calculating the light-off threshold value according to the light-off threshold value reference value and the threshold value adjusting coefficient.
10. The light control light fixture of claim 9,
the control chip determines an illumination intensity interval to which the illumination intensity of the lamp body per se belongs; acquiring a threshold adjustment coefficient corresponding to the illumination intensity interval; and determining the obtained threshold adjustment coefficient as a threshold adjustment coefficient corresponding to the lamp body.
11. The light control light fixture of claim 9,
the control chip determines the product of the reference value of the light-off threshold value and the threshold value adjusting coefficient as a threshold value adjusting amount; calculating the sum of the reference value of the light-off threshold value and the threshold adjustment amount; the calculated sum is determined as the light-off threshold.
12. The light control light fixture of claim 7,
the photosensitive sensor detects the illumination intensity of the current environment in real time;
the control chip reads the illumination intensity detected by the photosensitive sensor, and controls the lamp body to turn off the lamp according to the fact that the detected illumination intensity is larger than or equal to the lamp turning-off threshold value.
13. A computer-readable storage medium, on which a computer program is stored, characterized in that the program is executed by a processor to implement the method according to any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010158690.9A CN111315094B (en) | 2020-03-09 | 2020-03-09 | Light-operated lamp and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010158690.9A CN111315094B (en) | 2020-03-09 | 2020-03-09 | Light-operated lamp and control method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111315094A true CN111315094A (en) | 2020-06-19 |
CN111315094B CN111315094B (en) | 2022-11-18 |
Family
ID=71160534
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010158690.9A Active CN111315094B (en) | 2020-03-09 | 2020-03-09 | Light-operated lamp and control method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111315094B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112040615A (en) * | 2020-08-20 | 2020-12-04 | 宁波凯耀电器制造有限公司 | Light control method and circuit for lamp |
CN114898537A (en) * | 2022-04-19 | 2022-08-12 | 广州美术学院 | Posture prompting method, posture prompting device, terminal equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101778191A (en) * | 2009-12-17 | 2010-07-14 | 天津市晶奇微电子有限公司 | Analog-to-digital conversion method for photoelectric sensor according with sensitometric characteristic of human eyes and implementation device |
CN105845099A (en) * | 2015-01-15 | 2016-08-10 | 深圳市科曼医疗设备有限公司 | Screen brightness display method and device |
CN106304570A (en) * | 2016-10-09 | 2017-01-04 | 深圳市海骏电子科技有限公司 | A kind of method being placed in light fixture interior detection ambient light illumination and induction apparatus |
CN110267416A (en) * | 2019-06-03 | 2019-09-20 | 珠海格力电器股份有限公司 | A kind of control method and device of lighting apparatus |
CN110392473A (en) * | 2018-04-17 | 2019-10-29 | 广州市番禺奥莱照明电器有限公司 | A kind of signal processing method of light-operated lighting lamps and lanterns |
-
2020
- 2020-03-09 CN CN202010158690.9A patent/CN111315094B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101778191A (en) * | 2009-12-17 | 2010-07-14 | 天津市晶奇微电子有限公司 | Analog-to-digital conversion method for photoelectric sensor according with sensitometric characteristic of human eyes and implementation device |
CN105845099A (en) * | 2015-01-15 | 2016-08-10 | 深圳市科曼医疗设备有限公司 | Screen brightness display method and device |
CN106304570A (en) * | 2016-10-09 | 2017-01-04 | 深圳市海骏电子科技有限公司 | A kind of method being placed in light fixture interior detection ambient light illumination and induction apparatus |
CN110392473A (en) * | 2018-04-17 | 2019-10-29 | 广州市番禺奥莱照明电器有限公司 | A kind of signal processing method of light-operated lighting lamps and lanterns |
CN110267416A (en) * | 2019-06-03 | 2019-09-20 | 珠海格力电器股份有限公司 | A kind of control method and device of lighting apparatus |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112040615A (en) * | 2020-08-20 | 2020-12-04 | 宁波凯耀电器制造有限公司 | Light control method and circuit for lamp |
CN112040615B (en) * | 2020-08-20 | 2022-12-27 | 宁波凯耀电器制造有限公司 | Light control method and circuit for lamp |
CN114898537A (en) * | 2022-04-19 | 2022-08-12 | 广州美术学院 | Posture prompting method, posture prompting device, terminal equipment and storage medium |
CN114898537B (en) * | 2022-04-19 | 2023-09-29 | 广州美术学院 | Gesture prompting method, gesture prompting device, terminal equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111315094B (en) | 2022-11-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111315094B (en) | Light-operated lamp and control method thereof | |
CN108200353B (en) | Method for detecting environment light of security monitoring camera | |
US20120091901A1 (en) | Illumination device | |
CN114583823A (en) | Street lamp power supply management method and device, electronic equipment and storage medium | |
CN207219087U (en) | A kind of ambient light induction controller based on LED | |
CN114900926B (en) | Auxiliary lighting optical system for electric energy meter verification and lighting implementation method | |
CN107426871B (en) | Signal conversion circuit, dimming LED driving power supply and lamp | |
CN110392473B (en) | Signal processing method of light-operated lighting lamp | |
CN108167779A (en) | The high-precision control light method of LED light | |
CN103458550A (en) | Intelligent acousto-optic control method and lighting device | |
CN111600294A (en) | Starting control method and device of solar energy utilization equipment and storage medium | |
CN115580965A (en) | Lamp control method and device, washing equipment and storage medium | |
WO2020062818A1 (en) | Circuit for improving power supply starting time, and driving power supply | |
CN110933260A (en) | Light source selection method and three-source camera | |
CN209897324U (en) | Temperature control three-color LED lamp strip | |
CN112220428A (en) | Dish washing machine, brightness control method and device of dish washing machine and storage medium | |
CN113981655B (en) | Laundry treating apparatus, control method and device thereof, and storage medium | |
JP3767149B2 (en) | Lighting device | |
CN110267334A (en) | Control method, control device, readable storage medium storing program for executing and wireless beacon device | |
CN113885337A (en) | Control method and device of intelligent household equipment, storage medium and processor | |
CN204518124U (en) | Illumination induced intelligent solar street light | |
JP2543784Y2 (en) | Optical sensor circuit | |
CN207399555U (en) | One kind is based on STC microcontroller LED intelligent illumination systems | |
CN109862663B (en) | Auxiliary lighting method for light shielding space and photosensitive LED lamp | |
CN117580233A (en) | Lamp temperature control method and device, vehicle and storage medium |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 335400 No. 1 Industrial Park, Yingtan, Jiangxi, Guixi Applicant after: Meizhi Optoelectronic Technology Co.,Ltd. Address before: 335400 No. 1 Industrial Park, Yingtan, Jiangxi, Guixi Applicant before: MEIZHI PHOTOELECTRIC TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |