Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: AMP9 Volume Control and Interface Board

  1. #1
    Join Date
    May 2008
    Location
    , , USA.
    Posts
    14

    Default AMP9 Volume Control and Interface Board

    Okay, this is an exercise in... a lot of things. But then, I could use the exercise.

    First, I learned gschem and created the circuit there.

    Then I learned KiCad and did it all over again. I'm still trying to track down the proper footprints for all of the components to try PCB layout and routing.

    Then I heard of CircuitLab.com. What the Hell. Third time's the charm.

    CL's incredibly limited, but it's easier for sharing than sticking my .sch file somewhere.

    So, here's my idea, build an AMP9 and add an 8x2 female header to the interface pads into which the board I'm trying to design would be plugged. The resultant completed system could do 4-channel surround for a single room, 2-channel stereo for two rooms, or mono audio to four rooms in my house. Actually, I plan to double up on the AMP9-HVs and these boards in a single case with an AMP11-HV being fed from the cross-over of all cross-overs for an 8.1 surround sound system for my living room, but one must keep other use cases in mind during the design phase.

    Here's the link to the schematic as it stands now (Rev 0.1).

    https://www.circuitlab.com/circuit/9...terface-board/

    Here's the summary from that page:

    "Allows for any control system with an I2C interface to control up to 4 separate AMP9s through a PCF8574 I2C 8-bit I/O chip and control the volume of the audio being sent to the AMP9 through an AD5254 I2C quad digital pot, and enabling monitoring of the audio sent to the AMP9 through an AD7417 I2C quad ADC chip for automatic volume control and vu meter feedback. It also features two 4PDT signal relays to enable selection of audio source through the PCF8574. External audio can be supplied through a set of panel mounted 1/8" phono jacks or a panel mounted 4x2 IDC header.

    An on-board 4x2 IDC header accepts audio input from an internal source. A set of hardware driven LEDs provides feedback about the modes and status of the AMP9. The I2C attached controller can also toggle the external power supply to the AMP9, which, after power-up, maintains its own power. Changing of the AM Mode line on the AMP9 while the AMP9 is powered is prevented by a latch. The board may be used with external power control and without I2C control in Dumb mode."

    As yet, I do not believe it to be ready for PCB layout, routing, and production. That is why I'm putting it up on CL and creating this thread. I want anyone and everyone's opinions and insights that they would choose to give. I haven't added any decoupling capacitors between the power rails. I'm not 100% confident in the fidelity with which these chips, relays, and interconnects would pass 20-20kHz audio signals, or indeed the 0-48kHz spectrum my ears would prefer.

    Some of the other issues I foresee:

    The AMP9 documentation says the FAULT line is not used. Is that just for wont of components populating the board to link the pad to the TAA4100A properly, or is there another reason why my usage of the FAULT line in this circuit is in vain?

    I want maximum power efficiency in this project, and I'm not certain that the chips, relays, and logic that I have here can be driven variously from the +5VDC power supplied by the AMP9's regulator or from a +5VDC regulator on any given controller board *cough*Arduino*cough*. And, my use of diodes for a sort of wired-OR logic can't possibly be the most efficient.

    I want to fit this whole thing in about 50x50 mm... please stop laughing... This board is intended to have an 8x2 set of male 0.100" pins on one end for plugging directly into the AMP9. I'm pretty confident that it will need a double-sided PCB. Between the flip-flops and inverters, not to mention diodes and transistors, I'm not familiar enough with 7400 logic to be able to even guess as to what actual chips will achieve this design in the required form factor.

    Can the chips I have selected drive the LEDs as I have described them in the way I have them on the schematic?

    Does the 555 astable LED flasher circuit work as I have set it up, with variable resistances switched in and out by transistors whose bases are driven by signal lines? Is there a better way than a SPDT relay switching between the 555 flasher circuit and ground to make the blue Status LED do what I described? Is there a more efficient way to achieve my Status LED behaviour than the monstrosity I have wrought?

    Since the quad dig pot can have its pots set independently of each other, things such as balance and fade can be easily effected by the controller, but for automatic volume control, the controller will have to be pulling in a lot of samples from the quad ADC. What kind of lag might I have to endure between the volume of the outgoing audio and the collection of enough audio samples via a slow I2C bus for a controller to figure out that it needs to turn the pots down? Assume an infinitely powerful controller and O(1) algorithm calculating the relative pot settings. I'm just concerned about the audio samples swamping the I2C bus with enough of these on a single I2C segment. Granted, the ADC chip is designed to have up to 8 on the bus. I just haven't gotten into the software side of things yet, having not settled on a controller board. ATM, leaning toward a Raspberry Pi Model B.

    Speaking of the dig pots, did I wire them up right? A to audio ground, B to input signal, W to the signal output to the amp?

    I've designed this circuit so that as much as possible, the chips are operating with open drain signalling. I don't think I managed all that well. Somethings may have been lost in translation between the KiCad rendition and the CL rendition.

    My idealized use case would be to get some high quality 1/8" phono plugs and hack a color-coded set into a wiring harness that would bridge from the audio outputs on my motherboard to an IDC connector which would plug into the back of my dual AMP9 case. Each controller would only be responsible for its half of that 8x2 IDC header. This will leave the 1/8" phono jacks free to plug something in temporarily which overrides any audio sent from the computer on those channels.

    I'm also trying to find a high quality USB sound "card" I can cram into the AMP9 case as well and just expose a USB-B socket on the back and let the DAC and AMP reside in the same housing. That's what the internal connector is really for. Also, wondering about multiple TOSlink inputs that the controller could switch going into that internal sound card. Ditto for multiple HDMI inputs with an HDMI passthrough to the TV.

    Apropos of nothing, anyone know if the Raspberry Pi can easily drive the PSP LCDs from Sparkfun?
    Last edited by CathyinBlue; 02-Mar-12 at 16:22. Reason: Bunch of typoes.
    _______________________
    2003 Ford Crown Victoria Police Interceptor
    1981 Suzuki GS550LX
    a butt-load of computers

  2. #2
    Join Date
    Aug 2006
    Location
    Iceland.
    Posts
    2,388

    Default

    Ha! Very cool project.

    Wish I had more answers, but ... Is the GrubDAC small enough?: http://www.diyforums.org/GrubDAC/GrubDACoverview.php

  3. #3
    Join Date
    May 2008
    Location
    , , USA.
    Posts
    14

    Default

    Interesting. The GrubDAC hadn't previously crossed by field of vision. Two issues with the GrubDAC. 1) It's only two-channel, requiring ganging four of them together to get full 8 channel audio. 2) No S/PDIF In.

    http://gateshop.webstorepowered.com/.../dp/B00774FKNY <-- solves 2 but not 1.

    http://www.amazon.com/Sabrent-SND-P8.../dp/B000BRLY8O <-- solves 1 but not 2, and raises other interface problems.

    If I could somehow merge those two devices, that bastard child would be ideal for my application.

    Anyone know how to use a ĩC to talk to a PCIe x1 peripheral?
    _______________________
    2003 Ford Crown Victoria Police Interceptor
    1981 Suzuki GS550LX
    a butt-load of computers

  4. #4
    Join Date
    May 2008
    Location
    , , USA.
    Posts
    14

    Default

    Double checked the AD5254 datasheet. Saw a tiny appnote embedded in it that showed B tied to ground and A was the input signal with W as the output signal, so I changed the schematic to reflect this understanding.
    _______________________
    2003 Ford Crown Victoria Police Interceptor
    1981 Suzuki GS550LX
    a butt-load of computers

  5. #5
    Join Date
    Aug 2006
    Location
    Iceland.
    Posts
    2,388

    Default

    Quote Originally Posted by CathyinBlue View Post
    Interesting. The GrubDAC hadn't previously crossed by field of vision. Two issues with the GrubDAC. 1) It's only two-channel, requiring ganging four of them together to get full 8 channel audio. 2) No S/PDIF In.

    http://gateshop.webstorepowered.com/.../dp/B00774FKNY <-- solves 2 but not 1.

    http://www.amazon.com/Sabrent-SND-P8.../dp/B000BRLY8O <-- solves 1 but not 2, and raises other interface problems.
    AFAIK it gets tricky with S/PDIF, 'cause it's only designed for 2 channels - too bad :/ ... http://en.wikipedia.org/wiki/S/PDIF. It does accept multiplexed 5.1 audio though I think ...

    In comparison, USB 2.0 supports Multiple Actual Channels.

    Maybe something that would work?: A S/PDIF input interface hooks up via USB to the onboard computer, which probably processes the audio stream for the 8 channel output (channel balance + EQ etc.), and then feeds an USB DAC with 8 channels.

  6. #6
    Join Date
    May 2008
    Location
    , , USA.
    Posts
    14

    Default

    I thought S/PDIF could be interlaced with as many channels as you wanted, it was just a matter of the codec waiting for it on the receiving end. I thought that's what Dolby Digital was.
    _______________________
    2003 Ford Crown Victoria Police Interceptor
    1981 Suzuki GS550LX
    a butt-load of computers

  7. #7
    Join Date
    Aug 2006
    Location
    Iceland.
    Posts
    2,388

    Default

    Could be I'm not 100% sure.

  8. #8
    Join Date
    Nov 2006
    Location
    , , Denmark.
    Posts
    894

    Default

    S/PDIF is 2 channel 24-bit stereo signal with up to 48KHz sample rate OR compressed multi-channel.

    For the best quality you'll want USB. Even USB1.1 har 4 times the maximum transfer rate of S/PDIF. Meaning you can have 4 separate S/PDIF signals on a single USB1.1 interface or stereo full studio quality at 24-bit 192Khz.

    If you go USB2 then you basically have no limits as than can even carry 2 full studio quality 8 channel 24-bit 192khz signals simultaneously. USB3 has 12 times the transfer rate of USB2 so I hardly think there's many audio installations that could fully utilize that as we're talking up to 192 full studio quality channels.
    Last edited by Saturnus; 03-Mar-12 at 14:41.

  9. #9
    Join Date
    May 2008
    Location
    , , USA.
    Posts
    14

    Default

    I-- I-- I-- only need 8.

    S/PDIF inputs have definitely fallen a couple of rungs on my wish list.

    What about HDMI inputs? I'd like to integrate something like this: http://www.buy.com/pr/product.aspx?sku=221113721 into my amp set up, but only if there was a way to get at the unencrypted audio to pipe to the amps. Preferably, independent of an internal USB sound card. If a PC sound card would be the only alternative to custom silicon and licensing fees for getting multi-channel audio out of consumer electronics, then I might as well just ditch all the crappy consumer electronics and put everything under direct PC control. Play media through the PC and let the PC's software handle sending the audio in whatever format to the USB sound card in the dual AMP9 box. That would certainly simplify this project.

    Are there any HDMI audio taps that just have HDMI In, HDMI Out, and 4 stereo phono jacks for line level component audio out?
    _______________________
    2003 Ford Crown Victoria Police Interceptor
    1981 Suzuki GS550LX
    a butt-load of computers

  10. #10
    Join Date
    May 2008
    Location
    , , USA.
    Posts
    14

    Default

    I've taken delivery of three AMP9 kits. Now, it's time to get the chips for my VCIB. (Also a third-hand helper and a set of TSSOP carrier boards for my solderless breadboard.) Unfortunately, all of the AD5254 chips are linear taper digital pots, not audio taper, but that can be adjusted for in software if it's a real problem.

    They come in 1 kOhm, 10 kOhm, 50 kOhm, and 100 kOhm full scale variants. I have no intuition for which one would be best. Pretty sure the 1 kOhm pots will not fully mute the sound at full sweep and the 100 kOhm pots will wind up muting the sound well short of full sweep, so it's a toss up between 10 kOhm pots and 50 kOhm.

    Okay, audio experts, which full scale resistance should I get in my Volume Control and Interface Board's volume control feature?
    _______________________
    2003 Ford Crown Victoria Police Interceptor
    1981 Suzuki GS550LX
    a butt-load of computers

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 14
    Last Post: 27-Apr-12, 18:14
  2. Volume control
    By ky-O-tee in forum AMP4
    Replies: 10
    Last Post: 05-Feb-12, 07:12
  3. volume control
    By kobi_sc in forum AMP5 and AMP10
    Replies: 2
    Last Post: 04-Aug-07, 14:23
  4. Volume Control
    By mbkowns in forum AMP9
    Replies: 18
    Last Post: 27-Jun-07, 23:45
  5. Volume control
    By fdelente in forum AMP5 and AMP10
    Replies: 9
    Last Post: 10-Jan-06, 16:13

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •