Showing posts with label Videos Projects. Show all posts
Showing posts with label Videos Projects. Show all posts

Friday, August 5, 2011

NTSC-PAL TV Signal Identifier

This circuit is able to identify PAL and NTSC video signals. Its output is high for an NTSC signal and low if the signal is PAL. This output signal can be used, for example, to automatically switch in a colour subcarrier converter or some other device while an NTSC signal is being received. One application is for the reception from satellites of 'free-to-air' TV signals, which in Australia generally contain a mixture of 625-line PAL and 525-line NTSC programs. Operation of the circuit is as follows.
IC1 is an LM1881 video sync separator which takes the video input signal and generates vertical synchronisation pulses.
For an NTSC signal, these pulses are 16.66ms apart, corresponding to the 60Hz field rate, while for a PAL signal they are 20ms apart, corresponding to the 50Hz field rate. The vertical sync pulses are fed into IC2a, the first of two dual retriggerable monostable multivibrators in the 74HC123A. IC2a has a period of very close to 17.9ms, set by the 200kO resistor and 0.22µF capacitor at pins 14 & 15. Because the monostable is retriggerable, NTSC sync pulses arriving every 16.66ms will keep its Q output, at pin 13, high.
Circuit diagram:
ntsc-pal-tv-signal-identifier Circuit
However PAL sync pulses arriving every 20ms will allow the Q output to go low after 17.9ms, before being triggered high again 2.1ms later. Thus an NTSC signal will give a constant high output while a PAL signal will result in a train of pulses 2.1ms wide. The Q output from IC2a is fed to the inverting input of IC2b, the second monostable, which has a period of about 0.5s, as set by the 270kO resistor and 4.7µF tantalum capacitor at pins 6 & 7. With its input constantly high, resulting from an NTSC signal, IC2b is not triggered and its Q output remains low.
However, the pulse train from a PAL signal will constantly retrigger it, so its Q output will remain high. The period of IC2b also effectively makes it a low-pass filter which removes spurious switching due to any input glitches. The output signal is taken from the Q-bar (inverted) output, so that an NTSC signal gives a high output, while PAL gives low. For the particular application for which the circuit was developed, diode D1 and the resistor network shown drive the base of an NPN switching transistor and relay. A dual-colour 3-lead LED can also be fitted to indicate NTSC (red) or PAL (green). Note that with no video input, the output signal is high and will indicate NTSC.
Continue[...]

Tuesday, July 26, 2011

Video Tracer Circuit Diagram

This circuit was designed as an aid to installers and maintainers of video systems. It is basically a video sync separator (IC1) followed by a LED and buzzer driver (IC2, Q1 & Q2). In use, the device is connected to a video cable and if there is video present, the LED will flash at about 10Hz. If there is no video, the LED flashes briefly every couple of seconds. A buzzer can also be switched in to provide an audible indication. The buzzer is particularly useful when tracing cabling faults or trying to find a correct cable amongst many, where it is difficult to keep an eye on the LED.
Another use for the buzzer option is to provide a video fault indication. For example, it could be inserted in bridging mode, with switch S1 in high impedance mode (position 2) across a video line and set to alarm when there is no video present. If someone pulls out a cable or the video source is powered off, the alarm would sound. IC1 is a standard LM1881 video sync separator circuit and 75Ω termination can be switched in or out with switch S1a. The other pole of the switch, S1b, turns on the power. The composite sync output at pin 1 is low with no video input and it pulses high when composite sync is detected.
Circuit diagram:
video-tracer-circuit-for-trouble-shooting1
These pulses charge a 100nF capacitor via diode D1. When there is no video at the input, oscillator IC2b is enabled and provides a short pulse every couple of seconds to flash the LED. The duty cycle is altered by including D2, so that the discharge time for the 10μF capacitor is much shorter than the charge time. The short LED pulse is used as a power-on indicator drawing minimal average current. When video is present at the input, IC2b is disabled and IC2d is enabled. The output of IC2d provides a 10Hz square wave signal to flash the LED. The buzzer is controlled by switch S2. In position 2 the buzzer will sound when there is video at the input and in position 1 the buzzer will sound when there is no video at the input.
Author: Leon Williams - Copyright: Silicon Chip Electronics
Continue[...]

