Laser parameter conversion system based on Ethercat protocol

By designing a laser parameter conversion system based on the Ethercat protocol, the problem of the laser host not supporting the Ethercat protocol was solved, realizing efficient communication and easy integration between the laser module and the host computer, reducing system complexity and cost, and providing communication status monitoring function.

CN223872305UActive Publication Date: 2026-02-03UNITED WINNERS LASER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202520342313.9
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-02-28
Publication Date
2026-02-03
Estimated Expiration
2035-02-28

AI Technical Summary

Technical Problem

Existing laser host systems do not support the Ethercat industrial Ethernet protocol, resulting in complex communication protocols that are difficult to integrate and communicate with, and hindering connection and exchange with host computers.

Method used

Design a laser parameter conversion system based on the Ethercat protocol, including a laser Ethercat data conversion module and a host computer. The system uses an Ethercat communication conversion board to realize parameter acquisition and control between the laser module and the host computer, which is compatible with the original communication protocol and reduces the complexity and cost of system integration.

Benefits of technology

It achieves easy integration and efficient communication of laser modules, reduces system costs, and has the function of monitoring communication status, improving communication efficiency and signal adaptability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223872305U_ABST
    Figure CN223872305U_ABST
Patent Text Reader

Abstract

The utility model provides a laser parameter conversion system based on an Ethercat protocol, and the system comprises a laser Ethercat data conversion module which comprises an Ethercat communication conversion board used for data conversion and communication state monitoring; the laser module is provided with a data unit capable of uploading control parameter rs422 protocol data; the upper computer and the laser Ethercat data conversion module are respectively connected with the laser module; the upper computer sends a laser parameter instruction to the laser Ethercat data conversion module so as to control the laser module; and the laser module communicates with the upper computer through the laser Ethercat data conversion module. Parameter acquisition of the laser module and control of the laser module by the upper computer are realized, and meanwhile, an original communication protocol of the laser module is compatible, so that the integration complexity and cost of the system are reduced, and the laser module, namely laser host equipment, is easier to integrate and communicate.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application relates to the technical field of laser application, and in particular to a laser parameter conversion system based on an Ethercat protocol. BACKGROUND

[0002] Ethercat is widely used in industrial automation, especially in occasions requiring high-precision synchronization and fast response. For example, it can be used in numerical control machine tools, robots, automated production lines, wind power control and other fields to help improve production efficiency, ensure equipment cooperation and improve overall system performance. Ethercat is an industrial Ethernet protocol commonly used in industrial equipment. Currently, laser host machines do not support the Ethercat industrial Ethernet protocol. The existing communication protocol of the laser host machine is complex and not easy to integrate and communicate, and the host computer and the laser host machine are difficult to connect and communicate. SUMMARY

[0003] In view of the deficiencies of the prior art, the purpose of the application is to provide a laser parameter conversion system based on an Ethercat protocol, which realizes parameter acquisition of a laser module by a host computer and control of the laser module, is compatible with the original communication protocol of the laser module, reduces the integration complexity and cost of the system, and makes the laser module, i.e. the laser host device, easier to integrate and communicate.

[0004] The embodiments of the application are implemented by the following technical solutions:

[0005] A laser parameter conversion system based on an Ethercat protocol comprises:

[0006] A laser Ethercat data conversion module, which comprises an Ethercat communication conversion board for data conversion and monitoring of communication status;

[0007] A laser module, which has a data unit capable of uploading control parameter rs422 protocol data;

[0008] A host computer, wherein the laser Ethercat data conversion module is connected to the communication port of the laser module and the communication port of the host computer respectively; the host computer controls the laser module by sending laser parameter instructions to the laser Ethercat data conversion module; and the laser module communicates with the host computer through the laser Ethercat data conversion module.

[0009] According to a preferred embodiment, the laser Ethercat data conversion module further comprises an initialization unit for initializing coe parameters, a first judging unit for judging whether the laser Ethercat data conversion module and the host computer are in normal communication, and a second judging unit for judging whether the laser Ethercat data conversion module and the laser module are in normal communication.

[0010] According to a preferred embodiment, the laser Ethercat data conversion module converts the data unit of the control parameter rs422 protocol to Ethercat parameters and communicates with the host computer.

[0011] The host computer is an Ethercat master station, and the Ethercat master station can read Ethercat parameter unit data.

[0012] According to a preferred embodiment, the laser Ethercat data conversion module further comprises a connection state display unit, which can display a to-be-connected state, a connected state, and a normal communication state.

[0013] According to a preferred embodiment, the laser Ethercat data conversion module further comprises a power-on unit and a power-off unit.

[0014] According to a preferred embodiment, the laser Ethercat data conversion module further comprises an abstract hardware module, which comprises an spi unit, a usart unit, a timer unit, and a gpio unit.

[0015] According to a preferred embodiment, the laser Ethercat data conversion module further comprises a drive module, which comprises an rs485 drive unit and an led drive unit.

[0016] According to a preferred embodiment, the laser Ethercat data conversion module further comprises a functional component module, which comprises an rs485 protocol analysis and sending unit, an Ethercat component unit, a timer unit, and a ring buffer unit.

[0017] According to a preferred embodiment, the laser Ethercat data conversion module further comprises an application module, which comprises an rcpc protocol conversion task unit and an Ethercat running task unit.

[0018] An application method of a laser parameter conversion system based on an Ethercat protocol, comprising the following steps:

[0019] Step S1: Power on and initialize the COE parameters of the laser Ethercat data conversion module, enter the connection-ready state, and proceed to step S2;

[0020] Step S2: If the host computer and the laser Ethercat data conversion module successfully match the COE parameters and enter the Ethercat connection state, proceed to step S3; if the host computer and the laser Ethercat data conversion module fail to match the COE parameters and cannot enter the Ethercat connection state, proceed to step S4.

[0021] Step S3: If the laser EtherCAT data conversion module communicates normally with the laser module, enter the interactive state and proceed to step S5; if the laser EtherCAT data conversion module does not communicate normally with the laser module, proceed to step S4.

[0022] Step S4: The host computer disconnects from the laser EtherCAT data conversion module and returns to step S1;

[0023] Step S5: The laser EtherCAT data conversion module and the laser module enter an interactive state, and step S6 is executed;

[0024] Step S6: The host computer sends laser parameter commands to the laser Ethercat data conversion module to control the laser module; the laser module communicates with the host computer through the laser Ethercat data conversion module.

[0025] The technical solutions of the embodiments of the present invention have at least the following advantages and beneficial effects:

[0026] This invention enables the host computer to acquire parameters and control the laser module, while maintaining compatibility with the original communication protocol of the laser module. This reduces the integration complexity and cost of the system, making the laser module, i.e. the laser host device, easier to integrate and communicate with. In addition, it has a communication status monitoring function, which can promptly provide feedback on connection status and matching connection status. It has high communication efficiency, good signal adaptability, and reduces communication failures. Attached Figure Description

[0027] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0028] Fig. 1A schematic diagram of the application process of a laser parameter conversion system based on the EtherCAT protocol provided in an embodiment of the present invention;

[0029] Fig. 2 This is a state block diagram of the laser EtherCAT data conversion module provided in an embodiment of the present invention;

[0030] Fig. 3 This is a schematic diagram of a laser parameter conversion system based on the EtherCAT protocol, provided as an embodiment of the present invention. Detailed Implementation

[0031] To better understand and implement this invention, the technical solutions in the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings.

[0032] In the description of this invention, it should be noted that the terms "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.

[0033] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.

[0034] Icons: 1. Laser module; 2. Laser Ethercat data conversion module; 3. Host computer.

[0035] Example

[0036] Please refer to Figs. 1-3 A laser parameter conversion system based on the EtherCAT protocol includes: a laser EtherCAT data conversion module 2, which includes an EtherCAT communication conversion board for data conversion and monitoring communication status; a laser module 1, which has a data unit capable of uploading control parameters in the RS422 protocol; and a host computer 3, which is connected to both the communication port of the laser module 1 and the communication port of the host computer 3. The host computer 3 controls the laser module 1 by sending laser parameter commands to the laser EtherCAT data conversion module 2. The laser module 1 communicates with the host computer 3 through the laser EtherCAT data conversion module 2.

