Image acquisition system and image acquisition method

By designing an image acquisition system including a host computer, a line scan camera, a servo platform, a controller and an image acquisition card, the problem of insufficient triggering delay and synchronization accuracy under high-speed motion conditions is solved, and high precision is achieved , high-synchronous trigger control ensures the stability and quality of image acquisition.

CN119484728APending Publication Date: 2025-02-18JIANGSU YAWEI AOSI LASER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411503214.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-25
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

Traditional line scanning cameras are prone to problems such as trigger delay and insufficient synchronization accuracy under high-speed motion conditions, resulting in unstable image acquisition and reduced image quality.

Method used

An image acquisition system is designed, including a host computer, a line scan camera, a servo platform, a controller and an image acquisition card. By generating the position feedback value of the line scan camera in real time, and when confirming that the position feedback value is within a certain trigger interval of the image scanning parameters, a corresponding trigger signal is generated to achieve high-precision and high-synchronous trigger control.

Benefits of technology

It realizes high-precision and high-synchronization trigger control, which is suitable for various high-speed and accurate image acquisition and processing scenarios, ensuring the stability and quality of image acquisition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484728A_ABST
    Figure CN119484728A_ABST
Patent Text Reader

Abstract

The invention provides an image acquisition system and an image acquisition method, and the system comprises an upper computer which is used for receiving image scanning parameters of a target scanning object; a line scan camera; the servo platform is used for driving the line scanning camera to move and generating a position feedback value of the line scanning camera in real time; the controller is used for generating a corresponding trigger signal when confirming that the position feedback value is in a certain trigger interval of the image scanning parameter; the image acquisition card is used for transmitting the trigger signal to the line scanning camera; wherein the line scanning camera is used for responding to the trigger signal and generating line image data of a plurality of target scanning objects; and the upper computer is also used for splicing the plurality of line image data to generate complete image data of the target scanning object. According to the invention, high-precision and high-synchronism trigger control is realized, and the method is suitable for various high-speed and accurate image acquisition and processing scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of line scan camera image acquisition, and in particular to an image acquisition system and an image acquisition method. Background Art

[0002] Line scan cameras are widely used in high-speed and high-precision image acquisition fields such as industrial automation, quality inspection, and scientific research. However, the traditional camera trigger mechanism is prone to trigger delays and insufficient synchronization accuracy under high-speed motion conditions, which can lead to unstable image acquisition and reduced image quality. For example, the traditional method uses fixed-time interval trigger pulses. Due to the limitations of motor accuracy and mechanical structure accuracy, although the time interval of each trigger is consistent, the actual displacement of the motor between each trigger interval is not exactly the same. This can cause problems such as precision errors and distortion in the generated image.

[0003] Therefore, there is room for improvement Summary of the invention

[0004] In view of the shortcomings of the prior art described above, an object of the present invention is to provide an image acquisition system and an image acquisition method for solving technical problems in the prior art such as trigger delay and insufficient synchronization accuracy during high-speed motion caused by the camera triggering method.

[0005] To achieve the above object and other related objects, the present invention provides an image acquisition system, comprising:

[0006] A host computer is used to receive image scanning parameters of a target scanning object;

[0007] Line scan cameras;

[0008] A servo platform, used for driving the line scan camera to move and generating a position feedback value of the line scan camera in real time;

[0009] A controller, configured to generate a corresponding trigger signal when confirming that the position feedback value is within a certain trigger interval of the image scanning parameter;

[0010] An image acquisition card, used for transmitting the trigger signal to the line scan camera;

[0011] Wherein, the line scan camera is used to generate a plurality of line image data of the target scan object in response to the trigger signal;

[0012] The host computer is also used to splice the plurality of line image data to generate complete image data of the target scanned object.

[0013] In one embodiment of the present invention, the controller includes:

[0014] A processing module, used for generating a movement instruction according to the starting position and the ending position in the image scanning parameters;

[0015] The axis card module is used to generate a driving signal for the servo platform according to the movement instruction, and to determine whether the position feedback value is within a trigger interval of the image scanning parameters, and when the position feedback value is within the trigger interval, generate a corresponding trigger signal according to the pulse parameters in the image scanning parameters.

[0016] In one embodiment of the present invention, the servo platform includes:

[0017] A carrying platform, used for carrying the target scanning object;

[0018] A plurality of X-axis linear motors are arranged in parallel on the carrier platform; and

[0019] A Y-axis linear motor connected to the movable end of each of the X-axis linear motors;

[0020] Wherein, the line scan camera is connected to the movable end of the Y-axis linear motor.

[0021] In one embodiment of the present invention, the servo platform further includes:

[0022] A plurality of encoders, respectively disposed on the X-axis linear motor and the Y-axis linear motor, for generating position feedback values ​​corresponding to the linear motors;

[0023] A servo driver is used to drive the X-axis linear motor and the Y-axis linear motor according to the driving signal of the servo platform, and transmit the position feedback values ​​of the X-axis linear motor and the Y-axis linear motor to the controller.

[0024] In an embodiment of the present invention, the encoder is one of an orthogonal encoder, a sinusoidal encoder and a serial encoder.

[0025] In one embodiment of the present invention, the trigger input port of the image acquisition card is connected to the position comparison output port of the axis card module, and the trigger output port of the image acquisition card is connected to the trigger port of the line scan camera.

[0026] In one embodiment of the present invention, the controller is provided with a filter, and the filter is used to optimize the position feedback value generated by the encoder in the servo platform, and the filter is one of a position loop filter and a low-pass filter.

[0027] In one embodiment of the present invention, the controller generates the trigger signal using an interrupt service routine.

[0028] In one embodiment of the present invention, the trigger input port of the image acquisition card and the position comparison output port of the axis card module are connected by a double-strand single-strand twisted pair shielded wire harness.

[0029] The present invention further provides an image acquisition method, which is applied to the image acquisition system as described in any one of the above items, and the image acquisition method comprises:

[0030] Receiving image scanning parameters of a target scanning object;

[0031] Driving the line scan camera to move, and generating a position feedback value of the line scan camera in real time;

[0032] When confirming that the position feedback value is within a certain trigger interval of the image scanning parameter, generating a corresponding trigger signal;

[0033] In response to the trigger signal, generating a plurality of line image data of the target scanning object;

[0034] The plurality of line image data are spliced ​​together to generate complete image data of the target scanned object.

[0035] As described above, an image acquisition system and an image acquisition method of the present invention have the following beneficial effects: the present invention realizes high-precision and high-synchronization trigger control, and is suitable for various high-speed and accurate image acquisition and processing scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A structural block diagram of an image acquisition system provided by an embodiment of the present invention;

[0037] Figure 2 Shown is a waveform diagram of a trigger pulse in one embodiment of the present invention.

[0038] Figure 3 Shown is a schematic structural diagram of a servo platform provided by an embodiment of the present invention.

[0039] Figure 4 A schematic diagram showing the range of the comparison range threshold in one embodiment of the present invention

[0040] Figure 5 Shown is a flow chart of an image acquisition method provided by an embodiment of the present invention.

[0041] In the figure:

[0042] 100, controller; 200, image acquisition card; 300, line scan camera; 400, servo platform; 410, carrier platform; 420, X-axis linear motor; 430, Y-axis linear motor; 500, host computer. DETAILED DESCRIPTION

[0043] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0044] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0045] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.

[0046] The present invention provides an image acquisition system and an image acquisition method, which relate to the technical field of line scan camera image acquisition, and can be specifically applied to solve technical problems such as trigger delay and insufficient synchronization accuracy during high-speed motion caused by camera triggering methods. The image acquisition system of the present invention is based on a PMAC (Programmable Multi-Axis Controller) controller, which can realize high-precision and high-synchronization trigger control and is suitable for various high-speed and accurate image acquisition and processing scenarios. The following is a detailed description through specific embodiments.

