A method for sun protection with a moving head light and the moving head light itself.
By using a pose sensor to obtain the current installation status of the moving head light, calculating the difference, and adjusting the light head to face the ground, the problem of damage caused by the moving head light facing the sun when in standby mode is solved, and sun protection is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGZHOU YAJIANG PHOTOELECTRIC EQUIP CO LTD
- Filing Date
- 2023-06-14
- Publication Date
- 2026-05-26
AI Technical Summary
The moving head light has a problem where the internal light source and components are burned out when it is in standby mode because the light head is facing the sun.
The current installation status of the moving head light is obtained by the posture sensor, the difference is calculated to determine the current installation status, and the light head is adjusted to face the ground according to the installation status. The control values of the X and Y axes are adjusted using the pre-stored control values to make the light head avoid sunlight.
This effectively prevents internal damage to moving head lights caused by the light head facing sunlight, protecting the light source and components.
Smart Images

Figure CN116734196B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of sun protection for moving head lights, and more particularly to a method for sun protection for moving head lights and a moving head light. Background Technology
[0002] With the rise of cultural tourism, more and more scenic spots are creating outdoor light show projects, and outdoor moving head lights are an essential lighting fixture. Since moving head lights are often installed outdoors, under the strong sunlight during the day, the lamp head of the fixture is often facing the sun when in standby mode. Because the lens of the moving head light has a focusing effect, sunlight will pass through the lens of the lamp head and shine into the lamp's interior. The focused sunlight can burn out the light source and components inside the lamp cavity. Therefore, how to control the moving head light to face the ground according to its installation state when in standby mode is an urgent problem to be solved. Summary of the Invention
[0003] This invention provides a method for sun protection of a moving head light and a moving head light, which can control the lamp head of the moving head light to face the ground according to the installation state of the moving head light when it is in standby mode.
[0004] This invention provides a method for sun protection of a moving head light, comprising: acquiring the current pose state value of the moving head light;
[0005] The current pose state value is compared with the pre-stored pose state values of the moving head light in various installation states, and the current installation state of the moving head light is determined based on the comparison result.
[0006] Based on the current installation state of the moving head light, determine the corresponding pre-stored control values for the X and Y axes of the moving head light when the light head of the moving head light is adjusted to face the ground;
[0007] The moving head light is adjusted according to the pre-stored control value.
[0008] Furthermore, obtaining the current pose state value of the moving head light includes:
[0009] The current pose state value of the moving head light is extracted by a pose sensor installed on the base of the moving head light.
[0010] Furthermore, the installation states of the moving head light include: upright, upside down, and side-mounted;
[0011] The step of comparing the current pose state value with the pre-stored pose state values of the moving head light in various installation states, and determining the current installation state of the moving head light based on the comparison result, includes:
[0012] Calculate the differences between the current pose state value and the pre-stored pose state value when the lamp is upright, the pre-stored pose state value when the lamp is upside down, and the pre-stored pose state value when the lamp is sideways, and generate the first difference, the second difference, and the third difference accordingly.
[0013] When the first difference is determined to be the smallest, the current installation state of the moving head light is determined to be upright;
[0014] When the second difference is determined to be the smallest, the current installation state of the moving head light is determined to be upside down;
[0015] When the third difference is determined to be the smallest, the current installation state of the moving head light is determined to be side-mounted.
[0016] Furthermore, based on the current installation status of the moving head light, determine the pre-stored control values required for the X and Y axes of the moving head light when the light head is adjusted to face the ground, including:
[0017] When the current installation state of the moving head light is determined to be upright, the required pre-stored control value for the X-axis is any value, and the required pre-stored control value for the Y-axis is 0.
[0018] When the current installation state of the moving head light is determined to be upside down, the required pre-stored control value for the X-axis is any value, and the required pre-stored control value for the Y-axis is 127.
[0019] When the current installation state of the moving head light is determined to be side-mounted, the required pre-stored control value for the Y-axis is 42, and the required control value for the X-axis is expressed by the following formula:
[0020]
[0021] Among them, X 控制值 This represents the control value required for the X-axis, and Q represents the counterclockwise rotation angle required when the reference surface of the lamp base needs to face the ground.
[0022] Furthermore, adjusting the moving head light according to the pre-stored control value includes:
[0023] If the moving head light is currently installed upright, adjust the Y-axis of the moving head light until the control value corresponding to the Y-axis is 0;
[0024] If the moving head light is currently installed upside down, adjust the Y-axis of the moving head light until the control value corresponding to the Y-axis is 127.
[0025] If the moving head light is currently installed in a side-mounted state, adjust the Y-axis of the moving head light until the control value corresponding to the Y-axis is 42, and then adjust the control value corresponding to the X-axis of the moving head light according to the following formula:
[0026]
[0027] Furthermore, before comparing the current pose state value with the pre-stored pose state values of the moving head light in various installation states, and determining the current installation state of the moving head light based on the comparison result, the process further includes:
[0028] Determine whether there is a control signal to control the moving head light. If there is a control signal to control the moving head light, determine whether the control signal has a sun protection command. If there is a sun protection command, execute the subsequent steps. If there is no sun protection command, continue to determine whether the control signal has a sun protection command.
[0029] If no control signal is received to control the moving head light, proceed to the next step.
[0030] In another embodiment of the present invention, a moving head light is provided, comprising: a lamp base, a fixed bracket connected to the lamp base, a lamp head connected to the fixed bracket, and a posture sensor and a main control microcontroller disposed in the lamp base;
[0031] The pose sensor is used to monitor the current pose state of the moving head light, obtain the current pose state value of the moving head light, and transmit the current pose state value to the main control microcontroller.
[0032] The main control microcontroller is used to execute any one of the above-described moving head light sun protection methods, so that the light head faces the ground.
[0033] Furthermore, the pose sensor includes a three-axis accelerometer.
[0034] The embodiments of the present invention have the following beneficial effects:
[0035] This invention provides a method for sun protection of a moving head light. After obtaining the current pose state value of the moving head light, the method compares this current pose state value with pre-stored pose state values of the moving head light in various installation states. Based on the comparison result, the current installation state of the moving head light can be determined. Then, based on the current installation state, the pre-stored control values corresponding to the X and Y axes required to adjust the moving head light head to face the ground are determined. The moving head light is then adjusted according to the pre-stored control values so that the moving head light head faces the ground. By implementing this invention, the moving head light head can be controlled to face the ground based on its installation state when in standby mode, thereby preventing the internal components of the moving head light from being burned out due to the moving head light head facing the sun. Attached Figure Description
[0036] Figure 1 This is a schematic diagram of a method for sun protection using a moving head lamp according to an embodiment of the present invention;
[0037] Figure 2 This is a schematic diagram of the moving head light provided in an embodiment of the present invention when it is installed upright;
[0038] Figure 3 This is a schematic diagram of the moving head light provided in an embodiment of the present invention when it is installed upside down;
[0039] Figure 4 This is a schematic diagram of the moving head light provided in an embodiment of the present invention when it is installed on its side;
[0040] Figure 5 This is a schematic diagram of the overall logic flow of the head-moving lamp sun protection provided in an embodiment of the present invention; Detailed Implementation
[0041] The technical solutions of this invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0042] like Figure 1 As shown, one embodiment provides a method for sun protection using a moving head lamp, comprising:
[0043] Step S101: Obtain the current pose state value of the moving head light;
[0044] Step S102: Compare the current pose state value with the pre-stored pose state values of the moving head light in various installation states, and determine the current installation state of the moving head light based on the comparison result.
[0045] Step S103: Based on the current installation state of the moving head light, determine the pre-stored control values required for the X-axis and Y-axis of the moving head light when the light head of the moving head light is adjusted to face the ground;
[0046] Step S104: Adjust the moving head light according to the pre-stored control value.
[0047] For step S101, in a preferred embodiment, the current pose state value of the moving head light is extracted by a pose sensor installed on the base of the moving head light.
[0048] Specifically, a pose sensor installed on the moving head light base monitors the pose state of the base in real time and obtains the corresponding current pose state value of the moving head light. For example, the moving head light is fixed by the base. The pose state of the moving head light refers to the different installation methods used. For instance, the base can be installed upside down on a ceiling, on a footrest, or on a vertical wall. The pose sensor generates a corresponding current pose state value for each installation method, and this current state value is used as the current pose state value of the moving head light.
[0049] For step S102, in a preferred embodiment, the installation state of the moving head light includes: upright, upside down, and side-mounted;
[0050] The step of comparing the current pose state value with the pre-stored pose state values of the moving head light in various installation states, and determining the current installation state of the moving head light based on the comparison result, includes:
[0051] Calculate the differences between the current pose state value and the pre-stored pose state value when the lamp is upright, the pre-stored pose state value when the lamp is upside down, and the pre-stored pose state value when the lamp is sideways, and generate the first difference, the second difference, and the third difference accordingly.
[0052] When the first difference is determined to be the smallest, the current installation state of the moving head light is determined to be upright;
[0053] When the second difference is determined to be the smallest, the current installation state of the moving head light is determined to be upside down;
[0054] When the third difference is determined to be the smallest, the current installation state of the moving head light is determined to be side-mounted.
[0055] Specifically, after obtaining the current pose state value of the moving head light, the difference between the current pose state value of the moving head light and the pre-stored pose state value when the light fixture is upright is calculated to generate a first difference value; the difference between the current pose state value of the moving head light and the pre-stored pose state value when the light fixture is upside down is calculated to generate a second difference value; the difference between the current pose state value of the moving head light and the pre-stored pose state value when the light fixture is side-mounted is calculated to generate a third difference value. Then, by comparing the first difference value, the second difference value, and the third difference value, the current installation state of the moving head light is determined to be upright when the first difference value is the smallest; the current installation state of the moving head light is determined to be upside down when the second difference value is the smallest; and the current installation state of the moving head light is determined to be side-mounted when the third difference value is the smallest. That is, the current installation state of the moving head light is determined by judging which pre-stored pose state value the current pose state value of the moving head light is closest to.
[0056] For step S103, in a preferred embodiment, based on the current installation state of the moving head light, the required pre-stored control values for the X and Y axes of the moving head light when the light head is adjusted to face the ground are determined, including:
[0057] When the current installation state of the moving head light is determined to be upright, the required pre-stored control value for the X-axis is any value, and the required pre-stored control value for the Y-axis is 0.
[0058] When the current installation state of the moving head light is determined to be upside down, the required pre-stored control value for the X-axis is any value, and the required pre-stored control value for the Y-axis is 127.
[0059] When the current installation state of the moving head light is determined to be side-mounted, the required pre-stored control value for the Y-axis is 42, and the required control value for the X-axis is expressed by the following formula:
[0060]
[0061] Among them, X 控制值 This represents the control value required for the X-axis, and Q represents the counterclockwise rotation angle required when the reference surface of the lamp base needs to face the ground.
[0062] Specifically, the typical travel of a moving head light is [0, 540]° in the X-axis and [0, 270]° in the Y-axis, with the control values for both the X and Y axes ranging from [0, 255]. Figure 2 As shown, when the moving head light is currently installed upright, the required pre-stored control value for the X-axis is any value in [0, 255], and the required pre-stored control value for the Y-axis is 0, at which point the corresponding Y-axis travel is 0°; Figure 3As shown, when the moving head light is currently installed upside down, the required pre-stored control value for the X-axis is any value in [0, 255], and the required pre-stored control value for the Y-axis is 127. At this time, the corresponding Y-axis travel is 135°. Figure 4 As shown, when the current installation state of the moving head light is determined to be side-mounted, the required pre-stored control value for the Y-axis is 42. At this time, the corresponding Y-axis travel is 45°. Since the total X-axis travel is 540°, and the range of X-axis control values is [0, 255], 540 is now allocated according to 255, that is, 255 / 540. 255 / 540 can be simplified to 170 / 360. This makes it clear that 170 X-axis control values are allocated to 360°. The display panel on the moving head light base is used as the calibration surface (also called the base). For a reference surface, when the X-axis is rotated clockwise to its maximum position, it aligns perfectly with the calibration surface, and the control value of the X-axis is 0. For a side-mounted moving head light, if the calibration surface of its base is not facing the ground, the sensor can detect and determine the angle Q that needs to be rotated counterclockwise to make the calibration surface face the ground. That is, when the calibration surface is rotated counterclockwise by an angle Q, it will face the ground. Therefore, with the base of the moving head light already fixed, simply rotating the X-axis counterclockwise by an angle Q will make the lamp head face the ground. Thus, when the reference surface requires an angle Q of counterclockwise rotation to face the ground, only the X-axis needs to be rotated counterclockwise by an angle Q. The corresponding control value of the X-axis can then be determined according to the formula... It was found that after adjusting the control value of the X-axis, the lamp head of the lamp could be oriented towards the ground.
[0063] In another optional embodiment, under normal circumstances, to visually indicate from the data whether the lamp heads of each side-mounted light fixture are facing the ground, the base surfaces of all side-mounted light fixtures can be aligned with the ground during installation. This way, by controlling the data, simply setting the X-axis control value to 0 indicates that the lamp heads are facing the ground. It should be noted that when side-mounted, the bottom surface of the lamp base does not necessarily need to form a 90° angle with the ground. Even with a slight tilt, the lamp heads should still face downwards to achieve the desired sun protection effect.
[0064] For step S104, in an optional embodiment, adjusting the moving head light according to the pre-stored control value includes:
[0065] If the moving head light is currently installed upright, adjust the Y-axis of the moving head light until the control value corresponding to the Y-axis is 0;
[0066] If the moving head light is currently installed upside down, adjust the Y-axis of the moving head light until the control value corresponding to the Y-axis is 127.
[0067] If the moving head light is currently installed in a side-mounted state, adjust the Y-axis of the moving head light until the control value corresponding to the Y-axis is 42, and then adjust the control value corresponding to the X-axis of the moving head light according to the following formula:
[0068] In a preferred embodiment, before comparing the current pose state value with the pre-stored pose state values of the moving head light in various installation states, and determining the current installation state of the moving head light based on the comparison result, the method further includes:
[0069] Determine whether there is a control signal to control the moving head light. If there is a control signal to control the moving head light, determine whether the control signal has a sun protection command. If there is a sun protection command, execute the subsequent steps. If there is no sun protection command, continue to determine whether the control signal has a sun protection command.
[0070] If no control signal is given to control the moving head light, proceed with the next steps.
[0071] Specifically, the system determines whether there is a control signal to control the moving head light. If there is no control signal, the moving head light is in standby mode and will automatically execute subsequent sun protection steps. If there is a control signal, the moving head light is under control, and it needs to determine whether the control signal contains a sun protection command. If it does, the moving head light executes the subsequent sun protection steps. If no sun protection command is issued, the system continues to determine and identify whether the control signal contains a sun protection command.
[0072] In another embodiment of the present invention, a moving head light is provided, comprising: a lamp base, a fixed bracket connected to the lamp base, a lamp head connected to the fixed bracket, and a posture sensor and a main control microcontroller disposed in the lamp base;
[0073] The pose sensor is used to monitor the current pose state of the moving head light, obtain the current pose state value of the moving head light, and transmit the current pose state value to the main control microcontroller.
[0074] The main control microcontroller is used to execute any one of the above-described moving head light sun protection methods, so that the light head faces the ground.
[0075] Specifically, in one optional embodiment, the difference between the pre-stored pose state value when the lamp is placed upright, the pre-stored pose state value when the lamp is upside down, and the pre-stored pose state value when the lamp is hung on the side is recorded by the main control microcontroller when a lamp is placed in its actual position. These three values are stored in the storage IC of each moving head lamp. When the lamp is powered on, the main control IC of the lamp continuously acquires the sensing value of the pose sensor, that is, continuously acquires the current pose state value of the moving head lamp. Then, by comparing the acquired current pose state value with the pose state value pre-stored in the IC, the current installation state of the moving head lamp can be determined.
[0076] In an optional embodiment, the pose sensor includes, but is not limited to, a three-axis accelerometer.
[0077] In summary, the overall logic flowchart of this invention is as follows: Figure 5 As shown, by implementing the above embodiments of the present invention, the lamp head of the moving head light can be controlled to face the ground according to the installation state of the moving head light when it is in standby mode, thereby avoiding the internal parts of the moving head light being burned out due to the lamp head facing the sun.
[0078] The above describes the preferred embodiment of the present invention. It should be noted that, for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications are also considered to be protected by the present invention.
Claims
1. A method for sun protection of a moving head lamp, characterized in that, include: Get the current pose state value of the moving head light; The current pose state value is compared with the pre-stored pose state values of the moving head light in various installation states, and the current installation state of the moving head light is determined based on the comparison result. Based on the current installation state of the moving head light, determine the corresponding pre-stored control values for the X and Y axes of the moving head light when the light head of the moving head light is adjusted to face the ground; The moving head light is adjusted according to the pre-stored control value; The installation states of the moving head light include: upright, upside down, and side-mounted; The step of comparing the current pose state value with the pre-stored pose state values of the moving head light in various installation states, and determining the current installation state of the moving head light based on the comparison result, includes: Calculate the differences between the current pose state value and the pre-stored pose state value when the lamp is upright, the pre-stored pose state value when the lamp is upside down, and the pre-stored pose state value when the lamp is sideways, and generate the first difference, the second difference, and the third difference accordingly. When the first difference is determined to be the smallest, the current installation state of the moving head light is determined to be upright; When the second difference is determined to be the smallest, the current installation state of the moving head light is determined to be upside down; When the third difference is determined to be the smallest, the current installation state of the moving head light is determined to be side-mounted; Based on the current installation status of the moving head light, determine the required pre-stored control values for the X and Y axes of the moving head light when the light head is adjusted to face the ground, including: When the current installation state of the moving head light is determined to be upright, the required pre-stored control value for the X-axis is any value, and the required pre-stored control value for the Y-axis is 0. When the current installation state of the moving head light is determined to be upside down, the required pre-stored control value for the X-axis is any value, and the required pre-stored control value for the Y-axis is 127. When the current installation state of the moving head light is determined to be side-mounted, the required pre-stored control value for the Y-axis is 42, and the required control value for the X-axis is expressed by the following formula: in, This represents the control value required for the X-axis, and Q represents the counterclockwise rotation angle required when the reference surface of the lamp base needs to face the ground.
2. The method for sun protection of a moving head lamp as described in claim 1, characterized in that, The process of obtaining the current pose state value of the moving head light includes: The current pose state value of the moving head light is extracted by a pose sensor installed on the base of the moving head light.
3. The method for sun protection of a moving head lamp as described in claim 2, characterized in that, Adjusting the moving head light according to the pre-stored control value includes: If the moving head light is currently installed upright, adjust the Y-axis of the moving head light until the control value corresponding to the Y-axis is 0; If the moving head light is currently installed upside down, adjust the Y-axis of the moving head light until the control value corresponding to the Y-axis is 127. If the moving head light is currently installed in a side-mounted state, adjust the Y-axis of the moving head light until the control value corresponding to the Y-axis is 42, and then adjust the control value corresponding to the X-axis of the moving head light according to the following formula: 。 4. The method for sun protection of a moving head lamp as described in claim 1, characterized in that, Before comparing the current pose state value with the pre-stored pose state values of the moving head light under various installation states, and determining the current installation state of the moving head light based on the comparison result, the process further includes: Determine whether there is a control signal to control the moving head light. If there is a control signal to control the moving head light, determine whether the control signal has a sun protection command. If there is a sun protection command, execute the subsequent steps. If there is no sun protection command, continue to determine whether the control signal has a sun protection command. If no control signal is given to control the moving head light, proceed with the next steps.
5. A moving head light, characterized in that, include: The lamp base, the fixed bracket connected to the lamp base, the lamp head connected to the fixed bracket, and the posture sensor and the main control microcontroller installed in the lamp base; The pose sensor is used to monitor the current pose state of the moving head light, obtain the current pose state value of the moving head light, and transmit the current pose state value to the main control microcontroller. The main control microcontroller is used to execute the sun protection method for moving head lights according to any one of claims 1-3, so that the light head faces the ground.
6. The moving head light as described in claim 5, characterized in that, The pose sensor includes a three-axis accelerometer.