Fan control methods, devices, lighting fixtures and storage media

By acquiring lamp position information and optimizing fan control based on preset correspondences, the problem of fans being unable to accurately follow changes in the position of the light source was solved, achieving stable heat dissipation and light source protection.

CN116696822BActive Publication Date: 2026-06-30GUANGZHOU CAIYI TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGZHOU CAIYI TECHNOLOGY CO LTD
Filing Date
2023-06-21
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

In existing lighting fixtures, the fan cannot accurately follow the position changes of the light source, resulting in poor heat dissipation and potentially causing the light source to burn out.

Method used

By acquiring the current position information of the lamps and the preset correspondence, the target fan and its standard speed are determined, the fan control logic is optimized, the fan start-up error at the switching critical point is avoided, and it is ensured that only the fan below the light source works.

Benefits of technology

It achieves precise and stable fan control, avoids overheating damage to the light source, and improves heat dissipation efficiency and the reliability of the lamp.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116696822B_ABST
    Figure CN116696822B_ABST
Patent Text Reader

Abstract

This application relates to a fan control method, device, lamp, and storage medium. By acquiring the lamp's current position information, and based on the first position information and a preset correspondence, a first target fan in the lamp's operating state and a first standard rotational speed of the first target fan are determined. The lamp's fan is then controlled based on the first position information, the second position information from the previous moment, the first target fan, and the first standard rotational speed. The preset correspondence includes the relationship between position information, the fan, and the operating rotational speed. This application determines the lamp's operating process using both first and second position information, replacing single position information as the fan control condition. This more intelligently and optimally optimizes the relationship between the lamp's operating state and the fan's logical control, effectively avoiding fan start-up errors during transitions between lamp sections and fan switching critical points, and effectively improving heat dissipation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of lighting technology, and in particular to a fan control method, device, lighting fixture, and storage medium. Background Technology

[0002] Stage lighting fixtures that use bubbles as light sources do not fully convert electrical energy into light energy; the light source generates heat while emitting light. This heat causes the temperature inside the lighting system to rise. If the temperature exceeds the maximum operating temperature limit of the light source, it will lead to a rapid decline in the lifespan of the light source, a reduction in luminous efficiency, or even instantaneous burnout and explosion. Therefore, it is necessary to install fans in the lighting fixtures to dissipate heat.

[0003] Currently, a fan is placed on each side of the light source for heat dissipation, with only one fan allowed to operate at a time. This ensures that the fan airflow is in the same direction as the natural heat flow, achieving the best cooling effect. However, because the light fixtures are placed in different orientations and the light source rotates continuously during operation, the relative position of the fan and the light source constantly changes, causing the fan to be unable to accurately dissipate heat from the light fixture. Therefore, how to control the fan for effective heat dissipation is a problem that urgently needs to be solved. Summary of the Invention

[0004] Therefore, it is necessary to provide a fan control method, device, lamp, and storage medium that can effectively and accurately dissipate heat to address the aforementioned technical problems.

[0005] In a first aspect, this application provides a fan control method, the method comprising:

[0006] Obtain the current position information of the light fixture;

[0007] Based on the first location information and the preset correspondence, the first target fan in the lamp and the first standard rotation speed of the first target fan in the working state are determined; the preset correspondence includes the correspondence between location information, fan and working speed.

[0008] The fan of the lamp is controlled based on the first position information, the second position information at the previous moment, the first target fan, and the first standard rotation speed.

[0009] In one embodiment, controlling the fan of the lamp based on the first position information, the second position information at the previous moment, the first target fan, and the first standard rotation speed includes:

[0010] The current state of the lamp is determined based on the first location information and the second location information;

[0011] The fan of the lamp is controlled according to the current state, the first target fan, and the first standard speed.

[0012] In one embodiment, determining the current state of the lamp based on the first location information and the second location information includes:

[0013] Determine the difference between the first location information and the second location information;

[0014] The current state of the lamp is determined based on the difference and the second position information.

[0015] In one embodiment, determining the current state of the lamp based on the difference and the second position information includes:

[0016] If the second location information is within a preset location range and the difference is less than the first preset difference, then the current state is determined to be a stationary state.

[0017] If the second location information is within a preset location range and the difference is not less than the first preset difference, then the current state is determined to be a motion state.

[0018] If the second location information is not within the preset location range and the difference is equal to the second preset difference, then the current state is determined to be a stationary state.

[0019] If the second location information is not within the preset location range and the difference is not equal to the second preset difference, then the current state is determined to be a motion state.

[0020] In one embodiment, controlling the fan of the lamp based on the current state, the first target fan, and the first standard speed includes:

[0021] If the current state is a stationary state, then the second target fan and the second standard speed are determined, and the speed of the second target fan is controlled to be the second standard speed; the second target fan and the second standard speed are determined according to the second position information and the preset correspondence;

[0022] If the current state is a motion state, then the first target fan is controlled to operate at the first standard speed according to the optimized control logic.

[0023] In one embodiment, the optimization control logic includes at least one of the following:

[0024] The switching time between the second location information and the first location information is controlled to be greater than a preset switching time;

[0025] The rotational speed between the second position information and the first position information is controlled to be less than a preset rotational speed;

[0026] The second standard rotational speed is smoothed.

[0027] The actual operating speed of the first target fan is calibrated.

[0028] In one embodiment, the method further includes:

