Method and device for adjusting illumination of incubator, incubator, and storage medium
By receiving and correcting the target light intensity value, combining the lighting algorithm and PID control algorithm, the problem of inaccurate lighting intensity adjustment in the incubator is solved, the precise adjustment of light intensity is achieved, and the cultivation effect is improved.
Patent Information
- Application Number
- CN202210945954.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-08
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2042-08-08
AI Technical Summary
There is a nonlinear relationship in the lighting intensity adjustment of existing incubators, which leads to insufficient accuracy in the lighting intensity adjustment and affects the culture effect.
By receiving the target illumination intensity value set by the user, correcting it to obtain the illumination intensity correction value, and adjusting the illumination intensity setting value according to the correction value to make it linearly related to the actual value, and using the lighting algorithm and the PID control algorithm for precise adjustment.
The linear relationship between the setting value of the light intensity and the actual value is realized, and the cultivation effect of the incubator and the accuracy of the light adjustment are improved.
Smart Images

Figure CN115379611B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of biomedical technology, for example, to a method and device for adjusting light in an incubator, an incubator, and a storage medium. Background Art
[0002] Illumination incubators are constant-temperature devices with illumination functions. They are used for the cultivation of bacteria, fungi, and microorganisms, as well as for breeding experiments. They are suitable for scientific research and production in fields such as bioengineering, medical research, agriculture and forestry, aquaculture, and animal husbandry. However, different culture targets typically require different light intensities. Therefore, how to adjust light intensity is a pressing issue for incubators.
[0003] Related art discloses a plant incubator with adjustable light intensity, comprising an incubator body, a hanging rack provided on the top inner wall of the incubator body, a light box fixed to the bottom outer wall of the hanging rack, LED dimming lamps of the same size and distributed at equal distances provided on the bottom outer wall of the light box, the LED dimming lamps being connected to a switch via a wire, the signal input end of the LED dimming lamps being connected to a processor via a signal line, a light sensor being fixed to one inner wall of the incubator body, the signal output end of the light sensor being connected to the signal input end of the processor via a wire, a support plate being fixed on both sides of the inner wall of the incubator body, and a culture table being provided on the top outer wall of the support plate. By providing the light sensor, the processor, and the LED dimming lamp, the light intensity in the plant incubator can be automatically adjusted according to the plants, thereby effectively improving the growth efficiency of the plants.
[0004] During the implementation of the embodiments of the present disclosure, it was found that at least the following problems exist in the related art:
[0005] Although the use of relevant technologies to adjust the light intensity has improved the lighting effect to a certain extent, in the process of adjusting the light intensity of the incubator, the light intensity is usually adjusted by changing the current intensity. Since the light intensity and the current intensity are not in a linear relationship, the actual value of the light intensity and the set value of the light intensity are also nonlinear, which will lead to inaccurate adjustment of the light intensity, thereby affecting the culture effect of the incubator. Summary of the Invention
[0006] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical elements or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.
[0007] The embodiments of the present disclosure provide a method and device for adjusting the lighting of an incubator, an incubator, and a storage medium, so that the actual light intensity value is linearly related to the light intensity set value, thereby making the adjustment of the light intensity more precise and improving the culture effect of the incubator.
[0008] In some embodiments, the method includes: receiving a target light intensity value set by a user; correcting the target light intensity value to obtain a light intensity correction value; adjusting the light intensity setting value according to the light intensity correction value and the current light intensity in the box so that the light intensity in the box reaches the target light intensity value.
[0009] In some embodiments, the device includes: a processor and a memory storing program instructions, and the processor is configured to perform the above-mentioned method for adjusting the lighting of an incubator when executing the program instructions.
[0010] In some embodiments, the incubator includes: the above-mentioned device for adjusting the lighting of the incubator.
[0011] In some embodiments, the storage medium stores program instructions, and when the program instructions are run, the above-mentioned method for adjusting the lighting of the incubator is executed.
[0012] The method and device for adjusting the illumination of an incubator, the incubator, and the storage medium provided in the embodiments of the present disclosure can achieve the following technical effects:
[0013] The system receives a target light intensity value set by the user and corrects it to obtain a corrected light intensity value. Finally, the set light intensity value is adjusted based on the corrected light intensity value and the current light intensity within the incubator, so that the light intensity within the incubator reaches the target light intensity value. By correcting the user-set target light intensity, the error between the set light intensity value and the actual light intensity within the incubator can be corrected, thereby achieving a linear relationship between the set light intensity value and the actual light intensity value, making light intensity adjustment more precise and improving the incubation effect of the incubator.
[0014] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] One or more embodiments are exemplarily described by corresponding drawings. These exemplary descriptions and drawings do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements. The drawings do not constitute a scale limitation. In addition,
[0016] Figure 1 is a schematic diagram of a method for adjusting light in an incubator provided by an embodiment of the present disclosure;
[0017] Figure 2 is a schematic diagram of another method for adjusting the lighting of an incubator provided by an embodiment of the present disclosure;
[0018] Figure 3 is a schematic diagram of another method for adjusting the lighting of an incubator provided by an embodiment of the present disclosure;
[0019] Figure 4 is a schematic diagram of another method for adjusting the lighting of an incubator provided by an embodiment of the present disclosure;
[0020] Figure 5 is a schematic diagram of another method for adjusting the lighting of an incubator provided by an embodiment of the present disclosure;
[0021] Figure 6 This is a schematic diagram of a device for adjusting light in an incubator provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0022] In order to be able to understand the features and technical content of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The accompanying drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the sake of convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.
[0023] In the description and claims of the embodiments of the present disclosure, as well as in the accompanying drawings, the terms "first," "second," and the like are used to distinguish similar items and are not necessarily used to describe a particular order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate to describe the embodiments of the present disclosure herein. In addition, the terms "including," "having," and any variations thereof are intended to cover non-exclusive inclusions.
[0024] Unless otherwise stated, the term "plurality" means two or more.
[0025] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B means: A or B.
[0026] The term "and / or" describes an association between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or A and B.
[0027] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.
[0028] The present disclosure provides a method for adjusting the lighting of an incubator. Figure 1 As shown, the method includes:
[0029] S01, the incubator receives a target light intensity value set by a user.
[0030] S02: The incubator corrects the target light intensity value to obtain a light intensity correction value.
[0031] S03, the incubator adjusts the light intensity setting value according to the light intensity correction value and the current light intensity in the incubator, so that the light intensity in the incubator reaches the target light intensity value.
[0032] The method for adjusting the light intensity of an incubator provided by the embodiment of the present disclosure is used to receive a target light intensity value set by a user, and to correct the target light intensity value to obtain a light intensity correction value. Finally, the light intensity setting value is adjusted according to the light intensity correction value and the current light intensity in the incubator so that the light intensity in the incubator reaches the target light intensity value. By correcting the target light intensity set by the user, the error between the light intensity setting value of the incubator and the actual light intensity in the incubator can be corrected, thereby making the light intensity setting value and the actual light intensity value linearly related, making the adjustment of the light intensity more precise, and improving the incubation effect of the incubator.
[0033] The present disclosure provides a method for adjusting the lighting of an incubator. Figure 2 As shown, the method includes:
[0034] S01, the incubator receives a target light intensity value set by a user.
[0035] S21, the incubator inputs the target light intensity as the actual light intensity value into the set light algorithm, and calculates the light intensity correction value.
[0036] S03, the incubator adjusts the light intensity setting value according to the light intensity correction value and the current light intensity in the incubator, so that the light intensity in the incubator reaches the target light intensity value.
[0037] Using the incubator lighting control method provided by the disclosed embodiments, the incubator uses the target light intensity as the actual light intensity value and inputs it into a pre-set lighting algorithm to calculate a corrected light intensity value. By inputting the actual light intensity value into the pre-set lighting algorithm, the incubator automatically uses the lighting algorithm to correct the actual light intensity value, thereby obtaining a more accurate light intensity setting value and achieving more precise lighting control.
[0038] Optionally, the lighting algorithm is: f(x)=ax 4 +bx 3 +cx2 +dx+e; where a, b, c, d, and e are all constants, f(x) is the light intensity correction value, and x is the actual light intensity value.
[0039] The lighting algorithm corresponds to the current lighting type of the incubator, which includes white light, red light, and ultraviolet light.
[0040] In this way, the incubator inputs the target light intensity as the actual light intensity value into the set lighting algorithm. The light intensity correction value can be calculated through the above fitting equation, and the light intensity setting value is adjusted according to the calculated light intensity correction value, which can make the lighting adjustment more accurate.
[0041] Alternatively, the incubator determines f(x)=ax as follows 4 +bx 3 +cx 2 +dx+e, including: the incubator adjusts the voltage of the light source according to the set step size to obtain sample data of the corresponding relationship between the actual light intensity value and the light intensity set value; the incubator determines the corresponding lighting algorithm through the least squares method based on the sample data.
[0042] In this way, the incubator adjusts the voltage of the light source according to the set step size to obtain sample data of the corresponding relationship between the actual light intensity value and the light intensity set value. Based on the sample data, the corresponding lighting algorithm is determined by the least squares method. Determining the lighting algorithm based on the sample data of the incubator can match the lighting algorithm with the specific conditions of the incubator. For example, it can match the incubator's usage time, equipment model, environment, and the usage of each component in the incubator. This allows the incubator to more accurately adjust the light intensity. Determining the lighting algorithm through the least squares method can further reduce the adjustment error between the actual light intensity value and the light intensity set value, so that the light intensity can be accurately adjusted according to the lighting algorithm.
[0043] Optionally, the incubator determines a corresponding lighting algorithm based on the sample data by a least squares method, including:
[0044] The initial equation of the incubator is set to f(x)=ax 4 +bx 3 +cx 2 +dx+e;
[0045] The incubator transforms the initial equation by the least square method and obtains ∈=∑(f(x i )-y i ) 2 =∑(ax 4 +bx 3 +cx 2 +dx+ey i )2 ;
[0046] Incubator calculations and And determine the initial equation as the corresponding lighting algorithm;
[0047] Where x is the actual value of light intensity, f(x) is the corrected value of light intensity, y is the set value of light intensity, a, b, c, d, and e are all constants, and i is a positive integer used to represent the number.
[0048] In this way, by determining the illumination algorithm through the least square method, the adjustment error between the actual illumination intensity value and the illumination intensity set value can be further reduced, so that the illumination intensity can be accurately adjusted according to the illumination algorithm.
[0049] Optionally, when the incubator is illuminated by white light, a>0, b<0, c>0, d>0, and e<0. The value range of a is [0.0025, 0.0035], specifically 0.0025, 0.0031, and 0.0035. The value range of b is [-0.0330, -0.0325], specifically -0.0325, -0.0328, and -0.0330. The value range of c is [0.1285, 0.1290], specifically 0.1285, 0.1286, and 0.1290. The value range of d is [0.0533, 0.0537], specifically 0.0533, 0.0535, and 0.0537. The value range of e is [-0.2645, -0.2641], specifically -0.2641, -0.2642, and -0.2645.
[0050] Optionally, when the light in the incubator is red light and the light intensity correction value is less than a set threshold, a>0, b<0, c>0, d<0, and e<0. The value range of a is [0.0040, 0.0045], specifically 0.0040, 0.0041, and 0.0045. The value range of b is [-0.0370, -0.0365], specifically -0.0365, -0.0367, and -0.0370. The value range of c is [0.3483, 0.3487], specifically 0.3483, 0.3485, and 0.3487. The value range of d is [-0.0832, -0.0827], specifically -0.0827, -0.0829, and -0.0832. The value range of e is [-0.2865, -0.2861], specifically -0.2861, -0.2864, -0.2865. Optionally, when the light in the incubator is red light and the light intensity correction value is greater than or equal to the set threshold, a<0, b<0, c>0, d<0, e<0. Among them, the value range of a is [-0.0035, -0.0030], specifically -0.0030, -0.0031, -0.0035. The value range of b is [-0.0120, -0.0115], specifically -0.0115, -0.0117, -0.0120. The value range of c is [0.210, 0.215], specifically 0.210, 0.213, 0.215. The value range of d is [-0.0540, -0.0535], specifically -0.0540, -0.0537, and -0.0535. The value range of e is [-0.167, -0.163], specifically -0.167, -0.165, and -0.163.
[0051] Thus, when the incubator is illuminated by white light, the actual light intensity value and the control curve corresponding to the light source's control current are positively correlated. Furthermore, the actual light intensity value exhibits an upward trend that initially increases rapidly and then slows down as the current increases, only showing a downward trend when approaching the current threshold. Therefore, when the incubator is illuminated by white light, setting a>0, b<0, c>0, d>0, and e<0 accurately reproduces the trend of the actual light intensity value changing with current, thereby enabling more precise light intensity adjustment. When the incubator is illuminated by red light, the control curve corresponding to the actual light intensity value and the light source's control current exhibits an upward trend that initially increases rapidly and then slows down, followed by a downward trend that initially increases rapidly and then slows down. Therefore, when the incubator is illuminated by red light, the illumination algorithm is divided into two parts. When the light intensity correction value is less than the set threshold, that is, when the current is less than the current threshold, a>0, b<0, c>0, d<0, and e<0 are used. When the light intensity correction value is greater than or equal to the set threshold, that is, when the current is greater than or equal to the current threshold, a<0, b<0, c>0, d<0, and e<0 are set. By executing different lighting algorithms in the two parts, we can accurately restore the trend of the actual light intensity value changing with current when the light is red, thereby making the light intensity adjustment more precise.
[0052] The present disclosure provides a method for adjusting the lighting of an incubator. Figure 3 As shown, the method includes:
[0053] S01, the incubator receives a target light intensity value set by a user.
[0054] S02: The incubator corrects the target light intensity value to obtain a light intensity correction value.
[0055] S31, the incubator uses the light intensity correction value as the light intensity setting value.
[0056] S32, the incubator detects the current light intensity value.
[0057] S33 , when the difference between the current light intensity value and the target light intensity value of the incubator is greater than a set threshold, the light intensity set value is adjusted by a proportional-integral-differential PID control algorithm.
[0058] Using the method for adjusting the lighting of an incubator provided by the embodiment of the present disclosure, the incubator uses the light intensity correction value as the light intensity setting value and detects the current light intensity value. When the difference between the current light intensity value and the target light intensity value is greater than the set threshold, the light intensity setting value is adjusted by the proportional-integral-differential PID control algorithm. By using the light intensity correction value after the actual light intensity value is corrected as the light intensity setting value input by the incubator, the error between the actual light intensity value and the light intensity setting value can be reduced, so that the light intensity setting value input by the incubator is a set amount that can truly make the incubator reach the target light intensity value. As a result, the current light intensity of the incubator reaches the target light intensity value set by the user, thereby improving the accuracy of light adjustment. In addition, as time goes by, there is a problem of intensity attenuation in the LED light source, which causes the actual light intensity value to not meet the target light intensity value set by the user over time. Therefore, when the difference between the current light intensity and the target light intensity exceeds a set threshold, the incubator uses a proportional-integral-differential (PID) control algorithm to adjust the light intensity setting, thereby adjusting the light intensity of the light source to compensate for the decrease in light intensity. This ensures that the light intensity can still return to the user-set target light intensity after attenuation, improving the accuracy of light intensity adjustment.
[0059] The present disclosure provides a method for adjusting the lighting of an incubator. Figure 4 As shown, the method includes:
[0060] S01, the incubator receives a target light intensity value set by a user.
[0061] S02: The incubator corrects the target light intensity value to obtain a light intensity correction value.
[0062] S31, the incubator uses the light intensity correction value as the light intensity setting value.
[0063] S32, the incubator detects the current light intensity value.
[0064] S41 , when the difference between the current light intensity value and the target light intensity value of the incubator is greater than a set threshold, the light intensity adjustment value is determined by a PID control algorithm.
[0065] S42, the incubator corrects the light intensity setting value through the light intensity adjustment value.
[0066] Using the method for adjusting incubator light levels provided by the embodiments of the present disclosure, when the difference between the current light intensity value and the target light intensity value is greater than a set threshold, the current light intensity value is significantly different from the target light intensity value and does not fall within the allowable error range for precise adjustment. Therefore, the incubator uses a PID control algorithm to determine the light intensity adjustment value and uses the light intensity adjustment value to correct the light intensity set value. This allows the actual light intensity value of the incubator to be continuously adjusted toward the target light intensity value according to the set PID adjustment cycle until it returns to the target light intensity value set by the user.
[0067] The present disclosure provides a method for adjusting the lighting of an incubator. Figure 5 As shown, the method includes:
[0068] S01, the incubator receives a target light intensity value set by a user.
[0069] S02: The incubator corrects the target light intensity value to obtain a light intensity correction value.
[0070] S31, the incubator uses the light intensity correction value as the light intensity setting value.
[0071] S32, the incubator detects the current light intensity value.
[0072] S51 , when the difference between the current light intensity value and the target light intensity value of the incubator is greater than a set threshold, calculate ΔF=kp*ΔT+ki*Tc.
[0073] S42, the incubator corrects the light intensity setting value through the light intensity adjustment value.
[0074] Where △F is the light intensity adjustment value, △T is the difference between the target light intensity value and the current light intensity value, Tc is the sum of the accumulated △T, kp is the proportional calculation coefficient, and ki is the integral calculation coefficient.
[0075] Using the method for adjusting the light intensity of an incubator provided by the embodiment of the present disclosure, when the difference between the current light intensity value and the target light intensity value of the incubator is greater than the set threshold, △F = kp*△T + ki*Tc is calculated. The difference between the target light intensity value and the current light intensity value is corrected by the proportional calculation coefficient to obtain a proportional term, and the sum of the accumulated △T is corrected by the integral coefficient to obtain an integral term. In the early stage of light intensity adjustment, the proportional term plays a greater role and plays a role in quickly adjusting the light intensity. When the current light intensity value of the incubator is close to the target light intensity value, the proportional term no longer works, and at this time the integral term comes into play. The integral term can be understood as the integral calculation coefficient multiplied by the accumulation of errors. As the adjustment time increases, the integral term becomes larger. Therefore, in the second half of the light intensity adjustment, adjustments are mainly made by the integral term to ultimately reach the target light intensity value. This achieves precise adjustment of the light intensity and reduces the error impact caused by light intensity attenuation.
[0076] Among them, the incubator is a light incubator, including a main control board, an LED light source board, a current regulation module, a voltage regulation module and a light sensor. The LED light source board is controlled by a constant current source, and the main control board circuit controls the current according to the voltage, and adjusts the light intensity of the LED light source board through the current. The light sensor collects the current light intensity and transmits it to the main control board. The main control board affects the light intensity control of the LED light source board through the current according to the current light intensity, thereby forming a closed-loop control. Among them, the LED light source board is controlled by a power supply with a 0-5A / 24V voltage output. The power supply is controlled by a 0-10V analog power supply. The main control board can convert the target light intensity value set by the user into an analog value, that is, the light intensity setting value, and send the light intensity setting value to the voltage regulation module, thereby controlling the current regulation module to output the corresponding current to control the light intensity of the LED light source board.
[0077] Combine Figure 6 As shown, an embodiment of the present disclosure provides a device for adjusting the lighting of an incubator, including a processor 100 and a memory 101. Optionally, the device may also include a communication interface 102 and a bus 103. The processor 100, the communication interface 102, and the memory 101 can communicate with each other through the bus 103. The communication interface 102 can be used for information transmission. The processor 100 can call the logic instructions in the memory 101 to execute the method for adjusting the lighting of an incubator of the above embodiment.
[0078] In addition, the logic instructions in the memory 101 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
[0079] Memory 101, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as the program instructions / modules corresponding to the methods in the embodiments of the present disclosure. Processor 100 executes the program instructions / modules stored in memory 101 to perform functional applications and data processing, thereby implementing the method for adjusting incubator light in the above-mentioned embodiments.
[0080] The memory 101 may include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function; the data storage area may store data generated based on the use of the terminal device. Furthermore, the memory 101 may include high-speed random access memory and non-volatile memory.
[0081] An embodiment of the present disclosure provides an incubator, comprising a lighting device and the above-mentioned device for adjusting the lighting of the incubator.
[0082] An embodiment of the present disclosure provides a storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above-mentioned method for adjusting the lighting of an incubator.
[0083] The above-mentioned storage medium may be a transient storage medium or a non-transient storage medium.
[0084] The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiments of the present disclosure. The aforementioned storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program code, or a transient storage medium.
[0085] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible variations. Unless explicitly required, individual components and functions are optional, and the order of operations may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to also include plural forms. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of one or more associated listings. In addition, when used in this application, the term "comprise" and its variations "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups of these. In the absence of further restrictions, an element defined by the sentence "comprising a..." does not exclude the presence of other identical elements in the process, method or device that includes the element. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments can be referenced to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can be found in the description of the method part.
[0086] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. The technicians will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0087] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units can be merely a logical functional division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, and can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected to implement this embodiment according to actual needs. In addition, the functional units in the embodiments of the present disclosure may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0088] The flowcharts and block diagrams in the accompanying drawings show the possible implementation architectures, functions and operations of the systems, methods and computer program products according to the embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment or part of the code, and the module, program segment or part of the code contains one or more executable instructions for implementing the specified logical functions. In some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, or they can sometimes be executed in the opposite order, which can depend on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in an order different from that disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, or they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified function or action, or may be implemented by a combination of dedicated hardware and computer instructions.
Claims
1. A method for adjusting the lighting of an incubator, characterized in that: include: Receive the target light intensity value set by the user; Input the target light intensity as the actual light intensity value into the set light algorithm to calculate the light intensity correction value; The lighting algorithm is: f(x) = ax 4 +bx 3 +cx 2 +dx+e; where a, b, c, d, and e are all constants, f(x) is the light intensity correction value, and x is the actual light intensity value. The lighting algorithm is determined as follows: the voltage of the light source is adjusted according to the set step size to obtain sample data of the corresponding relationship between the actual light intensity value and the light intensity set value; based on the sample data, the corresponding lighting algorithm is determined by the least squares method; The light intensity setting value is adjusted according to the light intensity correction value and the current light intensity in the box so that the light intensity in the box reaches the target light intensity value; specifically including: using the light intensity correction value as the light intensity setting value; detecting the current light intensity value; and when the difference between the current light intensity value and the target light intensity value is greater than a set threshold, adjusting the light intensity setting value through a proportional-integral-differential PID control algorithm.
2. The method according to claim 1, characterized in that When the illumination of the incubator is white light, a>0, b<0, c>0, d>0, and e<0; When the light of the incubator is red light and the light intensity correction value is less than the set threshold, a>0, b<0, c>0, d<0, e<0; When the light of the incubator is red light and the light intensity correction value is greater than or equal to the set threshold, a<0, b<0, c>0, d<0, and e<0.
3. The method according to claim 1, characterized in that The method of adjusting the light intensity setting value by using a proportional-integral-differential (PID) control algorithm includes: Determine the light intensity adjustment value through PID control algorithm; The light intensity setting value is corrected by the light intensity adjustment value.
4. The method according to claim 3, characterized in that Determining the light intensity adjustment value by using a PID control algorithm includes: Calculate ΔF = kp*ΔT + ki*Tc; Among them, ΔF is the light intensity adjustment value, ΔT is the difference between the target light intensity value and the current light intensity value, Tc is the accumulated sum of ΔT, kp is the proportional calculation coefficient, and ki is the integral calculation coefficient.
5. A device for adjusting the light intensity of an incubator, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to perform the method for adjusting lighting in an incubator according to any one of claims 1 to 4 when executing the program instructions.
6. An incubator comprising a lighting device, characterized in that: Also includes: The device for adjusting the lighting of an incubator as claimed in claim 5.
7. A storage medium storing program instructions, characterized in that: When the program instructions are executed, the method for adjusting the lighting of an incubator according to any one of claims 1 to 4 is executed.
Citation Information
Patent Citations
Method for realizing accurate illumination control and device thereof
CN103747556A
LED street lamp intelligent controller and control method
CN105934042A