You are on page 1of 13

UNIVERSIDAD DE GUADALAJARA

CENTRO UNIVERSITARIO DE CIENCIAS EXACTAS E INGENIERIAS

Electronica de potencia
Reporte de practica
5: C ONVERTIDOR DC-AC

Alumno:
N AVARRO H ERNANDEZ D ULCE V ICTORIA
Codigo:
214518886
Seccion:
D01

Profesor:
M.C. M ANUEL S ALVADOR B EETHOVEN B RAVO M EDINA

1 DE NOVIEMBRE DE 2017
5: Convertidor DC-AC Electronica de potencia

1 Objetivo
Emplear los conocimientos obtenidos en clase para desarrollar un regulador de potencia basado en la
modulacion por ancho de pulso (PWM) aplicando los principios de los convertidores DC-DC.

2 Marco teorico
2.1 Convertidores CD-CD[1]
Un convertidor cd-cd convierte en forma directa de cd a cd y se llama simplemente convertidor de cd.
Se puede considerar que un convertidor cd es el equivalente en cd de un transformador de ca, con una
relacion de vueltas que vara en forma continua. Al igual que un transformador, se puede usar para subir
o bajar el voltaje de una fuente. Los convertidores de cd se usan en los reguladores de voltaje de cd, y
tambien se usan en conjunto con un inductor para generar una corriente de cd, en especial para el inversor
de fuente de corriente.
Con la figura 1.se puede explicar el principio de operacion. Cuando el interruptor SW, llamado interruptor
periodico, se cierra durante un tiempo t1 , aparece el voltaje de entrada V s a traves de la carga. Si el
interruptor permanece abierto durante un tiempo t2 , el voltaje a traves de la carga es cero. Las formas de
onda del voltaje de salida y la corriente de carga se ven en la figura 2. El interruptor de este convertidor se
puede implementar usando

Transistor de union bipolar de potencia (BJT),


Transistor de efecto de campo de metal oxido semiconductor, de potencia (MOSFET),
Tiristor de disparo en compuerta (GTO)

Transistor bipolar de compuerta aislada (IGBT).


Los dispositivos practicos tienen una cada finita de voltaje, que va desde 0.5 a 2v. El voltaje promedio
de salida se define con:
Z t1
t1
v0 dt = Vs = f T1 Vs = kVs (1)
0 T
y la corriente promedio es de carga es
Va Vs
Ia = =k (2)
R R
donde
T Periodo de conmutacion
k = t1 /T Ciclo de trabajo del interruptor

f Frecuencia de conmutacion
El valor rms del voltaje de salida se determina con
!1/2
Z kt
1
Vo= v02 dt) = (k)1/2 Vs (3)
T 0

Suponiendo que el convertidor no tiene perdidas, la potencia de su entrada es igual que la de su salida, y
es
1 kT 1 kT v02 V 2s
Z Z
Pi = v0 idt = dt = k (4)
T 0 T 0 R R

Navarro Hernandez Dulce Victoria 214518886 D01 1


5: Convertidor DC-AC Electronica de potencia

La resistencia efectiva de entrada, vista desde la fuente es


Vs Vs R
Ri = = = (5)
Ia kVs /R k

que indica que el convertidor hace que la resistencia de entrada Ri sea una resistencia variable igual a
R/k. La variacion de la resistencia normalizada de entrada en funcion del ciclo de trabajo se ve en la figura
3. Se debe notar que el interruptor se podra implementar con un BJT, un MOSFET, un IGBT o un GTG. El
ciclo de trabajo k se puede variar desde O a 1, variando t1 , T of . En consecuencia, el voltaje de salida Vo
se puede variar de 0aVs controlando k, y el flujo de potencia se puede controlar.
1. Operacion a frecuencia constante: la frecuencia del convertidor o de conmutacion, f (o el periodo de
conmutacion 1) se mantiene constante, y se vara el tiempo t1 de encendido. El ancho del pulso se
hace variar, y esta clase de control se conoce como control de modulacion por ancho de pulso (PWM,
de pulse-width modulation).
2. Operacion a frecuencia variable: La frecuencia de conmutacion o de conmutacion f se hace variar.
Se mantiene constante ya sea el tiempo de encendido t1 o el tiempo de apagado t2 . A esto se le llama
modulacion por frecuencia. Se debe variar la frecuencia en un amplio margen para obtener todo el
intervalo de voltajes de salida. Este tipo de control generara armonicas a frecuencias impredecibles,
y sera difcil el diseno de su filtro.