[0029] Obtain the actual operating speed of the target fan when it is in operation;

[0030] If the standard speed of the target fan in operation is inconsistent with the actual operating speed, the actual operating speed will be adjusted to the standard speed.

[0031] Secondly, this application also provides a fan control device, the device comprising:

[0032] The first acquisition module is used to acquire the first position information of the lamp at the current moment;

[0033] The determining module is used to determine the first target fan in the lamp and the first standard rotation speed of the first target fan in the working state based on the first position information and the preset correspondence relationship; the preset correspondence relationship includes the correspondence relationship between position information, fan and working speed;

[0034] The control module is used to control the fan of the lamp according to the first position information, the second position information at the previous moment, the first target fan and the first standard speed.

[0035] Thirdly, this application also provides a lamp fixture, the lamp fixture including a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0036] Obtain the current position information of the light fixture;

[0037] Based on the first location information and the preset correspondence, the first target fan in the lamp and the first standard rotation speed of the first target fan in the working state are determined; the preset correspondence includes the correspondence between location information, fan and working speed.

[0038] The fan of the lamp is controlled based on the first position information, the second position information at the previous moment, the first target fan, and the first standard rotation speed.

[0039] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0040] Obtain the current position information of the light fixture;

[0041] Based on the first location information and the preset correspondence, the first target fan in the lamp and the first standard rotation speed of the first target fan in the working state are determined; the preset correspondence includes the correspondence between location information, fan and working speed.

[0042] The fan of the lamp is controlled based on the first position information, the second position information at the previous moment, the first target fan, and the first standard rotation speed.

[0043] Fifthly, this application also provides a computer program product, which includes a computer program that, when executed by a processor, performs the following steps:

[0044] Obtain the current position information of the light fixture;

[0045] Based on the first location information and the preset correspondence, the first target fan in the lamp and the first standard rotation speed of the first target fan in the working state are determined; the preset correspondence includes the correspondence between location information, fan and working speed.

[0046] The fan of the lamp is controlled based on the first position information, the second position information at the previous moment, the first target fan, and the first standard rotation speed.

[0047] The aforementioned fan control method, device, lamp, and storage medium acquire the lamp's current position information, determine the first target fan in the lamp's operating state and its first standard speed based on the first position information and a preset correspondence, and control the lamp's fan according to the first position information, the previous second position information, the first target fan, and the first standard speed. The preset correspondence includes the relationship between position information, the fan speed, and the operating speed. This application determines the lamp's operating process using both first and second position information, replacing single position information as the fan control condition. This more intelligently and optimizes the relationship between the lamp's operating state and the fan logic control, effectively avoiding fan start-up errors during transitions between lamp sections and fan switching critical points, and effectively improving heat dissipation. Attached Figure Description

[0048] Figure 1 This is an application environment diagram of the fan control method in one embodiment;

[0049] Figure 2 This is a flowchart illustrating a fan control method in one embodiment;

[0050] Figure 3 This is a structural block diagram of a fan control device in one embodiment;

[0051] Figure 4 This is a flowchart illustrating the control of a lamp's fan in one embodiment;

[0052] Figure 5 This is a flowchart illustrating the process of determining the current state of a lighting fixture in one embodiment.

[0053] Figure 6 This is a flowchart illustrating the process of determining the current state of a luminaire in another embodiment;

[0054] Figure 7 This is a flowchart illustrating the fan control method in another embodiment;

[0055] Figure 8 This is a schematic diagram of the process for determining the standard rotational speed in one embodiment;

[0056] Figure 9 This is a schematic diagram of a fan control circuit in one embodiment;

[0057] Figure 10 This is a structural block diagram of the fan control device in another embodiment;

[0058] Figure 11 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0059] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0060] In the lighting industry, lamps typically use LEDs or bulbs as light sources. These light sources emit light and generate heat. This heat is because the electrical energy is not entirely converted into light energy; most of it is converted into heat. Specifically, LEDs have a luminous efficacy of only about 100 lm / W, with an electro-optical conversion efficiency of only about 20-30%, meaning approximately 70% of the electrical energy is converted into heat. Bubble lamps have even lower electro-optical efficiency, with incandescent bulbs reaching as low as 15 lm / W.

[0061] The heat generated by the light source causes the temperature inside the lighting system to rise, radiating outwards from the light source as the highest temperature center. However, the light source has a maximum operating temperature; once the temperature rises above this limit, the light source's lifespan will rapidly decrease, luminous efficiency will drop, and in severe cases, the light source may burn out and explode instantly. Therefore, the light source must be equipped with heat dissipation measures, with fans being the most effective and direct means of heat transfer.

[0062] Of the two light sources, LEDs are typically mounted on a copper or aluminum substrate, which is then mounted on a heat sink inside the lamp. Usually, one or two fans are placed on each side of the heat sink, one blowing and one drawing air, creating air convection between the heat sink fins to dissipate heat. Because the substrate and heat sink store energy and conduct heat, the LEDs won't burn out instantly due to excessive heat. The fans can be dynamically controlled based on temperature data from temperature sensors. However, for LED bulbs, which lack any heat conduction mechanism, have high power, and low electro-optical efficiency, they are extremely prone to heat accumulation and often burn out within seconds. Therefore, fan control, as the only effective cooling method, is crucial. According to thermal principles, under natural conditions, hot air rises and cold air sinks, forming an airflow. The fan layout needs to follow this airflow trend; therefore, the design method is to place one fan on each side of the light source, such as... Figure 1 As shown, only one fan can operate at any given time to ensure that the fan airflow is in the same direction as the natural hot airflow, achieving the best heat dissipation effect. Specifically, only the fan below the bubble is allowed to operate at any given time. Except for ensuring the fan is blowing in the correct direction at all times, two fans must not operate simultaneously, as the airflow will cancel each other out, negating the heat dissipation effect. Because the lamps are positioned differently and rotate continuously during operation, the relative positions of the fans and the light source constantly change. Therefore, the lighting system needs to continuously determine which fan is below the bubble, activating the fan below and stopping the fan above. Different rotation angles of the lamps require different airflow speeds, necessitating continuous dynamic adjustments based on the actual situation.

[0063] In practical applications, numerous problems and challenges arise: Lighting fixtures are high-temperature heating instruments; temperature changes cause component parameters to drift, leading to inaccurate voltage supply and fan speeds: low speeds affect heat dissipation, while high speeds increase noise. The gravity sensor used to detect orientation angles inherently has a 3-5° error, causing inconsistent fan voltages at zone boundaries. For example, a light fixture might be in zone I, but the error could cause the system to misjudge it as being in zone II, providing an inappropriate fan speed. Particularly, when the light fixture is at the fan switching threshold, the error makes it difficult for the system to accurately determine whether to activate fan A or fan B, thus risking fan stoppage. As the light fixture rotates and switches between zones, the fan speed becomes unstable, resulting in fluctuating noise levels. If the light fixture is rapidly oscillating back and forth at the fan switching threshold, the long startup time means one fan may not be fully operational before the orientation changes, requiring the other fan to be started. This can lead to insufficient airflow, causing overheating and bulb burnout. Therefore, this application provides a fan control method, apparatus, lamp, and storage medium.

[0064] In one embodiment, such as Figure 2 As shown, a fan control method is provided, which is applied to... Figure 1 Taking the lighting fixtures in the example, the explanation includes the following steps:

[0065] S201, Obtain the first position information of the lamp at the current moment.

[0066] In this embodiment, a sensor is used to obtain the first position information of the lamp at the current moment. For example, the sensor can be a position sensor or a gravity sensor. The position sensor or gravity sensor collects the status information of the lamp in real time and sends the status information of the lamp to the control unit. The control unit analyzes the status information of the position sensor or gravity sensor to obtain the first position information of the lamp.

[0067] S202, based on the first position information and the preset correspondence, determine the first target fan in the working state of the lamp and the first standard speed of the first target fan; the preset correspondence includes the correspondence between position information, fan and working speed.

[0068] Optionally, the preset correspondence can be in the form of a list, an expression, or a mathematical model.

[0069] Since the light fixture includes two fans, designated A and B, the cooling system formed by these fans can be illustrated using a planar diagram. Most light fixtures have an oscillation angle of 270 degrees or 180 degrees, while some are infinitely rotating (360 degrees). When 270-degree or 180-degree rotating light fixtures are used side-mounted or upside down, they actually have a position ranging from 0 to 360 degrees relative to the ground plane. According to the cooling system requirements, if fan A is working, fan B is not working; if fan B is working, fan A is not working; at any given time, only one fan is working.

[0070] Fan A operates within the 0-90 degree and 270-360 degree ranges, and this range is further subdivided into several zones. The standard operating speed of Fan A varies in these zones, determined by a preset correspondence. Fan B operates within the 90-270 degree range, and this range is also subdivided into several zones. The standard operating speed of Fan B also varies in these zones, determined by a preset correspondence. All of these refer to the lamp head angles relative to the ground plane, i.e., the fan's position relative to the bulb. In the 0-90 degree and 270-360 degree ranges, Fan A is below the bulb; in the 90-270 degree range, Fan B is below the bulb. The control objective is to allow only the fan below the bulb to operate.

[0071] In this embodiment, based on the first position information and a preset correspondence, the first target fan in the lamp and the first standard rotational speed of the first target fan are determined. For example, the correspondence is as follows: if the position information is 30 degrees, the operating speed of fan A is 10V; if the position information is 40 degrees, the operating speed of fan A is 12V; if the position information is 120 degrees, the operating speed of fan B is 14V, and so on. If the first position information is 120 degrees, then the first target fan is fan B, and the operating speed of fan B is 14V.

[0072] S203: Control the fan of the lamp according to the first position information, the second position information of the previous moment, the first target fan and the first standard speed.

[0073] In this embodiment, the control unit acquires the second position information from the previous moment, determines the operating trend of the lamp based on the first position information and the second position information from the previous moment, and controls the lamp's fan based on the lamp's operating trend, the first target fan, and the first standard speed. For example, the target fan and the standard speed of the target fan are determined based on the lamp's operating trend. If the operating trend is stationary, the target fan is the first target fan, and the standard speed of the target fan is the first standard speed. If the operating trend is in motion, the target fan and the standard speed of the target fan are determined based on the first and second position information. In this case, the target fan may be either the first target fan or the second target fan.

[0074] A control device can be used to control the fan of a lighting fixture. This control device includes a sensor unit, a control unit, and two drive units, such as... Figure 3 As shown, each drive unit is connected to a corresponding fan. The sensor unit sends the collected position information to the control unit, which then controls each drive unit to control the corresponding fan.

