By:
Category:
Comments Off

Someone else's QRSS MEPT STATION

Look at the PA circuit.



http://www.zianet.com/dhassall/QRSS.html




Kind of an interesting approach to a PA.





The image is lifted from the PDF. The PDF is
pretty hard to read.





At first glance I would have thought that it is current hungry. On closer inspection
it may not be running in class A. The base is running slightly above ground with no
DC. Depending on how much AC is on the base this looks like more of a B, AB, or C
design depending on the base voltage rise. The emitter is almost at ground with only
2.2 ohms of resistance.



It might be interesting to model this and then build as a simple circuit see the results.





By:
Category:
Comments Off

Mad Scientist Time - Making Printed Circuit Boards

Tonight was the highlight of the project.... mix some chemicals up and make the board!



Once again here is the schematic that I going to work with. (There is a minor change
or two on the board layout but it is pretty minor.) The schematic is laid out using
TinyCad. (Free/opensource software)






I found one or two minor issues with traces that I fixed after this image but this
is 99.5 what is on the board.

The board is laid out with FreePCB (Free/opensource).  From FreePCB I export
the CAM files into the Gerber format. I open the Gerber file with Viewmate from Pentalogix
(inexpensive program.) 







Tonight I took the project to the next level.




Steps:




  • I cut down a section of copper board & sanded the edges


  • I cleaned the board with a green cleaning pad and then rinsed it with acetone.


  • I printed out a template on the laser printer to register where the "print and peel"
    needed to be taped down to go thru the laser printer.


  • I printed a mirrored image on the print and peel (taped to a 8.5" x 11" sheet of paper.)


  • I attached  the small piece of "print & peel" paper to the copper board with
    masking tape.


  • I put the board & paper under my iron for about 60 seconds moving the iron around.


  • I ran the board & paper thru my GBC laminator twice.


  • I put the board & paper under my iron for about 60 seconds moving the iron around.


  • I ran the board & paper thru my GBC laminator twice.


  • I put the board & paper in a container filled with water for a couple of minutes.


  • I removed it from the water & then removed the tape and paper.








Next set of steps:




  • I touched up any holes or questionable spots with a Sharpie marker.


  • Put on the chemical gloves & safety glasses.



  • I then mixed up the chemicals in a Pyrex (glass) container. 1 part 3% Hydrogen Peroxide
    to 1 part Muriatic Acid.

    (The Muriatic acid is "hydrochloric acid" that can be purchased at a hardware store
    for $5 a gallon. It is used to clean pools, stone, car engines, etc. It is VERY strong
    so be careful.) Add the acid to the Hydrogen Peroxide to make sure that you don't
    have a run away exothermic reaction.


  • Drop the board in the Pyrex tray and agitate the tray every two minutes. (Warm chemicals
    will make the process go faster.)


  • My first board took about 12-15 minutes. I could probably cut it in 1/2 with the etchant
    at 100 degrees F.


  • Once the board is done rinse / soak the board in water while you clean up.


  • Pour the etchant into a plastic bottle (using a funnel) for reuse later for additional
    boards.


  • Rinse the Pyrex tray, funnel, bottles, gloves, etc under running water. Rinse out
    the sink REALLY well.


  • Remove the laser toner from the board with Acetone and a rag.










Ok I have to admit that initially I was going to only use the GBC laminator to heat
the board & paper. It did NOT get the board to the 300F/150C that is needed to
refuse the toner. It appears that this model only runs to 110C until it is hacked.
I am researching that piece but it appears that you replace a resistor in the thermistor
feedback circuit circuit. I am still looking for more detail as it would be nice to
loose the IRON set in this process.



I removed the toner from the laminator only test and reran the process with the steps
listed above.



Additional notes:




  • My first board has .020" traces with .120" pads. Since I am going to drill this with
    a small press I figured that I should make sure that I leave myself enough pad to
    work with. This board is only a single sided copper board.




  • I was worried that some of my traces would be undercut with the etchant. It was not
    an issue. I could easily have worked with .010" traces.


  • The process worked well enough that I could have used pin registration and two sheets
    of paper to make a double sided board.


  • I am now comfortable enough with TinyCad and FreePCB that I could crank out a schematic,
    board layout, and Gerber files for small/basic projects in an evening +/-.