3 Metodologa y materiales
Dado que la fuente de voltaje debe tener un rango de 10V 20V es necesario reducir el voltaje para
poder realizar lecturas analogicas con la tarjeta Arduino, por lo que se conecta a un divisor de voltaje con
resistencias de 10k y 220 de esta manera se tendra un rango de 1,08V a 3,8V .Dichos voltajes seran
convertidos a bits y se utilizan para delimitar margenes de operacion en la tarjeta arduino.
Se realiza un codigo en el IDE de Arduino para regular la modulacion por ancho de pulso (PWM), esta
variacion dependera de la lectura analogica hecha por medio de Arduino. Ademas el programa permite pre-
escalar la frecuencia en la que trabajara el PWM utilizando el comando caseque modifica los contadores
internos para aumentar la frecuencia segun se necesite. Es necesario realizar una operacion para mapeo
en decimales para mayor precision

(d Vi nmin) (Vo max Vo min)


+ Vo min
(Vi nmax Vi nmin)

Se realiza el calculo del ciclo de trabajo basado en la formula


100
K=
Vs2

donde Vs es el voltaje de lectura analogica que corresponde a la fuente. La salida PWM de la tarjeta Arduino
se conecta a la base de un MOSFET de canal tipo P para realizar la funcion de switch, al emisor se conecta
el foco de 12V. Se realiza la conexion del siguiente diagrama

Navarro Hernandez Dulce Victoria 214518886 D01 2


5: Convertidor DC-AC Electronica de potencia

Figura 1: Conexion de la Practica.

Para realizar la conexion mostrada en la figura1 son necesarios los siguientes componentes y equipos.

Tabla 1: Lista de materiales

Cantidad Descripcion
1 Resistencia de 330
1 Resistencia de 220
1 Resistencia de 10k
1 MOSFET IRF9540N(ver A.2)
1 Arduino (ver A.1)
1 Foco de 12V
1 Multmetro
1 Osciloscopio
1 Fuente variable

4 Resultados
Con el osciloscopio fue posible verificar que el voltaje de salida se mantuviese entre los 10V ,5V

Figura 2: Salida con 13.5V en la entrada .

Navarro Hernandez Dulce Victoria 214518886 D01 3


5: Convertidor DC-AC Electronica de potencia

Figura 3: Salida con 15V en la entrada .

Figura 4: Salida con 20V en la entrada .

Fotos de la practica

Figura 5: Conexion Fsica.

Navarro Hernandez Dulce Victoria 214518886 D01 4


5: Convertidor DC-AC Electronica de potencia

Figura 6: Voltaje de entrada en multmetro.

5 Conclusiones
Debido a los errores de cuantificacion del convertidor ADC de la tarjeta Arduino se tienen un error en
la modulacion, ademas en los componentes pasivos utilizados tienen una tolerancia dada, por lo que no
son ideales dicho esto, se anticipa un error en el establecimiento de los voltajes mnimos y maximos a la
entrada de la tarjeta.

Navarro Hernandez Dulce Victoria 214518886 D01 5


5: Convertidor DC-AC Electronica de potencia

.1 Apendices

Codigo 1: Ejemplo de codigo fuente de arduino


