Spotlight system for automatically tracking a target and control method, device and medium thereof
Through the control method of light chasing light system that automatically tracks the target, GPS and image recognition technology, the position adjustment of the lamp position is realized without human operation, solving the problem of high labor costs in night tour attractions, and real-time lighting and pattern effects are realized. .
Patent Information
- Application Number
- CN202010713071.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-22
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2040-07-22
AI Technical Summary
In night tour attractions and other occasions, lamps need to adjust the illumination orientation in real time to achieve specific lighting effects, resulting in high labor costs.
The light-chasing light system control method that automatically tracks the target is used, and GPS positioning, compass, cameras and infrared light sources are used to calculate the angle and image recognition algorithms, and the motor is driven to adjust the lamp position to track the target in real time, realizing unmanned illumination adjustment.
Real-time lighting and pattern effect display of lamps on iconic scenery is realized, without manual adjustment of the illumination orientation, saving labor costs.
Smart Images

Figure CN111913500B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of spotlight equipment, and in particular to a spotlight system for automatically tracking a target and a control method, equipment and medium thereof. Background Art
[0002] In some special occasions such as night tour attractions, lamps are used to illuminate iconic scenery and present specific pattern effects on the scenery. When the positions of the lamps and tourists change relative to the scenery, such as tourists and lamps are on a cruise ship, in order to present a specific lighting effect on the scenery in real time, it is generally necessary to manually change the illumination direction of the lamps in real time.
[0003] Therefore, in order to save labor costs, there is an urgent need for a spotlight system that automatically tracks a target and a control method thereof. Summary of the invention
[0004] In order to overcome the deficiencies of the prior art, one of the objectives of the present invention is to provide a control method for a spotlight system that automatically tracks a target, so that when the geographical location of the lamp changes in real time, the lamp can track and illuminate the target in real time.
[0005] The present invention provides a control method for a spotlight system for automatically tracking a target, comprising the following steps:
[0006] Determine the target's geographic location, compare the GPS satellite coordinates with the target satellite coordinates, and determine the target's specific geographic location relative to the lamp;
[0007] Determine the geographical position of the light outlet, call the built-in compass program, and obtain the geographical position of the light outlet of the lamp;
[0008] Calculate the angle, calculate the angle between the geographical position indicated by the light outlet of the lamp and the geographical position of the target relative to the lamp, and determine whether the angle is less than a set value. If not, drive the X-axis motor to rotate and jump to the step of determining the geographical position of the target. If yes, jump to the step of capturing infrared rays.
[0009] Capture infrared rays and detect whether the camera on the lamp captures infrared rays. If not, drive the X-axis motor and the Y-axis motor to rotate. If yes, adjust the infrared black and white cursor position displayed on the display to the center of the display.
[0010] Furthermore, before the step of determining the geographic orientation, it also includes a start condition determination, obtaining the GPS time on the lamp, and judging whether the GPS time is within the automatic tracking working time of the lamp. If so, obtaining the GPS satellite coordinates on the lamp, and judging whether the distance between the lamp and the target is within the working range through the GPS satellite coordinates. If so, jumping to the step of determining the geographic orientation.
[0011] Furthermore, in the step of determining the geographic position, the target satellite coordinates are built into the main controller or the GPS satellite coordinates of a GPS locator near the target are obtained through the main controller;
[0012] In the step of calculating the angle, before driving the X-axis motor to rotate, the minimum value of the angle is first determined and the shortest path is selected.
[0013] Furthermore, the infrared capture step also includes filtering out all the light emitted from the light outlet of the lamp and the surrounding ambient light through an infrared filter lens set at the camera window of the lamp. The main controller performs grayscale binarization processing on the infrared image data output by the camera to obtain a black and white infrared light spot, and then identifies the black and white light spot through an image recognition algorithm, identifies the position of the black and white light spot, and tracks the black and white light spot in real time and displays it on a display screen.
[0014] Furthermore, in the infrared capture step, the adjusting of the infrared black and white cursor position displayed on the display screen to the center position of the display screen specifically includes converting the pixel deviation between the center position of the processed black and white light spot on the display screen and the center position of the display screen into the movement position of the X-axis motor and the Y-axis motor, and outputting it to the X-axis motor driver and the Y-axis motor driver. The X-axis motor driver and the Y-axis motor driver adjust the pixel deviation in real time through the PID algorithm until the pixel deviation between the center position of the black and white light spot and the center position of the display screen is 0.
[0015] An electronic device, comprising: a processor;
[0016] A memory; and a program, wherein the program is stored in the memory and is configured to be executed by a processor, the program including a method for controlling a chasing light system for automatically tracking a target.
[0017] A computer-readable storage medium stores a computer program, wherein the computer program is executed by a processor to control a spotlight system for automatically tracking a target.
[0018] A spotlight system for automatically tracking a target comprises a first GPS locator, a main controller, a compass, an X-axis motor driver, a Y-axis motor driver, a display screen, a camera, and an infrared light source generator. The first GPS locator, the compass, the display screen, and the camera are mounted on the main controller fixed on the vertical pivot movement of the lamp. The X-axis motor driver and the Y-axis motor driver are mounted in the horizontal rotating arm of the lamp. The horizontal rotating arm of the lamp is mounted on the fixed base of the lamp and can rotate infinitely relative to the fixed base of the lamp. The vertical pivot movement of the lamp is mounted on the horizontal rotating arm of the lamp and can swing relative to the arm. The infrared light source generator is placed near the irradiated target. The first GPS locator, the compass, the X-axis motor driver, the Y-axis motor driver, and the display screen are connected to the main controller. The X-axis motor driver is connected to the X-axis motor of the lamp. The Y-axis motor driver is connected to the Y-axis motor of the lamp. The camera is connected to the display screen. The camera receives infrared rays emitted by the infrared light source generator.
[0019] Furthermore, an infrared filter lens is provided at the camera window; and a second GPS locator is also included, the second GPS locator is placed near the irradiated target, and the second GPS locator is communicatively connected with the main controller.
[0020] Furthermore, the infrared filter lens is a 940nm infrared filter lens; the second GPS locator is placed on the infrared light source generator; and the display screen is an LCD display screen.
[0021] Compared with the prior art, the present invention has the following beneficial effects:
[0022] The present invention provides a spotlight system for automatically tracking a target, comprising a first GPS locator, a main controller, a compass, an X-axis motor driver, a Y-axis motor driver, a display screen, a camera, and an infrared light source generator. The first GPS locator, the compass, the display screen, and the camera are installed on the main controller fixed on the vertical pivot movement of the lamp, the X-axis motor driver and the Y-axis motor driver are installed in the horizontal rotating arm of the lamp, the horizontal rotating arm of the lamp is installed on the fixed bottom of the lamp, and can rotate infinitely relative to the fixed base of the lamp, the vertical pivot movement of the lamp is installed on the horizontal rotating arm of the lamp, and can swing relative to the arm, the infrared light source generator is placed near the irradiated target, the first GPS locator, the compass, the X-axis motor driver, the Y-axis motor driver, and the display screen are connected to the main controller, the X-axis motor driver is connected to the X-axis motor of the lamp, the Y-axis motor driver is connected to the Y-axis motor of the lamp, the camera is connected to the display screen, and the camera receives infrared emitted by the infrared light source generator. The present invention relates to a control method for a spotlight system for automatically tracking a target. The present invention also relates to an electronic device and a storage medium for executing a control method for a spotlight system for automatically tracking a target. The present invention is used to enable the lamp to track and illuminate the target in real time when the geographical location of the lamp changes in real time. In specific occasions such as some night tour attractions, the lamp can illuminate iconic scenery and present a specific pattern effect on the scenery. There is no need to manually change the illumination direction of the lamp in real time, thus saving labor costs.
[0023] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention and implement it according to the contents of the specification, the following is a detailed description of the preferred embodiments of the present invention in conjunction with the accompanying drawings. The specific implementation of the present invention is given in detail by the following embodiments and their accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0025] Figure 1 The principle block diagram of the spotlight system for automatically tracking a target of the present invention;
[0026] Figure 2 This is a structural diagram of the spotlight of the present invention;
[0027] Figure 3 It is a structural diagram of the main controller of the present invention;
[0028] Figure 4 It is a schematic diagram of the spatial relationship between the chasing light of the present invention and the wood being chased;
[0029] Figure 5This is a flow chart of a control method of a spotlight system for automatically tracking a target according to the present invention.
[0030] In the figure: 1. Vertical pivot movement of the lamp; 2. Horizontal rotating arm of the lamp; 3. Fixed base of the lamp; 4. Display screen; 5. Camera window; 6. Light outlet of the lamp; 7. Infrared light source generator; 8. Camera viewing angle. DETAILED DESCRIPTION
[0031] The present invention is further described below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that, under the premise of no conflict, the various embodiments or technical features described below can be arbitrarily combined to form a new embodiment.
[0032] A spotlight system that automatically tracks a target, such as Figure 1 As shown, it includes a first GPS locator, a main controller, a compass, an X-axis motor driver, a Y-axis motor driver, a display screen, a camera, and an infrared light source generator. Figure 2 , Figure 3 As shown, the first GPS locator, compass, display screen and camera are installed on a main controller fixed on the vertical pivot movement of the lamp, the X-axis motor driver and the Y-axis motor driver are installed in the horizontal rotating arm of the lamp and can communicate with each other, the horizontal rotating arm of the lamp is installed on the fixed base of the lamp, and can rotate infinitely relative to the fixed base of the lamp, the vertical pivot movement of the lamp is installed on the horizontal rotating arm of the lamp, and can swing relative to the arm, the infrared light source generator is placed near the irradiated target, the first GPS locator, compass, X-axis motor driver, Y-axis motor driver, display screen are connected to the main controller, the X-axis motor driver is connected to the X-axis motor of the lamp, the Y-axis motor driver is connected to the Y-axis motor of the lamp, the camera is connected to the display screen, and the camera receives infrared rays emitted by the infrared light source generator.
[0033] In one embodiment, an infrared filter lens is provided at the camera window, and the display screen is an LCD display screen. In this embodiment, the infrared light source generator emits 940nm invisible light. In order to allow the camera to capture only infrared light of this wavelength, a 940nm infrared filter lens is provided at the camera window of the lamp to filter out all the light emitted from the light outlet of the lamp and the surrounding ambient light; because a specific image is required, the main controller performs grayscale binarization processing on the infrared image data output by the camera, processes some unnecessary images, and leaves only black and white infrared light spots, and then identifies the black and white light spots through an image recognition algorithm, identifies the positions of the black and white light spots, and tracks the black and white light spots in real time and displays them on the LCD display screen.
[0034] In one embodiment, the target satellite coordinates are built into the main controller, or can be near the target. Preferably, a second GPS locator is also included. The second GPS locator is placed near the irradiated target and is connected to the main controller in communication, such as placing the second GPS locator in the infrared light source generator. The main controller can obtain the real-time GPS satellite coordinates of the dynamic target, and then through the GPS satellite coordinates and compass system on the lamp, the lamp can track the target in real time even if the target is moving.
[0035] A control method for a spotlight system that automatically tracks a target, such as Figure 5 As shown, the following steps are included:
[0036] In one embodiment, the start condition is determined, and the GPS locator installed on the main controller feeds back the satellite time to the main controller, S001: the main controller obtains the GPS time on the lamp, S002: determines whether the GPS time is within the automatic tracking working time of the lamp, such as: the lamp is placed on a cruise ship, when tourists take a cruise at night, the lamp can dynamically and real-time illuminate the iconic scenery and present various specific patterns, and set the working time at night, and the lamp will not start the tracking function during the day. The main controller can determine whether the GPS time is at night. If so, S003: obtain the GPS satellite coordinates on the lamp. In order to prevent the lamp from being too far away from the target and out of the working range, the lamp moves around, and the GPS satellite coordinates are used to determine whether the distance between the lamp and the target is within the working range. If so, jump to the step of determining the geographic orientation, otherwise the lamp will not start the automatic tracking function.
[0037] S004: Determine the target's geographic position, compare the GPS satellite coordinates with the target satellite coordinates, and determine the target's specific geographic position relative to the lamp; in one embodiment, the target satellite coordinates are built into the main controller or the GPS satellite coordinates of a GPS locator near the target are obtained through the main controller, such as placing the GPS locator on the infrared light source generator, the main controller can obtain the real-time GPS satellite coordinates of the dynamic target, and then through the GPS satellite coordinates and compass system on the lamp, the lamp can track the target in real time even if the target is moving.
[0038] S005: Determine the geographical position of the light outlet, call the built-in compass program, and obtain the geographical position of the light outlet of the lamp;
[0039] S006: Calculate the angle, calculate the angle between the geographical position indicated by the light outlet of the lamp and the geographical position of the target relative to the lamp, S007: Determine whether the angle is less than the set value, otherwise S008: Drive the X-axis motor to rotate, quickly align the direction of the light outlet of the lamp to the position of the infrared ray, which can shorten the time for the lamp camera to search for infrared ray, because the lamp searches for infrared ray by slow horizontal and vertical rotation. If the search range is not narrowed, it will take a long time, and jump to the step of determining the geographical position of the target, and then jump to the step of capturing infrared ray. In one embodiment, before driving the X-axis motor to rotate, first determine the minimum value of the angle and select the shortest path. For example, if the system calculates that the angle from the position indicated by the light outlet of the lamp to the position of the target relative to the lamp is positive 300°, then the system commands the X-axis motor to rotate so that the light outlet of the lamp just rotates 60° horizontally.
[0040] like Figure 3 , Figure 4 As shown, the camera of the lamp has a viewing angle. When infrared rays appear within the viewing angle, a black and white cross light spot will appear on the LCD screen, and the system will execute the next program at this time; if the camera does not capture infrared rays, the main controller will drive the X-axis and Y-axis motors of the lamp at the same time, causing the camera to slowly swing back and forth horizontally and vertically in a small range until infrared rays are captured.
[0041] The infrared light source emits 940nm invisible light. In order to make the camera capture only infrared light of this wavelength, a 940nm infrared filter lens is set at the camera window of the lamp to filter out all the light emitted from the lamp light outlet and the surrounding ambient light. Because a specific image is required, the main controller performs grayscale binarization on the infrared image data output by the camera, removes some unnecessary images, and leaves only black and white infrared spots. Then, the black and white spots are identified through the image recognition algorithm, the position of the black and white spots is identified, and the black and white spots are tracked in real time and displayed on the LCD screen.
[0042] S009: Capture infrared rays, detect whether the camera on the lamp captures infrared rays, otherwise S010: drive the X-axis motor and the Y-axis motor to rotate; the center point of the image must be facing the center point of the camera, that is, the center point on the LCD display must be the center point of the camera, then the resolution of the LCD is known, so when tracking, it is only necessary to adjust the image position of the processed infrared black and white light spot to the center point of the LCD display through the XY axis. In this embodiment, S011: compare whether there is a pixel difference between the infrared black and white cursor position displayed on the display screen and the center position of the display screen. If so, convert the pixel deviation between the center position of the processed black and white light spot on the display screen and the center position of the display screen into the moving position of the X-axis motor and the Y-axis motor, and output it to the X-axis motor driver and the Y-axis motor driver. S012: The X-axis motor driver and the Y-axis motor driver drive the X-axis and Y-axis motors to rotate through the PID algorithm to adjust the pixel deviation in real time until the pixel deviation between the center position of the black and white light spot and the center position of the display screen is 0; otherwise, the lamp does not move, and the tracking target is completed.
[0043] An electronic device, comprising: a processor;
[0044] A memory; and a program, wherein the program is stored in the memory and is configured to be executed by the processor, and the program includes a control method for executing a chasing light system for automatically tracking a target.
[0045] A computer-readable storage medium stores a computer program, and the computer program is executed by a processor to control a spotlight system for automatically tracking a target.
[0046] The present invention provides a spotlight system for automatically tracking a target, comprising a first GPS locator, a main controller, a compass, an X-axis motor driver, a Y-axis motor driver, a display screen, a camera, and an infrared light source generator. The first GPS locator, the compass, the display screen, and the camera are installed on the main controller fixed on the vertical pivot movement of the lamp, the X-axis motor driver and the Y-axis motor driver are installed in the horizontal rotating arm of the lamp, the horizontal rotating arm of the lamp is installed on the fixed bottom of the lamp, and can rotate infinitely relative to the fixed base of the lamp, the vertical pivot movement of the lamp is installed on the horizontal rotating arm of the lamp, and can swing relative to the arm, the infrared light source generator is placed near the irradiated target, the first GPS locator, the compass, the X-axis motor driver, the Y-axis motor driver, and the display screen are connected to the main controller, the X-axis motor driver is connected to the X-axis motor of the lamp, the Y-axis motor driver is connected to the Y-axis motor of the lamp, the camera is connected to the display screen, and the camera receives infrared emitted by the infrared light source generator. The present invention relates to a control method for a spotlight system for automatically tracking a target. The present invention also relates to an electronic device and a storage medium for executing a control method for a spotlight system for automatically tracking a target. The present invention is used to enable the lamp to track and illuminate the target in real time when the geographical location of the lamp changes in real time. In specific occasions such as some night tour attractions, the lamp can illuminate iconic scenery and present a specific pattern effect on the scenery. There is no need to manually change the illumination direction of the lamp in real time, thus saving labor costs.
[0047] The above are only preferred embodiments of the present invention and are not intended to limit the present invention in any form. Any ordinary technician in the industry can smoothly implement the present invention as shown in the drawings and above. However, any equivalent changes, modifications and evolutions made by technicians familiar with the profession without departing from the scope of the technical solution of the present invention using the technical content disclosed above are all equivalent embodiments of the present invention. At the same time, any equivalent changes, modifications and evolutions made to the above embodiments based on the essential technology of the present invention are still within the protection scope of the technical solution of the present invention.
Claims
1. A method for controlling a spotlight system for automatically tracking a target, characterized in that: The system is controlled by a spotlight system that automatically tracks a target. The spotlight system that automatically tracks a target includes a first GPS locator, a main controller, a compass, an X-axis motor driver, a Y-axis motor driver, a display screen, a camera, and an infrared light source generator. The first GPS locator, the compass, the display screen, and the camera are installed on the main controller fixed on the vertical pivot movement of the lamp. The X-axis motor driver and the Y-axis motor driver are installed in the horizontal rotating arm of the lamp. The horizontal rotating arm of the lamp is installed on the fixed base of the lamp and can rotate infinitely relative to the fixed base of the lamp. The vertical pivot movement of the lamp is installed on the horizontal rotating arm of the lamp and can swing relative to the arm. The infrared light source generator is placed near the irradiated target. The first GPS locator, the compass, the X-axis motor driver, the Y-axis motor driver, and the display screen are connected to the main controller. The X-axis motor driver is connected to the X-axis motor of the lamp. The Y-axis motor driver is connected to the Y-axis motor of the lamp. The camera is connected to the display screen. The camera receives infrared rays emitted by the infrared light source generator. The control method comprises the following steps: Determine the target's geographic location, compare the GPS satellite coordinates with the target satellite coordinates, and determine the target's specific geographic location relative to the lamp; Determine the geographical position of the light outlet, call the built-in compass program, and obtain the geographical position of the light outlet of the lamp; Calculate the angle, calculate the angle between the geographical position indicated by the light outlet of the lamp and the geographical position of the target relative to the lamp, and determine whether the angle is less than a set value. If not, drive the X-axis motor to rotate and jump to the step of determining the geographical position of the target. If yes, jump to the step of capturing infrared rays. Capture infrared rays and detect whether the camera on the lamp captures infrared rays. If not, drive the X-axis motor and the Y-axis motor to rotate. If yes, adjust the infrared black and white cursor position displayed on the display to the center of the display.
2. The method for controlling a spotlight system for automatically tracking a target according to claim 1, wherein: Before the step of determining the target geographic position, the method also includes starting condition determination, obtaining the GPS time on the lamp, and judging whether the GPS time is within the automatic tracking working time of the lamp. If so, obtaining the GPS satellite coordinates on the lamp, and judging whether the distance between the lamp and the target is within the working range through the GPS satellite coordinates. If so, jumping to the step of determining the target geographic position.
3. The method for controlling a spotlight system for automatically tracking a target according to claim 1, wherein: In the step of determining the geographic position of the target, the target satellite coordinates are built into the main controller or the GPS satellite coordinates of a GPS locator near the target are obtained through the main controller; In the step of calculating the angle, before driving the X-axis motor to rotate, the minimum value of the angle is first determined and the shortest path is selected.
4. The method for controlling a spotlight system for automatically tracking a target as claimed in claim 1, characterized in that: The infrared capture step also includes filtering out all the light emitted from the light outlet of the lamp and the surrounding ambient light through an infrared filter lens set at the camera window of the lamp, and the main controller performs grayscale binarization processing on the infrared image data output by the camera to obtain a black and white light spot, and then identifies the black and white light spot through an image recognition algorithm, identifies the position of the black and white light spot, and tracks the black and white light spot in real time and displays it on a display screen.
5. The method for controlling a spotlight system for automatically tracking a target as claimed in claim 1, characterized in that: In the infrared capture step, adjusting the infrared black and white cursor position displayed on the display screen to the center position of the display screen specifically includes converting the pixel deviation between the center position of the processed black and white light spot on the display screen and the center position of the display screen into the movement position of the X-axis motor and the Y-axis motor, and outputting it to the X-axis motor driver and the Y-axis motor driver. The X-axis motor driver and the Y-axis motor driver adjust the pixel deviation in real time through the PID algorithm until the pixel deviation between the center position of the black and white light spot and the center position of the display screen is 0.
6. The control method of the spotlight system for automatically tracking a target as claimed in claim 4, characterized in that: The camera window is provided with an infrared filter lens; and further comprises a second GPS locator, which is placed near the irradiated target and is communicatively connected with the main controller.
7. The control method of the spotlight system for automatically tracking a target as claimed in claim 6, characterized in that: The infrared filter lens is a 940nm infrared filter lens; the second GPS locator is placed on the infrared light source generator; and the display screen is an LCD display screen.
8. An electronic device, characterized in that include: processor; Memory; And a program, wherein the program is stored in the memory and configured to be executed by a processor, and the program includes instructions for executing the method according to any one of claims 1 to 7.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer program is executed by a processor to perform the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Follow spot system capable of automatically tracking target
CN212586745U