Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Headphone Systems Everything to do with Headphones

Cmoy Virtual Ground Setup
Cmoy Virtual Ground Setup
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
Thread Tools Search this Thread
Old 7th August 2011, 02:22 PM   #1
jtavrisov is offline jtavrisov
diyAudio Member
Join Date: Jun 2011
Default Cmoy Virtual Ground Setup

So I'm building a project with a cmoy inside it. I'm using tangent's resistive voltage divider to power everything. In addition to the cmoy I have a CD4052 Mux and a DS1802 digital pot for volume control. All of these work perfectly fine and sounds amazing,

However there is one last problem, powering a microcontroller. Right now I have an arduino uno while I prototype and when I plug in the +9V into its regulator the rail voltages are lowered to like 3-4V. I'm guessing its because the uC is a much larger load than anything I have right now but I dont know what to do about it.

So any ideas on fixes, hopefully as cheap as possible.

Also, I feel like a noob for asking this but how do I measure the amount of current drawn by this design. I was looking at some of the other virtual ground setup's over at tangents and the biggest factor is current draw. I tried disconnecting on side of the transfromer and putting the meter in sereis. However none of the power LEDs light and the meter reads like 2A while the transformer is rated for 24V, 500mA.
  Reply With Quote
Old 7th August 2011, 04:03 PM   #2
conorpeterson is offline conorpeterson  United States
diyAudio Member
Join Date: Dec 2010
It sounds like you're making your measurements mostly correctly, but consider which side of the transformer you're metering. 2A on the mains side of a 24V transformer is a different measurement than 2A on the 24V side of your transformer. Nevertheless, something is obviously wrong if you're drawing 2 amps from a transformer specced for only half an amp!

In the absence of a schematic it's tough to say exactly why the circuit behaves as it does when you connect the arduino, but my guess is that it's related to the way your virtual ground is designed. As tangent describes, the problem with "simple" virtual ground circuits implemented with two resistors is that they have a tendency to become unbalanced if the load on the two rails isn't perfectly symmetrical. If you were to, say, throw a complex device with significant current draw across the rails ( ), who knows what would happen? If you plugged the Arduino's ground into the virtual ground instead of the negative rail, then you would certainly cause things to behave strangely.

Remember, a virtual ground is more of a signal reference than a return path for current.

Tangent describes all sorts of ways to buffer your virtual ground to cajole it into behaving better, but those methods are basically compromises you must make when designing battery operated equipment. In your case, since your project is mains powered, you have access to the magic solution that makes all this go away: a center-tapped transformer.

One caveat: grounding in mains powered audio systems is a complex topic that begs careful attention.

Good luck!
  Reply With Quote
Old 7th August 2011, 04:48 PM   #3
jtavrisov is offline jtavrisov
diyAudio Member
Join Date: Jun 2011
Well I'm using a AC-AC wallwart instead of a separate transformer. The wallwart is terminated into a barrel connector. I have a barrel jack with some wires soldered to it that I use for breadboarding. I put the meter in series with one of these wires that go in to the AC side of a rectifier bridge.

I guess I could buy a center tapped transformer but that would be very costly because I'd have to buy another enclosure for it.

I thought I could power the arduino using the -9V rail as ground but then I'd have a problem with logic levels right? The uC references to -9V and the mux and digipot reference to 0.

I've read over tangent's article a couple times but I can't find a solution thats both cheap and doesnt take up board space (really dont have much room on the board I have and the enclosure to match).
  Reply With Quote
Old 8th August 2011, 12:31 AM   #4
discrete is offline discrete  Canada
diyAudio Member
Join Date: Sep 2010
Use a double half-wave rectifier, like in this circuit:

Power Supply for Preamps

Ideal for your situation. No center tap transformer needed.
Use 7809 and 7909 regulators for your application.

Same idea is used for the O2 headphone amplifier in this thread:

The Objective2 (O2) Headphone Amp DIY Project
  Reply With Quote
Old 9th August 2011, 07:00 PM   #5
qusp is offline qusp  Australia
diyAudio Member
qusp's Avatar
Join Date: Oct 2009
Location: Brisbane, Australia
hang on, you tried to measure the current by doing nothing except placing one lead on one side of the winding and the other lead on the other with it in ammeter mode? i'll tell you why you got such high readings and the les went out, because of the design of an ammeter you created a direct short circuit, that 2a was real!! never do that again. measure the voltage drop across a resistor and then use ohms law to figure what the current was based on that, much safer.
  Reply With Quote


Cmoy Virtual Ground SetupHide 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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
virtual ground codacola Parts 6 7th March 2013 01:24 AM
Virtual Ground ? Bernhard Solid State 13 4th March 2009 01:57 PM
Single Supply LM3886 - better virtual ground turantual Chip Amps 2 8th August 2008 08:39 AM
Connecting Virtual Ground Circuits with True Ground circuits?? Minion Solid State 1 12th February 2007 01:28 AM
virtual ground...help jsteigs Chip Amps 6 3rd February 2005 10:49 AM

New To Site? Need Help?

All times are GMT. The time now is 05:16 PM.

Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.79%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Copyright ©1999-2017 diyAudio