Saturday, May 31, 2008

LENS CALCULATOR




Rough simple guide using 1/3" CCD camera (as usually supplied) -
To obtain F (The focal lens size) - Multiply D (distance) x 4.8, then divide by the I (the width of the area to be covered)
ie., D 10m from lens
W 10m width to be covered
10 x 4.8 = 48/10 = [ F 4.8mm lens ]

f= 4.8 D/l


f - focal
h -object vertical dimension
l-object horizontal dimension
D-object distance from lens


Example :


To cover front of house 15m wide, and camera is mounted 20m back

D = 20

I = 15

20 x 4.8 / 15 = 6.4mm lens approx

To read a car number plate from 20m
(for good evidence the No. plate should fill approx 1/3 of monitor, but about approx 20% should be workable)
D = 20m (using 1/3 calc)
I = say 0.5m for width of plate, and fill 1/3 of screen, say 1.5m across
20 x 4.8 / 1.5 = 64mm lens approx

D = 20m (using 20% calc)
I = say 0.5m for width of plate, and fill 20% (0.2) of screen, say 2.5m across
20 x 4.8 / 2.5 = 38.4mm lens approx

Saturday, March 29, 2008

CCTV



INTRO


CCTV cameras can produce images or recordings for surveillance purposes, and can be either video cameras, or digital stills cameras


Video Camaras


Analogue Video Cameras
Can record straight to a video tape recorder which are able to record analogue signals as pictures. If the analogue signals are recorded to tape, then the tape must run at a very slow speed in order to operate continuously. This is because in order to allow a 3 hour tape to run for 24 hours, it must be set to run on a time lapse basis which is usually about 4 frames a second. In one second, the camera scene can change dramatically. A person for example can have walked a distance of 1 meter, and therefore if the distance is divided into 4 parts i.e. 4 frames or 'snapshots' in time, then each frame invariably looks like a blur, unless the subject keeps reletively still.
Analogue signals can also be converted into a digital signal to enable the recordings to be stored on a PC as digital recordings. In that case the analogue video camera must be plugged directly into a video capture card in the computer, and the card then converts the analogue signal to digital. These cards are relatively cheap, but inevitably the resulting digital signals are compressed 5:1 (MPEG compression) in order for the video recordings to be saved on a continuous basis.
Another way to store recordings on a non-analogue media is through the use of a digital video recorder (DVR). Such a device is similar in functionality to a PC with a capture card and appropriate video recording software. Unlike PCs, most DVRs designed for CCTV purposes are embedded devices that require less maintenance and simpler setup than a PC-based solution, for a medium to large number of analogue cameras.
Some DVRs also allow digital broadcasting of the video signal, thus acting like a network camera. If a device does allow broadcasting of the video, but does not record it, then it's called a video server. These devices effectively turn any analogue camera (or any analogue video signal) into a network camera.


Digital Video Cameras

A traffic surveillance camera in Stockholm, Sweden.
These cameras do not require a video capture card because they work using a digital signal which can be saved directly to a computer. The signal is compressed 5:1, but DVD quality can be achieved with more compression (MPEG-2 is standard for DVD-video, and has a higher compression ratio than 5:1, with a slightly lower video quality than 5:1 at best, and is adjustable for the amount of space to be taken up versus the quality of picture needed or desired). The highest picture quality of DVD is only slightly lower than the quality of basic 5:1-compression DV.
Saving uncompressed digital recordings takes up an enormous amount of hard drive space, and a few hours of uncompressed video could quickly fill up a hard drive. Holiday uncompressed recordings may look fine but one could not run uncompressed quality recordings on a continuous basis. Motion detection is therefore sometimes used as a work around solution to record in uncompressed quality.
However, in any situation where standard-definition video cameras are used, the quality is going to be poor because the maximum pixel resolution of the image chips in most of these devices is a mere 320,000 pixels (analogue quality is measured in TV lines but the results are the same); they generally capture horizontal and vertical fields of lines and blend them together to make a single frame; the maximum frame rate is normally 30 frames per second.


