Documente Academic
Documente Profesional
Documente Cultură
Abstract—This paper describes the use of methods and tech- formed by digitizing measured values for voltages and currents
niques that have been developed for high-performance control of and performing the computations shown in (1a) and (1b). The
relatively small and slow turning industrial machines and extend equations involve the computation of a sine and a cosine value,
these techniques to the more demanding regime of ac machines
used for kinetic energy storage and fast ac servos for military ap- multiplication and addition/subtraction. However, in order to
plications. In particular this paper describes a technique for fast track the space vectors accurately in fast spinning machines,
monitoring of the output voltage of ac generators. To accomplish these computations have to be performed fast enough, to happen
fast monitoring, the (sinusoidal) ac output voltage is converted to in small enough angular increments. Therefore, the use of a spe-
a dc quantity that represents the instantaneous amplitude. This cialized coprocessor, as described here is very beneficial
is achieved through the use of a rotational transformation. This
transformation, also called “vector rotation,” can be used for very
fast observation of the momentary amplitudes of all electrical ma-
chine quantities, such that averaging of the ac value (to determine
“momentary average” rms amplitude) is not necessary. The proce-
dure is implemented by tightly integrating a digital motion control (1a)
coprocessor into the memory map of a 16-bit microcontroller.
Index Terms—Digital control, induction machines, motor drives,
synchronous generators.
(1b)
I. INTRODUCTION
using
R OTATING machinery is an excellent means for kinetic en-
ergy storage for electromagnetic launch applications due
to the high energy density available in spinning rotors and fly-
wheels. Typical machines used for this purpose fall in the gen-
eral class of synchronous machines with a rotating dc excitation
winding and potentially other short circuited windings, called II. EXPERIMENTAL SETUP
“damper” or “compensation” windings. During the rapid dis-
charge, it is important to have accurate information about the in- A. Digital Control System
stantaneous values of the voltages and currents of the machine in Rotational transformation is widely used in precision control
order to control the discharge process properly. In electromag- of industrial motors—mainly induction motors. In order to es-
netic launch operations, not only the amplitudes but also the fre- tablish the limitations of this technique with currently available
quency of the voltages and currents are changing rapidly. If the hardware, an experimental setup, using an Analog Devices [1]
voltages and currents are modeled as rotating space vectors, in- Motion Control Coprocessor type ADMC201 designed for fast
stantaneous amplitude and phase information can be used to pre- rotational transformations coupled to a Motorola HC12A4 mi-
cisely describe all quantities. Rotational transformations of the crocontroller, was assembled. The ADMC201 has a digital ref-
voltages and currents can be used to obtain accurate, real-time erence transformation module, 12-bit PWM generators as well
information of the vector quantities. In a rotational “back” trans- as 12-bit A/D converters with simultaneous sampling, which is
formation (1b), the ac voltages and currents are transformed to synchronized to the PWM switching events. The ADMC201 has
dc values, were the amplitude represents the magnitude of the a bidirectional 12-bit data bus for normalized digitized signals
space vector and the instantaneous transformation angle repre- in various reference frames as well as 12-bit rotation angle data.
sents the phase angle. Rotational transformations can be per- The HC12A4 processor, operating in expanded wide mode, was
chosen because of its externally available 16-bit wide, nonmul-
Manuscript received January 14, 2002. This work was supported under a tiplexed data and address bus and build in address decoders for
grant to provide real-time instrumentation support for transient operation of memory expansion. This means that data can be exchanged be-
AC-Alternators by the Institute for Advanced Technology at the University of tween the HC12A4 and the ADMC201 in a single read or write
Texas at Austin.
M. Giesselmann and B. McHale are with the Department of Electrical and instruction. The ADMC201 is integrated into the address space
Computer Engineering, Texas Tech University, Lubbock, TX 79409 USA of the HC12A4 such that the registers of the ADMC201 appear
(e-mail: Michael.Giesselmann@ttu.edu; Brent.McHale@ttu.edu). to be internal HC12 registers with a full 16 (12)-bit data path
M. Crawford is with the Institute for Advanced Technology, University of
Texas, Austin, TX 78759 USA (e-mail: Mark_Crawford@iat.utexas.edu). for full speed read/write access. Also, the interrupt output of
Digital Object Identifier 10.1109/TMAG.2002.806418 the ADMC201 was connected to the HC12 IRQ interrupt line,
0018-9464/03$17.00 © 2003 IEEE
344 IEEE TRANSACTIONS ON MAGNETICS, VOL. 39, NO. 1, JANUARY 2003
Fig. 1. Schematic for ADMC 201 daughter-board for the HC12A4 processor.
to enable “conversion-complete” interrupts, etc. To implement generate the daughter-board. The Design Center was also used
the integration, a daughter-board was designed that fits onto the to design the programmable logic array (PALCE20V8-25PC)
expansion ports of the HC12A4 mother-board. Fig. 1 shows a shown on the right side of the schematic in Fig. 1. The logic
schematic diagram of the daughter-board, which was created incorporated into the device is shown in the block above. This
using the professional version of PSpice [3] Design Center, Ver- IC generated the appropriate read/write timing signals for inter-
sion 8.0. facing the ADMC201 to the HC12A4. Fig. 2 shows a picture
The Design Center tightly integrates the schematic capture of the daughter-board mounted on the expansion ports of the
program with a circuit board layout program, which was used to HC12A4 board.
GIESSELMANN et al.: FAST, REAL-TIME MONITORING OF ROTATING MACHINES 345
B. Power Electronics the right bottom of Fig. 3). The current sensors are closed loop
In order to test the system, a three-phase inverter was de- hall-effect type devices requiring only a 5 V supply. The output
signed which was used to drive an induction motor with a ro- signal is centered around 2.5 V. The sensors are measuring two
tational position encoder. The PWM generation block on the of the three balanced motor currents, which the ADMC201 can
ADMC201 is used to generate the drive signals for all 6 IGBTs transform into an appropriate set of three currents before per-
of the inverter. The inverter was build using the highly integrated forming a reference frame transformation. To test the rotational
Isolated Gate Bipolar Transistor (IGBT) modules of the Mini- transformation capability of the ADMC201, an induction motor
SKiiP (SemiKron integrated intelligent Power) series made by fitted with a rotational encoder was connected to the output of
Semikron, Inc. [2]. These modules are pressure-mount on the the inverter. A picture of the motor and the encoder is shown in
lower side of a circuit board that holds the drive electronics. Fig. 4.
The SKiiP module contains a three-phase diode rectifier, a three-
phase IGBT inverter, and an additional IGBT for absorbing en- C. Rotational Encoder
ergy regenerated into the dc bus during motor braking events. In order to perform rotational transformations in synchronous
A six-channel three-phase driver, model IR2132, was used to machines, the rotational angle of the rotor must be known. Al-
control the IGBT inverter. An additional single-channel PWM though there are several control schemes known as “Speed-Sen-
generator/driver was added to control the braking transistor. A sorless Control” for commercial machines, [4]–[6] electromag-
picture of the complete circuit board is shown in Fig. 3. The netic launch applications typically would require rotational en-
circuit board also holds two current sensors made by LEM (on coders to measure the rotor position. Here, the advantages of
346 IEEE TRANSACTIONS ON MAGNETICS, VOL. 39, NO. 1, JANUARY 2003
Fig. 5. Gray code (top four traces) and binary code (bottom four traces) for 16
steps.
all the way to the least significant bit (LSB, bottom trace). The
increasing delay is due to the fact that according to the con-
version algorithm, which is given by (2), the result for each bit
depends on the result of the next-higher bit
(2)
APPENDIX
Gray Code Conversion Routine in Assembly for estimation
of speed-up factor through hardware conversion.
Fig. 8. Timing-diagram for hardware-based Gray code converter.
GRAY: LSRD ;Logical Shift Right Accu D; 0 MSB
EORA 0,SP ;EXOR Shifted Accu A with A on Stack
to convert the digital signal for display on an oscilloscope. The
EORB 1,SP ;EXOR Shifted Accu B with B on Stack
data transfer to the D/A converter was running at a clock speed
DEC 2,SP ;Decrement Loop Counter
of 1 MHz.
BNE Gray ;Iterate one more time if not zero
The data shows the change of the ID component during two
LEAS 3,SP ;Deallocate Stack Space
consecutive rapid load changes on the motor, where both the
RTS ;Return from Subroutine
magnitude of the current is increasing and the phase shift is
changing as well. After the sharp increase, the motor current
decreases as the motor speeds up. The noise is due to the fact that REFERENCES
the current is less than 10% of the rated current of the current [1] Analog Devices, Inc., Corporate Headquarters, Norwood, MA [Online].
sensors. Available: http://www.analog.com/
The Gray-code position sensor in combination with the hard- [2] SEMIKRON Inc., Hudson, NH [Online]. Available:
http://www.semikron.com/semineu/index.html
ware decoding network, consisting of 11 EXOR functions con- [3] Cadence PCB Systems Division, Portland, OR [Online]. Available:
tained in three logic ICs, delivers real-time position information. http://pcb.cadence.com/
The data on the output of the sensor is latched (frozen) via an [4] A. M. Trzynadlowski, The Field Orientation Principle in Control of In-
duction Motors. Norwell, MA: Kluwer, 1994.
I/O port of the HC12A4 and read during the next command, [5] D. W. Novotny and T. A. Lipo, Vector Control and Dynamics of AC
which is one clock cycle later. In the meantime, the entire code Drives. New York: Oxford, 1996.
conversion has taken place. Fig. 8 shows an oscillogram taken [6] M. Giesselmann and D. Eccleshall, “Modeling of a compulsator and
railgun system,” IEEE Trans. Magn., vol. 37, pp. 129–134, Jan. 2001.
on the output of the hardware converter. This graph shows the [7] BEI Industrial Encoder Division, Goleta, CA [Online]. Available:
signal transitions from the most significant bit (MSB, top trace) http://www.beiied.com/