CN113945212B - Positioning method and device for moving head light actuating mechanism and electronic equipment - Google Patents
Positioning method and device for moving head light actuating mechanism and electronic equipment Download PDFInfo
- Publication number
- CN113945212B CN113945212B CN202111207103.1A CN202111207103A CN113945212B CN 113945212 B CN113945212 B CN 113945212B CN 202111207103 A CN202111207103 A CN 202111207103A CN 113945212 B CN113945212 B CN 113945212B
- Authority
- CN
- China
- Prior art keywords
- focusing
- amplifying
- assembly
- scanning
- travel direction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 230000007246 mechanism Effects 0.000 title claims abstract description 30
- 238000001514 detection method Methods 0.000 claims abstract description 33
- 230000003321 amplification Effects 0.000 claims description 31
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 31
- 230000015654 memory Effects 0.000 claims description 26
- 230000001419 dependent effect Effects 0.000 description 10
- 230000008569 process Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000005484 gravity Effects 0.000 description 4
- 238000003384 imaging method Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000035945 sensitivity Effects 0.000 description 3
- 239000007787 solid Substances 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/04—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by terrestrial means
- G01C21/08—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by terrestrial means involving use of the magnetic field of the earth
Landscapes
- Engineering & Computer Science (AREA)
- Remote Sensing (AREA)
- Radar, Positioning & Navigation (AREA)
- Life Sciences & Earth Sciences (AREA)
- Environmental & Geological Engineering (AREA)
- General Life Sciences & Earth Sciences (AREA)
- Geology (AREA)
- Automation & Control Theory (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Control Of Position Or Direction (AREA)
- Lens Barrels (AREA)
Abstract
The application discloses a positioning method and device for a moving head light executing mechanism and electronic equipment, wherein the method comprises the following steps: controlling the motor assembly to rotate; controlling the motor assembly to drive the focusing and amplifying assembly to run along a preset travel direction, and controlling the motor assembly to drive the focusing and amplifying assembly to continue to run to a target position when receiving a detection signal of the magnetic sensor so as to finish pre-reset; when the pre-reset operation is completed, triggering the head shaking lamp scanning plate to execute the scanning reset operation on the XY axes of the head shaking lamp; and when receiving a command for completing the scanning reset operation of the XY axes of the head shaking lamp sent by the scanning plate of the head shaking lamp, controlling the motor assembly to drive the focusing and amplifying assembly to run to the position where the magnetic sensor is located according to a preset speed until the received detection signal of the magnetic sensor jumps. The positioning method effectively reduces the magnetic-sensing positioning deviation through pre-reset and scanning reset, and improves the positioning precision of the head shaking lamp actuating mechanism.
Description
Technical Field
The application relates to the technical field of positioning of an actuating mechanism in computer head shaking lamp focusing equipment, in particular to a method and a device for positioning the actuating mechanism of a head shaking lamp and electronic equipment.
Background
The computer head lamp is a large type of lamp type which is indispensable in stage lamp, and consists of a bottom box, a U-shaped frame and a lamp cap light source imaging component, wherein the main components of the imaging component are a focusing lens and an amplifying lens. Most of focusing lenses and amplifying lenses are magnetically positioned at present when resetting to find an origin. When the magnetic sensitive edge is found, because the focusing and amplifying lens can change stress due to the influence of gravity when the U-shaped frame moves to different angles, unpredictable deviation occurs when the magnetic sensitive signal edge is detected, and the weaker the structural strength is, the larger the stress change is, and the larger the deviation is.
In the prior art, as the magnet is arranged on the focusing and amplifying mechanical part, mechanical deviation can occur along with the movement of the part, when the deviation occurs, the distance between the magnet and the magneto-sensitive sensor can be occasionally far and occasionally near, and when the magnetic field intensity is smaller than the sensing critical point of the sensor, the situation that the magnetic field intensity can not be detected can occur. The larger the deviation and error of the mechanical structure design, the larger the deviation error of the magnetosensitive detection positioning.
Disclosure of Invention
In view of the above, the embodiment of the application provides a positioning method and device for a moving head light executing mechanism and electronic equipment, so as to solve the technical problem of large magnetic sensitivity detection positioning deviation error in the prior art.
The technical scheme provided by the application is as follows:
an embodiment of the present application provides a positioning method for an actuating mechanism of a moving head lamp, where the actuating mechanism includes: the focusing and amplifying device comprises a motor component and a focusing and amplifying component, wherein the motor component is used for driving the focusing and amplifying component to run along a preset travel direction, a magnetic structure is arranged on the focusing and amplifying component, and a magnetic sensor is arranged on the preset travel direction and used for detecting magnetic signals in a target range; the positioning method of the moving head lamp actuating mechanism comprises the following steps: controlling the motor assembly to rotate; controlling the motor assembly to drive the focusing and amplifying assembly to run along a preset travel direction, and controlling the motor assembly to drive the focusing and amplifying assembly to continue to run to a target position when receiving a detection signal of the magnetic sensor so as to finish pre-reset; when the pre-reset operation is completed, triggering the head shaking lamp scanning plate to execute the scanning reset operation on the XY axes of the head shaking lamp; and when receiving a command for completing the scanning reset operation of the XY axes of the head shaking lamp sent by the scanning plate of the head shaking lamp, controlling the motor assembly to drive the focusing and amplifying assembly to run to the position where the magnetic sensor is located according to a preset speed until the received detection signal of the magnetic sensor jumps.
Optionally, the motor assembly is controlled to drive the focusing and amplifying assembly to move towards the position where the magneto-sensitive sensor is located according to a preset speed until the received magneto-sensitive sensor detection signal jumps, and the positioning method of the moving head light executing mechanism further comprises the following steps: controlling the motor assembly to drive the focusing and amplifying assembly to run to a preset zero position along the preset travel direction; and sending a focusing amplification assembly reset completion instruction to a main control board and a scanning board of the head shaking lamp.
Optionally, the motor assembly includes: the focusing and amplifying assembly comprises a focusing lens and an amplifying lens, wherein the focusing driving motor is used for driving the focusing lens to run along a first preset travel direction, the amplifying driving motor is used for driving the amplifying lens to run along a second preset travel direction, a first magneto-sensitive sensor is arranged on the first preset travel direction, and a second magneto-sensitive sensor is arranged on the second preset travel direction.
A second aspect of the embodiment of the present application provides a positioning device for an actuating mechanism of a moving head light, where the actuating mechanism includes: the focusing and amplifying device comprises a motor component and a focusing and amplifying component, wherein the motor component is used for driving the focusing and amplifying component to run along a preset travel direction, a magnetic structure is arranged on the focusing and amplifying component, and a magnetic sensor is arranged on the preset travel direction and used for detecting magnetic signals in a target range; the device comprises: the control module is used for controlling the motor assembly to rotate; the pre-reset module is used for controlling the motor assembly to drive the focusing and amplifying assembly to run along a preset travel direction, and controlling the motor assembly to drive the focusing and amplifying assembly to continue to run to a target position to finish pre-reset when receiving the detection signal of the magneto-sensitive sensor; the scanning reset module is used for triggering the head shaking lamp scanning plate to execute scanning reset operation on the XY axis of the head shaking lamp when the pre-reset operation is completed; and the positioning module is used for controlling the motor assembly to drive the focusing and amplifying assembly to run to the position where the magneto-sensitive sensor is located according to a preset speed until the received magneto-sensitive sensor detection signal jumps when receiving a command for completing the scanning and resetting operation of the XY axes of the head shaking lamp sent by the scanning plate of the head shaking lamp.
Optionally, the apparatus further comprises: the operation control module is used for controlling the motor assembly to drive the focusing and amplifying assembly to operate to a preset zero position along the preset travel direction; the command sending module is used for sending a focusing and amplifying assembly resetting completion command to the main control board and the scanning board of the head shaking lamp.
Optionally, the motor assembly includes: the focusing and amplifying assembly comprises a focusing lens and an amplifying lens, wherein the focusing driving motor is used for driving the focusing lens to run along a first preset travel direction, the amplifying driving motor is used for driving the amplifying lens to run along a second preset travel direction, a first magneto-sensitive sensor is arranged on the first preset travel direction, and a second magneto-sensitive sensor is arranged on the second preset travel direction.
A third aspect of an embodiment of the present application provides a moving head lamp, including: an actuator, the actuator comprising: the focusing and amplifying device comprises a motor assembly and a focusing and amplifying assembly, wherein the motor assembly is used for driving the focusing and amplifying assembly to move along a preset travel direction, a magnetic structure is arranged on the focusing and amplifying assembly, and a magneto-sensitive sensor is arranged on the preset travel direction; the scanning plate is used for executing scanning reset operation on the XY axes of the oscillating lamp; and the focusing amplification control board is respectively connected with the motor assembly, the scanning board and the magnetic sensor and is used for executing the positioning method of the oscillating lamp executing mechanism according to the first aspect or any optional implementation mode of the first aspect.
Optionally, the moving head light further comprises: and the main control board is used for controlling the work of each component of the head shaking lamp.
A fourth aspect of the embodiment of the present application provides a computer readable storage medium, where computer instructions are stored, where the computer instructions are configured to cause the computer to perform the positioning method of the moving head light executing mechanism according to the first aspect or any one of the first aspect of the embodiment of the present application.
A fifth aspect of an embodiment of the present application provides an electronic device, including: the system comprises a memory and a processor, wherein the memory and the processor are in communication connection, the memory stores computer instructions, and the processor executes the computer instructions so as to execute the positioning method of the moving head lamp executing mechanism according to the first aspect or any one of the first aspects of the embodiment of the application.
The technical scheme provided by the application has the following effects:
according to the positioning method of the moving head lamp actuating mechanism provided by the embodiment of the application, the motor assembly is controlled to rotate by the focusing amplification control board; controlling the motor assembly to drive the focusing and amplifying assembly to run along a preset travel direction, and controlling the motor assembly to drive the focusing and amplifying assembly to continue to run to a target position when receiving a detection signal of the magnetic sensor so as to finish pre-reset; when the pre-reset operation is completed, triggering the head shaking lamp scanning plate to execute the scanning reset operation on the XY axes of the head shaking lamp; and when receiving a command for completing the scanning reset operation of the XY axes of the head shaking lamp sent by the scanning plate of the head shaking lamp, controlling the motor assembly to drive the focusing and amplifying assembly to run to the position where the magnetic sensor is located according to a preset speed until the received detection signal of the magnetic sensor jumps. The focusing and amplifying control board is used for completing the pre-resetting of the focusing and amplifying assembly, after the focusing and amplifying pre-resetting is completed, the positioning position of the scanning XY-axis motor can be preliminarily determined through scanning resetting, the resetting is repeatedly executed again by controlling the operation of the focusing and amplifying motor assembly, and the final positioning position is determined by utilizing the jump of the magnetosensitive signal; the focusing amplification control board is utilized to complete the pre-reset of the focusing amplification assembly, so that the scanning XY reset positioning deviation caused by the uncertainty of the focusing amplification position is reduced; scanning and resetting are carried out again after the pre-resetting is finished, focusing and amplifying magnetosensitive positioning deviation caused by scanning XY resetting deviation is effectively reduced, and the positioning position is preliminarily determined; and the reset is repeatedly executed again by controlling the motor assembly to operate, and the final positioning position is determined by utilizing the jump of the magnetic sensitive signal, so that the magnetic sensitive positioning deviation is reduced. Therefore, by implementing the application, the magnetic-sensing positioning deviation is reduced, and the positioning precision of the head shaking lamp actuating mechanism is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present application, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method of positioning a moving head light actuator according to an embodiment of the present application;
fig. 2 is a schematic diagram of a pre-reset structure of a head shaking light executing mechanism according to an embodiment of the application;
FIGS. 3A and 3B are perspective views of a swing lamp actuator using an XY axis, provided in accordance with an embodiment of the present application;
FIG. 4 is a front and back view of a swing lamp actuator provided in accordance with an embodiment of the present application;
FIG. 5 is a schematic diagram of a Hall sensor induced magnetic field force provided in accordance with an embodiment of the present application;
FIG. 6 is a block diagram of a moving head light actuator positioning device according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a computer-readable storage medium provided according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The embodiment of the application provides a positioning method of an actuating mechanism of a head shaking lamp, which comprises the following steps: the focusing device comprises a motor assembly and a focusing amplifying assembly, wherein the motor assembly is used for driving the focusing amplifying assembly to run along a preset travel direction, a magnetic structure is arranged on the focusing amplifying assembly, and a magnetic sensor is arranged on the preset travel direction and used for detecting magnetic signals in a target range. Taking the structure shown in fig. 2 as an example, the motor assembly includes a focus drive motor T1 and an amplification drive motor T2; as shown in fig. 1, the method comprises the steps of:
step S101: and controlling the motor assembly to rotate. Specifically, the motor assembly is controlled to rotate by using focusing and amplifying control board software. In one embodiment, the focusing and amplifying control board software controls the focusing driving motor T1 and the amplifying driving motor T2 to rotate.
Step S102: and controlling the motor assembly to drive the focusing and amplifying assembly to run along a preset travel direction, and controlling the motor assembly to drive the focusing and amplifying assembly to continue to run to a target position when receiving the detection signal of the magnetic sensor so as to finish pre-reset. Specifically, after the motor assembly is controlled to rotate, the motor assembly can drive the focusing and amplifying assembly to move through the belt pulley, the magnetic sensor is utilized to detect a magnetic sensor signal, when the focusing and amplifying assembly receives the detection signal of the magnetic sensor in the operation process, namely the magnetic sensor is found, the focusing and amplifying control board continues to control the motor assembly to drive the focusing and amplifying assembly to move to a target position, and when the focusing and amplifying assembly moves to the target position, pre-reset is completed. The target position is any position, the target position can be determined in advance through debugging, a debugging result can be uploaded to the focusing and amplifying control board through the user interaction module, and the position when the center of gravity of the oscillating lamp is balanced (namely, when a=90 degrees in Ya (a) shown in fig. 3A) is the optimal position.
Step S103: and when the pre-reset operation is completed, triggering the head shaking lamp scanning plate to execute the scanning reset operation on the XY axes of the head shaking lamp. Specifically, after the pre-reset operation is completed, the moving head lamp scanning plate is triggered to run, and the focusing and amplifying control plate waits for the moving head lamp scanning plate to execute the scanning reset operation. The scanning plate performs scanning resetting operation on the XY axis of the oscillating lamp by using a scanning control technology; the XY axis of the head shaking lamp is manually set based on the head shaking lamp, and when the head shaking lamp is vertical, the position is the optimal setting position of the XY axis.
Step S104: and when receiving a command for completing the scanning reset operation of the XY axes of the head shaking lamp sent by the scanning plate of the head shaking lamp, controlling the motor assembly to drive the focusing and amplifying assembly to run to the position where the magnetic sensor is located according to a preset speed until the received detection signal of the magnetic sensor jumps. Specifically, after the scanning reset operation is finished, the head shaking lamp scanning board sends an operation finishing instruction to the focusing amplification control board, after the focusing amplification control board receives the instruction, the focusing amplification control board continues to control the motor assembly to move according to the preset speed, and meanwhile, the motor assembly drives the focusing amplification assembly to move to the position where the magnetic sensor is located until the focusing amplification assembly stops moving when the magnetic sensor signal detected by the magnetic sensor jumps, and positioning is finished. The embodiment of the application does not limit the magnitude of the preset speed, and a person skilled in the art can determine the preset speed according to actual needs as long as the reset can be completed and the positioning precision can be ensured, and meanwhile, the preset speed can be determined according to the jitter or vibration generating condition in order to avoid the jitter or vibration of mechanical parts in the moving process.
According to the positioning method of the moving head lamp actuating mechanism provided by the embodiment of the application, the motor assembly is controlled to rotate by the focusing amplification control board; controlling the motor assembly to drive the focusing and amplifying assembly to run along a preset travel direction, and controlling the motor assembly to drive the focusing and amplifying assembly to continue to run to a target position when receiving a detection signal of the magnetic sensor so as to finish pre-reset; when the pre-reset operation is completed, triggering the head shaking lamp scanning plate to execute the scanning reset operation on the XY axes of the head shaking lamp; and when receiving a command for completing the scanning reset operation of the XY axes of the head shaking lamp sent by the scanning plate of the head shaking lamp, controlling the motor assembly to drive the focusing and amplifying assembly to run to the position where the magnetic sensor is located according to a preset speed until the received detection signal of the magnetic sensor jumps. The focusing and amplifying control board is used for completing the pre-resetting of the focusing and amplifying assembly, after the focusing and amplifying pre-resetting is completed, the positioning position of the scanning XY-axis motor can be preliminarily determined through scanning resetting, the resetting is repeatedly executed again by controlling the operation of the focusing and amplifying motor assembly, and the final positioning position is determined by utilizing the jump of the magnetosensitive signal; the focusing amplification control board is utilized to complete the pre-reset of the focusing amplification assembly, so that the scanning XY reset positioning deviation caused by the uncertainty of the focusing amplification position is reduced; scanning and resetting are carried out again after the pre-resetting is finished, focusing and amplifying magnetosensitive positioning deviation caused by scanning XY resetting deviation is effectively reduced, and the positioning position is preliminarily determined; and the reset is repeatedly executed again by controlling the motor assembly to operate, and the final positioning position is determined by utilizing the jump of the magnetic sensitive signal, so that the magnetic sensitive positioning deviation is reduced. Therefore, by implementing the application, the magnetic-sensing positioning deviation is reduced, and the positioning precision of the head shaking lamp actuating mechanism is improved.
As an optional implementation manner of the embodiment of the application, when the detection signal of the magneto-dependent sensor is received, the motor component is controlled to drive the focusing amplifying component to run to the target position so as to complete pre-reset. The focusing and amplifying assembly comprises a focusing lens and an amplifying lens. Specifically, the focusing driving motor is used for driving the focusing lens to run along a first preset travel direction, the amplifying driving motor is used for driving the amplifying lens to run along a second preset travel direction, a first magneto-sensitive sensor is arranged on the first preset travel direction, and a second magneto-sensitive sensor is arranged on the second preset travel direction. The motor component drives the focusing and amplifying component to move through the belt pulley, and after the magnetic sensor is found, the motor component is respectively operated to a target position to finish pre-reset. Specifically, as shown in fig. 2, a focus lens F and an amplifying lens Z may be provided first, and a first magneto-dependent sensor Mf is provided in a first preset stroke direction, and a second magneto-dependent sensor Mz is provided in a second preset stroke direction. The stroke direction is the movable direction of the motor assembly which drives the focusing and amplifying assembly through the belt pulley.
In an embodiment, the focusing driving motor T1 and the amplifying driving motor T2 drive the focusing lens F and the amplifying lens Z to respectively run along the preset travel direction through the belt pulley, meanwhile, the magneto-dependent sensor detects magneto-dependent signals, the focusing lens F moves towards the first magneto-dependent sensor Mf and the amplifying lens Z moves towards the second magneto-dependent sensor Mz, and after the first magneto-dependent sensor Mf and the second magneto-dependent sensor Mz are found, the focusing driving motor T1 and the amplifying driving motor T2 continue to control the focusing lens F and the amplifying lens Z to respectively run to the target positions Fa and Za. Where Fa denotes a focus lens pre-reset position, za denotes an amplifying lens pre-reset position. The two positions Fa and Za can be set at will according to the debugging effect of the lamp through the man-machine interface of the lamp main control board, and the method is not limited.
As an optional implementation manner of the embodiment of the application, when receiving the instruction of completing the scanning reset operation of the XY axes of the head shaking lamp sent by the scanning plate of the head shaking lamp, the motor assembly is controlled to drive the focusing amplifying assembly to move to the position where the magneto-sensitive sensor is located according to a preset speed until the received detection signal of the magneto-sensitive sensor jumps. Specifically, after the scanning reset operation is finished, the head shaking lamp scanning plate sends an instruction to the focusing amplification control plate, after the focusing amplification control plate receives the instruction, the head shaking lamp scanning plate informs the focusing amplification control plate that the XY axis of the head shaking lamp is ready to be finished, and the XY axis of the head shaking lamp is kept motionless until the focusing is finished; after focusing is finished, the focusing amplification control board is started to reset again, the motor assembly is controlled to move respectively, meanwhile, the motor assembly drives the focusing amplification assembly to run to the position where the magnetic sensor is located according to the preset speed, and when the focusing amplification control board receives the detected magnetic signal to jump in the running process, the running is stopped, and positioning is completed. The magnetic sensitive signal generation jump can be changed from a high frequency signal to a low frequency signal or from a low frequency signal to a high frequency signal, and the magnetic sensitive signal change is not limited herein, so long as the jump occurs.
In one embodiment, as shown in fig. 3A and 3B, after the completion of the scanning reset of the XY axis of the head-shaking lamp, the focus lens F and the magnifying lens Z are respectively moved to a certain position Xa (B) and Ya (a) in the stroke, and then the scanning plate of the head-shaking lamp sends a packet of command to the focus magnification control board, and informs the focus magnification control board that the XY axis of the head-shaking lamp is ready to be completed, and then remains stationary waiting for the completion of focusing. And after focusing is finished, resetting is started again, then the focusing driving motor T1 and the amplifying driving motor T2 respectively drive the focusing lens F and the amplifying lens Z to move towards the positions of the first magnetic sensor Mf and the second magnetic sensor Mz, and in the operation process, when the detected magnetic signals jump, the operation is stopped, so that the positioning is finished. B represents the waiting position of the X axis, a represents the waiting position of the Y axis, and the two positions can be set at will according to the debugging effect of the lamp through the man-machine interface of the lamp main control board, and are not limited herein; ya (a) indicates that the magnetic-sensing signal is optimal for positioning the focusing and amplifying assembly of the computer tilting lamp when the focusing and amplifying assembly is reset and detected at the vertical position of the Y-axis Ya, and Xa (b) is determined according to Ya (a).
As an optional implementation manner of the embodiment of the present application, the controlling the motor assembly drives the focusing and amplifying assembly to move to the position where the magnetic sensor is located according to a preset speed until the received detection signal of the magnetic sensor jumps, may further control the motor assembly to drive the focusing and amplifying assembly to move to a preset zero position along the preset travel direction, and send a focusing and amplifying assembly reset completion instruction to a main control board and a scan board of the head tilting lamp. Specifically, after positioning is completed, the focusing amplification control board drives the motor assembly again to drive the focusing amplification assembly to operate to a preset zero position according to a preset speed, and then a reset completion command is sent to the head shaking lamp main control board and the scanning board. The preset zero position is any position, can be determined according to the optical effect of the focusing and amplifying lens, and is the best position when the gravity center of the oscillating lamp is balanced.
In an embodiment, as shown in fig. 4, the focusing and amplifying control board controls the focusing driving motor T1 and the amplifying driving motor T2 to drive the focusing lens F and the amplifying lens Z to operate to the preset zero positions Fb and Zb, and then sends a reset completion command to the head shaking lamp main control board and the scanning board. Wherein Fb denotes a zero point position after completion of the reset of the focus lens F, and Zb denotes a zero point position after completion of the reset of the focus lens Z.
As an optional implementation manner of the embodiment of the application, consistency of imaging definition among lamps can be improved by ensuring consistency of magnetic sensitivity level detection distances in a resetting process after the resetting is completed. Specifically, because the single desk lamp has different swinging directions of the lamp cap, the lens is influenced by gravity, and the mechanical guide rail and the guide rod deform and the positive and negative deviation of the gap influence, when the magnetic sensor detects the magnetic sensing signal, the magnetic sensing horizontal detection distance can change, so that the consistency of the magnetic sensing horizontal detection distance in the resetting process is ensured, the consistency of focusing and amplifying of the single desk lamp on the vertical resetting zero position can be ensured to a great extent, the resetting consistency of the single lamp in different time periods is further ensured, and meanwhile, the consistency between the lamp and the lamp is also controllable.
In an embodiment, the positioning method of the moving head light executing mechanism is used for positioning a plurality of moving head lights, and when the positioning positions of the moving head lights are consistent in the positioning process, the moving head lights are swung to be basically consistent, namely the imaging definition among different moving head lights is basically consistent. Wherein, the consistent position of each head shaking lamp represents that the magnetic sensitivity level detection distance of each head shaking lamp is consistent in the positioning process. As shown in fig. 5, L represents the magnetosensitive level detection distance.
The embodiment of the application also provides a positioning device for the moving head lamp actuating mechanism, which comprises: the focusing and amplifying device comprises a motor component and a focusing and amplifying component, wherein the motor component is used for driving the focusing and amplifying component to run along a preset travel direction, a magnetic structure is arranged on the focusing and amplifying component, and a magnetic sensor is arranged on the preset travel direction and used for detecting magnetic signals in a target range; as shown in fig. 6, the apparatus includes:
a control module 401 for controlling the motor assembly to rotate; for details, see the description of step S101 in the above method embodiment.
A pre-reset module 402, configured to control the motor assembly to drive the focusing amplifying assembly to operate to a target position to complete pre-reset when receiving a detection signal of the magneto-dependent sensor; for details, see the description related to step S102 in the above method embodiment.
The scan reset module 403 is configured to trigger the pan head lamp scan panel to perform a scan reset operation on the pan head lamp XY axis when the pre-reset operation is completed; for details, see the description of step S103 in the above method embodiment.
The positioning module 404 is configured to, when receiving a command for completing the scanning and resetting operation of the XY axis of the moving head lamp sent by the moving head lamp scanning board, control the motor assembly to drive the focusing and amplifying assembly to move to the position where the magneto-sensitive sensor is located according to a preset speed until the received detection signal of the magneto-sensitive sensor jumps; for details, see the description related to step S104 in the above method embodiment.
In an embodiment, the device further comprises: the operation control module is used for controlling the motor assembly to drive the focusing and amplifying assembly to operate to a preset zero position along the preset travel direction; the command sending module is used for sending a focusing and amplifying assembly resetting completion command to the main control board and the scanning board of the head shaking lamp. The specific content refers to the corresponding parts of the above method embodiments, and will not be described herein.
In one embodiment, the motor assembly includes: the focusing and amplifying assembly comprises a focusing lens and an amplifying lens, wherein the focusing driving motor is used for driving the focusing lens to run along a first preset travel direction, the amplifying driving motor is used for driving the amplifying lens to run along a second preset travel direction, a first magneto-sensitive sensor is arranged on the first preset travel direction, and a second magneto-sensitive sensor is arranged on the second preset travel direction.
According to the positioning device for the moving head lamp actuating mechanism, provided by the embodiment of the application, the motor assembly is controlled to rotate by the focusing amplification control board; controlling the motor assembly to drive the focusing and amplifying assembly to run along a preset travel direction, and controlling the motor assembly to drive the focusing and amplifying assembly to continue to run to a target position when receiving a detection signal of the magnetic sensor so as to finish pre-reset; when the pre-reset operation is completed, triggering the head shaking lamp scanning plate to execute the scanning reset operation on the XY axes of the head shaking lamp; and when receiving a command for completing the scanning reset operation of the XY axes of the head shaking lamp sent by the scanning plate of the head shaking lamp, controlling the motor assembly to drive the focusing and amplifying assembly to run to the position where the magnetic sensor is located according to a preset speed until the received detection signal of the magnetic sensor jumps. The focusing and amplifying control board is used for completing the pre-resetting of the focusing and amplifying assembly, after the focusing and amplifying pre-resetting is completed, the positioning position of the scanning XY-axis motor can be preliminarily determined through scanning resetting, the resetting is repeatedly executed again by controlling the operation of the focusing and amplifying motor assembly, and the final positioning position is determined by utilizing the jump of the magnetosensitive signal; the focusing amplification control board is utilized to complete the pre-reset of the focusing amplification assembly, so that the scanning XY reset positioning deviation caused by the uncertainty of the focusing amplification position is reduced; scanning and resetting are carried out again after the pre-resetting is finished, focusing and amplifying magnetosensitive positioning deviation caused by scanning XY resetting deviation is effectively reduced, and the positioning position is preliminarily determined; and the reset is repeatedly executed again by controlling the motor assembly to operate, and the final positioning position is determined by utilizing the jump of the magnetic sensitive signal, so that the magnetic sensitive positioning deviation is reduced. Therefore, by implementing the application, the magnetic-sensing positioning deviation is reduced, and the positioning precision of the head shaking lamp actuating mechanism is improved.
The functional description of the positioning device for the moving head light executing mechanism provided by the embodiment of the application is detailed in the description of the positioning method for the moving head light executing mechanism in the embodiment.
The embodiment of the application also provides a head shaking lamp, which comprises:
an actuator, the actuator comprising: the focusing and amplifying device comprises a motor assembly and a focusing and amplifying assembly, wherein the motor assembly is used for driving the focusing and amplifying assembly to move along a preset travel direction, a magnetic structure is arranged on the focusing and amplifying assembly, and a magneto-sensitive sensor is arranged on the preset travel direction;
the scanning plate is used for executing scanning reset operation on the XY axes of the oscillating lamp;
and the focusing amplification control board is respectively connected with the motor assembly, the scanning board and the magnetic sensor and is used for executing the positioning method of the oscillating lamp executing mechanism.
In an embodiment, the moving head light further comprises: and the main control board is used for controlling the work of each component of the head shaking lamp.
The embodiment of the present application further provides a storage medium, as shown in fig. 7, on which a computer program 601 is stored, which when executed by a processor, implements the steps of the positioning method of the moving head light actuator in the above embodiment. The storage medium also stores audio and video stream data, characteristic frame data, interactive request signaling, encrypted data, preset data size and the like. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a Flash Memory (Flash Memory), a Hard Disk (HDD), or a Solid State Drive (SSD); the storage medium may also comprise a combination of memories of the kind described above.
It will be appreciated by those skilled in the art that implementing all or part of the above-described embodiment method may be implemented by a computer program to instruct related hardware, where the program may be stored in a computer readable storage medium, and the program may include the above-described embodiment method when executed. Wherein the storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a random access Memory (RandomAccessMemory, RAM), a Flash Memory (Flash Memory), a Hard Disk (HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
The embodiment of the present application further provides an electronic device, as shown in fig. 8, which may include a processor 51 and a memory 52, where the processor 51 and the memory 52 may be connected by a bus or other means, and in fig. 8, the connection is exemplified by a bus.
The processor 51 may be a central processing unit (Central Processing Unit, CPU). The processor 51 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or combinations thereof.
The memory 52 serves as a non-transitory computer readable storage medium that may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as corresponding program instructions/modules in embodiments of the present application. The processor 51 executes various functional applications of the processor and data processing, i.e. implements the moving head light actuator positioning method of the above-described method embodiments, by running non-transitory software programs, instructions and modules stored in the memory 52.
The memory 52 may include a memory program area that may store an operating device, an application program required for at least one function, and a memory data area; the storage data area may store data created by the processor 51, etc. In addition, memory 52 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 52 may optionally include memory located remotely from processor 51, which may be connected to processor 51 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 52 and when executed by the processor 51 perform the moving head light actuator positioning method of the embodiment shown in fig. 1-2.
The specific details of the electronic device may be understood correspondingly with reference to the corresponding related descriptions and effects in the embodiments shown in fig. 1 to 2, which are not repeated here.
Although embodiments of the present application have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the application, and such modifications and variations fall within the scope of the application as defined by the appended claims.
Claims (10)
1. A method of positioning a moving head light actuator, the actuator comprising: the focusing and amplifying device comprises a motor component and a focusing and amplifying component, wherein the motor component is used for driving the focusing and amplifying component to run along a preset travel direction, a magnetic structure is arranged on the focusing and amplifying component, and a magnetic sensor is arranged on the preset travel direction and used for detecting magnetic signals in a target range; characterized in that the method comprises the following steps:
controlling the motor assembly to rotate;
controlling the motor assembly to drive the focusing and amplifying assembly to run along a preset travel direction, and controlling the motor assembly to drive the focusing and amplifying assembly to continue to run to a target position when receiving a detection signal of the magnetic sensor so as to finish pre-reset;
when the pre-reset operation is completed, triggering the head shaking lamp scanning plate to execute the scanning reset operation on the XY axes of the head shaking lamp;
and when receiving a command for completing the scanning reset operation of the XY axes of the head shaking lamp sent by the scanning plate of the head shaking lamp, controlling the motor assembly to drive the focusing and amplifying assembly to run to the position where the magnetic sensor is located according to a preset speed until the received detection signal of the magnetic sensor jumps.
2. The method of claim 1, wherein the controlling the motor assembly drives the focusing and amplifying assembly to move to the position where the magneto-sensitive sensor is located according to a preset speed until the received magneto-sensitive sensor detection signal jumps, and the method further comprises:
controlling the motor assembly to drive the focusing and amplifying assembly to run to a preset zero position along the preset travel direction;
and sending a focusing amplification assembly reset completion instruction to a main control board and a scanning board of the head shaking lamp.
3. The method of claim 1, wherein the motor assembly comprises: the focusing and amplifying assembly comprises a focusing lens and an amplifying lens, wherein the focusing driving motor is used for driving the focusing lens to run along a first preset travel direction, the amplifying driving motor is used for driving the amplifying lens to run along a second preset travel direction, a first magneto-sensitive sensor is arranged on the first preset travel direction, and a second magneto-sensitive sensor is arranged on the second preset travel direction.
4. A moving head light actuator positioning device, the actuator comprising: the focusing and amplifying device comprises a motor component and a focusing and amplifying component, wherein the motor component is used for driving the focusing and amplifying component to run along a preset travel direction, a magnetic structure is arranged on the focusing and amplifying component, and a magnetic sensor is arranged at a preset position in the preset travel direction and used for detecting magnetic signals in a target range; characterized in that the device comprises:
the control module is used for controlling the motor assembly to rotate;
the pre-reset module is used for controlling the motor assembly to drive the focusing and amplifying assembly to run along a preset travel direction, and controlling the motor assembly to drive the focusing and amplifying assembly to continue to run to a target position to finish pre-reset when receiving the detection signal of the magneto-sensitive sensor;
the scanning reset module is used for triggering the head shaking lamp scanning plate to execute scanning reset operation on the XY axis of the head shaking lamp when the pre-reset operation is completed;
and the positioning module is used for controlling the motor assembly to drive the focusing and amplifying assembly to run to the position where the magneto-sensitive sensor is located according to a preset speed until the received magneto-sensitive sensor detection signal jumps when receiving a command for completing the scanning and resetting operation of the XY axes of the head shaking lamp sent by the scanning plate of the head shaking lamp.
5. The moving head light actuator positioning device of claim 4, further comprising:
the operation control module is used for controlling the motor assembly to drive the focusing and amplifying assembly to operate to a preset zero position along the preset travel direction;
the command sending module is used for sending a focusing and amplifying assembly resetting completion command to the main control board and the scanning board of the head shaking lamp.
6. The moving head light actuator positioning device of claim 4, wherein said motor assembly comprises: the focusing and amplifying assembly comprises a focusing lens and an amplifying lens, wherein the focusing driving motor is used for driving the focusing lens to run along a first preset travel direction, the amplifying driving motor is used for driving the amplifying lens to run along a second preset travel direction, a first magneto-sensitive sensor is arranged on the first preset travel direction, and a second magneto-sensitive sensor is arranged on the second preset travel direction.
7. A moving head light, comprising:
an actuator, the actuator comprising: the focusing and amplifying device comprises a motor assembly and a focusing and amplifying assembly, wherein the motor assembly is used for driving the focusing and amplifying assembly to move along a preset travel direction, a magnetic structure is arranged on the focusing and amplifying assembly, and a magneto-sensitive sensor is arranged on the preset travel direction;
the scanning plate is used for executing scanning reset operation on the XY axes of the oscillating lamp;
a focusing amplification control board, which is respectively connected with the motor assembly, the scanning board and the magneto-sensitive sensor, and is used for executing the positioning method of the moving head light executing mechanism according to any one of claims 1-3.
8. The moving head lamp of claim 7, further comprising: and the main control board is used for controlling the work of each component of the head shaking lamp.
9. A computer readable storage medium having stored thereon computer instructions for causing the computer to perform the moving head light actuator positioning method according to any one of claims 1-3.
10. An electronic device, comprising: a memory and a processor, said memory and said processor being communicatively coupled to each other, said memory storing computer instructions, said processor executing said computer instructions to perform the moving head light actuator positioning method of any of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111207103.1A CN113945212B (en) | 2021-10-15 | 2021-10-15 | Positioning method and device for moving head light actuating mechanism and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111207103.1A CN113945212B (en) | 2021-10-15 | 2021-10-15 | Positioning method and device for moving head light actuating mechanism and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113945212A CN113945212A (en) | 2022-01-18 |
CN113945212B true CN113945212B (en) | 2023-11-10 |
Family
ID=79331048
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111207103.1A Active CN113945212B (en) | 2021-10-15 | 2021-10-15 | Positioning method and device for moving head light actuating mechanism and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113945212B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59213533A (en) * | 1983-05-18 | 1984-12-03 | Mazda Motor Corp | Rectratable head lamp controller |
CN101055342A (en) * | 2006-04-12 | 2007-10-17 | 鸿富锦精密工业(深圳)有限公司 | Automatic focusing lens module group |
CN101335879A (en) * | 2008-07-10 | 2008-12-31 | 华南理工大学 | Multi-point triggering fixed point tracking monitoring method and system |
CN102460001A (en) * | 2009-06-18 | 2012-05-16 | 马丁专业公司 | Intelligent light fixture with manual follow spot function |
CN203464196U (en) * | 2013-08-29 | 2014-03-05 | 佛山市毅丰电器实业有限公司 | Stage lamp applying magnetic rotary encoders |
CN111506121A (en) * | 2020-05-26 | 2020-08-07 | 广州彩熠灯光股份有限公司 | Stage lamp and positioning method thereof |
CN112153271A (en) * | 2019-06-27 | 2020-12-29 | Oppo广东移动通信有限公司 | Control method and control device for optical lens of electronic equipment and storage medium |
CN213089584U (en) * | 2020-10-15 | 2021-04-30 | 黄勇 | Moving head lamp with adjustable focal length structure |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2811077B1 (en) * | 2000-06-30 | 2002-09-13 | Roulements Soc Nouvelle | DEVICE FOR DETERMINING THE ABSOLUTE ANGULAR POSITION OF A ROTATING MEMBER |
-
2021
- 2021-10-15 CN CN202111207103.1A patent/CN113945212B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59213533A (en) * | 1983-05-18 | 1984-12-03 | Mazda Motor Corp | Rectratable head lamp controller |
CN101055342A (en) * | 2006-04-12 | 2007-10-17 | 鸿富锦精密工业(深圳)有限公司 | Automatic focusing lens module group |
CN101335879A (en) * | 2008-07-10 | 2008-12-31 | 华南理工大学 | Multi-point triggering fixed point tracking monitoring method and system |
CN102460001A (en) * | 2009-06-18 | 2012-05-16 | 马丁专业公司 | Intelligent light fixture with manual follow spot function |
CN203464196U (en) * | 2013-08-29 | 2014-03-05 | 佛山市毅丰电器实业有限公司 | Stage lamp applying magnetic rotary encoders |
CN112153271A (en) * | 2019-06-27 | 2020-12-29 | Oppo广东移动通信有限公司 | Control method and control device for optical lens of electronic equipment and storage medium |
CN111506121A (en) * | 2020-05-26 | 2020-08-07 | 广州彩熠灯光股份有限公司 | Stage lamp and positioning method thereof |
CN213089584U (en) * | 2020-10-15 | 2021-04-30 | 黄勇 | Moving head lamp with adjustable focal length structure |
Also Published As
Publication number | Publication date |
---|---|
CN113945212A (en) | 2022-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9221173B2 (en) | Position control method and robot | |
CN103115566B (en) | A kind of line laser and image detection device | |
TW201741685A (en) | Method and apparatus for measuring depth information | |
US11415410B2 (en) | Method and apparatus of optical module assembly | |
CN103363899A (en) | Calibration device and calibration method for calibrating coordinate system of robot arm | |
CN109909602A (en) | A kind of ultrafast laser process unit Light Electrical cooperative control system | |
US11079221B2 (en) | Method and apparatus of optical module assembly | |
CN113945212B (en) | Positioning method and device for moving head light actuating mechanism and electronic equipment | |
CN102629081A (en) | FPGA-based DMD digital maskless photoetching machine workpiece table control system | |
KR101823671B1 (en) | Laser type 3D scanner and method for fast scanning thereof | |
CN102445861A (en) | Photoetching machine system and method adopting position triggering scanning mode | |
JP2017533465A (en) | Control of focus lens assembly | |
CN106291521A (en) | Distance-finding method, device and the mobile terminal moved based on MEMS | |
KR20070032665A (en) | Improved image capture | |
KR102204201B1 (en) | System for measuring a frequency response function of a camera module | |
TWI661240B (en) | Lens element conveying mechanism, controller, optical axis adjustment device, optical module manufacturing equipment and manufacturing method thereof | |
CN113953684B (en) | System, method, device, processor and computer readable storage medium for realizing laser cutting position synchronous control | |
CN100375588C (en) | Vision inspection apparatus using a full reflection mirror | |
CN212264873U (en) | Laser processing apparatus | |
CN209505177U (en) | A kind of write-through screen printing system with vision-based detection | |
CN103365097B (en) | Focusing and levelling measurement device | |
KR102510529B1 (en) | System and method for inspecting lead | |
KR20210004956A (en) | Control system, control method and control program | |
JP7544133B2 (en) | Inspection Equipment | |
CN114252447B (en) | Multifunctional semiconductor optical system and optical detection method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |