CN104238420A - Servosystem high-speed data interactive communication unit based on USB - Google Patents
Servosystem high-speed data interactive communication unit based on USB Download PDFInfo
- Publication number
- CN104238420A CN104238420A CN201410470162.1A CN201410470162A CN104238420A CN 104238420 A CN104238420 A CN 104238420A CN 201410470162 A CN201410470162 A CN 201410470162A CN 104238420 A CN104238420 A CN 104238420A
- Authority
- CN
- China
- Prior art keywords
- data
- input
- fpga
- read
- usb
- 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.)
- Pending
Links
- 238000004891 communication Methods 0.000 title claims abstract description 20
- 230000002452 interceptive effect Effects 0.000 title 1
- 230000003993 interaction Effects 0.000 claims abstract description 15
- 230000001360 synchronised effect Effects 0.000 claims abstract description 14
- 238000000034 method Methods 0.000 claims description 8
- 238000009432 framing Methods 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 abstract description 17
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000008092 positive effect Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Landscapes
- Information Transfer Systems (AREA)
Abstract
本发明涉及一种基于USB的伺服系统高速数据交互的通信单元。其技术方案是:所述上位机(1)的COM端与USB接口模块(2)的输入输出端2a连接;USB接口模块(2)的数据端和控制端2b与FPGA(11)的数据端和控制端11b连接,FPGA(11)的数据总线和地址总线与DSP控制器(8)的数据总线和地址总线对应连接;DSP控制器(8)的PWM输出端与功率驱动模块(10)的PWM输入端连接,永磁同步电机(9)的两路电流反馈端与DSP控制器(8)的输入端8c、8d对应连接,永磁同步电机(9)的位置反馈端与DSP控制器(8)的输入端8b连接;功率驱动模块(10)的输出端与永磁同步电机(9)的输入端连接。本发明具有结构简单、传输速率高、传输稳定、使用方便的特点。
The invention relates to a communication unit for high-speed data interaction of a USB-based servo system. Its technical scheme is: the COM end of described upper computer (1) is connected with the input and output end 2a of USB interface module (2); the data end of USB interface module (2) and control end 2b and the data end of FPGA (11) Connect with control end 11b, the data bus of FPGA (11) and the address bus are correspondingly connected with the data bus of DSP controller (8) and the address bus; The PWM input terminal is connected, and the two current feedback terminals of the permanent magnet synchronous motor (9) are correspondingly connected with the input terminals 8c and 8d of the DSP controller (8), and the position feedback terminal of the permanent magnet synchronous motor (9) is connected with the DSP controller ( 8) is connected to the input end 8b; the output end of the power drive module (10) is connected to the input end of the permanent magnet synchronous motor (9). The invention has the characteristics of simple structure, high transmission rate, stable transmission and convenient use.
Description
技术领域 technical field
本发明属于伺服系统高速数据交互的通信单元技术领域。尤其涉及一种基于USB的伺服系统高速数据交互的通信单元。 The present invention belongs to the technical field of communication units for high-speed data interaction in servo systems. In particular, it relates to a communication unit for high-speed data interaction of a USB-based servo system.
背景技术 Background technique
以高速、高精为目标的伺服系统,在激光加工、机器人、高精度机床等高科技领域中得到广泛的应用。随着伺服系统的控制算法越来越复杂,伺服控制效果很大程度上由算法的若干相关参数决定,伺服系统运行过程中各个状态参量,如位置、速度、误差等都是获得修改算法参数的基本依据。在研发过程中,为了对伺服系统的运行状态有更深入、更方便的认识,需要采用上位机实时监测并显示伺服系统的运行状态。伺服系统的运动状态参量复杂且数据传输量大,因此伺服系统和上位机进行数据交互时对数据的传输速率要求较高。 Servo systems aiming at high speed and high precision are widely used in high-tech fields such as laser processing, robots, and high-precision machine tools. As the control algorithm of the servo system becomes more and more complex, the servo control effect is largely determined by several related parameters of the algorithm. During the operation of the servo system, various state parameters, such as position, speed, error, etc., are obtained by modifying the algorithm parameters. basic basis. In the research and development process, in order to have a deeper and more convenient understanding of the operating status of the servo system, it is necessary to use a host computer to monitor and display the operating status of the servo system in real time. The motion state parameters of the servo system are complex and the amount of data transmission is large, so the data transmission rate is required to be high when the servo system and the host computer perform data interaction.
目前,国内使用的伺服系统与上位机通信的主要方式有以下几种:串口通信方式,该方式结构简单,但数据传输速率低且稳定性差,传输数据不可靠;光纤通信,该方式传输速率高且传输稳定性较好,但是成本较高,结构复杂,且不便于与常规PC电脑进行数据通信。 At present, the main methods of communication between the servo system and the host computer used in China are as follows: serial port communication, which has a simple structure, but the data transmission rate is low and the stability is poor, and the transmitted data is unreliable; optical fiber communication, the transmission rate is high And the transmission stability is good, but the cost is high, the structure is complicated, and it is not convenient to carry out data communication with conventional PC computers.
发明内容 Contents of the invention
本发明旨在克服现有技术存在的缺陷,目的是提供一种使用方便、传输稳定和传输速率高的基于USB的伺服系统高速数据交互的通信单元。 The present invention aims to overcome the defects of the prior art, and aims to provide a communication unit for high-speed data interaction of a servo system based on USB, which is convenient to use, stable in transmission and high in transmission rate.
为实现上述目的,本发明采用的技术方案是:所述通信单元包括:上位机、USB接口模块、键盘及显示、I/O接口、现场总线接口、脉冲输入接口、模拟量接口、DSP控制器、FPGA、故障检测模块、功率驱动模块和永磁同步电机。 In order to achieve the above object, the technical solution adopted in the present invention is: the communication unit includes: a host computer, a USB interface module, a keyboard and a display, an I/O interface, a field bus interface, a pulse input interface, an analog interface, and a DSP controller , FPGA, fault detection module, power drive module and permanent magnet synchronous motor.
所述上位机的COM端与USB接口模块的输入输出端2a连接。USB接口模块的数据端和控制端2b与FPGA的数据端和控制端11b连接,键盘及显示的输入输出端3a与FPGA的控制端11c连接,I/O接口的输入输出端4a与FPGA的控制端11d连接,现场总线接口的输入输出端5a与FPGA的控制端11e连接,脉冲输入接口的输入输出端6a与FPGA的控制端11f连接,故障检测模块的输出端12a与FPGA的输入端11a连接,FPGA的数据总线和地址总线与DSP控制器的数据总线和地址总线对应连接。模拟量接口的输入输出端7a与DSP控制器的输入输出口8a连接,DSP控制器的PWM输出端与功率驱动模块的PWM输入端连接,永磁同步电机的两路电流反馈端与DSP控制器的输入端8c、8d对应连接,永磁同步电机的位置反馈端与DSP控制器的输入端8b连接;功率驱动模块的输出端与永磁同步电机的输入端连接。 The COM terminal of the host computer is connected to the input and output terminal 2a of the USB interface module. The data end of the USB interface module and the control end 2b are connected with the data end and the control end 11b of the FPGA, the input and output ends 3a of the keyboard and the display are connected with the control end 11c of the FPGA, and the input and output ends 4a of the I/O interface are connected with the control end of the FPGA. Terminal 11d is connected, the input and output terminal 5a of the fieldbus interface is connected with the control terminal 11e of FPGA, the input and output terminal 6a of the pulse input interface is connected with the control terminal 11f of FPGA, and the output terminal 12a of the fault detection module is connected with the input terminal 11a of FPGA , the data bus and the address bus of the FPGA are correspondingly connected to the data bus and the address bus of the DSP controller. The input and output terminals 7a of the analog interface are connected with the input and output ports 8a of the DSP controller, the PWM output terminals of the DSP controller are connected with the PWM input terminals of the power drive module, and the two current feedback terminals of the permanent magnet synchronous motor are connected with the DSP controller The input terminals 8c and 8d are connected correspondingly, the position feedback terminal of the permanent magnet synchronous motor is connected with the input terminal 8b of the DSP controller; the output terminal of the power drive module is connected with the input terminal of the permanent magnet synchronous motor.
上位机装有读写USB接口软件,FPGA写有USB接口的读写逻辑时序控制软件,FPGA写有对采集数据组帧操作软件。 The host computer is equipped with read-write USB interface software, FPGA is written with USB interface read-write logic timing control software, and FPGA is written with acquisition data framing operation software.
所述的USB接口模块由USB接口和USB控制芯片FT245RL组成,USB控制芯片FT245RL的引脚USBDM、引脚USBDP与USB接口的引脚UD-和引脚UD+对应连接。 The USB interface module is composed of a USB interface and a USB control chip FT245RL, and the pins USBDM and USBDP of the USB control chip FT245RL are correspondingly connected with the pins UD- and UD+ of the USB interface.
上位机的COM端与USB接口的输入输出端2a连接,USB控制芯片FT245RL的数据信号引脚D0-D7、写控制信号输入引脚WR、读控制信号输入引脚RD、满信号引脚TXE和空信号引脚RXF依次与FPGA的数据输入输出端口D0-D7、写控制引脚WR、读控制引脚RD、满信号输入引脚TXE和空信号输入引脚RXF对应连接。 The COM end of the host computer is connected to the input and output end 2a of the USB interface, the data signal pins D0-D7 of the USB control chip FT245RL, the write control signal input pin WR, the read control signal input pin RD, the full signal pin TXE and The empty signal pin RXF is correspondingly connected with the data input and output ports D0-D7 of the FPGA, the write control pin WR, the read control pin RD, the full signal input pin TXE and the empty signal input pin RXF in sequence.
所述的读写USB接口软件的主流程是: The main process of the described read-write USB interface software is:
S-1、获取USB接口的端口号; S-1. Obtain the port number of the USB interface;
S-2、USB接口使能; S-2, enable the USB interface;
S-3、判断读数据或写数据,若为读数据,进入S-4,否则,进入S-7; S-3. Judging whether to read data or write data, if it is read data, go to S-4, otherwise, go to S-7;
S-4、上位机读取USB接口的数据,判断一帧数据是否读取完成,若一帧数据读取完成,进入S-5,否则,重新执行S-4; S-4. The host computer reads the data of the USB interface, and judges whether a frame of data has been read. If a frame of data is read, enter S-5. Otherwise, re-execute S-4;
S-5、上位机接收完一帧数据后,对接收到的数据进行解析和缓存; S-5. After the upper computer receives a frame of data, it parses and caches the received data;
S-6、上位机判断USB接口的数据是否全部读取完成,若数据全部读取完成,进入S-8,否则返回S-4; S-6. The upper computer judges whether all the data of the USB interface has been read, if all the data has been read, enter S-8, otherwise return to S-4;
S-7、上位机向USB接口写数据,判断写数据操作是否完成,若写数据完成,进入S-8,否则,重新执行S-7; S-7. The upper computer writes data to the USB interface, and judges whether the data writing operation is completed. If the writing data is completed, enter S-8, otherwise, execute S-7 again;
S-8、读数据完成或写数据完成;程序结束。 S-8. The data reading or writing is completed; the program ends.
所述的USB接口的读写逻辑时序控制软件的主流程是: The main flow of the read and write logic timing control software of the USB interface is:
S-1、FPGA判断读数据或写数据,若为读数据,进入S-2,否则,进入S-5; S-1, FPGA judges whether to read data or write data, if it is read data, enter S-2, otherwise, enter S-5;
S-2、FPGA判断RXF是否为低电平,若为低电平,进入S-3,否则,进入S-8; S-2, FPGA judges whether RXF is low level, if it is low level, enter S-3, otherwise, enter S-8;
S-3、RD置低电平,执行读数据操作,RD置高电平; S-3, RD set low level, execute data read operation, RD set high level;
S-4、FPGA判断数据域是否读空,若数据域读空,RXF置高电平,进入S-8,否则,返回执行S-3; S-4. The FPGA judges whether the data field is empty. If the data field is empty, set RXF to high level and enter S-8. Otherwise, return to S-3;
S-5、FPGA判断TXE是否为低电平,若为低电平,进入S-6,否则,进入S-8; S-5, FPGA judges whether TXE is low level, if it is low level, enter S-6, otherwise, enter S-8;
S-6、WR置高电平,执行写数据操作,WR置高电平; S-6. Set WR to high level, execute data writing operation, and set WR to high level;
S-7、FPGA判断数据域是否写满,若数据域写满,TXE置高电平,进入S-8 ,否则,返回S-6; S-7. FPGA judges whether the data field is full, if the data field is full, TXE is set to high level, and enters S-8, otherwise, returns to S-6;
S-8、程序结束。 S-8. The program ends.
所述的对采集数据组帧操作软件的主流程是: The main process of the described framing operation software for collecting data is:
S-1、FPGA对DSP控制器采集的电流数据和位置数据整合和组帧; S-1. FPGA integrates and frames the current data and position data collected by the DSP controller;
S-2、FPGA对整合的数据添加帧头。 S-2. The FPGA adds a frame header to the integrated data.
由于采用上述技术方案,本发明与现有技术相比具有如下积极效果: Owing to adopting above-mentioned technical scheme, the present invention has following positive effect compared with prior art:
本发明利用FPGA控制USB控制芯片FT245RL的读写逻辑时序,保证了USB接口具有传输速率高、传输稳定的特点。USB控制芯片FT245RL具有八位并行数据与串行数据相互转换的功能,保证上位机和伺服系统数据交互的准确性;USB控制芯片FT245RL使用方便,使得该通信单元结构简单,缩短开发周期。本发明的上位机通过该USB接口模块与伺服系统进行高速数据交互,实时读取伺服系统的各个状态参量,并将分析结果显示在上位机的控制界面。 The invention utilizes the FPGA to control the read-write logic sequence of the USB control chip FT245RL, which ensures that the USB interface has the characteristics of high transmission rate and stable transmission. The USB control chip FT245RL has the function of mutual conversion between eight-bit parallel data and serial data, ensuring the accuracy of data interaction between the host computer and the servo system; the USB control chip FT245RL is easy to use, which makes the structure of the communication unit simple and shortens the development cycle. The host computer of the present invention performs high-speed data interaction with the servo system through the USB interface module, reads various state parameters of the servo system in real time, and displays the analysis results on the control interface of the host computer.
因此,本发明具有结构简单、使用方便、传输稳定和传输速率高的特点。 Therefore, the present invention has the characteristics of simple structure, convenient use, stable transmission and high transmission rate.
附图说明 Description of drawings
图1是本发明的一种结构示意图; Fig. 1 is a kind of structural representation of the present invention;
图2是图1中的USB接口模块2的结构示意图; Fig. 2 is the structural representation of USB interface module 2 in Fig. 1;
图3是图1中的上位机1的读写USB接口软件的主流程图; Fig. 3 is the main flowchart of the read-write USB interface software of upper computer 1 among Fig. 1;
图4是图1中的FPGA11的USB接口的读写逻辑时序控制软件的主流程图; Fig. 4 is the main flowchart of the read and write logic sequence control software of the USB interface of FPGA11 in Fig. 1;
图5是图1中的FPGA11的对采集数据组帧操作软件的主流程图。 FIG. 5 is the main flow chart of the software for framing the collected data of FPGA11 in FIG. 1 .
具体实施方式 Detailed ways
下面结合附图和具体实施方式对本发明作进一步的描述,并非对保护范围的限制: The present invention will be further described below in conjunction with accompanying drawing and specific embodiment, not limitation to protection scope:
一种基于USB的伺服系统高速数据交互的通信单元。如图1所示,所述通信单元包括:上位机1、USB接口模块2、键盘及显示3、I/O接口4、现场总线接口5、脉冲输入接口6、模拟量接口7、DSP控制器8、FPGA11、故障检测模块12、功率驱动模块10和永磁同步电机9。 A communication unit for high-speed data interaction of a USB-based servo system. As shown in Figure 1, the communication unit includes: host computer 1, USB interface module 2, keyboard and display 3, I/O interface 4, field bus interface 5, pulse input interface 6, analog quantity interface 7, DSP controller 8. FPGA 11 , fault detection module 12 , power drive module 10 and permanent magnet synchronous motor 9 .
所述上位机1的COM端与USB接口模块2的输入输出端2a连接。USB接口模块2的数据端和控制端2b与FPGA11的数据端和控制端11b连接,键盘及显示3的输入输出端3a与FPGA11的控制端11c连接,I/O接口4的输入输出端4a与FPGA11的控制端11d连接,现场总线接口5的输入输出端5a与FPGA11的控制端11e连接,脉冲输入接口6的输入输出端6a与FPGA11的控制端11f连接,故障检测模块12的输出端12a与FPGA11的输入端11a连接,FPGA11的数据总线和地址总线与DSP控制器8的数据总线和地址总线对应连接。模拟量接口7的输入输出端7a与DSP控制器8的输入输出口8a连接,DSP控制器8的PWM输出端与功率驱动模块10的PWM输入端连接,永磁同步电机9的两路电流反馈端与DSP控制器8的输入端8c、8d对应连接,永磁同步电机9的位置反馈端与DSP控制器8的输入端8b连接;功率驱动模块10的输出端与永磁同步电机9的输入端连接。 The COM terminal of the host computer 1 is connected to the input and output terminal 2a of the USB interface module 2. The data end of USB interface module 2 and control end 2b are connected with the data end of FPGA11 and control end 11b, and the input and output end 3a of keyboard and display 3 is connected with the control end 11c of FPGA11, and the input and output end 4a of I/O interface 4 is connected with The control terminal 11d of FPGA11 is connected, and the input and output terminal 5a of fieldbus interface 5 is connected with the control terminal 11e of FPGA11, and the input and output terminal 6a of pulse input interface 6 is connected with the control terminal 11f of FPGA11, and the output terminal 12a of fault detection module 12 is connected with The input terminal 11 a of FPGA 11 is connected, and the data bus and address bus of FPGA 11 are correspondingly connected with the data bus and address bus of DSP controller 8 . The input and output terminals 7a of the analog quantity interface 7 are connected with the input and output ports 8a of the DSP controller 8, the PWM output terminals of the DSP controller 8 are connected with the PWM input terminals of the power drive module 10, and the two-way current feedback of the permanent magnet synchronous motor 9 end is connected with the input end 8c, 8d of DSP controller 8 correspondingly, the position feedback end of permanent magnet synchronous motor 9 is connected with the input end 8b of DSP controller 8; end connection.
上位机1装有读写USB接口软件,FPGA11写有USB接口的读写逻辑时序控制软件,FPGA11写有对采集数据组帧操作软件。 The upper computer 1 is equipped with software for reading and writing the USB interface, the FPGA 11 is written with the reading and writing logic sequence control software for the USB interface, and the FPGA 11 is written with the software for framing the collected data.
如图2所示,所述的USB接口模块2由USB接口2.1和USB控制芯片FT245RL2.2组成,USB控制芯片FT245RL2.2的引脚USBDM、引脚USBDP与USB接口2.1的引脚UD-和引脚UD+对应连接。 As shown in Figure 2, described USB interface module 2 is made up of USB interface 2.1 and USB control chip FT245RL2.2, the pin USBDM of USB control chip FT245RL2.2, the pin USBDP and the pin UD- of USB interface 2.1 and Pin UD+ corresponds to the connection.
上位机1的COM端与USB接口2.1的输入输出端2a连接,USB控制芯片FT245RL2.2的数据信号引脚D0-D7、写控制信号输入引脚WR、读控制信号输入引脚RD、满信号引脚TXE和空信号引脚RXF依次与FPGA11的数据输入输出端口D0-D7、写控制引脚WR、读控制引脚RD、满信号输入引脚TXE和空信号输入引脚RXF对应连接。 The COM end of the upper computer 1 is connected to the input and output end 2a of the USB interface 2.1, the data signal pins D0-D7 of the USB control chip FT245RL2.2, the write control signal input pin WR, the read control signal input pin RD, the full signal The pin TXE and the empty signal pin RXF are correspondingly connected with the data input and output ports D0-D7 of the FPGA11, the write control pin WR, the read control pin RD, the full signal input pin TXE and the empty signal input pin RXF in sequence.
如图3所示,所述的读写USB接口软件的主流程是: As shown in Figure 3, the main process of the described read-write USB interface software is:
S-1、获取USB接口2.1的端口号; S-1. Obtain the port number of the USB interface 2.1;
S-2、USB接口2.1使能; S-2, USB interface 2.1 enable;
S-3、判断读数据或写数据,若为读数据,进入S-4,否则,进入S-7; S-3. Judging whether to read data or write data, if it is read data, go to S-4, otherwise, go to S-7;
S-4、上位机1读取USB接口2.1的数据,判断一帧数据是否读取完成,若一帧数据读取完成,进入S-5,否则,重新执行S-4; S-4. The upper computer 1 reads the data of the USB interface 2.1, and judges whether the reading of a frame of data is completed. If the reading of a frame of data is completed, enter S-5, otherwise, re-execute S-4;
S-5、上位机1接收完一帧数据后,对接收到的数据进行解析和缓存; S-5. After receiving a frame of data, the upper computer 1 parses and caches the received data;
S-6、上位机1判断USB接口2.1的数据是否全部读取完成,若数据全部读取完成,进入S-8,否则返回S-4; S-6. The host computer 1 judges whether all the data of the USB interface 2.1 has been read, if all the data has been read, enter S-8, otherwise return to S-4;
S-7、上位机1向USB接口2.1写数据,判断写数据操作是否完成,若写数据完成,进入S-8,否则,重新执行S-7; S-7. The upper computer 1 writes data to the USB interface 2.1, and judges whether the data writing operation is completed. If the writing data is completed, enter S-8, otherwise, re-execute S-7;
S-8、读数据完成或写数据完成;程序结束。 S-8. The data reading or writing is completed; the program ends.
如图4所示,所述的USB接口的读写逻辑时序控制软件的主流程是: As shown in Figure 4, the main flow of the read and write logic timing control software of the USB interface is:
S-1、FPGA11判断读数据或写数据,若为读数据,进入S-2,否则,进入S-5; S-1, FPGA11 judges whether to read data or write data, if it is read data, enter S-2, otherwise, enter S-5;
S-2、FPGA11判断RXF是否为低电平,若为低电平,进入S-3,否则,进入S-8; S-2, FPGA11 judges whether RXF is low level, if it is low level, enter S-3, otherwise, enter S-8;
S-3、RD置低电平,执行读数据操作,RD置高电平; S-3, RD set low level, execute data read operation, RD set high level;
S-4、FPGA11判断数据域是否读空,若数据域读空,RXF置高电平,进入S-8,否则,返回执行S-3; S-4, FPGA11 judges whether the data field is empty, if the data field is empty, RXF is set to high level, and enters S-8, otherwise, returns to execute S-3;
S-5、FPGA11判断TXE是否为低电平,若为低电平,进入S-6,否则,进入S-8; S-5, FPGA11 judges whether TXE is low level, if it is low level, enter S-6, otherwise, enter S-8;
S-6、WR置高电平,执行写数据操作,WR置高电平; S-6. Set WR to high level, execute data writing operation, and set WR to high level;
S-7、FPGA11判断数据域是否写满,若数据域写满,TXE置高电平,进入S-8 ,否则,返回S-6; S-7, FPGA11 judges whether the data field is full, if the data field is full, TXE is set to high level, and enters S-8, otherwise, returns to S-6;
S-8、程序结束。 S-8. The program ends.
如图5所示,所述的对采集数据组帧操作软件的主流程是: As shown in Figure 5, the main process of the described framing operation software for collecting data is:
S-1、FPGA11对DSP控制器8采集的电流数据和位置数据整合和组帧; S-1, FPGA11 integrates and frames the current data and position data collected by DSP controller 8;
S-2、FPGA11对整合的数据添加帧头。 S-2, FPGA11 adds a frame header to the integrated data.
本具体实施方式与现有技术相比具有如下积极效果: Compared with the prior art, this specific embodiment has the following positive effects:
本具体实施方式利用FPGA11控制USB控制芯片FT245RL2.2的读写逻辑时序,保证了USB接口具有传输速率高、传输稳定的特点。USB控制芯片FT245RL2.2具有八位并行数据与串行数据相互转换的功能,保证上位机1和伺服系统数据交互的准确性;USB控制芯片FT245RL2.2使用方便,使得该通信单元结构简单,缩短开发周期。本具体实施方式的上位机1通过该USB接口模块2与伺服系统进行高速数据交互,实时读取伺服系统的各个状态参量,并将分析结果显示在上位机1的控制界面。 In this specific embodiment, the FPGA11 is used to control the read and write logic sequence of the USB control chip FT245RL2.2, which ensures that the USB interface has the characteristics of high transmission rate and stable transmission. The USB control chip FT245RL2.2 has the function of mutual conversion between eight-bit parallel data and serial data, ensuring the accuracy of data interaction between the host computer 1 and the servo system; the USB control chip FT245RL2.2 is easy to use, making the communication unit simple in structure and shortening Development cycle. The upper computer 1 of this specific embodiment performs high-speed data interaction with the servo system through the USB interface module 2, reads various state parameters of the servo system in real time, and displays the analysis results on the control interface of the upper computer 1 .
因此,本具体实施方式具有结构简单、使用方便、传输稳定和传输速率高的特点。 Therefore, this embodiment has the characteristics of simple structure, convenient use, stable transmission and high transmission rate.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410470162.1A CN104238420A (en) | 2014-09-16 | 2014-09-16 | Servosystem high-speed data interactive communication unit based on USB |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410470162.1A CN104238420A (en) | 2014-09-16 | 2014-09-16 | Servosystem high-speed data interactive communication unit based on USB |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104238420A true CN104238420A (en) | 2014-12-24 |
Family
ID=52226736
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410470162.1A Pending CN104238420A (en) | 2014-09-16 | 2014-09-16 | Servosystem high-speed data interactive communication unit based on USB |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104238420A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105302001A (en) * | 2015-11-20 | 2016-02-03 | 珠海格力电器股份有限公司 | Control method and device of servo driver |
CN105834829A (en) * | 2016-04-21 | 2016-08-10 | 江苏宏达数控科技股份有限公司 | Special controller for direct-driven tool rest |
GB2535457A (en) * | 2015-02-13 | 2016-08-24 | Thales Holdings Uk Plc | Digital motor control unit |
CN110147338A (en) * | 2019-05-06 | 2019-08-20 | 电子科技大学 | The method with host computer communication speed is improved based on muti-piece USB interface chip |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006309507A (en) * | 2005-04-28 | 2006-11-09 | Nachi Fujikoshi Corp | Servo control method and servo control system |
CN101086664A (en) * | 2007-07-09 | 2007-12-12 | 上海大学 | Multiple axle movement controller based on MPC5200 and its operation method |
US20130046907A1 (en) * | 2011-08-17 | 2013-02-21 | Magic Control Technology Corp. | Media sharing device |
CN103231377A (en) * | 2013-04-15 | 2013-08-07 | 苏州工业园区职业技术学院 | Dual-core three-freedom-degree high-speed tin soldering robot servo controller and control method |
CN103389684A (en) * | 2012-05-09 | 2013-11-13 | 周立纯 | Multifunctional double-shaft servo driver |
CN103997275A (en) * | 2014-06-04 | 2014-08-20 | 奇瑞汽车股份有限公司 | Alternating-current servo position control system |
-
2014
- 2014-09-16 CN CN201410470162.1A patent/CN104238420A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006309507A (en) * | 2005-04-28 | 2006-11-09 | Nachi Fujikoshi Corp | Servo control method and servo control system |
CN101086664A (en) * | 2007-07-09 | 2007-12-12 | 上海大学 | Multiple axle movement controller based on MPC5200 and its operation method |
US20130046907A1 (en) * | 2011-08-17 | 2013-02-21 | Magic Control Technology Corp. | Media sharing device |
CN103389684A (en) * | 2012-05-09 | 2013-11-13 | 周立纯 | Multifunctional double-shaft servo driver |
CN103231377A (en) * | 2013-04-15 | 2013-08-07 | 苏州工业园区职业技术学院 | Dual-core three-freedom-degree high-speed tin soldering robot servo controller and control method |
CN103997275A (en) * | 2014-06-04 | 2014-08-20 | 奇瑞汽车股份有限公司 | Alternating-current servo position control system |
Non-Patent Citations (3)
Title |
---|
袁宝红 等: ""基于FPGA和LabVIEW的USB数据采集与传输系统"", 《仪表技术与传感器》 * |
邓永停 等: ""基于DSP和FPGA的望远镜伺服控制系统设计"", 《红外与激光工程》 * |
黄汉霞 等: ""基于Labview与USB的嵌入式伺服系统的数据监测"", 《组合机床与自动化加工技术》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2535457A (en) * | 2015-02-13 | 2016-08-24 | Thales Holdings Uk Plc | Digital motor control unit |
EP3062435A1 (en) * | 2015-02-13 | 2016-08-31 | Thales Holdings UK Plc | Digital motor control unit |
GB2535457B (en) * | 2015-02-13 | 2017-06-14 | Thales Holdings Uk Plc | Digital motor control unit |
US10171015B2 (en) | 2015-02-13 | 2019-01-01 | Thales Holdings Uk Plc | Digital motor control unit |
CN105302001A (en) * | 2015-11-20 | 2016-02-03 | 珠海格力电器股份有限公司 | Control method and device of servo driver |
CN105302001B (en) * | 2015-11-20 | 2017-11-24 | 珠海格力电器股份有限公司 | Control method and device of servo driver |
CN105834829A (en) * | 2016-04-21 | 2016-08-10 | 江苏宏达数控科技股份有限公司 | Special controller for direct-driven tool rest |
CN110147338A (en) * | 2019-05-06 | 2019-08-20 | 电子科技大学 | The method with host computer communication speed is improved based on muti-piece USB interface chip |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100551634C (en) | A Modular Robot Control System Based on CAN Bus | |
CN101262486B (en) | Modbus bus analysis system based on built-in platform | |
CN101266482B (en) | Four-axis movement control card based on singlechip | |
CN107695775B (en) | Heavy digital control machine tool heat error compensation control system and thermal error compensation method based on CPS | |
CN104238420A (en) | Servosystem high-speed data interactive communication unit based on USB | |
CN104615087A (en) | Bus type motion controller | |
CN104608383B (en) | A kind of control system and its method based on fusion sediment 3D printer | |
CN103631195A (en) | Lab view (laboratory virtual instruments engineering workbench) and PLC (programmable logic controller) based serial port communication control method | |
CN104597817A (en) | Parallel acquisition system of multi-channel digital sensor | |
CN1631614A (en) | A Real-time Compensator for CNC Machine Tool Errors Based on Offset of External Coordinate System of Machine Tool | |
CN203520080U (en) | Real-time controller of universal frequency converter | |
CN104898466A (en) | Communication control circuit for laser tracker | |
CN104158876A (en) | Double-workpiece-station photo-etching machine control system communication device based on Vxworks operating system | |
CN101738987A (en) | Five-axis motion control card | |
CN102109835A (en) | Motion control system based on PLC (programmable logic controller) | |
CN109388529B (en) | Relay protection CPU (Central processing Unit) mainboard performance detection method and system | |
CN103472829A (en) | Full-digital servo system controller of two-wheel micro-mouse based on dual processors | |
CN105955202B (en) | The network-based economical embedded five-axle numerical control system of one kind and its control method | |
CN105700472A (en) | Numerical control machine tool error real time compensator based on external coordinate origin offset of machine bed | |
CN103075961B (en) | Support that appearing method is surveyed in the position of multiple grating scale based on monolithic FPGA | |
CN101860296A (en) | Servo motion control device based on floating-point DSP | |
CN207359076U (en) | A kind of robot control system and robot | |
CN110643499A (en) | Communication method between upper and lower computers of a microbial fermentation online concentration analyzer | |
CN106375284A (en) | A Mitsubishi FX PLC communication converter and conversion method based on STM32F103 | |
CN100464267C (en) | Bus protocol analysis chip for servocontrol |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20141224 |
|
WD01 | Invention patent application deemed withdrawn after publication |