[0047] See also Figure 1In one embodiment of the present invention, the image acquisition system may include: a controller 100, an image acquisition card 200, a line scan camera 300, a servo platform 400 and a host computer 500. The controller 100 is electrically connected to the image acquisition card 200, the servo platform 400 and the host computer 500 respectively. The line scan camera 300 is electrically connected to the image acquisition card 200, and the line scan camera 300 can be connected to the active end of the servo platform 400. The target scanning object is placed on the servo platform 400. In this embodiment, the host computer 500 can receive the image scanning parameters of the target scanning object input from the outside, and send the image scanning parameters to the controller 100. The controller 100 can extract multiple trigger intervals from the image scanning parameters. The servo platform 400 can be used to drive the line scan camera 300 to move, and generate a position feedback value of the line scan camera 300 in real time. The controller 100 can generate a corresponding trigger signal when confirming that the position feedback value of the line scan camera 300 is within a certain trigger interval. The image acquisition card 200 can be used to transmit the trigger signal to the line scan camera 300. The line scan camera 300 can be used to sequentially respond to multiple trigger signals to acquire images of the target scanned object, thereby generating multiple line image data. Finally, the host computer 500 splices the multiple line image data to generate complete image data of the target scanned object.

[0048] In one embodiment of the present invention, the image acquisition card 200 may be a Matrox visual acquisition board, which may be plugged into a PCIe (Peripheral Component Interconnect Express, a high-speed serial computer expansion bus standard) interface of the host computer 500.

[0049] In one embodiment of the present invention, the line scan camera 300 is a special imaging device that can be used for scanning and imaging continuously moving objects or scenes. Compared with the traditional area array camera, the line scan camera 300 uses a sensor with a single row of pixels, usually a one-dimensional CCD (charge coupled device) or CMOS (complementary metal oxide semiconductor) image sensor. The line scan camera 300 captures only one row of image information per exposure, and is suitable for high-speed continuous motion applications, such as quality inspection of printed materials, product inspection on food packaging production lines, assembly inspection of electronic components, etc.

[0050] In one embodiment of the present invention, the host computer 500 is used to realize human-computer interaction and image synthesis. In this embodiment, the host computer 500 can be, for example, a computer, on which a parameter input module and a synthesis display module are provided. Among them, the parameter input module can be used to receive image scanning parameters input by the operator. The image scanning parameters may include the starting position and the ending position of the line scan camera 300 for scanning, the moving speed of the servo platform 400 driving the line scan camera 300, and other information, as well as multiple trigger intervals and pulse parameters for triggering the line scan camera 300. The synthesis display module is installed with image processing and analysis software, which can synthesize all the line image data collected by the line scan camera 300 into a complete two-dimensional image and display it.

[0051] See also Figure 2 In one embodiment of the present invention, the servo platform 400 may include a carrier 410 and a plurality of linear motors. The carrier 410 may be used to carry a target scanning object. The linear motors may be divided into an X-axis linear motor 420 and a Y-axis linear motor 430. The number of the X-axis linear motors 420 may be multiple, and the multiple X-axis linear motors 420 are arranged in parallel on the carrier 410. The Y-axis linear motor 430 may be connected to the movable end of each X-axis linear motor 420. The Y-axis linear motor 430 may be arranged vertically to the X-axis linear motor 420, or may be arranged at other angles. The multiple X-axis linear motors 420 may synchronously drive the Y-axis linear motor 430 to move along the X-axis direction. The line scan camera 300 may be connected to the movable end of the Y-axis linear motor 430, that is, the Y-axis linear motor 430 may drive the line scan camera 300 to move along the Y-axis direction. In this embodiment, the target scanning object is placed on the carrier 410, and the line scan camera 300 is focused so that the focus of the line scan camera 300 is focused on the plane where the target scanning object is located. It should be noted that when the servo platform 400 drives the line scan camera 300 to move, it is necessary to ensure that there is no object blocking interference.

[0052] In one embodiment of the present invention, the servo platform 400 also includes an encoder and a servo driver, wherein a plurality of encoders are respectively arranged on the X-axis linear motor 420 and the Y-axis linear motor 430. The encoder can generate a position feedback value of the corresponding linear motor by cooperating with the grating ruler. The servo driver is connected between the controller 100 and each linear motor, and can be used to receive a drive signal from the controller 100, and convert the drive signal into an appropriate current or voltage signal to drive the X-axis linear motor 420 and the Y-axis linear motor 430. The servo driver can also receive the position feedback value of each linear motor and transmit the position feedback value to the controller 100. Furthermore, when the X-axis linear motor 420 and the Y-axis linear motor 430 are running in PWM control mode, the real-time position of each linear motor can be directly transmitted to the controller 100 by the linear motor, thereby achieving lower latency control.

