1. Field of the Invention
The present invention relates generally to multi-axis servo drive controls, and relates more particularly to a system and method for multi-axis motion control through a single PWM unit.
2. Description of Related Art
A number of servo motor drive applications have specific requirements for multiple axes with high precision coordinated position control. For example, in the fields of robotics, electronic CAM and wafer handling, multiple-axis motion control provides coordinated three dimensional position control. Servo drive application controls are available for multi-axis motion control realized through multiple servo amplifiers with each axis unit containing an independent PWM unit, an independent closed loop current control and an independent closed loop velocity control. Each of the servo amplifiers are typically connected to a network system with a host that performs multi-axis coordinated position control, such as axis interpolation and other coordinated position control applications. The network system for the multi-axis control is often complex and somewhat expensive, since a network protocol must be implemented to permit control messages to be transmitted simultaneously, or in a synchronous communication technique to provide high speed response or real-time control. Due to the number of parameters communicated in the control messages, the communication network can be overburdened or somewhat costly when a network with a large amount of resources is used.
A typical AC servo drive system contains a closed loop current control and a velocity control. In a digital AC servo system, these controls are traditionally implemented in software. Each loop control typically has a different update rate because the dynamics of the control objectives for each control loop are different. For example, closed loop current control typically attempts to control motor torque indirectly by controlling motor phase current. The velocity control loop controls motor speed, typically with a feedback signal representing rotor speed for the motor. Torque is a high dynamic parameter, with a quick response time when compared with motor speed. Accordingly, closed loop current control is typically operated with an update rate that is much faster than that of the velocity control loop. As a typical example, closed loop current control update rates are often on the order of approximately 100 microseconds, where closed loop velocity control rates are typically 400 microseconds. The computation time for each of the control loops should be much less than the update rate for the practical implementation of the closed loop current control. For example, the closed loop current control computation time should be approximately 50 microseconds or less.
Traditional servo control methods are based on a microprocessor or a digital signal processor (DSP) that do not provide multiple axis servo drive functionality. Servo control techniques typically involve the use of a pulse width modulated (PWM) signal to drive the motor inverter switches to provide appropriate power in the windings of the motor to realize the specific servo control. However, traditional microprocessors and DSPs are provided with a PWM unit as a piece of hardware logic that is designed and implemented for single axis servo motor control. Accordingly, multi-axis servo control systems using traditional microprocessors or DSPs are implemented with a single microprocessor or DSP for each axis of the multi-axis servo control system. That is, each axis of the multi-axis servo control system has a dedicated PWM unit for controlling the switches in the inverter drive.
Referring to
A network 12 acts to coordinate operation of each of the servo axes under the direction of a host system 13. Network 12 interfaces with each servo axis control through a network interface 14a, 14b or 14c, respectively. Host system 13 provides coordination for the various axes by delivering commands for motion control and reading feedback data to determine parameters such as velocity and position, for example. Accordingly, the efficient operation of network 12 is important for sophisticated multi-axis servo control according to a traditional system. Host system 13 typically initiates motion coordination through network 12 by providing network messages to each controlled servo axis drive. Each servo drive, or amplifier, includes a self contained closed loop current control with PWM hardware and a velocity control. This traditional technique of providing a multi-axis servo control by coordinating a number of individual servo drives, each with a PWM unit, a power converter and several feedback loops including current sensing devices has long been used as a standard configuration for providing multi-axis servo control.
Referring now to
The resulting PWM waveforms from the comparison of the phase voltage commands and the carrier frequency command is applied to a deadtime insertion logic block 23a, 23b and 23c, for each of the respective motor phases. The inserted deadtime for the PWM signals is derived from the deadtime command also provided through a primary and secondary register. The output of deadtime insertion logic blocks 23a-23c is applied to gate enable logic block 24, which is influenced by the PWM enable signal and the digital filter signal applied to gate enable logic block 24. The PWM enable signal is applied through a primary and secondary register, similar to the other servo drive commands. The digital filter signal is obtained from digital filter block 25, which contains various filter parameters and a filter state that may change with each cycle of the digital control.
Gate enable logic 24 outputs the gate control signals for the switches in the inverter drive of the single axis servo control, designated as high and low signals for each of the motor phases, to control the high and low switches supplying electrical energy to each of the motor phases. PWM unit 20 accordingly provides a PWM control based on synchronous, digital logic and various servo drive controls provided from host system 13 over network 12. As shown in
It would be desirable to obtain a control for a servo drive system with multiple axes that simplifies the interaction with the host system and the servo axis controllers. It would also be desirable to reduce the redundancy in the multi-axis servo control system where each servo axis is provided with an independent controller.
In accordance with the present invention, there is provided a single PWM unit to control multiple axes of a servo motor drive control system. The system and method of the present invention combines and consolidates redundant hardware into a single unit and provides a multi-tasking engine to share the resources of the single unit among a number of motor drive axes. The control elements may be realized in a hardware implementation and provides real time servo drive operation control.
A system and method according to the present invention serves to simplify the control system used to operate multiple axes, and consequently simplifies communication with a host system, since the host communicates with a single hardware unit rather than multiple servo motor drive controls. Accordingly, the complexity and specialized protocols and synchronization of a real time networking system for servo motor control with multiple axes can be eliminated.
A single PWM unit provided by the present invention produces controls for a multi-axis servo control by permitting each resource dedicated to a particular axis to operate on a time slice of an overall system control period. A high frequency clock signal is used to drive the single PWM system to permit multiple axes to share the control resources with each axis assigned to a given time slice. Accordingly, the PWM unit provides parameter storage for the multiple axes, and sequences through each axis according to the selected time slice to provide the appropriate axis control.
Other features and advantages of the present invention will become apparent from the following description of the invention which refers to the accompanying drawings.
Referring now to
Gate enable logic 32 receives an input from a digital filter 36 that has a particular digital filter state for each of the axes 1-N. As each axis is selected, the filter state is loaded into the digital filter to provide the appropriate signal conditioning for the PWM signals output from gate enable logic 32.
Gate enable logic also receives an input from a PWM enable circuit consisting of a first PWM enable register 37a and a secondary PWM enable register 37b. Multiple PWM enable registers 37a, 37b are provided, one set for each axis, to receive the specific PWM enable signal corresponding to the desired axis. Each of the first PWM enable registers 37a are aligned with and correspond with each of the PWM enable secondary registers 37b for each of the axes. Accordingly, as a PWM enable signal is synchronously transferred from the first PWM enable register 37a of axis 1, it is received by the PWM enable secondary register 37b of axis 1. The same synchronous transfer is true of each of the axes 1-N. Accordingly, the appropriate PWM enable secondary register 37b delivers the PWM enable signal to gate enable logic 32 at the appropriate time to permit passage of the PWM signals for the three phases of the motor for the specified axis.
Turning to the phase voltage command for each of the phases U, V and W, a primary and secondary register is provided for each of the phases, with a number of primary and secondary registers provided to match the number of axes in the multiple axis system. Accordingly, for phase U, primary registers U33a are provided with a primary register U33a assigned to each axis for the phase U voltage command. Secondary registers U33b are also provided to match the number of axes in the multiple axis control. The phase U voltage command is input to the selected primary register U33a for the selected axis, and the value of the selected primary register U33a for phase U is synchronously transferred to secondary register U33b for the selected axis. Accordingly, when axis 1 is selected, the phase U voltage command is applied to the primary register U33a associated with axis 1, while the value from the primary register U33a of axis 1 is transferred synchronously to the secondary register U33b of axis 1. After the operations for axis 1 are completed, axis 2 is selected and the transfers associated with the phase U voltage command for registers U33a and U33b are completed during the period of time that axis 2 is selected. These operations likewise occur for command transfer in phases V and W with registers V33a, V38b and W33a, W33b, respectively.
PWM unit 30 cycles through each of the axes 1-N until each of the primary and secondary registers U33a, U33b have been serviced with the appropriate phase U voltage command, at which point axis 1 is selected and the process begins again. The same activities occur on the V and W phases for delivering the V and W voltage commands to the associated primary and secondary registers V33a, V33b and W33a, W33b for each of the selected axes. Similarly, primary and secondary registers 35a, 35b are used to store the carrier frequency command for each of the selected axes, which is input to the up/down counter 31, which is loaded with the particular counter state 31s for the selected axis.
The system clock signal SYSCLK input to time slice block 39 determines the selection signals for axes 1-N, which are used to select the primary and secondary registers loaded with the separate phase voltage commands, the flip-flops for receiving the PWM high and low signals for each phase, the filter state 36s to be loaded into digital filter 36 and all the other parameters and registers associated with the selected axis. Because the selection signals are preferably implemented in hardware, the latency between selecting the components associated with the selected axis is reduced over the same system in software.
As with the other primary and secondary registers, a deadtime command specific to each axis is loaded into deadtime primary and secondary registers D38a and D38b, dependent upon the selected axis. The deadtimes specific to the selected axis are used in deadtime insertion logic blocks U40, V40 and W40 to generate the high and low signals for each of the three phases.
Gate enable logic 32 also provides an output for fault detection and diagnostic parameters. It should be apparent that the fault signals and diagnostic parameters delivered by gate enable logic 32 are specific to the selected axis associated with the high and low PWM signals transmitted by gate enable logic 32.
As discussed above, each axis is preferably selected based on a time slice of the system clock signal SYSCLK. When a particular axis is selected by time slice block 39, the associated registers are connected in PWM unit 30. This control mechanism is realized in hardware to speed operation of the multi-axis control and reduce delays that would otherwise be associated with implementing PWM unit 30 in software. Because the system clock frequency is set at a high rate, a number of axes may be implemented in the time slice control mechanism.
The host system can provide phase voltage commands directly to the controller implementing PWM unit 30, so that no extensive multi-axis network is needed. Accordingly, implementation of PWM unit 30 eliminates the restrictive network architecture between a host system and multiple independent servo motor drives for independent axis control.
Because a multi-axis control can be implemented with PWM unit 30, a single closed loop current control can be used for the multiple axes, as well as a single velocity control loop to support multiple AC servo motor drive axes. For example, the current feedback signals from the inverter drives of each axis can be selectively read by a controller implementing PWM unit 30 to perform all relevant calculations for the selected axis. Likewise, a position control can be read for a selected axis from the associated encoder to provide velocity control for each axis based on the time slice multi-tasking control mechanism of the present invention.
As discussed above, a multiple axis servo motor controller that implements PWM unit 30 realizes a number of advantages over the independent axis controllers in conventional multi-axis servo controls. Another advantage permitted by the implementation of PWM unit 30 is reduced susceptibility to noise and EMI signals, since a single control unit can be more easily shielded and compensated for noise and EMI signals than can a series of servo motor drive controllers interconnected with a control network to a host computer. In addition to reducing susceptibility to noise and EMI, the controller implementing PWM unit 30 is less expensive, takes up less space, and simplifies a multi-axis control by removing redundant components and interfaces.
Referring now to
Experiments carried out with a multi-axis servo controller implementing PWM unit 30 according to the present invention provide real time control for up to eight AC servo motor drive axes. However, it is contemplated that any number of practical multiple axis servo motor drive controls can be implemented in accordance with the present invention.
Although the present invention has been described in relation to particular embodiments thereof, many other variations and modifications and other uses will become apparent to those skilled in the art. It is preferred, therefore, that the present invention be limited not by the specific disclosure herein, but only by the appended claims.
The present application is based on and claims benefit of U.S. Provisional Application No. 60/468,278, filed May 5, 2003, to which a claim of priority is hereby made.
Number | Date | Country | |
---|---|---|---|
60468278 | May 2003 | US |