CN108966439B - Indoor brightness adjusting method and device - Google Patents

Indoor brightness adjusting method and device Download PDF

Info

Publication number
CN108966439B
CN108966439B CN201710379568.2A CN201710379568A CN108966439B CN 108966439 B CN108966439 B CN 108966439B CN 201710379568 A CN201710379568 A CN 201710379568A CN 108966439 B CN108966439 B CN 108966439B
Authority
CN
China
Prior art keywords
brightness
brightness value
value
area
region
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
CN201710379568.2A
Other languages
Chinese (zh)
Other versions
CN108966439A (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.)
Oceans King Lighting Science and Technology Co Ltd
Oceans King Dongguan Lighting Technology Co Ltd
Shenzhen Oceans King Lighting Engineering Co Ltd
Original Assignee
Oceans King Lighting Science and Technology Co Ltd
Oceans King Dongguan Lighting Technology Co Ltd
Shenzhen Oceans King Lighting Engineering 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 Oceans King Lighting Science and Technology Co Ltd, Oceans King Dongguan Lighting Technology Co Ltd, Shenzhen Oceans King Lighting Engineering Co Ltd filed Critical Oceans King Lighting Science and Technology Co Ltd
Priority to CN201710379568.2A priority Critical patent/CN108966439B/en
Publication of CN108966439A publication Critical patent/CN108966439A/en
Application granted granted Critical
Publication of CN108966439B publication Critical patent/CN108966439B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source

Landscapes

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

Abstract

The invention is suitable for the technical field of automatic control, and provides a method and a device for adjusting indoor brightness, wherein the method comprises the following steps: the method comprises the steps of receiving an application mode selected by a user, calling each area target brightness value and each area light initial brightness value corresponding to the application mode, firstly setting the brightness value of each area light as each area light initial brightness value to quickly adjust the indoor brightness to a reasonable interval, and then adjusting the brightness of each area light so that the actual brightness value of each area reaches each area target brightness value, so that the convenience of indoor brightness adjustment is improved, and the brightness requirements of the user under various use situations are met more accurately and efficiently.

Description

