Protection v2 2
Protection v2 2
Input A Input B
1 1 0
0 0 1
1 0 1
0 1 1
Table 1: Truth table of a NAND gate
The described situation is stable as both outputs of the CD4093 keep the inputs at the desired level.
If (in case of an alarm) pin 1 of the HEF4093 is pulled low by op amp (set) IC7A the situation will
change. Pin 3 of the 4093 will go high and Q13 and 14 will be conducting. So the alarm will hold
itself because of the set function. It will only change to on by pulling pin 12, IC2D, to ground
(reset).
The transistor Q13 can be used to switch on a small led so you will see which of the stages has gone
into alarm. Q14 is used to pull Q5 in the fet-switch circuit low as a result of that the voltage supply
of the complete amplifier is shut off.
The output of the MAX4080 is supplied to pin 3 of IC8A, a LM358, this provides a simple x 1
amplifier to buffer the output of the MAX4080. As the LM358 has 2 opamps, the same process is
repeated with IC8b. Therefore the connector X-4-1 can serve as a current measurement point. 2V
output represents a current of 10 amps.
6: Current protection
Testing
Place all components on the board but do not put the IC's in their sockets. Apply 10V to the circuit
and check current. Almost no current should flow. Verify the Vcc on the pin 14 of the HEF4093.
Do this also for pins 8 of the LM393 and LM358. Switch off supply voltage.
Plug the HEF4093 in its socket. Connect a led to X-4-2 in combination with an appropriate resistor
to the VCC and re-apply power. The led should not light. With a small piece of wire ground pin 1
of the HEF4093 the led should light and stay on. Grounding the reset via diode D19 should turn the
led “off”. This verifies the working of the set reset flip-flop.
Next is to set the trip level of the protection circuit. If your amplifier will draw 10 A than set R44 is
such a way that there is a voltage of 2V on pin 3 of IC7A. Use a digital voltmeter to do this. For
other currents please change the voltage on pin 3.
Now we are ready to “smoke-test” your protection circuit. You need a high current power supply
for this and a loading resistor or some different kind of load. W1GHZ describes a load circuit on his
web page. In schools you can also find high current variable resistors to test your circuit. These
resistors are “idiot-proof”. (2 times 7 amp resistors took the full load, 26V 55A. I must admit they
did smell a bit after the test.) Connect the PSU to PAD3 and the load resistor to PAD4 and ground.
Make sure that the ground of the high current PSU is also connected to the ground of the board.
Measure current and change the load of you circuit. When the current comes above the set threshold
the alarm led should light. Reset the circuit and test again but only load it to halve of the threshold
level. In this example this should be 5V. Verify that there is 2,5V on the X-4-1 connector. This
verifies the working of the buffer op amp IC8. Please note that the component numbers given here
apply to the circuit here above. The board contains 4 current protection circuits and thus numbers
will vary. But all 4 protection circuits are exactly the same.
7. The overdrive protection
The overdrive (and VSWR) protection rely on absolute power sensors build around the Analog
Devices log converters using the AD8307 and the AD8313 or any other device giving a certain
voltage per dB. A search on the web gives you plenty of information. In this case I used the
detectors described by DL2MAJ published in the papers of the Weinheim 2002 meeting. This one
uses the AD8313 and gives an output of 40mV/dB. In combination with an appropriate coupler we
can measure any input or output power. The German AATIS sells printed circuit boards for this
A 0 dbm level produces around 3.6V output in the detector. So choose your coupler in such way
that on full output the level doesn't go above the 0 dBm output. This should give you a safety
margin. Some nice coupler to work with is the Ericsson coupler as pictured below. It has a high
coupling on the lower frequencies, is equipped with 2 forward and 2 reflected ports. It has a very
high directivity which makes it suitable for VSWR measurements. And it's coupling can be adapted
to ones need.
8: Overdrive protection
8. The VSWR protection
I stumbled over this circuit when I was surfing the web for VSWR protection. It is a rather clever
idea to use this chip for an SWR protection. The LM3914 is a digital voltmeter with some
“specials” build in. The original version uses diodes for detection but as these have no “absolute”
power readout I used my favourite AD8313 again.
Now suppose we want our alarm to set off at a SWR level of 1 : 2 or worse. Our forward detector,
in combination with the directional coupler, “sees” a forward power of -10 dBm. This would
represent a voltage of roughly 2V. The reflected detector would see 1.6V because a SWR of 1 : 2
means that the reflected power is 10 dB less than the forward power and the AD8313 is set in such
way that it produces 40mV/dB. So 10dB less means 400mV less thus 1.6V.
If the SWR gets worse the difference would be smaller as more power gets reflected. By feeding
both levels, forward and reflected, to the LM3914 the op amp will subtract them. The block
diagram is taken from the data sheet.
The voltage reference source on pin 7 is not needed, that is why it is grounded via a 1K resistor. The
data sheet block diagram shows a number of operational amplifiers in a row. The voltage on the
input is divided over a network of
1K resistors in series. The bottom
one is grounded via pin 4 in the
block diagram. By applying a
voltage on pin 4 one can set the
voltage which is across each 1K
resistor. In this way we can set
the sensitivity. By adjusting the
voltage on pin 4 we can set the
sensitivity when the leds will
light. Now we know that 1 dB
produces a difference of 40mV
thus 2 dB will produce 80mV. By
building a simple voltage divider
which will produce the forward
voltage and 2 reflected voltages
one can adjust this circuit without
endangering precious solid state
amplifiers. The circuit here
produces a forward voltage of
2.227V, a reflected voltage (no
alarm) of 1.822 and the alarm
voltage of 1,8848.
The leds on the output are not
necessary as one could measure
the respective pins going low on
the LM3914 but it makes it a bit
easier and it produces a nice light
show.
There is another interesting pin
available on the chip. Pin 9, if left
open it will light a single led. If
connected to VCC it will make
the LM3914 use bar mode. It 9: Internals of the LM3914
might be safer to operate in “bar”
mode but so far this not like this on the PCB board. One could easily do so by connecting a small
wire between pin 3 and 9.
Q23 and Q24 form a high impedance switch for the LM3914. The chips outputs didn't like to be
loaded so we had to go this way. Grounding the base of Q24 will make Q24 conduct and the
collector of Q23 go low, thus triggering the flip-flop.
The rest of the circuit is again the same as in the current protection.
As an input the LM35 as used in the Ericsson 13cms amplifiers works also, just add a small voltage
divider.11. Remote controlling the amplifier
One of the things I made together with Graham F5VHX was a Gray to serial converter. This was for
my home-brew Gray codes. I did not want to run a wire for each bit from the tower to the shack.
Graham came up with a circuit and programmed the software for the transmitter and the receiver.
The receiver and transmitter don't differ very much, only for the software in the pic is different.
These pic processors had also 2 AD converters inside. These were not implemented in the original
software but Graham “added some lines of code” and we had 2 AD converters available. In fact
there are 12 high /low inputs and these can be used to show which alarm stage has been “set off”
For each alarm stage we use one of the open collectors to transmit this information to the shack.
The input of transmitter will produce the same output on the receiver. The output of the pic is
transferred to the RS485 protocol, so that the data can be transferred easily to the shack. Goal was
to use a RJ45 cable, these are available for the amateur at low prices. If you mix up wires from the
RS485 it does NOT work. So be careful.
There isn't really much to tell about the circuit. It is all in the software.
The jumpers
JP1 Switches between binary or Gray (should be grounded in this application.)
JP2 Switches between serial or parallel (should be grounded in this application.)
JP3 Switches between positive or negative (should be grounded in this application.)
JP4 Switches the level of input / output to go high or low. Normally this should go low in this
application.
JP1-3 are normally not needed. Pins might be grounded directly!
TX connections, naming RX connections, naming
conventions conventions
The output of the RX is PWM modulated output. The duty cycle varies depending on the input
voltage of the TX. The output needs to be smoothed and buffered by an opamp. Below is a simple
schematic. There is no PCB for this but it could be made on a simple experimental board. The
capacitors are not critical 33nF will do.
15: PWM to DC converter
Because there are only 2 AD converters available in the pic processor and I wanted to be able to
monitor each of the 4 stages on my 1296 amplifier. I decided that I needed a switch for that. Again
the LM3914 proved to be a very nice component. A switch in the shack is used to select different
voltages for the input of the LM3914. It's voltmeter is used to attract relays which switch the
outputs of the 4 current protection circuits. A led is fitted on the coil of each relay to show which
relay is attracted. The input of the LM3914 is limited to 9V. In the shack there is a simple voltage
regulator and a 4 position rotary switch which selects the voltage from 4 pieces 10k multi turn
potentiometers.
With this circuit, I can monitor each of the 4 currents in my amplifier using one AD converter. The
other AD converter is used to monitor power output.
The RJ45 connector could look as follows:
1. GND
2. 12V from the shack to switch the solid state relays to switch on the high current PSU at the
base of the tower.
3. RS485
4. RS485
5. Switching voltage for the remote switch
6. Not in use
7. Not in use
8. Not in use
The numbers not in use could be use to transfer any other voltage from the bottom of the tower to
the shack. Maybe temperature or reflected power is important for you.
12. References
“With a little help from my friends”:
Jack Smeets, PE1KXH: Ideas, support, discussion and fun
Graham Daubney, F5VHX: Ideas, discussion, fun, support and pic progtramming
The PA3CSG website will provide a download for the schematics on a larger scale. Unfortunately
these are a bit hard to read. http://pa3csg.hoeplakee.nl/joomla/index.php?
option=com_content&view=category&id=44&Itemid=64
Data sheet from Maxim available at: http://datasheets.maxim-ic.com/en/ds/MAX4080-
MAX4081.pdf
Data sheet from National Semiconductors available at: http://www.national.com/ds/LM/LM35.pdf
Load for batteries and power supplies: http://www.w1ghz.org/small_proj/small_proj.htm
The VSWR protection circuit : http://www.geocities.com/Area51/Nebula/3736/swr_prot.gif
Data sheet from National Semiconductors available
at:http://www.national.com/ds/LM/LM3914.pdf
Application note from Microchip: http://ww1.microchip.com/downloads/en/AppNotes/00538c.pdf
AATiS Log detector: http://www.aatis.de/content/bausatz/AS633_Logarithmischer-VHF/UHF-
Detektor
Description of the logaritmic detector with the AD8713 Weinheim papers 2002.
Addendum June 2010
After 3 complete units build the following changes were added:
1. Led 7 of the voltage dependant switch, connected to pin 1 of IC25 keeps burning for a small
amount. You can see the led light a little, it never goes out completely. This does not affect
the functioning of the circuit.
2. Graham F5VHX promised to design a nice indoor control unit with LCD displays and
power reading etc. The design of this unit has been finished, at this time the first units will
be build and tested.
For those interested in building these unit a few professional made double sided, through plated
boards are still available for € 36 (+ shipping). Contact PA3CSG (pa3csg@gmail.com).