Docsity

PID Control Scheme for Constant Voltage Output from a Synchronous Machine, Study Guides, Projects, Research of Electrical and Electronics Engineering

Partial preview of the text

Download PID Control Scheme for Constant Voltage Output from a Synchronous Machine and more Study Guides, Projects, Research Electrical and Electronics Engineering in PDF only on Docsity!

ECE 345 Senior Design Project Report

Self-Regulating Alternator

By

Charlie Wolfe

and

Garry Vondrasek

April, 2000

TABLE OF CONTENTS

    1. ABSTRACT……………………………………………………………...…...... PAGE
    1. INTRODUCTION……………………………………...…………………...…..
    1. OBJECTIVES…………………………………….…………..…………...…...
    1. DESIGN…………………………………...…….………………………...……
    1. DESIGN MODIFICATIONS ……………………………………..…..….....…
    1. COST ANALYSIS ……………….……………………………..………...…...
    1. SYSTEM PERFORMANCE…………………………………………………..
    1. INITIAL TESTING……………….……………………………………...…….
    1. TESTING AND VERIFICATION………………..……………..…………….
    1. TOLERANCE CALCULATIONS………………………………….……...….
    1. ADDITIONAL TESTING……………………………………….…….……….
    1. CONCLUSIONS……………………………………..………………..…...….

regulating a relatively small signal—the field (rotor) current of a synchronous

machine, we proposed to control a much larger signal—the output voltage. The

inspiration for the idea came from the understanding of how massive utility power

generators control their output voltage via use of synchronous excitation control.

3. Objectives

As alluded to above, the purpose of the project was to create a system that

provides a constant three-phase AC output voltage at or near 5 volts, depending

on system response range. The synchronous motor we used operates normally

at 240 Volts, but for safety reasons as well as simplifying the circuit design, we

chose to scale down the voltage to less than 10 Volts. Tolerances of less than

5% are sought as the shaft speed is manually varied between 750 – 1500 RPM.

We proposed to use a Proportional-Integral-Differential (PID) control scheme to

send a command signal to a remotely controlled variable DC power supply which

in turn energizes the field winding of the synchronous machine’s rotor. This

allows us to control and vary the machine’s magnetic field as necessary. Stated

formally, the system disturbance is the shaft speed which we manually control via

the DC motor, and the control variable is the synchronous machine’s output

voltage.

4. Design

The design process was separated into two distinct portions: system

identification and modeling, and PID controller design.

The first step was to identify the control variable, inputs and outputs, as well as

picking our sensors for the controller. At this stage it was necessary to do

system identification to find a transfer function for the motor-generator pair. The

transfer function relating output voltage to the field current is found in Eq. 1, and

K was determined to be 0.4 Henries. Refer to^ Initial Testing^ section.

OUT F

V  K  I (1)

The overall system block diagram is shown in Fig. 1.

OUT

V

F

I

C

V

Fig. 1. Control Scheme Block Diagram

The PID control system block diagram is illustrated in Fig. 2 and implements the

command function of Eq. 2.

 

      dt

de V K e K e dt K C P I D (2)

V OUT

DC Motor Synchronous

Machine

Variable

DC Power

Supply

PID Controller

The frequency-domain transfer function for the integrating op-amp circuit is

described by Eq. 4 and the time-domain transfer function in Eq. 5.

 

IN FB

I sR C

H s

1 ( ) (4)

V t dt

RC

V t O I

()

1 ( ) 



 

   (5)

For a differentiating op-amp circuit, we simply trade the positions of the resistor

and capacitor. However, for reasons to be explained later, we opted not to

implement a differentiating term in our controller. Therefore the controller will

now be referred to as a PI controller and we will not present the transfer

functions.

For a detailed view of the entire PI controller circuit, refer to Fig. 5.

5. Design Modifications

Not until quite late in the design process did we realize that we needed to rectify

the signal coming from the generator ( VOUT^ ). The fact that had been overlooked

