CN107884919A - Programmable LED array control system based on FPGA - Google Patents

Programmable LED array control system based on FPGA Download PDF

Info

Publication number
CN107884919A
CN107884919A CN201710915290.6A CN201710915290A CN107884919A CN 107884919 A CN107884919 A CN 107884919A CN 201710915290 A CN201710915290 A CN 201710915290A CN 107884919 A CN107884919 A CN 107884919A
Authority
CN
China
Prior art keywords
led array
computer
control
pins
fpga
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710915290.6A
Other languages
Chinese (zh)
Inventor
张玉珍
秦圣
陶天阳
卢斯洋
胡岩
李诗宇
于潇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing University of Science and Technology
Original Assignee
Nanjing University of Science and Technology
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 Nanjing University of Science and Technology filed Critical Nanjing University of Science and Technology
Priority to CN201710915290.6A priority Critical patent/CN107884919A/en
Publication of CN107884919A publication Critical patent/CN107884919A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B21/00Microscopes
    • G02B21/06Means for illuminating specimens
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B21/00Microscopes
    • G02B21/06Means for illuminating specimens
    • G02B21/08Condensers
    • G02B21/10Condensers affording dark-field illumination
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B21/00Microscopes
    • G02B21/06Means for illuminating specimens
    • G02B21/08Condensers
    • G02B21/12Condensers affording bright-field illumination
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B21/00Microscopes
    • G02B21/06Means for illuminating specimens
    • G02B21/08Condensers
    • G02B21/12Condensers affording bright-field illumination
    • G02B21/125Condensers affording bright-field illumination affording both dark- and bright-field illumination
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B21/00Microscopes
    • G02B21/06Means for illuminating specimens
    • G02B21/08Condensers
    • G02B21/14Condensers affording illumination for phase-contrast observation
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/37Converter circuits

Landscapes

  • Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a kind of programmable LED array control system based on FPGA, including power-supply system, USB HUB controllers, programmable LED array, electric control varifocal lens, ccd video camera, control module and computer, wherein power-supply system, USB HUB controllers, the drive module of programmable LED array, control module is set on circuit boards;The power-supply system is responsible for providing voltage needed for control system, USB HUB controllers are in circuit board integrated USB interface, wherein there are three USB interfaces to be respectively used to ccd video camera, electric control varifocal lens and computer connection, USB HUB controllers are that control system demarcates two port numbers:COM1 and COM2, computer are communicated by COM1, COM2 port with programmable LED array, electric control varifocal lens;Ccd video camera is directly communicated by USB interface with computer.The present invention can realize phase imaging merely with LED light source in a manner of non-interfering, it is not necessary to complicated interference device and heavy expensive LASER Light Source, the more flexible difference correction for realizing microscopic system.

Description

Programmable LED array control system based on FPGA
Technical field
The invention belongs to optical image technology, particularly a kind of programmable LED array control system based on FPGA.
Background technology
Classic light microscope is the combination of optical element and precision mechanical components, and it is used as receiver using human eye Observe the picture of amplification.Camera is added in microscope later, the reception that can be recorded and store is used as using photographic film Device.It is modern that microscopical receiver is generally used as using photoelectric cell, television camera tube and charge-coupled device etc. again, it is equipped with miniature Complete image information collecting and processing system are formed after electronic computer.But although this conventional imaging modes seem simple easy OK, many bottleneck problems are but still faced with, have seemed unable to do what one wishes for problem caused by the new application demand of solution, wherein One just shows:Micro imaging system is overly dependent upon light in the raising of information obtaining ability, function, performance indications etc. The system raising horizontal with detector technology.At present, the progress of microtechnic is embodied in:On optical element, processing is improved Technique;Technically, more rapidly develop to quantitative microtechnic direction;It is multifunction combined to instead of simple function on instrument; In operation, electronics technologies are more introduced for Xiang Genggao automation mechanized operation development;In addition, image analysis technology The extensive use in microtechnic quickly.In recent years, some scholars are directed to the improvement to lighting source, using programmable LED array or Programmable LCD panel.However, although progress is huge in terms of micro-imaging technique, it, which is imaged essence, does not have Change, still there are many new problems to emerge in an endless stream:It is horizontal and carry that micro imaging system depends on optical system and detector technology unduly High information obtaining ability, function, performance indications etc.;Single imaging system is difficult to realize big visual field and high-resolution simultaneously; Details in a play not acted out on stage, but told through dialogues, phase contrast imaging depend on physical hardware, and quantitative phase imaging depends on interferometry.
Therefore, can be merely with portion in order to reduce the imaging system dependence horizontal to optical system and detector technology Divide coherent illumination (such as LED light source), phase imaging is realized in a manner of non-interfering, it is not necessary to which complicated interference device is expensive with heaviness LASER Light Source, the more flexible difference correction for realizing microscopic system.LED matrix pair is utilized as professor Zuo Chao proposes one kind The illumination of polygonal and multi-wavelength is carried out without lens phase micro-imaging and Diffraction tomography (Zuo C, Sun J, Zhang J, et al..Lensless phase microscopy and diffraction tomography with multi-angle and multi-wavelength illumination using a LED matrix[J].Optics Express,2015,23 (11):14314-14328.).This method refers to first applies to LED matrix, does not study how LED matrix controls.
The content of the invention
It is an object of the invention to provide a kind of programmable LED array control system based on FPGA, can be achieved to micro- Illuminator may be programmed the control of LED array, and interference device that both need not be complicated and heavy expensive LASER Light Source, and can is more The flexible difference correction for realizing microscopic system.
The technical solution for realizing the object of the invention is:A kind of programmable LED array control system based on FPGA, bag Include power-supply system, USB HUB controllers, programmable LED array, electric control varifocal lens, ccd video camera, control module and meter Calculation machine, wherein power-supply system, USB HUB controllers, drive module, the control module of programmable LED array are arranged on circuit board On;
The power-supply system is responsible for providing voltage needed for control system, and USB HUB controllers connect in circuit board integration USB Mouthful, wherein there is three USB interfaces to be respectively used to ccd video camera, electric control varifocal lens and computer connection, USB HUB controls Device is that control system demarcates two port numbers:COM1 and COM2, computer by COM1, COM2 port and programmable LED array, Electric control varifocal lens communicate;Ccd video camera is directly communicated by USB interface with computer;
Control module control programmable LED array, electric control varifocal lens and ccd video camera, the control module include compiling Journey logical device FPGA, storage chip SDRAM and Nios II processors, added and made by oneself by embedded technology inside FPGA Adopted Nios II processors, using SDRAM as internal memory, the communication of Nios II processors and computer, Nios II processors lead to Cross the programmable LED array of COM1 communication serial ports control and show required pattern, control electric control zooming saturating by COM2 communication serial ports Mirror drives focal length, and provides trigger signal for ccd video camera.
The present invention compared with prior art, its remarkable advantage:(1) can be realized merely with LED light source in a manner of non-interfering Phase imaging, it is not necessary to complicated interference device and heavy expensive LASER Light Source, the more flexible phase for realizing microscopic system Difference correction.(2) the system is simple in construction, easy to operate, it is not necessary to can be achieved with light field, dark by any special microcobjective Field and differential phase contrast are imaged these microscopic functions.(3) using controllable multi-angle illumination caused by programmable LED array, realize High-resolution multi-angle optical field imaging, does not lose spatial resolution.
The present invention is described in further detail below in conjunction with the accompanying drawings.
Brief description of the drawings
Fig. 1 is the overall framework schematic diagram of the present invention.
Fig. 2 is the power-supply system connection diagram of the present invention:(a) power circuit design principle figure (b) voltage transformation module Schematic diagram.
Fig. 3 is the USB HUB controller connection diagrams of the present invention.
Fig. 4 is the programmable LED array connection diagram of the present invention.
Fig. 5 is the electric control varifocal lens connection diagram of the present invention.
Fig. 6 is video camera triggering and the serial communications system connection diagram of the present invention.
Fig. 7 is that the software of the present invention controls the schematic diagram of main interface.
Fig. 8 is the multi-modal imaging effect diagram of the present invention:Upper left side is light field imaging, and upper right side is dark-field imaging, Lower section is differential phase contrast imaging.
Fig. 9 is the optical field imaging effect diagram of the present invention.
Embodiment
With reference to Fig. 1, computer is selected in imaging pattern, utilizes software " Control View ", " VSPD " and " serial ports tune Try small assistant ", select one of light field, details in a play not acted out on stage, but told through dialogues, differential phase contrast and optical field imaging pattern to be imaged.
The programmable LED array control system based on FPGA of the invention, including power-supply system, USB HUB controllers, can compile Journey LED array, electric control varifocal lens, ccd video camera, control module and computer, wherein power-supply system, USB HUB controls Device, the drive module of programmable LED array, control module are set on circuit boards;
The power-supply system is responsible for providing voltage needed for control system, and USB HUB controllers connect in circuit board integration USB Mouthful, wherein there is three USB interfaces to be respectively used to ccd video camera, electric control varifocal lens and computer connection, computer and control The communication of module uses RS232 serial port protocols, and serial communication circuit is realized using PL2303 chips, the chip 1,5 pins with FPGA is connected, and 15,16 pins are connected with USB HUB controllers, that is, realize the communication of computer and control module.USB HUB controllers are that control system demarcates two port numbers:COM1 and COM2, computer is by COM1, COM2 port with may be programmed LED array, electric control varifocal lens communication;Ccd video camera is directly communicated by USB interface with computer;
Control module control programmable LED array, electric control varifocal lens and ccd video camera, the control module include compiling Journey logical device FPGA, storage chip SDRAM and Nios II processors.Added and made by oneself by embedded technology inside FPGA Adopted Nios II processors, using SDRAM as internal memory, the communication of Nios II processors and computer, Nios II processors lead to Cross the programmable LED array of COM1 COM1s control and show required pattern, control electric control zooming saturating by COM2 COM1s Mirror drives focal length, and provides trigger signal for ccd video camera.
With reference to Fig. 2, power-supply system of the invention circuit board take orders opening control system function when, current needs In 2400mA or so.Therefore control system is powered from 5V/3A power supply adaptors for it.Due to pressure difference between each voltage requirements It is smaller, therefore remaining required voltage is provided from LDO chips AMS1117 series.AMS1117 series contains voltage needed for items, And can be 3.3V, 2.5V and 1.2V voltages provide maximum 800mA electric currents respectively, it is ensured that control system normal work.Due to can It is 5V standards that the driving of programming LED array and the trigger signal of ccd video camera, which are required to logical one level, and in control system Used FPGA I/O pins maximum can provide 3.3V level.So the driver' s timing logical signal of programmable LED array needs The clock signal that FPGA is provided is converted into the drive signal for meeting voltage request.Power-supply system will by electrical level transferring chip 3.3V logical signals are changed to 5V logical signals, and the pin of electrical level transferring chip 4,10,15,21,25,28,34,39,45,48 connects Ground, 1,24,31,42 pins meet input voltage 3.3V, and 7,18 pins meet the voltage 5V of the programmable LED array of driving of output, should 6,8,9,11,12,13,14,16,17,19,20,22,23 pins of electrical level transferring chip connect the drive end of programmable LED array Mouthful, may be programmed LED array triggering port, 2,3 pins meet 5V I/O, the 1A1-1A8 in electrical level transferring chip and 2A1-2A8 with FPGA is connected.
With reference to Fig. 3, the usb hub chip that USB HUB controllers of the invention are selected is GL850G.The GL850G chips 27 be connected respectively with three USB interfaces with 9 pins with 3 pins, 8 with 28 pins, 2, three USB interfaces be respectively used to Ccd video camera, electric control varifocal lens and computer connection, 25,26 pins are connected with the 4th USB interface, and the 4th USB connects Mouth is standby.FPGA works with zoom lens as serial equipment, due to using USB interface to be both needed to as bus, serial equipment To turn serial port chip using USB and Data Format Transform is provided, and be two port numbers of system calibrating:COM1 and COM2.CCD is imaged Machine directly can be communicated by USB interface with computer.By usb hub scheme, single Interface integration of serial ports is realized, it is this Design simplifies and computer interface connection line, it is ensured that only can control whole control circuit each with a USB cable The normal work of function.Circuit carries mode of operation indicator lamp, and convenient use person understands working state of system.
Core with reference to Fig. 4, the present invention programmable LED array driven is FPGA, and FPGA uses EP4CE10E22, the core 17,26,40,47,56,62,81,93,117,122,130,139 pins of piece connect 3.3V input voltages, and 35,107 pins connect 2.5V input voltages, 5,29,37,45,61,78,102,109,116,134 pins connect 1.2V input voltages, 21,94,97 pins Ground connection, 25 pins connect clock signal, and the pin of chip 6,8,12,13 connects series arrangement device, 9,14,92,96 pin series electricals Resistance is connected to 2.5V, and 143 pins receive data, and 144 pins send data, 28,30-34,38,39,42-44,46,49-55,58- 60th, the pin of 64-77,80,83,84 is connected with storage chip SDRAM, 85-87,98-101,103-106,110,112-115 pipes Pin is connected with electrical level transferring chip to control programmable LED array, and 143,144 pins are connected with ccd video camera, 15,16, 18th, 20 pins are connected with computer debugging interface.Self-defined Nios II processing is added by embedded technology inside FPGA Device, internal memory is used as using SDRAM.Nios II processors can realize the communication with computer interface.Pass through COM1 COM1s The programmable LED array of control shows required pattern, controls electric control varifocal lens to drive focal length by COM2 COM1s, and lead to Over level conversion chip provides trigger signal for video camera.The system defines two kinds of data protocols sent based on serial ports (such as Below shown in two tables), it is respectively used to control programmable LED array and electric control varifocal lens.In LED array driving data agreement In, computer sends control instruction by COM1 COM1s and controls its working condition to FPGA, it is exported different images Signal to programmable LED array is shown.Four sections of 8 serial datas continuously transmitted are combined, are respectively with hexadecimal representation 0xB1B2,0xB3B4,0xB5B6,0xB7B8.Wherein Bn represents a byte.
LED array driving data agreement
Four kinds of mode of operations are determined by the first field 0xB1B2, as above under four kinds of mode of operations, follow-up field references Implication is respectively:0x0N represents N kind mode of operations;This position of 0xXX does not work, and can use arbitrary value;0xR represents LED array point Bright radius of circle;0xXPRepresent that LED array lights round domain origin abscissa;0xYPRepresent that LED array lights round domain origin ordinate.
" Control View ", " VSPD " and " the small assistant of AccessPort " software are realized to programmable for computer application The control of LED array illumination mode, the addition of virtual serial port 1 and 2, " Control View " and 1 are completed with " VSPD " first It is connected, " the small assistant of AccessPort " is connected with 2.The data for including above-mentioned field are continuously transmitted in " the small assistant of AccessPort " Agreement, " Control View " find corresponding matching lighting system in LED array driving data agreement and are sent to FPGA, The lighting system of programmable LED array is controlled by FPGA drive control modules.All default lighting patterns of programmable LED array Automatically generate electric in control system when, and be stored in SDRAM, complete to show according to command calls pattern. The mode of operation of programmable LED array scans for duplicate rows 1/16, and pattern data saves as the array of one 32 × 32, according to the 1st row To the 16th row, the order of the 17th to 32 row is scanned.Light two rows simultaneously every time, concurrent one secondary pattern of bright 16 completions shows Show.
With reference to Fig. 5, electric control varifocal lens of the invention are driven to a controllable current source, pass through digital-to-analogue chip ADN8810 is converted to accurately electric current, so as to obtain the specific focal length of lens of zoom lens.Under mode of operation, inside FPGA Data signal is produced, then electric current can then be produced by D/A, so as to obtain required focal length.ADN8810 by serial line interface with Computer is connected, and computer sends control instruction to its work of the digital-to-analogue chip controls of electric control varifocal lens by COM2 COM1s Make state, make its output current signal to zoom lens.In electric control varifocal lens driving data agreement, computer continuously transmits Four sections of 8 serial datas, be respectively 0xR1R2,0xR3R4,0xR5R6,0xR7R8,0xR9R10 with hexadecimal representation, 0xR11R12, Rn represent a byte.
Electric control varifocal lens driving data agreement
Wherein 0xR1R2,0xR3R4 represent initialization set form;0xD1D2, 0xD3D4For the 32bit numerals of digital-to-analogue conversion Signal;0xC1C2, 0xC3C4For 32bit CRC check codes.
The mode of operation of ccd video camera has corresponding sampling configuration.The programmable LED array driving data that computer is sent Agreement controls the light illumination mode of programmable LED array by control module;The electric control varifocal lens driving data that computer is sent Agreement controls electric control varifocal lens by control module:Electric control varifocal lens focal length is minimized value, ccd video camera shooting first First two field picture, calculate defocus measure function L1, defocus measure function use shade of gray operator spatial domain evaluation function, to x, Y seeks in direction second order local derviation, i.e.,Then electric control varifocal lens focal length increases, CCD shootings Machine shoots the i-th two field picture, calculates grade separation measure function Li, work as Li≤Li-1When, complete to focus on.Subsequent ccd video camera record is current I-th two field picture of shooting, i value determine according to whether focusing on.
With reference to Fig. 6, in order to which by computer software, " Control View " send commands to drive control module control can LED illumination array, electric control varifocal lens and ccd video camera are programmed, computer sends driving data by " ControlView " Agreement after receiving driving data agreement by control module, is done to control module for programmable LED array, electric control varifocal lens Go out to feed back and trigger ccd video camera and carry out IMAQ.The signal of ccd video camera triggering is 5V rising edges, it is necessary to by FPGA's I/O interface 3.3V TTL signals carry out level conversion.Triggered by real-time signal, it is required to ensure that ccd video camera is accurately adopted The image wanted.The communication of computer and control module uses RS232 serial port protocols, and serial communication circuit is using PL2303 chips reality It is existing.The chip 1,5 pins are connected with FPGA, and 15,16 pins are connected with USB HUB controllers.On the one hand connect from computer Receive data protocol and it is converted into RS232 information stream format by chip and be sent to FPGA, on the other hand receive number from FPGA Computer is sent back according to data protocol is converted to, the data protocol that two kinds of serial ports are sent is LED array driving data agreement and electricity Control zoom lens driving data agreement.
With reference to Fig. 7, in software of the invention control main interface, it is divided into toolbar area, operation interface area and coordinate viewing area. Toolbar area includes serial ports connection, serial ports disconnection, light source select button, settings button.The most important function in operation interface area is just It is the control of display light source and dragging mouse realization to light source coordinates.This interface is exactly light field simulation area, window coordinates and radius It is corresponding with the coordinate radius of programmable LED array, realize the virtual display of programmable LED array, that is to say, that operating It is exactly programmable LED array illumination region that the source region of display is removed at interface.The function of coordinate viewing area is exactly that display light source exists Coordinate position in the namely programmable LED array of operation interface, because the two has realized synchronization, can thus pass through " Control View " send commands to the programmable LED illumination array of drive control module control, electric control varifocal lens.
With reference to Fig. 8 and Fig. 9, imaging effect figure of the invention.Research object is the third legs of honeybee.Fig. 8 upper left side It is light field imaging, upper right side is dark-field imaging, and lower section is differential phase contrast imaging.Fig. 9 is optical field imaging.Two figures all illustrate The present invention can complete multi-mode micro-imaging function, imaging clearly.

Claims (6)

1. a kind of programmable LED array control system based on FPGA, it is characterised in that controlled including power-supply system, USB HUB Device, wherein programmable LED array, electric control varifocal lens, ccd video camera, control module and computer, power-supply system, USB HUB controllers, the drive module of programmable LED array, control module are set on circuit boards;
The power-supply system is responsible for providing voltage needed for control system, USB HUB controllers in circuit board integrated USB interface, its In have three USB interfaces be respectively used to ccd video camera, electric control varifocal lens and computer connection, USB HUB controllers for control Two port numbers of system calibrating processed:COM1 and COM2, computer pass through COM1, COM2 port and programmable LED array, automatically controlled change Focus lens communicate;Ccd video camera is directly communicated by USB interface with computer;
Control module control programmable LED array, electric control varifocal lens and ccd video camera, the control module include programmable patrol Volume device FPGA, storage chip SDRAM and Nios II processors, added inside FPGA by embedded technology self-defined Nios II processors, using SDRAM as internal memory, the communication of Nios II processors and computer, Nios II processors pass through The programmable LED array of COM1 COM1s control shows required pattern, and electric control varifocal lens are controlled by COM2 COM1s Focal length is driven, and trigger signal is provided for ccd video camera.
2. the programmable LED array control system according to claim 1 based on FPGA, it is characterised in that programmable LED The clock signal that the driver' s timing logical signal of array provides FPGA is converted into the drive signal for meeting voltage request, i.e. power supply System is changed 3.3V logical signals to 5V logical signals by electrical level transferring chip, the electrical level transferring chip 4,10,15, 21st, 25,28,34,39,45,48 pins are grounded, and 1,24,31,42 pins meet input voltage 3.3V, and 7,18 pins connect the drive of output The voltage 5V of dynamic programmable LED array, 6,8,9,11,12,13,14,16,1719,20,22,23 pins connect programmable LED array Driving port, 5 pins connect programmable LED array triggering port, and 2,3 pins meet 5V I/O, the 1A1- in electrical level transferring chip 1A8 is connected with 2A1-2A8 with FPGA.
3. the programmable LED array control system according to claim 1 based on FPGA, it is characterised in that FPGA is used EP4CE10E22,17,26,40,47,56,62,81,93,117,122,130,139 pins of the chip connect 3.3V input voltages, 35th, 107 pins connect 2.5V input voltages, and 5,29,37,45,61,78,102,109,116,134 pins connect 1.2V input voltages, 21st, 94,97 pins are grounded, and 25 pins connect clock signal, and 6,8,12,13 pins connect series arrangement device, 9,14,92,96 pins Series resistance is connected to 2.5V, and 143 pins receive data, and 144 pins send data, 28,30-34,38,39,42-44,46,49- 55th, the pin of 58-60,64-77,80,83,84 is connected with storage chip SDRAM, 85-87,98-101,103-106,110, 112-115 pins are connected with electrical level transferring chip to control programmable LED array, and 143,144 pins are connected with ccd video camera Connect, 15,16,18,20 pins are connected with computer debugging interface.
4. the programmable LED array control system according to claim 1 based on FPGA, it is characterised in that USB HUB are controlled The usb hub chip that device processed is selected is GL850G, and the pin of the pin of 27 and 28 pins, 2 and 3,8 and 9 of the chip is respectively with three Individual USB interface is connected, and three USB interfaces are respectively used to be connected with ccd video camera, electric control varifocal lens and computer, 25, 26 pins are connected with the 4th USB interface.
5. the programmable LED array control system according to claim 1 based on FPGA, it is characterised in that computer with can The LED array driving data agreement sent based on serial ports is defined between programming LED array, for controlling programmable LED array; In LED array driving data agreement, computer controls its work shape by COM1 communication serial ports transmission control instruction to FPGA State, it is exported different picture signal to programmable LED arrays and show, combine four sections of 8 serial datas continuously transmitted, use Hexadecimal representation is respectively 0xB1B2,0xB3B4,0xB5B6,0xB7B8, and wherein Bn represents a byte:
LED array driving data agreement
Four kinds of mode of operations are determined by the first field 0xB1B2, as above under four kinds of mode of operations, the implication of follow-up field references It is respectively:0x0N represents N kind mode of operations;This position of 0xXX does not work, and can use arbitrary value;0xR represents that LED array lights circle Radius;0xXPRepresent that LED array lights round domain origin abscissa;0xYPRepresent that LED array lights round domain origin ordinate;
Computer application software control computer serial ports continuously transmits the serial data comprising above-mentioned field to control programmable LED The lighting system of array, all default lighting patterns of control system have automatically generated when system electrification, and preserve In SDRAM, complete to show according to command calls pattern;The mode of operation of LED array is that duplicate rows 1/16 scans, pattern data The array of one 32 × 32 is saved as, according to the 1st row to the 16th row, the order of the 17th to 32 row is scanned, and is lighted simultaneously every time Two rows, the display of concurrent one secondary pattern of bright 16 completions.
6. the programmable LED array control system according to claim 1 based on FPGA, it is characterised in that computer and electricity The electric control varifocal lens driving data agreement sent based on serial ports is defined between control zoom lens, for controlling electric control zooming saturating Mirror;
The digital-to-analogue chip ADN8810 that is driven through of electric control varifocal lens is converted to accurately electric current, so as to obtain zoom lens The specific focal length of lens, i.e., in the operational mode, data signal is produced inside FPGA, then electric current is then produced by D/A, so as to To required focal length;ADN8810 is connected by serial line interface with computer, and computer is controlled to USB HUB controllers, meter Calculation machine sends control instruction to its working condition of the digital-to-analogue chip controls of zoom lens by COM2 COM1s, makes its output electricity Stream signal is to becoming electric control varifocal lens, in electric control varifocal lens driving data agreement, four section of 8 bit string that computer continuously transmits Mouthful data, it is respectively 0xR1R2,0xR3R4,0xR5R6 with hexadecimal representation, 0xR7R8,0xR9R10,00xR11R12, Rn generations One byte of table;
Electric control varifocal lens driving data agreement
Wherein 0xR1R2,0xR3R4 represent initialization set form;0xD1D2, 0xD3D4For the 32bit data signals of digital-to-analogue conversion; 0xC1C2, 0xC3C4For 32bit CRC check codes.
CN201710915290.6A 2017-09-30 2017-09-30 Programmable LED array control system based on FPGA Pending CN107884919A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710915290.6A CN107884919A (en) 2017-09-30 2017-09-30 Programmable LED array control system based on FPGA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710915290.6A CN107884919A (en) 2017-09-30 2017-09-30 Programmable LED array control system based on FPGA

