Top Banner
Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz
52

Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Dec 24, 2015

Download

Documents

Kerry Spencer
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

UnpluggedA Solar Powered Audio AmplifierWith DSP Effects

Group 16Gretchen RiveraHugo CastellanosSandra Munoz

Page 2: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Project Description

The “unplugged” sound system is a solar powered audio amplifier that provides the freedom to play music anywhere without having to be attached to the power grid. It provides inputs for not only musical instruments, but also for microphones and an iPod or MP3 player. The “Unplugged” also provides a DSP effects unit which allows the user to choose an audio effect and a respective input to apply the effect to.

Page 3: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Goals and Objectives• Power management system must be capable to fully charge

and run off a battery.• User must be able to pick which of the effects to apply and

which analog input to apply them to.• Inputs for microphone, instrument and line signal• User must be able to continuously monitor parameters such as

battery voltage, solar panel voltage and current by the means of a display.

• Must be portable

Page 4: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Specs and Requirements• Should weight less than 30 pounds• Capable of delivering a minimum output of 30 Watts RMS• Capable of operating for 90 minutes• Each analog input has to be equipped with an EQ circuit with a

dynamic range of +/-10 dB• To incorporate three DSP audio effects including reverb• The system must be able to run off a 12V battery• The battery must be charged solely by a 20W solar panel• The system will include 1 microphone input for low impedance

microphones, one ¼ inch instrument input and an RCA input for auxiliary audio sources

Page 5: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Overall Block Diagram

Page 6: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Audio SubsystemPreamplifier, Equalization, Mixer and Audio Amplifier

Page 7: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Audio Subsystem Overview

Page 8: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Virtual Ground• TLE2426 “The Rail Splitter” from TI• Splits input voltage in half• Provides virtual ground so op-amps can be biased• Consumes only 400 µA from the 9 V LDO

Page 9: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Testing Equipment• LM386 Audio Amplifier 4 Ohm RCA Speaker

• ONLY TO TEST FUNCTIONALITY• Rigorous electrical testing will be conducted eventually• DC offset, RF Noise, Frequency Response

Page 10: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Preamplifier IC

SSM2019 from Analog Devices• 8 lead Plastic Dual-in-line-package (PDIP)• Wide range power supply: 4V-18V• Will be operating at 9V with virtual ground • Low Quiescent Current: 4.6 mA• Voltage gain of up to 3500• Excellent noise figure @ 0.2 µV between 20 Hz – 20 kHz• ONLY ONE EXTERNAL COMPONENT

Page 11: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

SSM2019 Implementation

Page 12: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Equalizer• Specs called for an EQ with at least +/- 10 dB of dynamic range• Best Solution: Baxandall Tone Control Circuit

Page 13: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Equalizer IC• LME 49740 from National Semiconductor

• Quad high performance, high fidelity audio operational amplifier• 14 lead DIP Package• Wide supply voltage: 4V to 17 V• Quiescent current of 20 mA for all 4 amplifiers• Excellent noise figure: 0.4 uV in the full audio range• Unity Gain Stable

• Design Specific Considerations• FL=300 Hz, FH= 1kHz• 2 Amplifiers for EQ, 2 for line level signal mixing

Page 14: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Baxandall Circuit

Fc=500Hz

Page 15: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Filter Frequency Response

• Frequency response with potentiometers at the center position

• Maximum deviation of 0.191 dB due to virtual ground

Page 16: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Filter Frequency Response

• Frequency Response with potentiometers fully CCW• Maximum Cut of 12 dB at both sides of the band

Page 17: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Filter Frequency Response

• Frequency response with potentiometers fully CW• Maximum Boost of 12 dB at both sides of the band

Page 18: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Equalizer Implementation

Problems • Noise• Breadboard

Capacitance

Solutions• Use Vero board• Use more accurate

components

Page 19: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Audio Amplifier IC• TDA1562Q from NXP Semiconductor• 70 Watt Hybrid class H audio amplifier• 17 lead SIP Package• Operates between 8V and 14.4 Volts• Quiescent Current of 90 mA• 50 W RMS Power with 9V rail

Page 20: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Power SubsystemBattery, Solar Panel, Battery Charger

Page 21: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Battery

9VRegulator

Audio SystemVoltage

Divider

LCD Microcontroller

Battery Charger

Power System Overview

Solar Panel

DSP Effects

Page 22: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Type Pros Cons

Lead-Acid Cheap price, stable at high temperatures, have multiple cycles

Low energy density, cannot be completely discharged

Nickel-Metal Hydride

Better cycle life than lead acid, creates no memory

High self-discharge 20% per month, circuit protection

Lithium-ion Highest energy density, light-weight, faster charge times

Most expensive, circuit protection

Batteries

Page 23: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Components CurrentVirtual Ground TLE2426 400μA (1)Preamplifier SSm2019 4.6mA (2)LME 49740 Equalizer 20mA (1)LME 49720 10mA (1)Amplifier TDA1562Q 90mA (1)LCD 300μA (1)Microcontroller 500μA (1)DSP Effects 100mA (1)BAXXBC0WT 9V Regulator 9

130μA (1)