1 const int PWMPin = 3; //definimos el pin de salida PWM
2 int pwm; //creamos un puntero para el PWM
3 float K; //la variable del ciclo de trabajo
4 float Vs; //la variable de la fuente variable
5
6 //funcion para variar la frecuencia por preescaler
7 void setPwmFrequency(int pin, int divisor) {
8 byte mode;
9 if(pin == 5 || pin == 6 || pin == 9 || pin == 10) {
10 switch(divisor) {
11 case 1: mode = 0x01; break;
12 case 8: mode = 0x02; break;
13 case 64: mode = 0x03; break;
14 case 256: mode = 0x04; break;
15 case 1024: mode = 0x05; break;
16 default: return;
17 }
18 if(pin == 5 || pin == 6) {
19 TCCR0B = TCCR0B & 0b11111000 | mode;
20 } else {
21 TCCR1B = TCCR1B & 0b11111000 | mode;
22 }
23 } else if(pin == 3 || pin == 11) {
24 switch(divisor) {
25 case 1: mode = 0x01; break;
26 case 8: mode = 0x02; break;
27 case 32: mode = 0x03; break;
28 case 64: mode = 0x04; break;
29 case 128: mode = 0x05; break;
30 case 256: mode = 0x06; break;
31 case 1024: mode = 0x07; break;
32 default: return;
33 }
34 TCCR2B = TCCR2B & 0b11111000 | mode;
35 }
36 }
37 //mapeo en decimales para mayor presicion
38 float mapfloat(float x, float in_min, float in_max, float out_min, float
out_max)
39 {
40 return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min;
41 }
42 void setup() {
43
44 Serial.begin(9600);
45 {
46 pinMode(PWMPin, OUTPUT); // OCR2B indicar ciclo de trabajo
47 }
48
49 void loop() {
50 setPwmFrequency(PWMPin, 32);//llamada de funcion para cambiar frecuencia

Navarro Hernandez Dulce Victoria 214518886 D01 6


5: Convertidor DC-AC Electronica de potencia

51
52 Vs=analogRead(A0);//lectura analogica del voltaje
53 Vs=mapfloat(Vs,0, 720,0.00,20.00); //Decimales
54
55 K=100/(Vs*Vs);// formula para controlar nuestro ciclo de trabajo
56 pwm=255*K;//conversion de ciclo de trabajo a bits
57 analogWrite(PWMPin, pwm);//escritura de salida PWM
58
59 Serial.println(Vs);
60 //Serial.println(K);
61 //Serial.println(pwm);
62
63 }+

A Hojas de datos

A.1. Arduino . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
A.2. IRF9540N . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

Navarro Hernandez Dulce Victoria 214518886 D01 7


5: Convertidor DC-AC Electronica de potencia

A.1 Arduino

Arduino Uno

Arduino Uno R3 Front Arduino Uno R3 Back

Arduino Uno R2 Front Arduino Uno SMD Arduino Uno Front Arduino Uno Back

Overview

The Arduino Uno is a microcontroller board based on the ATmega328 (datasheet). It has 14 digital
input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz ceramic
resonator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything
needed to support the microcontroller; simply connect it to a computer with a USB cable or power it
with a AC-to-DC adapter or battery to get started.
The Uno differs from all preceding boards in that it does not use the FTDI USB-to-serial driver chip.
Instead, it features the Atmega16U2 (Atmega8U2 up to version R2) programmed as a USB-to-serial
converter.
Revision 2 of the Uno board has a resistor pulling the 8U2 HWB line to ground, making it easier to put
into DFU mode.
Revision 3 of the board has the following new features:

1.0 pinout: added SDA and SCL pins that are near to the AREF pin and two other new pins
placed near to the RESET pin, the IOREF that allow the shields to adapt to the voltage provided
from the board. In future, shields will be compatible both with the board that use the AVR,
which operate with 5V and with the Arduino Due that operate with 3.3V. The second one is a
not connected pin, that is reserved for future purposes.
Stronger RESET circuit.
Atmega 16U2 replace the 8U2.

"Uno" means one in Italian and is named to mark the upcoming release of Arduino 1.0. The Uno and
version 1.0 will be the reference versions of Arduino, moving forward. The Uno is the latest in a series
of USB Arduino boards, and the reference model for the Arduino platform; for a comparison with
previous versions, see the index of Arduino boards.

Summary

Microcontroller ATmega328
Operating Voltage 5V
Input Voltage (recommended) 7-12V

Navarro Hernandez Dulce Victoria 214518886 D01 8


5: Convertidor DC-AC Electronica de potencia

Input Voltage (limits) 6-20V


Digital I/O Pins 14 (of which 6 provide PWM output)
Analog Input Pins 6
DC Current per I/O Pin 40 mA
DC Current for 3.3V Pin 50 mA
Flash Memory 32 KB (ATmega328) of which 0.5 KB used by bootloader
SRAM 2 KB (ATmega328)
EEPROM 1 KB (ATmega328)
Clock Speed 16 MHz

Schematic & Reference Design

EAGLE files: arduino-uno-Rev3-reference-design.zip (NOTE: works with Eagle 6.0 and newer)
Schematic: arduino-uno-Rev3-schematic.pdf
Note: The Arduino reference design can use an Atmega8, 168, or 328, Current models use an
ATmega328, but an Atmega8 is shown in the schematic for reference. The pin configuration is identical
on all three processors.

Power

The Arduino Uno can be powered via the USB connection or with an external power supply. The power
source is selected automatically.
External (non-USB) power can come either from an AC-to-DC adapter (wall-wart) or battery. The
adapter can be connected by plugging a 2.1mm center-positive plug into the board's power jack. Leads
from a battery can be inserted in the Gnd and Vin pin headers of the POWER connector.
The board can operate on an external supply of 6 to 20 volts. If supplied with less than 7V, however,
the 5V pin may supply less than five volts and the board may be unstable. If using more than 12V, the
voltage regulator may overheat and damage the board. The recommended range is 7 to 12 volts.
The power pins are as follows:

VIN. The input voltage to the Arduino board when it's using an external power source (as
opposed to 5 volts from the USB connection or other regulated power source). You can supply
voltage through this pin, or, if supplying voltage via the power jack, access it through this pin.
5V.This pin outputs a regulated 5V from the regulator on the board. The board can be supplied
with power either from the DC power jack (7 - 12V), the USB connector (5V), or the VIN pin of
the board (7-12V). Supplying voltage via the 5V or 3.3V pins bypasses the regulator, and can
damage your board. We don't advise it.
3V3. A 3.3 volt supply generated by the on-board regulator. Maximum current draw is 50 mA.
GND. Ground pins.

Memory

The ATmega328 has 32 KB (with 0.5 KB used for the bootloader). It also has 2 KB of SRAM and 1 KB
of EEPROM (which can be read and written with the EEPROM library).

Input and Output

Each of the 14 digital pins on the Uno can be used as an input or output, using pinMode(),
digitalWrite(), and digitalRead() functions. They operate at 5 volts. Each pin can provide or receive a
maximum of 40 mA and has an internal pull-up resistor (disconnected by default) of 20-50 kOhms. In
addition, some pins have specialized functions:

Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial data. These pins
are connected to the corresponding pins of the ATmega8U2 USB-to-TTL Serial chip.
External Interrupts: 2 and 3. These pins can be configured to trigger an interrupt on a low
value, a rising or falling edge, or a change in value. See the attachInterrupt() function for
details.
PWM: 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analogWrite() function.

Navarro Hernandez Dulce Victoria 214518886 D01 9


5: Convertidor DC-AC Electronica de potencia

A.2 IRF9540N

PD - 91437B

IRF9540N
HEXFET Power MOSFET
l Advanced Process Technology D
l Dynamic dv/dt Rating VDSS = -100V
l 175C Operating Temperature
l Fast Switching RDS(on) = 0.117
l P-Channel G
l Fully Avalanche Rated
ID = -23A
Description S
Fifth Generation HEXFETs from International Rectifier
utilize advanced processing techniques to achieve
extremely low on-resistance per silicon area. This
benefit, combined with the fast switching speed and
ruggedized device design that HEXFET Power
MOSFETs are well known for, provides the designer
with an extremely efficient and reliable device for use
in a wide variety of applications.

The TO-220 package is universally preferred for all


commercial-industrial applications at power dissipation
levels to approximately 50 watts. The low thermal
resistance and low package cost of the TO-220 TO-220AB
contribute to its wide acceptance throughout the
industry.

Absolute Maximum Ratings


