3
\$\begingroup\$

Background: I am trying to reverse engineer a small endoscopic camera for a class project. The camera is connected to its own screen, and I do not have the specs for either. Thus far I have learned that the signal that it provides is a composite video signal (because the circuit board for the screen has a TI chip capable of decoding PAL/NTSC/SECAM signals), but I do not know which of the 3 types of composite signals it is.

Problem: I am trying to bypass the screen and attach the camera to my own hardware. However, when I do this the image is black-and-white with rainbow overlay:

endoscopic camera image with rainbow artifacts

The screen that comes with the camera provides the correct color image. I am using a composite to USB dongle I bought on Amazon. I tested the dongle on other composite signals and it works just fine. But when I connect it to this camera it shows the rainbow artifacts you saw above.

The camera provides nice colored picture when used with its own screen.

The colorburst frequency is the one for NTSC.

Here is a trace:

trace

zoom in trace

What could be the reason for the rainbow artifacts? Any ideas how to get the video signal from the camera without relying on the screen it comes with?

\$\endgroup\$
  • \$\begingroup\$ Do you have access to an oscilloscope? \$\endgroup\$ – ThreePhaseEel Nov 1 '16 at 0:53
  • 5
    \$\begingroup\$ Indeed, if you have a scope, scope. The most pragmatic thing may be to just try all the options in the capture software one after another. It's possible someone will be able to deduce the necessary setting from what is displayed, but don't count on it. You could also see if the TI chip is configured by select pins it may be possible to find their states from the circuit and look up what they mean in its documentation. \$\endgroup\$ – Chris Stratton Nov 1 '16 at 0:55
  • 2
    \$\begingroup\$ Is the endoscope camera color or monochrome? What make/model/part number is it? \$\endgroup\$ – Bruce Abbott Nov 1 '16 at 1:13
  • \$\begingroup\$ without knowing the Video specs, it's a crap shoot, but it looks like your chroma burst sync is not working , for sure. measure f(H),f(V) f(pixel), f(chroma) \$\endgroup\$ – Tony Stewart Sunnyskyguy EE75 Nov 1 '16 at 4:23
  • \$\begingroup\$ @BruceAbbott, it is a color camera. It is a very small module without any markings or part numbers. \$\endgroup\$ – Krastanov Nov 2 '16 at 1:10
1
\$\begingroup\$

Beginners read here and picture examples here

Connect Camera ( If NTSC or VGA compatible ) composite video out with RCA cable to monitor or TV, where Yellow is designated for Composite Video. enter image description here

Since your scope indicates approx. 63 us between sync tips , this is the same as 15.734 kHz Hsync, which is NTSC interlaced video or almost same as VGA interlaced video 640x480 pixels.

If your video decoder is not set up properly for this or is too noisy you will get chroma errors as you indicate. You also have a lot of luminance noise. Normally a TV blanks the chroma decoder if it is not in sync to just show BW TV.

Yours is not normal. Clean it up to the standards or SNR=40dB or better.

  • check for supply ripple, cable noise, ground noise, laptop charger noise ( common mode ) etc.. then check at termination with short coax.

Try to compare your decoder specs with std NTSC and get your video field signal to be 1Vpp for 100% white and clamp back porch after sync tip to set black level =0% IRE while sync tip is approx -300mV or approx 1.3Vpp into 75 Ohms.

Chroma burst gating is well documented on web. The chroma burst should be smooth sinX/x envelope of the chroma carrier sinewave without spurious noise.

enter image description here

I count about 22 vertical "Herringbone" chroma cycles which for a ~60Hz field rate tells me your Chroma Oscillator PLL is way out of sync, by the harmonically related beat frequency. The video is also not sharp.

If your signal is not compatible then determine what is different in signal level and get a video amp to achieve 1 ~ 1.3Vpp into 75 Ohms with >4Mhz bandwidth. High res composite video exceeds > 250MHz BW, due to number of pixels * frame rate ( if on very high frame rate CRT) while VGA 640x480 < 5MHz.

\$\endgroup\$
  • \$\begingroup\$ This would be very useful background. It will take me some time to go through it and hopefully find a solution. In the meantime I will mark this as the accepted answer. \$\endgroup\$ – Krastanov Nov 3 '16 at 23:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.