A data interactive encryption communication method for SMT feeder of high-speed placement machine

By using the SMT feeder data interactive encryption communication method in a high-speed chip machine, using custom data frames and AES encryption algorithms, the existing SMT feeder lacks intelligence and automation are solved, and fault diagnosis and early warning capabilities are realized. Improves productivity and data security.

CN118449737BActive Publication Date: 2024-12-10DONGGUAN WILDFIRE TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410527781.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-29
Publication Date
2024-12-10
Estimated Expiration
2044-04-29

AI Technical Summary

Technical Problem

The existing SMT feeders lack intelligence and automation in patch machines, and cannot achieve fault diagnosis and early warning, resulting in low production efficiency and lack of flexibility.

Method used

Using the SMT feeder data interaction encryption communication method of high-speed patch machine, data interaction is realized through the feeder communication board, control card and upper computer, and using custom data frame format and AES encryption algorithm to ensure data security and system control, and have faults Diagnostic and early warning capabilities.

Benefits of technology

It improves the automation and intelligence of SMT feeders, enhances production efficiency and flexibility, ensures the security of data transmission and system stability, and reduces the overall design complexity and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118449737B_ABST
    Figure CN118449737B_ABST
Patent Text Reader

Abstract

The invention discloses a data interaction encryption communication method for an SMT feeder of a high-speed placement machine, comprising a host computer for realizing human-computer interaction and overall control of various subsystems, a control card for communicating with the host computer, a feeder communication board for data interaction with the control card, and a plurality of SMT feeders plugged into the high-speed placement machine. The SMT feeder is powered and the designated SMT feeder is controlled by the feeder communication board. The SMT feeder responds to instructions of the feeder communication board and feeds materials or implements specific actions according to the instructions of the feeder communication board. The invention adopts the SMT feeder instructions issued by the host computer in a custom data frame format, and has an embedded AES encryption algorithm, has the advantages of high security and high efficiency, and provides a safe and reliable solution for the security of data interaction in the field of industrial manufacturing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of communication methods of high-speed placement machines, and in particular to a data interactive encryption communication method for an SMT feeder of a high-speed placement machine. Background Art

[0002] Printed circuit board (PCB board for short) is one of the important components of modern electronic industry. Printed circuit board is the carrier of various electronic components and an important component of various electrical equipment.

[0003] In the production process of PCB boards, the chip mounter (SMT for short) plays a very important role. It can quickly and accurately mount components of various packaging types onto PCB boards, and then undergo subsequent processing to produce the finished PCB boards and product equipment we need.

[0004] However, during the placement work, the placement machine needs the cooperation of the SMT feeder, and the accurate delivery of materials by the SMT feeder is its most important technology. At present, the material delivery method of the SMT feeder in the domestic market is still the traditional machine trigger or photoelectric trigger, so their intelligence and automation are greatly limited; and they do not have the ability to diagnose and warn faults, the production efficiency is low, and they lack flexibility. Therefore, there is an urgent need for an intelligent, automated SMT feeder with communication capabilities. Summary of the invention

[0005] In view of the deficiencies in the prior art, the purpose of the present invention is to provide a data interactive encrypted communication method for the SMT feeder of a high-speed placement machine, so that the SMT feeder can be automated and intelligent, have fault diagnosis and early warning capabilities, improve production efficiency, and increase flexibility.

[0006] The technical solution adopted by the present invention is: a data interactive encrypted communication method for an SMT feeder of a high-speed placement machine, comprising a host computer for realizing human-computer interaction and overall control of various subsystems, a control card for communicating with the host computer, a feeder communication board for data interaction with the control card, and a plurality of SMT feeders plugged into the high-speed placement machine, the SMT feeder is powered and the designated SMT feeder is controlled through the feeder communication board, the SMT feeder responds to the instructions of the feeder communication board and feeds materials or performs specific actions according to the instructions of the feeder communication board,

