CN116248998A - Image acquisition control system - Google Patents

Image acquisition control system Download PDF

Info

Publication number
CN116248998A
CN116248998A CN202310504978.0A CN202310504978A CN116248998A CN 116248998 A CN116248998 A CN 116248998A CN 202310504978 A CN202310504978 A CN 202310504978A CN 116248998 A CN116248998 A CN 116248998A
Authority
CN
China
Prior art keywords
light source
unit
control module
image acquisition
source control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310504978.0A
Other languages
Chinese (zh)
Other versions
CN116248998B (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.)
Goertek Inc
Original Assignee
Goertek Inc
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 Goertek Inc filed Critical Goertek Inc
Priority to CN202310504978.0A priority Critical patent/CN116248998B/en
Publication of CN116248998A publication Critical patent/CN116248998A/en
Application granted granted Critical
Publication of CN116248998B publication Critical patent/CN116248998B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses an image acquisition control system, which comprises a vision processing industrial personal computer and at least one light source control module, wherein the vision processing industrial personal computer and each light source control module are connected through an Ether CAT communication bus, and the vision processing industrial personal computer and each light source control module are communication slave stations; the vision processing industrial personal computer determines an image acquisition instruction according to the image acquisition requirement and issues the image acquisition instruction to the target light source control module through the Ether CAT communication bus; the target light source control module analyzes the illumination configuration parameters and the camera triggering parameters from the image acquisition instructions, controls the illumination unit connected with the current output port to illuminate the target object according to the illumination configuration parameters, and controls the camera connected with the input/output port to acquire the image of the target object illuminated by the illumination unit according to the camera triggering parameters. The accuracy of the triggering time sequence between the lighting unit and the camera is improved, so that the quality of images acquired by the camera is improved.

Description