[0053] In one embodiment of the present invention, the controller 100 is the motion control core of the entire system, which can adopt a PMAC (Programmable Multi-Axis Controller) controller. The PMAC controller is a high-performance multi-axis motion controller that can be used in applications that require precise control of multiple motion axes. The PMAC controller provides a highly flexible programming environment that enables users to customize complex motion trajectories and synchronization tasks.

[0054] In one embodiment of the present invention, the image scanning parameters are user input parameters, therefore, the units of the parameters such as the starting position, the ending position, the trigger interval, etc. are user-defined units, which usually correspond to the measurement units in the physical world, such as millimeters, degrees, etc. The real-time position information of the linear motor is related to the output signal of the encoder. In this embodiment, the encoder can be an orthogonal encoder, a sinusoidal encoder, and a serial encoder. It can be seen that the position feedback value generated by the encoder also corresponds to multiple signal types. In this embodiment, the controller 100 can accept multiple types of position feedback values, and complete the data conversion processing of different types of information through its built-in program, so as to achieve accurate signal triggering.

[0055] In one embodiment of the present invention, the controller 100 may include a processing module and an axis card module. The processing module is used to process data operations, for example, to generate a movement instruction according to the start position, end position and movement speed of the scan in the image scanning parameters. The axis card module can be connected to the servo driver in the servo platform 400, and it can generate a drive signal for driving the servo platform 400 according to the movement instruction. The axis card module controls the movement of the active ends of each linear motor through the servo driver, and receives the position feedback value of the active end, thereby forming a closed-loop control. In this embodiment, the model of the processing module may be, for example, a CK3M-121CPU module, and the model of the axis card module may be, for example, a CK3W-1515N axis card control module.

[0056] In one embodiment of the present invention, the axis card module is also used to determine whether the position feedback value of the line scan camera 300 is within a certain trigger interval in the image scan parameters. When the position feedback value is within a certain trigger interval, the axis card module can generate a corresponding trigger signal according to the pulse parameters in the image scan parameters. In this embodiment, a position comparison output port is provided on the axis card module, and the trigger input end of the image acquisition card 200 can be connected to the position comparison output port. In this embodiment, the servo platform 400 drives the line scan camera 300 to move, and the axis card module compares the position feedback value, that is, the real-time position of the active end of the servo platform 400, with the trigger interval to determine whether the position feedback value is within a certain trigger interval. And when it is confirmed that a certain position feedback value is within the trigger interval, the corresponding trigger signal is output through the position comparison output port, and the trigger signal is transmitted to the line scan camera 300 through the image acquisition card 200, thereby controlling the line scan camera 300 to perform image acquisition. In this embodiment, the trigger signal adopts a 5V TTL (Transistor-Transistor Logic) signal. When the voltage on the signal line is about 5V, it indicates that the trigger is valid; and when the voltage is close to 0V, it indicates that the trigger is invalid.

[0057] See also Figure 3 In one embodiment of the present invention, the trigger pulse of the line scan camera 300 can be divided into equal-width pulse triggering and non-equal-spaced pulse triggering according to the pulse width and pulse period. The parameters of the equal-width pulse triggering may include the pulse rising edge (Enc1EdgeA), the pulse falling edge (Enc1EdgeB) and the pulse period (Enc1PulsePeriod). The parameters of the non-equal-spaced pulse triggering are based on the equal-width pulse triggering parameters, and additionally include the starting position and the ending position of each trigger pulse. The non-equal-spaced pulse triggering parameters can be set, for example, to the first trigger starting position of Sys.Fdata

[101] , the first ending position of Sys.Fdata

[101] , the second trigger starting position of Sys.Fdata

[103] , the second ending position of Sys.Fdata

[104] , and so on.

[0058] In one embodiment of the present invention, the controller 100 performs motor gain tuning on the linear motor of the controlled servo platform 400 to ensure that the control accuracy of each linear motor meets the image acquisition accuracy. In this embodiment, the controller 100 also includes a filter, which is used to optimize the real-time position signal of the linear motor generated by the encoder to avoid motor oscillation, abnormal noise, etc. when the motor gain parameters are tuned. The filter can be one of a position loop filter and a low-pass filter.