Indoor brightness adjusting method and device
Technical Field
The invention belongs to the technical field of automatic control, and particularly relates to a method and a device for adjusting indoor brightness.
Background
The lighting device is an indispensable device in daily life of people, and the current indoor lighting system is formed by simply combining a plurality of common lighting devices, and lacks reasonable planning and management of each lighting device. Moreover, people are generally required to manually adjust the brightness of each lighting device according to the actual needs of the people.
It is known that under different use situations, people have different brightness requirements for various areas in a room. The current indoor lighting system is lack of an intelligent brightness adjusting device, and cannot automatically make reasonable brightness adjustment according to the actual needs of users. In addition, because the existing indoor lighting system cannot adjust the indoor lighting device to the proper brightness quickly and accurately, the phenomenon of over-dark or over-bright indoor often occurs, which not only makes the user feel that the indoor brightness is not proper when the situation is switched, but also may seriously affect the eye health of indoor personnel.
Disclosure of Invention
In view of this, embodiments of the present invention provide an indoor brightness adjusting method and a terminal device, so as to solve the problem that a user needs to manually adjust indoor brightness according to different use requirements in the prior art.
A first aspect of an embodiment of the present invention provides a method for adjusting indoor brightness, including: receiving an application mode selected by a user; calling target brightness values of all areas and initial brightness values of light of all areas corresponding to the application mode according to the application mode; setting the brightness value of the current light of each area as the initial brightness value of the light of each area; and adjusting the brightness of the light in each area to enable the actual brightness value of each area to reach the target brightness value of each area.
A second aspect of an embodiment of the present invention provides an indoor luminance adjusting apparatus, including:
the receiving module is used for receiving an application mode selected by a user; the calling module is used for calling each area target brightness value and each area light initial brightness value corresponding to the application mode according to the application mode; the setting module is used for setting the brightness value of the current light of each area as the initial brightness value of the light of each area; and the adjusting module is used for adjusting the brightness of the lamplight of each area so as to enable the actual brightness value of each area to reach the target brightness value of each area.
A third aspect of the embodiments of the present invention provides an indoor luminance adjusting apparatus, including: memory, processor and computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 5 when executing the computer program.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium having a computer program stored thereon, where the computer program is adapted to perform the steps of the method according to any of the claims 1 to 5 when executed by a processor.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: the method comprises the steps of receiving an application mode selected by a user, calling each area target brightness value and each area light initial brightness value corresponding to the application mode, firstly setting the brightness value of each area light as each area light initial brightness value to quickly adjust the indoor brightness to a reasonable interval, and then adjusting the brightness of each area light so that the actual brightness value of each area reaches each area target brightness value, so that the convenience of indoor brightness adjustment is improved, and the brightness requirements of the user under various use situations are met more accurately and efficiently.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of an implementation of a method for adjusting indoor brightness according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an implementation of the method S103 for adjusting indoor brightness according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating an implementation of the method S104 for adjusting indoor brightness according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating an implementation of an adaptive brightness adjustment operation in the method S304 for adjusting indoor brightness according to an embodiment of the present invention;
fig. 5 is a schematic view of an indoor brightness adjusting device according to an embodiment of the present invention;
fig. 6 is a schematic diagram of an indoor brightness adjusting apparatus/terminal device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Fig. 1 shows an implementation process of the method for adjusting indoor brightness according to the embodiment of the present invention, which is detailed as follows:
in S101, an application mode selected by a user is received.
In the embodiment of the invention, a user firstly needs to select an application mode, and the application mode is sent to the indoor brightness adjusting device through the control key, and the device performs corresponding indoor brightness adjustment according to different application modes after receiving the application mode selected by the user, wherein the specific adjusting mode is described in detail below.
It will be appreciated that the same room will have different brightness requirements due to different user application modes.
For example: in a classroom, if the classroom is using multimedia teaching, the classroom brightness should be dimmed accordingly due to the need to use the projector; if the teacher uses the blackboard to give a lecture to the students, the classroom brightness is required to be improved; if the students are in self-study or examination in a time period, the brightness of the classroom should be improved, and if the students are in class, the brightness can be slightly lower than that in class, because the students are moving in class, strong light is not needed, and the electricity can be saved.
Further, in real life, the user's brightness needs for different areas of the room may be different, although in one application mode.
For example: if the classroom adopts multimedia teaching, the lamp near the curtain should be completely turned off, the blackboard lamp is dimmed, and the lamp near the desk of the students can be slightly lightened, so that the students can take notes conveniently.
In S102, according to the application mode, a target brightness value of each area and an initial brightness value of light of each area corresponding to the application mode are retrieved.
In the embodiment of the invention, after the application mode selected by the user is received, the indoor brightness is correspondingly adjusted, but the indoor brightness is not uniformly adjusted to be one brightness, the indoor is divided into different areas, and different parameters are set for the lighting devices in the different areas under the same application mode, so that the different areas in the indoor have different brightness, and the actual requirements of the user are met.
Specifically, in the embodiment of the present invention, two important parameters are provided for the method for adjusting the indoor brightness, which are the target brightness value of each area and the initial brightness value of the light of each area. In particular, the target brightness value of each area and the initial brightness value of the light of each area are preset parameters, so the indoor brightness adjusting device can be directly adjusted.
Specifically, the target brightness value of each region is a brightness value that each region should finally reach according to a large amount of experimental data for different application modes, and it can be understood that the final actual brightness value of each region may be influenced by natural light in the environment and light emitted by the lighting device.
Specifically, the initial brightness value of the light of each area is a brightness value that should be reached by the light of the lighting device first after the application modes are switched, and it can be understood that the initial brightness value of the light of each area cannot completely meet the requirement of the user on the indoor brightness. As mentioned above, the final actual brightness of the room is influenced by both the natural light in the environment and the light emitted by the lighting device, so that after the light of each area reaches the initial brightness value of the light, further adjustment is required to make the actual brightness of each area in the room meet the target brightness value of each area.
In S103, the current brightness value of the lamp light in each area is set as the initial brightness value of the lamp light in each area.
In the embodiment of the present invention, the brightness value of the lamp light in each area is first adjusted to the initial brightness value of the lamp light in each area, and as can be seen from the above example, although the actual brightness value in the room is affected by natural light, even if the brightness value of the lamp light in each area is the initial brightness value of the lamp light in each area, the actual brightness value in the room is almost impossible to be equal to the target brightness value of each area, but at this time, the actual brightness in the room is closer to the target brightness value of each area.
In the embodiment of the invention, the actual brightness of each indoor area can be quickly and accurately adjusted to a reasonable brightness interval suitable for the application mode selected by the user by setting the current brightness value of each area light to the initial brightness value of each area light, so that the user can quickly obtain the brightness basically consistent with the required brightness after switching the application modes, and more favorable conditions are provided for the subsequent brightness fine adjustment step.
Further, fig. 2 shows a specific implementation flow of the method for adjusting indoor brightness S103 according to the embodiment of the present invention, which is detailed as follows:
in S201, a preset correspondence is obtained, where the correspondence includes a correspondence between a light brightness value and a duty ratio of a pulse width modulation PWM wave.
In the embodiment of the present invention, an LED lamp may be employed as the lighting device.
In the embodiment of the invention, the aim of setting the brightness value of the current lamp light in each area as the initial brightness value of the lamp light in each area is achieved by setting the duty ratio of the pulse width modulation PWM wave.
Specifically, in the embodiment of the present invention, the brightness value of each region is set by using a pulse width modulation method, so that color drift of the lamp light in the process of changing the brightness of the lamp light can be avoided. It is understood that in the conventional dimming technique, the current is decreased by increasing or decreasing the blocking of the lighting device to decrease the brightness of the light, however, this way changes the color of the light while changing the brightness.
Specifically, in the embodiment of the present invention, the pulse width modulation converts a common voltage signal into a pulse width modulation wave which is actually composed of square waves each having a certain duty ratio. The duty ratio of the pulse width modulation wave can directly determine the size of the average output voltage, and the change of the average output voltage can influence the brightness of the lamp light.
For example: if the maximum voltage of the PWM wave is 5V and the duty ratio is 0.75, the average output voltage is 3.75V. If the maximum voltage of the PWM wave is 5V and the duty ratio is 0.5, the average output voltage is 2.5V. It is understood that since the frequency of the PWM is very high, the human eye cannot actually perceive that the lighting lamp is not lighted when the voltage is 0 in one period.
It can be understood that, in the embodiment of the present invention, in order to set the current brightness value of the lamp in each region as the initial brightness value of the lamp in each region, the corresponding relationship between the preset brightness value of the lamp and the duty ratio of the pulse width modulation PWM wave needs to be called first, so as to perform the subsequent setting.
In S202, according to the preset correspondence, duty ratios of PWM waves respectively corresponding to the initial brightness values of the lamp light in each area are determined as the initial duty ratios of the areas.
In S203, the duty ratio of the PWM wave of each area lighting apparatus is set to the each area initial duty ratio.
As described in the above examples, changing the duty ratio of the PWM wave can change the output voltage of the lighting device, and by changing the output voltage, the brightness value of the lamp light can be changed. Therefore, since the initial duty ratio of each region corresponds to the initial brightness value of each region of the lamp, the current brightness value of each region of the lamp can be adjusted to the initial brightness value of each region of the lamp by setting the duty ratio of the pulse width modulation PWM wave of each region of the lighting device to the initial duty ratio.
In S104, the brightness of the lamp light in each region is adjusted so that the actual brightness value of each region reaches the target brightness value of each region.
In the embodiment of the invention, the duty ratio of the pulse width modulation PWM wave of the lighting equipment in each area is set as the initial duty ratio of each area, and the brightness value of each lamp light is adjusted to a reasonable interval which meets the requirement of a user. However, since the actual brightness of each indoor area is also affected by the natural light in the environment, and the change of the natural light in the environment is disordered and difficult to predict, the lamp brightness of each indoor area must be finely adjusted according to the actual situation to adapt to the change of the natural light in the environment, so that the actual brightness value of each area reaches the target brightness value of each area.
Fig. 3 shows a specific implementation flow of the method for adjusting indoor brightness S104 according to the embodiment of the present invention, which is detailed as follows:
in S301, the actual luminance value of each region is detected.
In the embodiment of the invention, the actual brightness value of each area is influenced by the brightness value of the lamp light of each area and the brightness value of the natural light in the environment.
In S302, a difference between the actual luminance value of each region and the target luminance value of each region is calculated as a luminance difference value of each region.
In the embodiment of the present invention, a difference between the actual brightness value of each region and the target brightness value of each region needs to be calculated to determine the next adjustment operation.
In S303, it is determined whether the luminance difference value of each region is greater than a preset luminance difference threshold value.
In the embodiment of the present invention, because different brightness adjustment measures are taken according to the brightness difference condition of each region, it is first required to determine whether the brightness difference of each region is greater than a preset brightness difference threshold value, so as to determine the severity of the deviation between the current indoor actual brightness value and the target brightness value.
In S304, if the brightness difference values of all the regions are greater than the preset brightness difference threshold, a curtain closing instruction is issued to close the curtain, and a brightness adjustment operation is performed to make the actual brightness value of each region reach the target brightness value of each region.
In the embodiment of the present invention, it can be confirmed from experience in real life that if the brightness difference values of all indoor areas are greater than the preset brightness difference threshold value, it indicates that natural light in the environment is too strong, that is, the brightness of sunlight entering from a window is too strong. It can be understood that, according to the actual data, when the brightness of sunlight is too low (such as cloudy days or at night), if the user needs strong light in a certain use situation, the lighting device can meet the actual needs of the user by enhancing the brightness of the light of the lighting device, and therefore, when the brightness of natural light in the environment is too low, the brightness difference values of all the areas are not larger than the preset brightness difference threshold value.
Further, since it is only possible that the brightness of the sunlight entering from the window is too strong when the brightness difference value of all the areas is greater than the preset brightness difference threshold value, and the application mode selected by the user requires a dark environment, the window shade is first closed to prevent the sunlight from entering in the embodiment of the present invention.
For example, in a classroom, if the usage mode selected by the user is multimedia teaching, all the area target brightness values are very low, even the area in front of the screen may be the area target brightness value of 0, and at this time, since sunlight is incident from a window, a situation that the brightness difference values of all the indoor areas are greater than a preset brightness difference threshold value necessarily occurs, and thus the indoor brightness adjusting device first controls the indoor curtains to automatically close.
For example, in a classroom, if the usage mode selected by the user is self-study, the target brightness values of all the areas are higher, and therefore, when the outdoor brightness is high, the brightness difference values of all the indoor areas are not greater than the preset brightness difference threshold; when the outdoor brightness is small, in the step "S103 sets the brightness value of the current light in each area to the initial brightness value of the light in each area", the actual brightness value of the indoor area is adjusted to a reasonable interval by increasing the brightness value of the light in each area, so that the situation that the brightness difference values of all the indoor areas are greater than the preset brightness difference threshold value does not occur.
Further, after the window curtain is closed, an adaptive brightness adjustment operation is performed so that the actual brightness value of each region reaches the target brightness value of each region.
Fig. 4 shows a specific implementation flow of the brightness adjustment operation in the method for adjusting indoor brightness S304 according to the embodiment of the present invention, which is detailed as follows:
in S401, the actual luminance values of the respective regions are compared with the target luminance values of the respective regions.
In the embodiment of the invention, the brightness value of the light can be adjusted to be larger or smaller at different adjusting speeds, so that the eye health of a user is protected. For example, if the actual brightness value of a region is higher than the target brightness value of the region, a faster speed may be used to reduce the brightness value of the lamp light to make the actual brightness value closer to the target brightness value; if the actual brightness value of a region is lower than the target brightness value of the region, a slower speed should be used and the brightness value of the lamp light is increased to bring the actual brightness value closer to the target brightness value. It will be appreciated that the eye health of the user may be compromised if the actual brightness value is increased too quickly.
In S402, if the actual brightness value of each region is greater than the initial brightness value of each region, the lighting brightness value is decreased by a preset first unit brightness value at preset time intervals until the difference between the actual brightness value of each region and the target brightness value of each region is less than or equal to a preset difference threshold.
Alternatively, in the present embodiment, candela per square meter (cd/m2) is used as the luminance unit.
Specifically, in the embodiment of the present invention, the duty ratio of the PWM wave is decreased by a preset first duty ratio value at every preset time interval, so as to decrease the brightness value of the lamp at a certain speed.
In S403, if the actual brightness value of each region is smaller than the initial brightness value of each region, increasing the brightness value of the lamp light by a preset second unit brightness value at preset time intervals until the difference between the actual brightness value of each region and the target brightness value of each region is smaller than or equal to a preset difference threshold.
Specifically, in the embodiment of the present invention, the duty ratio of the pulse width modulation PWM wave is increased by a preset second duty ratio value at every preset time interval. It is to be understood that, in the embodiment of the present invention, the first duty value may be equal to or not equal to the second duty value.
Notably, the principle of changing the lamp brightness value by changing the duty cycle of the PWM wave has been described in detail above.
In S305, if the brightness difference value of at least one region is not greater than a preset brightness difference threshold, a brightness adjustment operation is performed to make the actual brightness value of each region reach the target brightness value of each region.
In the embodiment of the invention, if the brightness difference value of at least one area is not larger than the preset brightness difference threshold value, the curtain is not closed, and the self-adaptive brightness adjustment operation is directly executed. The reason why the curtain is not closed and the process of performing the adaptive brightness adjustment operation are described above and will not be described herein.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 5 is a block diagram illustrating a structure of an apparatus for adjusting indoor brightness according to an embodiment of the present invention.
Referring to fig. 5, the apparatus includes:
a receiving module 501, configured to receive an application mode selected by a user;
a calling module 502, configured to call, according to the application mode, target brightness values of each area and initial brightness values of light of each area corresponding to the application mode;
a setting module 503, configured to set a current brightness value of each area light to an initial brightness value of each area light;
the adjusting module 504 is configured to adjust the brightness of the light in each region, so that the actual brightness value of each region reaches the target brightness value of each region.
Further, the setting module includes:
the acquisition submodule is used for acquiring a preset corresponding relation, and the corresponding relation comprises a corresponding relation between a light brightness value and a duty ratio of a Pulse Width Modulation (PWM) wave;
the determining submodule is used for determining the duty ratios of the PWM waves respectively corresponding to the initial brightness values of the lamplight of the regions according to the preset corresponding relation and taking the duty ratios as the initial duty ratios of the regions;
and the setting submodule is used for setting the duty ratio of the PWM wave of each area lighting device as the initial duty ratio of each area.
Further, the adjustment module includes:
the detection submodule is used for detecting the actual brightness value of each area;
the calculation submodule is used for calculating the difference value between the actual brightness value of each region and the target brightness value of each region to serve as the brightness difference value of each region;
the judgment submodule is used for judging whether the brightness difference value of each area is larger than a preset brightness difference threshold value or not;
the first execution submodule is used for sending a curtain closing instruction to close the curtain and executing brightness adjustment operation to enable the actual brightness value of each region to reach the target brightness value of each region if the brightness difference values of all the regions are greater than a preset brightness difference threshold value;
and the second submodule is used for executing brightness adjustment operation if the brightness difference value of at least one area is not larger than a preset brightness difference threshold value so as to enable the actual brightness value of each area to reach the target brightness value of each area.
Fig. 6 is a schematic diagram of an apparatus for adjusting indoor brightness according to an embodiment of the present invention. As shown in fig. 6, the adjusting device for the indoor brightness of the embodiment includes: a processor 60, a memory 61 and a computer program 62, such as a room brightness adjustment program, stored in said memory 61 and executable on said processor 60. The processor 60 executes the computer program 62 to implement the steps in the above-mentioned embodiments of the method for adjusting indoor brightness, such as the steps S101 to S104 shown in fig. 1. Alternatively, the processor 60, when executing the computer program 62, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 501 to 504 shown in fig. 5.
Illustratively, the computer program 62 may be partitioned into one or more modules/units that are stored in the memory 61 and executed by the processor 60 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 62 in the indoor brightness adjusting device 6. For example, the computer program 62 may be divided into a receiving module, a calling module, a setting module, and an adjusting module (a module in a virtual device), and each module specifically functions as follows:
the receiving module is used for receiving an application mode selected by a user;
the calling module is used for calling each area target brightness value and each area light initial brightness value corresponding to the application mode according to the application mode, wherein each area target brightness value is a brightness value which is finally reached by each area, and each area light initial brightness value is a brightness value which is reached by light after the application mode selected by a user is received;
the setting module is used for setting the brightness value of the current light of each area as the initial brightness value of the light of each area;
and the adjusting module is used for adjusting the brightness of the lamplight of each area so as to enable the actual brightness value of each area to reach the target brightness value of each area.
The indoor brightness adjusting device 6 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The adjusting device/terminal device for the indoor brightness may include, but is not limited to, a processor 60 and a memory 61. It will be understood by those skilled in the art that fig. 6 is only an example of the indoor brightness adjusting apparatus 6, and does not constitute a limitation to the indoor brightness adjusting apparatus 6, and may include more or less components than those shown in the drawings, or combine some components, or different components, for example, the indoor brightness adjusting apparatus may further include an input/output device, a network access device, a bus, and the like.
The Processor 60 may be a Central Processing Unit (CPU), other general purpose Processor, 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, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the indoor brightness adjusting device, such as a hard disk or an internal memory of the indoor brightness adjusting device/terminal device 6. The memory 61 may also be an external storage device of the indoor brightness adjusting apparatus/terminal device 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are equipped on the indoor brightness adjusting apparatus/terminal device 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the indoor brightness adjusting apparatus/terminal device 6. The memory 61 is used to store the computer program and other programs and data required by the adjusting device/terminal device of the room brightness. The memory 61 may also be used to temporarily store data that has been output or is to be output. It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (8)

