Skip to the content
2 layersPowerRail, the printed circuit board in 3D

Simple Audio Merger (SAM) is designed to be used for merging audio from 2 sources and simply output the added voltage to output.

Copper layers
2
Thickness
1.6 mm
Parts
10
Nets
7
Pads
26
Tracks, vias
41, 0
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
21 Nov 2020
Updated
11 Jun 2023

Overview

PowerRail is an open-source printed circuit board by Gray-Stone, from the Gray-Stone/Simple-Audio-Mixer repository on GitHub. It is a 2-layer board with 10 parts on 7 nets, routed with 41 tracks and 0 vias.

It is built around the MC34063AP. Its parts include 4 resistors, 1 IC, 1 diode and 1 inductor. It belongs with the audio and music boards of this library.

Main components

1

README

Readme.md

Simple 2-in-1-out Audio Merger

Design choices and reason for decision

Overview

Core feature:

Simple Audio Merger (SAM) is designed to be used for merging audio from 2 sources and simply output the added voltage to output. Input is design for common consumer appliances with stereo audio, and there will not be any processing other than summation on board. The output is only buffered (powered) by an Opamp, and a power amplifier should be used if the load is not high impedance (headphone, speaker is typical low impedance load).

Power Option

3.5mm stereo audio jack will be used as audio interface for both input and output. This is the most common form of audio connection between desktop device and is simplest.

Power source

Possible choice of USB power and battery power.

Benefit of USB supply:

  • Device’s original design is to be used to merge audio from computer and gamming console, this means abundant USB supplies.

Problem with USB supply:

  • Huge amount of noise (USB data line, other USB devices, etc.)

  • Single Rail, and the lower rail is mains-earth reference (virtual ground cannot be connected with other devices)

Reason to choose battery supply:

  • Clean rail.

  • Easily generated negative rail (or virtual ground).

  • Since floating rail, no requirement before connecting ground with other device (virtual or not)

Problem with battery:

  • Need replace battery

  • Need a battery management system to detect low battery and shutoff/notice user before it causes problem

The USB high power rail noise is not much of a problem given all signal goes through Opamp, which have great rail rejection.

The battery replacement is not that bad, this design does not provide power amplifier. Most power are used by Opamp. So, replacement cycle is not as often. In addition, audio signal is basically below 1V, two AA battery will be enough for dual rails.

Both choices are ok, if a battery is chosen, then BMS is needed. If USB is chosen, negative rail is needed.

Dual Rail generation

If USB power is used, a negative rail must be generated. Generate a half rail virtual ground is not suitable in this case.

A voltage reference is generally generated by a voltage buffer with input connect to a revers biased zener. The zener voltage is set by current, despite little, but still fluctuate with current change. The source current for zener voltage is usually set by resistor, which is voltage controlled current.

USB is mains-earth referenced ground. The audio ground from other device (input and output amplifier) is the same mains-earth reference as well. This means the virtual ground can not be connected to another device.

When using virtual ground, the output voltage is referenced to virtual ground. The voltage ripple across “negative rail” and virtual ground is considered rail noise. However, since other device is also ground referenced, they see they “negative rail” noise as a noise added to virtual ground. Since output is referenced to virtual ground, outside device also see this noise as part of the output signal (instead of common mode noise).

If battery is used, then a virtual ground is easily generated by connecting a lead from middle of the two batteries. This virtual ground will be push pull and very stable in voltage. Furthermore, battery is floating voltage device, the virtual ground can be connected to any mains-earth connection. This connection makes it remove some common-mode noise.

Merge Audio Signal

Resistor Summing Circuit.

Audio signal are generally a voltage signal. One possible choice is to connect everything through a resistor to a summing point. The resistor turns the voltage signal into current signal. Then transconductance amplifier can easily turn that into output voltage.

In this case, the impedance each input device see depends on the resistance and other device it sees.

Individual Opamp Buffered.

If each input is first buffered by an opamp, then all input device sees high impedance which is decoupled from others. In the case of a low impedance (high power) device on input side, buffer Opamp prevent other input device get loaded.

Decision

  • USB power source with negative rail (No BMS required, Opamp have good PSRR).

  • Opamp buffered input (Opamp are cheap, this is a one-off board).

Parts

10
QtyValueFootprintReferences
33kResistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR2, R3, R4
10.319Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalRse1
11N4148Diodes_THT:D_5W_P12.70mm_HorizontalD1
11kResistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1
12585uFCapacitors_THT:CP_Radial_D12.5mm_P7.50mmCo1
1574pFCapacitors_THT:C_Disc_D4.3mm_W1.9mm_P5.00mmCt1
161uHInductors_THT:L_Radial_D10.0mm_P5.00mm_Neosid_SD12_style3L1
1MC34063APHousings_DIP:DIP-8_W7.62mm_LongPadsU1

More from Gray-Stone/Simple-Audio-Mixer

2
  • 2 layers39 × 47.5 mmInputBuffer, the printed circuit board in 3D

    InputBuffer

    Gray-Stone/Simple-Audio-Mixer

    Simple Audio Merger (SAM) is designed to be used for merging audio from 2 sources and simply output the added voltage to output.

    16 parts
  • 2 layers73.5 × 46.5 mmSummingBoard, the printed circuit board in 3D

    SummingBoard

    Gray-Stone/Simple-Audio-Mixer

    Simple Audio Merger (SAM) is designed to be used for merging audio from 2 sources and simply output the added voltage to output.

    15 parts

Similar boards

  • 2 layers200 × 150 mmMSX ONE, the printed circuit board in 3D

    MSX ONE

    jdgabbard/MSX-ONE-Computer

    MSX 1 Computer from discrete parts

    114 parts28GPL-3.0
  • 2 layers104 × 73 mmArdf tx, the printed circuit board in 3D

    Ardf tx

    hmatuschek/ardf-tx

    Schematics and firmware for simple ARDF transmitter.

    55 parts5
  • 2 layers72.9 × 78 mmZener tester, the printed circuit board in 3D

    Zener tester

    dilshan/simple-zener-tester

    PIC16F88 and MC34063 based Zener diode tester

    53 parts4MIT
  • 2 layers75 × 40 mmBoost converter, the printed circuit board in 3D

    Boost converter

    fabianmink/MarbleAccelerator

    An accelerator / coilgun for metallic marbles

    30 parts1BSD-2-Clause
  • 2 layers80 × 60 mmIoT Led v1, the printed circuit board in 3D

    IoT Led v1

    pawel2000pl/LedDriverIoT

    IOT led driver dedicated for ESP32C3

    73 parts1
  • 4 layers240 × 70 mmNixie, the printed circuit board in 3D

    Nixie

    Synthron/Nixie

    A Nixie Clock with Z5600M and ESP32

    324 parts1
  • 2 layers85 × 55 mmBadge, the printed circuit board in 3D

    Badge

    cookiemonsternz/fallout-badge

    A badge with holes for mounting to a lanyard, containing within a full miniature analogue synthesizer / sequencer.

    50 parts

Questions

What parts does the PowerRail use?

10 parts, built around the MC34063AP. 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 PowerRail KiCad files?

From the Gray-Stone/Simple-Audio-Mixer repository on GitHub, at the commit this page was made from: the board is AudioMixer/PowerRail/PowerRail.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the PowerRail design in my own project?

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