[0075] Optionally, the primary target fan can be a two-wire, three-wire, or four-wire fan, which is highly adaptable and features no temperature drift, small output voltage error, and precise fan speed.

[0076] The control unit includes, but is not limited to, MCU, CPU, DSP, programmable logic devices, etc. The control unit has a digital-to-analog conversion function unit or a PWM generator unit, which can output analog level or PWM waveform to control the fan.

[0077] Because some lighting fixtures require a reset action to function properly, a standard vertical and horizontal position, called the zero position, is needed. Rotation up, down, left, and right is then performed using this zero position as a reference to ensure consistent operation. An example is a moving head light. Optionally, the fixture's position information can be obtained after receiving a reset completion signal from the panel controller. For example, a Hall element installed in the lamp body or a collision stop can be used to detect the zero position signal. All controllers on the PCBA boards within the fixture collect the zero position detection signals and send them to the panel controller. The panel controller then informs all controllers within the fixture, including the fan control board controller, whether the reset action is complete. Upon receiving a reset completion signal from the panel controller, the fixture begins detecting its position information. If no reset completion signal is received from the panel controller, the Hall element or collision stop is used to detect the zero position signal, and the collected zero position signal is sent to the panel controller until a reset completion signal is received from the panel controller.

[0078] It should be noted that the entire reset process is conducted in a low-noise manner, and the controller does not start or control the fan in any way, keeping it disabled.

[0079] In the aforementioned fan control method, the first position information of the lamp at the current moment is obtained. Based on the first position information and a preset correspondence, the first target fan in the lamp's working state and the first standard speed of the first target fan are determined. The lamp's fan is controlled based on the first position information, the second position information from the previous moment, the first target fan, and the first standard speed. The preset correspondence includes the correspondence between position information, the fan, and the working speed. This application determines the lamp's operating process using both first and second position information, replacing single position information as the fan control condition. This more intelligently and optimally optimizes the relationship between the lamp's operating state and the fan logic control, effectively avoiding fan start-up errors during transitions between lamp sections and fan switching critical points, and effectively improving heat dissipation.

[0080] Figure 4 This is a flowchart illustrating the control of a lamp's fan in one embodiment, as shown below. Figure 4 As shown, this application embodiment relates to a possible implementation of how to control the fan of a lamp based on first position information, second position information at the previous moment, a first target fan, and a first standard rotation speed, including the following steps:

[0081] S401, determine the current state of the lamp based on the first position information and the second position information.

[0082] The current state includes both running state and stationary state.

[0083] In this embodiment, the first position information and the second position information can be compared. If the first position information and the second position information are consistent, the current state of the lamp is considered to be a stationary state; if the first position information and the second position information are inconsistent, the current state of the lamp is considered to be a moving state.

[0084] In one possible implementation, the difference between the first position information and the second position information can be compared with a preset difference. If the difference between the first position information and the second position information is less than the preset difference, the current state of the lamp is a stationary state; if the difference between the first position information and the second position information is not less than the preset difference, the current state of the lamp is a moving state.

[0085] S402 controls the lamp's fan based on the current state, the first target fan, and the first standard speed.

[0086] In this embodiment, the lamp's fan is controlled based on the current state, the first target fan, and the first standard rotational speed. For example, if the current state is a moving state, the lamp's fan is determined to be the first target fan, and the rotational speed of the first target fan is determined to be the first standard rotational speed. If the current state is a stationary state, the lamp's target fan and the target fan's standard operating speed are determined based on the second position information from the previous moment.

[0087] In this embodiment, the current state of the lamp is determined based on the first position information and the second position information. The fan of the lamp is controlled based on the current state, the first target fan, and the first standard speed. This embodiment determines the current state based on the first position information and the second position information, and uses a combination of the current state and position information as the fan control condition, making the fan control more precise.

[0088] Figure 5 This is a flowchart illustrating the process of determining the current state of a lighting fixture in one embodiment, such as... Figure 5 As shown, this application embodiment relates to a possible implementation of how to determine the current state of a lamp based on first location information and second location information, including the following steps:

[0089] S501, determine the difference between the first position information and the second position information.

[0090] S502, determine the current state of the luminaire based on the difference and the second position information.

[0091] In this embodiment, the lamp has two special angles, 90 degrees and 270 degrees, both of which are critical points. The light source is vertical and located at the critical operating point of the two fans. Fans A and B are to the left and right of the light source. Due to the lamp's possible slight back-and-forth movement at this point and errors caused by gravity sensing, there may be situations where both fans work simultaneously, neither fan works, or only one fan works. Fans A and B may start and stop repeatedly, posing a risk. Therefore, it is necessary to determine the current state of the lamp based on the difference and the second position information.

[0092] Furthermore, the current state of the luminaire is determined based on the difference and the second position information, including:

[0093] If the second position information is within a preset position range and the difference is less than the first preset difference, the current state is determined to be a stationary state; if the second position information is within a preset position range and the difference is not less than the first preset difference, the current state is determined to be a moving state; if the second position information is not within a preset position range and the difference is equal to the second preset difference, the current state is determined to be a stationary state; if the second position information is not within a preset position range and the difference is not equal to the second preset difference, the current state is determined to be a moving state.