was that VREF^ was a DC signal, and we had to subtract VOUT^ from it. Naturally,

for the subtraction to be meaningful, the two signals must both be either AC or

both DC. Thus far, we had not considered needing any form of rectification.

Our first attempt to build a rectifier failed for reasons unknown. We attempted to

build a precision AC-DC converter based on a circuit from an Analog Devices

catalog of Linear Circuits. The second attempt was a half-wave rectifier simply

using a diode in series with a parallel combination of a resistor and a capacitor

(for ripple-smoothing). This worked very well for us, with no appreciable ripple, to

our great surprise! The rectifier circuit is identified in Fig. 5.

The first attempt to build the PI controller circuit was hampered by our use of

quad op-amps (four op-amps on one DIP-14 chip). This required us to place the

numerous resistors and capacitors in very close proximity to the chip, and all of

the wiring really was a mess. It made signal flow tracing and troubleshooting

nearly impossible. Furthermore, it was nearly impossible to explain it to an

observer and be able to make sense.

Now it will be explained why we opted to use a PI control scheme, deleting the

differentiating term from the original PID control concept. There are two key

considerations. One is that differentiating op-amp circuits are known to produce

noisy signals (as we verified in testing) and require some sort of higher order

filtering (^ n^ ^2 ) which would further complicate the design. Secondly, due to the

relatively massive devices being controlled, the mechanical system naturally

filters out most high-frequency signals (rapid changes in state), which the

differentiator would be used to help mitigate.

Once the circuit was built (on the breadboard), it was interfaced with the motor’s

armature voltage ( VOUT^ ) and the controller’s output signal ( VC^ ) was linked to

A bit of engineering intuition suggested to place a buffer upstream of the

rectification circuit, as reflected in Fig. 5. Since the buffer would be operating on

an AC signal

AC V OUT

ˆ , we were able to neglect the fact that the buffer actually

inverted the signal due to its gain of minus one. The experimenters were quite

impressed with the marked level of improvement after the addition of the buffer

which successfully was able to provide grounding isolation. The actual measure

of performance will be found in the Testing and Verification section.

The next design phase was not essential, but rather cosmetic. It was decided to

implement a printed circuit board (PCB) to showcase the final circuit and to

facilitate testing. The initial prototype PCB circuit performed miserably. We

could not even get a proper signal at the first stage. Several hours were spent

trying to troubleshoot the PCB circuit, and we did locate and fix several errors,

but time was running short and we could not invest anymore time into

troubleshooting.

Rather than waste any more time, it was decided to go back to the very first

stage of design and completely re-route all of the signal flow paths. The original

signal topology was not very carefully mapped and made signal path tracing very

difficult and counterintuitive on the original circuit map. The prototype PCB was

the first time the experimenter had used the PCB design program, EasyTrax and

there were several lessons learned for the second design. The first design used

a 9-pin parallel port as used in computers, but proved to be impractical at the

other end of the cable where banana jacks were most useful. Therefore banana

jacks were installed on the second PCB. Also, all horizontal and vertical tracks

were kept strictly on separate layers. This was the most significant improvement.

Fig. 6 shows the improved signal flow paths. Fig. 7 shows the circuit board

layout. Blue tracks represent tracks on the bottom of the PCB, while the reds are

on the top surface.

3

2

7

4

6

1

5

V+

V-

OUT

OS

OS

V (OUT)

10k

INVERT

3

2

7

4

6

1

5

V+

V-

OUT

OS

OS

10k

10k

SUBTR

3

2

7

4

6

1

5

V+

V-

OUT

OS

OS2 (^) 15k

P-GAIN

10k

10k

3

2

7

4

6

1

5

V+

V-

OUT

OS

OS

5 VDC

10k SUMMER

LED

10k

V (in)

RECTIFIER

3

2

7

4

6

1

5

V+

V-

OUT

OS

OS

3

2

7

4

6

1

5

V+

V-

OUT

OS

OS

10k

100k POT

100k POT

3

2

7

4

6

1

5

V+

V-

OUT

