Three-axis motion control system based on TMC429

By combining the TMC429 chip with the MCU in the motion control system, combined with the stepper motor driver and environmental data acquisition module, the problems of high development cost and large resource occupation in the existing technology are solved, and efficient three-axis motion control and resources are achieved. Optimization improves system performance and anti-interference capabilities.

CN221862709UActive Publication Date: 2024-10-18JIANGXI MFG POLYTECHNIC COLLEGE
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202323194386.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-11-27
Publication Date
2024-10-18
Estimated Expiration
2033-11-27

AI Technical Summary

Technical Problem

The development cost of existing motion control systems is high and the hardware design is centralized, which makes it difficult to develop and burn software programs. In addition, the MCU requires a large amount of resources to complete the motion control algorithm, which affects system performance.

Method used

Adopt a three-axis motion control system based on TMC429, combine it with the TMC429 chip through MCU, use SPI interface connection, combine with stepper motor driver and environmental data acquisition module, add optocoupler isolation module and alarm module, provide stable power supply, and reserve Network port and RS485 serial port to realize resource optimization and function expansion.

Benefits of technology

The TMC429 chip provides digital motion control functions, frees up MCU resources for interface expansion and higher-level control, reduces development costs, and improves system performance and anti-interference capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221862709U_ABST
    Figure CN221862709U_ABST
Patent Text Reader

Abstract

The utility model relates to a three-axis motion control system based on TMC429, comprising a controller comprising an MCU and a TMC429 chip, the output end of the MCU is connected with the input end of the TMC429 chip through an SPI interface; the input ends of the three motor drivers are connected with the output end of the TMC429 chip; each stepping motor is associated with a motor driver, and AB phase lines of the associated stepping motors are connected with the output ends of the stepping motors; the environment data acquisition module comprises a temperature sensor and an incremental encoder and is used for acquiring temperature information and angular displacement information during operation of the stepping motor; and the power supply module is electrically connected with the MCU and the motor driver and is used for providing stable power supply for the MCU and the motor driver. Three-axis motion is controlled through the three stepping motors, the controller is jointly formed by the MCU and the TMC429 in a matched mode to control drivers of the stepping motors, and complete hardware support can be provided for a three-axis motion control system based on the TMC429.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of motor control, in particular to a three-axis motion control system based on TMC429. Background Art

[0002] At present, domestic motion control systems usually use embedded chips (STM32 / FPGA / DSP / Arduino) to build systems (usually Linux) with servo motors / stepper motors. This method has high development costs and long cycles.

[0003] In addition, the controller circuit part of the motion control system in the current market is highly centralized during hardware design. A high-performance MCU (STM32 / DSP / FPGA) is used to simultaneously complete the motion control algorithm (eg, make the controlled object move in a circle) and the stepper motor subdivision drive control algorithm (eg, make the motor run smoothly, with small fluctuations and small noise). This hardware design method is not conducive to the development and burning of subsequent software programs. Summary of the invention

[0004] In order to solve at least one of the defects in the prior art, the purpose of the utility model is to provide a three-axis motion control system based on TMC429.

[0005] The technical solution adopted by the utility model to solve the problem is: a three-axis motion control system based on TMC429, including:

[0006] The controller includes an MCU and a TMC429 chip, wherein the output end of the MCU is connected to the input end of the TMC429 chip via an SPI interface;

[0007] Three motor drivers, the input ends of which are connected to the output ends of the TMC429 chip;

[0008] Three stepper motors, each stepper motor is associated with a motor driver, and the AB phase line of the associated stepper motor is connected to the output end of the stepper motor;

[0009] An environmental data acquisition module, including a temperature sensor and an incremental encoder, for acquiring temperature information and angular displacement information when the stepper motor is running;

[0010] The power supply module is electrically connected to the MCU and the motor driver respectively, and is used to provide a stable power supply to the MCU and the motor driver.

[0011] Furthermore, the system also includes:

[0012] The optocoupler isolation module is arranged between the output end of the TMC429 chip and the input end of the motor driver, and is used to directly drive the high-speed optocoupler 6N137 through the Schmitt trigger 74HC14D to isolate the control signal of the TMC429 chip to enhance the anti-interference ability.

[0013] Furthermore, specifically, the MCU is constructed based on the STC15W56S4 main control chip and its peripheral circuits.

[0014] Furthermore, the system also includes:

[0015] The alarm module, specifically an LED indicator light, is used to flash an alarm when the temperature information reaches a set value.

