Share this

Development of PC-based Open Multi-axis Motion Control System

2026-04-06 07:36:48 · · #1
The development of motion control technology is the driving force behind manufacturing automation and a key technology propelling a new industrial revolution. Motion controllers have evolved from those based on microcontrollers or microprocessors and those using ASICs (Application-Specific Integrated Circuits) as core processors, to open motion controllers based on PC buses and using DSPs and FPGAs as core processors. Today, with the rapid development of computer technology, motion control technology is undergoing a fundamental transformation, evolving from dedicated, closed-loop open-loop control to general-purpose, open, real-time, dynamic, fully closed-loop control. Open architectures give motion control systems better versatility, flexibility, applicability, and scalability. I. Open Motion Control Systems According to the IEEE definition, an open motion control system should provide the ability for applications running on various platforms from different vendors to be fully implemented on the system, interoperable with other system applications, and possessing a consistent user interface. Research on open motion control systems began in 1987, initiated by the United States. Currently, general-purpose motion controllers are mainly divided into three categories structurally: 1. Computer standard bus-based motion controllers: These controllers mostly use DSP or microcomputer chips as CPUs, capable of motion planning, high-speed real-time interpolation, servo filtering control, and servo driving. They feature standardized universal interfaces between the computer and external I/O. Their open function libraries allow users to develop application software on platforms such as DOS or Windows to form various control systems according to different needs. This type of motion controller is widely used. 2. Soft-type open motion controllers: These offer users maximum flexibility. Their motion control software is entirely installed in the computer, while the hardware is merely a standardized universal interface between the computer and servo drives and external I/O. Users can develop the required control functions using an open motion control kernel, supported by the Windows platform and other operating systems, to construct various types of high-performance motion control systems, thus providing users with more choices and flexibility. The characteristics of soft-type open motion control are relatively low development and manufacturing costs, providing developers with a more personalized development platform. 3. Embedded motion controllers: These controllers embed a computer into a computer controller, allowing them to operate independently. Communication between the motion controller and the computer relies on the computer bus, essentially making it a variant of the bus-based motion controller. For standard bus computer modules, this type of controller employs a more reliable bus connection method (using pin connectors), making it more suitable for industrial applications. In use, it connects to the upper-level computer or control panel using field network communication interfaces such as Industrial Ethernet, RS485, SERCOS, and PROFIBUS. Embedded motion controllers can also be configured with floppy disks and hard disks, and can even perform remote diagnostics via the Internet. II. PC + Motion Control Card Control Scheme Using a PC + motion control card as the upper-level control method fully utilizes computer resources and is suitable for machines and equipment with complex motion processes and trajectories, and high flexibility. From the user's perspective, the main differences between PC-based motion control cards lie in the hardware interface (types and performance of input/output signals) and the software interface (functionality of the motion control function library). Motion control cards are upper-level control units for stepper motors or digital servo motors based on various PC buses, and the bus types are also diverse. Due to the rapid advancements in computer motherboards, ISA slots are becoming increasingly scarce, making PCI bus motion control cards the current mainstream. The card's dedicated CPU and the PC's CPU form a master-slave dual-CPU control mode. The PC's CPU can focus on system management tasks such as human-machine interface, real-time monitoring, and command sending; the card's dedicated CPU handles all the details of motion control, including acceleration/deceleration calculations, travel control, and multi-axis interpolation, without occupying PC resources. The card also provides a powerful motion control software library, including a C language motion library and a Windows DLL dynamic link library, allowing users to solve complex motion control problems faster and more effectively. The motion control card adopts an open architecture, is easy to use, feature-rich, and highly reliable. When using the PCI bus, no jumper settings are required on the card; all resources are automatically configured, and all input and output signals are opto-isolated, improving the card's reliability and anti-interference capabilities. On the software side, a rich motion control function library is provided to meet different application requirements. Users only need to develop a human-machine interface according to the control system requirements and call the instruction functions in the control card's motion function library to develop a multi-axis motion control system that meets requirements and is cost-effective. The motion function library provides numerous motion functions for single-axis and multi-axis stepper or servo control, such as single-axis motion, multi-axis independent motion, and multi-axis interpolation motion. Additionally, to support the development of motion control systems, auxiliary functions are provided, such as interrupt handling, encoder feedback, backlash compensation, and speed changes during motion. Due to the open architecture and powerful, rich software functionality of the motion control card, the design cycle for secondary development is shortened, and development methods are increased for users. Its flexibility, modularity, and high performance advantages are fully utilized for different CNC equipment. III. Hardware Structure of the Open Multi-Axis Motion Control System The entire system is based on a "PC + motion control card" core, using the ADT850 motion control card and Panasonic digital AC servo drivers to form an open hardware structure. It is equipped with a rich and powerful motion function library and uses VC++ object-oriented programming technology to realize communication between the PC, motion control card, and servo drivers. Its structure is shown in Figure 1. [align=center]Figure 1. Block Diagram of the Two-Axis Motion System[/align] The PC is responsible for the management of the human-computer interface and the real-time monitoring of the control system, such as keyboard and mouse management, system status display, control command transmission, and monitoring of external I/O signals. Pulse signals control the number of steps the motor takes, and direction signals control the motor's forward and reverse rotation to achieve two-axis position control. The X-axis and Y-axis origin and limit detection are achieved through a set of mechanical switches. The origin detection switch generates the origin of the user's two-dimensional motion system coordinate system, and the limit detection switch ensures the working stroke limit of each axis. These status signals are sent to the motion control card's status register after passing through a logic level shaping circuit and an opto-isolation circuit, and are read out by the CPU at any time to achieve I/O status signal detection. In terms of hardware, the use of opto-isolation measures isolates the interference of peripherals on the internal digital system and effectively prevents damage to the computer system from external sudden events such as overvoltage and overcurrent, greatly improving the system's control accuracy and reliability. This system fully leverages the advantages of abundant PC software resources and high computing speed, while incorporating the features of CAD/CAM. After generating part drawings using modeling software, the CNC system converts them into machining G-code. The G-code instructions are analyzed and compared with the actual machine tool position to generate instantaneous speed. The board then interprets this speed into motion trajectory control functions. Finally, by calling the interpolation program segment in the motion function library, pulse and direction signals are output to control the semi-closed-loop position servo system, driving the worktable to achieve the desired dynamic characteristics and steady-state accuracy of the spatial trajectory path. IV. Software Development of a Multi-Axis Motion Control System Based on Visual C++ Visual C++ is a program development tool for the Windows environment. It is visual, object-oriented, and event-driven. It shields the complexity of programming in the Windows environment, making Windows application design simple, convenient, and fast. Using the dynamic link library (DLL) of the ADT850 motion control card, a motion control system under the Windows platform can be quickly developed. The ADT850 motion control card DLL is a standard Windows 32-bit DLL; the selected development tools should support standard 32-bit DLL calls in Windows. Software development for a PC-based multi-axis motion control system using a motion control card requires three files from the development library provided on the ADT850 motion control card's accompanying CD: a static library (ADT850.LIB), a header file (ADT850.H), and a file for Windows NT2000 (winio.sys). Functions in the dynamic library are declared in the header file ADT850.H, and users can directly call these functions. The ADT850 function library provides commonly used single-axis motion, multi-axis independent motion control, multi-axis interpolation motion control, interrupt functions, and more. Each ADT850 card can control up to four axes. When multiple axes need to be controlled, several cards can be inserted into the PC, and during programming, they are treated as a single unit. Axes on different cards can also be linked or interpolated with axes on the same card, thus enabling motion control of more than four axes. The number of ADT850 cards that can be used simultaneously on a computer depends on the number of PCI expansion slots. V. Conclusion The open multi-axis motion control system based on a "PC + motion control card" has been successfully applied to a high-precision XY coordinate plotter using a two-dimensional AC servo system developed by Nanjing University of Technology, achieving excellent control performance. Utilizing Visual C++ on the Windows platform for secondary development of the ADT850 motion function library allows for the rapid development of user interfaces and custom control systems, significantly reducing development time and costs.
Read next

CATDOLL 88CM Q Full Silicone Doll

Height: 88cm Silicone Weight: 14kg Shoulder Width: 25cm Bust/Waist/Hip: 49/45/51cm Oral Depth: N/A Vaginal Depth: 3-13c...

Articles 2026-02-22
CATDOLL Alisa Soft Silicone Head

CATDOLL Alisa Soft Silicone Head

Articles
2026-02-22
CATDOLL Laura Soft Silicone Head

CATDOLL Laura Soft Silicone Head

Articles
2026-02-22
CATDOLL 123CM Milana TPE

CATDOLL 123CM Milana TPE

Articles
2026-02-22