1. A method for adjusting indoor brightness is characterized by comprising the following steps:
receiving an application mode selected by a user;
calling target brightness values of all areas and initial brightness values of light of all areas corresponding to the application mode according to the application mode;
setting the brightness value of the current light of each area as the initial brightness value of the light of each area;
adjusting the brightness of the light in each area to enable the actual brightness value of each area to reach the target brightness value of each area;
the setting of the brightness value of the current light of each area as the initial brightness value of the light of each area comprises the following steps:
acquiring a preset corresponding relation, wherein the corresponding relation comprises a corresponding relation between a light brightness value and a duty ratio of a Pulse Width Modulation (PWM) wave;
determining the duty ratios of PWM waves respectively corresponding to the initial brightness values of the lamplight of each region according to the preset corresponding relation, and taking the duty ratios as the initial duty ratios of each region;
and setting the duty ratio of the PWM wave of each area lighting device as the initial duty ratio of each area.
2. The method of claim 1, wherein said adjusting the brightness value of the lamp in each region to make the actual brightness value of each region reach the target brightness value of each region comprises:
detecting actual brightness values of the regions;
calculating the difference value between the actual brightness value of each region and the target brightness value of each region to serve as the brightness difference value of each region;
judging whether the brightness difference value of each area is larger than a preset brightness difference threshold value or not;
if the brightness difference values of all the regions are larger than a preset brightness difference threshold value, a curtain closing instruction is sent out to close the curtain, and brightness adjustment operation is executed to enable the actual brightness value of each region to reach the target brightness value of each region;
and if the brightness difference value of at least one area is not larger than a preset brightness difference threshold value, executing brightness adjustment operation to enable the actual brightness value of each area to reach the target brightness value of each area.
3. The method of claim 2, wherein the performing a brightness adjustment operation comprises:
comparing the actual brightness value of each region with the target brightness value of each region;
if the actual brightness value of each region is greater than the initial brightness value of each region, reducing the light brightness value by a preset first unit brightness value at preset time intervals until the difference value between the actual brightness value of each region and the target brightness value of each region is less than or equal to a preset difference threshold value;
and if the actual brightness value of each region is smaller than the initial brightness value of each region, increasing the light brightness value by a preset second unit brightness value at preset time intervals until the difference between the actual brightness value of each region and the target brightness value of each region is smaller than or equal to a preset difference threshold value.
4. The method of claim 3, wherein reducing the light brightness value by a predetermined first unit brightness value at predetermined time intervals comprises:
reducing the duty ratio of the pulse width modulation PWM wave by a preset first duty ratio value at intervals of a preset time interval;
every preset time interval, increase the light brightness value by preset second unit brightness value, including:
and increasing the duty ratio of the pulse width modulation PWM wave by a preset second duty ratio value at every preset time interval.
5. An indoor brightness adjusting device, comprising:
the receiving module is used for receiving an application mode selected by a user;
the calling module is used for calling each area target brightness value and each area light initial brightness value corresponding to the application mode according to the application mode;
the setting module is used for setting the brightness value of the current light of each area as the initial brightness value of the light of each area;
the adjusting module is used for adjusting the brightness of the lamplight of each area so as to enable the actual brightness value of each area to reach the target brightness value of each area;
the setting module includes:
the acquisition submodule is used for acquiring a preset corresponding relation, and the corresponding relation comprises a corresponding relation between a light brightness value and a duty ratio of a Pulse Width Modulation (PWM) wave;
the determining submodule is used for determining the duty ratios of the PWM waves respectively corresponding to the initial brightness values of the lamplight of the regions according to the preset corresponding relation and taking the duty ratios as the initial duty ratios of the regions;
and the setting submodule is used for setting the duty ratio of the PWM wave of each area lighting device as the initial duty ratio of each area.
6. The apparatus of claim 5, wherein the adjustment module comprises:
the detection submodule is used for detecting the actual brightness value of each area;
the calculation submodule is used for calculating the difference value between the actual brightness value of each region and the target brightness value of each region to serve as the brightness difference value of each region;
the judgment submodule is used for judging whether the brightness difference value of each area is larger than a preset brightness difference threshold value or not;
the first execution submodule is used for sending a curtain closing instruction to close the curtain and executing brightness adjustment operation to enable the actual brightness value of each region to reach the target brightness value of each region if the brightness difference values of all the regions are greater than a preset brightness difference threshold value;
and the second submodule is used for executing brightness adjustment operation if the brightness difference value of at least one area is not larger than a preset brightness difference threshold value so as to enable the actual brightness value of each area to reach the target brightness value of each area.
7. An apparatus for adjusting indoor brightness, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 4 when executing the computer program.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN201710379568.2A 2017-05-25 2017-05-25 Indoor brightness adjusting method and device Active CN108966439B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710379568.2A CN108966439B (en) 2017-05-25 2017-05-25 Indoor brightness adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710379568.2A CN108966439B (en) 2017-05-25 2017-05-25 Indoor brightness adjusting method and device