[0037] Optionally, the laser EtherCAT data conversion module 2 further includes an initialization unit for initializing the COE parameters, a first judgment unit for determining whether the laser EtherCAT data conversion module 2 and the host computer 3 are communicating normally, and a second judgment unit for determining whether the laser EtherCAT data conversion module 2 and the laser module 1 are communicating normally.

[0038] Optionally, the laser Ethercat data conversion module 2 converts the control parameter data unit of the rs422 protocol into Ethercat parameters for communication with the host computer 3;

[0039] The host computer 3 is the Ethercat master station, which can read Ethercat parameter unit data.

[0040] Optionally, the laser Ethercat data conversion module 2 also includes a connection status display unit, which can display the pending connection status, the connected status, and the normal communication status.

[0041] Optionally, the laser Ethercat data conversion module 2 also includes a power-on unit and a power-off unit.

[0042] Optionally, the laser EtherCAT data conversion module 2 also includes an abstract hardware module, which includes a SP1 unit, a UART unit, a Timer unit, and a GPIO unit.

[0043] Optionally, the laser EtherCAT data conversion module 2 also includes a driver module, which includes an RS485 driver unit and an LED driver unit.

[0044] Optionally, the laser Ethercat data conversion module 2 also includes a functional component module, which includes an RS485 protocol parsing and sending unit, an Ethercat component unit, a timer unit, and a ring buffer unit.

[0045] Optionally, the laser Ethercat data conversion module 2 also includes an application module, which includes an RCPC protocol conversion task unit and an Ethercat execution task unit.

[0046] An application method for a laser parameter conversion system based on the EtherCAT protocol includes the following steps:

[0047] Step S1: Power on and initialize the COE parameters of the laser Ethercat data conversion module 2, enter the connection-ready state, and execute step S2;

[0048] Step S2: If the host computer 3 and the laser Ethercat data conversion module 2 successfully match the COE parameters and enter the Ethercat connection state, proceed to step S3; if the host computer 3 and the laser Ethercat data conversion module 2 fail to match the COE parameters and cannot enter the Ethercat connection state, proceed to step S4.

[0049] Step S3: If the laser EtherCAT data conversion module 2 communicates normally with the laser module 1, enter the interactive state and execute step S5; if the laser EtherCAT data conversion module 2 does not communicate normally with the laser module 1, execute step S4.

[0050] Step S4: The host computer 3 disconnects from the laser Ethercat data conversion module 2 and returns to step S1;

[0051] Step S5: The laser Ethercat data conversion module 2 and the laser module 1 enter an interactive state, and step S6 is executed;

[0052] Step S6: The host computer 3 sends laser parameter commands to the laser Ethercat data conversion module 2 to control the laser module 1; the laser module 1 communicates with the host computer 3 through the laser Ethercat data conversion module 2.

[0053] Working principle of the invention:

[0054] In this embodiment, the Ethercat communication conversion board is a hardware board for laser parameter conversion technology based on the Ethercat protocol. Fig. 1 The document describes the hardware system configuration of the Ethercat communication conversion board. The laser tracker is connected to the Ethercat communication conversion board via a network cable, and the host computer 3 (i.e., the Ethercat master station) is also connected to the Ethercat communication conversion board via a network cable.

[0055] The software architecture in this embodiment includes an abstract hardware layer, a driver layer, a functional component layer, and an application layer. The abstract hardware layer utilizes the SP1 module, USART module, Timer module, and GPIO module. The SP1 module can be used for short-range communication, while the USART module can be used for serial communication, such as data transmission between a PC or other embedded devices. The Timer module can be used to implement timing functions, such as delayed execution and periodic task scheduling. The GPIO module can be used to implement signal interaction with external devices. The driver layer can use RS485 drivers and LED driver modules. The functional component layer utilizes an RS485 protocol parsing and sending module, an EtherCAT component module, a timer module, and a ring buffer module. The application layer can use RCPC protocol conversion tasks and EtherCAT task execution.

