Projector focusing method based on linear Hall distance measurement

By using linear Hall and permanent magnet combination in the projector, the lens position and the algorithm model are established, the problem of missing intermediate amounts in the limit detection in the prior art is solved, and the efficiency and accuracy of the projector's automatic focus is improved. reduces costs.

CN119065187AActive Publication Date: 2024-12-03SHENZHEN XINZHILIAN SOFTWARE CO LTD

Patent Information

Application Number
CN202411559247.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-04
Publication Date
2024-12-03
Estimated Expiration
2044-11-04

AI Technical Summary

Technical Problem

In the existing projector focus system, limit detection only provides digital outputs of on or off, causing the main control to lose the intermediate amount of motion in the lens movement, which in turn affects the efficiency and accuracy of automatic focus.

Method used

Using a linear Hall ranging method, by installing linear Hall and permanent magnets in the projector lens, the analog voltage signal output from the linear Hall is used to detect the position change of the lens, and an algorithm model is established based on the lens imaging formula to accurately judge. The position and direction of movement of the lens.

Benefits of technology

It improves the efficiency and accuracy of the projector's automatic focus, reduces control costs, and provides more realistic feedback on motion data, enhancing the directness and accuracy of the motor control system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065187A_ABST
    Figure CN119065187A_ABST
Patent Text Reader

Abstract

The invention provides a projector focusing method based on linear Hall distance measurement, and the method comprises the following steps: 1, installing a linear Hall at a fixed end of a projector lens, and installing a permanent magnet at a movable end of the projector lens; 2, the linear Hall element is in signal connection with a motor control system; 3, in the focusing process of the projector, when the permanent magnet is close to or away from the linear Hall element, the voltage output of the linear Hall element generates linear voltage change along with the change of the distance; and 4, establishing an algorithm model, and converting the voltage linear change of the linear Hall element in the magnetic field range into the current distance between the Hall element and the permanent magnet, namely the specific position of the lens in the whole machine stroke. Focal length adjustment of the projector is completed through cooperation of the linear Hall element and the permanent magnet, and compared with traditional switch and optocoupler limiting, cost is lower. The transverse movement distance is detected through linear Hall output analog quantity and is consistent with the transverse telescopic direction of the projection lens, and motion data are fed back more truly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a focusing method, in particular to a projector focusing method based on linear Hall distance measurement, and belongs to the technical field of projector focusing. Background Art

[0002] A projector is a commonly used multimedia presentation device. Its main function is to project images or videos onto a screen or wall so that the audience can see them clearly. Projectors are widely used in education, business, entertainment and other fields, providing convenience for lectures, teaching, meetings, etc. Focusing is an important step in the use of a projector. Its main function is to adjust the focal length of the projector lens so that the projected image reaches the clearest state, making the image sharper and more layered, thereby improving the viewing experience. By adjusting the focal length, the projected image can be more in line with the audience's visual habits, reduce visual fatigue, and improve the viewing experience. Different projection distances and projection surface sizes require different focal length settings. Focusing can make the projector adapt to different projection environments.

[0003] Currently, limit detection is required in projection lens motor control to provide signal indications when the lens reaches one end and the other end. It is usually designed with 1-2 switches and optocouplers.

[0004] For example, the prior art CN206348581U discloses an automatic focusing projector, which includes an optical machine, a telescopic lens and an automatic focusing structure. The telescopic lens includes a lever, and the automatic focusing structure includes a motor, a focusing ring and a bracket. The photoelectric sensor switch can only provide a digital output of on or off, resulting in the main control receiving a signal only when the last lens arrives. In this way, the intermediate amount of movement is missing. The main control can only try to extend and retract multiple times to locate the position of the current lens in the entire stroke. For this reason, a projector focusing method based on linear Hall ranging is proposed. Summary of the invention

[0005] In view of this, the present invention provides a projector focusing method based on linear Hall ranging to solve or alleviate one of the technical problems existing in the prior art. Under the premise of controlling costs, the digital quantity of position detection is replaced with an analog quantity, and a judgment dimension is added to the main control lens motion control, thereby improving the efficiency and experience of automatic focusing of the projection, and at least providing a beneficial option.

