Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

VGA to PAL using AD725

Status
Not open for further replies.

joeka

Newbie level 4
Joined
Dec 14, 2011
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,339
Hi,

I'm currently developping a system to output PAL video from a camera.
I worked on a former project where the ouput video was in VGA. The video structure was like this : FPGA => DAC => VGA.

In order to add PAL format to this project, I add an AD725 to convert VGA to PAL. I proceed as shown page 12 on the datasheet : http://www.analog.com/static/imported-files/data_sheets/AD725.pdf

I code the new timings signals (hsync and vsync) according to PAL standard as shown on http://martin.hinner.info/vga/pal.html
I used two state machines to do it with a 13.5Mhz clock

constant v_long_sync : integer := 371; -- 27.5us
constant v_short_sync : integer := 32 ; -- 2.4us
constant v_long_delay : integer := 400; -- 29.6us
constant v_short_delay : integer := 61; -- 4.5us

constant h_front_porch : integer := 0;
constant h_sync : integer := 54; -- 4 us
constant h_back_porch : integer := 108; -- 8us
constant h_left_border : integer := 0;
constant h_video : integer := 702; -- 52us
constant h_right_border : integer := 0;

I tried my code on ModelSim successfully.


However, when i displayed a pattern on a TV, the image quality is not what i expected (some kind of diagonal lines moving but quite perceptible) . I try to test the signal directly at the output of the AD725 and I get this signal for the composite output :

LeCroy2.jpg

I think that the noise is responsible for the quality of the picture and i'd like to solve this noise problem. Any idea ?
Furthermore, I measured the frequence of the pal quartz I used and this one is quite different from the PAL clock needed (17.734475MHz) (about 600-1000Hz difference). Do this clock need to be exact ?

I really want to improve the quality of the picture.

Kind Regards.

Joeka
 

Here is an example of what i see on a TV :

2011-12-15 09.44.08.jpg
 

Yes, most probably it's due to noise generated in ground loops. Sheilding and earthing of board, signal cables will solve the problem. Grounding metal cans of crystal. Try tv and vga signal source with removed from mains earth. This is some kind of high frequency, see if switching supply is not the cause.
 
  • Like
Reactions: joeka

    joeka

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top