[0056] Reference Fig. 1 This is the main state transition flowchart of the Ethercat communication conversion board software. Using the Ethercat communication conversion board, the COE parameters of the laser Ethercat data conversion module 2 are initialized, entering the connection-ready state. The host computer 3 (i.e., the Ethercat master station) completes the COE parameter matching with the Ethercat slave station via an XML file, entering the Ethercat connection state. When the laser Ethercat data conversion module 2 communicates normally with the laser module 1 (i.e., the laser host), the laser module 1 (i.e., the laser host) and Ethercat are in a normal interactive state. In this normal interactive state, the laser module 1 (i.e., the laser host) can upload data (i.e., through the data unit) to the laser Ethercat data conversion module 2. The laser Ethercat data conversion module 2 converts the data, and then converts the rS422 protocol parameters built into the laser module 1 (i.e., the laser host) back into Ethercat protocol parameters for the host computer 3 (i.e., the Ethercat master station). Simultaneously, the host computer 3 (i.e., the Ethercat master station) sends the control laser parameters to the laser Ethercat data conversion module 2. The Ethercat communication conversion board converts the data and packages the control laser parameters into the RS422 protocol built into the laser module 1 and sends it to the laser module 1 (i.e., the laser host). The laser module 1 (i.e., the laser host) executes or runs according to the control laser parameters.

[0057] In this embodiment, when the host computer 3 loses communication with the laser EtherCAT data conversion module 2, the laser EtherCAT data conversion module 2 can shut down the system via the power-off unit. The laser EtherCAT data conversion module 2 also includes an RS485 protocol parsing and sending unit, an EtherCAT component unit, a timer unit, and a ring buffer unit.

[0058] The RCPC protocol conversion task unit can convert data from one protocol format to another. The Ethercat task unit can perform operations such as data acquisition, data processing, and control output.

[0059] The technical means disclosed in this invention are not limited to those disclosed in the above embodiments, but also include technical solutions composed of any combination of the above technical features. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of this invention, and these improvements and modifications are also considered within the scope of protection of this invention.

Claims

1. A laser parameter conversion system based on the EtherCAT protocol, characterized in that, include: A laser Ethercat data conversion module, comprising an Ethercat communication conversion board for data conversion and monitoring communication status; A laser module having a data unit capable of uploading control parameter data via RS422 protocol; The host computer is connected to both the laser module's communication port and the host computer's communication port. The host computer controls the laser module by sending laser parameter commands to the laser module's Ethercat data conversion module. The laser module communicates with the host computer through the laser module's Ethercat data conversion module.

2. The laser parameter conversion system based on the EtherCAT protocol according to claim 1, characterized in that, The laser EtherCAT data conversion module further includes an initialization unit for initializing COE parameters, a first determination unit for determining whether the laser EtherCAT data conversion module and the host computer are communicating normally, and a second determination unit for determining whether the laser EtherCAT data conversion module and the laser module are communicating normally.

3. The laser parameter conversion system based on the EtherCAT protocol according to claim 2, characterized in that, The laser Ethercat data conversion module converts the control parameter data unit of the rs422 protocol to Ethercat parameters and communicates with the host computer. The host computer is an Ethercat master station, which can read Ethercat parameter unit data.

4. The laser parameter conversion system based on the EtherCAT protocol according to claim 2, characterized in that, The laser EtherCAT data conversion module also includes a connection status display unit, which can display the pending connection status, the connected status, and the normal communication status.

5. The laser parameter conversion system based on the EtherCAT protocol according to claim 2, characterized in that, The laser Ethercat data conversion module also includes a power-on unit and a power-off unit.

6. The laser parameter conversion system based on the EtherCAT protocol according to claim 1, characterized in that, The laser EtherCAT data conversion module also includes an abstract hardware module, which includes an SPI unit, a USART unit, a timer unit, and a GPIO unit.

7. The laser parameter conversion system based on the EtherCAT protocol according to claim 1, characterized in that, The laser EtherCAT data conversion module also includes a driver module, which includes an RS485 driver unit and an LED driver unit.

8. The laser parameter conversion system based on the EtherCAT protocol according to claim 1, characterized in that, The laser Ethercat data conversion module also includes a functional component module, which includes an RS485 protocol parsing and sending unit, an Ethercat component unit, a timer unit, and a ring buffer unit.

9. The laser parameter conversion system based on the EtherCAT protocol according to claim 1, characterized in that, The laser Ethercat data conversion module also includes an application module, which includes an RCPC protocol conversion task unit and an Ethercat execution task unit.