Using Microcontroller to control sections in amp - diyAudio
Go Back   Home > Forums > Source & Line > Digital Line Level

Digital Line Level DACs, Digital Crossovers, Equalizers, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 18th October 2013, 11:20 AM   #1
sudheer is offline sudheer  India
Banned
 
Join Date: Oct 2013
Default Using Microcontroller to control sections in amp

Hello,

Using microcontroller to control/switch various sections of Audio amplifier device.
Example, on off switching of PSU, input selection, mute, using push button or IR remote, with display, led indicators.

I plan to work on such project, will post updates here..

My idea is to make a controller , which can switch on / switch off PSU, drive a relay board for Audio Aux Input selectors with display and push buttons.

Thank you
Sudheer

Last edited by sudheer; 18th October 2013 at 12:05 PM.
  Reply With Quote
Old 18th October 2013, 04:56 PM   #2
sudheer is offline sudheer  India
Banned
 
Join Date: Oct 2013
Here is schematic and for same..
will be working on making prototype on weekends..
Attached Images
File Type: png 4Channel-Selector-Schematic.png (90.4 KB, 266 views)
  Reply With Quote
Old 18th October 2013, 05:54 PM   #3
diyAudio Member
 
KatieandDad's Avatar
 
Join Date: Nov 2011
Location: UK
Your parts count would be far less with a PIC.
  Reply With Quote
Old 19th October 2013, 02:19 AM   #4
diyAudio Member
 
blue_luke's Avatar
 
Join Date: Feb 2009
Quote:
Originally Posted by KatieandDad View Post
Your parts count would be far less with a PIC.
Why do you think so?
The part count is quite low in my opinion.
I would not do it this way but he is going in the right direction I think.

My way...
Since the upc is twiddling its thumb almost 100% of the time in these application and code lines cost nothing I would implement a sort of serial bus I2C or ISP as there a lots of neat stuff available for analogue control.

Put a remote volume control

Put some sort of mute control on the output whenever you feel it's necessary

design high-pass and low-pass filters with 2-3 slopes and some preset frequency corners. For ex: 5-12-18db / octave at 30-50-80hz etc...

multiple input selections but one thing that is often overseen is the possibility of choosing 2-3 outputs in single or multi outputs at the same time.

A VU/Peak/Average meter with various dunamic curves and release slopes

etc...
  Reply With Quote
Old 19th October 2013, 02:43 AM   #5
sudheer is offline sudheer  India
Banned
 
Join Date: Oct 2013
Quote:
Originally Posted by blue_luke View Post
Why do you think so?
The part count is quite low in my opinion.
I would not do it this way but he is going in the right direction I think.

My way...
Since the upc is twiddling its thumb almost 100% of the time in these application and code lines cost nothing I would implement a sort of serial bus I2C or ISP as there a lots of neat stuff available for analogue control.

Put a remote volume control

Put some sort of mute control on the output whenever you feel it's necessary

design high-pass and low-pass filters with 2-3 slopes and some preset frequency corners. For ex: 5-12-18db / octave at 30-50-80hz etc...

multiple input selections but one thing that is often overseen is the possibility of choosing 2-3 outputs in single or multi outputs at the same time.

A VU/Peak/Average meter with various dunamic curves and release slopes

etc...

It has
LCD Display (16pin connectors)

Mute and Power off of signals. (6 pin connectors)

Four ports used to drive relay (6 pin connectors)
I am using ULN series IC to drive Aux input relays,
Controls are using two push buttons, one for on off, another for channel select.

I want save Channel selected in 24c02, will take some time to write code, as I am not into programming, I am learning C , taking examples from blogs , re using those codes.

I will post PCB Layout later


Sudheer
  Reply With Quote
Old 19th October 2013, 03:18 AM   #6
diyAudio Member
 
Join Date: Nov 2008
Location: Victoria,TX
Blog Entries: 1
Hi,
I am working also in something like that using a Basic Micro. Right now I have the following features.
1-Power ON/OFF using the zero crossing to prevent the inrush current.
2-Protect the speaker using a current sensor and shut down the amplifier in
case the current reached tripping point.
3-Monitor the heat sink temperature and shut down if reached tripping point.
4-Prevent the amplifier on power ON in case of a power outage.
5-Mute output on power ON/OFF
Now I am working in adding to control the +/- rail output voltages and shut down the voltage in case of high output current.
My prototype it is bean running flawless for the 8 months.
Please if you need any advice do not hesitate to ask.
Attached it is a schematic with all the options.
Attached Images
File Type: jpg LM3886 control.jpg (331.7 KB, 236 views)
  Reply With Quote
Old 19th October 2013, 03:26 AM   #7
kc8apf is offline kc8apf  United States
diyAudio Member
 
Join Date: Feb 2005
Location: Ohio, USA
Quote:
Originally Posted by KatieandDad View Post
Your parts count would be far less with a PIC.
Moving to a PIC or AVR would only eliminate the EEPROM and a few resistors.
  Reply With Quote
Old 19th October 2013, 05:11 AM   #8
diyAudio Member
 
blue_luke's Avatar
 
Join Date: Feb 2009
Quote:
Originally Posted by kc8apf View Post
Moving to a PIC or AVR would only eliminate the EEPROM and a few resistors.
And EEPROM or flash rom ARE nice to have!
In those you can save presets, linear to nonlinear lookup tables for... whatever
Really the design shown by Sudheer is in the good direction.
Lets see what he comes up with in software terms. A design around nowadays upc is almost ( note the almost ) trivial!
The devil is in the analogue signal interface.... and the code!
  Reply With Quote
Old 19th October 2013, 06:51 AM   #9
diyAudio Member
 
Join Date: Aug 2009
Default controling

Quote:
Originally Posted by tauro0221 View Post
Hi,
I am working also in something like that using a Basic Micro. Right now I have the following features.
1-Power ON/OFF using the zero crossing to prevent the inrush current.
2-Protect the speaker using a current sensor and shut down the amplifier in
case the current reached tripping point.
3-Monitor the heat sink temperature and shut down if reached tripping point.
4-Prevent the amplifier on power ON in case of a power outage.
5-Mute output on power ON/OFF
Now I am working in adding to control the +/- rail output voltages and shut down the voltage in case of high output current.
My prototype it is bean running flawless for the 8 months.
Please if you need any advice do not hesitate to ask.
Attached it is a schematic with all the options.
It's very interesting.
All that options are useful.
Is it on your plan to share this?
Best regards.
Thimios.

Last edited by thimios; 19th October 2013 at 07:10 AM.
  Reply With Quote
Old 19th October 2013, 12:53 PM   #10
kc8apf is offline kc8apf  United States
diyAudio Member
 
Join Date: Feb 2005
Location: Ohio, USA
Quote:
Originally Posted by blue_luke View Post
And EEPROM or flash rom ARE nice to have!
In those you can save presets, linear to nonlinear lookup tables for... whatever
Really the design shown by Sudheer is in the good direction.
Lets see what he comes up with in software terms. A design around nowadays upc is almost ( note the almost ) trivial!
The devil is in the analogue signal interface.... and the code!
AVR and PIC typically include an EEPROM in the same package. You can usually write the code flash from the running program as well (self-programming). So, you can still have all those features w/o a separate EEPROM.
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
determining microcontroller speed & memory size squadra Everything Else 4 2nd November 2013 06:52 PM
Hornresp - Sections gafhenderson Full Range 15 26th February 2012 02:31 PM
Hammond 125ESE and sections mpingo Tubes / Valves 0 10th January 2008 07:41 PM
parallel sections memphissound Tubes / Valves 1 21st July 2006 10:24 PM
Microcontroller based class-d amp? ukram Digital Source 21 19th January 2004 12:38 PM


New To Site? Need Help?

All times are GMT. The time now is 12:41 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2