[0006] The technical solution of the embodiment of the present invention is implemented as follows: a projector focusing method based on linear Hall distance measurement comprises the following steps: Step 1: Install a linear Hall at the fixed end of the projector lens and a permanent magnet at the movable end of the projector lens. The permanent magnet moves with the advance or contraction of the lens. Step 2: Connect the linear Hall sensor to the motor control system signal, and the linear Hall sensor sends the signal to the motor control system; Step 3: During the focusing process of the projector, when the permanent magnet approaches or moves away from the linear Hall, the voltage output of the linear Hall changes linearly with the distance. When the permanent magnet approaches the linear Hall element, the magnetic field strength B increases, resulting in an increase in the output level V; when the permanent magnet moves away, the magnetic field strength B decreases, resulting in a decrease in the output level V. Step 4: Establish an algorithm model, and use the linear change of the voltage of the linear Hall element within the magnetic field range to convert it into the distance between the current Hall element and the permanent magnet, that is, the specific position of the lens in the entire machine travel; Step 5: Calibrate and confirm the ADC values ​​a and b of the closest and farthest points of the permanent magnet during the lens focusing process, record the parameters, and compare the voltage ADC values ​​collected during actual operation with a and b during calibration to ensure that the lens is within the range between the closest point and the farthest point; Step 6: The motor control system determines whether the lens should move forward or backward according to the current position and the system blur level captured by the camera.

[0007] Further preferably, in step one, the linear Hall and the permanent magnet are arranged horizontally along the axis direction of the projector lens.

[0008] Further preferably: in step 2, the linear Hall is used to output an analog signal, that is, a continuous voltage signal.

[0009] Further preferably: in step three, the output level of the linear Hall element is linearly related to the strength of the external magnetic field within a certain range, and the linearity will trigger the stroke according to the strength of the magnetic field, and the stroke is the linear magnetic field range.

[0010] Further preferably: in step 4, the algorithm model is based on the lens imaging formula and the linear relationship between the Hall element voltage and the object distance.

[0011] Further preferably: in step 4, according to the lens imaging formula: 1 / u+1 / v=1 / f Where u is the object distance, v is the image distance, and f is the focal length. After changing the formula, we can get: u=fv / (v−f) According to the linear relationship between the object distance and the Hall element voltage: u=k 1 ×V adc +k 2 Where V adc is the Hall element voltage, combined with the lens imaging formula, we can get: k 1 ×Vadc +k 2 =fv / (v−f) After sorting out, we can know: V adc = (fv-k 2 v+k 2 f) / (k 1 (v−f)).

[0012] Further preferably, in the projector scene, the difference between the image distance v and the focal length f is smaller than the image distance v itself, that is, V−f≈V. The formula can be rearranged to obtain: V adc =(fv-k 2 v+k 2 f) / (k 1 v) V adc =(fk 2 ) / k 1 +(k 2 f) / (k 1 v) From this we can get: V adc =K 1 / v+K 2 According to the formula, the Hall element voltage V adc It is inversely proportional to the image distance v.

[0013] Further preferably: the Hall element voltage V adc The image distance v is measured to obtain multiple sets of corresponding values, and the least squares method is used to solve K 1 and K 2 .

[0014] Further optimization: solving K 1 and K 2 When , the function is recorded as: V adc = K 1 ×(1 / v) + K 2 Consider 1 / v as the independent variable, V adc As the dependent variable, linear regression is used to solve K 1 and K 2 .

[0015] Further preferably, in step six, the image at the current position is compared with the image at the previous position, and according to the change in clarity, the motor control system determines whether the next step is to continue moving forward or backward.

[0016] The embodiment of the present invention has the following advantages due to the adoption of the above technical solution: 1. The present invention uses a linear Hall and a permanent magnet to adjust the focal length of the projector, which is lower in cost than traditional switches and optical coupler limiters.

[0017] Second, the present invention can increase the process quantity for the motor control system, and can make the control system more accurate and direct.

[0018] 3. The present invention detects the distance of lateral movement through linear Hall output analog quantity, which is consistent with the lateral extension and contraction direction of the projection lens, and provides more realistic feedback of motion data.

[0019] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present invention will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0021] Figure 1 is a flow chart of the present invention; Figure 2 It is a linear relationship diagram between the output voltage and the magnetic induction intensity of the present invention; Figure 3 This is a structural diagram of a projector lens of the present invention; Figure 4 It is a system structure diagram of the present invention.

[0022] Figure numerals: 1, projection lens; 2, permanent magnet; 3, linear Hall sensor; 4, farthest end of the lens; 6, nearest end of the lens. DETAILED DESCRIPTION

