• No results found

Recommendations for Further Work

The following points detail potential areas of investigation stemming from this study.

Fabricate the complete active design and compare the measured and sim- ulated results. A suitable circularly polarised patch antenna could be designed, which GPS systems require.

Investigate the use of other dielectric materials to enhance antenna effi- ciency and the impacts of employing substrate covers [92].

A different version of ACP could be used to design stacked patch antennas. Stacked patches provide greater impedance bandwidth and an active de- sign could be implemented for other applications. Moreover, an additional reflector could be used to enhance performance.

This work has not taken into consideration amplifier stability outside GPS operating frequencies. At some frequencies, the source impedance may fall into the unstable region of the Smith Chart. This is the result of the antenna behaving like a length of open circuit line at certain frequencies and is likely to present a source impedance in the unstable region. Further work is required to investigate this issue. Methods of improving stability should also be investigated, for instance the length of line between the transistor source terminal and the ground connection could be used to improve the amplifier stability.

Other types of microstrip patch antennas could also be investigated that are integratable with MIC devices.

Further study could be conducted into shortening conductor dimensions to provide a compact design, such as using short circuits and antenna loading.

References

[1] Andrenko A., Ikeda Y., Nakayama M. & Ishida O., Impedance Matching in Active Integrated Antenna Receiver Front End Design, IEEE Microwave and Guided Wave Letters, vol. 10, no. 1, pp. 16-18, Jan. 2000.

[2] Floyd T. L., Electronic Devices, Macmillan Publishing Company, 3rd. ed., 1992.

[3] Deschamps G. A., Microstrip Microwave Antennas, 3rd. USAF Symposium on Antennas, 1953.

[4] Grieg D. D. & Engleman H. F., Microstrip - a New Transmission Technique for the Kilomegacycle Range, Proc. IRE, vol. 40, pp. 1644-1650, 1952. [5] Gutton H. & Baissinot G., Flat Aerial for Ultra High Frequencies, French

Patent No. 703113, 1955.

[6] Balanis C. A., Antenna Theory Analysis And Design, John Wiley & Sons Inc., 2nd ed., 1997.

[7] James J. R. & Hall P. S., Handbook of Microstrip Antennas, Peter Peregrinus Ltd., 1989.

[8] Johnson J. & Rahmat-Samii Y., Genetic Algorithm Optimization and its Application to Antenna Design, IEEE Antennas and Propagation Society International Symposium, AP-S. Digest , vol. 1, pp. 326-329, 1994.

[9] Haupt R., Comparison between Genetic and Gradient-based Optimization Algorithms for Solving Electromagnetics Problems, IEEE Trans. Magnetics, vol. 31, no. 3, pp. 1932-1935, Jul. 1994.

[10] Villegas F. J. et al Parallel Genetic-Algorithm Optimization of a Dual- Band Patch Antenna for Wireless Communications, IEEE Antennas and Propagation Society International Symposium, vol. 1, pp. 334-337, 2002.

[11] Altman Z., Mittra R. & Boag A., New Designs of Ultra Wide-Band Com- munication Antennas Using a Genetic Algorithm, IEEE Trans. Antennas and Propagation, vol. 45, no. 10, pp. 1494-1501, Oct. 1997.

[12] Choo H., & Ling H., Design of Multiband Microstrip Antennas using a Genetic Algorithm, IEEE Microwave and Guided Wave Letters, vol. 12, no. 9, pp. 345-347, 2002.

[13] Mittra R., Genetic Algorithm: The Last Word for Solving All of Your Design Problems?, IEEE Antennas and Propagation Society International Symposium, AS-P. Digest, vol. 3, pp. 1672-1675, Jul. 1997.

[14] Johnson J. & Rahmat-Sumii Y., Genetic Algorithm and Method of Mo- ments (GA/MoM): A Novel Integration for Antenna Design, IEEE Anten- nas and Propagation Society International Symposium, AS-P. Digest, vol. 3, pp. 1664-1667, Jul. 1997.

[15] Herscovici N., Osorio M. & Peixeiro C., Miniaturization of Rectangular Microstrip Patches using Genetic Algorithms, Antennas and Wireless Prop- agation Letters, vol. 1, pp. 94-97, 2002.

[16] Johnson J. & Rahmat-Sumii Y., Genetic Algorithms in Engineering Elec- tromagnetics, IEEE Antennas and Propagation Magazine, vol. 39, no. 4, pp. 7-21, Aug. 1997.