[0094] Optionally, the preset position range can be (85, 90), (265, 275), or (80, 100), (260, 280), etc. The first preset difference is 5 degrees, 2 degrees, etc.; the second preset difference is 0 degrees, etc., and the first preset difference can be greater than the second preset difference.

[0095] In this embodiment, as Figure 6 As shown, when the second position information is within the preset position range, it proves that the lamp is in the critical area. Assuming the first preset difference is 5 degrees, if the difference between the first position information and the second position information is less than 5 degrees, the lamp is considered to be in a stationary state; if the difference between the first position information and the second position information is not less than 5 degrees, the lamp is considered to be in a moving state, and thus the fans A and B are controlled according to the stationary or moving state.

[0096] If the second position information is not within the preset position range, it proves that the lamp is not in the critical area. Assuming that the second preset difference is 0 degrees, when the difference between the first position information and the second position information is equal to 0 degrees, the lamp is considered to be in a stationary state; if the difference between the first position information and the second position information is not equal to 0 degrees, the lamp is considered to be in a moving state.

[0097] In this embodiment, the difference between the first position information and the second position information is determined, and the current state of the lamp is determined based on the difference and the second position information. In this embodiment, the current state of the lamp is determined based on the difference and the second position information, and the critical region division logic processing is added, which solves the problems of the lamp possibly moving back and forth in the critical region and sensor error, and can effectively dissipate heat from the light source.

[0098] In one embodiment, controlling the lamp's fan based on the current state, a first target fan, and a first standard rotational speed includes the following steps:

[0099] If the current state is stationary, the second target fan and the second standard speed are determined, and the speed of the second target fan is controlled to be the second standard speed. The second target fan and the second standard speed are determined according to the second position information and the preset correspondence. If the current state is in motion, the first target fan is controlled to work at the first standard speed according to the optimized control logic.

[0100] In this embodiment, as Figure 7 As shown, after receiving the reset completion signal from the panel, the current state of the lamp is determined according to the first position information and the second position information. If the current state is a stationary state, the second target fan and the second standard speed corresponding to the second target fan are determined according to the second position information of the previous moment and the preset correspondence, and the specific implementation of S202 is adopted, so that the fan of the lamp maintains the second standard speed of the previous moment.

[0101] If the current state is one of motion, the XY axis of the lamp will change the position of the light source during movement, and its position will be within a certain angle of 0-360 degrees. Due to the rapid movement of the XY axis, fans A and B are constantly switching between operating states; a fan starts and then immediately returns to a stopped state, potentially causing both fans to be inactive. Therefore, in the current state of motion, the optimized control logic controls the first target fan to operate at the first standard speed. The first and second target fans may be the same fan or two different fans. Therefore, in the current state of motion, the optimized control logic controls the first target fan to operate at the first standard speed, including the following two cases:

[0102] Scenario 1: If the current state is in motion, the first and second position information are located in different zones, corresponding to different fans and different standard operating speeds. For example, the second position information is 30 degrees, corresponding to fan A, and fan A's standard operating speed is the second standard speed. The first position information is 120 degrees, corresponding to fan B, and fan B's standard operating speed is the first standard speed. In this case, according to the optimized control logic, fan A is controlled to reduce its speed from the second standard speed to 0, and fan B is controlled to change its speed from 0 to the first standard speed, thus starting operation.

[0103] The second scenario: Although the current state is in motion, the first and second position information are located in the same partition, corresponding to the same fan but with different standard operating speeds. For example, the second position information is 30 degrees, corresponding to fan A, and fan A's standard operating speed is the second standard speed. The first position information is 70 degrees, also corresponding to fan A, and fan A's standard operating speed is the first standard speed. In this case, according to the optimized control logic, the operating speed of fan A is changed from the second standard speed to the first standard speed, and it starts working. The fan itself does not change.

[0104] Furthermore, when the third position information at the next moment is acquired, the third position information is compared with the second position information to determine the current state of the lamp, and the target fan and its operating speed are determined. That is, the third position information is used as the first position information at the current moment, and the first position information at the current moment is used as the first position information at the previous moment. The above steps are repeated to determine the target fan and its operating speed.

[0105] In this embodiment, the lamp fan is controlled according to the current state, the first target fan, and the first standard speed. Depending on whether the lamp is currently stationary or in motion, a corresponding control strategy is adopted to avoid the influence of sensor errors and situations where the lamp's micro-movements cause the fan to malfunction.

[0106] In one embodiment, the optimized control logic includes at least one of the following: controlling the switching time between the second position information and the first position information to be greater than a preset switching time; controlling the rotational speed between the second position information and the first position information to be less than a preset rotational speed; smoothing the second standard rotational speed; and calibrating the actual operating speed of the first target fan.

[0107] The switching time between the second position information and the first position information is controlled to be greater than the preset switching time. For example, by increasing the switching time between fans, such as 10 seconds, the speed of fan A gradually decreases from the second standard speed to 0 speed within 10 seconds, and the speed of fan B gradually increases from 0 speed to the corresponding speed within 10 seconds.

[0108] Under harsh external conditions, the internal operating temperature of the lighting fixture is very high. In such cases, the fan's starting voltage is too low, and the temperature affects its ability to start normally. An excitation voltage is needed to stimulate the fan to run for a period of time, allowing the fan speed to return to the normal standard speed. This means controlling the speed between the second and first position information to be less than a preset speed. For example, controlling fan A to gradually decrease from the second standard speed to 0 speed at a preset speed, and controlling fan B to gradually increase from 0 speed to the first standard speed at a preset speed.