[0059] In one embodiment of the present invention, the image acquisition card 200 receives a trigger signal from the controller 100 and transmits the trigger signal to the line scan camera 300. In this embodiment, the connection between the trigger input port and the position comparison output port of the image acquisition card 200 adopts a double-strand single-strand twisted shielded wire harness to avoid the problem of interference in the trigger signal caused by the long wire harness. The trigger output port of the image acquisition card 200 is connected to the trigger port of the line scan camera 300 through a trigger line. The trigger line is a signal line used to trigger an external device to perform an action, which can ensure that the line scan camera 300 performs an operation at a specific time point, such as taking a photo.

[0060] In one embodiment of the present invention, the controller 100 is programmed using an ISR (Interrupt Service Routine) program to achieve precise control of the trigger signal. The ISR program is the fastest running program among the PMAC controller related programs, and its trigger speed can reach 5 microseconds. It should be noted that due to the hardware defects of the PMAC GATA3 ASIC processor, there is a problem of ignoring the rise of the first pulse when a pulse is triggered in the negative direction. Therefore, the present invention circumvents the above hardware problem through the ISR program. Specifically, the ISR interrupt logic of the EQU 3 auxiliary channel can be used to assist the EQU 1 channel in performing normal negative direction triggering when the program is running. In this embodiment, the pulse width and period of the trigger signal can be set by the user. When using the automatic increment trigger mode, the trigger signal frequency of the present invention can reach more than 10Mkz.

[0061] It should be noted that the image scanning parameters use user unit input position parameters, where the start position and end position of the scan are usually floating point numbers (such as mm or um). The ISR program can only calculate integer data. Therefore, before programming begins, it is necessary to first convert each parameter from user unit (floating point number) to the unit used when triggering (integer type). In this embodiment, the user unit can be entered in the PMAC controller array Fdata[], and the data in this array can be converted into integer data through the Udata[] array.

[0062] Furthermore, in one embodiment of the present invention, the servo motor in the servo platform 400 may use a variety of encoders, such as a quadrature encoder, a sinusoidal encoder, a serial encoder, etc. In this embodiment, the built-in program of the controller 100 includes conversion formulas for a variety of encoder types, and the phase unit fed back by the encoder may be directly used for position comparison.

[0063] In this embodiment, when assigning the starting position and the ending position of each trigger interval to the position comparison register of the controller 100, because the phase capture values ​​of different types of encoders are inconsistent, it is necessary to scale them according to the encoder feedback signal type in the program. For example, the setting range of the comparison register of the controller 100 is [0 2 32 -1] or [0 4294967295]. For quadrature encoders, the phase capture needs to be shifted left by 4 bits to match the register unit, i.e. (Gate3[].Chan[].PhaseCapt<<4)&$FFFFFFFF, to achieve better visualization and intuitive comparison value setting. For sinusoidal encoders, the units of phase capture and comparison registers are the same, but their range is [-2 32 2 32 -1] or [-2147483648..2147483647]. Therefore, it is necessary to convert the signed comparison value into an unsigned value to facilitate programming in the program, that is, (Gate3[].Chan[].PhaseCapt&$FFFFFFFF) % $FFFFFFFF.

[0064] In this embodiment, since the setting comparison range in the position comparison register of the controller 100 is limited, for example, the setting comparison range is [0 2 32 -1]. It can be seen that when the stroke of the linear motor exceeds the set comparison range of the comparison register, if the comparison values ​​of the starting position and the ending position of the trigger interval are directly input, the linear motor will always perform a position comparison output trigger during the cycle of each comparison range. Therefore, the present invention solves the above problem by setting a comparison range threshold. For example, the position comparison register is assigned a value during the cycle period where the values ​​of the starting position and the ending position of each trigger interval are located, and no value is assigned outside this range, thereby effectively avoiding the problem of repeated triggering of the position comparison trigger signal in each register comparison cycle. Figure 4 As shown, one cycle of the encoder corresponds to the position 0-1000mm, the line scan camera 300 moves in the range of 0mm to 2420.375mm, and requires a pulse trigger of 250um pulse width and 500um period at the 2400um position. Therefore, the position comparison register can be set to assign a value in the third cycle of the encoder.

[0065] See also Figure 5 The present invention also provides an image acquisition method, which can be applied to the image acquisition system of any of the above embodiments. Specifically, it can include the following steps:

[0066] Step S100, receiving image scanning parameters of a target scanning object;