[0016] Further, specifically, the power supply module is used to provide a 5V constant voltage for the MCU and a 24V constant voltage for the motor driver.

[0017] Furthermore, specifically, the model of the motor driver is TB6600.

[0018] Furthermore, specifically, the motor driver is constructed based on the TMC26X series stepper motor driver chip.

[0019] Furthermore, the MCU also has a reserved network port, which is used to communicate with the host computer.

[0020] Furthermore, the MCU is also provided with a RS485 serial port, and the RS485 serial port is used to communicate with a PC.

[0021] Further, specifically, the power module converts the AC power into a 24V constant voltage to power the motor driver through a switching power supply, and then converts the 24V constant voltage into a 5V constant voltage to power the MCU through a URB2405YMD-6WR3 transformer manufactured by Goldensun.

[0022] The beneficial effects of the utility model are as follows: the utility model controls three-axis motion through three stepper motors, and jointly forms a controller through MCU and TMC429 to control the driver of the stepper motor. TMC429 provides all functions related to digital motion control, including positioning control, speed control, micro-step control and other common control functions of stepper motors. If these functions are completed by MCU, a large amount of system resources will be occupied. Therefore, the use of TMC429 can free up the resources to use them for interface expansion and higher-level control of stepper motors, providing complete hardware support for the three-axis motion control system based on TMC429. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present utility model, the following is a brief description of the drawings required for the description of the embodiments. Obviously, the drawings described are only part of the embodiments of the present utility model, not all of the embodiments, and those skilled in the art can also obtain other design solutions and drawings based on these drawings without creative work.

[0024] Figure 1 Shown is the structural principle diagram of the three-axis motion control system based on TMC429 of the utility model;

[0025] Figure 2 The figure shows the circuit principle diagram of the power module 24V to 5V of the three-axis motion control system based on TMC429 of the utility model. DETAILED DESCRIPTION

[0026] The following will clearly and completely describe the concept, specific structure and technical effects of the utility model in combination with the embodiments and drawings, so as to fully understand the purpose, characteristics and effects of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of them. Based on the embodiments of the utility model, other embodiments obtained by technicians in this field without creative work are all within the scope of protection of the utility model. In addition, all the connection relationships mentioned in the text do not refer to the direct connection of components, but refer to the fact that a better structure can be formed by adding or reducing connecting components according to the specific implementation situation. The various technical features in the creation of the utility model can be combined interchangeably without conflicting with each other.

[0027] Reference Figure 1 , Embodiment 1, a three-axis motion control system based on TMC429, comprising:

[0028] The controller includes an MCU and a TMC429 chip, wherein the output end of the MCU is connected to the input end of the TMC429 chip via an SPI interface;

[0029] Three motor drivers, the input ends of which are connected to the output ends of the TMC429 chip;

[0030] Three stepper motors, each stepper motor is associated with a motor driver, and the AB phase line of the associated stepper motor is connected to the output end of the stepper motor;

[0031] The environmental data acquisition module includes a temperature sensor and an incremental encoder, which is used to collect temperature information and angular displacement information when the stepper motor is running; Figure 1 Considering the circuit layout problem, only the connection between the environmental data acquisition module and one of the stepper motors is shown, and other connections are not shown.

[0032] The power supply module is electrically connected to the MCU and the motor driver respectively, and is used to provide a stable power supply to the MCU and the motor driver.

[0033] As a preferred embodiment of the present utility model, the system further includes:

[0034] The optocoupler isolation module is arranged between the output end of the TMC429 chip and the input end of the motor driver, and is used to directly drive the high-speed optocoupler 6N137 through the Schmitt trigger 74HC14D to isolate the control signal of the TMC429 chip to enhance the anti-interference ability.

[0035] In this embodiment 1, the utility model controls three-axis motion through three stepper motors, and uses MCU and TMC429 to form a controller to control the driver of the stepper motor. TMC429 provides all functions related to digital motion control, including positioning control, speed control, micro-step control and other common control functions of stepper motors. If these functions are completed by MCU, a large amount of system resources will be occupied. Therefore, the use of TMC429 can free up resources to use them for interface expansion and higher-level control of stepper motors, providing complete hardware support for the three-axis motion control system based on TMC429.

[0036] In addition, considering that the TMC429 stepper motor dedicated chip has two connection topology modes for driving the motor: Step / Dir Mode and SPI daisy chain Mode, this design adopts the following method for driver control.

