Miniature microscope collection box and collection method
By combining the system control module and optical array module in the microscopic collecting box, the exposure parameters are dynamically adjusted, the problem of uneven image quality under different light conditions is solved, and the best image quality is achieved under different light conditions.
Patent Information
- Application Number
- CN202411493829.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-24
- Publication Date
- 2025-01-28
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing micro microscope acquisition box is difficult to ensure image quality under different lighting conditions, resulting in uneven images collected.
Through system control modules, optical arrays modules, simulation processing modules, digital processing modules, system clock modules, and serial communication modules, under the combination of optical array modules and algorithms Get the best image quality.
The best image quality can be obtained under different light conditions, ensuring that the image brightness is uniform, and improving the stability and reliability of microscope collection.
Smart Images

Figure CN119383443A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of microscopes, and in particular to a micro microscope collection box and a collection method. Background Art
[0002] As an important part of a miniature microscope, the micro-microscope collection box and collection method have broad application prospects in the fields of biomedicine, materials science, microelectronics, etc. Through continuous technological innovation and optimization, the performance and function of the collection box will be further improved, providing a more efficient and convenient tool for scientific research and industrial applications. The future development trend will focus on intelligence, high resolution, high-speed imaging, portability and multi-functional applications to meet the ever-changing and developing needs.
[0003] Based on the above situation, the present invention proposes a micro microscope collection box and a collection method, which can effectively solve the above problems. Summary of the invention
[0004] The purpose of the present invention is to provide a micro-microscope acquisition box and acquisition method. The micro-microscope acquisition box and acquisition method of the present invention dynamically adjusts exposure parameters through the coordination of a system control module, an optical array module, an analog processing module, a digital processing module, a system clock module and a serial communication module, in combination with an optical array module and an algorithm, to ensure that the best image quality can be obtained under different lighting conditions.
[0005] The present invention is achieved through the following technical solutions:
[0006] A micro microscope acquisition box, comprising a system control module, an optical array module, an analog processing module, a digital processing module, a system clock module and a serial communication module, wherein the system control module is electrically connected to the optical array module, the analog processing module and the digital processing module respectively, and the system clock module and the serial communication module are both electrically connected to the digital processing module;
[0007] The system control module is used to control the operation of the optical array module, the analog processing module, and the digital processing module. The optical array module is used to collect images and convert the optical signals of the images into electrical signals. The analog processing module is used to amplify and filter weak electrical signals. The digital processing module is used to send the processed analog signals to the ADC and convert them into digital signals.
[0008] The purpose of the present invention is to provide a micro-microscope acquisition box and acquisition method. The micro-microscope acquisition box and acquisition method of the present invention dynamically adjusts exposure parameters through the coordination of a system control module, an optical array module, an analog processing module, a digital processing module, a system clock module and a serial communication module, in combination with an optical array module and an algorithm, to ensure that the best image quality can be obtained under different lighting conditions.
[0009] Preferably, the system control module is a SoC chip.
[0010] Preferably, the optical array module is an IMX219 CMOS sensor.
[0011] According to another aspect of the present invention, a collection method of a micro microscope collection box is provided, comprising the following steps:
[0012] Step S1: Initialize the sensor and system;
[0013] Step S2: Read ambient light data and calculate current exposure;
[0014] Step S3: Based on the difference between the current image brightness and the target brightness, the exposure parameters are adjusted in real time through a closed-loop feedback mechanism;
[0015] Step S4: Check whether the image brightness and quality reach the ideal exposure. If so, proceed to step S5, otherwise return to step S3;
[0016] Step S5: locking the exposure value and capturing images;
[0017] Step S6: Output the image data to a display device.
[0018] Preferably, the specific steps of step S2 are:
[0019] Step S21: Calculate the average brightness value of the entire image.
[0020] L=0.299×R+0.587×G+0.114×B
[0021] Where: R, G, and B are the red, green, and blue components of each pixel in the image respectively;
[0022] Step S22: Based on step S21, the average brightness value of the entire image can be calculated by the following formula:
[0023]
[0024] Where: R(x, y), G(x, y), and B(x, y) are the red, green, and blue components of the image at position (x, y), respectively.
[0025] Preferably, step S3 comprises the following steps:
[0026] Step S31: Calculate the error Error:
[0027] Error=L target -L current
[0028] Among them, L current is the current image brightness, L target is the target brightness, E time is the exposure time;
[0029] Step S32: Adjust exposure parameters according to the error Error:
[0030] ΔE time =K p ×Error
[0031] Among them, Kp is proportional control;
[0032] Actual adjustments:
[0033] E time,new =E time,current +ΔE time
[0034] Among them, E time,new is the new exposure time, E time,current is the current exposure time;
[0035] Step S33: In real-time image acquisition, after adjusting the exposure parameters, a new image brightness value is obtained and the error is calculated again, and the adjustment is continued through a closed-loop feedback mechanism until the image brightness approaches the target brightness value.
[0036] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0037] 1. Use IMX219 COMS high-resolution sensor to detect ambient light intensity in real time.
[0038] 2. Dynamically adjust exposure time and gain according to ambient light intensity to ensure uniform brightness of the image under different lighting conditions.
[0039] 3. Using the USB3.0 interface to transmit image data can significantly improve data transmission speed, reduce latency, enhance system stability and compatibility, while providing higher power supply capacity and data transmission reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a circuit schematic diagram of the present invention. DETAILED DESCRIPTION
[0041] In order to enable those skilled in the art to better understand the technical solution of the present invention, the preferred implementation scheme of the present invention is described below in conjunction with specific embodiments. However, it should be understood that the drawings are only used for exemplary description and cannot be understood as a limitation on this patent. In order to better illustrate this embodiment, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of the actual product. For those skilled in the art, it is understandable that some well-known structures and their descriptions in the drawings may be omitted. The positional relationship described in the drawings is only for exemplary description and cannot be understood as a limitation on this patent.
[0042] Embodiment 1:
[0043] like Figure 1 As shown, the present invention provides a miniature microscope acquisition box, including a system control module, an optical array module, an analog processing module, a digital processing module, a system clock module and a serial communication module, wherein the system control module is electrically connected to the optical array module, the analog processing module and the digital processing module respectively, and the system clock module and the serial communication module are both electrically connected to the digital processing module;
[0044] The system control module is used to control the operation of the optical array module, the analog processing module, and the digital processing module. The optical array module is used to collect images and convert the optical signals of the images into electrical signals. The analog processing module is used to amplify and filter weak electrical signals. The digital processing module is used to send the processed analog signals to the ADC and convert them into digital signals.
[0045] Embodiment 2:
[0046] like Figure 1 As shown, the present invention provides a miniature microscope acquisition box, including a system control module, an optical array module, an analog processing module, a digital processing module, a system clock module and a serial communication module, wherein the system control module is electrically connected to the optical array module, the analog processing module and the digital processing module respectively, and the system clock module and the serial communication module are both electrically connected to the digital processing module;
[0047] The system control module is used to control the operation of the optical array module, the analog processing module, and the digital processing module. The optical array module is used to collect images and convert the optical signals of the images into electrical signals. The analog processing module is used to amplify and filter weak electrical signals. The digital processing module is used to send the processed analog signals to the ADC and convert them into digital signals.
[0048] The system control module is a SoC chip.
[0049] Furthermore, in another embodiment, the optical array module is an IMX219 CMOS sensor.
[0050] A collection method for a micro microscope collection box, comprising the following steps:
[0051] Step S1: Initialize sensor and system; initialize the IMX219 CMOS sensor and related system components, ensuring that all hardware and software modules are ready.
[0052] Step S2: Read the ambient light data and calculate the current exposure; read the light intensity data of the current environment through the built-in light sensor, and calculate the initial exposure value based on the ambient light data.
[0053] Step S3: Based on the difference between the current image brightness and the target brightness, the exposure parameters are adjusted in real time through a closed-loop feedback mechanism; the exposure time and gain parameters are dynamically adjusted to optimize the image brightness and quality.
[0054] Step S4: Check whether the image brightness and quality reach the ideal exposure. If so, proceed to step S5, otherwise return to step S3; detect the adjusted image brightness and quality to evaluate whether the expected effect is achieved.
[0055] Step S5: locking the exposure value and acquiring the image; locking the current exposure parameters and performing image acquisition to ensure that a high-quality image is obtained under ideal exposure.
[0056] Step S6: Output the image data to a display device.
[0057] Furthermore, in another embodiment, the specific steps of step S2 are:
[0058] Step S21: Calculate the average brightness value of the entire image.
[0059] L=0.299×R+0.587×G+0.114×B
[0060] Where: R, G, and B are the red, green, and blue components of each pixel in the image respectively;
[0061] Step S22: Based on step S21, the average brightness value of the entire image can be calculated by the following formula:
[0062]
[0063] Where: R(x, y), G(x, y), and B(x, y) are the red, green, and blue components of the image at position (x, y), respectively.
[0064] Further, in another embodiment, step S3 includes the following steps:
[0065] Step S31: Calculate the error Error:
[0066] Error=L target -L current
[0067] Among them, L current is the current image brightness, L target is the target brightness, E time is the exposure time;
[0068] Step S32: Adjust exposure parameters according to the error Error:
[0069] ΔE time =K p ×Error
[0070] Among them, Kp is proportional control;
[0071] Actual adjustments:
[0072] E time,new =E time , current +ΔE time
[0073] Among them, E time,new is the new exposure time, E time,current is the current exposure time;
[0074] Step S33: In real-time image acquisition, after adjusting the exposure parameters, a new image brightness value is obtained and the error is calculated again, and the adjustment is continued through a closed-loop feedback mechanism until the image brightness approaches the target brightness value.
[0075] According to the description and drawings of the present invention, those skilled in the art can easily manufacture or use the micro-microscope collection box and collection method of the present invention, and can produce the positive effects recorded in the present invention.
[0076] Unless otherwise specified, in the present invention, the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicating orientation or positional relationships are based on the orientation or positional relationships shown in the drawings, which are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation. Therefore, the terms describing the orientation or positional relationship in the present invention are only used for illustrative purposes and cannot be understood as limitations on this patent. For ordinary technicians in this field, the specific meanings of the above terms can be understood in conjunction with the drawings and according to specific circumstances.
[0077] Unless otherwise clearly specified and limited, in the present invention, the terms "disposed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be directly connected, or indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0078] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Any simple modification or equivalent change made to the above embodiment based on the technical essence of the present invention shall fall within the protection scope of the present invention.
Claims
1. A micro microscope collection box, characterized in that: It includes a system control module, an optical array module, an analog processing module, a digital processing module, a system clock module and a serial communication module, wherein the system control module is electrically connected to the optical array module, the analog processing module and the digital processing module respectively, and the system clock module and the serial communication module are both electrically connected to the digital processing module; The system control module is used to control the operation of the optical array module, the analog processing module, and the digital processing module. The optical array module is used to collect images and convert the optical signals of the images into electrical signals. The analog processing module is used to amplify and filter weak electrical signals. The digital processing module is used to send the processed analog signals to the ADC and convert them into digital signals.
2. The micro microscope collection box according to claim 1, characterized in that: The system control module is a SoC chip.
3. The micro microscope collection box according to claim 1, characterized in that: The optical array module is an IMX219 CMOS sensor.
4. The collection method of the micro microscope collection box according to any one of claims 1 to 3, characterized in that: The following steps are described: Step S1: Initialize the sensor and system; Step S2: Read ambient light data and calculate current exposure; Step S3: Based on the difference between the current image brightness and the target brightness, the exposure parameters are adjusted in real time through a closed-loop feedback mechanism; Step S4: Check whether the image brightness and quality reach the ideal exposure. If so, proceed to step S5, otherwise return to step S3; Step S5: locking the exposure value and capturing images; Step S6: Output the image data to a display device.
5. The collection method of the micro microscope collection box according to claim 4, characterized in that: The specific steps of step S2 are: Step S21: Calculate the average brightness value of the entire image. L=0.299×R+0.587×G+0.114×B Where: R, G, and B are the red, green, and blue components of each pixel in the image respectively; Step S22: Based on step S21, the average brightness value of the entire image can be calculated by the following formula: Where: R(x, y), G(x, y), and B(x, y) are the red, green, and blue components of the image at position (x, y), respectively.
6. The collection method of the micro microscope collection box according to claim 4, characterized in that: The step S3 comprises the following steps: Step S31: Calculate the error Error: Error=L target -L current Among them, L current is the current image brightness, L target is the target brightness, E time is the exposure time; Step S32: Adjust exposure parameters according to the error Error: ΔE time =K p ×Error Among them, K p For proportional control; Actual adjustments: E time,new =E time,current +ΔE time Among them, E time,new is the new exposure time, E time,current is the current exposure time; Step S33: In real-time image acquisition, after adjusting the exposure parameters, a new image brightness value is obtained and the error is calculated again, and the adjustment is continued through a closed-loop feedback mechanism until the image brightness approaches the target brightness value.
Citation Information
Patent Citations
Microscope on basis of visible light communication
CN106772997A
Cell image automatic exposure method and device
CN112233082A
Multipath low-light image acquisition system
CN115567759A
Miniaturized lensless microscopic imaging device and imaging method
CN118192057A
Electronic device and exposure convergence method
CN118250570A