Disclosure of Invention
Aiming at the defects of the prior art, the invention aims to provide a self-adaptive lighting system meeting the requirements of a single person or a plurality of persons, which can solve the problem of meeting the individual lighting requirements of the plurality of persons;
the technical scheme for realizing the purpose of the invention is as follows: an adaptive lighting system that meets the needs of a single person or a plurality of persons, comprising:
(1) entrance identity recognition module
The entrance identity recognition module is used for: judging whether people enter and leave the illumination area, if so, sending an entrance signal, and if not, sending an exit signal;
(2) module for judging number of entrants
The number of entrants judging module is used for: counting the number of people entering the illumination area currently according to the entering signal and the leaving signal, if the number of people entering the illumination area is one, sending a first configuration signal, if the number of people entering the illumination area is multiple, sending a second configuration signal, and if the number of people entering the illumination area is 0, sending a configuration ending signal;
(3) light distribution parameter module
The light distribution parameter module is used for: and establishing a light distribution time period, wherein the light distribution time period comprises a plurality of light distribution time slices, when a light distribution parameter module receives a first configuration signal, corresponding light distribution parameters are set in each light distribution time slice by a pair of illumination systems according to a scheme, when a second configuration signal is received, corresponding light distribution parameters are set in each light distribution time slice by the two pairs of illumination systems according to the scheme, when a configuration ending signal is received, the setting of the light distribution parameters is stopped, the processing is ended, and the illumination system illuminates according to the light distribution parameters of each light distribution time slice.
Further, whether the entrant is a registered user is judged, if the entrant is the registered user, the identity information of the entrant is read, the personal light model PLM of the registered user is read, otherwise, the entrant is prompted to carry out identity registration or directly finish the processing,
if the registered user does not have the personal light model PLM, setting each parameter in the personal light model PLM as an initial light distribution parameter, wherein the initial light distribution parameter is a preset default value, and the personal light model PLM represents the lighting use habit of the registered user.
Further, the counting of the number of people entering the illumination area according to the entrance signal and the exit signal specifically includes:
and when an entrance signal is received, the number of the entrants in the current illumination area is +1, and when an exit signal is received, the number of the entrants in the current illumination area is-1, and the number of the entrants in the current illumination area is obtained by updating.
Further, the first scheme specifically includes:
obtaining a personal light model PLM of an entrant at each light distribution time segment, wherein the personal light model PLM represents the personal lighting use habit of the entrant, the personal light model PLM comprises the light distribution parameters, the light distribution parameters comprise CAI, DBA, CCT, PBA, PTA, PPB and PPT, the CAI refers to an illumination value under the current environment, the DBA refers to a brightness adjusting value collected by an illumination adjuster under the current illumination CAI, the CCT refers to a current circadian color temperature value, the PBA refers to a public brightness adjusting value in a lighting area, the PTA refers to a public color temperature adjusting value in the lighting area, the PBA is obtained comprehensively according to the brightness preference of each entrant, the PTA is obtained comprehensively according to the color temperature preference of each entrant, the PPB refers to the personal preference brightness, and the PPT refers to the personal preference,
if the corresponding personal light model PLM exists in each light distribution time segment for the entrant,
if the difference value between the CAI of the current light distribution time segment and the CAI of the last same light distribution time segment of the personal light model PLM is less than or equal to 10 percent, the PPB and the PPT of the last same light distribution time segment of the personal light model PLM as the current light distribution time segment are taken as first light distribution parameters,
if the difference value between the CAI of the current light distribution time segment and the CAI of the last same light distribution time segment of the personal light model PLM is more than 10%, obtaining the CAI and the DBA under the current light distribution time segment, taking the DBA value as a PPB value, taking the PPT of the same light distribution time segment in the personal light model PLM as a new PPT, taking the obtained CAI, PPB and PPT as second light distribution parameters,
if the entrant does not have the corresponding personal light model PLM in a certain light distribution time segment or all light distribution time segments, setting the current PPB and PPT on the corresponding light distribution time segment as default values or respectively as the current DBA and CCT, taking the obtained PPB and PPT as first light distribution parameters, taking the DBA and CCT as third light distribution parameters,
sending the different first light distribution parameter, second light distribution parameter and third light distribution parameter to the entrant, and illuminating according to the light distribution parameter selected by the entrant,
if the entrant does not select any light distribution parameter, lighting is carried out according to one light distribution parameter or a first alternative light distribution parameter and a second alternative light distribution parameter are pushed by default, lighting is carried out according to the alternative light distribution parameter selected by the entrant, the first alternative light distribution parameter comprises a DBA at the current moment and a CCT at the current moment, the DBA is the same as the current environment and the current light distribution time slice is the same, the second alternative light distribution parameter comprises a PBA and a PBT, the PBA is the same as the current environment and the current light distribution time slice is the same,
and if the entrant does not select any alternative light distribution parameters, receiving the PBA and the PTA input by the entrant, and illuminating according to the input BA and PTA.
Further, the PBA is obtained according to formula (i) or (ii):
wherein F.L represents the lower limit value of the group with the most frequent occurrence in the luminance bin pitch formula sequence, F.U represents the upper limit value of the group with the most frequent occurrence in the luminance bin pitch formula sequence,
indicates the difference between the frequency of the group in which F.L or F.U is located and the frequency of the lower limit neighbor group,
the difference value between the frequency of the group in which F.L or F.U is located and the frequency of the upper limit adjacent group is represented, d represents the group distance of the group in which F.L or F.L is located, and the brightness group distance formula sequence is a sequence obtained by grouping brightness adjustment values PPB of each entrant in the illumination area under the same light distribution time segment.
Further, the PTA is obtained according to a formula (c) or (d):
wherein L represents a lower limit value of a group in which the frequency of occurrence in the color temperature group spacing formula sequence is the most, U represents an upper limit value of a group in which the frequency of occurrence in the color temperature group spacing formula sequence is the most,
represents the difference between the frequency of the group in which L or U is located and the frequency of the lower limit neighbor group,
represents the difference between the frequency of the group in which L or U is located and the frequency of the upper-limit neighboring group,
the group distance of the group where L or U is located is represented, and the color temperature group distance type sequence is a sequence obtained by grouping the color temperature adjusting values PPT of all entrants in the illumination area under the same light distribution time segment.
Further, the second scheme specifically includes:
the method comprises the steps of obtaining PPB, PPT, PBA and PTA corresponding to each entrant in different light distribution time slices, obtaining fourth light distribution parameters under the condition that multiple persons enter the field according to the PPB, PPT, PBA and PTA of all entrants, wherein the fourth light distribution parameters comprise SLB and SLT, the SLB refers to a shared light distribution brightness adjusting value under the condition that the current entrant in an illumination area is multiple persons, the SLT refers to a shared light distribution color temperature adjusting value under the condition that the current entrant in the illumination area is multiple persons, and the illumination area illuminates according to the fourth light distribution parameters.
Further, the SLB is preferably obtained according to method one or method two or method three in sequence:
the method comprises the following steps: carrying out approximation and audience member on the PPBs of all entrants in the same light distribution time slice according to a rounding method, taking the mode of each PPB after approximation and audience members as SLBs of the light distribution time slice, wherein each light distribution time slice corresponds to one SLB;
the second method comprises the following steps: if the PPB of each registered user has not been mode after approaching to the audience, the respective PPB value of each registered user is compared with the PPB value of each registered user
The PPB value corresponding to the minimum value of the absolute value of the difference value is taken as the SLB of the light distribution time slice,
the PBA value obtained by calculation according to the formula (i) or (ii) according to the PPB values of all registered users in the light distribution time slice is represented;
the third method comprises the following steps: if the respective approximated PPB values of the registered users are equal to
The absolute value of the difference existingMore than two same absolute values are taken
And taking the approximate acquired PPB value corresponding to the minimum difference value as the SLB of the light distribution time slice.
Further, the SLT is preferably obtained according to method four or method five or method six in sequence:
the method four comprises the following steps: carrying out approximation and audience acquisition on the PPA of each registered user in the same light distribution time segment according to a rounding method, and taking the mode in each PPA after approximation and audience acquisition as the SLT of the light distribution time segment;
the method five comprises the following steps: if the PPA of each registered user does not have a mode after approaching to the audience, the respective PPA value of each registered user is compared with the PPA value of each registered user
The PPA value corresponding to the minimum value of the absolute value of the difference value is taken as the SLT of the light distribution time slice,
representing the PTA value obtained by calculation according to the formula (III) or (IV) according to the PPA values of all registered users in the current light distribution time slice;
the method six: if the respective approximated PPA value and of each registered user is less than the predetermined threshold
If the absolute value of the difference is more than two same absolute values, taking the sum
The approximated PPA value corresponding to the minimum difference is used as the SLT of the light distribution time slice.
Furthermore, the light distribution time period divides different time periods of one day into corresponding light distribution time segments, each light distribution time segment comprises a start time TTA and an end time TTO, and the lighting system performs lighting according to corresponding light distribution parameters in the TTA-TTO time period.
The invention has the beneficial effects that: the invention can set corresponding different light distribution parameters for a single person or a plurality of persons according to the illumination area to form illumination schemes with different requirements, thereby meeting the individualized illumination requirements of the plurality of persons. And the light distribution parameters can be automatically obtained, updated and optimized, complex professional operation is not required to be carried out by personnel, the forced lighting experience of 'theoretical comfort and theoretical health' of a user using light is avoided, and the experience of the user is improved.
Detailed Description
The present invention will be further described with reference to specific embodiments.
An adaptive lighting system that meets the needs of a single person or a plurality of persons, comprising:
(1) entrance identity recognition module
When an entrant enters the lighting area, the lighting system can automatically read the identity information of the entrant to judge whether the entrant is a registered user, if the entrant is the registered user, the personal light model PLM of the entrant is continuously read according to the identity information, and if no personal light model PLM exists, an initial light distribution parameter is established for the user, wherein the initial light distribution parameter is a preset default value. The personal light model PLM represents the lighting use habit of the registered user, namely the light distribution parameters of lighting. If the user is the unregistered user, the user is prompted to carry out identity registration or directly finish the processing, namely, the service of adjusting the light distribution parameters is not provided for the unregistered user. Whether the entering person gets into the illumination area can be through obtaining entering person positional information, for example, install the APP that uses this lighting system on the mobile terminal that the entering person carried about, APP can obtain entering person's positional information in real time to can judge whether the entering person gets into the illumination area. Thus, the entrant of the present embodiment defaults to a registered user, i.e. a rightful light user or a user authorized to use the lighting system, such as an employee in an office.
And when the entrance identity recognition module judges that the entrant who is the registered user enters the lighting area, the entrance identity recognition module sends an entrance signal, and when the entrant leaves the lighting area, the entrance identity recognition module sends an exit signal. And sending an entrance signal every time an entrant enters the illumination area, and similarly, sending an exit signal every time an exit corresponds to the exit.
The identity information of the entrant typically includes a person's name, gender, age, and ID (e.g., employee number), from which the specific identity of the entrant may be uniquely driven to determine whether the entrant is a registered user.
Wherein the illumination area is usually an office area or other public areas needing illumination.
After the entrant is determined as a registered user (including registered and newly registered entrants), a corresponding Personal-based lighting model (PLM) is established for each registered user, and the Personal-based lighting model (PLM) represents the used habit of the registered user for lighting, namely the light distribution parameters of the lighting. The personal habits of each individual using the lighting can be clearly known from the personal light model PLM. Therefore, an independent light model is established for each light user, so that personal light reference can be provided for any space, and the individual light requirement is met. The personal light module PLM comprises the light distribution parameters, the light distribution parameters comprise CAI, DBA, CCT, PBA, PTA, PPB and PPT, CAI refers to an illumination value in the current environment, DBA refers to a brightness adjusting value collected by an illumination adjuster under the current illumination CAI, CCT refers to a current circadian color temperature value, PBA refers to a public brightness adjusting value in an illumination area, PTA refers to a public color temperature adjusting value in the illumination area, PBA is obtained comprehensively according to brightness preference of each entrance, PTA is obtained comprehensively according to color temperature preference of each entrance, PPB refers to personal preference brightness, and PPT refers to personal preference color temperature.
The initial values of the parameters in the personal light model PLM of each newly registered user (i.e., no historical light data) are set as default values, and if there is lighting in actual use, the parameters in the personal light model PLM are updated according to the light parameters in actual use.
(2) Module for judging number of entrants
Entrants entering the illumination area may enter simultaneously or may enter intermittently, so that the current entrant (i.e. the person who uses light) in the illumination area has a plurality of persons (i.e. at least two persons) or may be a single person, and the illumination requirements of the single person and the plurality of persons are different, i.e. the light distribution strategies are different. Therefore, the number of entrants to the current illumination area needs to be counted. And when the number of the entrants is judged from the first entrance signal number, counting the number of the entrants in the current illumination area, and updating the number of the entrants in the current illumination area when the exit signal is received. Namely, when an entrance signal is received, the number of the entrants in the current illumination area is +1, and when an exit signal is received, the number of the entrants in the current illumination area is-1, so that the number of the entrants in the current illumination area is obtained through real-time updating.
If the number of the entrants in the current illumination area is one, the number of the entrants judging module sends a first configuration signal, if the number of the entrants in the current illumination area is multiple, the number of the entrants judging module sends a second configuration signal, and if the number of the entrants in the current illumination area is 0, namely all the people in the current illumination area leave the field, the number of the entrants judging module sends a configuration ending signal.
(3) Light distribution parameter module
Establishing a light distribution time period which comprises a plurality of light distribution time slices, wherein each light distribution time slice comprises a starting time TTA and an ending time TTO, and the starting time of the ith light distribution time slice is marked as TTAiAnd the end time is recorded as TTOi。
The light distribution time period is established so that the corresponding lighting requirements are set in different time periods within one day (namely 24 hours), namely, different light distribution schemes are established. The light distribution time period of the present embodiment is shown in table one:
watch 1
In table one, the light distribution time slices are divided into 8 light distribution time slices, and the light distribution time slices except the last light distribution time slice are all 2 hours. For example, the starting time TTA of the first light distribution time segment is 6 am (i.e. 0600), the ending time TTO is 8 am (i.e. 0800), and the starting time TTA of the last light distribution time segment is 8 am (i.e. 2000) to 6 am (i.e. (+ 1) 0600) of the next day.
And when receiving the configuration ending signal, stopping setting the light distribution parameters and ending the processing. And after the light distribution parameters are set, the illumination system illuminates according to the light distribution parameters.
The first scheme is as follows: reading the personal light model PLM of the registered user in each light distribution time segment, if the registered user has the corresponding personal light model PLM in each light distribution time segment,
and if the difference value between the current actual environment illumination value CAI at the current moment (corresponding to the light distribution time segment where the current actual environment illumination value CAI is located) and the CAI of the last same light distribution time segment of the personal light module PLM is less than or equal to 10%, performing light distribution illumination by adopting a first light distribution strategy, wherein the first light distribution strategy adopts a first light distribution parameter. And taking the PPB and PPT of the light distribution time segment of the personal light model PLM which is the same as the current light distribution time segment last time as the first light distribution parameters.
And if the difference value between the current actual environment illumination value CAI at the current moment (corresponding to the light distribution time segment where the current actual environment illumination value CAI is located) and the CAI of the last same light distribution time segment of the personal light module PLM is larger than 10%, performing light distribution illumination by adopting a second light distribution strategy, wherein the second light distribution strategy adopts a second light distribution parameter. And obtaining CAI and DBA under the current light distribution time segment, taking the DBA value as a PPB value, taking PPT of the same light distribution time segment in the personal light model PLM as a new PPT, and taking the obtained CAI, PPB and PPT as the second light distribution parameters. An optical segment can be newly added in the personal light model PLM, the CAI of the current actual environment collected by the illumination sensor is recorded on the optical segment, the current brightness adjustment value DBA is used as the configuration brightness of the personal preference brightness PPB in the newly added optical segment, and the PPT of the last same light distribution time segment is copied as the configuration color temperature of the PPT in the newly added optical segment. The longer the illumination system is used, i.e., the more time is used, the denser the PLM recorded data per entrant, the more various CAI values can be covered, and the more adaptive light distribution requirements can be met.
The PPB and the PPT can only reserve the brightness operation value and the color temperature operation value of the last time corresponding to each light distribution time segment by acquiring the brightness operation value and the color temperature operation value which are set by the current registered user (namely, an individual) on the software such as APP or an applet. For example, if the last luminance operation value of the registered user a in the light distribution time segment 0600-.
If the user does not have the corresponding personal light model PLM in a certain light distribution time segment or all light distribution time segments, the current PPB and PPT on the corresponding light distribution time segment are set as default values, the default values can be preset values, or the current DBA and CCT are respectively set, the DBA refers to a brightness adjusting value collected by an illumination adjuster, the CCT refers to a current circadian rhythm color temperature value, and the current circadian rhythm color temperature value can be directly obtained from a rhythm color temperature table. The rhythm color temperature table sets corresponding color temperature k values in different time periods according to the circadian rhythm, and the circadian rhythm is an objective time-color temperature mapping relation obtained according to human body biological science. The rhythmic color temperature table of this embodiment is shown in table two:
watch two
If the entrant does not select any light distribution parameter, lighting is carried out according to one light distribution parameter or a first alternative light distribution parameter and a second alternative light distribution parameter are pushed by default, lighting is carried out according to the alternative light distribution parameter selected by the entrant, the first alternative light distribution parameter comprises a DBA at the current moment and a CCT at the current moment, the DBA is the same as the current environment and the current light distribution time slice is the same, the second alternative light distribution parameter comprises a PBA and a PBT, the PBA is the same as the current environment and the current light distribution time slice is the same,
and if the entrant does not select any alternative light distribution parameters, receiving the PBA and the PTA input by the entrant, and illuminating according to the input BA and PTA.
The entrant can perform manual dimming (i.e. adjust the light distribution parameters) on the small program, the lighting system pushes the current system brightness adjustment value DBA and the current circadian rhythm color temperature value CCT under the current environment and the current light distribution time segment as first candidate light distribution parameters, and the public brightness adjustment value PBA and the public color temperature adjustment value PBT under the current environment and the current light distribution time segment as second candidate light distribution parameters for the individual user to select. If the individual user does not select any one of the alternative parameter sets and still adjusts the light manually according to own will, the collection applet assigns values to update the corresponding parameters in the PLM, and the PLM of the individual user is not changed when the individual user does not do any action.
According to the operation, the PPB and the PPT on each light distribution time segment are obtained, so that light distribution parameters of the first scheme are formed, the illumination area is illuminated according to the light distribution parameters, the illumination setting of the personal illumination requirement is completed, and the individual requirement is met.
Setting the current PBA and PTA in the illumination area, wherein the PBA refers to a public brightness adjusting value in the illumination area, namely the brightness preference adjusting value of most users in all the registered users, and the brightness preference adjusting values correspond to different light distribution time slices. The PTA is a popular color temperature adjustment value in the illumination area, that is, a color temperature preference adjustment value of most of the current registered users, and different light distribution time slices have a corresponding color temperature preference adjustment value. As far as most users are usually more than half of the users, the actual situation may be adjusted, for example, up to 40% of the total registered users in the current lighting area may be considered as most users, and accurate quantification is not required.
PBA and PTA are obtained according to the light preference of each registered user in the illumination area, PBA is obtained comprehensively according to the brightness preference of each registered user, and PTA is obtained comprehensively according to the color temperature preference of each registered user. Specifically, the PBA is obtained according to formula (i) or (ii):
in the formula (I), the compound is shown in the specification,
a lower limit value indicating a group in which the luminance bin interval expression sequence appears most frequently, F.U an upper limit value indicating a group in which the luminance bin interval expression sequence appears most frequently,
indicates the difference between the frequency of the group in which F.L or F.U is located and the frequency of the lower limit neighbor group,
indicates the difference between the frequency of the group in which F.L or F.U is located and the frequency of the upper-limit neighbor group, and d indicates the group distance of the group in which F.L or F.U is located.
The brightness group interval type sequence is a sequence obtained by grouping brightness adjustment values PPB of all registered users in the illumination area under the same light distribution time slice, and a group with the most frequent occurrence in the sequence is an interval value, namely the interval value is composed of an upper limit value and a lower limit value, wherein the lower limit value is smaller than the upper limit value. The upper neighbor group refers to the group immediately above the group F.L or F.U, and the lower neighbor group refers to the group immediately below the group F.L or F.U.
Referring to table three, in a certain light distribution time slice, a sequence obtained by grouping after acquiring the PPB value of each person, that is, a luminance group pitch formula sequence, is obtained. In table three, the frequency f occurs 12 times at most, and the corresponding group is 50 to 60, so the group distance d is 10, the lower limit value is 50, the upper limit value is 60, that is, F.L =50, F.U = 60. And F.L or F.U is located in 50-60 groups, the last group of the group is 40-50, namely the upper limit neighbor group is 40-50, and the frequency f corresponding to the upper limit neighbor group is 8. Similarly, the lower limit neighbor set is 60-70, and the frequency f corresponding to the lower limit neighbor set is 4, therefore,
,
. Calculated, PBA =50+ ((4/4+ 8)). 10 ≈ 53 or PBA =60- (8/(4+ 8)). 10 ≈ 53.
Watch III
Of course, for grouping reasons, the frequency f may not be a unique value, that is, the maximum frequency has more than two same values, and at this time, the group distance may be changed until a unique maximum frequency f is obtained, which is not described herein.
The PTA can be obtained according to the formula (III) or (IV):
wherein L represents a lower limit value of a group in which the frequency of occurrence in the color temperature group spacing formula sequence is the most, U represents an upper limit value of a group in which the frequency of occurrence in the color temperature group spacing formula sequence is the most,
represents the difference between the frequency of the group in which L or U is located and the frequency of the lower limit neighbor group,
represents the difference between the frequency of the group in which L or U is located and the frequency of the upper-limit neighboring group,
indicating the group distance of the group in which L or U is located.
The color temperature group distance type sequence is a sequence obtained by grouping color temperature adjusting values PPT of all registered users in the illumination area under the same light distribution time segment, and a group with the most frequent occurrence in the sequence is an interval value, namely the interval value is composed of an upper limit value and a lower limit value, wherein the lower limit value is smaller than the upper limit value. The upper limit neighbor group refers to the group immediately above the group of L or U, and the lower limit neighbor group refers to the group immediately below the group of L or U.
And referring to a table IV, acquiring the PPT values of all people in a certain light distribution time segment, and then grouping to obtain a sequence, namely obtaining a color temperature group distance type sequence. In Table III, the frequency f is 15 at most, and the corresponding group is 3500-4000, so the group distance
The lower limit is 3500, and the upper limit is 4000, i.e., L =3500 and U = 4000. And the group where L or U is located is 3500-4000, the last group of the group is 3000-3500, that is, the upper limit neighboring group is 3000-3500, and the frequency f corresponding to the upper limit neighboring group is 4. Similarly, the lower limit neighbor set is 4000-,
,
. Calculated, PTA =3500+ (11/(11+ 9)). times.500 =3775 or PTA =4000- (9/(11+ 9)). times.500 = 3775.
Watch four
Likewise, the frequency f may not be unique for grouping reasons, i.e. there may be more than two identical values for the maximum frequency, in which case it is possible to vary the group spacing until only one maximum frequency f is obtained.
In the first scheme, if the difference value between the CAI of the current light distribution time segment and the CAI of the last same light distribution time segment of the personal light model PLM is less than or equal to 10 percent, the PPB and the PPT of the last same light distribution time segment of the personal light model PLM as the current light distribution time segment are taken as first light distribution parameters,
if the difference value between the CAI of the current light distribution time segment and the CAI of the last same light distribution time segment of the personal light model PLM is more than 10%, obtaining the CAI and the DBA under the current light distribution time segment, taking the DBA value as a PPB value, taking the PPT of the same light distribution time segment in the personal light model PLM as a new PPT, taking the obtained CAI, PPB and PPT as second light distribution parameters,
if the entrant does not have the corresponding personal light model PLM in a certain light distribution time segment or all light distribution time segments, setting the current PPB and PPT on the corresponding light distribution time segment as default values or respectively as the current DBA and CCT, taking the obtained PPB and PPT as first light distribution parameters, and taking the DBA and CCT as third light distribution parameters.
Sending the first light distribution parameter, the second light distribution parameter and the third light distribution parameter which are different to a registered user, selecting by the registered user, selecting one light distribution parameter by the registered user, carrying out illumination according to the light distribution parameter selected by the user, if the user does not select any light distribution parameter from the registered user, carrying out illumination according to one of the light distribution parameters or pushing a first alternative light distribution parameter and a second alternative light distribution parameter by default, and carrying out illumination according to the alternative light distribution parameter selected by an entrant, wherein the first alternative light distribution parameter comprises a DBA at the current moment which is the same as the current environment and is the same as the current light distribution time slice and a CCT at the current moment, the second alternative light distribution parameter comprises a PBA and a PBT which are the same as the current environment and is the same as the current light distribution time slice,
and if the entrant does not select any alternative light distribution parameters, receiving the PBA and the PTA input by the entrant, and illuminating according to the input BA and PTA.
Scheme II: the second scheme is the light distribution scheme corresponding to more than 1 person. The PPB, PPT, PBA and PTA corresponding to each entrant (such as a registered user) in different light distribution time slices are obtained, a third light distribution scheme under the entrance of multiple persons is obtained according to the PPB, PPT, PBA and PTA of all entrants, and the fourth light distribution parameter is adopted in the third light distribution scheme. The fourth light distribution parameter comprises an SLB and an SLT, the SLB is a shared light distribution brightness adjusting value under the condition that the current registered user in the illumination area is a plurality of persons, the SLB is a shared light distribution color temperature adjusting value under the condition that the current registered user in the illumination area is a plurality of persons, and the illumination area illuminates according to the fourth light distribution parameter. Specifically, the SLB is preferentially obtained by method one or method two or method three in turn, and the SLT is preferentially obtained by method four or method five or method six in turn, that is, if the SLB can be obtained by method one, the SLB does not need to be obtained by method two or method three, and the SLB cannot be obtained by method one or method two, the SLB is obtained by method three. Similarly, if the third method can obtain the SLT, the third method and the fourth method do not need to obtain the SLT according to the fifth method or the sixth method, and the third method and the fourth method cannot obtain the SLT, so that the sixth method can obtain the SLT.
Before each method, firstly, the preference brightness value PPB and the public brightness value PBA of each entrant in the same light distribution time segment and the same illumination environment are subjected to approximate audience-picking processing by a rounding method (namely approximation), and approximate brightness values of an integral ten times close to the preference brightness value PPB and the public brightness value PBA in percentage are confirmed. For example, the original value of a certain PPB is 33%, and after the approximation and extraction processing by the rounding method, the PPB value is set to 30%. Similarly, if the original value of PPB is 49%, it is set to 50%. The methods are as follows:
the method comprises the following steps: and the PPB with the most same value in the registered users of the same light distribution time slice is taken as the SLB of the light distribution time slice, and each light distribution time slice corresponds to one SLB. Preferably, the PPB values of the registered users are approximated to the audience by rounding, and the mode of the approximated PPBs is taken as the SLB of the light distribution time slice.
For example, in the light distribution time segment of 0600-. Similarly, the PPA values of 5 registered users are 32%, 41%, 43%, 37%, and 52% in this order, and after the approximation and the acquisition by the rounding method, the PPA values obtained in this order are 30%, 40%, and 50%, and therefore, the mode is 40%, and the SLT of this light distribution time segment is 40%.
In actual use, the PPB or PPA values adjusted by the users have a certain difference in operation, for example, two users want to set the PPB to 35%, but a certain user may have a sensitivity in operation, and the like, and may be set to 34%, so that after the acquisition is approached, the method is equivalent to performing archive grouping, and the calculation amount can be greatly reduced.
The method is equivalent to an approximation method, namely, a mode is taken as the PPB and PPA values. More specifically, it is equivalent to comparing the respective approximated luminance values, and if there is a value that appears most frequently, this value is taken as the SLT of the shared illumination color temperature adjustment of this light distribution time segment, one SLT for each light distribution time segment.
The second method comprises the following steps: if the PPB of each registered user is close to the mode which is not acquired, the respective PPB value of each registered user is compared with the mode
The PPB value corresponding to the minimum value of the absolute value of the difference value is taken as the SLB of the light distribution time slice,
the PBA values obtained by calculation according to the formula (i) or (ii) and the PPB values of all registered users in the current light distribution time segment, namely the PPB values representing most people, are represented. That is, if the method has no mode brightness value in comparison, the absolute difference between the preference brightness value of each entrant and the public brightness value is calculated, the brightness value of the entrant corresponding to the minimum absolute difference after approaching the public is taken as the shared illumination brightness adjustment value SLB of the light distribution time segment,each light distribution time slice corresponds to one SLB.
For example, in the light distribution time segment of 0600-. Calculating PBA values of the five registered users according to the PPB values of the five registered users according to the formula (i) or (ii), namely obtaining the popular PPB, and recording the PPB values as the popular PPB
. Then, after the five registered users are close to being distinguished, the PPB values of the five registered users are 40%, 20%, 50%, 30% and 60% in sequence. Since there is no mode after the approximation and the sum of the values after the approximation need to be processed by the method
And taking an absolute value after the difference, and taking the minimum number value in the absolute values as the SLB of the light distribution time slice, namely taking the minimum absolute difference value as the SLB of the light distribution time slice.
Assumed to be obtained by calculating the light distribution time segment in 0600-0800
10%, five registered users approach the popular PPB and
the absolute values of the differences are respectively 30%, 10%, 40%, 20%, and 50% in sequence, and the minimum value is 10%, so that the PPB value corresponding to 10% of the registered users (i.e., the second registered user) is selected as the SLB of the light distribution time slice of 0600-0800, that is, the SLB is 10%.
The method is only performed if there is no PPB with the most identical value in method one, i.e. no mode is present. The method is equivalent to using the minimum absolute difference corresponding to the approximate value for light distribution.
The third method comprises the following steps: if each registered user approaches to each otherThe PPB value after gathering and
if the absolute value of the difference is more than two same absolute values, the absolute value is less than
The corresponding PPB value is taken as the SLB of the light distribution time slice. That is, if more than two identical minimum absolute differences occur in the method two, the approach brightness value with the minimum actual difference is taken as the shared illumination brightness adjustment value SLB of the light distribution time slice, and each light distribution time slice corresponds to one SLB.
For example, in the light distribution time segment of 0600-: the PPB value of the first registered user is 45%, the PPB value of the second registered user is 15%, the PPB value of the third registered user is 30%, then in the light distribution time segment of 0600 and 0800,
the content was 15%. And
the absolute values of the differences are respectively 15%, 15% and 15% in sequence, and because the absolute values of the three differences are the same, the SLT cannot be obtained according to the fifth method. At this time, it is necessary to select and
the approximated PPB value (i.e., 15%) corresponding to the minimum difference value is used as the SLB of the light distribution time segment of 0600-. Is less than
That is to say means with
The difference of (A) is negative, it can be seen that AND is required
The difference is the minimum PPB value.
The method is only performed if there is an absolute value with the same difference in method two. The method is equivalent to using the approach value light distribution corresponding to the actual negative difference in the minimum absolute difference group.
The method four comprises the following steps: among registered users in the same light distribution time slice, the PPA with the most same value is taken as the SLT of the light distribution time slice, and each light distribution time slice corresponds to one SLT. Preferably, the PPA value of each registered user is approximated to the audience by rounding, and the mode of each PPA approximated to the audience is taken as the SLT of the light distribution time segment.
For example, in the light distribution time segment of 0600-. Similarly, the PPA values of 5 registered users are 32%, 41%, 43%, 37%, and 52% in this order, and after the approximation and the acquisition by the rounding method, the PPA values obtained in this order are 30%, 40%, and 50%, and therefore, the mode is 40%, and the SLT of this light distribution time segment is 40%.
In the method, the approximate color temperature values are compared equivalently, if the value with the largest occurrence frequency exists, the value is used as the SLT for adjusting the shared illumination color temperature of the light distribution time slice, and each light distribution time slice corresponds to one SLT.
The method five comprises the following steps: if the PPA of each registered user does not have a mode after approaching to the audience, the respective PPA value of each registered user is compared with the PPA value of each registered user
The PPA value corresponding to the minimum value of the absolute value of the difference value is taken as the SLT of the light distribution time slice,
and the PPA values obtained by calculation according to the formula (III) or (IV) according to the PPA values of all registered users in the current light distribution time slice are shown, namely the PPA values representing most people. If the mode color temperature value does not appear in the comparison of the method IV, the absolute difference value between the preferred color temperature value of each entrance and the public color temperature value is calculated, the approach color temperature value of the entrance corresponding to the minimum absolute difference is taken as the shared illumination color temperature regulation value SLT of the light distribution time slice, and each light distribution time slice corresponds to one SLT.
For example, in the light distribution time segment of 0600-. Calculating the PTA values of the five registered users according to the PPA values of the five registered users and the formula (c) or (c), namely obtaining the PPT of the masses and recording the PPT as the PPT
. Then, after the five registered users are close to being distinguished, the PPA values are 40%, 20%, 50%, 30% and 60% in sequence. Since there is no mode after the approximation and the sum of the values after the approximation need to be processed by the method
And taking an absolute value after the difference, and taking the minimum number value in the absolute values as the SLT of the light distribution time slice, namely taking the minimum absolute difference value as the SLT of the light distribution time slice.
Assumed to be obtained by calculating the light distribution time segment in 0600-0800
10%, the five registered users approach the popular PPA and
the absolute values of the differences are respectively 30%, 10%, 40%, 20% and 50% in sequence, and the mostThe small value is 10%, so that the PPA value corresponding to 10% of the registered users (i.e. the second registered user) is selected as the SLT of the light distribution time slice of 0600-0800, that is, the SLT is 10%.
The method is only performed if the PPA with the most identical value is not present in method four, i.e. no mode appears.
The method six: if the respective registered user approaches the averaged PPA value and
if the absolute value of the difference is more than two same absolute values, the absolute value is less than
The corresponding PPA value is used as the SLT of the light distribution time slice. That is, if more than two identical minimum absolute differences occur in the method five, the approximate color temperature value corresponding to the minimum actual difference is taken as the shared illumination color temperature regulation value SLT of the light distribution time slice, and each light distribution time slice corresponds to one SLT.
For example, in the light distribution time segment of 0600-: the PPA value of the first registered user is 45%, the PPA value of the second registered user is 15%, the PPA value of the third registered user is 30%, then in the light distribution time segment of 0600-0800,
the content was 15%. And
the absolute values of the differences are respectively 15%, 15% and 15% in sequence, and because the absolute values of the three differences are the same, the SLT cannot be obtained according to the fifth method. At this time, it is necessary to select and
the approximated PPA value (i.e. 15%) with the minimum difference corresponds to the SLT of the light distribution time segment of 0600-0800, i.e. the PPA value with 15% of the second user is regarded as 06SLT of light distribution time segment of 00-0800. Is less than
That is to say means with
The difference of (A) is negative, it can be seen that AND is required
The difference is the smallest PPA value.
The method is only performed if there is an absolute value with the same difference in method five.
The invention can set corresponding different light distribution parameters for a single person or a plurality of persons according to the illumination area to form illumination schemes with different requirements, thereby meeting the individualized illumination requirements of the plurality of persons. And the light distribution parameters can be automatically obtained, updated and optimized, complex professional operation is not required to be carried out by personnel, the forced lighting experience of 'theoretical comfort and theoretical health' of a user using light is avoided, and the experience of the user is improved.
The embodiments disclosed in this description are only an exemplification of the single-sided characteristics of the invention, and the scope of protection of the invention is not limited to these embodiments, and any other functionally equivalent embodiments fall within the scope of protection of the invention. Various other changes and modifications to the above-described embodiments and concepts will become apparent to those skilled in the art from the above description, and all such changes and modifications are intended to be included within the scope of the present invention as defined in the appended claims.