EtherCAT control panel and control equipment
By integrating multiple signal components and encoder interfaces into the EtherCAT control board, the problem of the EtherCAT control board's single function is solved, stable and efficient industrial control and data acquisition are achieved, and circuit complexity and maintenance difficulty are reduced.
Patent Information
- Application Number
- CN202423076303.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2034-12-12
AI Technical Summary
The existing EtherCAT control board has relatively simple functions, making it difficult to achieve sensor data collection and general IO control. In addition, the circuit complexity and maintenance difficulty are high when expanding functions.
The EtherCAT control board integrates slave control components, analog signal output components, analog signal input components, digital signal output components, and digital signal input components, and is connected to the control module through different interfaces. It supports EtherCAT slave communication, analog signal and digital signal input and output, and adds an encoder interface to collect encoder data.
It enriches the functions of the EtherCAT control board, enabling it to perform industrial control and data acquisition stably and efficiently, reducing circuit complexity and maintenance difficulty, and improving reliability and applicable scenarios.
Smart Images

Figure CN223413639U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of integrated circuits, and in particular to an EtherCAT control board and control equipment. Background Art
[0002] EtherCAT (Ethernet for Control Automation Technology) control board is a key component for inter-device communication using a real-time industrial communication protocol based on Ethernet technology. It is typically used for high-speed, high-precision automated control and data transmission.
[0003] However, the existing EtherCAT control board has relatively simple functions. When expanding the functions of the EtherCAT control board, it is necessary to add several functional modules and connect the functional modules to the EtherCAT control board through different types of communication buses, which greatly increases the circuit complexity and makes subsequent maintenance more difficult. Utility Model Content
[0004] The utility model provides an EtherCAT control board and a control device, which are used to solve the technical problem that the EtherCAT control board in the prior art has relatively single functions.
[0005] In a first aspect, an embodiment of the present utility model provides an EtherCAT control board, comprising a control module, a slave control component, an analog signal output component, an analog signal input component, a digital signal output component, and a digital signal input component;
[0006] The first communication interface of the slave control component is connected to the slave communication interface of the control module, and the second communication interface of the slave control component is used to connect to the EtherCAT slave;
[0007] The first end of the analog signal output component is connected to the analog signal output port of the control module, and the second end of the analog signal output component is used to connect to the first device, and the first device is used to be controlled by the analog signal;
[0008] The first end of the analog signal input component is connected to the analog signal input port of the control module, and the second end of the analog signal input component is used to connect to the second device, and the second device is used to output detection data through the analog signal;
[0009] The first interface of the digital signal output component is connected to the digital signal output interface of the control module, and the second interface of the digital signal output component is used to connect to a third device; the third device is used to be controlled by a digital signal;
[0010] The first interface of the digital signal input component is connected to the digital signal input interface of the control module, and the second interface of the digital signal input component is used to connect to a fourth device; the fourth device is used to output detection data through a digital signal;
[0011] The control module further includes at least one encoder interface, which is used to connect to an encoder and transmit a feedback signal sent by the encoder.
[0012] The present invention provides an EtherCAT control panel with a slave control component, an analog signal output component, an analog signal input component, a digital signal output component, and a digital signal input component. Each component is connected to a control module via different interfaces, enabling the EtherCAT control panel to support communication control with EtherCAT slaves, analog signal input and output, and digital signal input and output. Furthermore, an encoder interface is provided on the control module to collect data sent by the encoder. In this embodiment, by integrating various functional components into the EtherCAT control panel, the functionality of the EtherCAT control panel is enriched, enabling the EtherCAT control panel to stably and efficiently perform industrial control and data acquisition, thereby resolving the technical issue of the relatively limited functionality of EtherCAT control panels in the prior art.
[0013] Among them, the analog signal output component includes at least one analog signal output channel, the analog signal output port of the control module includes multiple digital-to-analog conversion interfaces, each analog signal output channel corresponds to a different digital-to-analog conversion interface for connection; each analog signal output channel is used to connect to a different first device.
[0014] The embodiment of the utility model sets an analog signal output channel on the EtherCAT control board, so that the EtherCAT control board can output analog signals to external devices and directly use the digital-to-analog conversion interface integrated in the control module, which can reduce the use of functional chips and further reduce costs.
[0015] Among them, the analog signal output component includes at least one analog signal input channel, the analog signal input port of the control module includes multiple analog-to-digital conversion interfaces, each analog signal input channel corresponds to a different analog-to-digital conversion interface for connection; each analog signal input channel is used to connect to a different second device.
[0016] The embodiment of the utility model provides an analog signal input channel on the EtherCAT control board, so that the EtherCAT control board can receive and process analog signals output by external devices, and directly use the analog-to-digital conversion interface integrated in the control module, which can reduce the use of functional chips and further reduce costs.
[0017] The digital signal output component includes a digital output subcomponent and a first isolation subcomponent, and the digital signal output interface of the control module includes a first IO interface;
[0018] The first end of the digital output subassembly is connected to the first IO interface, the second end of the digital output subassembly is connected to the first end of the first isolation subassembly, and the second end of the first isolation subassembly is used to connect to the third device.
[0019] In this embodiment, by connecting a digital output subassembly to the first IO interface of the control module, the EtherCAT control board can output digital signals to external devices, expanding the application scenarios of the EtherCAT control board. Furthermore, by providing a first isolation subassembly for electrical isolation, interference during digital signal transmission can be reduced, the EtherCAT control board can be protected from high voltage threats, and the reliability of the EtherCAT control board can be improved.
[0020] The digital signal input component includes a digital input subcomponent and a second isolation subcomponent, and the digital signal input interface of the control module includes a second IO interface;
[0021] The first end of the digital input subassembly is connected to the second IO interface, the second end of the digital input subassembly is connected to the first end of the second isolation subassembly, and the second end of the second isolation subassembly is used to connect to the fourth device.
[0022] As described above, by providing a digital input subassembly connected to an external device, this embodiment enables the EtherCAT control board to receive digital signals transmitted by the external device, expanding the application scenarios of the EtherCAT control board. Furthermore, the provision of a second isolation subassembly reduces interference during digital signal transmission and protects the EtherCAT control board from high voltage threats, thereby improving the reliability of the EtherCAT control board.
[0023] Among them, the second communication interface of the slave control component is an RJ45 interface, the first communication interface of the slave control component and the slave communication interface of the control module are SPI interfaces, and the slave control component also includes a third communication interface, which is used to connect to other slave control components.
[0024] In this embodiment, the second communication interface is set to an RJ45 interface. The RJ45 interface has strong compatibility and is easy to plug and unplug, making it convenient for users to connect the EtherCAT control board to the EtherCAT slave. In addition, by setting the first communication interface of the slave control component and the slave communication interface of the control module 1 as an SPI interface, data can be sent and received between the control module and the slave control component at the same time on the same clock signal line, greatly improving the efficiency of data transmission. In addition, by setting a third communication interface on the slave control component, the utility model enables the slave control component to be connected to other slave control components, allowing the EtherCAT control board to communicate with multiple slave control components, further expanding the function of the EtherCAT control board to achieve more complex network communication.
[0025] Among them, the EtherCAT control board also includes: an onboard ID setting component, and the control module also includes a third IO interface;
[0026] The ID information transmission interface of the onboard ID setting component is connected to the third IO interface, and the ID information transmission interface is used to transmit the ID information generated by the onboard ID setting component to the third IO interface;
[0027] The control module is used to determine the onboard ID according to the ID information.
[0028] The embodiment of the utility model provides an onboard ID setting component on the EtherCAT control board, so that the user can set the onboard ID of the EtherCAT control board according to actual needs, thereby facilitating the identification and management of the EtherCAT control board, and can realize the use of multiple EtherCAT control boards in parallel or series.
[0029] The EtherCAT control board further includes a first storage module, the control module further includes an SPI interface, and the data reading interface of the first storage module is connected to the SPI interface of the control module.
[0030] The EtherCAT control board further includes a second storage module, the control module further includes an IIC interface, and the data reading interface of the second storage module is connected to the IIC interface of the control module.
[0031] In a second aspect, an embodiment of the present invention provides a control device, including the above-mentioned EtherCAT control board. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 This is a structural diagram of an EtherCAT control board provided by the utility model.
[0033] Figure 2This is a circuit schematic diagram of an EtherCAT control board provided by the utility model.
[0034] Figure 3 This is a structural diagram of another EtherCAT control board provided by the utility model.
[0035] Figure 4 This is a circuit diagram of another EtherCAT control board provided in an embodiment of the present utility model.
[0036] Figure 5 This is a schematic structural diagram of another EtherCAT control board provided in an embodiment of the present utility model.
[0037] Figure 6 A circuit schematic diagram of another EtherCAT control board provided in an embodiment of the present utility model.
[0038] In the figure: control module 1, slave control component 2, analog signal input component 3, analog signal output component 4, digital signal output component 5, digital signal input component 6, encoder interface 7, first storage module 8, second storage module 9, onboard ID setting component 10, digital output sub-component 51, first isolation sub-component 52, digital input sub-component 61, second isolation sub-component 62. DETAILED DESCRIPTION
[0039] To make the technical problems solved, the technical solutions adopted, and the technical effects achieved by the present invention more clearly understood, the technical solutions of the embodiments of the present invention are described in further detail below. Obviously, the embodiments described are only a portion of the embodiments of the present invention, not all of them. All other embodiments derived by those skilled in the art based on the embodiments of the present invention without creative effort are also within the scope of protection of the present invention.
[0040] In the description of this utility model, unless otherwise expressly specified or limited, the terms "connected," "connected," and "fixed" should be understood in a broad sense. For example, they can refer to fixed connection, detachable connection, or integration; mechanical connection or electrical connection; direct connection or indirect connection through an intermediate medium; internal communication between two components or interaction between two components. Those skilled in the art will understand the specific meanings of the above terms in this utility model based on the specific circumstances.
[0041] In the present invention, unless otherwise expressly specified or limited, a first feature being "above" or "below" a second feature may include the first and second features being in direct contact, or may include the first and second features being in contact not directly but through another feature between them. Moreover, a first feature being "above," "above," and "above" a second feature may include the first feature being directly above or obliquely above the second feature, or may simply mean that the first feature is higher in level than the second feature. A first feature being "below," "below," and "below" a second feature may include the first feature being directly below or obliquely below the second feature, or may simply mean that the first feature is lower in level than the second feature.
[0042] With the rapid development of industrial automation technology, EtherCAT control boards have become widely used in industrial control. EtherCAT (Ethernet for Control Automation Technology) control boards are key components for inter-device communication using a real-time industrial communication protocol based on Ethernet technology. They are typically used for high-speed, high-precision automated control and data transmission.
[0043] However, existing EtherCAT control boards are primarily used in servo motor motion control. Their functionality is relatively limited, making it difficult to implement functions such as sensor data acquisition and general-purpose I / O control. Expanding the functionality of EtherCAT control boards currently requires adding several functional modules and connecting them to the board via different communication buses. This significantly increases the system's circuit complexity and makes subsequent maintenance more difficult.
[0044] Based on this, in order to solve the technical problem of the single function of the EtherCAT control board in the prior art, an embodiment of the present utility model provides an EtherCAT control board. The embodiment of the present utility model sets a slave control component, an analog signal output component, an analog signal input component, a digital signal output component and a digital signal input component in the EtherCAT control board, so that the EtherCAT control board can realize the functions of communication control with the EtherCAT slave, input and output of analog signals and input and output of digital signals. In addition, an encoder interface is also provided on the control module to collect data sent by the encoder. In this embodiment, by integrating various functional components into the EtherCAT control board, the functions of the EtherCAT control board are enriched, so that the EtherCAT control board can perform industrial control and data acquisition stably and efficiently, and solves the technical problem of the relatively single function of the EtherCAT control board in the prior art.
[0045] Figure 1The schematic diagram of the structure of an EtherCAT control board provided by the embodiment of the present utility model is shown in FIG. Figure 1 As shown, the EtherCAT control board provided by the embodiment of the present invention includes a control module 1, a slave control component 2, an analog signal output component 4, an analog signal input component 3, a digital signal output component 5 and a digital signal input component 6.
[0046] The first communication interface of the slave control component 2 is connected to the slave communication interface of the control module 1 , and the second communication interface of the slave control component 2 is used to connect to the EtherCAT slave.
[0047] In this embodiment, the slave control component 2 is a component for processing and forwarding EtherCAT data frames to enable communication between the control module 1 and the EtherCAT slaves. The EtherCAT slaves are usually external devices such as actuators (write), sensors (read), and drivers (write) in a real-time control system.
[0048] Specifically, control module 1 is the control center and data processing center of the EtherCAT control board, and the slave communication interface is the interface for communication between control module 1 and the EtherCAT slave. After control module 1 sends an EtherCAT data frame to slave control component 2 via the slave communication interface, slave control component 2 receives the EtherCAT data frame and parses it. Based on the address information in the sub-message header of the EtherCAT data frame, slave control component 2 determines whether the sub-message is required. Once the sub-message is determined to be required, slave control component 2 extracts the command and data sent to it. Slave control component 2 then stores the extracted data in an internal storage area and performs corresponding operations based on the extracted data (for example, sending control instructions to the EtherCAT slave via the second communication interface). Slave control component 2 then receives response data from the EtherCAT slave via the second communication interface. The response data may include processing results, status information, or new control instructions. Slave control component 2 writes the response data to the corresponding sub-message to update the EtherCAT data frame and then sends the EtherCAT data frame back to control module 1.
[0049] In one embodiment, the control module 1 may adopt an STM32H523ZET6 microcontroller, and the second communication interface of the slave control component 2 is an RJ45 interface. The RJ45 interface has fast transmission speed, strong compatibility and is easy to plug and unplug, making it convenient for users to connect the EtherCAT control board with the EtherCAT slave.
[0050] In addition, the first communication interface of the slave control component 2 and the slave communication interface of the control module 1 are SPI interfaces. The slave control component 2 and the control module 1 are connected through an SPI (Serial Peripheral Interface) bus. The SPI bus supports full-duplex communication mode, that is, the control module 1 and the slave control component 2 can send and receive data on the same clock signal line at the same time, which greatly improves the efficiency of data transmission and makes the information interaction between the slave control component 2 and the control module 1 smoother and faster.
[0051] In addition, the slave station control component further includes a third communication interface, which is used to connect to other slave station control components.
[0052] For example, after extracting data from the EtherCAT data frame, the slave control component 2 can further forward the EtherCAT data frame to the next connected slave control component through the third communication interface, so that the EtherCAT control board can communicate with multiple slave control components, further expanding the functions of the EtherCAT control board to achieve more complex network communications.
[0053] In one embodiment, Figure 2 The circuit diagram of an EtherCAT control board provided by the embodiment of the present utility model is shown in FIG. Figure 2 As shown, the slave control component 2 includes a physical layer chip (PHY) LAN9252 and two J45 interfaces. The two RJ45 interfaces are the second communication interface and the third communication interface respectively. The LAN9252 serves as an EtherCAT slave controller. The physical layer chip (PHY) LAN9252 is connected to the control module 1 through the SPI bus. One of the RJ45 interfaces is connected to the EtherCAT slave, and the other RJ45 interface is connected to the RJ45 interface of another EtherCAT slave controller. The lower-level multiple EtherCAT slave controllers can continue to be connected in the form of a daisy chain through the RJ45 interface, so that the EtherCAT control board can control multiple EtherCAT slave controllers, further expanding the function of the EtherCAT control board.
[0054] The first end of the analog signal output component 4 is connected to the analog signal output port of the control module 1, and the second end of the analog signal output component 4 is used to connect to a first device. The first device is used to be controlled by an analog signal.
[0055] In this embodiment, the analog signal output port of control module 1 is used to convert the digital signal of control module 1 into an analog signal and output it. Analog signal output component 4 is a component used to transmit the analog signal output by control module 1 to a first device to control the first device. The first device may be an actuator, driver, or other external device. The EtherCAT control board can control the actuator's parameters such as switching, speed, and position by outputting analog signals, and the actuator then performs corresponding actions based on the analog signals.
[0056] In one embodiment, the analog signal output component 4 includes at least one analog signal output channel. The analog signal output port of the control module 1 includes multiple digital-to-analog conversion interfaces. Each analog signal output channel is connected to a different digital-to-analog conversion interface, and each analog signal output channel is used to connect to a different first device. The analog signal output channel is a signal link for transmitting analog signals. The digital-to-analog conversion interface is used to convert the digital signal of the control module 1 into an analog signal and output the analog signal to the analog signal output channel, so that the analog signal can be transmitted to the connected first device via the analog signal output channel. The digital-to-analog conversion interface is integrated into the control module 1.
[0057] In one embodiment, Figure 2 As shown, Figure 2 Analog_OUT is the analog signal output channel. There are two analog signal output channels, and each analog signal output channel supports outputting 0-10V voltage and 4-20mA current.
[0058] The embodiment of the utility model sets an analog signal output channel on the EtherCAT control board, so that the EtherCAT control board can output analog signals to external devices, and directly uses the digital-to-analog conversion interface integrated in the control module 1, which can reduce the use of functional chips and further reduce costs.
[0059] A first end of the analog signal input component 3 is connected to the analog signal input port of the control module 1 , and a second end of the analog signal input component 3 is used to connect to a second device, which is used to output detection data through an analog signal.
[0060] In this embodiment, the EtherCAT control board also includes an analog signal input component 3. The analog signal input component 3 is a component for receiving an analog signal output by a connected second device and transmitting the analog signal to the control module 1. The second device can be a device with data detection capabilities, such as a sensor. The sensor detects physical quantities (such as temperature, pressure, flow), and converts the physical quantity into an analog signal. The analog signal is then transmitted to the control module 1 via the analog signal input component 3. The analog signal input port of the control module 1 is used to convert the analog signal into a digital signal after receiving it, so that the control module 1 can process and analyze the digital signal.
[0061] In one embodiment, the analog signal input component 3 includes at least one analog signal input channel. The analog signal input port of the control module 1 includes multiple analog-to-digital conversion interfaces, and each analog signal input channel is connected to a different analog-to-digital conversion interface. Each analog signal input channel is used to connect to a different second device, wherein the analog signal input channel is a signal link for transmitting analog signals.
[0062] Specifically, after a second device connected to the analog signal input channel generates an analog signal, it transmits the analog signal through the analog signal input channel to the analog-to-digital conversion interface of the control module 1. The analog-to-digital conversion interface is used to convert the analog signal into a digital signal after receiving it, so that the control module 1 can process and analyze the digital signal. The analog-to-digital conversion interface is integrated into the control module 1.
[0063] In one embodiment, Figure 2 As shown, Figure 2 Analog_IN is the analog signal input channel. There are four analog signal input channels, each of which supports collecting 0-10V voltage and 4-20mA current.
[0064] The embodiment of the utility model sets an analog signal input channel on the EtherCAT control board, so that the EtherCAT control board can receive and process analog signals output by external devices, and directly uses the analog-to-digital conversion interface integrated in the control module 1, which can reduce the use of functional chips and further reduce costs.
[0065] The first interface of the digital signal output component 5 is connected to the digital signal output interface of the control module 1, and the second interface of the digital signal output component 5 is used to connect to a third device. The third device is used to be controlled by digital signals.
[0066] The EtherCAT control board further includes a digital signal output component 5 .
[0067] In this embodiment, the control module 1 is configured to output digital signals from the digital signal output interface, and the digital signal output component 5 is configured to transmit the digital signals output by the control module 1 to a third device. The third device may be an actuator (such as a motor, solenoid valve, etc.) or a driver. The EtherCAT control board can control the actuator's parameters, such as its on / off state, speed, and position, by outputting digital signals. The actuator then performs corresponding actions based on the control signals.
[0068] In one embodiment, the digital signal output component 5 may further electrically isolate the digital signal before transmitting it to a third device.
[0069] Figure 3 This is a schematic diagram of the structure of another EtherCAT control board provided by the present invention. Figure 3 As shown, the digital signal output assembly 5 includes a digital output subassembly 51 and a first isolation subassembly 52. The digital signal output interface of the control module 1 includes a first IO interface. The first end of the digital output subassembly 51 is connected to the first IO interface, the second end of the digital output subassembly 51 is connected to the first end of the first isolation subassembly 52, and the second end of the first isolation subassembly 52 is used to connect to a third device. The digital output subassembly 51 is used to transmit digital signals and supports 32-bit digital signal output, with the first 4 bits supporting high-speed output of digital signals. The first isolation subassembly 52 is used for electrical isolation. For example, the first isolation subassembly 52 can provide 3kV (kilovolt) electrical isolation, where 3kV refers to the maximum voltage the isolation subassembly can withstand. Electrical isolation effectively prevents external noise and interference signals from affecting digital signals, ensuring the stability and accuracy of digital signals during transmission. Furthermore, electrical isolation can isolate high-voltage circuits from the EtherCAT control board, preventing direct current flow and thus protecting the EtherCAT control board from high voltage threats. The digital signal after electrical isolation is subsequently further transmitted to a third device to control the third device.
[0070] In one embodiment, Figure 4 The circuit diagram of another EtherCAT control board provided by the embodiment of the present utility model is shown below. Figure 4 As shown, Figure 4 The digital output subassembly 51 is IDO, the first isolation subassembly 52 is 3KV Isolation, and the second end of the first isolation subassembly 52 can also be directly connected to the control network CNN. The control network CNN includes a logic control circuit and multiple actuators, multiple drivers and multiple sensors. After receiving the digital signal, the logic control circuit parses the control instruction from the digital signal and controls the multiple actuators and drivers.
[0071] In this embodiment, by setting a digital output subassembly 51 to be connected to the IO interface of the control module 1, the EtherCAT control board can output a 32-bit digital signal to an external device, of which the first 4 bits support high-speed output, expanding the applicable scenarios of the EtherCAT control board and also having a good transmission effect in high-speed IO.
[0072] In addition, by providing the first isolation subassembly 52 for electrical isolation, interference during digital signal transmission can be reduced, and the EtherCAT control board can be protected from the threat of high voltage, thereby improving the reliability of the EtherCAT control board.
[0073] The first interface of the digital signal input component 6 is connected to the digital signal input interface of the control module 1 , and the second interface of the digital signal input component 6 is used to connect to a fourth device; the fourth device is used to output detection data through digital signals.
[0074] In addition, the EtherCAT control board also includes a digital signal input component 6. The digital signal input component 6 is used to receive digital signals sent by the fourth device and transmit the digital signals to the digital signal input interface of the control module 1, so that the control module 1 can process and analyze the digital signals. The fourth device can be a device with data detection capabilities, such as a sensor. The sensor detects physical quantities (such as temperature, pressure, flow rate, etc.) and converts the physical quantities into digital signals. The digital signals are transmitted to the digital signal input interface of the control module 1 via the digital signal input component 6.
[0075] Similarly, in this embodiment, the digital signal input component 6 can also electrically isolate the digital signal before transmitting it to the control module 1. Specifically, Figure 3 As shown, the digital signal input component 6 includes a digital input sub-component 61 and a second isolation sub-component 62, and the digital signal input interface of the control module 1 includes a second IO interface; the first end of the digital input sub-component 61 is connected to the second IO interface, the second end of the digital input sub-component 61 is connected to the first end of the second isolation sub-component 62, and the second end of the second isolation sub-component 62 is used to connect to the fourth device.
[0076] Among them, the digital input sub-component 61 is used for transmitting digital signals. The digital input sub-component 61 can support the input of 32-bit digital signals, and the first 4 bits can support high-speed input of digital signals. The second isolation sub-component 62 is used for electrical isolation.
[0077] In one embodiment, Figure 4 As shown, Figure 4The digital input subassembly 61 is an IDI, and the second isolation subassembly 62 is a 3KV isolation. The digital signal input assembly 6 also includes an inverter U1. The input of inverter U1 is connected to the first end of the second isolation subassembly 62, and the output of inverter U1 is connected to the second end of the digital input subassembly 61. The second end of the second isolation subassembly 62 is connected to the control network CNN to receive digital signals transmitted by sensors in the control network CNN. In addition, the common end ICOM of the control network CNN is also connected to the second isolation subassembly 62. The second isolation subassembly 62 electrically isolates the digital signal and then inputs it into inverter U1 for filtering and shaping. The digital signal is then transmitted to the control module 1 for processing via the digital input subassembly 61.
[0078] As described above, by providing a digital input subassembly connected to an external device, this embodiment enables the EtherCAT control board to receive 32-bit digital signals transmitted by the external device, with the first 4 bits supporting high-speed output. This expands the EtherCAT control board's applicability and provides excellent transmission performance even in high-speed I / O. Furthermore, the provision of a second isolation subassembly reduces interference during digital signal transmission and protects the EtherCAT control board from high voltage threats, thereby improving its reliability.
[0079] The control module 1 further includes at least one encoder interface 7, which is used to connect to an encoder and transmit a feedback signal sent by the encoder.
[0080] In this embodiment, the control module 1 of the EtherCAT control board further includes at least one encoder interface 7. The specific number of the encoder interface 7 can be set according to actual needs. The encoder interface 7 is used to connect to the encoder to transmit the feedback signal sent by the encoder.
[0081] In one embodiment, the encoder interface 7 is an ABZ encoder interface, which is used to connect a rotary encoder. The feedback signal transmitted by the rotary encoder includes information such as position data and speed data.
[0082] For example, Figure 4 As shown, Figure 4 The EtherCAT control board includes two encoder interfaces, each of which is connected to an encoder.
[0083] On the basis of the above embodiment, it further includes an onboard ID setting component 10, and the control module 1 further includes a third IO interface.
[0084] The ID information transmission interface of the onboard ID setting component 10 is connected to the third IO interface, and the ID information transmission interface is used to transmit the ID information generated by the onboard ID setting component 10 to the third IO interface.
[0085] The control module 1 is used to determine the onboard ID according to the ID information.
[0086] Figure 5 The schematic diagram of the structure of another EtherCAT control board provided by the embodiment of the present utility model is shown in FIG. Figure 5 As shown, the EtherCAT control board further includes an onboard ID setting component 10, which is used to set the onboard ID of the EtherCAT control board.
[0087] Specifically, the ID information transmission interface of the onboard ID setting component 10 is used to output ID information. The user can set the onboard ID on the onboard ID setting component 10. The onboard ID setting component 10 generates ID information based on the set onboard ID and transmits it to the third IO interface of the control module 1 through the ID information transmission interface. After receiving the ID information, the third IO interface converts it into an onboard ID and stores it in the corresponding register. The control module 1 uses the onboard ID stored in the register as the identifier of the EtherCAT control board so that other devices can identify the EtherCAT control board through the onboard ID.
[0088] Figure 6 The following is a circuit diagram of another EtherCAT control board provided by the embodiment of the present utility model. Figure 6 As shown, the onboard ID setting component 10 is Figure 6 The third IO interface can support a 4-bit IO signal. The onboard ID setting component 10 has a 4-bit switch, which is directly connected to the third IO interface. After the user manually operates the 4-bit switch, it is set to a specific combination. This combination represents the onboard ID set by the user. Different switch combinations will send different level signals to the third IO interface, and this level signal is the ID information. The third IO interface determines the state of the switch based on the ID information, writes the corresponding onboard ID to the onboard ID setting register and stores it. The control module 1 then uses the onboard ID stored in the onboard ID setting register as the identifier of the EtherCAT control board.
[0089] The embodiment of the utility model provides an onboard ID setting component on the EtherCAT control board, so that the user can set the onboard ID of the EtherCAT control board according to actual needs, thereby facilitating the identification and management of the EtherCAT control board, and can realize the use of multiple EtherCAT control boards in parallel or series.
[0090] Based on the above embodiment, the EtherCAT control board further includes a first storage module 8 , and the control module 1 further includes an SPI interface. The data reading interface of the first storage module 8 is connected to the SPI interface of the control module 1 .
[0091] In one embodiment, Figure 5 As shown, the EtherCAT control board further includes a first storage module 8 , a data reading interface of the first storage module 8 is connected to the SPI interface of the control module 1 , wherein the first storage module 8 is used to store data.
[0092] For example, Figure 6 As shown, the first storage module 8 can be a flash memory (FLASH), specifically a W25Q64 model. The flash memory is connected to the control module 1 via an SPI interface and is used to store large-capacity data.
[0093] Based on the above embodiment, the EtherCAT control board further includes a second storage module 9 , and the control module 1 further includes an IIC interface. The data reading interface of the second storage module 9 is connected to the IIC interface of the control module 1 .
[0094] In another embodiment, Figure 5 As shown, the EtherCAT control board further includes a second storage module 9, a data reading interface of the second storage module 9 is connected to the IIC (Inter-Integrated Circuit) interface of the control module 1, wherein the second storage module 9 is used to store data.
[0095] For example, Figure 6 As shown, the second storage module 9 can be an EEPROM (Electrically Erasable Programmable Read-Only Memory), specifically a 24C02 model. The EEPROM is connected to the control module 1 via an IIC interface and is used to store small-capacity data.
[0096] As described above, the present invention provides an EtherCAT control board with a slave control component, an analog signal output component, an analog signal input component, a digital signal output component, and a digital signal input component. Each component is connected to the control module via different interfaces, enabling the EtherCAT control board to support communication control with EtherCAT slaves, analog signal input and output, and digital signal input and output. Furthermore, the control module is provided with an encoder interface for collecting data sent by the encoder. In this embodiment, by integrating various functional components into the EtherCAT control board, the functionality of the EtherCAT control board is enriched, enabling the EtherCAT control board to stably and efficiently perform industrial control and data acquisition, thereby resolving the technical problem of the relatively limited functionality of the EtherCAT control board in the prior art.
[0097] The present invention also provides a control device including the aforementioned EtherCAT control board. By providing a slave control component, an analog signal output component, an analog signal input component, a digital signal output component, and a digital signal input component in the EtherCAT control board, and connecting each component to a control module via different interfaces, the EtherCAT control board is able to support communication control with EtherCAT slaves, analog signal input and output, and digital signal input and output functions. Furthermore, an encoder interface is provided on the control module to collect data sent by the encoder. In this embodiment, by integrating each functional component into the EtherCAT control board, the functionality of the EtherCAT control board is enriched, enabling the EtherCAT control board to stably and efficiently perform industrial control and data acquisition, thereby resolving the technical problem of the relatively single functionality of the EtherCAT control board in the prior art.
[0098] The specific embodiments described above further illustrate the purpose, technical solutions, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. An EtherCAT control board, characterized in that: It includes a control module, a slave control component, an analog signal output component, an analog signal input component, a digital signal output component and a digital signal input component; The first communication interface of the slave control component is connected to the slave communication interface of the control module, and the second communication interface of the slave control component is used to connect to the EtherCAT slave; The first end of the analog signal output component is connected to the analog signal output port of the control module, and the second end of the analog signal output component is used to connect to a first device, and the first device is used to be controlled by an analog signal; The first end of the analog signal input component is connected to the analog signal input port of the control module, and the second end of the analog signal input component is used to connect to a second device, and the second device is used to output detection data through an analog signal; The first interface of the digital signal output component is connected to the digital signal output interface of the control module, and the second interface of the digital signal output component is used to connect to a third device; the third device is used to be controlled by a digital signal; The first interface of the digital signal input component is connected to the digital signal input interface of the control module, and the second interface of the digital signal input component is used to connect to a fourth device; the fourth device is used to output detection data through a digital signal; The control module further includes at least one encoder interface, which is used to connect to an encoder and transmit a feedback signal sent by the encoder.
2. The EtherCAT control board according to claim 1, characterized in that: The analog signal output component includes at least one analog signal output channel, and the analog signal output port of the control module includes multiple digital-to-analog conversion interfaces, each of the analog signal output channels is connected to a different digital-to-analog conversion interface; each of the analog signal output channels is used to connect to a different first device.
3. The EtherCAT control board according to claim 1, characterized in that: The analog signal output component includes at least one analog signal input channel, and the analog signal input port of the control module includes multiple analog-to-digital conversion interfaces, each of the analog signal input channels is connected to a different analog-to-digital conversion interface; each of the analog signal input channels is used to connect to a different second device.
4. The EtherCAT control board according to claim 1, characterized in that: The digital signal output component includes a digital output subcomponent and a first isolation subcomponent, and the digital signal output interface of the control module includes a first IO interface; The first end of the digital output subassembly is connected to the first IO interface, the second end of the digital output subassembly is connected to the first end of the first isolation subassembly, and the second end of the first isolation subassembly is used to connect to the third device.
5. The EtherCAT control board according to claim 1, characterized in that: The digital signal input component includes a digital input sub-component and a second isolation sub-component, and the digital signal input interface of the control module includes a second IO interface; The first end of the digital input subassembly is connected to the second IO interface, the second end of the digital input subassembly is connected to the first end of the second isolation subassembly, and the second end of the second isolation subassembly is used to connect to the fourth device.
6. The EtherCAT control board according to claim 1, characterized in that: The second communication interface of the slave control component is an RJ45 interface, the first communication interface of the slave control component and the slave communication interface of the control module are SPI interfaces, and the slave control component also includes a third communication interface, which is used to connect to other slave control components.
7. The EtherCAT control board according to any one of claims 1 to 6, characterized in that: The EtherCAT control board further includes: an onboard ID setting component, and the control module further includes a third IO interface; The ID information transmission interface of the onboard ID setting component is connected to the third IO interface, and the ID information transmission interface is used to transmit the ID information generated by the onboard ID setting component to the third IO interface; The control module is used to determine the onboard ID according to the ID information.
8. The EtherCAT control board according to any one of claims 1 to 6, characterized in that: The EtherCAT control board further includes a first storage module, and the control module further includes an SPI interface. The data reading interface of the first storage module is connected to the SPI interface of the control module.
9. The EtherCAT control board according to any one of claims 1 to 6, characterized in that: The EtherCAT control board further includes a second storage module, and the control module further includes an IIC interface. The data reading interface of the second storage module is connected to the IIC interface of the control module.
10. A control device, characterized in that: The invention comprises the EtherCAT control board according to any one of claims 1 to 9.