[17] Alatan L., Aksun M., Leblebicio˘glu K. & Birand T., Use of Computation- ally Efficient Method of Moments in the Optimization of Printed Antennas, IEEE Trans. Antennas and Propagation, vol. 47, no. 4, pp. 725 -732, Apr. 1999.

[18] Johnson J. & Rahmat-Sumii Y., Genetic Algorithms and Method of Mo- ments (GA/MOM) for the Design of Integrated Antennas, IEEE Trans. An- tennas and Propagation, vol. 47, no. 10, pp. 1606 -1614, Oct. 1999.

[19] Manara G., Monorchio A. & Mittra R., A new Genetic-Algorithm-based Frequency Selective Surface Design for Dual Frequency Applications, IEEE Antennas and Propagation Society International Symposium, vol. 3, pp. 1722-1725, Aug. 1999.

[20] Castellana F., Bilotti F. & Vegni L., Automated Dual Band Patch Antenna Design by a Genetic Algorithm Based Numerical Code, IEEE Antennas and Propagation Society International Symposium, vol. 4, pp. 696-699, 2001.

[21] Kang K., Zhang W. & Li J., Optimisation of Coupled Tapered Slot-Line Antenna for Sum/Difference Beams, Electronics Letters, vol. 37, no. 9, pp. 548-549, 26 Apr. 2001.

[22] Pozar D., Microstrip Antenna Aperture-Coupled to a microstripline, Elec- tronics Letters, vol. 21, no. 2, pp. 49-50, 17 Jan. 1985.

[23] Parini C., What are Active Integrated Antennas? Can Successful CAD be Acheived?, IEEE Symposium on High Performance Electron Devices for Microwave and Optoelectronic Applications, pp. 53-58, 1999.

[24] Croq F. & Pozar D. M., Millimeter-Wave Design of Wide-Band Aperture- Coupled Stacked Microstrip Antennas, IEEE Trans. Antennas and Propaga- tion, vol. 39, no. 12, pp. 1770-1776, Dec. 1991.

[25] Pozar D. M. & Schaubert D. M., Microstrip Antennas The Analysis and Design of Microstrip Antennas and Arrays, IEEE Press, A Review of Some Microstrip Antenna Characteristics, pp. 59-67, 1995.

[26] Simons N., Sebak A. & Ittipiboon A., Analysis of Aperture-Coupled Microstrip Antenna and Circuit Structures Using the Transmission-Line- Matrix Method, IEEE Antennas and Propagation Magazine, vol. 37, no.4, pp. 27-37, Aug. 1995.

[27] Targonski S., Pozar D. & Waterhouse R., Aperture Coupled Microstrip An- tennas Using reflector Elements for Wireless Communications, IEEE Anten- nas and Propagation for Wireless Communication Conference, pp. 163-166, Nov. 1998.

[28] Wu C. et al, Accurate Characterization of Planar Printed Antennas Using Finite-Difference Time-Domain Method, IEEE Trans. Antennas and Prop- agation, vol. 40, no. 5, pp. 526-534, May 1992.

[29] Pozar D. M., A Reciprocity Method of Analysis for Printed Slot and Slot- Coupled Microstrip Antennas, IEEE Trans. Antennas and Prop., vol 34, no. 12, pp. 1439-1446, Dec. 1986.

[30] Sullivan P. L. & Schaubert D. H., Analysis of an Aperture Coupled Mi- crostrip Antenna, IEEE Trans. Antennas and Propagation, vol. 34, no. 8, pp. 977-984, Aug. 1986.

[31] Hall R. C. & Mosig J. R., The Analysis of Arbitrarily Shaped Aperture- Coupled Patch Antennas Via a Mixed-Potential Integral Equation, IEEE Trans. Antennas and Propagation, vol. 44, no. 5, pp. 608-614, May 1996.

[32] Duffy S., An Enhancement Bandwidth Design Technique for Electromag- netically Coupled Microstrip Antennas, IEEE Trans. Antennas and Propa- gation, vol 48, no. 2, pp. 161-164, Feb. 2000.

[33] Carver K. R. & Mink J. W., Microstrip Antenna Technology, IEEE Trans. Antennas and Propagation, vol. 29, no. 1, pp 2-24, Jan. 1981.

[34] Johnson R. C., Antenna Engineering Handbook, McGraw-Hill Inc, 3rd. ed., 1993.

[35] Pozar D. M., Considerations for Millimeter Wave Printed Antennas, IEEE Trans. Antennas and Propagation, vol. 31, no. 5, pp. 740-747, May 1983.