Publications (2)

Publication Number Publication Date
CN108966439A CN108966439A (en) 2018-12-07
CN108966439B true CN108966439B (en) 2021-04-20

Family

ID=64494595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710379568.2A Active CN108966439B (en) 2017-05-25 2017-05-25 Indoor brightness adjusting method and device

Country Status (1)

Country Link
CN (1) CN108966439B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111836442B (en) * 2019-03-29 2022-06-21 福建天泉教育科技有限公司 Control method and system for light during projection
CN111836441B (en) * 2019-03-29 2022-06-21 福建天泉教育科技有限公司 Control method and system for light during projection
CN111836443B (en) * 2019-03-29 2022-06-21 福建天泉教育科技有限公司 Control method and system for light during projection
CN110225632A (en) * 2019-05-14 2019-09-10 深圳市华星光电半导体显示技术有限公司 Metalized lamp illumination automatic correcting method, device, storage medium and electronic equipment
CN111741230B (en) * 2019-11-21 2021-06-29 天津九安医疗电子股份有限公司 Camera head
CN113329550A (en) * 2020-02-28 2021-08-31 漳州立达信光电子科技有限公司 Method and device for controlling illumination of real-time environment of lamp, terminal equipment and medium
CN112733827B (en) * 2020-12-29 2023-08-04 深圳市天视通视觉有限公司 License plate recognition method and device, electronic equipment and storage medium
CN113438765B (en) * 2021-06-25 2022-08-05 深圳市皓丽软件有限公司 Balance induction lamp, light control method thereof and storage medium
CN113891529A (en) * 2021-09-10 2022-01-04 深圳市晶讯技术股份有限公司 Intelligent dimming method, system and storage medium
CN114567955B (en) * 2022-02-25 2023-12-01 北京字跳网络技术有限公司 Indoor light ray rendering method and device, electronic equipment and storage medium
CN114428440B (en) * 2022-02-28 2024-04-30 歌尔股份有限公司 Projector system adjusting method, projector system adjusting device, electronic equipment and readable storage medium
CN115278989B (en) * 2022-08-02 2024-05-03 南京奥拓电子科技有限公司 Light brightness self-adaptive adjusting method and system
CN115988698B (en) * 2023-01-10 2023-10-03 明德利照明科技(惠州)有限公司 Self-adjusting system for energy-saving environment-friendly lamp decoration

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323934A (en) * 2015-11-27 2016-02-10 青岛海尔股份有限公司 Lighting control method for refrigerator
CN205912285U (en) * 2016-06-27 2017-01-25 飞利浦照明控股有限公司 Lighting device
CN106371794A (en) * 2016-08-31 2017-02-01 北京小米移动软件有限公司 Method and device for lighting screen

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4600202B2 (en) * 2005-08-04 2010-12-15 株式会社デンソー Instrument lighting device
KR20100071325A (en) * 2008-12-19 2010-06-29 삼성전자주식회사 Driving method of light source, light-source apparatus performing for the method and display apparatus having the light-source apparatus
CN102004509B (en) * 2009-08-28 2012-10-10 鸿富锦精密工业(深圳)有限公司 Ambient brightness regulating system and method
JP5059175B2 (en) * 2010-08-18 2012-10-24 シャープ株式会社 Lighting device
CN102548156B (en) * 2012-02-24 2014-08-13 南京航空航天大学 Self-adaptive brightness control system and method for multichannel infrared LED (Light-Emitting Diode) target spot
US8872438B2 (en) * 2012-06-14 2014-10-28 Xunwei Zhou LED light dimming with a target brightness
CN203482467U (en) * 2013-09-30 2014-03-12 江苏新瑞节能工程有限公司 Constant-brightness energy-saving light control system
CN103826368B (en) * 2014-02-27 2015-09-16 大峡谷光电科技(苏州)有限公司 The control method that LED illumination lamp colour temperature and brightness adjustment are independent of each other
CN104267607A (en) * 2014-09-10 2015-01-07 京东方科技集团股份有限公司 Method and device for adjusting indoor light brightness and intelligent home control system
CN104869695A (en) * 2015-03-31 2015-08-26 繁昌县博通电子商务有限公司 Indoor intelligent control lamp at public place
CN105282939B (en) * 2015-11-09 2017-09-12 电子科技大学 A kind of energy-saving illumination control method and system
CN105491720A (en) * 2015-12-28 2016-04-13 华南理工大学 Intelligent light emitting diode (LED) lighting system based on non-visual optical biological effect and lighting control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323934A (en) * 2015-11-27 2016-02-10 青岛海尔股份有限公司 Lighting control method for refrigerator
CN205912285U (en) * 2016-06-27 2017-01-25 飞利浦照明控股有限公司 Lighting device
CN106371794A (en) * 2016-08-31 2017-02-01 北京小米移动软件有限公司 Method and device for lighting screen

