WO2023065222A1 - Microscope synchronization control system and method - Google Patents

Microscope synchronization control system and method Download PDF

Info

Publication number
WO2023065222A1
WO2023065222A1 PCT/CN2021/125331 CN2021125331W WO2023065222A1 WO 2023065222 A1 WO2023065222 A1 WO 2023065222A1 CN 2021125331 W CN2021125331 W CN 2021125331W WO 2023065222 A1 WO2023065222 A1 WO 2023065222A1
Authority
WO
WIPO (PCT)
Prior art keywords
microscope
control device
camera
synchronization control
signal
Prior art date
Application number
PCT/CN2021/125331
Other languages
French (fr)
Chinese (zh)
Inventor
陆思远
夏爱国
金帆
郦野
Original Assignee
深圳先进技术研究院
中国科学院深圳理工大学(筹)
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 深圳先进技术研究院, 中国科学院深圳理工大学(筹) filed Critical 深圳先进技术研究院
Priority to PCT/CN2021/125331 priority Critical patent/WO2023065222A1/en
Publication of WO2023065222A1 publication Critical patent/WO2023065222A1/en

Links

Images

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B21/00Microscopes
    • G02B21/32Micromanipulators structurally combined with microscopes

Definitions

  • the application belongs to the technical field of microscope imaging control, and in particular relates to a microscope synchronous control system and method.
  • the core of the microscope imaging control system is multi-dimensional image acquisition (dimensions include time t, XY position, Z-axis slice, and multiple fluorescence channels).
  • the traditional method is to send Commands to change the parameters of each device in turn or issue action instructions, inevitably need to communicate with each device through software, this communication often takes a few milliseconds, resulting in additional delays (several seconds) when shooting each frame of image ten milliseconds).
  • the time sequence required for camera shooting is usually issued by the software in the computer, and the clock sequence controlled by the software controls the time point of image acquisition.
  • this time sequence may have a few milliseconds fluctuations of tens of milliseconds.
  • TTL needs to be used as an external trigger signal to control the shooting of the microscope.
  • Improving the data collection efficiency of microscope images is of great significance to scientific research. It can 1) increase the capacity of data sets required for scientific research and improve the statistical reliability of results; 2) shorten the time required to collect the same data, Improve the timeliness of measurement. Reducing unnecessary delay time is the basic method to improve acquisition efficiency. It requires the microscope system to achieve high-speed and high-precision control of cameras, electric translation stages, and light sources in time and space. Turn on the light source corresponding to the wavelength, and start the next stage movement immediately after the camera exposure is completed, so as to realize the low delay of the camera collecting images in time (t) and space (x, y, z) in this cycle.
  • the embodiment of the present application provides a microscope synchronous control system and method.
  • the system has multiple digital signal outputs to realize accurate shooting of complex processes in the system.
  • a microscope synchronization control system including: a host computer, a microscope high-speed synchronization control device, a camera, a laser, an LED light source, and a spatial light modulator;
  • the host computer is connected to the microscope high-speed synchronization control device through the serial port, and is used to send specific setting sequences and data sequences to set the microscope high-speed synchronization control device or send trigger sequences to control the microscope high-speed synchronization control device to generate digital signals;
  • the microscope high-speed synchronous control device controls the synchronous operation of the camera, laser, LED light source and spatial light modulator according to the digital signal.
  • the digital signal includes the camera exposure trigger signal, the LED light source trigger signal, the laser trigger signal and the spatial light modulator trigger signal;
  • the microscope high-speed synchronization control device sends the camera shooting trigger signal to the camera to control the camera to shoot; the microscope high-speed synchronization control device sends a digital signal to the LED power supply to control the LED power supply to turn on;
  • the microscope high-speed synchronization control device sends the laser trigger signal to the laser, and the microscope high-speed synchronization control device sends the modulator trigger signal to the spatial light modulator.
  • the spatial light modulator is triggered, and the spatial light modulator outputs a TTL signal to the microscope high-speed Synchronization control device
  • microscope high-speed synchronization control device sends the laser trigger signal and the spatial light modulator trigger signal to the laser and the spatial modulator after "ANDing" to synchronize the input signals of the spatial light modulator and the laser to realize the LED light source
  • the timing of the camera is precisely controlled to make the camera shoot.
  • the technical solution adopted in the embodiment of the present application also includes: the system also includes a motorized displacement platform, and the digital signal also includes a trigger signal of the motorized displacement platform.
  • the received trigger signal of the electric stage moves in the X-Y two-dimensional plane;
  • the high-speed synchronous control device of the microscope will send a trigger signal to the motorized displacement platform to move the motorized displacement platform to the next preset position;
  • an external trigger signal will be sent to the high-speed synchronization control device of the microscope to start the next shooting cycle.
  • the technical solution adopted in the embodiment of the present application also includes: the system also includes a piezoelectric ceramic Z stage, and the digital signal also includes an analog signal of the Z stage, and the high-speed synchronization control device of the microscope sends the Z stage analog signal to the piezoelectric ceramic Z stage, and the piezoelectric ceramic Z stage The station moves up and down according to the received analog signal of station Z;
  • the piezoelectric ceramic Z stage will move up and down.
  • the microscope high-speed synchronous control device includes an integrated circuit board and an external power adapter, the integrated circuit board is provided with a main control chip, the main control chip is connected to two digital-analog chips, Each chip is connected with an op-amp filter, and the power adapter supplies power to the system; the power adapter provides the voltage converted by the transformer chip for the main control chip, and the power adapter provides the digital-analog chip voltage for the two digital-analog chips, and the power supply for the two op-amps.
  • the filter provides a filtered voltage;
  • the two operational amplifier filters output analog signals respectively, and the main control chip provides sixteen digital signal outputs.
  • the integrated circuit board is also provided with a host computer communication transcoding circuit, an electronic erasable programmable read-only storage circuit, a power supply isolation and voltage stabilization circuit, a digital-to-analog signal conversion circuit, filter and amplifier circuit;
  • the upper computer communication transcoding circuit is used to realize the two-way communication between the upper computer and the microscope high-speed synchronous control device;
  • the electronic erasable programmable read-only storage circuit has the function of supporting multiple rewriting and power-off storage at the same time, and can realize the pre-stored data sequence to the storage module of the control box, and provide the function of power-off storage;
  • Power supply isolation and voltage stabilization circuit used to isolate input voltage and analog voltage, and filter the voltage
  • a digital-to-analog signal conversion circuit is used to generate an analog signal with 14-bit resolution to achieve high synchronization during the microscope shooting process;
  • the filtering and amplifying circuit is used for amplifying the voltage and performing filtering processing on the amplified voltage.
  • the microscope high-speed synchronization control device receives the data sequence, and the microscope high-speed synchronization control device checks whether the data sequence meets the specification;
  • the microscope high-speed synchronization control device receives the trigger signal, the trigger carries at least a data sequence, and the microscope high-speed synchronization control device checks the data sequence;
  • the technical solution adopted in the embodiment of the present application also includes: before the microscope high-speed synchronization control device receives the trigger signal, it also includes:
  • the technical solution adopted in the embodiment of the present application also includes: after realizing the precise timing control of the LED light source and the camera based on the digital signal, after the camera takes pictures, it also includes:
  • the microscope high-speed synchronous control device judges whether the shooting is completed
  • the technical solution adopted in the embodiment of the present application also includes: after the shooting of the X-Y two-dimensional plane is completed, it also includes:
  • the high-speed synchronous control device of the microscope receives and controls the camera to move up or down to realize shooting at another viewing distance until the shooting is completed.
  • the technical solution adopted in the embodiment of the present application also includes: before the microscope high-speed synchronization control device judges whether the shooting is completed, it also includes:
  • the beneficial effect produced by the embodiment of the present application lies in: the microscope synchronization control system and method in the embodiment of the present application, the system includes: a microscope high-speed synchronization control device, a camera, a laser, an LED light source and a spatial light modulator;
  • the host computer is connected to the microscope high-speed synchronization control device through the serial port, and is used to send specific setting sequences and data sequences to set the microscope high-speed synchronization control device or send trigger sequences to control the microscope high-speed synchronization control device to generate digital signals.
  • the high-speed synchronous control device of the microscope controls the synchronous operation of the camera, laser, LED light source and spatial light modulator according to the digital signal to realize precise shooting of the camera in the complex microscope system.
  • Fig. 1 is the schematic diagram of the microscope synchronous control system of the present application
  • Fig. 2 is the signal output diagram of the microscope synchronous control system of the present application
  • Fig. 3 is the digital level change in a fast X-Y scanning of the signal output of the microscope synchronous control system of the present application
  • Figure 5 is a schematic diagram of external interrupt microscope control of the high-speed synchronous control system of the microscope of the present application
  • Fig. 6 is the flow chart of the microscope synchronous control system method of the present application.
  • Fig. 7 is the input process during the use of the high-speed synchronous control system of the microscope of the present application.
  • Figure 8 is the output flow during the use of the high-speed synchronous control system of the microscope of the present application.
  • a liver segmentation method based on deep learning for abdominal body images is provided, as shown in FIG. light modulator 6;
  • the upper computer 1 is connected to the microscope high-speed synchronization control device through a serial port, and is used to send a specific setting sequence and data sequence to set the microscope high-speed synchronization control device 2 or send a trigger sequence to control the microscope high-speed synchronization control device 2 to generate digital signals;
  • the microscope high-speed synchronous control device 2 controls the synchronous operation of the camera 3, laser 4, LED light source 5 and spatial light modulator 6 according to the digital signal.
  • the digital signal includes the exposure trigger signal of the camera 3, the trigger signal of the LED light source 5, the trigger signal of the laser 4 and the space Optical modulator 6 trigger signal;
  • the microscope high-speed synchronization control device 2 sends the camera 3 shooting trigger signal to the camera 3, and controls the camera 3 to shoot; the microscope high-speed synchronization control device 2 sends a digital signal to the LED power supply, and controls the LED power supply to turn on;
  • the microscope high-speed synchronization control device 2 sends the trigger signal of the laser 4 to the laser 4, and the microscope high-speed synchronization control device 2 sends the modulator trigger signal to the spatial light modulator 6.
  • the spatial light modulator 6 is triggered, and the spatial light modulation
  • the high-speed synchronization control device 2 of the microscope sends a TTL signal to the microscope high-speed synchronization control device 2, and the microscope high-speed synchronization control device 2 sends the trigger signal of the laser 4 and the trigger signal of the spatial light modulator 6 to do "AND" to the laser 4 and the spatial modulator to synchronize the space
  • the input signals of the light modulator 6 and the laser 4 realize precise timing control of the LED light source 5 and the camera 3 so that the camera 3 can take pictures.
  • the microscope synchronization control system and method in the embodiment of the present application includes: a microscope high-speed synchronization control device 2, a camera 3, a laser 4, an LED light source 5 and a spatial light modulator 6; the upper computer 1 communicates with the microscope high-speed synchronization control device through a serial port The connection is used to send a specific setting sequence and data sequence to set the microscope high-speed synchronization control device 2 or send a trigger sequence to control the microscope high-speed synchronization control device 2 to generate digital signals.
  • the high-speed synchronous control device 2 of the microscope controls the synchronous operation of the camera 3, the laser 4, the LED light source 5 and the spatial light modulator 6 according to the digital signal to realize the precise shooting of the camera 3 in the complex microscope system.
  • a microscope high-speed synchronous control system including a microscope high-speed synchronous control device 2, a host computer 1, and microscope-related equipment.
  • the microscope-related equipment includes a camera 3, a piezoelectric ceramic Z stage 8, an electric XY translation stage (electric translation stage 7), laser 4, LED light source 5, spatial light modulator 6, etc.
  • the electric XY translation stage means that the electric translation stage 7 moves on the X-Y two-dimensional plane
  • the piezoelectric ceramic Z stage 8 means that it moves up and down in the Z-axis direction.
  • the microscope high-speed synchronous control device 2 includes an integrated circuit board and an external power adapter.
  • the integrated circuit board contains the following parts: main control chip, peripheral circuit, upper computer 1 communication transcoding circuit, electronic erasable programmable read-only storage circuit, power supply isolation and voltage stabilization circuit, digital-to-analog signal conversion circuit, operation Amplifier-related filtering and amplifying circuits.
  • the upper computer 1 is used for operator interaction, and sends specific setting sequences and data sequences through the serial port to set the microscope high-speed synchronization control device 2 or send a trigger sequence to control the microscope high-speed synchronization control device 2 to generate signals, which can be, but not limited to, notebook computers, A terminal that can communicate, such as a desktop computer or a single-chip microcomputer.
  • Microscope-related equipment includes a camera 3, a piezoelectric ceramic Z stage 8, a motorized translation stage 7, a laser 4, an LED light source 5, a spatial light modulator 6, and the like.
  • the exposure mode of the camera 3 is generally set by each manufacturer, and the external trigger is the basic mode, that is, the exposure of the camera 3 is triggered by the pulse level;
  • the piezoelectric ceramic Z stage 8 can be controlled by an analog voltage, and the range of the voltage is determined according to the stroke and precision and step length;
  • the electric stage 7 has two kinds of signals, one as the input signal of the stage, the pulse level in the signal will trigger the movement of the stage, and one as the output signal of the stage, when the stage is moving Send the pulse level from the signal after it is in place;
  • the switch of the laser 4 and the LED light source 5 is triggered by the pulse high level; at the same time, because the input signal of the spatial light modulator 6 has high requirements on timing, it is generally controlled by a high-precision
  • the TTL level is controlled as
  • the communication between the host computer 1 and the microscope high-speed synchronization control device 2 includes the input sequence sent by the host computer 1 to the microscope high-speed synchronization control device 2 and the palindrome sequence fed back by the microscope high-speed synchronization control device 2 .
  • the input sequence includes the setting sequence, which is used to set the working mode of the microscope high-speed synchronization control device 2, such as switching the external interrupt function and storage function, etc.; and the data sequence and signal trigger sequence of different modes, used to describe the microscope high-speed synchronization control device 2
  • the signal sequence to send includes the data or systematic error report of the microscope high-speed synchronization control device 2 and the palindrome of completing the current task.
  • the signal transmission between the microscope high-speed synchronization control device 2 and microscope-related equipment can be summarized as no less than sixteen channels of digital signal output and no less than two channels of analog output provided by the microscope high-speed synchronization control device 2 to other microscope-related equipment and not less than two interrupt inputs; digital signal 1 to digital signal 16 in FIG. 2 correspond to the output of the first digital signal to the sixteenth digital signal.
  • the digital signal output is used to control the camera 3, the motorized stage 7, the laser 4, the LED light source 5, the spatial light modulator 6 and other TTL triggering devices.
  • the analog output is used in this example to control the piezoelectric ceramic Z stage 8, with an effective range of 0-10V and a step size of 1mV.
  • the interrupt input is used for external TTL pulse signal triggering or affecting the signal transmission of the device, so as to realize precise synchronous control with microscope-related equipment.
  • the external interrupt can also support other complex signal input modes, such as the output signal of the 68-bit image of the spatial light modulator, and the specified digital signal is calculated and output, and the spatial light modulator 6 can display 8 bits Precise synchronization of image time and multi-channel light source signals.
  • the microscope high-speed synchronous control device 2 includes an integrated circuit board and an external power adapter.
  • the integrated circuit board is provided with a main control chip.
  • the main control chip is connected with two digital-analog chips, and each of the two digital-analog chips is connected with an operational amplifier filter.
  • the power adapter supplies power to the system; the power adapter provides the voltage converted by the transformer chip for the main control chip, the power adapter provides the digital-analog chip voltage for the two digital-analog chips, and the filter voltage for the two op-amp filters;
  • the filters output analog signals respectively, and the main control chip provides sixteen digital signal outputs.
  • the integrated circuit board in the microscope high-speed synchronous control device 2 mentioned in this application includes a main control chip, peripheral circuits, a communication transcoding circuit of the host computer 1, an electronic erasable programmable read-only memory circuit, a power supply isolation And voltage stabilizing circuit, digital-to-analog signal conversion circuit, filter and amplification circuit related to operational amplifier.
  • the upper computer 1 communication transcoding circuit is used to realize the two-way communication between the upper computer 1 and the microscope high-speed synchronous control device 2;
  • the electronic erasable programmable read-only storage circuit has the function of simultaneously supporting multiple copying and power-off storage, and can Realize the pre-stored data sequence in the storage module of the control box, and provide the function of power-off storage;
  • the power supply isolation and voltage stabilization circuit is used to isolate the input voltage and the analog voltage, and to filter the voltage;
  • the digital-to-analog signal conversion circuit is used for The analog signal with 14-bit resolution is generated to realize high synchronization during the microscope shooting process;
  • the filtering and amplifying circuit is used to amplify the voltage and filter the amplified voltage.
  • the main control chip and peripheral circuits are STM32H7 series chips whose main frequency can reach 480MHz.
  • the peripheral circuits include crystal oscillator circuit, programming circuit and manual reset circuit. Its high main frequency feature can satisfy high-precision timing control, realize high synchronization during the microscope shooting process, and maximize the performance supported by the equipment.
  • the communication method of host computer 1 is selected as the communication method of USB to serial port in this example.
  • the communication line is simple, and only two transmission lines need to be sent and received to realize two-way communication.
  • the transcoding circuit uses the commonly used serial port conversion chip CH340, which can meet the high baud rate serial port communication.
  • the electronic erasable programmable read-only storage circuit in this example uses the AT24 series chip, which has a storage space of 524,288 bits, and supports functions such as multiple rewriting and power-off storage. It can realize the pre-stored data sequence to the storage module of the control box, and provide the function of power-off storage.
  • TPH1515S-3W chip is used to isolate the input voltage and analog voltage
  • LM1117S, TPS5430 and TPS7A330 are used to obtain the digital 5V, digital 3.3V, analog 5V, and analog 12V required in the circuit And analog -12V voltage, and use the corresponding method to filter the voltage.
  • the digital-to-analog signal conversion circuit uses the DAC904 high-speed digital-to-analog conversion chip to generate 14-bit resolution analog signals. Its conversion rate up to 165MSPS can meet high-precision timing control and achieve high synchronization during the microscope shooting process. Play to the maximum performance supported by the device. And choose ADA4898 to convert the differential signal output by DAC904 into single-ended signal.
  • AD620 instrumentation amplifier chip is used as the amplification module for the filter and amplification circuit related to the operational amplifier
  • AD810 is used as the active low-pass filter module
  • LM358 is used as the range adjustment module of the analog output.
  • the analog output range of the microscope high-speed synchronous control device 2 is -11V to +11V, and the output range is adjusted to 0-10V in this example.
  • the input voltage is provided by a separate 15V regulated adapter, and the input voltage will be converted after passing through the DCDC transformer chip: power supply for the chip and USB serial port power supply voltage (digital 5V), analog signal digital-analog chip voltage after isolation and transfer (analog 5V) and filter voltage (analog 10V).
  • the main control chip communicates with terminal 1 of the user's host computer through the USB serial port, and the user command is sent to the main control chip in the form of hexadecimal code and reads the returned information from the main control chip.
  • the system can be set to the external interrupt mode, and the external TTL signal will trigger the pre-stored signal output of the chip after entering.
  • the main control chip directly provides 16 channels of digital signal output, and the analog signal output is output by the main control chip after digital-to-analog conversion and filtering.
  • the trigger method of the corresponding device digital signal 1 Camera (camera 3 exposure trigger signal) Rising edge trigger, start shooting digital signal 2 SLM SPI0 (spatial light modulator 6 trigger signal) Pulse trigger, SLM displays current RO digital signal 3 SLM SPI1 (spatial light modulator 6 trigger signal) Pulse trigger, image switching in RO digital signal 4 Laser 405 (405nm laser trigger signal) Active high, 405nm laser on digital signal 5 Laser 445 (445nm laser trigger signal) Active high, 445nm laser on digital signal 6 Laser 488 (488nm laser trigger signal) Active high level, 488nm laser on digital signal 7 Laser 515 (515nm laser trigger signal) Active high, 515nm laser on digital signal 8 Laser 561 (561nm laser trigger signal) Active high, 561nm laser on digital signal 9 Laser 640 (640nm laser trigger signal) Active high level, 640nm laser on digital signal 10 LED_A (LED trigger signal) Active high, A LED on Digital Signal 11 LED_B (LED trigger signal) Active
  • the system includes a motorized displacement platform 7, and the digital signal includes a trigger signal of the motorized displacement platform 7.
  • the microscope high-speed synchronization control device 2 sends the trigger signal of the motorized displacement platform 7 to the electric XY displacement platform, and the motorized displacement platform 7 is based on the received motorized displacement.
  • the trigger signal of stage 7 moves in the X-Y two-dimensional plane;
  • the microscope high-speed synchronization control device 2 After the camera 3 shoots, the microscope high-speed synchronization control device 2 will send a trigger signal to the electric displacement platform 7 that has completed the shooting, so that the electric displacement platform 7 moves to the next preset position;
  • an external trigger signal will be sent to the microscope high-speed synchronous control device 2 to make it start the next shooting cycle.
  • the system also includes a piezoelectric ceramic Z stage 8, the digital signal includes a Z stage analog signal, and the microscope high-speed synchronization control device 2 sends the Z stage analog signal to the piezoelectric ceramic Z stage 8, and the piezoelectric ceramic Z stage 8 receives the The Z analog signal moves up and down;
  • the piezoelectric ceramic Z stage 8 will move up and down.
  • the minimum time unit provided in this example is 1 microsecond, and the minimum adjustable range is 0.25 microsecond.
  • This application can be used to encode any number of data sequences of any time length and any level on all pins. Using the basic method needs to clarify the required signal time sequence, that is, the user needs to clearly specify the change time before each digital or analog signal changes. Level state, the time point when the change occurs and the level state after the change.
  • Figure 3 and Figure 4 show the sequence of several digital signals in a fast XY scan shooting process
  • the fast XY scan includes the synchronization of camera 3 exposure trigger signal and LED light source 5 and laser 4 trigger signal, and setting the micromirror high-speed synchronous control
  • the signal of the device and the feedback signal of the spatial light modulator 6 are "ANDed" to output.
  • the Y axis represents the level change of the digital signal
  • 1 represents the high level of the digital signal
  • 0 represents the low level of the digital signal.
  • the X-axis represents the running time of the system, and the unit is 0.1 milliseconds.
  • the part marked in FIG. 4 is an excerpt of the first 220 milliseconds in FIG. 3 .
  • the fast XY scan shooting process in this example follows the following operations: First, the exposure of camera 3 is triggered by the rising edge of the trigger signal of camera 3 (0.5 milliseconds in the time axis), and the camera 3 starts from receiving the rising edge signal to the hardware start It takes about 24 milliseconds to finish and start shooting. After shooting starts (23.5 milliseconds on the time axis), change the digital signal corresponding to the LED light source 5 to a high level, wherein the trigger mode of the LED light source 5 is completely synchronized with the digital signal, that is, the LED light source 5 is turned on when the digital signal is high level, When the digital signal is at low level, the LED light source 5 is turned off.
  • the LED light source 5 needs to be turned on for 50 milliseconds, that is, at 73.5 milliseconds on the time axis, the digital signal becomes low level, the LED light source 5 stops generating signals, and the single shooting ends.
  • the interval between multiple shots is selected as 20 milliseconds, that is, the next shot starts at 93.5 milliseconds.
  • the operation is the same as the previous shooting, first use the rising edge of the trigger signal of camera 3 to trigger the exposure of camera 3 (95 milliseconds on the time axis), and trigger the spatial light modulator 6 (in this example) after shooting starts (119 milliseconds on the time axis)
  • In is the second digital signal) and the digital signal corresponding to the laser 4 (in this example, the fourth, fifth, sixth and seventh digital signals).
  • the output of the spatial light modulator 6 is a specially modulated TTL signal fed back to the microscope high-speed synchronization control device 2 as an external interrupt signal, and the microscope high-speed synchronization control device 2 sends the digital signal to the laser 4.
  • the signal is an output after 'ANDing' the set laser 4 signal and the spatial light modulator 6 signal as an external interrupt.
  • the subsequent shots related to the laser 4 all follow the same operation, and the purpose of this operation is to completely synchronize the turn-on and turn-off timing of the laser with the flipping timing of the liquid crystal of the spatial light modulator 6 .
  • the microscope high-speed synchronization control device 2 will send a trigger signal for the electric displacement stage 7 that has completed the shooting, so that the electric displacement stage 7 moves to the next field of view, and the electric displacement After the stage 7 moves, an external trigger signal will be sent to the microscope high-speed synchronous control device 2 to start the next shooting cycle.
  • the piezoelectric Z stage will move in the Z-axis direction once.
  • a total of 17 photos were taken, starting from -1.6nm at the relative center position of the piezoelectric Z stage (the total stroke is 150nm, and 75nm is selected as the center position in this process), and the Z axis is stepped after each shooting cycle 0.2nm.
  • Table 2 shows the changes of digital signals and analog signals and the data sent in one XY scanning mode.
  • the level of the digital signal and the analog signal will change at the following time points: 0 millisecond, 0.5 millisecond, 10.5 millisecond, 23.5 millisecond, 74.5 millisecond and so on.
  • a set of data is required to describe the changed digital signal, analog signal and the duration of this change.
  • the level state is described as follows: the digital signals are all low level, the analog signal 1 voltage is 4.8933V corresponding to the piezoelectric Z stage height of 73.4nm, and the analog signal 2 is a constant 5V.
  • the trigger signal of camera 3 (the first digital signal) becomes high level, and its digital signal is converted to 0x0001 in hexadecimal, the voltage of analog signal 1 remains at 4.8933V, and the voltage of analog signal 2 remains at a constant 5V .
  • the digital signal level at this time is consistent with 0.5V, but the analog signal level has stepped 0.2nm, and its level is 4.9067V.
  • Analog signal two remains constant at 5V.
  • the above basic control method can describe all output sequences, but for some situations with long duration and relatively repetitive sequence content, some general complex methods can reduce code redundancy, improve the efficiency of single-chip processing, and reduce the time for single-chip processing data sequences. For example, for a completely repeated sequence, a description of the number of cycles can be added to the sequence, and a specific output signal can be triggered at a specific frequency. In addition, specific data sequences can be customized to improve the efficiency of sending sequences as much as possible according to the needs of users.
  • Microscope high-speed synchronous control device 2 currently contains the classification of data sequences in Table 3:
  • the control method of the microscope high-speed synchronous control system is shown in Figure 5.
  • the microscope imaging camera 3 firstly, the exposure time of the camera 3, the intensity of the light source and other parameters are set on the PC side, and the camera 3 and the light source are set to be in a waiting state according to the trigger mode of the related equipment.
  • the microscope in the XY scanning mode, uses the MS2000 electric translation stage 7 of ASI Company as the XY electric translation stage 7, and loads the fast XY firmware with ARRAY scanning.
  • the laser 4 uses Coherent’s OBIS series laser, and the LED uses Thorlabs The LED or CoolLED company's PE4000 series, the spatial light modulator 6 uses ForthDD's QXGA-R10 series chip.
  • the piezoelectric ceramic Z stage 8 is controlled by an analog voltage of 0-10V, and a shooting sequence is sent in each analog signal step to complete the microscope image shooting of each channel.
  • multi-dimensional microscope shooting of time, XY and Z scans and channels is realized.
  • Fig. 7 describes the input process during the use of the microscope high-speed synchronous control system, which mainly includes the host computer 1 and the microscope Interaction between devices 2 is controlled synchronously at high speed.
  • the user edits data instructions on the host computer 1 and can use specific software to generate a visualized sequence for inspection.
  • the device After sending data instructions to the microscope high-speed synchronous control device 2, the device itself will check the instructions and provide feedback. In the case of some high-speed continuous output, the inspection and feedback stages can be shielded to achieve the purpose of increasing the operating speed. If the check sequence is correct, the data command will be stored in the cache, and the main control chip will judge whether to store it in the electronic erasable programmable read-only memory circuit, and enter the waiting mode.
  • Figure 8 describes the routine output flow during the use of the microscope high-speed synchronization control system, which mainly includes the interaction between the host computer 1, the microscope high-speed synchronization control device 2 and the microscope peripherals.
  • the user needs to set the peripherals of the microscope first, as shown in Figure 7 and Figure 8, the user needs to set the exposure time and other parameters of the camera 3 on the host computer 1.
  • the trigger stage can be started.
  • the first is to use the host computer 1 to directly send the trigger command.
  • the second is to send the external interrupt signal after the peripheral device is ready. The second way Relatively speaking, it can provide a faster trigger speed.
  • the main control chip judges whether to read the data in the electronic erasable programmable read-only memory circuit. As in the operation described in Figure 8, after a shooting cycle ends, the microscope high-speed synchronous control device 2 will judge whether all operations are completed, and if it is completed, then send a trigger signal for the electric translation platform 7 that has completed the shooting, so that the electric translation platform 7 can move To the next field of view, after the motorized stage 7 moves, it will send an external trigger signal to the microscope high-speed synchronous control device 2 to make it start the next shooting cycle. If all operations are complete, the loop will end and the next instruction will be awaited.
  • every ten digits of data is the data required when a group of level changes
  • the first four digits are the hexadecimal numbers represented by the digital signal after this level change
  • the last six digits represent the distance from the next level change time of occurrence.
  • a microscope synchronization control method is provided, as shown in FIG. 6 , including the following steps:
  • the microscope high-speed synchronization control device receives the data sequence, and the microscope high-speed synchronization control device checks whether the data sequence meets the specification;
  • S103 Determine whether the data sequence is in the storage mode, if not, enter the waiting mode, if so, store the data sequence to the storage circuit in the microscope high-speed synchronization control device, and enter the waiting mode;
  • the microscope high-speed synchronization control device receives the trigger signal, the trigger carries at least a data sequence, and the microscope high-speed synchronization control device checks the data sequence;
  • S105 call the data sequence, read and cache the data sequence in the high-speed synchronization control device of the microscope;
  • S106 call the cached data sequence, output digital signals based on the data sequence, realize precise timing control of the LED light source and the camera based on the digital signal, and enable the camera to shoot.
  • This application uses the microscope high-speed synchronization control device to output digital signals based on the data sequence to control the precise shooting of the camera in the complex microscope system.
  • Step 1 The host computer 1 interacts with the microscope high-speed synchronous control device 2.
  • the user edits the data command carrying the data sequence at the host computer 1 end and sends it to the microscope high-speed synchronous control device 2; the user edits the data command at the host computer 1 end and Specific software can be used to generate visualized sequences for inspection; in addition, through the microscope high-speed synchronous control device 2 itself, the sequence can also be inspected to see if the data sequence conforms to the specification and can be correctly identified, and feedback is provided. In some cases of high-speed continuous output The inspection and feedback stages can be blocked to achieve the purpose of improving the running speed.
  • Step 2 If the verification data sequence conforms to the specification or the verification sequence is correct, the data sequence will be stored in the cache.
  • Step 3 Determine whether the data sequence is to be stored in the electronic erasable programmable read-only storage circuit by the main control chip, if not, enter the waiting mode, otherwise store the data sequence to the storage circuit in the microscope high-speed synchronization control device 2, and enter standby mode.
  • the above steps 1 to 3 are the input process during the use of the high-speed synchronous control system of the microscope, as shown in FIG. 7 .
  • Step 4 The microscope high-speed synchronization control device 2 receives the trigger signal, the trigger carries at least a data sequence, and the microscope high-speed synchronization control device 2 checks the data sequence;
  • the microscope high-speed synchronous control device 2 Before the microscope high-speed synchronous control device 2 receives the trigger signal, it also includes:
  • the microscope high-speed synchronization controls the interaction between the device 2 and the microscope peripherals.
  • the user needs to set the peripherals of the microscope first, then set the exposure time and other parameters of the camera 3 on the host computer 1, and then start the trigger stage after setting.
  • the first way is to use the host computer 1 to directly send the trigger command, and the second way is to send the external interrupt signal after the peripheral device is ready.
  • the second way can provide relatively faster trigger speed.
  • Step 5 After receiving the trigger signal, the main control chip of the microscope high-speed synchronization control device 2 judges whether to read the data in the electronic erasable programmable read-only memory circuit. If the data sequence is called, the data sequence in the microscope high-speed synchronous control device 2 is read and cached.
  • Step 6 call the cached data sequence, based on the data sequence, output the digital signal to the camera 3, the piezoelectric ceramic Z stage 8, the electric XY translation stage, the LED light source 5 and the spatial light modulator 6, so that the LED light source 5 and the camera 3 Precise timing control enables the camera 3 to shoot.
  • the above steps 4 to 6 are the output process during the use of the high-speed synchronous control system of the microscope, as shown in FIG. 8 .
  • the microscope high-speed synchronous control device 2 judges whether the shooting is completed
  • the microscope high-speed synchronous control device 2 will judge whether the shooting is completed, if not, the microscope high-speed synchronous control device 2 sends a trigger signal for the electric translation platform 7 that has completed the shooting, and the electric XY translation platform closes After receiving the trigger signal, the motorized stage 7 moves to the next field of view. After the motorized XY stage moves, an external trigger signal will be sent to the microscope high-speed synchronization control device 2 to start the next shooting cycle. If all operations are completed, the loop will be terminated and subsequent instructions will be awaited.
  • the microscope high-speed synchronous control device 2 receives and controls the camera 3 to move up or down to realize shooting at another viewing distance until the shooting is completed.
  • the microscope high-speed synchronous control device 2 judges whether the shooting is completed, it also includes:
  • the number of times the camera 3 moves up or down, and the distance of each movement are preset.
  • the TTL level of the microscope high-speed synchronous control device 2 is used as a pulse signal to trigger the movement of the XY electric translation platform 7, and the electric translation platform 7 sends a TTL pulse signal as an external interruption of the control system after moving in place , the trigger control system has been written into the stored time sequence to realize the exposure of the camera 3, the light source and other equipment, and complete the shooting of the microscope image.
  • the signal that the electric stage 7 is in place is used as the trigger for the next signal, and use the pre-stored sequence to improve the operating efficiency of the equipment.
  • the present application can solve the problem of high synchronization in the shooting timing control of the current microscope, and realize high-speed synchronous shooting.
  • the overall structure is simple, the cost is low, the actual operation is convenient, and the compatibility is wide, which is of great significance for improving the efficiency of microscope shooting and reducing photobleaching in fluorescence imaging.
  • the objective lens 10 observes through the fluorescence filter block 9, and the camera 3 takes pictures through the fluorescence filter block 9.

Abstract

A microscope synchronization control system and method. The system comprises a microscope high-speed synchronization control device (2), a camera (3), a laser (4), an LED light source (5), and a spatial light modulator (6); an upper computer (1) is connected to the microscope high-speed synchronization control device (2) via a serial port, and is used for sending a specific setting sequence and a data sequence to set the microscope high-speed synchronization control device (2) or sending a trigger sequence to control the microscope high-speed synchronization control device (2) to generate a digital signal. Synchronous operation of the camera (3), the laser (4), the LED light source (5), the spatial light modulator (6), and an analog signal control piezoelectric ceramic Z stage (7) is controlled according to the digital signal by means of the microscope high-speed synchronization control device (2) to achieve accurate photographing of the camera in a complex microscope system.

Description

一种显微镜同步控制系统及方法A microscope synchronization control system and method 技术领域technical field
本申请属于显微镜成像控制技术领域,特别涉及一种显微镜同步控制系统及方法。The application belongs to the technical field of microscope imaging control, and in particular relates to a microscope synchronous control system and method.
背景技术Background technique
显微镜成像广泛用于生物学研究中,是揭示生命过程的重要研究手段。显微镜成像控制系统的核心是多维度的图像采集(维度包括时间t,XY位置,Z轴切片,多个荧光通道),为了能够让显微镜能够按照预定的流程执行拍摄任务,传统做法是由计算机发送命令依次更改各个设备的参数或下达动作指令来实现的,不可避免地需要通过软件的方式与各个设备进行通信,这种通信往往需要消耗数毫秒,导致拍摄每帧图像会产生额外的延迟(几十毫秒不等)。此外,在传统方法中,相机拍摄所需的时间序列通常由计算机中软件发出由软件控制的时钟序列控制采集图像的时间点,由于操作系统的非实时性,这种时间序列可能会有几毫秒到几十毫秒的波动。对于高速的显微镜成像,比如研究细菌游动需要30Hz甚至更高的采集速度,通过计算机软件是做不到精确的时间控制的,需要用TTL作为外部触发信号控制显微镜的拍摄。Microscopic imaging is widely used in biological research and is an important research tool to reveal life processes. The core of the microscope imaging control system is multi-dimensional image acquisition (dimensions include time t, XY position, Z-axis slice, and multiple fluorescence channels). In order to enable the microscope to perform shooting tasks according to the predetermined process, the traditional method is to send Commands to change the parameters of each device in turn or issue action instructions, inevitably need to communicate with each device through software, this communication often takes a few milliseconds, resulting in additional delays (several seconds) when shooting each frame of image ten milliseconds). In addition, in the traditional method, the time sequence required for camera shooting is usually issued by the software in the computer, and the clock sequence controlled by the software controls the time point of image acquisition. Due to the non-real-time nature of the operating system, this time sequence may have a few milliseconds fluctuations of tens of milliseconds. For high-speed microscope imaging, such as the study of bacterial swimming requires an acquisition speed of 30Hz or higher, precise time control cannot be achieved through computer software, and TTL needs to be used as an external trigger signal to control the shooting of the microscope.
提升显微镜图像的数据采集效率对科学研究具有重要的意义,它能够1)提高科研所需数据集的容量,提高结果的统计学上的可靠性;2)能够缩短采集同样数据所需的时间,提升测量的时效性。减少不必要的延迟时间是提升采集效率基本方法,要求显微镜系统在时间和空间移动上实现高速高精度的控制 相机、电动位移台及光源等设备实现:电动位移台移动到位后相机立即曝光,同时打开对应波长的光源,相机曝光完成后立即开始下一次的位移台移动,以此循环实现在时间(t)和空间(x,y,z)上的相机采集图像的低延迟。对于荧光成像,在相机曝光时间内,激发光源开启落后或者关闭提前会导致荧光激发减弱,而激发光源的提前开启或者延时关闭会增加对生物样品的毒性和光漂白,相机成像的时间和开启激发光源的时间的高度同步性是实现长时间和高频率的荧光图像采集的前提。而传统的软件控制方法无法满足如此高精度的时序要求,所以迫切需要一种能够实现高精度高速的图像采集硬件控制装置,这对荧光显微镜高速和高通量图像采集具有重大意义。Improving the data collection efficiency of microscope images is of great significance to scientific research. It can 1) increase the capacity of data sets required for scientific research and improve the statistical reliability of results; 2) shorten the time required to collect the same data, Improve the timeliness of measurement. Reducing unnecessary delay time is the basic method to improve acquisition efficiency. It requires the microscope system to achieve high-speed and high-precision control of cameras, electric translation stages, and light sources in time and space. Turn on the light source corresponding to the wavelength, and start the next stage movement immediately after the camera exposure is completed, so as to realize the low delay of the camera collecting images in time (t) and space (x, y, z) in this cycle. For fluorescence imaging, within the exposure time of the camera, if the excitation light source is turned on behind or turned off early, the fluorescence excitation will be weakened, and the early turn on or delayed turn off of the excitation light source will increase the toxicity and photobleaching of biological samples. The camera imaging time and turn on the excitation A high degree of time synchronization of light sources is a prerequisite for long-term and high-frequency fluorescence image acquisition. However, traditional software control methods cannot meet such high-precision timing requirements, so there is an urgent need for a high-precision and high-speed image acquisition hardware control device, which is of great significance for high-speed and high-throughput image acquisition of fluorescence microscopes.
发明内容Contents of the invention
本申请实施例提供了一种显微镜同步控制系统及方法,系统具备多路的数字信号输出,实现系统中复杂流程的精准拍摄。The embodiment of the present application provides a microscope synchronous control system and method. The system has multiple digital signal outputs to realize accurate shooting of complex processes in the system.
根据本申请的一实施例,提供了一种显微镜同步控制系统,包括:上位机、显微镜高速同步控制装置、相机、激光器、LED光源及空间光调制器;According to an embodiment of the present application, a microscope synchronization control system is provided, including: a host computer, a microscope high-speed synchronization control device, a camera, a laser, an LED light source, and a spatial light modulator;
上位机通过串口与显微镜高速同步控制装置连接,用于发送特定的设置序列与数据序列对显微镜高速同步控制装置进行设置或发送触发序列控制显微镜高速同步控制装置产生数字信号;The host computer is connected to the microscope high-speed synchronization control device through the serial port, and is used to send specific setting sequences and data sequences to set the microscope high-speed synchronization control device or send trigger sequences to control the microscope high-speed synchronization control device to generate digital signals;
显微镜高速同步控制装置根据数字信号控制相机、激光器、LED光源及空间光调制器的同步运行,数字信号包括相机曝光触发信号、LED光源触发信号、激光器触发信号及空间光调制器触发信号;The microscope high-speed synchronous control device controls the synchronous operation of the camera, laser, LED light source and spatial light modulator according to the digital signal. The digital signal includes the camera exposure trigger signal, the LED light source trigger signal, the laser trigger signal and the spatial light modulator trigger signal;
显微镜高速同步控制装置发送相机拍摄触发信号至相机,控制相机进行拍 摄;显微镜高速同步控制装置发送数字信号至LED电源,控制LED电源开启;The microscope high-speed synchronization control device sends the camera shooting trigger signal to the camera to control the camera to shoot; the microscope high-speed synchronization control device sends a digital signal to the LED power supply to control the LED power supply to turn on;
显微镜高速同步控制装置发送激光器触发信号至激光器,显微镜高速同步控制装置发送调制器触发信号至空间光调制器,在相机进行拍摄时,触发空间光调制器,空间光调制器输出TTL信号到显微镜高速同步控制装置,显微镜高速同步控制装置发送激光器触发信号及空间光调制器触发信号做“与”之后的信号至激光器和空间调制器,以同步空间光调制器和激光器的输入信号,实现对LED光源和相机的时序精准控制,使相机进行拍摄。The microscope high-speed synchronization control device sends the laser trigger signal to the laser, and the microscope high-speed synchronization control device sends the modulator trigger signal to the spatial light modulator. When the camera is shooting, the spatial light modulator is triggered, and the spatial light modulator outputs a TTL signal to the microscope high-speed Synchronization control device, microscope high-speed synchronization control device sends the laser trigger signal and the spatial light modulator trigger signal to the laser and the spatial modulator after "ANDing" to synchronize the input signals of the spatial light modulator and the laser to realize the LED light source And the timing of the camera is precisely controlled to make the camera shoot.
本申请实施例采取的技术方案还包括:系统还包括电动位移台,数字信号还包括电动位移台触发信号,显微镜高速同步控制装置发送电动位移台触发信号至电动XY位移台,电动位移台根据接收到的电动位移台触发信号在X-Y二维平面中移动;The technical solution adopted in the embodiment of the present application also includes: the system also includes a motorized displacement platform, and the digital signal also includes a trigger signal of the motorized displacement platform. The received trigger signal of the electric stage moves in the X-Y two-dimensional plane;
在相机拍摄结束后,显微镜高速同步控制装置将发出完成拍摄的电动位移台触发信号至电动位移台,使电动位移台移动至下一个预设位置;After the camera shoots, the high-speed synchronous control device of the microscope will send a trigger signal to the motorized displacement platform to move the motorized displacement platform to the next preset position;
在电动位移台移动至预设位置后,将发送外部触发信号至显微镜高速同步控制装置,使其开始下一个拍摄循环。After the motorized stage moves to the preset position, an external trigger signal will be sent to the high-speed synchronization control device of the microscope to start the next shooting cycle.
本申请实施例采取的技术方案还包括:系统还包括压电陶瓷Z台,数字信号还包括Z台模拟信号,显微镜高速同步控制装置发送Z台模拟信号至压电陶瓷Z台,压电陶瓷Z台根据接收到的Z台模拟信号上下移动;The technical solution adopted in the embodiment of the present application also includes: the system also includes a piezoelectric ceramic Z stage, and the digital signal also includes an analog signal of the Z stage, and the high-speed synchronization control device of the microscope sends the Z stage analog signal to the piezoelectric ceramic Z stage, and the piezoelectric ceramic Z stage The station moves up and down according to the received analog signal of station Z;
在相机拍摄循环结束后,压电陶瓷Z台会进行上下的移动。After the camera shooting cycle ends, the piezoelectric ceramic Z stage will move up and down.
本申请实施例采取的技术方案还包括:显微镜高速同步控制装置包括集成电路板及外接的电源适配器,集成电路板上设置有主控芯片,主控芯片连接有两个数模芯片,两个数模芯片各连接有运放滤波器,电源适配器为系统供电;电源适配器为主控芯片提供变压芯片转换后的电压,电源适配器为两个数模芯 片提供数模芯片电压、为两个运放滤波器提供滤波电压;The technical solution adopted in the embodiment of the present application also includes: the microscope high-speed synchronous control device includes an integrated circuit board and an external power adapter, the integrated circuit board is provided with a main control chip, the main control chip is connected to two digital-analog chips, Each chip is connected with an op-amp filter, and the power adapter supplies power to the system; the power adapter provides the voltage converted by the transformer chip for the main control chip, and the power adapter provides the digital-analog chip voltage for the two digital-analog chips, and the power supply for the two op-amps. The filter provides a filtered voltage;
两个运放滤波器各自输出模拟信号,主控芯片提供十六路数字信号输出。The two operational amplifier filters output analog signals respectively, and the main control chip provides sixteen digital signal outputs.
本申请实施例采取的技术方案还包括:集成电路板上还设置有上位机通信转码电路、电子式可擦除可编程只读存储电路、供电隔离及稳压电路、数字模拟信号转换电路、滤波及放大电路;The technical solution adopted in the embodiment of the present application also includes: the integrated circuit board is also provided with a host computer communication transcoding circuit, an electronic erasable programmable read-only storage circuit, a power supply isolation and voltage stabilization circuit, a digital-to-analog signal conversion circuit, filter and amplifier circuit;
上位机通信转码电路,用于实现上位机与显微镜高速同步控制装置的双向通信;The upper computer communication transcoding circuit is used to realize the two-way communication between the upper computer and the microscope high-speed synchronous control device;
电子式可擦除可编程只读存储电路,具有同时支持多次复写和断电存储功能,能够实现预存数据序列到控制盒的存储模块中,并且提供断电存储的功能;The electronic erasable programmable read-only storage circuit has the function of supporting multiple rewriting and power-off storage at the same time, and can realize the pre-stored data sequence to the storage module of the control box, and provide the function of power-off storage;
供电隔离及稳压电路,用于隔离输入电压和模拟电压,并且对电压进行滤波;Power supply isolation and voltage stabilization circuit, used to isolate input voltage and analog voltage, and filter the voltage;
数字模拟信号转换电路,用于产生十四位分辨率的模拟信号,实现显微镜拍摄过程中的高度同步;A digital-to-analog signal conversion circuit is used to generate an analog signal with 14-bit resolution to achieve high synchronization during the microscope shooting process;
滤波及放大电路,用于对电压进行放大及对放大后的电压进行滤波处理。The filtering and amplifying circuit is used for amplifying the voltage and performing filtering processing on the amplified voltage.
本申请实施例采取的又一技术方案为:一种显微镜同步控制方法,包括以下步骤:Another technical solution adopted in the embodiment of the present application is: a microscope synchronization control method, comprising the following steps:
显微镜高速同步控制装置接收数据序列,并且显微镜高速同步控制装置查验数据序列是否符合规范;The microscope high-speed synchronization control device receives the data sequence, and the microscope high-speed synchronization control device checks whether the data sequence meets the specification;
若符合规范,则将数据序列储存;If it meets the specification, store the data sequence;
判断数据序列是否为储存模式,若不是则进入等待模式,若是,则储存数据序列到显微镜高速同步控制装置内的存储电路,并进入等待模式;Judging whether the data sequence is in the storage mode, if not, entering the waiting mode, if so, storing the data sequence to the storage circuit in the microscope high-speed synchronous control device, and entering the waiting mode;
显微镜高速同步控制装置接收到触发信号,触发至少携带有数据序列,显微镜高速同步控制装置查验数据序列;The microscope high-speed synchronization control device receives the trigger signal, the trigger carries at least a data sequence, and the microscope high-speed synchronization control device checks the data sequence;
调用数据数列,将显微镜高速同步控制装置中的数据序列读取并进行缓存;Call the data sequence, read and cache the data sequence in the microscope high-speed synchronous control device;
调用缓存的数据序列,基于数据序列,输出数字信号,基于数字信号实现对LED光源和相机的时序精准控制,使相机进行拍摄。Call the cached data sequence, output digital signals based on the data sequence, and realize precise timing control of the LED light source and camera based on the digital signal, so that the camera can shoot.
本申请实施例采取的技术方案还包括:在显微镜高速同步控制装置接收到触发信号之前还包括:The technical solution adopted in the embodiment of the present application also includes: before the microscope high-speed synchronization control device receives the trigger signal, it also includes:
设置相机的曝光时间等参数。Set the camera's exposure time and other parameters.
本申请实施例采取的技术方案还包括:在基于数字信号实现对LED光源和相机的时序精准控制,使相机进行拍摄之后还包括:The technical solution adopted in the embodiment of the present application also includes: after realizing the precise timing control of the LED light source and the camera based on the digital signal, after the camera takes pictures, it also includes:
显微镜高速同步控制装置判断是否完成拍摄;The microscope high-speed synchronous control device judges whether the shooting is completed;
若是则结束拍摄,否则控制相机进行X-Y二维平面上的移动并进行拍摄,直至完成X-Y二维平面的拍摄。If so, end the shooting, otherwise control the camera to move on the X-Y two-dimensional plane and shoot until the shooting on the X-Y two-dimensional plane is completed.
本申请实施例采取的技术方案还包括:在完成X-Y二维平面的拍摄之后还包括:The technical solution adopted in the embodiment of the present application also includes: after the shooting of the X-Y two-dimensional plane is completed, it also includes:
显微镜高速同步控制装置接收控制相机进行上或下移动,以实现另一视距的拍摄,直至完成拍摄。The high-speed synchronous control device of the microscope receives and controls the camera to move up or down to realize shooting at another viewing distance until the shooting is completed.
本申请实施例采取的技术方案还包括:在显微镜高速同步控制装置判断是否完成拍摄之前还包括:The technical solution adopted in the embodiment of the present application also includes: before the microscope high-speed synchronization control device judges whether the shooting is completed, it also includes:
预设在相机每一个X-Y二维平面拍摄的次数;Preset the number of shots taken on each X-Y two-dimensional plane of the camera;
预设相机上或下移动的次数,及每次移动的距离。Preset the number of times the camera moves up or down, and the distance of each movement.
相对于现有技术,本申请实施例产生的有益效果在于:本申请实施例中的显微镜同步控制系统及方法,系统包括:显微镜高速同步控制装置、相机、激光器、LED光源及空间光调制器;上位机通过串口与显微镜高速同步控制装 置连接,用于发送特定的设置序列与数据序列对显微镜高速同步控制装置进行设置或发送触发序列控制显微镜高速同步控制装置产生数字信号。通过所述显微镜高速同步控制装置根据所述数字信号控制所述相机、激光器、LED光源及空间光调制器的同步运行实现在复杂的显微镜系统中相机的精准拍摄。Compared with the prior art, the beneficial effect produced by the embodiment of the present application lies in: the microscope synchronization control system and method in the embodiment of the present application, the system includes: a microscope high-speed synchronization control device, a camera, a laser, an LED light source and a spatial light modulator; The host computer is connected to the microscope high-speed synchronization control device through the serial port, and is used to send specific setting sequences and data sequences to set the microscope high-speed synchronization control device or send trigger sequences to control the microscope high-speed synchronization control device to generate digital signals. The high-speed synchronous control device of the microscope controls the synchronous operation of the camera, laser, LED light source and spatial light modulator according to the digital signal to realize precise shooting of the camera in the complex microscope system.
附图说明Description of drawings
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described here are used to provide a further understanding of the application and constitute a part of the application. The schematic embodiments and descriptions of the application are used to explain the application and do not constitute an improper limitation to the application. In the attached picture:
图1为本申请显微镜同步控制系统的原理图;Fig. 1 is the schematic diagram of the microscope synchronous control system of the present application;
图2为本申请显微镜同步控制系统的信号输出图;Fig. 2 is the signal output diagram of the microscope synchronous control system of the present application;
图3为本申请显微镜同步控制系统的信号输出的一次快速X-Y扫描中的数字电平变化;Fig. 3 is the digital level change in a fast X-Y scanning of the signal output of the microscope synchronous control system of the present application;
图4的标注部分为本申请图3的前220毫秒的节选部分;The marked part of Figure 4 is an excerpt from the first 220 milliseconds of Figure 3 of this application;
图5为本申请显微镜高速同步控制系统外部中断显微镜控制示意图;Figure 5 is a schematic diagram of external interrupt microscope control of the high-speed synchronous control system of the microscope of the present application;
图6为本申请显微镜同步控制系统方法的流程图;Fig. 6 is the flow chart of the microscope synchronous control system method of the present application;
图7为本申请显微镜高速同步控制系统使用过程中的输入流程;Fig. 7 is the input process during the use of the high-speed synchronous control system of the microscope of the present application;
图8为本申请显微镜高速同步控制系统使用过程中的输出流程;Figure 8 is the output flow during the use of the high-speed synchronous control system of the microscope of the present application;
附图标记:1-上位机、2-显微镜高速同步控制装置、3-相机、4激光器、5-LED光源、6-空间光调制器、7-电动位移台、8-电压陶瓷Z台、9-荧光滤光块。Reference signs: 1-host computer, 2-microscope high-speed synchronous control device, 3-camera, 4 laser, 5-LED light source, 6-spatial light modulator, 7-electric translation stage, 8-voltage ceramic Z stage, 9 - Fluorescence filter cubes.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is an embodiment of a part of the application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其他步骤或单元。It should be noted that the terms "first" and "second" in the description and claims of the present application and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
实施例1Example 1
根据本申请一实施例,提供了一种基于深度学习的腹部体影像肝脏分割方法,参见图1,包括:上位机1、显微镜高速同步控制装置2、相机3、激光器4、LED光源5及空间光调制器6;According to an embodiment of the present application, a liver segmentation method based on deep learning for abdominal body images is provided, as shown in FIG. light modulator 6;
上位机1通过串口与显微镜高速同步控制装置连接,用于发送特定的设置序列与数据序列对显微镜高速同步控制装置2进行设置或发送触发序列控制显微镜高速同步控制装置2产生数字信号;The upper computer 1 is connected to the microscope high-speed synchronization control device through a serial port, and is used to send a specific setting sequence and data sequence to set the microscope high-speed synchronization control device 2 or send a trigger sequence to control the microscope high-speed synchronization control device 2 to generate digital signals;
显微镜高速同步控制装置2根据数字信号控制相机3、激光器4、LED光源5及空间光调制器6的同步运行,数字信号包括相机3曝光触发信号、LED光源5触发信号、激光器4触发信号及空间光调制器6触发信号;The microscope high-speed synchronous control device 2 controls the synchronous operation of the camera 3, laser 4, LED light source 5 and spatial light modulator 6 according to the digital signal. The digital signal includes the exposure trigger signal of the camera 3, the trigger signal of the LED light source 5, the trigger signal of the laser 4 and the space Optical modulator 6 trigger signal;
显微镜高速同步控制装置2发送相机3拍摄触发信号至相机3,控制相机3进行拍摄;显微镜高速同步控制装置2发送数字信号至LED电源,控制LED电源开启;The microscope high-speed synchronization control device 2 sends the camera 3 shooting trigger signal to the camera 3, and controls the camera 3 to shoot; the microscope high-speed synchronization control device 2 sends a digital signal to the LED power supply, and controls the LED power supply to turn on;
显微镜高速同步控制装置2发送激光器4触发信号至激光器4,显微镜高速同步控制装置2发送调制器触发信号至空间光调制器6,在相机3进行拍摄时,触发空间光调制器6,空间光调制器6输出TTL信号到显微镜高速同步控制装置2,显微镜高速同步控制装置2发送激光器4触发信号及空间光调制器6触发信号做“与”之后的信号至激光器4和空间调制器,以同步空间光调制器6和激光器4的输入信号,实现对LED光源5和相机3的时序精准控制,使相机3进行拍摄。The microscope high-speed synchronization control device 2 sends the trigger signal of the laser 4 to the laser 4, and the microscope high-speed synchronization control device 2 sends the modulator trigger signal to the spatial light modulator 6. When the camera 3 is shooting, the spatial light modulator 6 is triggered, and the spatial light modulation The high-speed synchronization control device 2 of the microscope sends a TTL signal to the microscope high-speed synchronization control device 2, and the microscope high-speed synchronization control device 2 sends the trigger signal of the laser 4 and the trigger signal of the spatial light modulator 6 to do "AND" to the laser 4 and the spatial modulator to synchronize the space The input signals of the light modulator 6 and the laser 4 realize precise timing control of the LED light source 5 and the camera 3 so that the camera 3 can take pictures.
本申请实施例中的显微镜同步控制系统及方法,系统包括:显微镜高速同步控制装置2、相机3、激光器4、LED光源5及空间光调制器6;上位机1通过串口与显微镜高速同步控制装置连接,用于发送特定的设置序列与数据序列对显微镜高速同步控制装置2进行设置或发送触发序列控制显微镜高速同步控制装置2产生数字信号。通过显微镜高速同步控制装置2根据数字信号控制相机3、激光器4、LED光源5及空间光调制器6的同步运行实现在复杂的显微镜系统中相机3的精准拍摄。The microscope synchronization control system and method in the embodiment of the present application, the system includes: a microscope high-speed synchronization control device 2, a camera 3, a laser 4, an LED light source 5 and a spatial light modulator 6; the upper computer 1 communicates with the microscope high-speed synchronization control device through a serial port The connection is used to send a specific setting sequence and data sequence to set the microscope high-speed synchronization control device 2 or send a trigger sequence to control the microscope high-speed synchronization control device 2 to generate digital signals. The high-speed synchronous control device 2 of the microscope controls the synchronous operation of the camera 3, the laser 4, the LED light source 5 and the spatial light modulator 6 according to the digital signal to realize the precise shooting of the camera 3 in the complex microscope system.
以相机3的时序为主信号,触发其他设备的同步控制拍摄是现有显微镜在实现高速同步拍摄技术的主要特点,无法对电动位移台7等其他设备进行高精度的时序控制,对显微镜整体同步系统的支持性和扩展性不足。为此针对此缺点,本申请基于设备外部触发的高精度的时序控制方式,设计搭建了具备多路的数字输出和模拟输出的信号的高速同步控制装置,实现在更复杂的显微镜系统中复杂流程的精准拍摄;此外通过设置同步控制装置自身的外部触发,使得 显微镜能够完成闭环的自驱动的高速拍摄流程。Taking the timing of camera 3 as the main signal to trigger synchronous control shooting of other equipment is the main feature of existing microscopes in realizing high-speed synchronous shooting technology. The support and scalability of the system are insufficient. To address this shortcoming, this application designs and builds a high-speed synchronous control device with multi-channel digital output and analog output signals based on the high-precision timing control method triggered externally by the equipment, to realize complex processes in more complex microscope systems Accurate shooting; In addition, by setting the external trigger of the synchronization control device itself, the microscope can complete the closed-loop self-driven high-speed shooting process.
根据本申请实施例的一方面,提供了一种显微镜高速同步控制系统,包括显微镜高速同步控制装置2,上位机1及显微镜相关设备,显微镜相关设备包括相机3、压电陶瓷Z台8、电动XY位移台(电动位移台7)、激光器4、LED光源5及空间光调制器6等。其中,电动XY位移台表示电动位移台7在X-Y二维平面上移动,压电陶瓷Z台8表示在Z轴方向上下移动。According to an aspect of the embodiment of the present application, a microscope high-speed synchronous control system is provided, including a microscope high-speed synchronous control device 2, a host computer 1, and microscope-related equipment. The microscope-related equipment includes a camera 3, a piezoelectric ceramic Z stage 8, an electric XY translation stage (electric translation stage 7), laser 4, LED light source 5, spatial light modulator 6, etc. Among them, the electric XY translation stage means that the electric translation stage 7 moves on the X-Y two-dimensional plane, and the piezoelectric ceramic Z stage 8 means that it moves up and down in the Z-axis direction.
显微镜高速同步控制装置2包括集成电路板与外接的电源适配器。其中集成电路板上包含如下部分:主控芯片、外围电路、上位机1通信转码电路、电子式可擦除可编程只读存储电路、供电隔离及稳压电路、数字模拟信号转换电路,运算放大器相关的滤波及放大电路。The microscope high-speed synchronous control device 2 includes an integrated circuit board and an external power adapter. Among them, the integrated circuit board contains the following parts: main control chip, peripheral circuit, upper computer 1 communication transcoding circuit, electronic erasable programmable read-only storage circuit, power supply isolation and voltage stabilization circuit, digital-to-analog signal conversion circuit, operation Amplifier-related filtering and amplifying circuits.
上位机1用于操作人员交互,通过串口发送特定的设置序列与数据序列对显微镜高速同步控制装置2进行设置或发送触发序列控制显微镜高速同步控制装置2产生信号,可以但是不限于是笔记本电脑、台式电脑或者单片机等可以进行通信的终端。The upper computer 1 is used for operator interaction, and sends specific setting sequences and data sequences through the serial port to set the microscope high-speed synchronization control device 2 or send a trigger sequence to control the microscope high-speed synchronization control device 2 to generate signals, which can be, but not limited to, notebook computers, A terminal that can communicate, such as a desktop computer or a single-chip microcomputer.
显微镜相关设备包括相机3,压电陶瓷Z台8,电动位移台7,激光器4,LED光源5,空间光调制器6等。相机3曝光模式一般是由各个厂家设定,外部触发是其中基本模式,即通过脉冲电平触发相机3的曝光;压电陶瓷Z台8可以由模拟电压控制,根据行程和精度决定电压的范围和步长;电动位移台7具有两种信号,一种作为位移台的输入信号,该信号中的脉冲电平会触发位移台的移动,一种作为位移台的输出信号,当位移台在移动到位后从该信号发送脉冲电平;激光器4和LED光源5的开关是由脉冲高电平触发的;同时由于空间光调制器6的输入信号对时序有较高的要求,一般由高精度的TTL电平作为输入信号进行控制,用户可以选择具有不同模式的输入和输出,本申请的 显微镜高速同步控制系统作为信号控制中心可以同步空间光调制器6和激光器4的输入信号,以实现光源和相机3做到高精度的时序控制。Microscope-related equipment includes a camera 3, a piezoelectric ceramic Z stage 8, a motorized translation stage 7, a laser 4, an LED light source 5, a spatial light modulator 6, and the like. The exposure mode of the camera 3 is generally set by each manufacturer, and the external trigger is the basic mode, that is, the exposure of the camera 3 is triggered by the pulse level; the piezoelectric ceramic Z stage 8 can be controlled by an analog voltage, and the range of the voltage is determined according to the stroke and precision and step length; the electric stage 7 has two kinds of signals, one as the input signal of the stage, the pulse level in the signal will trigger the movement of the stage, and one as the output signal of the stage, when the stage is moving Send the pulse level from the signal after it is in place; the switch of the laser 4 and the LED light source 5 is triggered by the pulse high level; at the same time, because the input signal of the spatial light modulator 6 has high requirements on timing, it is generally controlled by a high-precision The TTL level is controlled as an input signal, and the user can choose input and output with different modes. The microscope high-speed synchronization control system of the present application can be used as a signal control center to synchronize the input signals of the spatial light modulator 6 and the laser 4, so as to realize the light source and the laser. Camera 3 achieves high-precision timing control.
参考图1和图2,本申请中上位机1与显微镜高速同步控制装置2之间的通信,显微镜高速同步控制装置2与显微镜的相关设备信号传输。具体为:Referring to Fig. 1 and Fig. 2, the communication between the host computer 1 and the microscope high-speed synchronization control device 2 in this application, and the signal transmission between the microscope high-speed synchronization control device 2 and the related equipment of the microscope. Specifically:
上位机1与显微镜高速同步控制装置2之间的通信包括上位机1向显微镜高速同步控制装置2发送的输入序列和显微镜高速同步控制装置2反馈的回文序列。其中输入序列包括设置序列,用于设置显微镜高速同步控制装置2的工作模式,例如开关外部中断功能和存储功能等;和不同模式的数据序列和信号触发序列,用于描述显微镜高速同步控制装置2需要发送的信号序列。回文序列包括显微镜高速同步控制装置2的数据或系统性报错及完成当前任务的回文。The communication between the host computer 1 and the microscope high-speed synchronization control device 2 includes the input sequence sent by the host computer 1 to the microscope high-speed synchronization control device 2 and the palindrome sequence fed back by the microscope high-speed synchronization control device 2 . The input sequence includes the setting sequence, which is used to set the working mode of the microscope high-speed synchronization control device 2, such as switching the external interrupt function and storage function, etc.; and the data sequence and signal trigger sequence of different modes, used to describe the microscope high-speed synchronization control device 2 The signal sequence to send. The palindrome sequence includes the data or systematic error report of the microscope high-speed synchronization control device 2 and the palindrome of completing the current task.
显微镜高速同步控制装置2与显微镜相关设备的信号传输可以被概括为显微镜高速同步控制装置2向其他显微镜相关设备所提供的不少于十六路的数字信号输出,不少于两路的模拟输出和不少于两路的中断输入;图2中数字信号1至数字信号16,即对应为第一路数字信号至第十六路数字信号的输出。其中数字信号输出用于控制相机3,电动位移台7,激光器4,LED光源5,空间光调制器6等TTL触发设备。模拟输出在本实例中用于控制压电陶瓷Z台8,有效范围0~10V,步长1mV。中断输入用于外部TTL脉冲信号触发或影响本装置的信号发送,实现和显微镜相关设备的精确同步控制。外部中断还可以支持其他复杂信号的输入模式,比如配合空间光调制器68bit图像的输出信号,同指定的数字信号做‘与’和‘和’计算后输出,实现空间光调制器6显示8位图像时和多路光源信号的精确同步。The signal transmission between the microscope high-speed synchronization control device 2 and microscope-related equipment can be summarized as no less than sixteen channels of digital signal output and no less than two channels of analog output provided by the microscope high-speed synchronization control device 2 to other microscope-related equipment and not less than two interrupt inputs; digital signal 1 to digital signal 16 in FIG. 2 correspond to the output of the first digital signal to the sixteenth digital signal. The digital signal output is used to control the camera 3, the motorized stage 7, the laser 4, the LED light source 5, the spatial light modulator 6 and other TTL triggering devices. The analog output is used in this example to control the piezoelectric ceramic Z stage 8, with an effective range of 0-10V and a step size of 1mV. The interrupt input is used for external TTL pulse signal triggering or affecting the signal transmission of the device, so as to realize precise synchronous control with microscope-related equipment. The external interrupt can also support other complex signal input modes, such as the output signal of the 68-bit image of the spatial light modulator, and the specified digital signal is calculated and output, and the spatial light modulator 6 can display 8 bits Precise synchronization of image time and multi-channel light source signals.
显微镜高速同步控制装置2包括集成电路板及外接的电源适配器,集成电 路板上设置有主控芯片,主控芯片连接有两个数模芯片,两个数模芯片各连接有运放滤波器,电源适配器为系统供电;电源适配器为主控芯片提供变压芯片转换后的电压,电源适配器为两个数模芯片提供数模芯片电压、为两个运放滤波器提供滤波电压;两个运放滤波器各自输出模拟信号,主控芯片提供十六路数字信号输出。The microscope high-speed synchronous control device 2 includes an integrated circuit board and an external power adapter. The integrated circuit board is provided with a main control chip. The main control chip is connected with two digital-analog chips, and each of the two digital-analog chips is connected with an operational amplifier filter. The power adapter supplies power to the system; the power adapter provides the voltage converted by the transformer chip for the main control chip, the power adapter provides the digital-analog chip voltage for the two digital-analog chips, and the filter voltage for the two op-amp filters; The filters output analog signals respectively, and the main control chip provides sixteen digital signal outputs.
具体地,本申请中提及的显微镜高速同步控制装置2中的集成电路板包括主控芯片、外围电路、上位机1通信转码电路、电子式可擦除可编程只读存储电路、供电隔离及稳压电路、数字模拟信号转换电路、运算放大器相关的滤波及放大电路。上位机1通信转码电路,用于实现上位机1与显微镜高速同步控制装置2的双向通信;电子式可擦除可编程只读存储电路,具有同时支持多次复写和断电存储功能,能够实现预存数据序列到控制盒的存储模块中,并且提供断电存储的功能;供电隔离及稳压电路,用于隔离输入电压和模拟电压,并且对电压进行滤波;数字模拟信号转换电路,用于产生十四位分辨率的模拟信号,实现显微镜拍摄过程中的高度同步;滤波及放大电路,用于对电压进行放大及对放大后的电压进行滤波处理。Specifically, the integrated circuit board in the microscope high-speed synchronous control device 2 mentioned in this application includes a main control chip, peripheral circuits, a communication transcoding circuit of the host computer 1, an electronic erasable programmable read-only memory circuit, a power supply isolation And voltage stabilizing circuit, digital-to-analog signal conversion circuit, filter and amplification circuit related to operational amplifier. The upper computer 1 communication transcoding circuit is used to realize the two-way communication between the upper computer 1 and the microscope high-speed synchronous control device 2; the electronic erasable programmable read-only storage circuit has the function of simultaneously supporting multiple copying and power-off storage, and can Realize the pre-stored data sequence in the storage module of the control box, and provide the function of power-off storage; the power supply isolation and voltage stabilization circuit is used to isolate the input voltage and the analog voltage, and to filter the voltage; the digital-to-analog signal conversion circuit is used for The analog signal with 14-bit resolution is generated to realize high synchronization during the microscope shooting process; the filtering and amplifying circuit is used to amplify the voltage and filter the amplified voltage.
主控芯片及外围电路在本实例中选用主频可到达到480MHz的STM32H7系列芯片,其外围电路包括晶振电路,烧录电路及手动重置电路。其高主频的特性可以满足高精度的时序控制,实现显微镜拍摄过程中的高度同步,发挥设备支持的最大性能。In this example, the main control chip and peripheral circuits are STM32H7 series chips whose main frequency can reach 480MHz. The peripheral circuits include crystal oscillator circuit, programming circuit and manual reset circuit. Its high main frequency feature can satisfy high-precision timing control, realize high synchronization during the microscope shooting process, and maximize the performance supported by the equipment.
上位机1通信方法在本实例中选取为USB转串口的通信方法,其通信线路简单,仅需一发一收共2根传输线即可实现双向通信。其转码电路在本实例中选用常用的串口转换芯片CH340,能够满足高波特率的串口通信。The communication method of host computer 1 is selected as the communication method of USB to serial port in this example. The communication line is simple, and only two transmission lines need to be sent and received to realize two-way communication. In this example, the transcoding circuit uses the commonly used serial port conversion chip CH340, which can meet the high baud rate serial port communication.
电子式可擦除可编程只读存储电路在本实例中选用AT24系列芯片,其具 有524,288比特的存储空间,同时支持多次复写和断电存储等功能。能够实现预存数据序列到控制盒的存储模块中,并且提供断电存储的功能。The electronic erasable programmable read-only storage circuit in this example uses the AT24 series chip, which has a storage space of 524,288 bits, and supports functions such as multiple rewriting and power-off storage. It can realize the pre-stored data sequence to the storage module of the control box, and provide the function of power-off storage.
供电隔离及稳压电路在本实例中选用TPH1515S-3W芯片用于隔离输入电压和模拟电压,并且使用LM1117S,TPS5430和TPS7A330来获得电路中所需的数字5V,数字3.3V,模拟5V,模拟12V和模拟-12V电压,并且使用相对应的方式对电压进行滤波。Power supply isolation and voltage stabilization circuit In this example, TPH1515S-3W chip is used to isolate the input voltage and analog voltage, and LM1117S, TPS5430 and TPS7A330 are used to obtain the digital 5V, digital 3.3V, analog 5V, and analog 12V required in the circuit And analog -12V voltage, and use the corresponding method to filter the voltage.
数字模拟信号转换电路在本实例中选用DAC904高速数模转换芯片用于产生14位分辨率的模拟信号,其高达165MSPS的转换速率可以满足高精度的时序控制,实现显微镜拍摄过程中的高度同步,发挥设备支持的最大性能。并且选用ADA4898将DAC904所输出的差分信号转化为单端信号。In this example, the digital-to-analog signal conversion circuit uses the DAC904 high-speed digital-to-analog conversion chip to generate 14-bit resolution analog signals. Its conversion rate up to 165MSPS can meet high-precision timing control and achieve high synchronization during the microscope shooting process. Play to the maximum performance supported by the device. And choose ADA4898 to convert the differential signal output by DAC904 into single-ended signal.
运算放大器相关的滤波及放大电路在本实例中选用AD620仪表放大器芯片作为放大模块,使用AD810作为主动低通滤波模块,使用LM358作为模拟输出的范围调节模块。显微镜高速同步控制装置2的模拟输出范围为-11V到+11V,在本实例中输出范围被调节为0-10V。In this example, AD620 instrumentation amplifier chip is used as the amplification module for the filter and amplification circuit related to the operational amplifier, AD810 is used as the active low-pass filter module, and LM358 is used as the range adjustment module of the analog output. The analog output range of the microscope high-speed synchronous control device 2 is -11V to +11V, and the output range is adjusted to 0-10V in this example.
输入电压由单独的15V稳压适配器提供,输入电压在通过DCDC变压芯片后将被转换成:为芯片供电和USB串口供电电压(数字5V),经过隔离转接后的模拟信号数模芯片电压(模拟5V)和滤波电压(模拟10V)。主控芯片通过USB串口和用户上位机1端通信,用户命令以十六进制编码的形式发送给主控芯片以及读取主控芯片返回信息。系统可设置成外部中断模式,外部的TTL信号进入后触发芯片的预存的信号输出。主控芯片在本实例中直接提供16路数字信号输出,模拟信号输出由主控芯片在数模转换和滤波后输出。The input voltage is provided by a separate 15V regulated adapter, and the input voltage will be converted after passing through the DCDC transformer chip: power supply for the chip and USB serial port power supply voltage (digital 5V), analog signal digital-analog chip voltage after isolation and transfer (analog 5V) and filter voltage (analog 10V). The main control chip communicates with terminal 1 of the user's host computer through the USB serial port, and the user command is sent to the main control chip in the form of hexadecimal code and reads the returned information from the main control chip. The system can be set to the external interrupt mode, and the external TTL signal will trigger the pre-stored signal output of the chip after entering. In this example, the main control chip directly provides 16 channels of digital signal output, and the analog signal output is output by the main control chip after digital-to-analog conversion and filtering.
在本实例中,通过将信号连接到各个设备的外部触发引脚,显微镜高速同步控制装置2的各个数字信号通道和触发通的设备功能的对应如表1所示,表 1为数字信号和触发设备功能的对应关系。In this example, by connecting the signal to the external trigger pin of each device, the correspondence between each digital signal channel of the microscope high-speed synchronization control device 2 and the device function of the trigger pass is shown in Table 1, and Table 1 is the digital signal and trigger Correspondence between device functions.
信号编号signal number 名称name 对应设备的触发方式The trigger method of the corresponding device
数字信号1digital signal 1 Camera(相机3曝光触发信号)Camera (camera 3 exposure trigger signal) 上升沿触发,开始拍摄Rising edge trigger, start shooting
数字信号2digital signal 2 SLM SPI0(空间光调制器6触发信号)SLM SPI0 (spatial light modulator 6 trigger signal) 脉冲触发,SLM显示当前ROPulse trigger, SLM displays current RO
数字信号3digital signal 3 SLM SPI1(空间光调制器6触发信号)SLM SPI1 (spatial light modulator 6 trigger signal) 脉冲触发,RO中的图像切换Pulse trigger, image switching in RO
数字信号4digital signal 4 Laser 405(405nm激光触发信号)Laser 405 (405nm laser trigger signal) 高电平有效,405nm激光开Active high, 405nm laser on
数字信号5digital signal 5 Laser 445(445nm激光触发信号)Laser 445 (445nm laser trigger signal) 高电平有效,445nm激光开Active high, 445nm laser on
数字信号6digital signal 6 Laser 488(488nm激光触发信号)Laser 488 (488nm laser trigger signal) 高电平有效,488nm激光开Active high level, 488nm laser on
数字信号7digital signal 7 Laser 515(515nm激光触发信号)Laser 515 (515nm laser trigger signal) 高电平有效,515nm激光开Active high, 515nm laser on
数字信号8digital signal 8 Laser 561(561nm激光触发信号)Laser 561 (561nm laser trigger signal) 高电平有效,561nm激光开Active high, 561nm laser on
数字信号9digital signal 9 Laser 640(640nm激光触发信号)Laser 640 (640nm laser trigger signal) 高电平有效,640nm激光开Active high level, 640nm laser on
数字信号10digital signal 10 LED_A(LED触发信号)LED_A (LED trigger signal) 高电平有效,A LED开Active high, A LED on
数字信号11Digital Signal 11 LED_B(LED触发信号)LED_B (LED trigger signal) 高电平有效,B LED开Active high, B LED on
数字信号12digital signal 12 LED_C(LED触发信号)LED_C (LED trigger signal) 高电平有效,C LED开Active high, C LED on
数字信号13digital signal 13 LED_D(LED触发信号)LED_D (LED trigger signal) 高电平有效,D LED开Active high, D LED on
数字信号14digital signal 14 ASI_IN(电动位移台7触发信号)ASI_IN (trigger signal of electric stage 7) 脉冲触发,ASI移动Pulse Triggered, ASI Mobile
数字信号15digital signal 15 LC(铁电液晶偏振旋转器触发信号)LC (trigger signal for ferroelectric liquid crystal polarization rotator) 脉冲触发,D5020切换电压Pulse trigger, D5020 switching voltage
数字信号16digital signal 16 motor(马达触发信号)motor (motor trigger signal) 高电平有效,马达震动Active high, motor vibration
实施例中,系统包括电动位移台7,数字信号包括电动位移台7触发信号,显微镜高速同步控制装置2发送电动位移台7触发信号至电动XY位移台,电动位移台7根据接收到的电动位移台7触发信号在X-Y二维平面中移动;In the embodiment, the system includes a motorized displacement platform 7, and the digital signal includes a trigger signal of the motorized displacement platform 7. The microscope high-speed synchronization control device 2 sends the trigger signal of the motorized displacement platform 7 to the electric XY displacement platform, and the motorized displacement platform 7 is based on the received motorized displacement. The trigger signal of stage 7 moves in the X-Y two-dimensional plane;
在相机3拍摄结束后,显微镜高速同步控制装置2将发出完成拍摄的电动位移台7触发信号至电动位移台7,使电动位移台7移动至下一个预设位置;After the camera 3 shoots, the microscope high-speed synchronization control device 2 will send a trigger signal to the electric displacement platform 7 that has completed the shooting, so that the electric displacement platform 7 moves to the next preset position;
在电动位移台7移动至预设位置后,将发送外部触发信号至显微镜高速同步控制装置2,使其开始下一个拍摄循环。After the electric stage 7 moves to the preset position, an external trigger signal will be sent to the microscope high-speed synchronous control device 2 to make it start the next shooting cycle.
实施例中,系统还包括压电陶瓷Z台8,数字信号包括Z台模拟信号,显微镜高速同步控制装置2发送Z台模拟信号至压电陶瓷Z台8,压电陶瓷Z台8根据接收到的Z台模拟信号上下移动;In the embodiment, the system also includes a piezoelectric ceramic Z stage 8, the digital signal includes a Z stage analog signal, and the microscope high-speed synchronization control device 2 sends the Z stage analog signal to the piezoelectric ceramic Z stage 8, and the piezoelectric ceramic Z stage 8 receives the The Z analog signal moves up and down;
在相机3拍摄循环结束后,压电陶瓷Z台8会进行上下的移动。After the shooting cycle of the camera 3 ends, the piezoelectric ceramic Z stage 8 will move up and down.
下面以具体实施例,对本申请的电动位移台7及压电陶瓷Z台8的运动进行详细说明:The motions of the electric displacement stage 7 and the piezoelectric ceramic Z stage 8 of the present application are described in detail below with specific embodiments:
参考图1至图4,本实例中提供的最小时间单位为1微秒,最小可调范围 为0.25微秒。本申请可用于编码所有引脚任意数量个任意时间长度任意电平的数据序列,使用基础方法需要明确所需的信号时间序列,即需要用户明确指定每次数字或模拟信号发生改变时的改变前电平状态,改变所发生的时间点和改变后电平状态。图3和图4展示了一次快速XY扫描拍摄流程中几路数字信号的序列,该快速XY扫描包括相机3曝光触发信号与LED光源5和激光器4触发信号的同步,以及设置微镜高速同步控制装置的信号和空间光调制器6的反馈信号做‘与’输出。图3和图4Y轴表示数字信号的电平变化,1代表数字信号的高电平,0代表数字信号的低电平。X轴表示系统运行的时间,单位为0.1毫秒。其中图4中标注的部分为图3的前220毫秒的节选部分。Referring to Figure 1 to Figure 4, the minimum time unit provided in this example is 1 microsecond, and the minimum adjustable range is 0.25 microsecond. This application can be used to encode any number of data sequences of any time length and any level on all pins. Using the basic method needs to clarify the required signal time sequence, that is, the user needs to clearly specify the change time before each digital or analog signal changes. Level state, the time point when the change occurs and the level state after the change. Figure 3 and Figure 4 show the sequence of several digital signals in a fast XY scan shooting process, the fast XY scan includes the synchronization of camera 3 exposure trigger signal and LED light source 5 and laser 4 trigger signal, and setting the micromirror high-speed synchronous control The signal of the device and the feedback signal of the spatial light modulator 6 are "ANDed" to output. 3 and 4, the Y axis represents the level change of the digital signal, 1 represents the high level of the digital signal, and 0 represents the low level of the digital signal. The X-axis represents the running time of the system, and the unit is 0.1 milliseconds. The part marked in FIG. 4 is an excerpt of the first 220 milliseconds in FIG. 3 .
本实例中的快速XY扫描拍摄流程遵循以下操作:即先从相机3触发信号发出上升沿触发相机3的曝光开启(在时间轴的0.5毫秒),在相机3从接收到上升沿信号到硬件启动完成开始拍摄需要约24毫秒。开始拍摄后(在时间轴的23.5毫秒),改变LED光源5对应的数字信号至高电平,其中LED光源5的触发方式为与数字信号完全同步,即数字信号为高电平时LED光源5开启,数字信号为低电平时LED光源5关闭。本实例中所需的LED光源5开启持续时长为50毫秒,即在时间轴的73.5毫秒数字信号变为低电平,LED光源5停止产生信号,单次拍摄结束。在本实例中多次拍摄之间的间隔被选取为20毫秒,即在93.5毫秒下一次拍摄开始。与前一个拍摄的操作相同,先使用相机3触发信号的上升沿触发相机3曝光(在时间轴的95毫秒),开始拍摄后(在时间轴的119毫秒)触发空间光调制器6(本实例中为第二路数字信号)和激光器4对应的数字信号(本实例中为第四,第五,第六,第七路数字信号)。同时,在触发空间光调制器6时,空间光调制器6的输出为经过特殊调制的TTL信号作为外部中断信号反馈到显微镜高速同步控制装置2,显微镜高速同步控 制装置2发送至激光器4的数字信号为设定的激光器4信号与作为外部中断的空间光调制器6信号做‘与’之后的输出。后面几个与激光器4相关的拍摄都遵循相同的操作,这样操作的目的是为了激光的开启关闭时序与空间光调制器6液晶的翻转时序完全同步。在一个包含LED光源5和4个激光器4信号的拍摄循环结束后,显微镜高速同步控制装置2将发出一个完成拍摄的电动位移台7触发信号,使电动位移台7移动至下一个视野,电动位移台7移动结束后,将发送一个外部触发信号至显微镜高速同步控制装置2,使其开始下一个拍摄循环。The fast XY scan shooting process in this example follows the following operations: First, the exposure of camera 3 is triggered by the rising edge of the trigger signal of camera 3 (0.5 milliseconds in the time axis), and the camera 3 starts from receiving the rising edge signal to the hardware start It takes about 24 milliseconds to finish and start shooting. After shooting starts (23.5 milliseconds on the time axis), change the digital signal corresponding to the LED light source 5 to a high level, wherein the trigger mode of the LED light source 5 is completely synchronized with the digital signal, that is, the LED light source 5 is turned on when the digital signal is high level, When the digital signal is at low level, the LED light source 5 is turned off. In this example, the LED light source 5 needs to be turned on for 50 milliseconds, that is, at 73.5 milliseconds on the time axis, the digital signal becomes low level, the LED light source 5 stops generating signals, and the single shooting ends. In this example, the interval between multiple shots is selected as 20 milliseconds, that is, the next shot starts at 93.5 milliseconds. The operation is the same as the previous shooting, first use the rising edge of the trigger signal of camera 3 to trigger the exposure of camera 3 (95 milliseconds on the time axis), and trigger the spatial light modulator 6 (in this example) after shooting starts (119 milliseconds on the time axis) In is the second digital signal) and the digital signal corresponding to the laser 4 (in this example, the fourth, fifth, sixth and seventh digital signals). At the same time, when the spatial light modulator 6 is triggered, the output of the spatial light modulator 6 is a specially modulated TTL signal fed back to the microscope high-speed synchronization control device 2 as an external interrupt signal, and the microscope high-speed synchronization control device 2 sends the digital signal to the laser 4. The signal is an output after 'ANDing' the set laser 4 signal and the spatial light modulator 6 signal as an external interrupt. The subsequent shots related to the laser 4 all follow the same operation, and the purpose of this operation is to completely synchronize the turn-on and turn-off timing of the laser with the flipping timing of the liquid crystal of the spatial light modulator 6 . After a shooting cycle including the LED light source 5 and 4 lasers 4 signals ends, the microscope high-speed synchronization control device 2 will send a trigger signal for the electric displacement stage 7 that has completed the shooting, so that the electric displacement stage 7 moves to the next field of view, and the electric displacement After the stage 7 moves, an external trigger signal will be sent to the microscope high-speed synchronous control device 2 to start the next shooting cycle.
此外在Z扫描的模式中,在每个拍摄循环结束后,压电Z台会进行一次的Z轴方向上的移动。在本实例中,一共拍摄17张照片,从压电Z台的相对居中位置(总行程为150nm,本历程选取75nm作为居中位置)的-1.6nm开始拍摄,每次拍摄循环后Z轴步进0.2nm。表2为一次XY扫描模式中数字信号及模拟信号发生的变化及所发送的数据。In addition, in the Z-scanning mode, after each shooting cycle, the piezoelectric Z stage will move in the Z-axis direction once. In this example, a total of 17 photos were taken, starting from -1.6nm at the relative center position of the piezoelectric Z stage (the total stroke is 150nm, and 75nm is selected as the center position in this process), and the Z axis is stepped after each shooting cycle 0.2nm. Table 2 shows the changes of digital signals and analog signals and the data sent in one XY scanning mode.
Figure PCTCN2021125331-appb-000001
Figure PCTCN2021125331-appb-000001
表2Table 2
按照上述操作,数字信号和模拟信号将在如下时间点发生电平的改变:0毫秒,0.5毫秒,10.5毫秒,23.5毫秒,74.5毫秒等。在每个发生电平改变的时间节点都需要一组数据对变化后的数字信号,模拟信号和本次变化持续的时间进行描述。如上表中的0ms时描述电平状态为:数字信号均为低电平,模拟信号一电压为4.8933V对应73.4nm的压电Z台高度,模拟信号二表现为常量5V。在0.5ms时,相机3触发信号(第一路数字信号)变为高电平,其数字信号转换为十六进制的0x0001,模拟信号一电压保持为4.8933V,模拟信号二保持为常量5V。在完成一个拍摄循环后,即93.5ms进入第二个拍摄循环,此时的数字信号电平状态和0.5V时一致,但是模拟信号电平步进了0.2nm,其电平表现为4.9067V,模拟信号二保持为常量5V。According to the above operation, the level of the digital signal and the analog signal will change at the following time points: 0 millisecond, 0.5 millisecond, 10.5 millisecond, 23.5 millisecond, 74.5 millisecond and so on. At each time point when a level change occurs, a set of data is required to describe the changed digital signal, analog signal and the duration of this change. As shown in the above table at 0ms, the level state is described as follows: the digital signals are all low level, the analog signal 1 voltage is 4.8933V corresponding to the piezoelectric Z stage height of 73.4nm, and the analog signal 2 is a constant 5V. At 0.5ms, the trigger signal of camera 3 (the first digital signal) becomes high level, and its digital signal is converted to 0x0001 in hexadecimal, the voltage of analog signal 1 remains at 4.8933V, and the voltage of analog signal 2 remains at a constant 5V . After completing one shooting cycle, that is, entering the second shooting cycle at 93.5ms, the digital signal level at this time is consistent with 0.5V, but the analog signal level has stepped 0.2nm, and its level is 4.9067V. Analog signal two remains constant at 5V.
上述基础控制方法能够描述所有的输出序列,但是针对一些持续时间长,序列内容相对重复的情况,一些通用的复杂方法可以减少代码冗余,提升单片机处理的效率,减少单片机处理数据序列的时间。比如针对完全重复的序列,序列中可以加入对循环次数的描述,可以实现特定输出信号以特定频率触发。此外针对用户的需求,可以定制特定的数据序列以尽可能地提高发送序列的效率。显微镜高速同步控制装置2目前包含表3数据序列的分类:The above basic control method can describe all output sequences, but for some situations with long duration and relatively repetitive sequence content, some general complex methods can reduce code redundancy, improve the efficiency of single-chip processing, and reduce the time for single-chip processing data sequences. For example, for a completely repeated sequence, a description of the number of cycles can be added to the sequence, and a specific output signal can be triggered at a specific frequency. In addition, specific data sequences can be customized to improve the efficiency of sending sequences as much as possible according to the needs of users. Microscope high-speed synchronous control device 2 currently contains the classification of data sequences in Table 3:
Figure PCTCN2021125331-appb-000002
Figure PCTCN2021125331-appb-000002
Figure PCTCN2021125331-appb-000003
Figure PCTCN2021125331-appb-000003
表3table 3
显微镜高速同步控制系统的控制方法如图5所示。本实例中,显微镜成像相机3的拍摄过程首先由PC端设定相机3曝光时间,光源强度等参数,根据相关设备的触发模式设置相机3和光源处于等待状态。本申请实例中,在XY扫描的模式中,显微镜使用ASI公司的MS2000电动位移台7作为XY电动位移台7,加载具有ARRAY扫描的快速XY固件,激光器4使用Coherent的OBIS系列激光,LED使用Thorlabs的LED或者CoolLED公司的PE4000系列,空间光调制器6使用ForthDD的QXGA-R10系列芯片。用显微镜高速同步控制装置2的TTL电平作为脉冲信号触发XY电动位移台7的移动,电动位移台7在移动到位后发送TTL脉冲信号作为控制系统的外部中断,触发控制系统已经写入存储的时序发送,实现相机3,光源等设备的曝光,完成显微镜图像的拍摄。使用电动位移台7移动到位的信号作为下一次信号的触发,使用预存的序列提升设备的运行效率。在Z扫描的模式中,由0-10V模拟电压控制压电陶瓷Z台8,在每个模拟信号步长内发送拍摄序列完成各个通道的显微镜图像拍摄。综上,实现对时间、XY及Z扫描和通道的多维显微镜拍摄。The control method of the microscope high-speed synchronous control system is shown in Figure 5. In this example, during the shooting process of the microscope imaging camera 3, firstly, the exposure time of the camera 3, the intensity of the light source and other parameters are set on the PC side, and the camera 3 and the light source are set to be in a waiting state according to the trigger mode of the related equipment. In the example of this application, in the XY scanning mode, the microscope uses the MS2000 electric translation stage 7 of ASI Company as the XY electric translation stage 7, and loads the fast XY firmware with ARRAY scanning. The laser 4 uses Coherent’s OBIS series laser, and the LED uses Thorlabs The LED or CoolLED company's PE4000 series, the spatial light modulator 6 uses ForthDD's QXGA-R10 series chip. Use the TTL level of the microscope high-speed synchronous control device 2 as a pulse signal to trigger the movement of the XY electric translation stage 7, and the electric translation stage 7 will send a TTL pulse signal as an external interrupt of the control system after the electric translation stage 7 moves in place, and the trigger control system has been written into the stored Time-sequential transmission realizes the exposure of the camera 3, light source and other equipment, and completes the shooting of the microscope image. Use the signal that the electric stage 7 is in place as the trigger for the next signal, and use the pre-stored sequence to improve the operating efficiency of the equipment. In the Z scan mode, the piezoelectric ceramic Z stage 8 is controlled by an analog voltage of 0-10V, and a shooting sequence is sent in each analog signal step to complete the microscope image shooting of each channel. In summary, multi-dimensional microscope shooting of time, XY and Z scans and channels is realized.
参考图7和图8,描述了显微镜高速同步控制装置2在系统中交互的两个主要的常规流程,图7描述了显微镜高速同步控制系统使用过程中的输入流程,主要包括上位机1和显微镜高速同步控制装置2之间的交互。用户在上位机1端编辑数据指令并且可以用特定软件产生可视化的序列进行查验。发送数据指令至显微镜高速同步控制装置2后,装置本身也会对指令进行查验,并且 提供反馈,在某些高速连续输出的情况下可以屏蔽掉查验和反馈阶段以达到提升运行速度的目的。如查验序列正确,数据指令将会储存在缓存中,并且由主控芯片判断是否要存入电子式可擦除可编程只读存储电路中,并且进入等待模式。Referring to Fig. 7 and Fig. 8, it describes the two main routine processes of the interaction of the microscope high-speed synchronous control device 2 in the system. Fig. 7 describes the input process during the use of the microscope high-speed synchronous control system, which mainly includes the host computer 1 and the microscope Interaction between devices 2 is controlled synchronously at high speed. The user edits data instructions on the host computer 1 and can use specific software to generate a visualized sequence for inspection. After sending data instructions to the microscope high-speed synchronous control device 2, the device itself will check the instructions and provide feedback. In the case of some high-speed continuous output, the inspection and feedback stages can be shielded to achieve the purpose of increasing the operating speed. If the check sequence is correct, the data command will be stored in the cache, and the main control chip will judge whether to store it in the electronic erasable programmable read-only memory circuit, and enter the waiting mode.
图8描述了显微镜高速同步控制系统使用过程中的常规输出流程,主要包括了上位机1,显微镜高速同步控制装置2和显微镜外设之间的交互。通常情况下,用户需要先对显微镜外设进行设置,如图7和图8所示,用户需要在上位机1端对相机3的曝光时间等参数进行设置。设置后即可开始触发阶段,目前有两种方式可以触发输出信号,第一种为使用上位机1直接发送触发指令,第二种为外设在准备完成后发送外部中断信号,第二种方式相对来说可以提供更快的触发速度。接收到指令后,由主控芯片判断是否要读取电子式可擦除可编程只读存储电路中的数据。如图8中描述的操作,在一个拍摄循环结束后,显微镜高速同步控制装置2将判断是否完成所有操作,如果为完成则发出一个完成拍摄的电动位移台7触发信号,使电动位移台7移动至下一个视野,电动位移台7移动结束后,将发送一个外部触发信号至显微镜高速同步控制装置2,使其开始下一个拍摄循环。如果完成所有操作,将结束循环,并且等待后续的指令。Figure 8 describes the routine output flow during the use of the microscope high-speed synchronization control system, which mainly includes the interaction between the host computer 1, the microscope high-speed synchronization control device 2 and the microscope peripherals. Usually, the user needs to set the peripherals of the microscope first, as shown in Figure 7 and Figure 8, the user needs to set the exposure time and other parameters of the camera 3 on the host computer 1. After setting, the trigger stage can be started. There are currently two ways to trigger the output signal. The first is to use the host computer 1 to directly send the trigger command. The second is to send the external interrupt signal after the peripheral device is ready. The second way Relatively speaking, it can provide a faster trigger speed. After receiving the instruction, the main control chip judges whether to read the data in the electronic erasable programmable read-only memory circuit. As in the operation described in Figure 8, after a shooting cycle ends, the microscope high-speed synchronous control device 2 will judge whether all operations are completed, and if it is completed, then send a trigger signal for the electric translation platform 7 that has completed the shooting, so that the electric translation platform 7 can move To the next field of view, after the motorized stage 7 moves, it will send an external trigger signal to the microscope high-speed synchronous control device 2 to make it start the next shooting cycle. If all operations are complete, the loop will end and the next instruction will be awaited.
如图3所示,为多路信号在一次快速XY扫描中的信号输出,其基础模式下的数据指令为:As shown in Figure 3, it is the signal output of multiple signals in a fast XY scan, and the data command in the basic mode is:
80010027108000003200820000C99080000052D0800100271080000032008008000320800A002A30800200012C8000002C248008000320800A002A3080000029048008000320800A002A3080000029048008000320800A002A3080000029048008000320800A002A308000004E848001002710800000320080200003208022002A30800200012C8000 002C2480200003208022002A30800000290480200003208022002A30800000290480200003208022002A30800000290480200003208022002A308000004E848001002710800000320080800003208082002A30800200012C8000002C2480800003208082002A30800000290480800003208082002A30800000290480800003208082002A30800000290480800003208082002A308000004E848001002710800000320081000003208102002A30800200012C8000002C2481000003208102002A30800000290481000003208102002A30800000290481000003208102002A30800000290481000003208102002A308000000190A00000025880000001F4200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000。80010027108000003200820000C99080000052D0800100271080000032008008000320800A002A30800200012C8000002C248008000320800A8002A308000002 A002A3080000029048008000320800A002A3080000029048008000320800A002A308000004E848001002710800000320080200003208022002A30800200020C00120 3208022002A30800000290480200003208022002A30800000290480200003208022002A30800000290480200003208022002A308000004E8480010002003080 82002A30800200012C8000002C2480800003208082002A30800000290480800003208082002A30800000290480800003208082002A3080000029048080200803208080200803 E848001002710800000320081000003208102002A30800200012C8000002C2481000003208102002A30800000290481000003208102002A3081030000029003020202 0000290481000003208102002A308000000190A00000025880000001F420002000200020002000200020002000200020002000200020002000200020002002020 02000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020 2000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020 20 002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000.
其中每十位数据为一组电平发生改变时所需要数据,前四位数据为本次电平改变后数字信号所代表的十六进制数字,后六位数据代表距离下一次电平改变发生的时间。Among them, every ten digits of data is the data required when a group of level changes, the first four digits are the hexadecimal numbers represented by the digital signal after this level change, and the last six digits represent the distance from the next level change time of occurrence.
实施例2Example 2
根据本申请一实施例,提供了一种显微镜同步控制方法,参见图6,包括以下步骤:According to an embodiment of the present application, a microscope synchronization control method is provided, as shown in FIG. 6 , including the following steps:
S101:显微镜高速同步控制装置接收数据序列,并且显微镜高速同步控制装置查验数据序列是否符合规范;S101: The microscope high-speed synchronization control device receives the data sequence, and the microscope high-speed synchronization control device checks whether the data sequence meets the specification;
S102:若符合规范,则将数据序列储存;S102: If the specification is met, store the data sequence;
S103:判断数据序列是否为储存模式,若不是则进入等待模式,若是,则储存数据序列到显微镜高速同步控制装置内的存储电路,并进入等待模式;S103: Determine whether the data sequence is in the storage mode, if not, enter the waiting mode, if so, store the data sequence to the storage circuit in the microscope high-speed synchronization control device, and enter the waiting mode;
S104:显微镜高速同步控制装置接收到触发信号,触发至少携带有数据序列,显微镜高速同步控制装置查验数据序列;S104: The microscope high-speed synchronization control device receives the trigger signal, the trigger carries at least a data sequence, and the microscope high-speed synchronization control device checks the data sequence;
S105:调用数据数列,将显微镜高速同步控制装置中的数据序列读取并进行缓存;S105: call the data sequence, read and cache the data sequence in the high-speed synchronization control device of the microscope;
S106:调用缓存的数据序列,基于数据序列,输出数字信号,基于数字信号实现对LED光源和相机的时序精准控制,使相机进行拍摄。S106: call the cached data sequence, output digital signals based on the data sequence, realize precise timing control of the LED light source and the camera based on the digital signal, and enable the camera to shoot.
本申请通过显微镜高速同步控制装置基于数据序列,输出数字信号,控制相机在复杂的显微镜系统中相机的精准拍摄。This application uses the microscope high-speed synchronization control device to output digital signals based on the data sequence to control the precise shooting of the camera in the complex microscope system.
下面以具体实施例,对本申请的显微镜同步控制方法进行详细说明:The microscope synchronous control method of the present application will be described in detail below with specific examples:
步骤一:上位机1和显微镜高速同步控制装置2之间进行交互,用户在上位机1端编辑携带有数据序列的数据指令至显微镜高速同步控制装置2;用户在上位机1端编辑数据指令并且可以用特定软件产生可视化的序列进行查验;此外,通过显微镜高速同步控制装置2本身也可以对序列进行查验数据序列是否符合规范并且可以正确识别,并且提供反馈,在某些高速连续输出的情况下可以屏蔽掉查验和反馈阶段以达到提升运行速度的目的。Step 1: The host computer 1 interacts with the microscope high-speed synchronous control device 2. The user edits the data command carrying the data sequence at the host computer 1 end and sends it to the microscope high-speed synchronous control device 2; the user edits the data command at the host computer 1 end and Specific software can be used to generate visualized sequences for inspection; in addition, through the microscope high-speed synchronous control device 2 itself, the sequence can also be inspected to see if the data sequence conforms to the specification and can be correctly identified, and feedback is provided. In some cases of high-speed continuous output The inspection and feedback stages can be blocked to achieve the purpose of improving the running speed.
步骤二:若查验数据序列符合规范或查验序列正确,数据序列将会储存在缓存中。Step 2: If the verification data sequence conforms to the specification or the verification sequence is correct, the data sequence will be stored in the cache.
步骤三:由主控芯片判断数据序列是否要存入电子式可擦除可编程只读存储电路中,若不是则进入等待模式,否则储存数据序列到显微镜高速同步控制装置2内的存储电路,并进入等待模式。Step 3: Determine whether the data sequence is to be stored in the electronic erasable programmable read-only storage circuit by the main control chip, if not, enter the waiting mode, otherwise store the data sequence to the storage circuit in the microscope high-speed synchronization control device 2, and enter standby mode.
上述步骤一至步骤三为显微镜高速同步控制系统使用过程中的输入流程, 如图7所示。The above steps 1 to 3 are the input process during the use of the high-speed synchronous control system of the microscope, as shown in FIG. 7 .
步骤四:显微镜高速同步控制装置2接收到触发信号,触发至少携带有数据序列,显微镜高速同步控制装置2查验数据序列;Step 4: The microscope high-speed synchronization control device 2 receives the trigger signal, the trigger carries at least a data sequence, and the microscope high-speed synchronization control device 2 checks the data sequence;
在显微镜高速同步控制装置2接收到触发信号之前还包括:Before the microscope high-speed synchronous control device 2 receives the trigger signal, it also includes:
设置相机3的曝光时间等参数。Set parameters such as the exposure time of camera 3.
具体地,显微镜高速同步控制装置2和显微镜外设之间的交互。通常情况下,用户需要先对显微镜外设进行设置,在上位机1端对相机3的曝光时间等参数进行设置,设置后即可开始触发阶段。Specifically, the microscope high-speed synchronization controls the interaction between the device 2 and the microscope peripherals. Usually, the user needs to set the peripherals of the microscope first, then set the exposure time and other parameters of the camera 3 on the host computer 1, and then start the trigger stage after setting.
目前有两种方式可以触发输出信号,第一种为使用上位机1直接发送触发指令,第二种为外设在准备完成后发送外部中断信号,第二种方式相对来说可以提供更快的触发速度。At present, there are two ways to trigger the output signal. The first way is to use the host computer 1 to directly send the trigger command, and the second way is to send the external interrupt signal after the peripheral device is ready. The second way can provide relatively faster trigger speed.
步骤五:接收触发信号到后,由显微镜高速同步控制装置2的主控芯片判断是否要读取电子式可擦除可编程只读存储电路中的数据。若是调用数据数列,将显微镜高速同步控制装置2中的数据序列读取并进行缓存。Step 5: After receiving the trigger signal, the main control chip of the microscope high-speed synchronization control device 2 judges whether to read the data in the electronic erasable programmable read-only memory circuit. If the data sequence is called, the data sequence in the microscope high-speed synchronous control device 2 is read and cached.
步骤六:调用缓存的数据序列,基于数据序列,输出数字信号至相机3、压电陶瓷Z台8、电动XY位移台、LED光源5及空间光调制器6,使得LED光源5和相机3的时序精准控制,使相机3进行拍摄。Step 6: call the cached data sequence, based on the data sequence, output the digital signal to the camera 3, the piezoelectric ceramic Z stage 8, the electric XY translation stage, the LED light source 5 and the spatial light modulator 6, so that the LED light source 5 and the camera 3 Precise timing control enables the camera 3 to shoot.
上述步骤四至步骤六为显微镜高速同步控制系统使用过程中的输出流程,如图8所示。The above steps 4 to 6 are the output process during the use of the high-speed synchronous control system of the microscope, as shown in FIG. 8 .
实施例中,在基于数字信号实现对LED光源5和相机3的时序精准控制,使相机3进行拍摄之后还包括:In the embodiment, after realizing the precise timing control of the LED light source 5 and the camera 3 based on the digital signal, and making the camera 3 take pictures, it also includes:
显微镜高速同步控制装置2判断是否完成拍摄;The microscope high-speed synchronous control device 2 judges whether the shooting is completed;
若是则结束拍摄,否则控制相机3进行X-Y二维平面上的移动并进行拍 摄,直至完成X-Y二维平面的拍摄。If then end shooting, otherwise control camera 3 to move on the X-Y two-dimensional plane and shoot until finishing the shooting on the X-Y two-dimensional plane.
具体地,在一个拍摄循环结束后,显微镜高速同步控制装置2将判断拍摄是否完成拍摄,如果未完成则显微镜高速同步控制装置2发出一个完成拍摄的电动位移台7触发信号,电动XY位移台收到触发信号后位移,使电动位移台7移动至下一个视野,电动XY位移台移动结束后,将发送一个外部触发信号至显微镜高速同步控制装置2,使其开始下一个拍摄循环。如果完成所有操作,则将结束循环,并且等待后续的指令。Specifically, after a shooting cycle ends, the microscope high-speed synchronous control device 2 will judge whether the shooting is completed, if not, the microscope high-speed synchronous control device 2 sends a trigger signal for the electric translation platform 7 that has completed the shooting, and the electric XY translation platform closes After receiving the trigger signal, the motorized stage 7 moves to the next field of view. After the motorized XY stage moves, an external trigger signal will be sent to the microscope high-speed synchronization control device 2 to start the next shooting cycle. If all operations are completed, the loop will be terminated and subsequent instructions will be awaited.
实施例中,在完成X-Y二维平面的拍摄之后还包括:In the embodiment, after the shooting of the X-Y two-dimensional plane is completed, it also includes:
显微镜高速同步控制装置2接收控制相机3进行上或下移动,以实现另一视距的拍摄,直至完成拍摄。The microscope high-speed synchronous control device 2 receives and controls the camera 3 to move up or down to realize shooting at another viewing distance until the shooting is completed.
在显微镜高速同步控制装置2判断是否完成拍摄之前还包括:Before the microscope high-speed synchronous control device 2 judges whether the shooting is completed, it also includes:
预设在相机3每一个X-Y二维平面拍摄的次数;Preset the number of shots taken on each X-Y two-dimensional plane of the camera 3;
预设相机3上或下移动的次数,及每次移动的距离。The number of times the camera 3 moves up or down, and the distance of each movement are preset.
本申请显微镜高速同步控制系统中,用显微镜高速同步控制装置2的TTL电平作为脉冲信号触发XY电动位移台7的移动,电动位移台7在移动到位后发送TTL脉冲信号作为控制系统的外部中断,触发控制系统已经写入存储的时序发送,实现相机3,光源等设备的曝光,完成显微镜图像的拍摄。使用电动位移台7移动到位的信号作为下一次信号的触发,使用预存的序列提升设备的运行效率。In the microscope high-speed synchronous control system of this application, the TTL level of the microscope high-speed synchronous control device 2 is used as a pulse signal to trigger the movement of the XY electric translation platform 7, and the electric translation platform 7 sends a TTL pulse signal as an external interruption of the control system after moving in place , the trigger control system has been written into the stored time sequence to realize the exposure of the camera 3, the light source and other equipment, and complete the shooting of the microscope image. Use the signal that the electric stage 7 is in place as the trigger for the next signal, and use the pre-stored sequence to improve the operating efficiency of the equipment.
相对于现有技术,本申请能够解决目前显微镜的拍摄时序控制上的高度同步问题,实现高速地同步拍摄。其整体结构简单,成本较低,实际操作方便,兼容性广,对提高显微镜拍摄效率和减少荧光成像时的光漂白等具有重大意义。如图1所示,物镜10通过荧光滤光块9进行观察,相机3通过荧光滤光 块9进行拍摄。Compared with the prior art, the present application can solve the problem of high synchronization in the shooting timing control of the current microscope, and realize high-speed synchronous shooting. The overall structure is simple, the cost is low, the actual operation is convenient, and the compatibility is wide, which is of great significance for improving the efficiency of microscope shooting and reducing photobleaching in fluorescence imaging. As shown in Figure 1, the objective lens 10 observes through the fluorescence filter block 9, and the camera 3 takes pictures through the fluorescence filter block 9.
本申请已经过荧光显微镜图像拍摄的实际上机测试验证,完全可以实现对多视野,多通道荧光的拍摄。经过编辑显微镜拍摄协议的时序,控制相机3曝光,光源开启,空间光调制器6的同步。操作简单,适用性广,而且整体成本低,由此本申请具有较大的发展前景和商业价值。This application has been verified by the actual machine test of fluorescent microscope image shooting, and can fully realize the shooting of multi-field and multi-channel fluorescence. After editing the timing of the microscope shooting protocol, control the exposure of the camera 3, turn on the light source, and the synchronization of the spatial light modulator 6. The operation is simple, the applicability is wide, and the overall cost is low, so the application has great development prospects and commercial value.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the application. Therefore, the present application will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

  1. 一种显微镜同步控制系统,其特征在于,包括:上位机、显微镜高速同步控制装置、相机、激光器、LED光源及空间光调制器;A microscope synchronization control system, characterized in that it includes: a host computer, a microscope high-speed synchronization control device, a camera, a laser, an LED light source, and a spatial light modulator;
    所述上位机通过串口与所述显微镜高速同步控制装置连接,用于发送特定的设置序列与数据序列对所述显微镜高速同步控制装置进行设置或发送触发序列控制所述显微镜高速同步控制装置产生数字信号;The host computer is connected to the microscope high-speed synchronization control device through a serial port, and is used to send a specific setting sequence and data sequence to set the microscope high-speed synchronization control device or send a trigger sequence to control the microscope high-speed synchronization control device to generate digital Signal;
    所述显微镜高速同步控制装置根据所述数字信号控制所述相机、激光器、LED光源及空间光调制器和模拟信号控制所述压电陶瓷Z台的同步运行,所述数字信号包括相机曝光触发信号、LED光源触发信号、激光器触发信号及空间光调制器触发信号,所述模拟信号控制压电陶瓷Z台的水平高度;The microscope high-speed synchronization control device controls the camera, laser, LED light source and spatial light modulator and analog signals to control the synchronous operation of the piezoelectric ceramic Z stage according to the digital signal, the digital signal includes a camera exposure trigger signal , LED light source trigger signal, laser trigger signal and spatial light modulator trigger signal, the analog signal controls the horizontal height of piezoelectric ceramic Z stage;
    所述显微镜高速同步控制装置发送所述相机拍摄触发信号至所述相机,控制所述相机进行拍摄;所述显微镜高速同步控制装置发送数字信号至所述LED电源,控制所述LED电源开启;The microscope high-speed synchronization control device sends the camera shooting trigger signal to the camera to control the camera to shoot; the microscope high-speed synchronization control device sends a digital signal to the LED power supply to control the LED power supply to turn on;
    所述显微镜高速同步控制装置发送激光器触发信号至所述激光器,所述显微镜高速同步控制装置发送调制器触发信号至所述空间光调制器,在所述相机进行拍摄时,触发所述空间光调制器,所述空间光调制器输出TTL信号到所述显微镜高速同步控制装置,所述显微镜高速同步控制装置发送所述激光器触发信号及空间光调制器触发信号做“与”之后的信号至所述激光器和空间调制器,以同步空间光调制器和激光器的输入信号,实现对所述LED光源和相机的时序精准控制,使所述相机进行拍摄。The microscope high-speed synchronization control device sends a laser trigger signal to the laser, the microscope high-speed synchronization control device sends a modulator trigger signal to the spatial light modulator, and triggers the spatial light modulation when the camera is shooting The spatial light modulator outputs a TTL signal to the microscope high-speed synchronization control device, and the microscope high-speed synchronization control device sends the signal after the "AND" of the laser trigger signal and the spatial light modulator trigger signal to the The laser and the spatial modulator are used to synchronize the input signals of the spatial light modulator and the laser to realize precise timing control of the LED light source and the camera, so that the camera can take pictures.
  2. 根据权利要求1所述的显微镜同步控制系统,其特征在于,所述系统还包括电动位移台,所述数字信号还包括电动位移台触发信号,所述显微镜高速同 步控制装置发送所述电动位移台触发信号至所述电动XY位移台,所述电动位移台根据接收到的所述电动位移台触发信号在X-Y二维平面中移动;The microscope synchronous control system according to claim 1, wherein the system also includes a motorized stage, the digital signal also includes a trigger signal of the motorized stage, and the microscope high-speed synchronization control device sends the motorized stage A trigger signal is sent to the electric XY stage, and the electric stage moves in the X-Y two-dimensional plane according to the received trigger signal of the electric stage;
    在所述相机拍摄结束后,所述显微镜高速同步控制装置将发出完成拍摄的所述电动位移台触发信号至所述电动位移台,使电动位移台移动至下一个预设位置;After the camera shoots, the high-speed synchronous control device of the microscope will send a trigger signal to the electric displacement stage to move the electric displacement stage to the next preset position;
    在所述电动位移台移动至预设位置后,将发送外部触发信号至所述显微镜高速同步控制装置,使其开始下一个拍摄循环。After the electric stage moves to the preset position, an external trigger signal will be sent to the high-speed synchronous control device of the microscope to start the next shooting cycle.
  3. 根据权利要求2所述的显微镜同步控制系统,其特征在于,所述系统还包括压电陶瓷Z台,所述数字信号还包括Z台模拟信号,所述显微镜高速同步控制装置发送所述Z台模拟信号至所述压电陶瓷Z台,所述压电陶瓷Z台根据接收到的所述Z台模拟信号上下移动;The microscope synchronization control system according to claim 2, wherein the system also includes a piezoelectric ceramic Z stage, the digital signal also includes an analog signal of the Z stage, and the microscope high-speed synchronization control device sends the Z stage An analog signal is sent to the piezoelectric ceramic Z stage, and the piezoelectric ceramic Z stage moves up and down according to the received analog signal of the Z stage;
    在所述相机拍摄循环结束后,所述压电陶瓷Z台会进行上下的移动。After the camera shooting cycle ends, the piezoelectric ceramic Z stage will move up and down.
  4. 根据权利要求2所述的显微镜同步控制系统,其特征在于,所述显微镜高速同步控制装置包括集成电路板及外接的电源适配器,所述集成电路板上设置有主控芯片,所述主控芯片连接有两个数模芯片,两个所述数模芯片各连接有运放滤波器,所述电源适配器为所述系统供电;所述电源适配器为所述主控芯片提供变压芯片转换后的电压,所述电源适配器为两个所述数模芯片提供数模芯片电压、为两个所述运放滤波器提供滤波电压;The microscope synchronization control system according to claim 2, wherein the microscope high-speed synchronization control device includes an integrated circuit board and an external power adapter, the integrated circuit board is provided with a main control chip, and the main control chip Two digital-analog chips are connected, each of the two digital-analog chips is connected with an operational amplifier filter, and the power adapter supplies power to the system; Voltage, the power adapter provides the digital-analog chip voltage for the two digital-analog chips, and provides the filter voltage for the two op-amp filters;
    两个所述运放滤波器各自输出模拟信号,所述主控芯片提供十六路数字信号输出。The two op-amp filters output analog signals respectively, and the main control chip provides sixteen digital signal outputs.
  5. 根据权利要求4所述的显微镜同步控制系统,其特征在于,所述集成电路板上还设置有上位机通信转码电路、电子式可擦除可编程只读存储电路、供电隔离及稳压电路、数字模拟信号转换电路、滤波及放大电路;The microscope synchronous control system according to claim 4, wherein the integrated circuit board is also provided with a host computer communication transcoding circuit, an electronic erasable programmable read-only storage circuit, a power supply isolation and voltage stabilization circuit , digital-to-analog signal conversion circuit, filter and amplifier circuit;
    所述上位机通信转码电路,用于实现所述上位机与所述显微镜高速同步控制装置的双向通信;The upper computer communication transcoding circuit is used to realize the two-way communication between the upper computer and the microscope high-speed synchronization control device;
    电子式可擦除可编程只读存储电路,具有同时支持多次复写和断电存储功能,能够实现预存数据序列到控制盒的存储模块中,并且提供断电存储的功能;The electronic erasable programmable read-only storage circuit has the function of supporting multiple rewriting and power-off storage at the same time, and can realize the pre-stored data sequence to the storage module of the control box, and provide the function of power-off storage;
    供电隔离及稳压电路,用于隔离输入电压和模拟电压,并且对电压进行滤波;Power supply isolation and voltage stabilization circuit, used to isolate input voltage and analog voltage, and filter the voltage;
    所述数字模拟信号转换电路,用于产生多路独立十四位分辨率的模拟信号,实现显微镜拍摄过程中的高度同步;The digital-to-analog signal conversion circuit is used to generate multiple independent analog signals with 14-bit resolution, so as to realize high synchronization during the microscope shooting process;
    滤波及放大电路,用于对电压进行放大及对放大后的电压进行滤波处理。The filtering and amplifying circuit is used for amplifying the voltage and performing filtering processing on the amplified voltage.
  6. 一种显微镜同步控制方法,其特征在于,包括以下步骤:A microscope synchronous control method, characterized in that, comprising the following steps:
    显微镜高速同步控制装置接收数据序列,并且所述显微镜高速同步控制装置查验所述数据序列是否符合规范;The microscope high-speed synchronization control device receives the data sequence, and the microscope high-speed synchronization control device checks whether the data sequence meets the specification;
    若符合规范,则将所述数据序列储存;If the specification is met, the data sequence is stored;
    判断所述数据序列是否为储存模式,若不是则进入等待模式,若是,则储存所述数据序列到所述显微镜高速同步控制装置内的存储电路,并进入等待模式;Judging whether the data sequence is in the storage mode, if not, entering the waiting mode, if so, storing the data sequence to the storage circuit in the microscope high-speed synchronous control device, and entering the waiting mode;
    所述显微镜高速同步控制装置接收到触发信号,所述触发至少携带有所述数据序列,所述显微镜高速同步控制装置查验所述数据序列;The microscope high-speed synchronization control device receives a trigger signal, the trigger carries at least the data sequence, and the microscope high-speed synchronization control device checks the data sequence;
    调用所述数据数列,将显微镜高速同步控制装置中的所述数据序列读取并进行缓存;calling the data sequence, reading and caching the data sequence in the microscope high-speed synchronous control device;
    调用缓存的所述数据序列,基于所述数据序列,输出数字信号,基于所述数字信号实现对LED光源和相机的时序精准控制,使所述相机进行拍摄。The buffered data sequence is called, and based on the data sequence, a digital signal is output, and based on the digital signal, the precise timing control of the LED light source and the camera is realized, so that the camera can shoot.
  7. 根据权利要求6所述的显微镜同步控制方法,其特征在于,在所述显微镜 高速同步控制装置接收到触发信号之前还包括:Microscope synchronous control method according to claim 6, is characterized in that, before described microscope high-speed synchronous control device receives trigger signal, also comprises:
    设置所述相机的曝光时间等参数。Parameters such as exposure time of the camera are set.
  8. 根据权利要求6所述的显微镜同步控制方法,其特征在于,在所述基于所述数字信号实现对LED光源和相机的时序精准控制,使所述相机进行拍摄之后还包括:The microscope synchronous control method according to claim 6, characterized in that, after realizing the precise timing control of the LED light source and the camera based on the digital signal, and making the camera shoot, it also includes:
    所述显微镜高速同步控制装置判断是否完成拍摄;The microscope high-speed synchronous control device judges whether the shooting is completed;
    若是则结束拍摄,否则控制所述相机进行X-Y二维平面上的移动并进行拍摄,直至完成所述X-Y二维平面的拍摄。If so, end the shooting, otherwise control the camera to move on the X-Y two-dimensional plane and shoot until the shooting on the X-Y two-dimensional plane is completed.
  9. 根据权利要求8所述的显微镜同步控制方法,其特征在于,在所述完成所述X-Y二维平面的拍摄之后还包括:The microscope synchronous control method according to claim 8, further comprising:
    所述显微镜高速同步控制装置接收控制所述相机进行上或下移动,以实现另一视距的拍摄,直至完成拍摄。The high-speed synchronous control device of the microscope receives and controls the camera to move up or down to realize shooting at another viewing distance until the shooting is completed.
  10. 根据权利要求9所述的显微镜同步控制方法,其特征在于,在所述显微镜高速同步控制装置判断是否完成拍摄之前还包括:The microscope synchronization control method according to claim 9, characterized in that before the microscope high-speed synchronization control device judges whether the shooting is completed, it also includes:
    预设在所述相机每一个所述X-Y二维平面拍摄的次数;preset the number of times of shooting on each of the X-Y two-dimensional planes of the camera;
    预设所述相机上或下移动的次数,及每次移动的距离。The number of times the camera moves up or down, and the distance of each movement are preset.
PCT/CN2021/125331 2021-10-21 2021-10-21 Microscope synchronization control system and method WO2023065222A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/125331 WO2023065222A1 (en) 2021-10-21 2021-10-21 Microscope synchronization control system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/125331 WO2023065222A1 (en) 2021-10-21 2021-10-21 Microscope synchronization control system and method

Publications (1)

Publication Number Publication Date
WO2023065222A1 true WO2023065222A1 (en) 2023-04-27

Family

ID=86058690

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/125331 WO2023065222A1 (en) 2021-10-21 2021-10-21 Microscope synchronization control system and method

Country Status (1)

Country Link
WO (1) WO2023065222A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020089740A1 (en) * 2001-01-11 2002-07-11 Wetzel Arthur W. System for microscopic digital montage imaging using a pulse light illumination system
CN101661159A (en) * 2008-08-25 2010-03-03 麦克奥迪实业集团有限公司 Two-dimensional modulation technique-based method for acquiring shear-layer images
CN102143342A (en) * 2010-02-02 2011-08-03 普莱姆森斯有限公司 Synchronization of projected illumination with rolling shutter of image sensor
CN103792654A (en) * 2014-01-26 2014-05-14 中国科学院苏州生物医学工程技术研究所 Structured light lighting optical system
CN108490596A (en) * 2017-12-29 2018-09-04 三英精控(天津)仪器设备有限公司 A kind of big visual field slice micro imaging system of high-speed area array scanning
CN109739016A (en) * 2019-01-16 2019-05-10 中国科学院苏州生物医学工程技术研究所 Based on Structured Illumination microscope rapid three dimensional imaging system and synchronisation control means
CN113031242A (en) * 2021-03-10 2021-06-25 上海交通大学 Short-exposure high-speed surface scanning rigid splicing microscopic imaging system and method
WO2021160723A1 (en) * 2020-02-12 2021-08-19 Universitetet I Oslo Microscope apparatus

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020089740A1 (en) * 2001-01-11 2002-07-11 Wetzel Arthur W. System for microscopic digital montage imaging using a pulse light illumination system
CN101661159A (en) * 2008-08-25 2010-03-03 麦克奥迪实业集团有限公司 Two-dimensional modulation technique-based method for acquiring shear-layer images
CN102143342A (en) * 2010-02-02 2011-08-03 普莱姆森斯有限公司 Synchronization of projected illumination with rolling shutter of image sensor
CN103792654A (en) * 2014-01-26 2014-05-14 中国科学院苏州生物医学工程技术研究所 Structured light lighting optical system
CN108490596A (en) * 2017-12-29 2018-09-04 三英精控(天津)仪器设备有限公司 A kind of big visual field slice micro imaging system of high-speed area array scanning
CN109739016A (en) * 2019-01-16 2019-05-10 中国科学院苏州生物医学工程技术研究所 Based on Structured Illumination microscope rapid three dimensional imaging system and synchronisation control means
WO2021160723A1 (en) * 2020-02-12 2021-08-19 Universitetet I Oslo Microscope apparatus
CN113031242A (en) * 2021-03-10 2021-06-25 上海交通大学 Short-exposure high-speed surface scanning rigid splicing microscopic imaging system and method

