X-ray thickness gauge based on EtherCAT communication
By adopting EtherCAT communication and STM32 chips, the problem of sampling errors in long-distance data transmission of X-ray thickness gauges was solved, and efficient and accurate data transmission was achieved.
Patent Information
- Application Number
- CN202520561902.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-28
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2035-03-28
AI Technical Summary
In applications where X-ray thickness gauges require large amounts of data and high transmission rates, the use of high-speed CAN bus communication can easily lead to node sampling errors due to the long communication distance.
EtherCAT communication is used to replace CAN communication. An STM32 chip is used as the master station and connected to the servo controller and data acquisition card via EtherCAT to achieve efficient data transmission and improve the sensor sampling frequency.
It achieves a communication rate of up to 100 Mbit/s and a communication distance of 10 m, improving the accuracy and reliability of data transmission.
Smart Images

Figure CN223744827U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of thickness gauge technology, and in particular to an X-ray thickness gauge based on EtherCAT communication. Background Technology
[0002] X-ray thickness gauges measure material thickness by utilizing the attenuation characteristics of X-rays as they penetrate matter. I need to research the fundamental principles of X-ray-matter interaction, including X-ray generation, attenuation during penetration, and how to calculate material thickness by detecting the intensity of attenuated X-rays. X-ray thickness gauges are widely used in various industrial sectors, such as steel, non-ferrous metals, plastics, and rubber. I need to understand the specific applications of X-ray thickness gauges in different industries and their importance within these sectors. Most existing X-ray thickness gauges use a CAN bus for data exchange. However, for applications with large data volumes and high transmission rate requirements, long communication distances may lead to sampling errors at communication nodes when using high-speed CAN bus communication. Summary of the Invention
[0003] The purpose of this invention is to address the shortcomings of existing technologies by proposing an X-ray thickness gauge based on EtherCAT communication.
[0004] To achieve the above objectives, the present invention adopts the following technical solution:
[0005] An X-ray thickness gauge based on EtherCAT communication includes a master station, a servo controller, and a data acquisition card. The master station, servo controller, and data acquisition card are interconnected via EtherCAT. There are two sets of servo controllers, each connected to a motor. Each motor is connected to a probe, and the probe contains an X-ray emitter and a receiver. The master station is connected to a host computer.
[0006] Preferably, the main station uses an STM32 chip as its core.
[0007] Preferably, the receiver is equipped with a data acquisition card, and the data acquisition card is connected to the master station via EtherCAT.
[0008] Preferably, the master station and the host computer are interconnected via UDP.
[0009] The beneficial effects of this utility model are: This design uses EtherCAT communication to replace the traditional CAN communication method. The theoretical communication rate of EtherCAT can reach up to 100 Mbit / s and the distance can reach 10m. Using this communication method can improve the sensor sampling frequency to obtain more accurate data. Attached Figure Description
[0010] Figure 1 This is a connection diagram of an X-ray thickness gauge based on EtherCAT communication proposed in this utility model;
[0011] Figure 2 This is a schematic diagram of the motor connection in an X-ray thickness gauge based on EtherCAT communication proposed in this utility model. Detailed Implementation
[0012] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present utility model. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments.
[0013] Example: Refer to Figure 1-2 An X-ray thickness gauge based on EtherCAT communication includes a master station and a servo controller. The master station uses an STM32 chip as its core. The master station and the servo controller are interconnected via EtherCAT. There are two servo controllers, each connected to a motor. Each motor is connected to a probe, and the probe contains an X-ray emitter and a receiver. The receiver has a data acquisition card, which is connected to the master station via EtherCAT. The master station is connected to a host computer, and the master station and the host computer are interconnected via UDP.
[0014] Working principle: An STM32 chip is used as the EtherCAT master station, which is connected to dual servos and a data acquisition card. The dual servos control dual motors to move the probe. The probe consists of an X-ray emitter and a receiver. X-rays pass through the material under test and the data acquisition card on the receiver collects the intensity of the rays. The collected data is sent to the STM32 master station via EtherCAT. The STM32 master station sends the corresponding data to the host computer via UDP for processing to obtain the thickness measurement data. The host computer sends UDP control commands to the master station, which then processes the commands and controls the EtherCAT servos to complete the thickness measurement process.
[0015] The contents not described in detail in this specification are existing technologies known to those skilled in the art.
[0016] All standard parts used in this utility model can be purchased from the market, and irregular parts can be customized according to the description and drawings. The specific connection methods of each part adopt conventional methods such as bolts, rivets, and welding that are mature in the prior art. The machinery, parts and equipment adopt conventional models in the prior art, and the circuit connection adopts conventional connection methods in the prior art, which will not be described in detail here.
[0017] The above description is only a preferred embodiment of the present utility model, but the protection scope of the present utility model is not limited thereto. Any equivalent substitutions or changes made by those skilled in the art within the technical scope disclosed in the present utility model, based on the technical solution and the inventive concept of the present utility model, should be included within the protection scope of the present utility model.
Claims
1. An X-ray thickness gauge based on EtherCAT communication, comprising a master station and a servo controller, characterized in that, The main station and the servo controller are connected with each other through EtherCAT, the servo controller has two groups, and is connected with motors, the motor is connected with a probe, and an X-ray transmitter and a receiver are arranged in the probe, and the main station is connected with an upper computer.
2. The X-ray thickness gauge based on EtherCAT communication according to claim 1, characterized in that, The main station adopts an STM32 chip as a core.
3. The X-ray thickness gauge based on EtherCAT communication according to claim 1, characterized in that, An acquisition card is arranged on the receiver, and the acquisition card is connected with the main station through EtherCAT.
4. The X-ray thickness gauge based on EtherCAT communication according to claim 1, characterized in that, The main station and the upper computer are connected with each other through UDP.