[0007] The control card parses the SMT feeder instructions sent by the host computer and packages the SMT feeder instructions in the format of the custom data frame to obtain a custom data frame. The custom data frame format includes the frame header, target address, bit number, function code, data segment, communication times and CRC check bit in sequence. Before packaging, at least four data in the target address, bit number, function code, data segment and communication times in the custom data frame are encrypted by the ECB mode of the AES encryption algorithm, and then the encrypted and packaged custom data frame is sent to the specified feeder communication board and waits for the specified feeder communication board to respond.

[0008] The frame header is used to determine the starting position of the current data frame in the receive buffer.

[0009] The target address and bit number are combined to identify the feeder communication board to which the current data frame is transmitted.

[0010] The function code is used to identify the specific function represented by the current data frame.

[0011] The data segment contains the instructions sent by the host computer or the error code, material output quantity and online information reported by the SMT feeder.

[0012] The communication times are the cumulative times of normal communication between different devices.

[0013] The function codes include forward instructions, backward instructions, reset instructions, step switching instructions, resetting the discharge quantity and reading the discharge quantity for controlling the SMT feeder. Human-computer interaction and overall control of various subsystems are achieved through the host computer, including controlling the action and moving step size of the SMT feeder, reading the discharge quantity and error status in the placement operation and other information.

[0014] The target address, bit number, function code, data segment and communication times in the custom data frame are encrypted through the ECB mode of the AES encryption algorithm before packaging, and the risk of a frame of data being intercepted and reused by others is reduced by increasing the number of communications.

[0015] The host computer adopts a computer, and the host computer is provided with corresponding driver programs, hardware interfaces, host computer software and transmission protocols. The hardware interfaces include RS422 interfaces or PCI-E cards. Communication between the host computer and the control card, and between the control card and the feeder communication board are achieved through the hardware interfaces and the host computer software and transmission protocols preset in the host computer. The transmission protocol adopts RS422 communication protocol. Communication between the feeder communication board and the SMT feeder is achieved through the uart serial port. The feeder communication board is used as the key bridge for communication in the entire system, and the host computer is connected to the SMT feeders at each numbered position.

[0016] The high-speed placement machine is provided with a plurality of execution devices, which communicate and exchange data with the plurality of feeder communication boards respectively through a control card, and power the plurality of SMT feeders respectively through a feeder communication board and control the designated SMT feeders to perform specific actions, and at the same time, the various execution devices of the high-speed placement machine are controlled respectively through the same control card, and the execution devices include servo motors.

[0017] The feeder communication board uses the i.MX RT1021 core board as the core control unit, and supplies power and communicates to the SMT feeder through the PA2.0 interface arranged on the feeder communication board. The feeder communication board is connected to the control card through the RS422 interface.

[0018] The feeder communication board periodically polls all numbered interfaces of the SMT feeder at a polling frequency of 1000Hz. When the SMT feeder is inserted, the detection signal line in the corresponding numbered interface will be pulled high accordingly. The feeder communication board obtains its level change, and then updates the online mark of the corresponding numbered SMT feeder, and turns on its 24V and 5V power supplies. After the SMT feeder and the feeder communication board establish a normal communication connection, the feeder communication board cyclically sends heartbeat frames to ensure normal bilateral communication, and the feeder communication board promptly detects and reports connection faults.

[0019] The data transmitted by the control card through the RS422 interface is processed by the feeder communication board, and the data is verified using CRC check:

[0020] a) If the transmitted data frame passes the CRC check, the AES symmetric encryption algorithm is used to decrypt the current data frame, and the custom data frame is unpacked to determine the specific SMT feeder number to be controlled and forward the instruction. After the feeder communication board successfully receives the reply, the information is reported to the control card, and then the control card forwards it to the host computer, thereby completing a complete communication and control process; if the feeder communication board does not successfully receive the reply, it will continue to forward the instruction and repeat the forwarding three times. If the reply is still not successfully received after repeating the forwarding three times, the feeder communication board will report the error information to the host computer, prompting the operator that the SMT feeder with the corresponding number has an error.