[36] Waterhouse R. B., ACP, software code provided by the author.

[37] Hewlett Packard HP-EEsof Microwave & RF Circuit Design, AEL Guide, Series IV, February 1994.

[38] Hewlett Packard HP-EEsof Microwave & RF Circuit Design, Circuit Ref- erence, Series IV, February 1994.

[39] Hewlett Packard HP-EEsof Microwave & RF Circuit Design, Circuit User’s Guide, Series IV, February 1994.

[40] Pozar D. M. & Schaubert D. M.,Microstrip Antennas The Analysis and Design of Microstrip Antennas and Arrays, IEEE Press, A Review of Some Microstrip Antenna Characteristics, pp. 59-67, 1995.

[41] Sanchez-Hernandez D. & Robertson I. D., A Survey of Broadband Mi- crostrip Patch Antennas, Microwave Journal, Sep. 1996.

[42] Duffy S., An Enhancement Bandwidth Design Technique for Electromag- netically Coupled Microstrip Antennas, IEEE Trans. Antennas and Propa- gation, vol. 48, no. 2, Feb. 2000.

[43] Fishman, T., Tamir, G. & Levine, E.; Aperture-coupled printed antenna for MMIC applications, IEEE Conference Proceedings, pp. 135-138, Mar. 1991. [44] Targonski S. D. & Pozar D. M.,Design of Wideband Circularly Polarized Aperture-Coupled Microstrip Antennas, IEEE Trans. Antennas and Propa- gation, vol. 41, no. 2, pp. 214-220, Feb. 1993.

[45] Sullivan P. L. & Schaubert D. H., Analysis of an Aperture Coupled Mi- crostrip Antenna, IEEE Trans. Antennas and Propagation, vol. 34, no. 8, pp. 977-984, Aug. 1986.

[46] Kraus J. D., Antennas, McGraw-Hill, 1988.

[47] Pozar D. M., A Reciprocity Method of Analysis for Printed Slot and Slot- Coupled Microstrip Antennas, IEEE Trans. Antennas and Prop., vol. 34, no. 12, pp. 1439-1446, 1986.

[48] Hall R. C. & Mosig J. R., The Analysis of Arbitrarily Shaped Aperture- Coupled Patch Antennas Via a Mixed-Potential Integral Equation, IEEE Trans. Antennas and Propagation, vol. 44, no. 5, pp. 608-614, May 1996.

[49] Pozar D. M., Considerations for Millimeter Wave Printed Antennas, IEEE Trans. Antennas and Propagation, vol. 31, no. 5, pp. 740-747, 1983.

[50] Pozar D. M. & Schaubert D. H., Microstrip Antennas, IEEE Press, 1995.

[51] Hewlett Packard HP-EEsof Microwave & RF Circuit Design, Circuit User’s Guide, Series IV, 1994.

[52] Faires J. D. & Burden R. L., Numerical Methods, PWS Publishing Com- pany, 1993.

[53] Press W. H., Teukolsky S. A., Vetterling W. T. & Flannery B. P., Numerical Recipes in C The Art of Scientific Computing, Cambridge University Press, 1992.

[54] Bose T. & Chen M., Design of Two-Dimensional Digital Filters in the Spatial Domain, IEEE Trans. on Signal Processing, vol. 41, pp. 1464-1469, Mar. 1993.

[55] Joe H., Multivariate Models and Dependance Concepts, Chapmans & Hill, 1997.

[56] McLachlan G. J. & Krishnan T., The EM Algorithm and Extensions, John Wiley & Sons Inc., 1997.

[57] Pham D. T. & Karaboga D., Intelligent OPtimisation Techniques, Springer- Verlag London Limited, 2000.

[58] Alatan L., Aksun M., Leblebicio˘glu K. & Birand T., Use of Computation- ally Efficient Method of Moments in the Optimization of Printed Antennas, IEEE Trans. Antennas and Propagation, vol. 47, no. 4, pp. 725-732, Apr. 1999.

[59] Luger G. F. & Subblefield W. A., Artificial Intelligence, Structures and Stragergies for Complex Problem Solving, Addison Wesly Longman Inc., 3rd ed., 1999.

[60] Berger M. et al, 3D Model Based Pose Determination in Real-Time: Strate- gies, Convergence, Accuracy, IEEE, 2000.

[61] Haupt R. L. & Haupt S. E., Practical Genetic Algorithms, John Wiley & Sons Inc., 1998.

