Showing posts with label Curious. Show all posts
Showing posts with label Curious. Show all posts

Monday, March 5, 2012

How Dams work?

Past new year's eve, we planned to have a blast at Vegas, It was an awesome night, the strip was full of people the mood was upbeat and the fireworks were just breathtaking .

Next morning we visited Hoover dam, just a 40 minutes drive from Vegas. As we were looking at this huge dam in the Black Canyon of the Colorado River, on the border between the US states of Arizona and Nevada, there popped up question from my wife, a CPA by profession and thus less of a Techie, that how and what are these dams used for. I was so excited to answer her and explain her with the subject the "dam" right in front to point her to what I am exactly talking about.


So I started, what dam is? it is a wall of solid material built across a river to block the flow of the river to store water, the dam should be watertight and it should be stable i.e. the dam wall must have sufficient strength to firstly, stand permanently under its own weight when walls are saturated with water and secondly, resist the water pressure in the lake upstream of the dam. The next important part of the dam should be the water exit point, a dam must release water in controlled amounts through an outlet valve of some type. Depending on the purpose of the dam the water may be released into a pipeline for water supply to a city, or into a hydro-electric power station to generate electricity or the water may be released into the river bed downstream of the dam and allowed to flow naturally down the river, which can be used for irrigation of crops further downstream.

The last important part of the dam I explained was the spillway, when the river on which a dam is built floods, dam should be able to manage the large amount of water, which is usually taken care by having open cut channel large enough to carry the flood water around the dam. The spillway may form part of the dam wall itself.  


Wednesday, September 21, 2011

Video Connectors

Recently one of my friends have his parents visiting him. To make them feel at home and let them enjoy the day while he is out at work,he bought a LED smart TV and a cable service connection.
The next day, he came up to me and was asking me, how he can now setup his set top box, what video connector to use?  How can he attach his laptop to his TV? He had many questions and I had answer for every question because I have keen interest in this video domain and more so because I have gone through all that stuff of connecting TV to different devices. So I decided to just write this down here to give an overall view of different video connectors we have.


There are several types of video connections on PC ,TVs, DVD etc. They all serve to the same purpose i.e. connect and transmit video signal from one device to another, but the video quality obtained by each type of connection is completely different.


1. Radio Frequency (RF)
RF is the oldest way to transmit video signals. It is used on TVs and VCRs to connect these devices to both terrestrial (antennas) and cable transmition.
RF cables are found in: 75-ohm coaxial and 300-ohm parallel. the 300-ohm parallel type was used by old terrestrial broadcasting antennas, but even this kind of antenna use the 75-ohm coaxial cable nowadays. You can install a 300-ohm connector into a 75-ohm connector by using an adapter. 
So its clear that my friend first need this connector to have the cable signal from the wall socket to the RF socket of his set top box provided by the cable service provider.


2. Composite Video (RCA)
Composite vĂ­deo is one of the most popular video connection types and uses a RCA connector. Composite video is used on the popular ”video in“ and ”video out“ connectors, found in VCRs, TVs, DVD players and video projectors. This is the best option to connect your VCR to your TV set, assuming that they don’t have a S-Video connector (usually newer TV sets have this connector, but VCRs usually don’t have S-Video output). But for other devices, like DVD players and even PCs, you should not use this connection, because S-Video, Component Video and other standards offer better video quality and usually you can find at least S-Video on those devices.
Since VCRs allow you to record videos, it has two composite connectors, one being an input and the other one being an output. You should connect the VCR output to the TV set input to make the proper connection. Its input should be used in the case you are willing to record something from another video source, like another VCR (for copying tapes) or even a PC with composite video output.
A typical RCA male connector cable will have three pins, yellow-for composite video and rest two for audio for left and right channel respectively. The color coding for different kind of RCA connectors is as follows:
  • Yellow: Composite video.
  • Red: Right channel (audio).
  • White or black: Left channel (audio).
  • Orange: Digital audio (a.k.a. SPDIF).
  • Green: Component video.
  • Blue: Component video.
  • Red: Component video.

3. Separate Video (S-video)
S-Video provides a better image quality than composite video. S-Video has three wires; one for carrying the image in black-and-white, one for carrying the color information signal and the third is the ground (as the name suggests separated video).
All latest TV this connector. One should connect the DVD player to the TV or videoprojector using an S-Video cable only if your DVD player and/or TV or videoprojector don't offer a better connection option, like component video, DVI or HDMI.


4. Component Video
Component video offers a far better quality than S-Video, being the preferred video connection to use between your DVD player or your cable/satellite converter, in the case they have this kind of connection and they don't have a better connectivity option, like DVI or HDMI. It uses three cables, which should be connected as follows:
Green connector: green input or input labeled as Y; Blue connector: blue input or input labeled as Pb or Cb or B-Y; Red connector: red input or input labeled as Pr or Cr or R-Y.


The Y connector transmits luma information (black and white image) while the color information is transmitted on the other connectors.

5. Video Graphic Adapter (VGA)
VGA is the traditional connector used to connect your PC to video monitors. It is also one option to connect your PC to HDTV sets. This connection offers a better video quality compared to component video, S-Video and composite video because it uses an independent wire for each video signal: red, green, blue, horizontal sync and vertical sync.
This uses analog signals, while on DVI and HDMI information is transmitted digitally, thus better quality. So if HDTV set has a DVI or HDMI connector , one should use one of them instead of the traditional VGA connector to connect your PC to  HDTV.


6. Digital Video Interface (DVI)
As the name suggests DVI should be an digital signal based connector, actually it can carry both analog and digital signals. Here are the types of DVI connectors available:
  1. DVI-A: Analog connection.
  2. DVI-D: Digital connection. Usually when we say “DVI” we are referring to DVI-D.
  3. DVI-I: Cable or connector that can carry both DVI-A and DVI-D signals. DVI-A cables can carry only DVI-A signals and DVI-D cables can carry only DVI-D signals.
  4. Single Link: Allows screen resolutions up to 1920 x 1080 pixels at 60 frames per second.
  5. Dual Link: Allows screen resolutions up to 2048 x 1536 pixels at 60 frames per second.
If a device has a DVI-I connector this means that it produces both analog and digital signals. One should use a cable (DVI-A or DVI-D) according to the kind of connection your display supports, analog or digital.

7. High-Definition Multimedia Interface ( HDMI)
HDMI is today the most high-end kind of video connection available . Find this connection on the latest DVD players, Blu-Ray players, HD-DVD players, HDTV sets and probably on the latest digital cable/satellite converters.
This connection works 100% in digital mode, is capable of transferring higher resolutions than DVI even compatible with resolutions not commercially released yet it even features a copy-protection mechanism called HDCP (High Bandwidth Digital Copy Protection) and the best part is transfers digital audio signal on the same cable, eliminating the need of an extra cable for connecting audio if devices being connected support this feature.



Tuesday, August 16, 2011

How 3D works?

Now a days every consumer electronic company talks about 3D, the highest grossing movies going forward will be 3D movies, these all are indications of where the technology is headed, and what direction the electronic industry is going. 


Our ability to feel the world around us in three dimensions is based on the fact that we have two eyes, and they are placed next to each other. This distance causes the images captured by the eyes to have a little shift relative to each other e.g. if you are looking at a pole that is in front of a second pole, the right eye will see the 1st pole a little-more to the right than the left eye. With 3D movies and photos, the photographer uses two cameras that are placed adjacent to each other, similar to how our eyes are. The end product is actually two films .... one for the right eye, and one for the left.


The hard part is replaying back these images or movies. The idea is to deliver the left picture or film to the left eye, and the right to the right eye. The most popular way, initially, was to use the funny red-blue glasses. This technique is based on coloring the left and right images and then imposing both on top of each other. Then, the glasses use the color filter to filter-out for each eye the image destined for the other. This way, the brain gets a shifted-image from each eye, and it analyses and builds and thus  gives us the feeling of 3D.


Another method, based on polarizer glasses. This technique is based on the fact that light can have a polarity. Normal light is a mix of waves that are both horizontal and vertical, as well as other angels, but using a special filter, one can block the waves. This is called a polarizer filter, and when you look at things through it, only light at a very specific angle comes through.

With 3D movies, this filter is applied at two angles to the two films, and then superimpose them on top of each other. This still looks fuzzy to the naked eye, but, we put special glasses with matching filters on our face. The light for the left image comes at some angle and the light for the right eye comes at another angle. Both angles arrive at both eyes, but the filter on the left eye only lets the light at the 1st angle through, while the right filter lets only light at the 2nd angle through. The result is similar i.e. each eye sees only the image that is meant for it. The filters are gray, so there’s no color distortion, thus this is better than funky red-blue glasses.


A 3rd technique, involves synchronized active glasses. This technique is based on the fact that the image on the TV is refreshed at a high rate. A movie is a series of images that are played in a series  rapidly, giving the illusion of movement (like a flip-book). With 3D, the image sequence is alternating – one image for the left eye, and then one for the right, and back to left. The viewer wears electronic glasses that are designed to block the lens in sync with the TV. During the showing of the left image, the right eye is blocked, and vice versa. This is fast enough so that most people don’t feel the blanking at all, although some people have an adverse reaction to this in the form of headaches or dizziness. Another disadvantage is that the active glasses are bulky and expensive.

The 4th technique is based on putting a special lens on the TV screen itself, which splits the screen into many vertical bars. Same as the 3D images we can often find in printed advertisements. Each of the two images is split into thin strips, and the lens shows the “left” stripes to the left eye, and the vice-versa. The result is sweet, because no glasses are needed, but the problem is that the field-of-view is limited. Move a little to the right or left, and the illusion breaks, and might even cause dizziness from the bending of the light.