[0109] The second standard speed is smoothed out. For example, when fan A is working, there are several areas in the working area of ​​fan A. Among these areas, there are two areas where the speed difference is too large. At this time, the second standard speed of the fan is smoothed out to prevent the noise generated when the fan speed decreases from high to low. The speed is allowed to slowly transition to the first standard speed, and the noise is also slowed down.

[0110] The actual operating speed of the first target fan is calibrated. For example, if the first target fan is not operating at the first standard speed, the actual operating speed of the first target fan is calibrated to obtain the first standard speed.

[0111] In this embodiment of the application, if both fans stop working while the light source is working, it will not only cause the light source to go out, but may also damage the light source. At this time, the optimized control logic can prevent the light source from going out or being damaged.

[0112] Figure 8 This is a flowchart illustrating the process of determining the standard rotational speed in one embodiment, such as... Figure 8 As shown, it includes the following steps:

[0113] S801, obtain the actual operating speed of the target fan in operation.

[0114] In this embodiment, as Figure 9 As shown, the actual operating speed during operation can be obtained through the fan speed detection circuit 304, such as... Figure 9 The control unit can read the signal at the FAN1SPD fan speed feedback pin to know the target fan speed, that is, the actual operating speed of the target fan.

[0115] Optionally, the fan speed detection circuit 304 includes: voltage divider resistors, filter capacitors, etc.

[0116] S802: If the standard speed of the target fan in operation is inconsistent with the actual operating speed, the actual operating speed will be adjusted to the standard speed.

[0117] In this embodiment, when the standard speed of the target fan in operation is inconsistent with the actual operating speed, the control unit generates a control signal of analog level (i.e., FAN1DAC) or PWM waveform (i.e., FAN1PWM). The level follower circuit 302 filters and regulates the voltage according to the control signal provided by the control unit to obtain the control level of the voltage conversion circuit 301, and outputs it to the feedback pin of the voltage conversion circuit 301, such as... Figure 7 The VSENS1 feedback pin is connected to the VSENSE pin of the U1 chip in the voltage conversion circuit 301, thereby using software to control the change of the voltage output amplitude of the control unit. The output amplitude of the variable FAN1PWM signal controls the fan speed control circuit 303 to achieve the purpose of controlling the target fan speed.

[0118] Further, obtain the adjusted actual operating speed until the adjusted actual operating speed is consistent with the standard operating speed.

[0119] This application adds a temperature-drift-free voltage follower circuit to provide continuously adjustable voltage, and adds a fan speed detection circuit to detect fan speed, read fan speed information, and then automatically control and adjust the output voltage of the fan drive circuit to form a closed loop, outputting an accurate and stable speed, making the lamp's fan speed more precise and stable. Furthermore, combined with software optimization algorithms, it eliminates fan speed instability caused by system component errors and dynamic operating factors, as well as issues such as sudden stops and incorrect fan starts. It features high control precision, no temperature drift, is unaffected by component precision, and has high reliability.

[0120] Optionally, for four-wire fans, PWM signals are used to control the above. Figure 9The circuit shown provides more convenient and precise two-stage speed control for the fan. Alternatively, the level follower circuit consisting of the aforementioned low-noise operational amplifier can be omitted when controlling the target fan and its speed, allowing for single-stage adjustment to reduce costs and offering great flexibility.

[0121] In this embodiment, the actual operating speed of the target fan in operation is obtained. When the standard speed of the target fan in operation is inconsistent with the actual operating speed, the actual operating speed is adjusted to the standard speed. In this embodiment, the accuracy of the wind speed is judged by the actual operating speed, and the actual operating speed is automatically controlled and adjusted to form a closed loop until the adjusted actual operating speed is consistent with the standard operating speed, so as to control the specified speed of the fan and avoid the bad user experience of the fan speed fluctuating.

[0122] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0123] Based on the same inventive concept, this application also provides a fan control device for implementing the fan control method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more fan control device embodiments provided below can be found in the limitations of the fan control method described above, and will not be repeated here.

[0124] In one embodiment, such as Figure 10 As shown, a fan control device is provided, including: a first acquisition module 11 and a determination module 12, wherein:

[0125] The first acquisition module 11 is used to acquire the first position information of the lamp at the current moment;

[0126] The determining module 12 is used to determine the first target fan in the lamp and the first standard speed of the first target fan in the working state according to the first position information and the preset correspondence; the preset correspondence includes the correspondence between position information, fan and working speed;

[0127] The control module is used to control the fan of the lamp based on the first position information, the second position information of the previous moment, the first target fan, and the first standard speed.

[0128] In one embodiment, the control module includes:

[0129] The determining unit is used to determine the current state of the lamp based on the first position information and the second position information;

[0130] The control unit is used to control the lamp's fan based on the current state, the first target fan, and the first standard speed.

[0131] In one embodiment, the determining unit is further configured to determine the difference between the first position information and the second position information; and determine the current state of the lamp based on the difference and the second position information.