[0023] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0024] It should be clear that the following embodiments of the present disclosure are described by specific specific examples, and those skilled in the art can easily understand other advantages and effects of the present disclosure from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all of the embodiments. The present disclosure can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present disclosure. It should be noted that the following embodiments and features in the embodiments can be combined with each other in the absence of conflict. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.

[0025] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein may be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein may be implemented independently of any other aspect, and two or more of these aspects may be combined in various ways. For example, any number of aspects described herein may be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein may be used to implement this device and / or practice this method.

[0026] It should also be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present disclosure. The drawings only show components related to the present disclosure rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0027] Additionally, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects described may be practiced without these specific details.

[0028] Embodiment 1 like Figure 1 and Figure 2 As shown, an embodiment of the present invention provides a projector focusing method based on linear Hall distance measurement, comprising the following steps: Step 1: Install a linear Hall at the fixed end of the projector lens and a permanent magnet at the movable end of the projector lens. The linear Hall and the permanent magnet are arranged horizontally along the axis of the projector lens, and the permanent magnet moves with the extension or contraction of the lens. Step 2: Connect the linear Hall sensor to the motor control system signal. The linear Hall sensor is used to output an analog signal, that is, a continuous voltage signal. The linear Hall sensor sends the signal to the motor control system. The camera also sends the signal to the motor control system. The motor control system sends the control signal to the motor to control the movement of the lens. Step 3: During the focusing process of the projector, when the permanent magnet approaches or moves away from the linear Hall element, the output level of the linear Hall element is linearly related to the strength of the external magnetic field within a certain range, such as Figure 2 As shown in the figure, when the permanent magnet approaches the linear Hall element, the magnetic field strength B increases, causing the output level V to increase; when the permanent magnet moves away, the magnetic field strength B decreases, causing the output level V to decrease. The linear will trigger the stroke according to the strength of the magnetic field, and the stroke is the linear magnetic field range. Step 4: Establish an algorithm model, and use the linear change of the voltage of the linear Hall element within the magnetic field range to convert it into the distance between the current Hall element and the permanent magnet, that is, the specific position of the lens in the entire machine stroke. The algorithm model is based on the lens imaging formula and the linear relationship between the Hall element voltage and the object distance. According to the lens imaging formula: 1 / u+1 / v=1 / f Where u is the object distance, v is the image distance, and f is the focal length. After changing the formula, we can get: u=fv / (v−f) According to the linear relationship between the object distance and the Hall element voltage: u=k 1 ×V adc +k 2 Where V adc is the Hall element voltage, combined with the lens imaging formula, we can get: k 1 ×V adc +k 2 =fv / (v−f) After sorting out: V adc = (fv-k 2 v+k 2 f) / (k 1 (v−f))) In the projector scenario, the difference between the image distance v and the focal length f is small relative to the image distance v itself, that is, V−f≈V. Rearranging the formula yields: V adc =(fv-k 2 v+k 2 f) / (k 1 v) V adc =(fk 2 ) / k 1 +(k 2f) / (k 1 v) From this we can get: V adc =K 1 / v+K 2 According to the formula, the Hall element voltage V adc It is inversely proportional to the image distance v.

[0029] The voltage V of the Hall element adc The image distance v is measured to obtain multiple sets of corresponding values, and the least squares method is used to solve K 1 and K 2 Solve for K 1 and K 2 When , the equation is written as: V adc = K 1 ×(1 / v) + K 2 Consider 1 / v as the independent variable, V adc As the dependent variable, linear regression is used to solve K 1 and K 2 .

[0030] Step 5: Calibrate and confirm the ADC values ​​a and b of the closest and farthest points of the permanent magnet during the lens focusing process, record the parameters, and compare the voltage ADC values ​​collected during actual operation with a and b during calibration to ensure that the lens is adjusted within the range between the closest point and the farthest point; Step 6: The motor control system compares the image at the current position with the image at the previous position according to the current position and the blur level of the image captured by the camera. According to the change in clarity, the motor control system determines whether to move forward or backward in the next step.