73 de NG0R





By:
Category:
Comments Off

Laying out a PCB - Part 2

Here is the schematic from yesterday.






Here is an image of the updated single sided board layout.




  • I changed the resistors and capacitors with some self brewed parts in FreePCB. The
    new parts have 120 mil pads so that they can be drilled with a 1/16 drill. (I have
    smaller bits on order.)


  • I created a new NPN TO-92 part with the emitter, base, and collector layer the same
    as my PN2222 and 2N3904 layout. I created the parts with 120 mil pads.


  • I also created a part layout for some T50 toroids that will be used as the input and
    output transformers.




  • The area with the cross hatch is the copper ground on the empty space on the board.









The image below is what it will look like when I print on the "print and peel" transfer
paper. The only difference is that it will mirrored at the final printing. (The tool
that I am using to read the Gerber file has a mirror option in the printer settings.)




The image below shows what the silk screen would look like if I was going to send
it off to a commercial board shop. In my case I will just use it as a layout tool
when I plug in the parts.




I hope to etch the board on Saturday pending other family related duties & projects.





By:
Category:
Comments Off

Laying out a PCB

I want to test out a variation of a circuit to see how much gain it produces, how much current it consumes, how broadband that it is, and what drives levels work or don't work.



So tonight I laid out a schematic in TinyCad and had N0FP proof it for me via email/telephone.
(A second set of eyes is always helpful.)




I then imported the netlist into FreePCB. I decided to manually layout the parts and
route the connections since this is a single sided board. (You can use the autorouter
with boards that have two or more sides. But I am not ready to etch 2 side boards
yet.)  I took about an hour to route the board. That is not too bad for my first
serious attempt.




I did not get too radical routing ground and traces under other parts. This will be
the first board that I will be etching at my home so we need to start simple. The
hashed areas are additional ground plan that I added back to the board in the free
spaces.








I then exported the CAM files into Gerber and PNG formats.




How cool is that?    A better board would have a more complete ground
plan under the parts and/or use the second side as the ground plan to make it more
stable at RF frequencies. At HF this little 2 inch x 3 inch board should be just fine. (Yes,
I am aware that I will need to mirror the image before I transfer the toner to the
board.)





The real issue that I have is that I can't make the vias (holes) large enough for
me to comfortably drill them out with the tools that I have on hand. (It is likely
a software setting... I can change the trace width... just not the vias enough to
matter.) I do have some additional bits and a drill press type holder coming for my
dremel type tool. Hopefully the new bits will be small enough. (To cheat on this
board I might just open the image in GIMP and enlarge it a couple of percent so that
I can use the drill bits that I have on hand right now.... this is a prototype board
after all.)





A couple of lessons learned already:




  1. Consider making a two sided board. (Even if the second side is just a ground plane.)
    This will let you the auto router which will layout your parts and traces in a minute
    or two compared to 45-60 minutes manually. (You can always use the autorouter as a
    starting point and then manually convert it back to a single sided board.)


  2. Use the second side as a ground plane only. Drill thru to ground the parts where needed.



  3. Consider using surface mount parts where possible. It will conserve a lot of space
    and will reduce the amount of drilling that you may need to do. (I am not ready to
    move to SMT yet... but I can see where it might be nice in the future.)


This was an excellent experience tonight and I will do it again. I hope to try to
make the board sometime either this week or over the weekend.



73 de NG0R



PS.... I am looking at the layout and proofing it against the schematic. I just noticed
that the pin layout of Q1 & Q2 on board layout does not match the schematic. The
base and emitter are reversed on the board layout. Probably a variation in the T-92
part in the library. I can tweak that tomorrow in a couple of minutes so it is not
a big deal. :-) 




It might be a reason to try to run it through the autorouter to how that process
plays as a two sided board. (One side with parts and the other with a ground plane)







