CN110475076B - FPGA-based multi-light-source exposure controller and method - Google Patents

FPGA-based multi-light-source exposure controller and method Download PDF

Info

Publication number
CN110475076B
CN110475076B CN201910768225.4A CN201910768225A CN110475076B CN 110475076 B CN110475076 B CN 110475076B CN 201910768225 A CN201910768225 A CN 201910768225A CN 110475076 B CN110475076 B CN 110475076B
Authority
CN
China
Prior art keywords
light source
control module
unit
trigger
trigger signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910768225.4A
Other languages
Chinese (zh)
Other versions
CN110475076A (en
Inventor
熊显名
周航汛
张文涛
曾启林
杜浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guilin University of Electronic Technology
Original Assignee
Guilin University of Electronic 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 Guilin University of Electronic Technology filed Critical Guilin University of Electronic Technology
Priority to CN201910768225.4A priority Critical patent/CN110475076B/en
Publication of CN110475076A publication Critical patent/CN110475076A/en
Application granted granted Critical
Publication of CN110475076B publication Critical patent/CN110475076B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/65Control of camera operation in relation to power supply
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a multi-light source exposure controller and a method based on FPGA, the multi-light source exposure controller based on FPGA comprises a multi-light source exposure control module and a system control module, wherein the system control module is used for receiving image information transmitted by a camera and simultaneously sending a numerical sequence to a serial communication unit through serial communication; the external trigger input unit is used for isolating a trigger signal input into the system control module; the FPGA processing unit is used for receiving the trigger signal sent by the external trigger input unit and comparing the trigger signal with the numerical sequence sent by the serial port communication unit, and sending a light source trigger signal to the multi-light source trigger unit; the multi-light source triggering unit is used for outputting the light source triggering signals output by the FPGA processing unit to at least two light source controllers and isolating the light source controllers simultaneously. The requirement of the multi-light source exposure detection technology on multi-scene multi-combination light source control is met.

Description

FPGA-based multi-light-source exposure controller and method
Technical Field
The invention relates to the technical field of multi-light-source exposure detection, in particular to a multi-light-source exposure controller and a method based on an FPGA.
Background
The existing exposure and image acquisition detection technology is widely applied to the detection field, and particularly has a good detection effect on shape measurement precision equipment by using a multi-light-source exposure detection technology. When the topography measurement precision equipment uses a multi-light-source exposure image acquisition technology for detection, the requirement on light source exposure is high, different light sources are required to be used in different measurement scenes, and even the combination of multiple light sources, so the control requirement brings challenges to the control of multi-light-source exposure. Meanwhile, in the process of detecting the operation of the equipment, the control of the exposure of various light sources under different scenes also directly influences the detection efficiency, and further influences the yield of the equipment, so that the point that the speed of controlling the light sources is improved as much as possible on the premise of meeting the control function of the exposure of multiple light sources is also the main point of the control module of the exposure of multiple light sources, which undoubtedly increases the difficulty for controlling the exposure of multiple light sources.
The main functions of the existing camera controller are concentrated on the synchronous control triggering of multiple cameras or the synchronous control of multiple light sources, and the requirement of the multiple light source exposure detection technology on the control of multiple scenes and multiple combined light sources cannot be met.
Disclosure of Invention
The invention aims to provide a multi-light-source exposure controller and a method based on FPGA, which adopt a hardware triggering mode to obviously improve the time overhead of software for realizing light source control; the multi-scene multi-combination light source control function is completed by adopting a mechanism of a counter, an FIFO memory and a comparator in the multi-light source exposure control module, and the problem that the existing camera controller cannot meet the requirement of a multi-scene multi-combination light source control technology is solved.
In a first aspect, the invention provides a multi-light-source exposure controller based on an FPGA, which comprises a multi-light-source exposure control module and a system control module, wherein the multi-light-source exposure control module comprises a serial communication unit, an external trigger input unit, an FPGA processing unit and a multi-light-source trigger unit, the serial communication unit, the external trigger input unit and the multi-light-source trigger unit are all electrically connected with the FPGA processing unit, the system control module is electrically connected with the external trigger input unit, the serial communication unit and a camera, and the multi-light-source trigger unit is electrically connected with the camera through at least two light source controllers; wherein:
the system control module is used for receiving image information transmitted by the camera and sending a numerical sequence to the serial port communication unit through serial port communication;
the serial port communication unit is used for isolating, converting and transmitting serial port signals between the system control module and the FPGA processing unit;
the external trigger input unit is used for isolating and inputting the trigger signal of the system control module;
the FPGA processing unit is used for receiving the count value of the trigger signal sent by the external trigger input unit, comparing the count value with the numerical sequence sent by the serial port communication unit, and sending a light source trigger signal to the multi-light source trigger unit;
and the multi-light source triggering unit is used for outputting the light source triggering signals output by the FPGA processing unit to at least two light source controllers and isolating the light source controllers simultaneously.
In one embodiment, the FPGA processing unit comprises a counter, at least two comparators and at least two FIFO memories, the number of the comparators and the FIFO memories being equal; the counter is electrically connected with the external trigger input unit and at least two comparators, each comparator is electrically connected with each FIFO memory and the multi-light source trigger unit, and each FIFO memory is electrically connected with the serial port communication unit; wherein:
the counter is used for adding one to the trigger signal input by the external trigger input unit, storing the trigger signal in a specified register and providing a count value to each comparator;
the comparator is used for acquiring a current serial number value from the corresponding FIFO memory after receiving the count value provided by the counter, comparing the serial number value acquired from the FIFO memory with the count value, and outputting a light source trigger signal with a specified pulse width to the multi-light source trigger unit if the serial number value is the same as the count value;
the FIFO memory is used for receiving the numerical value sequence sent by the serial port communication unit, storing the numerical value for comparison of the comparator according to the stack queue, automatically outputting the numerical value at the top end of the queue for comparison when the comparator compares each time, and automatically moving the numerical value of the whole queue forward for next output.
In an embodiment, the multi-light-source exposure control module further includes a power supply unit, and the power supply unit is electrically connected to the FPGA processing unit and is configured to provide a power supply for the multi-light-source exposure control module.
In an embodiment, the multi-light-source exposure control module further includes a reset circuit unit, and the reset circuit unit is electrically connected to the FPGA processing unit and is used for manually resetting the multi-light-source exposure control module.
In one embodiment, the FPGA-based multi-light-source exposure controller further includes a step control module electrically connected to the system control module, the external trigger input unit, and the camera; wherein:
the system control module is also used for controlling the stepping control module to move by software;
the external trigger input unit is also used for receiving a motion-in-place trigger signal sent by the stepping control module;
the stepping control module is used for receiving a trigger signal output after the camera finishes image acquisition or receiving a motion trigger signal sent by the system control module, controlling the motion platform bearing the detection object to step to the next detection point, and outputting a motion in-place trigger signal to the external trigger input unit after stepping is finished.
In a second aspect, the present invention provides a multi-light source exposure control method based on an FPGA, including:
acquiring a numerical sequence transmitted by a system control module through a serial port communication unit, and storing the numerical sequence into a corresponding FIFO memory;
after receiving a trigger signal sent by an external trigger input unit or a motion-in-place trigger signal sent by a stepping control module, counting the trigger signals, comparing the counted trigger signals with a numerical value sequence stored in the FIFO memory, and outputting a light source trigger signal;
switching the state of the light source controller according to the light source trigger signal, and outputting a feedback trigger signal for completing the switching of the light source after the switching is completed;
exposure image collection is started, after image collection is finished, an image collection completion trigger signal is output, and images are transmitted to the system control module to be stored and analyzed;
and after receiving the picture-taking completion trigger signal, controlling the motion platform to move to the next detection point, and then outputting a motion-in-place trigger signal.
In one embodiment, the counting the trigger signals and comparing the counted trigger signals with the value sequence stored in the FIFO memory to output the light source trigger signals includes:
acquiring a trigger signal input by the external trigger input unit and adding one count;
acquiring a sequence number value stored in the FIFO memory;
correspondingly comparing the counting value with the serial number value, and if the counting value is equal to the serial number value, outputting a light source trigger signal with a specified pulse width to a multi-light source trigger unit; and if the count value is not equal to the serial number value, outputting a light source closing signal to the multi-light source triggering unit.
The invention provides a multi-light source exposure controller and a method based on FPGA, wherein the FPGA processing unit receives a trigger signal sent by an external trigger input unit and compares the trigger signal with a numerical sequence sent by a serial port communication unit, and sends a light source trigger signal to the multi-light source trigger unit; the method comprises the steps of realizing the opening and closing of corresponding multiple combined light source controllers according to different scenes, controlling a motion table bearing a detection object to step to a next detection point after a stepping control module receives a trigger signal output after a camera finishes image acquisition or receives a motion trigger signal sent by a system control module, outputting a motion in-place trigger signal to an external trigger input unit after stepping is finished, adopting a hardware trigger mode, obviously improving the time overhead of software for realizing light source control, and meeting the requirement of a multi-scene multi-combined light source control technology for a multi-light source exposure detection technology.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of the structure of the FPGA-based multi-light-source exposure controller of the present invention;
FIG. 2 is a schematic diagram of the FPGA processing unit of the present invention;
FIG. 3 is a schematic diagram of the internal structure of the FIFO memory of the present invention;
FIG. 4 is a schematic flow chart of the FPGA-based multi-light-source exposure control method of the present invention;
in the figure: 10-a multi-light-source exposure control module, 20-a system control module, 30-a stepping control module, 101-a serial port communication unit, 102-an external trigger input unit, 103-an FPGA processing unit, 104-a multi-light-source trigger unit, 105-a power supply unit, 106-a reset circuit unit, 1031-a counter, 1032-a comparator and 1033-a FIFO memory.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
In a first aspect, please refer to fig. 1, which is a schematic structural diagram of an FPGA-based multi-light-source exposure controller according to the present invention, the FPGA-based multi-light-source exposure controller includes a multi-light-source exposure control module 10 and a system control module 20, the multi-light source exposure control module 10 comprises a serial communication unit 101, an external trigger input unit 102, an FPGA processing unit 103, a power supply unit 105, a reset circuit unit 106 and a multi-light source trigger unit 104, the serial port communication unit 101, the external trigger input unit 102, the power supply unit 105, the reset circuit unit 106 and the multi-light source trigger unit 104 are all electrically connected to the FPGA processing unit 103, the system control module 20 is electrically connected to the external trigger input unit 102, the serial communication unit 101 and the camera, the multi-light source trigger unit 104 is electrically connected with the camera through at least two light source controllers;
the system control module 20 is configured to receive image information transmitted by a camera, and send a numerical sequence to the serial communication unit 101 through serial communication; the system control module 20 is an integrated circuit that integrates a computer or other electronic system into a single chip, and can process digital signals, analog signals, mixed signals, and even higher frequency signals, the model being FH 8610. The serial port communication unit 101 is composed of a serial port transceiver circuit, and is used for isolating, converting and transmitting serial port signals between the system control module 20 and the FPGA processing unit 103; the external trigger input unit 102 is configured to isolate a trigger signal input to the system control module 20;
the FPGA processing unit 103 is configured to receive the trigger signal sent by the external trigger input unit 102, count the trigger signal, compare the count with the numerical sequence sent by the serial port communication unit 101, and send a light source trigger signal to the multi-light source trigger unit 104; the FPGA processing unit 103 is a field programmable gate array chip, is a hardware reconfigurable system structure, has strong computing power and enough flexibility, has pipeline parallelism and data parallelism, and has high operation speed, and the model is EP2C20F484C 8N. The multi-light source triggering unit 104 is composed of an optical coupler circuit, and is configured to output the light source triggering signal output by the FPGA processing unit 103 to at least two light source controllers, and perform isolation simultaneously. The power supply unit 105 is configured to provide power to the multi-light-source exposure control module 10. The reset circuit unit 106 is used for manually resetting the multi-light-source exposure control module 10.
Referring to fig. 2, the FPGA processing unit 103 includes a counter 1031, at least two comparators 1032 and at least two FIFO memories 1033, and the numbers of the comparators 1032 and the FIFO memories 1033 are equal; the counter 1031 is electrically connected to the external trigger input unit 102, and is electrically connected to at least two comparators 1032, each comparator 1032 is electrically connected to each FIFO memory 1033, and is electrically connected to the multi-light source trigger unit 104, and each FIFO memory 1033 is electrically connected to the serial port communication unit 101; wherein:
the counter 1031 is a logic circuit for realizing operation, and mainly counts the number of pulses to realize the functions of detection, counting and storage, the counter 1031 is composed of a basic counting unit and a plurality of control gates, the counting unit is composed of a series of various triggers with the function of storing information, the triggers include an RS trigger, a T trigger, a D trigger, a JK trigger and the like, the model is CAT66 6612CQ, the counter 1031 is used for adding one to the trigger signal input by the external trigger input unit 102, storing the trigger signal in a specified register, and providing the count value to each comparator 1032;
the comparator 1032 is a circuit or a device for comparing the two signals to determine whether the two signals are equal, and the model is CAT6612CQ, and is configured to obtain the current serial number value from the corresponding FIFO memory 1033 after receiving the count value provided by the counter 1031, compare the serial number value obtained from the FIFO memory 1033 with the count value, and output a light source trigger signal with a specified pulse width to the multi-light source trigger unit 104 if the serial number value and the count value are the same;
the FIFO memory 1033 is configured to receive the numerical sequence sent by the serial port communication unit 101, store numerical values for comparison by the comparator 1032 according to a stack queue, automatically output a numerical value at the top of the queue for comparison each time the comparator 1032 compares, and automatically move forward the numerical value of the whole queue for the next output.
The FIFO memory 1033 is a first-in first-out double-port buffer, i.e. the first data entering it is shifted out first, one of which is the input port of the memory and the other is the output port of the memory, and is of type H5TQ2G63 GFR-RDC. The FIFO memory is divided into a write-only area and a read-only area. The read operation and the write operation can be performed asynchronously, and the data written on the write area is read from the area at the read end in the order of writing, similar to a buffer that absorbs the speed difference between the write end and the read end. The FIFO memory is a buffer link of the system and has the following characteristics: 1. caching continuous data streams to prevent data loss during incoming and storage operations; 2. the data are gathered to be sent to the computer and stored, so that frequent bus operation can be avoided, and the burden of a processor is relieved.
The numerical sequence stored in the FIFO memory 1033 represents a state corresponding to a light source to be switched at each detection point, a sampling frequency of the external trigger signal of the counter 1031 in the multi-light source exposure controller may be set to be 10MHz at most, and a pulse width of the trigger signal output by the comparator 1032 may be set to be in a range of 0.1us to 3.2765 ms. As shown in fig. 3, the internal storage structure of the FIFO memory 1033 is configured to increment addresses from top to bottom, and sequentially increment serial numbers, where the uppermost value is the light source state value of the first detection point, and if the light source state value is the same as the serial number value, it indicates that the light source corresponding to the detection point should be turned on, otherwise, the light source should be turned off. For example, the value of the 3 rd detection point in fig. 3 is 0, which is not equal to 3, so the state of the point light source should be switched off, and the other points are all on.
The invention provides a multi-light source exposure controller and a method based on FPGA, which are characterized in that a trigger signal sent by an external trigger input unit 102 is received by an FPGA processing unit 103 and compared with a numerical sequence sent by a serial port communication unit 101, and a light source trigger signal is sent to a multi-light source trigger unit 104; the corresponding multi-combination light source controller is turned on and off according to different scenes, meanwhile, the stepping control module 30 receives a trigger signal output after the camera finishes image acquisition or receives a motion trigger signal sent by the system control module 20, controls a motion table bearing a detection object to step to a next detection point, outputs a motion in-place trigger signal to the external trigger input unit 102 after stepping is finished, adopts a hardware trigger mode, obviously improves the time overhead of software for realizing light source control, and meets the requirement of a multi-scene multi-combination light source control technology for a multi-light source exposure detection technology.
In a second aspect, please refer to fig. 4, which is a schematic flow chart of a multi-light-source exposure control method based on FPGA according to the present invention. Specifically, as shown in fig. 4, the multi-light-source exposure control method based on the FPGA may include the following steps:
s101, acquiring a numerical sequence transmitted by the system control module 20 through the serial communication unit 101, and storing the numerical sequence in the corresponding FIFO memory 1033;
s102, after receiving the trigger signal sent by the system control module 20 or the motion-in-place trigger signal sent by the step control module 30, counting and comparing the trigger signals according to the numerical sequence stored in the FIFO memory 1033, and outputting a light source trigger signal;
s103, switching the state of the light source controller according to the light source trigger signal, and outputting a feedback trigger signal for completing the switching of the light source after the switching is completed;
s104, starting exposure and image acquisition, outputting an image acquisition completion trigger signal after image acquisition is completed, and simultaneously transmitting an image to the system control module 20 for storage and analysis;
and S105, after receiving the picture-taking completion trigger signal, controlling the motion platform to move to the next detection point, and then outputting a motion-in-place trigger signal.
The specific process is as follows: the system controller transmits the numerical sequence of the multi-light source exposure controller through a serial port; the multi-light source exposure controller receives the numerical value sequence transmitted by the system controller through the serial port communication module and stores the numerical value sequence in the corresponding FIFO memory 1033; the system controller outputs the motion trigger signal of the stepping controller through software; after the step controller receives the motion trigger signal, the step controller controls the motion platform to move to the next detection point and then outputs a motion in-place trigger signal; after receiving the in-place movement trigger signal, the multi-light-source exposure controller counts the trigger signal and compares the trigger signal with the input light source control trigger signal; the counter 1031 counts the input trigger signals by one, the comparator 1032 correspondingly compares the count value with the serial number value of the numerical sequence, and if the count value is equal to the serial number value, the light source trigger signal with the specified pulse width is output to the multi-light-source trigger unit 104; if the count value is not equal to the serial number value, outputting a light source turn-off signal to the multi-light source triggering unit 104; the light source controllers receive the light source triggering signals or the light source closing signals, switch the state of the light sources according to the signals, and output light source switching completion feedback triggering signals after the switching is completed; the camera starts exposure image collection after receiving a light source switching completion feedback signal, outputs an image collection completion trigger signal after image collection is completed, and simultaneously transmits an image to the system controller for storage and analysis; the step controller controls the motion platform to move to the next detection point after receiving the picture-taking completion trigger signal, and then outputs a motion-in-place trigger signal; and then, after receiving the trigger signal for moving to the right position from the multi-light source exposure controller, repeating the operation to complete multi-point detection, wherein the system controller can continuously transmit numerical values carrying state information of the point light source detection through a serial port. The time overhead from the receiving of the external motion in-place trigger signal to the completion of counting, comparing and outputting the light source control trigger signal by the multi-light source exposure controller is only about 400ns, and the time overhead of the multi-light source exposure control is far lower than that of a software control mode.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (6)

1. A multi-light source exposure controller based on FPGA is characterized in that,
the system comprises a multi-light-source exposure control module and a system control module, wherein the multi-light-source exposure control module comprises a serial communication unit, an external trigger input unit, an FPGA processing unit and a multi-light-source trigger unit, the serial communication unit, the external trigger input unit and the multi-light-source trigger unit are all electrically connected with the FPGA processing unit, the system control module is electrically connected with the external trigger input unit, the serial communication unit and a camera, and the multi-light-source trigger unit is electrically connected with the camera through at least two light source controllers; wherein:
the system control module is used for receiving image information transmitted by the camera and sending a numerical sequence to the serial port communication unit through serial port communication;
the serial port communication unit is used for isolating, converting and transmitting serial port signals between the system control module and the FPGA processing unit;
the external trigger input unit is used for isolating and inputting the trigger signal of the system control module;
the FPGA processing unit is used for receiving the count value of the trigger signal sent by the external trigger input unit, comparing the count value with the numerical sequence sent by the serial port communication unit, and sending a light source trigger signal to the multi-light source trigger unit;
the multi-light source trigger unit is used for outputting the light source trigger signals output by the FPGA processing unit to at least two light source controllers and isolating the light source controllers at the same time;
the FPGA processing unit comprises a counter, at least two comparators and at least two FIFO memories, and the number of the comparators and the number of the FIFO memories are equal; the counter is electrically connected with the external trigger input unit and at least two comparators, each comparator is electrically connected with each FIFO memory and the multi-light source trigger unit, and each FIFO memory is electrically connected with the serial port communication unit; wherein:
the counter is used for adding one to the trigger signal input by the external trigger input unit, storing the trigger signal in a specified register and providing a count value to each comparator;
the comparator is used for acquiring a current serial number value from the corresponding FIFO memory after receiving the count value provided by the counter, comparing the serial number value acquired from the FIFO memory with the count value, and outputting a light source trigger signal with a specified pulse width to the multi-light source trigger unit if the serial number value is the same as the count value;
the FIFO memory is used for receiving the numerical value sequence sent by the serial port communication unit, storing the numerical value for comparison of the comparator according to the stack queue, automatically outputting the numerical value at the top end of the queue for comparison when the comparator compares each time, and automatically moving the numerical value of the whole queue forward for next output.
2. The FPGA-based multi-light-source exposure controller of claim 1,
the multi-light-source exposure control module further comprises a power supply unit, and the power supply unit is electrically connected with the FPGA processing unit and used for providing power for the multi-light-source exposure control module.
3. The FPGA-based multi-light-source exposure controller of claim 1,
the multi-light-source exposure control module further comprises a reset circuit unit, and the reset circuit unit is electrically connected with the FPGA processing unit and used for manually resetting the multi-light-source exposure control module.
4. The FPGA-based multi-light-source exposure controller of claim 1,
the FPGA-based multi-light-source exposure controller also comprises a stepping control module, and the stepping control module is electrically connected with the system control module, the external trigger input unit and the camera; wherein:
the system control module is also used for controlling the stepping control module to move by software;
the external trigger input unit is also used for receiving a motion-in-place trigger signal sent by the stepping control module;
the stepping control module is used for receiving a trigger signal output after the camera finishes image acquisition or receiving a motion trigger signal sent by the system control module, controlling the motion platform bearing the detection object to step to the next detection point, and outputting a motion in-place trigger signal to the external trigger input unit after stepping is finished.
5. A multi-light source exposure control method based on FPGA is characterized by comprising the following steps:
acquiring a numerical sequence transmitted by a system control module through a serial port communication unit, and storing the numerical sequence into a corresponding FIFO memory;
after receiving a trigger signal sent by an external trigger input unit or a motion-in-place trigger signal sent by a stepping control module, counting the trigger signals, comparing the counted trigger signals with a numerical value sequence stored in the FIFO memory, and outputting a light source trigger signal;
switching the state of the light source controller according to the light source trigger signal, and outputting a feedback trigger signal for completing the switching of the light source after the switching is completed;
exposure image collection is started, after image collection is finished, an image collection completion trigger signal is output, and images are transmitted to the system control module to be stored and analyzed;
and after receiving the picture-taking completion trigger signal, controlling the motion platform to move to the next detection point, and then outputting a motion-in-place trigger signal.
6. The FPGA-based multiple light source exposure control method of claim 5 wherein said counting trigger signals, comparing with a sequence of values stored in said FIFO memory, outputting a light source trigger signal comprises:
acquiring a trigger signal input by the external trigger input unit and adding one count;
acquiring a sequence number value stored in the FIFO memory;
correspondingly comparing the counting value with the serial number value, and if the counting value is equal to the serial number value, outputting a light source trigger signal with a specified pulse width to a multi-light source trigger unit; and if the count value is not equal to the serial number value, outputting a light source closing signal to the multi-light source triggering unit.
CN201910768225.4A 2019-08-20 2019-08-20 FPGA-based multi-light-source exposure controller and method Active CN110475076B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910768225.4A CN110475076B (en) 2019-08-20 2019-08-20 FPGA-based multi-light-source exposure controller and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910768225.4A CN110475076B (en) 2019-08-20 2019-08-20 FPGA-based multi-light-source exposure controller and method

Publications (2)

Publication Number Publication Date
CN110475076A CN110475076A (en) 2019-11-19
CN110475076B true CN110475076B (en) 2021-01-05

Family

ID=68511990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910768225.4A Active CN110475076B (en) 2019-08-20 2019-08-20 FPGA-based multi-light-source exposure controller and method

Country Status (1)

Country Link
CN (1) CN110475076B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112165577B (en) * 2020-09-27 2022-01-04 展讯通信(上海)有限公司 Light source control method and device of multi-light source camera equipment, medium and terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102176199A (en) * 2011-01-28 2011-09-07 中国科学院西安光学精密机械研究所 True random number generation method and device
CN105991933A (en) * 2015-02-15 2016-10-05 比亚迪股份有限公司 Image sensor
CN107172781A (en) * 2017-06-12 2017-09-15 广东奥普特科技股份有限公司 Vision light source controller may be programmed the control system and implementation method of different flash patterns
WO2018055611A1 (en) * 2016-09-20 2018-03-29 Brightway Vision Ltd. Pulsed light illuminator having a configurable setup
CN107948525A (en) * 2017-12-26 2018-04-20 北京航空航天大学 A kind of timing control and tape deck for being suitable for High Speed Photography Images and sensor signal
CN108139482A (en) * 2015-10-09 2018-06-08 松下知识产权经营株式会社 Photographic device and the solid-state imager used wherein

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8249171B2 (en) * 2006-11-10 2012-08-21 Texas Instruments Incorporated MPEG-2 transport stream packet synchronizer
CN208795371U (en) * 2018-10-19 2019-04-26 中国科学技术大学 A kind of multi-photon coincidence counting device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102176199A (en) * 2011-01-28 2011-09-07 中国科学院西安光学精密机械研究所 True random number generation method and device
CN105991933A (en) * 2015-02-15 2016-10-05 比亚迪股份有限公司 Image sensor
CN108139482A (en) * 2015-10-09 2018-06-08 松下知识产权经营株式会社 Photographic device and the solid-state imager used wherein
WO2018055611A1 (en) * 2016-09-20 2018-03-29 Brightway Vision Ltd. Pulsed light illuminator having a configurable setup
CN107172781A (en) * 2017-06-12 2017-09-15 广东奥普特科技股份有限公司 Vision light source controller may be programmed the control system and implementation method of different flash patterns
CN107948525A (en) * 2017-12-26 2018-04-20 北京航空航天大学 A kind of timing control and tape deck for being suitable for High Speed Photography Images and sensor signal

Also Published As

Publication number Publication date
CN110475076A (en) 2019-11-19

Similar Documents

Publication Publication Date Title
CN109600532B (en) Unmanned aerial vehicle multi-channel video seamless switching system and method
CN109788214B (en) Multi-channel video seamless switching system and method based on FPGA
CN107817216B (en) Automatic optical detection system based on CPU + GPU + FPGA architecture
US20040243894A1 (en) Method and systems for providing data replay, reprocess and retrigger functions in an analyzer
CN110519497B (en) Zero-copy trigger acquisition device and method based on VDMA
CN110475076B (en) FPGA-based multi-light-source exposure controller and method
CN201181323Y (en) Logic analyzer
CN101364097A (en) High real-time multichannel data acquisition system
CN112584092A (en) Data acquisition device and data acquisition system
CN111459052A (en) Multifunctional vehicle bus simulation detection system and method
CN102572283A (en) External synchronous signal card and image collection system for linear array camera
CN111143261A (en) PCIE (peripheral component interface express) -based high-speed data acquisition system
CN109597652B (en) Protocol analysis method, system, computer readable storage medium and communication manager
CN110636219B (en) Video data stream transmission method and device
CN110069435B (en) Multi-camera module configuration method based on USB 3.0-SCCB
CN103049323A (en) Multi-interrupt balance management method implemented in FPGA (field programmable gate array)
KR20160111828A (en) Digital Micromirror Device Controller for processing light exposure data at high speed with type based by location and system thereof
CN112907513A (en) Image position stamp system in industrial visual detection and generation method thereof
CN209046794U (en) A kind of Real-time Image Collecting System
US20210311459A1 (en) Input-output control unit, plc and data control method
US20240303215A1 (en) Communication device, communication system, and communication method
CN214205739U (en) General type high definition display system based on FPGA for photoelectric platform
CN111556246B (en) System and method for controlling high-speed data transmission of micro-nano camera
CN206790590U (en) High-speed image sampling device
CN109359068A (en) The processing method of Circular gratings high-throughput angle measurement data based on Labview

Legal Events

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