Using method of three-axis control card
Through a systematic method, the three-axis control system is constructed and the software functional modules are designed and implemented, which solves the problems of poor control effect and poor system stability in traditional methods, and efficient and precise three-axis control is achieved, which improves the stability and maintainability of the system.
Patent Information
- Application Number
- CN202510308005.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-14
- Publication Date
- 2025-06-17
AI Technical Summary
The use of traditional three-axis control cards lacks systematic guidance and specifications, resulting in poor control effects and poor system stability.
By combining the system architecture diagram, software architecture diagram, hardware structure diagram, software module structure diagram and software module design diagram and software function module design diagram, the overall framework of the three-axis control system, design the hierarchy of the software system, configure hardware connections, divide and implement software function modules, and design the specific functions and logic of each functional module in detail.
It realizes efficient and precise control of the three-axis control card, improves the stability and accuracy of the control system, reduces the complexity and maintenance costs of the system, and has good scalability and maintenance.
Smart Images

Figure CN120161797A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automatic control, and particularly to a method for using a three-axis control card. Background Art
[0002] With the continuous development of automation technology, three-axis control cards have been widely used in fields such as industrial robots, numerical control machine tools, and automated production lines. However, how to effectively use a three-axis control card to achieve precise motion control has always been a challenging problem. Traditional usage methods often rely on experience and practice, lacking systematic guidance and norms, resulting in poor control effects and poor system stability. Summary of the Invention
[0003] The main object of the present invention is to provide a method for using a three-axis control card, which can effectively solve the problems in the background art.
[0004] To achieve the above object, the technical solution adopted by the present invention is as follows:
[0005] A method for using a three-axis control card, which combines a system architecture diagram, a software architecture diagram, a hardware structure diagram, a software module structure diagram, and design diagrams of each functional module of the software to achieve efficient and precise control of the three-axis control card. The specific steps are as follows:
[0006] Step S1: According to the system architecture diagram, construct the overall framework of the three-axis control system, and clarify the connection relationship and signal transmission path between each component;
[0007] Step S2: Refer to the software architecture diagram and design and implement the hierarchical structure of the software system, including data flow, interface definition, and communication protocol;
[0008] Step S3: According to the hardware structure diagram, configure the physical connection and signal interface between the three-axis control card and peripheral devices;
[0009] Step S4: According to the software module structure diagram, divide and implement each functional module of the software system, including parameter setting, command editing, log management, alarm management, status management, start / stop control, automatic operation, manual operation, zeroing of each axis, control of laser and power head, and laser focusing;
[0010] Step S5: Use the design diagrams of each functional module of the software to detail the design and implement the specific functions and logics of each functional module to ensure that the various functions of the three-axis control card are correctly and efficiently executed. The design diagrams of each functional module of the software include a parameter configuration module design diagram, a command editing module design diagram, a log management module design diagram, an alarm management module design diagram, a status management module design diagram, and an automatic operation module design diagram;
[0011] Step S6: Through the above steps, the comprehensive configuration, programming, and debugging of the three-axis control card are achieved to ensure that the three-axis control system can operate stably and accurately according to the predetermined requirements.
[0012] Preferably, the system architecture diagram further includes a computer, an operation controller, a power supply, a connector, a driver, a motor, and a laser, corresponding to the control logic of the software system, the execution actions of the hardware devices, and the acquisition and processing of status feedback respectively.
[0013] Preferably, the software architecture diagram adopts a hierarchical design, including an application layer, a motion card function layer, a motion control card driver layer, a PCI bus layer, and a motion control card layer, which are responsible for the interaction of the user interface, the implementation of control algorithms, and the driving and control of hardware devices respectively.
[0014] Preferably, the hardware structure diagram details the electrical connection and signal transmission methods between the computer, the motion control card, the driver, the linear motor, the laser, and the power head, including input / output interfaces, communication protocols, and signal levels. The computer has a PCI interface slot and installs a 32-bit Windows operating system. The motion control card selects the motion control card of Googol, and this card can control the laser, with the model: GE-400-SG-LASER-PCI.
[0015] Preferably, the software module structure diagram divides the software system into ten mutually independent and collaborative functional modules. Each module is responsible for implementing specific control functions or algorithms, facilitating the modular development and maintenance of the software. They are: parameter setting, command editing, log management, alarm management, status management, start / stop control, automatic operation, manual operation, zeroing of each axis, control of the laser and the power head, laser focusing. The motion control card library functions use the dynamic link library provided by Googol Company and communicate with the control card through the motion control card driver. The motion control card driver uses the installation program provided by Googol Company. This driver can only be installed on a 32-bit Windows system.
[0016] Preferably, the design diagrams of each software functional module conduct a detailed design of each functional module. The software functional modules include a parameter configuration module, a command editing module, a log management module, an alarm management module, a status management module, a start / stop control module, an automatic operation module, a manual operation module, a zeroing module for each axis, a laser focusing module, and a control module for the laser and the power head, ensuring that each module can correctly and efficiently implement its predetermined function.
[0017] Preferably, the parameter configuration module in the software function module can configure the parameters of the control card. This module facilitates parameter management and system debugging. The command editing module edits a series of instructions to form an instruction sequence, providing instructions for the automatic operation module. The log management module records information such as the call time of each library function, function name, parameter values, return values, etc., and also records the alarm time and alarm type. This helps users troubleshoot problems and track the platform status. The alarm management module monitors the platform status. When there is an error, it stops the machine, gives an alarm, and writes a log. The start-stop control module detects the system status, decides whether to execute the running instruction, and performs a status switch after executing the command. The automatic operation module sequentially executes the instructions in the command list and decides the execution process based on the execution results. The manual execution module executes a single instruction and can be used for debugging and positioning. It can be used to test the circular interpolation function. The manual operation module opens the control card, initializes the parameters of the motion control card and axis parameters, and completes the function of finding the origin for each axis. The laser and power head control module controls the laser to complete the filter function and controls the power head to complete the punching machine function. The laser focusing module automatically finds the laser focal length.
[0018] Preferably, the status management module in the software function module has a stop state, a zeroing state, a standby state, an alarm state, a running state, and a pause state. The stop state is the initial state after power-on. At this time, zeroing has not been completed, the position is unknown, and positioning operations cannot be performed. The zeroing state is after the zeroing command is called and before the motor has completed zeroing. At this time, some alarms can be ignored and some commands cannot be executed. The standby state is after the zeroing operation is completed. At this time, function operations can be performed. The alarm state is when an error is detected. The machine stops with an alarm, and the state is the alarm state until the error is eliminated. The running state is in the standby state. When performing manual or automatic operation, it is in the running state until the command is completed. The pause state is in the running state. When there is no error, pressing the stop button stops the motor.
[0019] Compared with the prior art, the present invention has the following beneficial effects:
[0020] The method for using the three-axis control card of the present invention combines multiple drawings and design schemes, achieving efficient and precise control of the three-axis control card. This method improves the stability and accuracy of the control system, reduces the complexity and maintenance cost of the system. At the same time, this method also has good scalability and maintainability, facilitating subsequent upgrades and optimizations. Therefore, the present invention has broad application prospects and important practical value in the field of automatic control. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 It is a system architecture diagram of a method for using a three-axis control card of the present invention;
[0022] Figure 2 It is a software architecture diagram of a method for using a three-axis control card of the present invention;
[0023] Figure 3 This is the hardware structure diagram of the usage method of a three-axis control card of the present invention;
[0024] Figure 4 This is the software module structure diagram of the usage method of a three-axis control card of the present invention;
[0025] Figure 5 This is the design diagram of the software parameter configuration module of the usage method of a three-axis control card of the present invention;
[0026] Figure 6 This is the design diagram of the software command editing module of the usage method of a three-axis control card of the present invention;
[0027] Figure 7 This is the design diagram of the software log management module of the usage method of a three-axis control card of the present invention;
[0028] Figure 8 This is the design diagram of the software alarm management module of the usage method of a three-axis control card of the present invention;
[0029] Figure 9 This is the design diagram of the software status management module of the usage method of a three-axis control card of the present invention;
[0030] Figure 10 This is the design diagram of the software automatic operation module of the usage method of a three-axis control card of the present invention. Specific embodiments
[0031] To make the technical means, creative features, achieved purposes and effects of the present invention easy to understand, the present invention will be further described below in conjunction with specific embodiments.
[0032] As Figures 1-10 shown, a usage method of a three-axis control card, which combines the system architecture diagram, software architecture diagram, hardware structure diagram, software module structure diagram and design diagrams of each software function module, realizes the efficient and precise control of the three-axis control card, and specifically includes the following steps:
[0033] Step S1: According to the system architecture diagram, construct the overall framework of the three-axis control system, and clarify the connection relationship and signal transmission path between each component;
[0034] Step S2: Refer to the software architecture diagram, design and implement the hierarchical structure of the software system, including data flow, interface definition and communication protocol;
[0035] Step S3: According to the hardware structure diagram, configure the physical connection and signal interface between the three-axis control card and peripheral devices;
[0036] Step S4: According to the software module structure diagram, divide and implement each functional module of the software system, including parameter setting, command editing, log management, alarm management, status management, start / stop control, automatic operation, manual operation, homing of each axis, control of the laser and the power head, and laser focusing;
[0037] Step S5: Utilize the design diagrams of each functional module of the software to elaborate and implement the specific functions and logics of each functional module, ensuring that the various functions of the three-axis control card are executed correctly and efficiently. The design diagrams of each functional module of the software include the design diagram of the parameter configuration module, the design diagram of the command editing module, the design diagram of the log management module, the design diagram of the alarm management module, the design diagram of the status management module, and the design diagram of the automatic operation module;
[0038] Step S6: Through the above steps, achieve the comprehensive configuration, programming, and debugging of the three-axis control card, ensuring that the three-axis control system can operate stably and precisely according to the predetermined requirements.
[0039] Preferably, the system architecture diagram further includes a computer, an operation controller, a power supply, a connector, a driver, a motor, and a laser, corresponding to the control logic of the software system, the execution actions of the hardware devices, and the acquisition and processing of status feedback respectively;
[0040] The software architecture diagram adopts a layered design, including the application layer, the motion card function layer, the motion control card driver layer, the PCI bus layer, and the motion control card layer, which are responsible for the interaction of the user interface, the implementation of control algorithms, and the driving and control of hardware devices respectively; the hardware structure diagram details the electrical connection and signal transmission methods between the computer, the motion control card, the driver, the linear motor, the laser, and the power head, including input and output interfaces, communication protocols, signal levels, etc. The computer has a PCI interface slot and installs a 32-bit Windows operating system. The motion control card selects the motion control card of Googol, which can control the laser, and the model is: GE-400-SG-LASER-PCI; the software module structure diagram divides the software system into ten independent and cooperative functional modules. Each module is responsible for implementing specific control functions or algorithms, which is convenient for the modular development and maintenance of the software. They are: parameter setting, command editing, log management, alarm management, status management, start / stop control, automatic operation, manual operation, zeroing of each axis, control of the laser and the power head, laser focusing. The motion control card library functions use the dynamic link library provided by Googol, communicate with the motion control card through the motion control card driver, and the motion control card driver uses the installation program provided by Googol. This driver can only be installed on a 32-bit Windows system; the design diagrams of each software functional module conduct a detailed design of each functional module. The software functional modules include a parameter configuration module, a command editing module, a log management module, an alarm management module, a status management module, a start / stop control module, an automatic operation module, a manual operation module, a zeroing module for each axis, a laser focusing module, and a control module for the laser and the power head, ensuring that each module can correctly and efficiently implement its predetermined function; in the parameter configuration module of the software functional module, the parameters of the control card can be configured, which is convenient for parameter management and system debugging. The command editing module edits a series of instructions to form an instruction sequence and provides instructions for the automatic operation module. The log management module records information such as the call time, function name, parameter values, return values, etc. of each library function, and also records the alarm time and alarm type. It is convenient for users to troubleshoot problems and track the platform status. The alarm management module monitors the platform status. When there is an error, it stops, alarms, and writes logs. The start / stop control module detects the system status, decides whether to execute the operation instruction, and switches the status after executing the command. The automatic operation module sequentially executes the instructions in the command list and decides the execution process according to the execution results. The manual execution module executes a single instruction and can be used for debugging and positioning.It can be used to test the circular interpolation function. The manual operation module opens the control card, initializes the parameters of the motion control card and axis parameters, and completes the function of finding the origin for each axis. The laser and power head control module controls the laser to complete the filter function and controls the power head to complete the drilling machine function. The laser focusing module automatically finds the laser focal length. The status management module in the software function module has stop status, zero return status, standby status, alarm status, running status, and pause status. The stop status is the initial status after power-on. At this time, the zero return has not been completed, the position is unknown, and positioning operations cannot be performed. The zero return status is after the zero return command is called and before the motor completes zero return. At this time, some alarms can be ignored and some commands cannot be executed. The standby status is after the zero return operation is completed. At this time, function operations can be performed. The alarm status is when an error is detected, and the machine stops with an alarm. Before the error is eliminated, the status is the alarm status. The running status is in the standby status, when manual or automatic operation is performed, and before the command is completed, it is in the running status. The pause status is in the running status. When there is no error, pressing the stop key stops the motor.
[0041] It should be noted that the present invention is a method for using a three-axis control card. In specific implementation, users can gradually complete the configuration, programming, and debugging of the three-axis control card according to the drawings and design schemes provided by the present invention. Through continuous practice and optimization, users can master the method for using the three-axis control card and apply it to actual automation control projects. The method for using the three-axis control card combines various drawings and design schemes to achieve efficient and precise control of the three-axis control card. This method improves the stability and accuracy of the control system, reduces the complexity and maintenance cost of the system. At the same time, this method also has good scalability and maintainability, facilitating subsequent upgrades and optimizations. Therefore, the present invention has broad application prospects and important practical value in the field of automation control.
[0042] The above shows and describes the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. What is described in the above embodiments and the specification only illustrates the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention will have various changes and improvements, and these changes and improvements all fall within the scope of the present invention claimed. The scope of protection claimed by the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for using a three-axis control card, characterized in that: The method combines the system architecture diagram, software architecture diagram, hardware structure diagram, software module structure diagram and the design diagram of each functional module of the software to realize efficient and precise control of the three-axis control card, and specifically includes the following steps: Step S1: According to the system architecture diagram, the overall framework of the three-axis control system is constructed to clarify the connection relationship and signal transmission path between the components; Step S2: referring to the software architecture diagram, design and implement the hierarchical structure of the software system, including data flow, interface definition and communication protocol; Step S3: According to the hardware structure diagram, configure the physical connection and signal interface between the three-axis control card and the peripheral equipment; Step S4: According to the software module structure diagram, the various functional modules of the software system are divided and implemented, including parameter setting, command editing, log management, alarm management, status management, start and stop control, automatic operation, manual operation, zeroing of each axis, laser and power head control, and laser focusing; Step S5: using the design drawings of each functional module of the software, designing and implementing the specific functions and logic of each functional module in detail to ensure that the functions of the three-axis control card are correctly and efficiently executed, the design drawings of each functional module of the software including the design drawings of the parameter configuration module, the design drawings of the command editing module, the design drawings of the log management module, the design drawings of the alarm management module, the design drawings of the status management module and the design drawings of the automatic operation module; Step S6: Through the above steps, the three-axis control card is fully configured, programmed and debugged to ensure that the three-axis control system can run stably and accurately according to the predetermined requirements.
2. The method for using a three-axis control card according to claim 1, characterized in that: The system architecture diagram further includes a computer, an operation controller, a power supply, a connector, a driver, a motor and a laser, which respectively correspond to the control logic of the software system, the execution actions of the hardware device and the collection and processing of status feedback.
3. The method for using a three-axis control card according to claim 2, characterized in that: The software architecture diagram adopts a layered design, including an application layer, a motion card function layer, a motion control card driver layer, a PCI bus layer and a motion control card layer, which are respectively responsible for the interaction of the user interface, the implementation of the control algorithm, and the driving and control of the hardware devices.
4. The method for using a three-axis control card according to claim 3, characterized in that: The hardware structure diagram describes in detail the electrical connection and signal transmission method between the computer, motion control card, driver, linear motor, laser and power head, including input and output interfaces, communication protocols and signal levels, etc. The computer has a PCI interface slot and is installed with a 32-bit Windows operating system. The motion control card uses a Googol motion control card that can control the laser. The model is: GE-400-SG-LASER-PCI.
5. The method for using a three-axis control card according to claim 4, characterized in that: The software module structure diagram divides the software system into ten independent and cooperative functional modules. Each module is responsible for implementing a specific control function or algorithm, which is convenient for modular development and maintenance of the software. They are: parameter setting, command editing, log management, alarm management, status management, start and stop control, automatic operation, manual operation, zeroing of each axis, laser, power head control, laser focus, motion control card library function uses the dynamic link library provided by Googol, communicates with the control card through the motion control card driver, and the motion control card driver uses the installation program provided by Googol. This driver can only be installed on a 32-bit Windows system.
6. The method for using a three-axis control card according to claim 5, characterized in that: The design drawings of the functional modules of the software have made detailed designs for each functional module. The software functional modules include parameter configuration module, command editing module, log management module, alarm management module, status management module, start and stop control module, automatic operation module, manual operation module, axis zeroing module, laser focusing module, laser and power head control module, ensuring that each module can correctly and efficiently realize its intended function.
7. The method for using a three-axis control card according to claim 6, characterized in that: The parameter configuration module in the software function module can configure the control card parameters. This module is convenient for parameter management and system debugging. The command editing module edits a series of instructions to form an instruction sequence to provide instructions for the automatic operation module. The log management module records the call time, function name, parameter value, return value and other information of each library function, and also records the alarm time and alarm type. It is convenient for users to troubleshoot problems and track the platform status. The alarm management module monitors the platform status. When there is an error, it stops, alarms, and writes logs. The start-stop control module detects the system status and decides whether to execute the running instruction. After executing the command, the state is switched. The automatic operation module executes the instructions in the command list in sequence. According to the execution result, the execution process is determined. The manual execution module executes a single instruction and can be used for debugging and positioning. It can be used to test the arc interpolation function. The manual operation module opens the control card and initializes the motion control card parameters and axis parameters. Complete the origin finding function of each axis. The laser and power head control module controls the laser, completes the filter function, controls the power head, completes the punching machine function, and the laser focus module automatically finds the laser focal length.
8. The method for using a three-axis control card according to claim 7, characterized in that: The state management module in the software function module has a stop state, a zeroing state, a standby state, an alarm state, a running state and a pause state. The stop state is the initial state after power-on. At this time, zeroing has not been completed, the position is unknown, and positioning operations cannot be performed. The zeroing state is after the zeroing command is called and before the motor completes zeroing. At this time, some alarms can be ignored and some commands cannot be executed. The standby state is after the zeroing operation is completed, and functional operations can be performed at this time. The alarm state is when an error is detected and the alarm stops. Before the error is eliminated, the state is the alarm state. The running state is in the standby state, and manual or automatic operation is performed. Before the command is completed, it is in the running state. The pause state is in the running state. If no error occurs, press the stop button to stop the motor.