Parameter Max. Units
ID @ TC = 25C Continuous Drain Current, VGS @ -10V -23
ID @ TC = 100C Continuous Drain Current, VGS @ -10V -16 A
IDM Pulsed Drain Current -76
PD @TC = 25C Power Dissipation 140 W
Linear Derating Factor 0.91 W/C
VGS Gate-to-Source Voltage 20 V
EAS Single Pulse Avalanche Energy 430 mJ
IAR Avalanche Current -11 A
EAR Repetitive Avalanche Energy 14 mJ
dv/dt Peak Diode Recovery dv/dt -5.0 V/ns
TJ Operating Junction and -55 to + 175
TSTG Storage Temperature Range C
Soldering Temperature, for 10 seconds 300 (1.6mm from case )
Mounting torque, 6-32 or M3 srew 10 lbfin (1.1Nm)

Thermal Resistance
Parameter Typ. Max. Units
RJC Junction-to-Case 1.1
RCS Case-to-Sink, Flat, Greased Surface 0.50 C/W
RJA Junction-to-Ambient 62

5/13/98

Navarro Hernandez Dulce Victoria 214518886 D01 10


5: Convertidor DC-AC Electronica de potencia

IRF9540N
Electrical Characteristics @ TJ = 25C (unless otherwise specified)
Parameter Min. Typ. Max. Units Conditions
V(BR)DSS Drain-to-Source Breakdown Voltage -100 V VGS = 0V, ID = -250A
V(BR)DSS/TJ Breakdown Voltage Temp. Coefficient -0.11 V/C Reference to 25C, ID = -1mA
RDS(on) Static Drain-to-Source On-Resistance 0.117 VGS = -10V, ID = -11A
VGS(th) Gate Threshold Voltage -2.0 -4.0 V VDS = V GS, ID = -250A
gfs Forward Transconductance 5.3 S VDS = -50V, ID = -11A
-25 VDS = -100V, VGS = 0V
IDSS Drain-to-Source Leakage Current A
-250 VDS = -80V, VGS = 0V, TJ = 150C
Gate-to-Source Forward Leakage 100 VGS = 20V
IGSS nA
Gate-to-Source Reverse Leakage -100 VGS = -20V
Qg Total Gate Charge 97 ID = -11A
Qgs Gate-to-Source Charge 15 nC VDS = -80V
Qgd Gate-to-Drain ("Miller") Charge 51 VGS = -10V, See Fig. 6 and 13
td(on) Turn-On Delay Time 15 VDD = -50V
tr Rise Time 67 ID = -11A
ns
td(off) Turn-Off Delay Time 51 RG = 5.1
tf Fall Time 51 RD = 4.2, See Fig. 10
D
Between lead,
LD Internal Drain Inductance 4.5
6mm (0.25in.)
nH G
from package
LS Internal Source Inductance 7.5
and center of die contact S

Ciss Input Capacitance 1300 VGS = 0V


Coss Output Capacitance 400 pF VDS = -25V
Crss Reverse Transfer Capacitance 240 = 1.0MHz, See Fig. 5

Source-Drain Ratings and Characteristics


Parameter Min. Typ. Max. Units Conditions
IS Continuous Source Current MOSFET symbol D

-23
(Body Diode) showing the
A
ISM Pulsed Source Current integral reverse G
-76
(Body Diode) p-n junction diode. S

VSD Diode Forward Voltage -1.6 V TJ = 25C, IS = -11A, VGS = 0V


trr Reverse Recovery Time 150 220 ns TJ = 25C, IF = -11A
Q rr Reverse RecoveryCharge 830 1200 nC di/dt = -100A/s
ton Forward Turn-On Time Intrinsic turn-on time is negligible (turn-on is dominated by LS+LD)

Notes:
Repetitive rating; pulse width limited by ISD -11A, di/dt -470A/s, VDD V(BR)DSS,
max. junction temperature. ( See fig. 11 ) TJ 175C
Starting TJ = 25C, L = 7.1mH Pulse width 300s; duty cycle 2%.
RG = 25, IAS = -11A. (See Figure 12)

Navarro Hernandez Dulce Victoria 214518886 D01 11


5: Convertidor DC-AC Electronica de potencia

Referencias
[1] M. Rashid, M. Fernandez, and V. Pozo, Electronica de potencia: circuitos, dispositivos y aplicaciones.
Pearson Educacion, 2004. [Online]. Available: https://books.google.com.mx/books?id=5OXh2vdmCRsC

Navarro Hernandez Dulce Victoria 214518886 D01 12

You might also like