Embedded motion control box based on ARM Cortex-M3 kernel

By designing an embedded motion control box based on the ARM Cortex-M3 core, using photoelectric isolation technology and 32-bit microcontroller LPC1752, the problems of high cost and large volume of existing motion control solutions are solved, and cost-effective motion control is achieved. Suitable for a variety of application scenarios.

CN221746467UActive Publication Date: 2024-09-20SHENZHEN INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420362899.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-02-27
Publication Date
2024-09-20
Estimated Expiration
2034-02-27

AI Technical Summary

Technical Problem

Existing motion control solutions are costly and bulky, which limits their popularity in scenarios where motion accuracy is relatively low but cost is high, as well as in teaching experiment carriers.

Method used

An embedded motion control box based on ARM Cortex-M3 core is designed, which uses a microcontroller, power module, first optical and electrical interface module and second optical and electrical interface module to realize the isolation of analog signals and digital signals through optical isolation technology. The system cost is reduced and efficient motion control is achieved through the 32-bit microcontroller LPC1752 and the optoelectronic chip TLP521-4.

Benefits of technology

It has realized a motion control solution with low cost, small size and high cost performance. It can control 4 channels of PWM output, 20 channels of digital input and 16 channels of digital output at the same time. It is suitable for occasions with high cost performance requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221746467U
    Figure CN221746467U
Patent Text Reader

Abstract

The utility model relates to an embedded motion control box based on an ARM Cortex-M3 core, comprising a microcontroller, a power supply module, a first photoelectric interface module and a second photoelectric interface module, the power supply module is respectively connected with the first photoelectric interface module and the second photoelectric interface module of the microcontroller; the microcontroller is connected with the photoelectric interface module, the first photoelectric interface module is connected with 24V voltage and outputs 3.3 V voltage to the microcontroller, the second photoelectric interface module is connected with the output end of the microcontroller, and the 3.3 V voltage is converted into 24V voltage to be output by the second photoelectric interface module. The photoelectric coupler is used for isolating analog signals and digital signals, the analog signals are prevented from interfering with the digital signals, and the motion control box is low in cost, small in size, high in cost performance and capable of achieving four-channel PWM output, 20-channel digital input and 16-channel digital output.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of motion control, in particular to an embedded motion control box based on an ARM Cortex-M3 core. Background Art

[0002] With the development of industrial technology, motion control technology is also developing continuously and has been widely used in the manufacturing industry. Motion control is the real-time control and management of the position and speed of mechanical moving parts so that they move according to the expected motion trajectory and specified motion parameters.

[0003] A common motion control solution is implemented in the form of an industrial computer + motion control card. This solution has the advantages of good stability, strong performance, and strong scalability. However, the solution is relatively expensive (the industrial computer is about 5,000 yuan, the motion control card is about 5,000 yuan, a total of 10,000 yuan), large in size (the motion control card is installed on the industrial computer motherboard, and the size of the industrial computer is similar to that of a desktop computer), and not compact enough in structure. In some motion control scenarios where the motion accuracy requirements are relatively low but the cost requirements are high, as well as in teaching experiments for beginners, the high cost often restricts the popularization of the motion control solution. Summary of the invention

[0004] The utility model provides an embedded motion control box based on an ARM Cortex-M3 core, aiming to solve the problems of high cost and large volume of existing motion control solutions.

[0005] The utility model provides an embedded motion control box based on an ARM Cortex-M3 core, comprising a microcontroller, a power module, a first photoelectric interface module and a second photoelectric interface module, wherein the power module is respectively connected to the first photoelectric interface module and the second photoelectric interface module of the microcontroller, the microcontroller is connected to the photoelectric interface module, the first photoelectric interface module is connected to a 24V voltage, and outputs a 3.3V voltage to the microcontroller, the second photoelectric interface module is connected to the output end of the microcontroller, and the second photoelectric interface module converts the 3.3V voltage into a 24V voltage output.

[0006] As a further improvement of the present invention, the model of the microcontroller is LPC1752.

[0007] As a further improvement of the utility model, the power module includes a three-terminal integrated voltage regulator V1, pin 1 of the three-terminal integrated voltage regulator V1 is connected to one end of the resistor R1, the other end of the resistor R1 is connected to a 24V voltage, one end of the resistor R2, the positive electrode of the capacitor C1 and one end of the capacitor C2 are all connected to pin 1 of the three-terminal integrated voltage regulator V1, the positive electrode of the capacitor C3 and one end of the capacitor C4 are all connected to pin 3 of the three-terminal integrated voltage regulator V1, and the other end of the resistor R2, the negative electrode of the capacitor C1, the other end of the capacitor C2, the negative electrode of the capacitor C3, the other end of the capacitor C4 and pin 2 of the three-terminal integrated voltage regulator V1 are all grounded.

[0008] As a further improvement of the utility model, pin 3 of the three-terminal integrated regulator V1 is connected to pin 2 of the common interface JP1, pin 1 of the common interface JP1 is connected to pin 5 of the interface J1, and pin 4 of the interface J1 outputs a 3.3V voltage.

[0009] As a further improvement of the present utility model, the first optoelectronic interface includes a first optoelectronic chip, pins 1, 3, 5, and 7 of the first optoelectronic chip are connected to a 24V voltage, pins 2, 4, 6, and 8 of the first optoelectronic chip are connected to an external input signal, pins 10, 12, 14, and 16 of the first optoelectronic chip are connected to a 3.3V voltage and are connected to the microcontroller, and pins 9, 11, 13, and 15 of the first optoelectronic chip are all grounded.

[0010] As a further improvement of the present utility model, the second optoelectronic interface includes a second optoelectronic chip, pins 1, 3, 5, and 7 of the second optoelectronic chip are connected to a 3.3V voltage, pins 2, 4, 6, and 8 of the second optoelectronic chip are connected to the microcontroller, pins 9, 11, 13, and 15 of the second optoelectronic chip are connected to an external output signal, and pins 10, 12, 14, and 16 of the second optoelectronic chip are connected to a 24V voltage.

[0011] As a further improvement of the present invention, the first optoelectronic chip and the second optoelectronic chip are of the model TLP521-4.

[0012] As a further improvement of the utility model, it also includes an indicator light module, which includes a light-emitting diode D1 and a resistor R83, one end of the resistor R83 is connected to a 24V voltage, the other end of the resistor R83 is connected to the positive electrode of the light-emitting diode D1, and the negative electrode of the light-emitting diode D1 is grounded.

[0013] The beneficial effects of the utility model are: using a photoelectric coupler to isolate analog signals and digital signals, thereby avoiding analog signal interference with digital signals. The motion control box has low cost, small size, and high cost performance, and can achieve 4-channel PWM output, 20-channel digital input and 16-channel digital output. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 It is a connection relationship diagram between various modules of the utility model;

[0015] Figure 2 It is a schematic diagram of the microcontroller chip of the utility model;

[0016] Figure 3 It is a circuit connection diagram of chips U1-U5 in the first optoelectronic module of the utility model;

[0017] Figure 4 It is a circuit connection diagram of chips U6-U7 in the second optoelectronic module of the utility model;

[0018] Figure 5 It is a circuit connection diagram of chips U8-U10 in the second optoelectronic module of the utility model;

[0019] Figure 6 It is a circuit connection diagram of the power module of the utility model;

[0020] Figure 7 It is the circuit connection diagram of the common interface JP2 of the utility model;

[0021] Figure 8 It is a circuit connection diagram of the indicator light module of the utility model;

[0022] Fig. 9 It is a circuit connection diagram of the interface J1 and the interface J2 of the utility model;

[0023] Fig.10 It is a schematic diagram of various signal interfaces of the control box of the utility model. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.

[0025] like Figure 1-10 As shown, the utility model provides an embedded motion control box based on the ARM Cortex-M3 core, including a microcontroller, a power module, a first photoelectric interface module and a second photoelectric interface module, the power module is respectively connected to the first photoelectric interface module and the second photoelectric interface module of the microcontroller, the microcontroller is connected to the photoelectric interface module, the first photoelectric interface module is connected to a 24V voltage, and outputs a 3.3V voltage to the microcontroller, the second photoelectric interface module is connected to the output end of the microcontroller, and the second photoelectric interface module converts the 3.3V voltage into a 24V voltage output.

[0026] As an embodiment of the present utility model, the model of the microcontroller is LPC1752.

[0027] As another embodiment of the utility model, the power supply module includes a three-terminal integrated voltage regulator V1, pin 1 of the three-terminal integrated voltage regulator V1 is connected to one end of the resistor R1, the other end of the resistor R1 is connected to a 24V voltage, one end of the resistor R2, the positive electrode of the capacitor C1 and one end of the capacitor C2 are all connected to pin 1 of the three-terminal integrated voltage regulator V1, the positive electrode of the capacitor C3 and one end of the capacitor C4 are all connected to pin 3 of the three-terminal integrated voltage regulator V1, and the other end of the resistor R2, the negative electrode of the capacitor C1, the other end of the capacitor C2, the negative electrode of the capacitor C3, the other end of the capacitor C4 and pin 2 of the three-terminal integrated voltage regulator V1 are all grounded.

[0028] As another embodiment of the utility model, pin 3 of the three-terminal integrated regulator V1 is connected to pin 2 of the common interface JP1, pin 1 of the common interface JP1 is connected to pin 5 of the interface J1, and pin 4 of the interface J1 outputs a 3.3V voltage.

[0029] As another embodiment of the utility model, the first optoelectronic interface includes a first optoelectronic chip, pins 1, 3, 5, and 7 of the first optoelectronic chip are connected to a 24V voltage, pins 2, 4, 6, and 8 of the first optoelectronic chip are connected to an external input signal, pins 10, 12, 14, and 16 of the first optoelectronic chip are connected to a 3.3V voltage and are connected to the microcontroller, and pins 9, 11, 13, and 15 of the first optoelectronic chip are all grounded.

[0030] As another embodiment of the utility model, the second optoelectronic interface includes a second optoelectronic chip, pins 1, 3, 5, and 7 of the second optoelectronic chip are connected to a 3.3V voltage, pins 2, 4, 6, and 8 of the second optoelectronic chip are connected to the microcontroller, pins 9, 11, 13, and 15 of the second optoelectronic chip are connected to an external output signal, and pins 10, 12, 14, and 16 of the second optoelectronic chip are connected to a 24V voltage.

[0031] As another embodiment of the present invention, the first optoelectronic chip and the second optoelectronic chip are of the model TLP521-4.

[0032] As another embodiment of the utility model, it also includes an indicator light module, which includes a light-emitting diode D1 and a resistor R83, one end of the resistor R83 is connected to a 24V voltage, the other end of the resistor R83 is connected to the positive electrode of the light-emitting diode D1, and the negative electrode of the light-emitting diode D1 is grounded.

[0033] The utility model provides an embedded motion control box based on an ARM Cortex-M3 core. The motion control box uses a 32-bit microcontroller LPC1752 with a second-generation ARM Cortex-M3 core as a control core unit, has a built-in 24V switching power supply, a 3.3V voltage regulator circuit, and a photoelectric isolation interface circuit. All electrical components are fixed on an iron shell base, and an I / O interface is connected to a peripheral servo motor driver or a stepper motor subdivision driver through a rubber socket terminal on an upper cover to realize a control function.

[0034] The embedded motion control box uses an embedded microcontroller as the control core, and modulates the PWM signal through the controller to control the servo motor (or stepper motor). The motion control box is low-cost, powerful, and small in size. It is suitable for occasions with high cost-effectiveness requirements and relatively low requirements for motion accuracy.

[0035] The embedded motion control box works as follows:

[0036] The embedded motion control box based on the microcontroller (LPC1752) of the second generation ARM Cortex-M3 core 32-bit sends high and low level signals and PWM signals through the embedded microcontroller, and converts the 3.3V output electrical signal into a 24V output electrical signal through the second photoelectric interface module to achieve communication with the servo motor driver or stepper subdivision driver to control the servo motor or stepper motor. The steering of the servo motor or stepper motor can be controlled by the change of high and low level signals; the speed and position of the servo motor or stepper motor can be controlled by modulating the cycle and number of PWM signals. Up to 4 servo motors or stepper motors can be controlled simultaneously.

[0037] The embedded motion control box can also send digital signals through the digital output port of the embedded microcontroller (LPC1752), and convert the 3.3V output electrical signal into a 24V output electrical signal through the second photoelectric interface module to control the cylinder or other electrical functional components. Up to 16 cylinders or other electrical functional components can be controlled simultaneously.

[0038] The embedded motion control box can also convert the 24V input electrical signal into a 3.3V input electrical signal through the first photoelectric interface module, and connect it to the digital input port of the embedded microcontroller (LPC1752) to read the sensor or other digital signals. Up to 16 sensors or other digital signals can be read simultaneously.

