Full-automatic batch high-precision visual feeder correction method for chip mounter
Through the fully automatic batch high-precision visual feeder correction method, the real-time image recognition and computing processing of high-speed cameras and host computers are used to automatically correct the motor, sensor and mechanical errors of the feeder, solving the problem of low feeding accuracy and efficiency of the feeder. A high-precision and efficient feeding process is achieved, and the maintenance process is simplified.
Patent Information
- Application Number
- CN202410768904.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-06-14
AI Technical Summary
Due to motor differences, sensor errors, mechanical assembly errors and mechanical parts transmission errors of the feeder (Feida) of the patch machine, the feeding accuracy and performance are affected, and the feeding accuracy and transmission position accuracy cannot be improved through fixed angles.
The fully automatic batch high-precision visual feeder correction method is adopted, and the motor, sensor and mechanical errors are automatically corrected through real-time image recognition and calculation processing of high-speed cameras and host computers, and the multilateral fitting algorithm is used to identify the position of the pit and perform self-correction.
It improves the correction accuracy and efficiency of the feeder, simplifies the post-maintenance process, and ensures high accuracy and efficiency of feeding.
Smart Images

Figure CN118748893A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of feeders, and in particular to a fully automatic batch high-precision visual feeder calibration method for a chip mounter. Background Art
[0002] The feeder (feeder in English, "feeder" in Chinese) of the placement machine is an important component of the placement machine. The feeder drives the pulling gear to rotate through the motor and the intermediate transmission gear, and then drags the material belt forward by dragging the pulling teeth on the periphery of the material belt to achieve feeding. However, due to factors such as motor differences, sensor errors, mechanical assembly errors, and mechanical parts transmission errors, the various mechanisms of the feeder that drag the material belt have different errors, which will affect the feeding accuracy and performance of each feeder. Therefore, the feeder needs to perform error adjustment and correction on its own error factors in order to match the placement machine and perform high-speed and accurate feeding.
[0003] There are also errors in the intermediate transmission gear of the feeder during the transmission process. The mechanical error caused by the gear cannot meet the feeding standard of the feeder. Since the pulling gear of the pulling gear will be continuously switched during the process of dragging the material belt forward, and there are errors between the pulling teeth of the pulling gear, the pulling teeth on the pulling gear are not evenly distributed. Therefore, it is not feasible to improve the feeding accuracy by controlling the fixed rotation angle of each feeding, and it is also impossible to improve the accuracy of the actual position of the material belt after transmission. Summary of the invention
[0004] In view of the deficiencies in the prior art, the purpose of the present invention is to provide a fully automatic batch high-precision visual feeder calibration method for a placement machine, which can automatically calibrate and improve the calibration accuracy and efficiency of the feeder, making the later maintenance of the feeder more convenient.
[0005] In order to achieve the above object, the technical solution adopted by the present invention is: a fully automatic batch high-precision visual feeder calibration method for a placement machine,
[0006] Step S1, computer initialization,
[0007] Power the calibrator and connect it to the host computer. The host computer and the calibrator establish communication. Configure relevant parameters on the host computer, initialize the high-speed camera, search for the feeder device and connect it.
[0008] Step S2, correcting sensor errors,
[0009] The upper computer sends a correction command to the feeder through the correction instrument. The correction instrument first sends a motor correction signal for correcting the motor to the feeder. After receiving the motor correction signal, the feeder automatically runs the motor in an open loop, obtains the parameters of the motor's closed operation and sends them to the correction instrument. After the motor is corrected, the feeder sends a generator correction completion signal to the correction instrument.
[0010] After the calibrator receives the calibration completion signal of the calibration motor, it sends the sensor calibration signal used to calibrate the sensor to the flyer. After receiving the sensor calibration signal, the flyer automatically runs the motor in a closed loop, obtains the sensor error parameter and sends it to the calibrator. After the sensor calibration is completed, the flyer sends the sensor calibration completion signal to the calibrator. After the calibrator receives the sensor calibration completion signal, the sensor error calibration process ends.
[0011] Step S3, correcting mechanical errors,
[0012] First, adjust the visual parameters through the human-computer interaction interface with a camera image interface set on the host computer. The visual parameters include light source parameters, image filtering parameters, binarization parameters, and recognition coordinate parameters. Fine-tune the light source parameters, filtering parameters, and binarization parameters according to the filtered binarization image displayed by the host computer, and adjust the center of the cross to be flush with the positioning line A of the flyer. The host computer starts to send commands to the flyer through the calibrator and receives a reply from the calibrator. The host computer performs image recognition and calculation processing on the image taken by the high-speed camera in real time and sends the trough position information, waiting for the calibrator to reply. If a signal that the calibration is completed is received, the calibration is completed;
[0013] Step S4, calibration result test,
[0014] After the mechanical error is corrected, the correction result test is performed. First, adjust the visual parameters in the image adjustment interface, fine-tune the visual parameters of the high-speed camera to appropriate parameters according to the light source or the material of the material belt, and then send a correction command to the feeder through the host computer. After receiving the reply from the feeder, the host computer sends the material pit position information to the feeder in real time and waits for the feeder to reply. If a signal that the correction is completed is received, the correction result test is completed.
[0015] Furthermore, in step S3, during the high-speed feeding process of the feeder, the host computer uses image processing technology to calculate the pictures captured by high-speed photography, and then transmits them to the feeder in real time through USB communication. The host computer uses a polygon fitting algorithm to perform quadrilateral fitting, identifies the position of the quadrilateral of the material pit, obtains the actual coordinates of the material pit, and uses the actual coordinates of the material pit to obtain the actual feeding distance, and automatically corrects the mechanical error of the feeder.
[0016] Furthermore, the image recognition and operation processing includes the following sub-steps: first, the original image taken by the high-speed camera is cropped according to the cross coordinates set by the host computer, and then the original image is filtered, denoised and binarized according to the filtering parameters and binarization parameters set by the host computer. The image is then expanded to fill small gaps to obtain a smoother image, and then the closed contour is scanned to obtain a pixel set of the closed contour. The maximum circumscribed rectangle of the set is then solved. If the calculated rectangle size range is within the empirical value range, the rectangle coordinates are output, otherwise they are not output.
[0017] Further, in step S1, a communication slot is provided on the base of the calibration instrument, and the feeder which is not connected to the material belt is plugged into the communication slot of the calibration instrument, and the calibration instrument and the feeder establish communication.
[0018] In step S2, the host computer sends a correction instruction through the calibrator, and the calibrator converts the correction instruction sent by the host computer into a control signal for calibrating the feeder, controls the motor and sensor of the feeder to execute the correction instruction sent by the host computer, and the host computer first sends a generator correction instruction, and after receiving the motor calibration completion signal, the host computer sends a sensor correction instruction to the calibrator.
[0019] Further, in step S3, after completing step S2, first remove the feeder from the calibrator, and after the feeders are connected to the material belts respectively, plug the feeders into the communication slots of the calibrator again, and identify the feeders respectively again through the host computer, turn on the light source of the calibrator and adjust the position of the high-speed camera, shoot the material belts through the high-speed camera and send the captured visual image to the host computer, and after the host computer obtains the visual image, the host computer first performs image segmentation processing, image filtering processing and visual recognition algorithm processing on the visual image to obtain the material pit position of the real-time component and the positioning line A of the feeder,
[0020] The control of the feeder is realized through the human-machine interactive interface with camera image interface set on the host computer, and the correction process is observed in real time to see if there are any errors.
[0021] The host computer sets the feeder to calibration mode through the calibrator. The calibrator controls the feeder to move at a constant speed. After the components on the material belt move to the positioning line A, the calibrator sends the command of the host computer to the feeder. The host computer obtains the mechanical error correction information through algorithm processing and sends it to the feeder to automatically calibrate the mechanical error.
[0022] Furthermore, the main board of the calibrator is provided with a main control chip and a USBHUB circuit. The feeder is connected to the main control chip of the calibrator via UART to realize real-time communication between the calibrator and the feeder, so that the calibrator can control the feeder and obtain the status of the feeder. The main control chip obtains in real time the electrical signal generated when the control button arranged on the outside of the calibrator is triggered. The main control chip and the high-speed camera are respectively connected to the USBHUB circuit of the main board via the USB interface. The USBHUB circuit is connected to the host computer via a USB cable, thereby reducing the USB connection cables used between the calibrator and the host computer.
[0023] Furthermore, the correction instrument is provided with a dimming circuit, and the correction instrument outputs a PWM wave to the dimming circuit, and the dimming circuit controls and adjusts the light source.
[0024] Furthermore, the shell covers the high-speed camera and the light source, and a plurality of control buttons are arranged on the outside of the shell. The main control chip receives the electrical signals of the control buttons and controls the feeder to execute corresponding instructions according to the received electrical signals; the human-computer interaction interface is provided with an image adjustment interface, which adjusts the parameters of image segmentation processing and image filtering processing through real-time feedback debugging images, so as to obtain more accurate actual coordinates of the material pit.
[0025] Furthermore, the motor parameters of the motor are self-calibrated through a software algorithm. After receiving a start calibration command from a host computer, the feeder runs the corresponding calibration code within itself to obtain the calibration parameters.
[0026] Furthermore, the feeder is connected to the calibrator, and the firmware inside the feeder is replaced by utilizing the communication between the host computer and the calibrator; a bracket is installed on the base of the calibrator, a camera position adjustment mechanism is installed above the bracket, and the high-speed camera is installed on one side of the camera position adjustment mechanism. The high-speed camera is located above the feeder slot. The calibrator is provided with a three-axis dovetail groove manual slide, and the knobs for driving the movement of each axis are extended out of the casing, respectively, to facilitate the adjustment and focusing of the high-speed camera, thereby avoiding the influence of errors in the mechanical parts of the calibrator.
[0027] Compared with the prior art, the advantages of the present invention are as follows: the correction instrument obtains the actual position of the material belt during transmission in real time through a high-speed camera, and feeds back the position to the feeder for self-correction, and utilizes the high frame rate of the high-speed camera and the fast processing capability of the host computer to achieve high-precision and efficient fully automatic correction, thereby improving the correction accuracy and efficiency of the feeder, and making the later maintenance of the feeder more convenient. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a structural schematic diagram of the correction instrument of the present invention.
[0029] Figure 2It is a structural diagram of a three-axis dovetail groove manual slide mounted on the bracket of the calibrator.
[0030] Figure 3 It is a partial structural diagram of this feeder.
[0031] Figure 4 It is a flow chart of the overall operation of the calibrator of the present invention.
[0032] Figure 5 It is a flow chart of the sensor calibration flow chart of the present invention.
[0033] Figure 6 It is a flow chart of correcting mechanical errors of the present invention.
[0034] Figure 7 It is a flow chart of the image recognition algorithm of the present invention.
[0035] Figure 8 It is a flow chart of the test correction results of the present invention.
[0036] Fig. 9 It is a circuit block diagram of the mainboard of the calibrator of the present invention.
[0037] Fig.10 It is a communication block diagram of the calibrator mainboard of the present invention.
[0038] Fig.11 It is the main interface diagram of the flyer host computer of the present invention.
[0039] Fig.12 It is a calibration mode interface diagram of the feeder host computer of the present invention.
[0040] Fig.13 This is a diagram of the image adjustment interface of the feeder host computer of the present invention.
[0041] Markings in the figure:
[0042] 1 High-speed camera
[0043] 2 Light Source
[0044] 3 Feeder communication slots
[0045] 4 Fixing parts
[0046] 5. Calibrator main control circuit board
[0047] 6 Z-axis dovetail manual slide
[0048] 7 Y-axis dovetail manual slide
[0049] 8 Bracket
[0050] 9 X-axis dovetail manual slide
[0051] 10 Base
[0052] 11 Shell
[0053] 12 control buttons
[0054] 13Feida. DETAILED DESCRIPTION
[0055] A fully automatic batch high-precision visual feeder calibration method for chip placement machines. Figures 1 to 13 As shown, step S1, computer initialization,
[0056] Power the calibrator and connect it to the host computer. A feeder communication slot 3 is provided on the base 10 of the calibrator. First, plug the feeder 13 that is not connected to the material belt into the feeder communication slot 3 of the calibrator. The calibrator and the feeder 13 establish communication. The host computer and the calibrator establish communication. Configure relevant parameters on the host computer, initialize the high-speed camera 1, search for the feeder device and connect the feeder 13.
[0057] Step S2, correcting sensor errors,
[0058] The upper computer sends a correction instruction through the calibrator, and the calibrator converts the correction instruction sent by the upper computer into a control signal for correcting the flyer 13, and controls the motor and sensor of the flyer 13 to execute the correction instruction sent by the upper computer. The upper computer first sends a generator correction instruction, and after receiving the motor correction completion signal, the upper computer sends a sensor correction instruction to the calibrator.
[0059] Specifically, the upper computer first sends a correction instruction to the flyer 13 through the correction instrument, and the correction instrument first sends a motor correction signal for correcting the motor to the flyer. After receiving the motor correction signal, the flyer 13 automatically runs the motor in an open loop, obtains the parameters of the motor closed operation and sends them to the correction instrument. After the motor is corrected, the flyer 13 sends a generator correction completion signal to the correction instrument;
[0060] After the calibrator obtains the calibration completion signal of the calibration motor, it sends the sensor calibration signal for calibrating the sensor to the flyer 13. The flyer 13 receives the sensor calibration signal and automatically runs the motor in a closed loop, obtains the sensor error parameter and sends it to the calibrator. After the sensor calibration is completed, the flyer 13 sends the sensor calibration completion signal to the calibrator. After the calibrator receives the sensor calibration completion signal, the sensor error calibration process ends.
[0061] The motor parameters of the motor of Feida 13 are self-calibrated through the software algorithm built into Feida 13. After Feida 13 receives the start calibration command from the host computer, Feida 13 runs the corresponding calibration code inside itself to obtain the calibration parameters.
[0062] The main board of the calibrator is provided with a main control chip and a USBHUB circuit. The flyer 13 is connected to the main control chip of the calibrator through UART, realizing real-time communication between the calibrator and the flyer 13, realizing the calibrator's control over the flyer 13 and obtaining the status of the flyer 13. The main control chip obtains in real time the electrical signal generated when the control button 12 set on the outside of the calibrator is triggered. The main control chip and the high-speed camera 1 are respectively connected to the USBHUB circuit of the main board through the USB interface. The USBHUB circuit is connected to the host computer through a USB cable, reducing the USB connection cables used between the calibrator and the host.
[0063] A main control circuit board 5 of the calibrator is installed on the bracket 8, a Y-axis dovetail groove manual slide 7 is installed on the bracket 8, an X-axis dovetail groove manual slide 9 is installed on the Y-axis dovetail groove manual slide 7, and a Z-axis dovetail groove manual slide 6 is installed on the X-axis dovetail groove manual slide 9. The high-speed camera 1 and the light source 2 are fixed on the Z-axis dovetail groove manual slide 6 by a fixing component 4 installed on the upper end of the Z-axis dovetail groove manual slide 6. The Y-axis position of the high-speed camera 1 is adjusted by rotating the manual adjustment knob of the Y-axis dovetail groove manual slide 7, the X-axis position of the high-speed camera 1 is adjusted by rotating the manual adjustment knob of the X-axis dovetail groove manual slide 9, and the Z-axis position of the high-speed camera 1 is adjusted by rotating the manual adjustment knob of the Z-axis dovetail groove manual slide 6.
[0064] Step S3, correcting mechanical errors,
[0065] After completing step S2, first remove the flyer 13 from the calibrator. After the flyer 13 is connected to the material belt respectively, the flyer 13 is again plugged into the flyer communication slot 3 of the calibrator. The flyer 13 is identified by the host computer again, the light source 2 of the calibrator is turned on and the position of the high-speed camera 1 is adjusted. The material belt is photographed by the high-speed camera 1 and the photographed visual image is sent to the host computer. After the host computer obtains the visual image, the host computer first performs image segmentation processing, image filtering processing and visual recognition algorithm processing on the visual image to obtain the material pit position of the real-time component and the positioning line A of the flyer 13. The flyer 13 is controlled by a human-computer interaction interface with a camera image interface set on the host computer, and the correction process is observed in real time to see if there is any error. The host computer sets the flyer 13 to the calibration mode through the calibrator. The calibrator controls the flyer 13 to move at a constant speed. After the component of the material belt moves to the positioning line A, the calibrator sends the command of the host computer to the flyer 13. The host computer obtains mechanical error correction information through algorithm processing and sends it to the flyer 13 to automatically calibrate the mechanical error.
[0066] Specifically, firstly, the visual parameters are adjusted through a human-computer interaction interface with a camera image interface set on the host computer. The visual parameters include light source 2 parameters, image filtering parameters, binarization parameters and recognition coordinate parameters. The light source 2 parameters, filtering parameters and binarization parameters are fine-tuned according to the filtered binarized image displayed by the host computer, and the center of the cross is adjusted to be flush with the positioning line A of the flyer 13. The host computer starts to send commands to the flyer 13 through the calibrator and receives a reply from the calibrator. The host computer performs image recognition and calculation processing on the image taken by the high-speed camera 1 in real time and sends the trough position information, waiting for the calibrator to reply. If a signal indicating that the calibration is completed is received, the calibration is completed.
[0067] Image recognition and computational processing include the following sub-steps: first, the original image captured by the high-speed camera 1 is cropped according to the cross coordinates set by the host computer; then, the original image is filtered, de-noised and binarized according to the filtering parameters and binarization parameters set by the host computer; then, the image is dilated to fill in small gaps to obtain a smoother image, and then a closed contour is scanned to obtain a pixel set of the closed contour; then, the maximum circumscribed rectangle of the set is solved; if the solved rectangle size range is within the empirical value range, the rectangle coordinates are output; otherwise, they are not output.
[0068] The calibrator is provided with a dimming circuit, which outputs a PWM wave to the dimming circuit, and controls and adjusts the light source 2 through the dimming circuit.
[0069] The outer shell 11 of the correction instrument covers the high-speed camera 1 and the light source 2, so as to avoid the actual image quality degradation caused by the influence of the external light source 2, and also avoid the stimulation to the human eye caused by the overbright fill light, and also play a role in protecting the internal components. A plurality of control buttons 12 are arranged on the outside of the outer shell 11, and the main control chip receives the electrical signal of the control button 12 and controls the flyer 13 to execute the corresponding instruction according to the received electrical signal. The correction instrument of the present invention is provided with a control button 12, and the touch switch of the correction instrument is more convenient compared with the membrane button on the flyer 13. The human-computer interaction interface of the upper computer is provided with an image adjustment interface, and the parameters of the image segmentation processing and the image filtering processing are adjusted through the debugging image with real-time feedback, so as to obtain more accurate actual coordinates of the material pit.
[0070] The human-computer interaction mode of Feida 13 is relatively simple. It is equipped with four membrane buttons. The four membrane buttons are used to realize the setting and calibration of various errors. The workload is large and the efficiency is low. When the manual membrane button is used to obtain the actual walking step length of the feeding, the main body of Feida 13 will shake when the human body presses the membrane button, and the accuracy of the human eye is not high, and the human body reacts too slowly, resulting in the accuracy not meeting the requirements.
[0071] The calibrator obtains the actual position of the material belt during transmission in real time through the high-speed camera 1, and feeds back the position to the feeder 13 for self-calibration. By utilizing the high frame rate of the high-speed camera 1 and the fast processing of the PC, high-precision and efficient fully automatic calibration can be achieved.
[0072] Errors in mechanical parts and mechanical assembly will cause different steps of feeding when feeder 13 is actually feeding. For example, the minimum step of feeder 13 is 2mm. When the pulling wheel that drags the material belt walks one circle, the corresponding 2mm step is 72 materials. Therefore, it is necessary to obtain the actual step of 72 materials and use this parameter to make corrections during the feeding process to make the feeding accuracy of feeder 13 meet the actual placement requirements.
[0073] During the high-speed feeding process of Feeder 13, the host computer uses image processing technology to calculate the images captured by high-speed photography, and then transmits them to Feeder 13 in real time through USB communication. The host computer uses a polygon fitting algorithm to perform quadrilateral fitting, identify the position of the quadrilateral of the material pit, obtain the actual coordinates of the material pit, and use the actual coordinates of the material pit to obtain the actual feeding distance, and automatically correct the mechanical error of Feeder 13.
[0074] The host computer sets the feeder 13 to the calibration mode through the calibrator. The calibrator controls the feeder 13 to move at a constant speed. After the components of the material belt move to the positioning line A, the calibrator sends the command of the host computer to the feeder 13. The host computer obtains the mechanical error correction information through algorithm processing and sends it to the feeder 13 to automatically calibrate the mechanical error.
[0075] Step S4, calibration result test,
[0076] After the mechanical error is corrected, the correction result test is performed. First, adjust the visual parameters in the image adjustment interface, fine-tune the visual parameters of the high-speed camera 1 to appropriate parameters according to the light source 2 or the material of the material belt, and then send a correction command to the feeder 13 through the host computer. After receiving the reply from the feeder 13, the host computer sends the material pit position information to the feeder 13 in real time and waits for the reply from the feeder 13. If a signal that the correction is completed is received, the correction result test is completed.
[0077] Figures 11 to 13 As shown, through the real-time feedback debugging image, the image segmentation and image filtering parameters are adjusted to make the coordinates more accurate when positioning the trough. At the same time, you can choose to automatically adjust or manually adjust the recognition calibration coordinates. The sliders from top to bottom correspond to the binarization parameters, image filtering parameters, and light source 2 size respectively. Click or long press the direction arrow to adjust the recognition coordinate center.
[0078] Connect the feeder 13 to the calibration instrument, and use the communication between the host computer and the calibration instrument to replace the firmware inside the feeder 13.
[0079] A bracket 8 is installed on the base 10 of the correction instrument, a camera position adjustment mechanism is installed above the bracket 8, a high-speed camera 1 is installed on one side of the camera position adjustment mechanism, and the high-speed camera 1 is located above the feeder slot. The correction instrument is provided with a three-axis dovetail groove manual slide, and the knobs for driving the movement of each axis extend out of the casing respectively, which facilitates the adjustment and focusing of the high-speed camera 1 and avoids the influence of the error of the mechanical parts of the correction instrument. The present invention provides a stable mechanical structure through a three-axis dovetail groove manual slide, reducing the error caused by the jitter of the feeder 13 during feeding or correction.
[0080] The present invention improves the delivery efficiency of mass-produced feeders 13 through the correction instrument, improves the feeding accuracy of the feeder 13 at the same time, and can be used for the later maintenance of the feeder 13, making the later maintenance of the feeder 13 simpler, more convenient and faster.
Claims
1. A fully automatic batch high-precision visual feeder calibration method for a chip mounter, characterized in that: Step S1, computer initialization, Power the calibrator and connect it to the host computer. The host computer and the calibrator establish communication. Configure relevant parameters on the host computer, initialize the high-speed camera, search for the feeder device and connect it. Step S2, correcting sensor errors, The upper computer sends a correction command to the feeder through the correction instrument. The correction instrument first sends a motor correction signal for correcting the motor to the feeder. After receiving the motor correction signal, the feeder automatically runs the motor in an open loop, obtains the parameters of the motor's closed operation and sends them to the correction instrument. After the motor is corrected, the feeder sends a generator correction completion signal to the correction instrument. After the calibrator receives the calibration completion signal of the calibration motor, it sends the sensor calibration signal used to calibrate the sensor to the flyer. After receiving the sensor calibration signal, the flyer automatically runs the motor in a closed loop, obtains the sensor error parameter and sends it to the calibrator. After the sensor calibration is completed, the flyer sends the sensor calibration completion signal to the calibrator. After the calibrator receives the sensor calibration completion signal, the sensor error calibration process ends. Step S3, correcting mechanical errors, First, adjust the visual parameters through the human-computer interaction interface with a camera image interface set on the host computer. The visual parameters include light source parameters, image filtering parameters, binarization parameters, and recognition coordinate parameters. Fine-tune the light source parameters, filtering parameters, and binarization parameters according to the filtered binarization image displayed by the host computer, and adjust the center of the cross to be flush with the positioning line A of the flyer. The host computer starts to send commands to the flyer through the calibrator and receives a reply from the calibrator. The host computer performs image recognition and calculation processing on the image taken by the high-speed camera in real time and sends the trough position information, waiting for the calibrator to reply. If a signal that the calibration is completed is received, the calibration is completed; Step S4, calibration result test, After the mechanical error is corrected, the correction result test is performed. First, adjust the visual parameters in the image adjustment interface, fine-tune the visual parameters of the high-speed camera to appropriate parameters according to the light source or the material of the material belt, and then send a correction command to the feeder through the host computer. After receiving the reply from the feeder, the host computer sends the material pit position information to the feeder in real time and waits for the feeder to reply. If a signal that the correction is completed is received, the correction result test is completed.
2. The method for fully automatic batch high-precision visual feeder calibration for a chip mounter according to claim 1, characterized in that: In step S3, during the high-speed feeding process of the feeder, the host computer uses image processing technology to calculate the images captured by high-speed photography, and then transmits them to the feeder in real time through USB communication. The host computer uses a polygon fitting algorithm to perform quadrilateral fitting, identifies the position of the quadrilateral of the material pit, obtains the actual coordinates of the material pit, and uses the actual coordinates of the material pit to obtain the actual feeding distance, and automatically corrects the mechanical error of the feeder.
3. The method for fully automatic batch high-precision visual feeder calibration for a chip mounter according to claim 1, characterized in that: The image recognition and operation processing includes the following sub-steps: first, the original image taken by the high-speed camera is cropped according to the cross coordinates set by the host computer, and then the original image is filtered, denoised and binarized according to the filtering parameters and binarization parameters set by the host computer. The image is then expanded to fill small gaps to obtain a smoother image, and then the closed contour is scanned to obtain a pixel set of the closed contour. The maximum circumscribed rectangle of the set is then solved. If the solved rectangle size range is within the empirical value range, the rectangle coordinates are output, otherwise they are not output.
4. The method for fully automatic batch high-precision visual feeder calibration for a chip mounter according to claim 1, characterized in that: In step S1, a communication slot is provided on the base of the calibration instrument, and the feeder which is not connected to the material belt is plugged into the communication slot of the calibration instrument, and the calibration instrument and the feeder establish communication. In step S2, the host computer sends a correction instruction through the calibrator, and the calibrator converts the correction instruction sent by the host computer into a control signal for calibrating the feeder, controls the motor and sensor of the feeder to execute the correction instruction sent by the host computer, and the host computer first sends a generator correction instruction, and after receiving the motor calibration completion signal, the host computer sends a sensor correction instruction to the calibrator.
5. The method for fully automatic batch high-precision visual feeder calibration for a chip mounter according to claim 1, characterized in that: In step S3, after completing step S2, the feeder is first removed from the calibration instrument, and after the feeders are respectively connected to the material belt, the feeders are again plugged into the communication slot of the calibration instrument, and the feeders are respectively identified by the host computer again, the light source of the calibration instrument is turned on and the position of the high-speed camera is adjusted, the material belt is photographed by the high-speed camera and the photographed visual image is sent to the host computer, and after the host computer obtains the visual image, the host computer first performs image segmentation processing, image filtering processing and visual recognition algorithm processing on the visual image, and obtains the material pit position of the real-time component and the positioning line A of the feeder, The feeder can be controlled by setting up a human-machine interactive interface with a camera image interface on the host computer, and the correction process can be observed in real time to see if there are any errors. The host computer sets the feeder to calibration mode through the calibrator. The calibrator controls the feeder to move at a constant speed. After the components on the material belt move to the positioning line A, the calibrator sends the command of the host computer to the feeder. The host computer obtains the mechanical error correction information through algorithm processing and sends it to the feeder to automatically calibrate the mechanical error.
6. The method for fully automatic batch high-precision visual feeder calibration for a chip mounter according to claim 1, characterized in that: The main board of the calibrator is provided with a main control chip and a USBHUB circuit. The feeder is connected to the main control chip of the calibrator through UART, so as to realize real-time communication between the calibrator and the feeder, realize the calibrator's control over the feeder and obtain the status of the feeder. The main control chip obtains in real time the electrical signal generated when the control button arranged on the outside of the calibrator is triggered. The main control chip and the high-speed camera are respectively connected to the USBHUB circuit of the main board through the USB interface. The USBHUB circuit is connected to the host computer through the USB cable, so as to reduce the USB connection cables used between the calibrator and the host computer.
7. The method for fully automatic batch high-precision visual feeder calibration for a chip mounter according to claim 1, characterized in that: The correction instrument is provided with a dimming circuit, and the correction instrument outputs a PWM wave to the dimming circuit, and the dimming circuit controls and adjusts the light source.
8. The method for fully automatic batch high-precision visual feeder calibration for a chip mounter according to claim 1, characterized in that: The shell covers the high-speed camera and the light source, and a plurality of control buttons are arranged on the outside of the shell. The main control chip receives the electrical signals of the control buttons and controls the feeder to execute corresponding instructions according to the received electrical signals; the human-computer interaction interface is provided with an image adjustment interface, which adjusts the parameters of image segmentation processing and image filtering processing through real-time feedback debugging images, so as to obtain more accurate actual coordinates of the material pit.
9. The method for fully automatic batch high-precision visual feeder calibration for a chip mounter according to claim 1, characterized in that: The motor parameters of the motor are self-calibrated through a software algorithm. After receiving a start calibration command from a host computer, the feeder runs the corresponding calibration code within itself to obtain the calibration parameters.
10. The method for fully automatic batch high-precision visual feeder calibration for a chip mounter according to claim 1, characterized in that: The feeder is connected to the calibrator, and the firmware inside the feeder is replaced by utilizing the communication between the host computer and the calibrator. A bracket is installed on the base of the calibrator, and a camera position adjustment mechanism is installed above the bracket. The high-speed camera is installed on one side of the camera position adjustment mechanism. The high-speed camera is located above the feeder slot. The calibrator is provided with a three-axis dovetail groove manual slide, and the knobs for driving the movement of each axis are extended out of the casing, which facilitates the adjustment and focusing of the high-speed camera and avoids the influence of errors in the mechanical parts of the calibrator.
Citation Information
Patent Citations
Smart feeder
CN106358381A
Correction system and method for feeder of plaster machine
CN1956650A
Cited By
Workpiece assembly combination equipment, assembly production line and assembly method
CN119869860A