[0037] Step / Dir Mode: The TMC429 controls the position of the motor by sending pulses on the STEP pin, while indicating the direction of operation on the DIR pin output high / low level. The programmable step pulse length and step frequency up to 1MHz in this mode allow the stepper motor to run at high speed and high microstep resolution. The driver chip converts these signals into coil currents that control the motor position. The TMC429 is very suitable for use with the TMC26x series of intelligent power Step / Dir drivers.

[0038] As a preferred implementation mode of the present utility model, specifically, the MCU is constructed based on the STC15W56S4 main control chip and its peripheral circuits.

[0039] In this preferred embodiment, the STC15W56S4 main control chip is used. The STC15 series enhanced single-chip microcomputer developed by Hongjing Technology Co., Ltd. is derived from the early 8051. On this basis, new interfaces such as FLASH, PWM, PCA, SPI, I2C, ADC / DA and watchdog are developed, which greatly enriches the on-chip resources. The running speed can reach 1 crystal oscillator cycle, which is more than ten times faster than the early single-chip microcomputer. It is a type of 8-bit microcontroller commonly used in the field of modern large-scale factory workshop automation at home and abroad. It integrates CPU, ALU, BUS and many peripheral facility interfaces on a small circuit board at the same time. It has the characteristics of light weight, high cost performance, strong compatibility, high stability, easy to use and flexible. Compared with PLC, the microprocessor has the characteristics of more open programming, the underlying code is visible, and the degree of freedom is high in upgrading and transplanting; compared with DPS, its data calculation and processing is a little behind, but it wins in its lower control cost, low power consumption and high cost performance.

[0040] As a preferred embodiment of the present utility model, the system further includes:

[0041] The alarm module, specifically an LED indicator light, is used to flash an alarm when the temperature information reaches a set value.

[0042] In this preferred embodiment, an alarm module is added to give an alarm with a circuit related to an LED indicator light, and an alarm is given based on temperature information combined with a set value to ensure stable operation.

[0043] Reference Figure 1 As a preferred implementation of the utility model, specifically, the power module is used to provide a 5V constant voltage for the MCU and a 24V constant voltage for the motor driver.

[0044] In this preferred embodiment, the power supply module provides constant voltage power supplies of different values ​​to the MCU and the motor drive module, respectively, which can adapt to the operation of the control system. Figure 2 Specifically, in a preferred embodiment, the power module converts the mains power into a 24V constant voltage to power the motor driver through a switching power supply, and then converts the 24V constant voltage into a 5V constant voltage to power the MCU through a URB2405YMD-6WR3 transformer manufactured by Golden Sun. Figure 1 The center line layout problem only shows the connection between the power module and one of the motor drivers, and the connection between the power module and other motor drivers is not shown.

[0045] As a preferred implementation manner of the present utility model, specifically, the model of the motor driver is TB6600.

[0046] In this preferred embodiment, the motor driver model is TB6600, which is a driving tool dedicated to 57 / 42 type A, B phase hybrid stepper motors, H-bridge bipolar constant current drive, built-in 6-bit double-throw button, 7 micro-step angles to choose from (1 / 2A / 2B / 4 / 8 / 16 / 32) and 8-level adjustable winding current, reliable 8-42V wide range DC power supply; drive signal support voltage 3.3-24V compatible (saving external current limiting resistor); can be equipped with heating and overvoltage protection automatic voltage limiting to reduce temperature rise; greatly improve noise reduction indicators; high-speed optical coupler isolation; compact appearance saves space. The best application target is 42, 57 stepper motors with torque of 1.9Nm and below.

[0047] There are three types of driving levels, namely: ① Step angle level input Pulse positive, Pulse negative; ② Forward electric pulse DIR positive, reverse electric pulse DIR negative; ③ Enable level Enable positive, Enable negative. TB6600 has two driving modes, which can flexibly arrange common anode or common cathode input mode to meet the chip model requirements of the majority of manufacturers. Common anode connection: connect Pulse positive, DIR positive, and Enable positive to the 24V output port respectively, and the power supply range is +3.3V+24V. The TMC429 output pulse is connected to Pulse negative, DIR negative, and enable signal Enable negative through the output port of the TL291-4 optocoupler module, so it is very suitable as a motor driver for the utility model.

[0048] As a preferred implementation mode of the present utility model, specifically, the motor driver is constructed based on the TMC26X series stepper motor driver chip.

