Open-loop high-precision semi-automatic focusing motor control device and method
By combining optical imaging, electronic control, and human-machine interaction subsystems, and utilizing feedback signals from limit components and error compensation, the problem of low precision in traditional open-loop lens control is solved, achieving high-precision lens focusing and zoom functions, and reducing system cost and complexity.
Patent Information
- Application Number
- CN202310103358.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-11
- Publication Date
- 2025-12-16
- Estimated Expiration
- 2043-02-11
AI Technical Summary
Traditional open-loop lens control has low precision and no feedback signal, while closed-loop lens control systems have problems such as high cost, high resource consumption, control precision limited by feedback components, difficulty in replacing feedback components, poor consistency among similar equipment, and easy jamming of cams.
The system employs an open-loop high-precision semi-automatic focusing motor control device, which includes an optical imaging subsystem, an electronic control subsystem, and a human-machine interaction subsystem. Through limit component feedback signals and error compensation, combined with parameter calibration and semi-automatic focusing methods, high-precision lens control is achieved.
It improves the precision and reliability of lens control, reduces system costs, simplifies the assembly and adjustment process, solves the shortcomings of traditional open-loop lens control, and realizes high-precision lens focusing and zoom functions.
Smart Images

Figure CN116074614B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of lens control, in particular to an open-loop high-precision semi-automatic focusing motor control device and method. BACKGROUND
[0002] At present, the motor control method used for lens control mostly uses the traditional cam structure to cooperate with the motor and feedback components to achieve the purpose of closed-loop focusing. This control method has problems such as high cost, high resource consumption, control precision limited by feedback components, difficulty in replacing feedback components, poor uniformity between the same devices, and easy jamming of the cam, which makes it difficult for the installation and adjustment personnel to complete the debugging and assembly of the device.
[0003] With the continuous development of technology, the step precision of the motor is increasingly improved, so the demand for open-loop control of low-cost motors is also increasing. However, the traditional open-loop control method has low control precision and no feedback signal, which makes it difficult for the operator to know the relative position of the motor, and thus it is difficult to accurately realize the focusing and zooming functions of the lens. SUMMARY
[0004] The embodiments of the present application provide an open-loop high-precision semi-automatic focusing motor control device and method to at least solve the technical problem of low control precision of the existing traditional open-loop lens control.
[0005] According to an embodiment of the present application, an open-loop high-precision semi-automatic focusing motor control device is provided, comprising: an optical imaging subsystem, an electronic control subsystem, and a human-computer interaction subsystem; wherein:
[0006] The optical imaging subsystem includes a lens assembly, a camera unit, a limit component, and a focusing unit. Under the motion control of the electronic control subsystem, the lens assembly inside the optical imaging subsystem moves in a specific direction. During the movement, the lens assembly focuses the optical signal on the imaging interface of the camera unit, and the camera unit converts the focused optical signal into an electronic image signal and transmits it to the human-computer interaction subsystem for image display.
[0007] The lens assembly triggers the limit component during movement, and the limit component sends the response signal after triggering to the electronic control subsystem. The electronic control subsystem controls the optical imaging subsystem to perform corresponding actions according to the response signal, and performs feedback signal clearing and error compensation operations.
[0008] According to another embodiment of the present application, an open-loop high-precision semi-automatic focusing motor control method applied to the open-loop high-precision semi-automatic focusing motor control device is provided, comprising:
[0009] Step one, focal length position calibration:
[0010] Place the device in front of the collimator and ensure that the light signal of the collimator can be focused on the imaging interface of the camera unit in the optical imaging subsystem; secondly, control the stepping motor assembly of the focusing unit in the optical imaging subsystem to move in a direction through the single-step control mode of the control and feedback information display unit in the human-computer interaction subsystem, thereby driving the lens assembly installed and matched therewith to move in a direction; finally, perform focal length position calibration once for every multiple movement operation of the stepping motor assembly, until the corresponding positions of all focal lengths are calibrated;
[0011] Step two, temperature calibration:
[0012] Place the device in the temperature chamber and in front of the collimator and ensure that the light signal of the collimator can be focused on the imaging interface of the camera unit in the optical imaging subsystem; secondly, control the stepping motor assembly of the focusing unit in the optical imaging subsystem to move in a direction through the multi-step control mode of the control and feedback information display unit in the human-computer interaction subsystem, thereby driving the lens assembly installed and matched therewith to move in a direction; thirdly, perform temperature calibration once for every multiple movement operation of the stepping motor assembly, until the corresponding positions of all focal lengths at the temperature are calibrated, at which time the temperature error compensation value can be obtained; finally, change the temperature of the temperature chamber and repeat the above process until calibration is completed;
[0013] Step three, power-on zeroing:
[0014] The electronic control subsystem automatically controls the focusing unit in the optical imaging subsystem to move in a set direction according to the speed designed by the motor speed adjustment module in the electronic control subsystem, until the limit response mechanism of the zeroing limit component of the focusing unit in the optical imaging subsystem is triggered, at which time the electronic control subsystem automatically controls the focusing unit in the optical imaging subsystem to stop, at which time the counting unit in the electronic control subsystem directly zeros the count values;
[0015] Step four, semi-automatic focusing:
[0016] Input the focal length value through the control and feedback information display unit in the human-computer interaction subsystem; then, the electronic control subsystem automatically controls the stepping motor assembly of the focusing unit in the optical imaging subsystem to drive the lens assembly matched therewith to rotate, while the counting module of the core control unit in the electronic control subsystem starts counting and uploads the value to the control and feedback information display unit in the human-computer interaction subsystem through the data transmission unit; when the count value meets the mapping relationship of the input focal length value, the electronic control subsystem automatically controls the stepping motor assembly of the focusing unit in the optical imaging subsystem to stop, thereby completing the focusing work.
[0017] According to an embodiment of the present application, a storage medium is provided, which stores a program file capable of implementing any one of the open-loop high-precision semi-automatic focusing motor control methods.
[0018] According to an embodiment of the present application, a processor is provided, which is used to run a program, wherein the program performs any one of the open-loop high-precision semi-automatic focusing motor control methods when running.
[0019] In the open-loop high-precision semi-automatic focusing motor control device and method, the optical imaging subsystem moves the lens assembly in a specific direction under the motion control of the electronic control subsystem, and the lens assembly focuses the optical signal on the imaging interface of the camera unit during the movement. The camera unit converts the focused optical signal into an electronic image signal and transmits the electronic image signal to the human-computer interaction subsystem for image display. The lens assembly triggers the limiting assembly during the movement, and the limiting assembly sends a response signal to the electronic control subsystem. The electronic control subsystem controls the optical imaging subsystem to perform corresponding actions according to the response signal, and performs feedback signal clearing and error compensation operations. The present application solves the problems of low control precision of the traditional open-loop lens control, lack of feedback signal, high cost of the existing closed-loop lens control system, high resource consumption, control precision limited by feedback components, difficulty in replacing feedback components, poor uniformity between the same devices, and easy jamming of the cam. BRIEF DESCRIPTION OF DRAWINGS
[0020] The accompanying drawings, which are included to provide a further understanding of the present application and are incorporated in and constitute a part of this application, illustrate embodiments of the present application and serve to explain the principles of the present application. In the drawings:
[0021] Figure 1 A structural diagram of an open-loop high-precision semi-automatic focusing motor control device for lens control according to the present application;
[0022] Figure 2 A structural diagram of an optical imaging subsystem of an open-loop high-precision semi-automatic focusing motor control device for lens control according to the present application;
[0023] Figure 3 A structural diagram of an electronic control subsystem of an open-loop high-precision semi-automatic focusing motor control device for lens control according to the present application;
[0024] Figure 4 An interface diagram of a human-computer interaction subsystem of an open-loop high-precision semi-automatic focusing motor control device for lens control according to the present application;
[0025] Figure 5The flow chart of parameter calibration in a kind of open loop high-precision semi-automatic focusing motor control method for lens control belongs to the technical field of the application;
[0026] Figure 6 The flow chart of using operation in a kind of open loop high-precision semi-automatic focusing motor control method for lens control belongs to the technical field of the application. DETAILED DESCRIPTION
[0027] In order to enable personnel in the technical field to better understand the application scheme, the technical solutions in the embodiments of the application will be clearly and completely described below in conjunction with the drawings in the embodiments of the application. Obviously, the described embodiments are only a part of the embodiments of the application, not all the embodiments. Based on the embodiments in the application, all other embodiments obtained by those skilled in the art without creative labor should belong to the scope of protection of the application.
[0028] It should be noted that the terms "first", "second" and the like in the specification and claims of the application and the above-described drawings are used to distinguish similar objects, and do not necessarily have to describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0029] Embodiment 1
[0030] The application is to solve the problem of low control precision of traditional open loop lens control and no feedback signal, etc. on the basis of solving the problem of high cost, high resource consumption, control precision limited by feedback components, difficulty in replacing feedback components, poor uniformity between the same equipment and cam easy to be stuck in existing closed loop lens control system. A kind of open loop high-precision semi-automatic focusing motor control device and method for lens control is proposed.
[0031] The embodiments of the application will be described below in conjunction with Figures 1 to 6 The embodiments of the application will be described below in conjunction with
[0032] As Figure 1 shown, the application provides an open loop high-precision semi-automatic focusing motor control device for lens control, which comprises an optical imaging subsystem, an electronic control subsystem and a man-machine interaction subsystem.
[0033] As Figure 2As shown, the optical imaging subsystem is composed of a focusing unit and a camera unit. The focusing unit is composed of a lens assembly, a stepper motor assembly, and a limit component. The lens assembly is installed on the stepper motor assembly by screw connection. The rotation of the rotor of the stepper motor assembly drives the lens assembly to move in a certain direction, thereby focusing the optical signal on the imaging interface of the camera unit. The limit component is composed of at least one zero-clearing limit component and s error compensation limit components. When the lens assembly triggers the response mechanism of the limit component under the driving of the stepper motor assembly, the limit component sends a response signal to the limit response unit of the electronic control subsystem. The motor drive unit in the electronic control subsystem controls the stepper motor assembly of the focusing unit to perform related actions according to the response signal, thereby ensuring the safe operation of the stepper motor assembly and achieving the functions of zero-clearing and error compensation. The camera unit converts the optical signal focused by the focusing unit into an electronic image signal and transmits it to the imaging unit of the human-computer interaction subsystem.
[0034] As shown, Figure 3 The electronic control subsystem is composed of an AC-DC power supply unit, a DC-DC voltage stabilizing unit, a temperature detection unit, a motor drive unit, a limit response unit, a data transmission unit, and a core control unit. The AC-DC power supply unit converts 220V / 50Hz alternating current into direct current. The DC-DC voltage stabilizing unit further rectifies and stabilizes the direct current converted by the AC-DC power supply unit and supplies it to the entire device. The temperature detection unit transmits the collected temperature signal to the core control unit for processing. The motor drive unit modulates and amplifies the motor rotation signal, direction signal, and enable signal from the core control unit to drive the stepper motor assembly in the optical imaging subsystem to rotate clockwise, counterclockwise, and stop at the designed speed / acceleration. The limit response unit transmits the limit response signal generated by the limit component in the optical imaging subsystem to the core control unit for processing. The data transmission unit transmits the downlink control data from the data transmission unit in the human-computer interaction subsystem to the core control unit for processing, and uploads part of the feedback data processed by the core control unit to the data transmission unit in the human-computer interaction subsystem. The core control unit is composed of a motor control module, a motor speed regulation module, a counting module, and a data processing module.
[0035] The motor control module is used to integrate the downlink control signal obtained by the data transmission unit and the response signal obtained by the limit response unit, to obtain the motor rotation signal, direction signal and enable signal meeting the real-time requirements of the operator, and to send them to the motor drive unit. The motor speed adjustment module is used to modulate the rotation speed of the stepper motor assembly in the optical imaging subsystem by modulating the frequency of the motor rotation signal in the motor control module. The counting module is used to count the edges of the motor rotation signal in the motor control module and map the mechanical position of the stepper motor assembly in the optical imaging subsystem. After error compensation, the data is uploaded to the data transmission unit in the human-computer interaction subsystem through the data transmission unit. The data processing module integrates the data obtained from the temperature detection unit and uploads the processed data to the data transmission unit in the human-computer interaction subsystem through the data transmission unit.
[0036] As shown in Figure 4 The human-computer interaction subsystem is composed of an image display unit, a control and feedback information display unit, and a data transmission unit. The image display unit displays the image signal collected by the camera unit in the optical imaging subsystem on the host computer. The control and feedback information display unit has two functions. One is to transmit the motor control signal required by the operator to the data transmission unit in the electronic control subsystem through the data transmission unit. The other is to display the feedback signal uploaded by the electronic control subsystem on the host computer interface through the data transmission unit. The data transmission unit is used to transmit the downlink control signal and the uplink feedback signal.
[0037] As an optional solution, the lens assembly in the focusing unit of the optical imaging subsystem can be replaced under different requirements to change the light transmittance and achieve the purpose of fixed filtering.
[0038] As an optional solution, the number of focusing units in the optical imaging subsystem can be increased or decreased according to the requirements of the operator to meet the use requirements of different imaging systems.
[0039] As an optional solution, the number and installation position of the error compensation limit components of the focusing unit in the optical imaging subsystem can be adjusted according to the use requirements of the operator.
[0040] As an optional solution, the temperature detection unit in the electronic control subsystem is composed of n temperature sensors. After the temperature detection unit transmits the n collected temperature signals to the data processing module of the core control unit, error compensation is performed. The correction formula is as follows:
[0041]
[0042] wherein x is the corrected temperature value, and its unit is ℃; k is the compensation coefficient, and its numerical value is related to the temperature sensor signal selected by the designer; is the average value of the temperature signals collected by the temperature sensors, i.e. wherein xi is the temperature signal collected by each temperature sensor; b is the temperature error compensation value obtained after temperature calibration, and its unit is ℃. After the error compensation correction is completed, it is uploaded to the human-computer interaction subsystem by the data transmission unit in the electronic control subsystem.
[0043] As an optional solution, the motor driving unit in the electronic control subsystem has a subdivision ratio adjustment function, and the operator can adjust the subdivision ratio according to the actual use needs, so as to achieve the effect of error adjustment.
[0044] As an optional solution, the motor rotation signal issued by the motor control module in the core control unit in the electronic control subsystem is a gate pulse signal.
[0045] As an optional solution, the motor speed adjustment module in the core control unit in the electronic control subsystem can flexibly adjust the motor speed according to the use needs of the operator, and even can realize the variable speed movement of the motor.
[0046] As an optional solution, the counting module in the core control unit in the electronic control subsystem is an edge counting mode, which can simultaneously realize the calculation of the relative movement distance of the corresponding stepping motor assembly in the lens assembly in the focusing unit in the multiple optical imaging subsystems.
[0047] As an optional solution, the control and feedback information display unit in the human-computer interaction subsystem has three control modes of single-step control, multi-step control and focusing control for the operator to select. Among them, the calculation formula of the movement distance of the stepping motor unit in the optical imaging subsystem in single-step control is:
[0048] L' = A·L;
[0049] wherein L' is the movement distance of the stepping motor unit in the optical imaging subsystem in single-step control; A is the subdivision ratio selected by the operator; L is the basic step length of the stepping motor unit.
[0050] The movement distance of the stepping motor unit in the optical imaging subsystem in multi-step control is B times of the movement distance in single-step control, and the multiple value B can be flexibly determined by the operator through the control and feedback information display unit in the human-computer interaction subsystem according to the use.
[0051] The focusing control mode is that after the focusing position calibration is completed, the step motor unit drives the lens assembly to move automatically by inputting the focal length in the control and feedback information display unit in the human-computer interaction subsystem, so as to achieve the purpose of automatic focusing.
[0052] As an optional solution, the focusing control mode can control multiple focusing units to move simultaneously, so as to achieve the purpose of multi-motor group composite focusing.
[0053] Embodiment 2
[0054] In the second aspect, the present application provides an open-loop high-precision semi-automatic focusing motor control method for lens control, which includes two parts of parameter calibration and use operation.
[0055] As shown in Figure 5 the first part, the parameter calibration part is realized by the following steps:
[0056] Step one, focal length position calibration:
[0057] Firstly, the device is placed in front of the collimator, and it is ensured that the light signal of the collimator can be focused on the imaging interface of the camera unit in the optical imaging subsystem. Secondly, the step motor assembly of the focusing unit in the optical imaging subsystem is controlled to move by the single-step control mode of the control and feedback information display unit in the human-computer interaction subsystem, so as to drive the lens assembly installed in cooperation to move in a certain direction. Finally, the step motor assembly performs a movement operation a times (a is a value defined by the operator, and the greater the value of a is, the higher the position calibration accuracy is), and then the focal length position calibration is performed once, until the corresponding positions of all focal lengths are calibrated.
[0058] If there are multiple focusing units, step one needs to be repeated until the focal length position calibration of all components is completed.
[0059] Step two, temperature calibration:
[0060] Firstly, the device is placed in the temperature chamber and in front of the collimator, and the light signal of the collimator is focused on the imaging interface of the camera unit in the optical imaging subsystem. Secondly, the stepping motor assembly of the focusing unit in the optical imaging subsystem is controlled to move in a certain direction by the multi-step control mode of the control and feedback information display unit in the human-computer interaction subsystem (the multiple B is related to the value of a in step one, and the larger the value of a, the smaller the value of B). Thirdly, after the stepping motor assembly performs c times of movement operation (c is a value defined by the operator, and the larger the value of c, the higher the temperature calibration accuracy), temperature calibration is performed once, until the corresponding positions of all focal lengths at the temperature are calibrated, and the temperature error compensation value b is obtained. Finally, the temperature of the temperature chamber is changed and the above process is repeated until the calibration is completed.
[0061] After the above parameter calibration part is completed, the second part, the operation related steps, can be performed.
[0062] As shown in Figure 6 , the second part, the operation, is implemented by the following steps:
[0063] Step one, power-on zeroing:
[0064] When the device of the application is powered on, the electronic control subsystem automatically controls the focusing unit in the optical imaging subsystem to move in a certain set direction at a speed v0 designed by the motor speed adjustment module in the electronic control subsystem, until the limit response mechanism of the zeroing limit component of the focusing unit in the optical imaging subsystem is triggered, the electronic control subsystem automatically controls the focusing unit in the optical imaging subsystem to stop, at this time the counting unit in the electronic control subsystem will directly clear the counting values.
[0065] Step two, semi-automatic focusing:
[0066] The focal length value is input through the control and feedback information display unit in the human-computer interaction subsystem, i.e. using its focal length control mode. Then, the stepping motor assembly of the focusing unit in the optical imaging subsystem is automatically controlled by the electronic control subsystem to drive the lens assembly cooperating therewith to rotate, and the counting module of the core control unit in the electronic control subsystem starts counting and uploads the value to the control and feedback information display unit in the human-computer interaction subsystem through the data transmission unit. When the counting value meets the mapping relationship of the input focal length value, the stepping motor assembly of the focusing unit in the optical imaging subsystem is automatically controlled by the electronic control subsystem to stop, and the focusing work is completed.
[0067] As an optional solution, the parameter calibration part only needs to be performed once under normal circumstances, and does not need to be calibrated again after the parameter calibration.
[0068] As an optional solution, in the semi-automatic focusing step, only a single focal length value is inputted to control multiple stepping motor assemblies, so as to achieve the purpose of compound focusing.
[0069] As an optional solution, in the semi-automatic focusing step, when passing through a certain error compensation limit position response unit, the accumulated error caused by the precision of the stepping motor assembly itself is automatically eliminated.
[0070] As an optional solution, in the semi-automatic focusing step, the count value corresponding to the same focal length value at different temperatures is related to the temperature value, and the calculation formula is as follows:
[0071]
[0072] Wherein, N' is the count value corresponding to the current temperature; N is the count value corresponding to the normal temperature; h is the proportional coefficient obtained through temperature calibration; T is the normal temperature; x is the corrected temperature value; n is the polynomial coefficient, the larger the value of n is, the higher the precision of N' is, and the specific value can be determined by the operator.
[0073] As an optional solution, when performing the semi-automatic focusing step, the count zero function can be executed according to the needs of the operator. The operator selects the count zero through the control and feedback information display unit in the man-machine interaction subsystem, at this time, the electronic control subsystem automatically controls the focusing unit in the optical imaging subsystem to move in a certain set direction according to the speed v0 designed by the motor speed adjustment module in the electronic control subsystem, until the limit position response mechanism of the zero limit position assembly of the focusing unit in the optical imaging subsystem is triggered, the electronic control subsystem automatically controls the focusing unit in the optical imaging subsystem to stop, and at the same time, the count unit in the electronic control subsystem directly clears the count values to eliminate the accumulated error that may exist.
[0074] Embodiment 3
[0075] A storage medium, the storage medium stores a program file capable of realizing the open-loop high-precision semi-automatic focusing motor control method of any one of the above.
[0076] Embodiment 4
[0077] A processor, the processor is used to run a program, wherein the program executes the open-loop high-precision semi-automatic focusing motor control method of any one of the above when running.
[0078] The above embodiment numbers of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.
[0079] In the above embodiments of the present application, the description of each embodiment has its own emphasis, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.
[0080] In several embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. Among them, the system embodiments described above are only illustrative, for example, the division of units can be a logical function division, and actual implementation can have another division mode, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units or modules shown or discussed can be indirect coupling or communication connection between the units or modules through some interfaces, and can be electrical or other forms.
[0081] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or they can be distributed to multiple units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
[0082] In addition, the functional units in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically, or two or more units can be integrated into one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0083] If the integrated unit is realized in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a plurality of instructions for causing a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the embodiments of the present application. The foregoing storage medium includes: a U disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.
[0084] The above is only the preferred embodiment of the present application. It should be noted that for those skilled in the art, without departing from the principles of the present application, a number of improvements and refinements can be made, and these improvements and refinements should be considered as the protection scope of the present application.
Claims
1. An open loop high precision semi-automatic focusing motor control device, characterized by, The application relates to a semi-automatic focusing system, which comprises an optical imaging subsystem, an electronic control subsystem and a human-computer interaction subsystem. The optical imaging subsystem comprises a lens assembly, a camera unit, a limiting assembly and a focusing unit. The lens assembly moves in a specific direction under the motion control of the electronic control subsystem, and focuses optical signals on the imaging interface of the camera unit during the movement. The limiting assembly sends a response signal to the electronic control subsystem, which controls the optical imaging subsystem to perform corresponding actions and carries out feedback signal clearing and error compensation operations. The electronic control subsystem comprises an AC-DC power supply unit, a DC-DC voltage stabilizing unit, a temperature detection unit, a motor driving unit, a limiting response unit, a data transmission unit and a core control unit. The temperature detection unit transmits collected temperature signals to the core control unit for processing. The core control unit comprises a motor control module, a motor speed adjusting module, a counting module and a data processing module. The temperature detection unit comprises multiple temperature sensors. ; Wherein x is the corrected temperature value, its unit is ℃; k is the compensation coefficient, its numerical value is related to the signal of the temperature sensor selected by the designer; is the average value of the temperature signals collected by the temperature sensor, and b is the temperature error compensation value obtained after temperature calibration. After the error compensation correction, the data transmission unit of the electronic control subsystem uploads the data to the human-computer interaction subsystem. The control and feedback information display unit of the human-computer interaction subsystem inputs the focal length value. The core control unit of the electronic control subsystem starts counting and uploads the value to the control and feedback information display unit of the human-computer interaction subsystem through the data transmission unit. ; Wherein, N is the corresponding count value at normal temperature; h i is the proportional coefficient known after temperature calibration; T is the normal temperature; x is the corrected temperature value; n is the polynomial coefficient, the larger the value of n, the higher the accuracy, and the specific value is determined by the operator.
2. The open loop high precision autofocus motor control device of claim 1, wherein, When the counting value meets the mapping relationship of the input focal length value, the electronic control subsystem automatically controls the step motor assembly of the focusing unit to stop, and the focusing work is completed. The counting value corresponding to the same focal length value at different temperatures is related to the temperature value, and the calculation formula is as follows: The focusing unit comprises the lens assembly, the step motor assembly and the limiting assembly. The lens assembly is installed on the respective step motor assembly, and the rotation of the rotor of the step motor assembly drives the lens assembly to move in a specific direction, so that the optical signals are focused on the imaging interface of the camera unit.
3. The open loop high precision autofocus motor control device of claim 2, wherein, The limit component includes at least one zero-clearing limit component and multiple error compensation limit components. When the lens component triggers the response mechanism of the limit component under the drive of the stepping motor component, the limit component sends a response signal to the limit response unit of the electronic control subsystem. The motor drive unit in the electronic control subsystem controls the stepping motor component of the focusing unit in the optical imaging subsystem to perform corresponding actions according to the response signal, and performs zero-clearing and error compensation operations.
4. The open loop high precision autofocus motor control device of claim 3, wherein, The AC-DC power supply unit is used to convert 220V / 50Hz alternating current into direct current. The DC-DC voltage stabilizing unit is used to rectify and stabilize the direct current converted by the AC-DC power supply unit, and supply the entire device. The motor drive unit is used to modulate and amplify the motor rotation signal, direction signal and enable signal from the core control unit, so as to drive the stepping motor component in the optical imaging subsystem to rotate clockwise, counterclockwise and stop according to the designed speed / acceleration. The limit response unit is used to transmit the response signal generated by the limit component in the optical imaging subsystem to the core control unit for processing. The data transmission unit is used to transmit the downlink control data transmitted by the data transmission unit in the human-computer interaction subsystem to the core control unit for processing, and upload part of the feedback data processed by the core control unit to the data transmission unit in the human-computer interaction subsystem. The motor control module is used to integrate and process the downlink control signal obtained by combining the data transmission unit and the response signal obtained by the limit response unit, so as to obtain the motor rotation signal, direction signal and enable signal meeting the real-time requirements of the operating personnel, and send them to the motor drive unit. The motor speed adjustment module is used to modulate the rotation speed of the stepping motor component in the optical imaging subsystem by modulating the frequency of the motor rotation signal in the motor control module. The counting module is used to count the edges of the motor rotation signal in the motor control module, and map the mechanical position of the stepping motor component in the optical imaging subsystem. After error compensation, the data is uploaded to the data transmission unit in the human-computer interaction subsystem through the data transmission unit. The data processing module is used to integrate and process the data obtained from the temperature detection unit, and upload the processed data to the data transmission unit in the human-computer interaction subsystem through the data transmission unit in the electronic control subsystem.
5. The open loop high precision autofocus motor control device of claim 4, wherein, The human-computer interaction subsystem includes an image display unit, a control and feedback information display unit, and a data transmission unit. The image display unit is used to display the image signal collected by the camera unit in the optical imaging subsystem on the host computer. The control and feedback information display unit is used to display the control and feedback information of the optical imaging subsystem on the host computer. The data transmission unit is used to transmit the control and feedback information of the optical imaging subsystem to the human-computer interaction subsystem. The control and feedback information display unit is used to transmit the motor control signal required by the operator to the data transmission unit in the electronic control subsystem through the data transmission unit in the human-computer interaction subsystem, and display the feedback signal uploaded by the electronic control subsystem on the host computer interface. The data transmission unit is used to transmit the control signal and the feedback signal.
6. The open loop high precision autofocus motor control device of claim 5, wherein, The control and feedback information display unit in the human-computer interaction subsystem has three control modes: single-step control, multi-step control, and focus control, which can be selected by the operator. When single-step control is selected, the moving distance of the stepper motor assembly in the optical imaging subsystem is calculated by the following formula: ; wherein A is a sub-division ratio selected by an operator; L is a base step length of the stepper motor assembly; When multi-step control is selected, the moving distance of the stepper motor assembly in the optical imaging subsystem is B times the moving distance in single-step control, and the multiple value B is determined by the operator through the control and feedback information display unit in the human-computer interaction subsystem. The focus control mode is to input the focal length in the control and feedback information display unit in the human-computer interaction subsystem after the focus position calibration is completed, and then automatically control the stepper motor assembly to drive the lens assembly to move, so as to achieve automatic focusing.
7. The open loop high precision autofocus motor control device of claim 6, wherein, The focus control mode simultaneously controls multiple focus units to move, thereby achieving multi-motor group composite focusing.
8. A method for controlling the open loop high precision semi-automatic focusing motor according to claim 1, characterized in that, The method comprises the following steps: Step 1: Focus position calibration Place the device in front of the collimator, and ensure that the light signal of the collimator can be focused on the imaging interface of the camera unit in the optical imaging subsystem. Then, use the single-step control mode of the control and feedback information display unit in the human-computer interaction subsystem to control the stepper motor assembly of the focus unit in the optical imaging subsystem to move, thereby driving the lens assembly installed in cooperation with the stepper motor assembly to move in a direction. Finally, perform focus position calibration once for every multiple movements of the stepper motor assembly, until all the corresponding positions of the focal lengths are calibrated. Step 2: Temperature calibration Place the device in the temperature chamber and in front of the collimator, and ensure that the light signal of the collimator can be focused on the imaging interface of the camera unit in the optical imaging subsystem. Then, use the multi-step control mode of the control and feedback information display unit in the human-computer interaction subsystem to control the stepper motor assembly of the focus unit in the optical imaging subsystem to move, thereby driving the lens assembly installed in cooperation with the stepper motor assembly to move in a direction. Then, perform temperature calibration once for every multiple movements of the stepper motor assembly, until all the corresponding positions of the focal lengths at the temperature are calibrated, and the temperature error compensation value is obtained. Finally, change the temperature of the temperature chamber and repeat the above process until calibration is completed. Step 3: Power zeroing The electronic control subsystem automatically controls the focusing unit in the optical imaging subsystem to move in a set direction at a speed designed by the motor speed adjustment module in the electronic control subsystem until the limit response mechanism of the zeroing limit component of the focusing unit in the optical imaging subsystem is triggered, at which time the electronic control subsystem automatically controls the focusing unit in the optical imaging subsystem to stop, and at this time the counting unit in the electronic control subsystem directly clears the counts to zero; Step four, semi-automatic focusing: The focal length value is input through the control and feedback information display unit in the human-computer interaction subsystem; then, the electronic control subsystem automatically controls the stepping motor component of the focusing unit in the optical imaging subsystem to drive the lens component cooperating therewith to rotate, and the counting module of the core control unit in the electronic control subsystem starts counting and uploads the value to the control and feedback information display unit in the human-computer interaction subsystem through the data transmission unit; when the counting value meets the mapping relationship of the input focal length value, the electronic control subsystem automatically controls the stepping motor component of the focusing unit in the optical imaging subsystem to stop, and the focusing work is completed; In the semi-automatic focusing step, the counting value corresponding to the same focal length value at different temperatures is related to the temperature value, and the calculation formula is: ; wherein, N is the count value corresponding to the normal temperature; h is the correction value corresponding to the temperature; and N is the count value corresponding to the normal temperature. i is the proportional coefficient known after temperature calibration; T is the normal temperature; and x is the corrected temperature value. n is a polynomial coefficient, the greater the value of n, the higher the accuracy, and its specific value is determined by the operator.
Citation Information
Patent Citations
System for eliminating stepper motor accumulative error and control method therefor
CN105680665A
Ultra-high-speed zoom macro camera and shooting system
CN209964166U
Photographing device of image photographing and synthesizing system
CN216162754U