Publications (1)

Publication Number Publication Date
CN107884919A true CN107884919A (en) 2018-04-06

Family

ID=61781203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710915290.6A Pending CN107884919A (en) 2017-09-30 2017-09-30 Programmable LED array control system based on FPGA

Country Status (1)

Country Link
CN (1) CN107884919A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111696474A (en) * 2019-03-12 2020-09-22 西安诺瓦电子科技有限公司 Multimedia playing method and device, display control card and system and display system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105158894A (en) * 2015-09-29 2015-12-16 南京理工大学 Lens-free phase micro-tomography device based on color LED array illumination and image reconstruction method
CN105158893A (en) * 2015-09-29 2015-12-16 南京理工大学 Light-field imaging method for programmable aperture microscope system based on LCD panel
CN105158887A (en) * 2015-09-29 2015-12-16 南京理工大学 Multi-mode microimaging method based on programmable LED array illumination
CN105425377A (en) * 2015-12-29 2016-03-23 电子科技大学 Imaging method and system for microscope
CN106772982A (en) * 2015-11-20 2017-05-31 南京理工大学 A kind of stereoscopic microscopic imaging device and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105158894A (en) * 2015-09-29 2015-12-16 南京理工大学 Lens-free phase micro-tomography device based on color LED array illumination and image reconstruction method
CN105158893A (en) * 2015-09-29 2015-12-16 南京理工大学 Light-field imaging method for programmable aperture microscope system based on LCD panel
CN105158887A (en) * 2015-09-29 2015-12-16 南京理工大学 Multi-mode microimaging method based on programmable LED array illumination
CN106772982A (en) * 2015-11-20 2017-05-31 南京理工大学 A kind of stereoscopic microscopic imaging device and method
CN105425377A (en) * 2015-12-29 2016-03-23 电子科技大学 Imaging method and system for microscope

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
孔富城: "基于可编程LED照明的透射体视显微成像系统", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
张祥翔: "基于液体透镜的显微镜自动调焦技术", 《光电工程》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111696474A (en) * 2019-03-12 2020-09-22 西安诺瓦电子科技有限公司 Multimedia playing method and device, display control card and system and display system

