Skip to the content
2 layers44.3 × 33.5 mmAudio iface rev1, the printed circuit board in 3D

Miniature DPOAE infant hearing loss screening device

Size
44.3 × 33.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
129
Nets
85
Pads
408
Tracks, vias
1,165, 151
Pours
7
Routed
Yes
KiCad
KiCad 3
Created
11 Sep 2013
Updated
9 Jan 2020

Overview

Audio iface rev1 is an open-source printed circuit board by bnahill, from the bnahill/audiopulse-embedded repository on GitHub. It is a 2-layer board of 44.3 × 33.5 mm with 129 parts on 85 nets, routed with 1,165 tracks and 151 vias.

It is built around the AK4621EF, TPA6130A2RTJR and LP2992AILD-5.0, with the BC550 among its other parts. Its parts include 58 capacitors, 37 resistors, 9 connectors, 6 ICs and 2 transistors. It belongs with the audio and music boards of this library.

Main components

4

README

README.md

Android HiFi DPOAE Audio Interface

This is part of the Sana AudioPulse project and may someday be officially moved over there.

The basic objective is an audio interface for an Android phone to output high-fidelity audio (two channels) to an earpiece and to record back audio from a microphone in the earpiece. As the features-of-interest in the response are below 0dB SPL, this requires very high precision.

Licensing

This is an open-source project. Except where otherwise stated, this work is copyright 2014, Ben Nahill, free to be used, modified, and redistributed in accordance with terms of the GPLv3 license. Note that initially it was provided under a BSD-3 license.

Components

Updated to refer to rev2

Control

The main controller onboard is a Freescale Kinetis K20 ARM Cortex-M4 microcontroller. It has a 72MHz DSC core (running at 48MHz), a USB OTG interface with full-speed PHY, a full-duplex I2S interface to communicate with the CODEC, I2C to communicate with the headphone amplifier.

The USB interface is capable of up to 12Mb/s, which should support full-duplex 24-bit audio at 48kHz, which should require ~4.4Mb/s plus some inefficiency. That's fine but Android doesn't yet support USB audio input so processing is done onboard. An efficient mixed-precision C++ DSP library is included to perform processing similiar to that described in James Hall's Handbook of Otoacoustic Emissions.

CODEC

The CODEC (ADC+DAC) must be as precise as possible on a budget. I've chosen the Asahi Kasei AK4621 which has stereo 24-bit differential input and output at 5V and up to 192kHz. Practically, the sampling rate will be 96kHz. S/(N+D) is 102dB for input and 100dB for output, which beats just about everything else I can find. The data interface is roughly I2S and is compatible with the K20 SAI.

Microphone

Because of the extremely low required noise floor, the lowest self noise is desired in a microphone. As affordable microphones go, the best seems to be the Primo EM172 electret condenser microphone (ECM) with a noise floor around 14dB. Hopefully this is low enough to measure the necessary features in an averaged spectrum. Unfortunately, I haven't been able to find anything better than this.

Audio In

The microphone input is scaled (roughly) to use the full-scale range of the ADC for an ~85dB SPL sine wave. The input conditioning changed substantially from rev1 to eliminate some of the discrete components and reduce power consumption and cost. It consists of a high impedance buffer followed by cascading Sallen-Key Chebyshev low-pass filters and inversion to feed the differential ADC.

A second audio input (since it's a stereo CODEC) is intended for use with the Etymotic ER-10C which does not need the gain stage. The differential input is not fully utilized in this case, as one end is tied to a virtual ground. We can also use this extra input for more advanced tests once DPOAE and some trials are in the bag.

Audio Out

The output from the AK4621 is passed to the TI TPA6130A2 headphone amplifier. It has differential input and 98dB S/(N+D) and I2C volume control. It's optimized for a 32R load. This is currently a Knowles SR-series driver. Because the DAC generates lots of high-frequency nonsense that seems to upsed the amplifier, 2nd-order Sallen-Key filters had to be added to the differential signals.

Power

Power became a bigger thing after realizing USB power is worse than expected (but that we really want to use it) in rev1. This is now dealt with by using a multi-level supply, boosting the USB input to ~6.5V before using a high-PSRR LDO to get a clean 5V. Digital stuff still runs off the USB supply and we get the ability to completely shut down power-hungry amplifiers and the CODEC when not in use.

Design

The design so far consists of a PCB for the above electronics. The design (as of rev2b) is designed around OSH Park's 6/6 2-layer process, though it is also compatible with many other cheap services.

Parts

129
QtyValueFootprintReferences
91uSMD0402C209, C301, C405, C406, C407, C408, C504, C506, C512
70.1uSMD0402C211, C302, C304, C502, C505, C507, C508
60.1u 6.3VSMD0402C212, C213, C606, C607, C610, C611
6CONN_2HDR_2X1_50MILJ101, J102, J103, J104, J105, J106
50.47uSMD0402C202, C401, C402, C403, C404
510u 6.3VSMD0805C204, C217, C219, C221, C608
40RSMD0402R202, R204, R209, R213
4VAL**SCREW_HOLE_2-56SCREW_HOLE_2-56, SCREW_HOLE_2-56, SCREW_HOLE_2-56, SCREW_HOLE_2-56
310kSMD0402R501, R502, R503
31nSMD0402C201, C208, C216
322SMD0402R227, R228, R229
2100u 6.3VSMD1411_POLC218, C609
210k (1%)SMD0402R224, R225
210nSMD0402C222, C223
210n 16VSMD0402C603, C604
210u 4VSMD0805C203, C207
21kSMD0402R218, R219
21k (1%)SMD0402R214, R215
21u 6.3VSMD0402C214, C215
22.2uSMD0603C501, C503
2220 (1%)SMD0402R223, R226
2250kSMD0402R206, R222
22nSMD0402C205, C210
25k (1%)SMD0402R210, R211
2BC550TO92-STRAIGHT-CBEQ201, Q202
2CAPSMD0402C510, C511
2RESSMD0402R212, R504
11.4k (1%)SMD0402R220
1100 (1%)SMD0402R207
1100kSMD0402R506
1100u 4VSMD1411_POLC206
110nSMD0805C509
110n 6.3VSMD0402C605
110uSMD0805C303
110u 16VSMD0805C601
12.2u 16VSMD0603C602
1200SMD0402R205
122kSMD0402R601
126.1k (1%)SMD0402R217
13.9kSMD0402R201
13.9k (1%)SMD0402R101
1330kSMD0402R505
133nSMD0402C220
14.53k (1%)SMD0402R221
15kSMD0402R203
18.87k (1%)SMD0402R216
190 (1%)SMD0402R208
1AK4621AK4621_VSOP30U301
1CONN_2HDR_2X1_100MILJ601
1CONN_6HDR_6X1_50MILJ501
1FBSMD0805FB601
1K20X7_QFP64FREESCALE_QFP64U501
1LEDSMD0603D501
1LOGOLOGOG***
1LP2992AILD-5.0TI_WSON6U601
1LT6201LT_DFN8_DUALU201
1LTC6242LT_DFN16_QUADU202
1OSHWOSHWVAL
1SB_2-1SB_2-1SB301
1SB_3SB_3SB201
1TPA6130A2RTJRTPA8130A2-QFN20U401
1TP_5VENTP_HOLETP601
1TP_PTB16TP_HOLETP502
1TP_PTB3TP_HOLETP501
1TP_PTE0TP_HOLETP503
1TP_USB_IDTP_HOLETP102
1TP_VUSBTP_HOLETP101
1USBMICROCONNFCI_10118194J107
1XTALTXC_7AX501

More from bnahill/audiopulse-embedded

2
  • 4 layers58.4 × 43.2 mmAudio iface rev2, the printed circuit board in 3D

    Audio iface rev2

    bnahill/audiopulse-embedded

    Miniature DPOAE infant hearing loss screening device

    84 parts3
  • 2 layers16.6 × 34.2 mmSma adapter, the printed circuit board in 3D

    Sma adapter

    bnahill/audiopulse-embedded

    Miniature DPOAE infant hearing loss screening device

    8 parts3

Similar boards

  • 4 layers55 × 97 mmMelodio SelfMate V2, the printed circuit board in 3D

    Melodio SelfMate V2

    zeeblaze/Melodio-SelfMate

    Your Ultimate Portable Music Companion For Home Automation.

    121 parts53
  • 2 layers30 × 30 mmPocketradio, the printed circuit board in 3D

    Pocketradio

    alx-alexpark/radio-keychain

    It uses the connected headphones as an antenna, and is powered off a CR2032 coin cell. The FM tuner used is the Si4702, which supports the 76-108MHz frequency range.

    36 parts
  • 4 layers2 × 24.9 mmPedal, the printed circuit board in 3D

    Pedal

    benthacher/pedal

    Digital guitar pedal with game boy micro form factor

    166 parts
  • 2 layers284 × 46.3 mmInfinite keyboard, the printed circuit board in 3D

    Infinite keyboard

    LastZactionHero/infinite-keyboard

    Infinite Keyboard is a portable musical scratchpad. It continously captures of every note played on the integrated keyboard as MIDI data, saved directly to an SD card.

    116 parts
  • 4 layers70 × 45 mmUsb audio interface, the printed circuit board in 3D

    Usb audio interface

    tracelabs-pcb/usb-audio-interface

    USB-C Audio Interface PCB — UAC2, Headset, Mic Preamp — KiCad 4-Layer

    110 parts
  • 2 layers178 × 129.5 mmRgb board, the printed circuit board in 3D

    Rgb board

    skumlos/if-c01comg-clone-tht-full

    A full sized SCART/BNC version of the IF-C01COMG clone base board

    89 parts15WTFPL
  • 2 layers48.3 × 99.1 mmModulation source, the printed circuit board in 3D

    Modulation source

    JordanAceto/modulation_source

    Eurorack compatible pcb with sine/square VCLFO, white and pink noise, and sample & hold

    95 parts6
  • 4 layers91.7 × 110 mmDriven double well, the printed circuit board in 3D

    Driven double well

    aether-machine/State-Space-Computer

    Schematics and PCBs for Aether Machine open source state space modelling computer and sound synthesizer.

    114 parts1

Questions

How big is the Audio iface rev1 PCB?

It measures 44.3 × 33.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Audio iface rev1 use?

129 parts, built around the AK4621EF, TPA6130A2RTJR, LP2992AILD-5.0 and BC550. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Audio iface rev1 KiCad files?

From the bnahill/audiopulse-embedded repository on GitHub, at the commit this page was made from: the board is hw/rev1/audio_iface_rev1.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Audio iface rev1 design in my own project?

Its repository states no licence, so its author keeps all rights: ask bnahill before reusing the design.