rf-355 automatic " tune for max "

May 25, 2013 - THIS UNIT IS PLACED IN THE REMOTE CONTROL BOX .... PIC source code: " Tune For Max " rev 1 (12/2009) by Theo F/YO8RCM adapted ...
525KB taille 1 téléchargements 325 vues
R2

U3:B

+13.5V 1k

+5V

"N"

D

J9

Q2

S

6

RS232 OUT TO TERMINAL PINS 2,GND PIN 3 GND PIN 4 GND PINS 5 NC OBTURED USED AS KEY

1 2 3 4 5

2N7000

G

RS232 OUT

10k TO 1M

C9

+13.5V 8

J7

RB6/PGC RB7/PGD

5 4 3 2 1

+5V MCLR

16

CLKIN VFWD IN VREF IN COIL CW OUT COIL CCW OUT

15

CLKOUT RB0 RB1 RB2 RB3 RB4 MCLR Ref/Fwd IN RB5 RB6 VDD RB7 PTT IN TUNE IN VSS SLOPE IN PWM OUT

5

MCLR

R1

4

+5V 10k

14

+5V

C7 100nF

U1

C4

RA0 RA1 RA2 RA3 RA4

2

1 2

8 9 17 18 10 11 12 13

SLOPE PWM RB6/PGC RB7/PGD

Q1

D

2N7000

5

R3 10k C5

R4 10k C6

C10

1 2 3

C8 100nF

7

METER REF/FWD

U4:A

3

1

RV1 J14

3

100k

LM358N

C11

"N"

100uF

PTT

3

REAR PANEL DIN 3 OR 5 PINS FROM TX

1

ALC

PTT

METER OUTPUT +13.5 V INPUT GND

3 2 1

C1

ALC TO TX

ALC (IF NEEDED)

C2 1uF

78L05

VI

VO

1

+5V

C3 1uF

D

Q3 FAST METER CUT OFF IN RX

G S

Q3 1 2

U2

+13.5V

2

PEAK POWER

ALC FROM AMP

TUNING REQUEST

+13.5V

1k

100nF

GND

470

1

+5V

100nF

2

IN TUNING LED

INPUT TUNE PUSH BUTTON INPUT REF/FWD +5 V OUT 0

1

100nF

1

TX PTT

100nF

RV2 R8

6 1N4148

TX PTT GND INPUT TX PTT + 5 TO 14 V INPUT ( ALTERNATIVE )

100k

D3

LM358N

MANUAL SWITCH

AMP BY-PASS

10k

1 Meg 500 k 200 k 100 k 50 k

U4:B

IN/OUT COIL CCW IN/OUT COIL CW GND

0

4

PWM 10 kHz

3 2 1

8

SLOPE

D2

S

2

SLOPE

D1

CCW 0 CW

PTT INVERTER (IF NEEDED)

"N" G

RV1 & RV2

10 uF 22 uF 47 uF 100 uF 220 uF

PTT OUT TO AMP IN TUNING LED

PTT

R5

2

1N4148

2 1

PEAK HOLD TIME

J13

1N4148

1 2 6 7 3

100nF

1

10k TO 1M

LM358N

PIC18F1320 Revision 2.x C11

HARRIS AMPLIFIER

3

PIC CODE BY F/YO8RCM & F1FRV

J8

INPUT REF PWR 0-5 V MAX INPUT FWD PWR 0-5 V MAX

1

J7 TO J11, Q2, R2 ARE NOT NEEDED IN NORMAL OPERATION. USED ONLY FOR PIC DEBUGGING AND PROGRAMMATION

ICSP FOR PICKIT

+13.5V ALC

R7 100nF

U3:A RB6/PGC

2 1

4

J10

R6

LM358N

RB7/PGD

RS232 IN

NOTA: SLOPE JUMPER FOR METER LINEARIZATION WITHOUT JUMPER (BY DEFAULT, 7 V @ TP1 @ 500 W) : 5 V = 750 W WITH JUMPER (FOR 5.39 V @ TP1 @ 500 W) : 5 V = 1 kW

5

7

GND

+5V

2

J11

2N7000

THIS UNIT IS PLACED IN THE REMOTE CONTROL BOX REVISION 3: ADDED JUMPER SLOPE, DIODES D1 & D2 (TUNING LED), AND PEAK POWER METER CIRCUIT

HARRIS HF AMPS RF-353 / RF-355 AUTOMATIC " TUNE FOR MAX "

DATE: 25/05/13

REV: 3

BY: [email protected] DOC N°: AMATEUR RADIO

PAGE: 1/1

Automatic tuning for HARRIS amplifiers

Revision May 2013

