CN100468476C - real-time measuring system of motor driver - Google Patents
real-time measuring system of motor driver Download PDFInfo
- Publication number
- CN100468476C CN100468476C CNB2005100525104A CN200510052510A CN100468476C CN 100468476 C CN100468476 C CN 100468476C CN B2005100525104 A CNB2005100525104 A CN B2005100525104A CN 200510052510 A CN200510052510 A CN 200510052510A CN 100468476 C CN100468476 C CN 100468476C
- Authority
- CN
- China
- Prior art keywords
- data
- motor driver
- real
- measurement system
- time measurement
- 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.)
- Expired - Lifetime
Links
Images
Landscapes
- Control Of Electric Motors In General (AREA)
Abstract
Description
技术领域 technical field
本发明涉及一种实时测量系统,应用于测量马达驱动器的运作数据,尤其涉及一种马达驱动器的实时测量系统。The invention relates to a real-time measurement system, which is applied to measure the operation data of a motor drive, in particular to a real-time measurement system of a motor drive.
背景技术 Background technique
近几年来,世界各国对马达的研究都投入了大量的人力、物力、时间和金钱,希望能借此提高工业技术水准,使广泛地应用于自动化产业、半导体制程、工具机、搬运等。马达的控制会受到马达驱动器中电力电子组件开关切换速度以及计算机微处理器运算速度的极限,而无法在整个系统控制上有所突破,因此技术上遇到瓶颈。直到最近十年,半导体业快速地发展,电力电子在大功率上的突破,使得要推动大功率马达变得更容易实现,除了马达驱动器的体积变得更小、性能更好、效率提高外,更由于计算机微处理器的运算越来越快速,以及单片微机运用技术的日趋成熟,处理数据量也越来越大,使得诸多控制理论得以实现,目前各学术界及研究单位都已积极对马达驱动器投入研究,马达驱动器其周边系统的研究更是重要。In recent years, countries around the world have invested a lot of manpower, material resources, time and money in the research of motors, hoping to improve the level of industrial technology and make them widely used in automation industry, semiconductor manufacturing process, machine tools, handling, etc. The control of the motor will be limited by the switching speed of the power electronic components in the motor driver and the computing speed of the computer microprocessor, and it is impossible to make a breakthrough in the control of the entire system, so it encounters a technical bottleneck. Until the last ten years, the rapid development of the semiconductor industry and the breakthrough of power electronics in high power have made it easier to drive high-power motors. In addition to the smaller size of the motor driver, better performance, and improved efficiency, Moreover, due to the increasingly fast operation of computer microprocessors and the maturity of single-chip microcomputer application technology, the amount of data processed is also increasing, making many control theories come true. At present, various academic circles and research units have actively studied The motor driver is put into research, and the research on the peripheral system of the motor driver is even more important.
在使用上,马达装置与马达驱动器为达到某些工作目的,需要调整马达驱动器的部分参数,例如电压电流,或是其转速...等。为了调整参数的方便,在设计马达驱动器的过程,会将马达驱动器的测量物理量以模拟或数字的方式输出,最常见的是将输出以端子接示波器上,用来监看马达的运转情形并得知整体的马达系统是否达到所欲达到的工作要求。In use, in order to achieve certain working purposes of the motor device and the motor driver, some parameters of the motor driver, such as voltage and current, or its rotational speed, need to be adjusted. For the convenience of parameter adjustment, in the process of designing the motor driver, the measured physical quantity of the motor driver will be output in an analog or digital way. The most common way is to connect the output terminal to an oscilloscope to monitor the operation of the motor and obtain Know whether the overall motor system meets the desired work requirements.
请参照图1,为公知第一马达驱动器的测量系统。有一个马达驱动器10连接一马达装置20,马达驱动器10的输出数据信号再连接到一示波器30上,于示波器30上显示马达驱动器10的运作情形。马达驱动器10提供模拟端子,使用者可借由示波器30来检视输出信号,了解马达驱动器10在运转上是否有达到所设定的情况,然而,示波器30为一个昂贵的工业用仪器,且在操作上也需要深入学习,更重要的是示波器30体型相当笨重且内部相当精密,并不适合被广泛的运用在一般工厂中做测量使用。Please refer to FIG. 1 , which is a measurement system of a known first motor driver. A
再参照图2,为公知第二马达驱动器的测量系统。在此一马达驱动器的测量系统中,有一个马达驱动器11连接一马达装置21,马达驱动器11的输出数据借助一串行通讯端口(RS232)31连接到一计算机装置41上,由计算机装置41送一个触发信号给马达驱动器11,马达驱动器11内的程序开始抓取数据资料,并存在一暂存存储器51中,等到暂存存储器51已存满,再由计算机装置41发送一个检查命令,开始由马达驱动器11传回数据资料,由于串行通讯端口31的速度为115200bit/s,且数据资料需先存放数据于暂存存储器51中,所以传回的时间会有所延迟(delay),使得所测量到的数据资料失去实时性的功效。Referring to FIG. 2 again, it is a measurement system of a known second motor driver. In this measurement system of a motor driver, a
发明内容 Contents of the invention
因此,如何能够提供一种具实时性且实用性的马达驱动器测量系统,并以较快速的传输方式回传数据至一个处理装置,成为研究人员待解决改善的问题之一。Therefore, how to provide a real-time and practical motor driver measurement system and return data to a processing device in a faster transmission mode has become one of the problems that researchers need to solve and improve.
有鉴于先前技术存在的缺陷与无法解决的问题,本发明提出一种马达驱动器的实时测量系统,包含有一数字信号处理器(Digital Signal Processor:DSP),数字化马达驱动器的运作数据,并输出所测量到的数据;一接口电路,连该数字信号处理器,接收由该数字信号处理器输出的测量数据;一转换装置,连接于该接口电路,将符合第一通讯端口的第一信号转换为符合第二通讯端口的第二信号;最后测量数据进入一终端处理装置中,终端处理装置将输入的的测量数据以一个程序化接口分析处理并同步显示该测量数据,该终端处理装置具有一窗口接口,且该终端处理装置发现接收的数据资料译码错误时,会在窗口接口上标示错误的数据点,并继续显示下一笔数据资料。由此达到同步测量马达驱动器的功效,且测量数据不需使用示波器显示,更可以使本发明的马达驱动器的实时测量系统更具实用性。有关本发明的特征与实作,兹配合附图作最佳实施例详细说明如下。In view of the defects and unsolvable problems in the prior art, the present invention proposes a real-time measurement system for a motor drive, which includes a digital signal processor (Digital Signal Processor: DSP), digitizes the operation data of the motor drive, and outputs the measured The data received; an interface circuit, connected with the digital signal processor, receives the measurement data output by the digital signal processor; a conversion device, connected with the interface circuit, converts the first signal corresponding to the first communication port into a corresponding The second signal of the second communication port; the last measurement data enters a terminal processing device, the terminal processing device analyzes and processes the input measurement data with a programmed interface and displays the measurement data synchronously, and the terminal processing device has a window interface , and when the terminal processing device finds that the received data is incorrectly decoded, it will mark the wrong data point on the window interface, and continue to display the next data. In this way, the effect of synchronous measurement of the motor driver is achieved, and the measurement data does not need to be displayed by an oscilloscope, which further makes the real-time measurement system of the motor driver of the present invention more practical. Regarding the characteristics and implementation of the present invention, the preferred embodiments are described in detail below in conjunction with the accompanying drawings.
附图说明 Description of drawings
图1为公知的第一马达驱动器的测量系统;Fig. 1 is the measuring system of known first motor driver;
图2为公知的第二马达驱动器的测量系统;Fig. 2 is the measurement system of the known second motor driver;
图3为本发明的第一马达驱动器的实时测量系统;Fig. 3 is the real-time measurement system of the first motor driver of the present invention;
图4为本发明的第二马达驱动器的实时测量系统;以及Fig. 4 is the real-time measurement system of the second motor driver of the present invention; And
图5为本发明的马达驱动器的多轴实时测量流程图。Fig. 5 is a flow chart of the multi-axis real-time measurement of the motor driver of the present invention.
其中,附图标记说明如下:Wherein, the reference signs are explained as follows:
10 马达驱动器 11 马达驱动器10
20 马达装置 21 马达装置20
30 示波器 31 串行通讯端口30
41 计算机装置 51 暂存存储器41
100 马达驱动器 150 马达装置100
200 数字信号处理器 300 接口电路200
350 高速串行通讯端口 400 转换装置350 High-speed
450 通用串行总线 500 终端处理装置450 Universal
510 通用串行总线插槽 550 连接线510 Universal Serial Bus slot 550 Cable
600 窗口接口600 window interface
步骤501 终端处理装置检测到与马达驱动器联机
步骤502 终端处理装置利用马达驱动器对每一轴的初始时间,将每一轴的时间自动同步
步骤503 终端处理装置接收马达驱动器传回的多轴同步的测量数据
步骤504 将测量数据显示于窗口接口上Step 504 Display the measurement data on the window interface
步骤505 窗口接口画面上作出错误标示
具体实施方式 Detailed ways
请参照图3,其为本发明的马达驱动器的实时测量系统,包含有一个数字信号处理器(Digital Signal Processor:DSP)200和一接口电路300,一个转换装置400与一个终端处理装置500。Please refer to FIG. 3 , which is a real-time measurement system for a motor driver of the present invention, including a digital signal processor (Digital Signal Processor: DSP) 200, an
其中有一个被实时测量的马达驱动器100,马达驱动器100为一个交流马达驱动器,以正弦波脉冲宽度调节(Pulse Width Modulation:PWM)方式控制一个马达装置150,马达驱动器100其上具有多个功能键(未绘出),与一个显示器(未绘出),可以提供使用者设定马达装置150运转频率,显示实际马达装置150的输出频率、实际马达装置150的输出电流、使用者自定单位参数浏览,修改设定,参数锁定,异常故障显示以及执行运转、停止、重置、正转、反转、寸动...等功能。Among them, there is a
于马达驱动器100内部有一个数字信号处理器(Digital Signal Processor:DSP)200,负责数字化马达驱动器100所设定的参数与所运作的实际数据,并输出所测量到的测量数据,测量数据为一个数字信号,因此在传播的过程中比以往用模拟信号传递更具有不易受干扰的优点。There is a digital signal processor (Digital Signal Processor: DSP) 200 inside the
为了响应数据传输的各种协议,因此需要一个接口电路300来操作。因此,数字信号处理器200所输出的数字信号会经由一接口电路300使数字信号可以传输进入一个高速串行通讯端口350中,高速串行通讯端口350传输速度达到一般串行通讯端口传输速度115200bit/s的十倍以上。In response to various protocols for data transmission, an
一个转换装置400一端连接接口电路300,另一端则是连接终端处理装置500,以第一通讯端口连接接口电路300及第二通讯端口连接终端处理装置500,而转换装置400用以将符合第一通讯端口的第一信号转换为符合第二通讯端口的第二信号。在一实施例中,一些马达驱动器100对外的输出的第一通讯端口采用串行通讯端口(RS232)的传输接口,然而,一些较新型的终端处理装置500或是掌上型信息处理装置不具有串行通讯端口(RS232)的接口以供串接,再者,串行通讯端口(RS232)的传输速度为115200bit/s,即使是使用高速串行通讯端口速度达到115200bit/s的十倍以上,但是仍不及使用通用串行总线(USB)450来的快速。所以转换装置400提供第一通讯端口与第二通讯端口的规格转换,在一实施例中,第一通讯端口为高速串行通讯端口350,第二通讯端口为通用串行总线450。以上所列举仅为说明转换装置400可仅行转换的通讯端口,并非用以限定第一通讯端口与第二通讯端口的形式。转换装置400内有一个高速串行通讯端口(high speed RS232)转通用串行总线(USB)的芯片,转换后的通用串行总线450若为USB1.1规格,则传输速率为12Mb/s,若为USB2.0规格,则传输速率为480Mb/s,对实时传输的通讯频宽都已经相当足够。One end of a
终端处理装置500为一个计算机系统,但是也可为一些掌上型信息处理系统,终端处理装置500上有一个通用串行总线插槽510,给予由转换装置400连接的通用串行总线450使用,终端处理装置500通过一个显示装置(未绘出)显示一软件化的窗口接口600,软件化的窗口接口600与马达驱动器100取得连接关系,便可通过窗口接口600显示多个马达驱动器100的参数数据,所显示的数据资料以多套窗口系统显示,因此使用者可以同时监测马达驱动器100的运作情形,若是动作有异常,马达驱动器100亦会出现警示信号,提醒使用者注意并自行作适当的电路保护措施,当然,若是利用编写完善的窗口接口600程序,使用者除了可以监看马达驱动器100的运作状况外,更让窗口接口600的程序具有自动调节适当参数之功能,窗口接口600可以于多轴窗口下,显示不同的马达驱动器100参数,终端处理装置500为单向连续性接受数据资料,对于数字信号处理器200不会有额外的负担,当终端处理装置500发现收到的数据资料译码有错误,不会跟马达驱动器100重新要求传送数据资料,仅会在画面上标示出错误的数据点,并继续显示下一笔数据资料,所以在多轴联机共同显示上,不会重新做多轴时间同步,因此不会造成信号输入的延迟,对测量数据的精确性有更严谨的保障。此外本发明不需要预先规划一块暂存存储器于马达驱动器100内部当数据传送的缓冲区,马达驱动器100内建的程序利用时间周期主动送出使用者所欲检视的测量数据,因此测量数据的个数与时间呈现一定的比例关系,因此测量数据的数据点数与时间呈现一定的比例关系,使马达驱动器100可以被实时性的测量。The
请参照图4,其为本发明的马达驱动器的实时测量系统的第二实施例,本实施例考虑到部分的马达驱动器100并无内建转换装置400,所以提出一种将转换装置400安装于马达驱动器100外部,该转换装置400一端利用连接线550连接马达驱动器100的高速串行通讯端口350,另一端利用连接线450连接终端处理装置500。请参照图5,其为本发明的马达驱动器的多轴实时检测流程图。一开始启动马达装置与马达驱动器,在步骤501中,终端处理装置检测到与马达驱动器联机,在步骤502中,终端处理装置将利用马达驱动器对每一轴的初始时间,将每一轴的时间自动同步,接着步骤503,终端处理装置接受马达驱动器传回的多轴同步的测量数据,若是测量数据译码正确,则进到步骤504中,将测量数据显示于窗口接口上,若是终端处理装置发现数据资料译码错误,则进到步骤505中,于窗口接口画面上作出错误标示。Please refer to FIG. 4, which is the second embodiment of the real-time measurement system of the motor driver of the present invention. This embodiment considers that some
虽然本发明以前述的较佳实施例揭示如上,然而其并非用以限定本发明,任何本领域技术人员,在不脱离本发明的精神和范围内,可作一些更动与润饰。Although the present invention is disclosed above with the aforementioned preferred embodiments, they are not intended to limit the present invention. Those skilled in the art can make some changes and modifications without departing from the spirit and scope of the present invention.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100525104A CN100468476C (en) | 2005-02-28 | 2005-02-28 | real-time measuring system of motor driver |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100525104A CN100468476C (en) | 2005-02-28 | 2005-02-28 | real-time measuring system of motor driver |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1828684A CN1828684A (en) | 2006-09-06 |
CN100468476C true CN100468476C (en) | 2009-03-11 |
Family
ID=36947052
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100525104A Expired - Lifetime CN100468476C (en) | 2005-02-28 | 2005-02-28 | real-time measuring system of motor driver |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100468476C (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020126211A1 (en) * | 2001-03-06 | 2002-09-12 | Tatsutoshi Kitajima | Digital camera |
US20030005188A1 (en) * | 2001-07-02 | 2003-01-02 | Seagate Technology Llc | Dual serial port data acquisition interface assembly for a data storage device |
CN1492629A (en) * | 2003-08-27 | 2004-04-28 | 武汉理工大学 | Embedded intelligent high-speed signal acquisition and monitoring system |
-
2005
- 2005-02-28 CN CNB2005100525104A patent/CN100468476C/en not_active Expired - Lifetime
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020126211A1 (en) * | 2001-03-06 | 2002-09-12 | Tatsutoshi Kitajima | Digital camera |
US20030005188A1 (en) * | 2001-07-02 | 2003-01-02 | Seagate Technology Llc | Dual serial port data acquisition interface assembly for a data storage device |
CN1492629A (en) * | 2003-08-27 | 2004-04-28 | 武汉理工大学 | Embedded intelligent high-speed signal acquisition and monitoring system |
Also Published As
Publication number | Publication date |
---|---|
CN1828684A (en) | 2006-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101789557A (en) | Multifunctional interface conversion device | |
CN207337388U (en) | A kind of server serial port function test board | |
CN202811435U (en) | Fan speed testing device | |
CN104407956A (en) | IIC bus experimental facility debugged by serial port | |
CN202975800U (en) | CAN (controller area network) bus diagnosis system based on WIFI (wireless fidelity) and mobile intelligent terminal | |
CN204270290U (en) | IIC bus experimental device through serial port debugging | |
CN100468476C (en) | real-time measuring system of motor driver | |
CN101739320A (en) | Error detection device and method for server | |
CN111782455B (en) | Portable device for testing screen end product | |
CN210719207U (en) | Test system of inertial navigation equipment | |
CN111026620B (en) | Processing-based data visualization Processing system and method | |
CN102608942A (en) | Device and method for real-timely monitoring signal conversion of servo motor control system | |
CN204406391U (en) | A kind of data of optical fiber gyroscope R-T unit based on SPI | |
CN104155891B (en) | I<2>C-based networked transmitter and communication implementation method thereof | |
CN101441155A (en) | Embedded type universal material testing machine observe and control system | |
US20060195272A1 (en) | Real-time measuring system used for motor driver | |
CN108132902B (en) | UART-to-USB system and method capable of self-adapting to voltage | |
CN110943888B (en) | Convenient full-function serial port detection method and device | |
CN112881902A (en) | Display chip test equipment | |
CN114448827A (en) | Manual operator with Modbus communication diagnosis function | |
CN109286448B (en) | Standard frequency signal generating system and method based on USB | |
CN214751425U (en) | Testing instrument data acquisition and communication device | |
CN1932770A (en) | Computer system state monitoring circuit | |
CN209803602U (en) | Automatic revolving door fault display system | |
CN104049924A (en) | System for acquiring data of serial interface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CX01 | Expiry of patent term |
Granted publication date: 20090311 |