[0132] In one embodiment, the determining unit is further configured to determine the current state as a stationary state if the second position information is within a preset position range and the difference is less than a first preset difference; determine the current state as a moving state if the second position information is within a preset position range and the difference is not less than the first preset difference; determine the current state as a stationary state if the second position information is not within a preset position range and the difference is equal to the second preset difference; and determine the current state as a moving state if the second position information is not within a preset position range and the difference is not equal to the second preset difference.

[0133] In one embodiment, the control unit is further configured to determine the second target fan and the second standard speed if the current state is a stationary state, and control the speed of the second target fan to the second standard speed; the second target fan and the second standard speed are determined according to the second position information and a preset correspondence; if the current state is a moving state, the control unit controls the first target fan to work at the first standard speed according to the optimized control logic.

[0134] In one embodiment, the optimization control logic includes at least one of the following:

[0135] The switching time between the second position information and the first position information is controlled to be greater than a preset switching time; the rotational speed between the second position information and the first position information is controlled to be less than a preset rotational speed; the second standard rotational speed is smoothed; and the actual operating speed of the first target fan is calibrated.

[0136] In one embodiment, the fan control device further includes:

[0137] The second acquisition module is used to acquire the actual operating speed of the target fan in operation.

[0138] The adjustment module is used to adjust the actual operating speed to the standard speed if the standard speed of the target fan in operation is inconsistent with the actual operating speed.

[0139] Each module in the aforementioned fan control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0140] In one embodiment, a lighting fixture is provided, which may be a server, and its internal structure diagram may be as follows: Figure 11 As shown, the luminaire includes a processor, memory, and network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores luminaire control-related data. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements a fan control method.

[0141] Those skilled in the art will understand that Figure 11 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0142] In one embodiment, a luminaire is provided, including a memory and a processor, the memory storing a computer program, the processor executing the computer program to perform the following steps:

[0143] Obtain the current position information of the light fixture;

[0144] Based on the first position information and the preset correspondence, the first target fan in the lamp and the first standard speed of the first target fan in the working state are determined; the preset correspondence includes the correspondence between position information, fan and working speed.

[0145] The lamp fan is controlled based on the first position information, the second position information of the previous moment, the first target fan, and the first standard speed.

[0146] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0147] Based on the first and second location information, determine the current status of the lighting fixture;

[0148] The lamp's fan is controlled based on the current status, the first target fan, and the first standard speed.

[0149] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0150] Determine the difference between the first location information and the second location information;

[0151] The current state of the luminaire is determined based on the difference and the second position information.

[0152] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0153] If the second location information is within the preset location range and the difference is less than the first preset difference, then the current state is determined to be a stationary state.

[0154] If the second position information is within the preset position range and the difference is not less than the first preset difference, then the current state is determined to be a motion state.

[0155] If the second location information is not within the preset location range and the difference is equal to the second preset difference, then the current state is determined to be a stationary state.

[0156] If the second position information is not within the preset position range and the difference is not equal to the second preset difference, then the current state is determined to be a motion state.

[0157] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0158] If the current state is stationary, then the second target fan speed and the second standard speed are determined, and the speed of the second target fan is controlled to be the second standard speed; the second target fan speed and the second standard speed are determined according to the second position information and the preset correspondence.

[0159] If the current state is in motion, then the first target fan is controlled to operate at the first standard speed according to the optimized control logic.

[0160] In one embodiment, the optimization control logic includes at least one of the following:

[0161] The switching time between the second location information and the first location information is greater than a preset switching time;

[0162] The rotational speed between the second position information and the first position information is controlled to be less than a preset rotational speed;

[0163] The second standard speed is smoothed.

[0164] The actual operating speed of the first target fan is calibrated.

[0165] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0166] Obtain the actual operating speed of the target fan when it is in operation;

[0167] If the standard speed of the target fan in operation is inconsistent with the actual operating speed, the actual operating speed should be adjusted to the standard speed.

[0168] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0169] Obtain the current position information of the light fixture;

[0170] Based on the first position information and the preset correspondence, the first target fan in the lamp and the first standard speed of the first target fan in the working state are determined; the preset correspondence includes the correspondence between position information, fan and working speed.

[0171] The lamp fan is controlled based on the first position information, the second position information of the previous moment, the first target fan, and the first standard speed.

[0172] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0173] Based on the first and second location information, determine the current status of the lighting fixture;

[0174] The lamp's fan is controlled based on the current status, the first target fan, and the first standard speed.

[0175] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0176] Determine the difference between the first location information and the second location information;

[0177] The current state of the luminaire is determined based on the difference and the second position information.

[0178] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0179] If the second location information is within the preset location range and the difference is less than the first preset difference, then the current state is determined to be a stationary state.

[0180] If the second position information is within the preset position range and the difference is not less than the first preset difference, then the current state is determined to be a motion state.

[0181] If the second location information is not within the preset location range and the difference is equal to the second preset difference, then the current state is determined to be a stationary state.

[0182] If the second position information is not within the preset position range and the difference is not equal to the second preset difference, then the current state is determined to be a motion state.

[0183] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0184] If the current state is stationary, then the second target fan speed and the second standard speed are determined, and the speed of the second target fan is controlled to be the second standard speed; the second target fan speed and the second standard speed are determined according to the second position information and the preset correspondence.

[0185] If the current state is in motion, then the first target fan is controlled to operate at the first standard speed according to the optimized control logic.

[0186] In one embodiment, the optimization control logic includes at least one of the following:

[0187] The switching time between the second location information and the first location information is greater than a preset switching time;

