Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

simple but unique dC project

Status
Not open for further replies.

jaywee03

Newbie level 4
Newbie level 4
Joined
Jul 13, 2004
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
54
hi, can anyone suggest a project that involves direct current.
it should be....
1. unique
2. reasonable price
3. useful :D
 

i would suggest a gilbert multiplier or even a bandgap reference. both of these are quite interesting topics, that give a good foundation into more complex projects.

i had a post on here somewhere about building a bandgap with 2n3904 and 2n3906 and resistors. i bet you could build one for less than $1 US, and you get a temperature and voltage independent reference voltage that depends only on the size of the bandgap in the silicon crystal - this is one of the most fascinating circuits i think. the more you learn about how it works, the more you learn about the world around you..

search for 2n3904 and bandgap and electronrancher and i bet you'll find it - i posted some orcad simulations i think so you can get the schematic from there.
 

jaywee03 said:
hi, can anyone suggest a project that involves direct current.
it should be....
1. unique
2. reasonable price
3. useful :D

Involves direct current: DC. Try anything with photodiodes like for example: measuring human pulse. Photodiodes collect light which is a DC pulsating current.
 

i got your pm - how it works is as follows.

the voltage across a diode (or B-E junction) shrinks with increasing temperature. This slope is pretty linear, but not completely linear so there is always a lot of interest in "curvature-corrected" bandgaps that take care of this. The bg i posted is not curve-corrected. Anyway, if you measure the diode voltage at a few different temperatures you can get the slope, and if you extend this slope all the way to 0 Kelvin you find that the diode voltage has grown all the way to the bandgap of silicon - about 1.1 to 1.2 V depending on how heavily the diode was doped (it shrinks the bandgap)

So now you need to add a temperature-increasing voltage to this diode, and you can make the overall voltage almost absolutely flat over temperature. The way you do this is to force the voltage across one diode equal to the voltage across several diodes plus a small resistor. The resistor sucks up enough current to balance the small voltage (many diodes) against the big voltage (one diode).

Now this crazy apparatus will draw a DC current that is proportional to absolute temperature - PTAT, increasing with increasing temp. And this one IS absolutely linear, as long as the diodes are the same type and pretty closely matched.

now, you run this increasing current into a resistor to give you an increasing voltage. stack that resistor on top of a diode (which you know decreases with temp) and you have got yourself a voltage reference, whose flattest point occurrs at a voltage equivalent to the bandgap of silicon.

Now if you don't know the band gap of silicon, it's a little harder to explain. I'll try like this: Atoms of silicon can only fit together so closely, even when packed into a perfect crystal structure, like is used in electronics. This distance makes the electron valence shells mesh together partially. Now since you can't have a partial energy level, they split apart to where they can naturally rest, creating a little forbidden zone about 1.1-1.2 electron-volts wide, called the band-gap. Germanium (another less commonly used semiconductor) has a smaller band gap, but anything with a band gap can be used to make a bandgap reference for that particular material.

Let me see if I can play around with some new orcad files that are less complicated than the last ones, that explain the basic principle better.
 

OK, here is a bandgap made of 1N4148 to explain the principle better.

We use the diode D10 as the voltage that decreases with temperature, and we use resistor R2 to multiply the PTAT current until the slope and magnitude of the falling and rising voltages are equal. Look at page 4, and you will see that the diode voltage falls with temp, and the voltage across the resistor rises with temp. R3 has been scaled so these voltages are equal in slope, giving the temperature-independant bandgap output.

You can see in page 2 that Vbg is not perfectly flat, but it's close enough to use as a precision reference voltage, especially when compared to how much the diode voltage alone changes!

Now I will explain how to make the PTAT current. I use only 1n4148, but I have to throw a few transistors in in order to regulate some things.. First, Q1/Q2 acts as a belt, (like for your pants) in order to keep the voltage across the multi-diode equal to the voltage across the single diode. Now when you parallel 8 diodes, the voltage across them is smaller than across a single diode. We add the resistor, and now the voltage difference (given by kT/Q*ln( 8 )) is pushed onto the resistor. This voltage difference, called deltaVBE, is very well defined for anything made in silicon - this guy is the magic one really.

Now deltaVBE always has a nice, well behaved, positive tempco. We can use this to compensate for the not-well-behaved diode tempco. This means that every time you build one of these, the single diode D10 will mismatch a little bit, and R2 may have to be more or less than 3.25k in order to reach 1.073v, the magic voltage for the 1N4148.

The mirrors Q3/Q4 complete the PTAT loop. Now the current in the Q3 branch is set to be the same as the current in the Q4 branch, and we have already locked the voltage by the Q1/Q2 mirror, so now we can say that the current in all branches is equal to the ptat voltage divided by the resistor, so therefore the current in all branches is ptat. A plot of the ptat current is shown on the last page. Now all we have to do is choose a resistor such that this current times our resistor gives the opposite of the diode voltage, and we are done!

We add one more mirror (Q5), which will again source the same PTAT current as found in Q3/Q4, and we put the gain resistor plus a single diode in it's path. Now the output voltage is Vbe(t) + IPTAT(t)*R

Vbe decreases with t, PTAT increases with t, and R scales the PTAT voltage to match, giving a very very flat reference voltage made out of a whole bunch of moving tagets - pretty cool, eh?

Speaking of cool, you should be able to stick this circuit in the freezer for an hour (keep it running, a 9v battery will run this for months) and measure the output after a while - it should be very close to the room temp value. But measure the voltage at the top of D10 and it will have changed 20%!

Same thing for the oven - don't melt your circuit or explode your battery, but you should be able to get this circuit up to 100F in an oven with no problem (maybe heatgun is better) and again measure little to no temp drift. If you do have drift, use this strategy.

If Vout is low at room temp and higher at hot, decrease R2. If Vout drops with increasing temp, increase R2. Even professional IC's need to be tested like this, to find the "Magic Voltage". Then all IC's with this bandgap can have R2 "trimmed" to obtain this same magic voltage, and we know the temp response will be well centered.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top