Camera zoom control system and method based on optical zoom technology
By introducing technical means of multi-module collaborative work in the camera zoom control system, the problems of low zoom accuracy and unstable image quality in the existing systems are solved, and more accurate zoom control and higher quality image output are achieved.
Patent Information
- Application Number
- CN202510341518.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-21
- Publication Date
- 2025-04-18
AI Technical Summary
When calculating the lens movement distance, the existing camera zoom control system based on optical zoom technology fails to fully consider the optical characteristic parameters and environmental factors of the lens, resulting in low zoom accuracy, unstable image quality, and lack of intelligent learning and optimization capabilities.
The system is adopted that includes a zoom command receiving module, a lens parameter calculation module, a driving control module, a lens movement module, an image quality evaluation module, an ambient light detection module, an anti-shake compensation module and an intelligent learning module. By detecting the light intensity and jitter in real time, combining the lens optical characteristic parameters, the lens movement distance is accurately calculated, and the closed-loop control algorithm and intelligent learning module are used for optimization.
It realizes more accurate zoom control, reduces the impact of jitter on image quality, improves image clarity, color reproduction and contrast, and provides personalized and high-quality zoom services.
Smart Images

Figure CN119854636A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of camera zoom control, and in particular to a camera zoom control system and method based on optical zoom technology. Background Art
[0002] In today's digital age, cameras are widely used in many fields such as smart phones, digital cameras, and security monitoring, and people's requirements for camera shooting effects are getting higher and higher. As one of the key technologies to improve camera shooting capabilities, optical zoom technology can achieve close or far shooting of the subject without losing image quality, bringing users a richer shooting experience.
[0003] However, the existing camera zoom control system based on optical zoom technology has many shortcomings. After receiving the user's zoom command, the traditional zoom control system often finds it difficult to accurately calculate the distance the lens needs to move, resulting in a deviation between the focal length after zooming and the target focal length expected by the user. This is mainly because the optical characteristic parameters of the lens and the influence of environmental factors are not fully considered during the calculation process. For example, different lenses have different optical structures and materials, and the relationship between their focal length change and the lens movement distance is not a simple linear relationship. Traditional systems usually use fixed proportional coefficients for calculations, which cannot adapt to the characteristics of different lenses.
[0004] At the same time, the light intensity of the shooting environment also has a significant impact on the zoom effect. In a dark environment, the optical performance of the lens will change, such as the refractive index, which will affect the accuracy of the focal length. However, most existing zoom control systems do not make real-time adjustments to the light intensity, resulting in uneven image quality in different light environments.
[0005] In addition, the camera will inevitably shake during use, which will seriously interfere with the zoom effect. Traditional anti-shake technology mainly focuses on image stabilization at the moment of shooting, and has poor effect on shake compensation during the zoom process. When the camera shakes during the zoom process, the movement trajectory of the lens will be affected, resulting in blurred images after zooming, which cannot meet the user's demand for clear images.
[0006] In terms of image quality assessment, existing systems often only focus on image clarity, while ignoring important factors such as color reproduction and contrast. A single evaluation metric cannot fully reflect the actual quality of an image, which may result in the image appearing clear but with distorted colors or inappropriate contrast in some cases, affecting the overall visual effect.
[0007] Moreover, traditional zoom control systems lack intelligent learning and optimization capabilities. As user habits and shooting scenes continue to change, the system cannot adjust and optimize itself based on historical data, making it difficult to provide personalized, high-quality zoom services.
[0008] In summary, there is an urgent practical need to develop a camera zoom control system and method based on optical zoom technology that is more accurate, intelligent, and adaptable to different environments. It can effectively solve the problems existing in the existing technology and improve the camera's shooting performance and user experience. Summary of the invention
[0009] The present invention provides a camera zoom control system and method based on optical zoom technology to solve the problems mentioned in the above-mentioned prior art.
[0010] In order to achieve the above object, the present invention adopts the following technical solution: a camera zoom control system based on optical zoom technology, comprising: Zoom command receiving module: receives the zoom command input by the user, the command includes the target focal length f target ; Lens parameter calculation module: according to the target focal length f target , combined with the actual focal length f of the current lens current , through the formula Δf=f target −f current Calculate the focal length change Δf, and calculate the distance d that the lens needs to move based on the optical characteristic parameters of the lens. The calculation formula is d=k×Δf, where k is the proportional coefficient of the lens moving distance and the focal length change; Driving control module: generates a driving signal according to the calculated lens moving distance d to control the movement of the lens moving module; Lens moving module: under the action of driving signal, moves the lens to complete optical zoom; Image quality assessment module: After the lens moves, the quality of the captured image is assessed using the image clarity assessment function , where G(i,j) is the gradient value of pixel (i,j) in the image, and the image quality Q is lower than the preset threshold Q threshold , triggering the readjustment mechanism.
[0011] Furthermore, it also includes: Ambient light detection module: real-time detection of the light intensity L of the shooting environment. When calculating the lens movement distance d, the lens parameter calculation module considers the influence of the light intensity L and adjusts the proportional coefficient k to k′=k×(1+α×L), where α is the light intensity influence coefficient.
[0012] Furthermore, it also includes: Anti-shake compensation module: When the camera is detected to be shaking, the gyroscope sensor is used to obtain the direction and amplitude of the shaking. The drive control module generates a compensation drive signal based on the shaking information and controls the lens movement module to perform reverse movement compensation. The compensation amount d compensation The relationship d is satisfied with the jitter amplitude A compensation =β×A, β is the compensation coefficient.
[0013] Furthermore, the lens moving module adopts a stepping motor, and the stepping angle accuracy of the stepping motor is ±0.01°.
[0014] Furthermore, the image quality assessment module considers the color reproduction C and contrast S of the image when evaluating the image quality. The comprehensive image quality assessment formula is Q total =w1Q+w2C+w3S, where w1, w2 and w3 are weight coefficients, and w1+w2+w3=1.
[0015] Furthermore, the drive control module uses a closed-loop control algorithm to monitor the actual moving position of the lens in real time. actual , and compared with the calculated target moving position d; deviation Δd = |d−d actual | Exceeds the preset deviation threshold Δd threshold , adjust the driving signal to move the lens to the target position.
[0016] Furthermore, it also includes: Intelligent learning module: By collecting zoom operation data and corresponding image quality data, a mapping model between zoom parameters and image quality is established using a machine learning algorithm. In subsequent zoom operations, the calculation results of the lens parameter calculation module are automatically optimized according to the model.
[0017] Furthermore, it also includes: Zoom command receiving step: receiving the zoom command input by the user and obtaining the target focal length f target ; Lens parameter calculation steps: According to the target focal length f target and the actual focal length f of the current lens current , calculate the focal length change Δf=f target −f current , combined with the lens optical characteristic parameters, calculate the distance the lens needs to move d = k × Δf; Drive control step: generating a drive signal according to the calculated lens movement distance d to control the movement of the lens; Lens moving steps: Move the lens under the control of the driving signal to complete the zoom; Image quality assessment step: After the lens movement is completed, the quality of the captured image is assessed using the image clarity assessment function , the image quality Q is lower than the preset threshold Q threshold , triggering the readjustment mechanism; Ambient light detection step: Real-time detection of the intensity of ambient light in the shooting environment to provide a basis for the lens parameter calculation module to adjust the proportional coefficient; Anti-shake compensation steps: obtaining the direction and amplitude information of the shake, and the driving control module controls the lens to perform reverse movement compensation according to the shake information; Intelligent learning steps: collect zoom operation data and image quality data, and use learning algorithms to establish mapping models.
[0018] Furthermore, before calculating the lens moving distance d, the light intensity L of the shooting environment is detected in real time, the proportional coefficient k is adjusted to k′=k×(1+α×L), and the lens moving distance d=k′×Δf is calculated based on k′.
[0019] Furthermore, in the process of controlling the lens moving module to move the lens, the camera shake is monitored in real time. When the shake is detected, the direction and amplitude information of the shake is obtained through the gyroscope sensor, and a compensation driving signal is generated according to the shake information to control the lens moving module to perform reverse movement compensation. The compensation amount d compensation =β×A.
[0020] Compared with the prior art, the present invention has the following beneficial effects: The camera zoom control system and method based on optical zoom technology have many significant beneficial effects and can effectively improve the zoom performance and shooting quality of the camera.
[0021] In terms of zoom accuracy, the system uses an accurate lens parameter calculation module to calculate the focal length change in combination with the target focal length and the current focal length, and calculates the lens movement distance based on the lens optical characteristic parameters. At the same time, the influence of ambient light intensity on the proportional coefficient is considered, so that accurate zoom can be achieved in different light environments, reducing zoom errors and ensuring that the zoomed focal length is closer to the target focal length expected by the user.
[0022] In terms of anti-shake function, the anti-shake compensation module can detect the camera's shaking in real time, obtain shaking information through sensors such as gyroscopes, and generate compensation drive signals according to the shaking amplitude to control the lens to move in the opposite direction for compensation. This effectively reduces the impact of shaking on the zoom effect, ensures that the images taken during the zoom process are clear and stable, and improves the success rate of shooting.
[0023] In terms of image quality assessment, a comprehensive evaluation formula is used, which not only considers the clarity of the image, but also factors such as color reproduction and contrast to more comprehensively evaluate the image quality. When the image quality is lower than the preset threshold, the readjustment mechanism can be triggered in time to ensure that high-quality images are captured.
[0024] The lens movement module uses a high-precision stepper motor with a step angle accuracy of ±0.01°, ensuring that the lens can be accurately moved to the calculated position, further improving the accuracy of the zoom.
[0025] The drive control module adopts a closed-loop control algorithm to monitor the actual moving position of the lens in real time and compare it with the target position. If the deviation exceeds the threshold, the drive signal is adjusted to ensure that the lens reaches the target position accurately.
[0026] The intelligent learning module builds a mapping model by collecting a large amount of data, which can automatically optimize the calculation results in subsequent zoom operations, allowing the system to continuously adapt to the usage habits and shooting scenes of different users, and provide personalized, high-quality zoom services. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A schematic block diagram of a camera zoom control system based on optical zoom technology proposed by the present invention; Figure 2 A schematic block diagram of a camera zoom control method based on optical zoom technology proposed by the present invention; Figure 3 This is a schematic diagram of the relationship between the lens moving distance and the focal length change under different light intensities; Figure 4 Schematic diagram of the relationship between jitter amplitude and compensation amount; Figure 5 This is a schematic diagram of the relationship between image quality assessment indicators and the number of shots; Figure 6 Schematic diagram of zoom error comparison before and after optimization of the intelligent learning module. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0029] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0030] In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined. In addition, the terms "installed", "connected" and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, and it can be the internal connection of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances. The present invention will be further described in detail below in conjunction with the accompanying drawings.
[0031] Reference Figure 1-6 : A camera zoom control system based on optical zoom technology, comprising: Zoom command receiving module: This module can be implemented using input devices such as touch screens and buttons. From a hardware perspective, taking the touch screen as an example, its underlying layer relies on capacitive sensing technology. When the user's finger touches the screen, the capacitance value at the touch point will change. After the touch screen controller detects these capacitance changes, it will accurately locate the touch position through complex signal processing and coordinate calculation. In the camera application interface of a smartphone, the zoom button and zoom bar are designed as specific touch areas. When the user clicks the zoom button or slides the zoom bar, the touch screen converts these touch operations into electrical signals and transmits them to the main control chip of the mobile phone according to a specific communication protocol (such as I2C, USB, etc.). For key input devices, mechanical keys or membrane keys are common. Mechanical keys use internal metal shrapnel or conductive rubber to close and open the circuit, while membrane keys use the contact of two layers of conductive film to generate electrical signals. When the user presses the key, the corresponding circuit is triggered, and the generated electrical signal is also transmitted to the main control chip. In terms of command generation, whether it is a touch screen or a key operation, the system software will parse and encapsulate the input signal. When the user's zoom operation is detected, the software will generate a target focal length f according to the type and location of the operation. targetThe target focal length may be determined based on a preset zoom multiple sequence or by linear calculation based on the precise sliding position of the user on the zoom bar. The generated zoom command is packaged in a specific data format (such as binary data or JSON format) and then passed to the lens parameter calculation module through the bus inside the system (such as SPI, I2C bus). During the transmission process, in order to ensure the accuracy and integrity of the data, a verification mechanism such as CRC (cyclic redundancy check) is also used to verify the transmitted data. Once a data error is found, a retransmission will be requested to ensure that the zoom command can reach the lens parameter calculation module accurately, providing a reliable basis for subsequent lens parameter calculations and zoom operations.
[0032] Lens parameter calculation module: This module consists of a high-performance microprocessor and related storage chips. The microprocessor receives the target focal length f from the zoom command receiving module. target , and read the actual focal length f of the current lens current , through the formula Δf=f target −f current Calculate the focal length change Δf. The optical characteristic parameters of the lens are pre-stored in the memory chip. Based on these parameters, the microprocessor calculates the distance d that the lens needs to move using the formula d=k×Δf, where k is the proportional coefficient between the lens moving distance and the focal length change.
[0033] Drive control module: It consists of a drive chip and a control circuit. As one of the core components of the module, the drive chip has powerful data processing and signal generation capabilities. It communicates with the lens parameter calculation module through a specific interface, such as SPI (serial peripheral interface) or I2C (integrated circuit bus), and receives the calculated lens movement distance d. This data transmission process follows a strict communication protocol to ensure the accuracy and stability of the data. The driver chip integrates complex algorithm logic. After receiving the lens movement distance d, it will analyze and calculate the data according to the pre-set control strategy and the characteristic parameters of the lens movement module. For example, according to the step angle, speed-torque characteristics, etc. of the stepper motor used in the lens movement module, the lens movement distance d is converted into corresponding drive signal parameters, such as pulse frequency, number of pulses, and pulse sequence, and then the corresponding drive signal is generated. These drive signals are output in the form of electrical pulses, and their accuracy and stability directly affect the accuracy of lens movement. The control circuit undertakes the important task of further processing and amplifying the drive signal output by the driver chip. The signal conditioning unit in the control circuit will filter the initial drive signal to remove high-frequency noise and interference components in the signal to ensure the purity of the signal. Subsequently, the signal amplification unit uses devices such as power amplifiers to amplify the voltage and current of the drive signal to appropriate levels according to the drive requirements of the lens moving module. Different types of lens moving modules, such as stepper motors or voice coil motors, require different drive powers, and the control circuit will make precise adjustments based on actual conditions. In addition, the control circuit may also integrate a feedback monitoring circuit to monitor the actual working status of the lens moving module in real time, such as the speed and position of the motor, and transmit this feedback information back to the driver chip so that the driver chip can dynamically adjust the drive signal according to actual conditions to achieve closed-loop control, thereby ensuring that the lens moving module can be accurately controlled so that the lens can complete the moving operation at the expected distance and accuracy.
[0034] Lens moving module: The lens moving module is the key executive component of the camera zoom control system based on optical zoom technology. It is mainly composed of a high-precision stepper motor and a transmission mechanism. The two work together to achieve precise movement of the lens, thereby achieving the optical zoom function. As the power source for lens movement, the high-precision stepper motor has excellent control accuracy. Its step angle accuracy reaches ±0.01°. This high-precision feature is derived from its sophisticated internal structural design and advanced drive control technology. The stator and rotor inside the stepper motor are made of special magnetic materials. By accurately controlling the power-on sequence and current size of the stator winding, the rotor can be rotated in steps according to the preset angle. In addition, the motor is equipped with a high-resolution encoder, which can provide real-time feedback on the rotation angle information of the motor, so that the drive control module can accurately adjust the rotation of the motor, ensure that the motor can accurately rotate according to the drive signal issued by the drive control module, and provide stable and accurate power output for lens movement. The transmission mechanism plays a key role in power conversion and transmission between the stepper motor and the lens. It is responsible for converting the rotation of the stepper motor into linear movement of the lens. Common transmission mechanisms include screw nut transmission and gear rack transmission. Taking the screw-nut transmission as an example, the rotation of the stepper motor drives the screw to rotate, and the nut cooperates with the screw to make linear motion along the axial direction when the screw rotates, while the lens is connected to the nut, thereby realizing the linear movement of the lens. In this process, the pitch accuracy of the screw, the matching clearance between the nut and the screw, and the processing accuracy of the transmission components will affect the accuracy and stability of the lens movement. In order to ensure the high precision of the transmission, the screw and nut are usually manufactured using high-precision processing technology, and strict adjustments are performed during the assembly process to reduce the transmission clearance. At the same time, the transmission mechanism will also be equipped with a lubrication system to regularly lubricate the transmission components, reduce friction and wear, and further improve the reliability and accuracy of the transmission, thereby stably achieving optical zoom.
[0035] Image quality assessment module: includes image sensor and image processing chip. After the image sensor captures the image, it transmits the image data to the image processing chip. The image processing chip uses the image clarity assessment function The image quality is evaluated, where G(i,j) is the gradient value of the pixel (i,j) in the image. When the image quality Q is lower than the preset threshold Q threshold , triggering the readjustment mechanism.
[0036] The present invention also includes the following modules: Ambient light detection module: The ambient light detection module plays an important role in sensing external light conditions in the camera zoom control system based on optical zoom technology. It is composed of light sensors. Common light sensors are silicon photodiodes or photoresistors. Taking silicon photodiodes as an example, it works based on the photoelectric effect of semiconductors. When light is irradiated on the PN junction of the silicon photodiode, the photon energy is absorbed and electron-hole pairs are generated. Under the action of the built-in electric field of the PN junction, electrons and holes drift in different directions, respectively, thereby generating photocurrent. The magnitude of the photocurrent is proportional to the intensity of the incident light. By measuring the photocurrent and processing the conversion circuit, the light intensity information can be converted into an electrical signal that can be recognized by the system. The photoresistor uses the characteristic that its resistance value changes under different light intensities. When the light is dark, the resistance value of the photoresistor is large; as the light increases, the resistance value gradually decreases. By forming a voltage divider circuit with other components in the circuit, the change in resistance value can be converted into a voltage signal output to characterize the light intensity. These light sensors detect the light intensity L in the shooting environment in real time with extremely high sensitivity, and transmit the detected light intensity information to the lens parameter calculation module through a specific communication protocol, such as analog signal transmission (through voltage or current signal) or digital signal transmission (such as SPI, I2C communication protocol). After receiving the light intensity information, the lens parameter calculation module will adjust the proportional coefficient k according to the pre-set algorithm. The adjustment formula is k′=k×(1+α×L), where α is the light intensity influence coefficient. This coefficient is determined through a large number of experiments and data analysis, and it reflects the degree of influence of light intensity on the proportional coefficient. Different shooting scenes and camera characteristics may correspond to different α values. Through such an adjustment mechanism, the lens parameter calculation module can dynamically optimize the relevant parameters of the lens according to the actual light conditions to adapt to different shooting environments, thereby improving the quality of the captured image.
[0037] The present invention also includes the following modules: Anti-shake compensation module: equipped with sensors such as gyroscopes to detect camera shake. When the camera is detected to be shaking, the gyroscope obtains the direction and amplitude information A of the shaking and transmits it to the drive control module. The drive control module generates a compensation drive signal based on the shaking information and controls the lens moving module to perform reverse movement compensation. The compensation amount d compensation =β×A, where β is the compensation coefficient.
[0038] In the present invention, the lens moving module adopts a high-precision stepper motor as the core driving component. This stepper motor adopts advanced subdivision driving technology, and can achieve step rotation at a very small angle by accurately controlling the winding current. Specifically, the step angle accuracy of this stepper motor reaches ±0.01°. This high-precision index means that under the drive of the control signal, the stepper motor can rotate the corresponding angle extremely accurately. During the camera zoom process, the system will calculate the precise position of the lens to be moved based on image analysis and zoom algorithm. The high-precision stepper motor can adjust the displacement of the lens in a subtle and accurate manner according to the calculated results with its excellent control accuracy. From a mechanical structure point of view, the transmission mechanism of the stepper motor and the lens has been carefully designed and assembled, and a low-clearance, high-rigidity gear or screw transmission method is adopted, which further reduces the error accumulation in the transmission process, thereby ensuring that the lens can be accurately moved to the calculated position, providing a solid hardware foundation for obtaining clear and stable images during optical zoom.
[0039] In the present invention, the image quality assessment module does not rely solely on a single indicator when performing the image quality assessment task, but takes the color reproduction C and contrast S of the image into consideration. The evaluation of the color reproduction C is achieved by comparing the color information in the captured image with the standard color sample library. The system will accurately analyze the RGB (red, green, blue) values of each pixel in the image, calculate the degree of deviation from the standard color, and quantify the accuracy of color restoration. The evaluation of the contrast S is based on the brightness difference between different areas in the image. By processing the image in different regions and calculating the brightness ratio between adjacent regions, the contrast value of the entire image is obtained. In order to evaluate the image quality more comprehensively and accurately, the system adopts the comprehensive image quality evaluation formula Q total =w1Q+w2C+w3S. Among them, Q represents other basic indicators that affect image quality, such as clarity. w1, w2 and w3 are weight coefficients. Their settings are not fixed, but are dynamically adjusted by the algorithm according to different shooting scenes and needs, and always meet the condition of w1+w2+w3=1. In this way, the evaluation module can adapt to various shooting situations, conduct a more comprehensive and detailed evaluation of image quality, and provide more valuable data support for the camera's zoom control.
[0040] In the present invention, the drive control module adopts a closed-loop control algorithm. The core of this algorithm is to build a control system that can provide real-time feedback and adjustment. In the specific working process, the system uses a high-precision position sensor, such as a grating ruler or an encoder, to monitor the actual moving position of the lens in real time. actualThese position sensors can capture the displacement information of the lens with extremely high accuracy and convert it into electrical signals to transmit to the control unit. At the same time, the control unit calculates the target movement position d of the lens based on the preset zoom strategy and image analysis results. Then, the control unit compares the target movement position d with the actual movement position d. actual Perform accurate comparison. By calculating the deviation Δd=|dd actual | to measure the difference between the actual position of the lens and the target position. The calculation process here uses a high-precision numerical calculation method to ensure the accuracy of the deviation calculation. The system also sets a preset deviation threshold Δd threshold This threshold is carefully determined based on the camera's performance indicators and actual application requirements. When the calculated deviation Δd exceeds the preset deviation threshold Δd threshold When the control unit detects a deviation, it will react quickly. It will use complex control algorithms to adjust the parameters of the drive signal, such as voltage, current, and pulse frequency, according to the size and direction of the deviation. These adjusted drive signals will be transmitted to the motor that drives the lens to move, and then accurately control the operation of the motor so that the lens can be accurately moved to the target position, thereby ensuring that the camera can achieve high-precision position control during the zoom process, providing a strong guarantee for capturing high-quality images.
[0041] The present invention also includes the following modules: Intelligent learning module: During the data collection phase, the intelligent learning module continuously and extensively collects zoom operation data in various scenarios. These data cover many zoom-related parameters such as the lens's moving distance, zoom ratio, aperture size, and focus position. At the same time, it also synchronously collects the quality data of the image generated after each zoom operation, such as image clarity, color reproduction, contrast, and noise level. The collected data comes from a variety of sources, including operation records under different ambient lighting conditions, various types of shooting objects, and diverse shooting distances to ensure the comprehensiveness and diversity of the data. In the data processing phase, the intelligent learning module uses advanced machine learning algorithms, such as neural network algorithms in deep learning. Through in-depth analysis and mining of the massive amount of zoom operation data and image quality data collected, an accurate mapping model between zoom parameters and image quality is established. In the process of building the model, the data is preprocessed, including data cleaning to remove outliers and noise data, and data normalization to ensure that data of different dimensions are comparable. During the model training process, cross-validation and other technologies are also used to optimize the generalization ability of the model and prevent overfitting. In actual application, when performing subsequent zoom operations, the intelligent learning module will automatically optimize the calculation results output by the lens parameter calculation module based on the established mapping model. It will obtain the optimal zoom parameter adjustment suggestions from the model according to the current shooting scene and the user's shooting needs, and feedback to the lens parameter calculation module to correct the original calculation results. For example, in a low-light environment, the model may suggest increasing the aperture, adjusting the zoom factor and focus position appropriately to obtain a clearer image with less noise, thereby effectively improving the zoom effect and image quality, and bringing users a better shooting experience.
[0042] The present invention also discloses a camera zoom control method based on optical zoom technology, comprising the following steps: Zoom command receiving step: receiving the zoom command input by the user and obtaining the target focal length f target ; Lens parameter calculation steps: According to the target focal length f target and the actual focal length f of the current lens current , calculate the focal length change Δf=f target −f current , combined with the lens optical characteristic parameters, calculate the distance the lens needs to move d = k × Δf; Drive control step: generating a drive signal according to the calculated lens movement distance d to control the movement of the lens; Lens moving steps: Move the lens under the control of the driving signal to complete the zoom; Image quality assessment step: After the lens movement is completed, the quality of the captured image is assessed using the image clarity assessment function , the image quality Q is lower than the preset threshold Q threshold , triggering the readjustment mechanism; Ambient light detection step: Real-time detection of the intensity of ambient light in the shooting environment to provide a basis for the lens parameter calculation module to adjust the proportional coefficient; Anti-shake compensation steps: In the process of controlling the lens moving module to move the lens, the camera shake is monitored in real time. When the shake is detected, the direction and amplitude information A of the shake is obtained through sensors such as gyroscopes, and a compensation drive signal is generated according to the shake information to control the lens moving module to perform reverse movement compensation. The compensation amount d compensation =β×A; Intelligent learning steps: collect zoom operation data and image quality data, and use learning algorithms to establish mapping models.
[0043] In the present invention, before calculating the lens movement distance d, the first step is to detect the intensity of the light in the shooting environment in real time. This process relies on a high-precision light sensor, such as a common silicon photodiode light sensor. Silicon photodiodes work based on the photoelectric effect of semiconductors. When ambient light irradiates its PN junction, photons are absorbed to generate electron-hole pairs. Under the action of the built-in electric field of the PN junction, electrons and holes drift in different directions, respectively, forming a photocurrent proportional to the light intensity. Through the subsequent signal amplification and analog-to-digital conversion circuit, the photocurrent is converted into a digital signal, thereby accurately characterizing the light intensity L of the current environment. This detection process has extremely high real-time performance and can quickly respond to dynamic changes in ambient light. After obtaining the light intensity L, the system adjusts the proportional coefficient k according to a specific formula. The proportional coefficient k is adjusted to k′=k×(1+α×L), and then the lens movement distance d=k′×Δf is calculated based on k′. This calculation result will be used as a key parameter for the subsequent drive lens movement module to ensure that the lens can be accurately moved to the appropriate position to achieve the expected optical zoom effect, thereby meeting the shooting requirements under different light conditions.
[0044] In the present invention, in the process of controlling the lens moving module to move the lens, the camera shake is monitored in real time. A commonly used sensor for detecting shake is a gyroscope, which uses the principle of conservation of angular momentum to measure the rotational motion of an object. A gyroscope usually contains a high-speed rotating rotor. When the camera shakes, the angular momentum of the rotor causes the gyroscope to produce corresponding precession. By detecting the change of this precession, the direction information of the camera shake can be accurately obtained. At the same time, in combination with other sensors such as accelerometers, the amplitude A of the shake can be further accurately measured. The accelerometer can detect the acceleration change of an object in all directions. By integrating the acceleration data, the displacement amplitude of the shake can be calculated. Once the shake is detected, the system will quickly process the shake direction and amplitude information obtained by the gyroscope and other sensors. First, a special signal processing circuit is used to filter the signal output by the sensor to remove the noise interference therein to ensure the accuracy of the obtained shake information. Then, a compensation drive signal is generated according to the shake information through a specific algorithm. The generation of this compensation drive signal is based on the precise understanding of the characteristics of the lens moving module, including the rotation characteristics of the stepper motor, the transmission ratio of the transmission mechanism and other parameters. The generated compensation drive signal will be transmitted to the lens moving module. After receiving the compensation drive signal, the driver chip in the lens moving module will control the stepper motor to perform reverse movement compensation according to the signal instruction. The compensation amount d compensation =β×A, where β is a compensation coefficient determined through a large number of experiments and optimizations, which comprehensively considers the response characteristics of the lens moving module and the impact of different amplitude jitters on image quality. Through this precise reverse movement compensation mechanism, the impact of jitter on the quality of the captured image can be effectively reduced, ensuring that clear and stable images can be obtained in various complex shooting environments.
[0045] The above are only preferred specific implementation modes of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical solutions and inventive concepts of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A camera zoom control system based on optical zoom technology, characterized in that: Includes the following modules: Zoom command receiving module: receives the zoom command input by the user, the command includes the target focal length f target ; Lens parameter calculation module: according to the target focal length f target , combined with the actual focal length f of the current lens current , through the formula Δf=f target −f current Calculate the focal length change Δf, and calculate the distance d that the lens needs to move based on the optical characteristic parameters of the lens. The calculation formula is d=k×Δf, where k is the proportional coefficient of the lens moving distance and the focal length change; Driving control module: generates a driving signal according to the calculated lens moving distance d to control the movement of the lens moving module; Lens moving module: under the action of driving signal, moves the lens to complete optical zoom; Image quality assessment module: After the lens moves, the quality of the captured image is assessed using the image clarity assessment function , where G(i,j) is the gradient value of pixel (i,j) in the image, and the image quality Q is lower than the preset threshold Q threshold , triggering the readjustment mechanism.
2. The camera zoom control system based on optical zoom technology according to claim 1, characterized in that: Also includes: Ambient light detection module: real-time detection of the light intensity L of the shooting environment. When calculating the lens movement distance d, the lens parameter calculation module considers the influence of the light intensity L and adjusts the proportional coefficient k to k′=k×(1+α×L), where α is the light intensity influence coefficient.
3. The camera zoom control system based on optical zoom technology according to claim 1, characterized in that: Also includes: Anti-shake compensation module: When the camera is detected to be shaking, the gyroscope sensor is used to obtain the direction and amplitude of the shaking. The drive control module generates a compensation drive signal based on the shaking information and controls the lens movement module to perform reverse movement compensation. The compensation amount d compensation The relationship d is satisfied with the jitter amplitude A compensation =β×A, β is the compensation coefficient.
4. The camera zoom control system based on optical zoom technology according to claim 1, characterized in that: The lens moving module adopts a stepper motor, and the step angle accuracy of the stepper motor is ±0.01°.
5. The camera zoom control system based on optical zoom technology according to claim 1, characterized in that: When the image quality assessment module evaluates the image quality, it considers the color reproduction C and contrast S of the image. The comprehensive image quality assessment formula is Q total =w1Q+w2C+w3S, where w1, w2 and w3 are weight coefficients, and w1+w2+w3=1.
6. The camera zoom control system based on optical zoom technology according to claim 1, characterized in that: The drive control module uses a closed-loop control algorithm to monitor the actual movement position of the lens in real time. actual , and compare it with the calculated target moving position d; Deviation Δd = |d − d actual | Exceeds the preset deviation threshold Δd threshold , adjust the driving signal to move the lens to the target position.
7. The camera zoom control system based on optical zoom technology according to claim 1, characterized in that: Also includes: Intelligent learning module: By collecting zoom operation data and corresponding image quality data, a mapping model between zoom parameters and image quality is established using a machine learning algorithm. In subsequent zoom operations, the calculation results of the lens parameter calculation module are automatically optimized according to the model.
8. A camera zoom control method based on optical zoom technology using the system described in any one of claims 1 to 7, characterized in that: The following steps are involved: Zoom command receiving step: receiving the zoom command input by the user and obtaining the target focal length f target ; Lens parameter calculation steps: According to the target focal length f target and the actual focal length f of the current lens current , calculate the focal length change Δf=f target −f current , combined with the lens optical characteristic parameters, calculate the distance the lens needs to move d = k × Δf; Drive control step: generating a drive signal according to the calculated lens movement distance d to control the movement of the lens; Lens moving steps: Move the lens under the control of the driving signal to complete the zoom; Image quality assessment step: After the lens movement is completed, the quality of the captured image is assessed using the image clarity assessment function , the image quality Q is lower than the preset threshold Q threshold , triggering the readjustment mechanism; Ambient light detection step: Real-time detection of the intensity of ambient light in the shooting environment to provide a basis for the lens parameter calculation module to adjust the proportional coefficient; Anti-shake compensation steps: obtaining the direction and amplitude information of the shake, and the driving control module controls the lens to perform reverse movement compensation according to the shake information; Intelligent learning steps: collect zoom operation data and image quality data, and use learning algorithms to establish mapping models.
9. The camera zoom control method based on optical zoom technology according to claim 8, characterized in that: Before calculating the lens moving distance d, the light intensity L of the shooting environment is detected in real time, the proportional coefficient k is adjusted to k′=k×(1+α×L), and the lens moving distance d=k′×Δf is calculated based on k′.
10. The camera zoom control method based on optical zoom technology according to claim 8, characterized in that: In the process of controlling the lens moving module to move the lens, the camera shake is monitored in real time. When the shake is detected, the direction and amplitude of the shake are obtained through the gyroscope sensor, and a compensation drive signal is generated according to the shake information to control the lens moving module to perform reverse movement compensation. The compensation amount d compensation =β×A.
Citation Information
Patent Citations
Automatic focusing method, device, storage medium and terminal
CN108668086A
Control method, control device, camera assembly, electronic equipment and medium
CN113472991A
Auto-focus projection apparatus and projection optical engine including same
CN114624850A
Method for focusing and powering off shooting module, electronic equipment and readable medium
CN114915720A
Automatic focusing method of optical imaging equipment and camera circuit
CN115877556A
Cited By
Laser-assisted focusing system of power transmission line inspection camera
CN121028323A
Displacement imaging system and method suitable for semiconductor IGBT power module detection
CN121544748A
Underwater anti-shake lens
CN122331192A
An underwater anti-shake lens
CN122331192B