Image acquisition control system
Technical Field
The invention relates to the technical field of image acquisition, in particular to an image acquisition control system.
Background
Along with the development of artificial intelligence technology, the production process and factory automation also increasingly use artificial intelligence technology, for example, product defect detection, production line operation monitoring and the like are performed through the artificial intelligence technology, images of a target object are required to be acquired, corresponding functions are realized through detecting the acquired images, the accuracy of the acquired images is low at present, and the detection accuracy is low, so that how to improve the quality of the acquired images becomes a technical problem to be solved urgently.
Disclosure of Invention
The invention mainly aims to provide an image acquisition control system which aims to solve the technical problem of low quality of acquired images in the prior art.
To achieve the above object, the present invention provides an image acquisition control system comprising: the visual processing industrial personal computer is connected with each light source control module through an Ether CAT communication bus, and each light source control module is a communication slave station;
the vision processing industrial personal computer is used for determining an image acquisition instruction according to an image acquisition requirement and transmitting the image acquisition instruction to the target light source control module through the Ether CAT communication bus;
the target light source control module is used for analyzing the illumination configuration parameters and the camera triggering parameters from the image acquisition instruction;
the target light source control module is also used for controlling a lighting unit connected with the current output port to illuminate a target object according to the lighting configuration parameters;
the target light source control module is also used for controlling a camera connected with the input/output port to acquire images of the target object illuminated by the illumination unit according to the camera trigger parameters.
Optionally, the target light source control module is further configured to perform fault detection on the lighting unit in working, and upload a fault detection result to the vision processing industrial personal computer through the ethercat communication bus;
the vision processing industrial personal computer is also used for outputting fault prompt information according to the fault detection result.
Optionally, the image acquisition control system further comprises a motion control module, wherein the motion control module is connected with the vision processing industrial personal computer through the Ether CAT communication bus, and the motion control module is a communication master station;
the motion control module is used for acquiring the position information of the target object and sending the position information to the vision processing industrial personal computer through the Ether CAT communication bus;
the vision processing industrial personal computer is further used for sending a fly-swatting instruction to the corresponding fly-swatting light source control module according to the position information;
the flying light source control module is used for controlling the lighting unit connected with the current output port to illuminate the moving target object according to the flying instruction and controlling the camera connected with the input/output port to acquire images of the moving target object according to the flying instruction.
Optionally, the vision processing industrial personal computer is further configured to send time parameters to each light source control module through the ethercat communication bus, where time parameters received by each light source control module have a time sequence logic relationship, and the time parameters include exposure time and delay time;
and each light source control module is used for controlling the cameras connected with the input/output ports and the lighting units connected with the current output ports according to the received time parameters, and the cameras and the lighting units corresponding to each light source control module operate according to the time sequence logic relationship.
Optionally, the vision processing industrial personal computer is further configured to send time parameters to each light source control module through the ethercat communication bus, where time parameters received by each light source control module have a time sequence logic relationship, and the time parameters include exposure time and delay time;
and each light source control module is used for controlling the cameras connected with the input/output ports and the lighting units connected with the current output ports according to the received time parameters, and the cameras and the lighting units corresponding to each light source control module operate according to the time sequence logic relationship.
Optionally, the light source control module comprises an Ether CAT chip, a micro control unit and an adjusting unit, wherein the micro control unit is connected with the Ether CAT communication bus through the Ether CAT chip, a digital-to-analog conversion port of the micro control unit is connected with a first end of the adjusting unit, and a second end of the adjusting unit is used for being connected with the lighting unit;
the Ether CAT chip is used for receiving an image acquisition instruction issued by the vision processing industrial personal computer through the Ether CAT communication bus and sending the image acquisition instruction to the micro control unit;
the micro control unit is used for analyzing the illumination configuration parameters from the image acquisition instruction and outputting analog voltage signals to the adjusting unit through the digital-to-analog conversion port according to the illumination configuration parameters;
the adjusting unit is used for adjusting the current flowing through the connected lighting units according to the analog voltage signal.
Optionally, the micro control unit is further configured to parse a camera triggering parameter from the image acquisition instruction, and trigger an input/output port to connect with a camera according to the camera triggering parameter to perform image acquisition.
Optionally, the adjusting unit includes a current adjusting unit and a voltage feedback unit, a first input end of the current adjusting unit is connected with the digital-to-analog conversion port, a second input end of the current adjusting unit is connected with an output end of the voltage feedback unit, and an input end of the voltage feedback unit is connected with an output end of the current adjusting unit;
the voltage feedback unit is used for current sampling of the current flowing through the lighting unit and outputting feedback voltage to the current regulating unit according to the sampled current;
the current adjusting unit is used for adjusting the current flowing through the connected lighting units according to the feedback voltage and the analog voltage signal.
Optionally, the adjusting unit further comprises a light source fault detecting unit, wherein the input end of the light source fault detecting unit is connected with the output end of the voltage feedback unit, and the output end of the light source fault detecting unit is connected with the micro-control unit;
the light source fault detection unit is used for outputting a fault detection signal to the micro control unit according to the feedback voltage;
and the micro control unit is also used for sending a fault detection result to the vision processing industrial personal computer according to the fault detection signal.
Optionally, the current regulating unit comprises a first operational amplifier and a voltage regulator, and the voltage feedback unit comprises a resistor and a second operational amplifier;
the positive phase input end of the first operational amplifier is connected with the digital-to-analog conversion port, the output end of the first operational amplifier is connected with the first end of the voltage regulator, the second end of the voltage regulator is connected with the lighting unit, the third end of the voltage regulator is connected with the first end of the resistor, the second end of the resistor is connected with the negative voltage, the positive phase input end of the second operational amplifier is connected with the first end of the resistor, the negative phase input end of the second operational amplifier is connected with the second end of the resistor, and the output end of the second operational amplifier is connected with the negative phase input end of the first operational amplifier.
Optionally, the light source fault detection unit includes a third operational amplifier, a non-inverting input end of the third operational amplifier is connected with an output end of the second operational amplifier, an inverting input end of the third operational amplifier is connected with a reference voltage, and an output end of the third operational amplifier is connected with the micro control unit.
The embodiment of the invention provides an image acquisition control system, which comprises: the visual processing industrial personal computer is connected with each light source control module through an Ether CAT communication bus, and each light source control module is a communication slave station; the vision processing industrial personal computer is used for determining an image acquisition instruction according to an image acquisition requirement and transmitting the image acquisition instruction to the target light source control module through the Ether CAT communication bus; the target light source control module is used for analyzing the illumination configuration parameters and the camera triggering parameters from the image acquisition instruction; the target light source control module is also used for controlling a lighting unit connected with the current output port to illuminate a target object according to the lighting configuration parameters; the target light source control module is also used for controlling a camera connected with the input/output port to acquire images of the target object illuminated by the illumination unit according to the camera trigger parameters. The vision processing industrial personal computer and each light source control module are connected through the Ether CAT communication bus, the vision processing industrial personal computer and each light source control module are communication slave stations, the vision processing industrial personal computer controls the light source control module through the Ether CAT communication bus to send out instructions, the control efficiency of the light source control module is improved, the target light source control module controls the lighting unit and the camera to work according to the received image acquisition instructions, the precision of the triggering time sequence between the lighting unit and the camera is improved, and therefore the quality of images acquired by the camera is improved.
Drawings
FIG. 1 is a block diagram illustrating an embodiment of an image acquisition control system according to the present invention;
FIG. 2 is a schematic diagram illustrating connection of a target light source control module in an embodiment of an image acquisition control system according to the present invention;
FIG. 3 is a block diagram illustrating an image acquisition control system according to another embodiment of the present invention;
FIG. 4 is a block diagram illustrating an image acquisition control system according to another embodiment of the present invention;
FIG. 5 is a block diagram illustrating an image acquisition control system according to another embodiment of the present invention;
fig. 6 is a schematic circuit diagram of a light source control module in an embodiment of an image acquisition control system according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a block diagram illustrating an embodiment of an image acquisition control system according to the present invention.
As shown in fig. 1, the image acquisition control system may include: the vision processing industrial personal computer 10 and at least one light source control module 20 are connected through Ether CAT communication buses, and the vision processing industrial personal computer 10 and each light source control module 20 are communication slave stations.
In the embodiment of the application, the vision processing industrial personal computer 10 is connected with each light source control module 20 through an Ether CAT communication bus, the Ether CAT is one of the fastest industrial Ethernet technologies, nanosecond precise synchronization can be provided, and compared with other bus systems with the same cycle time, the Ether CAT system structure can generally reduce the CPU load by 25% -30%; the Ether CAT node address can be automatically set without network debugging, integrated diagnosis information can be accurately positioned to an error, a switch is not required to be configured, complex MAC or IP addresses are not required to be processed, and an effective synchronization solution is provided by using the accurate calibration Ether CAT of a distributed clock.
The vision processing industrial personal computer 10 is configured to determine an image acquisition instruction according to an image acquisition requirement, and send the image acquisition instruction to a target light source control module through the ethercat communication bus.
It will be appreciated that the image acquisition requirements may be requirements for image acquisition of a target object, for example image acquisition requirements including but not limited to: the image acquisition quantity of the target object, the image acquisition position of the target object, the image acquisition frequency of the target object and the like; the image acquisition instruction can be an instruction for controlling the light source control module to acquire images; the target light source control module may be a light source control module corresponding to the target object; the image acquisition requirements may be input according to the specific application scenario, and the embodiment is not limited herein.
As an implementation manner, the vision processing industrial personal computer 10 analyzes the input image acquisition requirement, determines an image acquisition instruction and a target object according to the analysis result, and issues the image acquisition instruction to a target light source control module corresponding to the target object through the Ether CAT communication bus.
The target light source control module is used for analyzing the illumination configuration parameters and the camera triggering parameters from the image acquisition instruction.
It may be appreciated that the lighting configuration parameters may be parameters for performing lighting configuration on the lighting units connected to the current output ports, where the lighting configuration parameters include, but are not limited to, lighting unit identifiers, current parameters, strobe parameters, and delay parameters; the camera trigger parameters may be parameters that trigger the camera of the input/output port to take a picture, including but not limited to camera identification, trigger time, delay time, number of image acquisitions, frequency of image acquisitions, etc.
The target light source control module is also used for controlling the lighting unit connected with the current output port to illuminate the target object according to the lighting configuration parameters.
The target light source control module is also used for controlling a camera connected with the input/output port to acquire images of the target object illuminated by the illumination unit according to the camera trigger parameters.
It can be understood that each light source control module includes M current output ports and N input/output ports, each current output port can be connected with a lighting unit, each input/output port can be connected with a camera, where M and N are positive integers, and the number of lighting units and cameras connected with each light source control module can be set according to a specific scene.
It can be understood that the upper computer software can be installed on the vision processing industrial personal computer, parameter setting information can be input through the upper computer software, and the vision processing industrial personal computer can send the parameter setting information to the corresponding light source control module through the Ether CAT communication bus, so that parameter setting is carried out on the lighting unit connected with the current output port of the light source control module and the camera connected with the input/output port.
In the embodiment of the application, the image acquisition control system comprises a vision processing industrial personal computer and at least one light source control module, wherein the vision processing industrial personal computer is connected with each light source control module through an Ether CAT communication bus, the vision processing industrial personal computer determines an image acquisition instruction according to input image acquisition requirements, the image acquisition instruction is issued to a target light source control module through the Ether CAT communication bus, the target light source control module analyzes illumination configuration parameters and camera triggering parameters from the image acquisition instruction, the illumination unit connected with a current output port is controlled to illuminate a target object according to the illumination configuration parameters, and the camera connected with an input/output port is controlled to acquire the image of the illuminated target object according to the camera triggering parameters.
In one example, such as: the image acquisition requirements are: the method comprises the steps of collecting an upper surface image of a product A, and determining an image collection instruction by a vision processing industrial personal computer according to an image collection requirement as follows: the product A-upper surface image, and issue the image acquisition instruction to the target light source control module B corresponding to the product A, referring to FIG. 2, assume that the current output port of B is connected with 4 illumination units, B1, B2, B3 and B4 respectively, and the input/output port is connected with 4 cameras, B11, B12, B13 and B14 respectively; the illumination configuration parameters analyzed from the image acquisition instructions are: b1-normally bright, the camera triggering parameters are: and B11-delaying for 0.3 seconds, controlling the B1 to illuminate the upper surface of the product A by the target control module according to the illumination configuration parameters, controlling the camera to photograph the upper surface of the illuminated product A after delaying for 0.3 seconds, and obtaining an upper surface image of the product A.
Further, in order to perform fault detection on the lighting unit, so as to timely perform fault removal when the lighting unit fails, the target light source control module is further configured to perform fault detection on the working lighting unit, and upload a fault detection result to the vision processing industrial personal computer through the Ether CAT communication bus; the vision processing industrial personal computer is also used for outputting fault prompt information according to the fault detection result.
It may be appreciated that the fault detection result may be a detection result of whether the lighting unit has a lighting fault; the fault indication information may be information indicating whether the lighting unit has a fault, and the fault indication information includes, but is not limited to: voice prompt information, light prompt information, etc.
As an implementation manner, the target light source control module obtains working current of the lighting unit in working, if a current difference value between the working current and rated current is larger than a preset current difference value, the lighting unit is judged to have a lighting fault, a detection result of the lighting fault is uploaded to the vision processing industrial personal computer through the Ether CAT communication bus, and the vision processing industrial personal computer outputs red light alarm prompt information according to the result.
Further, in a specific application, it may be necessary to perform image acquisition on products at different positions on the production line, if the lighting unit and the camera are in a working state all the time, energy consumption will be increased, if the lighting unit and the camera are not triggered timely, quality of the acquired images will be low, and in order to solve the above problem, the vision processing industrial personal computer 10 is further configured to issue time parameters to each light source control module 20 through the Ether CAT communication bus, where there is a time sequence logic relationship between the time parameters received by each light source control module 20, the time parameters include exposure time and delay time; each light source control module 20 is configured to control the camera connected to the input/output port and the lighting unit connected to the current output port according to the received time parameter, where the camera and the lighting unit corresponding to each light source control module operate according to the time sequence logic relationship.
It can be appreciated that the sequential logic relationship may be a precedence relationship of trigger time between the camera and the lighting unit corresponding to each light source control module; the exposure time may be an exposure time of the input/output port connected camera and the delay time may be a time for which the delay control of the operation of the camera and the illumination unit.
It should be understood that each light source control module can be independently used as a light source control board card, each light source control module can output 2-4 channels and more, and when the light source control module is independently used, the light source control module and external devices such as a nixie tube, a key and the like form an independent light source controller; when the light source control module is used in a centralized way, the visual processing industrial personal computer can realize distributed control through the Ether CAT communication bus.
In the embodiment of the application, the vision processing industrial personal computer receives the exposure time and the delay time corresponding to each input light source control module, and each light source control module controls the lighting units of the connected cameras according to the received exposure time and delay time, so that the cameras and the lighting units corresponding to each light source control module operate according to time sequence.
The embodiment of the invention provides an image acquisition control system, which comprises: the visual processing industrial personal computer is connected with each light source control module through an Ether CAT communication bus, and each light source control module is a communication slave station; the vision processing industrial personal computer is used for determining an image acquisition instruction according to an image acquisition requirement and transmitting the image acquisition instruction to the target light source control module through the Ether CAT communication bus; the target light source control module is used for analyzing the illumination configuration parameters and the camera triggering parameters from the image acquisition instruction; the target light source control module is also used for controlling a lighting unit connected with the current output port to illuminate a target object according to the lighting configuration parameters; the target light source control module is also used for controlling a camera connected with the input/output port to acquire images of the target object illuminated by the illumination unit according to the camera trigger parameters. According to the embodiment of the invention, the vision processing industrial personal computer is connected with each light source control module through the Ether CAT communication bus, the vision processing industrial personal computer is used as a communication slave station, each light source control module is used as a communication slave station, the vision processing industrial personal computer issues an instruction through the Ether CAT communication bus to control the light source control module, so that the control efficiency of the light source control module is improved, the target light source control module controls the illumination unit and the camera to work according to the received image acquisition instruction, the accuracy of the triggering time sequence between the illumination unit and the camera is improved, and the quality of the image acquired by the camera is improved.
Referring to fig. 3, fig. 3 is a block diagram illustrating an image acquisition control system according to another embodiment of the present invention.
In this embodiment, the image acquisition control system further includes a motion control module 30, where the motion control module 30 is connected to the vision processing industrial personal computer 10 through the ethernet CAT communication bus, and the motion control module 30 is a communication master station;
the motion control module 30 is configured to obtain location information of a target object, and send the location information to the vision processing industrial personal computer 10 through the ethercat communication bus.
It is understood that the location information may be location coordinate information of the target object, including but not limited to: coordinate information, positioning information, station identification and the like.
The vision processing industrial personal computer 10 is further configured to send a flyswath instruction to a corresponding flyswath light source control module according to the position information.
It will be appreciated that the fly-by instruction may be an instruction to image capture of a moving target object.
The flying light source control module is used for controlling the lighting unit connected with the current output port to illuminate the moving target object according to the flying instruction and controlling the camera connected with the input/output port to acquire images of the moving target object according to the flying instruction.
It should be noted that, in this embodiment, the ethernet CAT communication function is integrated on the image acquisition control system, so as to realize the real-time performance of controlling the multiple light source control modules, reduce the difficulty of setting parameters of the light source control modules, and realize the end-to-end direct connection of the camera and the light source control modules by optimizing the hardware I/O part design, so that the manual wiring process is simplified, and the working efficiency of the camera is improved.
In this embodiment of the present application, the motion control module sends the acquired position information of the target object to the vision processing industrial personal computer through the ethernet CAT communication bus, and the vision processing industrial personal computer issues a fly-swatting command to the light source control module at the position according to the position information.
The image acquisition control system in the embodiment of the invention further comprises a motion control module, wherein the motion control module is used for acquiring the position information of a target object and sending the position information to the vision processing industrial personal computer through the Ether CAT communication bus; the vision processing industrial personal computer is further used for sending a fly-swatting instruction to the corresponding fly-swatting light source control module according to the position information; the flying light source control module is used for controlling the lighting unit connected with the current output port to illuminate the moving target object according to the flying instruction and controlling the camera connected with the input/output port to acquire images of the moving target object according to the flying instruction. The camera can be controlled to shoot a moving target object according to the position information sent by the motion control module, so that the fly shooting function is realized, the working efficiency of the image acquisition control system is improved, and the application scene of the system is widened.
Referring to fig. 4, fig. 4 is a block diagram illustrating an image acquisition control system according to another embodiment of the present invention.
In this embodiment, the light source control module 20 includes an ethercat chip 201, a micro control unit 202 and an adjusting unit 203, where the micro control unit 202 is connected to the ethercat communication bus through the ethercat chip 201, a digital-to-analog conversion port of the micro control unit 202 is connected to a first end of the adjusting unit 203, and a second end of the adjusting unit 203 is used to connect to a lighting unit;
the Ether CAT chip 201 is configured to receive an image acquisition instruction issued by the vision processing industrial personal computer through the Ether CAT communication bus, and send the image acquisition instruction to the micro control unit;
the micro control unit 202 is configured to parse the illumination configuration parameters from the image acquisition instruction, and output an analog voltage signal to the adjustment unit through the digital-to-analog conversion port according to the illumination configuration parameters.
As an implementation manner, the micro-control unit determines a digital voltage signal according to the illumination configuration parameters, and outputs a corresponding analog voltage signal to the adjusting unit after performing digital-to-analog conversion on the digital voltage signal.
The adjusting unit 203 is configured to adjust a current flowing through the connected lighting units according to the analog voltage signal.
In the embodiment of the application, the micro control unit receives an image acquisition instruction sent by the Ether CAT chip, analyzes an illumination configuration parameter from the image acquisition instruction, determines a corresponding digital voltage signal according to the illumination configuration parameter, performs digital-to-analog conversion on the digital voltage signal, outputs an analog voltage signal to the adjusting unit through the digital-to-analog conversion port, and adjusts current flowing through the connected illumination unit according to the analog current signal.
Further, in order to control the camera connected to the input/output port, the micro control unit 202 is further configured to parse the camera trigger parameter from the image acquisition instruction, and trigger the input/output port to connect to the camera for image acquisition according to the camera trigger parameter.
As an implementation manner, the micro control unit analyzes the camera trigger parameters from the image acquisition instruction, determines the delay time according to the camera trigger parameters, and triggers the camera connected with the input/output port to start photographing when the delay time arrives.
Further, referring to fig. 5, in order to improve the stability of the current flowing through the lighting unit, the adjusting unit 203 includes a current adjusting unit 2031 and a voltage feedback unit 2032, wherein a first input terminal of the current adjusting unit 2031 is connected to the digital-to-analog conversion port, a second input terminal of the current adjusting unit 2031 is connected to an output terminal of the voltage feedback unit 2032, and an input terminal of the voltage feedback unit 2032 is connected to an output terminal of the current adjusting unit 2031; the voltage feedback unit 2032 is configured to sample a current flowing through the lighting unit, and output a feedback voltage to the current adjustment unit according to the sampled current; the current adjusting unit 2031 is configured to adjust a current flowing through the connected lighting units according to the feedback voltage and the analog voltage signal.
In the embodiment of the application, the voltage feedback unit samples the current flowing through the lighting unit to obtain a sampling current, and outputs a feedback voltage to the current regulating unit according to the sampling current, and the current regulating unit regulates the current flowing through the lighting unit according to the feedback voltage; the current flowing through the lighting unit is reduced if it increases, and the current flowing through the lighting unit is increased if it decreases.
According to the embodiment of the application, the Ether CAT chip receives the image acquisition instruction issued by the vision processing industrial personal computer through the Ether CAT communication bus, the micro control unit analyzes the illumination configuration parameters from the image acquisition instruction, and outputs analog voltage signals to the adjusting unit through the digital-to-analog conversion port according to the illumination configuration parameters, and the adjusting unit adjusts the current flowing through the illuminating unit according to the analog voltage signals, so that the control accuracy of the illuminating unit is improved.
With continued reference to fig. 5, fig. 5 is a block diagram illustrating an image acquisition control system according to another embodiment of the present invention.
In this embodiment, the adjusting unit 203 further includes a light source fault detecting unit 2033, an input end of the light source fault detecting unit 2033 is connected to an output end of the voltage feedback unit 2032, and an output end of the light source fault detecting unit 2033 is connected to the micro control unit 202;
the light source fault detection unit 2033 is configured to output a fault detection signal to the micro control unit 202 according to the feedback voltage.
The micro control unit 202 is further configured to send a fault detection result to the vision processing industrial personal computer according to the fault detection signal.
In the embodiment of the application, the input end of the light source fault detection unit receives the feedback voltage input by the voltage feedback unit, outputs a fault detection signal to the micro control unit according to the feedback voltage, and the micro control unit sends a fault detection result to the vision processing industrial personal computer according to the fault detection signal.
Further, referring to fig. 6, in order to regulate the current flowing through the lighting unit so as to keep the current constant, the current regulating unit 2031 includes a first operational amplifier A1 and a voltage regulator T, and the voltage feedback unit 2032 includes a resistor R and a second operational amplifier A2;
the positive input end of the first operational amplifier A1 is connected with the digital-to-analog conversion port, the output end of the first operational amplifier A1 is connected with the first end of the voltage regulator T, the second end of the voltage regulator T is connected with the lighting unit, the third end of the voltage regulator T is connected with the first end of the resistor R, the second end of the resistor R is connected with the negative voltage, the positive input end of the second operational amplifier A2 is connected with the first end of the resistor R, the inverting input end of the second operational amplifier A2 is connected with the second end of the resistor R, and the output end of the second operational amplifier A2 is connected with the inverting input end of the first operational amplifier A1.
It is understood that the voltage regulator may be a triode, a base of the triode is connected to the output end of the first operational amplifier, a collector of the triode is connected to the lighting unit, and an emitter of the triode is connected to the first end of the resistor.
It should be understood that, when the resistor R is used as the sampling resistor and the current flowing through the lighting unit changes, the voltage at the two ends of R changes, and the feedback voltage output by the output end of the second operational amplifier A2 changes, that is, the voltage input to the inverting input end of the first operational amplifier A1 changes, so that the voltage output by the first operational amplifier A1 changes, and the voltage regulator adjusts the current flowing through the lighting unit according to the voltage.
In one example, such as: when the current flowing through the lighting unit increases, the voltage at the two ends of R increases, the feedback voltage output by the output end of the second operational amplifier increases, the voltage input by the inverting input end of the first operational amplifier A1 increases, the voltage output by the output end decreases, namely the base voltage of the triode decreases, so that the current between the collector and the emitter of the triode is reduced, and the current flowing through the lighting unit is kept stable; if the current flowing through the lighting unit decreases, the specific adjustment process is similar to the above process, and will not be described again.
Further, with continued reference to fig. 6, in order to perform fault detection on the lighting unit, the light source fault detection unit 2033 includes a third operational amplifier A3, a non-inverting input terminal of the third operational amplifier A3 is connected to an output terminal of the second operational amplifier A2, an inverting input terminal of the third operational amplifier A3 is connected to a reference voltage, and an output terminal of the third operational amplifier A3 is connected to the micro control unit 202.
In one example, such as: the current flowing through the lighting unit is lower than the set current value, the feedback voltage output by the second operational amplifier is reduced below the reference voltage, and the third operational amplifier outputs a negative voltage signal to the micro-control unit, wherein the negative voltage signal indicates that the lighting unit has a fault.
The adjusting unit in the embodiment of the application further comprises a light source fault detecting unit, wherein the input end of the light source fault detecting unit is connected with the output end of the voltage feedback unit, and the output end of the light source fault detecting unit is connected with the micro-control unit; the light source fault detection unit is used for outputting a fault detection signal to the micro control unit according to the feedback voltage; and the micro control unit is also used for sending a fault detection result to the vision processing industrial personal computer according to the fault detection signal. According to the embodiment of the application, the light source fault detection unit can output the fault detection signal to the micro control unit according to the feedback voltage output by the voltage feedback unit, and the micro control unit outputs the fault detection result to the vision processing industrial personal computer according to the fault detection signal.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. The image acquisition control system is characterized by comprising a vision processing industrial personal computer and at least one light source control module, wherein the vision processing industrial personal computer is connected with each light source control module through an Ether CAT communication bus, and the vision processing industrial personal computer is communicated with each light source control module;
the vision processing industrial personal computer is used for determining an image acquisition instruction according to an image acquisition requirement and transmitting the image acquisition instruction to the target light source control module through the Ether CAT communication bus;
the target light source control module is used for analyzing the illumination configuration parameters and the camera triggering parameters from the image acquisition instruction;
the target light source control module is also used for controlling a lighting unit connected with the current output port to illuminate a target object according to the lighting configuration parameters;
the target light source control module is also used for controlling a camera connected with the input/output port to acquire images of the target object illuminated by the illumination unit according to the camera trigger parameters.
2. The image acquisition control system according to claim 1, wherein the target light source control module is further configured to perform fault detection on an operating lighting unit, and upload a fault detection result to the vision processing industrial personal computer through the ethercat communication bus;
the vision processing industrial personal computer is also used for outputting fault prompt information according to the fault detection result.
3. The image acquisition control system according to claim 1 or 2, further comprising a motion control module, wherein the motion control module is connected with the vision processing industrial personal computer through the ethercat communication bus, and the motion control module is a communication master station;
the motion control module is used for acquiring the position information of the target object and sending the position information to the vision processing industrial personal computer through the Ether CAT communication bus;
the vision processing industrial personal computer is further used for sending a fly-swatting instruction to the corresponding fly-swatting light source control module according to the position information;
the flying light source control module is used for controlling the lighting unit connected with the current output port to illuminate the moving target object according to the flying instruction and controlling the camera connected with the input/output port to acquire images of the moving target object according to the flying instruction.
4. The image acquisition control system according to claim 1 or 2, wherein the vision processing industrial personal computer is further configured to issue time parameters to each light source control module through the ethercat communication bus, where there is a time sequence logic relationship between the time parameters received by each light source control module, and the time parameters include exposure time and delay time;
and each light source control module is used for controlling the cameras connected with the input/output ports and the lighting units connected with the current output ports according to the received time parameters, and the cameras and the lighting units corresponding to each light source control module operate according to the time sequence logic relationship.
5. The image acquisition control system according to claim 1 or 2, wherein the light source control module comprises an Ether CAT chip, a micro control unit and an adjusting unit, the micro control unit is connected with the Ether CAT communication bus through the Ether CAT chip, a digital-to-analog conversion port of the micro control unit is connected with a first end of the adjusting unit, and a second end of the adjusting unit is used for being connected with a lighting unit;
the Ether CAT chip is used for receiving an image acquisition instruction issued by the vision processing industrial personal computer through the Ether CAT communication bus and sending the image acquisition instruction to the micro control unit;
the micro control unit is used for analyzing the illumination configuration parameters from the image acquisition instruction and outputting analog voltage signals to the adjusting unit through the digital-to-analog conversion port according to the illumination configuration parameters;
the adjusting unit is used for adjusting the current flowing through the connected lighting units according to the analog voltage signal.
6. The image capture control system of claim 5, wherein the micro-control unit is further configured to parse a camera trigger parameter from the image capture instruction, and trigger an input/output port to connect with a camera for image capture according to the camera trigger parameter.
7. The image acquisition control system according to claim 5, wherein the regulating unit comprises a current regulating unit and a voltage feedback unit, a first input end of the current regulating unit is connected with the digital-to-analog conversion port, a second input end of the current regulating unit is connected with an output end of the voltage feedback unit, and an input end of the voltage feedback unit is connected with an output end of the current regulating unit;
the voltage feedback unit is used for current sampling of the current flowing through the lighting unit and outputting feedback voltage to the current regulating unit according to the sampled current;
the current adjusting unit is used for adjusting the current flowing through the connected lighting units according to the feedback voltage and the analog voltage signal.
8. The image acquisition control system according to claim 7, wherein the adjusting unit further comprises a light source failure detecting unit, an input end of the light source failure detecting unit is connected with an output end of the voltage feedback unit, and an output end of the light source failure detecting unit is connected with the micro control unit;
the light source fault detection unit is used for outputting a fault detection signal to the micro control unit according to the feedback voltage;
and the micro control unit is also used for sending a fault detection result to the vision processing industrial personal computer according to the fault detection signal.
9. The image acquisition control system of claim 8, wherein the current regulating unit comprises a first operational amplifier and a voltage regulator, and the voltage feedback unit comprises a resistor and a second operational amplifier;
the positive phase input end of the first operational amplifier is connected with the digital-to-analog conversion port, the output end of the first operational amplifier is connected with the first end of the voltage regulator, the second end of the voltage regulator is connected with the lighting unit, the third end of the voltage regulator is connected with the first end of the resistor, the second end of the resistor is connected with the negative voltage, the positive phase input end of the second operational amplifier is connected with the first end of the resistor, the negative phase input end of the second operational amplifier is connected with the second end of the resistor, and the output end of the second operational amplifier is connected with the negative phase input end of the first operational amplifier.
10. The image capture control system of claim 9, wherein the light source fault detection unit comprises a third operational amplifier, a non-inverting input of the third operational amplifier is connected to an output of the second operational amplifier, an inverting input of the third operational amplifier is connected to a reference voltage, and an output of the third operational amplifier is connected to the micro control unit.
CN202310504978.0A 2023-05-08 2023-05-08 Image acquisition control system Active CN116248998B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310504978.0A CN116248998B (en) 2023-05-08 2023-05-08 Image acquisition control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310504978.0A CN116248998B (en) 2023-05-08 2023-05-08 Image acquisition control system

