Archive for September, 2009

New volume standards for MP3 players

Tuesday, September 29th, 2009

According to Reuters news article the European Commission has issued new volume standards for MP3 players on Monday this week. The new standards will require that MP3 players will play at a safe volume by default. There will also be a health warning so consumers who choose to override the default settings know the risks. Those new rules will require small technical changes to I-Pods and other MP3 devices. According to Yahoo news article “EU to set volume limits on MP3 players” new standards would see new players include a maximum sound level default at 80 decibels.

According to EU’s executive commission said the maximum sound levels of players now being sold range between 80 and 115 decibels with the supplied earphones. Using different earphones could add to those levels by up to 9 decibels. Above 120 decibels is equivalent to the level of noise generated by an airplane taking off.

Show control system example

Sunday, September 27th, 2009

John Huntington’s Entertainment Technology Site has an interesting posting Moving More Stuff Onto the Gravesend Inn Network that describes show technology used behind Gravesend Inn hounted house atraction. This system uses lots of industrial electronics (PLCs etc..) for a show control application.

Build a Ground Loop Detector

Thursday, September 24th, 2009

Ground loops are a common problem in many experimental setups. A ground loop is an un-
wanted closed loop of cables in the setup, most often through the ground system. Those ground loops are often hard to find and debug. A Ground Loop Detector document describes how to build and test a simple system to detect ground loops in experimental setups. The two circuits used are from article “Simple system for locating ground loops” by P. M. Bellan. The ideas used on those articles are used in commercial product Loop Slooth. The idea in those circuits is to induce the test signal (100 kHz) into the ground system and then detect the amplitude of that signal in different parts of the setup with help of Rogowski coil based detector circuit. The basic idea in this circuit looks very promising. I have not yet tested the presented circuits, but at some laboratory tests the basic idea behind this circuit seems to work.

Gndloopexciter

Gndloopdetector

Power Everything with USB

Wednesday, September 23rd, 2009

9 Kick-Ass DIY Projects to Get Your Hack On article on maximumpc.com web site starts with instructions how to alter a non-USB gadget so that it can be run off of USB power from your computer. The article shows you how to use USB to power a desk fan and book-light lamp.

3-c-USB_power_3_405

Troubleshoot ground loops with clamp multimeter

Monday, September 21st, 2009

A normal way to troubleshoot ground loops problems in audio systems is to listen to the audio signal at the mixer with headphones. If the buzz exists at the mixer then do the following: One by one, disconnect the inputs and outputs to and from the mixer and note if the buzz decreases. This same connecting and disconnecting wires method can be used on other components of audio and video systems.

Disconnecting and then reconnecting the cables take a lot of work. This caused that ground loops are frustrating to troubleshoot in large systems where there are lots of cables.

I have found that a clamp type multimeter can help to troubleshoot ground loop problems. The ground loop noise is normally caused by the extra noise current flowing on the shields and ground wires of the cables. That noise current is normally mains voltage frequency (50 Hz / 60Hz) or it’s harmonics. Normally the signal cables should not carry any (or very little) mains frequency current in them, so by measuring this kind of current flowing on the cable it is possible to determine where the noise current flows. A clamp type multimeter is a very good tool for doing the measurements, because you can easily measure the noise current flowing on the cable with it without need to disconnect the cable or disturb the signal inside the cable. This means that you can troubleshoot a live system with clamp multimeter in AC range.

The wires which have considerable current on them are part of ground loop. The wires with most current on them are pushing most noise current to the whole system. So first locate the wires that have highest or otherwise very high current flowing in them. Then you can try to disconnect them and test if that stops the noise. Usually there is one or few cables that cause all or most ground loop current on the system. That noise current gets typically flowing around in different cables on the system, causing more or less noise problem here and there around the system. Then the real noise source or sources are disconnected, suddenly the whole system becomes noise free. When you have found out the problem source then just add suitable cure to that connection (typically signal isolation transformer or similar device).

Clamp on multimeter allows you to easily measure the current on cables. Just clamp the meter over the audio cable and get the AC current reading. If you want you can clamp several audio/video cables inside the clamp and get the reading of the sum of their noise currents (remember that there is possibility that if there are two cables with exactly same noise signal but different direction you get zero reading). Clamping the meter around a number of signal cables speeds up the troubleshooting process where there are lots of cables, for example near audio mixer. If the group of cables you measured with clamp meter shows a considerable noise current, then measure the cables individually to see which one has the most current flowing. If there was no considerable current on the cable group, continue measuring next cable group. Besides audio cables you can do the measurement with video cables, mains power cables and other signal cables.

There are few things to consider the selection of the clamp type multimeter. First the multimeter needs to measure the AC currents with the clamp. You don’t need the DC current measuring capability, although getting a clamp meter with also DC capability can make the meter more useful for other applications (usually the DC capable clamp meters are more expensive than AC only). The second thing to consider is the resolution of the meter. The ground loop currents you normally want to measure are in few mA to 1A range (in some severe case the current can be considerably more). It is preferred to have a clamp meter that can measure currents down to few mA. Unfortunately many meters with this good resolution are usually quite expensive.

Usually the cheap clamp type multimeters have 10 mA or 100 mA resolution, meaning that they can’t detect anything lower than 10 mA or 100 mA. A multimeter with 100 mA resolution is practically useless in ground loop problem solving, because over 100 mA ground loop current are not seen often. A multimeter with 10 mA resolution is already useful to troubleshoot ground loop problems, but it will not reveal you all the details in most cases. Usually 100 mA-1A current on cable means very serious noise problem on audio and video systems, currents in 10-100 mA range cause some noise problems. Usually when the current is well below 10 mA there are no considerable noise problems.

I have used a clamp meter with 10 mA successfully for troubleshooting ground loop problems, but when used that I wished I had a meter that can show even lower currents down to 1 mA or less. So if you are buying a clamp meter, consider trying to get as good resolution as possible with the money you are willing to spend it. When looking for multimeter for this application the actual measuring accuracy (measurement error percents promised) is not important, we are merely making checks if there is current flowing or not and approximately how much (just some approximation around how much current is enough).

sku_20582_1

This picture shows the cheapest I know well working clamp multimeter that can measure currents AC down to few mA currents. The meter has 1 mA resolution at 2A measurement range (the display started showing current higher than 2 mA). You can get this 1.3″ LCD Clamp Style Digital Multimeter with Pouch from Dealextreme for around 20 US dollars.

Cardboard case for a computer

Friday, September 18th, 2009

Grad student at the University of Houston who has designed a cardboard case for a computer. This is not a new concept, but this one is meant to be used in manufacture. The idea is that it will be faster and easier to produce (no fasteners for example) and dramatically easier to recycle. Houston Chronicle has a story on it and that story was mentioned at Slashdot. You can find a more detailed description of this invention at Engadget article Recompute: a closer look at the sustainable, cardboard PC.

recomputefeb120093

Single point grounding issues

Thursday, September 17th, 2009

Remember that a real life return path for current is not an ocean of zero impedance. Some engineers draw every ground as a wire because even copper planes have impendance. This approach might be one reason that makes some audio engineers more think of using single-point grounding. By discarding ground planes in favor of thin traces that wind back to a single-point ground, some audio engineers get slightly better distortion measurements, but at the expense of poor immunity to RF. The problem is that every audio circuit must work at 2 GHz — not to pass any signal but to reject noise from cell-phone radiation. Remember that every one of those long, spindly “ground” wires is an antenna. For RF noise immunity performance ground planes and connectors tightly connected to equipment metal case are good things.

Build video isolator

Tuesday, September 15th, 2009

Video isolation transformers are primarily used in CCTV application in fields of security, manufacturing, avionics and display. The video isolation transformer is an extremely broad bandpass 1:1 isolation transformer. Its hum isolation is very good and it can sustain very high noise voltages without degradation. Isolation decreases with increasing noise frequency.

Video signals can transformer isolated in many applications. Most video signal transport paths are AC coupled, so this kind of signal can pass through a suitable transformer. Video isolation transformers are used CCTV applications where they solve ground loop problems or protect system against ground potential differences between different locations.

audio_isolator

The design of a high bandwidth transformer which can go to very low and very frequencies is very hard. Video signal can have significant signal components from 50 Hz up to 6 MHz. Unfortunately in practical transformers you have to always make some compromises on low and high frequency responses (highest components of composite video can be attenuated even few dB). Signal amplitude at low frequencies is limited by core saturation and coil inductance. High frequency response is limited by leakage inductance and winding capacitance. Many video isolation transformers are only designed for CCTV other not so demanding applications application, where more signal distortion is accepted than in broadcast industry.

Lundahl LL1575 is a high bandwidth video isolation transformer designed for CCTV (closed circuit television) applications. I have used that transformer successfull to build video video isolators. That transformer has 20 Hz – 11 MHz +0 /- 3 dB frequency response (possible with special bifilar winding technique and special core construction). That transformer gives 2 kV rms isolation between primary and secondary windings.

The LL1575 datasheet recommends that if DC current is present, the transformer must be decoupled (with large capacitor). Because in many video circuits there can some DC present especially in video outputs, I thought that it would be a good idea to include suitable DC blocking capacitor to the circuit input side (on the left, connected to video signal source output). A suitable capacitor value should be 1000 uF or higher (practically demands using electrolytic capacitor) and have good high frequency characteristics (electrolytic capacitors are not good at this, ceramic etc.. would be much better here). The capacitor I used was built from 4700 uF electrolytic capacitor (gives capacitance) wired in parallel with 100 nF ceramic capacitor (handles the high frequencies where electrolytic capacitor is not good at). 25V or higher voltage rating is suitable for the application (you normally see 1Vpp video signal plus maybe few volts DC).

videoisolator_smaller

The circuit is best constructed to a small plastic box with suitable connectors. For professional applications I recommend to use BNC connectors. If all your equipment use RCA for video signal, then use those connectors if they are easier for you. Plastic box is easiest for the construction because in this way it is easy to guarantee good electrical isolation between input and output side connectors (in metal box needed isolation could be hard to do reliably).

Here ia picture of the video isolator I have built:

Videoisolator1

How to build cheap cloud storage

Sunday, September 13th, 2009

Petabytes on a budget: How to build cheap cloud storage tells how to store hundreds of petabytes of customer data in a reliable, scalable way—and keep costs low. Backblaze decided to build their own custom Backblaze Storage Pods: 67 terabyte 4U servers for $7,867. Petabytes on a budget: How to build cheap cloud storage article shows how to make one of these storage pods, and you’re welcome to use this design.

backblaze-cheap-cloud-server-storage2

A Backblaze Storage Pod is a self-contained unit that puts storage online. It’s made up of a custom metal case with commodity hardware inside. Specifically, one pod contains one Intel Motherboard with four SATA cards plugged into it. The nine SATA cables run from the cards to nine port multiplier backplanes that each have five hard drives plugged directly into them (45 hard drives in total).

Backblaze decided to build their own server because the price of off-the-shelf storage solutions was 10 times as much (or more) than the raw hard drives. Here’s a comparison chart of the price for one petabyte from various venders:

cost-of-a-petabyte-chart

African pigeon faster than Internet?

Friday, September 11th, 2009

I saw this interesting stunt mentioned on several news sites: Pigeon transfers data faster than South Africa’s Telkom. According to the article a South African information technology company Unlimited IT proved that it was faster for them to transmit data with a carrier pigeon than to send it using Telkom , the country’s leading internet service provider poor Internet service. 11-month-old pigeon, Winston, took one hour and eight minutes to fly the 80 km (50 miles) with a 4GB data card strapped to his leg. Whole data transfer took around two hours. Only a small part of the same data was able to be transferred during same time using a Telkom line.

Actually a trained pigeon with a large enough capacity USB stick stuck to it will be faster than the Internet connection available in many countries. It scales great too, just add more pigeons. It’s a pipe. The problem is the latency sucks. The post office has almost unlimited bandwidth, but terrible latency. If you want to send few blue rays’ worth of data, put then to the post. Traditional transfer methods that mode physical storage media can be efficient when large amounts of data is transported. Never underestimate the bandwidth of a jet airplane packed full of magnetic data tapes, hard disks or DVDs. Where latency is not a factor, flying physical storage media rules. In all other cases however we need a good fiber connection.

Even in today’s world there are lost of improvement to be made on telecommunications. Sometimes service is poor and sometimes the service works but the pricing is just not right. I remember the time in the early 1990’s when it was cheaper to save data to disk and transport it to other office with Taxi (offices in same city) than to use the X.400 E-mail service provided by the leading telecom company at that time. With pricing model like this it was no wonder why complicated and expensive X.400 services lost the business quite quickly to simpler and almost free internet e-mail system.