A method, device and equipment for preventing mistakes in loading of SMT machine based on MES system
Patent Information
- Application Number
- CN202310816888.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-03
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2043-07-03
AI Technical Summary
[0004]有鉴于此,有必要提供一种基于MES系统的SMT机台上料防错方法、装置及设备,用以解决现有上料防错系统与机台分离控制导致上料防错可靠性低的技术问题
[0032]The beneficial effects of the above embodiments are as follows: The SMT machine loading error prevention method based on the MES system provided by the present invention, upon receiving a loading confirmation instruction, performs a loading confirmation operation on the material station to be confirmed based on the MES system and stores the attribute information and verification information of the material station to be confirmed in a verification information table; upon receiving a power-on request, it obtains the device code information of the device to be started through middleware and sends the device code information to the MES system; upon receiving the device code information, it performs a start-up verification based on the MES system and the verification information table to obtain verification status information; and sends the verification status information to the middleware so that the middleware controls the device to be started or locked according to the verification status information. The embodiments of the present invention, through the linkage of the MES system, middleware, and SMT machine, greatly improve the working efficiency and reliability of loading error prevention, and solve the technical problem of low reliability caused by the separation of existing loading error prevention systems and machine control.
Smart Images

Figure CN116981243B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of STM production management technology, and in particular to a method, apparatus and equipment for preventing errors in SMT machine loading based on an MES system. Background Technology
[0002] SMT (Surface Mount Technology) is currently the most popular technology and process in the electronics assembly industry. However, during SMT equipment placement, the large variety, small size, and similar appearance of surface mount components frequently lead to incorrect material selection. Furthermore, the high-speed, continuous operation of SMT equipment can result in significant economic losses for companies.
[0003] Currently, many SMT error-proofing systems on the market separate error-proofing during component loading from machine control. This means that component loading is verified by scanning feeder and part station barcodes, and the SMT machine operation is only started after manual confirmation of successful loading verification. However, due to human error, such as misoperation or negligence, the SMT machine may start before the error-proofing verification is complete, leading to incorrect or missing components. Therefore, a control method that integrates a MES (Manufacturing Execution System) system with the SMT machine is needed to further improve the reliability of error-proofing during component loading. Summary of the Invention
[0004] In view of this, it is necessary to provide a method, device and equipment for preventing errors in SMT machine loading based on MES system, so as to solve the technical problem of low reliability of loading error prevention caused by the separation of existing loading error prevention system and machine control.
[0005] To address the aforementioned problems, this invention provides a method for preventing errors in SMT machine loading based on a MES system, comprising:
[0006] Upon receiving a material loading confirmation instruction, the MES system performs a material loading confirmation operation on the material station to be confirmed and stores the attribute information and verification information of the material station to be confirmed in the verification information table.
[0007] Upon receiving a power-on request, the device code information of the device to be started is obtained through middleware and the device code information is sent to the MES system.
[0008] Upon receiving the device encoding information, a pending start verification is performed based on the MES system and the verification information table to obtain verification status information.
[0009] The verification status information is sent to the middleware, so that the middleware controls the device to be started or locked according to the verification status information.
[0010] Optionally, upon receiving a material loading confirmation instruction, the step of performing a material loading confirmation operation on the material station to be confirmed based on the MES system and storing the attribute information and verification information of the material station to be confirmed in a verification information table includes:
[0011] Upon receiving a material loading confirmation instruction, the system obtains the attribute information of the material station to be confirmed based on the MES system and performs a material loading confirmation operation on the material station to be confirmed.
[0012] After completing the material loading confirmation operation, the verification information is obtained;
[0013] The attribute information and the verification information are stored in the verification information table through the MES system.
[0014] Optionally, upon receiving the device encoding information, the step of performing a pending verification based on the MES system and the verification information table to obtain verification status information includes:
[0015] Upon receiving the device coding information, the MES system queries the verification information table for the material station verification information of the device to be started.
[0016] When there are no material stations in the material station verification information that have not been verified, the verification status information indicates that the verification has been completed.
[0017] When there are material station information that has not been verified in the material station verification information, the verification status information is "verification not completed".
[0018] Optionally, when there are incomplete verification information for material stations in the material station verification information, after the verification status information is "verification incomplete", it further includes:
[0019] The MES system prompts the user with the material station number for which the material loading verification has not been completed, so that the user can perform the material loading operation for the material station corresponding to the material station number.
[0020] Optionally, the middleware controls the startup or lock of the device to be started based on the verification status information, including:
[0021] When the verification status information indicates that verification is complete, the middleware calls the unlocking interface of the device to be started and controls the device to be started to start.
[0022] When the verification status information indicates that the verification is incomplete, the middleware calls the interlocking interface of the device to be started and controls the device to be started to lock.
[0023] Optionally, the parameters of the interlocking interface and the unlocking interface need to be configured according to the brand and model of the device to be started.
[0024] Optionally, the attribute information includes the material station number of the material station to be confirmed, the equipment number corresponding to the material station to be confirmed, and the equipment name.
[0025] Optionally, after each material loading confirmation operation is completed, the MES system will update the information in the verification information table so that the latest verification information and the latest attribute information of the same material station will overwrite the original verification information and the original attribute information.
[0026] Furthermore, the present invention also provides an error-proofing device for SMT machine loading based on a MES system, comprising:
[0027] The material loading confirmation module is used to perform material loading confirmation operations on the material station to be confirmed based on the MES system when a material loading confirmation instruction is received, and to store the attribute information and verification information of the material station to be confirmed in the verification information table.
[0028] The device code acquisition module is used to acquire the device code information of the device to be started through middleware and send the device code information to the MES system when a power-on request is received;
[0029] The startup verification module is used to perform startup verification based on the MES system and the verification information table when the device encoding information is received, and obtain the verification status information.
[0030] The device control module is used to send the verification status information to the middleware, so that the middleware controls the device to be started or locked according to the verification status information.
[0031] Furthermore, the present invention also provides an SMT machine loading error prevention device based on a MES system, including the above-mentioned SMT machine loading error prevention device based on a MES system.
[0032] The beneficial effects of the above embodiments are as follows: The SMT machine loading error prevention method based on the MES system provided by the present invention, upon receiving a loading confirmation instruction, performs a loading confirmation operation on the material station to be confirmed based on the MES system and stores the attribute information and verification information of the material station to be confirmed in a verification information table; upon receiving a power-on request, it obtains the device code information of the device to be started through middleware and sends the device code information to the MES system; upon receiving the device code information, it performs a start-up verification based on the MES system and the verification information table to obtain verification status information; and sends the verification status information to the middleware so that the middleware controls the device to be started or locked according to the verification status information. The embodiments of the present invention, through the linkage of the MES system, middleware, and SMT machine, greatly improve the working efficiency and reliability of loading error prevention, and solve the technical problem of low reliability caused by the separation of existing loading error prevention systems and machine control. Attached Figure Description
[0033] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0034] Figure 1 A flowchart illustrating an embodiment of the SMT machine loading error prevention method based on a MES system provided by the present invention;
[0035] Figure 2 This is a flowchart illustrating an embodiment of step S101 in the MES-based SMT machine loading error prevention method provided by the present invention.
[0036] Figure 3 This is a flowchart illustrating an embodiment of step S103 in the MES-based SMT machine loading error prevention method provided by the present invention.
[0037] Figure 4 This is a schematic diagram of an embodiment of the error-proofing device for SMT machine loading based on the MES system provided by the present invention. Detailed Implementation
[0038] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0039] It should be understood that the illustrative drawings are not drawn to scale. The flowcharts used in this invention illustrate operations implemented according to some embodiments of the invention. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed or performed simultaneously. Furthermore, those skilled in the art, guided by the content of this invention, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.
[0040] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0041] This invention provides a method, apparatus, and equipment for preventing errors in SMT machine loading based on a MES system, which will be described below.
[0042] Figure 1 This is a flowchart illustrating an embodiment of the SMT machine loading error prevention method based on the MES system provided by the present invention, as shown below. Figure 1 As shown, it includes:
[0043] S101, Upon receiving the material loading confirmation instruction, the system performs a material loading confirmation operation on the material station to be confirmed based on the MES system and stores the attribute information and verification information of the material station to be confirmed in the verification information table;
[0044] S102, Upon receiving a power-on request, the device coding information of the device to be started is obtained through middleware and the device coding information is sent to the MES system;
[0045] S103, Upon receiving the device encoding information, perform pending startup verification based on the MES system and the verification information table to obtain verification status information;
[0046] S104, the verification status information is sent to the middleware so that the middleware controls the device to be started or locked according to the verification status information.
[0047] It is understood that, in this embodiment of the invention, the material loading verification is jointly completed by the MES system, middleware, and SMT machine. In specific implementation, after a worker completes the material loading at a material station, the worker will confirm the material loading through the MES system. The MES system will record the material station number and the corresponding SMT machine's equipment code and equipment name, and mark the material station as having completed the material loading verification status, which can be represented by Y. If the material loading verification has not been completed, the material station will be marked as N. The attribute information includes equipment code, equipment name, material station number, and verification identifier, etc. Users can add these according to the actual production situation. All attribute information will be stored in the verification information table for subsequent verification.
[0048] It should be noted that, in this embodiment of the invention, the middleware acts as a bridge between the SMT machine and the MES system. It has its own control program and can be a computer, all-in-one machine, or other device with computing capabilities. The middleware monitors the SMT machine. When a worker starts the SMT machine, the middleware receives a start-up request. The middleware first obtains the encoding information of the machine to be started and then sends this encoding information to the MES system. The MES system can then use this encoding information to find all the material stations corresponding to the machine to be started from the verification information table and determine whether all material stations have a completed verification mark. If so, it sends a start-up permission signal to the middleware. The middleware then controls the machine to start based on this signal, commencing the placement process. This invention performs a secondary error-proofing verification on the corresponding material stations before the machine starts, after the MES system completes the initial material loading verification, greatly improving the reliability of the material loading error-proofing verification.
[0049] Compared with existing technologies, the SMT machine loading error prevention method based on the MES system provided by this invention performs loading confirmation operations on the unconfirmed material station based on the MES system when a loading confirmation instruction is received, and stores the attribute information and verification information of the unconfirmed material station in a verification information table; when a power-on request is received, the device code information of the device to be started is obtained through middleware and sent to the MES system; when the device code information is received, the device to be started is verified based on the MES system and the verification information table to obtain verification status information; the verification status information is sent to the middleware, so that the middleware controls the device to be started or locked according to the verification status information. This embodiment of the invention greatly improves the efficiency and reliability of loading error prevention through the linkage of the MES system, middleware, and SMT machine, and solves the technical problem of low reliability caused by the separation of loading error prevention systems from machine control in existing systems.
[0050] In some embodiments of the present invention, reference is made to... Figure 2 , Figure 2This is a flowchart illustrating an embodiment of step S101 of the SMT machine loading error prevention method based on the ME S system provided by the present invention. Step S101 includes:
[0051] S201, Upon receiving a material loading confirmation instruction, the MES system obtains the attribute information of the material station to be confirmed and performs a material loading confirmation operation on the material station to be confirmed.
[0052] S202, After completing the material loading confirmation operation, the verification information is obtained;
[0053] S203, the attribute information and the verification information are stored in the verification information table through the MES system.
[0054] It is understood that, in this embodiment of the invention, the material loading confirmation instruction can be issued by the user. The attribute information includes the SMT machine code, equipment name, material station number, etc., which can be pre-entered into the MES system by the worker, or obtained by the MES system from the production management control system. The worker then selects the material station number to be loaded and confirmed from the MES system as needed. After the material loading confirmation operation is completed for the material station, the material station is marked as having completed the verification status, and the verification information and attribute information are associated and saved together in the verification information table.
[0055] In some embodiments of the present invention, reference is made to... Figure 3 , Figure 3 This is a flowchart illustrating an embodiment of step S103 of the SMT machine loading error prevention method based on the ME S system provided by the present invention. Step S103 includes:
[0056] S301, Upon receiving the device coding information, the MES system queries the verification information table for the material station verification information of the device to be started;
[0057] S302, when there is no material station information that has not been verified in the material station verification information, the verification status information is that the verification has been completed;
[0058] S303, when there is material station information in the material station verification information that has not been verified, the verification status information is "verification not completed".
[0059] It is understood that, in this embodiment of the invention, since the MES system cannot directly obtain the status information of the SMT machine, it needs to monitor the SMT machine through middleware. When an SMT machine is powered on, it sends a power-on request signal to the middleware. The middleware then obtains the device code of the SMT machine that sent the information and passes the device code to the MES system. The MES system then performs status verification on all the material stations corresponding to the device code to determine whether all material stations have completed the verification.
[0060] In some embodiments of the present invention, after step S303, the method further includes:
[0061] The MES system prompts the user with the material station number for which the material loading verification has not been completed, so that the user can perform the material loading operation for the material station corresponding to the material station number.
[0062] It should be noted that, in this embodiment of the invention, when there are material stations in the material stations corresponding to the machine to be started that have not completed the material loading verification, the MES system can prompt the user through the display screen or voice broadcast which material stations have not completed the material loading verification, so that the user can quickly locate the location of the material stations that have not completed the material loading verification, and quickly perform the material loading completion verification on the material station based on the MES system, so that the machine to be started can re-verify the status and start the operation.
[0063] In some embodiments of the present invention, step S104 includes:
[0064] When the verification status information indicates that verification is complete, the middleware calls the unlocking interface of the device to be started and controls the device to be started to start.
[0065] When the verification status information indicates that the verification is incomplete, the middleware calls the interlocking interface of the device to be started and controls the device to be started to lock.
[0066] It should be noted that, in this embodiment of the invention, the middleware, through defining a standard interface, can achieve interlocking and control of SMT machines of different brands and models. In specific implementation, when the middleware receives verification completion information from the MES system, it calls the unlocking interface of the SMT machine to be started (i.e., the SMT machine unlocking remote command) to control the SMT machine to start and perform placement work; when the middleware receives verification incomplete information from the MES system, it calls the interlocking interface of the SMT machine to be started (i.e., the SMT machine interlocking remote command) to control the SMT machine to be started to lock and prevent it from starting.
[0067] In some embodiments of the present invention, the parameters of the interlocking interface and the unlocking interface need to be configured according to the brand and model of the device to be started.
[0068] Understandably, the device to be started refers to an SMT machine. A typical production workshop may have various models of SMT machines from different manufacturers, and their control interface parameters are not the same. Therefore, middleware is needed to configure the interface parameters of different SMT machines separately, so as to connect different models and brands of SMT machines with the MES system through the middleware.
[0069] In some embodiments of the present invention, the MES system updates the information in the verification information table after each material loading confirmation operation is completed, so that the latest verification information and the latest attribute information of the same material station overwrite the original verification information and the original attribute information.
[0070] It should be noted that in this embodiment of the invention, the MES system continuously maintains the material station information. After materials are used at a material station, the station is marked as incomplete material loading verification. Material stations that have not consumed materials for a long time remain in a verified status. After each material loading confirmation operation, the old information is replaced with new information; for example, a material station that was previously in an incomplete verification status will be updated to a verified status. Users can update the attribute information corresponding to a material station through the MES system, such as changing the equipment code and equipment name corresponding to a certain material station.
[0071] Reference Figure 4 This embodiment also provides an error-proofing device 400 for SMT machine loading based on a MES system, the device comprising:
[0072] The loading confirmation module 401 is used to perform loading confirmation operation on the material station to be confirmed based on the MES system when a loading confirmation instruction is received, and to store the attribute information and verification information of the material station to be confirmed in the verification information table.
[0073] The device code acquisition module 402 is used to acquire the device code information of the device to be started through middleware and send the device code information to the MES system when a power-on request is received;
[0074] The startup verification module 403 is used to perform startup verification based on the MES system and the verification information table when the device encoding information is received, and obtain verification status information.
[0075] The device control module 404 is used to send the verification status information to the middleware, so that the middleware controls the device to be started or locked according to the verification status information.
[0076] The above embodiment provides an SMT machine loading error prevention device based on a MES system, which can realize the scheme described in the embodiment of the above SMT machine loading error prevention method based on a MES system. The specific principles of each unit can be referred to the embodiment of the SMT machine loading error prevention method based on a MES system, which will not be repeated here.
[0077] The present invention also provides an SMT machine loading error prevention device based on a MES system, the device including the above-mentioned SMT machine loading error prevention device 400 based on a MES system.
[0078] Those skilled in the art will understand that all or part of the processes of the methods described in the above embodiments can be implemented by a computer program instructing related hardware, and the program can be stored in a computer-readable storage medium. The computer-readable storage medium may be a disk, optical disk, read-only memory, or random access memory, etc.
[0079] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for preventing errors in SMT machine loading based on a MES system, characterized in that, include: Upon receiving a material loading confirmation instruction, the MES system performs a material loading confirmation operation on the material station to be confirmed and stores the attribute information and verification information of the material station to be confirmed in the verification information table. Upon receiving a power-on request, the device code information of the device to be started is obtained through middleware and the device code information is sent to the MES system. Upon receiving the device encoding information, a pending start verification is performed based on the MES system and the verification information table to obtain verification status information. The verification status information is sent to the middleware, so that the middleware controls the device to be started or locked according to the verification status information. The middleware controls the startup or lock of the device to be started based on the verification status information, including: When the verification status information indicates that verification is complete, the middleware calls the unlocking interface of the device to be started and controls the device to be started to start. When the verification status information indicates that the verification is incomplete, the middleware calls the interlocking interface of the device to be started and controls the device to be started to lock. The parameters of the interlocking interface and the unlocking interface need to be configured according to the brand and model of the device to be started.
2. The method for preventing errors in SMT machine loading based on a MES system according to claim 1, characterized in that, Upon receiving a material loading confirmation instruction, the MES system performs a material loading confirmation operation on the material station to be confirmed and stores the attribute information and verification information of the material station to be confirmed in a verification information table, including: Upon receiving a material loading confirmation instruction, the system obtains the attribute information of the material station to be confirmed based on the MES system and performs a material loading confirmation operation on the material station to be confirmed. After completing the material loading confirmation operation, the verification information is obtained; The attribute information and the verification information are stored in the verification information table through the MES system.
3. The method for preventing errors in SMT machine loading based on a MES system according to claim 2, characterized in that, Upon receiving the device encoding information, the step involves performing a pending verification based on the MES system and the verification information table to obtain verification status information, including: Upon receiving the device coding information, the MES system queries the verification information table for the material station verification information of the device to be started. When there are no material stations in the material station verification information that have not been verified, the verification status information indicates that the verification has been completed. When there are material station information that has not been verified in the material station verification information, the verification status information is "verification not completed".
4. The method for preventing errors in SMT machine loading based on a MES system according to claim 2, characterized in that, When the material station verification information contains material station information that has not been verified, after the verification status information is "verification not completed", it also includes: The MES system prompts the user with the material station number for which the material loading verification has not been completed, so that the user can perform the material loading operation for the material station corresponding to the material station number.
5. The method for preventing errors in SMT machine loading based on a MES system according to claim 1, characterized in that, The attribute information includes the material station number of the material station to be confirmed, the equipment number corresponding to the material station to be confirmed, and the equipment name.
6. The method for preventing errors in SMT machine loading based on a MES system according to claim 5, characterized in that, After each material loading confirmation operation is completed, the MES system will update the information in the verification information table so that the latest verification information and the latest attribute information of the same material station will overwrite the original verification information and the original attribute information.
7. A method for preventing errors in SMT machine loading based on a MES system, characterized in that, include: The material loading confirmation module is used to perform material loading confirmation operations on the material station to be confirmed based on the MES system when a material loading confirmation instruction is received, and to store the attribute information and verification information of the material station to be confirmed in the verification information table. The device code acquisition module is used to acquire the device code information of the device to be started through middleware and send the device code information to the MES system when a power-on request is received; The startup verification module is used to perform startup verification based on the MES system and the verification information table when the device encoding information is received, and obtain the verification status information. The device control module is used to send the verification status information to the middleware, so that the middleware controls the device to be started or locked according to the verification status information; The middleware controls the startup or lock of the device to be started based on the verification status information, including: When the verification status information indicates that verification is complete, the middleware calls the unlocking interface of the device to be started and controls the device to be started to start. When the verification status information indicates that the verification is incomplete, the middleware calls the interlocking interface of the device to be started and controls the device to be started to lock. The parameters of the interlocking interface and the unlocking interface need to be configured according to the brand and model of the device to be started.
8. A method for preventing errors in SMT machine loading based on a MES system, characterized in that, Includes the error prevention device for SMT machine loading based on the MES system as described in claim 7.
Citation Information
Patent Citations
SMT chip mounter material verification mistake-proofing control method based on production informatization management system
CN111263579A