Similar Documents

Publication Publication Date Title
WO2019085605A1 (en) Automatic optical detection system based on cpu+gpu+fpga architecture
CN104459510B (en) A kind of LED array junction temperature quick online detection device
CN205622739U (en) Focusing device and system
CN106817794A (en) TOF circuit modules and its application
CN202270019U (en) Medical far infrared thermal imaging device adopting wide-angle lens
CN104133288A (en) Continuous zooming and automatic focusing microscopic imaging device and method for living tissues
JP2021515455A (en) Camera module and its super-resolution video processing method
CN106331454A (en) Microscope precision picture taking system and picture taking method
CN105892030B (en) A kind of digit microscope and its interactive approach based on combined network communication
CN107884919A (en) Programmable LED array control system based on FPGA
CN207968682U (en) IR image processing system based on FPGA
CN105187701A (en) Spectrometer electronic display system
CN112162398A (en) Portable intelligent interconnected optical microscope system
CN201772873U (en) Laser range finder with backlight overturned LCD digital display device
CN104363368B (en) A kind of simple eye compound eye Integral imaging detection chip of liquid crystal base
CN203688071U (en) Fiber digital portable color photometer
CN109600531A (en) Binocular vision scanning system and scan method
CN202600251U (en) Microscopic image fusion system
CN205750091U (en) A kind of digit microscope based on combined network communication
CN208691415U (en) Multichannel real-time high definition image Transmission system
CN100549620C (en) Miniature size measurer based on embedded system
CN206788457U (en) Night vision device
CN206224383U (en) A kind of gesture identification acquisition system based on binocular vision
Zhang et al. A wide-spectrum and high-speed CMOS system based on FPGA
CN204993677U (en) Video acquisition treatment circuit of medical treatment camera system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180406