[0021] b) If the transmitted frame data fails to pass the CRC check, the feeder communication board reports a frame error message and the control card re-forwards the frame data.

[0022] Compared with the prior art, the advantages of the present invention are as follows: the present invention uses the feeder communication board as the key bridge of communication in the entire system, connects the host computer with the SMT feeders at each numbered position, reduces the complexity of the overall system design, improves the convenience of maintenance and replacement, and optimizes the spatial layout.

[0023] The SMT feeder of a high-speed placement machine has a communication function, and security in the data interaction process is particularly important. In order to prevent the data in the communication from being intercepted and deciphered, the present invention provides a data interaction encryption communication method for the SMT feeder of a high-speed placement machine. The present invention adopts the SMT feeder instructions issued by the host computer in a custom data frame format, and has an embedded AES encryption algorithm, which has the advantages of high security and high efficiency, and provides a safe and reliable solution for the security of data interaction in the field of industrial manufacturing. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a system structure diagram of the present invention.

[0025] Figure 2 It is a schematic diagram of the custom data frame and encrypted data segment of the present invention.

[0026] Figure 3 It is a flow chart of the power supply logic of the SMT feeder of the present invention.

[0027] Figure 4 It is a communication flow diagram of the SMT feeder of the present invention. DETAILED DESCRIPTION

[0028] A data interactive encryption communication method for an SMT feeder of a high-speed placement machine. Figures 1 to 4 As shown, it includes a host computer, a control card, a feeder communication board and an SMT feeder, a custom data frame and an AES encryption algorithm.

[0029] The host computer can be a computer with an RS422 interface. The host computer is equipped with corresponding drivers, hardware interfaces and host computer software. In this example, the host computer realizes data interaction with the control card through a PCI-E card, and the host computer software is not specifically limited. The host computer is mainly responsible for human-computer interaction and overall control of various subsystems, and has the functions of controlling the action and moving step size of the SMT feeder, reading the output quantity and error status in the placement operation and other information.

[0030] The control card is mainly responsible for communicating with the host computer. The control card parses the SMT feeder instructions issued by the host computer and packages the SMT feeder instructions in the format of the custom data frame to obtain a custom data frame. The custom data frame format includes a frame header, a target address, a bit number, a function code, a data segment, a number of communications, and a CRC check bit in sequence. Before packaging, at least the target address, function code, data segment, and number of communications in the custom data frame are encrypted using the ECB mode of the AES encryption algorithm. The encrypted and packaged custom data frame is then sent to the specified feeder communication board and waits for the specified feeder communication board to respond. The control card forwards it to the specified feeder communication board through the RS422 interface and waits for the specified feeder communication board to respond.

[0031] The feeder communication board is mainly responsible for the power supply and control of the SMT feeder. It parses the SMT feeder instructions issued by the control card through the feeder communication board, replies to the control card and controls specific feeding actions or reads data through the feeder communication board.

[0032] The SMT feeder is mainly responsible for feeding the materials, and responds to the instructions of the feeder communication board through the SMT feeder.

[0033] The present invention realizes efficient and convenient data interaction among the SMT feeder, the feeder communication board, the control card and the host computer based on the customized data frame format. The present invention can obtain the status information of the SMT feeder in real time, perform fault diagnosis and early warning. At the same time, the present invention optimizes the production line and improves the degree of automation by controlling the coordinated work of the SMT feeder and other equipment. In addition, the present invention embeds the AES encryption algorithm to ensure the security of the data.

[0034] In the embodiment, a host computer controls 2n SMT feeders through a control card and two feeder communication boards. Specifically, Figure 1 As shown, the control card exchanges data with the host computer and two feeder communication boards through the RS422 interface, and controls other devices, such as driving servo motors such as the X-axis servo motor and the Y-axis servo motor. There is a slot for inserting the feeder communication board on the front and back of the control card, and the two feeder communication boards are respectively inserted in the corresponding slots. Each feeder communication board is inserted into n SMT feeders. For example, in this example, n is 35, that is, 35 SMT feeders are inserted and controlled by one feeder communication board.

