Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Notes on Power Electronics - Renewable and Power Electronics Laboratory | ECEN 4517, Study notes of Electrical and Electronics Engineering

Material Type: Notes; Professor: Erickson; Class: Renewable & Power Electronics Laboratory; Subject: Electrical & Computer Engineering; University: University of Colorado - Boulder; Term: Unknown 1989;

Typology: Study notes

Pre 2010

Uploaded on 02/13/2009

koofers-user-4ld
koofers-user-4ld 🇺🇸

10 documents

1 / 14

Toggle sidebar

Related documents


Partial preview of the text

Download Notes on Power Electronics - Renewable and Power Electronics Laboratory | ECEN 4517 and more Study notes Electrical and Electronics Engineering in PDF only on Docsity! ECEN 4517 1 Lecture 5 ECEN 4517/5517 Buck converter Peak power tracker Battery charging ECEN 4517 2 Goals in upcoming weeks This week (Exp. 3, week 2): Finish Exp.3 part 1 with buck converter operating outside with PV panel Start Exp.3 part 2: digital control with the MSP430 microcontroller Next week (Exp. 3, week 3): Demonstrate peak power tracker algorithms outside with converter connected between the PV panel and battery Following week (Exp. 4, week 1): Finish Exp. 3 if not complete Start inverter experiment TI MSP430 Microcontroller MSP430x16x XIN XOUT Divcc DVss 9 AVoc «AN STINMI P2 Pa P4 PSPS —_— —~——-—— LL —p,——___ —— r 7 Rose i Oscillator | ACLK ([6oKB Flash] 2kB RAMP] ADC12 DAcI2 VO Port 12] |10 Port a4 | VO Port 5/6 “ 16 Os, 16 VOs 16 Os xT2IN System > SMCLK | 4akE Flash] | 2KBRAM|| 12-bit 12-Bit with I XT2OUT oc 8 Channels | | 2 Channels Interrupt | 1KB FAM | |<10us Cony] | Voltage out Capability J a mck 8 MHz | | | | Vv MAB, ! | Test MAB, 16-Bit sbi z——||/ | TAG wv | cPu MCB | Incl. 16 Req . r = r ! | Es | | 3B = ES MDB, 16-Bit Bus | 5 [ Bus MDB, 8 Bit I TMS Harchware = | TCK Muttiplier DMA = [7] Watchdog [7] TimerB7 [] TimerAs POR (omparator USARTO USART1 | Controller FAY Timer H SVS A I r MPY, MPYS 7.0C Reg |} 3CC Reg Brownout UART Mode} JUART Mode} TDUTCLK MAGMACS 3Channeis| | 15/16-Bit | | “Shadow SPI Mode | | SPI Mode I TDO/TDI . Reg PC Mode i SS SS I ECEN 4517 5 ECEN 4517 6 Analog-to-Digital Converters • There are eight (multiplexed) A/D channels, labeled A0 through A7 in the pinout diagram. Some of these pins are shared with other functions. • A/D channels A6 and A7 will not be used because their pins are used for D/A outputs instead. • A/D channels A0 and A1 will not be used because the development board hard-wires their pins to the LED and button instead. • A/D channels A2 through A5 are available as usable A/D inputs. • A/D channel A2 is connected to the connector pin labeled P6.2. In the project files, the sampled voltage appears in the variable Adc_data[0]. • A/D channels A3, A4, and A5 are connected to connector pins P6.3, P6.4, and P6.5 respectively. In the project files, the sampled voltages of these pins appear in the variables Adc_Data[1], Adc_Data[2], and Adc_Data[3]. • These inputs convert voltages in the range 0 to 2.5 V. Do not apply voltages exceeding 3.3 V or negative voltages to these pins! ECEN 4517 7 Additional Peripherals Digital-to-analog converter • There are two D/A converter channels: DAC0 and DAC1. • Channel DAC0 is connected to pin P6.6 of the connector. In the project files, the voltage at this pin is controlled by writing to the DAC0 data register DAC12_0DAT. • Channel DAC1 is connected to pin P6.7 of the connector. In the project files, the voltage at this pin is controlled by writing to the DAC1 data register DAC12_1DAT. Timer / PWM • Timer A is used to generate pulse-width modulated waveforms. • In the project files, Timer A output TA1 is used to output a PWM waveform which appears on pin P1.6. The duty cycle of this waveform is controlled by writing to the global variable D0. • In the project files, Timer A output TA2 is used to output a PWM waveform which appears on pin P1.7. The duty cycle of this waveform is controlled by writing to the global variable D1. LED and button • There is a small LED on the development board, which is connected to pin P6.0. The LED can be controlled by writing to bit 0 of peripheral 6. • The pushbutton on the development board is connected to pin P6.1. The state of the pushbutton can be read in a similar manner. ECEN 4517 10 Configuring the I/O Ports • Setup in systemInit, main.c • Configure input/output, e.g. // Port6: // P6.0: LED output // P6.2-6.5: ADC2-ADC5 inputs // P6.6-6.7: DAC0 and DAC1 outputs P6SEL = BIT2 + BIT3 + BIT4 + BIT5 + BIT6 + BIT7; P6DIR = BIT0 + BIT6 + BIT7; ECEN 4517 11 Tutorials Tutorial 1: LED • Getting started with the programming environment (IAR) • Hardware setup, Make/Run code, debugging steps and breakpoints, blink an LED Tutorial 2: PWM controller • Modify the project software files to realize a digital PWM • Utilize ADC, DAC and Timer/PWM peripherals ECEN 4517 12 Exp. 3, Part 2: Digital PWM + V – Power stage board IR2111 driver C1 L1 C2+–Vg 680 µF 25 VDC D1 MBR745 iD iL 2200 µF 35 VDC Q1 NTP18N06 iT + vD – 1kΩ 1/4W 0-35 V iC1 + + +12 V supply + TC427 driver Control breadboard Microcontroller MSP 430 D0 GND Microcontroller eval board Twisted pair +3.3V A2
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved