Products | Custom Solutions | JEKsuite JEKray Optics designer Coating designer JEKcad Calculators | Bio | Contact Cart 0
JEK Systems

Introduction

JEKray is a bench simulator used in a web browser, with nothing to install. You lay out sources, optics, fibres, electronics and photonic chips on a bench, and it works out what the light does: rays, beams, diffraction, interference, cavities, and the signals your detectors would read. Two designers open beside it, each in a tab of its own: the Optics designer for lens systems and the Coating designer for thin films. RF and millimetre waves are JEKrf’s, an app built on the same code.

Open JEKray in another tab and try each effect on a bench as you read. The Examples gallery has a working bench for most of them.

How these pages are arranged

The contents follow the order you would meet things in:

  1. Start here. Getting started is a first bench and a tour of the window. Concepts sets out the units, coordinates and ideas every other page relies on.
  2. The bench. One page for each of the five kinds of model, with the physics and the approximations behind it, and under each a page for every part: its model, its equations and its settings.
  3. Designers. The three workspaces that design a system as a whole rather than part by part.
  4. Extending and scripting. Adding parts of your own, writing modules, and driving the engine from a script or the command line.
  5. Help. The FAQ.

What it models

Five kinds of model share one bench, joined where light and signals pass from one to another:

The RF parts are JEKrf’s, which runs on JEKray’s own code, so they are no separate simulator. A horn’s beam is a Gaussian beam traced by the same tracer as a laser’s, through lenses of RF dielectrics instead of glass; the only differences are the units, GHz and dBm, and the parts, which are the ones a quasi-optical bench has.

The designers

Each opens from a part on the bench, works on the same data, and writes its result back to the bench, so what is designed is what is traced.

How the models fit together

  1. The tracer follows rays through the free-space and RF optics with exact geometry, real materials, polarisation and optical path. Along the way it builds the beam tree: every branch a Gaussian beam takes at splitters, surfaces and round trips in cavities.
  2. The field engine propagates each source’s diffracted field along that tree, adds the branches of one source as fields, and solves cavities in their steady state. A horn’s aperture field is propagated the same way.
  3. The fibre network takes in the light reaching fibre tips by mode overlap, follows every path through couplers, circulators and amplifiers, and sends light back out of tips into free space.
  4. The chip solver treats each photonic chip as one part of the fibre network, with a scattering matrix found by solving its circuit at each wavelength.
  5. The electronics read photodiodes and the IF and video outputs of receiving horns, and drive lasers, modulators and upconverting horns. Light and beams are worked out quasi-statically against the slow electrical signals.

What it leaves out

Every free-space and RF part has six degrees of freedom: x and y on the bench, its height above it, facing, tip and roll, and the light is followed in three dimensions through all of them, skew rays included (see Heights). Housings, mounts and baffles can be brought in from CAD as STL objects, which stop the light that meets them. What is not modelled:

  • Fibre, electronic and chip parts lie in the plane. They are followed as networks and signals, not as shapes, and the 3D view leaves them out.
  • A designer’s fields lie in the bench plane. The Optics and RF designers trace sagittal and skew rays and tolerance tilts both ways, but a field cannot be set out of the plane.
  • Scatter. Surfaces reflect and refract by Fresnel’s equations and thin-film coatings, weak reflections and ghosts can be followed, and stops and STL objects block, but there is no scattering from rough surfaces, dust or bulk material, and an edge diffracts only through the diffracted field.
  • Mechanics. Mounts and flanges are drawn and exported for CAD, but they do not flex, and nothing moves under a force. The exceptions are optical traps, where the forces on atoms and particles, and the gas damping of a levitated particle, are worked out.
  • Heat. Thermal lensing and heating by the beam are not modelled. The Optics and RF designers analyse a design at other temperatures, in a housing of a chosen metal.
  • Dynamics. Electronics are in their steady state, and feedback loops are not closed: a lock’s error signal is shown, but the loop is not solved. Fibre nonlinearity is self-phase modulation of pulses only.
  • Photonic chips are compact models, TE, one mode, near 1550 nm, without thermal or carrier effects.
  • RF beams are paraxial Gaussian beams and their modes, as quasi-optics takes them; mixers and upconverters are ideal apart from their loss and noise; and there are no near-field antennas, wires or circuits on the bench.

Each modelling page ends with the limits of its own models, and each part page lists the assumptions its model makes.

Conventions

Lengths are in millimetres unless a unit is given, angles in degrees, wavelengths in nanometres; RF parts take frequency in GHz and power in dBm. The bench’s x is to the right and y is up. s polarisation is out of the bench plane and p is in it. Fields go as \(e^{-ikz}\) (Siegman’s convention), so a Gaussian beam is \(\exp(-ikr^2/2q)\) with \(q = z + i z_R\). Concepts sets these out in full.

Checking the models

The validation page compares JEKray with analytic results and published data, case by case, live, each time it is opened. Part pages link to the cases that test them, and the design pages list what each feature was checked against.

JEKray documentation, for file format version 1. Something wrong or unclear? Tell us at [email protected].