Publications (2)

Publication Number Publication Date
CN116248998A true CN116248998A (en) 2023-06-09
CN116248998B CN116248998B (en) 2023-08-08

Family

ID=86624609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310504978.0A Active CN116248998B (en) 2023-05-08 2023-05-08 Image acquisition control system

Country Status (1)

Country Link
CN (1) CN116248998B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994361A (en) * 2015-07-20 2015-10-21 福州鑫图光电有限公司 Color imaging system for collecting standard color information of object and using method thereof
CN105163510A (en) * 2015-08-20 2015-12-16 中国科学院合肥物质科学研究院 Chip mounting machine control system based on Ethernet control automation technology (EtherCAT) bus
CN109781735A (en) * 2018-12-26 2019-05-21 中电科信息产业有限公司 A kind of quick-fried pearl on-line measuring device and detection method
CN110087037A (en) * 2019-04-30 2019-08-02 南京工程学院 A kind of the EtherCAT main website and working method of integrated camera
WO2020113773A1 (en) * 2018-12-04 2020-06-11 深圳码隆科技有限公司 Image recognition technology-based spinning machine fault monitoring system and method
CN112040131A (en) * 2020-09-08 2020-12-04 湖南两湖机电科技有限公司 Intelligent camera based on EtherCAT industrial Ethernet bus and control method thereof
JP2021010092A (en) * 2019-06-28 2021-01-28 パナソニックIpマネジメント株式会社 Image sensor, image sensor system, output method of image sensor, and program
CN114119583A (en) * 2021-12-01 2022-03-01 常州市新创智能科技有限公司 Industrial visual inspection system, method, network model selection method and warp knitting machine
CN115145093A (en) * 2022-07-22 2022-10-04 易视智瞳科技(深圳)有限公司 Machine vision system, light source control stroboscopic realization method and readable storage medium
CN115436380A (en) * 2022-09-06 2022-12-06 上海御微半导体技术有限公司 Multi-axis motion platform detecting system
CN115615327A (en) * 2022-11-17 2023-01-17 歌尔股份有限公司 Visual positioning system and visual positioning method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994361A (en) * 2015-07-20 2015-10-21 福州鑫图光电有限公司 Color imaging system for collecting standard color information of object and using method thereof
CN105163510A (en) * 2015-08-20 2015-12-16 中国科学院合肥物质科学研究院 Chip mounting machine control system based on Ethernet control automation technology (EtherCAT) bus
WO2020113773A1 (en) * 2018-12-04 2020-06-11 深圳码隆科技有限公司 Image recognition technology-based spinning machine fault monitoring system and method
CN109781735A (en) * 2018-12-26 2019-05-21 中电科信息产业有限公司 A kind of quick-fried pearl on-line measuring device and detection method
CN110087037A (en) * 2019-04-30 2019-08-02 南京工程学院 A kind of the EtherCAT main website and working method of integrated camera
JP2021010092A (en) * 2019-06-28 2021-01-28 パナソニックIpマネジメント株式会社 Image sensor, image sensor system, output method of image sensor, and program
CN112040131A (en) * 2020-09-08 2020-12-04 湖南两湖机电科技有限公司 Intelligent camera based on EtherCAT industrial Ethernet bus and control method thereof
CN114119583A (en) * 2021-12-01 2022-03-01 常州市新创智能科技有限公司 Industrial visual inspection system, method, network model selection method and warp knitting machine
CN115145093A (en) * 2022-07-22 2022-10-04 易视智瞳科技(深圳)有限公司 Machine vision system, light source control stroboscopic realization method and readable storage medium
CN115436380A (en) * 2022-09-06 2022-12-06 上海御微半导体技术有限公司 Multi-axis motion platform detecting system
CN115615327A (en) * 2022-11-17 2023-01-17 歌尔股份有限公司 Visual positioning system and visual positioning method