[0035] The present invention uses the feeder communication board as a key bridge for communication in the entire system, connects the host computer with the SMT feeders at each numbered position, reduces the complexity of the overall system design, improves the convenience of maintenance and replacement, and optimizes the space layout.

[0036] Preferably, the feeder communication board uses the i.MX RT1021 core board as the core control unit, which has higher performance advantages and faster processing speed. The functions of the feeder communication board are implemented by RT1021. Through embedded software programming, the PA2.0 interface on the feeder communication board supplies power and communication to the SMT feeder. The feeder communication board is connected to the control card through the RS422 interface to receive host computer instructions forwarded by the control card and upload SMT feeder information. The SMT feeder obtains power through the PA2.0 interface and exchanges data with the corresponding feeder communication board to receive instructions and accurately deliver materials, and actively report after a failure occurs.

[0037] Combination Figure 2 As shown, the transmission protocol preset in the host computer enables communication between the host computer and the control card, and between the control card and the feeder communication board. The transmission protocol adopts the RS422 communication protocol, and the communication between the feeder communication board and the SMT feeder is realized through the uart serial port.

[0038] When the system needs to report or issue instructions, a frame of data is packaged according to a custom frame format. The custom data frame format includes a frame header, a target address, a bit number, a function code, a data segment, a communication number, and a CRC check bit. The frame header is used to determine the starting position of the current data frame in the receiving buffer area. The target address and the bit number are combined to identify the feeder communication board of the current data frame transmission. The function code is used to identify the specific function represented by the current data frame. The data segment contains the instructions issued by the host computer or the error code reported by the SMT feeder, the number of materials discharged, and whether it is online. The number of communications is the cumulative number of normal communications between different devices. In the process of data interaction, in order to enhance data security, the present invention adopts a strategy of increasing the number of communications to reduce the risk of a frame of data being intercepted and reused by others. Through this measure, the confidentiality and reliability of data transmission can be effectively improved, and the integrity and authenticity of information during the transmission process can be ensured; the CRC check bit is used by the rear panel card to verify whether the data transmission of this frame is correct.

[0039] The preset rule is that the SMT feeder is inserted into a fixed slot, connected to the interface on the feeder communication board, powered by the feeder communication board and establishes communication. Specifically, Figure 3As shown, the feeder communication board periodically polls all numbered interfaces of the SMT feeder, and the polling frequency is 1000Hz. Based on the design of the hardware circuit, when the SMT feeder is inserted, the detection signal line in the corresponding numbered interface will be pulled high accordingly, and the feeder communication board obtains its level change, and then updates the online mark of the corresponding numbered SMT feeder, and turns on its 24V and 5V power supplies. After the SMT feeder and the feeder communication board establish a normal communication connection, the heartbeat frame is cyclically sent through the feeder communication board to ensure normal bilateral communication, and the connection fault is timely detected and reported through the feeder communication board.

[0040] After the host computer sends the instruction, the control card packages the data according to the custom data frame format, determines the feeder communication board to which the current data frame is to be transmitted, encrypts the data using the ECB mode of the AES encryption algorithm, and sends the data frame to the corresponding feeder communication board through the RS422 interface, thereby increasing the effective transmission distance and transmission speed, using differential signal transmission and effectively reducing electromagnetic interference, and improving communication quality.

[0041] Combination Figure 4 As shown, the data transmitted by the control card through the RS422 interface is processed by the feeder communication board, and the CRC check is used to verify the data:

[0042] a) If the transmitted data frame passes the CRC check, the AES symmetric encryption algorithm is used to decrypt the current data frame, and the custom data frame is unpacked to determine the specific SMT feeder number to be controlled and forward the instruction. After the feeder communication board successfully receives the reply, it reports the information to the control card, and then the control card forwards it to the host computer, thus completing a complete communication and control process; if the feeder communication board does not successfully receive the reply, it will continue to forward the instruction and repeat it three times. If the reply is still not successfully received after repeating the forwarding three times, the feeder communication board will report the error information to the host computer, prompting the operator that the SMT feeder with the corresponding number has an error.

