CN-121979087-A - Heterogeneous cascade control's laser equipment control system
Abstract
The application discloses a heterogeneous cascade control laser equipment control system which comprises an upper computer, a master station module and at least one slave station module, wherein the slave station module comprises a slave station chip, a slave station FPGA and a slave station processor, the master station module and the slave station chip are in communication connection based on an EtherCAT protocol, the slave station chip and the slave station FPGA are connected through a high-speed parallel interface, the slave station processor is connected with the slave station FPGA, the system comprises a cascade working mode and an independent working mode, and the slave station processor receives a control instruction of the upper computer and transmits the control instruction to the slave station FPGA to control the working state of laser equipment and acquire state information and returns the state information to the upper computer. According to the application, the traditional serial interface is replaced by the high-speed parallel interface between the slave station chip and the slave station FPGA, so that the data transmission rate is greatly improved, the high real-time control requirement is met, the two modes are flexibly switched, a plurality of slave station modules are not required to be forcedly configured, and the application flexibility and expansibility are improved.
Inventors
- ZHENG ZERUI
- ZHAO JIANJUN
- Fan Gaolou
- LIN SONG
- XU FUCHUN
- LIANG XIAOBAO
- LI QI
Assignees
- 四川思创激光科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260209
Claims (10)
- 1. The heterogeneous cascade control laser equipment control system is characterized by comprising an upper computer, a master station module and at least one slave station module; The slave station module comprises a slave station chip, a slave station FPGA and a slave station processor; the master station module establishes communication connection with the master station chip based on EtherCAT protocol and is used for transmitting control instructions and state information; The slave station chip and the slave station FPGA are connected through a high-speed parallel interface, and the slave station processor is connected with the slave station FPGA; The system comprises a cascading working mode and an independent working mode, wherein in the cascading working mode, the master station module is communicated with at least one slave station module through an upper computer; during communication, the slave station processor receives a control instruction of the upper computer, transmits the control instruction to the slave station FPGA, controls the working state of the laser equipment, and acquires state information and returns the state information to the upper computer.
- 2. The heterogeneous cascade controlled laser device control system of claim 1, wherein, The upper computer is used for issuing control instructions, wherein the control instructions comprise a laser device power adjusting instruction, a modulation frequency adjusting instruction and a duty ratio adjusting instruction; the upper computer is also used for acquiring state information of the laser equipment, wherein the state information comprises working voltage, working current, photodiode detection data and fault alarm data of the laser equipment.
- 3. The heterogeneous cascade control laser device control system of claim 1, wherein the master station module comprises an ethernet protocol stack, an EtherCAT master station protocol stack, a control command parsing module, and a status information parsing module; The Ethernet protocol stack is used for establishing communication connection with the upper computer; the EtherCAT master station protocol stack is used for establishing communication connection with the slave station chip; The control command analysis module is used for analyzing the control command issued by the upper computer and forwarding the analyzed control command to the EtherCAT master station protocol stack; the state information analysis module is used for analyzing the state information fed back by the slave station chip and sending the analyzed state information to the upper computer through the Ethernet protocol stack.
- 4. The heterogeneous cascade controlled laser device control system of claim 1, wherein the secondary processor is integrated with a web server, In the cascade working mode, the master station module receives a control instruction issued by the upper computer, and controls and monitors the slave station module by accessing the web server; in the independent working mode, the upper computer directly accesses the webpage server to issue a control instruction, and the slave station module is controlled and monitored.
- 5. The heterogeneous cascade controlled laser apparatus control system as claimed in claim 4, wherein, The secondary station processor also comprises a unified monitoring module, a configuration information storage module, a power calibration module and a real-time clock module; the unified monitoring module establishes connection with the slave station FPGA through an on-chip bus and is used for reading and writing laser equipment state information received by the slave station FPGA; The configuration information storage module is used for storing power calibration data and product configuration information; the power calibration module is used for reading the power calibration data in the configuration information storage module, calculating a power compensation value and writing the power compensation value into the slave station FPGA; the real-time clock module is used for providing time information required by system operation.
- 6. The heterogeneous cascade controlled laser device control system of claim 1, wherein the high-speed parallel interface has a processor control mode and an FPGA control mode; And after the initialization is finished, the high-speed parallel interface is switched to the FPGA control mode, and the slave station FPGA directly reads and writes the data of the slave station chip.
- 7. The heterogeneous cascade controlled laser device control system of claim 6, wherein the slave chip is provided with a dual port RAM, The slave station processor and the slave station FPGA both read and write the dual-port RAM through the high-speed parallel interface so as to realize interactive data transmission with the master station module, and the slave station processor and the slave station FPGA can also read and write the register of the slave station chip through the high-speed parallel interface.
- 8. The heterogeneous cascade controlled laser device control system of claim 7, wherein the slave chip is provided with two network interfaces PHY0 and PHY1, and the data transmission between the master module and the slave chip comprises a forward path and a return path; the forward path includes: When the slave station module is single, a data frame sent by the master station module enters through a receiving port of the PHY0 of the slave station chip, the slave station chip writes a control command into the dual-port RAM and reads state information of the laser equipment, and the data frame is returned to the master station module through a sending port of the PHY1 after processing; When more than one slave station module is arranged, a data frame sent by the master station module enters through a receiving port of PHY0 of the first slave station chip, and then is transmitted to a receiving port of PHY0 of the next slave station chip through a sending port of PHY1, and is sequentially transmitted to the last slave station module to finish processing; the return path includes: when the slave station module is single, the data frame processed by the slave station chip is directly transmitted back to the master station module through a transmitting port of the PHY 0; When more than one slave station module is arranged, the last data frame processed by the slave station chip is transmitted to the receiving port of the PHY1 of the last second to last slave station chip through the transmitting port of the PHY0, and sequentially transmitted back to the first slave station chip, and then transmitted back to the master station module through the transmitting port of the PHY0 of the first slave station chip.
- 9. The heterogeneous cascade controlled laser device control system of claim 1, wherein the slave chip is provided with a distributed clock synchronization unit, The master station module is used for receiving a system time broadcast frame, wherein the system time broadcast frame is transmitted by a slave station chip of the master station module, the master station module is used for designating the slave station chip of the master station module as a reference clock source in the cascade working mode, when the broadcast frame is transmitted along a forward path, a local time stamp is stamped on a distributed clock synchronization unit of each slave station chip, and when the broadcast frame is transmitted through a return path, a local time stamp is stamped on the distributed clock synchronization unit of each slave station chip again; Wherein the forward path refers to a propagation path from the master station module to the slave station module, and the return path refers to a propagation path from the slave station module to the master station module.
- 10. The heterogeneous cascade control laser equipment control system according to claim 1, wherein in the independent working mode, an upper computer issues a control instruction to a slave station processor through a web server of the slave station processor, the slave station processor transmits the control instruction to the slave station FPGA through an on-chip bus, the slave station FPGA controls the working state of a laser executing component according to the control instruction, state information of the executing component is collected and fed back to the slave station processor, and the slave station processor returns the state information to the upper computer through the web server.
Description
Heterogeneous cascade control's laser equipment control system Technical Field The application relates to the field of laser control, in particular to a laser equipment control system for heterogeneous cascade control. Background In the fields of laser processing, laser synthesis and the like, the synchronous precision, the expansion flexibility and the monitoring convenience of a laser control system directly influence the processing quality and the application range. At present, the ultra-high-speed communication buses such as an RS485 bus, a CAN bus, a Profinet bus, an EtherCAT and the like are widely applied to a laser control system and used for realizing communication and control between a main control unit and peripheral equipment. The EtherCAT bus is adopted by a plurality of laser control systems due to the characteristics of high instantaneity, high synchronism and the like, for example, the EtherCAT bus-based bus type laser control system provided by the patent CN113540954B realizes interaction between a master control module and a plurality of slave control modules through an ultra-high speed communication bus, and improves light emitting synchronism and instantaneity. However, the EtherCAT-based laser control system has the technical defects that firstly, the system lacks a web server function, the laser modules cannot be conveniently monitored and controlled through web pages, the operation flexibility is insufficient, secondly, a serial communication interface is adopted between slave control units, the data transmission speed is low, the high real-time control requirement is difficult to meet, thirdly, the power calibration is realized by depending on software, the calibration efficiency is low, fourthly, the system only supports a pure cascade working mode, at least two slave control modules and one master control module are required to be configured to normally operate, independent operation of single slave control module cannot be realized, the application scene is limited, and the flexibility is insufficient. These drawbacks have led to the difficulty in existing laser control systems in meeting the ever increasing demands for high precision, multi-scenario applications in terms of monitoring convenience, communication efficiency, application expandability, etc. Disclosure of Invention In view of the above, the invention provides a laser equipment control system for heterogeneous cascade control, which comprises an upper computer, a master station module and at least one slave station module; The slave station module comprises a slave station chip, a slave station FPGA and a slave station processor; the master station module establishes communication connection with the master station chip based on EtherCAT protocol and is used for transmitting control instructions and state information; The slave station chip and the slave station FPGA are connected through a high-speed parallel interface, and the slave station processor is connected with the slave station FPGA; The system comprises a cascading working mode and an independent working mode, wherein in the cascading working mode, the master station module is communicated with at least one slave station module through an upper computer; during communication, the slave station processor receives a control instruction of the upper computer, transmits the control instruction to the slave station FPGA, controls the working state of the laser equipment, and acquires state information and returns the state information to the upper computer. According to a preferred embodiment, the upper computer is configured to issue control instructions, where the control instructions include a laser device power adjustment instruction, a modulation frequency adjustment instruction, and a duty cycle adjustment instruction; the upper computer is also used for acquiring state information of the laser equipment, wherein the state information comprises working voltage, working current, photodiode detection data and fault alarm data of the laser equipment. Further, the master station module comprises an Ethernet protocol stack, an EtherCAT master station protocol stack, a control command analysis module and a state information analysis module; The Ethernet protocol stack is used for establishing communication connection with an upper computer, The EtherCAT master station protocol stack is used for establishing communication connection with the slave station chip; The control command analysis module is used for analyzing the control command issued by the upper computer and forwarding the analyzed control command to the EtherCAT master station protocol stack; the state information analysis module is used for analyzing the state information fed back by the slave station chip and sending the analyzed state information to the upper computer through the Ethernet protocol stack. Further, the secondary station processor is integrated with a web server, In the cascade worki