Jiné volby

Následuje ukázka možných voleb parametrů a následného výpisu funkce ARCSynt . Jak je patrné, lze jednotlivé paramery zadávat ve formě seznamu a tak je specifikovat zvlášť pro jednotlivé bloky. Pokud nechceme pro daný blok specifikovat parametr, který je zadán ve formě seznamu, lze na daném místě uvést jiný typ proměnné, např. symbol  (non) místo čísla a opačně.

>    infolevel[syntfil]:=3:

>    opt2_bp:=table(['C1'=33e-9, 'C2'=[non,non,3.3e-9,3.3e-9,3.3e-9,3.3e-9], 'R'=10e3, 'type'=[0,0,0,0,BP3,BP4]]):

>    ARC2_bp:=ARCSynt(bp,opt2_bp):

Warning, ARCSynt: 2nd argument[h0] was not specified and will be considered to be 1.

ARCBlock:

Frequencies of modulus peaks of particular blocks: [[1, 1259.7361], [2, 2967.5093], [3, 1112.0437], [4, 2619.5963], [5, 1584.3792], [6, 2082.8346]].

Frequencies of modulus peaks after particular blocks: [[1, [1259.7361]], [2, [1264.5290, 2966.1576]], [3, [2230.4723, 2964.9042, 1115.0555]], [4, [1236.9707, 2958.0072, 1115.6159, 2667.8076]], [5, [1256.2543, 2956.0980, 1116.7847, 2643.7872, 1546.6152]], [6, [1265.0629, 2952.8307, 1117.5717, 2608.5659, 1587.2765, 2079.0327]]].

ARCBlock:

Amplification of particular blocks h0 = [1.000000, 18.895939, 8.904615, 18.822020, 4.938272, 9.038181].

********************** Number of blok: 1 **********************

********************** Number of blok: 2 **********************

Warning, ARCSyntBP2: 2nd argument[ft] should be entered for proper design of BP2 circuit

********************** Number of blok: 3 **********************

Warning, ARCSyntBP: The circuit will not be realized by BP1 circuit because of high value of 'Q'=28.08214, (Qmax=15).

Warning, ARCSyntBP2: 2nd argument[ft] should be entered for proper design of BP2 circuit

********************** Number of blok: 4 **********************

syntfil/ARCSyntBP1:

Parameters of calculations: method="min. Gamma"; c=0.100000; r_opt=0.032058; alpha=0.842126; K=1.294715; h0max=22.350592

********************** Number of blok: 5 **********************

Warning, ARCSyntBP: 'BP3' circuit is used, therefore entered argument['C2'] will be discounted.

********************** Number of blok: 6 **********************

Warning, ARCSyntBP: 'BP4' circuit is used, therefore entered argument['C2'] will be discounted.

Warning, ARCSyntBP4: 2nd argument[ft] should be entered for proper design of BP4 circuit

***************************************************************

ARCSynt: Used circuit types in particular blocks: [BP2, BP2, BP2, BP1, BP3, BP4].

`block `(1), [R5 = 3828.5, R3 = 3828.5, R2 = 74841., R1 = 3828.5, C1 = .33e-7, Rk = 74841., ft = Float(infinity), type = BP2, R4 = 3828.5, A0 = Float(infinity)]

`block `(2), [R5 = 384.18, R3 = 6875.3, R2 = 45640., R1 = 6875.3, C1 = .33e-7, Rk = Float(infinity), ft = Float(infinity), type = BP2, R4 = 6875.3, A0 = Float(infinity)]

`block `(3), [R5 = 1542.6, R3 = 12193., R2 = .12179e6, R1 = 12193., C1 = .33e-7, Rk = Float(infinity), ft = Float(infinity), type = BP2, R4 = 12193., A0 = Float(infinity)]

`block `(4), [R12 = 6602.9, R = .10e5, R3 = 33931., C2 = .33e-8, R2 = 32516., R11 = 1237.8, C1 = .33e-7, ft = Float(infinity), type = BP1, A0 = Float(infinity)]

`block `(5), [R = .10e5, R3 = 3044.0, R2 = 20590., R1 = 4169.4, C1 = .33e-7, ft = Float(infinity), type = BP3, A0 = Float(infinity)]

`block `(6), [R = .10e5, R3 = 2315.5, R2 = 15662., R1 = 1732.9, C1 = .33e-7, Ck = 0., ft = Float(infinity), type = BP4, A0 = Float(infinity)]

`type=ARC`

Pokud bychom chtěli provést syntézu pouze jedenoho bloku, lze to uskutečnit následujícím příkazem. Nejprve použijeme příkaz ARCBlock  pro rozdělení zesílení na jednotlivé bloky. Zesílení lze zadat opět jako číslo (celkové zesílení filtru) nebo pomocí seznamu čísel, ve kterém lze specifikovat zesílení jednotlivých bloků zvlášť. Vlastní výpočet obvodu je v našem případě (pásmové propusti) proveden pomocí funkce ARCSynt_BP . Volba paramerů se i zde zadává ve formě tabulky. Zde je vidět nevhodnou volbu typu obvodu, jak bylo uvedeno výše.  

>    bp_BL:=ARCBlock(bp,1):

>    ARC1b_bp:=ARCSyntBP(bp_BL[1],table(['C1'=33e-9, 'type'=BP1]));

>    infolevel[syntfil]:=1:

ARCBlock:

Frequencies of modulus peaks of particular blocks: [[1, 1259.7361], [2, 2967.5093], [3, 1112.0437], [4, 2619.5963], [5, 1584.3792], [6, 2082.8346]].

Frequencies of modulus peaks after particular blocks: [[1, [1259.7361]], [2, [1264.5290, 2966.1576]], [3, [2230.4723, 2964.9042, 1115.0555]], [4, [1236.9707, 2958.0072, 1115.6159, 2667.8076]], [5, [1256.2543, 2956.0980, 1116.7847, 2643.7872, 1546.6152]], [6, [1265.0629, 2952.8307, 1117.5717, 2608.5659, 1587.2765, 2079.0327]]].

ARCBlock:

Amplification of particular blocks h0 = [1.000000, 18.895939, 8.904615, 18.822020, 4.938272, 9.038181].

Warning, ARCSyntBP1: Entered Q is too big for method "K=1" of BP1 - ratio of circuit elment values will be too big, choose method="min. Gamma", i.e. C2

syntfil/ARCSyntBP1:

Parameters of calculations: method="K=1"; r=0.002617; alpha=0.005234; h0max=191.074054

ARC1b_bp := TABLE([R12 = 196.87457596947289578, R = 0, R3 = infinity, C2 = .33e-7, R2 = 74841.497720781994582, R11 = 37420.748860390996696, C1 = .33e-7, ft = infinity, type = BP1, A0 = infinity])