[0043] b) If the transmitted frame data fails to pass the CRC check, the feeder communication board reports a frame error message and the control card re-forwards the frame data.

[0044] The present invention encrypts and packages the SMT feeder instructions issued by the host computer through a custom data frame format. The encryption adopts the ECB mode of the AES symmetric encryption algorithm, which ensures the flexibility and security of the system, has an error data processing mechanism, and does not involve too much intervention of the operating system. While improving the real-time performance, it also improves the stability of the entire system and the compatibility of the system. The present invention uses the feeder communication board as a relay and uses the RS422 interface and uart serial port communication to realize the data interaction function between the SMT feeder and the host computer, effectively enhancing the consistency of the system, and the entire control system is highly coordinated and unified.

[0045] The host computer can be connected to the Internet through the host computer software to realize remote real-time data interaction and remote control. Of course, the host computer can also be set up in the host computer cloud system of the Internet, and the control card performs data interaction and control with the host computer cloud system set up on the Internet through network communication. The present invention not only realizes remote monitoring and remote control of the SMT feeder, but also has a data interaction encryption mechanism, which ensures the security of the data and has significant advantages in a high-efficiency large-scale production environment.

[0046] The present invention improves the automation and intelligence of the production line; the present invention can accurately obtain the fault or abnormal situation of the SMT feeder, which is convenient for the operator to discover and solve it in time, and realize the fault diagnosis and early warning capabilities; if it is necessary to customize and adjust the SMT feeder configuration according to the specific layout and material characteristics of the production line, it can adapt to different production needs through software configuration and remote adjustment, effectively improving production efficiency and flexibility. Based on the customized data frame format, the present invention has higher applicability and flexibility, combined with the complex design of the number of communications in the data frame and the AES encryption algorithm, it provides higher data interaction security.

[0047] The above contents are only preferred embodiments of the present invention. For ordinary technicians in this field, according to the concept of the present invention, there will be changes in the specific implementation methods and application scopes. The content of this specification should not be understood as limiting the present invention.

Claims

1. A data interactive encryption communication method for an SMT feeder of a high-speed placement machine, characterized in that: It includes a host computer for realizing human-computer interaction and overall control of various subsystems, a control card for communicating with the host computer, a feeder communication board for data exchange with the control card, and multiple SMT feeders plugged into the high-speed placement machine. The feeder communication board is used to power the SMT feeder and control the specified SMT feeder. The SMT feeder responds to the instructions of the feeder communication board and feeds materials according to the instructions of the feeder communication board. The control card parses the SMT feeder instructions sent by the host computer and packages the SMT feeder instructions in the format of the custom data frame to obtain a custom data frame. The custom data frame format includes the frame header, target address, bit number, function code, data segment, communication times and CRC check bit in sequence. Before packaging, at least four data in the target address, bit number, function code, data segment and communication times in the custom data frame are encrypted by the ECB mode of the AES encryption algorithm, and then the encrypted and packaged custom data frame is sent to the specified feeder communication board and waits for the specified feeder communication board to respond. The frame header is used to determine the starting position of the current data frame in the receive buffer. The target address and bit number are combined to identify the feeder communication board to which the current data frame is transmitted. The function code is used to identify the specific function represented by the current data frame. The data segment contains the instructions sent by the host computer or the error code, material output quantity and online information reported by the SMT feeder. The number of communications is the cumulative number of normal communications between different devices; The feeder communication board periodically polls all numbered interfaces of the SMT feeder. When the SMT feeder is inserted, the detection signal line in the corresponding numbered interface will be pulled high accordingly. The feeder communication board obtains its level change and then updates the online flag of the corresponding numbered SMT feeder. After the SMT feeder and the feeder communication board establish a normal communication connection, the feeder communication board cyclically sends heartbeat frames to ensure normal bilateral communication. The feeder communication board promptly detects and reports connection faults.

