Polarization control method, equipment and device for camera device and readable medium
By automatically controlling the polarization direction of the input light in the imaging device, the problems of low degree of light adjustment automation and poor effect in the prior art are solved, and more efficient light control and image clarity are achieved.
Patent Information
- Application Number
- CN202510160971.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-13
- Publication Date
- 2025-05-16
AI Technical Summary
Existing lenses cannot be automated and do not work well when adjusting input light intensity, especially when individually reducing light from a certain direction.
An electro-optical modulator is introduced into the imaging device, which includes at least three extruders cascaded. By obtaining the target value and actual value of the output voltage, the target control amount is calculated, and applied to the extruder to automatically control the polarization direction of the input light.
It realizes that without manually adjusting the polarization mirror, automatically controls the polarization direction of the input light, improves the degree and effect of polarization control, reduces stray light, and improves image clarity.
Smart Images

Figure CN120010171A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of optical measurement technology, and in particular, to a polarization control method for an imaging device, an electronic device, an imaging device, and a computer-readable medium. Background Art
[0002] Existing lenses usually use an aperture to adjust the amount of input light to the lens, thereby controlling the intensity of the amount of light passing through the lens. When the light is strong, the aperture needs to be reduced, and when the light is dim, the aperture needs to be expanded. However, the function of the aperture is to weaken the intensity of input light from all directions, and it cannot weaken the intensity of input light from a certain direction alone. For this reason, the lens will also be equipped with a polarizing (light) filter, and the user manually adjusts the polarization direction of the polarizing filter to eliminate stray light from a certain direction to achieve the purpose of weakening the intensity of input light from that direction alone. However, since this solution requires manual adjustment of the polarizing filter, the degree of automation is low and the adjustment effect is not good.
[0003] Therefore, there is an urgent need for a solution that can automatically and better control the polarization direction of the input light. Summary of the invention
[0004] The present application aims to solve one of the technical problems in the related art to a certain extent. To this end, the present application provides a polarization control method for a camera device, an electronic device, a camera device and a computer-readable medium.
[0005] As a first aspect of the present application, a polarization control method for an image pickup device is provided, wherein the image pickup device comprises a lens, a polarizer, and an electro-optical modulator, wherein the electro-optical modulator comprises at least three cascaded squeezers, and the method comprises:
[0006] Obtaining a target output voltage value of the electro-optic modulator;
[0007] Obtaining an actual value of the output voltage of the electro-optic modulator when the light passes through the lens and the polarizer in sequence and is input into the electro-optic modulator;
[0008] Determining a target control amount according to the actual output voltage value and the target output voltage value;
[0009] The target control amount is provided to the squeezer so that the electro-optic modulator controls the polarization direction of the input light from the polarizer to a propagable polarization direction of the electro-optic modulator.
[0010] Optionally, obtaining the output voltage target value of the electro-optic modulator includes:
[0011] According to a preset measurement algorithm, measuring the maximum value of the output voltage of the electro-optic modulator when light passes through;
[0012] The maximum value of the output voltage is determined as the output voltage target value.
[0013] Optionally, the preset measurement algorithm includes:
[0014] V = βP0(1);
[0015]
[0016] In formulas (1) and (2), V represents the output voltage of the electro-optic modulator, β represents the proportionality coefficient, P0 represents the output power of the electro-optic modulator, P represents the total power of the electro-optic modulator, α represents the function of the relative phase delay between the squeezers, and U s , U b , U π The signal voltage, the bias voltage, and the half-wave voltage of the electro-optic modulator are represented in sequence.
[0017] Optionally, measuring the maximum value of the output voltage of the electro-optic modulator when light passes through comprises:
[0018] The output voltage of the electro-optic modulator is measured when the function of the relative phase delay between the squeezers is zero.
[0019] Optionally, determining a target control amount according to the actual output voltage value and the target output voltage value includes:
[0020] Constructing a voltage deviation function according to the output voltage actual value and the output voltage target value;
[0021] A target control amount is determined according to the voltage deviation function and a preset control algorithm.
[0022] Optionally, the target control amount is determined by the following formulas (3) and (4):
[0023]
[0024] e(t)=V m (t)-V(t)(4);
[0025] In formulas (3) and (4), t represents time, u(t) represents the target control amount, K p Indicates the preset proportional coefficient, T i Represents the preset integration constant, T d represents the preset differential constant, e(t) represents the voltage deviation function, V m V(t) represents the output voltage target value, and V(t) represents the output voltage actual value.
[0026] Optionally, after providing the target control amount to the squeezer so that the electro-optic modulator controls the polarization direction of the input light from the polarizer to a propagable polarization direction of the electro-optic modulator, the method further comprises:
[0027] An image generated by the sensor based on input light from the electro-optic modulator is acquired.
[0028] As a second aspect of the present application, an electronic device is provided, wherein the electronic device includes:
[0029] one or more processors;
[0030] A memory having one or more computer programs stored thereon, wherein when the one or more computer programs are executed by the one or more processors, the one or more processors implement the polarization control method for a camera device according to the first aspect of the present application.
[0031] As a third aspect of the present application, a camera device is provided, wherein the camera device includes a lens, a polarizer, an electro-optical modulator and a sensor, and the electro-optical modulator includes the electronic device according to the second aspect of the present application.
[0032] As a fourth aspect of the present application, a computer-readable medium is provided, on which a computer program is stored, wherein when the computer program is executed by a processor, the polarization control method for a camera device according to the first aspect of the present application is implemented.
[0033] In the polarization control method for a camera provided in an embodiment of the present application, the camera includes a lens, a polarizer and an electro-optical modulator, the electro-optical modulator includes at least three cascaded squeezers, and the target output voltage value of the electro-optical modulator is obtained; the actual output voltage value of the electro-optical modulator when the input light passes through the lens and the polarizer in sequence and is input to the electro-optical modulator is obtained; the target control amount is determined according to the actual output voltage value and the target output voltage value; the target control amount is provided to the squeezer so that the electro-optical modulator controls the polarization direction of the input light to the propagable polarization direction of the electro-optical modulator. Regardless of the specific polarization direction of the polarizer, the electro-optical modulator can control the polarization direction of the input light from the polarizer to obtain polarized light vibrating in the target polarization direction, without manually adjusting the polarization direction of the polarizer, thereby improving the automation and effect of polarization control. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The present application is further described below in conjunction with the accompanying drawings:
[0035] Figure 1 is a flow chart of an implementation of a polarization control method for an imaging device provided in an embodiment of the present application;
[0036] Figure 2 is a flow chart of another implementation of a polarization control method for an imaging device provided in an embodiment of the present application;
[0037] Figure 3 is a flow chart of another implementation of a polarization control method for an imaging device provided in an embodiment of the present application;
[0038] Figure 4 is a flow chart of another implementation of a polarization control method for an imaging device provided in an embodiment of the present application;
[0039] Figure 5 It is a module diagram of an implementation of an electronic device provided in an embodiment of the present application;
[0040] Figure 6 It is a schematic diagram of a computer-readable medium provided in an embodiment of the present application.
[0041] Description of Reference Numerals
[0042] 101: Processor 102: Memory
[0043] 103: I / O interface 104: bus DETAILED DESCRIPTION
[0044] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments based on the embodiments are intended to be used to explain the present application and cannot be understood as limiting the present application.
[0045] References to "one embodiment" or "an example" or "an example" in this specification mean that a particular feature, structure, or characteristic described in conjunction with the embodiment itself may be included in at least one embodiment disclosed in the present application. The appearance of the phrase "in one embodiment" in various places in the specification does not necessarily refer to the same embodiment.
[0046] Existing lenses usually use an aperture to adjust the amount of input light to the lens, thereby controlling the intensity of the amount of light passing through the lens. When the light is strong, the aperture needs to be reduced, and when the light is dim, the aperture needs to be expanded. However, the function of the aperture is to weaken the intensity of input light from all directions, and it cannot weaken the intensity of input light from a certain direction alone. For this reason, the lens will also be equipped with a polarizing (light) filter, and the user manually adjusts the polarization direction of the polarizing filter to eliminate stray light from a certain direction to achieve the purpose of weakening the intensity of input light from that direction alone. However, since this solution requires manual adjustment of the polarizing filter, the degree of automation is low and the adjustment effect is not good.
[0047] In this regard, the inventor of the present application proposes to add an electro-optic modulator (EOM) to the camera device, and set at least three cascaded squeezers in the EOM, obtain the output voltage target value and the actual output voltage value of the EOM to control the squeezer, so that the EOM controls the polarization direction of the input light to the propagable polarization direction of the EOM. In this way, no matter what the polarization direction of the polarizer is, the polarization direction of the input light can be controlled, and there is no need to manually adjust the polarization direction of the polarizer, thereby improving the degree of automation and control effect.
[0048] As a first aspect of the present application, a polarization control method for an image pickup device is provided, wherein the image pickup device comprises a lens, a polarizer and an electro-optic modulator, wherein the electro-optic modulator comprises at least three cascaded squeezers, such as Figure 1 As shown, the method may include the following steps:
[0049] In step S110, an output voltage target value of the electro-optic modulator is obtained;
[0050] In step S120, an actual value of the output voltage of the electro-optic modulator is obtained when the light passes through the lens and the polarizer in sequence and is input into the electro-optic modulator;
[0051] In step S130, a target control amount is determined according to the actual output voltage value and the target output voltage value;
[0052] In step S140, the target control amount is provided to the squeezer so that the electro-optic modulator controls the polarization direction of the input light from the polarizer to be a propagable polarization direction of the electro-optic modulator.
[0053] In the embodiment of the present application, an electro-optic modulator is added to the camera device, so that the input light will pass through the lens, polarizer, and electro-optic modulator in sequence. At least three cascaded squeezers are also set in the electro-optic modulator. The squeezer refers to an extrusion module composed of piezoelectric ceramics, which are at different angles to the surface of the optical fiber in the electro-optic modulator. Since the piezoelectric ceramics have longitudinal elasticity, the optical fiber can be squeezed under the action of the input voltage, causing the optical fiber to have a birefringence effect, thereby achieving the purpose of controlling the polarization state of the output light.
[0054] The polarization control method provided in the embodiment of the present application may be executed by an electro-optic modulator. For example, the electro-optic modulator may further include a polarization controller, and the polarization control method provided in the embodiment of the present application may be executed by the polarization controller.
[0055] It is understandable that the electro-optic modulator also includes some other necessary components, such as an input port, an output port, a crystal, etc., which are not elaborated in the embodiments of the present application.
[0056] In an embodiment of the present application, the propagable polarization direction of the electro-optic modulator can be pre-set to the target polarization direction. In this way, by providing the target control amount to the squeezer in the electro-optic modulator, the electro-optic modulator controls the polarization direction of the input light input to itself to the propagable polarization direction, that is, the target polarization direction.
[0057] In the polarization control method for a camera provided in an embodiment of the present application, the camera includes a lens, a polarizer and an electro-optical modulator, the electro-optical modulator includes at least three cascaded squeezers, and the target output voltage value of the electro-optical modulator is obtained; the actual output voltage value of the electro-optical modulator when the input light passes through the lens and the polarizer in sequence and is input to the electro-optical modulator is obtained; the target control amount is determined according to the actual output voltage value and the target output voltage value; the target control amount is provided to the squeezer so that the electro-optical modulator controls the polarization direction of the input light to the propagable polarization direction of the electro-optical modulator. Regardless of the specific polarization direction of the polarizer, the electro-optical modulator can control the polarization direction of the input light from the polarizer to obtain polarized light vibrating in the target polarization direction, without manually adjusting the polarization direction of the polarizer, thereby improving the automation and effect of polarization control.
[0058] The inventor of the present application further proposes that the maximum value of the output voltage of the electro-optic modulator when light passes through can be measured as the output voltage target value. Accordingly, in some embodiments, the output voltage target value of the electro-optic modulator is obtained (i.e., step S110), such as Figure 2 As shown, the following steps may be included:
[0059] In step S111, according to a preset measurement algorithm, the maximum value of the output voltage of the electro-optic modulator when light passes through is measured;
[0060] In step S112, the maximum value of the output voltage is determined as the output voltage target value.
[0061] Accordingly, in some embodiments, the preset measurement algorithm includes:
[0062] V = βP0(1);
[0063]
[0064] In formulas (1) and (2), V represents the output voltage of the electro-optic modulator, β represents the proportionality coefficient, P0 represents the output power of the electro-optic modulator, P represents the total power of the electro-optic modulator, α represents the function of the relative phase delay between the squeezers, and U s , U b , U π The signal voltage, the bias voltage, and the half-wave voltage of the electro-optic modulator are represented in sequence.
[0065] The inventor of the present application further proposes that when the function α about the relative phase delay between the squeezers is 0, it means that the polarization direction of the input light from the polarizer in the electro-optic modulator is consistent with the propagable polarization direction of the electro-optic modulator, and the output voltage of the electro-optic modulator is maximum. Accordingly, in some embodiments, measuring the maximum value of the output voltage of the electro-optic modulator when light passes through includes: measuring the output voltage of the electro-optic modulator when the function about the relative phase delay between the squeezers is 0.
[0066] In the embodiment of the present application, for the above formulas (1) and (2), the V measured when α is 0 is the maximum value of the output voltage of the electro-optic modulator, and at this time, the output power of the electro-optic modulator is also the maximum.
[0067] The inventor of the present application further proposes that the target control amount can be calculated based on a preset control algorithm using the deviation between the actual output voltage value and the target output voltage value that changes over time. Accordingly, in some embodiments, the target control amount is determined based on the actual output voltage value and the target output voltage value (i.e., step S130), such as Figure 3 As shown, the following steps may be included:
[0068] In step S131, a voltage deviation function is constructed according to the actual output voltage value and the target output voltage value;
[0069] In step S132, a target control amount is determined according to the voltage deviation function and a preset control algorithm.
[0070] In the embodiment of the present application, there is no special limitation on the preset control algorithm. For example, the preset control algorithm may include a preset proportional integral differential (PID) control algorithm, which includes three parts: a proportional unit (P), an integral unit (I) and a differential unit (D). In the proportional unit (P), the proportional unit component and the error value are in a linear function relationship. If the error value is too large, it indicates that the adjustment amount is large. If the error value is small, it indicates that the adjustment amount is small. In the integral unit (I), the integral unit component is proportional to the error integral. The integral unit can eliminate the residual caused by the proportional unit on the basis of the proportional unit, and can correct the error of the system containing the cumulative error to reduce the steady-state error. In the differential unit (D), the differential unit component has the function of leading regulation. For the control channel with capacity lag, a differential link can be introduced to participate in the control. When the differential parameters are set appropriately, the dynamic performance of the system can be effectively provided, the overshoot of the system is reduced, the oscillation is reduced, the stability of the system is improved, and the dynamic error is reduced.
[0071] Accordingly, in some embodiments, the target control amount is determined by the following formulas (3) and (4):
[0072]
[0073] e(t)=V m (t)-V(t) (4);
[0074] In formulas (3) and (4), t represents time, u(t) represents the target control amount, K p Indicates the preset proportional coefficient, T i Represents the preset integration constant, T d represents the preset differential constant, e(t) represents the voltage deviation function, V m V(t) represents the output voltage target value, and V(t) represents the output voltage actual value.
[0075] After the electro-optic modulator controls the polarization direction of the input light from the polarizer to the propagable polarization direction of the electro-optic modulator (i.e., the polarization direction of the target), the light input from the electro-optic modulator to the sensor vibrates in the polarization direction of the target, reducing or eliminating stray light, thereby obtaining an image generated by the sensor based on the input light from the electro-optic modulator, significantly improving the clarity of the image. Accordingly, in some embodiments, after the target control amount is provided to the squeezer so that the electro-optic modulator controls the polarization direction of the input light from the polarizer to the propagable polarization direction of the electro-optic modulator (i.e., step S140), as Figure 4 As shown, the method may further include the following steps:
[0076] In step S150, an image generated by the sensor according to the input light from the electro-optic modulator is acquired.
[0077] As a second aspect of the embodiments of the present application, an electronic device is provided, wherein: Figure 5 As shown, the electronic device includes:
[0078] One or more processors 101;
[0079] The memory 102 stores one or more computer programs. When the one or more computer programs are executed by the one or more processors 101, the one or more processors 101 implement the polarization control method for a camera device provided in the first aspect of the embodiment of the present application.
[0080] The electronic device may further include one or more I / O interfaces 103 connected between the processor 101 and the memory 102 and configured to implement information interaction between the processor 101 and the memory 102 .
[0081] Among them, the processor 101 is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the memory 102 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I / O interface (read-write interface) is connected between the processor and the memory, and can realize information exchange between the processor and the memory, including but not limited to a data bus (Bus), etc.
[0082] In some embodiments, the processor 101 , the memory 102 , and the I / O interface 103 are connected to each other via a bus 104 , and further connected to other components of the computing device.
[0083] As a third aspect of an embodiment of the present application, a camera device is provided, wherein the camera device includes a lens, a polarizer, an electro-optical modulator and a sensor, and the electro-optical modulator includes the electronic device provided in the first aspect of the embodiment of the present application.
[0084] As a fourth aspect of the embodiment of the present application, Figure 6 As shown, a computer-readable medium is provided, on which a computer program is stored, wherein when the computer program is executed by a processor, the polarization control method for a camera device provided in the first aspect of an embodiment of the present application is implemented.
[0085] It can be understood by a person of ordinary skill in the art that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program. Accordingly, the computer program can be stored in a non-volatile computer-readable storage medium, and the computer program can implement the method of any of the above-mentioned embodiments when executed. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the embodiments of the present application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0086] The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Those skilled in the art should understand that the present application includes but is not limited to the contents described in the drawings and the above specific embodiments. Any modification that does not deviate from the functional and structural principles of the present application will be included in the scope of the claims.
Claims
1. A polarization control method for an imaging device, characterized in that: The camera device comprises a lens, a polarizer and an electro-optical modulator, wherein the electro-optical modulator comprises at least three cascaded squeezers, and the method comprises: Obtaining a target output voltage value of the electro-optic modulator; Obtaining an actual value of the output voltage of the electro-optic modulator when the light passes through the lens and the polarizer in sequence and is input into the electro-optic modulator; Determining a target control amount according to the actual output voltage value and the target output voltage value; The target control amount is provided to the squeezer so that the electro-optic modulator controls the polarization direction of the input light from the polarizer to a propagable polarization direction of the electro-optic modulator.
2. The method according to claim 1, characterized in that The obtaining of the output voltage target value of the electro-optic modulator comprises: According to a preset measurement algorithm, measuring the maximum value of the output voltage of the electro-optic modulator when light passes through; The maximum value of the output voltage is determined as the output voltage target value.
3. The method according to claim 2, characterized in that The preset measurement algorithm includes: V = βP0 (1); In formulas (1) and (2), V represents the output voltage of the electro-optic modulator, β represents the proportionality coefficient, P0 represents the output power of the electro-optic modulator, P represents the total power of the electro-optic modulator, α represents the function of the relative phase delay between the squeezers, and U s , U b , U π The signal voltage, the bias voltage, and the half-wave voltage of the electro-optic modulator are represented in sequence.
4. The method according to claim 3, characterized in that The measuring the maximum value of the output voltage of the electro-optic modulator when light passes through comprises: The output voltage of the electro-optic modulator is measured when the function of the relative phase delay between the squeezers is zero.
5. The method according to claim 1, characterized in that The step of determining a target control amount according to the actual output voltage value and the target output voltage value comprises: Constructing a voltage deviation function according to the output voltage actual value and the output voltage target value; A target control amount is determined according to the voltage deviation function and a preset control algorithm.
6. The method according to claim 5, characterized in that The target control amount is determined by the following formulas (3) and (4): e(t)=V m (t)-V(t) (4); In formulas (3) and (4), t represents time, u(t) represents the target control amount, K p Indicates the preset proportionality factor, T i Represents the preset integration constant, T d represents the preset differential constant, e(t) represents the voltage deviation function, V m V(t) represents the output voltage target value, and V(t) represents the output voltage actual value.
7. The method according to any one of claims 1 to 6, characterized in that After providing the target control amount to the squeezer so that the electro-optic modulator controls the polarization direction of the input light from the polarizer to a propagable polarization direction of the electro-optic modulator, the method further includes: An image generated by the sensor based on input light from the electro-optic modulator is acquired.
8. An electronic device, characterized in that: The electronic device comprises: one or more processors; A memory having one or more computer programs stored thereon, wherein when the one or more computer programs are executed by the one or more processors, the one or more processors implement the polarization control method for a camera device according to any one of claims 1-7.
9. A camera device, characterized in that: The imaging device includes a lens, a polarizing filter, an electro-optical modulator, and a sensor, and the electro-optical modulator includes the electronic device according to claim 8.
10. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the polarization control method for an imaging device according to any one of claims 1 to 7 is implemented.