Miscellaneous 70mA Total 300mA

Summary of The Current of Different Components

Page 24: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Battery ChosenPower-Sonic 12V/7 AH Sealed Lead Acid (AGM) Battery

• Valve regulated allows safe operation in any position• Measures L: 5.95 in W: 2.56 in H: 3.70 in• High Shelf Life (% of nominal capacity at 68°F (20°C))

1 Month 97% 3 Months 91% 6 Months 83%

• Weights 4.8 lbs

Page 25: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.
Page 26: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Solar PanelsType Pros Cons

Monocrystalline Silicon

Max efficiency 22.7%, produce voltage even at low lights conditions

Most expensive

Polycrystalline Silicon

Cheaper than monocrystalline

Not able to charge when weather is cloudy

Amorphous Silicon Least expensive, can continue to charge at cloudy conditions

Lowest efficiency 5-7 %, short lifetime

Page 27: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Solar Panel Chosen

20 Watt Solar Panel DC 12V Monocrystalline PV Module by HQRP

• Open Circuit Voltage (Voc): 21.6V•    Short Circuit Current (Isc): 1.3A•    Maximum Power Voltage (Vmp): 17.2V• Maximum Power Current (Imp): 1.17A• Dimensions: 420x420x25 mm

Page 28: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

IV Curve of Solar Panel

Page 29: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Battery Charging Circuit

Buck configurationDC/DC converter

Page 30: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Battery Charger Prototype

Page 31: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Enclosure Considerations

Yamaha BR 15 Speaker• 19.1” X 25.8” X 14.4” (W,H,D)• 15 inch horn• 200W RMS• 30 lbs

Crown CE1000 • 19” X 5.25 X 12.25”• Rugged Steel• 5.3 lbs

Page 32: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Enclosure Considerations

SKB 4 unit rack case• 22.50” X 9.5” X 21.50”• 12 Lbs

Page 33: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Enclosure Concept• Amplifier enclosure mounted inside SKB case

Page 34: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Enclosure Concept

Page 35: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

DSP and MonitoringSubsytemMicrocontroller, DSP unit and LCD

Page 36: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Arduino Mega 2560

• Preassembled with ATmega2560• 256KB of flash memory• 4KB EEPROM• 54 digital input/output pins• 16Mhz clock• 5V operating voltage.• Programmable in C.

Page 37: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Microcontroller Block Diagram

Page 38: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Arduino Mega2560

• Will monitor solar panel voltage and current.• Will also monitor battery voltage.• Will interface with LCD in order to display these

values• Will run a charger state machine with four states,

on, off, bulk and float which will help determine what the state of the charger should be.

Page 39: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Arduino Mega2560

Page 40: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

LCD

HD 44780• 2.7 to 5.5V operation • LCD drive power 3.3 to

11V• Provides a choice of size• 240 character fonts• Widely used• Costs about $7

Nokia 3310

• 2.7-3.3V operation• Graphical LCD• 48 row, 85 column

output• 40X38 mm size• Not readily available• Costs about $6.

Page 41: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

HD 44780

• Availability• Widely used in previous projects• Did not need graphical functionality• 20X4 provided enough space• Easily interface with Arduino Mega.

Page 42: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

HD44780

Page 43: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

HD 44780

• Solar Panel voltage and current will be displayed as well as battery voltage.

Page 44: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

ADAU1702 issues

• Reverb comes standard on library but chip does not support it.

• The ADAU14x family supports reverb• Development board is about $400.• Would not meet budget or specs.

Page 45: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

BTSE-16FX Effects Module

• Provides 16 different digital audio effects• 5V power supply• 64 X 35 mm in size• Costs about $16 dolars.• Effects will be controlled using a 4 bit grey code

rotary encoder

Page 46: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

BTSE-16FX

Page 47: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Possible Problems• PCB Design

• Eagle is inadequate for our needs• 100 mm x 80 mm is too small!• Not sure how to transfer programmed ATmega to final PCB.

• Heat Dissipation• Forced air- extra power consumption

Page 48: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Administrative

Page 49: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

BudgetItem Price

Solar Panel $ 108.95

Arduino Mega $ 59.65

Battery $ 21.60

IC’s $ 44.63

DSP FX $ 15.00

LCD $ 7.00

Heatsinks $ 9.00

Capacitors $ 12.38

Breadboards $ 35.80

Potentiometers $ 29.53

Perforated board Free

Mis. Audio Connectors $ 10

Amplifier enclosure Free

4ohm 15 inch speaker Free

PCB $ 100

Faceplate TBD

Total Spent $ 442

Original Budget $ 1000

Page 50: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Progress

Research (95%)

Design (95%)

Parts (90%)

Prototyping (60%)

Testing (60%)

PCB (10%)

Overall (60%)

0 10 20 30 40 50 60 70 80 90 100

Page 51: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

Questions???

Page 52: Unplugged A Solar Powered Audio Amplifier With DSP Effects Group 16 Gretchen Rivera Hugo Castellanos Sandra Munoz.

UnpluggedA Solar Powered Audio AmplifierWith DSP Effects

Group 16Gretchen RiveraHugo CastellanosSandra Munoz