Network cameras are analogue or digital video cameras, plus an embedded video server having an IP address, capable of streaming the video (and sometimes, even audio).
Due to the fact that network cameras are embedded devices, and do not need to output an analogue signal, resolutions higher than CCTV analogue cameras are possible. A typical analogue CCTV camera has a PAL (768x576 pixels) or NTSC (720x480 pixels), whereas network cameras may have VGA (640x480 pixels), SVGA (800x600 pixels) or quad-VGA (1280x960 pixels, also referred to as 'megapixel') resolutions.
An analogue or digital camera connected to a video server acts as a network camera, but the image size is restricted to that of the video standard of the camera.
However, optics (lenses and image sensors), not video resolution, are the components that determine the image quality.
Network cameras can be used for very cheap surveillance solutions (requiring one network camera, some Ethernet cabling, and one PC), or to replace entire CCTV installations (cameras become network cameras, tape recorders become DVRs, and CCTV monitors become computers with TFT screens and specialised software. Digital video manufacturers claim that turning CCTV installations into digital video installations is inherently better.


Applications

Applications

Optical fiber communication
Main article:
Fiber-optic communication
Optical fiber can be used as a medium for telecommunication and networking because it is flexible and can be bundled as cables. It is especially advantageous for long-distance communications, because light propagates through the fiber with little attenuation compared to electrical cables. This allows long distances to be spanned with few repeaters. Additionally, the light signals propagating in the fiber can be modulated at rates as high as 40 Gb/s [3], and each fiber can carry many independent channels, each by a different wavelength of light (wavelength-division multiplexing). Over short distances, such as networking within a building, fiber saves space in cable ducts because a single fiber can carry much more data than a single electrical cable. Fiber is also immune to electrical interference, which prevents cross-talk between signals in different cables and pickup of environmental noise. Also, wiretapping is more difficult compared to electrical connections, and there are concentric dual core fibers that are said to be tap-proof. Because they are non-electrical, fiber cables can bridge very high electrical potential differences and can be used in environments where explosive fumes are present, without danger of ignition.
Although fibers can be made out of transparent
plastic, glass, or a combination of the two, the fibers used in long-distance telecommunications applications are always glass, because of the lower optical attenuation. Both multi-mode and single-mode fibers are used in communications, with multi-mode fiber used mostly for short distances (up to 500 m), and single-mode fiber used for longer distance links. Because of the tighter tolerances required to couple light into and between single-mode fibers (core diameter about 10 micrometers), single-mode transmitters, receivers, amplifiers and other components are generally more expensive than multi-mode components.

Fiber optic sensors
Optical fibers can be used as sensors to measure strain, temperature, pressure and other parameters. The small size and the fact that no electrical power is needed at the remote location gives the fiber optic sensor an advantage over a conventional electrical sensor in certain applications.
Optical fibers are used as
hydrophones for seismic or SONAR applications. Hydrophone systems with more than 100 sensors per fiber cable have been developed. Hydrophone sensor systems are used by the oil industry as well as a few countries' navies. Both bottom mounted hydrophone arrays and towed streamer systems are in use. The German company Sennheiser developed a microphone working with a laser and optical fibers[4].
Optical fiber sensors for temperature and pressure have been developed for downhole measurement in oil wells. The fiber optic sensor is well suited for this environment as it is functioning at temperatures too high for semiconductor sensors (
Distributed Temperature Sensing).
Another use of the optical fiber as a sensor is the
optical gyroscope which is in use in the Boeing 767 and in some car models (for navigation purposes) and the use in Hydrogen microsensors.
Fiber-optic sensors have been developed to measure co-located temperature and strain simultaneously with very high accuracy
[5]. This is particularly useful when acquiring information from small complex structures.

Other uses of optical fibers

A frisbee illuminated by fiber optics
Fibers are widely used in illumination applications. They are used as
light guides in medical and other applications where bright light needs to be shone on a target without a clear line-of-sight path. In some buildings, optical fibers are used to route sunlight from the roof to other parts of the building (see non-imaging optics). Optical fiber illumination is also used for decorative applications, including signs, art, and artificial Christmas trees. Swarovski boutiques use optical fibers to illuminate their crystal showcases from many different angles while only employing one light source. Optical fiber is an intrinsic part of the light-transmitting concrete building product, LiTraCon.

A fiber-optic Christmas Tree
Optical fiber is also used in imaging optics. A coherent bundle of fibers is used, sometimes along with lenses, for a long, thin imaging device called an endoscope, which is used to view objects through a small hole. Medical endoscopes are used for minimally invasive exploratory or surgical procedures (
endoscopy). Industrial endoscopes (see fiberscope or borescope) are used for inspecting anything hard to reach, such as jet engine interiors.
An optical fiber
doped with certain rare-earth elements such as erbium can be used as the gain medium of a laser or optical amplifier. Rare-earth doped optical fibers can be used to provide signal amplification by splicing a short section of doped fiber into a regular (undoped) optical fiber line. The doped fiber is optically pumped with a second laser wavelength that is coupled into the line in addition to the signal wave. Both wavelengths of light are transmitted through the doped fiber, which transfers energy from the second pump wavelength to the signal wave. The process that causes the amplification is stimulated emission.
Optical fibers doped with a
wavelength shifter are used to collect scintillation light in physics experiments.
Optical fiber can be used to supply a low level of power (around one watt) to electronics situated in a difficult electrical environment. Examples of this are electronics in high-powered antenna elements and measurement devices used in high voltage transmission equipment.
Optical fibers are also used in
fiber optic gyroscopes, and other interferometry instruments.

Fibre Optic


History


The light-guiding principle behind optical fibers was first demonstrated by Daniel Colladon and Jacques Babinet in Paris in the 1840s, with Irish inventor John Tyndall offering public displays using water-fountains ten years later.[1] Practical applications, such as close internal illumination during dentistry, appeared early in the twentieth century. Image transmission through tubes was demonstrated independently by the radio experimenter Clarence Hansell and the television pioneer John Logie Baird in the 1920s. The principle was first used for internal medical examinations by Heinrich Lamm in the following decade. In 1952, physicist Narinder Singh Kapany conducted experiments that led to the invention of optical fiber, based on Tyndall's earlier studies; modern optical fibers, where the glass fiber is coated with a transparent cladding to offer a more suitable refractive index, appeared later in the decade.[1] Development then focused on fiber bundles for image transmission. The first fiber optic semi-flexible gastroscope was patented by Basil Hirschowitz, C. Wilbur Peters, and Lawrence E. Curtiss, researchers at the University of Michigan, in 1956. In the process of developing the gastroscope, Curtiss produced the first glass-clad fibers; previous optical fibers had relied on air or impractical oils and waxes as the low-index cladding material. A variety of other image transmission applications soon followed. The advent of ultrapure silicon for semiconductor devices made low-loss silica fiber practical.
In 1965,
Charles K. Kao and George A. Hockham of the British company Standard Telephones and Cables were the first to suggest that attenuation of contemporary fibers was caused by impurities, which could be removed, rather than fundamental physical effects such as scattering. They speculated that optical fiber could be a practical medium for communication, if the attenuation could be reduced below 20 dB per kilometer.[2] This attenuation level was first achieved in 1970, by researchers Robert D. Maurer, Donald Keck, Peter C. Schultz, and Frank Zimar working for American glass maker Corning Glass Works, now Corning Inc. They demonstrated a fiber with 17 dB optic attenuation per kilometer by doping silica glass with titanium. A few years later they produced a fiber with only 4 dB/km using germanium oxide as the core dopant. Such low attenuations ushered in optical fiber telecommunications and enabled the Internet. Nowadays, attenuations in optical cables are far less than those in electrical copper cables, leading to long-haul fiber connections with repeater distances of 500–800 km.
The
erbium-doped fiber amplifier, which reduced the cost of long-distance fiber systems by reducing or even in many cases eliminating the need for optical-electrical-optical repeaters, was co-developed by teams led by David Payne of the University of Southampton, and Emmanuel Desurvire at Bell Laboratories in 1986. The more robust optical fiber commonly used today utilizes glass for both core and sheath and is therefore less prone to aging processes. It was invented by Gerhard Bernsee in 1973 by Schott Glass in Germany.[1]
In 1991, the emerging field of photonic crystals led to the development of photonic crystal fiber (Science (2003), vol 299, page 358), which guides light by means of diffraction from a periodic structure, rather than total internal reflection. The first photonic crystal fibers became commercially available in 1996.[2] Photonic crystal fibers can be designed to carry higher power than conventional fiber, and their wavelength dependent properties can be manipulated to improve their performance in certain applications.