<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>All About Circuits Forum - Blogs</title>
		<link>http://forum.allaboutcircuits.com/blog.php</link>
		<description>A discussion forum for electronics and circuits</description>
		<language>en</language>
		<lastBuildDate>Sat, 21 Nov 2009 06:01:33 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://forum.allaboutcircuits.com/images/misc/rss.jpg</url>
			<title>All About Circuits Forum - Blogs</title>
			<link>http://forum.allaboutcircuits.com/blog.php</link>
		</image>
		<item>
			<title>Deesigns are (almost) finished</title>
			<link>http://forum.allaboutcircuits.com/blog.php?b=385</link>
			<pubDate>Wed, 11 Nov 2009 06:51:39 GMT</pubDate>
			<description>Ok the computer is really starting to take shape. So, the schematics for the ALU ARE DONE!!! and will upload them in a pdf. The accumulator is also...</description>
			<content:encoded><![CDATA[<div>Ok the computer is really starting to take shape. So, the schematics for the ALU ARE DONE!!! and will upload them in a pdf. The accumulator is also done but the main processor...well....lets just say i needs to be checked first.<br />
 <br />
If someone could check it for me the just send me a message by this forum or :<br />
 <br />
<a href="mailto:kiwisoftware@hotmail.co.uk">kiwisoftware@hotmail.co.uk</a><br />
 <br />
the code is as follows:<br />
 <br />
0000 - add (adds two numbers and stores in accumulator)<br />
0001 - adm (adds number in accumulator with word B)<br />
0010 - sub (subtracts two numbers and stores in accumulator)<br />
0011 - sbm (subtracts number in accumulator with word B)<br />
0100 - AND (AND operation with word A and B, then stores in accumulator)<br />
0101 - ANM (AND operation with accumulator and word B, then stores in accumulator)<br />
0110 - OR* (OR operation with word A and B, then stores in accumulator)<br />
0111 - ORM (OR operation with accumulator and word B, then stores in accumulator)<br />
1000 - NOT (NOT operation with word A then stores in accumulator)<br />
1001 - NOM (NOT operation with accumulator, then stores in accumulator)<br />
1010 - EXO (EXOR operation with word A and B, then stores in accumulator)<br />
1011 - EXM (EXOR operation with accumulator and word B, then stores in accumulator)<br />
1100 - COM (Compare Accumulator word with word B)<br />
1101 - SAV (Saves words A, B and instruction into memory)<br />
1110 - LOD (Loads words A, B and instruction) <br />
1111 - RES (Resets everything)<br />
 <br />
notice that the COM compares accumulator word and word B because if i just compared word A and B then if i was to make a program i could never compare a result with anything :( but know i have fixed it :)<br />
 <br />
thanks for reading and GIVE ME ALL YOUR KNOWLEDGE!!!</div>

]]></content:encoded>
			<dc:creator>MITCH electronics</dc:creator>
			<guid isPermaLink="true">http://forum.allaboutcircuits.com/blog.php?b=385</guid>
		</item>
		<item>
			<title>ALU getting there</title>
			<link>http://forum.allaboutcircuits.com/blog.php?b=384</link>
			<pubDate>Sat, 31 Oct 2009 16:49:43 GMT</pubDate>
			<description>I have completly redesigned the ALU after discovering i need decoupling capacators and open collectors. I am using the Eagle software to draw the...</description>
			<content:encoded><![CDATA[<div>I have completly redesigned the ALU after discovering i need decoupling capacators and open collectors. I am using the Eagle software to draw the schematics and convert to PCB, man....I have never used such a brilliant program for auto-routing. This thing can route ANYTHING!!!</div>

]]></content:encoded>
			<dc:creator>MITCH electronics</dc:creator>
			<guid isPermaLink="true">http://forum.allaboutcircuits.com/blog.php?b=384</guid>
		</item>
		<item>
			<title>4-Bit Computer Project</title>
			<link>http://forum.allaboutcircuits.com/blog.php?b=383</link>
			<pubDate>Wed, 28 Oct 2009 14:00:44 GMT</pubDate>
			<description><![CDATA[Well I have finished the ALU design and just need to implement this to a PCB. Instead of the traditional "everything on one board" I have designed...]]></description>
			<content:encoded><![CDATA[<div>Well I have finished the ALU design and just need to implement this to a PCB. Instead of the traditional &quot;everything on one board&quot; I have designed mini boards that fit in a mini shelf (i mean really small). This way its easier to find a problem and fix.</div>

]]></content:encoded>
			<dc:creator>MITCH electronics</dc:creator>
			<guid isPermaLink="true">http://forum.allaboutcircuits.com/blog.php?b=383</guid>
		</item>
		<item>
			<title>Quick exercise in, design of a , Volt.PK. Detector</title>
			<link>http://forum.allaboutcircuits.com/blog.php?b=382</link>
			<pubDate>Wed, 07 Oct 2009 00:32:28 GMT</pubDate>
			<description>Design: 
Voltage Peak detector 
  
1. Vcc = 12v. 
  
2. Choose VCQ1 output, = 9v. 
  
3. Choose VBQ1 = 8v. 
  
