INTELLIGENT DIGITAL CONTROLLER OF FLEXIBLE MATERIAL CUTTING ROBOT AND REALIZATION METHOD
20180361574 ยท 2018-12-20
Assignee
Inventors
Cpc classification
B25J9/1664
PERFORMING OPERATIONS; TRANSPORTING
B25J9/0009
PERFORMING OPERATIONS; TRANSPORTING
B25J9/1602
PERFORMING OPERATIONS; TRANSPORTING
Y10S901/02
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
International classification
Abstract
An intelligent digital controller of a flexible material cutting robot and a realization method are provided. The controller comprises: an ARM chip, a servo driver bus communication module and a CPLD module. The ARM chip has built-in two processor cores (Cortex-M0 and Cortex-M4) and is externally connected with a flash memory, an SD card, SRAMs and an Ethernet physical transceiver_2; the Cortex-M0 reads a corresponding graph in the SD card into SRAM_1 according to a graph number, and sends a graph data readiness interruption request to an interruption controller; and after the interruption request is responded, Cortex-M4 reads in graph data and conducts interpolation calculation on the graph; the servo driver bus communication module is used to receive an interpolation calculation result and transmit the calculation result to a data input end of a servo driver with a corresponding address number through a data sending port.
Claims
1. An intelligent digital controller of a flexible material cutting robot, the controller being a network-based multi-core collaborative intelligent digital controller and comprising: an ARM chip, a servo driver bus communication module and a CPLD module; wherein the ARM chip has two built-in processor cores (Cortex-M0 and Cortex-M4) and is externally connected with a flash memory, an SD card, SRAMs and an Ethernet physical transceiver_2; the Cortex-M0 reads a corresponding graph in the SD card into SRAM_1 according to a graph number, and sends a graph data readiness interruption request to an interruption controller; and after the interruption request is responded, Cortex-M4 reads in graph data and conducts interpolation calculation on the graph; the servo driver bus communication module is used to receive an interpolation calculation result and transmit the calculation result to a data input end of a servo driver with a corresponding address number through a data sending port; and the CPLD module is used to read original point, terminal point and limit signals of a machine tool and store the read signal values in a shared space specified by SRAM_1.
2. The intelligent digital controller of the flexible material cutting robot according to claim 1, wherein a type of the ARM chip is LPC4357; the Cortex-M0 is a main control core, and the Cortex-M4 is used for interpolation motion control; and two SRAMs are arranged.
3. The intelligent digital controller of the flexible material cutting robot according to claim 2, wherein the Cortex-M0 and Cortex-M4 realize data exchange in a memory sharing mode, and perform collaborative work in an inter-core interruption mode; and the inter-core interruption is controlled by the interruption controller.
4. The intelligent digital controller of the flexible material cutting robot according to claim 1, wherein the servo driver bus communication module comprises an Ethernet physical transceiver_1 and an RTEX bus communication protocol conversion chip; and the RTEX bus communication protocol conversion chip is connected with the ARM chip through address buses and data buses.
5. The intelligent digital controller of the flexible material cutting robot according to claim 1, wherein the CPLD module is also used for input/output port expansion, and, is connected with the ARM chip through address buses and data buses.
6. The intelligent digital controller of the flexible material cutting robot according to claim 1, wherein the ARM chip is also connected with an external Ethernet through an Ethernet physical transceiver_2.
7. The intelligent digital controller of the flexible material cutting robot according to claim 1, wherein the servo driver bus communication module further comprises a pulse voltage converter, a data receiving port and a data sending port; the pulse voltage converter is connected with the Ethernet physical transceiver_1, and realizes level conversion with the Ethernet physical transceiver_1; and the data receiving port and the data sending port are respectively connected with the pulse voltage converter.
8. The intelligent digital controller of the flexible material cutting robot according to claim 1, wherein a type of the Ethernet physical transceiver_1 is DP83848VVVBI; and a type of the pulse voltage converter is TLA-6T118LF series.
9. A realization method for the intelligent digital controller of the flexible material cutting robot, the method being realized based on a network-based multi-core collaborative intelligent digital controller and comprising: reading, by the Cortex-M0, a corresponding graph in the SD card into SRAM_1 according to a graph number, and sending a graph data readiness interruption request to an interruption controller; reading in, by Cortex-M4, graph data and conducting interpolation calculation on the graph; and sending, by a data bus, a calculation result to a servo driver bus communication module; and transmitting, by a data sending port, the interpolation calculation result to a data input end of a servo driver with a corresponding address number.
10. The realization method for the intelligent digital controller of the flexible material cutting robot according to claim 9, wherein the Cortex-M4 reads in the graph data and conducts interpolation calculation on the graph to complete interpolation motion control; in the process of interpolation motion, Cortex-M0 reads original point, terminal point and limit signals of a machine tool through the CPLD module and stores the read signal values in a shared space specified by SRAM_1; when the signal value is true, Cortex-M0 sends a corresponding interruption request; and after the interruption request is responded, Cortex-M4 suspends the interpolation motion according to the signal value and continues to make the interpolation motion when a signal state value is restored to the original value.
Description
DESCRIPTION OF THE DRAWINGS
[0010]
[0011]
DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS
[0012] In order to make the purpose, the technical, solution and the advantages of the present invention more clear, the present invention will be further described in detail below in combination with embodiments and attached drawings.
[0013]
[0014] The type of the ARM chip may be LPC4357. The Cortex-M0 is, a main control core, and Cortex-M4 is used for interpolation motion control. Two SRAMs are arranged.
[0015] The above Cortex-M0 and Cortex-M4 realize data exchange in a memory sharing mode, and perform collaborative work in an inter-core interruption mode; and the inter-core interruption is controlled by the interruption controller.
[0016] The above servo driver bus communication module comprises an Ethernet physical transceiver_1 and an RTEX (Realtime Express) bus communication protocol conversion chip; and the RTEX bus communication protocol conversion chip is connected with the ARM chip through address buses and data buses.
[0017] The above ARM chip is connected with the RTEX bus communication protocol conversion chip through 11 address buses and 32 data buses.
[0018] The above CPLD module is also used for input/output port expansion, and is connected with the ARM chip through 16 address buses and 16 data buses.
[0019] The above ARM chip is also connected with an external Ethernet through an Ethernet physical transceiver_2.
[0020] The above servo driver bus communication module further comprises a pulse voltage converter, a data receiving port and a data sending port.
[0021] The pulse voltage converter is connected with the Ethernet physical transceiver_1, and realizes level conversion with the Ethernet physical transceiver_1.
[0022] The data receiving port and the data sending port are respectively connected with the pulse voltage converter.
[0023] The type of the Ethernet physical transceiver_1 may be DP83848VVVBI. The type of the pulse voltage converter may be TLA-6T118LF series.
[0024] The present embodiment further discloses a realization method for the intelligent digital controller of the flexible material cutting robot. The method is realized based on a network-based multi-core collaborative intelligent digital controller and, comprises: reading, by the Cortex-M0, a corresponding graph in the SD card into SRAM_1 according to a graph number, and sending a graph data readiness interruption request to an interruption controller; sending, by a data bus, a calculation result to a servo driver bus communication module; and transmitting, by a data sending port, the interpolation calculation result to a data input end of a servo driver with a corresponding address number.
[0025] The Cortex-M4 reads in the graph data and conducts interpolation calculation on the graph to complete interpolation motion control. In the process of interpolation motion. Cortex-M0 reads original point, terminal point and limitation signals of a machine tool through the CPLD module and stores the read signal values in a shared space specified by SRAM_1. When the signal value is true, Cortex-M0 sends a corresponding interruption request; and after the interruption request is responded, Cortex-M4 suspends the interpolation motion according to the signal value and continues to make the interpolation motion when a signal state value is restored to the original value.
[0026] A flow of data exchange between Cortex-M4 and Cortex-M0 is sending the interruption request to the interruption controller, storing data to be exchanged in SRAM_1, responding to the interruption request reading the to-be-exchanged data stored in SRAM_1, and releasing an interruption permission (as shown in
[0027] Although the present invention discloses the above embodiments, the described embodiments are only for the convenience of understanding the present invention, not for limiting the present invention. Any of those skilled in the art of the present invention can make any amendment and change to implementation forms and details without departing from the spirit and scope disclosed by the present invention. However, the protection scope of the patent of the present invention shall depend on the scope defined by appended claims.