Energy-saving lighting equipment and method for intelligent sheep house
By using movable reflectors in the energy-saving lighting equipment of the smart sheep house, the position and angle of the reflector are adjusted according to the orientation information of the target lighting area, the problem of uneven light distribution is solved, and the precise guidance and efficient illumination of light is achieved.
Patent Information
- Application Number
- CN202510098575.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-22
- Publication Date
- 2025-05-02
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In smart sheep houses, traditional direct light sources are difficult to evenly cover the target area, resulting in uneven light distribution and reducing the irradiation effectiveness of energy-saving lighting equipment.
By using multiple movable reflectors in the energy-saving lighting equipment, the positions and angles of the main reflector and the auxiliary reflector are determined based on the orientation information of the target lighting area in the smart sheep house, the illumination path of the light source component is constructed, and the focus and illumination direction of the light are adjusted by the deflection angle.
It realizes precise guidance of light in target lighting areas with complex spatial layout, improves the illumination effectiveness of energy-saving lighting equipment, ensures that light is concentrated in target areas, and reduces the scattering and waste of light.
Smart Images

Figure CN119922797A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of energy-saving lighting equipment control, and more specifically, to an energy-saving lighting equipment and method for a smart sheep house. Background Art
[0002] With the popularization of energy-saving and environmental protection concepts, energy-saving lighting equipment control has been widely used. This control technology uses intelligent sensors, the Internet of Things and automated control systems to achieve precise control of lighting equipment to reduce energy consumption and reduce operating costs. In agricultural production, traditional lighting equipment has high energy consumption and low light efficiency, and it is difficult to meet the needs of energy conservation, emission reduction and precise lighting. Therefore, in the application of new agricultural technologies such as smart sheep houses, energy-saving lighting equipment control technology is particularly important. It can automatically adjust the lighting according to the environmental parameters in the sheep house to ensure the healthy growth of the sheep in a suitable lighting environment.
[0003] In the existing energy-saving lighting equipment control, the control of energy-saving lighting equipment aims at efficiently utilizing light energy and reducing energy consumption. It adopts a variety of technical means to work together. Through light source regulation, the brightness of the light source is dynamically adjusted according to the ambient light intensity or demand. Timing control is used to realize the timed start and stop of lighting equipment. Area division control is adopted to independently adjust the light source or reflective equipment for different areas to achieve precise lighting. However, in order to realize the intelligent control layout of smart sheep houses, it is usually necessary to consider a more complex spatial layout. It is difficult for traditional direct light sources to evenly cover the target area, resulting in uneven light distribution in the target illumination area (that is, some areas are too bright, and other areas are too dark), thereby reducing the illumination effectiveness of energy-saving lighting equipment. Therefore, how to accurately guide the light in the target lighting area with complex spatial layout, so as to improve the illumination effectiveness of energy-saving lighting equipment has become a difficult problem faced by the industry. Summary of the invention
[0004] The present application provides an energy-saving lighting device and method for a smart sheep house, which can accurately guide light to a target lighting area with a complex spatial layout, thereby improving the illumination effectiveness of the energy-saving lighting device.
[0005] In a first aspect, the present application provides a lighting control method for performing lighting control on an energy-saving lighting device installed in a smart sheep house, wherein the energy-saving lighting device includes a plurality of movable reflectors, and the method comprises the following steps: According to the orientation information of the target lighting area in the intelligent sheep house, the main reflector and the auxiliary reflector for illuminating the target lighting area in the energy-saving lighting equipment are determined; Determine a lateral distance and a vertical distance between a light source component and the main reflector in the energy-saving lighting device, construct an illumination path of the light source component through the lateral distance and the vertical distance, and determine a first deflection angle of the main reflector in the energy-saving lighting device according to the illumination path and an initial posture feature of the main reflector; Controlling the main reflector to deflect according to the first deflection angle, when the main reflector is deflected to a predetermined angle, extracting a second posture feature of the main reflector, and determining a plurality of edge radial distances between the auxiliary reflector and an outer edge of a target illumination area; Constructing a reflection path of the auxiliary reflector by combining all edge radial distances with the center point of the target lighting area, and then determining a second deflection angle of the auxiliary reflector in the energy-saving lighting device according to the reflection path and the second posture feature; The auxiliary reflector is controlled to illuminate the target illumination area according to the second deflection angle.
[0006] In some embodiments, determining the main reflector and the auxiliary reflector in the energy-saving lighting device for illuminating the target lighting area according to the position information of the target lighting area in the smart sheep house specifically includes: Acquire the orientation information of the target lighting area and the center position point of the light source component in the energy-saving lighting device; Connecting the center position point of the target lighting area in the orientation information with the center position point of the light source component in the energy-saving lighting device to obtain an illumination reference line of the target lighting area; marking a plurality of candidate reflectors in the energy-saving lighting device based on the illumination reference line; Identify the candidate reflector with the light receiving surface closest to the light source component from all the candidate reflectors as the main reflector for illuminating the target lighting area in the energy-saving lighting device; A backlight surface candidate reflector closest to the light source component is identified from all candidate reflectors as an auxiliary reflector for illuminating a target illumination area in the energy-saving lighting device.
[0007] In some embodiments, marking a plurality of candidate reflectors in the energy-saving lighting device based on the illumination reference line specifically includes: Calculating the vertical distance from each reflector in the energy-saving lighting device to the illumination reference line; For each reflector, the vertical distance corresponding to the reflector is compared with a vertical distance threshold, reflectors whose vertical distances are less than the vertical distance threshold are extracted, and the extracted reflectors are used as candidate reflectors in the energy-saving lighting device, thereby obtaining multiple candidate reflectors in the energy-saving lighting device.
[0008] In some embodiments, determining the lateral distance and the vertical distance between the light source component and the main reflector in the energy-saving lighting device specifically includes: Obtaining the center position coordinates of the light source component in the energy-saving lighting device and the center position coordinates of the main reflector; Determine the lateral distance between the light source component and the main reflector in the energy-saving lighting device according to the horizontal coordinate value in the center position coordinate of the light source component and the horizontal coordinate value in the center position coordinate of the main reflector; The vertical distance between the light source component and the main reflector in the energy-saving lighting device is determined according to the vertical coordinate value in the center position coordinate of the light source component and the vertical coordinate value in the center position coordinate of the main reflector.
[0009] In some embodiments, determining the first deflection angle of the main reflector in the energy-saving lighting device according to the illumination path and the initial posture characteristics of the main reflector specifically includes: Acquiring initial posture features of the main reflector, wherein the initial posture features include a plane normal vector and a horizontal deflection angle of the main reflector; Determine a reflection vector when the main reflector reflects light according to the plane normal vector and the illumination path; Calculating a reference angle between an incident direction of light from a light source component in the energy-saving lighting device and a reflection direction of a main reflector according to the reflection vector and the illumination path; The first deflection angle of the main reflector in the energy-saving lighting device is determined by the reference angle and the horizontal deflection angle.
[0010] In some embodiments, the target lighting area is a semi-enclosed sheep house area.
[0011] In some embodiments, the reflector in the energy-saving lighting device includes a backlight reflector and a light-receiving reflector.
[0012] In a second aspect, the present application provides an energy-saving lighting device for a smart sheep house, which includes a lighting control unit, and the lighting control unit includes: A determination module, used to determine the main reflector and the auxiliary reflector in the energy-saving lighting device for illuminating the target lighting area according to the orientation information of the target lighting area in the intelligent sheep house; a processing module, configured to determine a lateral distance and a vertical distance between a light source component in the energy-saving lighting device and the main reflector, construct an illumination path of the light source component through the lateral distance and the vertical distance, and determine a first deflection angle of the main reflector in the energy-saving lighting device according to the illumination path and an initial posture feature of the main reflector; The processing module is further used to control the main reflector to deflect according to the first deflection angle, and when the main reflector is deflected to a predetermined angle, extract a second posture feature of the main reflector, and determine multiple edge radial distances between the auxiliary reflector and the outer edge of the target illumination area; The processing module is further used to construct a reflection path of the auxiliary reflector by combining all edge radial distances with the center position point of the target lighting area, and then determine a second deflection angle of the auxiliary reflector in the energy-saving lighting device according to the reflection path and the second posture feature; An execution module is used to control the auxiliary reflector to illuminate the target illumination area according to the second deflection angle.
[0013] In a third aspect, the present application provides a computer device, comprising a memory and a processor, wherein the memory stores codes, and the processor is configured to obtain the codes and execute the above-mentioned lighting control method.
[0014] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program implements the above-mentioned lighting control method when executed by a processor.
[0015] The technical solution provided by the embodiments disclosed in this application has the following beneficial effects: In the energy-saving lighting device and method for a smart sheep house provided by the present application, first, according to the orientation information of the target lighting area in the smart sheep house, the main reflector and the auxiliary reflector in the energy-saving lighting device for illuminating the target lighting area are determined; secondly, the lateral distance and the vertical distance between the light source component in the energy-saving lighting device and the main reflector are determined, and the illumination path of the light source component is constructed through the lateral distance and the vertical distance, and the first deflection angle of the main reflector in the energy-saving lighting device is determined according to the illumination path and the initial posture feature of the main reflector; further, the main reflector is controlled to deflect according to the first deflection angle, and when the main reflector is deflected to a predetermined angle, the second posture feature of the main reflector is extracted, and multiple edge radial distances between the auxiliary reflector and the outer edge of the target lighting area are determined; then, the reflection path of the auxiliary reflector is constructed by combining all the edge radial distances with the center position point of the target lighting area, and then the second deflection angle of the auxiliary reflector in the energy-saving lighting device is determined according to the reflection path and the second posture feature; finally, the auxiliary reflector is controlled to illuminate the target lighting area according to the second deflection angle.
[0016] It can be seen that the present application can accurately guide light to the target lighting area with complex spatial layout, thereby improving the illumination effectiveness of energy-saving lighting equipment; first, determine the main reflector and auxiliary reflector for illuminating the target lighting area in the energy-saving lighting equipment, so as to provide control conditions for accurately controlling the direction and energy distribution of light; secondly, determine the angular deflection amount of the main reflector in the energy-saving lighting equipment according to the illumination path of the light source component and the initial posture characteristics of the main reflector, and control the main reflector to deflect according to the angular deflection amount, so as to accurately control the focus and illumination direction of the light, and avoid the problem of uneven light distribution in the lighting area of the intelligent sheep house due to the complex spatial layout; further, according to the auxiliary reflector, The radial distances between multiple edges of the mirror and the outer edge of the target lighting area are combined with the central position point of the target lighting area to construct the reflection path of the auxiliary reflector, so as to effectively guide the energy-saving lighting equipment to perform efficient light distribution adjustment, thereby ensuring that the light is concentrated on the target lighting area, reducing the scattering and waste of light, and thus avoiding regional differences in uneven light distribution; then, the second deflection angle of the auxiliary reflector in the energy-saving lighting equipment is extracted according to the reflection path; finally, the auxiliary reflector is controlled to illuminate the target lighting area according to the second deflection angle; in summary, the technical solution provided by the present application can accurately guide light in a target lighting area with a complex spatial layout, thereby improving the illumination effectiveness of the energy-saving lighting equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 is an exemplary flow chart of a lighting control method according to some embodiments of the present application; Figure 2 is a schematic diagram of the structure of a reflector according to some embodiments of the present application Figure 3 is an exemplary flow chart of determining a first deflection angle according to some embodiments of the present application; Figure 4 is a schematic diagram of the structure of a lighting control unit according to some embodiments of the present application; Figure 5 It is a structural schematic diagram of a computer device for implementing a lighting control method according to some embodiments of the present application. DETAILED DESCRIPTION
[0018] In order to better understand the technical solution of the present application, the technical solution of the present application will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0019] refer to Figure 1, which is an exemplary flow chart of a lighting control method according to some embodiments of the present application. The lighting control method 100 is used to control the lighting of an energy-saving lighting device set in a smart sheep house. The energy-saving lighting device includes a plurality of movable reflectors. The method mainly includes the following steps: In step 101, a main reflector and an auxiliary reflector for illuminating the target lighting area in an energy-saving lighting device are determined according to the position information of the target lighting area in the smart sheep house.
[0020] In this application, the target lighting area refers to the area in the smart sheep house that needs to be illuminated. In specific implementation, the target lighting area can be, for example, a semi-enclosed sheep house area. In the smart sheep house, the environment of the sheep house is intelligently adjusted through automatic control of fans, lights, sprinklers, outdoor shading and other equipment. Special lighting control is required for semi-enclosed sheep houses to adapt to the activities and rest needs of the flock, so as to achieve the most suitable and healthiest growth environment.
[0021] It should be noted that the smart sheep house in this application refers to a new breeding model that uses modern scientific and technological means to integrate informatization, automation, and intelligence into the design and management of sheep houses. Relying on cutting-edge technologies such as the Internet of Things, artificial intelligence, and big data, it provides ranchers with refined management tools and significantly improves breeding efficiency and quality.
[0022] It should also be noted that the reference Figure 2 , this figure is a schematic diagram of the structure of the reflector in the energy-saving lighting device, the reflector structure schematic diagram includes a reflector on the inner backlight surface and a reflector on the outer light-receiving surface, wherein the main reflector is in the reflector on the outer light-receiving surface, and the auxiliary reflector is in the reflector on the inner light-receiving surface. When irradiating the target irradiation area, it is mainly achieved through the cooperation of the main reflector and the auxiliary reflector.
[0023] The reflector in the energy-saving lighting device in the present application includes a backlight reflector and a light-receiving surface reflector. The backlight reflector refers to a reflector whose light-receiving surface faces away from the irradiation direction of the light source component in the energy-saving lighting device, and the light-receiving surface reflector refers to a reflector whose light-receiving surface faces the irradiation direction of the light source component in the energy-saving lighting device.
[0024] In some embodiments, the following steps may be used to determine the main reflector and the auxiliary reflector in the energy-saving lighting device for illuminating the target lighting area according to the position information of the target lighting area in the smart sheep house, namely: Acquire the orientation information of the target lighting area and the center position point of the light source component in the energy-saving lighting device; Connecting the center position point of the target lighting area in the orientation information with the center position point of the light source component in the energy-saving lighting device to obtain an illumination reference line of the target lighting area; marking a plurality of candidate reflectors in the energy-saving lighting device based on the illumination reference line; Identify the candidate reflector with the light receiving surface closest to the light source component from all the candidate reflectors as the main reflector for illuminating the target lighting area in the energy-saving lighting device; A backlight surface candidate reflector closest to the light source component is identified from all candidate reflectors as an auxiliary reflector for illuminating a target illumination area in the energy-saving lighting device.
[0025] In a specific implementation, the position information of the target lighting area and the center position point of the light source component in the energy-saving lighting device are obtained through a camera, and the position information includes the center position point and the direction angle of the target lighting area.
[0026] It should be noted that the illumination reference line in this embodiment represents a reference line for determining the incident path of the light source component of the lighting device. This reference line can help the system accurately control the distribution of light and ensure that specific areas in the sheep house receive appropriate lighting.
[0027] In some embodiments, the following steps may be specifically adopted to mark multiple candidate reflectors in the energy-saving lighting device based on the illumination reference line, namely: Calculating the vertical distance from each reflector in the energy-saving lighting device to the illumination reference line; For each reflector, the vertical distance corresponding to the reflector is compared with a vertical distance threshold, reflectors whose vertical distances are less than the vertical distance threshold are extracted, and the extracted reflectors are used as candidate reflectors in the energy-saving lighting device, thereby obtaining multiple candidate reflectors in the energy-saving lighting device.
[0028] In a specific implementation, first, the vertical distance from each reflector in the energy-saving lighting device to the illumination reference line is calculated by Euclidean distance; secondly, for each reflector, the vertical distance corresponding to the reflector is compared with a vertical distance threshold, and the reflectors whose vertical distances are less than the vertical distance threshold are extracted; finally, the extracted reflectors are used as candidate reflectors in the energy-saving lighting device, and then multiple candidate reflectors in the energy-saving lighting device are obtained. It should be noted that, in this embodiment, the vertical distance threshold represents a pre-set standard vertical distance for screening out candidate reflectors, which can be set specifically according to actual needs and is not limited here.
[0029] In a specific implementation, a light-receiving surface candidate reflector that is closest to the light source component is identified from all candidate reflectors as the main reflector for illuminating the target lighting area in the energy-saving lighting device, that is, all light-receiving surface candidate reflectors are screened from all candidate reflectors, the center distance from each light-receiving surface candidate reflector to the light source component is calculated, the light-receiving surface candidate reflector corresponding to the smallest center distance is extracted, and the extracted light-receiving surface candidate reflector is used as the main reflector for illuminating the target lighting area in the energy-saving lighting device.
[0030] It should be noted that the main reflector in the present application refers to a main reflector that reflects light. By determining the main reflector, the light emitted by the light source can be effectively collected and reflected to accurately illuminate the target lighting area.
[0031] In a specific implementation, a backlight candidate reflector that is closest to the light source component is identified from all candidate reflectors as an auxiliary reflector for illuminating a target lighting area in the energy-saving lighting device, that is, all backlight candidate reflectors are screened from all candidate reflectors, the center distance from each backlight candidate reflector to the light source component is calculated, the backlight candidate reflector corresponding to the smallest center distance is extracted, and the extracted backlight candidate reflector is used as an auxiliary reflector for illuminating the target lighting area in the energy-saving lighting device.
[0032] It should be noted that the auxiliary reflector in the present application refers to a reflector that assists the main reflector in reflecting light. By determining the auxiliary reflector, the light emitted by the light source can be collected and reflected more accurately to accurately illuminate the target lighting area. By determining the main reflector and the auxiliary reflector, control conditions can be provided for accurately controlling the direction and energy distribution of the light.
[0033] In step 102, the lateral distance and vertical distance between the light source component and the main reflector in the energy-saving lighting device are determined, an illumination path of the light source component is constructed through the lateral distance and the vertical distance, and a first deflection angle of the main reflector in the energy-saving lighting device is determined according to the illumination path and the initial posture characteristics of the main reflector.
[0034] In some embodiments, the lateral distance and vertical distance between the light source component and the main reflector in the energy-saving lighting device may be determined by the following steps, namely: Obtaining the center position coordinates of the light source component in the energy-saving lighting device and the center position coordinates of the main reflector; Determine the lateral distance between the light source component and the main reflector in the energy-saving lighting device according to the horizontal coordinate value in the center position coordinate of the light source component and the horizontal coordinate value in the center position coordinate of the main reflector; The vertical distance between the light source component and the main reflector in the energy-saving lighting device is determined according to the vertical coordinate value in the center position coordinate of the light source component and the vertical coordinate value in the center position coordinate of the main reflector.
[0035] In a specific implementation, first, the center position coordinates of the light source component in the energy-saving lighting device and the center position coordinates of the main reflector are obtained; then, the absolute difference between the horizontal coordinate value in the center position coordinates of the light source component and the horizontal coordinate value in the center position coordinates of the main reflector is calculated, and the calculated absolute difference is used as the lateral distance between the light source component in the energy-saving lighting device and the main reflector; finally, the absolute difference between the vertical coordinate value in the center position coordinates of the light source component and the vertical coordinate value in the center position coordinates of the main reflector is calculated, and the calculated absolute difference is used as the vertical distance between the light source component in the energy-saving lighting device and the main reflector. In addition, in other embodiments, other calculation methods can be used to calculate the lateral distance and vertical distance between the light source component in the energy-saving lighting device and the main reflector, which are not limited here.
[0036] It should be noted that the lateral distance described in the present embodiment represents the distance between the light source component and the main reflector in the horizontal direction; the vertical distance described in the present embodiment represents the distance between the light source component and the main reflector in the vertical direction. By determining the lateral distance and the vertical distance, the distribution and illumination area of light can be accurately controlled, the lighting efficiency and uniformity can be improved, and it can be ensured that the target lighting area obtains the appropriate light intensity, which helps to avoid light waste and uneven lighting problems.
[0037] In some embodiments, the irradiation path of the light source component is constructed by using the lateral distance and the vertical distance by specifically adopting the following steps, namely: Get the preset path planning function; The lateral distance and the vertical distance are input as input parameters into the path planning function, and the path planning function outputs the irradiation path of the light source component.
[0038] In specific implementation, first, a preset path planning function can be obtained through the illumination control database of the energy-saving lighting equipment in the smart sheep house. The path planning function is: the result of the path planning function is equal to the arithmetic square root of the sum of the squares of the two input parameter values. In this embodiment, the path planning function represents a function for planning the lighting path, which can be pre-stored in the illumination control database of the energy-saving lighting equipment in the smart sheep house; then, the lateral distance and the vertical distance are input as input parameters into the path planning function, and the output result of the path planning function is used as the illumination path of the light source component. In addition, in other embodiments, other calculation methods can be used to calculate the illumination path of the light source component, which is not limited here.
[0039] It should be noted that the illumination control database of the energy-saving lighting equipment in the intelligent sheep house in this embodiment refers to a system for storing and managing data related to lighting control. The illumination path of the light source component in this application represents the path of light propagation to the surface of the target object, that is, the propagation path of the light emitted by the light source component. By determining the illumination path, it can be ensured that the light is directly irradiated to the area that needs to be illuminated, thereby reducing light waste, improving lighting efficiency, and achieving energy saving.
[0040] In some embodiments, reference Figure 3 As shown in FIG. 1 , this figure is an exemplary flow chart of determining the first deflection angle according to some embodiments of the present application. In this embodiment, the first deflection angle of the main reflector in the energy-saving lighting device is determined according to the illumination path and the initial posture characteristics of the main reflector, which can be implemented by the following steps: First, in step 1021, the initial posture feature of the main reflector is obtained, and the initial posture feature includes the plane normal vector and the horizontal deflection angle of the main reflector; Next, in step 1022, a reflection vector of the primary reflector when reflecting light is determined according to the plane normal vector and the illumination path; Then, in step 1023, a reference angle between the incident direction of the light of the light source component in the energy-saving lighting device and the reflection direction of the main reflector is calculated according to the reflection vector and the illumination path; Finally, in step 1024, a first deflection angle of a main reflector in the energy-saving lighting device is determined by using the reference angle and the horizontal deflection angle.
[0041] In the specific implementation, firstly, the plane normal vector and horizontal deflection angle of the main reflector are obtained as initial posture features by means of a three-axis accelerometer and a gyroscope installed on the main reflector, and the initial posture features represent the posture values of the initial state of the main reflector, that is, the geometric space position and direction of the main reflector relative to the device coordinate system before the deflection adjustment; secondly, the reflection vector of the main reflector when reflecting the light is calculated based on the geometric law of light reflection, that is, the reflection vector of the main reflector when reflecting the light is determined by the dot product of the path vector of the illumination path and the plane normal vector, and the illumination path is the reflection vector of the main reflector when reflecting the light. The path vector of the illumination path is a vector representation of the path that the light travels from the light source component to the surface of the target object, that is, a numerical value that characterizes the illumination path, and the reflection vector represents a vector that describes the propagation direction of the reflected light. Further, through the angle relationship between the reflection vector and the path vector of the illumination path, the reference angle between the incident direction of the light source component and the reflection direction of the main reflector is calculated using an inverse cosine function. Finally, the absolute difference between the horizontal deflection angle and the reference angle is calculated, and the absolute difference calculation result is used as the first deflection angle of the main reflector in the energy-saving lighting device.
[0042] It should be noted that the first deflection angle of the main reflector in the present application represents the angular deflection of the main reflector. In the energy-saving equipment control of the smart sheep house, by determining the first deflection angle, the focus and irradiation direction of the light can be accurately controlled, which is very important for improving lighting efficiency and beam quality. The correct deflection angle can ensure that the light is concentrated on the target area, reduce the scattering and waste of light, and avoid the problem of uneven light distribution in the lighting area of the smart sheep house due to the complex spatial layout.
[0043] In step 103, the main reflector is controlled to deflect according to the first deflection angle. When the main reflector is deflected to a predetermined angle, a second posture feature of the main reflector is extracted, and multiple edge radial distances between the auxiliary reflector and the outer edge of the target illumination area are determined.
[0044] In some embodiments, the main reflector is controlled to deflect according to the first deflection angle. When the main reflector is deflected to a predetermined angle, the second posture feature of the main reflector is extracted by the following steps, namely: generating a first angle control signal of the main reflector in the energy-saving lighting device according to the first deflection angle; Based on the first angle control signal, the servo motor in the main reflector is driven to deflect, and the deflection angle of the main reflector is collected in real time. When the main reflector is deflected to a predetermined angle, the second posture feature of the main reflector is extracted.
[0045] In specific implementation, first, a first angle control signal of the main reflector is automatically generated according to the calculated first deflection angle, and the first angle control signal is input into the servo control system to drive the servo motor connected to the main reflector to realize the deflection operation. During the deflection process, the current deflection angle is monitored by a real-time angle sensor (such as a rotary encoder or an angle position sensor) installed on the main reflector. When it is monitored that the deflection angle of the main reflector reaches a predetermined angle, the second posture feature of the main reflector is extracted by the posture sensor, including a new plane normal vector, a horizontal deflection angle and a light incident direction.
[0046] It should be noted that, in this embodiment, the first angle control signal represents a signal for adjusting the angle size in the main reflector. By determining the first angle control signal, the main reflector can be effectively adaptively deflected to improve the effectiveness of lighting; the second posture feature in this application represents the posture value of the main reflector after angle deflection, that is, the geometric spatial position and direction of the main reflector relative to the device coordinate system after the deflection adjustment.
[0047] In some embodiments, the following steps may be used to determine the radial distances between the auxiliary reflector and the outer edge of the target illumination area, namely: Extract all outer edge contour points of the target lighting area; Obtaining the center position coordinates of the auxiliary reflector; The distance between each outer edge contour point and the coordinates of the center position of the auxiliary reflector is calculated, and the calculated distance is used as the edge radial distance, thereby obtaining multiple edge radial distances between the auxiliary reflector and the outer edge of the target illumination area.
[0048] In the specific implementation, first, all outer edge contour points of the target lighting area are extracted through edge detection algorithms (such as Canny, Sobel); the central position coordinates of the auxiliary reflector are obtained by using a position information sensor; the distance between each outer edge contour point and the central position coordinates of the auxiliary reflector is calculated by Euclidean distance, and the calculated distance is used as the edge radial distance, thereby obtaining multiple edge radial distances between the auxiliary reflector and the outer edge of the target lighting area.
[0049] It should be noted that, in this embodiment, the outer edge contour point represents the contour point on the boundary of the target lighting area, and the outer edge contour point defines the precise boundary of the target lighting area, which is crucial to ensure that the light is effectively confined to a specific area and to avoid light overflowing to places where lighting is not required; the edge radial distance in this application refers to the straight-line distance between the outer edge contour point of the target lighting area and the center position of the auxiliary reflector. By calculating the edge radial distance, the angle and position of the auxiliary reflector can be adjusted to ensure that the outer edge of the target lighting area can also obtain uniform lighting.
[0050] In step 104, a reflection path of the auxiliary reflector is constructed by combining all edge radial distances with the center point of the target lighting area, and then a second deflection angle of the auxiliary reflector in the energy-saving lighting device is determined according to the reflection path and the second posture feature.
[0051] In some embodiments, the reflection path of the auxiliary reflector is constructed by combining all edge radial distances with the center position point of the target illumination area, and the following steps can be used, namely: Calculating the distance from the center position point of the target illumination area to the center position point of the auxiliary reflector to obtain the center distance; Compare and analyze each edge radial distance with the center distance to obtain a distance deviation value corresponding to each edge radial distance; The edge radial distance corresponding to the minimum distance deviation is extracted from all distance deviation values, and the extracted edge radial distance is used as the reflection path of the auxiliary reflector.
[0052] In specific implementation, first, the distance from the center position point of the target illumination area to the center position point of the auxiliary reflector is calculated by Euclidean distance to obtain the center distance, and the center distance represents the distance between the two center points; secondly, the difference between each edge radial distance and the center distance is calculated to obtain the distance deviation value corresponding to each edge radial distance, and the distance deviation represents the deviation amount of the two distances; finally, the edge radial distance corresponding to the minimum distance deviation is extracted from all distance deviation values, and the extracted edge radial distance is used as the reflection path of the auxiliary reflector.
[0053] It should be noted that the reflection path in the present application refers to the path of light reflected by the auxiliary reflector, that is, the path of the light source after being reflected by the auxiliary reflector and finally reaching the target lighting area. The reflection path describes the process of light reflection on the surface of the auxiliary reflector. By determining the reflection path, the energy-saving lighting equipment can be effectively guided to make efficient light distribution adjustments, thereby ensuring that the light is concentrated on the target lighting area, reducing light scattering and waste, and thus avoiding regional differences in uneven light distribution.
[0054] In some embodiments, the second deflection angle of the auxiliary reflector in the energy-saving lighting device may be determined according to the reflection path and the second posture feature by using the following steps, namely: Extracting a reference incident vector of the main reflector from the second posture feature; Calculating a reference reflection vector of the auxiliary reflector based on a reference incident light direction of the primary reflector; A second deflection angle of the auxiliary reflector in the energy-saving lighting device is determined according to a reference reflection vector of the auxiliary reflector and the reflection path.
[0055] In the specific implementation, first, the illumination incident direction is extracted from the second posture feature, and the illumination incident direction is used as a reference incident vector, the reference incident vector represents an incident vector for reference, that is, an incident vector incident from the main reflector to the auxiliary reflector; secondly, based on the law of reflection, that is, the incident angle is equal to the reflection angle, the reference reflection vector of the auxiliary reflector is calculated according to the reference incident vector of the main reflector, the reference reflection vector represents a reflection vector for reference, that is, a reflection vector reflected from the auxiliary reflector to the target lighting area; finally, the angle between the reference reflection vector of the auxiliary reflector and the path vector of the reflection path is calculated by means of vector dot product, and the calculated angle is used as the second deflection angle of the auxiliary reflector in the energy-saving lighting device.
[0056] It should be noted that the second deflection angle in the present application represents the angular deflection of the auxiliary reflector. In the energy-saving equipment control of the smart sheep house, the auxiliary reflector needs to accurately irradiate the reflected light to the target lighting area. Therefore, by determining the second deflection angle, the focus and irradiation direction of the light can be accurately controlled to ensure that the light is concentrated on the target area, reduce light scattering and waste, and thus improve lighting efficiency and beam quality.
[0057] In step 105, the auxiliary reflector is controlled to illuminate the target illumination area according to the second deflection angle.
[0058] In some embodiments, controlling the auxiliary reflector to illuminate the target illumination area according to the second deflection angle may specifically be performed by the following steps, namely: generating a second angle control signal for the auxiliary reflector in the energy-saving lighting device according to the second deflection angle; Based on the second angle control signal, the servo motor in the auxiliary reflector is controlled to deflect to illuminate the target illumination area.
[0059] In specific implementation, the second angle control signal of the auxiliary reflector in the energy-saving lighting device is automatically generated according to the second deflection angle; secondly, after the servo motor in the auxiliary reflector receives the second angle control signal, the servo motor in the auxiliary reflector is controlled to deflect to illuminate the target lighting area. By controlling the auxiliary reflector to illuminate the target lighting area according to the second deflection angle, precise irradiation of light and optimization of lighting effects can be effectively achieved.
[0060] It should be noted that the second deflection angle in the present application represents the angle at which the auxiliary reflector needs to be deflected. By determining the second deflection angle, light can be effectively reflected to the target lighting area so that the target lighting area receives sufficient light coverage.
[0061] In addition, in another aspect of the present application, in some embodiments, the present application provides an energy-saving lighting device for a smart sheep house, the device comprising a lighting control unit, referring to Figure 4 , which is a schematic diagram of the structure of a lighting control unit according to some embodiments of the present application, the lighting control unit 200 includes: a determination module 201, a processing module 202 and an execution module 203, which are described as follows: Determination module 201, in the present application, determination module 201 is mainly used to determine the main reflector and auxiliary reflector in the energy-saving lighting device for illuminating the target lighting area according to the orientation information of the target lighting area in the smart sheep house; Processing module 202, in the present application, the processing module 202 is mainly used to determine the lateral distance and the vertical distance between the light source component and the main reflector in the energy-saving lighting device, construct an illumination path of the light source component through the lateral distance and the vertical distance, and determine a first deflection angle of the main reflector in the energy-saving lighting device according to the illumination path and the initial posture characteristics of the main reflector; The processing module 202 is further used to control the main reflector to deflect according to the first deflection angle, and when the main reflector is deflected to a predetermined angle, extract a second posture feature of the main reflector, and determine a plurality of edge radial distances between the auxiliary reflector and an outer edge of a target illumination area; In addition, the processing module 202 is further used to construct a reflection path of the auxiliary reflector by combining all edge radial distances with the center position point of the target lighting area, and then determine a second deflection angle of the auxiliary reflector in the energy-saving lighting device according to the reflection path and the second posture feature; The execution module 203 in the present application is mainly used to control the auxiliary reflector to illuminate the target illumination area according to the second deflection angle.
[0062] In addition, the present application also provides a computer device, which includes a memory and a processor, wherein the memory stores codes, and the processor is configured to obtain the codes and execute the above-mentioned lighting control method.
[0063] In some embodiments, reference Figure 5 , which is a schematic diagram of the structure of a computer device for implementing a lighting control method according to some embodiments of the present application. The lighting control method in the above embodiment can be Figure 5The computer device 300 shown in the figure is implemented, and the computer device 300 includes at least one processor 301, a communication bus 302, a memory 303 and at least one communication interface 304.
[0064] The processor 301 may be a general-purpose central processing unit (CPU), or an application-specific integrated circuit (ASIC) or one or more processors for controlling the execution of the lighting control method in the present application.
[0065] The communication bus 302 may be used to transmit information between the above-mentioned components.
[0066] The memory 303 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compressed optical disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, etc.), a magnetic disk or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 303 may exist independently and be connected to the processor 301 via the communication bus 302. The memory 303 may also be integrated with the processor 301.
[0067] The memory 303 is used to store the program code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 301 is used to execute the program code stored in the memory 303. The program code may include one or more software modules. The determination of the lighting control method in the above embodiment can be implemented by the processor 301 and one or more software modules in the program code in the memory 303.
[0068] The communication interface 304 uses any transceiver or other device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.
[0069] In a specific implementation, as an embodiment, a computer device may include multiple processors, each of which may be a single-CPU processor or a multi-CPU processor. The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0070] The above-mentioned computer device may be a general-purpose computer device or a special-purpose computer device. In a specific implementation, the computer device may be a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, a communication device or an embedded device. The embodiment of the present application does not limit the type of computer device.
[0071] In addition, the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned lighting control method is implemented.
[0072] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0073] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A lighting control method for lighting control of an energy-saving lighting device installed in an intelligent sheep house, wherein the energy-saving lighting device comprises a plurality of movable reflectors, characterized in that: The method comprises the following steps: According to the orientation information of the target lighting area in the intelligent sheep house, the main reflector and the auxiliary reflector for illuminating the target lighting area in the energy-saving lighting equipment are determined; Determine a lateral distance and a vertical distance between a light source component and the main reflector in the energy-saving lighting device, construct an illumination path of the light source component through the lateral distance and the vertical distance, and determine a first deflection angle of the main reflector in the energy-saving lighting device according to the illumination path and an initial posture feature of the main reflector; Controlling the main reflector to deflect according to the first deflection angle, when the main reflector is deflected to a predetermined angle, extracting a second posture feature of the main reflector, and determining a plurality of edge radial distances between the auxiliary reflector and an outer edge of a target illumination area; Constructing a reflection path of the auxiliary reflector by combining all edge radial distances with the center point of the target lighting area, and then determining a second deflection angle of the auxiliary reflector in the energy-saving lighting device according to the reflection path and the second posture feature; The auxiliary reflector is controlled to illuminate the target illumination area according to the second deflection angle.
2. The method according to claim 1, characterized in that According to the orientation information of the target lighting area in the intelligent sheep house, the main reflector and the auxiliary reflector for irradiating the target lighting area in the energy-saving lighting equipment specifically include: Acquire the orientation information of the target lighting area and the center position point of the light source component in the energy-saving lighting device; Connecting the center position point of the target lighting area in the orientation information with the center position point of the light source component in the energy-saving lighting device to obtain an illumination reference line of the target lighting area; marking a plurality of candidate reflectors in the energy-saving lighting device based on the illumination reference line; Identify the candidate reflector with the light receiving surface closest to the light source component from all the candidate reflectors as the main reflector for illuminating the target lighting area in the energy-saving lighting device; A backlight surface candidate reflector closest to the light source component is identified from all candidate reflectors as an auxiliary reflector for illuminating a target illumination area in the energy-saving lighting device.
3. The method according to claim 2, characterized in that Marking a plurality of candidate reflectors in the energy-saving lighting device based on the illumination reference line specifically includes: Calculating the vertical distance from each reflector in the energy-saving lighting device to the illumination reference line; For each reflector, the vertical distance corresponding to the reflector is compared with a vertical distance threshold, reflectors whose vertical distances are less than the vertical distance threshold are extracted, and the extracted reflectors are used as candidate reflectors in the energy-saving lighting device, thereby obtaining multiple candidate reflectors in the energy-saving lighting device.
4. The method according to claim 1, characterized in that Determining the lateral distance and the vertical distance between the light source component and the main reflector in the energy-saving lighting device specifically includes: Obtaining the center position coordinates of the light source component in the energy-saving lighting device and the center position coordinates of the main reflector; Determine the lateral distance between the light source component and the main reflector in the energy-saving lighting device according to the horizontal coordinate value in the center position coordinate of the light source component and the horizontal coordinate value in the center position coordinate of the main reflector; The vertical distance between the light source component and the main reflector in the energy-saving lighting device is determined according to the vertical coordinate value in the center position coordinate of the light source component and the vertical coordinate value in the center position coordinate of the main reflector.
5. The method according to claim 1, characterized in that Determining the first deflection angle of the main reflector in the energy-saving lighting device according to the illumination path and the initial posture characteristics of the main reflector specifically includes: Acquiring initial posture features of the main reflector, wherein the initial posture features include a plane normal vector and a horizontal deflection angle of the main reflector; Determine a reflection vector when the main reflector reflects light according to the plane normal vector and the illumination path; Calculating a reference angle between an incident direction of light from a light source component in the energy-saving lighting device and a reflection direction of a main reflector according to the reflection vector and the illumination path; The first deflection angle of the main reflector in the energy-saving lighting device is determined by the reference angle and the horizontal deflection angle.
6. The method according to claim 1, characterized in that The target lighting area is a semi-enclosed sheep house area.
7. The method according to claim 1, characterized in that The reflector in the energy-saving lighting device includes a backlight reflector and a light-receiving reflector.
8. An energy-saving lighting device for an intelligent sheep house, the energy-saving lighting device comprises a lighting control unit, characterized in that: The lighting control unit comprises: A determination module, used to determine the main reflector and the auxiliary reflector in the energy-saving lighting device for illuminating the target lighting area according to the orientation information of the target lighting area in the intelligent sheep house; a processing module, configured to determine a lateral distance and a vertical distance between a light source component in the energy-saving lighting device and the main reflector, construct an illumination path of the light source component through the lateral distance and the vertical distance, and determine a first deflection angle of the main reflector in the energy-saving lighting device according to the illumination path and an initial posture feature of the main reflector; The processing module is further used to control the main reflector to deflect according to the first deflection angle, and when the main reflector is deflected to a predetermined angle, extract a second posture feature of the main reflector, and determine multiple edge radial distances between the auxiliary reflector and the outer edge of the target illumination area; The processing module is further used to construct a reflection path of the auxiliary reflector by combining all edge radial distances with the center position point of the target lighting area, and then determine a second deflection angle of the auxiliary reflector in the energy-saving lighting device according to the reflection path and the second posture feature; An execution module is used to control the auxiliary reflector to illuminate the target illumination area according to the second deflection angle.
9. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores codes, and the processor is configured to obtain the codes and execute the lighting control method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the lighting control method according to any one of claims 1 to 7 is implemented.