4. VEQ1 = 7.3v.</description>
			<content:encoded><![CDATA[<div><font size="2">Design:</font><br />
<font size="2">Voltage Peak detector</font><br />
 <br />
<font size="2">1. Vcc = 12v.</font><br />
 <br />
<font size="2">2. Choose VCQ1 output, = 9v.</font><br />
 <br />
<font size="2">3. Choose VBQ1 = 8v.</font><br />
 <br />
<font size="2">4. VEQ1 = 7.3v.</font><br />
 <br />
<font size="2">5. choose RCQ1 = 470 ohms. (to drive a LED output)</font><br />
 <br />
<font size="2">6. IRCQ1 = (Vcc - VCQ1) / RCQ1 = ~ 6.38 mA.</font><br />
 <br />
<font size="2">7. RE is a split resistance, between the emitter of Q1 and Q2.</font><br />
<font size="2">RE = ( REQ1 + REQ2) = (VEQ1 / IRCQ1) = ~ 1143 ohms.</font><br />
<font size="2">So make REQ1 = REQ2 = 560 ohms each.</font><br />
 <br />
<font size="2">8. Now VEQ2 = ~ 3.65v.</font><br />
 <br />
<font size="2">9. Now with around 1100 ohms for RE, then make RB1Q1 around 2 times RE =~ 2K ohms.</font><br />
 <br />
<font size="2">10 IRB1Q1 = (VBQ1 / RB1Q1) = 4mA.</font><br />
 <br />
<font size="2">11. RB2Q1 = (Vcc - VBQ1) / IRB1Q1 = 1K ohms.</font><br />
 <br />
By varying the resistor value of REQ2, to a higher value, will increase VEQ2, which in turn will then detect a higher PK input voltage.<br />
 <br />
This will also raise the idle (standing voltage) at the output too.<br />
 <br />
 <br />
<font size="2">Idle output voltage.</font><br />
<font size="2">Input @ 4v.</font><br />
<font size="2">No trigger of circuit. </font><br />
 <br />
<font size="2"><a href="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=192&amp;d=1254875411" rel="Lightbox" id="attachment192" target="_blank"><img src="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=192&amp;thumb=1&amp;d=1254875411" class="thumbnail" border="0" alt="Click image for larger version

Name:	idle volt.jpg
Views:	121
Size:	73.9 KB
ID:	192" style="margin: 2px" /></a></font><br />
 <br />
 <br />
 <br />
<font size="2">Input voltagte @ 4.3V.</font><br />
<font size="2">The circuit is triggered.</font><br />
 <br />
<font size="2"><a href="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=193&amp;d=1254875411" rel="Lightbox" id="attachment193" target="_blank"><img src="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=193&amp;thumb=1&amp;d=1254875411" class="thumbnail" border="0" alt="Click image for larger version

Name:	PK volt.jpg
Views:	96
Size:	73.9 KB
ID:	193" style="margin: 2px" /></a></font></div>

]]></content:encoded>
			<dc:creator>hobbyist</dc:creator>
			<guid isPermaLink="true">http://forum.allaboutcircuits.com/blog.php?b=382</guid>
		</item>
		<item>
			<title>CookBook Entries</title>
			<link>http://forum.allaboutcircuits.com/blog.php?b=381</link>
			<pubDate>Sat, 03 Oct 2009 20:41:19 GMT</pubDate>
			<description>This section will encompase basic circuits people might use.  If a schematic is found to be flawed, it will be repaired or removed.</description>
			<content:encoded><![CDATA[<div>This section will encompase basic circuits people might use.  If a schematic is found to be flawed, it will be repaired or removed.</div>

]]></content:encoded>
			<dc:creator>Bill_Marsden</dc:creator>
			<guid isPermaLink="true">http://forum.allaboutcircuits.com/blog.php?b=381</guid>
		</item>
		<item>
			<title>LEDs, 555s, PWM, Flashers, and Light Chasers Index</title>
			<link>http://forum.allaboutcircuits.com/blog.php?b=378</link>
			<pubDate>Sun, 20 Sep 2009 03:39:41 GMT</pubDate>
			<description><![CDATA[LEDs, 555s, PWM, Flashers, and Light Chasers 
  
I'm moving this article to blog format to allow me greater flexability in editing. Please, do not...]]></description>
			<content:encoded><![CDATA[<div><font size="5"><font color="blue">LEDs, 555s, PWM, Flashers, and Light Chasers</font></font><br />
 <br />
I'm moving this article to blog format to allow me greater flexability in editing. <i>Please</i>, do not comment in the blog, if you do I will delete it. If you want to leave a comment do it <a href="http://forum.allaboutcircuits.com/showthread.php?t=19075" target="_blank">here</a>.<br />
 <br />
One of the most common requests at All About Circuits is various methods of flashing LEDs. I'll try to show most of the techniques used for this purpose that have been covered on this site, explaining how and why along the way.<br />
 <br />
 <br />
<u><i><font size="3">Index</font></i></u><br />
 <br />
1.<font color="white">...</font><a href="http://forum.allaboutcircuits.com/blog.php?bt=674" target="_blank">LEDs</a><br />
2.<font color="white">...</font><a href="http://forum.allaboutcircuits.com/blog.php?bt=675" target="_blank">Current Limiting</a><br />
3.<font color="white">...</font><a href="http://forum.allaboutcircuits.com/blog.php?bt=676" target="_blank">The LED / Resistor Only Bargraph</a><br />
4.<font color="white">...</font><a href="http://forum.allaboutcircuits.com/blog.php?bt=677" target="_blank">The 555 Integrated Circuit</a><br />
5.<font color="white">...</font><a href="http://forum.allaboutcircuits.com/blog.php?bt=678" target="_blank">The 555 and PWM</a><br />
6.<font color="white">...</font><a href="http://forum.allaboutcircuits.com/blog.php?bt=679" target="_blank">Low Power Applications</a><br />
7.<font color="white">...</font><a href="http://forum.allaboutcircuits.com/blog.php?bt=680" target="_blank">The Joule Thief</a><br />
8.<font color="white">...</font><a href="http://forum.allaboutcircuits.com/blog.php?bt=681" target="_blank">From Four, Twenty</a><br />
9.<font color="white">...</font><a href="http://forum.allaboutcircuits.com/blog.php?bt=682" target="_blank">Light Chasers</a><br />
10.<font color="white">l.</font><a href="http://forum.allaboutcircuits.com/blog.php?bt=683" target="_blank">Transistor Drivers</a><br />
11.<font color="white">l.</font><a href="http://forum.allaboutcircuits.com/blog.php?bt=684" target="_blank">Making Patterns</a><br />
<font color="white">l.....</font><a href="http://&quot;http://forum.allaboutcircuits.com/blog.php?bt=693" target="_blank">Conclusion</a><br />
 <br />
<img src="http://forum.allaboutcircuits.com/picture.php?albumid=45&amp;pictureid=575" border="0" alt="" /></div>

]]></content:encoded>
			<dc:creator>Bill_Marsden</dc:creator>
			<guid isPermaLink="true">http://forum.allaboutcircuits.com/blog.php?b=378</guid>
		</item>
		<item>
			<title>small sig.amp completed.</title>
			<link>http://forum.allaboutcircuits.com/blog.php?b=377</link>
			<pubDate>Sun, 19 Jul 2009 21:35:49 GMT</pubDate>
			<description>Page 3. 
If this works properly I will post this particular design page in the electronics general category 
for people to look at and suggest design...</description>
			<content:encoded><![CDATA[<div>Page 3.<br />
If this works properly I will post this particular design page in the electronics general category<br />
for people to look at and suggest design corrections, for beginners to learn from.<br />
 <br />
This can be scrutinized by people more knowledgeable to give good design suggestions so everyone starting<br />
out in this field can benefit from the learning in this thread.<br />
&#12288;<br />
VCC = 12V.<br />
Freq. = 400 Hz.<br />
Vin pk. = 10mV.<br />
VinZout = 700 ohms.<br />
Vout pk. = 4V.<br />
Rload = 200 ohms.<br />
-----------------------<br />
I will approach this design by designing CC amp. for the output to drive the load.<br />
 <br />
Stage Q1:<br />
Vin pk. = 4V. <br />
Re1 = 200 ohms to match Rload.<br />
C1 = 100uF<br />
 <br />
These next steps are done experimentally because of the low VCC with respect to Vin.<br />
Now since Vin is very high with respect to the VCC I will make RB1 around 100 &gt; RE1<br />
 <br />
RB1 = 22K<br />
Now hooking my generator to the input of this CC. amp. and scoping the input and output,<br />
I use my res.sub.box. to test resistors between base and VCC, until I get a proper waveform<br />
close to 4V pk. across a 200 ohm load. (that value is RB2)<br />
 <br />
RB2 = 3.9K<br />
 <br />
Dynamic test:<br />
A good waveform across Rload, the amp can only take around 4V. input before it distorts<br />
so because of the low VCC with respect to the output swing needed, the output across the Rload<br />
is a little more than 3.8V pk. close to design values, shoiuld I realy need a 4V. out, than<br />
I would have to use different transistors (fet, power trans, ect..). But this is just a experimental<br />
design. <br />
To see how stable the stage was, due to base current loading on the divider, I did the 5 transistor<br />
substitute on this stage and the Vb, VE, and waveform amplitude and structure remained close to same, <br />
values throughout. No significant change in the output wave.<br />
 <br />
It passed the base current loading affect test, so this stage is somewhat stable in variations of IB.<br />
 <br />
Calculate Zin estimated around 1.2K - 2.4K using Beta from (20 - 100)<br />
Now I have a output voltage across the Load as reqired.<br />
 <br />
The Zin is still too low for me to multistage CE amps into it yet.<br />
 <br />
So I will keep the scope at the output of this stage and design another CC. amp to cap. feed into it<br />
using a RE2 value of 1K.<br />
 <br />
<a href="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=188&amp;d=1248039104" rel="Lightbox" id="attachment188" target="_blank"><img src="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=188&amp;thumb=1&amp;d=1248039104" class="thumbnail" border="0" alt="Click image for larger version

Name:	Q1.jpg
Views:	307
Size:	11.6 KB
ID:	188" style="margin: 2px" /></a><br />
---------------------------<br />
&#12288;<br />
Stage Q2:<br />
RE2 = 1K<br />
RB3 = 33K<br />
RB4 = 22K<br />
 <br />
Dynamic test:<br />
 <br />
Well when I hooked up the input signal I had to lower it's amplitude now the output signal has excellent<br />
waveshape and the amplitude is right at 4V. pk. Even when I disconnect and connect the 200 ohm LOAD<br />
there is hardly any noticeable change in both the amplitude and shape of waveform. Very good.<br />
 <br />
Zin is now around (6k - 10k) OHMS.<br />
I think I have enough impedance to develope a 4V. pk signal across with a CE amp stage.<br />
 <br />
<a href="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=189&amp;d=1248039113" rel="Lightbox" id="attachment189" target="_blank"><img src="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=189&amp;thumb=1&amp;d=1248039113" class="thumbnail" border="0" alt="Click image for larger version

Name:	Q1,Q2.jpg
Views:	269
Size:	17.1 KB
ID:	189" style="margin: 2px" /></a><br />
-------------------------------<br />
Stage Q3:<br />
 <br />
RC3 = 4.7K<br />
VCQ3 = 6V.<br />
ICQ3 = 1.27mA.<br />
Av. = 20 no load<br />
RE3 = 220<br />
VRE3 = 279mV.<br />
VRB5 = 0.98V.<br />
RB5 = 8.2K<br />
IRB5 = 119uA.<br />
RB6 = 91K<br />
 <br />
static test:<br />
 <br />
VC = 5.7V.<br />
VRB5 = 1V.<br />
 <br />
dynamic test:<br />
 <br />
Waveform shows good amplitude close to 4.5V. pk. input signal needed lowered, for that stage.<br />
Now OVERALL performance to this point, scoping Vout. at the RLOAD and scoping Vin aqt stage Q3,<br />
shows excellent waveform and amplitude rides comfortably at a peek of 4V. across the 200 ohm load.<br />
 <br />
Disconnecting the load gives No real significant change in the Vout, of amp, and Vin is at 300mV.<br />
 <br />
I changed the transistors in all 3 stages 3 times and got the ame output waveform.<br />
Good amplifying so far.<br />
 <br />
So 3 stages Av. is around (4V / 300mV) = 13.3<br />
Zin = (2.7K - 5.6K) Beta (20 -100)<br />
 <br />
<a href="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=190&amp;d=1248039124" rel="Lightbox" id="attachment190" target="_blank"><img src="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=190&amp;thumb=1&amp;d=1248039124" class="thumbnail" border="0" alt="Click image for larger version

Name:	Q1,Q2,Q3.jpg
Views:	246
Size:	25.2 KB
ID:	190" style="margin: 2px" /></a><br />
------------------------<br />
Stage Q4:<br />
 <br />
RC4 = 2K<br />
VCQ4 = 6V<br />
ICQ4 = 3mA.<br />
Av. = 20 no load<br />
RE4 = 100<br />
VRE4 = 300mV.<br />
VRB7 = 1V.<br />
RB7 = 6.8K<br />
IRB7 = 147uA<br />
RB8 = 75K<br />
static test:<br />
VC = 7V<br />
VRB7 = 0.97V <br />
 <br />
Dynamic test:<br />
Good signal waveform and amplitude:<br />
COMPLETED AND WORKS GOOD.<br />
----------------------------------------------<br />
OVERALL PERFORMANCE<br />
Vin = 8mV<br />
Vout = 4V<br />
RLOAD = 200 ohms.<br />
When I connect or disconnect the LOAD there is NO apparent change in Vout amplitude nor waveform shape.<br />
Av. = 500<br />
 <br />
When I got to the last stage and connected it to the rest of the amp, I got a lot of rf noise on the scope<br />
I put in a 0.1 uf cap from the base of Q3 to ground to filter the noise and got a nice strong waveform,<br />
however I was getting 4 Volt. out with 20mV. input, so I placed the AC bypass across emitter res.RE3 to bring<br />
a nice 4V. output with a 8mV. input. So I was able to recover the gain needed to put 4.Vout @ 10.mVin.<br />
 <br />
No feedback capacitors were used, therefore a very slight phase shift from input to output.<br />
 <br />
Changed every transistor with different ones, couple times and get the same output waveform.<br />
 <br />
I designed it with my generator set at 400Hz.<br />
So this amp is more like a narrow bandpass amplifier it only amplifies at peek voltage from 400 to around 900 Hz.<br />
It amplifies about a 500 HZ bandwith very narrow.<br />
 <br />
This is a experiment in trying to design using a logical approach of attempting to amplify a small signal<br />
from a impedance mismatch between input and output from a high impedance 700 ohms to a low 200 ohms output.<br />
 <br />
With a Vcc that is just large enough to handle the signal voltage of 4V. peek.<br />
 <br />
Also using NPN 2n3904 transistors throughout the design.<br />
&#12288;<br />
Vout at the RLOAD is 4V. pk.<br />
 <br />
<a href="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=191&amp;d=1248040383" rel="Lightbox" id="attachment191" target="_blank"><img src="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=191&amp;thumb=1&amp;d=1248040383" class="thumbnail" border="0" alt="Click image for larger version

Name:	Q1,Q2,Q3,Q4.jpg
Views:	242
Size:	37.4 KB
ID:	191" style="margin: 2px" /></a></div>

]]></content:encoded>
			<dc:creator>hobbyist</dc:creator>
			<guid isPermaLink="true">http://forum.allaboutcircuits.com/blog.php?b=377</guid>
		</item>
		<item>
			<title>small signal amp exp. page 3</title>
			<link>http://forum.allaboutcircuits.com/blog.php?b=376</link>
			<pubDate>Fri, 17 Jul 2009 14:43:20 GMT</pubDate>
			<description><![CDATA[PAGE 3 REDESIGN working from input to output stage. 
  
At this point I'm running into clipping problems when I add a fourth stage, 
I check the DC...]]></description>
			<content:encoded><![CDATA[<div>PAGE 3 REDESIGN working from input to output stage.<br />
 <br />
At this point I'm running into clipping problems when I add a fourth stage,<br />
I check the DC bias for each stage and the VC. is around the 1/2 VCC area.<br />
 <br />
I check the Av. each individually, and I get the gains required, but coupling them is when I run into problems,<br />
with clipping of the waveform.<br />
 <br />
So I will start over again:<br />
 <br />
This time I need to check the audio frequency generator, Volt output, because when I get in the very low millivolt region<br />
I run into problems with signal oscilating and rf noise. Showing on my scope.<br />
 <br />
Audio generator = 10mV. pk. @ Zout = 700 ohms is the minimum where there is good clarity of the waveform on the scope.<br />
 <br />
So I will use that as my baseline Vin. for my amp design.<br />
 <br />
Now since my Vin, is established I will design from the input to the output stage, that way I can design each stage Zin,<br />
with the proper Vb, needed to handle the signal each stage recieves, because I think what was happening was that the signal<br />
was overdriving the stages. so I will use the input voltage to determine as much as possible, what value of Vb I need for each stage.<br />
 <br />
Vin. pk. = 10mV.<br />
Vout. pk. = 4V.<br />
Rload = 200 ohms.<br />
VCC = 12V.<br />
 <br />
Alright Now I'm getting somewhere with this,<br />
I hace been running into problems with overdriving the stages, and impedances, so when I took all coupling caps out and disconnected the load on the output stage, so now my transisitor stage is just DC analysis only, I measured my VC, and VB, everything looked good, then keeping my voltmeter hooked to VB point, (2.36V)<br />
 <br />
 I coupled the signal generator into this stage, and observed the waveform with negative peaks around 4 volts, but positive flats at around 3 volts. Then I observed on the voltmeter, that VB was reading <br />
- 0.47V, so as I decreased signal input the voltage began to rise to 0V.<br />
and then eventualy back to 2.36V. and the waveform was around 1V pk.<br />
with zero distortion.<br />
 <br />
I calculated the voltage pk. on my scope to be 700mV pk.<br />
I've read it in all my course books about the input signal driving a transistor stage into saturation, and things, but now I understand this much better, that the signal should have NO affect on the BIAS of the stage it's feeding into, which means signal impedance must be lower than stage impedance, as well as base voltage must be sufficiently higher than pk. voltage of input signal to handle the excursion in a linear way.<br />
 <br />
My method now will be to design the stages from the input going to the output, trying to keep the voltage VB at each stage to be around 4 times greater than the signal feeding into it. And see if that helps keep the stages from overdriving eachother.</div>

]]></content:encoded>
			<dc:creator>hobbyist</dc:creator>
			<guid isPermaLink="true">http://forum.allaboutcircuits.com/blog.php?b=376</guid>
		</item>
		<item>
			<title>small signal amp experiment cont. page 2</title>
			<link>http://forum.allaboutcircuits.com/blog.php?b=375</link>
			<pubDate>Thu, 16 Jul 2009 23:12:45 GMT</pubDate>
			<description><![CDATA[Ok Now I've been working on the next stage, and realizing that the Zin is dropping instead of increasing, as I try to get as much gain as possible. 
...]]></description>
			<content:encoded><![CDATA[<div>Ok Now I've been working on the next stage, and realizing that the Zin is dropping instead of increasing, as I try to get as much gain as possible.<br />
 <br />
Probably if I were to use bypass caps. It would solve most of this but I'm trying to not have to use bypass caps. if I don't have to.<br />
 <br />
My other alternative is to start over, and make the Volt. gain. of the output stages low and begin to increase the gains as I approach the input stages, <br />
 <br />
that way I can use larger values for the emitter resistors, which will increase the Zin so I can get out of this low value Zin hole, I dug myself into.<br />
 <br />
It's amazing when you really try to work within constraints, how there is a lot more work that has to go into getting the right values, so that transistor parameters, mainly base current loading don't affect the bias of the stage.<br />
 <br />
To be cont:<br />
------------------------------------------------------------------------------------<br />
<font size="2">PAGE 2. REDESIGN with lower Av. at the output.</font><br />
 <br />
<font size="2">arbitrary chosen = #</font><br />
 <br />
<font size="2">F = 400 HZ #</font><br />
<font size="2">Vout pk = 4V. # </font><br />
<font size="2">RLOAD = 200 ohms #</font><br />
<font size="2">VCC = 12V. = (3 x Vout pk) # </font><br />
<font size="2">-------------------------------------------------------</font><br />
<font size="2">Stage Q1:</font><br />
 <br />
<font size="2">VC = 6V.</font><br />
<font size="2">ICmax pk = 100 mA. # </font><br />
<font size="2">Vout pk = 4V. # </font><br />
<font size="2">VC- pk-pk = 2V.-10V.</font><br />
<font size="2">ICmin = VC of 10V. so 2V. dropped across RC = VRCmin </font><br />
<font size="2">ICmax = VC of 2V. so 10V is dropped across RC = VRCmax. @ ICmax of 100mA.</font><br />
<font size="2">Rout = RC1 // RL = { ( VRCmax / ICmax.)} = { (10V. / 100mA.)} = 100 ohms. </font><br />
<font size="2">RC1 = RL = (2 x Rout) = 200 ohms.</font><br />
<font size="2">ICQ1 = ( VC / RC) = (6 / 200) = 30mA.</font><br />
<font size="2">RC1 = 200</font><br />
<font size="2">Av. 2 #</font><br />
<font size="2">RE1 = (Rout / Av.) = 51 ohms </font><br />
<font size="2">VRE1 = 1.53V.</font><br />
<font size="2">VRB1 = 2.23V.</font><br />
<font size="2">RB1 = 1K ohms #</font><br />
<font size="2">IB1 = 2.23mA</font><br />
<font size="2">RB2 = 4.3K ohms</font><br />
 <br />
<font size="2">static test:</font><br />
<font size="2">When I build the volt. divider, I will test 5 different transistors for that stage and if the base current loading remains close to the same with all 5 then that divider will be used in the design of that stage.</font><br />
 <br />
<font size="2">VCQ1 = 6.54V.</font><br />
<font size="2">VEQ1 = 1.5V.</font><br />
<font size="2">VRB1 = 2.2V.</font><br />
 <br />
<font size="2">Dynamic test:</font><br />
<font size="2">Vin pk. = 220mV. pk.</font><br />
<font size="2">Vout pk. = 300mV pk.</font><br />
<font size="2">Av = 1.36</font><br />
<font size="2">Zin = 615 ohms using 50 for Beta. calculations</font><br />
<font size="2">Not much to be said for that stage.</font><br />
<font size="2">-----------------------------------------------------------------------------</font><br />
<font size="2">Stage Q2:</font><br />
 <br />
<font size="2">RC2 = 620 ohms</font><br />
<font size="2">Rout = 310 ohms approx.</font><br />
<font size="2">VCQ2 = 6V.</font><br />
<font size="2">ICQ2 = 9.67mA</font><br />
<font size="2">Av. = 2 #</font><br />
<font size="2">RE2 = 150</font><br />
<font size="2">VRE2 = 1.45V.</font><br />
<font size="2">RB3 = 3.3K #</font><br />
<font size="2">VRB3 = 2.15V.</font><br />
<font size="2">IRB3 = 652uA.</font><br />
<font size="2">RB4 = 15K</font><br />
 <br />
<font size="2">static test:</font><br />
<font size="2">VCQ2 = 6.72</font><br />
<font size="2">VEQ2 =1.37</font><br />
<font size="2">VRB3 =2.06</font><br />
 <br />
<font size="2">dynamic test: (Vout at the output stageQ1)</font><br />
 <br />
<font size="2">Vin pk Q2 = 360mV pk.</font><br />
<font size="2">Vout pk Q1 = 1V. pk.</font><br />
<font size="2">Av. 2.77</font><br />
<font size="2">Zin = 1987 ohms (beta = 50)</font><br />
<font size="2">Zin going up to 2K now. That's good..</font><br />
<font size="2">-------------------------------------------------------------------------------------</font><br />
<font size="2">Stage Q3: (It's time to go with a darlington pair.)</font><br />
 <br />
<font size="2">RC3 = 2K </font><br />
<font size="2">Rout = 1K</font><br />
<font size="2">VCQ3 = 6V.</font><br />
<font size="2">ICQ3 = 3mA.</font><br />
<font size="2">Av. 20 # </font><br />
<font size="2">RE3 = 51 ohms (Rout / 20)</font><br />
<font size="2">VRE3 = 153mV.</font><br />
<font size="2">VRB5 = 1.353V. </font><br />
<font size="2">(It seems like when calculating Vbe of a darlington pair need to use 1.2V for total Vbe of transistors together instead of nom.1.4V)</font><br />
 <br />
<font size="2">RB5 = 5.6K ohms #</font><br />
<font size="2">IRB5 = 241uA.</font><br />
<font size="2">RB6 = 44K ohms (43K + 1K) in series.</font><br />
 <br />
<font size="2">static test:</font><br />
<font size="2">VCQ3 =6.2V. </font><br />
<font size="2">VEQ3 =0.19V</font><br />
<font size="2">VRB5 =1.39V.</font><br />
 <br />
<font size="2">Dynamic test:</font><br />
<font size="2">Av. overall 50</font><br />
<font size="2">Vin pk. = 20mV.</font><br />
<font size="2">Vout pk. = 1V</font><br />
 <br />
<font size="2">Zin = 5K ohms (Where trans. betas x RE3 = into 100,000's so can be ignored in the calculations zin.)</font><br />
 <br />
<font size="2">To be cont:   On page 3</font></div>

]]></content:encoded>
			<dc:creator>hobbyist</dc:creator>
			<guid isPermaLink="true">http://forum.allaboutcircuits.com/blog.php?b=375</guid>
		</item>
		<item>
			<title>Digital thermometer</title>
			<link>http://forum.allaboutcircuits.com/blog.php?b=374</link>
			<pubDate>Thu, 16 Jul 2009 15:21:04 GMT</pubDate>
			<description>My first project with an ATMEL AVR microcontroller (ATMega8). I use the DS1820 digital temperature meter.  
...</description>
			<content:encoded><![CDATA[<div>My first project with an ATMEL AVR microcontroller (ATMega8). I use the DS1820 digital temperature meter. <br />
<br />
<a href="http://www.youtube.com/watch?v=ToWDsdDHvas" target="_blank">http://www.youtube.com/watch?v=ToWDsdDHvas</a></div>


<!-- attachments -->
	<div style="margin-top:10px">

		
			<fieldset class="fieldset">
				<legend>Attached Thumbnails</legend>
				<div style="padding:3px">
				
	<a href="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=187&amp;d=1247757644" target="attachment" rel="Lightbox" id="attachment187"><img class="thumbnail" src="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=187&amp;stc=1&amp;thumb=1&amp;d=1247757644" border="0" alt="Click image for larger version

Name:	DSC00078.jpg
Views:	233
Size:	249.5 KB
ID:	187" /></a>
	&nbsp;
	

				</div>
			</fieldset>
		
		
		
		

	</div>
<!-- / attachments -->
]]></content:encoded>
			<dc:creator>mik3</dc:creator>
			<guid isPermaLink="true">http://forum.allaboutcircuits.com/blog.php?b=374</guid>
		</item>
		<item>
			<title>Small signal amp proper design experiment</title>
			<link>http://forum.allaboutcircuits.com/blog.php?b=373</link>
			<pubDate>Wed, 15 Jul 2009 03:12:35 GMT</pubDate>
			<description><![CDATA[&#12288; 
As a hobbiest (NON engineer), I am designing a small signal amp in the most proper way I know how through my methods of calculations, and...]]></description>
			<content:encoded><![CDATA[<div><font size="2">&#12288;</font><br />
<font size="2">As a hobbiest (NON engineer), I am designing a small signal amp in the most proper way I know how through my methods of calculations, and imperical breadboarding and measurements and tests, using a calculator breadboard and components, oscilloscope, audio signal generator,</font><br />
<font size="2">resistor sub box. and multimeters. My method is design and build and test and make adjustments as necessary, and recalculate build and test until it works according to the constraints I put for it.</font><br />
<font size="2">This will be added to as I progress in this project...</font><br />
<font size="2">&#12288;</font><br />
<font size="2">arbitrary chosen = #&#12288;</font><br />
 <br />
<font size="2">F = 400 HZ #</font><br />
<font size="2">Vout pk = 4V. # </font><br />
<font size="2">Av. = 4000 # </font><br />
<font size="2">Vin pk. = 1mV. # </font><br />
<font size="2">Zin &gt; 10K # </font><br />
<font size="2">VCC = 12V. = (3 x Vout pk) # </font><br />
<font size="2">-------------------------------------------------------</font><br />
<font size="2">Stage Q1:</font><br />
<font size="2">VC = 6V.</font><br />
<font size="2">ICmax pk = 100 mA. # </font><br />
<font size="2">Vout pk = 4V. # </font><br />
<font size="2">VC- pk-pk = 2V.-10V.</font><br />
<font size="2">ICmin = VC of 10V. so 2V. dropped across RC = VRCmin </font><br />
<font size="2">ICmax = VC of 2V. so 10V is dropped across RC = VRCmax. @ ICmax of 100mA.</font><br />
<font size="2">Rout = RC1 // RL = { ( VRCmax / ICmax.)} = { (10V. / 100mA.)} = 100 ohms. </font><br />
<font size="2">RC1 = RL = (2 x Rout) = 200 ohms.</font><br />
<font size="2">ICQ1 = ( VC / RC) = (6 / 200) = 30mA.</font><br />
<font size="2">RC1 = 200</font><br />
<font size="2">Av. 10 #</font><br />
<font size="2">RE1 = (Rout / Av.) = 10</font><br />
<font size="2">VRE1 = 0.3V</font><br />
<font size="2">VRB1 = 1V</font><br />
<font size="2">RB1 = 180 #</font><br />
<font size="2">IB1 = 5.5mA</font><br />
<font size="2">RB2 = 1.8K</font><br />
<font size="2">Vinsig. = ( Vout pk. / Av. ) = (4 / 10) = 0.4Vin pk.</font><br />
<font size="2">&#12288;</font><br />
<font size="2">static measure:</font><br />
<font size="2">VC1 = 5.7V.</font><br />
<font size="2">VB1 = 1.07V.</font><br />
 <br />
<font size="2">Dynamic test:</font><br />
<font size="2">NO load = Vinsig pk. 400mV (distortion on the positive pk.) flat @ 350mV.pos. pk.</font><br />
<font size="2">NO load = Vinsig pk. 200mV. (NO distortion)</font><br />
 <br />
<font size="2">Conclusion : No load causes a change in the INPUT waveform:</font><br />
<font size="2">Lower Vinsig. removes distortion, normal waveform.</font><br />
<font size="2">Raise Vinsig. to designed value 400mV. with No load and check VRE1,</font><br />
<font size="2">VRE1 = 0.33V. NO load</font><br />
<font size="2">VRE1 = 0.35V. 200 ohm load.</font><br />
<font size="2">IRE1 = 33mA - 35mA.</font><br />
<font size="2">delta IRE1 = 2mA.</font><br />
<font size="2">Shows that With the small value of RE1 of 10 ohms causes more IB to flow under heavy </font><br />
<font size="2">Vsigin, thereby shunting the signal. When I replace the 200 ohm load, then Vinsig. has proper waveform, no distortion, @400mV pk. but Vout pk, shows around 3.5V pk.</font><br />
<font size="2">Res. sub box, shows 300 ohms Load, gives me design values of 400mV pk. Vin, </font><br />
<font size="2">with Vout pk. of 4 volts NO distortion.</font><br />
Assuming a low Beta, of 50, would make RE1 be around 500 ohms to the signal, so it is the divider resistors that needs to be raised to get a higher Zin.<br />
<font size="2">So to get 4V. pk. out @ 200 ohm load which is my constraints I will rework the divider resistors, for a higher values.</font><br />
 <br />
to be continued:<br />
 <br />
This is very interesting, if I raise RB1 the waveform gets worst, but if I lower it from 180 to 164 ohms, then VC is at 6.03V. the input waveform is almost no distortion, but doesn't quite reach 400mV, pk on the pos half, but reaches it on the neg side.<br />
 <br />
YThis is going to be a project in learning how to design the input impedance of a basic amp, load value as well as all the other components contribute to the signal input waveform, as the transistor conducts less the signal input has less distortion, but the amplitude goes down, as the transistor conducts more beyond certain value the signal input goes down in amplitude while remaining NO distortion.<br />
 <br />
This is a whole new learning experiance in amp design, just getting the proper values needed to keep the integrity of the input signal.<br />
 <br />
<font size="2">To be continued:</font><br />
<font size="2">&#12288;</font><br />
Alright Now I'm getting somewhere,<br />
 <br />
First I disconnected the generator from the amp stage and set my generator with my oscilloscope to read 400mV pk.<br />
Then hooked it up to the input of the amp stage and the waveform dropped to exactly 100mV. pk. (input signal)<br />
 <br />
Now I disconected the emitter resistor first and seen no big change in recovering the input amplitude, put back the emitter RE1 resistor, and disconnected the divider resistors, RB1 and RB2, and the signal amplitude was restored, with no distortion.<br />
 <br />
WHY THE DISTORTION?<br />
 <br />
Now for all the distortion I was getting before, was because of the stupidity, of raising the input voltage with the signal connected to the amp. That's a NO NO....because when I disconnected the amp stage my waveform reading on the oscilloscope, went way off scale, telling me whoops, can't adjust the input signal when it is coupled to the stage, No wonder it was so distorted I was driving the amp with a couple of volts signal instead of mV...<br />
 <br />
Alright that's figured out.<br />
 <br />
With 160 ohms for RB1 and the 1.8K for RB2 gives a nice VC of 6.03V.<br />
Good bias there, but input waveform due to low Zin of divider drops the input amplitude to 100mV. pk.<br />
 <br />
So I do need to increase the divider impedance, while trying to keep the Av. as close to design values as possible, if I increase the divider impedance too far I then risk base current loading, which makes the divider voltage dependant on the transistor base current rather than the divider current itself. Again Not too good...<br />
 <br />
To be continued:<br />
 <br />
Now something else I need to consider, is that my signal generator has an Zout of around 700 ohms, so I'm trying to design this stage, which requires a lower Zin at this point and trying to use my generator with higher Zout, is going to of course cause discrepancies, so I'll have to maybe use the -20 and -40 db attenuator and see what I can do.<br />
If that doesn't work than the best way to approach this is to just go by whatever attenuation is happening and just keep the signal waveform out of distortion, and check Voutput to make sure I'm getting the Av. that i want with no distortion.<br />
 <br />
Maybe that's what I need to do...<br />
 <br />
To be Cont.:<br />
 <br />
<font size="2">RB1 now = 270 ohms</font><br />
RB2 now = 3K<br />
RE1 remains at 10 ohms<br />
RC1 = Rload remains at 200 ohms<br />
 <br />
static test:<br />
VC = 6.14V.<br />
VRB1 = 0.99V.<br />
 <br />
Ok with these new values for the divider resistors everything is working good, I randomely put 3 different transistors in this stage and every one gave the same input and output waveform NO distortion and the same Av. <br />
However I will have to adjust the Av. for this stage because input signal shows 120mV. pk. and Vout is 1V. pk. Av. = 8.33<br />
Since I don't have a whole variety of caps, to choose from to get the extra AC gain. So I'll kepp this stage at Av. of 8.<br />
 <br />
to be cont:<br />
 <br />
<font size="2">Calculate Zin of this stage:</font><br />
<font size="2">Assume beta = 50 - 100 (for doing Zin calculations)</font><br />
<font size="2">Rdiv = 247 ohms</font><br />
<font size="2">{(RB1 // RB2) // B x RE1} approx. = (166 ohms. - 198 ohms)</font><br />
 <br />
<font size="2">Alright that's just to low, or else I'll be cascading stages all day trying to get the Av. I need.</font><br />
 <br />
<font size="2">So I will rework the values to get double than what this is right now.</font><br />
 <br />
<font size="2">with Beta chosen to be 50 :</font><br />
<font size="2">I want Zin to be from 330 - 400 ohms</font><br />
<font size="2">RB1 x RB2 / (RB1 + RB2) = Rdiv.</font><br />
<font size="2">and { (Rdiv. x 500) / (Rdiv + 500)} = Zin = to {(RB1 // RB2) // B x RE1} </font><br />
<font size="2">So { - (B x RE1 x Zin) / ( Zin - (B x RE1) } = Rdiv.</font><br />
<font size="2">B = 50, Zin = 330</font><br />
<font size="2">{- 500 x 330) / (330 - 500) = 970 = Rdiv. = RB1 // RB2</font><br />
<font size="2">so 970 = (RB1 // RB2) = Rdiv.</font><br />
 <br />
<font size="2">Therefore I'll choose 1K ohms for RB1.</font><br />
<font size="2">RB2 = { (Rdiv. x RB1) / (RB1 - Rdiv.) }</font><br />
<font size="2">RB2 = 32.3K ohms.</font><br />
 <br />
<font size="2">Now quick voltage check calculation:</font><br />
<font size="2">(12V. x 1K) / (1K + 32.3K) = 0.36V. Not feasable, I need 1V.</font><br />
 <br />
<font size="2">So I'll solve for RB2 using ohms law.</font><br />
<font size="2">RB2 = 11K</font><br />
<font size="2">I'll change these values and see if any significant change in base current loading.</font><br />
<font size="2">RB1 = 1K</font><br />
<font size="2">RB2 = 11K</font><br />
 <br />
<font size="2">static test:</font><br />
<font size="2">need to make RB1, = 1.2K</font><br />
<font size="2">VC =5.90V.</font><br />
<font size="2">VRB1 = 1.02V.</font><br />
 <br />
<font size="2">Dynamic tests:</font><br />
<font size="2">Shows good results as before.</font><br />
<font size="2">Same VC and waveform input and output, with 3 different transistors.</font><br />
 <br />
<font size="2">Calculate Zin of this stage now:</font><br />
<font size="2">Rdiv = 1081</font><br />
<font size="2">Zin = 342 - 519 where beta is 50 -100 for calculations.</font><br />
<font size="2">I like those Zin values.</font><br />
 <br />
<font size="2">To be cont.:</font></div>

]]></content:encoded>
			<dc:creator>hobbyist</dc:creator>
			<guid isPermaLink="true">http://forum.allaboutcircuits.com/blog.php?b=373</guid>
		</item>
		<item>
			<title>Forgot or Lost Password</title>
			<link>http://forum.allaboutcircuits.com/blog.php?b=372</link>
			<pubDate>Fri, 10 Jul 2009 07:54:45 GMT</pubDate>
			<description>If you have forgot or lost your password you can use the Lost Password Recovery Form (http://forum.allaboutcircuits.com/login.php?do=lostpw) 
 
On...</description>
			<content:encoded><![CDATA[<div>If you have forgot or lost your password you can use the <a href="http://forum.allaboutcircuits.com/login.php?do=lostpw" target="_blank">Lost Password Recovery Form</a><br />
<br />
On this form you should enter the registered email address for your user account. An email will be sent to that address shortly after entering the details with instructions for resetting your password.<br />
<br />
Since passwords are encrypted, there is no way to resend the original password; this option provides you with the ability to reset your password.<br />
<br />
You must be able to receive emails to your registered email address for this to work. You may need to check your spam filters and folder if you do not see this email shortly after requesting a password reset.<br />
<br />
If you are experiencing problems, please post in the <a href="http://forum.allaboutcircuits.com/forumdisplay.php?f=11" target="_blank">Feedback and Suggestions Forum</a> which allows Guests to post, where an administrator will deal with the issue. Please note, for security reasons, we will not manually send passwords for accounts to any user provided e-mail address - we will only deal with the address registered to that account.<br />
<br />
Dave</div>

]]></content:encoded>
			<dc:creator>Dave</dc:creator>
			<guid isPermaLink="true">http://forum.allaboutcircuits.com/blog.php?b=372</guid>
		</item>
		<item>
			<title>AC current sensor</title>
			<link>http://forum.allaboutcircuits.com/blog.php?b=366</link>
			<pubDate>Mon, 22 Jun 2009 00:10:49 GMT</pubDate>
			<description><![CDATA[This is a tutorial on basic transistor circuit design for multiple staging. 
This is a AC current sensor, based on a "radioshack" 12.6V. 1.2A, power...]]></description>
			<content:encoded><![CDATA[<div><font size="2">This is a tutorial on basic transistor circuit design for multiple staging.<br />
This is a AC current sensor, based on a &quot;radioshack&quot; 12.6V. 1.2A, power transformer, used as the detector.<br />
Prepararation:<br />
Begin by taking an ordinary 60W. lamp. Wrap its cord about 4 complete turns longitudenal around transformer.<br />
Tape tightly, I taped it then used a mini bar clamp to keep the wires tight against the Xfrmr.<br />
Also the transformer needs to set on a small piece of steel , my bar clamp takes care of that.<br />
I put my voltmeter at the transformer windings primary side,for AC readings and with lamp off and on .<br />
Using a AC voltmeter I got no readings.<br />
------------------------------------------------------------<br />
OBJECTIVE:<br />
Theory is that by wraping a few turns of the lamp cord around a power transformer, that when lamp is<br />
plugged in, the current through the corde would induce a voltage into the windings of the transformer,<br />
and by hooking the primary leads into this amp will detect and amplify the change in voltage induced,<br />
then rectify and further amplify the signal to be used to drive a load.<br />
CIRCUIT DESIGN:::<br />
 <br />
<u>See schem. #1<br />
 <br />
 <br />
</u>1. This first amp will be designed for matching a very high Z of the transformer output to a rather low Z input<br />
of the next stage where most of the amplier gain will take place.<br />
So this first amp will be used primarily for Z matching. Therefor not as much gain is needed. (Q1 stage CE. amp)<br />
Choose VCC = 8V.<br />
Choose R3 = 620K which is a good high Zin. <br />
Choose R1 = 62K so as to start bringing Zout of Q1 lower for next stage.<br />
Choose VCQ1 to be 1/2 VCC, so VC = 4V.<br />
Choose VCE = 2V.<br />
Therefor VEQ1 = 2V.<br />
Calculate R2 by equations {VCQ1 / R1) = IC and R2 = (VEQ1 / IC) <br />
R2 = 31K make it 33K a standard resistor value.<br />
Now (VEQ1 + 0.7V.) = 2.7V. label as VBQ1.<br />
So (VBQ1 / R3) = 4.35 uA. label as IDQ1.<br />
So now ((VCC - VBQ1) / IDQ1) = R4<br />
R4= 1.2Meg. Which will be 910K and 330K in series.<br />
Measurements and adjustments:<br />
Static:<br />
VCQ1 = 4.26V.<br />
VBQ1 = 2.55V.<br />
VEQ1 = 2.06V.<br />
No need to change any values.<br />
TEST:<br />
Dynamic:<br />
Now plug in the signal input through a 100uF capacitor at the base of Q1,<br />
and a 100uF capacitor at the collector Q1 and check with osciloscope for any kind of wave form (60Hz.)<br />
1.Depending on which way I looped the lamp wire around the Xtrfrmr, depends on which lead is the input<br />
and which is connected to ground. I switched the wires around until I found a change in amplitude on my <br />
osciloscope. I foiund for my set up that the ground wire is the side of the Xtrfrmr, closest to the wall outlet.<br />
And the input is the side that the lamp is on.<br />
2. The wave form shows a lot of noise, I first put C4 in the circuit to give some AC gain the noisey waveform<br />
was amplified greatly. Then I put C3 in the circuit and that eliminated the noise and got a good 60hz. waveform<br />
at around 10 mV. peak. With lamp off, this is the stage sensing line voltage even with no current flow through the lamp.<br />
When I turned the lamp on I got a peak voltage of 14 mV. peak. So it increased 4mV.pk.<br />
Now from here on out I will design this with voltmeters only.<br />
So as to record actual volt. readings.<br />
<br />
DATA:<br />
lamp off = 7.6mV. rms.<br />
lamp on = 22.6mV. rms.<br />
OBSERVATIONS for stage Q1:<br />
This stage is working very well, first of all no readings at the input, and at the output there is a standing<br />
AC voltage of 7.6mV. due to sensitivity of stage to sense line voltage. When a true input comes in, lamp turned on;<br />
then it detects this change and sends an output voltage of 22.6mV. Amplifies the change nearly 3 times.<br />
Also good Z matching too.<br />
How I know it is sensing line voltage, I used a battery and when lamp is UNplugged waveform shows<br />
rf noise, when plug is in wall outlet and lamp is OFF, I get a rf noise superimposed on a 60HZ waveform.<br />
Telling me it is sensing the line voltage and amplifying it.<br />
&#12288;<br />
DESIGN stage Q2:<br />
Preliminary test,<br />
Using a resistor sub box, switch in resistors for a load on the other end of C2 to ground.<br />
Check for considerable decrease in amplitude of waveform with lamp on.<br />
record the resistance value, so as to know what Zin needs to be for next stage.<br />
Data:<br />
20K load dosn't affect Voltage reading. <br />
design:<br />
So I'll choose a 47K resistor for the next stage. And work some values to get high gain as well as <br />
nice low Zout to drive the next stage.<br />
Choose R7 to be 1/10 of R8 which is 4.7K, and make R6 27K to give a Av. around 5 (dc gain).<br />
Calculations:<br />
VCQ2= 4V.<br />
VEQ2= 696mV.<br />
VBQ2= 1.396V.<br />
so R9 = to around 220K.<br />
Measurements and adjustments:<br />
Static:<br />
VCQ2=3.76V.<br />
VEQ2=0.75V.<br />
VBQ2=1.36V.<br />
No need for adjustments.<br />
TEST:<br />
Dynamic:<br />
DATA:<br />
Lamp off =705mV. rms.<br />
Lamp on = 1.68V. rms.<br />
&#12288;<br />
DESIGN stage Q3:<br />
Preliminary tests:<br />
Now that I have enough volt output to bias a diode<br />
Vpk. Lamp off = aprox. 1V.<br />
Vpk. Lamp on = 2.37V.<br />
So I have enough output voltage pk. to bias a diode for rectification, and filtering.<br />
But first I need to bring the Zout of this amp low enough to run a load.<br />
So I'll work it towards around 470 ohms, Zout.<br />
To go from 27K to 470 ohms, I'll need a Common Collector amplifier arangement.<br />
Design last stage for low Zout.<br />
Assume Beta, to be around 100<br />
I will also remove the capacitor and direct couple this stage to Q2.<br />
Now I need to work some values to give me the least signal loss at the input of Q3,<br />
but to have the smallest possible Zout at the emitter of Q3.<br />
VEQ3 = 3V because VCQ2 = 3.76V. measured value.<br />
&#12288;<br />
Now add the rectification filter D1,R14,C5<br />
R14 ia made variable to adjust for different loads.<br />
.<br />
TEST DC Vout.: (no load)<br />
Vout Lamp off = 1.56V..<br />
Vout Lamp on = 1.86V.<br />
&#12288;<br />
TEST with LED load::<br />
Vout Lamp off = 1.28V.<br />
Vout Lamp on = 2.03V.<br />
LED'S work good with R14= 3K ohms.<br />
&#12288;<br />
CONCLUSION:<br />
Overall circuit works ok.<br />
This was designed using my benchtop variable power supply, 8V.<br />
I made it to work with 9V. battery.<br />
This will work at supply voltages from 7 - 12 Volts.<br />
It works well with a 9 volt. battery.<br />
When first turn on the circuit it takes a little bit for every thing to work properly<br />
but once it's left hooked up to the battery it works fine.<br />
C6 keeps the circuit from oscilating due to battery impedances.<br />
But this could work better, so I will rework the output stage and add some<br />
additional stages to give a good volt. output that's more predictable.<br />
--------------------------------------------------------------------------------------------------------------------------<br />
REDESIGN :::::<br />
<u>See schematic # 2:<br />
 <br />
 <br />
</u>First I will unplug the lamp and deal with the RF signal noise at the beginning input.<br />
Using my osciloscope I found that 33uF is good to get rid of noise.<br />
C3 takes care of that. <br />
Stage Q1:<br />
Dynamic test: (no load)<br />
VCQ1, lamp off = 8.4mV. rms.<br />
VCQ1, lamp on = 26.6mV. rms.<br />
&#12288;<br />
Stage Q2:<br />
Dynamic test: (no load)<br />
Needed to put C5 in the Q1 stage because of eratic readings. Probably oscilations.<br />
VCQ2 lamp off = 283mV. rms.<br />
VCQ2 lamp on = 607mV. rms.<br />
Design stage Q3:<br />
Choose R12 to match R6 at 27K.<br />
Choose R10 to = 4.7K, to bring Zout down further.<br />
Choose Av. = 4 so R11 = 1K<br />
Calculate R13 to be 110K.<br />
Calculated voltages:<br />
VCQ3 = 4V.<br />
VBQ3 = 1.55V.<br />
VEQ3 = 0.85V.<br />
Measured values:<br />
VCQ3 = 4.15V.<br />
VBQ3 = 1.5V.<br />
VEQ3 = 0.85V.<br />
no need to change values.<br />
Dynamic Test:<br />
VCQ3, lamp off, = 1.77V. rms.<br />
VCQ3, lamp on, = 3.2V. rms.<br />
Very Good Av. and response from lamp off to lamp on, condition.<br />
Also the circuit is more stable and predictable on Vout. rms.<br />
&#12288;<br />
Design Q4 stage:<br />
Q4 will be a common collector amp config. to give required Zout neccesary, to drive a load.<br />
So I'll choose R14 to be 470, assuming a Beta of 100 for Q4 would give a Zin around 47K.<br />
So as to not load the Q3 collector so heavily with Q4's bias base current.<br />
.I should have a little over 3V. at the emitter of Q4.<br />
Static measurement. = VEQ4 = 3.5V.<br />
Dynamic test:<br />
VEQ4, lamp off, = 3V. rms.<br />
VEQ4, lamp on, = 3.4V. rms.<br />
Not good, with the Q4 stage direct coupled to Q3, caused Q3 to saturate the standing voltage.<br />
So a change in input, lamp on, showed no significant change at VEQ4.<br />
So I'll capacitive coupling between these strages, and bias Q4 with as high Zin possible, keeping Zout low.<br />
Choose VEQ4 to be at 4V. And make R16 10 times larger than R10, = 47K.<br />
Calculate R15 = 33K.<br />
Calculations:<br />
VEQ4 = 4V.<br />
VBQ4 = 4.7V.<br />
Measured values:<br />
VEQ4 = 3.33V.<br />
VBQ4 = 4.02V.<br />
This is off because of the base loading effect due to low emitter resistor.<br />
But for this application it will work.<br />
Dynamic test:<br />
VEQ4 = 3V. rms.<br />
So this approach will not work. Either..<br />
With Q4 in the circuit the VCQ3, rises to saturation on the standing voltage,<br />
when I remove Q4 than VCQ3 goes back to normal. <br />
I need to work with Q4 so as to keep it from interacting back to Q3.<br />
Tests show that if I raise R14 to around 3K then the VCQ3 is working normal. (1.4V rms.)<br />
(there's a small drop compared to 1.77V rms. of original value due to Q4 loading Q3.)<br />
R14 is now changed to 3K. Also direct coupling can now be done. <br />
Dynamic test:<br />
VCQ3, lamp off, = 1.40V. rms<br />
VCQ3, lamp on, = 2.07V. rms<br />
VEQ4, lamp off, = 1.47V. rms.<br />
VEQ4, lamp on, = 3.12V. rms<br />
So far, a very small change in voltage that the transformer, detects, from sensing voltage,<br />
to having voltage induced due to line current flowing to the lamp, was so small that it could not be,<br />
measured with my meters.<br />
But now this circuit amplifies the standing (non current) voltage sensed at the outlet, and the change in<br />
voltage when current flowing to lamp, by amplifying this change by twice the amount.<br />
(NOTE): I've learned that a common collector amp. can't just be thrown in with the smallest Zout desired<br />
without careful testing and measuring, voltages at the previous stage, to make sure that the CC amp,<br />
is not causing heavy loading, thereby ruining the signal coming into it.<br />
Now it works properly at this stage.<br />
Now that it's not in the milivolt region anymore, then I can no longer use small signal amps, because<br />
the amp would be driven into saturation at the standing (sensed) voltage, and no change could be detected.<br />
So now it's time to rectify and filter it to give a DC signal to work with for amplification and eventually switching<br />
on a load.<br />
Design rectifying and filter:<br />
Through experimenting, C10 is good at 1nF.<br />
Test DC Vout:<br />
VEQ4, lamp off, = 3.94V<br />
VEQ4, lamp on, = 5.6V<br />
Around 1.5V. increase, this will be a good signal to work with.<br />
------------------------------------------------------------------------------------------------<br />
Now Design of the DC amplifier:<br />
I start more at the output and worked my way back to the rectifier stage, that way I can ensure<br />
a low Zout and increase in Zin at each stage going back.<br />
 <br />
<u>Refer topicture #3<br />
 <br />
See schematic #4<br />
 <br />
 <br />
</u>Stage Q5 DC amp<br />
Choose R18 = 470 ohms.<br />
Make Av.=10<br />
That makes R19 = 47 ohms.<br />
Choose VCQ5 = 4V.<br />
Choose R16 A = 1k. (20 times &gt; than R19)<br />
Calculate R15 = 6.2K.<br />
Test voltages showed good values.<br />
Design stage Q6:<br />
Stage Q6 will DC couple into Q5<br />
Replace R16 A with stage Q6.<br />
Calculate VBQ5, this will become VCQ6.<br />
Then choose VEQ6 to be 1/4 of this value.<br />
Calculate current through R16 A, and solve for new resisor value R16 B.<br />
Then usual calculations solve for R17 and R20 A.<br />
Test measurements showed good values.<br />
Design stage Q7:<br />
Stage Q7 will DC couple into Q6, replacing R20 A<br />
Choose R20 B to be 1/3 of R20 A, and solve for current through R20 A.<br />
This current value will be the collector current for Q7.<br />
Usual calculations solve for R21 and R22.<br />
Test measurements showed good values.<br />
Now I have a high Zin at the input of this DC amp Q7 base input.<br />
And a somewhat low Zout at the output of this DC amp, VCQ5, or VEQ5.<br />
The base current is still having some effect on the DC rectifier circuit, so keeping with<br />
BJT. I'll work the base input of Q7 to give more Dc gain to the input signal.<br />
&#12288;<br />
So I'll start with replacing R21 A with another amp stage, and use a 47K for emitter resistor.<br />
Call that R21 B. Now calculate the current through R21 A and solve for ICQ8. = 38uA.<br />
Now ( 38uA x 47K) = VEQ8 = 1.78V. + 0.7V = VBQ8 = 2.48V.<br />
Choose another 100K for R23, and solve for the other bias resistor. Calculates out to 220K.<br />
However due to high resistance values and sensitivity of the circuit at this stage I had to use <br />
R24, R25, R26, to adjust values to get the desired VCQ5 back to it's nominal designed value<br />
of around 4V.<br />
Now everything is working good for static measurements of all bias voltages.<br />
The AC amp is not yet connected, now I need to make another stage to take a positive input<br />
from the rectifier and give a input to this DC amp. Because right now an input to the DC amp will<br />
give an inverted output. <br />
Now I tested with a 9Meg. resistance from positive supply to the emitter of Q8 and got a significant<br />
response of VCQ5 going from 4.3V to around 6.5V. which means is one more amp preferably a <br />
common collector amp inputing to the emitter of Q8, should give me all the High Zin needed to not load<br />
the AC amp, as well as all the signal transfer needed to switch the DC amp to a relatively high Vout..<br />
&#12288;<br />
Design Q9 stage:<br />
This was all done with experimentally switching resistors in and out until I got the proper VCQ5 at idle conditions.<br />
Then switching the lamp on gave me a jump in voltage at VCQ5, neccesary to drive a load.<br />
Lastly I hooked up the LED to the output and the entire circuit works perfect.<br />
 <br />
<u>See final circuit schematic #5<br />
 <br />
 <br />
</u>-----------------------------------------------------------------------------------------------------<br />
CONCLUSION:<br />
When I first apply power to the circuit wether power supply or Battery, the LED lights <br />
momentarily, then shuts off, it takes a good 30 secomds for everything to get into <br />
equilibrium before the circuit is ready for use, but after that, I can turn the lamp on and <br />
the LED will light up nice and bright, and stay lit as long as the lamp is on,<br />
then turn lamp off, and LED turns off. This could be used to drive an opto isolater, so <br />
as to drive a relay or something.<br />
Overall this circuit was designed using BJT. only, and learning how to design by matching impedances,<br />
and transfering AC signal through stages, then converting to DC and amplifying that signal, through<br />
stages until the signal has enough strength to drive a particular load.<br />
I designed it using my power supply set at 8V.<br />
I varied the supply to find the min, max, volt. it would work at:<br />
Results are, ( MIN&gt; 5V. @ MAX&gt; 12V. )<br />
Good range of supply voltages for it do work at.<br />
This circuit provided many challenges in impedance matching, and signal preserving, as well as amplifying.<br />
I realize that this could have been designed a lot more simpler with less components, and different take on it,<br />
but I wanted to design it working through the problems that are encountered and learning how to solve<br />
those problems.<br />
&#12288;<br />
<u>This circuit was more or less a excersise in problem solving when designing a circuit.<br />
</u>&#12288;<br />
&#12288;<br />
&#12288;<a href="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=177&amp;d=1245629270" rel="Lightbox" id="attachment177" target="_blank"><img src="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=177&amp;thumb=1&amp;d=1245629270" class="thumbnail" border="0" alt="Click image for larger version

Name:	current sensor 1.jpg
Views:	703
Size:	149.2 KB
ID:	177" style="margin: 2px" /></a><br />
<br />
<a href="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=178&amp;d=1245629303" rel="Lightbox" id="attachment178" target="_blank"><img src="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=178&amp;thumb=1&amp;d=1245629303" class="thumbnail" border="0" alt="Click image for larger version

Name:	current sensor 2.jpg
Views:	575
Size:	151.2 KB
ID:	178" style="margin: 2px" /></a><br />
<br />
<a href="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=179&amp;d=1245629346" rel="Lightbox" id="attachment179" target="_blank"><img src="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=179&amp;thumb=1&amp;d=1245629346" class="thumbnail" border="0" alt="Click image for larger version

Name:	current sensor 3.jpg
Views:	507
Size:	129.2 KB
ID:	179" style="margin: 2px" /></a><br />
<br />
<a href="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=180&amp;d=1245629357" rel="Lightbox" id="attachment180" target="_blank"><img src="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=180&amp;thumb=1&amp;d=1245629357" class="thumbnail" border="0" alt="Click image for larger version

Name:	current sensor 4.jpg
Views:	512
Size:	142.5 KB
ID:	180" style="margin: 2px" /></a><br />
<br />
<a href="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=181&amp;d=1245629389" rel="Lightbox" id="attachment181" target="_blank"><img src="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=181&amp;thumb=1&amp;d=1245629389" class="thumbnail" border="0" alt="Click image for larger version

Name:	current sensor 5.jpg
Views:	558
Size:	171.2 KB
ID:	181" style="margin: 2px" /></a><br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
&#12288;<br />
</font></div>

]]></content:encoded>
			<dc:creator>hobbyist</dc:creator>
			<guid isPermaLink="true">http://forum.allaboutcircuits.com/blog.php?b=366</guid>
		</item>
		<item>
			<title><![CDATA[The "Unus" project (part 2)]]></title>
			<link>http://forum.allaboutcircuits.com/blog.php?b=365</link>
			<pubDate>Sun, 21 Jun 2009 12:43:31 GMT</pubDate>
			<description>Here are some pictures of the assembled PCB. Enjoy! 
 
Attachment 165 (http://forum.allaboutcircuits.com/attachment.php?attachmentid=165) 
Front 
...</description>
			<content:encoded><![CDATA[<div>Here are some pictures of the assembled PCB. Enjoy!<br />
<br />
<a href="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=165&amp;d=1245588071" rel="Lightbox" id="attachment165" target="_blank"><img src="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=165&amp;thumb=1&amp;d=1245588071" class="thumbnail" border="0" alt="Click image for larger version

Name:	UnusPCB1.png
Views:	622
Size:	147.2 KB
ID:	165" style="margin: 2px" /></a><br />
Front<br />
<br />
<a href="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=166&amp;d=1245588071" rel="Lightbox" id="attachment166" target="_blank"><img src="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=166&amp;thumb=1&amp;d=1245588071" class="thumbnail" border="0" alt="Click image for larger version

Name:	UnusPCB2.png
Views:	585
Size:	126.7 KB
ID:	166" style="margin: 2px" /></a><br />
Side<br />
<br />
<a href="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=167&amp;d=1245588071" rel="Lightbox" id="attachment167" target="_blank"><img src="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=167&amp;thumb=1&amp;d=1245588071" class="thumbnail" border="0" alt="Click image for larger version

Name:	UnusPCB3.png
Views:	315
Size:	145.9 KB
ID:	167" style="margin: 2px" /></a><br />
Back<br />
<br />
<a href="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=168&amp;d=1245588114" rel="Lightbox" id="attachment168" target="_blank"><img src="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=168&amp;thumb=1&amp;d=1245588114" class="thumbnail" border="0" alt="Click image for larger version

Name:	UnusPCB4.png
Views:	320
Size:	199.8 KB
ID:	168" style="margin: 2px" /></a><br />
Top<br />
<br />
<a href="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=169&amp;d=1245588114" rel="Lightbox" id="attachment169" target="_blank"><img src="http://forum.allaboutcircuits.com/blog_attachment.php?attachmentid=169&amp;thumb=1&amp;d=1245588114" class="thumbnail" border="0" alt="Click image for larger version

Name:	UnusPCB5.png
Views:	328
Size:	121.5 KB
ID:	169" style="margin: 2px" /></a><br />
Copper side</div>

]]></content:encoded>
			<dc:creator>cumesoftware</dc:creator>
			<guid isPermaLink="true">http://forum.allaboutcircuits.com/blog.php?b=365</guid>
		</item>
		<item>
			<title>Ignition circuit on an old motorcycle</title>
			<link>http://forum.allaboutcircuits.com/blog.php?b=339</link>
			<pubDate>Sat, 16 May 2009 06:25:29 GMT</pubDate>
			<description>In January of this year I bought an old motorcycle, a 1946 Harley Davidson WL. This is a civilian model of a motorcycle that HD made several hundred...</description>
			<content:encoded><![CDATA[<div>In January of this year I bought an old motorcycle, a 1946 Harley Davidson WL. This is a civilian model of a motorcycle that HD made several hundred thousand of during WW II. The engine has two cylinders displacing 45 cu. in., in what they call a &quot;side-valve&quot; configuration, what I've always called a flathead.<br />
<br />
Being that this forum is concerned with electronics and such, I thought that some readers might be interested in how the ignition circuit works on this old beast. <br />
<br />
On the right side of the engine is a component that looks something like a distributor, but unlike most car distributors, there are no spark plugs attached. The unit has a set of points and a capacitor inside, just like older car distributors, but unlike them, there are no spark plug wires attached to it. It's also referred to as a timer, or circuit breaker, rather than a distributor.<br />
<br />
The ignition circuit is pretty simple. The primary circuit consists of the the battery, coil, and timer. The secondary circuit consists of the coil and the two spark plugs. When the engine is running (or when you're starting it), the timer rotor turns, and its two lobes cause the points to open and close at specified times related to crank and valve position. When the points close, current flows through the primary circuit, which induces a current in the secondary windings of the coil, and across the gaps of <u>both</u> spark plugs.  When the points close, the electric field in the coil collapses. <br />
<br />
By firing both spark plugs whenever the points close, they didn't need to distribute the spark to an individual plug, and this is why there aren't any plug wires coming out of the timer. The disadvantage of creating a wasted spark for a cylinder that isn't ready to fire is a weaker spark on the one that needs it, but hey, that's the way the engine was designed.</div>

]]></content:encoded>
			<dc:creator>Mark44</dc:creator>
			<guid isPermaLink="true">http://forum.allaboutcircuits.com/blog.php?b=339</guid>
		</item>
	</channel>
</rss>