[0031] Embodiment 2 like Figure 1 and Figure 2 As shown, an embodiment of the present invention provides a projector focusing method based on linear Hall distance measurement, comprising the following steps: Step 1: Install a linear Hall sensor at the fixed end of the projector lens and a permanent magnet at the moving end of the projector lens. The linear Hall sensor and the permanent magnet are horizontally arranged along the axis of the projector lens. The linear Hall sensor is installed at the fixed end of the projector lens to ensure that the magnetic field change of the permanent magnet can be stably detected during the movement of the lens. The permanent magnet is installed at the moving end of the projector lens, and its magnetic pole direction should be aligned with the sensitive axis direction of the linear Hall sensor to achieve maximum magnetic field change detection. The linear Hall sensor and the permanent magnet should be horizontally arranged along the axis of the projector lens to ensure that when the lens moves, the relative position change between the two can accurately reflect the displacement of the lens. Step 2: Connect the linear Hall sensor to the motor control system signal. The linear Hall sensor is used to output analog signals, i.e., continuous voltage signals. When connecting, use appropriate cables or connecting wires to connect the output signal line of the linear Hall sensor to the analog signal input interface of the motor control system. Step 3. During the focusing process of the projector, when the permanent magnet approaches or moves away from the linear Hall, the output level of the linear Hall element is linearly related to the strength of the external magnetic field within a certain range. The linearity will trigger the stroke according to the strength of the magnetic field. The stroke is the linear magnetic field range. When the permanent magnet approaches the linear Hall element, the magnetic field strength B increases, resulting in an increase in the output level V; when the permanent magnet moves away, the magnetic field strength B decreases, resulting in a decrease in the output level V. This change process is the stroke, which represents the range of magnetic field strengths that the linear Hall element can respond to, that is, the linear magnetic field range.

[0032] Step 4: Establish an algorithm model, and use the linear change of the voltage of the linear Hall element within the magnetic field range to convert it into the distance between the current Hall element and the permanent magnet, that is, the specific position of the lens in the entire machine stroke. The algorithm model is based on the lens imaging formula and the linear relationship between the Hall element voltage and the object distance. According to the lens imaging formula: 1 / u+1 / v=1 / f Where u is the object distance, v is the image distance, and f is the focal length. After changing the formula, we can get: u=fv / (v−f) According to the linear relationship between the object distance and the Hall element voltage: u=k 1 ×V adc +k 2 Where V adc is the Hall element voltage, combined with the lens imaging formula, we can get: k 1 ×V adc +k 2 =fv / (v−f) After sorting out: V adc = (fv-k 2 v+k 2 f) / (k 1 (v−f))) In the projector scenario, the difference between the image distance v and the focal length f is small relative to the image distance v itself, that is, V−f≈V. Rearranging the formula yields: V adc =(fv-k 2 v+k 2 f) / (k 1 v) V adc =(fk 2) / k 1 +(k 2 f) / (k 1 v) From this we can get: V adc =K 1 / v+K 2 According to the formula, the Hall element voltage V adc It is inversely proportional to the image distance v.

[0033] The voltage V of the Hall element adc The image distance v is measured to obtain multiple sets of corresponding values, and the least squares method is used to solve K 1 and K 2 Solve for K 1 and K 2 When , the equation is written as: V adc = K 1 ×(1 / v) + K 2 Consider 1 / v as the independent variable, V adc As the dependent variable, linear regression is used to solve K 1 and K 2 .

[0034] The following is a simple C++ program example (for reference only) that uses the least squares method to solve K 1 and K 2 : / / Assume there are 10 sets of measurement data double Vadc

[10] = { / * value of Vadc* / }; double v

