CN109699111B - Intelligent lighting device and lighting control method - Google Patents
Intelligent lighting device and lighting control method Download PDFInfo
- Publication number
- CN109699111B CN109699111B CN201910048596.5A CN201910048596A CN109699111B CN 109699111 B CN109699111 B CN 109699111B CN 201910048596 A CN201910048596 A CN 201910048596A CN 109699111 B CN109699111 B CN 109699111B
- Authority
- CN
- China
- Prior art keywords
- fuzzy
- measurement data
- illumination
- pid
- input
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/10—Controlling the intensity of the light
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/50—Circuit arrangements for operating light-emitting diodes [LED] responsive to malfunctions or undesirable behaviour of LEDs; responsive to LED life; Protective circuits
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/105—Controlling the light source in response to determined parameters
- H05B47/11—Controlling the light source in response to determined parameters by determining the brightness or colour temperature of ambient light
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/175—Controlling the light source by remote control
- H05B47/19—Controlling the light source by remote control via wireless transmission
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/20—Responsive to malfunctions or to light source life; for protection
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/30—Semiconductor lamps, e.g. solid state lamps [SSL] light emitting diodes [LED] or organic LED [OLED]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Abstract
The intelligent lighting device and the lighting control method are characterized in that an automatic dimming module comprising a self-adaptive fuzzy PID controller is arranged, the intelligent control of a lighting lamp is realized by adopting a self-adaptive fuzzy algorithm, the brightness of the lighting lamp can be changed in real time by changing the control parameters of the PID controller in real time, and the real-time performance of a control system is improved, so that the defects of nonlinearity and time lag of the lighting lamp are overcome, the real-time smooth control of the lighting lamp can be realized, an electric energy detection module and a fault diagnosis module are simultaneously arranged, the data analysis and the fault diagnosis of the lighting power consumption condition can be realized, and real, credible and easily-obtained original data can be provided for developing the energy-saving analysis of the lighting system in the later stage.
Description
Technical Field
The disclosure relates to the technical field of intelligent lighting control, in particular to an intelligent lighting device and a lighting control method.
Background
The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art.
In recent years, the electricity consumption and the electricity load in China are increased rapidly, electricity shortage and even switching-off electricity limitation phenomena of different degrees appear in various places, the illumination loss caused by unreasonable illumination in China accounts for one third of the electricity consumption, and the illumination loss becomes an important component of the electricity consumption. If the energy loss of the lighting system can be reduced under the condition of not reducing the visual requirement of a workplace, the electric energy loss can be effectively reduced, the energy waste can be greatly reduced, higher economic benefit can be brought, and the national conditions of energy conservation and emission reduction are met.
Most of present lighting devices consider the requirement of guaranteeing the illumination, do not consider energy-saving control, along with lighting technology's development and the improvement of people's environmental protection consciousness, how to design one kind and possess intelligent control, energy-conserving efficient intelligent lighting device, through scientific control strategy, carry out intelligent control to the illumination lamps and lanterns, reach the effect of practicing thrift the electric energy, the technical problem that technical staff in the field need to solve urgently.
Disclosure of Invention
The intelligent lighting device and the lighting control method are provided, the automatic dimming module comprising the self-adaptive fuzzy PID controller is arranged, the intelligent control of the lighting lamp is realized by adopting the self-adaptive fuzzy algorithm, the brightness of the lighting lamp can be changed in real time by changing the control parameters of the PID controller in real time, and the real-time performance of a control system is improved, so that the defects of nonlinearity and time lag of the lighting lamp are overcome, the real-time smooth control of the lighting lamp can be realized, the electric energy detection module and the fault diagnosis module are arranged at the same time, the data analysis and the fault diagnosis of the lighting power consumption condition can be realized, and real, credible and easily obtained original data can be provided for developing the energy-saving analysis of the lighting system in the later stage.
In order to achieve the purpose, the following technical scheme is adopted in the disclosure:
one or more embodiments provide an intelligent lighting device, which includes a control unit, an intelligent switch and a lighting fixture, wherein the control unit is connected with the intelligent switch and the lighting fixture respectively;
the control unit comprises a main controller, a first wireless transmission module, an electric energy measuring module, a fault diagnosis module and an automatic dimming module; the main controller is respectively connected with the first wireless transmission module, the electric energy measuring module, the fault diagnosis module and the automatic dimming module; the automatic dimming module comprises an adaptive fuzzy PID controller, and the adaptive fuzzy PID controller is connected with the lighting lamp and is used for automatically controlling the brightness of the lighting lamp.
Furthermore, the electric energy measuring module comprises an electric energy measuring circuit which is connected with the main controller through a serial interface, and the electric energy measuring circuit is connected with the lighting lamp and used for detecting the power utilization condition of the lighting lamp in real time.
Furthermore, the intelligent switch comprises a first controller, an illumination sensor and a second wireless transmission module; the first controller is connected with the illumination sensor and the second wireless transmission module respectively, and the intelligent switch is connected with the control unit in a wireless mode.
Furthermore, the intelligent switch also comprises a manual switch button, a manual-automatic switching button and a display, and the first controller is respectively connected with the manual switch button, the manual-automatic switching button and the display;
or
The intelligent switch further comprises a touch display, the touch display is connected with the first controller, and a manual switch key and a manual automatic switching key are arranged on the touch display.
Furthermore, the lighting lamp comprises a dimmer and a lighting lamp which are connected with each other, the lighting lamp is a bulb or an LED lamp, and the dimmer is connected with the automatic dimming module.
Furthermore, the remote control system also comprises a remote terminal, wherein the remote terminal is in wireless connection with the control unit and is used for remotely monitoring the operation condition of the lighting lamp.
Further, the remote terminal is a mobile phone or a monitoring computer.
A lighting control method, comprising the steps of:
setting an illumination set value of an illumination environment, and collecting an actual illumination value of the environment;
calculating an illumination error and an illumination error change rate according to a set illumination set value and an actual illumination value;
calculating an illumination error and an illumination error change rate as input values, taking the PID parameter correction quantity of the PID controller as output, and obtaining the PID parameter correction quantity of the adaptive fuzzy PID controller by adopting an adaptive fuzzy PID algorithm;
changing the control parameter of the adaptive PID controller according to the solved PID parameter correction quantity;
and obtaining the actual output quantity according to the input value and the changed control parameter of the PID controller, and adjusting the brightness of the illuminating lamp according to the actual output quantity.
Further, the calculated illumination error and the illumination error change rate are used as input values, the PID parameter correction quantity of the PID controller is used as output, and the PID parameter correction quantity of the adaptive fuzzy PID controller is obtained by adopting an adaptive fuzzy PID algorithm, and the method specifically comprises the following steps:
fuzzifying and inputting the illumination error and the illumination error change rate to an adaptive fuzzy PID controller;
determining a fuzzy rule by a synthesis inference method to obtain a fuzzy relation between the input of the self-adaptive fuzzy PID controller and PID control parameters;
obtaining a fuzzy output quantity according to the fuzzy relation and the input value;
and solving the fuzzy output quantity by adopting a maximum membership method to obtain PID parameter correction quantity.
Further, the method also comprises the following steps:
collecting the power utilization condition of the lighting lamp, and determining a lighting fault according to the power utilization condition;
or/and
and collecting the electricity utilization condition of the lighting lamp and counting the electricity consumption.
Compared with the prior art, the beneficial effect of this disclosure is:
(1) the automatic dimming module comprises the self-adaptive fuzzy PID controller, intelligent control of the lighting lamp is achieved through the self-adaptive fuzzy algorithm, real-time change of the brightness of the lighting lamp can be achieved by changing the control parameters of the PID controller in real time, real-time performance of a control system is improved, the defects of nonlinearity and time lag of the lighting lamp are overcome, real-time smooth control of the lighting lamp can be achieved, meanwhile, the electric energy detection module and the fault diagnosis module are arranged, data analysis and fault diagnosis of the lighting power utilization condition can be achieved, and real, reliable and easily-obtained original data can be provided for later-stage energy-saving analysis of the lighting system.
(2) This openly sets up illumination sensor in intelligence switch, has realized the transmission of data with switching signal and illuminance signal through same second wireless transmission module, has simplified the constitution of device. And the illumination sensor is arranged at a height position which can be manually controlled, and the numerical value of the detected illumination can reflect the visual perception of a user.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application.
FIG. 1 is a block diagram of an apparatus according to one or more embodiments;
FIG. 2 is a schematic structural view of the apparatus of the present embodiment;
fig. 3 is an automatic dimming schematic of the present embodiment;
fig. 4 is a flowchart of the illumination control method of the present embodiment;
fig. 5 is a block diagram of another apparatus for implementing the intelligent switch function of the present embodiment.
The specific implementation mode is as follows:
the present disclosure is further described with reference to the following drawings and examples.
It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the disclosure. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments according to the present application. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, and it should be understood that when the terms "comprises" and/or "comprising" are used in this specification, they specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof, unless the context clearly indicates otherwise. It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict. The embodiments will be described in detail below with reference to the accompanying drawings.
In the technical solution disclosed in one or more embodiments, as shown in fig. 1 and 2, an intelligent lighting device includes a control unit, an intelligent switch and a lighting fixture, wherein the control unit is connected with the intelligent switch and the lighting fixture respectively; the intelligent switch is used for switching the switch control mode of the lighting lamp, the switch control mode can comprise a manual control mode and an intelligent control mode, the lighting lamp can be directly turned on or turned off through the manual switch of the intelligent switch in the manual control mode, and the intelligent control mode transmits the illumination intensity to the control unit for automatic adjustment of lighting by detecting the actual illumination intensity.
The control unit comprises a main controller, a first wireless transmission module, an electric energy measuring module, a fault diagnosis module and an automatic dimming module; the main controller is respectively connected with the wireless transmission module, the electric energy measuring module, the fault diagnosis module and the automatic dimming module; the automatic dimming module comprises an adaptive fuzzy PID controller, and the adaptive fuzzy PID controller is connected with the lighting lamp and used for automatically controlling and adjusting the brightness of the lighting lamp.
The first wireless transmission module of the control unit is used for realizing wireless communication between the control unit and the intelligent switch. The first wireless transmission module model may be ESP 8266.
The electric energy measuring module of the control unit is used for realizing the collection of the electricity consumption condition of the lighting lamp and completing the real-time measurement of voltage, current, power and electricity consumption. The electricity utilization conditions comprise the working voltage, the current, the power and the electricity consumption of the lighting lamp; the electric energy measuring module can be an electric energy measuring circuit which comprises a current transformer, a voltage transformer and an A/D conversion circuit, wherein the current transformer and the voltage transformer are respectively connected with the A/D conversion circuit, and the A/D conversion circuit is connected with the main controller. Wherein current transformer can adopt AD736 chip, and voltage transformer can adopt MCP601 chip, and current transformer, voltage transformer gather electric current and voltage signal respectively after, send corresponding voltage and current signal respectively to AD converting circuit, and AD converting circuit carries out analog-to-digital conversion and transmits to main control unit with the data of gathering and handles, and main control unit can be the singlechip, and the model can be STM32F 102. The electric energy measuring module can complete real-time measurement of voltage, current, power and electricity consumption, the measured result can be used for fault diagnosis on one hand, collected electricity utilization conditions are directly sent to the fault diagnosis module of the control unit, diagnosis of electricity utilization faults is carried out, and on the other hand, the electric energy measuring module can be used for statistics and management of electric energy. Statistics of power usage of the lighting can be directly determined, facilitating individual analysis of power usage of the lighting.
The fault diagnosis module analyzes the voltage value, the current value and the power consumption obtained by the electric energy measurement module, judges the abnormal state of the lighting lamp and feeds back the diagnosis result to the main controller. When short circuit, open circuit or overload occurs, the lighting lamp can be directly turned off. The specific fault diagnosis may adopt the following method: the normal value ranges of the voltage, the current and the power of the lamp are preset, the voltage value, the current value and the power consumption obtained from the electric energy measuring module are compared with the normal values by the fault diagnosis module, when the detection value exceeds the normal value range, the lighting lamp is directly turned off, the protection of the lamp is realized, the fault reason appearing at the moment is judged, the fault reasons of short circuit, open circuit and overload are sent to the intelligent switch through the second wireless transmission module of the main controller, and the fault reasons are displayed on the display screen.
The intelligent switch comprises a first controller, an illumination sensor and a second wireless transmission module; the first controller is connected with the illumination sensor and the second wireless transmission module respectively, and the intelligent switch is connected with the control unit in a wireless mode. The illumination sensor is used for acquiring the real-time illumination intensity of the illumination environment in real time, the first controller is in wireless data communication with the main controller through the second wireless transmission module, the main controller transmits the received real-time illumination intensity to the automatic dimming module of the control unit, and the brightness of the illumination lamp is intelligently regulated and controlled through the self-adaptive fuzzy PID controller according to the set value of the illumination intensity. The first controller may be model number STM32F102 and the second wireless transmission module may be model number ESP 8266.
As a further improvement, in order to realize the functions of intelligent switch display and function selection, the intelligent switch also comprises a manual switch button, a manual-automatic switching button and a display, and the first controller is respectively connected with the manual switch button, the manual-automatic switching button and the display. The manual-automatic switching button is used for selecting an on-off control mode of the lighting lamp, the on-off control mode can comprise a manual control mode and an intelligent control mode, the lighting lamp can be directly turned on or turned off through the manual switch button of the intelligent switch in the manual control mode, and the intelligent control mode transmits the illumination intensity to the control unit for automatic adjustment of lighting through the detected actual illumination intensity. The display may be an LCD display and an LED display.
As another way to implement the intelligent switch display and function selection function, as shown in fig. 5, the display may be configured as a touch display, the manual switch button and the manual-automatic switching button may be configured on a display screen of the touch display, the manual switch button and the manual-automatic switching button are configured on the touch display, the touch display is configured to display current, voltage, power consumption and a fault code, and the first controller is connected to the touch display. The manual-automatic switching key is used for selecting an on-off control mode of the lighting lamp, the on-off control mode can comprise a manual control mode and an intelligent control mode, the lighting lamp can be directly turned on or turned off through the manual switch key of the intelligent switch in the manual control mode, and the intelligent control mode transmits the illumination intensity to the control unit for automatic adjustment of lighting through the detected actual illumination intensity.
The intelligent switch is internally provided with the illumination sensor, the switching signal and the illumination signal are transmitted through the same second wireless transmission module, and the structure of the intelligent switch is simplified. And the illumination sensor is arranged at a height position which can be manually controlled, and the numerical value of the detected illumination can reflect the visual perception of a user.
The lighting lamp of the embodiment can comprise a dimmer and a lighting lamp which are connected with each other, wherein the lighting lamp is a bulb or an LED lamp, and the dimmer is connected with the automatic dimming module. The dimmer receives a dimming command sent by the main controller and adjusts the brightness of the illuminating lamp.
The lighting device comprising the intelligent switch, the lighting lamp and the control unit can realize automatic regulation of lamp brightness of the lighting lamp according to actual detected illuminance of a lighting environment, can also realize data acquisition of power utilization conditions of a circuit for lighting, and realizes fault analysis and power utilization statistics of the lighting circuit. Present most light luminance is invariable, need the manual work to carry out on-off control, like current street lamp system, generally open according to the time of setting for, the illumination of family in addition, the state luminance that the lamp was opening is unchangeable, when external luminance change, indoor luminance can change along with external luminance change, wait to the certain degree of luminance, the user closes the illumination, there is unnecessary electric energy waste on the one hand, the long-time high-brightness operational environment of on the other hand belongs to light pollution, probably make the user appear uncomfortable. The illumination device of the embodiment adjusts the brightness of the illumination lamp according to the illumination set value of the illumination environment by arranging the automatic dimming module comprising the self-adaptive fuzzy PID controller, reduces the brightness of the illumination lamp until the illumination lamp is turned off when the brightness of the illumination environment is higher than the set value, and improves the brightness of the illumination lamp until the ambient brightness reaches the set value when the brightness of the illumination environment is lower than the set value, so that the illumination intensity of the illumination environment can be kept in a reasonable numerical range, and the intelligent control of the illumination lamp and the effective energy conservation of the illumination device are realized. Both the first wireless communication module and the second wireless communication module of the present disclosure may be WiFi wireless communication modules. Communication is via WiFi signals.
As a further improvement, the remote control system further comprises a remote terminal, wherein the remote terminal is wirelessly connected with the control unit and is used for remotely monitoring the operation condition of the lighting lamp. The power utilization condition, the fault analysis result, the power utilization statistical result and the real-time illuminance of the lighting environment of the lighting circuit can be sent to the remote terminal, the lighting lamp can be controlled to be turned on and turned off through the remote terminal, and the brightness set value of the lighting lamp can be set through the remote terminal. The remote terminal can be a mobile phone or a monitoring computer.
In order to realize automatic adjustment of illuminance, the present embodiment further provides an illumination control method, including the following steps:
step 1, setting an illumination set value of an illumination environment, and collecting an actual illumination value of the environment;
step 2, calculating an illumination error and an illumination error change rate according to a set illumination set value and an actual illumination value;
step 3, calculating an illumination error and an illumination error change rate as input values, taking the PID parameter correction quantity of the PID controller as output, and obtaining the PID parameter correction quantity of the adaptive fuzzy PID controller by adopting an adaptive fuzzy PID algorithm;
step 4, changing the control parameters of the adaptive PID controller according to the solved PID parameter correction quantity;
and 5, obtaining the actual output quantity according to the input value and the changed control parameter of the PID controller, and adjusting the brightness of the illuminating lamp according to the actual output quantity.
In step 3, the calculated illumination error and the illumination error change rate are used as input values, the PID parameter correction quantity of the PID controller is used as output, and the PID parameter correction quantity of the adaptive fuzzy PID controller is obtained by adopting an adaptive fuzzy PID algorithm, and the method specifically comprises the following steps:
fuzzifying and inputting the illumination error and the illumination error change rate to an adaptive fuzzy PID controller;
determining a fuzzy rule by a synthesis inference method to obtain a fuzzy relation between the input of the self-adaptive fuzzy PID controller and PID control parameters;
obtaining a fuzzy output quantity according to the fuzzy relation and the input value;
and solving the fuzzy output quantity by adopting a maximum membership method to obtain PID parameter correction quantity.
Further, the method can also comprise the following steps:
the power utilization condition of the lighting lamp is collected, and the lighting fault is determined according to the power utilization condition. Or the method can also comprise the steps of collecting the electricity utilization condition of the lighting lamp and counting the electricity consumption.
The illumination set value can be preset according to the requirements of an indoor environment or can be adjusted at any time through an APP (application) by a mobile phone terminal, the real-time ambient illumination is obtained by an illumination sensor of an intelligent switch and is transmitted to a main controller through a wireless transmission module, the difference value between the illumination set value and the real-time illumination is used as the input of an automatic dimming controller, the calculation result of an adaptive fuzzy PID (proportion integration differentiation) control strategy is used as the input of a dimmer, the brightness of the lighting lamp is adjusted in real time, closed-loop feedback control is formed, and the indoor actual illumination approaches the set value.
The adaptive fuzzy PID control implements an adaptive fuzzy PID control algorithm as shown in fig. 4. Because the lighting lamp has the characteristics of nonlinearity and time lag, in order to enable the system to achieve good control performance, the self-adaptive fuzzy PID control adopts a two-input-multiple-output structure. The two input quantities are respectively an illumination difference value e, an illumination difference value change rate ec, and the three output quantities are respectively a PID proportional parameter correction quantity delta Kp, a PID differential parameter correction quantity delta Kd and a PID integral parameter correction quantity delta Ki.
The illumination error e and the error change rate ec are calculated by a quantization factor keAnd kecQuantized as the precise input E of a fuzzy controller*And EC*And then input by blurring. Then carrying out fuzzy reasoning according to a fuzzy rule to obtain fuzzy output quantity, and finally obtaining the correction quantity delta K of three parameters of PID (proportion integration differentiation) through fuzzy de-fuzzy processingP,ΔKi,ΔKd. The fuzzy self-tuning of PID parameters is realized by finding out the fuzzy relation between three parameters of PID and e and ec, continuously detecting e and ec in operation and correcting the PID parameters by the correction quantity (delta K)P,ΔKi,ΔKd) And the PID parameter setting is output to meet the requirements of deviation and deviation change rate at different moments on PID parameter setting. Thereby enabling the controlled lighting device to have good dynamic and static characteristics. Finally obtaining three parameters of the PID controller, wherein Kp',Ki',Kd' is a preset value. The final actual output parameter is Kp=Kp'+ΔKp,Ki=Ki'+ΔKi,Kd=Kd'+ΔKd。
The specific steps of fuzzifying the illumination error and the illumination error change rate are as follows: the specific measurement values are converted to corresponding blur vector values based on the defined linguistic values and blur subsets.
First, language variables are defined. The linguistic variables of the adaptive fuzzy PID control algorithm can include an illumination difference value e, an illumination difference value change rate ec, a PID proportional parameter correction quantity delta Kp, a PID differential parameter correction quantity delta Kd, and a PID integral parameter correction quantity delta Ki.
The language value may be defined as follows:
(1) the luminance difference E takes the linguistic variable E, and the universe X { -m, -m +1, · 1, -0, 1,. and m-1, m }, where the universe fuzzy subset isThe corresponding linguistic values are: { positive large (PB), Positive Middle (PM), Positive Small (PS), Zero (ZO), Negative Small (NS), Negative Middle (NM), negative large (NB) }. Respectively representing the current illuminance values relative to the set value as: extremely low, very low, just in time, very high and extremely high.
(2) The variation rate of the luminance difference value is EC, a universe Y { -n, -n +1, · 1,0,1,. and n-1, n } is taken, and a universe fuzzy subset isThe corresponding linguistic values are: { positive large (PB), Positive Small (PS), Zero (ZO), Negative Small (NS), negative large (NB) }. Respectively representing the current illuminance value change rate as: rapidly getting bigger, unchanged, smaller and rapidly getting smaller.
(3) The PID proportional parameter correction quantity delta Kp takes the linguistic variable as UpThe argument field P { -a, -a + 1., -1,0, 1., a-1, a }, the fuzzy subset on the fuzzy domain is fuzzy subsetThe corresponding linguistic values are: { positive large (PB), Positive Small (PS), Zero (ZO), Negative Small (NS), negative large (NB) }.
(4) PID integral parameter correction quantity delta Ki takes linguistic variable as UiThe argument field I { -b, -b + 1., -1,0, 1., b-1, b }, the fuzzy subset on the fuzzy domain is fuzzy subsetThe corresponding linguistic values are:{ positive large (PB), Positive Small (PS), Zero (ZO), Negative Small (NS), negative large (NB) }.
(5) The PID differential parameter correction quantity delta Kd takes the linguistic variable as UdThe argument field D { -c, -c + 1., -1,0, 1., c-1, c }, the fuzzy subset on the fuzzy domain is fuzzy subsetThe corresponding linguistic values are: { positive large (PB), Positive Small (PS), Zero (ZO), Negative Small (NS), negative large (NB) }.
The membership function of the linguistic value may be a triangular function.
Determining a fuzzy rule by using a synthesis inference method, comprising the following steps of:
2) The measurement data pairs are blurred, assuming the inputs are X and Y, and they input the corresponding blur subsets as:
3) and for the group i data pairs, respectively solving fuzzy vectors after fuzzification according to respective membership degrees, wherein the fuzzy vectors are as follows:
wherein the content of the first and second substances,means thatMembership to fuzzy setsThe value of the degree of membership of (a),means thatMembership to fuzzy setsThe value of the degree of membership of (a),means thatMembership to fuzzy setsThe value of the degree of membership of (a),means thatMembership to fuzzy setsThe value of the degree of membership of (a),means thatMembership to fuzzy setsA membership value of.
4) Calculating the fuzzy relation between the input illumination error e and the illumination error change rate ec:
5) calculation X, Y, Up、Ui、UdThe fuzzy relation of (1):
X、Y、Upthe fuzzy relationship between the following:
X、Y、UibetweenThe fuzzy relationship of (1) is as follows:
X、Y、Udthe fuzzy relationship between the following:
6) the fuzzy relation is respectively operated on all the N groups of data, i.e. the parallel operation is carried out
Where i is 1,2, … …, N.
Where i is 1,2, … …, N.
Where i is 1,2, … …, N.
7) And selecting a proper threshold value lambda epsilon [0,1] to carry out lambda truncation processing. That is, all elements greater than or equal to λ in the fuzzy relation are denoted as 1, elements less than λ are denoted as 0, and the positions where the elements are 1 are replaced by the corresponding fuzzy subsets.
8) And superposing all fuzzy relations to obtain a total fuzzy relation R.
The specific method for obtaining the fuzzy output quantity according to the fuzzy relation and the input value is as follows: after the fuzzy relation of the fuzzy controller is obtained, the fuzzy output quantity can be solved by a synthetic reasoning method according to the fuzzy relation and the input value.
Solving the fuzzy output quantity by adopting a maximum membership method to obtain an actual output quantity, which specifically comprises the following steps:
finally obtaining three output quantities of the controller, namely three PID parameter correction quantities delta K according to the maximum membership method for solving the fuzzyP,ΔKi,ΔKdWherein Kp',Ki',Kd' is a preset value. Kp=Kp'+ΔKp,Ki=Ki'+ΔKi,Kd=Kd'+ΔKd。
Changing the control parameter of the adaptive PID controller according to the solved PID parameter correction quantity; compared with the existing PID controller, the three parameters of the PID are set before use, the three parameters of the PID cannot change along with the change of input, the brightness of the lighting lamp can be changed in real time by changing the control parameters of the PID controller in real time, the real-time performance of a control system is improved, and the defects of nonlinearity and time lag of the lighting lamp are overcome.
And obtaining the actual output quantity according to the input value and the changed control parameter of the PID controller, and adjusting the brightness of the illuminating lamp according to the actual output quantity.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Although the present disclosure has been described with reference to specific embodiments, it should be understood that the scope of the present disclosure is not limited thereto, and those skilled in the art will appreciate that various modifications and changes can be made without departing from the spirit and scope of the present disclosure.
Claims (6)
1. An intelligent lighting device is characterized in that: the intelligent switch comprises a control unit, an intelligent switch and a lighting lamp, wherein the control unit is respectively connected with the intelligent switch and the lighting lamp;
the control unit comprises a main controller, a first wireless transmission module, an electric energy measuring module, a fault diagnosis module and an automatic dimming module; the main controller is respectively connected with the first wireless transmission module, the electric energy measuring module, the fault diagnosis module and the automatic dimming module; the automatic dimming module comprises an adaptive fuzzy PID controller, and the adaptive fuzzy PID controller is connected with the lighting lamp and is used for automatically controlling the brightness of the lighting lamp; the electric energy measuring module comprises an electric energy measuring circuit which is connected with the main controller through a serial interface and is connected with the lighting lamp for detecting the power consumption condition of the lighting lamp in real time; the intelligent switch comprises a first controller, an illumination sensor and a second wireless transmission module; the first controller is respectively connected with the illumination sensor and the second wireless transmission module, and the intelligent switch is connected with the control unit in a wireless mode; the adaptive fuzzy PID controller takes the calculated illumination error and the illumination error change rate as input values, takes the PID parameter correction quantity of the PID controller as output, and adopts an adaptive fuzzy PID algorithm to obtain the PID parameter correction quantity of the adaptive fuzzy PID controller, and the method specifically comprises the following steps:
fuzzifying and inputting the illumination error and the illumination error change rate to an adaptive fuzzy PID controller;
determining a fuzzy rule by a synthesis inference method to obtain a fuzzy relation between the input of the self-adaptive fuzzy PID controller and PID control parameters; obtaining a fuzzy output quantity according to the fuzzy relation and the input value;
solving the fuzzy output quantity by adopting a maximum membership method to obtain PID parameter correction quantity;
the steps of determining the fuzzy rule by the synthetic inference method are as follows:
1) collecting input and output measurement data pairs:wherein, the input measurement data pair is:in order to be the error in the illumination e,for the illuminance error change rate ec, the output measurement data pair is: is the PID proportional parameter correction amount deltakp,to the PID integral parameter correction amount deltaki,is PID differential parameter correction quantity delta Kd;
2) for input measurement data pairRespectively fuzzified to obtain and input measurement data pairsThe fuzzy subset corresponding to the fuzzy value of (a);
for outputting measured data pairRespectively fuzzified to obtain output measurement data pairsThe fuzzy subset corresponding to the fuzzy value of (a);
3) for input measurement data pairThe fuzzy subset of,Fuzzy subset of (1), outputting the measurement dataThe fuzzy subset of,The fuzzy subset of,The fuzzy subsets are used for solving fuzzy vectors according to respective membership degrees;
5) computing pairs of input measurementsAnd output measurement data pairThe fuzzy relationship between them; calculating input measurement dataAnd outputting the measured dataThe fuzzy relationship between them; calculating input measurement dataAnd outputting the measured dataThe fuzzy relationship between them;
6) for the input measurement data pair obtained by calculationAnd output measurement data pairRespectively carrying out 'parallel' operation on fuzzy relations between the two, and inputting measurement data pairsAnd output measurement data pairRespectively carrying out 'parallel' operation on fuzzy relations between the two, and inputting measurement data pairsAnd output measurement data pairRespectively carrying out 'parallel' operation on fuzzy relations between the two groups;
7) selecting a proper threshold lambda epsilon [0,1] for lambda intercept processing on all fuzzy relation 'parallel' operation results obtained in the step 6), namely marking all elements which are larger than or equal to lambda in the fuzzy relation 'parallel' operation results as 1, marking the elements which are smaller than lambda as 0, and replacing the fuzzy subset after fuzzification by output measurement data corresponding to the fuzzy relation 'parallel' operation results for the position of which the element is 1;
8) superposing the results of all the lambda intercept processing obtained in the step 7) to obtain a total fuzzy relation.
2. The intelligent lighting device as claimed in claim 1, wherein: the intelligent switch also comprises a manual switch button, a manual-automatic switching button and a display, wherein the first controller is respectively connected with the manual switch button, the manual-automatic switching button and the display;
or
The intelligent switch further comprises a touch display, the touch display is connected with the first controller, and a manual switch key and a manual automatic switching key are arranged on the touch display.
3. The intelligent lighting device as claimed in claim 1, wherein: the illumination lamp comprises a dimmer and an illumination lamp which are connected with each other, the illumination lamp is a bulb or an LED lamp, and the dimmer is connected with the automatic dimming module.
4. The intelligent lighting device as claimed in claim 1, wherein: the remote terminal is in wireless connection with the control unit and is used for remotely monitoring the running condition of the lighting lamp.
5. The intelligent lighting device as claimed in claim 4, wherein: the remote terminal is a mobile phone or a monitoring computer.
6. A lighting control method is characterized by comprising the following steps:
setting an illumination set value of an illumination environment, and collecting an actual illumination value of the environment;
calculating an illumination error and an illumination error change rate according to a set illumination set value and an actual illumination value;
the method comprises the following steps of taking the calculated illumination error and the illumination error change rate as input values, taking the PID parameter correction quantity of the PID controller as output, and obtaining the PID parameter correction quantity of the adaptive fuzzy PID controller by adopting an adaptive fuzzy PID algorithm, wherein the method specifically comprises the following steps:
fuzzifying and inputting the illumination error and the illumination error change rate to an adaptive fuzzy PID controller;
determining a fuzzy rule by a synthesis inference method to obtain a fuzzy relation between the input of the self-adaptive fuzzy PID controller and PID control parameters; the steps of determining the fuzzy rule by the synthetic inference method are as follows:
1) collecting input and output measurement data pairs:wherein, the input measurement data pair is:in order to be the error in the illumination e,for the illuminance error change rate ec, the output measurement data pair is: is the PID proportional parameter correction amount deltakp,to the PID integral parameter correction amount deltaki,is PID differential parameter correction quantity delta Kd;
2) for input measurement data pairRespectively fuzzified to obtain and input measurement data pairsThe fuzzy subset corresponding to the fuzzy value of (a);
for outputting measured data pairRespectively fuzzified to obtain output measurement data pairsThe fuzzy subset corresponding to the fuzzy value of (a);
3) for input measurement data pairThe fuzzy subset of,Fuzzy subset of (1), outputting the measurement dataThe fuzzy subset of,The fuzzy subset of,The fuzzy subsets are used for solving fuzzy vectors according to respective membership degrees;
5) computing pairs of input measurementsAnd output measurement data pairThe fuzzy relationship between them; calculating input measurement dataAnd outputting the measured dataThe fuzzy relationship between them; calculating input measurement dataAnd outputting the measured dataThe fuzzy relationship between them;
6) for the input measurement data pair obtained by calculationAnd output measurement data pairRespectively carrying out 'parallel' operation on fuzzy relations between the two, and inputting measurement data pairsAnd output measurement data pairRespectively carrying out 'parallel' operation on fuzzy relations between the two, and inputting measurement data pairsAnd output measurement data pairRespectively carrying out 'parallel' operation on fuzzy relations between the two groups;
7) selecting a proper threshold lambda epsilon [0,1] for lambda intercept processing on all fuzzy relation 'parallel' operation results obtained in the step 6), namely marking all elements which are larger than or equal to lambda in the fuzzy relation 'parallel' operation results as 1, marking the elements which are smaller than lambda as 0, and replacing the fuzzy subset after fuzzification by output measurement data corresponding to the fuzzy relation 'parallel' operation results for the position of which the element is 1;
8) superposing the results of all the lambda intercept processing obtained in the step 7) to obtain a total fuzzy relation;
obtaining a fuzzy output quantity according to the fuzzy relation and the input value;
solving the fuzzy output quantity by adopting a maximum membership method to obtain PID parameter correction quantity;
changing the control parameter of the adaptive PID controller according to the solved PID parameter correction quantity;
obtaining an actual output quantity according to the input value and the changed control parameter of the PID controller, and adjusting the brightness of the illuminating lamp according to the actual output quantity;
collecting the power utilization condition of the lighting lamp, and determining a lighting fault according to the power utilization condition;
or/and
and collecting the electricity utilization condition of the lighting lamp and counting the electricity consumption.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910048596.5A CN109699111B (en) | 2019-01-18 | 2019-01-18 | Intelligent lighting device and lighting control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910048596.5A CN109699111B (en) | 2019-01-18 | 2019-01-18 | Intelligent lighting device and lighting control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109699111A CN109699111A (en) | 2019-04-30 |
CN109699111B true CN109699111B (en) | 2020-03-03 |
Family
ID=66234086
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910048596.5A Active CN109699111B (en) | 2019-01-18 | 2019-01-18 | Intelligent lighting device and lighting control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109699111B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110988462A (en) * | 2019-12-16 | 2020-04-10 | 北京三快在线科技有限公司 | Electricity-taking switch and electric quantity measuring method |
CN111246637A (en) * | 2020-01-17 | 2020-06-05 | 长安大学 | Office mixed lighting control method and device |
CN111954352B (en) * | 2020-09-08 | 2022-06-14 | 安徽世林照明股份有限公司 | Control system and method for lighting lamp of mobile terminal equipment |
CN113597068B (en) * | 2021-07-29 | 2024-03-29 | 北京建院图茂科技有限公司 | Control method and system based on station illumination |
CN114466492A (en) * | 2021-12-30 | 2022-05-10 | 中国建材国际工程集团有限公司 | Street lamp control method and system based on fuzzy control |
CN117812780B (en) * | 2024-03-01 | 2024-05-07 | 山东华鼎伟业能源科技股份有限公司 | Intelligent regulation and control system and method based on lighting lamp |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040073851A (en) * | 2003-02-15 | 2004-08-21 | 어익수 | Tunnel Lighting Step Control System make use PID Controller |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4122863B2 (en) * | 2002-06-28 | 2008-07-23 | 東芝ライテック株式会社 | Lighting control system |
US8823284B2 (en) * | 2011-11-10 | 2014-09-02 | Honeywell International Inc. | Optimal power supply topologies for switched current-driven LEDs |
CN104349559B (en) * | 2013-07-29 | 2016-12-28 | 北京同步科技有限公司 | The remote detecting system of intelligent lighting fault and detection method thereof |
CN103607820B (en) * | 2013-11-18 | 2017-02-15 | 江苏新可耐光电科技股份有限公司 | Constant light control system with intelligent lighting |
CN103619102B (en) * | 2013-11-27 | 2017-02-15 | 江苏新可耐光电科技股份有限公司 | Constant-light control system based on fuzzy algorithm |
-
2019
- 2019-01-18 CN CN201910048596.5A patent/CN109699111B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040073851A (en) * | 2003-02-15 | 2004-08-21 | 어익수 | Tunnel Lighting Step Control System make use PID Controller |
Also Published As
Publication number | Publication date |
---|---|
CN109699111A (en) | 2019-04-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109699111B (en) | Intelligent lighting device and lighting control method | |
WO2021072951A1 (en) | Internet of things and machine learning-based smart indoor energy conservation system | |
CN105050246B (en) | A kind of method and mobile terminal of mobile terminal regulation lamplight brightness | |
CN204518129U (en) | A kind of intelligent lighting system | |
CN111343776B (en) | Intelligent illumination control management system and method | |
CN103607820A (en) | Constant light control system with intelligent lighting | |
Ai et al. | Research and application of smart streetlamp based on fuzzy control method | |
CN112738945A (en) | Control system and method for multi-point illumination collection and linkage illumination adjustment | |
CN102958226A (en) | System, device and method for intelligent centralized illuminating lamp control | |
CN201904071U (en) | Separated display apparatus brightness adjusting device based on environmental light | |
CN108181860A (en) | The method and control system of street lamp networking based on NB-IOT | |
CN108683245A (en) | A kind of outdoor lighting DC power-supply system based on artificial intelligence study | |
CN113568948A (en) | Electric Internet of things system | |
CN205596391U (en) | Classroom intelligence LED lamp based on single chip microcomputer control | |
CN114071846A (en) | Ad-hoc network type partition cooperative control underground garage illumination control system and method | |
CN206506761U (en) | A kind of architecture indoor illumination monitoring managing device controlled based on computer | |
CN203429693U (en) | Display screen with automatic brightness adjustment function, and excavator | |
KR20220107565A (en) | Smart lighting control system and its method | |
CN109840594A (en) | Expressway Tunnel outer reticle circle border monitoring method and system | |
CN204425714U (en) | Based on the classroom illumination energy-saving control system of near infrared from detecting technology | |
CN104507217A (en) | Illumination system capable of remotely and intelligently being controlled | |
CN201563275U (en) | Illumination equipment control system | |
CN207179584U (en) | A kind of factory building illuminator on demand | |
CN104780678B (en) | A kind of city street lamp remote auto control and detecting system and method | |
CN219068432U (en) | Campus wisdom street lamp controlling means |
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 |