Control method and controller of integrated lamp
The driving electrical parameters of integrated lamps are adjusted in real time through a model-free adaptive control algorithm, which solves the problem of constant brightness under the influence of temperature fluctuations and achieves an anti-stroboscopic effect.
Patent Information
- Application Number
- CN202410722832.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-05
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-06-05
AI Technical Summary
Due to the compact structure of integrated lamps during operation, the temperature rise is relatively obvious, causing the luminous flux to be affected by temperature fluctuations. Simple constant current or constant power control is difficult to effectively prevent stroboscopic effects.
An integrated lamp control method is adopted to collect driving electrical parameters and brightness parameters through a preset sampling frequency, and a model-free adaptive control algorithm is used to calculate the driving electrical parameters at the current moment, and is adjusted in real time to maintain constant brightness and avoid interference from temperature fluctuations.
It effectively maintains the constant brightness of integrated lamps, achieves the purpose of anti-stroboscopic, and avoids the interference of temperature fluctuations on the brightness of lamps under constant current or constant power control.
Smart Images

Figure CN118301805B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of integrated lamps, and in particular to a control method of an integrated lamp and a controller of the integrated lamp. Background Art
[0002] Smart integrated lamps are used in many scenarios because of their advantages such as easy installation and space saving. Most smart integrated lamps include a light source part and a drive control part. The light source part is a light-emitting element, such as LED (Light-Emitting Diode), and the drive control part includes a power module and a controller.
[0003] At present, the constant brightness control of integrated lamps, that is, anti-strobe dimming control, generally adopts common constant current or constant power control schemes. However, the luminous flux of lamps is not only affected by electrical parameters such as driving current and PWM (Pulse Width Modulation) duty cycle, but also by conditions such as temperature. Since integrated lamps have a compact structure, the temperature rise during operation is more obvious. After the heat dissipation scheme is combined, the temperature fluctuates greatly, so simple constant current or constant power control is difficult to effectively prevent flicker. Summary of the invention
[0004] In order to solve the above technical problems, the present invention provides a control method and controller for an integrated lamp, which can effectively maintain the constant brightness of the integrated lamp and effectively achieve the purpose of anti-stroboscopic.
[0005] The technical solution adopted by the present invention is as follows:
[0006] A control method for an integrated lamp comprises the following steps: S1, collecting driving electrical parameters and brightness parameters of the integrated lamp at a preset sampling frequency to obtain historical driving electrical parameters, historical brightness parameters and brightness parameters of the integrated lamp at the current moment; S2, setting the brightness parameters of the integrated lamp at the next moment, wherein the set brightness parameters are fixed values; S3, calculating the driving electrical parameters of the integrated lamp at the current moment according to the historical driving electrical parameters, the historical brightness parameters, the brightness parameters of the integrated lamp at the current moment and the set brightness parameters of the integrated lamp at the next moment using a model-free adaptive control algorithm; S4, controlling the integrated lamp with the calculated driving electrical parameters of the integrated lamp at the current moment.
[0007] Step S3 specifically includes:
[0008] S31, according to the historical driving electrical parameters, the historical brightness parameters and the brightness parameters of the integrated lamp at the current moment, using the following formula to calculate the estimated value of the pseudo partial derivative at the current moment:
[0009]
[0010] in, represents the estimate of the pseudo partial derivative, , , x represents the driving electrical parameters, y represents the brightness parameter, t Indicates the current moment, t -1 means t The last moment, t -2 means t -1 at the last moment, t +1 means t The next moment, or represents the step sequence, m represents a positive weight coefficient;
[0011] S32, according to the estimated value of the pseudo partial derivative at the current moment, the historical driving electrical parameters, the brightness parameter of the integrated lamp at the current moment and the set brightness parameter of the integrated lamp at the next moment, the driving electrical parameters of the integrated lamp at the current moment are calculated using the following formula:
[0012]
[0013] in, Indicates the set brightness parameter. r represents the step sequence, l Indicates a positive weight coefficient.
[0014] The driving electrical parameter is current or PWM wave duty cycle.
[0015] The brightness parameters of the integrated lamp are collected by a brightness sensor, and the brightness sensor is arranged inside the integrated lamp.
[0016] A controller for an integrated lamp, comprising: an acquisition module, the acquisition module is used to acquire driving electrical parameters and brightness parameters of the integrated lamp at a preset sampling frequency to obtain historical driving electrical parameters, historical brightness parameters of the integrated lamp and the brightness parameters of the integrated lamp at the current moment; an acquisition module, the acquisition module is used to obtain the set brightness parameters of the integrated lamp at the next moment, wherein the set brightness parameters are fixed values; a calculation module, the calculation module is used to calculate the driving electrical parameters of the integrated lamp at the current moment according to the historical driving electrical parameters, the historical brightness parameters, the brightness parameters of the integrated lamp at the current moment and the set brightness parameters of the integrated lamp at the next moment, using a model-free adaptive control algorithm; and a control module, the control module is used to control the integrated lamp with the driving electrical parameters of the integrated lamp at the current moment calculated by the calculation module.
[0017] The calculation module is specifically used for:
[0018] According to the historical driving electrical parameters, the historical brightness parameters and the brightness parameters of the integrated lamp at the current moment, the estimated value of the pseudo partial derivative at the current moment is calculated using the following formula:
[0019]
[0020] in, represents the estimate of the pseudo partial derivative, , , x represents the driving electrical parameters, y represents the brightness parameter, t Indicates the current moment, t -1 means t The last moment, t -2 means t -1 at the last moment, t +1 means t The next moment, or represents the step sequence, m represents a positive weight coefficient;
[0021] According to the estimated value of the pseudo partial derivative at the current moment, the historical driving electrical parameters, the brightness parameter of the integrated lamp at the current moment and the set brightness parameter of the integrated lamp at the next moment, the driving electrical parameters of the integrated lamp at the current moment are calculated using the following formula:
[0022]
[0023] in, Indicates the set brightness parameter. r represents the step sequence, l Indicates a positive weight coefficient.
[0024] The driving electrical parameter is current or PWM wave duty cycle.
[0025] The acquisition module includes a brightness sensor disposed in the integrated lamp, so as to acquire brightness parameters of the integrated lamp through the brightness sensor.
[0026] A controller for an integrated lamp comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the control method of the integrated lamp is implemented.
[0027] Beneficial effects of the present invention:
[0028] The present invention obtains the current driving electrical parameters by using a model-free adaptive control algorithm based on the historical driving electrical parameters, historical brightness parameters, current brightness parameters and the set brightness parameters of the integrated lamp at the next moment. Thus, the integrated lamp is directly controlled based on the set brightness, avoiding the interference of factors such as temperature fluctuations on the brightness of the lamp under constant current or constant power control, thereby effectively maintaining the constant brightness of the integrated lamp and effectively achieving the purpose of anti-stroboscopic. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 This is a schematic structural diagram of an integrated lamp according to an embodiment of the present invention;
[0030] Figure 2 is a flow chart of a control method for an integrated lamp according to an embodiment of the present invention;
[0031] Figure 3 FIG. 4 is a block diagram of a controller of an integrated lamp according to an embodiment of the present invention. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0033] The integrated lamp in the embodiment of the present invention may be an integrated explosion-proof lamp used in explosive environments, or may be an integrated lamp for household use or an integrated street lamp.
[0034] The shell surface of the integrated lamp of a specific embodiment of the present invention has an airflow dispersion groove, which can remove heat with the help of air flow. Since the integrated lamp can generate more heat, the higher temperature has a more obvious effect on the brightness of the integrated lamp. In addition, under unstable airflow, the temperature of the integrated lamp fluctuates greatly, and the resulting stroboscopic light is more obvious. The structure of the integrated lamp in a specific embodiment of the present invention is as follows: Figure 1 As shown, it includes a first shell 1 and a second shell 2, the first shell 1 is used to accommodate the light source part, and the second shell 2 is used to accommodate the drive control part. The light source part, that is, the light-emitting element adopts a high-brightness LED light source, which is more energy-efficient than a gas discharge lamp. The power module of the drive control part can have overvoltage protection, overcurrent protection and surge current protection functions, and the controller of the drive control part can realize the functions realized by the controller of the embodiment of the present invention, and execute the control method of the integrated lamp of the embodiment of the present invention.
[0035] like Figure 2 As shown, the control method of the integrated lamp according to the embodiment of the present invention comprises the following steps:
[0036] S1, collecting driving electrical parameters and brightness parameters of the integrated lamp at a preset sampling frequency to obtain historical driving electrical parameters, historical brightness parameters of the integrated lamp and brightness parameters of the integrated lamp at the current moment.
[0037] S2, setting the brightness parameter of the integrated lamp at the next moment, wherein the set brightness parameter is a fixed value.
[0038] S3, calculating the driving electrical parameters of the integrated lamp at the current moment using a model-free adaptive control algorithm according to historical driving electrical parameters, historical brightness parameters, the brightness parameters of the integrated lamp at the current moment, and the set brightness parameters of the integrated lamp at the next moment.
[0039] S4, controlling the integrated lamp with the calculated driving electrical parameters of the integrated lamp at the current moment.
[0040] The following first introduces the model-free adaptive control algorithm.
[0041] Taking the compact format dynamic linearization method as an example, consider the general nonlinear discrete-time system as follows:
[0042] (1)
[0043] in, y ( t ), x ( t ) respectively represent t The output and input of the system at all times, t +1 means tThe next moment of the moment, n y , n x denote the order of output and input respectively, is an unknown nonlinear function.
[0044] The following assumptions are made for the nonlinear discrete-time system represented by equation (1) above (hereinafter referred to as system (1)):
[0045] Assumption 1: Assume that the input and output of system (1) are observable and controllable, that is, the expected output signal of a certain system is bounded. y * ( t +1), there exists a bounded feasible control input signal x * ( t ), so that the system output is equal to the expected output of the system under the drive of this control input signal;
[0046] Assumption 2: About the current control input signal of the system x ( t ) exists and is continuous;
[0047] Assumption 3: System (1) is generalized Lipschitz, that is, it satisfies t and Δ x ( t )≠0, we have:
[0048] (2)
[0049] in, , , b Is a normal number.
[0050] For system (1), if assumptions 1, 2 and 3 are met, then when Δ x ( t )≠0, there must be a quantity called a pseudo partial derivative , so that:
[0051]
[0052] and .
[0053] Therefore, the dynamic linearization model of system (1) based on the compact dynamic linearization method is:
[0054] (3)
[0055] For the model-free adaptive control system based on compact dynamic linearization method, the following criterion function of control input is considered:
[0056] (4)
[0057] in, l is a positive weight coefficient. In this criterion function, due to the term The introduction of limits the change of control input.
[0058] Substituting (3) into (4), we get x ( t ) and set it equal to zero, we get:
[0059] (5)
[0060] in, r Represents a step sequence.
[0061] because is the pseudo partial derivative of the system, which is unknown and cannot be directly applied to equation (5). Online estimate of , the expression of the control algorithm is given as:
[0062] (6)
[0063] The estimation criterion function of the pseudo partial derivative is:
[0064] (7)
[0065] From equations (3) and (7), we can get the estimation algorithm of pseudo partial derivative according to the optimal conditions:
[0066] (8)
[0067] in, or represents the step sequence, m is a positive weight coefficient.
[0068] The control method of the integrated lamp according to the embodiment of the present invention is implemented by using the above-mentioned model-free adaptive control algorithm.
[0069] In one embodiment of the present invention, the driving electrical parameters of the integrated lamp are used as inputs in the model-free adaptive control algorithm, and the brightness parameters are used as outputs in the model-free adaptive control algorithm.
[0070] In one embodiment of the present invention, the driving electrical parameter is current or PWM wave duty cycle.
[0071] In one embodiment of the present invention, the brightness parameter of the integrated lamp can be collected by a brightness sensor, and the brightness sensor is arranged in the integrated lamp, for example, it can be arranged in the first housing 1. In one embodiment of the present invention, the brightness sensor can be structurally arranged so that it is not affected by the external ambient light, or is minimally affected by the external ambient light. For example, a collection hole facing the light-emitting element and close to the light-emitting element can be arranged, and the brightness sensor collects the brightness parameter through the collection hole.
[0072] In one embodiment of the present invention, t Indicates the current moment, t -1 means t The last moment, t -2 means t -1 at the last moment, t +1 means t The historical parameters collected in step S1 are mainly t -1 moment and t It should be noted that the current moment, next moment and previous moment in the embodiment of the present invention are based on the sampling moment, and the previous moment, current moment and next moment are separated by a sampling interval.
[0073] In step S2, the set brightness parameter is a fixed value, that is, the brightness parameter set at each moment is equal, or the brightness parameter set each time for the integrated lamp at the next moment is equal.
[0074] In one embodiment of the present invention, step S3 specifically includes:
[0075] S31, according to the historical driving electrical parameters, the historical brightness parameters and the brightness parameters of the integrated lamp at the current moment, the estimated value of the pseudo partial derivative at the current moment is calculated using the following formula:
[0076]
[0077] in, represents the estimate of the pseudo partial derivative, , , x represents the driving electrical parameters, y represents the brightness parameter, t Indicates the current moment, t -1 means t The last moment, t -2 means t -1 at the last moment, t +1 means t The next moment, or represents the step sequence, mIndicates a positive weight coefficient.
[0078] S32, according to the estimated value of the pseudo partial derivative at the current moment, the historical driving electrical parameters, the brightness parameters of the integrated lamp at the current moment and the set brightness parameters of the integrated lamp at the next moment, the driving electrical parameters of the integrated lamp at the current moment are calculated using the following formula:
[0079]
[0080] in, Indicates the set brightness parameter. r represents the step sequence, l Indicates a positive weight coefficient.
[0081] After calculating the driving electrical parameters of the integrated lamp at the current moment, the driving electrical parameters of the integrated lamp can be adjusted in real time, thereby being able to always maintain a constant brightness of the integrated lamp.
[0082] The control method of the integrated lamp in the embodiment of the present invention obtains the current driving electrical parameters by using a model-free adaptive control algorithm based on the historical driving electrical parameters, historical brightness parameters, current brightness parameters and the set brightness parameters of the integrated lamp at the next moment. Thus, the integrated lamp is directly controlled based on the set brightness, avoiding the interference of factors such as temperature fluctuations on the brightness of the lamp under constant current or constant power control, thereby effectively maintaining the constant brightness of the integrated lamp and effectively achieving the purpose of anti-stroboscopic.
[0083] Corresponding to the control method of the integrated lamp in the above embodiment, the present invention further provides a controller for the integrated lamp.
[0084] like Figure 3 As shown, the controller of the integrated lamp of the embodiment of the present invention includes a collection module 10, an acquisition module 20, a calculation module 30 and a control module 40. The collection module 10 is used to collect the driving electrical parameters and brightness parameters of the integrated lamp at a preset sampling frequency to obtain the historical driving electrical parameters, historical brightness parameters and the brightness parameters of the integrated lamp at the current moment; the acquisition module 20 is used to obtain the set brightness parameters of the integrated lamp at the next moment, wherein the set brightness parameters are fixed values; the calculation module 30 is used to calculate the driving electrical parameters of the integrated lamp at the current moment according to the historical driving electrical parameters, historical brightness parameters, the brightness parameters of the integrated lamp at the current moment and the set brightness parameters of the integrated lamp at the next moment, using a model-free adaptive control algorithm; the control module 40 is used to control the integrated lamp with the driving electrical parameters of the integrated lamp at the current moment calculated by the calculation module 30.
[0085] The controller of the integrated lamp according to the embodiment of the present invention utilizes the above-mentioned model-free adaptive control algorithm to realize its functions.
[0086] In one embodiment of the present invention, the driving electrical parameters of the integrated lamp are used as inputs in the model-free adaptive control algorithm, and the brightness parameters are used as outputs in the model-free adaptive control algorithm.
[0087] In one embodiment of the present invention, the driving electrical parameter is current or PWM wave duty cycle.
[0088] In one embodiment of the present invention, the acquisition module 10 includes a brightness sensor disposed in the integrated lamp, so as to acquire brightness parameters of the integrated lamp through the brightness sensor. For example, the brightness sensor may be disposed in the first housing 1. In one embodiment of the present invention, the brightness sensor may be structurally arranged so that it is not affected by the external ambient light, or is minimally affected by the external ambient light. For example, a collection hole may be arranged facing the light-emitting element and close to the light-emitting element, and the brightness sensor acquires brightness parameters through the collection hole.
[0089] In one embodiment of the present invention, t Indicates the current moment, t -1 means t The last moment, t -2 means t -1 at the last moment, t +1 means t The historical parameters collected by the collection module 10 are mainly t -1 moment and t It should be noted that the current moment, next moment and previous moment in the embodiment of the present invention are based on the sampling moment, and the previous moment, current moment and next moment are separated by a sampling interval.
[0090] The set brightness parameter obtained by the acquisition module 20 is a fixed value, that is, the set brightness parameter at each moment is equal, or the brightness parameter of the integrated lamp set each time at the next moment is equal.
[0091] In one embodiment of the present invention, the calculation module 30 may first calculate the estimated value of the pseudo partial derivative at the current moment according to the historical driving electrical parameters, the historical brightness parameters and the brightness parameters of the integrated lamp at the current moment using the following formula:
[0092]
[0093] in, represents the estimate of the pseudo partial derivative, , , xrepresents the driving electrical parameters, y represents the brightness parameter, t Indicates the current moment, t -1 means t The last moment, t -2 means t -1 at the last moment, t +1 means t The next moment, or represents the step sequence, m Indicates a positive weight coefficient.
[0094] Then, according to the estimated value of the pseudo partial derivative at the current moment, the historical driving electrical parameters, the brightness parameters of the integrated lamp at the current moment and the set brightness parameters of the integrated lamp at the next moment, the driving electrical parameters of the integrated lamp at the current moment are calculated using the following formula:
[0095]
[0096] in, Indicates the set brightness parameter. r represents the step sequence, l Indicates a positive weight coefficient.
[0097] After the calculation module 30 calculates the driving electrical parameters of the integrated lamp at the current moment, the control module 40 can adjust the driving electrical parameters of the integrated lamp in real time, thereby being able to always maintain the constant brightness of the integrated lamp.
[0098] The controller of the integrated lamp in the embodiment of the present invention obtains the current driving electrical parameters by using a model-free adaptive control algorithm based on the historical driving electrical parameters, historical brightness parameters, current brightness parameters and the set brightness parameters of the integrated lamp at the next moment. Thus, the integrated lamp is directly controlled based on the set brightness, avoiding the interference of factors such as temperature fluctuations on the brightness of the lamp under constant current or constant power control, thereby effectively maintaining the constant brightness of the integrated lamp and effectively achieving the purpose of anti-stroboscopic.
[0099] Corresponding to the above embodiment, the present invention also proposes another controller.
[0100] The controller of the embodiment of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the control method of the integrated lamp according to the above embodiment of the present invention can be implemented.
[0101] In the controller of the embodiment of the present invention, when the processor executes the computer program stored in the memory, the current driving electrical parameters are obtained by using a model-free adaptive control algorithm based on the historical driving electrical parameters, historical brightness parameters, current brightness parameters and the set brightness parameters of the next moment of the integrated lamp. As a result, the integrated lamp is directly controlled based on the set brightness, avoiding the interference of factors such as temperature fluctuations on the brightness of the lamp under constant current or constant power control, thereby effectively maintaining the constant brightness of the integrated lamp and effectively achieving the purpose of anti-stroboscopic.
[0102] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. "Multiple" means two or more, unless otherwise clearly and specifically defined.
[0103] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0104] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0105] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0106] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.
[0107] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0108] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0109] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0110] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0111] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A control method for an integrated lamp, characterized in that: The following steps are involved: S1, collecting driving electrical parameters and brightness parameters of the integrated lamp at a preset sampling frequency to obtain historical driving electrical parameters, historical brightness parameters of the integrated lamp and brightness parameters of the integrated lamp at the current moment; S2, setting the brightness parameter of the integrated lamp at the next moment, wherein the set brightness parameter is a fixed value; S3, calculating the driving electrical parameters of the integrated lamp at the current moment using a model-free adaptive control algorithm according to the historical driving electrical parameters, the historical brightness parameters, the brightness parameters of the integrated lamp at the current moment, and the set brightness parameters of the integrated lamp at the next moment; S4, controlling the integrated lamp with the calculated driving electrical parameters of the integrated lamp at the current moment, Wherein, step S3 specifically includes: S31, according to the historical driving electrical parameters, the historical brightness parameters and the brightness parameters of the integrated lamp at the current moment, using the following formula to calculate the estimated value of the pseudo partial derivative at the current moment: , in, represents the estimate of the pseudo partial derivative, , , x represents the driving electrical parameters, y represents the brightness parameter, t Indicates the current moment, t -1 means t The last moment, t -2 means t -1 last moment, t +1 means t The next moment, η represents the step sequence, μ represents a positive weight coefficient; S32, according to the estimated value of the pseudo partial derivative at the current moment, the historical driving electrical parameters, the brightness parameter of the integrated lamp at the current moment and the set brightness parameter of the integrated lamp at the next moment, the driving electrical parameters of the integrated lamp at the current moment are calculated using the following formula: , in, Indicates the set brightness parameter. ρ represents the step sequence, λ Indicates a positive weight coefficient.
2. The control method of the integrated lamp according to claim 1, characterized in that: The driving electrical parameter is current or PWM wave duty cycle.
3. The control method of the integrated lamp according to claim 2, characterized in that: The brightness parameters of the integrated lamp are collected by a brightness sensor, and the brightness sensor is arranged inside the integrated lamp.
4. A controller for an integrated lamp, characterized in that: include: A collection module, the collection module is used to collect the driving electrical parameters and brightness parameters of the integrated lamp at a preset sampling frequency, and obtain the historical driving electrical parameters, historical brightness parameters of the integrated lamp and the brightness parameters of the integrated lamp at the current moment; An acquisition module, the acquisition module is used to acquire a set brightness parameter of the integrated lamp at the next moment, wherein the set brightness parameter is a fixed value; A calculation module, the calculation module is used to calculate the driving electrical parameters of the integrated lamp at the current moment by using a model-free adaptive control algorithm according to the historical driving electrical parameters, the historical brightness parameters, the brightness parameters of the integrated lamp at the current moment and the set brightness parameters of the integrated lamp at the next moment; a control module, the control module being used to control the integrated lamp according to the driving electrical parameters of the integrated lamp at the current moment calculated by the calculation module, Wherein, the calculation module is specifically used for: According to the historical driving electrical parameters, the historical brightness parameters and the brightness parameters of the integrated lamp at the current moment, the estimated value of the pseudo partial derivative at the current moment is calculated using the following formula: , in, represents the estimate of the pseudo partial derivative, , , x represents the driving electrical parameters, y represents the brightness parameter, t Indicates the current moment, t -1 means t The last moment, t -2 means t -1 last moment, t +1 means t The next moment, η represents the step sequence, μ represents a positive weight coefficient; According to the estimated value of the pseudo partial derivative at the current moment, the historical driving electrical parameters, the brightness parameter of the integrated lamp at the current moment and the set brightness parameter of the integrated lamp at the next moment, the driving electrical parameters of the integrated lamp at the current moment are calculated using the following formula: , in, Indicates the set brightness parameter. ρ represents the step sequence, λ Indicates a positive weight coefficient.
5. The controller of the integrated lamp according to claim 4, characterized in that: The driving electrical parameter is current or PWM wave duty cycle.
6. The controller of the integrated lamp according to claim 5, characterized in that: The acquisition module includes a brightness sensor disposed in the integrated lamp, so as to acquire brightness parameters of the integrated lamp through the brightness sensor.
7. A controller for an integrated lamp, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the control method of the integrated lamp according to any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Neural-network-based energy-saving fuzzy control system for tunnel lighting
CN107124790A
Navigation aid lamp brightness control method based on neural network
CN116867144A
Brightness adjustment method and device, and storage medium
US20210227669A1
