Special-shaped electronic component insertion control method, system and storage medium
Through the collaborative control of the PLC system and the robot, the automatic insertion of special-shaped electronic components is realized, which solves the problems of low insertion efficiency and lack of versatility in the existing technology, and improves the insertion efficiency and adaptability of multiple types of components.
Patent Information
- Application Number
- CN202210939549.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-05
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-08-05
AI Technical Summary
The existing special-shaped electronic components have low insertion efficiency and poor versatility. A method is needed to improve the insertion efficiency and enhance the ability to insert multiple types of special-shaped components.
The PLC system is used to control the transfer machine and manipulator, the PCB board is clamped and fixed, and the special-shaped electronic components are automatically inserted into the preset position using visual inspection methods to achieve manual-free insertion.
It improves the efficiency and versatility of the insertion of special-shaped electronic components, reduces the need for manual insertion, reduces the cost, and ensures the quality of the insertion.
Smart Images

Figure CN115297623B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of component insertion, and in particular to a method, system and storage medium for controlling insertion of special-shaped electronic components. Background Art
[0002] Special-shaped components are the key to electronic products. Common special-shaped components include relays, IPMs, rectifier bridges, transformers, connectors, transistors, touch switches, and SMD components. In the manufacturing process of electrical equipment, the insertion of special-shaped electronic components on PCB boards is a key step in the production of electrical equipment. The insertion of special-shaped electronic components is either done with special equipment or with labor-intensive manual production lines. However, special equipment is expensive and can only be used to insert specific components, so it is not very versatile. Manual insertion has problems such as low insertion efficiency, high labor costs, and difficulty in ensuring insertion quality. Summary of the invention
[0003] The embodiments of the present invention provide a method, system and storage medium for controlling the insertion of special-shaped electronic components, aiming to solve the problems of low insertion efficiency and poor versatility of existing special-shaped electronic components.
[0004] In a first aspect, an embodiment of the present invention provides a method for controlling insertion of a special-shaped electronic component, which includes:
[0005] The PLC system controls the transfer machine to place the PCB board on the PCB conveyor belt into the PCB fixing carrier, and controls the PCB fixing carrier to clamp and fix the PCB board;
[0006] The PLC system controls the PCB fixing carrier to move on the main conveyor belt, locks it when it moves to the first plug-in station, and sends a first positioning completion instruction to the upper computer;
[0007] The host computer receives the first positioning completion instruction, and detects whether a preset ready instruction sent by the manipulator is received within a preset time range;
[0008] If the host computer receives the preset ready instruction sent by the manipulator within the preset time range, it sends a gripping instruction to the manipulator;
[0009] The robot grips the special-shaped electronic components in the material tray according to the gripping instruction, and inserts the special-shaped electronic components into the preset positions on the PCB board according to the visual detection method.
[0010] In a second aspect, an embodiment of the present invention further provides a special-shaped electronic component insertion control system, which includes a first detection unit and a first sending unit configured in a host computer, a first control unit and a second control unit configured in a PLC system, and a first insertion unit configured in a manipulator, wherein:
[0011] The first control unit is used for the PLC system to control the transfer machine to put the PCB board on the PCB conveyor belt into the PCB fixing carrier, and control the PCB fixing carrier to clamp and fix the PCB board;
[0012] The second control unit is used for the PLC system to control the PCB fixing carrier to move on the main conveyor belt, lock it when it moves to the first plug-in station, and send a first positioning completion instruction to the upper computer;
[0013] The first detection unit is used for the host computer to receive the first positioning completion instruction and detect whether a preset ready instruction sent by the manipulator is received within a preset time range;
[0014] The first sending unit is used to send a gripping instruction to the manipulator if the host computer receives the preset ready instruction sent by the manipulator within the preset time range;
[0015] The first insertion unit is used for the manipulator to clamp the special-shaped electronic components in the material tray according to the clamping instruction, and to insert the special-shaped electronic components into the preset position on the PCB board according to the visual detection method.
[0016] In the third aspect, an embodiment of the present invention further provides a control system for insertion of special-shaped electronic components, which includes a host computer, a PLC system and a manipulator, wherein the PLC system is used to control the insertion device, and the insertion device includes a transfer machine, a PCB fixed carrier, a main conveyor belt, a PCB conveyor belt, a carrier reflow device and a material tray, and the host computer, the PLC system and the manipulator all include a memory and a processor, and a computer program is stored in the memory, and the host computer, the PLC system and the processors of the manipulator jointly implement the above method when executing their respective computer programs.
[0017] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program can implement the above method when executed by multiple processors.
[0018] The embodiment of the present invention provides a control method, system and storage medium for inserting special-shaped electronic components. The method includes: the PLC system controls the transfer machine to put the PCB board on the PCB conveyor belt into the PCB fixed carrier, and controls the PCB fixed carrier to clamp and fix the PCB board; the PLC system controls the PCB fixed carrier to move on the main conveyor belt, locks it when it moves to the first plug-in station, and sends a first positioning completion instruction to the upper computer; the upper computer receives the first positioning completion instruction, and detects whether the preset ready instruction sent by the manipulator is received within the preset time range; if the upper computer receives the preset ready instruction sent by the manipulator within the preset time range, it sends a clamping instruction to the manipulator; the manipulator clamps the special-shaped electronic components in the material tray according to the clamping instruction, and inserts the special-shaped electronic components to the preset position on the PCB board according to the visual detection method. In the technical solution of the embodiment of the present invention, by controlling the movement and locking of the PCB fixing carrier, and when the manipulator receives the clamping instruction sent by the host computer, it clamps the special-shaped electronic components in the material tray and inserts the special-shaped electronic components into the PCB board without manual insertion, which can improve the insertion efficiency of special-shaped electronic components; because many types of special-shaped electronic components can be inserted, the versatility of insertion can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0020] Figure 1 A schematic diagram of a special-shaped electronic component insertion control system provided by an embodiment of the present invention;
[0021] Figure 2 A schematic diagram of a flow chart of an insertion device and a manipulator of a special-shaped electronic component insertion control method provided by an embodiment of the present invention;
[0022] Figure 3 A schematic diagram of a flow chart of a method for controlling insertion of special-shaped electronic components provided by an embodiment of the present invention;
[0023] Figure 4 A schematic diagram of a sub-process of a special-shaped electronic component insertion control method provided by an embodiment of the present invention;
[0024] Figure 5 A schematic flow chart of a method for controlling insertion of special-shaped electronic components provided by another embodiment of the present invention;
[0025] Figure 6 A schematic block diagram of a special-shaped electronic component insertion control system provided by an embodiment of the present invention;
[0026] Figure 7 A schematic block diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0029] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0030] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0031] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.
[0032] See also Figure 1 , Figure 1 : is a scene diagram of a special-shaped electronic component insertion control system provided by an embodiment of the present invention. The special-shaped electronic component insertion control system includes a host computer, a PLC system and a manipulator, wherein the PLC system is used to control the insertion device, such as Figure 2As shown, the insertion device includes a transfer machine ( Figure 2 Not shown), PCB fixed carrier, main conveyor belt, PCB conveyor belt, carrier reflow device ( Figure 2 The PCB conveyor belt is used to transfer the PCB board to the position of the transfer machine, and the transfer machine includes a first transfer machine and a second transfer machine. The first transfer machine is arranged between the main conveyor belt and the PCB conveyor belt, and is used to put the PCB board on the PCB conveyor belt into the PCB fixed carrier on the main conveyor belt; the second transfer machine is arranged at the end of the main conveyor belt, and is used to take the PCB board out of the PCB fixed carrier; the carrier reflow tool is used to transport the PCB fixed carrier that has taken out the PCB board back to the head end of the main conveyor belt; the material tray is used to hold the special-shaped electronic components; the host computer includes but is not limited to electronic devices with communication functions such as tablet computers, laptop computers and desktop computers. In this embodiment, the host computer communicates with the PLC system to receive the first positioning completion instruction sent by the PLC after the PLC system controls the transfer machine to place the PCB board on the PCB conveyor belt into the PCB fixed carrier; the host computer communicates with the manipulator to send a clamping instruction to the manipulator, and the manipulator clamps the special-shaped electronic components according to the clamping instruction and inserts the special-shaped electronic components into the PCB board. It should be noted that in the embodiment of the present invention, by controlling the movement and locking of the PCB fixed carrier, and when the manipulator receives the clamping instruction sent by the host computer, the special-shaped electronic components in the material tray are clamped, and the special-shaped electronic components are inserted into the PCB board, without manual insertion, which can improve the low insertion efficiency of special-shaped electronic components; because multiple types of special-shaped electronic components can be inserted, the versatility of insertion can be improved.
[0033] Figure 3 FIG. 1 is a flow chart of a method for controlling the insertion of special-shaped electronic components provided by an embodiment of the present invention. Figure 3 As shown, the method includes the following steps S100-S140.
[0034] S100, the PLC system controls the transfer machine to place the PCB board on the PCB conveyor belt into the PCB fixing carrier, and controls the PCB fixing carrier to clamp and fix the PCB board.
[0035] In an embodiment of the present invention, after the PCB board enters the PCB conveyor belt from the PCB board entrance for transportation, the first sensor installed on the PCB conveyor belt detects the PCB board. When it reaches the preset designated position on the PCB conveyor belt, the PLC system controls the first transfer machine to place the PCB board into the PCB fixed carrier. After the second sensor in the PCB fixed carrier detects that the PCB board is placed, the PLC system sends a clamping instruction to the PCB fixed carrier so that the PCB fixed carrier clamps and fixes the PCB board. It should be noted that in an embodiment of the present invention, the first sensor is a distance sensor; the second sensor is a pressure sensor.
[0036] S110, the PLC system controls the PCB fixing carrier to move on the main conveyor belt, locks it when it moves to the first plug-in station, and sends a first positioning completion instruction to the upper computer.
[0037] In an embodiment of the present invention, after the PCB fixing carrier clamps and fixes the PCB board, the PLC system controls the PCB fixing carrier to move on the main conveyor belt, and locks the PCB fixing carrier when it moves to the first plug-in station. After locking is completed, a first positioning completion instruction is sent to the host computer, indicating that the PCB fixing carrier carrying the PCB board is located at the first plug-in station.
[0038] S120: The host computer receives the first positioning completion instruction, and detects whether a preset ready instruction sent by the robot is received within a preset time range.
[0039] In an embodiment of the present invention, the host computer receives the first positioning completion instruction, and detects whether a preset ready instruction sent by the manipulator is received within a preset time range, wherein the preset time range can be set according to actual needs, for example, it can be set to 1 Min. It should be noted that in an embodiment of the present invention, the manipulator includes a first manipulator, a second manipulator, a third manipulator and a fourth manipulator, and the first plug-in station is equipped with two manipulators, namely the first manipulator and the second manipulator. It should also be noted that in an embodiment of the present invention, if the host computer does not receive the preset ready instruction sent by the manipulator within the preset time range, an alarm message is sent to relevant personnel so that the relevant personnel can deal with the abnormality in a timely manner.
[0040] S130: If the host computer receives the preset ready instruction sent by the manipulator within the preset time range, it sends a gripping instruction to the manipulator.
[0041] In the embodiment of the present invention, if the host computer receives the preset ready instruction sent by the manipulator within the preset time range, indicating that the manipulator is normal, a clamping instruction is sent to the manipulator. Understandably, because the PCB fixing carrier is located at the first plug-in station at this time, the host computer sends the clamping instruction to the first manipulator and the second manipulator.
[0042] S140, the robot grips the special-shaped electronic components in the material tray according to the gripping instruction, and inserts the special-shaped electronic components into a preset position on the PCB board according to a visual inspection method.
[0043] In an embodiment of the present invention, the first manipulator and the second manipulator clamp the special-shaped electronic components in the material tray according to the clamping instruction, wherein the material tray includes a first material tray and a second material tray, and the special-shaped electronic components include a first special-shaped electronic component and a second special-shaped electronic component. It can be understood that the first special-shaped electronic component is installed in the first material tray, and the second special-shaped electronic component is installed in the second material tray. After clamping the special-shaped electronic components, the special-shaped electronic components are inserted into the preset positions on the PCB board according to the visual detection method, wherein the visual detection method is to calculate the similarity between the image taken by the visual camera and the preset image to obtain a similarity value, and insert the special-shaped electronic components into the preset positions on the PCB board according to the similarity value.
[0044] In some embodiments, such as the present embodiment, Figure 4 As shown, the step S140 may include steps S141-S142.
[0045] S141, the first manipulator grasps the first special-shaped electronic component in the first material tray according to the grasping instruction, and inserts the first special-shaped electronic component into a first preset position on the PCB board according to a visual inspection method;
[0046] S142. After the first manipulator returns to the preset safety position, the second manipulator clamps the second special-shaped electronic component in the second material tray according to the clamping instruction, and inserts the second special-shaped electronic component into the second preset position on the PCB board according to the visual inspection method.
[0047] In an embodiment of the present invention, in order to prevent the first manipulator from colliding with the second manipulator, the first manipulator and the second manipulator are controlled to execute sequentially. Specifically, the first manipulator clamps the first special-shaped electronic component in the first material tray according to the clamping instruction, and inserts the first special-shaped electronic component to the first preset position on the PCB board according to the visual detection method; after the first manipulator returns to the preset safe position, the second manipulator clamps the second special-shaped electronic component in the second material tray according to the clamping instruction, and inserts the special-shaped electronic component to the second preset position on the PCB board according to the visual detection method. Further, the visual inspection method is specifically that the first manipulator moves the first special-shaped electronic component that is clamped to the top of the PCB board, and photographs the PCB board through a visual camera to obtain a captured image, and calculates the similarity between the captured image and a preset image to obtain a similarity value; determines whether the similarity value is greater than a preset similarity threshold; if the similarity value is greater than the preset similarity threshold, it indicates that the position of the first manipulator is suitable for insertion, and the first special-shaped electronic component is inserted into the PCB board; understandably, if the similarity value is not greater than the preset similarity threshold, it indicates that the position of the first manipulator is not suitable for insertion, and the position of the first special-shaped electronic component above the PCB board is adjusted. Furthermore, the position of the first special-shaped electronic component above the PCB board can be adjusted by adjusting the position of the manipulator; after the position is adjusted, the number of adjustments is increased by 1, and it is determined whether the number of adjustments is less than the preset number of adjustments. If the number of adjustments is less than the preset number of adjustments, the step of photographing the PCB board with a visual camera to obtain a photographed image is returned to be executed until the similarity value is greater than the preset similarity threshold; it is understandable that if the number of adjustments is not less than the preset number of adjustments, an alarm message is sent to relevant personnel so that the relevant personnel can handle the abnormality. It should be noted that in an embodiment of the present invention, the method in which the second manipulator inserts the second special-shaped electronic component into the second preset position on the PCB board according to the visual detection method is similar to the method in which the first manipulator inserts the first special-shaped electronic component into the first preset position on the PCB board according to the visual detection method, and will not be repeated here.
[0048] Figure 5 A flow chart of a method for controlling the insertion of special-shaped electronic components provided by another embodiment of the present invention is shown as follows: Figure 5 As shown, in this embodiment, the control method for inserting special-shaped electronic components in this embodiment includes steps S200-S270. Steps S200-S280 are similar to steps S100-S140 in the above embodiment, and will not be repeated here. The following is a detailed description of the added steps S250-S280 in this embodiment.
[0049] S250: If the host computer receives the preset workstation ready instruction sent by the PLC system, it sends a second preset start instruction to the PLC system;
[0050] S260, the PLC system controls the PCB fixed carrier to move on the main conveyor belt according to the second preset start instruction, locks it when it moves to the second plug-in station, and sends a second positioning completion instruction to the host computer;
[0051] S270, the host computer sends the gripping instruction to the third manipulator and the fourth manipulator according to the second positioning completion instruction;
[0052] S280, the third manipulator and the fourth manipulator clamp the special-shaped electronic components in the material tray according to the clamping instruction, and insert the special-shaped electronic components into the preset positions on the PCB board according to the visual inspection method.
[0053] In an embodiment of the present invention, after the PCB board in the PCB fixed carrier is inserted into the first plug-in station, the second manipulator will send a first insertion completion instruction to the host computer. After receiving the first insertion completion instruction, the host computer sends a carrier detection instruction to the PLC system. The PLC system detects whether the PCB fixed carrier exists on the second plug-in station according to the carrier detection instruction. If the PCB fixed carrier does not exist on the second plug-in station, it indicates that the second plug-in station is ready. The PLC system sends the preset station ready instruction to the host computer. It is understandable that if the PCB fixed carrier exists on the second plug-in station, it indicates that the second plug-in station is not ready, then wait for the second plug-in station to complete insertion. It is understandable that if the second plug-in station is still not ready within the preset waiting time, an alarm message can be sent to relevant personnel so that the relevant personnel can handle the abnormality in time.
[0054] Furthermore, the material tray further includes a third material tray and a fourth material tray, the special-shaped electronic component further includes a third special-shaped electronic component and a fourth special-shaped electronic component, the host computer receives the preset station ready instruction sent by the PLC system, and sends a second preset start instruction to the PLC system; the PLC system controls the PCB fixed carrier to move on the main conveyor belt according to the second preset start instruction, locks the PCB fixed carrier when moving to the second plug-in station, and sends a second positioning completion instruction to the host computer; the host computer receives the second positioning completion instruction, and controls the PCB fixed carrier to move on the main conveyor belt according to the second preset start instruction, and locks the PCB fixed carrier when moving to the second plug-in station, and sends a second positioning completion instruction to the host computer; the host computer receives the second positioning completion instruction, and controls the PCB fixed carrier to move on the main conveyor belt according to the second preset start instruction. The positioning completion instruction sends the clamping instruction to the third manipulator and the fourth manipulator; the third manipulator clamps the third special-shaped electronic component in the third material tray according to the clamping instruction, and inserts the third special-shaped electronic component to the third preset position on the PCB board according to the visual detection method; after the third manipulator returns to the preset safe position, the fourth manipulator clamps the fourth special-shaped electronic component in the fourth material tray according to the clamping instruction, and inserts the fourth special-shaped electronic component to the fourth preset position on the PCB board according to the visual detection method. It should be noted that the insertion process of the third manipulator and the fourth manipulator is similar to the insertion process of the first manipulator and the second manipulator, which will not be repeated here.
[0055] Furthermore, after the second plug-in station is installed, the PLC system will send a second installation completion instruction to the host computer, and send an unlocking instruction to the PCB fixed carrier to unlock the PCB fixed carrier, and control the unlocked PCB fixed carrier to move to the end of the main conveyor belt. After that, the PLC system controls the second transfer machine to take out the PCB board from the PCB fixed carrier, so that the PCB board moves to the next station with the main conveyor belt. It should be noted that, in an embodiment of the present invention, the PCB fixed carrier is transferred back to the head end of the main conveyor belt by the carrier reflow device. It should also be noted that, in an embodiment of the present invention, Socket is used for communication between the host computer, the manipulator and the PLC system.
[0056] Figure 6 FIG. 7 is a schematic block diagram of a special-shaped electronic component insertion control system 70 provided by an embodiment of the present invention. Figure 6 As shown, it corresponds to the above-mentioned special-shaped electronic component insertion control method applied to the host computer, PLC system and manipulator. The special-shaped electronic component insertion control system 70 includes a unit for executing the above-mentioned special-shaped electronic component insertion control method. Specifically, please refer to Figure 6The special-shaped electronic component insertion control system 70 includes a first detection unit 101 and a first sending unit 102 configured in the host computer 10, a first control unit 201 and a second control unit 202 configured in the PLC system 20, and a first insertion unit 301 configured in the manipulator 30.
[0057] Among them, the first control unit 201 is used for the PLC system to control the transfer machine to put the PCB board on the PCB conveyor belt into the PCB fixed carrier, and control the PCB fixed carrier to clamp and fix the PCB board; the second control unit 202 is used for the PLC system to control the PCB fixed carrier to move on the main conveyor belt, lock it when it moves to the first plug-in station, and send a first positioning completion instruction to the host computer; the first detection unit 101 is used for the host computer to receive the first positioning completion instruction, and detect whether the preset ready instruction sent by the manipulator is received within the preset time range; the first sending unit 102 is used to send a clamping instruction to the manipulator if the host computer receives the preset ready instruction sent by the manipulator within the preset time range; the first insertion unit 301 is used for the manipulator to clamp the special-shaped electronic components in the material tray according to the clamping instruction, and insert the special-shaped electronic components to the preset position on the PCB board according to the visual detection method.
[0058] In some embodiments, such as this embodiment, the first plug-in unit 301 includes a first plug-in sub-unit and a second plug-in sub-unit.
[0059] Among them, the first insertion subunit is used for the first manipulator to clamp the first special-shaped electronic component in the first material tray according to the clamping instruction, and insert the first special-shaped electronic component into the first preset position on the PCB board according to the visual detection method; the second insertion subunit is used for the second manipulator to clamp the second special-shaped electronic component in the second material tray according to the clamping instruction after the first manipulator returns to the preset safe position, and insert the second special-shaped electronic component into the second preset position on the PCB board according to the visual detection method.
[0060] In some embodiments, such as the present embodiment, the first plug-in sub-unit includes a moving unit, a calculating unit, a third plug-in sub-unit, an adjusting unit, and a returning executing unit.
[0061] Among them, the moving unit is used for the first manipulator to move the first special-shaped electronic component clamped to the top of the PCB board, and take a picture of the PCB board through a visual camera to obtain a captured image; the calculation unit is used to calculate the similarity between the captured image and a preset image to obtain a similarity value; the third insertion subunit is used to insert the first special-shaped electronic component onto the PCB board if the similarity value is greater than a preset similarity threshold; the adjustment unit is used to adjust the position of the first special-shaped electronic component above the PCB board if the similarity value is not greater than the preset similarity threshold; the return execution unit is used to return to the step of taking a picture of the PCB board through a visual camera to obtain a captured image if the number of adjustments is less than the preset number of adjustments, until the similarity value is greater than the preset similarity threshold.
[0062] In certain embodiments, such as another embodiment, the special-shaped electronic component insertion control system 70 also includes a second sending unit and a third sending unit configured in the host computer 10, a third control unit configured in the PLC system 20, and a second insertion unit configured in the manipulator 30.
[0063] Among them, the second sending unit is used for the host computer to send a second preset start instruction to the PLC system if it receives a preset workstation ready instruction sent by the PLC system; the third control unit is used for the PLC system to control the PCB fixed carrier to move on the main conveyor belt according to the second preset start instruction, lock it when moving to the second plug-in station, and send a second positioning completion instruction to the host computer; the third sending unit is used for the host computer to send the clamping instruction to the third manipulator and the fourth manipulator according to the second positioning completion instruction; the second insertion unit is used for the third manipulator and the fourth manipulator to clamp the special-shaped electronic components in the material tray according to the clamping instruction, and insert the special-shaped electronic components to the preset position on the PCB board according to the visual inspection method.
[0064] In certain embodiments, such as yet another embodiment, the special-shaped electronic component insertion control system 70 further includes a fourth sending unit configured in the host computer 10 and a second detection unit and a fifth sending unit configured in the PLC system 20 .
[0065] Among them, the fourth sending unit is used for the host computer to receive the first insertion completion instruction sent by the second manipulator, and send a carrier detection instruction to the PLC system; the second detection unit is used for the PLC system to detect whether the PCB fixed carrier exists on the second plug-in station according to the carrier detection instruction; if the fifth sending unit does not exist on the second plug-in station, the PLC system sends the preset station ready instruction to the host computer.
[0066] In some embodiments, such as another embodiment, the special-shaped electronic component insertion control system 70 further includes a fourth control unit and a fifth control unit configured in the PLC system 20 .
[0067] Among them, the fourth control unit is used for the PLC system to send a second insertion completion instruction to the host computer, and unlock the PCB fixed carrier, and control the unlocked PCB fixed carrier to move to the end of the main conveyor belt; the fifth control unit is used for the PLC system to control the transfer machine to remove the PCB board from the PCB fixed carrier, so that the PCB board moves to the next workstation along with the main conveyor belt.
[0068] The above-mentioned special-shaped electronic component insertion control system can be implemented in the form of a computer program, which can be used in Figure 7 Runs on the computer device shown.
[0069] See also Figure 7 , Figure 7 900 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 900 may be the above-mentioned host computer, PLC system and manipulator.
[0070] See also Figure 7 The computer device 900 includes a processor 902 , a memory and an interface 907 connected via a system bus 901 , wherein the memory may include a non-volatile storage medium 903 and an internal memory 904 .
[0071] The non-volatile storage medium 903 can store an operating system 9031 and a computer program 9032. When the computer program 9032 is executed, the processor 902 can execute a special-shaped electronic component insertion control method.
[0072] The processor 902 is used to provide computing and control capabilities to support the operation of the entire computer device 900 .
[0073] The internal memory 904 provides an environment for the execution of the computer program 9032 in the non-volatile storage medium 903 .
[0074] The interface 905 is used to communicate with other devices. Those skilled in the art will appreciate that Figure 7 The structure shown in the figure is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device 900 to which the solution of the present application is applied. The specific computer device 900 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0075] The processors 902 in the host computer, PLC system and manipulator are used to run computer programs 9032 stored in their respective memories. When the computer program 3032 is executed, the processor 902 can execute a method for controlling the insertion of special-shaped electronic components.
[0076] It should be understood that in the embodiment of the present application, the processor 902 may be a central processing unit (CPU), and the processor 902 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0077] It is understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.
[0078] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program. When the computer program is executed by a processor, the processor executes any embodiment of the above-mentioned special-shaped electronic component insertion control method.
[0079] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage media that can store program codes.
[0080] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0081] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0082] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0083] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention.
[0084] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0085] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
[0086] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A control method for inserting special-shaped electronic components, characterized in that: include: The PLC system controls the transfer machine to place the PCB board on the PCB conveyor belt into the PCB fixing carrier, and controls the PCB fixing carrier to clamp and fix the PCB board; The PLC system controls the PCB fixing carrier to move on the main conveyor belt, locks it when it moves to the first plug-in station, and sends a first positioning completion instruction to the upper computer; The host computer receives the first positioning completion instruction, and detects whether a preset ready instruction sent by the manipulator is received within a preset time range; If the host computer receives the preset ready instruction sent by the manipulator within the preset time range, it sends a gripping instruction to the manipulator; The manipulator grasps the special-shaped electronic components in the material tray according to the grasping instruction, and inserts the special-shaped electronic components into a preset position on the PCB board according to the visual detection method; The manipulator includes a first manipulator and a second manipulator, the material tray includes a first material tray and a second material tray, the special-shaped electronic component includes a first special-shaped electronic component and a second special-shaped electronic component, the manipulator clamps the special-shaped electronic component in the material tray according to the clamping instruction, and inserts the special-shaped electronic component into a preset position on the PCB board according to the visual detection method, including: The first manipulator grasps the first special-shaped electronic component in the first material tray according to the grasping instruction, and inserts the first special-shaped electronic component into a first preset position on the PCB board according to a visual inspection method; After the first manipulator returns to the preset safety position, the second manipulator grasps the second special-shaped electronic component in the second material tray according to the grasping instruction, and inserts the second special-shaped electronic component into the second preset position on the PCB board according to the visual inspection method; The manipulator further includes a third manipulator and a fourth manipulator, the material tray further includes a third material tray and a fourth material tray, the special-shaped electronic component further includes a third special-shaped electronic component and a fourth special-shaped electronic component, and the method further includes: If the host computer receives the preset workstation ready instruction sent by the PLC system, it sends a second preset start instruction to the PLC system; The PLC system controls the PCB fixing carrier to move on the main conveyor belt according to the second preset start instruction, locks it when it moves to the second plug-in station, and sends a second positioning completion instruction to the host computer; The host computer sends the gripping instruction to the third manipulator and the fourth manipulator according to the second positioning completion instruction; The third manipulator grasps the third special-shaped electronic component in the third material tray according to the grasping instruction, and inserts the third special-shaped electronic component into a third preset position on the PCB board according to the visual inspection method; After the third manipulator returns to the preset safety position, the fourth manipulator clamps the fourth special-shaped electronic component in the fourth material tray according to the clamping instruction, and inserts the fourth special-shaped electronic component into the fourth preset position on the PCB board according to the visual inspection method.
2. The special-shaped electronic component insertion control method according to claim 1, characterized in that: The step of inserting the first special-shaped electronic component into a first preset position on the PCB board according to the visual inspection method includes: The first manipulator moves the first special-shaped electronic component clamped to above the PCB board, and takes a picture of the PCB board through a visual camera to obtain a photographed image; Calculating the similarity between the captured image and the preset image to obtain a similarity value; If the similarity value is greater than a preset similarity threshold, the first special-shaped electronic component is inserted into the PCB board.
3. The method according to claim 2, characterized in that After the step of calculating the similarity between the captured image and the preset image to obtain a similarity value, the method further includes: If the similarity value is not greater than the preset similarity threshold, adjusting the position of the first special-shaped electronic component above the PCB board; If the number of adjustments is less than the preset number of adjustments, the process returns to executing the step of photographing the PCB board by a visual camera to obtain a photographed image until the similarity value is greater than a preset similarity threshold.
4. The method according to claim 1, characterized in that If the host computer receives the preset workstation ready instruction sent by the PLC system, before the step of sending the second preset start instruction to the PLC system, it also includes: The host computer receives the first insertion completion instruction sent by the second manipulator, and sends a carrier detection instruction to the PLC system; The PLC system detects whether the PCB fixing carrier exists on the second plug-in station according to the carrier detection instruction; If the PCB fixing carrier does not exist on the second plug-in station, the PLC system sends the preset station ready instruction to the host computer.
5. The method according to claim 4, characterized in that After the step of the third manipulator and the fourth manipulator gripping the special-shaped electronic component in the material tray according to the gripping instruction and inserting the special-shaped electronic component into the preset position on the PCB board according to the visual inspection method, the method further includes: The PLC system sends a second insertion completion instruction to the host computer, unlocks the PCB fixed carrier, and controls the unlocked PCB fixed carrier to move to the end of the main conveyor belt; The PLC system controls the transfer machine to take out the PCB board from the PCB fixing carrier, so that the PCB board moves to the next station along with the main conveyor belt.
6. A control system for inserting special-shaped electronic components, characterized in that: include: A first detection unit, a first sending unit, a second sending unit and a third sending unit configured in the host computer, a first control unit, a second control unit and a third control unit configured in the PLC system, and a first insertion unit and a second insertion unit configured in the manipulator, wherein: The first control unit is used for the PLC system to control the transfer machine to put the PCB board on the PCB conveyor belt into the PCB fixing carrier, and control the PCB fixing carrier to clamp and fix the PCB board; The second control unit is used for the PLC system to control the PCB fixing carrier to move on the main conveyor belt, lock it when it moves to the first plug-in station, and send a first positioning completion instruction to the upper computer; The first detection unit is used for the host computer to receive the first positioning completion instruction and detect whether a preset ready instruction sent by the manipulator is received within a preset time range; The first sending unit is used to send a gripping instruction to the manipulator if the host computer receives the preset ready instruction sent by the manipulator within the preset time range; The first insertion unit is used for the manipulator to clamp the special-shaped electronic components in the material tray according to the clamping instruction, and to insert the special-shaped electronic components into a preset position on the PCB board according to the visual detection method; The manipulator includes a first manipulator and a second manipulator, the material tray includes a first material tray and a second material tray, the special-shaped electronic component includes a first special-shaped electronic component and a second special-shaped electronic component, and the first insertion unit includes: A first insertion subunit, used for the first manipulator to clamp the first special-shaped electronic component in the first material tray according to the clamping instruction, and to insert the first special-shaped electronic component into a first preset position on the PCB board according to a visual inspection method; A second insertion subunit is used for the second manipulator to clamp the second special-shaped electronic component in the second material tray according to the clamping instruction after the first manipulator returns to the preset safety position, and to insert the second special-shaped electronic component into the second preset position on the PCB board according to the visual inspection method; The manipulator further includes a third manipulator and a fourth manipulator, the material tray further includes a third material tray and a fourth material tray, the special-shaped electronic component further includes a third special-shaped electronic component and a fourth special-shaped electronic component, and the method further includes: The second sending unit is used for sending a second preset start instruction to the PLC system if the host computer receives the preset workstation ready instruction sent by the PLC system; The third control unit is used for the PLC system to control the PCB fixing carrier to move on the main conveyor belt according to the second preset start instruction, lock it when it moves to the second plug-in station, and send a second positioning completion instruction to the host computer; The third sending unit is used for the host computer to send the gripping instruction to the third manipulator and the fourth manipulator according to the second positioning completion instruction; The second insertion unit is used for the third manipulator to clamp the third special-shaped electronic component in the third material tray according to the clamping instruction, and insert the third special-shaped electronic component to the third preset position on the PCB board according to the visual inspection method; the fourth manipulator clamps the fourth special-shaped electronic component in the fourth material tray according to the clamping instruction after the third manipulator returns to the preset safe position, and inserts the fourth special-shaped electronic component to the fourth preset position on the PCB board according to the visual inspection method.
7. A control system for inserting special-shaped electronic components, characterized in that: It includes a host computer, a PLC system and a manipulator, the PLC system is used to control the insertion device, the insertion device includes a transfer machine, a PCB fixed carrier, a main conveyor belt, a PCB conveyor belt, a carrier reflow device and a material tray, the host computer, the PLC system and the manipulator all include a memory and a processor, the memory stores a computer program, and the host computer, the PLC system and the manipulator processors jointly implement the method as described in any one of claims 1-5 when executing their respective computer programs.
8. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a plurality of processors, the method according to any one of claims 1 to 5 can be implemented.
Citation Information
Patent Citations
Abnormal shape part inserting machine
CN106852013A
Plug-in mounting method, device and system for special-shaped element, electronic equipment and storage medium
CN113473834A
Manipulator automatic component inserter
CN209218534U
Full-automatic manipulator plug-in system based on machine vision recognition
CN211607252U