Similar Documents

Publication Publication Date Title
JP2019049751A (en) Fully automatic rapid microscope slide scanner
CN1627175A (en) Display image generating device comprising converting function of resolution
CN202771098U (en) PC interface control type imaging microscope
CN101144966A (en) Test device for mobile phone camera module with automatic focusing function and the test method
CN104133288A (en) Continuous zooming and automatic focusing microscopic imaging device and method for living tissues
CN101101857B (en) Defect repairing device
WO2023065222A1 (en) Microscope synchronization control system and method
CN101126700A (en) Pollen image data analysis method and system
EP1749231B1 (en) Improvements in and relating to image capture
CN111679416A (en) Automatic scanner for microscope slide
CN210720869U (en) Cell micro-microscopic image acquisition device
CN109061865A (en) It is a kind of can auto-focusing more multiplying power microscopic structures
CN107229170B (en) Projection method based on Lissajous image scanning
CN116009229A (en) Microscope synchronous control system and method
CN201286132Y (en) Area image sensor high speed scanner, copy machine having browsing function
CN108845784A (en) A kind of display screen Mura compensation method and device
CN209388027U (en) It is a kind of that mobile phone is fixed on to the device that microscope is convenient for mobile phone microscopic photography
CN209858866U (en) Automatically adjustable laser beam expanding/contracting device
CN111486791A (en) Device for adaptively adjusting light quality of sine stripe structure and operation method
CN106291891A (en) Linear many grades of zoom camera lenses
CN201550179U (en) Plane image acquisition device with rotatable lens
CN204993677U (en) Video acquisition treatment circuit of medical treatment camera system
CN1893560A (en) Electronic equipment and menu display method
CN217385882U (en) Femtosecond laser pulse time sequence control system for preparing chirped fiber grating
CN218824959U (en) Automatic scanning and photographing system for microscope slide

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21960972

Country of ref document: EP

Kind code of ref document: A1