[0188] The rotational speed between the second position information and the first position information is controlled to be less than a preset rotational speed;

[0189] The second standard speed is smoothed.

[0190] The actual operating speed of the first target fan is calibrated.

[0191] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0192] Obtain the actual operating speed of the target fan when it is in operation;

[0193] If the standard speed of the target fan in operation is inconsistent with the actual operating speed, the actual operating speed should be adjusted to the standard speed.

[0194] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0195] Obtain the current position information of the light fixture;

[0196] Based on the first position information and the preset correspondence, the first target fan in the lamp and the first standard speed of the first target fan in the working state are determined; the preset correspondence includes the correspondence between position information, fan and working speed.

[0197] The lamp fan is controlled based on the first position information, the second position information of the previous moment, the first target fan, and the first standard speed.

[0198] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0199] Based on the first and second location information, determine the current status of the lighting fixture;

[0200] The lamp's fan is controlled based on the current status, the first target fan, and the first standard speed.

[0201] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0202] Determine the difference between the first location information and the second location information;

[0203] The current state of the luminaire is determined based on the difference and the second position information.

[0204] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0205] If the second location information is within the preset location range and the difference is less than the first preset difference, then the current state is determined to be a stationary state.

[0206] If the second position information is within the preset position range and the difference is not less than the first preset difference, then the current state is determined to be a motion state.

[0207] If the second location information is not within the preset location range and the difference is equal to the second preset difference, then the current state is determined to be a stationary state.

[0208] If the second position information is not within the preset position range and the difference is not equal to the second preset difference, then the current state is determined to be a motion state.

[0209] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0210] If the current state is stationary, then the second target fan speed and the second standard speed are determined, and the speed of the second target fan is controlled to be the second standard speed; the second target fan speed and the second standard speed are determined according to the second position information and the preset correspondence.

[0211] If the current state is in motion, then the first target fan is controlled to operate at the first standard speed according to the optimized control logic.

[0212] In one embodiment, the optimization control logic includes at least one of the following:

[0213] The switching time between the second location information and the first location information is greater than a preset switching time;

[0214] The rotational speed between the second position information and the first position information is controlled to be less than a preset rotational speed;

[0215] The second standard speed is smoothed.

[0216] The actual operating speed of the first target fan is calibrated.

[0217] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0218] Obtain the actual operating speed of the target fan when it is in operation;

[0219] If the standard speed of the target fan in operation is inconsistent with the actual operating speed, the actual operating speed should be adjusted to the standard speed.

[0220] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0221] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0222] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A fan control method, characterized in that, The method includes: Obtain the current position information of the light fixture; Based on the first location information and the preset correspondence, the first target fan in the lamp and the first standard rotation speed of the first target fan in the working state are determined; the preset correspondence includes the correspondence between location information, fan and working speed. The difference between the first position information and the second position information at the previous moment is determined. If the second position information is within a preset position range and the difference is less than a first preset difference, the current state of the lamp is determined to be a stationary state. If the second position information is within the preset position range and the difference is not less than the first preset difference, the current state is determined to be a moving state. If the second position information is not within the preset position range and the difference is equal to a second preset difference, the current state is determined to be a stationary state. If the second position information is not within the preset position range and the difference is not equal to the second preset difference, the current state is determined to be a moving state. The fan of the lamp is controlled according to the current state, the first target fan, and the first standard speed.

2. The method according to claim 1, characterized in that, The step of controlling the fan of the lamp according to the current state, the first target fan, and the first standard speed includes: If the current state is a stationary state, then the second target fan and the second standard speed are determined, and the speed of the second target fan is controlled to be the second standard speed; the second target fan and the second standard speed are determined according to the second position information and the preset correspondence; If the current state is a motion state, then the first target fan is controlled to operate at the first standard speed according to the optimized control logic.

3. The method according to claim 2, characterized in that, The optimization control logic includes at least one of the following: The switching time between the second location information and the first location information is controlled to be greater than a preset switching time; The rotational speed between the second position information and the first position information is controlled to be less than a preset rotational speed; The second standard rotational speed is smoothed. The actual operating speed of the first target fan is calibrated.

4. The method according to claim 1, characterized in that, The method further includes: Obtain the actual operating speed of the target fan when it is in operation; If the standard speed of the target fan in operation is inconsistent with the actual operating speed, the actual operating speed will be adjusted to the standard speed.

5. A fan control device, characterized in that, The device includes: The first acquisition module is used to acquire the first position information of the lamp at the current moment; The determining module is used to determine the first target fan in the lamp and the first standard rotation speed of the first target fan in the working state based on the first position information and the preset correspondence relationship; the preset correspondence relationship includes the correspondence relationship between position information, fan and working speed; The control module is used to determine the difference between the first position information and the second position information at the previous moment. If the second position information is within a preset position range and the difference is less than a first preset difference, the current state of the lamp is determined to be a stationary state. If the second position information is within the preset position range and the difference is not less than the first preset difference, the current state is determined to be a moving state. If the second position information is not within the preset position range and the difference is equal to a second preset difference, the current state is determined to be a stationary state. If the second position information is not within the preset position range and the difference is not equal to the second preset difference, the current state is determined to be a moving state. The control module controls the fan of the lamp according to the current state, the first target fan, and the first standard rotation speed.

6. A lighting fixture, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 4.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.