[10] = { / * value of v* / }; void calculate_coefficients(double *K1, double *K2) { double sum_inv_v = 0.0; double sum_Vadc = 0.0; double sum_inv_v_times_Vadc = 0.0; double sum_inv_v_sq = 0.0; / / Calculate the necessary sums for (int i = 0; i <n; i++) { double inv_v = 1.0 / v[i]; sum_inv_v += inv_v; sum_Vadc += Vadc[i]; sum_inv_v_times_Vadc += inv_v * Vadc[i]; sum_inv_v_sq += inv_v * inv_v; } double denominator = n * sum_inv_v_sq - sum_inv_v * sum_inv_v; *K1 = (n * sum_inv_v_times_Vadc - sum_inv_v * sum_Vadc) / denominator; *K2 = (sum_inv_v_sq * sum_Vadc - sum_inv_v * sum_inv_v_times_Vadc) / denominator; } / / Function to calculate image distance v double calculate_ image_distance (double voltage) { return K1 / (voltage – K2); } / / Function to calculate voltage V double calculate_ voltage (double image_distance) { return K1 / image_distance + K2; } Through the above procedure, K can be solved 1 and K 2 ; Step 5. Calibrate and confirm the ADC values ​​a and b of the permanent magnet at the nearest and farthest points during the lens focusing process, record the parameters, compare the voltage ADC values ​​collected during actual operation with a and b during calibration, and ensure that the lens is focused within the range between the nearest point and the farthest point. When calibrating the nearest point, move the permanent magnet to the nearest point of the lens focusing, read the voltage ADC value output by the linear Hall element at this position through the circuit, and record it as a. When calibrating the farthest point, move the permanent magnet to the farthest point of the lens focusing, read the voltage ADC value output by the linear Hall element at this position through the circuit again, and record it as b. Record the two ADC values ​​a and b collected Next, as calibration parameters, these parameters will be used for comparison and judgment in the subsequent lens focusing process. During the actual operation of the projector, the voltage ADC value output by the linear Hall element is read in real time through the circuit, and the real-time collected ADC value is compared with a and b during calibration. According to the comparison result of the real-time ADC value with a and b, the current position of the permanent magnet (i.e., the lens) is judged. If the real-time ADC value is between a and b, it means that the lens is within the range between the nearest point and the farthest point, and the focusing operation can continue. If the real-time ADC value is less than a or greater than b, it means that the lens has reached the limit position of focusing, and the focusing operation should be stopped or reversed; Step 6. The motor control system compares the image at the current position with the image at the previous position based on the current position and the blurriness of the image captured by the camera. Based on the change in clarity, the motor control system determines whether the next step is to continue moving forward or backward. If the clarity improves (i.e., the image becomes clearer), it is determined that the current direction is correct and should continue moving forward. If the clarity decreases (i.e., the image becomes blurrier), it is determined that the current direction is wrong and should retreat to the previous position or make fine adjustments. Based on the determination result, the motor control system sends instructions to the motor driver to control the motor to move forward, backward or stop. The above steps are repeated to form a closed-loop control system to continuously adjust the motor position until the optimal image clarity position is found.

[0035] Embodiment 3 like Figure 3 As shown, an embodiment of the present invention provides a projector lens structure, including a projection lens 1, a permanent magnet 2 and a linear Hall sensor 3, wherein the projection lens 1 includes a moving end and a fixed end, the moving end of the projection lens 1 moves within a length range between a farthest end 4 of the lens and a nearest end 6 of the lens, the permanent magnet 2 and the linear Hall sensor 3 are respectively mounted on the moving end and the fixed end of the projection lens 1, and the permanent magnet 2 and the linear Hall sensor 3 are on the same horizontal plane as the central axis of the lens, and the permanent magnet 2 and the linear Hall sensor 3 are arranged along the direction of the central axis of the lens, at this time, the current distance from the permanent magnet to the Hall can be calculated by the linear change of the voltage of the linear Hall sensor 3 within the magnetic field range.

[0036] Embodiment 4 like Figure 4 As described above, an embodiment of the present invention provides a projector focusing system, which includes a motor control system, a camera, a motor, a Hall sensor and a permanent magnet. The camera is connected to the Hall sensor and the motor control system signal, the linear Hall sends the signal to the motor control system, and the camera also sends the image signal to the motor control system. The motor is electrically connected to the motor control system, and the motor control system sends the control signal to the motor to control the movement of the lens to complete the focusing process.

[0037] The schematic diagrams of the voltage reading circuit, the motor driving circuit and the camera driving circuit of the present invention are respectively, which are all prior arts. On the premise that those skilled in the art can search for them, the present invention will not elaborate on them any more.

[0038] The present invention achieves focal length adjustment of the projector by cooperating with a linear Hall and a permanent magnet, and has lower cost than traditional switches and optical coupling limiters.

[0039] The present invention can increase process quantity for the motor control system and make the control system more accurate and direct.

[0040] The present invention detects the distance of lateral movement through a linear Hall output analog quantity, which is consistent with the lateral extension and contraction direction of the projection lens, and more realistically feeds back motion data.

[0041] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limitations. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.

[0042] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0043] In the present disclosure, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. The block diagrams of the devices, devices, equipment, and systems involved in the present disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagram. As will be appreciated by those skilled in the art, these devices, devices, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open words, referring to "including but not limited to", and can be used interchangeably with them. The words "or" and "and" used here refer to the words "and / or" and can be used interchangeably with them, unless the context clearly indicates otherwise. The words "such as" used here refer to the phrase "such as but not limited to", and can be used interchangeably with them.

