* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download PCB Layout and design Considerations for CH7007 and CH7008
Voltage optimisation wikipedia , lookup
Flip-flop (electronics) wikipedia , lookup
Pulse-width modulation wikipedia , lookup
Ground loop (electricity) wikipedia , lookup
Two-port network wikipedia , lookup
Mains electricity wikipedia , lookup
Buck converter wikipedia , lookup
Time-to-digital converter wikipedia , lookup
Ground (electricity) wikipedia , lookup
Immunity-aware programming wikipedia , lookup
AN-28 CHRONTEL Application Notes PCB Layout and design Considerations for CH7007 and CH7008 Introduction This application note focuses on the basic PCB layout and design guidelines for the CH7007 and CH7008 VGA-to-TV encoder products. Guidelines in component placement, power supply decoupling, grounding, and reference crystal placement and selection, input signal interface and video output component are discussed in this document. The guidelines discussed here are intended to optimize the PCB layout and application for these products. These are only recommendations. Designers are urged to implement the configurations and evaluate the performance of the system prior to bringing the design to production. The discussion and figures that follow reflect and describe connections based on the 44-pin PLCC package. Users are urged to consult the CH7007/CH7008 datasheets for the pin assignments of the corresponding signals in the TQFP packages offered. Component Placement Components associated with the CH7007/CH7008 encoders should be placed as close as possible to the respective pins. The following discussion will describe guidelines on how to connect critical pins, as well as describe the guidelines for the placement and layout of components associated with these pins. • Power Supply Decoupling The optimum power supply decoupling is accomplished by placing a 0.1µF ceramic capacitor to each of the power supply pins as shown in Figure 1 and Figure 3. These capacitors (C1 - C6, C15 and C16) should be connected as close as possible to their respective power and ground pins using short and wide traces to minimize lead inductance. Whenever possible, a physical connecting trace should connect the ground pins of the decoupling capacitors to the CH7007/CH7008 ground pins, in addition to ground vias. • Ground Pins The analog and digital grounds of the CH7007/CH7008 should connect to a common ground plane to provide a low impedance return path for the supply currents. Whenever possible, each of the CH7007/ CH7008 ground pins should connect directly to its respective decoupling capacitor ground lead, then connected to the ground plane through a ground via. Short and wide traces should be used to minimize the lead inductance. • Power Supply Pins Separate digital (including the I/O supply voltage DVDD2), analog, and DAC power planes are recommended. Digital power should be supplied to pins 11, 22 and 36 (DVDD); I/O supply voltage should be applied to pin 44 (DVDD2); analog power should be supplied to pin 37 (AVDD); and DAC power should be supplied to pin 31 (VDD). The analog and DAC supplies are connected to a single +5V supply through ferrite beads, as shown in the schematic on Figure 1. The digital supplies are provided by the +3.3V supply and 1.8V to 3.3V supply (DVDD2) used by the graphic controller directly, depending on the logic level of the input pixel data. A positive 5V regulator may be used if a clean +5V supplies are not available. Please refer to Figure 2 for the optional positive 5V regulator circuits. Rev. 1.0, 7/9/99 1 CHRONTEL AN-28 DVDD 11 C1 0.1µf DGND 14 +3.3V DVDD 22 L1 DVDD BEAD C2 0.1µf DGND DVDD CH7007 / CH7008 44-pin PLCC + 24 C6 47µf 36 C3 0.1µf DGND 34 +5V AVDD 37 AVDD BEAD C4 0.1µf AGND VDD GND + C7 47µf 40 31 L3 VDD BEAD C5 0.1µf GND L2 29 + C8 47µf 25 Figure 1: Power Supply Decoupling and Distribution Notes: All the Ferrite BEAD decribed in this document is recommended to have < .05Ω @ DC; 23Ω @ 25MHz & 47Ω @ 100MHz. Please refer to Fair_Rite part# 2743019447 for detail or an equivanlent part can be used for the design. 2 Rev 1.0 7/9/99 CHRONTEL AN-28 VR1 C9 C10 10uF 0.33uF IN OUT GND + +5V LM340AT5 +VIN C11 C12 0.1uF 0.1uF + C13 10uF Figure 2: Optional Positive 5V Voltage Regulator Note: Depends on the regulator used, there is a minimum voltage requirement for the VIN in order to achieve regulated +5V. Please refer the regulator data sheet for the requirement. • DVDD2 & VREF decoupling and connection VREF is used as a reference level for pixel data input D[11:0], H sync input, V sync input, P-OUT output. For the optimum decoupling, please refer Figure 3. R1 L4 1.8V ~ 3.3V BEAD + 47µf 0.1µf C 14 C 15 0.1µf R2 C 16 44 DVDD2 DGND 42 VREF 1 3.3V 7007 / 7008 44-pin PLCC SW1 20 GPIO [0] R4 360K ohm DVDD2 2 C 17 0.1µf 21 R5 VREF = GPIO [1] 360K ohm ISET GND 25 30 R3 360 ohm 1% SW 1 0 = open NTSC mode 1 = close PAL mode Figure 3: ISET reference voltage and DVDD2 connection Rev 1.0 7/9/99 3 CHRONTEL AN-28 In general application, VREF is derived from DVDD2 divided by 2. (Therefore, both resistors value showed the same value; i.e. 10KΩ @ 1%. The decoupling capacitor is required as shown in Figure 3). Also the DVDD2 voltage supply should be conneted to the graphic controller I/O VDD which must be within 1.8V to 3.3V supply range (matches the output drive level from the graphic controller). • ISET pin A 360Ω resistor should be placed directly and as close as possible to pin 30 with short and wide traces. Whenever possible, the ISET resistor’s ground pin should also be connected to the pin 25. Otherwise, the ground reference of the ISET resistor should ideally be close to the CH7007/CH7008. • GPIO [0] & GPIO [1] In applications using Intel 752 graphic accelerator & Intel 810 chipset* and the Intel software driver, it is recommended that the pins should be configured as shown in Figure 3. Horizontal and Vertical Sync Signals In input modes where the horizontal and vertical sync signals from the graphics controller are shared between the CH7007/CH7008 and the computer monitor, buffering the sync signals prior to connecting them to the monitor is recommended (please refer to Figure 4 below). These buffers help isolate any noise generated from the monitor connection (e.g., reflections, etc.) from coupling into the sync inputs of the CH7007/CH7008, thereby degrading the display quality. In modes where the embedded syncs are used, these buffers are not necessary. Graphics Controller CH7007/CH7008 RGB/YCrCb Diff PCLK 2 D[15:0] Y(R) XCLK/XCLK* C(G) HSYNC H CVBS(B) VSYNC V CSYNC 74F04 TV VGA Monitor Figure 4: Sync Buffers Note: If differential pixel clock from the graphic controller is not available, XCLK* should be tied to VREF. Video Inputs Since the digital pixel data and the pixel clock of the CH7007/CH7008 may toggle at speeds up to 100MHz (depending on input mode), it is critical that the connection of these signals between the graphics controller and the CH7007/CH7008 be kept short and isolated as much as possible from the analog outputs and analog circuitry. For optimum performance, these signals should not overlay the analog power or analog output signals. Damping each line with a series resistor (30Ω-300Ω) will help minimize ringing on these lines. 4 *Intel I752 and I810 are Trademarks of Intel Corp Rev 1.0 7/9/99 CHRONTEL AN-28 Pixel Clock Mode Depending on the architecture and configuration of the graphic controller, CH7007/CH7008 can be used in 5 different setting. In all these modes, H sync, V sync and pixel data D[11:0] must meet the setup and hold time with respective to pixel clock. • Master Clock Mode (Figure 5) P-OUT pin outputs a pixel clock to the graphic controller. The direction of H sync and V sync signal can be controlled by Sync Register 0DH. When the bit2 (SYO) = 0, the H sync and V sync signals are input to CH7007/CH7008. When the bit2 (SYO) = 1, the H sync and V sync signals are output to graphic controller. It is recommended to configure CH7007/8 in this clock mode with bit 2 of SR register set to 0 when the application use with the Intel 752 graphic accelerator and Intel 810 chipset.* D [11:0] P-OUT Graphic Controller H CH7007/CH7008 V XCLK XCLK* DS/BCO Figure 5 : Master Clock Mode DS/BCO Pin When DS/BCO is selected as an input, the rising edge of DS/BCO pin is used to signify the 1st active pixel for each active line. In applications using Intel 752 graphic accelerator & Intel 810 chipset* and the Intel software driver, it is recommended that the pin is not used, meaning that the pin is not connected to graphic controller at all. The active data start can use SAV register to set the number of pixels from the leading edge of H sync to the 1st active pixel with register 1CH bit4 = 0 and bit5 = 0. • Slave Clock Mode (Figure 6) For this mode, select register 06H bit 6 = 0. The pixel clock comes from the graphic controller and the P-OUT pin is in high impedance state. The direction of H sync and V sync signal can be controlled by the Sync Register 0DH. The same setting described under Master Clock Mode for the bit 2 (SYO) is applied here. D [11:0] P-OUT Graphic Controller XCLK* CH7007/CH7008 XCLK H V DS/BCO Figure 6 : Slave Clock Mode 5 *Intel I752 and I810 are Trademarks of Intel Corp Rev 1.0 7/9/99 CHRONTEL AN-28 • Embedded Sync Mode (Figure 7) In order to enable this mode, register 04H needs to be set for IDF = 9. Since H sync and V sync signals can be embedded into the data stream, the connection of H sync and V sync pins are not required between the graphic controller and CH7007/CH7008. Please refer CCIR656 for details on how the H sync and V sync, odd field & even field signals are generated within the data stream. D [11:0] 12 P-OUT Graphic Controller XCLK* CH7007/CH7008 XCLK H V DS/BCO Figure 7: Embedded Sync Mode Video Outputs The components associated with the video output pins should be placed as close as possible to the CH7007/CH7008. The 75Ω output termination, the output filter network, and the output connectors should be located as close as possible to the CH7007/CH7008 to minimize the noise pickup as well as possible reflections due to impedance mismatches. The video output signals should overlay the ground plane and should be routed away from digital lines that could introduce crosstalk. The Y and C outputs should be separated by a ground trace and inductors and ferrite beads in series with these outputs should not be located next to each other. The recommended output reconstruction filter network is a fourth order low pass filter. The recommended frequency response and the circuit elements are shown below. 6 6 3 12 Hr4dB n 21 30 39 48 48 0 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 f n 10 6 36 38 40 fmax 10 6 Figure 8: Amplitude response of 4th order reconstruction filter 6 Rev 1.0 7/9/99 CHRONTEL AN-28 Reconstruction filter (continued) 3 3 1.8 0.6 Hr4dB n 0.6 1.8 3 3 0 2 4 6 8 0 10 12 f n 10 14 16 16 6 Figure 9: The detail of amplitude response of the pass band C 18 47pF L5 L6 1.2uH C 19 150pF 1.2uH C 20 270pF Figure 10 : Reconstruction filter diagram Rev 1.0 7/9/99 7 CHRONTEL AN-28 The output of the CH7007/CH7008 may be configured for the following video output types: S-Video, composite, and SCART. Figure 11 illustrates the typical connection for the S-Video and composite outputs, while Figure 12 illustrates the connection for the SCART connector. C21 47pF 1.2uH C22 150pF L9 27 C (G) 1.2uH C25 150pF R7 75 44-pin PLCC C23 270pF 1.2uH C24 47pF R6 75 CH7007/7008 L8 L7 28 L10 C26 270pF 1.2uH 4 3 2 1 S-VIDEO OUTPUT C27 47pF 26 CVBS (B) L11 L12 1.2uH 1.2uH C28 150pF R8 75 COMPOSITE VIDEO OUTPUT 1 2 Y (R) C29 270pF 23 CSYNC Figure 11: S-Video and Composite Video Outputs Note: If the application only allows one video output connection and simultaneously display of S-Video and Composite is not needed, please refer AN27 on how to achieve the desire configuration. 23 CSYNC R9 75 CH7007/7008 44-pin PLCC C 30 10pF 21 19 28 L 13 27 BEAD L 14 26 BEAD L 15 Y (R) C (G) CVBS (B) BEAD 17 RED 15 13 GREEN 11 9 BLUE 7 5 3 R 10 75 R 11 75 R 12 75 1 20 +3.3V 18 16 14 12 10 8 6 4 2 SCART CONNECTOR Figure 12: SCART Video Output Careful layout consideration for the Y, C, CVBS traces and the attached components are needed in order to avoid the signal coupling among each other. It is suggested that the signal traces of Y, C and CVBS should be seperated with Ground traces and routed to the connectors. Also, the capacitors and the inductors attached to those outputs should not placed too close to each other. 8 Rev 1.0 7/9/99 CHRONTEL AN-28 Crystal Input The 14.31818 MHz (±20ppm) crystal must be placed as close as possible to the XI/FIN and XO pins, with traces connected from point to point, overlaying the ground plane. Since the crystal generates timing reference for the CH7007/CH7008 encoders, it is very important that noise should not couple into these input pins. Traces with fast edge rates should not be routed under or adjacent these pins. In addition, the ground reference of the external capacitors connected to the crystal pins must be connected very close to the CH7007/CH7008. Reference Crystal Oscillator The CH7007/CH7008 includes an oscillator circuit which allows an inexpensive 14.31818 MHz crystal to be connected directly. Alternatively, an externally generated 14.31818 MHz clock source may be supplied to the CH7007/CH7008. If an external clock source is used, it should have CMOS level specifications. The clock should be connected to the XI/FIN pin, and the XO pin should be left open. The external source must exhibit ±20 ppm or better frequency tolerance, and possess low jitter characteristics. If a crystal is used, the designer should ensure that the following conditions are met: • Crystal is specified as 14.31818 MHz, ±20 ppm fundamental type and in parallel resonance (NOT series resonance). • Crystal is operated with a load capacitance equal to its specified value (CL). • External load capacitors have their ground connection very close to the CH7007/CH7008 (Cext). • To allow tunability, a variable cap may be used from XI/FIN to ground Note that the XI/FIN and XO pin each has approximately 10 pF (Cint) of shunt capacitance internal to the device. To calculate the proper external load capacitance to be added to the XI/FIN and XO pins, the following calculation should be used: Cext = (2 x CL) - Cint - 2CS where: Cext = external load capacitance required on XI/FIN and XO pins. CL = crystal load capacitance specified by crystal manufacturer. Cint = capacitance internal to CH7007/CH7008 (approximately 10-15 pF on each of XI/FIN and XO pins). CS = stray capacitance of the circuit (i.e. routing capacitance on the PCB, associated capacitance of crystal holder from pin to pin etc.) Please refer to Figure 13 for the symbols used in the calculation described above. CH7007/CH7008 Cint Cint C 31 C 32 XI/FIN XO X1 14.31818MHz C 33 Cext C 34 Cext Figure 13: Reference Crystal Rev 1.0 7/9/99 9 CHRONTEL CL = AN-28 (C int XI/FIN+ Cext XI/FIN) (Cint XO + Cext XO) + CS C int XI/FIN+ Cint XO + Cext XI/FIN + Cext XO In general , let us assume Cint XI/FIN = Cint XO = Cint Cext XI/FIN = Cext XO = Cext such that CL = C int + Cext + CS 2 AND Cext = 2 (CL - CS) - Cint = 2 CL - (2CS + Cint) Therefore CL must be specified greater than Cint/2 + CS in order to select Cext properly. Drive level After CL (crystal load capacitance) is properly selected, care should be taken to make sure the crystal is not operating in excessive drive level specified by crystal manufacturer. Otherwrise, the crystal will age quickly and that in turn will affect the operating frequency of the cyrstal. Drive level = 1/2 ( 2πf x CL x V )2 x RS RS : Motion resistance is Ω. ( < 50 Ω) V: Operating voltage of crystal oscillator circuit. f: Crystal operating frequency (14.31818 MHZ). For the detail consideration of crystal oscillator design, please refer AN-06. 10 Rev 1.0 7/9/99