CN102540982B - Motion control card and motion control method - Google Patents

Motion control card and motion control method Download PDF

Info

Publication number
CN102540982B
CN102540982B CN201110457736.8A CN201110457736A CN102540982B CN 102540982 B CN102540982 B CN 102540982B CN 201110457736 A CN201110457736 A CN 201110457736A CN 102540982 B CN102540982 B CN 102540982B
Authority
CN
China
Prior art keywords
driver
module
host computer
motion control
miii
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110457736.8A
Other languages
Chinese (zh)
Other versions
CN102540982A (en
Inventor
姚守强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING PEITIAN TECHNOLOGY Co Ltd
Original Assignee
BEIJING PEITIAN TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING PEITIAN TECHNOLOGY Co Ltd filed Critical BEIJING PEITIAN TECHNOLOGY Co Ltd
Priority to CN201110457736.8A priority Critical patent/CN102540982B/en
Publication of CN102540982A publication Critical patent/CN102540982A/en
Application granted granted Critical
Publication of CN102540982B publication Critical patent/CN102540982B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Manipulator (AREA)
  • Numerical Control (AREA)

Abstract

The embodiment of the invention discloses a motion control card and a motion control method. The motion control card disclosed by the invention comprises a digital signal processor, an upper computer connecting module and an MIII bus module, wherein the upper computer connecting module is connected with the digital signal processor and an upper computer, and the MIII bus module is connected with the digital signal processor and a driver; and the digital signal processor obtains an analyzed motion control command from the upper computer through the upper computer connecting module and transmits the motion control command to the driver according to different states of the driver; or the digital signal processor receives the operating state information from the driver and transmits the operating state information to the upper computer; and the motion control card can be used for reducing the cost of a motion control system and increases the response speed and tracking accuracy of a robot.

Description

A kind of motion control card and motion control method
Technical field
The present invention relates to mechanical automation technical field, particularly relate to a kind of motion control card and motion control method.
Background technology
Motion control card is a kind of based on PC or Industrial PC, for the control module of various motion control occasions, and for example control to motions such as displacement, speed, acceleration.Motion control card adopts professional motion control chip or high speed digital signal processor (digital signal processor, DSP) as motion control core, to be used for greatly control step motor or servomotor conventionally.Usually, motion control card and PC form master slave control structure: the work of the aspect such as management and the real-time monitoring of control system of PC responsible official machine interactive interface, the management of for example keyboard and mouse, the demonstration of system state, movement locus planning, the transmission of steering order, monitoring of external signal etc.; Control card completes all details of motion control, comprises the processing, initial point of output, the automatic lifting speed of pulse and direction signal and detection of the signal such as spacing etc.
Industrial robot is towards the multi-joint manipulator of industrial circle or multivariant robot.Industrial robot is the installations that automatically perform work, is to lean on self power and control ability to realize a kind of machine of various functions.It can accept mankind commander, also can be according to the program operation of layout in advance.Existing industrial machine is to use motion control card to be connected with industrial computer per capita, and then teaching machine is connected with industrial computer again, and this connected mode has increased the link of industrial computer, makes holistic cost higher; And motion control card of the prior art had both needed control command to resolve conventionally, moved again the control algolithm of servomotor, thereby make motion control card load heavy, overall operation speed is slow, and mistake is processed not in time.
Summary of the invention
The technical matters that the present invention mainly solves is to provide a kind of motion control card, and the motion control method that uses this motion control card is also provided, and can reduce the cost of kinetic control system.
For solving the problems of the technologies described above, the technical solution used in the present invention is:
A kind of motion control card, is characterized in that, this motion control card comprises:
Digital signal processor, described digital signal processor comprises: Upper machine communication module, for receiving the control command after host computer is resolved, and sends to command process/state monitoring module by described control command; Command process/state monitoring module, for receive the control command after the parsing that host computer sends by Upper machine communication module in the mode of poll, according to the different conditions of driver, in the mode of interrupting, described control command is forwarded in each driver by MIII bus communication module; MIII bus communication module, the control command sending for receiving described command process/state monitoring module, and send to MIII bus driver module after described control command is encapsulated; MIII bus driver module, for the control command through the encapsulation of MIII bus communication module receiving is sent to MIII Physical layer, thereby makes described MIII Physical layer that described control command is sent to driver;
Host computer link block, for being connected with digital signal processor and host computer;
MIII bus module, for being connected with digital signal processor and driver;
Wherein, digital signal processor obtains the motion control commands through resolving by host computer link block from host computer, and according to the different conditions of driver, this motion control commands is forwarded to driver; Digital signal processor receives from the running state information of driver and is forwarded to host computer.
A kind of motion control method, is characterized in that, described method comprises:
The digital signal processor of motion control card receives the control command from host computer by host computer link block, and according to the different conditions of driver, described control command is forwarded in driver;
The digital signal processor of described motion control card receives the running state information from driver by MIII bus module, and is forwarded to described host computer;
Wherein, digital signal processor receives the control command from host computer by host computer link block, and the flow process this control command being forwarded in driver according to the different conditions of driver is specially:
Upper machine communication module receives the control command after host computer is resolved, and described control command is sent to command process/state monitoring module;
Command process/state monitoring module receives the control command after the parsing that host computer sends by Upper machine communication module in the mode of poll, according to the different conditions of driver, in the mode of interrupting, described control command is forwarded in each driver by MIII bus communication module;
MIII bus communication module receives the control command that described command process/state monitoring module sends, and sends to MIII bus driver module after described control command is encapsulated;
The control command through the encapsulation of MIII bus communication module receiving is sent to MIII Physical layer by MIII bus driver module, thereby make described MIII Physical layer that described control command is sent to driver.
The invention has the beneficial effects as follows: the situation that is different from prior art, motion control card in the present invention is directly connected by the host computer link block in this motion control card with host computer, and motion control card is connected by the MIII bus module in this motion control card with driver; Thereby be directly connected with host computer the intermediate equipment of having saved between motion control card and host computer thereby realize motion control card in total framework of kinetic control system, reduced the cost of kinetic control system.
Brief description of the drawings
Fig. 1 is the structured flowchart of motion control card embodiment of the present invention;
Fig. 2 is another structured flowchart of motion control card embodiment of the present invention;
Fig. 3 is the logic diagram of DSP in motion control card of the present invention
Fig. 4 is the structured flowchart of kinetic control system of the present invention;
Fig. 5 is another structured flowchart of kinetic control system of the present invention;
Fig. 6 is the data flow schematic diagram of motion control method of the present invention.
Embodiment
Consult Fig. 1, Fig. 2 and Fig. 3, the embodiment of motion control card of the present invention comprises:
As shown in Figure 1, the motion control card 10 in the present embodiment comprises:
Digital signal processor 101;
Host computer link block 102, for being connected with described digital signal processor and host computer;
MIII bus module 103, for being connected with described digital signal processor and driver;
Wherein, digital signal processor 101 obtains the motion control commands through resolving by host computer link block 102 from host computer, and according to the different conditions of driver, this motion control commands is forwarded to driver; Or digital signal processor 101 receives from the running state information of driver and this running state information is transmitted to host computer;
Host computer comprises teaching machine and/or industrial computer, and host computer link block 102 comprises USB functional module 1021 and/or PCI functional module 1022, as shown in Figure 2; USB functional module 1021, for being responsible for and being connected of teaching machine, completes the transmission from the order reception of teaching machine and the running state information of driver; In USB functional module 1021, can select CY7C68013A chip, it is connected by EMIFA interface and GPIO mouth with digital signal processor, and a USB interface is externally provided, and teaching machine can directly use this USB interface to be connected with motion control card 10; PCI functional module 1022, for being responsible for and being connected of industrial computer, completes the transmission from the order reception of industrial computer and the running state information of driver; In PCI functional module 1022, by the PCI/HPI interface of digital signal processor, provide external PCI connector through three pci bus buffer memorys, use this external PCI connector can be connected in the PCI slot of IPC; In the present embodiment, motion control card 10 provides the USB functional module 1021 and the PCI functional module 1022 that are connected with teaching machine and industrial computer respectively, in the time that reality connects, user can select teaching machine and industrial computer one of them be connected, or can select teaching machine to be all connected with this motion control card 10 with industrial computer, not limit herein;
Motion control card in the present embodiment taking digital signal processor 101 as core, for example, can be selected TMS320DM642 processor, does not limit herein;
MIII bus module 103 is for being responsible for and being connected of driver, and MIII bus module 103 comprises a Mechatrolink asic chip, an Ethernet PHY chip, two Magnetic Isolation electromagnetic isolation chips and two external connectors; Wherein Mechatrolink asic chip is MIII Communication specific IC, is responsible for the package of data link layer and unpacks, and further, can also substitute Mechatrolink asic chip by on-site programmable gate array FPGA; Ethernet PHY chip is responsible for data-switching to become the level of Physical layer to send out; Magnetic Isolation electromagnetic isolation chip is responsible for electromagnetic isolation; External connector is responsible for external interface; In connected mode, Mechatrolink asic chip is connected to EMIFA interface and the INT interrupt interface of digital signal processor, connect Ethernet PHY chip simultaneously, then provide two external connectors by two electromagnetic isolation chips, driver connects motion control card by these two external connectors;
Further, motion control card 10 in the present embodiment also comprises external memory area module 104, external memory area module 104 contains SDRAM and Flash, SDRAM is used for depositing order and the running state information of digital signal processor and IPC or teaching machine, and by the EMIFA interface of digital signal processor, SDRAM is mapped to CE0 address space; Flash is used for depositing firmware program, realizes self-starting function, and by the EMIFA interface of digital signal processor, Flash is mapped to CE1 address space;
Further, the motion control card 10 in the present embodiment also comprises replacement module 105, and replacement module 105 is for being responsible for the replacement to circuit, and replacement module 105 can be selected TPS386000 chip, is connected to the Reset replacement interface of digital signal processor;
Further, the motion control card 10 in the present embodiment also comprises power module 106, and power module 106 can be selected TPS54310 chip, provides power supply for being responsible for to whole motion control card, contains 1.2V, 1.4V, 1.8V, 3.3V and five kinds of voltages of 5V;
Motion control card 10 is forwarded to each driver for the control command of being responsible for host computer to send, thereby each driver can be responded the control command from host computer in time; Motion control card 10 is also transmitted to host computer for being responsible for by the running state information from each driver, to make host computer can show in time the state of each driver; The above-mentioned function of motion control card 10 mainly completes by digital signal processor 101, concrete:
Digital signal processor 101 comprises:
Upper machine communication module 1011, command process/state monitoring module 1012, MIII bus communication module 1013, MIII bus driver module 1014;
The flow process that the control command that digital signal processor 101 sends host computer is forwarded to each driver is concrete:
Upper machine communication module 1011, for realizing and the communication of host computer 20, receives the control command after host computer 20 is resolved, and this control command is sent to command process/state monitoring module 1012;
Command process/state monitoring module 1012 receives the control command after the parsing that host computer sends by Upper machine communication module 1011 in the mode of poll, according to the different conditions of driver, in the mode of interrupting, this control command is forwarded in each driver by MIII bus communication module 1013;
MIII bus communication module 1013 receives the control command that command process/state monitoring module 1012 sends, and sends to MIII bus driver module 1014 after this control command is encapsulated;
The control command encapsulating through MIII bus communication module 1013 receiving is sent to MIII Physical layer by MIII bus driver module 1014, thereby make MIII Physical layer that this control command is sent to driver, thereby driver is operated accordingly according to the control command receiving;
The flow process that the running state information that digital signal processor 101 sends driver is forwarded to host computer is concrete:
MIII bus driver module 1014 receives running state information the decapsulation that driver sends, then the running state information after decapsulation is sent to MIII bus communication module 1013;
MIII bus communication module 1013 receives the running state information of the driver that MIII bus driver module 1014 sends and resolves, then the running state information after resolving is sent to command process/state monitoring module 1012;
Command process/state monitoring module 1012 obtains the running state information from each driver of MIII bus communication module 1013 in the mode of interrupting, then running state information is sent to Upper machine communication module 1011;
Upper machine communication module 1011 receives the running state information of the driver that command process/state monitoring module 1012 sends, and this running state information is sent to host computer 20;
Further, digital signal processor 101 also comprises fault processing module 1015, in the time driver malfunction being detected, sends stop instruction initiatively to this driver, thereby make driver to motor power-off and stop the motion of robot, products for further is processed fault; In the time communication failure being detected, initiatively inside chip is resetted and reconnected, if do not connected, just report communication failure to host computer, products for further band hardware does Check processing;
In the present embodiment, motion control card is directly connected by the host computer link block in this motion control card with host computer, and motion control card is connected by the MIII bus module in this motion control card with driver; Thereby be directly connected with host computer the intermediate equipment of having saved between motion control card and host computer thereby realize motion control card in total framework of kinetic control system, reduced the cost of kinetic control system; Further, because it is mainly the position command that obtains each axle by interpolation algorithm that the control command of host computer is resolved, and the dominant frequency of digital signal controller in motion control card is lower, and arithmetic speed is slow, thereby directly caused the response speed of robot slow, tracking accuracy is low; And in the present embodiment, motion control card is mainly responsible for the transmission of data between host computer and driver, and the order of host computer is not resolved, allow dominant frequency is high, the host computer of fast operation resolves order, thereby greatly improved response speed and tracking accuracy.
Refer to Fig. 4, Fig. 5 and Fig. 6, the embodiment of motion control method of the present invention comprises:
301, the digital signal processor of motion control card receives the control command from host computer by host computer link block, or receives the running state information from driver by MIII bus module;
302, the digital signal processor of motion control card is forwarded to the control command of reception in driver according to the different conditions of driver, or the motion state information from driver receiving is transmitted to host computer;
Wherein, digital signal processor receives the control command from host computer by host computer link block, and the flow process this control command being forwarded in driver according to the different conditions of driver is specially:
Upper machine communication module receives the control command after host computer is resolved, and this control command is sent to command process/state monitoring module;
Command process/state monitoring module receives the control command after the parsing that host computer sends by Upper machine communication module in the mode of poll, according to the different conditions of driver, in the mode of interrupting, control command is forwarded in each driver by MIII bus communication module;
MIII bus communication module receives the control command that described command process/state monitoring module sends, and sends to MIII bus driver module after this control command is encapsulated;
The control command through the encapsulation of MIII bus communication module receiving is sent to MIII Physical layer by MIII bus driver module, thereby make described MIII Physical layer that described order is sent to driver;
Further, digital signal processor receives from the running state information of driver by MIII bus module, and the step that is forwarded to host computer is specially:
MIII bus driver module receives running state information the decapsulation that driver sends, then the running state information after decapsulation is sent to MIII bus communication module;
MIII bus communication module receives the running state information of the driver that described MIII bus driver module sends and resolves, then the running state information after resolving is sent to command process/state monitoring module;
Command process/state monitoring module obtains the running state information of each driver in the mode of interrupting, then this running state information is sent to Upper machine communication module;
Upper machine communication module receives the running state information of the driver of command process/state monitoring module transmission, and this running state information is sent to host computer;
As shown in Figure 5, motion control card 10 comprises: digital signal processor 101, the host computer link block 102 being connected with digital signal processor 101 respectively, MIII bus module 103, external memory area module 104 and replacement module 105 and power module 106; Wherein, host computer link block 102 is for being connected with host computer, and MIII bus module 103 is for being connected with driver, and what MIII bus module adopted is parallel bus;
As shown in Figure 6, further, host computer link block 102 comprises USB functional module 1021 and/or PCI functional module 1022; Host computer comprises teaching machine and/or industrial computer; Wherein, USB functional module 1021 is for connecting teaching machine, and PCI functional module 1022 is for connecting industrial computer;
Further, the motion control method providing in the present embodiment also comprises: in the time driver malfunction being detected, digital signal processor initiatively sends stop instruction to driver, thereby makes this driver to motor power-off and stop the motion of robot; In the time communication failure being detected, initiatively inside chip is resetted and reconnected;
In the motion control method of the present embodiment, host computer is directly connected with motion control card with driver, being different from teaching machine in prior art must be connected with motion controller by industrial computer, thereby can save the intermediate equipment industrial computer between motion control card and teaching machine, reduce the cost of kinetic control system; Further, because it is mainly the position command that obtains each axle by interpolation algorithm that the control command of host computer is resolved, and the dominant frequency of digital signal controller in motion control card is lower, and arithmetic speed is slow, thereby directly caused the response speed of robot slow, tracking accuracy is low; And in the present embodiment, motion control card is mainly responsible for the transmission of data between host computer and driver, and the order of host computer is not resolved, allow dominant frequency is high, the host computer of fast operation, teaching machine or industrial computer are resolved order, thereby have greatly improved response speed and tracking accuracy.
Refer to Fig. 4 and Fig. 5, the embodiment of kinetic control system of the present invention is concrete:
As shown in Figure 4, the kinetic control system in the present embodiment comprises:
Motion control card 10, host computer 20 and driver 30; Wherein, host computer 20 is directly connected with motion control card 10 respectively with driver 30; Concrete:
Motion control card 10 comprises digital signal processor 101, host computer link block 102, MIII bus module 103, external memory area module 104 and the replacement module 105 and the power module 106 that are connected with digital signal processor 101 respectively; Wherein, host computer link block 102 is connected with host computer 20, and MIII bus module 103 is connected with driver 30, and what MIII bus module adopted is parallel bus; MIII bus module 103 can be connected with a driver 30, also can be connected with multiple drivers 30, does not limit herein;
Data communication between motion control card 10, host computer 20 and driver 30 threes relates generally to the communication of PC control order and the communication of driver running state information;
Control command communication between motion control card 10, host computer 20 and driver 30 threes is concrete:
Host computer 20 obtains user's control command and this control command is resolved, then the control command after resolving is sent to motion control card 10;
Motion control card 10 receives after the control command that host computer 20 sends, and control command is transmitted to driver 30;
Driver 30 receives control command and carries out this control command;
Wherein, motion control card 10 receives after the control command that host computer 20 sends, the step that control command is transmitted to driver 30 mainly completes by digital signal processor 101, digital signal processor 101 comprises Upper machine communication module 1011, command process/state monitoring module 1012, MIII bus communication module 1013 and MIII bus driver module 1014; Concrete:
Upper machine communication module 1011, for realizing and the communication of host computer 20, receives the control command after host computer 20 is resolved, and this control command is sent to command process/state monitoring module 1012;
Command process/state monitoring module 1012 receives the control command after the parsing that host computer 20 sends by Upper machine communication module 1011 in the mode of poll, according to the different conditions of driver, in the mode of interrupting, this control command is forwarded in each driver 30 by MIII bus communication module 1013;
MIII bus communication module 1013 receives the control command that command process/state monitoring module 1012 sends, and sends to MIII bus driver module 1014 after this control command is encapsulated;
The control command encapsulating through MIII bus communication module 1013 receiving is sent to MIII Physical layer by MIII bus driver module 1014, thereby make MIII Physical layer that this control command is sent to driver 30, thereby driver is operated accordingly according to the control command receiving;
The communication of the running state information of the driver between motion control card 10, host computer 20 and driver 30 threes is concrete:
MIII bus driver module 1014 receives running state information the decapsulation that driver sends, then the running state information after decapsulation is sent to MIII bus communication module 1013;
MIII bus communication module 1013 receives the running state information of the driver that MIII bus driver module 1014 sends and resolves, then the running state information after resolving is sent to command process/state monitoring module 1012;
Command process/state monitoring module 1012 obtains the running state information from each driver of MIII bus communication module 1013 in the mode of interrupting, then running state information is sent to Upper machine communication module 1011;
Upper machine communication module 1011 receives the running state information of the driver that command process/state monitoring module 1012 sends, and this running state information is sent to host computer 20;
Further, digital signal processor 101 also comprises fault processing module 1015, in the time driver malfunction being detected, sends stop instruction initiatively to this driver, thereby make driver to motor power-off and stop the motion of robot, products for further is processed fault; In the time communication failure being detected, initiatively inside chip is resetted and reconnected, if do not connected, just report communication failure to host computer, products for further band hardware does Check processing;
In the present embodiment, host computer 20 comprises teaching machine 201 and industrial computer 202, and host computer link block 102 comprises USB functional module 1021 and PCI functional module 1022, as shown in Figure 5; USB functional module 1021, for being responsible for and being connected of teaching machine, completes the transmission from the order reception of teaching machine and the running state information of driver; In USB functional module 1021, can select CY7C68013A chip, it is connected by EMIFA interface and GPIO mouth with digital signal processor 101, and a USB interface is externally provided, and teaching machine can directly use this USB interface to be connected with motion control card 10; PCI functional module 1022, for being responsible for and being connected of industrial computer, completes the transmission from the order reception of industrial computer and the running state information of driver; In PCI functional module 1022, by the PCI/HPI interface of digital signal processor, provide external PCI connector through three pci bus buffer memorys, use this external PCI connector can be connected in the PCI slot of IPC; In the present embodiment, motion control card 10 provides the USB functional module 1021 and the PCI functional module 1022 that are connected with teaching machine 201 and industrial computer 202 respectively, in the time that reality connects, user can select teaching machine and industrial computer one of them be connected, or can select teaching machine to be all connected with this motion control card 10 with industrial computer, not limit herein; And in the time that user selects teaching machine to be connected with this motion control card 10 with industrial computer, preferentially process the communication between motion control card 10 and driver 30 by teaching machine 201, or also can preferentially be processed the communication between motion control card 10 and driver 30 by industrial computer 202, not limit herein;
In the kinetic control system of the present embodiment, host computer is directly connected with motion control card with driver, being different from teaching machine in prior art must be connected with motion controller by industrial computer, thereby can save the intermediate equipment industrial computer between motion control card and teaching machine, reduce the cost of kinetic control system; Further, because it is mainly the position command that obtains each axle by interpolation algorithm that the control command of host computer is resolved, and the dominant frequency of digital signal controller in motion control card is lower, and arithmetic speed is slow, thereby directly caused the response speed of robot slow, tracking accuracy is low; And in the present embodiment, motion control card is mainly responsible for the transmission of data between host computer and driver, and the order of host computer is not resolved, allow dominant frequency is high, the host computer of fast operation, teaching machine or industrial computer are resolved order, thereby have greatly improved response speed and tracking accuracy.
The foregoing is only embodiments of the invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes instructions of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (8)

1. a motion control card, is characterized in that, described motion control card comprises:
Digital signal processor, described digital signal processor comprises: Upper machine communication module, for receiving the control command after host computer is resolved, and sends to command process/state monitoring module by described control command; Command process/state monitoring module, for receive the control command after the parsing that host computer sends by Upper machine communication module in the mode of poll, according to the different conditions of driver, in the mode of interrupting, described control command is forwarded in each driver by MIII bus communication module; MIII bus communication module, the control command sending for receiving described command process/state monitoring module, and send to MIII bus driver module after described control command is encapsulated; MIII bus driver module, for the control command through the encapsulation of MIII bus communication module receiving is sent to MIII Physical layer, thereby makes described MIII Physical layer that described control command is sent to driver;
Host computer link block, for being connected with described digital signal processor and host computer;
MIII bus module, for being connected with described digital signal processor and driver;
Wherein, described digital signal processor obtains the motion control commands through resolving by host computer link block from described host computer, and according to the different conditions of driver, described motion control commands is forwarded to described driver; Described digital signal processor receives from the running state information of driver and is forwarded to described host computer.
2. motion control card according to claim 1, is characterized in that, described host computer link block comprises USB functional module and/or PCI functional module; Described host computer comprises teaching machine and/or industrial computer; Described USB functional module is used for connecting described teaching machine, and described PCI functional module is used for connecting described industrial computer.
3. motion control card according to claim 1, is characterized in that,
Described Upper machine communication module is also for receiving the running state information of the driver that described command process/state monitoring module sends, and described running state information is sent to host computer;
Described command process/state monitoring module also, for obtaining the running state information from each driver of MIII bus communication module in the mode of interrupting, then sends to described Upper machine communication module by described running state information;
Described MIII bus communication module is also for receiving the running state information of the driver that described MIII bus driver module sends and resolving, then the running state information after resolving is sent to described command process/state monitoring module;
Running state information decapsulation that described MIII bus driver module also sends for receiving driver, then the running state information after decapsulation is sent to MIII bus communication module.
4. motion control card according to claim 1, is characterized in that, described digital signal processor also comprises:
Fault processing module, in the time driver malfunction being detected, sends stop instruction initiatively to described driver, thereby makes described driver to motor power-off and stop the motion of robot; In the time communication failure being detected, initiatively inside chip is resetted and reconnected.
5. a motion control method, is characterized in that, described method comprises:
The digital signal processor of motion control card receives the control command from host computer by host computer link block, and according to the different conditions of driver, described control command is forwarded in driver;
The digital signal processor of described motion control card receives the running state information from driver by MIII bus module, and is forwarded to described host computer;
Wherein, described digital signal processor receives the control command from host computer by host computer link block, and the flow process this control command being forwarded in driver according to the different conditions of driver is specially:
Upper machine communication module receives the control command after host computer is resolved, and described control command is sent to command process/state monitoring module;
Command process/state monitoring module receives the control command after the parsing that host computer sends by Upper machine communication module in the mode of poll, according to the different conditions of driver, in the mode of interrupting, described control command is forwarded in each driver by MIII bus communication module;
MIII bus communication module receives the control command that described command process/state monitoring module sends, and sends to MIII bus driver module after described control command is encapsulated;
The control command through the encapsulation of MIII bus communication module receiving is sent to MIII Physical layer by MIII bus driver module, thereby make described MIII Physical layer that described control command is sent to driver.
6. motion control method according to claim 5, is characterized in that, described host computer link block comprises USB functional module and/or PCI functional module; Described host computer comprises teaching machine and/or industrial computer; Described USB functional module is used for connecting described teaching machine, and described PCI functional module is used for connecting described industrial computer.
7. motion control method according to claim 5, is characterized in that, described digital signal processor receives the running state information from driver by MIII bus module, and is forwarded to described host computer, is specially:
MIII bus driver module receives running state information the decapsulation that driver sends, then the running state information after decapsulation is sent to MIII bus communication module;
MIII bus communication module receives the running state information of the driver that described MIII bus driver module sends and resolves, then the running state information after resolving is sent to described command process/state monitoring module;
Command process/state monitoring module obtains the running state information of each driver in the mode of interrupting, more described running state information is sent to described Upper machine communication module;
Upper machine communication module receives the running state information of the driver of described command process/state monitoring module transmission, and described running state information is sent to host computer.
8. motion control method according to claim 5, it is characterized in that, described motion control method also comprises: in the time driver malfunction being detected, digital signal processor sends stop instruction initiatively to described driver, thereby makes described driver to motor power-off and stop the motion of robot; In the time communication failure being detected, initiatively inside chip is resetted and reconnected.
CN201110457736.8A 2011-12-30 2011-12-30 Motion control card and motion control method Active CN102540982B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110457736.8A CN102540982B (en) 2011-12-30 2011-12-30 Motion control card and motion control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110457736.8A CN102540982B (en) 2011-12-30 2011-12-30 Motion control card and motion control method

Publications (2)

Publication Number Publication Date
CN102540982A CN102540982A (en) 2012-07-04
CN102540982B true CN102540982B (en) 2014-12-10

Family

ID=46348075

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110457736.8A Active CN102540982B (en) 2011-12-30 2011-12-30 Motion control card and motion control method

Country Status (1)

Country Link
CN (1) CN102540982B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103273489B (en) * 2013-05-10 2015-10-07 上海大学 Based on robot control system and the method for principal and subordinate's remote operating mechanical arm
CN103365228B (en) * 2013-07-05 2016-03-02 华南理工大学 A kind of motion controller time-sharing control system
CN103645730B (en) * 2013-12-09 2016-01-13 成都乐创自动化技术股份有限公司 A kind of motion control card with self-checking function and detection method
CN104683335A (en) * 2015-02-11 2015-06-03 北京配天技术有限公司 Modbus-Mechatrolink III protocol conversion device and protocol conversion method thereof
CN104808591A (en) * 2015-02-27 2015-07-29 张锐 Robot system for glass fiber pulling and control method
WO2016142999A1 (en) * 2015-03-06 2016-09-15 富士機械製造株式会社 Multiplex communication system and work machine
EP3344422B1 (en) * 2015-09-01 2020-11-04 Berkshire Grey, Inc. Systems and methods for providing dynamic robotic control systems
CN108646649A (en) * 2018-07-31 2018-10-12 深圳市山龙智控有限公司 A kind of closed loop control method and closed-loop control device
CN109542082B (en) * 2018-11-15 2020-10-16 中铁第四勘察设计院集团有限公司 Train water supply robot fault-tolerant control system and method
CN113534746B (en) * 2020-04-21 2024-06-21 国奥科技(深圳)有限公司 Motion control card based on 5G communication, control method and drive control system thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101261512A (en) * 2008-04-17 2008-09-10 上海交通大学 Embedded movement control card based on ARM
CN101266482A (en) * 2008-05-08 2008-09-17 上海交通大学 Four-axis movement control card based on singlechip
CN101738987A (en) * 2009-12-14 2010-06-16 上海交通大学 Five-axis motion control card

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101261512A (en) * 2008-04-17 2008-09-10 上海交通大学 Embedded movement control card based on ARM
CN101266482A (en) * 2008-05-08 2008-09-17 上海交通大学 Four-axis movement control card based on singlechip
CN101738987A (en) * 2009-12-14 2010-06-16 上海交通大学 Five-axis motion control card

Also Published As

Publication number Publication date
CN102540982A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
CN102540982B (en) Motion control card and motion control method
CN103293995B (en) Based on the fieldbus communications module of microcontroller
CN103984275A (en) FPGA (Field Programmable Gate Array) based general industrial movement control system and control method based on movement control system
CN202372834U (en) Embedded numerical control system with dual-core central processing unit (CPU)
CN103490695A (en) Controller applied to multiphase motor speed adjusting system
CN102096479B (en) SMBUS-based KVM switch with local and remote functions
WO2018223253A1 (en) Motion control card, motion control system, robot system, and numerical control machine tool
CN102637453A (en) Phase change memory including serial input/output interface
CN104834260A (en) Double-channel CAN bus controller based on frequency conversion control and double-CAN arbitration method
CN101876825A (en) Human-computer interface device of small PLC
CN103901814A (en) Multi-shaft motion numerical control system
CN101763324B (en) Method for realizing equipment simulating and device thereof
CN203250190U (en) Controller of industrial robot
CN104932385A (en) Multi-axis control system and method for wave simulation
CN105682864A (en) Control card and robot
US20240281050A1 (en) Avs system, method and apparatus, and device and storage medium
CN201749350U (en) Human-machine interface device for miniature PLC
CN107423182A (en) One kind simulation USB hot drawing plug devices
CN103605427B (en) A kind of free drive based on Intelligent flat is dynamic quickly responds input equipment
WO2021027009A1 (en) Combined drive and control machine, and robot drive and control system
CN202093347U (en) Interface module for EtherCAT bus numerical control system
CN204408370U (en) A kind of CAN network monitor diagnostic system
CN204790504U (en) Based on embedded AC servo controlling means of CPCI bus
CN202486574U (en) Five-axis linkage motion control system
CN203745831U (en) Analog input controller used for Internet of things

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing City, Haidian District information road, building 18, No. 7, digital media building, room two, Room 201

Applicant after: BEIJING PEITIAN TECHNOLOGY CO., LTD.

Address before: 100085 Beijing City, Haidian District information road, building 18, No. 7, digital media building, room two, Room 201

Applicant before: Beijing A&E Precision Machinery Co. Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: BEIJING A+E PRECISION MACHINERY CO. LTD. TO: BEIJING PEITIAN TECHNOLOGY CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20120704

Assignee: Anhui SCBD Robot Technology Co Ltd

Assignor: BEIJING PEITIAN TECHNOLOGY CO., LTD.

Contract record no.: 2016990000487

Denomination of invention: Motion control card and motion control method

Granted publication date: 20141210

License type: Exclusive License

Record date: 20161125

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model