By:
Category:
Comments Off

Another quick 2N3904 test

I saw a schematic on the web that I wanted to validate....






The original article that I was reading suggested something like 15-17dB of gain.
I thought that was a little optimistic for a circuit with only DC bias. I expected
it to be current hungry and to be closer to 15dB of gain based upon some other tests
that I had run with similar components.








I did not go crazy with a wide range of test scenarios. The circuit is looking for
an input drive level of -10dBm to +10dBm. The circuit is pretty hungry at 57mA with
only 13.5 dBm of gain.



Some simple tweaks should be able to cut the current in half while pushing up the
gain some more while in class A operation.




Please see my notes at:

/Blog/PermaLink.aspx?guid=2de9126d-9ed0-4826-b14f-80f655ca5002




Oh yeah... I know that I need to come up with a bifilar transformer icon.  :-)



I had the parts on hand so it only took about 15 minutes to bread board it and
test it with the signal generator and power meter.







By:
Category:
Comments Off

Transistors: Classes A, AB, B, and C

I am still reading and trying to figure out the differences in how each class is biased.








Class A is the most common example and pretty well documented:



  • R3 is controlling the majority of the current for the device


  • R1 & R2 are a DC voltage divider probably about ~1/2 the Voltage at the collector


  • T1 (which could also be a resistor) at the Q1 collector is ~ 1/2 Vcc


  • Tweak the R3 / T1 (or the resistor substitute or T1) ratio drive your power output.


  • Current hungry circuit.




  • Can easily get 10, 15, and approaching 20dB of gain


  • I am seeing 17dB of gain with 25mA with some additional AC feedback at the emitter,
    and between the collector and base.


  • The amp is running 100% duty cycle.


------------------------






Class AB or B is discussed in detail but very few math examples:



  • Configure R1 & R2 for about 0.7v. This will largely determine what class you are
    in. The higher the voltage the more likely you are to be in class AB or A. The lower
    the voltage the closer to B or even C.


  • R3 is largely controlling the device current


  • T1 (which could also become a resistor) is being used to transform the output to match
    the next stage. 


  • The amp is running between around 50% duty cycle.


  • Normally this is used in a push-pull pair.




  • AB in a push-pull pair can have some cross-over distortion because there is a period
    of time in the sine wave where there is no signal when both transistors are in the
    off state.


  • Can be used for audio or SSB circuits as there is little distortion especially in
    class B.



------------------------








Class C is discussed in detail but very few math examples:



  • Set R3 for current level of the device


  • R2 serves as a wideband load for the input driver. Decreasing
    this resistance can improve stability at the price of gain.





  • The base only turns on when there is enough positive drive.




  • The duty cycle is less than 50%


  • Should only be used for CW or FM given the distortion in the sine wave.


  • Could be harmonic rich so output filter needs to be investigated.


  • T1 (which could also become a resistor) is being used to transform the output to match
    the next stage.




  • I will design T1 for a 200 ohm to 50 ohm match. This is just
    a shot in the dark initially but I need a starting point to test with. A T50-61 toroid
    with 7 turns on the primary and 3 turns on the secondary will provide a transformation
    of 220 ohms to 40 ohms.  At 10MHz a T50-61 toriod with 7 turns is z=220, L=3.5uH,
    C=72pF.





  • The input of this circuit is probably low impedance. For
    my initial testing I will probably build a 50 ohm to 12 ohm transformer and see if
    that helps. (I am using my signal generator for my initial testing which is 50 ohms.
    I will probably use 8 turns to 4 turns on a T50-43 or T50-61 core.)



  • EMRFD suggests using a Zener diode at the collector that
    is 3x the Vcc value but less than the transistor break down. The idea is to prevent
    the transistor from self destructing at extreme voltage peaks while otherwise being
    largely invisible to the circuit.





------------------------



