Light field switching lighting device and method and electronic equipment
The optical field switching device, consisting of a light source, a mask, a lens group, and a galvanometer, uses an analog voltage drive signal to control the rotation of the galvanometer, solving the problems of slow switching response and low accuracy of existing devices. This achieves efficient and precise optical field switching, adapting to various application scenarios.
Patent Information
- Application Number
- CN202610070012.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-20
- Publication Date
- 2026-05-19
AI Technical Summary
Existing structured light illumination devices rely on mechanical transmission mechanisms to switch mask templates, resulting in slow switching response speed, reduced phase switching accuracy, and difficulty in adapting to various application scenarios.
The optical field switching device, consisting of a light source, a mask, a lens group, and a galvanometer, directly controls the rotation of the galvanometer through an analog voltage drive signal to achieve optical field switching, avoiding mechanical transmission components. Combined with the control unit, it precisely matches the target phase with the analog voltage drive signal.
It significantly improves the efficiency and accuracy of light field switching, adapts to various application scenarios, and enables fast and accurate light field switching.
Smart Images

Figure CN122062229A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of light field devices, and more particularly to a light field switching lighting device, method and electronic device. Background Technology
[0002] Currently, most existing structured light illumination devices rely on mechanical transmission mechanisms to switch masks and adjust the optical path to achieve phase changes. For example, they may use motors to drive the mask's translation and rotation, or manually adjust the lens position to change the optical path difference. These solutions have slow switching response times and are prone to developing transmission gaps after prolonged use, leading to a decrease in phase switching accuracy. Consequently, the efficiency and accuracy of existing devices in switching light fields are reduced, making them unsuitable for various application scenarios. Summary of the Invention
[0003] This disclosure provides a light field switching lighting device, method, and electronic device to address, to some extent, the problems of decreased efficiency and accuracy in switching light fields in existing devices, making them difficult to adapt to various application scenarios.
[0004] According to one aspect of this disclosure, a light field switching illumination device is provided, comprising: a light source for providing direct illumination light; a mask connected to the light source for converting the direct illumination light into structural texture light; a lens group including at least three lenses for focusing and translating the structural texture light; a galvanometer for rotating around a preset axis by a corresponding angle based on an analog voltage drive signal to achieve switching of the structural texture light; one analog voltage drive signal corresponds to one angle; the preset axis includes: a Z-axis, or any two of the X-axis, Y-axis, and Z-axis; and a control unit for sending different analog voltage drive signals to the galvanometer based on the target phase of the image; one target phase corresponds to one analog voltage drive signal.
[0005] Furthermore, according to one aspect of the present disclosure, the apparatus further includes: a data acquisition card, connected on one side to the galvanometer and on the other side to the control unit, for receiving analog voltage drive signals sent by the control unit and converting them into analog voltages to drive the galvanometer to rotate.
[0006] Furthermore, according to one aspect of the apparatus of this disclosure, the lens group includes: a first lens, one side connected to a mask template and the other side connected to a galvanometer, for focusing the structural texture light and incident the focused structural texture light onto the galvanometer; a second lens, one side connected to the galvanometer and the other side connected to a third lens, for receiving the structural texture light switched by the galvanometer and translating the switched structural texture light to the third lens; and a third lens for receiving the structural texture light from the second lens and incident the structural texture light onto the imaging unit.
[0007] Furthermore, according to one aspect of the apparatus of this disclosure, a first mapping table is obtained by a control unit; the first mapping table is used to indicate the correspondence between a target phase and an analog voltage drive signal; the control unit matches the target phase of the image with the first mapping table, retrieves the analog voltage drive signal corresponding to the target phase, and sends the analog voltage drive signal to the galvanometer.
[0008] Furthermore, according to one aspect of the apparatus of this disclosure, acquiring a first mapping table using a control unit includes: acquiring light field distribution data of different phases of an image; adjusting the rotation angle of a galvanometer around a preset axis by a preset angle movement step size based on the light field distribution data, acquiring analog voltage driving signals and their corresponding light field phase values at multiple rotation angles; performing phase fitting between the light field phase values and the analog voltage driving signals using a least squares method or a polynomial fitting algorithm, generating a first mapping table and storing it in the control unit.
[0009] Furthermore, according to one aspect of the apparatus of this disclosure, the rotation mode of the galvanometer includes: a single-axis rotation mode and a dual-axis linkage rotation mode; when the rotation mode of the galvanometer is a single-axis rotation mode, the galvanometer rotates around the Z-axis, and the rotation angle is linearly positively correlated with the analog voltage drive signal; when the rotation mode of the galvanometer is a dual-axis linkage rotation mode, the galvanometer rotates synchronously around any two axes of the X-axis, Y-axis and Z-axis, and the rotation sub-angle of any one axis is linearly positively correlated with the sub-analog voltage drive signal; the sub-analog voltage drive signal is determined based on the analog voltage drive signal.
[0010] Furthermore, according to one aspect of the apparatus of this disclosure, when the target phase needs circumferential adjustment, the control unit determines that the rotation mode of the galvanometer is a single-axis rotation mode and sends an analog voltage drive signal to the galvanometer; when the target phase needs spatial phase adjustment, the control unit determines that the rotation mode of the galvanometer is a dual-axis linkage rotation mode and sends two sub-analog voltage drive signals to the galvanometer.
[0011] Furthermore, according to one aspect of the apparatus of this disclosure, the mask template includes: a striped mask template, a grid mask template, and a dot matrix mask template.
[0012] According to another aspect of this disclosure, a light field switching method is provided, comprising: providing direct illumination light using a light source; converting the direct illumination light into structural texture light using a mask; focusing and translating the structural texture light using a lens group; and sending different analog voltage driving information to a galvanometer based on the target phase of an image using a control unit; one target phase corresponds to one analog voltage driving signal. The galvanometer is then rotated by a corresponding angle around a preset axis based on the analog voltage driving signal to achieve the switching of the structural texture light; one analog voltage driving signal corresponds to one angle; the preset axis includes: the Z-axis, or any two of the X-axis, Y-axis, and Z-axis.
[0013] According to another aspect of this disclosure, an electronic device is provided, comprising: a memory for storing computer-readable instructions; and a processor for executing the computer-readable instructions, causing the electronic device to perform the method as described in any embodiment of one aspect.
[0014] This disclosure provides a light field switching illumination device, method, and electronic device. The device utilizes a light source to provide direct illumination; a mask connected to the light source to convert the direct illumination into structural texture light; a lens group, including at least three lenses, for focusing and translating the structural texture light; a galvanometer to rotate around a preset axis by a corresponding angle based on an analog voltage drive signal, thereby switching the structural texture light; one analog voltage drive signal corresponds to one angle; the preset axis includes: the Z-axis, or any two of the X-axis, Y-axis, and Z-axis; and a control unit to send different analog voltage drive information to the galvanometer based on the target phase of the image; one target phase corresponds to one analog voltage drive signal. Thus, compared to existing mechanical transmission adjustment schemes, this disclosure can directly drive the galvanometer to rotate via a voltage signal to achieve light field switching, eliminating the need for additional mechanical transmission components and significantly improving the light field switching efficiency. Simultaneously, the control unit of this disclosure can precisely match the target phase with the analog voltage drive signal, greatly improving phase adjustment accuracy and flexibly adapting to various scenarios. In summary, the technical solution provided by this disclosure can improve the efficiency and accuracy of light field switching and can adapt to various application scenarios.
[0015] It should be understood that both the foregoing general description and the following detailed description are exemplary and intended to provide further illustration of the claimed technology. Attached Figure Description
[0016] The above and other objects, features, and advantages of this disclosure will become more apparent from the more detailed description of the embodiments thereof in conjunction with the accompanying drawings. The drawings are provided to further illustrate the embodiments of this disclosure and form part of the specification. They are used together with the embodiments of this disclosure to explain the disclosure and do not constitute a limitation thereof. In the drawings, the same reference numerals generally represent the same components or steps.
[0017] Figure 1 A structural block diagram of a light field switching illumination device provided in an embodiment of this disclosure; Figure 2 A schematic diagram of a complete light field switching illumination device provided in the embodiments of this disclosure; Figure 3 A timing control diagram for acquiring analog voltage signals provided in embodiments of this disclosure; Figure 4 A schematic diagram of galvanometer rotation provided in an embodiment of this disclosure; Figure 5 This is a hardware block diagram of an electronic device provided in an embodiment of the present disclosure. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of this disclosure more apparent, exemplary embodiments according to this disclosure will now be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this disclosure, and not all embodiments of this disclosure. It should be understood that this disclosure is not limited to the exemplary embodiments described herein.
[0019] Currently, most existing structured light illumination devices rely on mechanical transmission mechanisms to switch masks and adjust the optical path to achieve phase changes. For example, they may use motors to drive the mask's translation and rotation, or manually adjust the lens position to change the optical path difference. These solutions have slow switching response times and are prone to developing transmission gaps after prolonged use, leading to a decrease in phase switching accuracy. Consequently, the efficiency and accuracy of existing devices in switching light fields are reduced, making them unsuitable for various application scenarios.
[0020] Therefore, in response to the aforementioned problems, this disclosure provides a light field switching lighting device. Compared with the existing mechanical transmission adjustment scheme, this disclosure can directly drive the galvanometer to rotate to achieve light field switching without the need for additional mechanical transmission components, thus greatly improving the light field switching efficiency. At the same time, the control unit of this disclosure can accurately match the target phase with the analog voltage drive signal, greatly improving the phase adjustment accuracy and flexibly adapting to various scenarios.
[0021] First, this disclosure also provides a light field switching illumination device. Figure 1 This is a structural block diagram of a light field switching illumination device provided in an embodiment of the present disclosure, such as... Figure 1 As shown, the light field switching illumination device 100 includes: Light source 101 is used to provide direct illumination; Mask 102, connected to the light source, is used to convert direct illumination light into structural texture light; Lens group 103 includes at least three lenses for focusing and translating structural texture light; The galvanometer 104 is used to rotate around a preset axis by a corresponding angle based on an analog voltage drive signal to switch the structural texture light; one analog voltage drive signal corresponds to one angle; the preset axis includes: the Z-axis, or any two of the X-axis, Y-axis and Z-axis; The control unit 105 is used to send different analog voltage drive signals to the galvanometer based on the target phase of the image; one target phase corresponds to one analog voltage drive signal.
[0022] In this disclosure, light source 101 can be understood as a light-emitting device capable of outputting stable and uniform direct illumination light, and its type can be selected according to the actual application scenario. The light source of this disclosure may include, but is not limited to, at least one of the following: light-emitting diode (LED) light source, mercury lamp light source, and laser light source.
[0023] In this disclosure, the mask 102 can be understood as an optical element with a preset microstructure pattern. Its material is usually quartz glass or optical resin with high light transmittance and low optical distortion. By etching or coating the substrate surface to form a specific structure, the incident direct illumination light can be spatially modulated and converted into structured light with preset texture to observe the image more clearly.
[0024] It should be noted that the masks disclosed herein are not of a single structural type and can be flexibly replaced according to the target light field requirements. The masks disclosed herein include: striped masks, grid masks, and lattice masks. Specifically, a striped mask can be understood as a mask with parallel linear stripes (which can be equally spaced or variablely spaced) etched on its surface, capable of generating linear striped structured light; a grid mask can be understood as a mask with mutually perpendicular intersecting stripes etched on its surface (forming a grid array), capable of generating two-dimensional grid structured light; and a lattice mask can be understood as a mask with regularly arranged discrete light points etched on its surface (such as a rectangular array or a hexagonal array), capable of generating lattice structured light.
[0025] In this disclosure, the lens group 103 can be understood as an optical component composed of multiple optical lenses. Its core function is to precisely control the structural texture light generated by the mask, achieve light field energy convergence through focusing, and ensure stable transmission of the structural texture light in the optical path through translational transmission without changing the integrity of the texture pattern. The focal length parameters of the lens group can be adjusted according to actual needs, and are not limited here.
[0026] Specifically, the lens assembly disclosed herein includes: a first lens, connected on one side to a mask and on the other side to a galvanometer, for focusing the structural texture light and incident the focused structural texture light onto the galvanometer; a second lens, connected on one side to the galvanometer and on the other side to a third lens, for receiving the structural texture light switched by the galvanometer and translating the switched structural texture light to the third lens; and a third lens for receiving the structural texture light from the second lens and incident the structural texture light onto the imaging unit.
[0027] The first lens can be understood as a focusing lens, usually a convex lens. Its focal point is precisely matched with the center of the mask and the galvanometer, which can converge the divergent structural texture light emitted from the mask into parallel or quasi-parallel light that is incident on the galvanometer, ensuring that the light field energy is concentrated and improving the galvanometer's response efficiency to light field switching.
[0028] The second lens can be understood as a relay transmission lens, which together with the first lens forms a 4f optical system. It can receive the structural texture light after the galvanometer reflection and switching, and realize the translational transmission of the light field without changing the phase and shape of the light field pattern, so as to ensure that the light field is stably transmitted from the galvanometer to the third lens.
[0029] The third lens can be understood as a coupling lens, usually a tube lens or an imaging lens. Its function is to accurately couple the structural texture light transmitted through the second lens to the imaging unit (such as a microscope objective, camera sensor, etc.), ensuring that the structural texture light is clearly projected onto the imaging surface, and providing a high-quality light signal for subsequent image acquisition.
[0030] In this disclosure, the galvanometer 104 can be understood as a high-precision electro-optical mirror. It controls the mirror's rotation angle by receiving an analog voltage drive signal, thereby changing the reflection direction of the incident structural texture light and achieving rapid switching of the light field phase. The analog drive voltage signal can be understood as a continuously changing voltage signal output by the control unit. Its voltage amplitude has a linear relationship with the galvanometer's rotation angle; different amplitudes correspond to specific rotation angles of the galvanometer, thus achieving a specific phase of light field output. The preset axis can be understood as the reference axis for the galvanometer's rotation, which can be set based on a spatial coordinate system. The Z-axis is the axis along the light path propagation direction, and the X and Y axes are the horizontal and vertical axes perpendicular to the light path propagation direction, respectively. Different dimensions of the light field can be switched by rotating around different axes. The specific method of switching the galvanometer angle is described in detail below.
[0031] It is important to note that a data acquisition card may also be included between the galvanometer and the control unit. This card connects to the galvanometer on one side and the control unit on the other. It receives the analog voltage drive signal from the control unit and converts it into an analog voltage to drive the galvanometer's rotation. The data acquisition card can be understood as a signal conversion component connecting the control unit and the galvanometer. Essentially, it is a high-precision analog signal output module that receives the digital analog voltage drive signal from the control unit and converts it into an analog voltage signal that the galvanometer can directly recognize, thereby enabling galvanometer optical field switching.
[0032] In this disclosure, the control unit 105 can be understood as the core control hub of the entire device. It is typically composed of hardware with data processing and signal output functions, such as a microcontroller or industrial computer. With the corresponding control program, it can realize functions such as target phase recognition, drive signal generation, and equipment collaborative control. Among them, the target phase of the image can be understood as the phase state of the structured light field required to achieve specific imaging effects (such as tomographic imaging and topography reconstruction) in structured light illumination applications. Different target phases correspond to different structured light projection effects. The control unit realizes on-demand switching of the light field by matching the target phase with the drive signal.
[0033] For example, Figure 2 A schematic diagram of a complete light field switching illumination device provided in the embodiments of this disclosure.
[0034] from Figure 2 As can be seen, the optical path of this device is as follows: the direct illumination light output from the LED light source (i.e., the light source of this disclosure) is transmitted through a liquid-core fiber, collimated by an aspherical collimating lens (ACL), and incident on a mask plate (Mask) (i.e., the mask of this disclosure) to generate structured texture light; the structured texture light is focused by the first lens (L1) and then incident on a galvanometer (G). The galvanometer rotates around a preset axis based on an analog voltage drive signal (θ1 and θ2 in the figure correspond to different rotation angles), realizing phase switching of the structured light; the switched structured light is translated and transmitted by the second lens (L2), coupled by the third lens (L3), reflected by a dichroic mirror (DM), enters the objective lens (OBJ), and illuminates the sample; the imaging light of the sample is transmitted through the objective lens and the dichroic mirror, and then focused by the imaging lens (L4) onto a scientific complementary metal-oxide-semiconductor camera (Scientific... The Complementary Metal-Oxide-Semiconductor Camera (sCOMS) completes image acquisition.
[0035] The above structure corresponds completely to the light field switching illumination device described in this disclosure: the LED, ACL, Mask, L1, galvanometer G, L2, and L3 within the dashed box constitute the core light field switching illumination module of this disclosure. The correspondence between the galvanometer rotation angle and the structured light phase (θ1 corresponds to phase 1, θ2 corresponds to phase 2) is achieved by the control unit outputting an analog voltage drive signal based on the target phase. This fully demonstrates the process of the mask generating structured light and the galvanometer rapidly switching phases and the lens group accurately transmitting the light. This can further verify that this device can efficiently complete the acquisition of structured light images of different phases.
[0036] The following will describe in detail how the control unit of this disclosure sends analog voltage drive signals, including: The control unit is used to obtain a first mapping table; the first mapping table is used to indicate the correspondence between the target phase and the analog voltage drive signal; The control unit matches the target phase of the image with the first mapping table, retrieves the analog voltage drive signal corresponding to the target phase, and sends the analog voltage drive signal to the galvanometer.
[0037] In this disclosure, the first mapping table can be understood as a one-to-one correspondence table between target phases and analog voltage driving signals. It is a pre-generated and stored data set, where each target phase corresponds to a unique analog voltage driving signal, which is used by the control unit to quickly retrieve the signal to achieve optical field phase switching.
[0038] In one embodiment of this disclosure, the disclosure also provides how the control unit obtains the first mapping table, including: Acquire light field distribution data at different phases of the image; Based on the light field distribution data, the rotation angle of the galvanometer around the preset axis is adjusted by a preset angle movement step size, and the analog voltage drive signal and its corresponding light field phase value are collected at multiple rotation angles. Using the least squares method or polynomial fitting algorithm, the phase value of the optical field is phase-fitted with the analog voltage driving signal to generate the first mapping table and store it in the control unit.
[0039] Among them, the light field distribution data can be understood as a collection of optical information such as the intensity and texture morphology of structured light on the imaging surface under different phases, which is the basic reference data for calibrating the relationship between phase and driving signal.
[0040] The preset angle movement step size can be understood as the minimum adjustment interval of the galvanometer rotation angle (such as 0.01°), which determines the accuracy of the first mapping table.
[0041] The phase value of the optical field can be understood as the phase state parameter of the structured light on the imaging surface, and it is the core indicator for measuring the modulation effect of the optical field.
[0042] The least squares method can be understood as a mathematical method that fits data by minimizing the sum of squared errors, and is used to establish a linear correspondence between the phase value of the optical field and the driving signal.
[0043] Polynomial fitting algorithms can be understood as algorithms that approximate the data distribution pattern using polynomial functions. They are suitable for scenarios where the phase of the light field and the driving signal have a nonlinear relationship.
[0044] Specifically, generating the first mapping table can include the following steps: First, the control unit controls the galvanometer to reset to its initial zero position and collects the light field distribution data at this time as the reference phase (phase 0); Second, the galvanometer rotation angle can be gradually adjusted by a preset angle movement step (e.g., 0.01°). Each time it is adjusted, the current analog voltage drive signal is recorded, and the corresponding light field distribution data is collected to extract the light field phase value; Third, the second step is repeated until the entire angle range required for the target phase is covered, resulting in multiple sets of data pairs of analog voltage drive signals and light field phase values; Fourth, the least squares method or polynomial fitting algorithm is used to fit the data pairs to obtain the corresponding function of the light field phase value and the analog voltage drive signal; Fifth, the corresponding function is discretized into key-value pairs of the target accuracy, generating the first mapping table and storing it in the storage module of the control unit.
[0045] Specifically, when the control unit sends the analog voltage drive signal, it may include the following steps: Step 1: The control unit receives the target phase requirement corresponding to the image acquisition task; Step 2: Match the analog voltage drive signal corresponding to the target phase in the pre-stored first mapping table; Step 3: Send the analog voltage drive signal to the galvanometer's data acquisition card, which then converts it into an analog voltage and drives the galvanometer to rotate to the corresponding angle. Step 4: After the galvanometer rotation stabilizes, the control unit sends a synchronization trigger signal to the light source and camera to complete the image acquisition at the current phase; if it is necessary to switch to the next target phase, repeat steps 1 to 4 to complete the image acquisition.
[0046] For example, Figure 3 This is a timing control diagram for the acquisition of analog voltage signals provided in an embodiment of this disclosure.
[0047] As shown in Figure 3, the entire timing process is synchronously scheduled by the acquisition card: First, the acquisition card outputs a blue square wave signal to control the galvanometer to switch to the voltage V1 corresponding to phase 0; after the galvanometer voltage stabilizes, the acquisition card sends a red trigger signal to synchronously start the LED light source (on) and camera exposure (marked as the "exposure" period), completing the image acquisition for phase 0; after a single frame acquisition is completed, the LED turns off (marked as the "off" period), and the acquisition card controls the galvanometer voltage to switch to V2; then, the trigger signal is sent again to synchronously start the LED and camera, completing the image acquisition for phase n. In this timing process, the actions of galvanometer voltage switching, LED on / off, and camera exposure are strictly synchronized, which can efficiently realize the acquisition of two phase complementary structured light images.
[0048] The following will explain how the galvanometer rotates differently based on the analog voltage drive signal, including: The rotation modes of the galvanometer include: single-axis rotation mode and dual-axis linkage rotation mode; When the galvanometer rotation mode is single-axis rotation mode, the galvanometer rotates around the Z-axis, and the rotation angle is linearly positively correlated with the analog voltage drive signal; When the galvanometer is in dual-axis linkage rotation mode, the galvanometer rotates synchronously around any two of the X, Y, and Z axes, and the rotation sub-angle of any one axis is linearly positively correlated with the sub-analog voltage drive signal; the sub-analog voltage drive signal is determined based on the analog voltage drive signal.
[0049] In this disclosure, the single-axis rotation mode can be understood as a control mode in which the galvanometer rotates only around a single preset axis (Z axis in this scheme). The rotation angle can be adjusted by a single analog voltage drive signal, which is suitable for single-dimensional light field phase switching scenarios.
[0050] In this disclosure, the dual-axis linkage rotation mode can be understood as a control mode in which the galvanometer rotates synchronously around two preset axes (such as X-axis and Y-axis, X-axis and Z-axis, Y-axis and Z-axis). It requires two independent sub-analog voltage drive signals to adjust the rotation angle of each axis respectively, so as to achieve the coordinated switching of the phase of the multi-dimensional optical field.
[0051] Specifically, the rotation of the galvanometer can include the following steps: First, the control unit determines the rotation mode (single-axis / dual-axis) of the galvanometer based on the target phase requirement; then, if it is a single-axis rotation mode, the control unit retrieves the corresponding analog voltage drive signal for the Z-axis from the first mapping table and sends it to the data acquisition card; the data acquisition card converts the signal into an analog voltage, driving the galvanometer to rotate around the Z-axis to the target angle; if it is a dual-axis linkage rotation mode, the control unit retrieves the corresponding sub-analog voltage drive signals for the two axes from the first mapping table and sends them to the data acquisition card respectively; the data acquisition card converts the two sub-signals into corresponding analog voltages, driving the galvanometer to synchronously rotate around the two preset axes to the target sub-angle, completing the optical field phase switching.
[0052] The following will explain in detail how to determine the rotation mode, including: When the target phase needs to be adjusted circumferentially, the control unit determines that the rotation mode of the galvanometer is single-axis rotation mode and sends an analog voltage drive signal to the galvanometer. When the target phase requires spatial phase adjustment, the control unit determines that the rotation mode of the galvanometer is the dual-axis linkage rotation mode and sends two sub-analog voltage drive signals to the galvanometer.
[0053] In this disclosure, circumferential adjustment can be understood as the phase change of the structured light field along the circumferential direction of the optical axis (Z-axis), which manifests as the circumferential shift of the structured light stripes at the sample surface, and can be achieved by adjusting the angle in only a single dimension.
[0054] In this disclosure, spatial phase adjustment can be understood as the phase change of the structured light field in a two-dimensional plane, which is manifested as the composite shift of the spatial position and direction of the structured light stripes on the sample surface, which requires coordinated adjustment of the angles in two dimensions; and the sub-analog voltage driving signal can be understood as the analog voltage driving signal corresponding to a single preset axis in the dual-axis linkage mode, with each sub-signal independently controlling the rotation angle of the corresponding axis.
[0055] Specifically, determining the rotation mode includes the following steps: Step 1: The control unit receives the target phase requirement of the image acquisition task and analyzes the corresponding light field change dimension. Step 2: If the target phase only needs to achieve circumferential shift of the structured light, then the single-axis rotation mode is selected; if the target phase needs to achieve a composite shift of the spatial position / direction of the structured light, then the dual-axis linkage rotation mode is selected. Step 3: The control unit retrieves the drive signal (single signal / twin signal) for the corresponding mode based on the judgment result and sends it.
[0056] For example, Figure 4 This is a schematic diagram of galvanometer rotation provided in an embodiment of this disclosure.
[0057] As can be seen from Figure 4, the galvanometer rotates around the Z-axis (the Z-axis in the figure is the axis perpendicular to the mirror surface) after receiving the analog voltage drive signal (the blue arrow indicates the direction of rotation); the incident structured light (the yellow beam below) is reflected by the galvanometer, and the outgoing direction changes with the rotation angle of the galvanometer (the yellow beam above is the reflected light), thereby realizing the phase switching of the structured light field at the sample surface. This process corresponds to the single-axis rotation mode of this disclosure.
[0058] This disclosure also provides a method for switching light fields, the method comprising: Provide direct light illumination using a light source; The direct illumination light is converted into structural texture light using a mask. A lens group is used to focus and translate the light from the structural texture. The control unit sends different analog voltage drive information to the galvanometer based on the target phase of the image; one target phase corresponds to one analog voltage drive signal.
[0059] By using a galvanometer driven by an analog voltage signal, rotating it around a preset axis by a corresponding angle, the light of the structural texture can be switched; one analog voltage drive signal corresponds to one angle; the preset axis includes: the Z-axis, or any two of the X-axis, Y-axis and Z-axis.
[0060] Figure 5This is a hardware block diagram of an electronic device provided according to an embodiment of the present disclosure. The electronic device 500 according to an embodiment of the present disclosure includes at least a processor and a memory for storing computer-readable instructions. When the computer-readable instructions are loaded and executed by the processor, the processor performs the light field switching illumination method described in any of the preceding embodiments of the present disclosure.
[0061] Figure 5 The illustrated electronic device 500 specifically includes a central processing unit (CPU) 501, a graphics processing unit (GPU) 502, and a memory 503. These units are interconnected via a bus 504. The CPU 501 and / or GPU 502 can function as the aforementioned processor, and the memory 503 can function as the aforementioned memory storing computer-readable instructions. Furthermore, the electronic device 500 may also include a communication unit 505, a storage unit 506, an output unit 507, an input unit 508, and an external device 509, all of which are also connected to the bus 504.
[0062] In summary, this disclosure provides a light field switching illumination device, method, and electronic device. This disclosure utilizes a light source to provide direct illumination; a mask connected to the light source to convert the direct illumination into structural texture light; a lens group, including at least three lenses, for focusing and translating the structural texture light; a galvanometer to rotate around a preset axis by a corresponding angle based on an analog voltage drive signal, thereby switching the structural texture light; one analog voltage drive signal corresponds to one angle; the preset axis includes: the Z-axis, or any two of the X-axis, Y-axis, and Z-axis; and a control unit to send different analog voltage drive information to the galvanometer based on the target phase of the image; one target phase corresponds to one analog voltage drive signal. Thus, compared to existing mechanical transmission adjustment schemes, this disclosure can directly drive the galvanometer to rotate via a voltage signal to achieve light field switching, eliminating the need for additional mechanical transmission components and significantly improving light field switching efficiency. Simultaneously, the control unit of this disclosure can precisely match the target phase with the analog voltage drive signal, greatly improving phase adjustment accuracy and flexibly adapting to various scenarios. In summary, the technical solution provided in this disclosure can improve the efficiency and accuracy of switching optical fields and can be adapted to various application scenarios.
[0063] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this disclosure.
[0064] The basic principles of this disclosure have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in this disclosure are merely examples and not limitations, and should not be considered as essential features of each embodiment of this disclosure. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the scope of this disclosure to the necessity of employing the aforementioned specific details for implementation.
[0065] The block diagrams of devices, apparatuses, devices, and systems disclosed herein are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, devices, and systems can be connected, arranged, and configured in any manner. Words such as “comprising,” “including,” “having,” etc., are open-ended terms meaning “including but not limited to,” and are used interchangeably with them. The terms “or” and “and” as used herein refer to the terms “and / or,” and are used interchangeably with them unless the context clearly indicates otherwise. The term “such as” as used herein refers to the phrase “such as but not limited to,” and is used interchangeably with it.
[0066] Additionally, as used herein, the "or" used in a list of items beginning with "at least one" indicates a separate list, such that a list of, for example, "at least one of A, B, or C" means A or B or C, or AB or AC or BC, or ABC (i.e., A and B and C). Furthermore, the word "exemplary" does not imply that the described example is preferred or better than other examples.
[0067] It should also be noted that in the systems and methods of this disclosure, the components or steps can be decomposed and / or recombined. These decompositions and / or recombinations should be considered as equivalent solutions to this disclosure.
[0068] Various changes, substitutions, and modifications can be made to the technology described herein without departing from the teachings defined by the appended claims. Furthermore, the scope of the claims of this disclosure is not limited to the specific aspects of the processes, machines, manufactures, events, means, methods, and actions described above. Currently existing or later-developed processes, machines, manufactures, events, means, methods, or actions that perform substantially the same function or achieve substantially the same result as the corresponding aspects described herein can be utilized. Therefore, the appended claims include such processes, machines, manufactures, events, means, methods, or actions within their scope.
[0069] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use this disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of this disclosure. Therefore, this disclosure is not intended to be limited to the aspects shown herein, but rather to be carried out within the widest scope consistent with the principles and novel features disclosed herein.
[0070] The above description has been given for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of this disclosure to the forms disclosed herein. Although numerous exemplary aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations therein.
Claims
1. A light field switching illumination device, characterized in that, The device includes: A light source used to provide direct light for illumination; A mask, connected to the light source, is used to convert the direct illumination light into structural texture light; The lens group includes at least three lenses for focusing and translating the light from the structural texture. A galvanometer is used to rotate around a preset axis by a corresponding angle based on an analog voltage drive signal, thereby switching the light of the structural texture; one analog voltage drive signal corresponds to one angle; the preset axis includes: the Z-axis, or any two of the X-axis, Y-axis and the Z-axis; A control unit is configured to send different analog voltage drive signals to the galvanometer based on the target phase of the image; one target phase corresponds to one analog voltage drive signal.
2. The apparatus according to claim 1, characterized in that, The device further includes: The data acquisition card is connected to the galvanometer on one side and the control unit on the other side. It is used to receive the analog voltage drive signal sent by the control unit and convert it into an analog voltage to drive the galvanometer to rotate.
3. The apparatus according to claim 1, characterized in that, The lens group includes: The first lens, with one side connected to the mask template and the other side connected to the galvanometer, is used to focus the structural texture light and incident the focused structural texture light onto the galvanometer. The second lens is connected to the galvanometer on one side and to the third lens on the other side. It is used to receive the structural texture light after it has been switched by the galvanometer and to translate the switched structural texture light to the third lens. The third lens is used to receive the structural texture light from the second lens and incident the structural texture light onto the imaging unit.
4. The apparatus according to claim 1, characterized in that, The control unit is used to obtain a first mapping table; the first mapping table is used to indicate the correspondence between the target phase and the analog voltage drive signal; The control unit matches the target phase of the image with the first mapping table, retrieves the analog voltage drive signal corresponding to the target phase, and sends the analog voltage drive signal to the galvanometer.
5. The apparatus according to claim 4, characterized in that, The step of obtaining the first mapping table using the control unit includes: Acquire light field distribution data at different phases of the image; Based on the light field distribution data, the rotation angle of the galvanometer around the preset axis is adjusted by a preset angle movement step size, and the analog voltage drive signal and its corresponding light field phase value are collected at multiple rotation angles. The phase values of the optical field are phase-fitted with the analog voltage driving signal using the least squares method or a polynomial fitting algorithm to generate the first mapping table and store it in the control unit.
6. The apparatus according to claim 1, characterized in that, The rotation modes of the galvanometer include: single-axis rotation mode and dual-axis linkage rotation mode; When the rotation mode of the galvanometer is the single-axis rotation mode, the galvanometer rotates around the Z-axis, and the rotation angle is linearly positively correlated with the analog voltage drive signal; When the rotation mode of the galvanometer is the dual-axis linkage rotation mode, the galvanometer rotates synchronously around any two of the X-axis, Y-axis and Z-axis, and the rotation sub-angle of any one axis is linearly positively correlated with the sub-analog voltage drive signal; the sub-analog voltage drive signal is determined based on the analog voltage drive signal.
7. The apparatus according to claim 6, characterized in that, When the target phase needs to be adjusted circumferentially, the control unit determines that the rotation mode of the galvanometer is the single-axis rotation mode and sends the analog voltage drive signal to the galvanometer. When the target phase requires spatial phase adjustment, the control unit determines that the rotation mode of the galvanometer is the dual-axis linkage rotation mode and sends two sub-analog voltage drive signals to the galvanometer.
8. The apparatus according to claim 1, characterized in that, The mask templates include: striped mask templates, grid mask templates, and dot matrix mask templates.
9. A method for switching light fields, characterized in that, The method includes: Provide direct illumination using a light source; The direct illumination light is converted into structural texture light using a mask template; A lens group is used to focus and translate the light from the structural texture. The control unit sends different analog voltage drive information to the galvanometer based on the target phase of the image; one target phase corresponds to one analog voltage drive signal. The structure texture light is switched by rotating a galvanometer around a preset axis by a corresponding angle based on the analog voltage drive signal; one analog voltage drive signal corresponds to one angle; the preset axis includes: the Z-axis, or any two of the X-axis, Y-axis and the Z-axis.
10. An electronic device, characterized in that, include: Memory, used to store computer-readable instructions; and A processor for executing the computer-readable instructions, causing the electronic device to perform the method as described in any one of claims 9.