Also Published As

Publication number Publication date
CN108966439A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN108966439B (en) Indoor brightness adjusting method and device
CN105702228B (en) A kind of adaptive screen luminance adjustment method and system
CN108510947B (en) Double-screen dimming method and display device
CN105933550A (en) Brightness adjustment method, brightness adjustment device and mobile terminal
CN104538005A (en) Method for adjusting screen brightness
CN107342058B (en) Method, test board, system and equipment for adjusting brightness of liquid crystal display module
CN107993604A (en) The adjusting method and equipment of a kind of display screen
CN104240678A (en) Method, device and terminal for adjusting screen backlight brightness
CN103996392A (en) Screen brightness adjusting method and circuit and display device
CN104050934A (en) Backlight adjusting method, backlight adjusting system and display device
CN104158966B (en) A kind of method and system of backlight illumination adjust automatically
CN104992692A (en) Method and device for adjusting screen brightness of intelligent terminal and intelligent terminal
CN105185301B (en) Brightness of display screen adjusting method
CN103050097B (en) Method and device for regulating brightness of backlight lamp
CN104715736A (en) Backlight automatic adjusting method and device for electronic device
CN105632407B (en) A kind of display adjusting method and mobile terminal of AMOLED display screens
CN106657676A (en) Screen brightness adjusting method and device
CN104112433B (en) A kind of image compensation method and device
CN101281733A (en) Liquid crystal display method
CN109493831A (en) A kind of processing method and processing device of picture signal
CN203232682U (en) Liquid crystal backlight control system and liquid crystal TV
CN104376835A (en) Method for adjusting brightness and electronic device
CN109410813A (en) A kind of method of adjustment and device of touch-control blank
CN105282945A (en) Control method and control system of intelligent lamplight
CN110809346A (en) Light adjusting method, light adjusting device and terminal equipment

Legal Events

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