[0044] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of various changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A projector focusing method based on linear Hall distance measurement, characterized in that: The following steps are involved: Step 1: Install a linear Hall at the fixed end of the projector lens and a permanent magnet at the moving end of the projector lens; Step 2: Connect the linear Hall and motor control system signals; Step 3: During the focusing process of the projector, when the permanent magnet approaches or moves away from the linear Hall, the voltage output of the linear Hall changes linearly with the distance. Step 4: Establish an algorithm model, and use the linear change of the voltage of the linear Hall in the magnetic field range to convert it into the distance between the current Hall element and the permanent magnet, that is, the specific position of the lens in the entire machine travel; Step 5: Calibrate and confirm the ADC values ​​a and b of the nearest and farthest points of the permanent magnet during the lens focusing process, record the parameters, compare the voltage ADC values ​​collected during actual operation with a and b during calibration, and focus the lens within the range between the nearest point and the farthest point; Step 6: The motor control system determines whether the lens moves forward or backward according to the current position and the blur degree of the image captured by the camera.

2. The projector focusing method based on linear Hall distance measurement according to claim 1, characterized in that: In step one, the linear Hall and the permanent magnet are horizontally arranged along the axis direction of the projector lens.

3. The projector focusing method based on linear Hall distance measurement according to claim 1, characterized in that: In step 2, the linear Hall sensor is used to output an analog signal, ie, a continuous voltage signal.

4. The projector focusing method based on linear Hall distance measurement according to claim 1, characterized in that: In step three, the output level of the linear Hall element is linearly related to the strength of the external magnetic field, and the linearity will trigger a stroke according to the strength of the magnetic field, and the stroke is the linear magnetic field range.

5. The projector focusing method based on linear Hall distance measurement according to claim 1, characterized in that: In step four, the algorithm model is based on the lens imaging formula and the linear relationship between the Hall element voltage and the object distance.

6. The projector focusing method based on linear Hall distance measurement according to claim 1, characterized in that: In step 4, according to the lens imaging formula: 1 / u+1 / v=1 / f; Where u is the object distance, v is the image distance, and f is the focal length. After changing the formula, we can get: u = fv / (v−f); According to the linear relationship between object distance and Hall element voltage: u=k1×V adc +k2; Where V adc is the Hall element voltage, combined with the lens imaging formula, we can get: k1×V adc +k2=fv / (v−f); After sorting out: V adc =(fv-k2v+k2f) / (k1(v−f)))。 7. The projector focusing method based on linear Hall distance measurement according to claim 6, characterized in that: In the projector scenario, the difference between the image distance v and the focal length f is small relative to the image distance v. The formula can be rearranged to obtain: V adc =(fv-k2v+k2f) / (k1v); V adc =(f-k2) / k1+(k2f) / (k1v); From this we can get: In adc =K1 / v+K2; According to the formula, the Hall element voltage V adc It is inversely proportional to the image distance v.

8. The projector focusing method based on linear Hall distance measurement according to claim 7, characterized in that: The voltage V of the Hall element adc Actual measurements are performed on the image distance v to obtain multiple sets of corresponding values, and the least squares method is used to solve K1 and K2.

9. The projector focusing method based on linear Hall distance measurement according to claim 8, characterized in that: When solving for K1 and K2, write the equation as: V adc = K1×(1 / v) + K2; Consider 1 / v as the independent variable, V adc As the dependent variable, linear regression is used to solve K1 and K2 to obtain the algorithm model.

10. The projector focusing method based on linear Hall distance measurement according to claim 1, characterized in that: In step six, the image at the current position is compared with the image at the previous position, and according to the change in clarity, the motor control system determines whether the next step is forward or backward.

Citation Information

Patent Citations

  • Automatic focusing device and automatic focusing method for projector

    CN101571665A

  • Projector processing method and device and terminal

    CN107343184A

  • Automatic distance-step calibration method and system for projection equipment

    CN111970500A

  • Automatic focusing device, projection equipment and automatic focusing method

    CN114545719A

  • Position detection system, lens, zooming method and terminal

    CN114577099A

Cited By

  • Focusing device and projection device

    JP2026168010A

  • Focusing device and projection device

    JP7930667B1