CN109361876B - Automatic focusing circuit and method and microcirculation imaging device - Google Patents

Automatic focusing circuit and method and microcirculation imaging device Download PDF

Info

Publication number
CN109361876B
CN109361876B CN201811590491.4A CN201811590491A CN109361876B CN 109361876 B CN109361876 B CN 109361876B CN 201811590491 A CN201811590491 A CN 201811590491A CN 109361876 B CN109361876 B CN 109361876B
Authority
CN
China
Prior art keywords
focusing
circuit
control module
camera
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811590491.4A
Other languages
Chinese (zh)
Other versions
CN109361876A (en
Inventor
余陈锋
刘嘉惠
陈大强
亚历克斯布兰多
罗晓川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Medical Soft Intelligent Technology Co ltd
Original Assignee
Guangzhou Medical Soft Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Medical Soft Intelligent Technology Co ltd filed Critical Guangzhou Medical Soft Intelligent Technology Co ltd
Priority to CN201811590491.4A priority Critical patent/CN109361876B/en
Publication of CN109361876A publication Critical patent/CN109361876A/en
Application granted granted Critical
Publication of CN109361876B publication Critical patent/CN109361876B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/65Control of camera operation in relation to power supply

Abstract

The invention relates to an automatic focusing circuit, an automatic focusing method and a microcirculation imaging device.A focusing control module receives a focusing control signal sent by a terminal device and sends the focusing control signal to a lens control module, and the lens control module adjusts a control electric signal of a liquid lens according to the focusing control signal. The liquid lens is controlled to change the curvature by adjusting the control electric signal, so that the focal length is changed, and the focusing adjustment of the camera is indirectly realized; meanwhile, after focusing is finished, the focusing control module can send a shooting instruction to the terminal device so as to indicate the terminal device to control the camera to finish acquiring focused microcirculation imaging information. Therefore, focusing which is convenient to operate and high in focusing speed and accuracy is achieved.

Description

Automatic focusing circuit and method and microcirculation imaging device
Technical Field
The invention relates to the technical field of optical circuits, in particular to an automatic focusing circuit, an automatic focusing method and a microcirculation imaging device.
Background
Microcirculation, which is generally the blood circulation between the oligodynamic and the venule, is the final, and most important, link for delivering oxygen and nutrients to the tissue cells and for carrying away carbon dioxide CO2 and metabolites.
The microcirculation at the sublingual mucosa of the human body is usually detected to obtain the microcirculation imaging information for observing the microcirculation condition of the patient, the microcirculation condition of the critical patient can be quickly and simply monitored, and the condition of the patient can be judged by a user according to the detected sublingual microcirculation image. The user needs to focus to obtain a clear sublingual microcirculation image, namely, the object distance and the distance position are changed through the camera focusing mechanism, so that the shot object is imaged clearly. The traditional microcirculation imaging device generally uses mechanical focusing or indirect focusing of a driving motor, and the focusing mode is inconvenient to operate and slow in focusing speed.
Disclosure of Invention
In view of the above, it is necessary to provide an autofocus circuit, method and micro-loop imaging device for solving the problems of the conventional micro-loop detection device that the mechanical focusing or the driving motor indirect focusing is generally used, which is inconvenient to operate and slow in focusing speed.
In order to solve the above technical problems, embodiments of the present invention provide an auto-focusing circuit, an auto-focusing method, and a micro-loop imaging device.
One aspect of the present invention provides an auto-focusing circuit, including a focusing control module, a lens control module, a power control module and a power module;
the focusing control module comprises an MCU, a debugging and downloading circuit, an expansion interface circuit, a crystal oscillator oscillating circuit, a starting circuit and a reset circuit;
the lens control module comprises a liquid lens control chip, a full-bridge circuit, a first amplifying circuit, a second amplifying circuit, a reference source circuit, an output current source circuit and a wiring terminal circuit;
the MCU is respectively connected with the liquid lens control chip, the power supply control module, the debugging and downloading circuit, the expansion interface circuit, the crystal oscillator circuit, the starting circuit and the reset circuit; the MCU is used for receiving a focusing control signal and sending the focusing control signal to the liquid lens control chip; the MCU can also send a shooting instruction to the terminal equipment; the microcirculation imaging terminal can control a camera to acquire microcirculation imaging information according to the shooting instruction;
the full-bridge circuit is connected with the MCU through the first amplifying circuit and the second amplifying circuit respectively, and is also connected with the liquid lens control chip and the wiring terminal circuit respectively; the wiring terminal circuit is also connected with the MCU and is used for connecting the liquid lens; the liquid lens control chip is respectively connected with the reference source circuit and the output current source circuit;
the power supply module is respectively connected with the MCU, the liquid lens control chip and the power supply control module; the power supply control module is used for connecting the camera.
Further, the first amplifying circuit includes a first resistor, a second resistor, and a first transistor;
one end of the first resistor is connected with the MCU, and the other end of the first resistor is connected with the base electrode of the first transistor;
one end of the second resistor is used for connecting a high level, and the other end of the second resistor is connected with the collector of the first transistor;
the emitter of the first transistor is used for grounding, and the collector of the first transistor is connected with the full-bridge circuit.
Further, the second amplifying circuit includes a third resistor, a fourth resistor, and a second transistor;
one end of the third resistor is connected with the MCU, and the other end of the third resistor is connected with the base electrode of the second transistor;
one end of the fourth resistor is used for connecting a high level, and the other end of the fourth resistor is connected with a collector of the second transistor;
the emitter of the second transistor is used for grounding, and the collector of the second transistor is connected with the full-bridge circuit.
Furthermore, the full-bridge circuit comprises a fifth resistor, a first voltage regulator tube, a first MOS tube, a second MOS tube, a third MOS tube and a fourth MOS tube;
the positive electrode of the first voltage regulator tube is grounded, and the negative electrode of the first voltage regulator tube is respectively connected with the source electrode of the first MOS tube and the source electrode of the second MOS tube through the fifth resistor;
the grid electrode of the first MOS tube is connected with the first amplifying circuit, and the grid electrode of the second MOS tube is connected with the second amplifying circuit; the grid electrode of the third MOS tube is connected with the first amplifying circuit, and the grid electrode of the fourth MOS tube is connected with the second amplifying circuit; the drain electrode of the first MOS tube is connected with the source electrode of the third MOS tube, and the drain electrode of the second MOS tube is connected with the source electrode of the fourth MOS tube;
the drain electrode of the first MOS tube and the drain electrode of the second MOS tube are both connected with the wiring terminal circuit; and the drain electrode of the third MOS tube and the drain electrode of the fourth MOS tube are both used for grounding.
Further, the crystal oscillator oscillation circuit comprises a crystal oscillator, a first oscillation starting capacitor and a second oscillation starting capacitor;
one end of the first starting oscillation capacitor is connected with the MCU and is connected with one end of the second starting oscillation capacitor through the crystal oscillator; one end of the second oscillation starting capacitor is connected with the MCU;
and the other end of the first oscillation starting capacitor and the other end of the second oscillation starting capacitor are both used for grounding.
Further, the reset circuit comprises a reset resistor and a charging capacitor;
one end of the reset resistor is used for accessing a high level, and the other end of the reset resistor is connected with the MCU;
the other end of the reset resistor is also used for being grounded through the charging capacitor.
Preferably, the flash lamp further comprises a first strobe control module; the first stroboscopic control module is used for connecting a stroboscopic lamp;
the first stroboscopic control module is respectively connected with the focusing control module and the power supply module.
Preferably, the flash lamp further comprises a second flash control module;
the second stroboscopic control module is connected with the power supply module and is used for being connected with the stroboscopic lamp and the camera respectively.
Preferably, the system also comprises a video focusing key and a power supply key;
the MCU is respectively connected with the video focusing key and the power supply key;
the video focusing key is used for sending a focusing control signal or a video control signal to the MCU, and when the video focusing key is triggered, the focusing control signal or the video control signal is sent to the MCU;
the power supply key is used for sending a power supply control signal to the MCU, and when the power supply key is triggered, the power supply key sends the power supply control signal to the MCU.
One aspect of the present invention further provides an automatic focusing method applied to the automatic focusing circuit, including the steps of:
generating a power supply control signal and supplying power to the camera according to the power supply control signal;
receiving a focusing control signal sent by terminal equipment, and adjusting a control electric signal of a liquid lens according to the focusing control signal; the terminal equipment generates the focusing control signal according to microcirculation imaging information acquired by the camera;
and generating a shooting instruction and sending the shooting instruction to terminal equipment so as to instruct the terminal equipment to control the camera to acquire microcirculation imaging information according to the shooting instruction.
Preferably, the shooting instruction comprises a shooting instruction;
the method for generating the shooting instruction and sending the shooting instruction to the terminal equipment so as to instruct the terminal equipment to control the camera to acquire the microcirculation imaging information according to the shooting instruction comprises the following steps:
and generating a photographing instruction and sending the photographing instruction to terminal equipment so as to instruct the terminal equipment to control the camera to photograph the microcirculation picture according to the photographing instruction.
Preferably, the shooting instruction comprises a video recording instruction;
the method for generating the shooting instruction and sending the shooting instruction to the terminal equipment so as to instruct the terminal equipment to control the camera to acquire the microcirculation imaging information according to the shooting instruction comprises the following steps:
and generating a video recording instruction and sending the video recording instruction to terminal equipment so as to instruct the terminal equipment to control the camera to record video according to the video recording instruction.
Further, the automatic focusing method further comprises the steps of:
whether the camera collects the microcirculation imaging information or not is detected, and when the camera collects the microcirculation imaging information, the stroboscopic lamp is controlled to strobe.
Further, the automatic focusing method further comprises the steps of:
acquiring a power-off control signal;
stopping power supply to the camera according to the power-off control signal.
Another aspect of the present invention provides a microcirculation imaging device, including the above-mentioned automatic focusing circuit, further including a liquid lens, a camera, a lens barrel, a strobe light and a terminal device;
the liquid lens is arranged in parallel in the shooting direction of the lens of the camera and is positioned on the same axis with the lens of the camera; the lens barrel is arranged in front of the liquid lens; the stroboscopic lamp is arranged in front of the lens barrel; the liquid lens, the lens barrel and the stroboscopic lamp are positioned on the same axis; the liquid lens is connected with the lens control module, and the lens control module controls the liquid lens to focus; the camera is respectively connected with the power supply control module and the terminal equipment and is used for acquiring microcirculation imaging information; the terminal equipment is connected with the focusing control module and used for sending a focusing control signal to the focusing control module or receiving a shooting instruction sent by the focusing control module and acquiring microcirculation imaging information acquired by the camera.
Further, the terminal device is a computer.
Further, the strobe light is an LED.
According to the automatic focusing circuit, the automatic focusing method and the microcirculation imaging device, the focusing control module receives the focusing control signal sent by the terminal equipment and sends the focusing control signal to the lens control module, and the lens control module adjusts the control electric signal of the liquid lens according to the focusing control signal. The liquid lens is controlled to change the curvature by adjusting the control electric signal, so that the focal length is changed, and the focusing adjustment of the camera is indirectly realized; meanwhile, after focusing is finished, the focusing control module can send a shooting instruction to the terminal device so as to indicate the terminal device to control the camera to finish acquiring focused microcirculation imaging information. Based on this, convenient operation and quick accurate focusing are realized.
Drawings
The foregoing and other objects, features and advantages of the invention will be apparent from the following more particular description of preferred embodiments of the invention, as illustrated in the accompanying drawings. Like reference numerals refer to like parts throughout the drawings, and the drawings are not intended to be drawn to scale in actual dimensions, emphasis instead being placed upon illustrating the principles of the invention.
FIG. 1 is a block diagram of an auto-focus circuit according to an embodiment;
FIG. 2 is a circuit diagram of a focus control module;
FIG. 3 is a circuit diagram of a lens control module;
FIG. 4 is a circuit diagram of a power module;
FIG. 5 is a circuit diagram of an interface module;
FIG. 6 is a circuit diagram of a video focus button;
FIG. 7 is a power key circuit diagram;
FIG. 8 is a circuit diagram of a power control module;
FIG. 9 is a block diagram of an auto-focus circuit according to a second embodiment;
FIG. 10 is a block diagram of an auto-focus circuit according to a third embodiment;
FIG. 11 is a flowchart illustrating an auto-focusing method according to a fourth embodiment;
FIG. 12 is a flowchart illustrating an auto-focusing method according to an embodiment of the fourth embodiment;
FIG. 13 is a flowchart illustrating an auto-focusing method according to another embodiment of the fourth embodiment;
fig. 14 is a schematic structural view of a fifth embodiment of a microcirculation imaging device.
Detailed Description
To facilitate an understanding of the present application, the present application will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present application are shown in the drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "connected" to another element, it can be directly connected to the other element and be integral therewith, or intervening elements may also be present. The terms "mounted," "one end," "the other end," and the like are used herein for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
Example one
Fig. 1 is a block diagram of an autofocus circuit according to a first embodiment, and as shown in fig. 1, the autofocus circuit according to the first embodiment includes a focus control module 100, a lens control module 101, a power control module 102, and a power module 103;
the focusing control module 100 comprises an MCU, a debugging and downloading circuit 200, an expansion interface circuit 201, a crystal oscillator circuit 202, a starting circuit 203 and a reset circuit 204;
the lens control module 101 comprises a liquid lens control chip 300, a full-bridge circuit 301, a first amplifying circuit 302, a second amplifying circuit 303, a reference source circuit 304, an output current source circuit 305 and a wiring terminal circuit 306;
the MCU is respectively connected with the liquid lens control chip 300, the power control module 102, the debugging and downloading circuit 200, the expansion interface circuit 201, the crystal oscillator circuit 202, the starting circuit 203 and the reset circuit 204; the MCU is used for receiving the focusing control signal and sending the focusing control signal to the liquid lens control chip 300; the MCU can also send a shooting instruction to the terminal equipment; the terminal equipment can control the camera to acquire microcirculation imaging information according to the shooting instruction;
the camera output end of the focusing control module 100 is unidirectionally connected with the input end of the power control module 102, that is, the input end of the power control module 102 unidirectionally receives data from the camera output end of the focusing control module 100, and the power control module 102 correspondingly controls the camera to work after receiving the data of the focusing control module 100. In one embodiment, the input of the power control module 102 receives a camera power on/off command from the camera output of the focus control module 100, and controls the camera to power on or power off according to the camera power on/off command. The focus control module 100 is bidirectionally coupled to the lens control module 101. The focus control module 100 may send a focus control signal to the lens control module 101 and receive information fed back by the lens control module 101. Meanwhile, the focusing control module 100 may send the shooting instruction to the terminal device to instruct the terminal device to acquire the microcirculation imaging information according to the shooting instruction. Meanwhile, the terminal equipment can display the microcirculation imaging information collected by the camera on the equipment according to the connection with the camera.
The focusing control module 100 may be an STM32 series single chip microcomputer or a 51 series single chip microcomputer. As a preferred embodiment, the focus control module 100 uses the STM32F103C8T6 chip.
When the focus control module 100 debugs and downloads a program, the debugging or downloading task of the program is completed through the debugging and downloading circuit 200; the crystal oscillator circuit 202 provides a clock source to the focusing control module 100; the reset circuit 204 is active at power up; the starting circuit 203 selects a program starting mode according to the program starting mode, and runs a program after starting to realize corresponding functions.
In one embodiment, fig. 2 is a circuit diagram of a focus control module, and as shown in fig. 2, the debug download circuit 200 is a 4-wire debug download circuit 200 formed by the I/O1 port, the I/O2 port, the 3.3V, GND and the terminal P1 of the focus control module 100. The focus control module 100 can be debugged and downloaded with a 4-wire debug download circuit 200.
As shown in fig. 2, the expansion interface circuit 201 is composed of an I/O3 port, an I/O4 port, an I/O5 port, and a terminal P2 of the focus control module 100, and each of the IO ports can be used for PWM output, AD acquisition, and some normal IO port operations, so as to reserve for adding other functions to the circuit device.
As shown in fig. 2, two ends of the I/O6 port and the I/O7 port of the crystal oscillator pin of the focus control module 100 are connected in parallel to the crystal oscillator Y1, and then the first oscillation capacitor C1 and the second oscillation capacitor C2 are connected to two ends of the crystal oscillator respectively, and the other ends of C1 and C2 are connected to the ground, so as to form a crystal oscillator circuit 202, and provide a fixed clock source for the focus control module 100.
As shown in fig. 2, the starting circuit 203 is composed of a starting resistor R1 and a starting resistor R2, the resistors R1 and R2 are respectively connected to pins I/O8 and I/O9 of the single chip, and the other pin is grounded. The focusing control module 100 can be activated in three ways, i.e., through pins I/O8 and I/O9. Mode 1: when I/O8 is equal to 0 or 1, and I/O9 is equal to 0, the focus control module 100 is activated from the user flash memory, which is also the activation method we choose. Mode 2: when I/O8 is equal to 0 and I/O9 is equal to 1, the focus control module 100 is activated from the system memory for serial download. Mode 3: when I/O8 is equal to 1 and I/O9 is equal to 1, the focus control module 100 is activated from the SRAM to debug the code in the SRAM.
As shown in fig. 2, the reset circuit 204 is composed of a reset resistor R3 and a charging capacitor C3, the reset resistor R3 is connected to the 3.3v power supply, the other pin and the charging capacitor C3 are connected to the I/O10 port of the focus control module 100, and the other pin of the charging capacitor C3 is grounded. At the moment of powering on the focus control module 100, since the voltage of the charging capacitor C3 cannot change abruptly, the potentials on the two sides of the charging capacitor C3 are the same, at this time, RST is low level, and then the power supply charges the charging capacitor C3 through the reset resistor R3 as time goes by, and full charging is realized by that RST is high level. Normally, the operation is high level, and the low level is reset.
The MCU is an STM32F103C8T6 chip as an example. The I/O1 port is a SWCLK pin, the I/O2 port is a SWIO pin, the I/O3 port is a PA2 pin, the I/O4 port is a PA3 pin, the I/O5 port is a PA4 pin, the I/O6 port is an OSC _ P pin, the I/O7 port is an OSC _ N pin, the I/O8 port is a BOOT1 pin, the I/O9 port is a BOOT0 pin, and the I/O10 port is an NRST pin.
The full-bridge circuit 301 is connected with the MCU through a first amplifying circuit 302 and a second amplifying circuit 303 respectively, and the full-bridge circuit 301 is also connected with the liquid lens control chip 300 and the wiring terminal circuit 306 respectively; the wiring terminal circuit 306 is also connected with the MCU and is used for connecting the liquid lens; the liquid lens control chip 300 is respectively connected with a reference source circuit 304 and an output current source circuit 305;
the lens control module 101 is configured to adjust a control electrical signal of the liquid lens according to the focusing control signal.
The focus control module 100 is connected to the lens control module 101 in a bidirectional manner, the focus control module 100 sends a focus control signal to the lens control module 101, and the lens control module 101 adjusts the control electrical signal to control the liquid lens to realize focusing. In one embodiment, the focus control module 100 sends a read command, and the lens control module 101 returns corresponding information. Wherein the control electrical signal comprises an output current of the liquid lens.
Fig. 3 is a circuit diagram of the lens control module, and as shown in fig. 3, the first amplifying circuit 302 is composed of a first resistor R4, a second resistor R5 and a first transistor Q1, and converts a 3.3V signal of the focus control module 100 into a 5V signal a1, thereby controlling the full bridge circuit 301. When the signal of the focus control module 100 is at a high level (3.3V), the first transistor Q1 is turned on, and the a1 outputs a low level (0V); when the signal of the focus control module 100 is at a low level (0V), the first transistor Q1 is turned off, and the a1 outputs a high level (5V). Taking the example that the MCU is an STM32F103C8T6 chip, the GATA _ A1 port of the STM32F103C8T6 chip outputs signals.
As shown in fig. 3, the second amplification circuit 303 is composed of a third resistor R6, a fourth resistor R7, and a second transistor Q2, and converts a 3.3V signal of the focus control module 100 into a 5V signal a2, thereby controlling the full bridge circuit 301. When the signal of the focus control module 100 is at a high level (3.3V), the second transistor Q2 is turned on, and the a2 outputs a low level (0V); when the signal of the focus control module 100 is at a low level (0V), the second transistor Q2 is turned off, and the a2 outputs a high level (5V). Taking the example that the MCU is an STM32F103C8T6 chip, the GATA _ A2 port of the STM32F103C8T6 chip outputs signals.
As shown in fig. 3, the full bridge circuit 301 is composed of a fifth resistor R8, a first voltage regulator D1, a first MOS transistor Q3, a second MOS transistor Q4, a third MOS transistor Q5, and a fourth third MOS transistor Q6. FB is the input power of the full bridge circuit 301, and controls the polarity switching of the output terminal OUT _ a1 and the output terminal OUT _ a2 through a1 and a 2. The first voltage regulator tube D1 is used to prevent the voltage on the FB circuit from exceeding 5.6V, and serves as a protection component. The fifth resistor R8 is a 0 omega resistor and is used for debugging circuit welding. Taking the lens control module 101 with an ADN8810 chip as an example, the FB circuit is the FB pin of the ADN8810 chip.
As shown in fig. 3, the reference source circuit 304 is composed of a power chip U3, a filter resistor R9, and a first filter capacitor C4, and converts 5V to 4.096V to be supplied to the liquid lens control chip. The filter resistor R9 and the filter capacitor C4 form an RC filter circuit. Taking the lens control module 101 using an ADN8810 chip as an example, the REF pin of the ADN8810 chip is connected to the reference source circuit 304.
As shown in fig. 3, the output current source circuit 305 is composed of a first output resistor R10, a second output resistor R11, and a first filter capacitor C5. Welding the first output resistor R10 when the 5V current source output is selected; when the 3.3V current source output is selected, the second output welding resistance R11; the first output resistor R10 and the second output resistor R11 cannot be welded at the same time or not welded at the same time. The first filter capacitor C5 functions as a filter. Taking the lens control module 101 using an ADN8810 chip as an example, the PVDD pin of the ADN8810 chip is connected to the output current source circuit 305.
As shown in fig. 3, the connection terminal circuit 306 is composed of a first input resistor R12, a second input resistor R13, and an FPC terminal having a 6pin pitch of 1.0 mm. The output end OUT _ A1 and the output end OUT _ A2 control the focal length change of the liquid lens, and the PC13 and the PC14 form an IIC communication pin which can read internal parameters of the liquid lens. Taking the example that the MCU is an STM32F103C8T6 chip, the pins PC13 and PC14 of the STM32F103C8T6 chip are connected with the connecting terminal circuit 306.
The power supply module 103 is respectively connected with the MCU, the liquid lens control chip 300 and the power supply control module 102; the power control module 102 is used to connect a camera.
The power module 103 is configured to supply power to the MCU, the liquid lens control chip 300, and the power control module 102 according to its own stored energy, or supply power to the MCU, the liquid lens control chip 300, and the power control module 102 according to external power.
Meanwhile, the MCU may control the power control module 102 to supply power to or cut off power from the camera through the connection with the power control module 102. The power control module 102 may provide power for the camera according to the power of the power module 103.
Fig. 4 is a circuit diagram of a power module, and as shown in fig. 4, the power module 103 is composed of a PTC self-recovery fuse FU1, a first power filter capacitor C6, a second power filter capacitor C7, a third power filter capacitor C8, a fourth power filter capacitor C9, and a voltage conversion chip. The power supply inputs 5V and gives PTC self-resuming formula fuse FU1, outputs VCC power (magnitude of voltage 5V), and VCC power converts 3.3V through voltage conversion chip U4 and does the power supply and steady voltage, and self-resuming formula fuse FU1 realizes the protection to the circuit, prevents overheated and overcurrent. The power supply is filtered by the first power supply filter capacitor C6, the second power supply filter capacitor C7, the third power supply filter capacitor C8 and the fourth power supply filter capacitor C9.
In one embodiment, fig. 5 is a circuit diagram of an interface module, and as shown in fig. 5, the focusing circuit further includes an interface module;
the focus control module 100 is used to connect the terminal device through the interface module.
The focusing control module 100 receives a control signal of the terminal device through the interface module, that is, the focusing control module 100 realizes data interaction with the terminal device through the interface module.
In one embodiment, the interface module is a USB2.0 module.
In one embodiment, as shown in FIG. 5, the interface module is connected to the power module 103; the power module 103 is configured to obtain power supplied by an external power source according to the interface module.
As shown in fig. 5, taking an STM32F103C8T6 chip as an example of the focus control module 100, the interface module is composed of a D _ N, D _ P port, VCC, GND, a first control resistor R25, a second control resistor R26, a pull-up resistor R27, and a P1 terminal. Pull-up resistor R27 is used to facilitate computer device identification. The communication between the terminal device and the focusing control module 100 is realized through the interface module.
In one embodiment, the system further comprises a video focusing key and a power key;
the MCU is respectively connected with a video focusing key and a power supply key;
the video focusing key is used for sending a focusing control signal or a video control signal to the MCU;
the MCU acquires a source of the focusing control signal, and except for the terminal equipment, a user can trigger the video focusing key to send the focusing control signal to the MCU. And the MCU sends the focusing control signal to the liquid lens control chip so that the liquid lens control chip controls the liquid lens to focus according to the focusing control signal. The user can also trigger the video focusing key to send a video control signal to the MCU, so that the MCU controls the camera to start or stop video recording.
Fig. 6 is a circuit diagram of a video focus button, and as shown in fig. 6, for example, the MCU is an STM32F103C8T6 chip, and the video focus button is composed of VCC, GND, PB0, PB1, PA7, and a terminal J3. PB0 and PB1 can be used as common input interfaces to receive high and low levels to realize logic focusing; PB0 and PB1 can also be used for AD acquisition, and the variation of external devices such as a thin film piezoresistor and a potentiometer is judged, so that focusing is realized. The PA7 is similar to PB0 and PB1 interfaces, can be used as a common IO port and can also be used for AD acquisition and used as an IO port of a video focusing key.
The power supply key is used for sending a power supply control signal to the MCU;
after the user triggers the power button, the power button sends a power control signal to the MCU, and the MCU sends the power control signal to the power control module 102, so that the power control module 102 powers the camera or disconnects the camera from the power control signal.
Fig. 7 is a circuit diagram of a power key, as shown in fig. 7, the power key is composed of a power resistor R28, a power capacitor C10 and a key S1, the power capacitor C10 has the functions of filtering and eliminating shake, and the on-off operation of the camera, the liquid lens and the strobe can be realized by pressing the power key S1 for a long time. For example, the MCU selects an STM32F103C8T6 chip, and a PB3 pin of the STM32F103C8T6 chip is connected with the power supply key module.
In one embodiment, fig. 8 is a circuit diagram of a power control module, and as shown in fig. 8, the power control module 102 is composed of a first-stage amplifying circuit composed of a first amplifying resistor R21, a second amplifying resistor R22 and a third transistor Q9, a second-stage amplifying circuit composed of a second amplifying resistor R23, an amplifying inductor L1 and a fifth MOS transistor Q10, and a power indication circuit composed of an indication resistor R24 and an LED lamp D2. The first-stage amplification circuit realizes the function of converting 3.3V control signals into 5V signals, and the second-stage amplification circuit realizes the control function of a camera power supply.
In the automatic focusing circuit, the focusing control module 100 receives a focusing control signal sent by the terminal device and sends the focusing control signal to the lens control module 101, and the lens control module 101 adjusts a control electrical signal of the liquid lens according to the focusing control signal. The liquid lens is controlled to change the curvature by adjusting the control electric signal, so that the focal length is changed to realize focusing, and the focusing adjustment of the camera is indirectly realized; meanwhile, after focusing is completed, the focusing control module 100 may send a shooting instruction to the terminal device to instruct the terminal device to control the camera to complete the collection of focused microcirculation imaging information. Therefore, focusing which is convenient to operate and high in focusing speed and accuracy is achieved.
Example two
Fig. 9 is a block diagram of an auto-focusing circuit according to a second embodiment, and as shown in fig. 9, the auto-focusing circuit according to the second embodiment further includes a first strobe control module 400; the first strobe control module 400 is used to connect a strobe light;
the first strobe control module 400 is connected to the focusing control module 100 and the power supply module 103, respectively.
Wherein, first stroboscopic control module 400 is connected to focus control module 100, connects MCU promptly, when the camera carried out microcirculation formation of image information acquisition, and the stroboscopic lamp stroboscopic is controlled to focus control module 100 accessible first stroboscopic control module 400, accomplishes the camera and shoots the synchronous stroboscopic with the stroboscopic lamp. The first strobe control module 400 is connected to the power module 103, and obtains power from the power module 103.
Wherein, as shown in fig. 9, first stroboscopic control module 400 comprises first stroboscopic resistance R14, second stroboscopic resistance R15, third stroboscopic resistance R16, fourth stroboscopic resistance R17 and fourth transistor Q7 and binding post J1, wherein, control module 100 of focusing is connected to first stroboscopic resistance R14 one end, first stroboscopic control module 400 can amplify the control signal output signal who focuses control module 100, when exporting the PWM signal, just can realize the stroboscopic of stroboscopic lamp, reduce stroboscopic lamp power, reduce the calorific capacity of lamp.
The first strobe control module 400 is further connected to a power key; the user can trigger the power supply key to electrify the strobe light to work.
EXAMPLE III
Fig. 10 is a block diagram of an auto-focusing circuit according to a third embodiment, and as shown in fig. 10, the auto-focusing circuit according to the third embodiment further includes a second strobe control module 500; wherein, the second strobe control module 500 is connected to the power module 103 and is used for connecting the strobe light and the camera respectively.
Wherein, the camera output terminal of camera is connected to second stroboscopic control module 500, when the camera carries out microcirculation imaging information collection, camera accessible second stroboscopic control module 500 controls the stroboscopic lamp stroboscopic, accomplishes the synchronous stroboscopic of camera shooting and stroboscopic lamp. The second strobe control module 500 is connected to the power module 103, and obtains power from the power module 103.
Wherein, as shown in fig. 10, the second stroboscopic control module 500 is composed of a fifth stroboscopic resistor R18, a sixth stroboscopic resistor R19, a seventh stroboscopic resistor R20, a fifth transistor Q8, a wiring terminal P1 and a J2, wherein, a camera output terminal is connected to one end of R18, and the second stroboscopic control module 500 can realize stroboscopic of stroboscopic lamps when the camera outputs PWM signals, so as to reduce power of the stroboscopic lamps and heat productivity of the lamps.
Example four
Fig. 11 is a flowchart of an auto-focusing method according to a fourth embodiment, wherein the auto-focusing method according to the fourth embodiment is applied to an auto-focusing circuit according to any one of the above embodiments, and includes steps S100 to S102:
s100, generating a power supply control signal and supplying power to the camera according to the power supply control signal;
wherein, the power control signal can be generated by receiving the trigger of the terminal equipment or the user. In one embodiment, the power control signal is generated after the user presses the power button, and the power supply circuit between the power module and the camera is conducted according to the power control signal to supply power to the camera.
S101, receiving a focusing control signal sent by terminal equipment, and adjusting a control electric signal of a liquid lens according to the focusing control signal; the terminal equipment generates a focusing control signal according to microcirculation imaging information acquired by a camera;
the control electric signal of the liquid lens is adjusted to controllably change the curvature of the liquid lens, so that the focal length is changed, and the focusing adjustment of the camera is indirectly realized. Meanwhile, when the focal length of the camera is adjusted, the terminal equipment can acquire microcirculation imaging information acquired by the camera in real time, generates a focusing control signal according to a microcirculation imaging information processing technology and sends the focusing control signal to the automatic focusing circuit so as to further adjust the focal length of the camera.
And S102, generating a shooting instruction and sending the shooting instruction to the terminal equipment so as to instruct the terminal equipment to control a camera to acquire microcirculation imaging information according to the shooting instruction.
The method comprises the steps that a shooting instruction can be generated according to external triggering or program setting, wherein the external triggering comprises the step that a user triggers a video focusing key, the program triggering comprises the step that the shooting instruction is automatically generated after the liquid lens is focused, the shooting instruction is sent to terminal equipment, and the terminal equipment can control a camera to carry out microcirculation imaging information acquisition according to the shooting instruction.
The camera can be used for shooting a microcirculation picture or continuously shooting a video, and correspondingly, the shooting instruction comprises a shooting instruction and a video recording instruction.
In one embodiment, fig. 12 is a flowchart of an auto-focusing method according to an implementation manner in the fourth embodiment, as shown in fig. 12, in step S102, a shooting instruction is generated and sent to a terminal device to instruct the terminal device to control a camera shooting process according to the shooting instruction, where the shooting instruction is a shooting instruction, and the process specifically includes step S200:
and S200, generating a photographing instruction and sending the photographing instruction to the terminal equipment so as to instruct the terminal equipment to control a camera to photograph the microcirculation picture according to the photographing instruction.
And when the terminal equipment receives the photographing instruction, the camera is controlled to photograph the microcirculation picture, namely, only one or more instant photographing actions are carried out.
In one embodiment, fig. 13 is a flowchart of an auto-focusing method according to another fourth embodiment of the fourth embodiment, as shown in fig. 13, a shooting instruction is generated in step S102 and sent to a terminal device to instruct the terminal device to control a camera shooting process according to the shooting instruction, where the shooting instruction is a video recording instruction, and the process specifically includes step S300:
s300, generating a video recording instruction and sending the video recording instruction to the terminal equipment so as to instruct the terminal equipment to control the camera to record video according to the video recording instruction;
correspondingly, when the terminal equipment receives the video recording instruction, the camera is controlled to record video, namely, continuous shooting and video recording actions are carried out, and microcirculation imaging information is acquired.
In one embodiment, the auto-focusing method of the fourth embodiment further comprises the steps of:
detecting whether a camera acquires microcirculation imaging information or not, and controlling stroboscopic light to strobe when the camera acquires the microcirculation imaging information;
when terminal equipment control camera carried out microcirculation information acquisition, it was carrying out microcirculation imaging information acquisition to detect the camera, at this moment, control the stroboscopic lamp stroboscopic, was sending the shooting instruction to terminal equipment promptly to when instructing terminal equipment control camera to gather microcirculation imaging information, control the stroboscopic lamp stroboscopic. Based on this, realize the synchronous stroboscopic of stroboscopic lamp and camera shooting.
EXAMPLE five
Fig. 14 is a schematic structural diagram of a fifth embodiment of a micro-circulation imaging device, and as shown in fig. 14, the fifth embodiment of the micro-circulation imaging device includes an auto-focusing circuit of any one of the embodiments, and further includes a liquid lens 600, a camera 601, a lens barrel 602, a strobe 603, and a terminal device;
the liquid lens 600 is arranged in parallel in the shooting direction of the lens of the camera 601 and is on the same axis as the lens of the camera 601; the lens barrel 602 is disposed in front of the liquid lens 600; a strobe light 603 is in front of the lens barrel 602; the liquid lens 600, the lens barrel 601 and the stroboscopic lamp 603 are on the same axis; the liquid lens 600 is connected with the lens control module 101, and the lens control module 101 controls the liquid lens 600 to focus; the camera 601 is respectively connected with the power control module 102 and the terminal device, and the camera 601 is used for acquiring microcirculation imaging; the terminal device is connected to the focus control module 100, and is configured to send a focus control signal to the focus control module 100, or receive a shooting instruction sent by the focus control module 100, and acquire micro-loop imaging information acquired by the camera 601.
The lens barrel 602 is disposed in front of the liquid lens 600, which means that the lens barrel 602 is disposed in the shooting direction of the liquid lens 600, and the strobe 603 is disposed in front of the lens barrel 602.
In one embodiment, the terminal device is a computer. The computer sends the focusing control signal to the auto-focusing circuit through the interaction with the auto-focusing circuit, and controls the liquid lens 600 through the auto-focusing circuit to realize focusing. Meanwhile, the terminal device may control the camera 601 to complete photographing.
In one embodiment, the strobe light is an LED.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features. It will be understood by those skilled in the art that all or part of the steps of the method for implementing the above embodiments may be implemented by a program which is stored in a computer readable storage medium and can be executed by a computer, the program comprising the steps of the above method, such as: ROM/RAM, magnetic disk, optical disk, etc.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An automatic focusing circuit is characterized by comprising a focusing control module, a lens control module, a power supply control module and a power supply module;
the focusing control module comprises an MCU, a debugging and downloading circuit, an expansion interface circuit, a crystal oscillator oscillating circuit, a starting circuit and a reset circuit;
the lens control module comprises a liquid lens control chip, a full-bridge circuit, a first amplifying circuit, a second amplifying circuit, a reference source circuit, an output current source circuit and a wiring terminal circuit; the lens control module is used for adjusting a control electric signal of the liquid lens according to the focusing control signal;
the MCU is respectively connected with the liquid lens control chip, the power supply control module, the debugging and downloading circuit, the expansion interface circuit, the crystal oscillator circuit, the starting circuit and the reset circuit; the MCU is used for receiving the focusing control signal and sending the focusing control signal to the liquid lens control chip; the MCU can also be used for sending a shooting instruction to the terminal equipment; the terminal equipment can control a camera to acquire microcirculation imaging information according to the shooting instruction;
the full-bridge circuit is connected with the MCU through the first amplifying circuit and the second amplifying circuit respectively, and is also connected with the liquid lens control chip and the wiring terminal circuit respectively; the wiring terminal circuit is also connected with the MCU and is used for connecting the liquid lens; the liquid lens control chip is respectively connected with the reference source circuit and the output current source circuit;
the power supply module is respectively connected with the MCU, the liquid lens control chip and the power supply control module; the power supply control module is used for connecting the camera.
2. The focusing circuit of claim 1, further comprising a first strobe control module; the first stroboscopic control module is used for connecting a stroboscopic lamp;
the first stroboscopic control module is respectively connected with the focusing control module and the power supply module.
3. The focusing circuit of claim 1, further comprising a second strobe control module;
the second stroboscopic control module is connected with the power supply module and is used for being connected with the stroboscopic lamp and the camera respectively.
4. The auto-focus circuit according to any one of claims 1 to 3, further comprising a video focus button and a power button;
the MCU is respectively connected with the video focusing key and the power supply key;
the video focusing key is used for sending a focusing control signal or a video control signal to the MCU;
the power supply key is used for sending a power supply control signal to the MCU.
5. An auto-focusing method applied to the auto-focusing circuit according to any one of claims 1 to 4, comprising the steps of:
generating a power supply control signal and supplying power to the camera according to the power supply control signal;
receiving a focusing control signal sent by terminal equipment, and adjusting a control electric signal of a liquid lens according to the focusing control signal; the terminal equipment generates the focusing control signal according to microcirculation imaging information acquired by the camera;
and generating a shooting instruction and sending the shooting instruction to terminal equipment so as to instruct the terminal equipment to control the camera to acquire microcirculation imaging information according to the shooting instruction.
6. The auto-focusing method according to claim 5, wherein the photographing instruction comprises a photographing instruction;
the method for generating the shooting instruction and sending the shooting instruction to the terminal equipment so as to instruct the terminal equipment to control the camera to acquire the microcirculation imaging information according to the shooting instruction comprises the following steps:
and generating a photographing instruction and sending the photographing instruction to terminal equipment so as to instruct the terminal equipment to control the camera to photograph the microcirculation picture according to the photographing instruction.
7. The auto-focusing method according to claim 5, wherein the photographing instruction comprises a video recording instruction;
the method for generating the shooting instruction and sending the shooting instruction to the terminal equipment so as to instruct the terminal equipment to control the camera to acquire the microcirculation imaging information according to the shooting instruction comprises the following steps:
and generating a video recording instruction and sending the video recording instruction to terminal equipment so as to instruct the terminal equipment to control the camera to record video according to the video recording instruction.
8. The auto-focusing method according to claim 5, further comprising the steps of:
whether the camera collects the microcirculation imaging information or not is detected, and when the camera collects the microcirculation imaging information, the stroboscopic lamp is controlled to strobe.
9. The auto-focusing method according to claim 5, further comprising the steps of:
acquiring a power-off control signal;
stopping power supply to the camera according to the power-off control signal.
10. A microcirculation imaging device, comprising the automatic focusing circuit of any claim 1 to 4, further comprising a liquid lens, a camera, a lens barrel, a strobe light and a terminal device;
the liquid lens is arranged in parallel in the shooting direction of the lens of the camera and is positioned on the same axis with the lens of the camera; the lens barrel is arranged in front of the liquid lens; the stroboscopic lamp is arranged in front of the lens barrel; the liquid lens, the lens barrel and the stroboscopic lamp are positioned on the same axis; the liquid lens is connected with the lens control module, and the lens control module controls the liquid lens to focus; the camera is respectively connected with the power supply control module and the terminal equipment and is used for acquiring microcirculation imaging information; the terminal equipment is connected with the focusing control module and used for sending a focusing control signal to the focusing control module or receiving a shooting instruction sent by the focusing control module and acquiring microcirculation imaging information acquired by the camera.
CN201811590491.4A 2018-12-20 2018-12-20 Automatic focusing circuit and method and microcirculation imaging device Active CN109361876B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811590491.4A CN109361876B (en) 2018-12-20 2018-12-20 Automatic focusing circuit and method and microcirculation imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811590491.4A CN109361876B (en) 2018-12-20 2018-12-20 Automatic focusing circuit and method and microcirculation imaging device

Publications (2)

Publication Number Publication Date
CN109361876A CN109361876A (en) 2019-02-19
CN109361876B true CN109361876B (en) 2021-01-08

Family

ID=65329369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811590491.4A Active CN109361876B (en) 2018-12-20 2018-12-20 Automatic focusing circuit and method and microcirculation imaging device

Country Status (1)

Country Link
CN (1) CN109361876B (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203658667U (en) * 2014-01-21 2014-06-18 武汉虹识技术有限公司 Liquid lens focusing system based on phase-locked loop
CN105527778A (en) * 2016-01-16 2016-04-27 上海大学 Automatic focusing method for electric adjustable liquid lens
CN107241545A (en) * 2016-03-29 2017-10-10 齐发光电股份有限公司 Focusing method and focusing mechanism
JP2018031877A (en) * 2016-08-24 2018-03-01 オリンパス株式会社 Image pickup device and focus adjusting method
CN108152869B (en) * 2016-10-14 2020-04-21 北京信息科技大学 Small step focusing method suitable for bionic vision rapid focusing
CN207575140U (en) * 2017-02-28 2018-07-06 广州医软智能科技有限公司 A kind of microcirculation imaging device
KR101972302B1 (en) * 2017-05-08 2019-04-25 주식회사 엠씨넥스 Auto-focusing camera module
CN107870406A (en) * 2017-11-06 2018-04-03 北京大恒图像视觉有限公司 A kind of fast automatic focusing algorithm based on liquid lens
CN109031484B (en) * 2018-09-25 2020-09-29 中国计量大学 Liquid lens of automatically controlled focusing

Also Published As

Publication number Publication date
CN109361876A (en) 2019-02-19

Similar Documents

Publication Publication Date Title
JP5943752B2 (en) Imaging device, interchangeable lens, and camera system
CN102263902A (en) Electronic equipment, accessory and camera system
CN104849944A (en) Light emitting device, method of controlling the same, image pickup apparatus
US9794487B2 (en) Imaging device, camera body, and method for controlling imaging device
CN109361876B (en) Automatic focusing circuit and method and microcirculation imaging device
US7499640B2 (en) Image-recording apparatus
CN209343017U (en) Focusing circuit and microcirculation imaging device
JPH086119A (en) Flash photographing system for camera
JP4724509B2 (en) External power supply
US20080152336A1 (en) Imaging apparatus and method of controlling imaging
JP4462993B2 (en) Camera control device, electronic still camera
JPH0453368A (en) Data storage device for video camera
JP5127506B2 (en) Electronic device and charging control method in electronic device
US20040070683A1 (en) System and method for intelligent strobe charging
JP3294394B2 (en) Camera battery checker
JP2008054044A (en) Electronic device
JPH11275412A (en) Electronic image pickup device
JPH049936A (en) Photographing device
JP3957853B2 (en) camera
JP2523845Y2 (en) Camera strobe charger
JPH06194562A (en) Camera system, camera having freely attachable/ detachable optical system converting adapter and optical system converting adapter
JP2003046855A (en) Digital camera and its operation control method
KR20110090609A (en) Photographing apparatus and method for controlling the photographing apparatus
JPH0980567A (en) Photographing device provided with blurring correcting mechanism
JP2000314910A (en) Composite image pickup unit and method for controlling thereof and storing medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant