Please sign in to include this guide in your list of favorites.
You will be redirected back to this guide once you sign in, and can then save this guide as one of your favorites.
Download 38 Beginner Skill guideThese guys are everywhere - all sorts of voltage and current ratings. They're available for sale at any store just about, but there are some big things to watch out for! One is that the output voltage is not going to be 9V (for example) out of the box, that voltage rating is just the minimum output for the current rating (200mA for example). And also, the output is going to have a lot of ripple on it!
Before we talk precisely about these guys, lets go back in time to when engineers had to build their power supplies with their bare hands!
and the other half would output 12V AC (the 'secondary' 'low side'). The transformer functioned in two ways: one it took the dangerous high voltage and transformed it to a much safer low voltage, second itisolated the two sides. That made it even safer because there was no way for the hot line to show up in your electronics and possibly electrocute you.
We'll use a schematic symbol to indicate a transformer, its two coils inside which are drawn out, the schematic symbol will have the same number of coils on either side so use common sense and any schematic indicators to help you out in figuring which is primary and which is secondary!
What we have now isnt really AC and isn't really DC, its this lumpy wave. The good news is that it's only positive voltage'd now, which means its safe to put a capacitor on it.
This is a microFarad (0. Farad) capacitor, one leg has (-) signs next to it, this is the negative side. The other side is positive, and there should never be a voltage across is so that the negative pin is 'higher' than the positive pin or it'll go POOF!
A capacitor smooths the voltage out, taking out the lumps, sort of how spring shocks in car or mountain bike reduce the bumpiness of the road. Capacitors are great at this, but the big capacitors that are good at this (electrolytic) can't stand negative voltages - they'll explode!Because the voltage is very uneven (big ripples), we need a really big electrolytic-type capacitor. How big? Well, there's a lot of math behind it which you can read about but the rough formula you'll want to keep in mind is:
Ripple voltage = Current draw / ( (Ripple frequency) * (Capacitor size) )or written another way
Capacitor size = Current draw / ( (Ripple frequency) * (Ripple Voltage) )For a half wave rectifier (single diode) the frequency is 60 Hz (or 50 Hz in europe). The current draw is how much current your project is going to need, maximum. The ripple voltage is how much rippling there will be in the output which you are willing to live with and the capacitor size is in Farads.
So lets say we have a current draw of 50 mA and a maximum ripple voltage of 10mV we are willing to live with. For a half wave rectifier, the capacitor should be at least = 0.05 / (60 * 0.01) = 0.085 Farads = 85,000 uF! This is a massive and expensive capacitor. For that reason, its rare to see ripple voltages as low as 10mV. Its more common to see maybe 100mV of ripple and then some other technique to reduce the ripple, such as a linear regulator chip.
You will get efficient and thoughtful service from Tianya.
You don't have to memorize that formula, but you should keep the following in mind: When the current goes up and the capacitor stays the same, the ripple goes up. If the current goes up and you want the ripple the same, the capacitor must also increase.
Wow so this looks really familiar, right? From left to right, you can see the wires that come into the transformer from the wall plug, the transformer output has two power diodes on it and a big capacitor (2,200uF). You might be a little puzzled at the two diodes - shouldn't there be four for a full-wave rectifier? It turns out that if you have a special transformer made with a 'center tap' (a wire that goes to the center) you can get away with using only two diodes . So it really is a full wave rectifier, just one with a center-tap transformer.
These transformer-based plug-packs are really cheap to make - like on the order of under $1!
With 35 ohms (230 mA draw) the voltage plummets to 7.7V!
As the resistance gets smaller and smaller, the current draw gets higher and higher and the voltage droops (that's the technical term for it!) You can also see the ripple increase as the current goes up.
Now we can at least understand the thinking behind saying "9V 200mA" on the label. As long as we are drawing less than 200mA the voltage will be higher than 9V.
OK so after all that work, you're wondering why does this even matter? The reason it matters is that everywhere you look are these wall warts that are 'unregulated' and thus extremely suspicious. You simply can't trust 'em to give you the voltage you want!
For example, let's say you have a microcontroller project and it requires 5V power as many DIY projects do. You shouldn't go out and buy a 5V transformer supply like the one above and just stick the power output into your microcontroller - you'll destroy it! Instead, you will need to build a 5V regulator like the common LM that will take the somewhere-around-9V from the transformer and convert it to a nice steady 5V with almost no ripple.
So here is what you should always do:
You might be wondering well why on earth doesn't someone make a power plug that takes a transformer and some diodes and a LM and that will give you a nice 5V output instead of having everyone build it into the project circuit? While it's an interesting idea there are a few reasons they don't do that. One is that the enclosed wall adapter would overheat. Another is that some projects need more than one voltage, say 5V and 3.3V both. But in the end, its probably for manufacturing simplicity. The factory that makes the wall plugs makes 100's of thousands in predictable sizes and rates, each country has plenty of factories to make the right plug packs for the wall voltage and plug style. The designers of, say, the DVD player have an easier time of it when they can just say "anything above 7V and below 20V input will work for us" and the plug-pack maker matches them up with the closest thing they already make.
Nowadays, there are switch-mode power plugs that solve much of this problem. They are thinner and lighter than transformers and have almost no heating problems so they can have precise outputs that don't fluctuate. However, circuit-wise they are much more complex which means they're also much more expensive than transformer-supplies, perhaps 5-10x the price, and have a downside that they're 'noisier' electrically. But, because the parts and assembly cost is going down, they're much more popular than they were even 10 years ago.
0 Members and 1 Guest are viewing this topic.
The company is the world’s best Power Supply Transformer supplier. We are your one-stop shop for all needs. Our staff are highly-specialized and will help you find the product you need.
Construction. A typical step down transformer would be electrically isolated between the primary side and secondary side. This means that the primary side is a separate winding from the secondary side. Where as an auto transformer is not electrically isolated . The neutral wire of the mains will be connected to the load. Super cheap transformers may be auto transformers because they are cheap to construct.
Frequency . The transformer must be 60hz for your North American mains supply. Obvious but I thought I would add this anyway.
If you choose to build your own you will need rectification , filter caps and voltage regulation as for your requirements . This can sometimes drive up the cost.
Do you need a clean DC supply that a linear supply will offer or if your load is low than maybe a low cost SMPS wall wart would be adequate .
A pre-built psu is going to be cheaper than building your own.Thank You. Yes, I will fuse both the primary and secondary.
Building one would for for learning.
What differentiates transformers :
Toroidial vs square.
Single or dual secondary
I would avoid ebay for any electronic components if you care about safety.
Not sure what to look for but I would protect the transformer/yourself by putting fuse on input and output
There is lots of quality difference in the good old laminated iron core transformers.Thanks. No, I haven't watched the video yet. Will watch it now.
If you're on the cheap it's well worth opening up old electronics stuff for parts.
When working with mains voltages, safety is always a concern.
An easy way for experimenting would be to have a plastic food container with lid. Make a few small holes in it for the wires, so mains voltage goes in on one side, and low voltage comes out on the other side. Make sure there is a decent separation of wires of these 2 sections. Did you notice the food container Dave put over the high voltage section in one of his latest trouble shooting video's?
A decent switched mode power supply, with an output which is isolated from the mains, will contain a transformer. It will work at a much higher frequency, than the mains, so will be much smaller.
I wouldn't recommend buying anything too cheap off ebay, as it could be unsafe. I've seen numerous teardowns of dodgy power supplies on YouTube. You're better off buying from a local supermarket, or electronics store. Hopefully they would have made the effort to ensure the products, they sell comply with local safety regulations.
I can just affirm the previous statements: many SMPS from ebay, ali & co are bare crap, without the neccessary safety and EMI components, so they are nothing but trouble.
I got several Meanwell over Ali which are genuine and well constructed, so if carefully chosen, you can get good products, but they cost an adequate price then.
I don't know what other peoples experience is with EBay but you can get good quality if you use common sense when making a purchase . Look what they are selling .Ask questions and make a judgment yourself.
Much of what is available on Ali Express or Ebay is factory surplus and/or seconds that can be unbranded ,re branded , not packaged or older versions bought and sold by small outlets or brokers .
There are many small online electronics stores across North America that specialize in various electronic and electrical products that are very good and reasonably priced . And in many cases they know more about what they are selling than the traditionally distributors like Mouser or Digikey. Distributors like Digikey and Mouser are distributors only and despite common perception they do not test what they sell. So they are not immune to defective or miss labelled products. Manufacturers test products by batch and not individually so some times defective products do get to distributors . The plus side the major distributors will except returns or replace defective products for free much of the time.
If your chose to build your own then I would suggest a basic linear supply . SMPS supplies can get complicated for the novice. There are plenty of circuits online that can be very inexpensive to build depending on your requirements . In most cases you will only need 1 or 2 amps . Small iron core transformers can be less than $20 which would constitute the bulk of your cost. The rectifier ,filter capacitors , regulators , transistors and fuses are cheap. In many cases less than a couple bucks to only a few cents each . And if you have any questions many good knowledgeable people here are ready to help out .
I don't know what other peoples experience is with EBay but you can get good quality if you use common sense when making a purchase . Look what they are selling .Ask questions and make a judgment yourself.
Much of what is available on Ali Express or Ebay is factory surplus and/or seconds that can be unbranded ,re branded , not packaged or older versions bought and sold by small outlets or brokers .
There are many small online electronics stores across North America that specialize in various electronic and electrical products that are very good and reasonably priced . And in many cases they know more about what they are selling than the traditionally distributors like Mouser or Digikey. Distributors like Digikey and Mouser are distributors only and despite common perception they do not test what they sell. So they are not immune to defective or miss labelled products. Manufacturers test products by batch and not individually so some times defective products do get to distributors . The plus side the major distributors will except returns or replace defective products for free much of the time.
If your chose to build your own then I would suggest a basic linear supply . SMPS supplies can get complicated for the novice. There are plenty of circuits online that can be very inexpensive to build depending on your requirements . In most cases you will only need 1 or 2 amps . Small iron core transformers can be less than $20 which would constitute the bulk of your cost. The rectifier ,filter capacitors , regulators , transistors and fuses are cheap. In many cases less than a couple bucks to only a few cents each . And if you have any questions many good knowledgeable people here are ready to help out .
How much are you willing to spend on a power supply?Thank you everyone
Also - you said you need to power your micro and relay from mains. What voltage(s) do you need?
Instead of choosing between a dodgy Ebay switch mode supply, or decent mains-frequency transformer, you'll have the most obvious choice of buying a modern, decent switch mode supply. I'd recommend looking at Meanwell products available at most distributors. They are maybe 2-3x as costly as the Ebay crap, but safe and reliable, and still not too expensive.
A big question is do you need regulated voltage. If you do, the traditional mains transformer + linear regulator is highly inefficient and also expensive. If unregulated voltage is acceptable (for example, in audio amplifiers), it's already much simpler.
For regulated output voltage, switch mode is almost always the only sane choice.
Previous: Choosing the Right Power Transformer Supplier: Top Tips!
Next: Electrical Transformer vs. Voltage Regulator: Key Differences Explained
Comments
Please Join Us to post.
0