Open Questions:




  • In class AB, B, and C how should we be be calculating the amount of current that we
    designing for?





  • How should we be sizing T1?


    T1 shown in the examples above is functioning as an RF choke, collector resistor,
    and output transformer. (Lots of value from that one part.)   The examples
    that I have seen don't include much math or reasoning. It would seem like there is
    some current limiting happening in T1 acting as a resistor that should be factored
    in.





  • How does the R2 (base current) and T1 (collector current) ratio interact?





  • How do we model/suggest/approximate the power gain in these designs?







I will try to come back and update this post with additional notes & corrections
as I learn more.







By:
Category:
Comments Off

Trying to figure out class C for a 2N3904

I am a bit confused.....  I am trying to test something that I saw in a book.

(That is generally how trouble begins)







I am trying to test getting a 2N3904 into class c operation. The challenge is that
I can't find an example of the math to calculate how to get to class C. (Most examples
are focused on class A operation.)  So I built the circuit on a bread board and
applied power and then some RF from my signal generator.




The image from the oscope shows the collector in the upper waveform and the base on
the lower wave form. The divisions are .5v and the probes are set to 10x.



Vcc is 12.5v

Base is about 10v

Collector is about 43v

This is with +20dBm source drive connected to the base.



That is funny... I am banging on that transistor pretty hard. I should look up
the max power for the part. I am probably approaching the fatal value.  
--The visual was good for the photo to show the class C waveform..   :-)







My results were.... ummm... poor!   It makes a really nice attenuator.






It appears that the transistor is NOT turning on until it gets +10dBm of drive. When
it does turn on it is not very efficient at +2dB of gain.  (I was getting 17dB
of gain with 25mA of current in class A a couple of nights ago.)



Positive:


When I added the transformer I did reduce the amount of loading on transistor. It
was nice to be able to see the before and after effects of that on the oscope.



Negative:


It is clear that I need to read some more on this topic as it did not play out the
way that the initial reading might suggest.



Frustration:


I am having a hard time find an example of math model that gives some feel for how
to bias into the various classes beyond class A. (Almost all of the examples are class
A.) When you start moving beyond it into AB & C they start to drop off the math
details and direct you into the push-pull model. (I will eventually get to push-pull..
but I want to understand how it works with one transistor before I try to match up
two of them.)



Next steps:


Try to dig deeper into the bias issue. (It is probably very simple once I understand
this in more detail.)



PS... I updated the post to include an oscope picture of the waveforms.







By:
Category:
Comments Off

Alan Yates - 30m QRSS beacon

Alan has a neat site with lots of details on how he built his 30m QRSS beacon.  http://www.vk2zay.net/article/181







I like Alan's thinking. You spend a lot of noodling thru math & variables as you
work thru these circuit designs. Alan has put many of his calculators online.  http://www.vk2zay.net/calculators/




So far I have been putting my calculators into a spreadsheet. It is easy and to be
real honest I don't always trust the calculators so I am little reluctant to publish
them until I have done some testing and have some faith in model. Granted they are
just a tool to point you in the general direction as the results in the real world
might vary a bit.



Back to the QRSS project for a minute. It is interesting looking at Alan's site. I
am also playing with 2N3904 and 2N7000 parts and pondering the use of varactor diodes
to swing the tuning. I planning to use a PIC for the keying but the the Atmel family
is another popular solution.



Fun reading.



73 de NG0R





By:
Category:
Comments Off

30m Oscillator (Night 9)

I am trying to squeeze in a few minutes of knack time after work and before dinner.




I started putting some of the components of my project into LTSpice.  Right now
I just have the oscillator, follower, and the lowpass filter in the circuit. I am
see unity gain at the moment but that is expected since there is no gain stage in
the circuit yet. I plan to extend the model a bit a see what it might look like with
some gain.



It will be interesting to see how this plays. I should model this out and then build
a new board and compare the results. (Maybe... depends on how the weekend plays out.)



I have some supplies on order so that I can start making printed circuit boards in
addition to Manhattan Pad construction and Island construction. The island construction
method is pretty quick but it is hard to drive much density compared to a pcb laid
out on the computer and run thru the laser printer & toner transfer process.



73 de NG0R