Wednesday, July 20, 2011

Video Isolator Circuit Diagram

These days many more audio-visual devices in the home are connected together. This is especially the case with the TV, which may be connected to a DVD player, a hard disk recorder, a surround-sound receiver and often a PC as well. This often creates a problem when earth loops are created in the shielding of the video cables, which may cause hum and other interference. The surround-sound receiver contains a tuner that takes its signal from a central aerial distribution system. The TV is also connected to this and it’s highly likely that the PC has a TV-card, which again is connected to the same system. On top of this, there are many analogue connections between these devices, such as audio cables. The usual result of this is that there will be a hum in the audio installation, but in some cases you may also see interference on the TV screen.
The ground loop problem can be overcome by galvanically isolating the video connections, for example at the aerial inputs of the surround-sound receiver and the TV. Special adaptors or filters are sold for this purpose, known as video ground loop isolators. Good news: such a filter can also be easily made at home by yourself. There are two ways in which you can create galvanic isolation in a TV cable. The first is to use an isolating transformer with two separate windings. The other is to use two coupling capacitors in series with the cable. The latter method is easily the simplest to implement and generally works well enough in practice. The simplest way to produce such a ‘filter’ is as an in-line adapter, so you can just plug it onto either end of a TV aerial cable.
Diagram and snapshoot:
video-isolator-circuit-diagram1
The only requirements are a male and female coax plug and two capacitors. The latter have to be suitable for high-frequency applications, such as ceramic or MKT types. It is furthermore advisable to choose types rated for high voltages (400 V), since the voltages across these capacitors can be higher than you might expect (A PC that isn’t connected to the mains Earth can have a voltage as high as 115 V (but at a very low, safe current), caused by the filter capacitors in its power supply. These capacitors don’t need to be high value ones, since they only have to pass through frequencies above about 50 MHz. Values of 1 nF or 2.2 nF are therefore sufficient. To make the isolator you should connect one capacitor between the two earth connections of the coax plugs and the other between the two signal connections.
The mechanical construction has to be sturdy enough such that the connections to the capacitors won’t break whenever the inline adapter is removed forcibly. A good way to do this is to make a cover from a piece of PVC piping for the central part. Wrap aluminium foil round the outside and connect it to one of the plugs, so that the internal parts are properly shielded from external interference. Make sure that the aluminium foil doesn’t make contact with the other plug, otherwise you lose the isolation. The majority of earth loops will disappear when you connect these filters to all used outputs of the central aerial distribution system where the signal enters the house.
Harry Baggen
Elektor Electronics 2008
Continue[...]

Tuesday, June 28, 2011

Video Amplifier Circuit Diagram

The video amplifier in the diagram is a well-known design. Simple, yet very useful, were it not for the ease with which the transistors can be damaged if the potentiometers (black level and signal amplitude) are in their extreme position. Fortunately, this can be obviated by the addition of two resistors. If in the diagram R3 and R4 were direct connections, as in the original design, and P1 were fully clockwise and P2 fully anticlockwise, such a large base current would flow through T1 that this transistor would give up the ghost.

Circuit diagram:

Video_Amplifier_Circuit_Diagramw

Video Amplifier Circuit Diagram

Moreover, with the wiper of P2 at earth level, the base current of T2 would be dangerously high. Resistors R3 and R4 are sufficient protection against such mishaps, since they limit the base currents to a level of not more than 5 mA. Shunt capacitor C4 prevents R4 having an adverse effect on the amplification.

Author: L.A.M. Prins - Copyright: Elektor Electronics

Continue[...]

Saturday, June 18, 2011

3-Input Video MUX Cable

The circuit diagram shows a low-cost 3-input video MUX cable driver. In this circuit, the amplifier is loaded by the sum of RF and RG of each disabled amplifier. Resistor values have been chosen to keep the total back termination at 75 Ω while maintaining a gain of 1 at the 75-Ω load. The switching time between any two channels is approximately 32 ns when both enable pins are driven. When designing a circuit board for this cable driver, care should be taken to minimize trace lengths at the inverting input. The ground plane should also be pulled away from RF and RG on both sides of the board to minimize stray capacitance. Current consumption of the cable driver is a modest 8mA.

3-Input Video MUX Cable Driverw

Continue[...]

Thursday, June 16, 2011

A Simple - Yet Useful Video Switcher

With the cost of security cameras going down, adding a surveillance system for your store, office or home is becoming more practical all the time. However, you might be dismayed at the thought of having to buy a monitor for every camera that’s installed. dedicating a single monitor to a single camera also runs the risk of burning the camera’s image into the phosphor screen of the CRT. If you prefer a single monitor instead of the “NASA-Mission Control” look, you could buy a special monitor that has a video switcher built in. That type of monitor can automatically switch between several camera inputs in sequence.

With that type of arrangement, you’d have to watch only one screen instead of having to scan a wall of CRTs. Switching between several cameras would also prevent image burn-in on the monitor. Those types of monitors, unfortunately, are also very expensive, offsetting the cost savings of even the cheapest surveillance camera. Video switchers are also available, but the cost of a switcher and a monitor could be as expensive as a monitor/switcher combination unit. A viable alternative for a video switcher is to build your own. Thanks to some recently introduced ICs, the cost and effort of designing and building such a unit has become both quite affordable and easy.


The video switcher described here can display the output of two, three, or four cameras on a single monitor. The number of cameras is set by a DIP switch on the circuit board. That feature avoids blank displays if less than four cameras are used by sequencing through only the inputs that are connected to a camera. In the automatic mode, the cameras are switched at a rate that can be varied with a panel mounted control. The switching rate can be set from about once per second to about once every 20 seconds. In the manual mode, one camera output is displayed continuously. A momentary-toggle switch is then used to step through the various cameras.

How it works

The heart of the video switcher is a Maxim MAX454. That integrated circuit contains a four-way video multiplexer and an amplifier that operates as a low-impedance line driver. The resulting video output is high quality with very low phase distortion. The video inputs are selected by applying a binary number to the address inputs. The binary number is also used to light a series of LEDs that indicate whichh camera input is currently selected. The circuit is powered by a 9-volt AC wall-adapter transformer, two diodes, and two voltage regulators.

Circuit description

Figure 1 is a schematic diagram of the video switcher. Multiplexer IC1 has four video inputs, two address inputs, one video output, one external amplifier input, and and three power terminals. The video cameras connect to the video inputs through J1-J4. The inputs are terminated with 75 ohm resistors R1-R4. The gain of the internal video amplifier is set by a feedback network connected to pin 13 of IC1. That feedback network consists of R5-R8 and C3. The gain is set to 2 in order to compensate for any loss through the 75 ohm terminator resistor, R9. The resulting net gain is 1 at output J5.

The binary addressing circuit is built around IC2, a CD4017 decade counter. That chip produces one positive output at a time on each of its ten outputs in sequence for every clock pulse. The first four outputs at pins 3,2,4,and 7 are connected to transistors Q1- Q4. Those transistors drive LED1-LED4 through current limiting resistor R15. The outputs from IC2 (pins 2,4, and 7) are also decoded into binary logic by diodes D1-D4. The binary logic is sent to the address input lines of IC1.


The number of cameras connected to the video switcher is set with S1. Each switch in S1 is connected to an output from IC2. If, for example, there are only two cameras connected to the video switcher, S1-a is closed. That connects the third output to IC2’s reset line. When IC2 advances to the third count, that output passes through S1-a to the reset, and IC2 resets to zero, activating the first camera. The sequence would be camera 1, camera 2, then back to camera 1. Closing S1-b or S1-c instead of S1-a will let the video switcher cycle through three or four cameras, respectively.

Clock pulses for the counter are generated by IC3, an LMC555 CMOS timer. The pulse rate and pulse width is controlled by C4, R10, R11 and potentiometer R12. By adjusting R12, the output frequency of IC3 can be controlled between 1 Hz and 1/20 Hz. The clock pulses from IC3 are connected to IC2 through S2, a three position toggle switch. Switching S2 to the auto position lets the pulses from IC3 select the next camera at a rate set by R12. When S2 is in its center-off position, no switching takes place, and whatever camera input is selected is passed through to the output.


The select position on S2 is a momentary contact. That position raises the clock input of IC2 to 5 volts, which increments the binary count and selects the next camera. When S2 is released, it springs back to its center-off position. The clock input of IC2 is then held at a low-logic level by R13. The MAX454 requires ±5 volts while the other ICs require only +5 volts. Power is supplied by AC adapter T1, rectifier diodes D5 and D6, regulators IC4 and IC5, and filter capacitors C6-C9.

Construction

Because of the high frequency video signals involved, the video switcher should be built on a printed circuit board. The circuit is simple enough to fit onto a single-sided board with only two jumpers needed. A foil pattern is included for etching and drilling your own board. Alternatively, an etched board can be purchased from the source given in the parts list. A feature of that board design is ground traces that run between all of the video signal traces in order to keep induced noise and crosstalk between the signals to a minimum.

Weather you etch a board from the foil pattern or purchase one from the source in the parts list, use the parts-placement diagram in fig. 2 for component placement. It is easiest to install and solder the resistors and diodes first. Once those components are in place, scrap component leads can be used for the two jumper wires. Next, install S1 and sockets for IC2 and IC3. Do not use a socket for IC1, the MAX454 multiplexer.

When installing J1-J5, hold the connectors tight against the board while soldering the center pin. The assembly can then be placed on a heat-resistant surface and the ground pins soldered. Because of their size and mass, a larger soldering iron might be needed to solder J1-J5. Otherwise the board might be damaged if heat is applied too long. Once the connectors are soldered in place, Q1-Q4, IC4, IC5, and all the capacitors can be installed. The LEDs should be installed next, leaving their leads long so that they can be bent to reach through the front panel of the enclosure.

Double-check the orientation of the polarized components, so that they are not installed backwards by accident. Once a component is soldered in place, removing it becomes much more difficult. Solder two 3-inch long wires onto the two terminals of R12 that are clockwise when viewing the potentiometer from the back. Connect those wires to the holes for R12 on the board. Three additional 3-inch long wires are soldered onto the terminals of S2. The center terminal connects to the hole near C5 and R13.

The momentary-contact terminal connects to the hole near R14. The remaining terminal connects to the hole near IC3 and R10. Solder IC1 directly onto the circuit board. That will result in the shortest possible lead length for the video signals. Plug IC2 and IC3 into their sockets, being careful to handle them as static-sensitive CMOS devices. Solder the T1 leads onto the board. Examine the board for any wiring errors, bad solder joints, and incorrect components. Once the assembly is inspected, it can be tested.

Testing

Plug T1 into an AC outlet and measure the voltages across C8 nd C9. The voltage across C8 should measure +5 volts. Across C9, the voltage should be -5 volts. To select two cameras, set S1-a on; to select three cameras, set set S1-b on; and to select all four cameras, set S1-c on. Only one switch at a time should be on. When switch S2 is toggled to its momentary position, the LEDs should sequence to the next indicator each time S2 is toggled. The order of the LEDs should cycle from 1 through 4 and repeat. When S2 is set to automatic, the LEDs should automatically at a rate that should vary as potentiometer R12 is adjusted. Connect cameras to J1-J4 and a monitor to J5.

The video signal on the monitor should switch from camera to camera according to the LEDs. After testing is completed, drill appropriate holes in a suitable enclosure for J1-J5, LED1-LED4, S2, and R12. Mount the board in the enclosure using the mounting hardware for J1-J5 to hold it in place. Mount R12 and S2 in the front panel and bend the LEDs so they fit through the holes in the panel. The hole for the T1 wire should be drilled at a point where the two halves of the enclosure meet.

Tie a knot in the wire for strain relief and place the wire in the enclosure hole with the knot on the inside of the enclosure before closing the case. That completes the project. If all has gone well, as is likely, your video switcher is now ready for use.

SEMICONDUCTORS
  • IC1 - MAX454 multiplexer, integrated circuit (MAXIM)
  • IC2 - CD4017 decade counter, integrated circuit
  • IC3 - LMC555 timer, integrated circuit
  • IC4 - 78l05 voltage regulator, integrated circuit
  • IC5 - 79l05 voltage regulator, integrated circuit
  • Q1-Q4 - MPSA14, NPN transistor
  • D1-D4 - 1N914, silicon diode
  • D5, D6 - 1N4004, silicon diode
  • LED1-LED4 - Light emitting diode, red
RESISTORS
  • R1-R4, R9-R15 - 75 ohm
  • R5 - 150,000 ohm
  • R6 - 620 ohm
  • R7 - 1100 ohm
  • R8 - 1000 ohm
  • R10 - 10,000 ohm
  • R11 - 51,000 ohm
  • R12 - I megohm potentiometer, panel mount
  • R13, R14 - 100,000 ohm
CAPACITORS
  • C1,C2,C5 - 0.1mF, 50WVDC, metalized film
  • C3 - 6.8 pF, ceramic disc
  • C4 - 10 mF, 50 WVDC, low leakage electrolytic
  • C5, C7 - 470 mF, 25 WVDC, electrolytic
  • C8, C9 - 100 mF, 16 WVDC, electrolytic
ADDITIONAL PARTS AND MATERIALS
  • S1 - DIP switch, 3 position
  • S2 - Toggle switch, single pole double throw, one momentary position
  • J1-J5 - Video connector, chassis mount, “F” type
  • T1 - 9 volt AC wall adapter transformer, PC board, IC sockets, LED holders, 22 gauge hookup wire, knob, enclosure, hardware, etc.
Source: Electronics Now 1997
Continue[...]

Thursday, June 9, 2011

Video Amplifier Circuit

The video amplifier in the diagram is a well-known design. Simple, yet very useful, were it not for the ease with which the transistors can be damaged if the potentiometers (black level and signal amplitude) are in their extreme position. Fortunately, this can be obviated by the addition of two resistors. If in the diagram R3 and R4 were direct connections, as in the original design, and P1 were fully clockwise and P2 fully anticlockwise, such a large base current would flow through T1 that this transistor would give up the ghost.

Circuit diagram:

Video_Amplifier_Circuit_Diagram Video Amplifier Circuit Diagram

Moreover, with the wiper of P2 at earth level, the base current of T2 would be dangerously high. Resistors R3 and R4 are sufficient protection against such mishaps, since they limit the base currents to a level of not more than 5 mA. Shunt capacitor C4 prevents R4 having an adverse effect on the amplification.

Author: L.A.M. Prins
Copyright: Elektor Electronics

Continue[...]

Video-Out Coupling

If you want to connect a video signal to several destinations, you need a distribution amplifier to match the 75-ohm video cable. A distribution amplifier terminates the incoming cable in 75 ohms and provides several outputs, each with 75-ohm output impedance. Since this is usually achieved by putting a 75-ohm series resistor in the output lead of each video opamp (current-feedback amplifier), the opamps must be set up for a gain of 2 in order to achieve an insertion gain of 1 (0 dB). The disadvantage of this arrangement is that if the amplifier or its power supply fails, no signal is available at any of the outputs. This can be remedied by using a high input impedance amplifier, which can be tapped into a video line without having to have its own 75-ohm termination resistor.

Video-Out Couplingq 

Farmula Video-Out Couplingw

In order to eliminate hum interference and voltage differences between the cable screen and the circuit earth, the circuit exploits the common-mode rejection of the opamp. This can be optimized with resistor RG1. With the indicated LT1396 video opamp, more than 40 dB of common-mode rejection can be achieved. The signal bandwidth of the circuit can be optimized using the trimpots. It reaches to more than 10 MHz, which is quite acceptable for video signals. Thanks to the high-impedance connection to the video line, the video signal is not affected when the power for the coupled amplifier is switched off. You can learn more about the LT1396 from its data sheet at http://www.linear-tech.com.

Continue[...]