Also Published As

Publication number Publication date
CN116248998B (en) 2023-08-08

Similar Documents

Publication Publication Date Title
US7174224B2 (en) Smart camera
WO2016173225A1 (en) Focusing method and focusing system based on distance sensor of mobile terminal
US7915570B2 (en) Smart camera with an integrated lighting controller
CN110850881A (en) Off-line inspection system and method for inspection robot of transformer substation
CN116248998B (en) Image acquisition control system
CN109714535A (en) A kind of auto-focusing machine vision metrology device and method based on color difference
CN108235543A (en) A kind of street lamp control system based on tunnel road monitoring
CN109326125B (en) Picture quality diagnosis system and method based on embedded system
CN107567708A (en) Camera system
JP2020024401A (en) Device and method for controlling illumination of industrial camera system
CN114813567B (en) STM32 chip-based universal motion control module for fly-shooting automatic vision equipment
CN115436380A (en) Multi-axis motion platform detecting system
CN209894878U (en) Multiloop electric quantity detecting system
CN104678337A (en) Automatic detection method for performance indicators of optical digital relay protection testers
CN1418019A (en) White balancing device and method for automatic flash lamp of digital camera
CN112040131B (en) Intelligent camera based on EtherCAT industrial Ethernet bus and control method thereof
CN211378081U (en) Automatic exposure device of multichannel aerial camera
CN220470765U (en) Valve controller of Internet of things
JP2019161644A (en) Camera central portion of smart camera for industrial image processing and method for industrial image processing
CN114007061B (en) Camera sensor debugging method and system
CN217467505U (en) Multifunctional synchronous control device
JP2000059669A (en) Device and method for processing image and computer readable storage medium
CN111855156B (en) Sampling control method and testing device for lens detection and sampling tool
CN218512796U (en) Novel laser direct writing exposure device
CN213780710U (en) Universal edge computing intelligent terminal device

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