[62] Goldfarb M. E. & Pucel R. A., Modelling Via Hole Grounds in Microstrip, IEEE Microwave and Guided Wave Letters, vol. 1, no. 6, pp. 135-137, Jun. 1991.

[63] Navarro J. A., Hummer K. A & Chang K. Active Integrated Antenna Ele- ments, Microwave Journal, pp. 115 - 126, Jan. 1991.

[64] Navarro J. A. & Chang K., Integrated Active Antennas and Spatial Power Combining, John Wiley & Sons Inc., 1996.

[65] Navarro J. A., Hummer K. A. & Chang K., Active Interated Antenna Ele- ments, Microwave Journal, pp. 115-126, Jan. 1991.

[66] Lin J. & Itoh T. Active Integrated Antennas, IEEE Trans. Microwave The- ory and Techniques, vol. 42, no. 12, Dec. 1994.

[67] Keller M. G., Roscue D. J. et al, Active Aperture-Coupled Rectangular Dielectric Resonator Antenna, IEEE Microwave and Guided Wave Letters, vol. 5, no. 11, pp. 376-378, Nov. 1995.

[68] Pobanz C. W. & Itoh T., Active Integrated Antennas, IEEE Potentials, vol. 16, iss. 2, Apr. - May 1997.

[69] Qian Y. & Itoh T., Progress in Active Integrated Antennas and Their Ap- plications, IEEE Transactions on Microwave Theory and Techniques, vol. 46, no. 11, pp. 1891-1900, Nov. 1998.

[70] Ert¨urk B., Rojas R. G. & Roblin, P., Hybrid Analysis/Design Method for Active Integrated Antennas, IEE Proceedings on Microwave Antennas and Propagation, vol. 146. no. 2, pp. 131-137, Apr. 1999.

[71] Rasshofer R. H. & Biebl E. M., Advanced Millimeterwave Speed Sensing System Based on Low-Cost Active Integrated Antennas, IEEE Microwave Theory and Techniques International Symposium, Microwave Symposium Digest, vol. 1, pp. 285-288, Jun. 1999.

[72] Kalialakis C., Cryan M., et al Analysis and Design of Integrated Active Circular Antennas, IEEE Trans. Microwave Theory and Techniques, vol. 48, no. 6, pp. 131-137 Jun. 2000.

[73] Bhattacharya A. & Lahiri P., New Design Philisophy of Active Microstrip Patch Antennas, IEEE Antennas and Propagation Society International Symposium, vol. 3, pp. 1284-1287, Jul. 2000.

[74] Kaleja M. & Biebl E., Active Integrated Antennas for Automotive Applica- tions, IEE Colloquium on Antennas and Automotives, ref. no. 2000/002, pp 2/1-2/5, 2000.

[75] Bonefaˇci´c D. & Bartoli´c D., Compact Active Integrated Antenna with Tran- sistor Oscillator and Line Impedance Transformer, Electronics Letters, vol. 36, no. 18, 31 Aug. 2000.

[76] Vajha S. & Shastry P., A novel Proximity Coupled Patch Antenna for Active Circuit Integration, IEEE Antennas and Propagation International Symposium, vol. 4, pp. 772-775, Jul. 2001.

[77] Duerr W., Menzel W. et al, A Low-Noise Active Receiving Antenna Using a SiGe HBT, IEEE Microwave and Guided Wave Letters, vol. 7, no. 3, pp. 63-65, Mar. 1997.

[78] Fredrick J. & Itoh T., Recent Developments in RF Front Ends Based Upon Active Antenna Concepts, TELSIKS 2001, pp. 3-9, Sep. 2001.

[79] Radulovic D., Nesic A. et al, Active Patch Antennas Integrated with Rx/Tx Front End, TELSIKS 2003, pp 49-52, Oct. 2003.

[80] Couch L. W., Digital and Analog Communication Systems, Macmillan Pub- lishing Company, 4th. ed., 1993

[81] Young P., Electronic Communication Techniques Macmillan Publishing Co., 3rd. ed., 1994.

[82] Carr J. J., Secrets of RF Circuit Design, McGraw-Hill, 3rd. ed., 2001.

[83] Thaigarajah S., Ali M. B. & Habaebi M. H., Circular Polarized Active Mi- crostrip Antenna for Commercial GPS Application, IEEE TENCON Pro- ceedings, vol. 1, pp. 109-114, 2000.

[84] Pozar C. A.,Antenna Theory Analysis and Design, 2nd. ed. John Wiley & Sons Inc. 1997.