[0067] Step S200, driving the line scan camera to move, and generating a position feedback value of the line scan camera in real time;

[0068] Step S300, when it is confirmed that the position feedback value is within a certain trigger interval of the image scanning parameter, a corresponding trigger signal is generated;

[0069] Step S400, in response to a trigger signal, generating line image data of a plurality of target scanning objects;

[0070] Step S500: splicing multiple lines of image data to generate complete image data of the target scanned object.

[0071] In one embodiment of the present invention, when step S100 is executed, the image scanning parameters of the target scanning object are received. Specifically, the host computer 500 can receive the image scanning parameters of the target scanning object input from the outside, and send the image scanning parameters to the controller 100. The image scanning parameters may include the starting position and the ending position of the line scanning camera 300 for scanning, the moving speed of the line scanning camera 300 driven by the servo platform 400, and the multiple triggering intervals and pulse parameters for triggering the line scanning camera 300.

[0072] In one embodiment of the present invention, when step S200 is executed, the line scan camera is driven to move, and the position feedback value of the line scan camera is generated in real time. The servo platform 400 may include a carrier 410 and a plurality of linear motors. The carrier 410 may be used to carry the target scanning object. The linear motor may be divided into an X-axis linear motor 420 and a Y-axis linear motor 430. The number of the X-axis linear motor 420 may be multiple, and the multiple X-axis linear motors 420 are arranged in parallel on the carrier 410. The Y-axis linear motor 430 may be connected to the movable end of each X-axis linear motor 420. The Y-axis linear motor 430 may be arranged vertically to the X-axis linear motor 420, or may be arranged at other angles. The multiple X-axis linear motors 420 may synchronously drive the Y-axis linear motor 430 to move along the X-axis direction. The line scan camera 300 may be connected to the movable end of the Y-axis linear motor 430, that is, the Y-axis linear motor 430 may drive the line scan camera 300 to move along the Y-axis direction.

[0073] In this embodiment, the servo platform 400 also includes an encoder and a servo driver, wherein a plurality of encoders are respectively arranged on the X-axis linear motor 420 and the Y-axis linear motor 430. The encoder can generate the real-time position of the corresponding linear motor by cooperating with the grating ruler. The servo driver is connected between the controller 100 and each linear motor, and can be used to receive the motion control signal from the controller 100, and convert the signal into an appropriate current or voltage signal to drive the X-axis linear motor 420 and the Y-axis linear motor 430. The servo driver can also receive the real-time position of each linear motor, and integrate the real-time position of each linear motor to generate the position feedback value of the line scan camera 300.

[0074] In one embodiment of the present invention, when step S300 is executed, that is, when it is confirmed that the position feedback value is within a certain trigger interval of the image scanning parameter, a corresponding trigger signal is generated. Specifically, a position comparison output port is provided on the axis card module, and the trigger input end of the image acquisition card 200 can be connected to the position comparison output port. In this embodiment, the servo platform 400 drives the line scan camera 300 to move, and the axis card module compares the position feedback value, that is, the real-time position of the active end of the servo platform 400, with the trigger interval to determine whether the position feedback value is within a certain trigger interval; and when it is confirmed that a certain position feedback value is within the trigger interval, a corresponding trigger signal is output through the position comparison output port. The trigger signal is transmitted to the line scan camera 300 via the image acquisition card 200, thereby controlling the line scan camera 300 to perform image acquisition.

[0075] In one embodiment of the present invention, when step S400 is executed, that is, in response to the trigger signal, multiple line image data of the target scan object are generated. Specifically, the image acquisition card 200 transmits the trigger signal output by the position comparison output port to the line scan camera 300, thereby controlling the line scan camera 300 to perform image acquisition.

[0076] In one embodiment of the present invention, when step S500 is executed, multiple line image data are spliced ​​to generate complete image data of the target scanned object. Specifically, the host computer 500 is used to realize human-computer interaction and image synthesis. In this embodiment, the host computer 500 can be, for example, a computer, on which a parameter input module and a synthesis display module are provided. Among them, the parameter input module can receive image scanning parameters input by the operator. The image scanning parameters may include the starting position and the ending position of the line scan camera 300 for scanning, the pulse parameters for triggering the line scan camera 300, and the moving speed of the servo platform 400 to drive the line scan camera 300. The synthesis display module is installed with image processing and analysis software, which can synthesize all the line image data collected by the line scan camera 300 into a complete two-dimensional image and display it.