[0049] In this preferred embodiment, the TMC26X series stepper motor driver chip is used to replace the stepper motor driver TB6600. Although it is inferior to TB6600 in performance, it can significantly reduce the cost compared to TB6600 while ensuring the functional requirements of the solution of the utility model, and it also has certain advantages.

[0050] As a preferred implementation mode of the present utility model, the MCU also has a reserved network port, and the network port is used to communicate with a host computer.

[0051] In this preferred implementation, considering the function expansion problem of MCU, a network port is reserved for MCU. Figure 1 The network port realizes communication interaction with the host computer with DGUS display screen through TxD and RxD interfaces.

[0052] As a preferred embodiment of the present utility model, the MCU is also provided with an RS485 serial port, and the RS485 serial port is used to communicate with a PC.

[0053] In this preferred embodiment, considering the function expansion problem of MCU, an RS485 serial port is reserved for MCU. Figure 1 , and exchange information with the reserved PC through RS485 serial port communication.

[0054] Although the description of the utility model has been quite detailed and specifically describes several embodiments, it is not intended to be limited to any of these details or embodiments or any particular embodiment, but should be regarded as providing a broad possible interpretation of these claims by reference to the attached claims in view of the prior art, thereby effectively covering the intended scope of the utility model. In addition, the above description of the utility model is based on the embodiments foreseeable by the inventor, the purpose of which is to provide a useful description, and those non-substantial changes to the utility model that have not yet been foreseen may still represent equivalent changes to the utility model.

[0055] The above is only a preferred embodiment of the utility model. The utility model is not limited to the above implementation. As long as the technical effect of the utility model is achieved by the same means, it should belong to the protection scope of the utility model. Within the protection scope of the utility model, its technical solution and / or implementation method can have various modifications and changes.

Claims

1. The three-axis motion control system based on TMC429 is characterized by: include: The controller includes an MCU and a TMC429 chip, wherein the output end of the MCU is connected to the input end of the TMC429 chip via an SPI interface; Three motor drivers, the input ends of which are connected to the output ends of the TMC429 chip; Three stepper motors, each stepper motor is associated with a motor driver, and the AB phase line of the associated stepper motor is connected to the output end of the stepper motor; An environmental data acquisition module, including a temperature sensor and an incremental encoder, for acquiring temperature information and angular displacement information when the stepper motor is running; The power supply module is electrically connected to the MCU and the motor driver respectively, and is used to provide a stable power supply to the MCU and the motor driver.

2. The three-axis motion control system based on TMC429 according to claim 1, characterized in that: The system further comprises, The optocoupler isolation module is arranged between the output end of the TMC429 chip and the input end of the motor driver, and is used to directly drive the high-speed optocoupler 6N137 through the Schmitt trigger 74HC14D to isolate the control signal of the TMC429 chip to enhance the anti-interference ability.

3. The three-axis motion control system based on TMC429 according to claim 1, characterized in that: Specifically, the MCU is constructed based on the STC15W56S4 main control chip and its peripheral circuits.

4. The three-axis motion control system based on TMC429 according to claim 1 is characterized in that: The system further comprises, The alarm module, specifically an LED indicator light, is used to flash an alarm when the temperature information reaches a set value.

5. The three-axis motion control system based on TMC429 according to claim 1 is characterized in that: Specifically, the power supply module is used to provide a 5V constant voltage for the MCU and a 24V constant voltage for the motor driver.

6. The three-axis motion control system based on TMC429 according to claim 1 is characterized in that: Specifically, the model of the motor driver is TB6600.

7. The three-axis motion control system based on TMC429 according to claim 1, characterized in that: Specifically, the motor driver is constructed based on the TMC26X series stepper motor driver chip.

8. The three-axis motion control system based on TMC429 according to claim 1 is characterized in that: The MCU also has a reserved network port, which is used to communicate with the host computer.

9. The three-axis motion control system based on TMC429 according to claim 1, characterized in that: The MCU is also provided with an RS485 serial port, and the RS485 serial port is used for communicating with a PC.

10. The three-axis motion control system based on TMC429 according to claim 5, characterized in that: Specifically, the power module converts the mains power into a 24V constant voltage to power the motor driver through a switching power supply, and then converts the 24V constant voltage into a 5V constant voltage to power the MCU through a URB2405YMD-6WR3 transformer manufactured by Goldensun.

Citation Information

Cited By

  • Method for controlling three-coordinate movement system

    RU2860414C1

  • Three-coordinate motion system control device

    RU2865811C1