[85] Bogart T. F., Electonic Devices and Circuits, Prentice-Hall, 4th. ed., 1997.

[86] Bowick C., RF Circuit Design, Howard W. Sams & Co. Inc, 1982.

[87] Vuzmuller P., RF Design Guide Systems, Circuits and Equations, Artech House Inc., 1995.

[88] Ludvig R. & Bretchko P., RF Circuit Design Theory and Applications, Prentis-Hall Inc., 2000.

[89] Kraus J. D., Antennas, McGraw-Hill Book Company, 2nd. ed., 1988.

[90] Pozar D. M., Microstrip Antennas, IEEE Proceedings (invited paper), vol. 1, no. 1, pp. 79-91, Jan. 1992.

[91] Pozar D. M., Considerations for Millimeter Wave Printed Antennas, IEEE Trans. Ant. and Prop., vol. 31, no. 5, Sep. 1983.

[92] N. G. Alexopoulos & D. R. Jackson, Fundamental Superstrate (Cover) Ef- fects on Printed Circuit Antennas, IEEE Trans. Antennas and Propagation, Aug. 1984.

Acknowledgements

Like any other postgraduate research student, the thrill of submitting this thesis seems to drown any recollection of the labour, anguish and sacrifice endured during this course of study. Undoubtedly, without the support of others and Divine Assistance this work would certainly not have been as successful and I can not fully express my gratitude as much as I ought to, rather only as much as I am able.

This work inspires in me profound gratitude to Dr Rod Waterhouse to whom I am greatly indebted for permitting me to employ ACP in this work. This study certainly would not have been such a success without this important software tool. His technical advice, insight and guidance have also been of immense value to me.

I would like to extend my sincere gratitude to Dr James Scott, my senior supervisor, who supported me greatly in this project. His expertise in amplifier design and CAD software has assisted me invaluably. His many years of experience with amplifier design has provided me with valuable knowledge. I would like to thank him also for his mentorship and direction, which will always be treasured.

Dr Margaret Lech, my additional supervisor, who assisted me considerably and I would like to express my gratitude to her. Her expertise in antenna optimisation and encouragement has been of great value and will never be forgotten.

Special thanks to Dr Kamran Ghorbani who has shared with me valuable technical advice on both antenna design and on employing Ensemble and IE3D CAD packages. His assistance in antenna design and thesis feedback has been greatly appreciated.

My parents and brother have been very supportive, patient and understanding of me during my studies.

All my relatives and friends who have been very understanding and supportive during my course of study. I appreciate their kind words and prayers.

My managers at the ANZ Bank who have been very kind in granting me study leave to complete this work, namely Warwick Marcakis, Roger De Groot and Phil Woods. Their consideration, patience and good wishes have been greatly appreciated.

I would like to thank the support staff at RMIT University for their assistance in manufacturing the prototype, particulary David Welch, Gil Quirillo and Chris Arthur.

Furthermore, I have been fortunate to have been awarded two scholarships from the School of Electrical and Computer Systems Engineering and I wish to thank all those who have nominated me for this provision.

Appendix A

ACMPA Senior Element Modules

A.1

ACMPA C Module

/******************************************************************************/ /*** ACMPA.c ***/ /******************************************************************************/ #include <math.h> #include <stdio.h> #include "userdefs.h"

/* module identifier string */

static char current_module_identifier[] = "@(#) libra600/source ACMPA.c 1.1";

/* static declarations */

static boolean u2pa_y(UserInstDef *userInst, double omega, COMPLEX *yPar);

static boolean a_a_compute_y(UserInstDef *userInst, double omega, COMPLEX *yPar);

static UserParamType

ACMPA[] = {

{"Plen", REAL_data}, {"Pwid", REAL_data}, {"Slen", REAL_data}, {"Swid", REAL_data}, {"Stubwid", REAL_data}, {"StubLen", REAL_data}, {"Ofset", REAL_data}, {"Da", REAL_data},

{"Era", REAL_data}, {"Ltana", REAL_data}, {"Df", REAL_data}, {"Erf", REAL_data}, {"Ltanf", REAL_data}, {"Modes", REAL_data},

};

/******************************************************************************/

/* Define and initialize the user element array */

/******************************************************************************/

static UserElemDef user_elements[] = {

/*

* name numPars params compute_y post_analysis

* numExtNodes pre_analysis compute_n

*

* seniorInfo

* devDef tranDef

*/

{"ACMPA", 1, siz(ACMPA), ACMPA, NULL, a_a_compute_y, NULL, NULL, NULL, NULL, NULL}

}; /* end of the user element structure */

static char ErrMsg[201];

#define STDTEMP 27.0 /* libra default temperature */ #define PI 3.141592654

#define sqr(x) ((x)*(x)) #define EPS 1.0e-8

#define ZO 50 /* reference impedance for S-pars */

/*---*/

static boolean a_a_compute_y( UserInstDef *userInst, double omega,

COMPLEX *yPar)

{

int a=1, b, c, patch_no=1, no_of_layer=1; float r, i, z_freq;

char cmd[30], ch;

double fghz, freq, Plen, Pwid, Slen, Swid, StubWid, StubLen, Ofset, Da; double Era, Ltana, Df, Erf, Ltanf;

double com_y_i, com_y_r, denom; double lenUnit;

int Modes;

FILE *fptr, *read_z; /*file pointers */

/* get user instance */

UserParamData *pData = userInst->pData;

/* Get unit instance */

lenUnit = get_runit(userInst->eeElemInst);

/* convert radians to freq */ fghz = omega / PI / 2.0E9;

/* get user instances */

Plen = userInst->pData[0].value.dVal * lenUnit; Pwid = userInst->pData[1].value.dVal * lenUnit; Slen = userInst->pData[2].value.dVal * lenUnit;

Swid = userInst->pData[3].value.dVal * lenUnit; StubWid = userInst->pData[4].value.dVal * lenUnit; StubLen = userInst->pData[5].value.dVal * lenUnit; Ofset = userInst->pData[6].value.dVal * lenUnit; Da = userInst->pData[7].value.dVal * lenUnit; Era = userInst->pData[8].value.dVal; Ltana = userInst->pData[9].value.dVal; Df = userInst->pData[10].value.dVal * lenUnit; Erf = userInst->pData[11].value.dVal; Ltanf = userInst->pData[12].value.dVal; Modes = userInst->pData[13].value.dVal;

fptr = fopen("fref72.atb","w"); /* create input file for ACP */

/* the antenna side */

fprintf(fptr, "%d %d \r\n", no_of_layer, 0); /* number of layers */

fprintf(fptr, "%f %f %f \r\n", Era, Da, Ltana); /*perm., thinkness, loss tangent*/ fprintf(fptr, "%d \r\n", patch_no); /* patch number */

fprintf(fptr, "%f %f %d %d %d \r\n", Plen, Pwid, 1, 0, 0);

/*Patch length, width & layer */ /*the feed side */

fprintf(fptr, "%d %d \r\n", 1, 0); /* number of layers */

fprintf(fptr, "%f %f %f \r\n", Erf, Df, Ltanf); /*perm., thinkness, loss tangent*/ fprintf(fptr, "0 \r\n");

fprintf(fptr, "%f %f \r\n", Slen, Swid); /* Aperture length and width */ fprintf(fptr, "%f %f %f 1 1.5 \r\n", StubWid, StubLen, Ofset);

/* Stub width, length and offset */ fprintf(fptr, "%d \r\n", Modes); /* x current mode in TM_xy */ fprintf(fptr, "%d \r\n", Modes); /* y current mode in TM_xy */ fprintf(fptr, "%f %f %d \r\n", fghz, fghz, 1); /*start, stop freq & steps */

fclose(fptr); /* close file */

/* now run ACP */

sprintf(cmd, "acp.e"); system(cmd);

send_error_to_scn("\n runnning ACP ...\n"); /* display message on screen */

/* extracting z parameters */

read_z = fopen("zin.dat", "r"); /* read the contents of zin.dat */

do { fscanf(read_z, "%f", &r); fscanf(read_z, "%f", &i); fscanf(read_z, "%f", &z_freq); }

while( (ch=getc(read_z) ) != EOF );

fclose(read_z); /* close file */

/* convert the z parameters to y parameters ( y = 1/z)*/

denom = ((r*r)+(i*i)); /* get denominator, */

com_y_r = r/denom; /* convert complx z to complex y parameters */ com_y_i = -i*(1/denom);

yPar[0].real=com_y_r; /* real component of Y-param */ yPar[0].imag=com_y_i; /* imaginary component of Y-param */

}

/******************************************************************************/

/* This is the only symbol visible outside this module:

a single call to it will boot the module and pull in all element code here */

boolean boot_ACMPA (void) {

return load_elements(user_elements, siz(user_elements)); }

/******************************************************************************/

Related documents