IMPROVEMENTS IN AND RELATING TO GRATINGS

Abstract: The invention relates to the field of grating structures. The invention provides a longitudinal grating having an aperiodic structure, wherein the grating has a selected response characteristic and any repeated unit cell in the structure is significantly longer than a characteristic length associated with the selected response characteristic.

Description: Improvements in and relating to gratings This Application relates to the field of grating structures. There has been much interest m both regular and chirped grating structures to define and/or modify the response characteristics of optical and other devices which utilise the properties of wave-like phenomena such as electromagnetic (EM) waves. Examples of devices utilising such structures include Fibre Bragg Gratings (FBGs) and apodised FBGs, m whicn a slowly-varying chirp is superposed on the grating. Periodic grating structures have been the focus of much attention m a very wide range of applications; for example, in photonic crystals, wherein the band structure may be defined by analogy with the well-known (Bloch) periodic lattice analysis of solid-state physics. Existing devices are based upon grating structures which are regular m some sense or other. Although various groups have already claimed the use of "aperiodic" gratings or structures m their work, those structures are slowly varying aperiodic structures. A hologram would be an example of a fast-varying structure but is transverse. In this application, "slowly varying" when used m relation to grating structures means that the variation m the structure of the grating has a period significantly longer than the wavelength being filtered. That distinction is explained further below. In accordance with the invention there is provided a logitudmal grating as defined m claim 1 and a method of making the same as defined m claim 99. If all possible aperiodic gratings were to be considered then the vast majority of possible gratings will not have a useful response characteristic and, for gratings w th more than a few elements, the skilled person has no way to find a aperiodic grating having a response characteristic that he or she has selected as being useful. Indeed, we believe that it is unlikely that he would expect aperiodic gratings in general to have any useful response characteristic at all. Although aperiodic structures do not, in general, exhibit a useful band structure, by means of a simple approximate analysis we have found aperiodic structures that exhibit a controllable and useful band structure. At the heart of this analysis is the understanding that it is not the regular periodicity of the real space lattice, but rather the existence of well-defined spatial frequencies (e.g. as revealed by the Fourier Transform (FT) of such an aperiodic structure) , which distinguishes a useful aperiodic structure from the vast majority of non-useful (random) aperiodic structures. Thus, we have realised that the Fourier Transform of an aperiodic grating structure is closely related to its spectral response. It should be noted that the relevant transform may not be the exact Fourier Transform K-J ■ , lc g (k_) = F .T .[/( )] = -dx but may be a scaled version thereof. The transform will belong to the same class of transforms as a Fourier Transform, but may include scaling factors such as a constant multiplier before the integral or in the exponential component . References to Fourier Transforms to embrace such scaled Transforms and also Fast Fourier Transform equivalents. We believe that the invention will have widespread applications. In general, material response characteristics result from properties of the atoms making up the material. The characteristics may result directly from the properties of the electrons surrounding the atoms or from the atoms' nuclei or from the arrangement of the atoms relative to each other. It can be seen that the invention makes possible the selection of properties of a material by the introduction of a suitable variation in the atoms making up the material. For example, in an embodiment discussed below, the variation is in refractive index, which can be related to the response of an atom's electrons to an incident EM field. We have chosen to call an aperiodic structure according to the invention (when applied to photonic structures) an Aperiodic Photonic Band-Gap (APBG) structure. The term A- Periodic Bragg Grating could also be applied to the structures and has the same acronym. Our APBG structures can be classed as fast -varying structures, which differentiates them from slowly-varying aperiodic structures such as a simple chirped-grating. They are also longitudinal aperiodic structures, which differentiates them from holograms employed in transverse situations . In the following mathematical discussions, we make a distinction between the underlying grating structure and an overall slowly-varying windowing function, which might be applied so as to apodise the overall response. A windowing function applied to a uniform, periodic grating will tend to yield an overall structure that is aperiodic within the strictest meaning of the term. However, it is the aperiodicity of the underlying grating structure, as discussed below which is of concern here. An APBG grating (defined below as H) is a structure which cannot be expressed as a simple transformation of a regular grating. In particular the present invention does not include any of the following gating structures: (1) Chirped gratings Often, a chirped grating is described as an aperiodic grating, which is technically correct in the strictest meaning of the term. A regular grating can be mathematically described in the following manner: G - T G {x) where G = Regular Gra ing; T a = Grating Transformation/Matrix function; x = spatial dimension. The Grating Transformation/Matrix function may be any function which produces a regular grating in the spatial domain. A binary regular grating has a unit cell may be of equal mark-space ratio; graphically: 1 So, a binary grating has regions of constant refractive index having one of two possible values. A sine wave is another example of a regular grating. However, a chirped grating can be described by a linearly-chirped or stretched regular grating thus: C- - T G \x_) where C = resulting chirped grating. The spatial dimension x has undergone a simple, continuous transformation (i.e. it has been squared) . This APGB i.e H ≠ C But an APBG cannot be so simply expressed as the regular grating transformation function T G operating on some 'simple', continuous function of the spatial dimension f (x) , H ≠ T G {f(x)) [n . b . for the binary case, such a function f (x) can be found - in general being a polynomial of an order comparable with the number of elements in the APBG H. However, that is not a simple function, in comparison with the chirped case, in which it is merely a 2 nd order polynomial . Slowly-varying gratings are often characterised by a low-order polynomial, e.g. a chirped grating.] . (2) Superposition of a small number of regular gratings Likewise, an APBG grating is a structure which cannot be expressed as a limited summation of regular gratings of various spatial frequencies: H ≠ G,. where a i = amplitude G t = regular grating of i h spatial frequency For example the superposition of two gratings of similar but not identical frequencies will produce a "beat" variation at the difference frequency. A similar effect will occur with the superposition of, for example, three or four frequencies. Further an APBG does not include grating derived by taking the superposition of a number of regular gratings and quantising the resultant grating function to a small number of levels, for example, generating a binary grating by thresholding the said resultant grating function. The binary grating will typically have regions with few changes of level corresponding to nodes of the envelope of the resultant of the superposition interspersed with regions of regular changes of the level the period of which increases towards the antmodes of the envelope function. (3) Concatenated regular gratings Likewise, an APBG grating is a structure which cannot be simply expressed as a set of concatenated regular gratings of varying spatial frequency: ≠ \G \ > G 2 , G 3 , - , ( , , ■ ■ , G N ] where G 1 = i th regular grating. Each G j is, of course, not infinite in extent but is windowed having a beginning and an end. (4) Apodised slowly varying gratings An apodised grating A (x) can be characterised by multiplication of the basic structure with a slowly-varying windowing- function W (x) , such as a raised-cosine, or a Gaussian function. The resulting apodised grating will often be technically aperiodic, and is mathematically described as: A(x) = W(x) - G for an apodised regular grating, A(x) = W(x) ■ C for an apodised chirped grating A(x) = W(χ) - T c (f(x)) for an apodised slowly-varying grating structure An APBG or longitudinal hologram H requires a special Hologram Transformation/Matrix function T H to produce the aperiodic structure in the spatial domain x, such that in general we have: = T H (x) The resulting hologram may be in general characterised as fast -varying. We thus distinguish between an overall aperiodic (slowly-varying) structure resulting from the apodisation of a periodic structure, and an intrinsically aperiodic (fast- varying) structure such as an APBG. Naturally, it may be desirable to apodise APBG structures using a standard windowing function, to yield an apodised structure mathematically described as: A(x) = W(x) - H for an APBG structure. The Fourier-Transform (FT) of an APBG structure will reveal its spectral distribution; i.e., the spatial period components which make it up. We have discovered that the transmission function of an APBG, be it used, for example, for grating-assisted coupling, as a photonic bandgap crystal, filter, or within Mach-Zehnder configuration, is closely related to its spectral distribution; that is, the Fourier Transform of its spatial structure. Hence, an APBG is best designed by tailoring its spectral distribution (or the FT of its spatial distribution) to yield the desired spectral response. Superficially, that appears easy, as the required spatial distribution is thus merely the inverse FT (which is of course, equivalent to the FT) of the desired spectral response. However, the FT of a spectral distribution function will tend to yield a complex spatial distribution (i.e. containing both real and imaginary components) . That is equivalent to a permittivity distribution containing both absorptive components (i.e. imaginary refractive index) and dielectric components (i.e. real refractive index), which is difficult to realise in practice. The present invention arises from the realisation that generally only the modulus of the spectral distribution is of interest (e.g. for power equalisation, filtering, the existence of certain spatial periods etc.) and that its phase characteristic is of negligible importance (N.B. that is not the case for APBGs designed for dispersion compensation, where the dispersion characteristic is given by the second differential of the phase characteristic: see below) . If the phase characteristic/response is allowed to be a degree of freedom, then a spatial distribution can be designed, which preferably consists only of a real or an imaginary component . The FT of that spatial distribution will yield a spectral distribution with the desired amplitude distribution, but an arbitrary phase distribution. One aspect of the invention lies in providing a suitable spatial distribution, which is preferably purely real or purely imaginary, and yields the desired spectral response. The two constraints in the calculation are on each side of the FT. The first constraint is the actual amplitude characteristic of the spectral distribution, while the second constraint is that the required spatial characteristic is preferably either purely real or purely imaginary. That allows simple fabrication because the real and imaginary material characteristics are usually controlled in different ways. Together, those two constraints make calculation of the required spatial characteristic a non-deterministic problem. It can be solved using optimisation algorithms such as simulated annealing (which is what we have used) , error- diffusion, genetic algorithms etc. In addition, we have discovered that often we can put a further constraint on the calculation, without unduly affecting the efficacy or functionality of the resulting APBG solution. That further constraint is to make the required spatial characteristic binary in nature. A binary spatial characteristic has the immediate advantage of being much simpler to fabricate, compared with a continuous spatial characteristic, while still yielding all the desired functionalities inherent to an APBG. Naturally, other multi-level (Λ-ary) , or discretised spatial characteristic solutions can also be employed to make an APBG. For functionalities such as dispersion compensation, where the phase characteristic of the spectral distribution is important, we need to introduce an additional constraint into the calculation. Instead of just desiring a certain magnitude of the spectral distribution response, we are now interested in both the real and imaginary amplitude characteristics respectively, both of which we try to tailor. However, the phase characteristic is not completely specified but is merely constrained to have a particular second derivative. The tangent of the phase characteristic is merely the ratio of the imaginary amplitude characteristic to the real amplitude characteristic. To achieve a reasonably effective solution, we may have to relax the constraint of a binary spatial characteristic, and allow it to become multilevel ( -ary) , or continuous. It is important to note, however, that ultimately, we are still tailoring the amplitude of the spectral response, rather than the phase directly. Preferred features of the invention are set out in the dependent claims. One way to test whether a particular grating could have been made by a method according to the invention would be to compare the response characteristic of the grating in question with the idealised function to which it corresponds (which might be, for example, a low-pass filter) . If the response characteristic is sufficiently close to the idealised function for the grating to have been accepted had it been generated during the optimisation process, then it is reasonable to assume that the grating could have been designed using that process. Embodiments of the invention will now be described, by way of example, with reference to the accompanying drawings of which: Fig. 1 shows ((a) to (f ) ) structures of gratings having various single bandgap frequencies; Fig. 2 shows (i) experimental and (ii) theoretical (from Fourier Transform theory) single bandgap spectra for APBGs of Figs, la to If; Fig. 3 shows examples of two APBGs ((g), (h) ) designed to exhibit multiple bandgap functionality, at 2.8 GHz and 3.6 GHz. Fig. 4 shows experimental and theoretical results for (i) APBG (g) and (ii) APBG (h) , exhibiting multiple bandgaps . Fig. 5 is a flowchart illustrating the use of an optimisation algorithm (simulated annealing) to carry out the invention. Fig. 6 shows various desirable simple filter characteristics : (a) high pass (b) pass band (c) notch (d) low pass Fig. 7 shows further desirable filters: (a) apodised passband (b) pass-band with flattened passbands Fig. 8 shows still further filter characteristics: (a) uniform comb (b) add/drop multiplexing (c) equalisation Fig. 9 shows an example filter characteristic for multi -wavelength dispersion compensation; Fig. 10 shows an aperiodic dielectric stack, having: (a) two refractive indices (binary) ; and (b) multiple refractive indices Fig. 11 shows an aperiodic fibre Bragg grating, being: (a) a binary grating; and (b) a multiple refractive index grating Fig. 12 shows aperiodic DFB/DBR ribbed waveguiding/stripline structures : (a) binary structure (b) multiple heights structure Fig. 13 shows aperiodic DFB/DBR waveguiding/stripline structures: (a) binary structure (b) multiple refractive index structure Fig. 14 shows programmable APBG structures: (a) multiple voltages (b) single voltage Fig. 15 shows a magnetic APBG filter, with aperiodically orientated (ferromagnetic) dipoles ; Fig. 16 shows aperiodically-poled non-linear material, (for example, aperiodically-poled lithium niobate) : (a) unidirectional (b) bidirectional Fig. 17 shows an APBG within a non-linear loop mirror/TOAD configuration, for multi- wavelength, high-speed optical time-domain signal processing, in five configurations, labelled (a) - (e) . Fig. 18 shows an APBG within Mach-Zehnder configurations : (a) unidirectional (b) bidirectional (c) different APBG in each arm of MZ (d) programmable APBG within MZ (e) non-linear material APBG within MZ, with generated frequencies Fig. 19 shows aperiodic-grating assisted couplers: (a) uni-directional, passive coupling (b) bidirectional, passive coupling (c) programmable coupling (d) non-linear material APBG within coupler, with generated frequencies Fig. 20 shows a (asymmetric) Fabry-Perot style cavity fibre laser; Fig. 21 shows a generic fibre ring laser; Fig. 22 shows a distributed feedback semiconductor laser diode, employing one or more APBG structures in place of regular Bragg grating reflectors; Fig. 23 shows a VCSEL employing one or more APBG dielectric stacks; and Fig. 24 shows a generic APBG lattice or superlattice having different atomic/molecular layers or multi -layers We have performed an experiment at microwave frequencies, rather than optical frequencies, since that is simpler. A microwave source was used, tuneable from 2Ghz to 4GHz; hence with wavelengths varying from 150mm to 75mm respectively in free space. The length of the binary APBG was close to 325mm, and perspex (refractive index n 2 =1.37) was used to cause the perturbation in refractive index, and hence backward coupling. Basic units consisting of an 18.8mm length of air (refractive index, n 2 =l) and an associated 13.7mm (~18.8mm/n 2 ) length of Perspex were used to construct the APBGs . Each basic unit was thus of the same optical path length. Taken together, the smallest spatial period in a grating could thus be a base cell of length 32.5mm, consisting of a unit length of air and a unit length of Perspex. That base cell could then be repeated 10 times within the 325mm length of the transmission line, as shown in figure la. A spatial period Λ will reflect wavelengths given by Λ=(2m-l)— , where is the grating order, given by -m = 1 in this case. However, the grating was made of materials with very different refractive indices and so that formula could not be used directly. Rather, it was necessary to consider the spatial period Λ' , given in terms of optical path length; i.e., as if both materials had the same refractive index (but still had the same reflection at their interface) . In that case, (assuming n 2 -=n 2 =l) , Λ' = 2 x 18.8 mm = 37.6 mm. The wavelength of maximum reflection (and hence minimum transmission) was thus be λ =2Λ' = 75.2 mm, corresponding to a bandgap frequency of f = c/λ = 4.0GHz. The next available regular grating, using the same sized base cells would have a spatial period of Λ' = 75.2 mm (as shown in figure If) , and would tend to have an associated bandgap frequency of 2.0GHz, . Generally it would not be possible to tune to intermediate frequencies between 2.0 Ghz to 4.0GHz using the same dimensioned base cells. However, an aperiodic grating does allow this to happen, and the gratings for these intermediate frequencies are shown in figures 1 (b) - Ke) . It will be noted that (a) is periodic; (b) contains regular region corresponding to granting (a) i.e. it has a repeated unit one mark and one space; (c) is periodic and again has the regular one mark and one space unit repeated; (d) is an aperiodic APGB; (e) is an APGB comprising a concatenation of two identical APGB gratings which are each longer than the wavelengths filtered, (f) is a regular grating of twice the period of (a) . It will be noted that gratings (b) , (c) , and (e) display some periodicity of a longer period than the period of the regular gratings (a) and (e) . Grating (b) comprises two concatenated gratings of form (a) ; grating (c) has a period of 5 elements; and grating (e) has a period of 10 elements. Gratings (b) and (c) are thus not fast-varying aperiodic gratings according to our definition. Note, however, that the grating of (e) is, in fact, two concatenated aperiodic gratings . The reason that a high proportion of the gratings generated in the calculation of Fig. 1 have some degree of periodicity is that the grating consists of only 20 elements, making it likely that those elements will display some periodicity. Larger sets of grating elements will have useful combinations which do not this tendency. Figure 2 (i) depicts the measured transmission spectra of the APBG structures depicted in figures la- If. Curves (a) and (f) show the transmission spectra for the regular gratings of effective spatial period 37.6mm and 75.2mm respectively. The bandgap of curve (a) in figure 2 (i) is very well defined, with a centre frequency of about 4.0GHz, with the bandgap centre frequency of curve (f) predictably being at 2.0GHz, but less well defined as might be expected for a grating with only half the number of periods. Curves (b) - (e) show the bandgap being shifted in incremental steps of about 0.4GHz, between 4.0GHz and 2.0Ghz, by using more highly structured Bragg gratings. Curve (b) has a bandgap centre frequency of 3.8GHz, while (c) is at 3.4GHz, (d) is at about 2.9GHz, and curve (e) is at about 2.6GHz, agreeing well with the theoretical bandgap frequencies as depicted in figure 2 (ii) . The strength of the bandgap for more highly structured Bragg gratings is not as large as for a regular Bragg grating, so that the transmission at the bandgap centre frequency tends to be higher. A longer APBG with more segments would ensure a stronger bandgap. There is also a tendency for the bandgap to weaken at lower frequencies, which also agrees with the theoretical prediction. A Bragg grating can also be designed to exhibit multiple bandgaps . Examples of two such APBGs are shown in figure 3, and both have been designed to exhibit bandgaps at 2.8GHz and 3.6GHz. Each APBG has been designed to provide the same functionality, as afforded individually by the APBGs shown in figures 1 (b) and 1 (d) . The resulting transmission spectra for the two APBGs are depicted in figure 4, and show that the corresponding bandgap centre frequencies lie at about 2.8GHz and 3.7GHz, which while not exactly matching the designed bandgap frequencies of 2.8 GHz and 3.6 GHz, still shows close correspondence. Because the APBG is having to do more 'work', in the sense that it is trying to produce 2 bandgaps, rather than just one, the resulting bandgaps tend to be weaker than those shown in figures 2b and 2d. There also appears to be additional 'parasitic' bandgaps at 2.4GHz for APBG(g) and 3.4GHz for APBG(h) . Those are probably due to additional parasitic resonance between spatial components of the APBGs at those frequencies and the experimental waveguide apparatus. Of interest to note is that the two APBGs have been designed to ostensibly exhibit the same functionality (or transmission spectra) , but the design process has yielded two completely different candidate APBGs. Both APBGs have the same primary spectral response (i.e. bandgaps at about the designed frequencies of 2.8 and 3.6GHz), but each has slightly different parasitic properties. This illustrates the fact that the solution-space of APBGs is very large and contains many candidate functions, each with a similar Fourier Transform characteristic. Use of an optimisation algorithm suitable for carrying out the invention is depicted schematically Fig. 5. In this example, the optimisation algorithm is simulated annealing, which is a well-known optimisation algorithm. Annealing is a process which a material is strengthened by the smoothing out of dislocations m its structure. The material is heated up and then slowly cooled down. The heating causes atoms forming dislocations in the material to be excited out of local potential energy minima; cooling down slowly causes them to be redistributed smoothly, with minimal dislocations. If the cooling is too fast, dislocations will be "frozen" into the material. Simulated annealing mimics the annealing process. A cost -function takes the place of potential energy. The aim of the process is to locate a global minimum cost space, by randomly "hopping" solutions around (a "hot" system) and then gradually "cooling" the system by reducing the size of the random hops. If the cooling rate is chosen correctly, the solution will hopping into the global minimum whilst the system is hot and be kept there as the system cools. The optimisation procedure depicted in Fig. 5 comprises the following steps: (a) the target filtering function T(λ) is selected; (b) a random grating structure H(x) is generated; (c) a value is assigned to the initial "temperature" T of the simulated annealing, the rate of cooling alpha and the number of iterations N is set; (d) the Fourier Transform (FT) of the grating structure is calculated, giving h(λ) = FT [H (x) ] ; (e) the FT of the grating structure is compared with the target function, by calculation of the cost function (i.e., C=Σ(T-h) 2 ) ; (f) an element in the grating is randomly changed to make a new grating, E 1 (x) ; (g) the FT of the new grating is calculated, giving h x (λ) = FT [H-. (x) ] ; (h) a cost function is calculated for the new grating (i.e., C 1 =Σ(T-h 1 ) 2 ) ; (i) the cost function for the new grating is compared with the cost function for the previous grating: (1) if C 1 < C, then the new grating is accepted and H(x) is redefined (i.e., E {x) =U 1 { i) and C^) ; (2) if C- L >= C, then a random number R between 0 and 1 is calculated; if exp [ (C-C^T] >R then the new grating is accepted and H (x) is redefined (i.e., H(x)=H 1 (x) and 0=^); otherwise the new grating H x is abandoned and the changed element is returned to its previous state - another random change is made to the grating and steps (f) to (i) are repeated; (j) once a new grating has been accepted, if the number of iterations which have taken place has not yet reached N, another random change is made to the grating and steps (f) to (i) are repeated; (k) if the FT of the grating h(λ) is sufficiently close to the target function T(λ), the grating is accepted as having been optimised; otherwise, the simulated annealing is "cooled down" slightly, by reducing the temperature T by the factor alpha, and the iteration count is set back to zero. The rate of cooling alpha is usually ket constant througout the annealing. If after further loops there is no change in h(λ) i.e. the temperature is now too cold for further change) the process is stopped (not illustrated) . In the case of calculating a grating structure for filtering light the target function is the reflectivity spectrum and the Fourier transform of grating structure performed in the simulated annealing is in detail as follows: Where p {β) is the reflectivity spectrum, n is the average refractive index, ε r ( z) is the relative permittivity n lπ distribution, β = is the propagation constant, and z is the spatial coordinate. The spatial derivative of the relative permittivity is integrated because it is changes that which scatters light; the tanh function scales the result of the integration appropriately. In the following pages we shall describe the large variety of applications where APBG structures can be employed. For clarity we have divided the applications into four mam areas: filters and related devices for free-space and guided electromagnetic waves including integrated optics; non-linear applications including optical signal processing; laser (maser) configurations; and more general "band engineering" of solid state devices. It should be emphasised that APBG structures can be both 2D and 3D in nature, although many of the applications highlighted tend to only require ID APBG structures. A ID APBG structure is one which light emanating from a point sees the structure m one direction (along a line) . A 2D APBG structure is one which light emanating from a point sees the structure m all directions m a plane. A 3D APBG structure is one m which light emanating from a point sees the structure m all directions in a plane. A 3D APBG structure is one in which light emanating from a point sees the structure in all directions in space. "Seeing" the structure means that the light is affected by the structure in its direction of propagation. In wave guides, for example, the light has significant component of the wavevector across the guide as well as along and so in that sense is propagating across as well as along the guide. Filters Examples of desired filtering characteristics The use of APBGs allows tailored filter responses to be achieved in a far more flexible manner than allowed by existing periodic or "slowly-varying" filter structures. Examples of desired characteristics are: high-pass, bandpass, notch and low-pass filters (Figs. 6 (a) - (d) ) with particular phase characteristics (e.g. linear-phase, nonlinear phase, phase compensation) ; apodised passbands and passband- flattened passbands (Fig. 7 (a) - (b) ) ; comb-like filters, segmented passbands and non-uniform response segmented passbands ((e.g. for power equalisation) (Fig. 8 (a) - (c) ) ; and single frequency and multiple frequency dispersion compensation (Fig 9) . With an appropriately sized (e.g. no. of elements) APBG, the filter can also be designed to exhibit appropriate combinations of such characteristics. Higher dimensioned (i.e. 2D and 3D) APBG structures, such as aperiodic photonic crystals, can be designed to exhibit similar useful filtering properties. Dielectric stacks In general, quarter-wavelength dielectric stacks use integer multiples of λ/4 thickness elements, where λ is the wavelength of interest to be filtered. However, we have discovered that we are not restricted to using integer multiples of λ/4 thickness , but we can design an APBG to have continuously-varying thicknesses of elements to achieve the desired filtering function. An APBG can be designed for a specific wavelength, where the unit thicknesses are not equivalent to λ/4 thicknesses , but are some other arbitrary thickness instead; see. gratings (b) - (e) of the embodiment/experiment description given above. Naturally, APBG dielectric stacks can also be designed for multiple wavelength filtering, see gratings (g) and (h) . Figure 10 shows two embodiments of APBG "dielectric stack" filters. The first (Fig. 10(a)) is a binary aperiodic dielectric stack where only two different refractive indices are stacked m an aperiodic fashion. Figure 10(b) shows a more general APBG dielectric filter consisting of layers of various (more than two) refractive indices where the thickness and refractive index of each layer is designed to yield the overall required filter characteristic. Aperiodic Fibre Bragg Gratings APBGs have many applications m guided-wave devices. Optical fibre Bragg-grat gε FBGs have recently received considerable attention. The use of APBG structures, (which are by their nature "fast -varying" as opposed to the already demonstrated slowly-varying non-uniform Bragg gratings, such as chirped FBGs and apodised FBGs) permits tailoring of the filter response as described above, e.g. for multi -wavelength applications. An APBG structure can be written using UV light into the core and/or the cladding of the fibre, and can consist of either ust a binary structure of two different refractive indices or an APBG of multiple refractive indices, as shown m Figs. 11 (a) - (b) . Waveguiding Structures Waveguides can also have APBG structures incorporated in their design. The APBG structure is caused by some aperiodic disturbance in the permittivity or refractive index. This can be achieved by ribbed waveguide structures, where the effective refractive index is controlled by the height of the material (which may be a dielectric or a metal) above the waveguide. This can be either binary or multi -level in nature, as shown in Figs. 12 (a) - (b) . Alternatively, different dopants or doping levels can be incorporated into waveguide or strip line to achieve the APBG structure in the refractive index, as shown in Figs. 13 (a) - (b) . The APBG structure can also be made dynamic/reconfigurable by causing the refractive index to change due to an applied voltage, via, for example, a thermo- optic or electro-optic effect. An inter-digitated set of electrodes, each controlled by an individual voltage can be placed upon the waveguide to create an APBG structure in the refractive index of the waveguide. The electrodes could be of different widths. The APBG structure could be binary if only 2 different voltages are applied across the ensemble of electrodes, or multi-level if variable voltages are applied to the electrodes, as depicted Fig. 14(a). A shaped, comblike electrode with variable thickness arms can be employed to create a fixed APBG structure, which can be turned on or off, or yield variable bandgap strengths, according to the single voltage applied to it Such an arrangement is illustrated m Fig. 14(b) Magnetic APBG Filter The use of APBG filters to yield a desired response for an electπcal-fleld is equally applicable for a magnetic- field. The same principle of operation applies. Figure 15 depicts a binary APBG structure consisting of an array of dipoles, whose north and south poles are aligned to yield an aperiodic structure. An electromagnetic wave incident on the structure will be filtered according to the APBG designed transfer response. Non-Linear Optical Applications Aperiodically-Poled Non-Linear Materials (APNLMs) Periodically-poled Lithium Niobate (PPLN) is now a well established method for enhancing the non-linear effect inherent to Lithium Niobate, via the technique of phase- matching. The grating induced by the periodic poling in the non-linear material acts as a photonic bandgap (PBG) for a small range of wavelengths centred on a 'signal' wavelength λ s . A pump wavelength λ p , also travels through the PPLN, but is not resonant with the PBG, so that it is not affected by it. The PBG effectively slows the signal wavelength λ s , so that it travels through the material at the same speed as the pump wavelength λ p , so keeping them in phase with each other. Thus they are (quasi- ) phase-matched. Alternatively, λ p could be slowed. Since they do not drift apart from each other, there is a strong interaction between the pump and signal throughout the length of the PPLN, which enhances the nonlinear interaction between them. The non-linear effects (such as χ 2 , χ 3 non-linearities) will typically generate signals at additional wavelengths ∑λ g , in processes such as 3- and 4- wave-mixing, or (e.g. 2 nd and 3 rd ) harmonic generation. These non-linearities can be used to make optical parametric amplifiers (OPAs) and optical parametric oscillators (OPOs) . There are other non-linearities such as the Kerr effect whose effect can also be enhanced using periodic-poling. Aperiodic photonic bandgap structures can also be employed within non-linear materials to quasi -phase-match multiple wavelengths with each other, with multiple generated wavelengths, and with multiple pump wavelengths. Each of the wavelengths within an arbitrarily chosen set of wavelengths can be quasi -phase-matched with each other. Arbitrary, multiple sets of wavelengths can be adopted, and the APBG designed so that each set is essentially independent (i.e. non-phase-matched) with respect to the others. Since the APBG can be designed to have bandgaps and bandpasses at arbitrary multiple wavelengths, it can be used to inhibit/suppress selected wavelengths, such as the pump wavelength (s) , signal wavelength (s) and generated wavelengths. For example, An APBG structure might be used to enhance the 4 -wave-mixing non-linear effect between a pump signal and various signal wavelengths, and to suppress the unwanted generated harmonics . Figure 16(a), shows an aperiodically-poled non-linear material, such as aperiodically-poled Lithium Niobate (APLN) , with a set of pump wavelengths ∑λ p , a set of input signal wavelengths ∑λ i r and the various sets of wavelengths arising due to the APBG structure and the material non-linearities. There will be a set of output wavelengths ∑λ 0 , e.g. modified or unmodified versions of the input/pump wavelengths; a set of generated (harmonic) wavelengths ∑λ g , due to the material non-linearities; and a set of reflected wavelengths ∑λ r , corresponding to input/pump/generated wavelengths which cannot propagate through the APBG and so are reflected back. The relative strengths of all the wavelengths can also be controlled by suitable design of the APBG. Figure 16(b), shows how an aperiodially-poled non-linear material may be used in a 'bi-directional' manner, as opposed to the 'unidirectional' manner of Figure 16(a). Applications include (multi- ) wavelength conversion, optical (multi- ) wavelength regeneration, optical (multi- ) wavelength signal re-timing. Multi-wavelength. Optical Time Domain Signal Processing Single wavelength, high-speed, optical time domain processing is now well established using the TOAD, a non- linear optical loop mirror (NOLM) containing a spatially asymmetric semiconductor optical amplifier (SOA) . An input signal pulse is split into two equal components within the NOLM, and travel counterwise to each other. In the absence of any perturbing influence, by the principle of reciprocity, they will remain in phase with each other and interfere positively at the coupler, to emerge from the input arm of the NOLM as if it had been reflected. However, when a pump (switching) signal pulse is injected into the NOLM from the side, it causes the non-linear Kerr effect to induce a relative phase change in one of the components of the signal, but not the other component. This is due to the spatial asymmetry of the SOA. If the phase change is carefully controlled, the two signal components will interfere destructively at the coupler, and emerge from the alternative arm of the NOLM as a transmitted signal. Introducing an APBG structure within the NOLM allows multi -wavelength optical time domain signal processing. Figure 17(a) shows a TOAD structure with a spatially- asymmetric (determined by the displacement from symmetry, d aperiodically-poled SOA acting as an APBG with amplification properties. At its simplest, the configuration will only allow certain switching wavelengths to pass through the SOA, to cause switching of the input signal pulse. Other wavelengths will be simply reflected. This introduces an element of wavelength selectivity within the TOAD, so that only certain wavelengths can be used to switch the signal. Alternatively, the APBG structure can be used to reflect the input signal pulse components, so that they are reflected back to the coupler, rather than travelling all the way around the NOLM. At best, the APBG structure is placed spatially-symmetrically within the TOAD, as shown in figure 17(b), where the displacement d 2 =0. In such a fashion, only signals of certain wavelengths can be switched. Naturally, both relative displacements d 2 and d 3 of the APBG and SOA respectively are degrees of freedom which can be adjusted to enhance functionality. A combination of aperiodically-poled SOA and APBG (i.e. a combination of figures 17(a) and 17 (b) ) can be employed to allow wavelength selectivity in both the switching and input signal pulses. Figure 17 (c) shows a TOAD configuration employing an aperiodically-poled non-linear material (APNLM) m place of the SOA. Figure 17(d) shows a TOAD configuration employing an APNLM in place of the SOA, conjunction with a passive APBG structure, while figure 17(e) shows 2 passive APBG structures within the NOLM. As is obvious from the discussion on APNLMs , these systems have many degrees of freedom, m terms of input, switch g/pump, generated, output wavelengths, and the relative strengths of each of these. All of the configurations 17 (a-e) can be used m combination with each other to achieve complex multi -wavelength optical time domain signal processing. All APBG structures depicted schematically m figures 17 (a-e) can either be separate components, or written directly into the optical fibre Mach-Zehnder Conf gurations The Mach-Zehnder (MZ) interferometer is another important technology for optical switching, and APBGs also find application m it. Figure 18(a) shows a simple MZ schematic, with an APBG structure placed within one of its arms. The APBG structure can be designed to change the relative phase of wavelengths by slowing the wavelengths down, and/or to reflect the wavelengths. Without any phase changes or reflections, a wavelength would be split equally into the 2 arms of the MZ, and then constructively recombme at the far end to emerge from the 'bar' port. However, by introducing a suitable phase change (typically π/2) the wavelength will emerge from the other 'cross' port, and can be considered to have been switched. The APBG can be designed to cause various arbitrary wavelengths to experience the required π/2 phase change, and so be switched, while other wavelengths will remain un-switched. Likewise, the APBG can also be designed to reflect certain wavelengths and impart a relative phase change onto them, so that they emerge either from the original input port, or the alternative input port to the MZ . Other intermdiate phase-changes , and degrees of reflectivities will cause the wavelengths to appear at the 4 ports of the device with varying degrees of strength. Figure 18(b) shows that such a configuration can also be used bi- directionally. Figure 18 (c) shows a MZ configuration with an APBG in each arm. Each APBG can be identical, or different to achieve a differential-type filtering operation. Figure 18(d) depicts a MZ with a programmable APBG in one of its arms. Each element of the programmable APBG can either be individually controlled, such as in figure 14 (a) , or controlled by a single voltage source as in figure 14(b) . Figure 18(e) shows a MZ configuration with an APNLM in the arms. Alternatively, there could be just one APNLM in each of the arms, with the second arm plain or containing a passive APBG. The APBG/APNLM structures within the MZ configuration can either be discrete components, or written into the integrated-optic waveguides. Grating Assisted Couplers Phase-matching is used in grating assisted couplers to cause cross-coupling, and thus switching to occur. Conventionally, a uniform (periodic) grating is written between two closely separated waveguides, each with its own modes of propagation. The grating causes coupling to occur between the modes of the first waveguide with the modes of the second waveguide, and coupled mode theory (CMT) can be used to analyse how a mode (associated with a wavelength) in one waveguide can excite a mode (associated with the same wavelength) in the second waveguide. If the parameters of the system are correctly designed (e.g. the correct grating period of the uniform grating) , the power associated with the mode (i.e. wavelength) in the first waveguide can be completely resonantly coupled into the second waveguide. Hence switching has occurred. Other wavelengths will not be resonant with the grating, and so will remain unswitched. Generally, a uniform grating will tend to resonantly-couple only one wavelength (as well as weakly coupling higher harmonics of the wavelength) . Aperiodic grating structures (i.e. APBG structures) can be employed instead of a uniform grating, to resonantly- couple multiple, arbitrary wavelengths. The APBG can be considered to consist of multiple spatial periods, each or which resonates with a wavelength to cause cross coupling. Such a configuration is shown in figure 19 (a) . The input wavelengths ∑λ 1 enter the aperiodic-grating assisted coupler, and certain wavelengths, corresponding to ∑λ s are resonantly cross-coupled into the other waveguide, and are switched. The remaining wavelengths ∑λ t remain within the 1 st waveguide are simply transmitted. In addition, the APBG can also act as a photonic bandgap structure to reflect certain wavelengths ∑λ r back to the input plane, i.e. they could be reflected back to the 1 st waveguide, or into the second waveguide. Figure 19 (b) shows the aperiodic-grating assisted coupler used in a bidirectional manner. Figure 19(c) illustrates that the APBG structure could be made programmable. Figure 19(d) indicates that an aperiodically- poled non-linear material (APNLM) could also be used to perform grating-assisted coupling, while generating additional wavelengths in the process, which can be designed to emerge at any one of the 4 possible ports. Lasers APBGs have many applications in the field of lasers. One or more APBGs can be used to define wavelength selective mirrors, which in turn can be used to define single or composite wavelength-selective resonators. When used in conjunction with an active medium, greater control of single or multiple laser wavelengths should be achievable than with conventional mirrors. It should be possible to create such mirrors both in bulk material and in waveguiding structures, such as those used, for example, in semiconductor lasers and fibre lasers. The APBG can also be designed to function as a suitable filter in optically pumped lasers, e.g. to couple the pump wavelength (s) in and out of the cavity/active medium. Where APBGs are used in a multi-wavelength laser, each wavelength can have the same effective cavity length (or round trip time) . The group-velocity/ phase characteristics of each wavelength can be tailored via the APBG to facilitate a/synchronous multi -wavelength modelocking, and to exclude other wavelengths from modelocking, so that they lase in a CW mode . For example two APBGs can be used to create a Fabry- Perot style cavity for a fibre laser (Fig. 20) , with the added functionality that the filter response can be arbitrarily designed (to be high transmission, for example) at single or multiple pump wavelengths and (to have a high-Q, for example) at single or multiple laser wavelengths. One topical application of such a device would be in (cascaded) Raman laser/ amplifiers, where typically it is required to shift the pump laser (s) through a number of Stokes shifts by creating coupled Raman lasers at each Stokes shift. Current proposals include one having many fibre Bragg gratings, each with a characteristic reflectivity at one Stokes wavelength to create a composite cavity. With appropriately designed APBG structures the same functionality could be achieved with only two APBGs. APBGs can also be advantageously used within other laser configurations, such as rings (single or multiple, Sagnac loops, figure of 8 loops, etc.) Figure 21 depicts such a generic fibre ring laser cavity. Semiconductor lasers widely employ grating-based wavelength selective feedback, for example in DBR, DFB and VCSEL designs . APBGs can usefuly be employed to provide such feedback, with the added functionality as defined above. Examples of DFB and VCSEL structures incorporating ABPGs are shown in figures 22 & 23 respectively. Further functionality can be achieved, e.g. multi -wavelength conversion, multi - wavelength 3R regeneration, by concatenating suitable APBG/APNLM structures with either conventional semiconductor lasers, or APBG-modified semiconductor lasers. Electronic Band-Gap Engineering One of the most striking realisations about the application of APBG structures is that they are useful in modifying electronic band-gap of "new" materials, designed to have an aperiodic lattice or superlattice. We anticipate that a host of new materials and new devices should result from the application of these structures. There is already much work on periodic superlattices, for example. The use of APBG superlattices enhances the possibilities for such designs. A generic APBG lattice (or super-lattice) is depicted in figure 24. Plane-wave (Fourier) expansions of wavefunctions are often used in current theoretical models of solid-state structures. With iterative optimisation algorithms (as outlined above) to design aperiodic structures, material parameters, e.g. location of band minima, effective mass etc. can be tailored to yield new aperiodic materials with desirable band-structure characteristics. Other parameters such as conductivity, thermal conductivity and dielectric permittivity or magnetic permeability could also be designed into the material . This design technique should also find applications the fabrication of new superconducting materials m which, for example, some of the properties of boson-like Cooper-pairs can be treated m an analogous manner to photons m a photonic crystal .

Claims: Claims 1. A longitudinal grating having an aperiodic structure, wherein the grating has a selected response characteristic and any repeated unit cell in the structure is significantly longer than a characteristic length associated with the selected response characteristic. 2. A grating as claimed in claim 1, in which the structure comprises discrete grating elements of at least two different kinds . 3. A grating as claimed in claim 2, which comprises 5 or more grating elements. 4. A grating as claimed in claim 3, which comprises 20 or more grating elements. 5. A grating as claimed in any preceding claim, comprising material which has no, or a negligible, real component or no, or a negligible, imaginary component. 6. A grating as claimed in any preceding claim, in which the selected response characteristic is a spectral amplitude response and the characteristic length is a spectral amplitude cut-off wavelength. 7. A grating as claimed in claim 6, in which the spectral amplitude response includes at least one band gap. 8. A grating as claimed in claim 7, in which the spectral amplitude response includes at least two band gaps. 9. A grating as claimed in claim 7 or 8 , in which the band gap is a photonic band gap. 10. A grating as claimed in claim 6, having a low-pass filter spectral amplitude response. 11. A grating as claimed in claim 6, having a band-pass filter spectral amplitude response. 12. A grating as claimed in claim 6, having a notch filter spectral amplitude response. 13. A grating as claimed in claim 6, having a high-pass filter spectral amplitude response. 14. A grating as claimed in claim 6, in which the spectral amplitude response comprises an apodised band-pass filter. 15. A grating as claimed in claim 6, in which the spectral amplitude response comprises a passband-flattened band-pass filter. 16. A grating as claimed in claim 6, in which the spectral amplitude response comprises a comb-like filter. 17. A grating as claimed in claim 6, in which the spectral amplitude response comprises a regimented band-pass filter. 18. A grating as claimed in claim 6, in which the spectral amplitude response comprises a non-uniform response segmented band-pass filter. 19. A grating as claimed in any preceding claim, having a spectral phase response which is linear. 20. A grating as claimed in any preceding claim, having a spectral phase response which is nonlinear. 21. A grating as claimed in any preceding claim which is suitable for phase compensation. 22. A grating as claimed in any preceding claim, which is suitable for single- frequency dispersion compensation. 23. A grating as claimed in any preceding claim, which is suitable for a multiple-frequency dispersion compensation. 24. A grating as claimed in claim 6, in which the spectral amplitude response comprises a combination of the response characteristics claimed in any of claims 6 to 23. 25. A grating as claimed in any of claims 1 to 24, in which the aperiodic grating structure is 2 -dimensional . 26. A grating as claimed in any of claims 1 to 25 in which the aperiodic grating structure is 3 -dimensional . 27. A filter comprising a grating as claimed in any of claims claim 1 to 26. 28. A dielectric stack, comprising a grating as claimed in any of claims 1 to 26. 29. A dielectric stack as claimed in claim 28, for use at a specified wavelength, comprising layers at least one of which is of an optical thickness which is not an integer multiple of one quarter of the specified wavelength. 30. A dielectric stack as claimed in claims 28 or 29, comprising two kinds of layers differing in refractive index. 31. A dielectric stack as claimed in claim 28 or 29, which comprises layers, at least three of which have refractive indices which are different from each other. 32. An optical fibre Bragg-grating, comprising a grating as claimed in any of claims 1 to 26. 33. An optical fibre Bragg-grating as claimed in claim 32, which comprises a structure of two different refractive indices . 34. An optical fibre Bragg-grating as claimed in claim 32, in which the fibre Bragg-grating comprises a structure including at least three points having different refractive indices from each other. 35. A waveguide structure comprising a grating as claimed in any of claims 1 to 26. 36. A waveguide structure as claimed in claim 35, comprising a ribbed waveguide structure. 37. A waveguide structure as claimed in claim 36, in which the ribbed waveguide structure comprises two kinds of regions differing in effective refractive indices. 38. A waveguide structure as claimed in claim 36, in which the ribbed waveguide structure comprises at least three kinds of regions each having a different effective refractive indices . 39. A waveguide structure as claimed in claim 35, which is a doped waveguide structure. 40. A waveguide structure as claimed in any of claims 35 to 39, which is a dynamic and/or reconfigurable structure, wherein the grating is arranged so that the magnitude of the relevant parameter may be altered at at least one point in the grating. 41. A waveguide structure as claimed in claim 40 in which the reconfiguration is achieved using a thermo-optic effect. 42. A waveguide structure as claimed in claim 40 in which the reconfiguration is achieved using an electro-optic effect . 43. A waveguide structure as claimed in claim 41 or 42, in which the effect is effected by inter-digitated electrodes. 44. A waveguide structure as claimed in claim 41 or 42, in which the effect is effected by a comb-like electrode. 45. A waveguide according to any of claims 35 to 44, in which the grating is along the length of the waveguide. 46. A waveguide according to any of claims 35 to 45, in which the grating is within the waveguiding region. 47. A waveguide structure according to any of claims 35 to 46, in which the waveguide is any of the following: an optical fibre, a microwave strip line, a silica on silicon planar lightwave circuit (PLC) , a silicon on silica PLC, a semiconductor amplifier, a semiconductor laser. 48. A grating as claimed in any of claims 1 to 26, in which structure is in the material permittivity. 49. A grating as claimed in claim 48, in which structure is in the refractive index. 50. A grating as claimed in any of claims 1 to 26, in which structure is in the material permeability. 51. A grating as claimed in any of claims 1 to 26, in which structure is in the a magnetic property. 52. A grating as claimed in claim 51 in which the magnetic property is the orientation and/or strength of a magnetic dipole . 53. An aperiodically-poled non-linear material, comprising a grating as claimed in any of claims 1 to 26, which is employed to quasi-phase-match light at two or more wavelengths . 54. An aperiodically-poled non-linear material, comprising a grating as claimed in any of claims 1 to 26, which is employed to suppress light at one or more wavelength. 55. A non-linear optical loop mirror including a non-linear material as claimed in claim 53 or 54. 56. A non-linear optical loop mirror as claimed in claim 55, further comprising an aperiodically poled semiconductor optical amplifier. 57. A non-linear optical loop mirror including a grating according to any of claims 1 to 26. 58. A non-linear optical loop mirror according to claim 57, in which the grating comprises an aperiodically-poled semiconductor optical amplifier. 59. A Mach-Zehnder interferometer including a grating according to any of claims 1 to 26. 60. A Mach-Zehnder interferometer as claimed in claim 59, including such a grating in each of its arms. 61. A Mach-Zehnder interferometer as claimed in claim 59, including an aperiodically-poled non-linear material as claimed in claim 53 or 54. 62. A Mach-Zehnder interferometer as claimed in claim 59, including a waveguide structure as claimed in any of claims 35 to 47. 63. A Mach-Zehnder interferometer as claimed in any of claims 59 to 62, in which the grating is written onto an integrated-optic waveguide. 64. A grating-assisted coupler including a grating according to any of claims 1 to 26. 65. A grating-assisted coupler as claimed in claim 64or claim 65, which is bidirectional. 66. A grating-assisted coupler as claimed in claim 65, which is programmable. 67. A grating-assisted coupler as claimed in any of claims 64 to 66, including an aperiodically-poled non-linear material as claimed in claims 53 or 54. 68. A laser, including a grating according to any of claims 1 to 26. 69. A laser according to claim 68, in which the grating is in the laser cavity. 70. A laser according to claim 68 in which the grating is comprised in a wavelength-selective mirror. 71. A laser according to claim 70, in which the mirror allows the laser to lase at multiple wavelengths. 72. A laser according to any of claims 68 to 71, which is pulsed. 73. A laser according to any of claims 68 to 72, which can be modelocked. 74. A laser according to any of claims 68 to 73, which is a ring laser. 75. A laser according to any of claims 68 to 74, which is a semiconductor laser. 76. A laser according to claim 75 having a DBR structure. 77. A laser according to claim 75, having a DFB structure. 78. A laser according to claim 75, having VCSEL structrue. 79. A Fabry-Perot cavity, comprising at least one end mirror comprising a grating according to any of claims 1 to 26. 80. A Raman amplifier, comprising a Fabry-Perot cavity according to claim 79. 81. A Raman laser, comprising a Fabry-Perot cavity according to claim 79. 82. A material including a grating as claimed m any of claims 1 to 26, m which the grating modifies an electronic bandgap structure. 83 A material including a grating as claimed m any of claims 1 to 26, m which electronic potential has a variation controlling the selected response characteristic 84 A material as claimed m claim 83, m which the electrical potential comprises classical scatterers. 85. A material as claimed m claim 83, m which the electrical potential comprises quantum scatterers. 86. A material as claimed m claim 84 or claim 85, in which the scatterers are positioned at the vertices of a lattice or superlattice . 87. A material as claimed in claim 86, m which the superlattice is an electronic superlattice structure. 88. A material as claimed in claim 86, m which the superlattice is a superconducting superlattice. 89. A material as claimed in any of claims 82 to 88, m which the selected response characteristic is a band minimum 90. A material as claimed in any of claims 82 to 88, in which the selected response characteristic is an effective mass . 91. A material as claimed in any of claims 82 to 88, in which the selected response characteristic is a thermal conductivity. 92. A material as claimed m any of claims 82 to 88, which the selected response characteristic is a dielectric permittivity. 93. A material as claimed m any of claims 82 to 88, m which the selected response characteristic is a conductivity. 94. A material as claimed m any of claims 82 to 88, in which the selected response characteristic is a magnetic permeability. 95. A material as claimed m any of claims 82 to 94 , which is a superconducting material . 96. A grating as claimed m any of claims 1 to 26, which is m or on a nonlinear medium and which enhances a nonlinear effect . 97. A grating as claimed m any of claims 1 to 26, which is m or on a nonlinear medium and m which the selected response characteristic is phase matching between at least two wavelengths and the characteristic length is an optical path length as measured m air, of 2π/δβ where δβ is the difference between the propagation constant of two of the phase matched wavelengths. 98. Use of a grating according to claim 96 or claim 97, any of the following applications: wavelength conversion, signal re-timing, signal regeneration, parametric amplification, applications involving second- and third-order nonlinear effects (for example, second- and third-harmonic generation or the Kerr effect), or parametric oscillators. 99. A method of making a longitudinal grating comprising: selecting a response characteristic and using an optimisation algorithm to determine a grating arrangement which closely has the selected response characteristic, wherein the grating is aperiodic and wherein any repeated unit cell in the structure of the grating is significantly longer than a characteristic length associated with the selected response characteristic . 100. A method according to claim 99, in which the grating arrangement is varied during optimisation. 101. A method as claimed in claim 99 or 100, in which the elements of the grating are directly and individually varied. 102. A method according to any one of claim9 99 to 101, in which the response characteristic of the grating is taken during optimisation to be approximately, or is derived from, the Fourier Transform of the grating arrangement during optimisation. 103. A method according to claim 102 wherein a cost function is calculated from the selected response characteristic and the Fourier Transform or a function derived thereform. 104. A method according to any of claims 99 to 103, in which the Fourier Transform of the grating arrangement is evaluated during optimisation to see if, or how, it differs from the selected response characteristic. 105. A method as claimed in any of claims 99 to 104, in which the optimisation algorithm is simulated annealing. 106. A method as claimed in any of claims 99 to 105, in which the optimisation algorithm is error-diffusion. 107. A longitudinal grating made using a method according to any of claims 99 to 106. 108. A longitudinal grating which could be made using a method according to any of claims 99 to 106. 109. A longitudinal grating which is aperiodic, comprising a set of concatenated, repeated base cells, at least some of which differ slightly from each other. 110. A longitudinal grating, which has a shortest period which is larger than the period of a regular binary grating which has marks and spaces of the same length as the longest constant region in the longitudinal grating. 111. A longitudinal grating as claimed in claim 110, which is aperiodic . 112. A longitudinal grating, comprising a plurality of concatenated gratings as claimed in any of claims 1 to 26, 48 to 52, 96 or 97 or 107 or 111. 113. A grating as claimed in claim 112, in which at least some of the aperiodic structures are identical to each other. 114. A grating as claimed in claim 113, in which all of the aperiodic structures are identical to each other. 115. A grating as claimed in claim 1 in which the structure is programmable to switch between a plurality of selected response characteristics.

Inventors: MEARS ROBERT JOSEPH, PARKER MICHAEL CHARLES, MEARS, ROBERT, JOSEPH, PARKER, MICHAEL, CHARLES
Applicants: FUJITSU TELECOMMUNICATIONS EUR, MEARS ROBERT JOSEPH, PARKER MICHAEL CHARLES, FUJITSU TELECOMMUNICATIONS EUROPE LTD., MEARS, ROBERT, JOSEPH, PARKER, MICHAEL, CHARLES
Application year: 2000
Main classification: G02B5
IPC codes: G02B5, G02B6, G02F1, H01S5