[0077] In summary, the image acquisition system and image acquisition method disclosed in the present invention realize high-precision and high-synchronization trigger control, and are suitable for various high-speed and accurate image acquisition and processing scenarios. For example, in industrial detection, the present invention can be used for high-speed moving object detection, which can ensure that the trigger signal is synchronized with the object movement, and realize accurate image acquisition and analysis. In the field of medical imaging, the present invention can be applied to real-time imaging equipment to ensure high precision and high stability of image acquisition. Through precise control of the trigger signal, the image acquisition system can realize the synchronous acquisition of rapidly changing physiological signals. On an automated production line, the present invention can be used for real-time monitoring and detection of products on the assembly line. Through synchronous control with the production line, the system can accurately identify and analyze product defects, and improve production efficiency and product quality. Therefore, the present invention effectively overcomes the various shortcomings in the prior art and has a high industrial utilization value.

[0078] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. An image acquisition system, characterized in that: include: A host computer is used to receive image scanning parameters of a target scanning object; Line scan cameras; A servo platform, used for driving the line scan camera to move and generating a position feedback value of the line scan camera in real time; A controller, configured to generate a corresponding trigger signal when confirming that the position feedback value is within a certain trigger interval of the image scanning parameter; An image acquisition card, used for transmitting the trigger signal to the line scan camera; Wherein, the line scan camera is used to generate a plurality of line image data of the target scan object in response to the trigger signal; The host computer is also used to splice the plurality of line image data to generate complete image data of the target scanned object.

2. The image acquisition system according to claim 1, characterized in that: The controller comprises: A processing module, used for generating a movement instruction according to the starting position and the ending position in the image scanning parameters; The axis card module is used to generate a driving signal for the servo platform according to the movement instruction, and to determine whether the position feedback value is within a trigger interval of the image scanning parameters, and when the position feedback value is within the trigger interval, generate a corresponding trigger signal according to the pulse parameters in the image scanning parameters.

3. The image acquisition system according to claim 1, characterized in that: The servo platform comprises: A carrying platform, used for carrying the target scanning object; A plurality of X-axis linear motors are arranged in parallel on the carrier platform; and A Y-axis linear motor connected to the movable end of each of the X-axis linear motors; Wherein, the line scan camera is connected to the movable end of the Y-axis linear motor.

4. The image acquisition system according to claim 3, characterized in that: The servo platform also includes: A plurality of encoders, respectively disposed on the X-axis linear motor and the Y-axis linear motor, for generating position feedback values ​​corresponding to the linear motors; A servo driver is used to drive the X-axis linear motor and the Y-axis linear motor according to the driving signal of the servo platform, and transmit the position feedback values ​​of the X-axis linear motor and the Y-axis linear motor to the controller.

5. The image acquisition system according to claim 4, characterized in that: The encoder is one of an orthogonal encoder, a sinusoidal encoder and a serial encoder.

6. The image acquisition system according to claim 2, characterized in that: The trigger input port of the image acquisition card is connected to the position comparison output port of the axis card module, and the trigger output port of the image acquisition card is connected to the trigger port of the line scan camera.

7. The image acquisition system according to claim 1, characterized in that: The controller is provided with a filter, and the filter is used for optimizing the position feedback value generated by the encoder in the servo platform. The filter is one of a position loop filter and a low-pass filter.

8. The image acquisition system according to claim 1, characterized in that: The controller generates the trigger signal using an interrupt service routine.

9. The image acquisition system according to claim 6, characterized in that: The trigger input port of the image acquisition card and the position comparison output port of the axis card module are connected by a double-strand single-strand twisted pair shielded wire harness.

10. An image acquisition method, characterized in that: Applied to the image acquisition system according to any one of claims 1 to 9, the image acquisition comprises: Receiving image scanning parameters of a target scanning object; Driving the line scan camera to move, and generating a position feedback value of the line scan camera in real time; When confirming that the position feedback value is within a certain trigger interval of the image scanning parameter, generating a corresponding trigger signal; In response to the trigger signal, generating a plurality of line image data of the target scanning object; The plurality of line image data are spliced ​​together to generate complete image data of the target scanned object.