2. The method for data interactive encryption communication of a SMT feeder of a high-speed placement machine according to claim 1, characterized in that: The function codes include forward instructions, backward instructions, reset instructions, step switching instructions, resetting the number of discharges and reading the number of discharges for controlling the SMT feeder. Human-computer interaction and overall control of various subsystems are achieved through the host computer, including controlling the action and moving step size of the SMT feeder, reading the number of discharges and error status information in the placement operation.

3. The method for data interactive encryption communication of a SMT feeder of a high-speed placement machine according to claim 1, characterized in that: The target address, bit number, function code, data segment and communication times in the custom data frame are encrypted through the ECB mode of the AES encryption algorithm before packaging, and the risk of a frame of data being intercepted and reused by others is reduced by increasing the number of communications.

4. The method for data interactive encryption communication of a SMT feeder of a high-speed placement machine according to claim 1, characterized in that: The host computer adopts a computer, and the host computer is provided with corresponding driver programs, hardware interfaces, host computer software and transmission protocols. The hardware interfaces include RS422 interfaces or PCI-E cards. Communication between the host computer and the control card, and between the control card and the feeder communication board are achieved through the hardware interfaces and the host computer software and transmission protocols preset in the host computer. The transmission protocol adopts RS422 communication protocol. Communication between the feeder communication board and the SMT feeder is achieved through the uart serial port. The feeder communication board is used as the key bridge for communication in the entire system, and the host computer is connected to the SMT feeders at each numbered position.

5. The method for data interactive encryption communication of a SMT feeder of a high-speed placement machine according to claim 1, characterized in that: The high-speed placement machine is provided with a plurality of execution devices, which communicate and exchange data with the plurality of feeder communication boards respectively through a control card, and power the plurality of SMT feeders respectively through a feeder communication board and control the designated SMT feeders to perform specific actions, and at the same time, the various execution devices of the high-speed placement machine are controlled respectively through the same control card, and the execution devices include servo motors.

6. The method for data interactive encryption communication of a SMT feeder of a high-speed placement machine according to claim 1, characterized in that: The feeder communication board uses the i.MX RT1021 core board as the core control unit, and supplies power and communicates to the SMT feeder through the PA2.0 interface arranged on the feeder communication board. The feeder communication board is connected to the control card through the RS422 interface.

7. The method for data interactive encryption communication of a SMT feeder of a high-speed placement machine according to claim 1, characterized in that: The polling frequency of all numbered interfaces of the SMT feeder is 1000 Hz through the feeder communication board, and the 24V and 5V power supplies of the SMT feeder are turned on after the SMT feeder is inserted.

8. The method for data interactive encryption communication of a SMT feeder of a high-speed placement machine according to claim 1, characterized in that: The data transmitted by the control card through the RS422 interface is processed by the feeder communication board, and the data is verified using CRC check: a) If the transmitted data frame passes the CRC check, the AES symmetric encryption algorithm is used to decrypt the current data frame, and the custom data frame is unpacked to determine the specific SMT feeder number to be controlled and forward the instruction. After the feeder communication board successfully receives the reply, the information is reported to the control card, and then the control card forwards it to the host computer, thereby completing a complete communication and control process; if the feeder communication board does not successfully receive the reply, it will continue to forward the instruction and repeat the forwarding three times. If the reply is still not successfully received after repeating the forwarding three times, the feeder communication board will report the error information to the host computer, prompting the operator that the SMT feeder with the corresponding number has an error; b) If the transmitted frame data fails to pass the CRC check, the feeder communication board reports a frame error message and the control card re-forwards the frame data.

Citation Information

Patent Citations

  • Fully automatic LED mounting machine control system

    CN105353721A

  • 8-axis motion control system for mounter

    CN108241317A

  • SMT feeding IC cabinet control system

    CN113589716A

  • Analytical system for surface mount technology (SMT) and method thereof

    US20230297098A1