Académique Documents
Professionnel Documents
Culture Documents
DESIGN TEAM 2
DATE SUBMITTED
MAY 1, 2006
Table of Contents
INTRODUCTION DANIEL HUMBOLT ..............................................................4 DESIGN CONSIDERATIONS RANDY BOWLER .............................................4
Single-Phase Thyristor Controlled Rectifier Randy Bowler.................................................................. 4 Three-Phase Fully Controlled Converter with IGBTs Randy Bowler.................................................. 5 Boost Regulator Randy Bowler ................................................................................................................ 7
DESIGN ROADBLOCKS (BOOST CHOPPER) DYLAN GOERTZ...................8 FINAL TOPOLOGY RANDY BOWLER ..........................................................11
AC Controller Randy Bowler ................................................................................................................. 11 Bi-Phase Rectifier Dylan Goertz ............................................................................................................ 13 Filter for Limiting Ripple Daniel Humbolt ........................................................................................... 14
SPECIFICATIONS DYLAN GOERTZ..............................................................23 RESULTS AND DATA DYLAN GOERTZ AND AMBIKA SHAH ....................23
Independent of Load Criteria Dylan Goertz and Ambika Shah ......................................................... 23 Bipolar Voltage Dylan Goertz ................................................................................................................ 25 Efficiency Randy Bowler ........................................................................................................................ 26 Ripple Calculations Dylan Goertz.......................................................................................................... 27 Current Ripple Dylan Goertz................................................................................................................ 27 Voltage Ripple Ambika Shah ............................................................................................................... 28
CONCLUSIONS DANIEL HUMBOLT .............................................................29 FUTURE WORK AMBIKA SHAH AND DYLAN GOERTZ..............................29 REFERENCES ...................................................................................................30 APPENDIX A STATUS REPORTS .................................................................31 APPENDIX B ADVISOR MEETING MINUTES ...............................................36 APPENDIX C - BUDGET....................................................................................49 APPENDIX D DC POWER SUPPLY SPECIFICATIONS ................................50 APPENDIX E PIC CODE.................................................................................51 APPENDIX F OTHER FIGURES .....................................................................53 APPENDIX G LABVIEW GRAPHS .................................................................54
Figure 1 Single Phase Thyristor Controlled Rectifier The mathematical analysis for this type of circuit is derived from the following equations: Vdc =
1 Vm Vm Vm sin t d (t ) = 2 [ cos t ] = 2 (1 + cos ) 2
(1)
The average output voltage reaches its peak when = 0 and the maximum output voltage Vdm is
Vdm =
Vm
(2)
Van = Vm sin t
2 Vbn = Vm sin t 3
(3)
(4)
(5)
(6)
(7)
(8)
(9)
The maximum average output voltage for delay angle, = 0, is: Vdm = 3 3 Vm (10)
The normalized average output voltage is: Vn = cos The rms value of the output voltage is:
Vrms = 3 Vm 1 3 3 + cos 2 2 4 (12)
(11)
When the switch is closed for time t1, the inductor current rises and energy is stored in the inductor L. If the switch is opened for time t2, the energy stored in the inductor is transferred to a load through diode D1, and the inductor current falls [1]. When the converter is turned on, the voltage across the inductor is Vl = L di dt (14)
I =
Vs t1 L
7
(15)
V0 = Vs
1 1 k
(16)
With a resistive load, the load current and the load voltage pulsates. An output filter is required to smooth the output voltage [1]. A typical step-up arrangement is shown in Figure 3 with a capacitor across the load. With this type of circuit arrangement the output voltage is continuous, and V0 becomes the average value Va. The average output voltage then becomes
Va =
Vs 1 k
(17)
faster than having it milled and soldered. We tried to simulate the boost chopper using International Rectifiers PSpice model which has since been removed from their website for unknown reasons [4]. We were unable to get this model to work even after following the instructions given. For construction, we soldered all of our components into our perforated board circuit and used 10 gauge wire for large currents and 12 gauge wires elsewhere, as shown in Figure 7. Our first attempt used a methods inductor for Lbst, shown in the datasheet schematic [2]. After ramping up the circuits input, the device first failed around 40 VAC input. We knew it failed because our IR1150 chip was drawing a lot more current from our power supply than it was supposed to according to [2]. We found that power and ground pins had shorted on the chip. After testing our circuit for errors, we found that there was around a 20 V voltage drop across this inductor. Our assumptions were that we exceeded the current capacity of the inductor, therefore we purchased a toroidal inductor from DigiKey Inc., capable of handling up to 10 A of current. We replaced the IR1150 and made additional changes to make the gate of the IGBT as close to the gate driver chip as possible. The next time we reached around 90VAC, the gate driver charged up to around 190 Volts. Since at this time we did not have a capacitor with a voltage rating of higher than 200 V, we could not further increase the input voltage. This conclusion allowed us to construct a printed circuit board (PCB) and buy capacitors capable of handling this voltage.
Next, we calculated if a PCB could handle 30A of current. After talking with Dr. Cheville [5] and referencing Horowitz and Hill [6] we calculated that 1.6 inch traces should handle 30A with a 1oz copper board. We searched for thicker copper because if we doubled the thickness to 2oz, the trace width necessary would be reduced by a factor of two. We were unable to find thicker PCB copper in the ECEN part shop and all
sources online required a minimum purchase of 10 boards. Next, we purchased surface mount components that were more precise than the perforated board through-hole components. At about 40 VAC input we blew the chip and once again power and ground were shorted on the gate driver chip. After this, we made an additional board that could be jumpered to the main board (Figure 8) in order to limit the time needed to re-mill the entire PCB. We tried many other slight modifications, but overall none were successful.
We decided to make the traces on our circuit smaller because in the PCB layout section of [3] it reads Parasitic inductance resulting from long trace length in the power path can introduce noise spikes which can deteriorate performance to unacceptable levels. It also stated, These spikes can decrease reliability of power devices and if severe enough, can be destructive to the point of catastrophic failure of the devices. Besides making the traces smaller on our next attempt (Figure 9), we also changed some components. We also added decoupling capacitors between power and ground on the gate driver so as to minimize any possible noise pickup due to excessive trace lengths [3]. We also added a 15V zener diode to the power pin of the devices because it was not internally clamped [2]. When testing this device we achieved the necessary voltage up to a certain point. However, when the device drew enough current the smaller traces were now not sufficient, and the traces leading to our current sensor blew. Due to closing deadlines, we were forced to switch to our backup plan of a bi-phase rectifier.
10
We believe the reasons for the devices failure deals with the trace sizes, noise in the circuit, and our limitation of copper thickness. Given more time, we would have experimented with slightly larger traces with the included zener diode and decoupling capacitors. We believe this would limit any current or voltage spikes from reaching the pins on the gate driver and thus not destroying it. Thicker copper would have been useful as we could be confident about having short trace widths, which could better handle the current and limit noise. We did not want to finalize the working perforated board boost chopper due to sloppy wiring and safety concerns when placing the device inside our entire project casing. It also worked much less reliably than it did during initial testing.
the load to the AC source for a portion of each cycle of input voltage. Because the input voltage is AC, thyristors are line commutated; and phase control thyristors are normally used. Due to line or natural commutation, there is no need of extra commutation circuitry and thus the circuits for AC voltage controllers are relatively simple. In a half-wave AC controller, one single thyristor and a diode are used to control the output. Delaying the firing angle of thyristor T1 controls the power flow to the load. Due to the presence of a diode D1, the control range is limited and the effective rms output voltage can only be varied between 70.7% and 100%. However, using bi-directional control, and a singlephase full-wave controller to feed a resistive load can prevent the problem of DC input current and the output can have a greater range of control. For this reason, the bidirectional control was chosen for the front half control of the circuit [1]. Figure 4 shows the schematic of the circuit. During the positive half-cycle of input voltage, varying the delay angle of thyristor T1 controls the power flow; and thyristor T2 controls the power flow during the negative half-cycle. The firing pulses of T1 and T2 are kept 180 degrees apart. If v s = 2 Vs sin t is the input voltage, and the delay angles of thyristors T1 and T2 are equal, the rms output voltage can be found from
1 sin 2 V0 = Vs + 2
1 2
(18)
Utilizing the above equation and a delay angle of /2, the rms output voltage was calculated to be 84.85 volts. This AC controller was then fed to a bi-phase rectifier with a center tap located between two capacitors of equal value to obtain the DC output as described in the next section.
Figure 4 AC Controller
12
Because there is no DC current flowing through from the AC controller, there is no DC saturation back to the motors lab source that was used to supply the circuit. The mathematical analysis of the circuit can be derived utilizing the following equations: The average output voltage is Vdc = 2Vm
(19)
(21)
Irms =
Vrms R
(22)
13
PF =
Pac VA
(23)
Figure 6 shows a schematic of the circuit as a system designed to convert a sinusoidal AC input into a bipolar DC output. The software control of the system is described later in this documentation.
The bi-phase rectifier was relatively easy to construct. We used two equal 680uF capacitors supplied from spare part shop parts. When testing this device independently we inputted a full 120VAC and achieved an output voltage of 340V DC. At first glance, it appears that this device triples the AC input, but it actually doubles the peak AC voltage. Thus, it doubles 169VAC peak input, which matches the 340V DC output [7]. This device was constructed on perforated board since it could not have been built on a PCB because the capacitors could not have been fully secured.
(25)
14
From the filter capacitance value calculated in Equation 25 and a necessary ripple factor of 10% for our specifications, calculations for the filter inductor can be derived. This was calculated as shown in Equation (26) [1]. RF = 2 1 = .1 2 3 ((4f ) L filter C filter ) (26)
Using the filter capacitance value from Equation 25, the value needed for the filter inductance is calculated in Equation 27. RF = 2 1 = .1 2 3 ((4f ) L filter 88.4F )
L filter = 9.378mH
(27)
Using this data, a filter inductance of 10mH was used. However, from old power supply parts, a filter capacitor of 860F could be obtained. This changes our ripple factor according to Equation 28.
RF = 2 1 = 9 .6 % 2 3 ((4f ) 10mH 860 F )
(28)
Therefore, using the 860 F filter capacitor and the 10mH inductor, the power supply produced a mathematical 9.6% output ripple voltage, thus meeting the specification of a 10% ripple voltage. Experimental ripple calculations were much smaller than this value, however, due to the affect the AC controller had on the bi-phase rectifier in the DC power supply. The Data and Results section details the experimental calculations of the ripple voltage and ripple current.
15
to raise or lower its output voltage. Code size was also not an issue with our design, as the PIC16F876A had more than enough memory for our objectives. Total memory used on our final PIC covered less than 10% of the available overall memory according to the PIC-C compiler. In order to implement our independent of load specification, the PIC microcontroller must read in the desired output voltage from LabVIEW, read in the actual output voltage, and compare these values in order to adjust the output voltage to the AC controller. This makes it possible to control the AC controller, thus allowing our power supply to vary the output DC voltage. If the actual output voltage is lower than the desired output voltage, then the PIC will increase the 0-5 V input control for our design until the desired voltage and actual voltage are within +/- 1.37 V. In the reverse scenario, it will also decrease the output voltage if the actual output voltage is higher than the desired output voltage. This value of 1.37 V corresponds to an increment of one binary bit for the PIC, and is related to the precision of the PIC as described by the following. The PIC16F876A had 8 bits of precision for analog to digital conversion. This means that the precision on the PIC can be found using Equation 29. 5V = 19.5mV 2 8bits (29)
From Equation 29, the precision on the PIC in the 0-5 V range is limited to 19.5 mV. However, this precision changes on the overall output for the power supply because in order to read the actual output voltage of our power supply on the PIC, a voltage divider must be implemented (Figure 7).
This voltage divider essentially scales 350 V to 5 V, 175 V to 2.5 V, etc. Since this creates a scale factor of 70, the actual precision on the PIC calculated from Equation 29 must be amplified by a scale factor of 70 as well. This yields a value of 1.37 V of
16
precision on the output of the power supply. Therefore, the ideal mathematical range that the PIC can control the output voltage is by +/- 1.37 V. While only the ratio of R1 and R2 shown in Figure 7 determines the scale factor of 70, the high resistance values used in the voltage divider are imperative for limiting current. Since the PIC acts as a high impedance, current induced from the voltage divider will not harm the PIC, but high currents through this voltage divider will result in an unnecessary loss of current on our output load. Since this would reduce the overall efficiency of the design, high resistance values were used to limit the current on the voltage divider to no more than a few hundred A, as shown in Figure 7. The only detrimental scenario for the PIC would occur from a voltage greater than 5 V, so the large value of R1 and comparatively smaller value of R2 help protect against this as well. Since the output to the AC controller must be an analog voltage between 0 V and 5 V, the PIC must output an analog voltage instead of a digital value. In order to accomplish this, pulse width modulation (PWM) was used. This technique is utilized to generate a series of pulses of fixed frequency where the duty cycle can be adjusted to generate an output voltage proportional to the average time spent in the HIGH state and LOW state respectively. This concept is displayed in Figure 8. By using a small capacitor as a low pass filter on the output pin of the PIC, the PWM controlled signal will generate the desired analog voltage to the AC controller. The code for the entire PIC microcontroller is shown in Appendix E.
17
worked in all simulation purposes, and would have worked for our design had we not miscalculated the amount of current that would be flowing to our DAQ card. The maximum amount of current supported by the DAQ card is 270 mA [9]. Since our power supply drew 320 mA of current, we did not connect our design to the DAQ card.
The equation for calculating the output voltage using the voltage divider is shown in Equation 31. Vactual = (Vdivider ) 70 (31)
The power, therefore, was calculated using Equation 32. Pactual = Vactual I actual (32)
A simulated version of the visual interface for the LabVIEW vi is shown in Figure 9.
Figure 9 LabVIEW VI
18
The final feature provided by the visual interface is allowing the user to input a desired 0-5V input to the PIC, which then sends the corresponding control voltage to the AC controller. This control is implemented with a virtual knob, as shown in Figure 9.
Another important feature implemented with the DAQ card is the ability for fine tuned calibration. Using the LabVIEW interface, the DAQ card was calibrated so our 5 V signal used to power the PIC were nearly exactly equal to 5 V on the DAQ card. This allowed for minimal error between what the PIC determined a specific voltage was and what the DAQ card determined this same voltage was.
20
Table 1 Thermal and Mechanical Specifications for Diode Heat Sink [12]
Utilizing the information from this table and the heat sink calculations found in Horowitz and Hill [6], the heat sink requirements can be calculated with the following formula. TJ = T A + ( Jc + CS + SA )P Where TJ = Junction Temperature TA = Ambient Temperature Jc = Thermal resistance from junction to case CS = Thermal resistance from case to heat sink SA = Thermal resistance from heat sink to ambient P = Power being dissipated As an additional safety factor, the heat sink was oversized to ensure heat dissipation. (33)
21
E=
1 * CV 2 2
(34)
Using Equation 34, the energy of individual capacitors used within the system is calculated and is shown in Table 2.
Capacitance (microfarads) 1500 Voltage (Volt) 160 Energy (Joules) 19.2
Biphase Rectifier Top 1500 160 19.2 Biphase Rectifier Bottom 680 160 8.704 Bipolar Top 680 160 8.704 Bipolar Bottom 860 320 44.032 Filter Capacitor Table 2: Energy of individual capacitors used within the system
The total energy released when the relay acts as closed circuit is found in Equation 35.
(35)
According to [13], in our design the output voltage is comparable to that of a defibrillator, however, standard defibrillators utilize energy of around 360 to 400 J, depending on the model. The energy released from our design is found to be a maximum of around 100 J. While this energy output is still high and could be extremely harmful to a user, it is not comparable to the shock issued from most defibrillators used today.
22
23
Ac Input Current ( Amps) 4.11 2.66 2.767 2.3754 2.1232 4.371 2.6418 2.3422 2.7128 2.2946 4.67 2.8412 2.7333 2.7583 2.3576 4.9176 2.8946
AC Input Voltage (Volts) 119 120 120.26 121 121.322 120.475 121.14 121.814 121.7 122.456 119.022 120.45 120.703 120.666 122.53 118.536 121.126
Output Current (Amps) 1.135 0.9976 0.9058 0.7072 0.55 1.3889 1.1928 1.084 0.8729 0.5767 1.6509 1.4443 1.3041 1.0716 0.8268 2.1227 1.8488
Output DC Voltage (Volts) 314.6 274 248.76 196.03 152.56 316.397 272.689 247.884 194.093 130.94 310.667 273.565 246.291 202.247 153.418 307.362 269.9
Positive DC Voltage (Volts) 158.42 139 126.041 100.38 78.4506 159.542 137.723 125.124 99.2381 66.8699 156.983 138.531 124.561 102.722 78.7 155.486 136.322
Negative DC Voltage (Volts) -160 -139.9 -126.49 -99.181 -77.452 -161.39 -139.41 -126.87 -99.862 -68.672 -157.66 -139.23 -124.99 -100.42 -80.817 -155.97 -137.56
250
199.6
150
24
160
120
100
80
25
160
120
100
80
Pdc = Vdc I dc = 315.204 1.1331 = 357.16 W PF = 0.9 Pac = Vrms I rms PF = 119.56 4.11 0.9 = 442.25 W
However, utilizing various readings made from LabVIEW and having them verified by the head motors T.A., Qamar H. Arsalan, the calculations determined that the power supply was producing more output power than input power. This is of course impossible.
26
Attached in Appendix G is a copy of the LabVIEW print outs, as well as the data shown in Table 5. The efficiency calculations for this data are shown below. Vac 120.7 Iac Vdc Idc 2.73 246.3 1.3 Table 5 LabVIEW Data for Efficiency 2 PF 0.7789 (40) (41) (42) (43)
Pdc = Vdc I dc = 246.31.3 = 320.19 W PF = 0.7789 Pac = Vrms I rms PF = 120.7 2.73 0.7789 = 256.66 W
Measurements were also made with the Fluke and hand-held meters to verify the voltage and current readings that were obtained from LabVIEW. These readings were almost identical. A power meter was not available to confirm the power input and power output, making it virtually impossible to verify the calculations used to obtain the efficiency of the system. However, Qamar confirmed what was being read and calculated was correct and also impossible as was indicated previously. Further testing would be required to confirm or deny the readings and calculations that were used to calculate the efficiency of the power supply.
(44)
27
28
29
REFERENCES
[1] Muhammad Rashid, Power Electronics. New Jersey: Pearson Prentice Hall, 2004. [2] International Rectifier, IR1150, International Rectifier, 2005. [3] International Rectifier, Appl. Note 1077, pp. 18-20. [4] Internationals Rectifier, "International Rectifier - The Power Management Leader:," April 2006, http://www.irf.com/indexsw.html [5] Dr. Cheville (private communication), 2006. [6] P. Horowitz and W. Hill, The Art of Electronics. Cambridge, UK: Cambridge University Press, 1980, 1989 [7] Dr. Yumin Zhang (Fischer) (private communication), 2006. [8] Society of Robots, "Society of Robots: How to Build a Robot Tutorial for Beginners and Advanced.:,"April 2006, http://www.societyofrobots.com/microcontroller_tutorial.shtml [9] National Instruments, Low-Cost E Series Multifunction DAQ, National Instruments, 2004. [10] Allegro MicroSystems, Current Sensor: ACS750xCA-075, Allegro MicroSystems, 2005. [11] National Instruments, NI PCI-6024E , April 2006, http://sine.ni.com/images/products/us/0dqc247al.jpg [12] International Rectifier, 40HF(R) Series-Standard Recovery Diodes, International Rectifier, 2004. [13] Wikimedia Foundation, Inc, "Automated external defibrillator - Wikipedia, the free encyclopedia:," April 2006, http://en.wikipedia.org/wiki/Automated_external_defibrillator [14] Microchip, PIC16F87XA Data Sheet, Microchip Technology Inc., 2003.
30
31
32
Status Report #2
33
34
Status Report #3
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Appendix C - Budget
TOTAL
470.37
49
Maximum Value +150V at full input +10% of output voltage at full voltage
Minimum Value Voltage Input 100VAC Power Output N/A Frequency 60 Hz nominal Everything is based on ambient temperature of 25 C
Signatures:
____________________
__________________
____________________ ____________________
50
51
Va = Vref*(#binary)/(2^8) vdivider_in = read_adc(); set_adc_channel(4); delay_us(250); knob_in = read_adc(); set_adc_channel(2); delay_us(250); LabVIEW_in = read_adc(); if (input(PIN_A1)) { control_out = LabVIEW_in; } else { control_out = knob_in; } if (control_out < vdivider_in) { control_out=control_out+1; } else { control_out = control_out-1; } // Sets the pulse width for the proper output voltage set_pwm1_duty(control_out); // A delay is added to steady the output delay_us(250); } // End of while loop } // end main
52
LabVIEW Code
53
54
55