From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 16:46:47 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7F9AA20F for ; Mon, 1 Dec 2014 16:46:47 +0000 (UTC) Received: from mail-qg0-f43.google.com (mail-qg0-f43.google.com [209.85.192.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 34C1785A for ; Mon, 1 Dec 2014 16:46:46 +0000 (UTC) Received: by mail-qg0-f43.google.com with SMTP id q108so7747726qgd.2 for ; Mon, 01 Dec 2014 08:46:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=puM1nr1Ob/SjCsLjmk4LBiINoALjqPsh5bS9O30kpCQ=; b=VYAwTXatBmcTJltw1QXlvQRzK447hq9+S1Pvt5EdSg+3DPlCrN/3O6adGdXOtLZ+TD 6BXFxRuEgemxZ+JyTH6pqWVkMvPVMjebQozb37UMOV0rrlWsPuFjbMDc7qf2wZ/AYOTt JXXH/NIP6J1QuLdPIugGfvWPFQlJanzuI1LJXAc+2pkVMIBSQPme3CLHwAxdhDrwwC9d 9bGPdE1j4HDW0v0Oql+evq9URLJ3d0yldsEXq/0yyJyDTOfdyM8PBlK9sJoJV2BAiInB xjwWFnbOyqxUMS6OgT9Fqz4RqaQorSlzgxYp4/9IHtqVnHo3lHrHCKOhyKsHTnFrBwIl JYaw== X-Gm-Message-State: ALoCoQkb2yXj/uInhyEk1l8J5O38fLYtYNsD0Gdkddkcmc6TeOUPgWJFJodMToTvioAKNrVe2lK8 MIME-Version: 1.0 X-Received: by 10.224.120.67 with SMTP id c3mr87588377qar.3.1417452400026; Mon, 01 Dec 2014 08:46:40 -0800 (PST) Received: by 10.140.85.179 with HTTP; Mon, 1 Dec 2014 08:46:39 -0800 (PST) In-Reply-To: <20141201140037.584faf7e@X220.alogt.com> References: <54777AB1.9010800@bluerosetech.com> <54779629.302@bluerosetech.com> <5478BD4F.7020306@yahoo.com> <5478BEE6.30308@bluerosetech.com> <5478CC08.9090307@yahoo.com> <20141128204722.561f948e@archlinux> <5478F16A.80605@yahoo.com> <54791d3a.w/pI0kak03d+3nKC%perryh@pluto.rain.com> <20141129113405.3d1bd1d6@X220.alogt.com> <54798883.saa13h6lE6rPwZCf%perryh@pluto.rain.com> <20141130212746.6d5eaf1f@X220.alogt.com> <547bd5bd.dKE49fHIj28ERZyT%perryh@pluto.rain.com> <20141201140037.584faf7e@X220.alogt.com> Date: Mon, 1 Dec 2014 11:46:39 -0500 Message-ID: Subject: Re: OT: UPS for FreeBSD From: Alejandro Imass To: Erich Dollansky Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: kudzu@tenebras.com, Perry Hutchison , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2014 16:46:47 -0000 On Mon, Dec 1, 2014 at 1:00 AM, Erich Dollansky wrote: > How do you do a DC-DC regulation without high losses? > > The best known way is going via AC to reduce the losses. The moment you > Switching / PWM regulation is technically not the same as AC. DC can be regulated with Switching/PWM more efficiently than AC with transformers; this is essentially what switching power supplies do. But is _a lot_ more complex so it's currently not practical for electrical grid applications. > are at AC, the rest does not matter anymore. You can now use standard > AC voltages with standard AC - DC converters to minimise cost. The cost > include here also the operating cost. > AC and DC each have their advantages and disadvantages and applications. AC is currently more versatile for power grids (generation, transmission, distribution) as it can be transformed much simpler, and it is definitively more reliable because an AC system has fewer parts than a DC one, at least with the technology we have today. AC has several drawbacks like the skin effect, capacitance problems, synchronicity (current and voltage becoming out of phase given different load conditions and types), losses to heat in transformers, etc. but these challenges are easily (and cheaply) mitigated by different techniques, and although it's not perfect it's still much cheaper, practical and much more reliable than DC grids. Nevertheless, DC is in fact used in _some_ transmission applications, particularly very long distance transmission applications and a few others. Would all-DC grids be more efficient? probably so, but are currently impractical with the technology we have today. Perhaps as new technologies become available (super conductors?) DC could become more prevalent. Back to the issue of using all-DC UPS _seems_ to make a lot of sense at first glance, I believe someone already mentioned that telephone system do exactly this, BUT.... The power consumption of a distributed telephone system is much less than modern computing applications so at high power you would still need to employ high voltage to decrease loss in the distribution, or you would need to employ ridiculously large conductor bars to be able to distribute low-voltage DC even in the most modest data center, so it's really not practical, cost-effective or reliable. So even though current UPS design seems stupid (transform AC to DC and then DC back to AC) is really much more practical in larger scales. Take for example a modern "efficient" bitcoin miner which consumes 1.4kWh @ 2THs. At 120V this is around 11A which requires at least 14 gauge wire. At 240V this is around 5-6A which can use regular 16 or even 18 gauge without even warming it. Suppose we would use a 5VDC distribution in the data center, that would mean 280A continuous __per miner__ and that is a pretty thick and expensive wire. So for practical reasons you need to step-up and then step-down the voltage in order to be economically viable (or even physically viable just in terms of conductor size). Stepping up and down is much more practical and cheaper (not necessarily more efficient) with AC transformers, so the DC conversion needs to be done close to the CPU. Another solution would be for CPUs to use high voltage to begin with, but this would make them inviable because of the heat density, that's why VCC in CPUs has been dropping over the years to about 3V and even 1.8V nowadays. BTW, both heat density and miniaturization are reaching their limits in silicon-based semiconductors. I believe the minimum is around 50 atoms for a transistor junction to work and I think we are pretty close to that limit, so Moore's law has an actual limit for transistor-based computers. Anyway, the point is that with the technology we have today, AC is still more practical for electrical power distribution. Maybe as new technologies come along DC or even wireless power grids will become more prevalent, but not for a long time. Best, Alejandro Imass