OS

OS

INTEG

10uF

10k

10k 10k

10k

10k

10k

10k

BUFFER INVERT

3

2

7

4

6

1

5

V+

V-

OUT

OS

OS

10k

10k

INVERT

10k

I-GAIN

3

2

7

4

6

1

5

V+

V-

OUT

OS

OS

220uF

Fig. 5. PI Controller Schematic

AC V OUT

ˆ

DC

OUT

V (^) -  

DC

OUT

V VREF

Buff

er

AC  DC

IN

V

Referring to the five circles at the top of Fig. 7, the banana jack plugs are, from

left to right:

AC

OUT

V (^) (from synchronous machine rotor), ground, -12 V, +12 V, and

+5 V.

8. Initial Testing

Determining the synchronous motor constant K from Eq. 1 was accomplished

by applying constant field current to the synchronous machine and increasing the

speed in 50-RPM increments from 200—1200 RPM.

The results are displayed in Fig. 8, which is a plot of Voltage versus. The slope

of the curve, on its linear region, provides the desired constant K^ ^0.^4 H.

Fig. 8. Voltage—Speed Characteristic

Voltage-Speed Characteristic

0

100

200

300

0 500 1000

Omega * I(field)

Volts

Series

9. Testing and Verification

Since the design goals stated were rather simple, the testing phase was

relatively uncomplicated as well. Our goal was to produce a constant voltage

within the stated tolerances and this was accomplished.

Tolerance analysis was based on our initial requirement that the desired voltage

output be tracked within 5% accuracy. System testing provided voltage between

3.89—4.11 Volts, with 4.00 volts as the desired level.

10. Tolerance Calculations

Low Transient High Transient Steady State

  1. 75 %

  2. 00

  3. 00 3. 89 (^100) 

 

   3. 00 %

  1. 00

  2. 12 4. 00 (^100) 

 

  

  1. 25 %

  2. 00

  3. 00 3. 99 (^100) 

 

  

Clearly, the design objective has been met, and exceeded even under fast

transient conditions. Inspection of Fig. 9 shows a plot of voltage versus time

under sharp changes in speed. Speed was manually step-changed from 800

RPM to 1500 RPM as fast as was possible.

Fig. 10. Controller Becomes Unstable

The instability evident in Fig. 10 is the result of having K^ I set at too high of a

value. Notice that after the first time division, the previously stable (but

undamped—marginally unstable) response became unstable as the system was

disturbed by step-changing the rotor speed.

11. Additional Testing

An additional test was performed, although not required by our specifications.

The original project specification did not take into account how the controller and

system would react if mechanical or electrical load was presented to the

synchronous machine. For sake of curiosity, we decided to do exactly that. The

data for this test are displayed in Table 1 below. As the load resistance was

decreased, the output voltage of the synchronous machine decreased. It was

anticipated that the voltage would drop, but we were surprised and a bit

disappointed by how much the voltage dropped as resistance dropped lower and

lower. The test was performed at two speeds: 800 and 1500 RPM. Losses were

worse at higher speeds. The worst deviation from the desired voltage was 19.

percent. Our design criteria was satisfied until RL^ ^250  where voltage

deviated by 4.75 percent.

Figure 10 shows the controller’s output voltage as the generator’s electrical load

is step-increased several times by decreasing the load resistance.

Table 1. VOLTAGE-LOAD DATA

800 RPM 1500 RPM

Voltage R (load) Voltage R (load)

3.99 Infinity 3.99 infinity

current design. Based on our surprising and disappointing results of our optional

load testing, the regulation was not robust as the synchronous generator was

loaded electrically. Had the project performed ideally, the system would have

tracked the desired 4 volt desired output within the same tolerances dictated for

the no-load case upon which the project was based. Nonetheless, the system

worked better than expected, and the team members learned a great deal about

the practical and design aspects of Electrical Engineering and were able to apply

many diverse concepts. It is felt that this method of voltage regulation may hold

some value for commercial applications such as automotive alternators.