TW201515937A - Multi-axial control device, circular method and a packing machine - Google Patents

Multi-axial control device, circular method and a packing machine Download PDF

Info

Publication number
TW201515937A
TW201515937A TW103100696A TW103100696A TW201515937A TW 201515937 A TW201515937 A TW 201515937A TW 103100696 A TW103100696 A TW 103100696A TW 103100696 A TW103100696 A TW 103100696A TW 201515937 A TW201515937 A TW 201515937A
Authority
TW
Taiwan
Prior art keywords
motion controller
control device
controller
motor
command
Prior art date
Application number
TW103100696A
Other languages
Chinese (zh)
Other versions
TWI542512B (en
Inventor
Jun Huang
Liang-Yi Yan
Jiang-Tao Wang
xin-hua Jiang
Original Assignee
Delta Electro Optics Wujiang 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 Delta Electro Optics Wujiang Ltd filed Critical Delta Electro Optics Wujiang Ltd
Publication of TW201515937A publication Critical patent/TW201515937A/en
Application granted granted Critical
Publication of TWI542512B publication Critical patent/TWI542512B/en

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Control Of Multiple Motors (AREA)
  • Numerical Control (AREA)

Abstract

The present invention provides a multi-axial control device, a circular method and a packing machine. The multi-axial device comprises an actuating controller for receiving an actuate and stop signals from outside by a command receiving module, a motion controller for communicating with the actuating controller, a motor driver for communicating with the motion controller and a input module for communicating with the actuating controller and the motion controller. Its advantage is to precisely control numerous motors synchronously working with each other and rapidly proceed to external commands.

Description

多軸控制裝置、循圓方法以及包裝機 Multi-axis control device, rounding method and packaging machine

本發明涉及自動控制領域,尤其涉及一種多軸控制裝置、循圓方法以及包裝機。 The invention relates to the field of automatic control, in particular to a multi-axis control device, a rounding method and a packaging machine.

在社會流通的全過程中,包裝能發揮保護、美化、宣傳、銷售產品的功能,提高商品的競爭能力。包裝自動化是利用自動化裝置控制和管理包裝過程,使其按照預先規定的程式自動進行。包裝自動化已成為一種必然的趨勢,但現有技術中包裝工程的自動化程度並不高。由於企業的各個生產線是連續不間斷的,因此對包裝機械中的馬達的扭矩、速度、精度和動態性能等指標都有極高的要求。在包裝機械上需要控制馬達的精確位置和嚴格的速度同步,保證輸送、裝卸、卸垛、打標、打包等工序正常運轉。這是封口機、打包機、打碼機、旋蓋機等包裝機械產品在升級時需要考慮的關鍵問題。 In the whole process of social circulation, packaging can play the role of protecting, beautifying, propagating, and selling products, and improve the competitiveness of goods. Packaging automation uses automated devices to control and manage the packaging process, allowing it to be automated according to pre-defined procedures. Packaging automation has become an inevitable trend, but the degree of automation of packaging engineering in the prior art is not high. Since the company's various production lines are continuous and uninterrupted, there are extremely high requirements for the torque, speed, accuracy and dynamic performance of the motors in the packaging machinery. In the packaging machinery, it is necessary to control the precise position of the motor and the strict speed synchronization to ensure the normal operation of the processes of conveying, loading, unloading, unloading, marking and packing. This is a key issue that needs to be considered when upgrading packaging machinery such as sealing machines, balers, coding machines, and capping machines.

目前市場上常見的包裝機械控制系統主要有兩種方式: There are two main methods for packaging machinery control systems that are common on the market today:

方式1:主控採用機械傳動方式。對於包裝技術不複雜,包裝速度要求不高的場合,在主控部分採用機械凸輪的方式即可以滿足要求,故這種控制方式仍然被少量使用,主要原因是成本低。但是採用機械凸輪控制的方式,無論如何也避免不了後期維護的不便。由於機械的硬性 連接,在運行的過程中,會出現機械磨損嚴重,噪音大,效率低等特點。 Mode 1: The main control adopts mechanical transmission. For the case where the packaging technology is not complicated and the packaging speed is not high, the mechanical cam can be used in the main control part to meet the requirements. Therefore, this control method is still used in a small amount, mainly because the cost is low. However, the use of mechanical cam control, in any case, can not avoid the inconvenience of post-maintenance. Due to mechanical rigidity Connection, in the process of operation, there will be serious mechanical wear, high noise, low efficiency and so on.

方式2:主控採用可程式設計邏輯控制器(PLC,Programmable Logic Controller)控制。第1圖所示是現有技術中採用可程式設計邏輯控制器的包裝機械控制系統的結構示意圖,包括可程式設計邏輯控制器11、交流伺服驅動器12和變頻器13。PLC 11通過發送脈衝給交流伺服驅動器12完成定位動作,變頻器13驅動主軸14做等速運動。主軸14的脈衝同樣輸出給交流伺服驅動器12作為命令來源,做出相應的動作。PLC 11同時控制I/O設備15,包括溫控器等。這種方式的缺點在於配線複雜,不利於維護,且主軸是採用變頻方式驅動,系統包裝精度難以提高,無法滿足包裝行業對精度越來越高的要求。大量的運算都集中在可程式設計邏輯控制器11,運算量大,影響運行速度和精度。且每次修改包裝程式都需要通過修改PLC命令實現,而修改PLC控制命令需要專業人士花費大量時間才能夠完成。 Mode 2: The master is controlled by a programmable logic controller (PLC). FIG. 1 is a schematic diagram showing the structure of a packaging machine control system using a programmable logic controller in the prior art, including a programmable logic controller 11, an AC servo driver 12, and a frequency converter 13. The PLC 11 performs a positioning operation by transmitting a pulse to the AC servo driver 12, and the inverter 13 drives the spindle 14 to perform a constant velocity motion. The pulse of the spindle 14 is also output to the AC servo driver 12 as a command source to perform corresponding actions. The PLC 11 simultaneously controls the I/O device 15, including a thermostat or the like. The disadvantage of this method is that the wiring is complicated, which is not conducive to maintenance, and the spindle is driven by the frequency conversion method, the system packaging precision is difficult to improve, and the requirements of the packaging industry for higher and higher precision cannot be met. A large number of operations are concentrated on the programmable logic controller 11, which has a large amount of computation, affecting the speed and accuracy of the operation. And each time the package program is modified, it needs to be implemented by modifying the PLC command, and modifying the PLC control command requires a lot of time for the professional to complete.

本發明所要解決的技術問題是,提供一種多軸控制裝置,可以精確地同步控制多個馬達協同工作,且對外部命令的處理速度迅速。 The technical problem to be solved by the present invention is to provide a multi-axis control device capable of accurately controlling a plurality of motors to work in synchronization, and the processing speed of external commands is fast.

本發明所要解決的技術問題還在於提供一種包裝機,可以精確控制傳送馬達和裁切馬達系統工作,並且能在樣品規格發生變化時,簡單快速地調整工作模式,從而節省生產時間。 The technical problem to be solved by the present invention is also to provide a packaging machine which can precisely control the operation of the conveying motor and the cutting motor system, and can easily and quickly adjust the working mode when the sample specifications change, thereby saving production time.

為了解決上述問題,本發明提供了一種多軸控制裝置,包括:一啟動控制器,通過一命令接收模組接收外部的啟動和停止訊號;一運動控制器,與該啟動控制器通信,用於根據該啟動控制器發出的命令開 始或停止執行一預置的控制程式;一馬達驅動器,與該運動控制器通信,用於根據該運動控制器發出的命令來控制至少一外部馬達;以及一輸入模組,與該啟動控制器和該運動控制器通信,用於使用者從外部輸入參數來控制該多軸控制裝置。 In order to solve the above problems, the present invention provides a multi-axis control device comprising: a start controller, receiving an external start and stop signal through a command receiving module; a motion controller communicating with the start controller for According to the command issued by the boot controller Starting or stopping execution of a preset control program; a motor driver communicating with the motion controller for controlling at least one external motor according to a command issued by the motion controller; and an input module, and the start controller Communicating with the motion controller for the user to input parameters from outside to control the multi-axis control device.

較佳的,進一步包括一I/O模組,與該啟動控制器和該運動控制器通信,該I/O模組用於同連接至該多軸控制裝置外部的至少一運動控制器即時通信,以擴展該多軸控制裝置的控制能力。 Preferably, the method further includes an I/O module in communication with the start controller and the motion controller, the I/O module for communicating with at least one motion controller connected to the outside of the multi-axis control device To extend the control capability of the multi-axis control device.

較佳的,該運動控制器為一數位訊號處理晶片。 Preferably, the motion controller is a digital signal processing chip.

較佳的,該輸入模組進一步包含一圖形化的人機界面,使用者通過該圖形化的人機界面完成輸入。 Preferably, the input module further comprises a graphical human-machine interface, and the user completes the input through the graphical human-machine interface.

較佳的,該運動控制器中進一步包括一內插命令單元,該內插命令單元與該馬達驅動器連接,該內插命令單元用於合成多軸的同步內插命令並發送至馬達驅動器實施內插。 Preferably, the motion controller further includes an interpolation command unit, the interpolation command unit is coupled to the motor driver, and the interpolation command unit is configured to synthesize a multi-axis synchronous interpolation command and send the signal to the motor driver implementation. Plug in.

本發明進一步提供了一種循圓方法,採用上述的多軸控制裝置,包括如下步驟:通過該輸入模組將編輯的圓周路徑命令發送至該運動控制器;該運動控制器驅動外部的馬達執行該圓周路徑命令,並通過該命令接收模組回饋收集執行結果,該執行結果包含該馬達執行該圓周路徑命令的實際平面路徑,以及該馬達的命令位置與回授位置之間的變化,以用於循圓誤差分析。 The present invention further provides a rounding method using the multi-axis control device described above, comprising the steps of: transmitting an edited circumferential path command to the motion controller through the input module; the motion controller driving an external motor to perform the a circumferential path command, and receiving, by the command, a module feedback collection execution result, the execution result including an actual planar path of the motor executing the circumferential path command, and a change between the command position and the feedback position of the motor for Rounding error analysis.

本發明進一步提供了一種包裝機,包括:一上述的多軸控制裝置;以及一傳送馬達、一送料馬達和一裁切馬達,各自與該多軸控制裝置連接並被單獨的馬達驅動器驅動,接收各自的馬達驅動器控制訊號並分 別驅動一傳送帶、一該傳送帶表面的樣品和一切刀同步運轉。 The present invention further provides a packaging machine comprising: a multi-axis control device as described above; and a transfer motor, a feed motor and a cutting motor, each coupled to the multi-axis control device and driven by a separate motor drive, receiving The respective motor driver controls the signal and divides it Do not drive a conveyor belt, a sample of the surface of the conveyor belt and all the knives run synchronously.

較佳的,進一步包括一位置監控器,與該運動控制器通信,該位置監控器用於監控該傳送帶表面的樣品位置偏移,並通過該命令接收模組回饋至該運動控制器。 Preferably, a position monitor is further included in communication with the motion controller, the position monitor is configured to monitor a sample position offset of the surface of the conveyor belt, and the command receiving module is fed back to the motion controller.

較佳的,進一步包括一I/O模組,與該啟動控制器和該運動控制器通信,該I/O模組用於同連接至該多軸控制裝置外部的至少一運動控制器即時通信,以擴展該多軸控制裝置的控制能力。 Preferably, the method further includes an I/O module in communication with the start controller and the motion controller, the I/O module for communicating with at least one motion controller connected to the outside of the multi-axis control device To extend the control capability of the multi-axis control device.

較佳的,該運動控制器為一數位訊號處理晶片。 Preferably, the motion controller is a digital signal processing chip.

較佳的,該輸入模組進一步包含一圖形化的人機界面,使用者通過該圖形化的人機界面完成輸入。 Preferably, the input module further comprises a graphical human-machine interface, and the user completes the input through the graphical human-machine interface.

較佳的,該運動控制器中進一步包括一內插命令單元,該內插命令單元與該馬達驅動器連接,該內插命令單元用於合成多軸的同步內插命令並發送至多個馬達驅動器實施內插。 Preferably, the motion controller further includes an interpolation command unit, the interpolation command unit is coupled to the motor driver, and the interpolation command unit is configured to synthesize a multi-axis synchronous interpolation command and send the signal to the plurality of motor drivers. Interpolated.

本發明該多軸控制裝置的優點在於採用了運動控制器根據外部命令計算出每個馬達的運動路徑,並發送至馬達驅動器,馬達驅動器根據運動控制器發出的統一時鐘來執行這些路徑。這種架構使所有的馬達驅動器的運動路徑規劃均來自於同一個運動控制器,並且共用運動控制器的時鐘,可以做到精確同步;並且把現有技術中集中在上位機上的運算量在該馬達驅動器與該運動控制器之間重新分配,提高了系統的處理速度,使該多軸控制裝置能夠在工作狀態下及時準確地對外界命令做出回應。並且該多軸控制裝置由於各軸之間的同步性好,因此還能夠執行循圓儀的功能。 An advantage of the multi-axis control device of the present invention is that a motion controller is used to calculate the motion path of each motor based on external commands and to the motor driver, which performs these paths in accordance with a unified clock issued by the motion controller. This architecture allows the motion path planning of all the motor drivers to come from the same motion controller, and the clock of the motion controller is shared, which can achieve accurate synchronization; and the amount of computation in the prior art that is concentrated on the upper computer is The redistribution between the motor driver and the motion controller increases the processing speed of the system, enabling the multi-axis control device to respond to external commands in a timely and accurate manner under working conditions. Moreover, since the multi-axis control device has good synchronism between the respective axes, it is also possible to perform the function of the rounder.

本發明該包裝機的優點在於採用上述多軸控制裝置驅動傳送馬達、送料馬達和裁切馬達,能夠做到精確同步,並且在該運動控制器中預設演算法,根據使用者輸入的參數自行計算出各個部件的工作參數,並轉化成運動路徑下發至馬達驅動器。這樣無需每次更換不同規格的樣品時都要重新編寫軟體代碼,而只需要將參數輸入即可實現調整。而輸入參數的動作是普通的操作工人即可完成的,因此本包裝機可以節省生產時間並降低操作難度。 The packaging machine of the invention has the advantages that the multi-axis control device is used to drive the conveying motor, the feeding motor and the cutting motor, and the precise synchronization can be achieved, and the algorithm is preset in the motion controller, and the calculation is performed according to the parameters input by the user. The operating parameters of the various components are converted into motion paths and sent to the motor drive. This eliminates the need to rewrite the software code each time you change a sample of a different specification, and only needs to enter the parameters to make adjustments. The input parameter action can be completed by ordinary operators, so the packaging machine can save production time and reduce the operation difficulty.

11‧‧‧可程式設計邏輯控制器 11‧‧‧Programmable Logic Controller

12‧‧‧交流伺服驅動器 12‧‧‧AC servo drive

13‧‧‧變頻器 13‧‧‧Inverter

14‧‧‧主軸 14‧‧‧ Spindle

15‧‧‧I/O設備 15‧‧‧I/O equipment

20‧‧‧多軸控制裝置 20‧‧‧Multi-axis control device

21‧‧‧啟動控制器 21‧‧‧Start controller

22‧‧‧命令接收模組 22‧‧‧Command receiving module

23‧‧‧運動控制器 23‧‧‧ Motion Controller

24‧‧‧馬達驅動器 24‧‧‧Motor drive

25‧‧‧輸入模組 25‧‧‧ Input Module

26‧‧‧I/O模組 26‧‧‧I/O Module

41‧‧‧傳送馬達 41‧‧‧Transmission motor

42‧‧‧裁切馬達 42‧‧‧Cutting motor

43‧‧‧位置監控器 43‧‧‧Location Monitor

44‧‧‧樣品 44‧‧‧ samples

45‧‧‧送料馬達 45‧‧‧Feeding motor

231‧‧‧內插命令單元 231‧‧‧Interpolation command unit

411、451‧‧‧驅動輪 411, 451‧‧‧ drive wheels

412‧‧‧傳送帶 412‧‧‧Conveyor belt

421‧‧‧齒輪 421‧‧‧ Gears

422‧‧‧切刀 422‧‧‧Cutter

S30-S31‧‧‧步驟 S30-S31‧‧‧Steps

第1圖所示是現有技術中採用可程式設計邏輯控制器的包裝機械控制系統的結構示意圖。 Figure 1 is a block diagram showing the structure of a packaging machine control system using a programmable logic controller in the prior art.

第2圖所示是本發明該多軸控制裝置具體實施方式的結構示意圖。 Fig. 2 is a schematic view showing the configuration of a multi-axis control device according to a preferred embodiment of the present invention.

第3圖所示是本發明該循圓方法具體實施方式的實施步驟示意圖。 Fig. 3 is a schematic view showing the steps of the embodiment of the rounding method of the present invention.

第4圖所示是本發明該包裝機具體實施方式的結構示意圖。 Figure 4 is a schematic view showing the structure of the packaging machine of the present invention.

下面結合圖示對本發明提供的多軸控制裝置、循圓方法以及包裝機的具體實施方式做詳細說明。 The multi-axis control device, the rounding method and the specific embodiment of the packaging machine provided by the present invention will be described in detail below with reference to the drawings.

第2圖所示是本發明該多軸控制裝置20具體實施方式的結構示意圖,包括一啟動控制器21、一命令接收模組22、一運動控制器23、多個馬達驅動器24、一輸入模組25以及一I/O模組26。該馬達驅動器24的數量由需要驅動的馬達數目決定,並至少為一個。本具體實施方式為三個。 2 is a schematic structural view of a multi-axis control device 20 according to the present invention, including a start controller 21, a command receiving module 22, a motion controller 23, a plurality of motor drivers 24, and an input die. Group 25 and an I/O module 26. The number of motor drives 24 is determined by the number of motors that need to be driven, and is at least one. The specific embodiment is three.

該啟動控制器21通過該命令接收模組22接收外部的啟動和 停止訊號。該命令接收模組22還可以進一步和運動控制器23連接,用於接收多軸控制裝置20外部發送至運動控制器23的參考訊號,該參考訊號例如是可以用來校準馬達驅動器24的工作狀態的。 The startup controller 21 receives the external startup and the module 22 through the command. Stop the signal. The command receiving module 22 can further be connected to the motion controller 23 for receiving a reference signal sent from the multi-axis control device 20 to the motion controller 23, and the reference signal can be used, for example, to calibrate the working state of the motor driver 24. of.

該運動控制器23與該啟動控制器21通信,用於根據啟動控制器21發出的命令開始或停止執行一預置的控制程式。該輸入模組25與該啟動控制器21和該運動控制器23通信。該預置的控制程式是通過該輸入模組25發送至運動控制器23的。使用者通過輸入模組25輸入運動控制器23的控制參數。輸入模組25進一步包括一圖形化的人機界面,使用者可以通過此圖形化的介面完成輸入動作。運動控制器23根據此參數生成馬達驅動器24能夠執行的控制命令,從而執行相應的操作。該運動控制器23可以是數位訊號處理(DSP)晶片。 The motion controller 23 is in communication with the start controller 21 for starting or stopping execution of a preset control program in accordance with a command issued by the start controller 21. The input module 25 is in communication with the start controller 21 and the motion controller 23. The preset control program is sent to the motion controller 23 via the input module 25. The user inputs the control parameters of the motion controller 23 through the input module 25. The input module 25 further includes a graphical human-machine interface through which the user can perform input actions. The motion controller 23 generates a control command that the motor driver 24 can execute based on this parameter, thereby performing a corresponding operation. The motion controller 23 can be a digital signal processing (DSP) chip.

該多個馬達驅動器24各自與該運動控制器23通信,用於根據該運動控制器23發出的運動路徑來控制各自對應的外部馬達。在該馬達驅動器24為多個的情況下,由於運動路徑來自於同一個運動控制器23,因此所有的馬達驅動器24共用同一個命令時鐘,嚴格地保證伺服的同步性,因此可以實現同動控制,並且馬達驅動器24之間交換資料僅通過運動控制器23而無其它外部設備,因此交換速度高且無時間延遲。在上述結構中,運動控制器23用於根據外部命令計算出每個馬達的運動路徑,並發送至馬達驅動器24,馬達驅動器24存儲收到的運動路徑至本地,並根據運動控制器23發出的統一時鐘來執行這些運動路徑。這種架構把現有技術中集中在上位機上的運算量在該馬達驅動器24與該運動控制器23之間重新分配,提高了系統的處理速度,能夠在工作狀態下及時準確地對外界命令做出回應。 並且該運動控制器23還可以進一步通過命令接收模組22採集馬達的工作狀態以及各種監控資訊,並據此做出調整。 The plurality of motor drivers 24 are each in communication with the motion controller 23 for controlling respective external motors in accordance with a motion path issued by the motion controller 23. In the case where there are a plurality of motor drivers 24, since the motion paths are from the same motion controller 23, all the motor drivers 24 share the same command clock, and the servo synchronization is strictly ensured, so that the same motion control can be realized. And the data exchanged between the motor drivers 24 passes only through the motion controller 23 without other external devices, so the switching speed is high and there is no time delay. In the above structure, the motion controller 23 is configured to calculate a motion path of each motor based on an external command and send it to the motor driver 24, which stores the received motion path to the local and is issued according to the motion controller 23. Unified clocks are used to perform these motion paths. This architecture redistributes the amount of calculations concentrated on the host computer in the prior art between the motor driver 24 and the motion controller 23, thereby improving the processing speed of the system and enabling timely and accurate external command execution under the working state. Respond. And the motion controller 23 can further collect the working state of the motor and various monitoring information through the command receiving module 22, and make adjustments according to the same.

該運動控制器23還可以進一步包括一內插命令單元231。該內插命令單元231與該馬達驅動器24連接。在三維運動中,每個馬達對應一個運動軸。在該馬達驅動器24為多個,即多軸的情況下,多軸的同步內插命令可以通過該內插命令單元231生成。內插命令單元231內部根據座標利用內插演算法自動分配出相關的運動軸相應的位置和速度值,並發送至對應的馬達驅動器24執行,以實現多軸的同步內插,包括直線、圓弧與螺旋的內插。由內插命令單元231運算可以減低控制器運算,驅動動作回應更精確及時,且無需上位機介入。在進行多軸運動時,為了達到整個路徑的運行更加平穩和高效,利用三軸圓弧內插指令,只需給定一個目標點,內插命令單元231便可以根據座標利用內插演算法自動分配出相應的位置和速度值給相關的運動軸。內插命令單元231可以支援絕對,相對,增量座標模式,可以實現單軸定位,兩軸/三軸直線和圓弧內插。 The motion controller 23 may further include an interpolation command unit 231. The interpolation command unit 231 is connected to the motor driver 24. In three-dimensional motion, each motor corresponds to a motion axis. In the case where the motor driver 24 is plural, that is, multi-axis, a multi-axis synchronous interpolation command can be generated by the interpolation command unit 231. The interpolation command unit 231 automatically allocates the corresponding position and velocity values of the relevant motion axes according to the coordinates according to the coordinates, and sends them to the corresponding motor driver 24 to perform multi-axis synchronous interpolation, including straight lines and circles. Interpolation of arcs and spirals. The operation of the interpolation command unit 231 can reduce the controller operation, and the driving action response is more accurate and timely, and does not require the upper computer to intervene. In the multi-axis motion, in order to achieve smoother and more efficient operation of the entire path, with a three-axis circular interpolation command, only one target point is given, and the interpolation command unit 231 can automatically allocate the interpolation algorithm according to the coordinates. The corresponding position and velocity values are given to the relevant motion axes. The interpolation command unit 231 can support absolute, relative, incremental coordinate modes, and can realize single-axis positioning, two-axis/three-axis straight lines, and circular arc interpolation.

為了擴展該多軸控制裝置的控制能力,還可以進一步包括一較佳的I/O模組26。該I/O模組26與該啟動控制器21和該運動控制器23通信。由於該多軸控制裝置20中的馬達驅動器24的數目是固定的,故多軸控制裝置20所能夠控制的馬達數目必然不能超過馬達驅動器24的數目。該I/O模組26的優點在於可以突破此限制,使多軸控制裝置20能夠控制更多的馬達。該I/O模組26與外部的至少一運動控制器以及馬達控制器(未圖示)即時通信,為了保證控制效果,通信協議應採用高速的通信協定,通過高速通信協定可與外部的單軸伺服快速通訊,以擴展該多軸控制裝置的控制能力。 In order to extend the control capabilities of the multi-axis control device, a preferred I/O module 26 may be further included. The I/O module 26 is in communication with the start controller 21 and the motion controller 23. Since the number of motor drivers 24 in the multi-axis control device 20 is fixed, the number of motors that the multi-axis control device 20 can control must not exceed the number of motor drivers 24. An advantage of the I/O module 26 is that this limitation can be overcome to enable the multi-axis control device 20 to control more motors. The I/O module 26 communicates with at least one external motion controller and a motor controller (not shown). In order to ensure the control effect, the communication protocol should adopt a high-speed communication protocol, and can be externally ordered through a high-speed communication protocol. Axis servo fast communication to extend the control capabilities of the multi-axis control unit.

上述多軸控制裝置還可以很容易地實現循圓功能,代替專門的循圓儀。 The above multi-axis control device can also easily realize the rounding function instead of the special rounding instrument.

第3圖所示是本發明該循圓方法具體實施方式的實施步驟示意圖,包括:步驟S30,通過該輸入模組將編輯的圓周路徑命令發送至該運動控制器;以及步驟S31,該運動控制器驅動外部的馬達執行該圓周路徑命令,並通過該命令接收模組回饋收集執行結果。 FIG. 3 is a schematic diagram showing the implementation steps of the rounding method embodiment of the present invention, comprising: step S30, sending an edited circumferential path command to the motion controller through the input module; and step S31, the motion control The motor driving the external motor executes the circumferential path command, and receives the module feedback collection execution result through the command.

在步驟S30中,通過該輸入模組25將編輯的圓周路徑命令發送至該運動控制器23。該運動控制器23可以在內部根據座標利用內插演算法自動分配出相應的位置和速度值給X軸和Y軸對應的馬達,因此能夠保證兩軸之間的絕對同步。 In step S30, the edited circumferential path command is sent to the motion controller 23 via the input module 25. The motion controller 23 can internally automatically assign corresponding position and velocity values to the motors corresponding to the X-axis and the Y-axis based on the coordinates using an interpolation algorithm, thereby ensuring absolute synchronization between the two axes.

在步驟S31中,該運動控制器23驅動外部的馬達執行該圓周路徑命令,並通過該命令接收模組22回饋收集執行結果。該執行結果包含該馬達執行該圓周路徑命令的實際平面路徑,以及該馬達的命令位置與回授位置之間的變化,以用於循圓誤差分析。此結果可供使用者對設備的工作狀態進行判斷。 In step S31, the motion controller 23 drives an external motor to execute the circumferential path command, and through the command, the receiving module 22 returns a collection execution result. The execution result includes an actual planar path at which the motor executes the circumferential path command, and a change between the commanded position and the feedback position of the motor for rounding error analysis. This result allows the user to judge the working status of the device.

接下來給出本發明該包裝機的具體實施方式。上述多軸控制裝置適合用於包裝機等需要多馬達協同工作的設備上。第4圖所示是本具體實施方式該包裝機的結構示意圖,包括:一多軸控制裝置20、一傳送馬達41、一送料馬達45和一裁切馬達42。該傳送馬達41、送料馬達45和裁切馬達42各自與該多軸控制裝置20連接並被單獨的馬達驅動器24驅動,接收各自的馬達驅動器發出的控制訊號。該傳送馬達41通過一組驅動輪411驅動一傳送帶412水準運動,輸送樣品44。該送料馬達45通過一驅動輪451來驅動 樣品在傳送帶412上同步移動,並且該驅動輪451還可以同時給樣品上加印色標。該裁切馬達42通過一組齒輪421驅動一組切刀422轉動以切割樣品44。為了使切刀422每次都在預定的位置切割樣品44,必須嚴格保證傳送馬達41、送料馬達45和裁切馬達42同步運轉。由於該多軸控制裝置20中的所有馬達驅動器24執行的是同一個運動控制器23分解的命令,並且共用運動控制器23的時鐘,可以很好的滿足上述精確的同步要求。 Next, a specific embodiment of the packaging machine of the present invention will be given. The above multi-axis control device is suitable for use in a device such as a packaging machine that requires multiple motors to work together. 4 is a schematic structural view of the packaging machine of the present embodiment, including: a multi-axis control device 20, a conveying motor 41, a feeding motor 45, and a cutting motor 42. The transfer motor 41, the feed motor 45 and the cutting motor 42 are each coupled to the multi-axis control unit 20 and driven by a separate motor drive 24 to receive control signals from respective motor drives. The transfer motor 41 drives a conveyor belt 412 to move in a level by a set of drive wheels 411 to transport the sample 44. The feed motor 45 is driven by a drive wheel 451 The sample moves synchronously on the conveyor belt 412, and the drive wheel 451 can also simultaneously apply a color scale to the sample. The cutting motor 42 drives a set of cutters 422 to rotate through a set of gears 421 to cut the sample 44. In order for the cutter 422 to cut the sample 44 at a predetermined position each time, it is necessary to strictly ensure that the conveying motor 41, the feed motor 45, and the cutting motor 42 operate in synchronization. Since all of the motor drivers 24 in the multi-axis control device 20 perform the commands decomposed by the same motion controller 23 and share the clock of the motion controller 23, the above-described precise synchronization requirements can be well satisfied.

繼續參考第4圖,該包裝機還可以進一步包括一位置監控器43。該位置監控器43與該多軸控制裝置20中的運動控制器23通信。該傳送帶412表面的樣品44上可以設置色標等定位圖案,並採用位置監控器43監測這些圖案的出現頻率,從而計算出樣品44的位置和移動速率。由於樣品44在表面由於抻拉或者滑動可能導致樣品的位置偏移和速度變化。位置監控器43可以監控到這一現象,並通過該多軸控制裝置20中的命令接收模組22回饋至該運動控制器23。運動控制器23可以根據收到的資訊調整三個馬達的工作狀態。例如,如果發現樣品的位置整體向後移動,可以給裁切馬達42發送一個延時命令,從而保證裁切的位置正確。若發現樣品在表面移動的速度大於或者小於預定速度,則可以通過調節傳送馬達41和裁切馬達42的轉速比,使裁切馬達42的相對裁切速度增大或減小,從而保證裁切的位置仍然正確,或者調整送料馬達45的轉速,以使樣品44的速度發生變化。以上演算法全部都是在運動控制器23中完成的,並將根據計算結果得出的馬達運動路徑下發到對應的馬達驅動器24中,而馬達驅動器24存儲收到的路徑至本地,並根據運動控制器23發出的統一時鐘來執行這些路徑。顯然這種處理方式將運算和執行兩個任務分別分配在運動控制器23和馬達驅動 器24中來完成,降低了單一設備尤其是運動控制器23的運算量,從而提高了運算速度,使包裝機可以根據樣品44的情況及時準確地調整傳送馬達41、送料馬達45和裁切馬達42的工作狀態。 With continued reference to FIG. 4, the packaging machine can further include a position monitor 43. The position monitor 43 is in communication with the motion controller 23 in the multi-axis control device 20. A positioning pattern such as a color patch may be disposed on the sample 44 on the surface of the conveyor belt 412, and the frequency of occurrence of the patterns may be monitored by the position monitor 43 to calculate the position and moving speed of the sample 44. The positional shift and velocity of the sample may be caused by the sample 44 being pulled or slid at the surface. The position monitor 43 can monitor this phenomenon and feed back to the motion controller 23 via the command receiving module 22 in the multi-axis control device 20. The motion controller 23 can adjust the operating states of the three motors based on the received information. For example, if the position of the sample is found to move all the way backwards, a delay command can be sent to the cutting motor 42 to ensure that the cutting position is correct. If the speed at which the sample moves on the surface is found to be greater or smaller than the predetermined speed, the relative cutting speed of the cutting motor 42 can be increased or decreased by adjusting the rotational speed ratio of the conveying motor 41 and the cutting motor 42, thereby ensuring the cutting. The position is still correct, or the rotational speed of the feed motor 45 is adjusted to vary the speed of the sample 44. The above algorithms are all completed in the motion controller 23, and the motor motion path obtained according to the calculation result is sent to the corresponding motor driver 24, and the motor driver 24 stores the received path to the local, and according to The unified clock issued by the motion controller 23 performs these paths. Obviously this way of processing the operation and execution of the two tasks are assigned to the motion controller 23 and the motor drive respectively. The completion of the device 24 reduces the amount of calculation of the single device, particularly the motion controller 23, thereby increasing the operation speed, so that the packaging machine can adjust the transport motor 41, the feed motor 45, and the cutting motor 42 in time according to the condition of the sample 44. Working status.

使用者通過該輸入模組25完成輸入,例如樣品長度和包裝速度等。運動控制器23收到這些參數後,根據內置的演算法自行計算出各個部件的工作參數,並轉化成驅動命令下發至馬達驅動器24。該多軸控制裝置20中的輸入模組25還可以進一步包含一圖形化的人機界面。對於人機界面而言,除了可以輸入參數之外,還可以預設一些工作模式,或者對切刀422以及傳送帶412的工作狀態進行手動調整的選項,並將上述功能在人機界面上設置成按鍵。使用者按下這些按鍵後,運動控制器23便根據內部預設的程式來做出相應的調整,並將驅動命令下發至馬達驅動器24。該運動控制器23進一步可以是一數位訊號處理(DSP)晶片。由於運動控制器23中可以預製大量演算法,因此無需每次更換不同規格的樣品44都要重新編寫軟體代碼,而只需要將參數輸入即可實現調整。而輸入參數的動作是普通的操作工人即可完成的,因此本包裝機可以節省生產時間並降低操作難度。 The user completes the input through the input module 25, such as sample length and packaging speed. After receiving the parameters, the motion controller 23 calculates the operating parameters of the respective components according to the built-in algorithm and converts them into driving commands and sends them to the motor driver 24. The input module 25 in the multi-axis control device 20 may further include a graphical human-machine interface. For the human-machine interface, in addition to inputting parameters, some working modes or options for manually adjusting the working state of the cutter 422 and the conveyor belt 412 may be preset, and the above functions are set on the human-machine interface. button. After the user presses these buttons, the motion controller 23 makes corresponding adjustments according to the internal preset program, and sends the driving command to the motor driver 24. The motion controller 23 can further be a digital signal processing (DSP) chip. Since a large number of algorithms can be prefabricated in the motion controller 23, it is not necessary to rewrite the software code every time the samples 44 of different specifications are replaced, and only the parameters need to be input to achieve the adjustment. The input parameter action can be completed by ordinary operators, so the packaging machine can save production time and reduce the operation difficulty.

以上該僅是本發明的較佳實施方式,應當指出,對於本技術領域的一般技術人員,在不脫離本發明原理的前提下,還可以做出若干改進和潤飾,這些改進和潤飾也應視為本發明的保護範圍。 The above is only a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. These improvements and retouchings should also be considered. It is the scope of protection of the present invention.

20‧‧‧多軸控制裝置 20‧‧‧Multi-axis control device

21‧‧‧啟動控制器 21‧‧‧Start controller

22‧‧‧命令接收模組 22‧‧‧Command receiving module

23‧‧‧運動控制器 23‧‧‧ Motion Controller

24‧‧‧馬達驅動器 24‧‧‧Motor drive

25‧‧‧輸入模組 25‧‧‧ Input Module

26‧‧‧I/O模組 26‧‧‧I/O Module

231‧‧‧內插命令單元 231‧‧‧Interpolation command unit

Claims (12)

一種多軸控制裝置,其特徵在於,包括:一啟動控制器,通過一命令接收模組接收外部的啟動和停止訊號;一運動控制器,與該啟動控制器通信,用於根據該啟動控制器發出的命令開始或停止執行一預置的控制程式;一馬達驅動器,與該運動控制器通信,用於根據該運動控制器發出的命令來控制至少一外部馬達;以及一輸入模組,與該啟動控制器和該運動控制器通信,用於使用者從外部輸入參數來控制該多軸控制裝置。 A multi-axis control device, comprising: a start controller, receiving an external start and stop signal through a command receiving module; a motion controller communicating with the start controller for using the start controller The issued command starts or stops executing a preset control program; a motor driver is in communication with the motion controller for controlling at least one external motor according to a command issued by the motion controller; and an input module, The start controller communicates with the motion controller for the user to input parameters from outside to control the multi-axis control device. 根據申請專利範圍第1項所述的多軸控制裝置,其特徵在於,進一步包括一I/O模組,與該啟動控制器和該運動控制器通信,該I/O模組用於同該多軸控制裝置外部的至少一運動控制器即時通信,以擴展該多軸控制裝置的控制能力。 The multi-axis control device according to claim 1, further comprising an I/O module, in communication with the startup controller and the motion controller, the I/O module being used for At least one motion controller external to the multi-axis control device communicates instantaneously to expand the control capabilities of the multi-axis control device. 根據申請專利範圍第1項所述的多軸控制裝置,其特徵在於,該運動控制器為一數位訊號處理晶片。 The multi-axis control device according to claim 1, wherein the motion controller is a digital signal processing chip. 根據申請專利範圍第1項所述的多軸控制裝置,其特徵在於,該輸入模組進一步包含一圖形化的人機界面,使用者通過該圖形化的人機界面完成輸入。 The multi-axis control device according to claim 1, wherein the input module further comprises a graphical human-machine interface, and the user completes the input through the graphical human-machine interface. 根據申請專利範圍第1項所述的多軸控制裝置,其特徵在於,該運動控制器中進一步包括一內插命令單元,該內插命令單元與該馬達驅動器連接,該內插命令單元用於合成多軸的同步內插命令並發送至馬達驅動器實施內插。 The multi-axis control device according to claim 1, wherein the motion controller further includes an interpolation command unit, the interpolation command unit being coupled to the motor driver, the interpolation command unit being used for A multi-axis synchronous interpolation command is synthesized and sent to the motor driver for interpolation. 一種循圓方法,採用如申請專利範圍第1項所述的多軸控制裝置,其特徵在於,包括如下步驟:通過該輸入模組將編輯的圓周路徑命令發送至該運動控制器;該運動控制器驅動外部的馬達執行該圓周路徑命令,並通過該啟動控制器中的該命令接收模組回饋收集執行結果,該執行結果包含該馬達執行該圓周路徑命令的實際平面路徑,以及該馬達的命令位置與回授位置之間的變化,以用於循圓誤差分析。 A multi-axis control device according to the first aspect of the invention, characterized in that it comprises the steps of: transmitting an edited circumferential path command to the motion controller through the input module; the motion control The external motor drives the circumferential path command and receives the module feedback collection execution result through the command in the startup controller, the execution result including the actual planar path of the motor executing the circumferential path command, and the command of the motor The change between position and feedback position for rounding error analysis. 一種包裝機,其特徵在於,包括:一申請專利範圍第1項所述的多軸控制裝置;以及一傳送馬達、一送料馬達和一裁切馬達,各自與該多軸控制裝置連接並被單獨的馬達驅動器驅動,接收各自的馬達驅動器控制訊號並分別驅動一傳送帶、一該傳送帶表面的樣品和一切刀同步運轉。 A packaging machine, comprising: a multi-axis control device according to claim 1; and a transfer motor, a feed motor and a cutting motor, each connected to the multi-axis control device and separately The motor driver is driven to receive the respective motor driver control signals and drive a conveyor belt, a sample of the surface of the conveyor belt, and all of the blades to operate synchronously. 根據申請專利範圍第7項所述的包裝機,其特徵在於,進一步包括一位置監控器,與該運動控制器通信,該位置監控器用於監控該傳送帶表面的樣品位置偏移,並通過該啟動控制器中的該命令接收模組回饋至該運動控制器。 A packaging machine according to claim 7 further comprising a position monitor in communication with the motion controller for monitoring a sample position offset of the surface of the conveyor belt and passing the activation The command receiving module in the controller feeds back to the motion controller. 根據申請專利範圍第7項所述的包裝機,其特徵在於,進一步包括一I/O模組,與該啟動控制器和該運動控制器通信,該I/O模組用於同連接至該多軸控制裝置外部的至少一運動控制器即時通信,以擴展該多軸控制裝置的控制能力。 The packaging machine of claim 7, further comprising an I/O module in communication with the activation controller and the motion controller, the I/O module being configured to be connected to the same At least one motion controller external to the multi-axis control device communicates instantaneously to expand the control capabilities of the multi-axis control device. 根據申請專利範圍第7項所述的包裝機,其特徵在於,該運動控制器為一數位訊號處理晶片。 The packaging machine of claim 7, wherein the motion controller is a digital signal processing chip. 根據申請專利範圍第7項所述的包裝機,其特徵在於,該輸入模組進一步包含一圖形化的人機界面,使用者通過該圖形化的人機界面完成輸入。 The packaging machine according to claim 7, wherein the input module further comprises a graphical human-machine interface, and the user completes the input through the graphical human-machine interface. 根據申請專利範圍第7項所述的包裝機,其特徵在於,該運動控制器中進一步包括一內插命令單元,該內插命令單元與該馬達驅動器連接,該內插命令單元用於合成多軸的同步內插命令並發送至多個馬達驅動器實施內插。 The packaging machine of claim 7, wherein the motion controller further comprises an interpolation command unit, the interpolation command unit being coupled to the motor driver, the interpolation command unit for synthesizing Synchronous interpolation of the axes is sent and sent to multiple motor drives for interpolation.
TW103100696A 2013-10-31 2014-01-08 Multi-axial control device, circular method and a packing machine TWI542512B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310525856.6A CN103552711B (en) 2013-10-31 2013-10-31 Multijoint control device, follow round method and wrapping machine

Publications (2)

Publication Number Publication Date
TW201515937A true TW201515937A (en) 2015-05-01
TWI542512B TWI542512B (en) 2016-07-21

Family

ID=50007139

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103100696A TWI542512B (en) 2013-10-31 2014-01-08 Multi-axial control device, circular method and a packing machine

Country Status (2)

Country Link
CN (1) CN103552711B (en)
TW (1) TWI542512B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015210751A (en) * 2014-04-30 2015-11-24 パナソニック デバイスSunx株式会社 Programmable controller, control method and control program
WO2017021556A1 (en) * 2015-08-06 2017-02-09 Multivac Sepp Haggenmüller Se & Co. Kg Packaging machine having an improved adjustment function
CN105128010B (en) * 2015-08-07 2017-12-29 深圳市微秒控制技术有限公司 A kind of robot distributed control system of SCARA and its control method
CN105223868A (en) * 2015-09-30 2016-01-06 深圳市微秒控制技术有限公司 A kind of robot distributed control system of Delta and control method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100667742B1 (en) * 2000-08-23 2007-01-11 삼성전자주식회사 Method and apparatus for controlling at least one controlled device in a controlling device
JP3807301B2 (en) * 2001-12-20 2006-08-09 松下電器産業株式会社 Motor drive device
CN100487613C (en) * 2006-01-05 2009-05-13 台达电子工业股份有限公司 AC servo system with distribution type motion controller
CN101231163A (en) * 2007-01-26 2008-07-30 新代科技股份有限公司 Method for measuring real roundness
CN201689325U (en) * 2009-12-24 2010-12-29 广州市诺信数字测控设备有限公司 Enlargeable and reducible multi-axis motion control system
CN201777429U (en) * 2010-08-20 2011-03-30 中达电通股份有限公司 Control device for high-speed pillow type packaging machine
CN102339035A (en) * 2011-07-29 2012-02-01 上海先德机械工程有限公司 Control device and method of multiaxial numerical control milling machine

Also Published As

Publication number Publication date
CN103552711A (en) 2014-02-05
CN103552711B (en) 2016-04-06
TWI542512B (en) 2016-07-21

Similar Documents

Publication Publication Date Title
TWI542512B (en) Multi-axial control device, circular method and a packing machine
US8483865B2 (en) Numerical controller with tool trajectory display function
TWI493304B (en) Synchronization control device
CN102566511A (en) Five-shaft numerical control system cutter center point interpolation path interpolation method
Martinov et al. Specialized numerical control system for five-axis planing and milling center
CN104133400A (en) Rotary grinder embedded controller based on digital bus
EP1690629B1 (en) Laser processing system
JP2012226749A (en) Method for avoiding unwanted collision between workpiece and tool in machine tool
US6546127B1 (en) System and method for real time three-dimensional model display in machine tool
JP5291727B2 (en) Program conversion module and program conversion method for multi-axis synchronous machine
CN102615161A (en) Control system of general two-dimensional numerical control spinning lathe
CN102608950A (en) Control system for three-coordinate measuring machine with bus structure
TWI578128B (en) The Method of Cutting Path Generation for Dialogue Controller of CNC Machine Tool
JP5009625B2 (en) Method and apparatus for operating different devices operating in conjunction
JP2007515003A5 (en)
WO2017101700A1 (en) Computer aided manufacturing method, device and system in direct communication with numerical control system
EP1182524B1 (en) Programmable controller
CN202837956U (en) Control device for controlling per-revolution feed
WO2014013550A1 (en) Numerical control device and numerical control system
CN109093624B (en) Continuous interpolation motion control method for complex curve of mechanical arm
JP2004114176A (en) Numerical controller
US10105849B1 (en) Manufacturing system having robotic apparatus
CN202362643U (en) Modular machine tool control system
CN201408354Y (en) Control system integrated with precision machine tool and manipulator
KR100749902B1 (en) Programmable Motion Controller Using Universal Programmable Controller