Now, over the holiday season there seems to be a predilection towards making merry and bright. As many an engineer and otherwise are sure to note, fine alcohols will facilitate this process. One such warm holiday beverage is mulled wine; there are many traditions on how to make it, but a singular approach to preparing the beverage would be to re-purpose an old PC and a CPU liquid cooling unit into a mulled wine heating station.
Four years ago, [Adam] found himself staring at a pile of mostly obsolete PCs in his IT office and pondering how they could be better used. He selected one that used a power-hungry Pentium 4 — for its high heat output — strapped a liquid cooling block to the CPU and pumped it full of the holiday drink. It takes a few hours to heat three liters of wine up to an ideal 60 Celsius, but that’s just in time for lunch! The Christmastime aroma wafting through the office is nice too.
Continue reading “Make Mulled Wine With A Processor Heatsink!”
KiCAD has been making leaps and bounds recently, especially since CERN is using it almost exclusively. However, while many things are the same, just enough of them are different from our regular CAD packages that it’s hard to get started in the new suite.
[Chris Gammell] runs Contextual Electronics, an online apprenticeship program which goes from concept to assembled electronics covering everything in between. To take the course you pay a nominal fee, but [Chris] posted a very excellent ten-part video series made during the last run of classes which you can watch without charge. The videos go through the basics of KiCAD while hitting the major points to consider when designing and manufacturing your electronics.
The project [Chris] chose is a simple circuit that blinks an LED with a 555. The first videos cover navigating KiCAD’s component schematic editor and library system. Next comes creating circuit schematics and component footprint creation. [Chris] covers PCB layout, the generation of Gerber files, and finally ordering the design from OSH Park — the purveyors of purple boards we’ve come to know and love. The series finishes up with simulating the circuit in LTSpice, ordering the parts, and finally soldering and debugging of the board. If all goes correctly you should now have a single blinking LED.
If the bright summer sun is burning your delicate skin, and you’d rather be locked inside with solder fumes, add this to your watch list now!
Continue reading “It’s Time to Finally Figure Out How to Use KiCAD”
We recently posted a three-part series about using LTSpice to simulate electronic circuits (one, two, three). You might have found yourself wondering: Can you really simulate practical designs with the program? This quick analysis of [QRP Gaijin’s] minimalist regenerative receiver says “yes”.
Continue reading “A Spicy Regenerative Reciever”
Spice is a circuit simulator that you should have in your toolbox. While a simulator can’t tell you everything, it will often give you valuable insight into the way your circuit behaves, before you’ve even built it. In the first installment of this three-part series, I looked at LTSpice and did a quick video walkthrough of a DC circuit. In the second, I examined two other parts of Spice: parameter sweeps and AC circuits. In this final installment, I want to talk a bit more about real-world component performance and also look at modeling transformers.
Last time we looked at a low pass filter, but it wasn’t practical because the components were too perfect. Only in simulation do voltage sources and wires have zero resistance. There was no load resistance either, which is unlikely. Even an oscilloscope probe will load the circuit a little.
The resulting AC analysis showed a nice filter response that was flat to about 1 kHz and then started roll off as the frequency increased. Suppose the source had an 8 ohm series resistor. How does that change the circuit response?
Continue reading “Transforming Spice”
Spice is a circuit simulator that you should have in your toolbox. While a simulator can’t tell you everything, it will often give you valuable insight into the way your circuit behaves, before you’ve even built it. In the first installment of this three-part series, I looked at LTSpice and did a quick video walkthrough of a DC circuit. This time, I want to examine two other parts of Spice: parameter sweeps and AC circuits. So let’s get to it.
In the first installment, I left you with a cliffhanger. Namely the question of maximum power transfer using this simple circuit. If you run the
.op simulation you’ll get this result:
--- Operating Point ---
V(n001): 5 voltage
I(R1): 0.1 device_current
I(V1): -0.1 device_current
The power in
R1 (voltage times current) is .5 W or 500 mW if you prefer. You probably know that the maximum power in a load occurs when the load resistor is the same as the source resistance. The
Rser parameter sets the voltage source’s internal resistance. You could also have created a new resistor in series with
V1 and set it explicitly.
Continue reading “Spice Power”
Most of us didn’t fight in World War II, drive a race car, or fly the Space Shuttle. But with simulation, you can experience at least some of what it would be like to do those things. Granted, playing Call of Duty isn’t really the same as going to war. No matter what you are simulating, it only goes so far. However, you can get a lot of value from a simulation. I’d bet the average kid who has played Call of Duty knows more about WWII locales and weapons than my high school history teacher.
When it comes to electronics, simulation is an excellent way to get insight into a circuit’s operation. After all, most circuits operate in the abstract–you can’t look at an audio amplifier and see how it works without a tool like a scope. So simulation, when done well, can be very satisfying. You just have to be careful to remember that it isn’t always as good as the real thing.
One of the best-known electronics simulators is Spice, which Berkeley created in 1973. In its original form, you had to punch cards that described your circuit and the analysis you wanted to perform. Modern PC versions sometimes replace the deck of cards with a text file. The best modern versions, though, give you a GUI that allows you to draw a schematic and then probe it to see the results.
There are several paid and free versions of Spice (and other simulators) that include a GUI. One of the best for a casual user is the free offering from Linear Technology called LTSpice.
Linear makes LTSpice available and populates it with models for their devices in the hopes you’ll buy components from them. However, the software is entirely usable for anything, and it has a powerful set of features. Linear produces the software for Windows, but I can attest that it runs just fine under Wine on Linux. The Web site will invite you to register, but you don’t have to if you don’t want to.
Continue reading “Adding Spice to Your Workbench”
Audiophiles spend a lot of time and effort worrying about audio specs like Total Harmonic Distortion (THD). Makes sense, because THD affects the quality of audio reproduction. However, THD can also affect interference from radio signals and even losses in power transfer systems. A simplified definition is the THD is the ratio of the sum of the power of all harmonic frequencies to the power of the fundamental frequency.
If a circuit produced a perfect sine wave, there would be no harmonics. There are many ways to measure THD in practice, but [Michael Jackson] has an interesting video showing how he easily visualizes THD using LTSpice. Assuming you already have the system in question in LTSpice (or you could use another simulation tool, if you prefer) it is fairly straightforward.
Continue reading “Using LTSpice to Measure Total Harmonic Distortion”