Control method and control system of light emitting diode, server and computer storage medium
By generating a target pulse signal to control the lighting of the light-emitting diode and adjusting the duty cycle according to the actual brightness, ambient temperature and driving current, the problem of deterioration of the light-guiding effect caused by aging is solved, the flexible adjustment of the light-emitting diode brightness and fault repair are achieved, and the service life of the LED lamp is extended.
Patent Information
- Application Number
- CN202511178823.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-21
- Publication Date
- 2025-09-19
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The light guiding effect deteriorates due to aging, affecting the overall performance of the server equipment.
The light-emitting diode is controlled to light up by generating a target pulse signal, and the duty cycle of the pulse signal is adjusted according to the actual brightness, ambient temperature and driving current to reach the brightness threshold.
Flexible adjustment of the actual brightness of the light-emitting diodes to meet the usage requirements of server equipment, extend the service life of LED lamps, and reduce hardware costs.
Smart Images

Figure CN120676501A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of server control technology, and in particular to a control method, a control system, a server, and a computer storage medium for light-emitting diodes. Background Art
[0002] In today's era of rapid technological development, LED (Light-Emitting Diode) as an efficient and energy-saving light source has been widely used in various fields.
[0003] On server equipment, since the equipment is always running at high speed, the relevant technology uses light guide columns to transmit LED brightness on the server equipment. However, this method will cause the light guiding effect to deteriorate due to aging, affecting the overall use effect of the equipment. Summary of the Invention
[0004] The present application provides a control method, a control system, a server and a computer storage medium for light-emitting diodes, in order to at least solve the problem in the related art that the light-guiding effect deteriorates due to aging, thereby affecting the overall use effect of the server equipment.
[0005] The present application provides a method for controlling a light-emitting diode, which is applied to a server, wherein the server includes at least one light-emitting diode. The method includes: determining a target light-emitting diode and a brightness threshold of the target light-emitting diode based on a lighting control instruction; generating a target pulse signal according to the brightness threshold, and controlling the target light-emitting diode to light up based on the target pulse signal; when there is a deviation between the actual brightness of the target light-emitting diode after lighting and the brightness threshold, obtaining the ambient temperature of the environment in which the target light-emitting diode is located and the driving current of the target light-emitting diode; adjusting the duty cycle of the target pulse signal according to the brightness threshold, the actual brightness, the ambient temperature and the driving current, so that the actual brightness of the light-emitting diode reaches the brightness threshold.
[0006] The present application also provides a control system for light-emitting diodes, which is applied to a server, and the server includes at least one light-emitting diode. The system includes: a control module, which is used to determine the target light-emitting diode and the brightness threshold of the target light-emitting diode based on a lighting control instruction, and generate a target pulse signal according to the brightness threshold, and control the target light-emitting diode to light up according to the target pulse signal; a brightness acquisition module, which is used to obtain the actual brightness of the target light-emitting diode after lighting; a temperature acquisition module, which is used to obtain the ambient temperature of the environment in which the target light-emitting diode is located when there is a deviation between the actual brightness and the brightness threshold; a current acquisition module, which is used to obtain the driving current of the target light-emitting diode when there is a deviation between the actual brightness and the brightness threshold; the control module is also used to adjust the duty cycle of the target pulse signal according to the brightness threshold, actual brightness, ambient temperature and driving current, so that the actual brightness of the light-emitting diode reaches the brightness threshold.
[0007] The present application also provides a server, including: a baseboard management controller for generating a lighting control instruction; at least one light-emitting diode; a control system for the light-emitting diode as described above, wherein the input end of the light-emitting diode control system is connected to the baseboard management controller, and the output end of the light-emitting diode control system is respectively connected to at least one light-emitting diode to control the lighting of a target light-emitting diode in at least one light-emitting diode based on the lighting control instruction.
[0008] The present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned light-emitting diode control methods are implemented.
[0009] Through the present application, after receiving the lighting control instruction, the target light-emitting diode is controlled to be lit by generating a corresponding target pulse signal, and after lighting, the duty cycle of the target pulse signal is adaptively adjusted according to the actual brightness of the target light-emitting diode, the brightness threshold, the ambient temperature of the environment and the driving current. The purpose of adjusting the actual brightness of the target light-emitting diode is achieved by adjusting the duty cycle of the target pulse signal, so that the actual brightness of the target light-emitting diode meets the lighting brightness requirement. Therefore, the technical problem in the related technology that the light-guiding effect is deteriorated due to aging can be solved, and the technical effect of flexibly adjusting the actual brightness of the light-emitting diode to meet the use requirements of the server equipment can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0011] Figure 1 A flow chart of a method for controlling a light emitting diode according to an embodiment of the present application; Figure 2 A flowchart of a method for predicting the remaining life of a light-emitting diode provided in an embodiment of the present application; Figure 3 A flowchart of a method for controlling a light emitting diode according to a specific embodiment of the present application; Figure 4 A connection diagram of a light emitting diode control system provided in an embodiment of the present application; Figure 5 A connection diagram of a light emitting diode control system provided in a specific embodiment of the present application; Figure 6 A schematic diagram of the server connection provided in the embodiment of the present application; Figure 7 A schematic diagram of server connection provided for a specific embodiment of the present application. DETAILED DESCRIPTION
[0012] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0013] It should be noted that, in the description of this application, the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. The terms "first," "second," etc., in this application are used to distinguish similar objects, and are not used to describe a particular order or sequence.
[0014] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0015] Figure 1 This is a flow chart of a method for controlling a light emitting diode provided in an embodiment of the present application.
[0016] In one embodiment of the present application, the light-emitting diode control method is applied to a server, which includes at least one light-emitting diode. The light-emitting diode can be placed in a visible location on the server equipment, such as a front panel, hard disk, etc., to serve as a corresponding indicator light, such as a fault indicator light, a power-on indicator light, a normal operation indicator light, etc.
[0017] like Figure 1 As shown, the control method of the light emitting diode in the embodiment of the present application includes: S1, determining a target light emitting diode and a brightness threshold of the target light emitting diode based on a lighting control instruction; Specifically, the lighting control instruction is used to control the corresponding light-emitting diode in the server to light up, and can be issued by the server's baseboard controller or the host computer. After receiving the lighting control instruction, the target light-emitting diode is determined by identifying the lighting control instruction. For example, by identifying the identification information in the lighting control instruction, the position of the light-emitting diode to be controlled is determined to obtain the target light-emitting diode. The brightness threshold is used to determine whether the target light-emitting diode is successfully lit in response to the lighting control instruction. Specifically, the corresponding brightness threshold can be obtained by looking up the table based on the lighting control instruction. The threshold can also be further adjusted in combination with the parameters of different light-emitting diodes, or the threshold can be adjusted according to different application scenarios. There is no specific limitation.
[0018] S2, generating a target pulse signal according to the brightness threshold, and controlling the target light-emitting diode to light up based on the target pulse signal; Specifically, the corresponding duty cycle can be designed in advance according to the different brightness of the light-emitting diode, such as 10%, 20%, ..., 100%. After obtaining the brightness threshold, the target duty cycle is obtained by looking up the brightness threshold table, thereby generating a target pulse signal with a target duty cycle, such as a PWM (Pulse Width Modulation) waveform of the duty cycle, to control the target light-emitting diode to light up. Different duty cycles correspond to different brightness of the light-emitting diode, thereby achieving brightness changes of the light-emitting diode. The method of controlling the brightness of the light-emitting diode based on the duty cycle of the pulse signal has the advantages of a wide adjustment range, high precision, and fast response speed, and can meet the needs of different application scenarios.
[0019] S3, when there is a deviation between the actual brightness of the target light-emitting diode after being lit and the brightness threshold, obtaining the ambient temperature of the environment in which the target light-emitting diode is located and the driving current of the target light-emitting diode; Specifically, whether the target LED is lit can be judged by the sending duration of the target pulse signal. For example, a timing operation of the sending duration is performed after the target pulse signal is sent. When the timing time of the sending duration reaches the preset time, it is considered that the target LED is lit.
[0020] After determining that the target light-emitting diode is lit, the actual brightness of the target light-emitting diode is obtained, and the actual brightness is compared with the brightness threshold. If the actual brightness is inconsistent with the brightness threshold, or the brightness difference exceeds the preset brightness difference, it is considered that there is a deviation between the actual brightness and the brightness threshold. The ambient temperature of the environment in which the target light-emitting diode is located is obtained through a temperature sensor, and the driving current of the target light-emitting diode is obtained through a collection resistor connected in series in the power supply circuit of the target light-emitting diode.
[0021] S4, adjusting the duty cycle of the target pulse signal according to the brightness threshold, actual brightness, ambient temperature and driving current, so that the actual brightness of the light emitting diode reaches the brightness threshold.
[0022] Specifically, the duty cycle of the target pulse signal is adjusted according to the brightness threshold, actual brightness, ambient temperature and driving current. For example, when the actual brightness is lower than the brightness threshold, the duty cycle of the target pulse is increased according to the brightness threshold, actual brightness, ambient temperature and driving current to increase the actual brightness of the light-emitting diode, so that the actual brightness of the light-emitting diode reaches the brightness threshold; when the actual brightness is higher than the brightness threshold, the duty cycle of the target pulse is decreased according to the brightness threshold, actual brightness, ambient temperature and driving current to reduce the actual brightness of the light-emitting diode, so that the actual brightness of the light-emitting diode reaches the brightness threshold. Specifically, the mapping relationship between brightness threshold-actual brightness-ambient temperature-driving current-duty cycle adjustment amount can be pre-set. When it is determined that there is a deviation between the actual brightness and the brightness threshold, the duty cycle adjustment amount is obtained by looking up the table, and the duty cycle of the target pulse signal is reduced or increased based on the duty cycle adjustment amount, thereby achieving a brightness change of the target light-emitting diode to meet the brightness requirement.
[0023] During the lighting process of the light-emitting diode, this embodiment can adjust the duty cycle of the target pulse signal based on the brightness threshold, actual brightness, ambient temperature and driving current, that is, different application scenarios, to achieve the purpose of brightness adjustment of the light-emitting diode, effectively solve the problem of LED brightness on the whole equipment, and not only can it be adjusted in real time according to customer needs to meet the needs of different scenarios, but also avoid hardware adjustments and improve problem-solving efficiency.
[0024] In some embodiments of the present application, the duty cycle of the target pulse signal is adjusted according to the brightness threshold, actual brightness, ambient temperature and driving current, including: determining a first duty cycle and a duty cycle adjustment direction according to the brightness difference between the actual brightness and the brightness threshold; determining a duty cycle adjustment parameter according to the ambient temperature and driving current; adjusting the first duty cycle according to the duty cycle adjustment parameter to obtain a second duty cycle; and adjusting the duty cycle of the target pulse signal according to the second duty cycle and the duty cycle adjustment direction.
[0025] Specifically, the brightness difference between the actual brightness and the brightness threshold is obtained, and a first duty cycle is determined based on the absolute value of the brightness difference. For example, a mapping table between the absolute value of the brightness difference and the first duty cycle is pre-set, and the first duty cycle is obtained by looking up the table during the control process. Alternatively, a mapping function between the absolute value of the brightness difference and the first duty cycle can be pre-set, and the first duty cycle is obtained by substituting the function into a calculation. The duty cycle adjustment direction is determined based on the positive or negative sign of the brightness difference. For example, if the brightness difference is positive, that is, the actual brightness is higher than the brightness threshold, the actual brightness needs to be reduced to reduce energy consumption, and the duty cycle adjustment direction is to decrease the duty cycle. If the brightness difference is negative, that is, the actual brightness is lower than the brightness threshold, the actual brightness needs to be increased to meet the brightness requirements and ensure the indication effect, and the duty cycle adjustment direction is to increase the duty cycle.
[0026] The influence of the current application scenario on the duty cycle adjustment is determined based on the ambient temperature and the driving current, that is, the corresponding duty cycle adjustment parameter is obtained. Specifically, a mapping table between the ambient temperature-driving current-duty cycle adjustment parameter can be pre-set, and the corresponding duty cycle adjustment parameter is obtained by looking up the table, so as to adjust the first duty cycle based on the duty cycle adjustment parameter to obtain the second duty cycle. The duty cycle adjustment parameter can be an adjustment ratio or a duty cycle adjustment value. For example, when the duty cycle adjustment parameter is an adjustment ratio, the second duty cycle is the product of the duty cycle adjustment parameter and the first duty cycle; when the duty cycle adjustment parameter is a duty cycle adjustment value, the second duty cycle is the sum of the duty cycle adjustment parameter and the first duty cycle. It can be understood that the duty cycle adjustment parameter has positive and negative signs, which are used to characterize the direction of the influence of the ambient temperature and the driving current on the first duty cycle.
[0027] Then, the duty cycle of the target pulse signal is adjusted according to the second duty cycle and the duty cycle adjustment direction. For example, when the duty cycle adjustment direction is a decreasing direction, the duty cycle of the target pulse signal is reduced by the second duty cycle; when the duty cycle adjustment direction is an increasing direction, the duty cycle of the target pulse signal is increased by the second duty cycle.
[0028] Therefore, this embodiment determines the initial adjustment value of the duty cycle and the duty cycle adjustment direction based on the brightness difference between the actual brightness and the brightness threshold, and further flexibly adjusts the initial adjustment value of the duty cycle according to the application scenario to match different application scenarios, thereby improving the duty cycle adjustment accuracy of the target pulse signal and improving the lighting effect of the target light-emitting diode.
[0029] In some embodiments of the present application, determining the brightness threshold of the target light-emitting diode includes: determining the preset brightness of the target light-emitting diode according to the lighting control instruction; obtaining environmental parameters of the environment in which the target light-emitting diode is located; and determining the brightness threshold of the target light-emitting diode according to the environmental parameters and the preset brightness.
[0030] Specifically, a mapping relationship between lighting control instructions, LEDs, and preset brightness can be pre-set. When a target LED is identified based on the lighting control instruction, the preset brightness is obtained by looking up a table. The preset brightness is then adjusted based on the target LED's current application environment. Specifically, a mapping relationship between different application environments and brightness adjustment parameters can be pre-set, thereby determining matching brightness adjustment parameters based on the actual application environment parameters. This ensures that the final brightness threshold is adapted to the application scenario, enabling accurate brightness monitoring of the target LED.
[0031] In some embodiments of the present application, the environmental parameters include ambient temperature, and the brightness threshold of the target light-emitting diode is determined based on the environmental parameters and the preset brightness, including: determining the temperature drift parameter of the target light-emitting diode based on the ambient temperature; determining the brightness influence coefficient based on the temperature drift parameter; and adjusting the preset brightness based on the brightness influence coefficient to obtain the brightness threshold.
[0032] In other words, the temperature sensor module can collect the ambient temperature of the target LED's environment in real time. Using the ambient temperature, it calculates the impact of the target LED's temperature drift parameters on its brightness under the current environment, determining the influence coefficient. The influence coefficient is then multiplied by the preset brightness to obtain the brightness threshold. Specifically, by setting an LED model between the environmental parameters and the influence coefficient, the brightness threshold can be determined, enabling precise monitoring and management of the target LED's brightness.
[0033] In some embodiments of the present application, determining whether the actual brightness of the illuminated target light-emitting diode deviates from the brightness threshold includes: determining whether the actual brightness deviates from the brightness threshold when the actual brightness is lower than the brightness threshold.
[0034] That is to say, if the actual brightness value collected is greater than or equal to the brightness threshold, it is judged that the target light-emitting diode is lighting normally and no fault has occurred, and the duty cycle adjustment process is no longer performed; if the actual brightness value collected is less than the brightness threshold, it is considered that there is a deviation between the actual brightness and the brightness threshold, for example, due to aging or hardware failure, resulting in poor lighting effect, and the duty cycle adjustment is performed at this time.
[0035] This embodiment performs the duty cycle adjustment process only when the actual brightness is lower than the brightness threshold, thereby reducing the calculation load while meeting the lighting requirement.
[0036] In some embodiments of the present application, the control method of the light-emitting diode also includes: when the actual number of adjustments of the duty cycle of the target pulse reaches a preset threshold or the duty cycle of the adjusted target pulse reaches a preset duty cycle limit, if the actual brightness of the target light-emitting diode still does not reach the brightness threshold, it is determined that there is a fault in the target light-emitting diode and a first fault warning signal is generated.
[0037] In other words, if the actual brightness value collected is less than the brightness threshold, the logic layer will perform appropriate repair actions by adjusting the duty cycle of the target LED's PWM signal to bring the actual brightness up to the brightness threshold. After adjusting the duty cycle, the actual brightness is acquired again. If the actual brightness reaches the brightness threshold, the LED fault is considered repaired, and the current PWM value is saved. If the actual brightness still does not reach the brightness threshold, the target LED fault is determined to be unresolved. At this point, the above repair actions are repeated, that is, the duty cycle adjustment action is performed again based on the actual brightness, brightness threshold, ambient temperature, and drive current, until the actual brightness falls below the brightness threshold.
[0038] During the repair process, if the actual number of times the duty cycle of the target pulse is adjusted reaches a preset threshold or the duty cycle of the adjusted target pulse reaches a preset duty cycle limit, but the actual brightness of the target LED still does not reach the brightness threshold, it is considered that the lighting requirement cannot be met through duty cycle adjustment, the target LED is faulty, and the target LED needs to be replaced. A first fault reminder signal is generated and a fault event is reported. The preset threshold and preset duty cycle limit can be set according to actual conditions.
[0039] In the case where there is a deviation between the actual brightness and the brightness threshold, this embodiment adjusts the duty cycle based on the actual brightness, brightness threshold, ambient temperature and driving current to achieve the purpose of adaptive repair and reduce hardware costs. If the actual brightness of the target light-emitting diode is repaired to reach the brightness threshold before the actual number of adjustments to the duty cycle of the target pulse reaches the preset threshold or before the duty cycle of the adjusted target pulse reaches the preset duty cycle limit, it is determined that the fault of the target light-emitting diode is repairable, and the lighting is continued to be controlled based on the adjusted pulse signal; if the actual number of adjustments to the duty cycle of the target pulse reaches the preset threshold or the duty cycle of the adjusted target pulse reaches the preset duty cycle limit, the actual brightness of the target light-emitting diode still does not reach the brightness threshold, it is considered that the fault of the target light-emitting diode cannot be repaired and hardware replacement is required, and the fault event is reported so that the staff can handle it in a timely manner, thereby improving the stable operation of the server equipment.
[0040] Furthermore, in the above-mentioned repair process, if the actual brightness reaches the brightness threshold based on the duty cycle adjustment, the adjusted duty cycle can be saved at this time, and the pulse signal of this duty cycle can be used as the target pulse signal in the current scene to improve the execution efficiency of the next lighting action; or as a backup target pulse signal, when the target pulse signal cannot meet the lighting brightness requirement, the backup pulse signal is directly output for lighting drive.
[0041] In one embodiment of the present application, the control method of the light-emitting diode also includes: obtaining a preset correspondence based on historical environmental information and historical driving current, wherein the preset correspondence is used to characterize the corresponding life aging coefficient under different environmental information-driving current, and the environmental information includes ambient temperature information and / or ambient humidity information; obtaining the target light-emitting diode life aging coefficient according to the current environmental information, driving current and the preset correspondence, and obtaining the cumulative usage time of the target light-emitting diode; determining the remaining life of the target light-emitting diode based on the expected usage time, cumulative usage time and life aging coefficient of the target light-emitting diode; generating a second fault reminder signal when the remaining life of the target light-emitting diode reaches a preset life threshold.
[0042] Specifically, the preset corresponding relationship can be obtained by performing an accelerated life test on the light-emitting diode, such as a high-temperature accelerated test, a current accelerated test, etc., to simulate the aging process under harsh working conditions and determine the preset corresponding relationship.
[0043] During the application of the target LED, the current environmental information and driving current are obtained. Then, the life aging coefficient of the target LED is obtained by looking up the preset corresponding relationship in the table, and the actual cumulative usage time of the target LED is obtained by timing. The expected usage time of the target LED can be set at the factory. During the application process, the remaining life of the target LED is monitored in real time based on the expected usage time, the life aging coefficient, and the cumulative usage time, and an alarm is issued for LEDs with a short remaining life. For example, the life of the LED is characterized by time. When the remaining usable time of the target LED reaches a preset time threshold, a second fault reminder signal is generated to remind the user to replace the LED in time to ensure the normal operation of the server equipment.
[0044] In addition, a life prediction model can be established to predict the life of the target light-emitting diode to improve the prediction accuracy and determine the LED fault status. The current model input parameters are current, temperature and LED brightness information. Figure 2 As shown, the remaining life prediction of a light emitting diode may include the following steps: S101, performing an accelerated life test by collecting ambient temperature, current, and brightness parameters of the light-emitting diode to obtain data parameters of the light-emitting diode in a failure state; For example, high-temperature acceleration: placing the LED in a high-temperature environment with a gradient of 60℃ / 85℃ / 105℃ to simulate thermal stress-accelerated aging; current acceleration: applying constant current stress in the range of 1.2-1.5 times the rated current to accelerate light decay; multi-stress combination: simultaneously superimposing high temperature and high humidity (such as 85℃ / 85%RH) to simulate the aging process under harsh working conditions.
[0045] S102, establish lifespan model; A data model is established using the data from the above acceleration model to establish the relationship between LED life and external stress.
[0046] S103, lifespan model test; Independent test samples (accelerated test data not involved in modeling) are taken to verify the accuracy of the service life model, specifically by comparing theoretical calculations with actual accelerated test data.
[0047] S104, using the lifespan model to monitor the lifespan of the light emitting diode; S105, predicting the life of the light emitting diode and issuing an alarm.
[0048] In some embodiments of the present application, the remaining life of the target light-emitting diode is determined based on the expected usage time, cumulative usage time and life aging coefficient of the target light-emitting diode, including: obtaining the product of the cumulative usage time of the target light-emitting diode and the life aging coefficient; and determining the remaining life of the target light-emitting diode based on the difference between the expected usage time of the target light-emitting diode and the product.
[0049] That is, the remaining life of the target light emitting diode = expected usage time - accumulated usage time * life aging coefficient, so as to provide the prediction accuracy of the remaining life of the target light emitting diode.
[0050] As a specific embodiment of this application, Figure 3 As shown, the control method of the light emitting diode may include the following steps: S201, receiving a lighting control instruction.
[0051] S202: Determine a target light emitting diode and a brightness threshold of the target light emitting diode based on the lighting control instruction.
[0052] S203: Generate a target pulse signal according to the brightness threshold, and control the target light-emitting diode to light up based on the target pulse signal.
[0053] S204, collecting the actual brightness of the target light emitting diode after lighting.
[0054] S205: Determine whether the actual brightness is greater than or equal to a preset threshold. If so, execute step S206; if not, execute step S207.
[0055] S206, recording the normal state and updating the life prediction model data.
[0056] S207 , determining that the target light emitting diode is faulty, and attempting to restore the actual brightness of the target light emitting diode by adjusting the duty cycle of the target pulse signal.
[0057] S208: Determine whether the actual brightness after repair is greater than or equal to a preset threshold. If so, it is determined that the repair is successful and step S209 is executed; if not, it is determined that the repair fails and step S210 is executed.
[0058] S209, solidifying the brightness repair data of the target light emitting diode and correcting the target pulse signal.
[0059] S210: Determine that a target light emitting diode fails, and report the failure event.
[0060] S211, hardware repair, component replacement.
[0061] Therefore, the control method of the light-emitting diode can flexibly adjust the actual brightness of the LED by adjusting the duty cycle of the target pulse signal according to different application scenarios to meet various needs. At the same time, active repair is achieved through duty cycle adjustment, which extends the service life of the LED lamp and reduces hardware costs.
[0062] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method.
[0063] The embodiments of the present application also provide a light emitting diode control system.
[0064] In some embodiments of the present application, the light emitting diode control system is applied to a server, and the server includes at least one light emitting diode.
[0065] like Figure 4 As shown, the light emitting diode control system 100 of the embodiment of the present application includes: a control module 10 , a brightness acquisition module 20 , a temperature acquisition module 30 and a current acquisition module 40 .
[0066] The control module 10 is used to determine the target light-emitting diode and the brightness threshold of the target light-emitting diode based on the lighting control instruction, generate a target pulse signal according to the brightness threshold, and control the target light-emitting diode to light up according to the target pulse signal. The brightness acquisition module 20 is used to obtain the actual brightness of the target light-emitting diode after lighting up; the temperature acquisition module 30 is used to obtain the ambient temperature of the environment in which the target light-emitting diode is located when there is a deviation between the actual brightness and the brightness threshold; the current acquisition module 40 is used to obtain the driving current of the target light-emitting diode when there is a deviation between the actual brightness and the brightness threshold; the control module 10 is also used to adjust the duty cycle of the target pulse signal according to the brightness threshold, actual brightness, ambient temperature and driving current, so that the actual brightness of the light-emitting diode reaches the brightness threshold.
[0067] Specifically, the brightness acquisition module 20 can acquire the actual brightness of the target light emitting diode in real time, and can acquire the brightness when receiving the lighting trigger signal from the control module 10, without any specific limitation.
[0068] The temperature acquisition module 30 and the current acquisition module 40 can collect the ambient temperature of the target LED's environment in real time. They can also collect ambient temperature upon receiving a trigger signal from the control module 10, i.e., a signal indicating a deviation between the actual brightness and the brightness threshold. The specific details are not limited thereto. Furthermore, a separate power supply module can be provided to power the LED and provide a current acquisition interface. The current acquisition module 40 drives the current by real-time acquisition of the current parameters output by the power supply module.
[0069] The control module 10 is used to implement the above-mentioned control method for light emitting diodes. The specific implementation of the control method can refer to the above content and will not be described in detail here.
[0070] The design of the light-emitting diode control system can conveniently and effectively realize the control and collection of light-emitting diodes, effectively solve the problem of light-emitting diode brightness on the whole equipment, make real-time adjustments according to customer needs, meet the needs of different scenarios, and avoid hardware adjustments at the same time, thereby improving problem-solving efficiency.
[0071] Combine Figure 5 As shown, in some embodiments of the present application, the control system 100 of the light-emitting diode also includes: a driving branch 50 set corresponding to the target light-emitting diode, wherein the driving branch 50 includes: a first driving module 51, used to perform signal preprocessing on the target pulse signal, wherein the signal preprocessing includes amplification processing and filtering processing; a second driving module 52, used to drive compensation for the target pulse signal after signal preprocessing, and control the target light-emitting diode to light up based on the target pulse signal after drive compensation.
[0072] Specifically, the driver branch 50 can be divided according to the control logic of different LEDs. For example, if the control logic of the first LED and the second LED is the same, the same driver branch can be used for lighting control. This system design can be easily expanded to more LED channels, improving the system's scalability.
[0073] The first driver module 51 amplifies and filters the target pulse signal to improve its drive capability and waveform integrity, ensuring sufficient drive capability and stability. The second driver module 52 enhances the drive capability of the target pulse signal after signal preprocessing, achieving signal isolation and improving circuit reliability. Furthermore, the server's LEDs have a relatively high degree of layout dispersion, which improves drive capability and signal integrity when PCB (Printed Circuit Board) traces are long.
[0074] In some embodiments of the present application, the second driving module 52 includes: a pull-up resistor R1, one end of the pull-up resistor R1 is connected to the first power supply P3V3, wherein the first power supply P3V3 is the power supply for the target light-emitting diode; a first switch tube Q1, a first end of the first switch tube Q1 is connected to the other end of the pull-up resistor R1; a second switch tube Q2, after the first end of the second switch tube Q2 is connected to the second end of the first switch tube Q1, it is suitable for being connected to the cathode of the target light-emitting diode, the second end of the second switch tube Q2 is grounded, and the control end of the second switch tube Q2 is connected to the second end of the first switch tube Q1, and then connected to the first driving module 51, wherein, when the target pulse signal is at the first level, the first switch tube Q1 is in the on state and the second switch tube Q2 is in the off state; when the target pulse signal is at the second level, the second switch tube Q2 is in the off state and the second switch tube Q2 is in the on state.
[0075] Specifically, the first switch tube Q1 and the second switch tube Q2 are turned on based on a high level and a low level respectively. Figure 5 For example, the first switch tube Q1 is a PMOS tube, the second switch tube Q2 is an NMOS tube, and the target light-emitting diodes are the light-emitting diodes LED1 and LEDn. When the target pulse signal is at a high level, the first switch tube Q1 is in an off state, and the second switch tube Q2 is turned on. At this time, the circuit in which the target light-emitting diode is located is turned on, and the target light-emitting diode is illuminated. When the target pulse signal is at a low level, the first switch tube Q1 is turned on, and the second switch tube Q2 is turned off. At this time, the target light-emitting diode is extinguished. Therefore, by switching the high and low levels of the target pulse signal, the actual brightness of the target light-emitting diode can be adjusted, improving the lighting flexibility. At the same time, based on the second drive module 52, circuit isolation can also be achieved, improving the stability of the circuit.
[0076] In some embodiments of the present application, the resistance value of the pull-up resistor R1 is determined according to the power of the target light-emitting diode, wherein the resistance value of the pull-up resistor R1 is negatively correlated with the power of the target light-emitting diode.
[0077] In other words, the resistance value of the pull-up resistor R1 can be flexibly selected according to the driven light-emitting diode, thereby improving the compatibility between the driving circuit and the light-emitting diode and enhancing the driving effect of the light-emitting diode.
[0078] In some embodiments of the present application, the brightness acquisition module 20 includes: a photoelectric sensor 21, configured to output an analog signal corresponding to the actual brightness of the target light-emitting diode; a data conversion unit 22, configured to convert the analog signal into a digital signal and send it to the control module 10, so that the control module 10 can identify the actual brightness of the target light-emitting diode based on the digital signal.
[0079] That is to say, by adding a photosensor 21 at the target light-emitting diode, the actual brightness is collected in real time based on the photodiode in the photosensor 21 → it is converted into a digital signal based on the data conversion unit 22 and fed back to the control module 10 → the PWM duty cycle is dynamically adjusted to compensate for aging / temperature drift, thereby improving the brightness collection and control accuracy of the target light-emitting diode.
[0080] For the description of the control of the light emitting diode by the control unit in the embodiment corresponding to the light emitting diode control system, reference may be made to the relevant description of the embodiment corresponding to the light emitting diode control method, which will not be described in detail here.
[0081] An embodiment of the present application also provides a server.
[0082] like Figure 6 As shown, the server 1000 of the embodiment of the present application includes: a baseboard management controller 200, at least one light emitting diode, and a light emitting diode control system 100 such as any one of the above items.
[0083] Among them, the baseboard management controller 200 is used to generate a lighting control instruction; at least one light-emitting diode; a light-emitting diode control system 100 such as any of the above items, the input end of the light-emitting diode control system 100 is connected to the baseboard management controller 200, and the output end of the light-emitting diode control system 100 is respectively connected to at least one light-emitting diode to control the target light-emitting diode in at least one light-emitting diode to light up based on the lighting control instruction.
[0084] Specifically, combined Figure 7As shown, the server 1000 primarily comprises a host computer, a baseboard management controller 200, an LED control system 100, an LED power module (i.e., a power supply module), and LED lights. The LED control system 100 can be comprised of a CPLD (Complex Programmable Logic Device) module, an IO (Input / Output) driver module (a second driver module), a temperature acquisition module, and a brightness acquisition module (a non-contact photodiode photoelectric sensor and a data conversion unit). The CPLD internally includes an I2C (Inter-Integrated Circuit) module, a PWM driver module, a brightness feedback module, and a current acquisition module. The CPLD's external interfaces (I2C and UART) are both connected to the baseboard management controller 200. A CPLD is a high-performance, highly reliable digital logic device that can implement complex logic functions. In the entire light-emitting diode control system 100, the CPLD logic control layer serves as the control module to implement LED control functions. The PWM waveform duty cycle is adjusted to control the LED brightness. This control method has the advantages of high precision and fast response speed, and can meet the requirements of LED brightness in different scenarios. The following is a detailed description of each module of the server: The host computer primarily implements remote management, acquiring and manipulating the control, brightness, and fault LED display of the entire system's LED lighting via a World Wide Web (WEB) interface. The host computer communicates with the Baseboard Management Controller (BMC) 200 via a Local Area Network (LAN) interface, enabling remote LED management. By acquiring LED brightness information from the BMC, the host computer can control LED brightness during the development phase, sending data to the BMC for brightness control and adjustment.
[0085] The BMC implements LED brightness control, brightness upload, and fault reporting. As the basic manager, the BMC controls LED brightness across the entire device. The BMC communicates with the CPLD via the I2C interface, controlling the CPLD's PWM waveform output. Simultaneously, the CPLD monitors LED brightness in real time, comparing it to determine if an LED fault has occurred and reporting any faulty LEDs. The BMC then refreshes LED status information and displays it on the host computer interface. This allows users to monitor the device's LED status, including brightness, on / off status, and fault conditions, in real time via the host computer.
[0086] CPLD implements the following functional modules: 1) I2C module: realizes communication with the temperature acquisition module and collects the ambient temperature of the environment where the photodiode is located in real time; 2) The PWM driver, or the first driver module, ensures PWM signal drive capability and waveform integrity. It ensures sufficient drive capability and stability for the LED's PWM signal and implements PWM waveform output. The CPLD designs a variety of PWM waveforms with different duty cycles, such as 10%, 20%, ..., and 100%, according to the LED's brightness. Different duty cycles correspond to different LED brightnesses, thereby achieving LED brightness variation. 3) Brightness feedback module: This module collects LED brightness parameters. The circuit design uses a photodiode photoelectric sensor to collect LED brightness and converts it through the ADC (Analog-to-Digital Converter), a data conversion unit, before sending it to the control logic layer (control module) of the CPLD.
[0087] The IO driver module realizes the driving capability of IO and serves as the external output interface of CPLD to achieve signal isolation between CPLD and external circuit, thus avoiding the influence of external circuit on CPLD itself and improving the reliability of CPLD. At the same time, the LED has a large discreteness in layout, which improves the driving capability and signal integrity when the PCB traces are long.
[0088] The LED power module enables real-time monitoring of LED power supply and current. The LED circuit uses a separate LDO (Low Dropout Linear Regulator) power supply to prevent PWM waveform interference with the 3V3 power network and isolate the LED power network from the main 3V3 network.
[0089] The brightness acquisition module (non-contact photodiode photoelectric sensor) realizes the LED brightness acquisition function.
[0090] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps of any of the above-mentioned light-emitting diode control methods are implemented.
[0091] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
[0092] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0093] The above is a detailed introduction to the control method, control system, server, and computer storage medium for light-emitting diodes provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only intended to help understand the method and core ideas of the present application. It should be pointed out that, for those skilled in the art, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.
Claims
1. A method for controlling a light emitting diode, characterized in that: Applied to a server, the server comprising at least one light emitting diode, the method comprising: Determining a target light emitting diode and a brightness threshold of the target light emitting diode based on a lighting control instruction; generating a target pulse signal according to the brightness threshold, and controlling the target light-emitting diode to light up based on the target pulse signal; When there is a deviation between the actual brightness of the target light-emitting diode after being lit and the brightness threshold, obtaining the ambient temperature of the environment in which the target light-emitting diode is located and the driving current of the target light-emitting diode; The duty cycle of the target pulse signal is adjusted according to the brightness threshold, the actual brightness, the ambient temperature and the driving current, so that the actual brightness of the light emitting diode reaches the brightness threshold.
2. The method for controlling a light emitting diode according to claim 1, wherein: Adjusting the duty cycle of the target pulse signal according to the brightness threshold, the actual brightness, the ambient temperature, and the driving current includes: determining a first duty cycle and a duty cycle adjustment direction according to a brightness difference between the actual brightness and the brightness threshold; determining a duty cycle adjustment parameter according to the ambient temperature and the driving current; Adjusting the first duty cycle according to the duty cycle adjustment parameter to obtain a second duty cycle; The duty cycle of the target pulse signal is adjusted according to the second duty cycle and the duty cycle adjustment direction.
3. The method for controlling a light emitting diode according to claim 1, wherein: Determining a brightness threshold of the target light emitting diode includes: Determining a preset brightness of the target light emitting diode according to the lighting control instruction; Acquiring environmental parameters of the environment in which the target light emitting diode is located; A brightness threshold of the target light emitting diode is determined according to the environmental parameter and the preset brightness.
4. The method for controlling a light emitting diode according to claim 3, wherein: The environmental parameter includes an ambient temperature, and determining the brightness threshold of the target light emitting diode according to the environmental parameter and the preset brightness includes: Determining a temperature drift parameter of the target light emitting diode according to the ambient temperature; Determining a brightness influence coefficient according to the temperature drift parameter; The preset brightness is adjusted according to the brightness influence coefficient to obtain the brightness threshold.
5. The method for controlling a light emitting diode according to claim 1, wherein: Determining whether there is a deviation between the actual brightness of the target light-emitting diode after being illuminated and the brightness threshold includes: When the actual brightness is lower than the brightness threshold, it is determined that there is a deviation between the actual brightness and the brightness threshold.
6. The method for controlling a light emitting diode according to claim 5, wherein: Also includes: When the actual number of adjustments of the duty cycle of the target pulse reaches a preset threshold or the adjusted duty cycle of the target pulse reaches a preset duty cycle limit, if the actual brightness of the target light-emitting diode still does not reach the brightness threshold, it is determined that there is a fault in the target light-emitting diode and a first fault reminder signal is generated.
7. The method for controlling a light emitting diode according to claim 1, wherein: Also includes: Acquiring a preset corresponding relationship based on historical environmental information and historical driving current, wherein the preset corresponding relationship is used to characterize the corresponding life aging coefficient under different environmental information-driving currents, the environmental information including environmental temperature information and / or environmental humidity information; Obtaining a life aging coefficient of the target light-emitting diode according to the current environmental information, the driving current and the preset corresponding relationship, and obtaining a cumulative usage time of the target light-emitting diode; Determining the remaining life of the target light emitting diode based on the expected usage time of the target light emitting diode, the accumulated usage time, and the life aging coefficient; When the remaining life of the target light emitting diode reaches a preset life threshold, a second fault reminder signal is generated.
8. The method for controlling a light emitting diode according to claim 7, wherein: The determining the remaining life of the target light emitting diode based on the expected usage time of the target light emitting diode, the accumulated usage time, and the life aging coefficient includes: Obtaining the product of the cumulative usage time of the target light emitting diode and the life aging coefficient; The remaining life of the target light emitting diode is determined based on the difference between the expected usage time of the target light emitting diode and the product.
9. A light emitting diode control system, characterized in that: Applied to a server, the server includes at least one light emitting diode, and the system includes: a control module, configured to determine a target light-emitting diode and a brightness threshold of the target light-emitting diode based on a lighting control instruction, generate a target pulse signal according to the brightness threshold, and control the target light-emitting diode to light up according to the target pulse signal; A brightness acquisition module is used to obtain the actual brightness of the target light-emitting diode after lighting; a temperature acquisition module, configured to acquire the ambient temperature of the environment in which the target light emitting diode is located when there is a deviation between the actual brightness and the brightness threshold; a current acquisition module, configured to acquire the driving current of the target light-emitting diode when there is a deviation between the actual brightness and the brightness threshold; The control module is further configured to adjust the duty cycle of the target pulse signal according to the brightness threshold, the actual brightness, the ambient temperature, and the driving current, so that the actual brightness of the light-emitting diode reaches the brightness threshold.
10. The light emitting diode control system according to claim 9, characterized in that: The system further includes: a driving branch provided corresponding to the target light emitting diode, wherein the driving branch includes: A first driving module, configured to perform signal preprocessing on the target pulse signal, wherein the signal preprocessing includes amplification processing and filtering processing; The second driving module is used to perform driving compensation on the target pulse signal after signal preprocessing, and control the target light-emitting diode to light up based on the target pulse signal after driving compensation.
11. The light emitting diode control system according to claim 10, characterized in that: The second driving module includes: a pull-up resistor, one end of which is connected to a first power supply, wherein the first power supply is a power supply for the target light-emitting diode; a first switching tube, wherein a first end of the first switching tube is connected to the other end of the pull-up resistor; a second switching tube, wherein the first end of the second switching tube is connected to the second end of the first switching tube and is then connected to the cathode of the target light-emitting diode; the second end of the second switching tube is grounded; and the control end of the second switching tube is connected to the second end of the first switching tube and is then connected to the first driving module, wherein: When the target pulse signal is at a first level, the first switch tube is in an on state and the second switch tube is in an off state; when the target pulse signal is at a second level, the second switch tube is in an off state and the second switch tube is in an on state.
12. The light emitting diode control system according to claim 11, characterized in that: The resistance value of the pull-up resistor is determined according to the power of the target light-emitting diode, wherein the resistance value of the pull-up resistor is negatively correlated with the power of the target light-emitting diode.
13. The light emitting diode control system according to claim 9, characterized in that: The brightness acquisition module includes: a photosensor configured to output an analog signal corresponding to the actual brightness of the target light emitting diode; The data conversion unit is configured to convert the analog signal into a digital signal and send the digital signal to the control module, so that the control module can identify the actual brightness of the target light emitting diode based on the digital signal.
14. A server, characterized in that: include: Baseboard management controller, used to generate lighting control instructions; at least one light emitting diode; The light-emitting diode control system according to any one of claims 9 to 13, wherein the input end of the light-emitting diode control system is connected to the baseboard management controller, and the output end of the light-emitting diode control system is respectively connected to the at least one light-emitting diode, so as to control the lighting of a target light-emitting diode in the at least one light-emitting diode based on the lighting control instruction.
15. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the light emitting diode control method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Light emitting diode driving circuit, method and display device
CN107205290A
Light-emitting diode light source brightness control device and method
CN107809822A
Small-spacing LED array driving waveform optimization method and device
CN119724083A