PIC source code: " Tune For Max " rev 1 (12/2009) by Theo F/YO8RCM adapted and modified rev 2 by F1FRV. PIC 18F1320 with internal oscillator "INTOSC" at 8 MHz. No xtal, as precise timings are not needed .... //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Outputs: 1 / Pin 6 RA2: Voltage 0 V for logic control CW (+) of the tuning inductor. 2 / Pin 7 RA3: Voltage 0 V for logic control CCW (-) of the tuning inductor. 3/ Pin 18 RB3: Linearized 0 to 5 V for 0 to 1kW for RF-355 ( 0 to 2 kW for RF-353) sent to meter. Inputs: 1 / Pin 1 RA0: Measure voltage representing forward power (FWD PWR). Non linear. 2 / Pin 2 RA1: Measure voltage representing reflected power (REF PWR). Non linear. 3 / Pin 8 RB0: “PTT”. Pull up on the input . Set to ground in transmission . 4 / PIN 9 RB1: For pushbutton "TUNE". Pull up on the input . Set to ground, to start the automatic tuning process . 5 / PIN 11 RB5: For switch "FWD/REF". Pull up on the input . Set to ground, to have FWD power display on meter, and, when switch is open , display on meter REF power . 6 / PIN 17 RB2: For jumper "SLOPE". Pull up on the input . Set to ground, to have meter linear scale 1 kW @ 5 V with TP1 5.39 V , and , when jumper is absent , have meter linear scale 775 W @ 5 V with TP1 7 V (by default in amplifier) .

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Tuning routines SIMPLIFIED description: If RB0 is at ground (Transmission) AND If RB1 is at ground (Tuning request) Measure forward power voltage (FWD PWR). Accuracy is limited at ~3.5 mV (5V / 1310.72), This gives an hysteresis corresponding to ~ 3.5 Watts on scale 5V = 1 kW. Send 0 to 5 V linearized to meter. Set output CW at 0 V, coil runs CW, check if FWD PWR voltage increases. If it increases, we remains on CW. If it decreases, set output CW at +5 V, and switch to CCW at 0 V, coil runs CCW. FWD PWR voltage will increase. It will continue until it will be reduced again, then switch the active output to +5 V, as the maximum FWD PWR voltage is exceeded. Tuning is now OK. Depress push button “TUNE”, before any new tuning request . Then loops from beginning…… At any time, during tuning, If the PTT input RB0 goes to +5 V (Reception) OR If TUNE input RB1 goes to +5 V (no more tuning request) The 2 outputs CW and CCW are set to +5 V to stop coil as it is, and loops from beginning. Other features: If RB5 is at ground (FWD power display) , front panel meter measures forward power (FWD PWR). If RB5 is open (REF power display) , front panel meter measures reflected power (REF PWR).

That’s All Fox !!!!!!!!!!!!! Web site: http://f1frv.free.fr

Enjoy ….. Mail to: [email protected]

Linéarisation approximative de l'affichage de puissance des amplis HARRIS par le PIC de "TUNE FOR MAX" F1FRV

05/2012

V4.3

5.000 V OUT ON 0-5V METER 4.500

V FWD @ DB25 0.000 1.335 1.695 2.115 2.500 2.866 3.150 3.410 3.650 3.830 4.000

P OUT W 0 100 200 300 400 500 600 700 800 900 1000

V FWD @ TP1

5.390

Power W on meter 0 100 194 304 404 500 625 740 846 925 1000

Volts on meter 0.00 0.50 0.97 1.52 2.02 2.50 3.13 3.70 4.23 4.63 5.00

Max Error % 0.00 0.00 -3.06 1.25 1.08 0.00 4.03 5.39 5.40 2.71 0.00

4.000 3.500 V IN @ DB25 PIN 4

3.000 y = 1.6393Ln(x) - 0.0127 2.500 2.000 1.500 1.000 0.500

VALEURS POUR PROGRAMMATION DU PIC AVEC 5.39 V @ TP1 P min P max V IN min V IN max Range V Range W 0 100 0.000 1.335 1.335 100 100 500 1.335 2.866 1.531 400 500 1000 2.866 4.000 1.134 500

For PIC LP slope MP slope HP slope

Slope 74.906 261.267 440.917

VALEURS POUR PROGRAMMATION DU PIC AVEC 7 V @ TP1 P min P max V IN min V IN max Range V Range W 0 100 0.000 1.770 1.770 100 100 500 1.770 3.960 2.190 400 500 775 3.960 5.000 1.040 275

For PIC LP slope MP slope HP slope

Slope 56.497 182.648 264.423

DUE TO INTERNAL ~3 dB ATTENUATOR INSIDE AMPLIFIER INPUT CIRCUIT, ~100 W INPUT ARE REQUIRED TO HAVE 1 kW OUTPUT

NOTA Pour réglage facile, utiliser 300 W mesurés avec un wattmetre précis en sortie d'ampli (~ 30 W input). Régler ajustable R7 pour avoir 2.115 V sur la sortie V FORWARD, pin 4 sur la DB25. Pour avoir exactement 300 W, si votre TX ne permet pas le réglage de puissance en continu ( TS-480 par exemple) mettre un peu plus de puissance en entrée, et ajuster les 300 W en dérèglant légèrement la self du PI (CW ou CCW).

1000

900

800

700

600

500

400

300

200

100

0

0.000

BRIDGE BALANCE

FOR 775 W MAXI ADJUST FWD VOLTAGE @ TP1 (BOARD A5): 7 V AT 500 W

FOR 1 kW MAXI ADJUST FWD VOLTAGE @ TP1 (BOARD A5): 5.39 V AT 500 W OR 2.115 V AT 300 W ON DB25 PIN 4

V FWD

V REF

SPECIAL REV 3 PCB WITH THE 4 HOLES AT SAME PLACE AS IN REV 2 , TO FIT IN EXISTING CONTROL BOX