[0039] Figure 3 The specific circuit connection diagram of the first optoelectronic interface chip is shown. In this embodiment, five chips U1-U5 are proposed; Figure 4-5The specific circuit connection diagram of the second photoelectric interface chip is shown. In this embodiment, five chips U6-U10 are proposed, among which chip U10 can output PWM modulation signal. At the same time, the light emitting diode D1 is also set in the circuit to indicate the operating status of the motion control box.

[0040] Through practical verification, the embedded motion control box can achieve the expected functions, has good performance and high cost performance. It has been put into use in vocational training with good results.

[0041] The above contents are further detailed descriptions of the present invention in combination with specific preferred implementations, and the specific implementation of the present invention cannot be considered to be limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.

Claims

1. An embedded motion control box based on ARM Cortex-M3 core, characterized in that: It includes a microcontroller, a power module, a first photoelectric interface module and a second photoelectric interface module. The power module is respectively connected to the first photoelectric interface module and the second photoelectric interface module of the microcontroller. The microcontroller is connected to the photoelectric interface modules. The first photoelectric interface module is connected to a 24V voltage and outputs a 3.3V voltage to the microcontroller. The second photoelectric interface module is connected to the output end of the microcontroller. The second photoelectric interface module converts the 3.3V voltage into a 24V voltage output.

2. The embedded motion control box based on the ARM Cortex-M3 core according to claim 1, characterized in that: The model of the microcontroller is LPC1752.

3. The embedded motion control box based on the ARM Cortex-M3 core according to claim 1, characterized in that: The power supply module includes a three-terminal integrated voltage regulator V1, wherein pin 1 of the three-terminal integrated voltage regulator V1 is connected to one end of a resistor R1, the other end of the resistor R1 is connected to a 24V voltage, one end of the resistor R2, the positive electrode of the capacitor C1, and one end of the capacitor C2 are all connected to pin 1 of the three-terminal integrated voltage regulator V1, the positive electrode of the capacitor C3 and one end of the capacitor C4 are all connected to pin 3 of the three-terminal integrated voltage regulator V1, and the other end of the resistor R2, the negative electrode of the capacitor C1, the other end of the capacitor C2, the negative electrode of the capacitor C3, the other end of the capacitor C4, and pin 2 of the three-terminal integrated voltage regulator V1 are all grounded.

4. The embedded motion control box based on the ARM Cortex-M3 core according to claim 1, characterized in that: Pin 3 of the three-terminal integrated voltage regulator V1 is connected to pin 2 of the common interface JP1, pin 1 of the common interface JP1 is connected to pin 5 of the interface J1, and pin 4 of the interface J1 outputs a 3.3V voltage.

5. The embedded motion control box based on the ARM Cortex-M3 core according to claim 4, characterized in that: The first optoelectronic interface includes a first optoelectronic chip, pins 1, 3, 5, and 7 of the first optoelectronic chip are connected to a 24V voltage, pins 2, 4, 6, and 8 of the first optoelectronic chip are connected to an external input signal, pins 10, 12, 14, and 16 of the first optoelectronic chip are connected to a 3.3V voltage and are connected to the microcontroller, and pins 9, 11, 13, and 15 of the first optoelectronic chip are all grounded.

6. The embedded motion control box based on the ARM Cortex-M3 core according to claim 5, characterized in that: The second optoelectronic interface includes a second optoelectronic chip, pins 1, 3, 5, and 7 of the second optoelectronic chip are connected to a 3.3V voltage, pins 2, 4, 6, and 8 of the second optoelectronic chip are connected to the microcontroller, pins 9, 11, 13, and 15 of the second optoelectronic chip are connected to an external output signal, and pins 10, 12, 14, and 16 of the second optoelectronic chip are connected to a 24V voltage.

7. The embedded motion control box based on the ARM Cortex-M3 core according to claim 6, characterized in that: The first optoelectronic chip and the second optoelectronic chip are of TLP521-4 type.

8. The embedded motion control box based on the ARM Cortex-M3 core according to claim 1, characterized in that: It also includes an indicator light module, which includes a light emitting diode D1 and a resistor R83. One end of the resistor R83 is connected to a 24V voltage, the other end of the resistor R83 is connected to the positive electrode of the light emitting diode D1, and the negative electrode of the light emitting diode D1 is grounded.