This invention relates generally to techniques for generating very high-order Hermite functions and, more particularly, to the generation of high-order Hermite-Gaussian functions for use in simulating operation of various devices in which electromagnetic waves are propagated in a cavity or in free space. Hermite functions, usually indicated by Hn(x), have been used extensively in the construction of antenna patterns, in the representation of laser beams and in the simulation of electromagnetic wave behavior in stable laser cavities. Mathematical representation of electromagnetic (EM) waves is difficult because EM waves typically behave in a complex manner involving many modes of propagation. It is well known that Hermite functions can be used in the simulation of EM wave behavior in various environments, and that the accuracy of the mathematical representation is dependent on the extent to which higher-order Hermite functions can be generated. In particular, the accuracy of the mathematical representation is increased by the use of higher-order Hermite functions.
The Hermite function is a polynomial that can be generated for order n+1 from the same functions generated for order n and order n−1, using a classic recursion formula:
Hn+1(x)=2xHn(x)−2nHn−1(x).
All higher-order polynomials can, therefore, be generated from the zero-order Hermite function, H0(x)=1. For almost any value of x, the resulting values of the Hermite functions increase very rapidly with n, and increase especially rapidly when x is large. To reduce the functions to a manageable magnitude, the Hermite functions are usually normalized according to the Hermite-Gaussian function, which is defined as:
Gn(x)=e−x
where Gn(x) is the order-n Hermite-Gaussian function of x and {tilde over (H)}n(x) is the normalized order-n Hermite function of x.
The Hermite-Gaussian function, Gn(x), has a finite and oscillating dependence on x up to x˜(n+1)1/2.
One possible solution to this hardware limitation is to employ the multiprecision computation system proposed by David H. Bailey of NASA (National Aeronautics and Space Administration). For details, see a paper by David H. Bailey entitled “Fortran-90 Based Multiprecision System,” RNR Technical Report RNR-94-013, Jun. 6, 1994. Basically, the Bailey system allows the number of precision digits to be increased into the millions. The disadvantages of this software solution are that it requires the use of Fortran-90 and an external library, and, when implemented, it runs much slower than the conventional Hermite function generator.
Alternatively an improvement can be realized with the use of the recursion formula for normalized Hermite functions. This recursion formula defines the normalized Hermite function of order n+1 as:
{tilde over (H)}n+1(x)=[√{square root over (2)}x{tilde over (H)}n(x)−√{square root over (n)}{tilde over (H)}n−1(x)]/√{square root over (n+)}1.
This formula is able to push the recursive generation of Hermite functions to a higher order than if the classic recursion formula is used, but not much higher, and certainly not high enough to meet the needs of many applications involving simulation and analysis of electromagnetic wave phenomena.
It will be appreciated from the foregoing that there is still a need for a new approach for generation of Hermite functions of very high order, such as n greater than 10.000. Improvements in the generation of Hermite functions prior to this invention have not been able to reach anywhere near this goal because higher order Hermite functions become so large as to exceed the computational limits of conventional computers. Therefore, there is a need for a modified Hermite function generator that results in functions that are “well behaved” even at orders n much greater than 10,000. The present invention satisfies this need.
The present invention resides in a technique for generating Hermite functions of a new form, such that the functions generated at very high orders are within manageable magnitudes that can be represented in conventional computers. One form of the invention is a method for simulating operation of a device employing an electromagnetic wave phenomenon. Briefly, and in general terms, the method comprises the steps of inputting physical parameters of the device; generating a series of order-zero through order-n Hermite functions that have manageable values at very high values of n; simulating operation of the device to a high degree of accuracy by making use of the generated high-order Hermite functions; and outputting performance characteristics of the device. The generating step comprises applying a recursion formula to generate successively higher order Hermite functions. The recursion formula generates manageable values up to an order n of at least several thousand.
In accordance with other embodiments of the invention, variations of the recursion formula provide for generation of smooth Hermite functions and optimized smooth Hermite functions, allowing generation of such functions up an order of 30,000 and beyond.
In terms of apparatus, the invention may be also be defined as a programmable computer for simulating operation of a device employing an electromagnetic wave phenomenon, the programmable computer comprising means for inputting physical parameters of the device; means for generating a series of order zero through order n Hermite functions that have manageable values at very high values of n; means for simulating operation of the device to a high degree of accuracy by making use of the generated high-order Hermite functions; and means for outputting performance characteristics of the device. The means for generating comprises means for applying a recursion formula to generate successively higher order Hermite functions, and the recursion formula generates manageable values up to an order n of at least several thousand, or, if the smooth recursion formula is used, up to at least 30,000.
Generation of Hermite functions at these very high orders has long been needed in various fields relating to simulation and analysis of electromagnetic wave propagation, either within devices or structures, or in free space. Therefore, it will be appreciated that the present invention represents a significant advance in the study and design of devices utilizing electromagnetic waves. In particular, the generation of Hermite functions of very high order leads to improved accuracy in modeling the behavior of electromagnetic wave propagation in its various modes. Other aspects and advantages of the invention will become apparent from the following more detailed description of the invention, taken in conjunction with the accompanying drawings.
As shown in the drawings for purposes of illustration, the present invention pertains to an improved technique for generating Hermite or Hermite-Gaussian functions for use in a simulation or modeling computer. As shown in
In accordance with the present invention, and as illustrated generally in
A first level of performance improvement can be obtained by using an asymptotic Hermite function. First, it is noted that the highest order term in each Hermite function behaves as Hn(x)˜(2x)″. An asymptotic form of the function can be defined as:
Ĥn(x)={tilde over (H)}n(x)√{square root over (n!)}/√{square root over (2nx2n)}=Hn(x)/[(2x)nπ1/4],
where Ĥn(x) is the order-n asymptotic Hermite function of x and {tilde over (H)}n(x) is the order-n normalized Hermite function of x.
The asymptotic Hermite functions then follow a simpler recursion formula:
Ĥn+1(x)=Ĥn(x)−(n/2x2)Ĥn−1(x).
This results in a better-behaved function for higher orders n.
In accordance with an important aspect of the invention, a “smooth” Hermite function can be generated to an order n in the tens of thousands. It is noted from the recursion formula for the asymptotic Hermite function that for large values of x, the asymptotic Hermite function behaves like exp[−n(n−1)/4x2], The “smooth” Hermite function is defined as:
The recursion formula for the smooth Hermite becomes:
Using this formula, one can easily extend the validity of recursive generation. To optimize the process, an adjustable parameter, a, is introduced into the exponential expression, and the following relationships apply:
Using a value of a=2.8 gives the best result, in that the function values for very high orders are well within the level of machine accuracy (and do not exceed 10∀150).
After the generation of a smooth Hermite function, the extra factor can be easily added back to obtain the normal values of Hermite-Gaussian functions in a relatively simple manner, as will now be explained in more detail.
The Hermite-Gaussian function is related to the smooth Hermite function as:
where the explicit factor function Fn(x) is expected to be well behaved for all values of n and x, at least within a range of interest. To evaluate this factor function, one can consider the approximation n!≈√{square root over (2πn)}nne−n and transform Fn(x) as follows:
The function ƒn(x) is small enough for x˜n1/2 that the exponential can be evaluated within the machine limit of 10∀308. The n-dependent constant Cn can be obtained from the following recurrence formula:
As n proceeds to a very high value, Cn varies from a value of 1 (at n=0) to a value of ˜0.05 (for n=15,000 to more than 30,000).
It will be appreciated from the foregoing that the present invention represents a significant advance in the field of computer simulation or modeling of electromagnetic waves and related devices in which or from which such waves are propagated. In particular, the invention provides a technique for generating Hermite-Gaussian functions to a very high order while maintaining the value of such functions well below the practical machine limit for holding large numerical quantities. These very high-order Hermite-Gaussian functions allow more accurate simulation or modeling of electromagnetic wave phenomena, in such contexts as antennas, laser cavities and free-space communication. It will also be appreciated that, although specific embodiments of the invention have been described in detail by way of example, various modifications may be made without departing from the spirit and scope of the invention. Accordingly, the invention should not be limited except as by the appended claims.
This invention was made with Government support under contract F29601-97-C-0001 awarded by the United States Air Force. The government has certain rights in this invention.
Number | Name | Date | Kind |
---|---|---|---|
5486833 | Barrett | Jan 1996 | A |
20040178942 | McLemore | Sep 2004 | A1 |
Number | Date | Country | |
---|---|---|---|
20060200324 A1 | Sep 2006 | US |