Application Note Crystal Clear and Visibly Superior LCD Modules Voltage Generating Circuits for LCD Contrast Control Many LCD display modules require a negative or positive voltage that is higher than the logic voltage used to power an LCD. This voltage, called Vl, Vee or the bias voltage, would require a second power supply in the application device. If this power source is not available the LCD bias voltage must be generated from an existing voltage, either the logic voltage (+3.0-+5v) or a battery. This application note describes circuits for generating either a negative or positive LCD bias voltage from such a voltage source. The LCD bias voltage is used to directly power the circuits that drive the LCD glass. This voltage sets the contrast level of the LCD. Since any changes in this voltage will cause a visible change in the contrast of the LCD it must be regulated to better than about 200mV. Any noise or ripple on this signal may cause visible artifacts on the LCD so they must be kept below about 100mV. Simple charge pump circuits. The simplest and least expensive way of generating an LCD bias voltage is with a charge pump circuit. A charge pump generates a voltage that is some multiple of the peak to peak voltage of the input square wave. The output can be either positive or negative. These simple circuits can be used to generate the bias voltage for character type displays and small graphics types. They have the advantage of being very low in cost but are not regulated and cannot deliver much current. They are also sensitive to variations in the source voltage (Vdd) so it cannot be driven directly from a battery. The driving signal is usually derived from an existing clock signal or generated directly by an I/O pin on a microprocessor. The frequency of the signal can be anywhere from about 1kHz to 50kHz or higher. If the signal is above about 5kHz the simple 1N4148 diodes should be replaced by Schottky diodes such as the 1N5817. The capacitors should also be upgraded to low ESR types. The device generating the signal must be capable of delivering the load current times the multiplication value. In the circuit in Figure 1 driving a small character display the input signal should be able +5v * 47uF to sink and source at least 4mA. 0v Figure 1 shows a simple charge pump circuit that generates a negative 4v from a positive 5v square wave. It is suitable for driving the Vl line on an extended temperature LCD character module. 10k + * 1N4148 1N5817 * 22uF CONTRAST CONTROL Figure 1 Adjustable voltage inverter. It might be desirable to allow the end user of a product to have access to the contrast adjustment. The circuit in Figure 2 utilizes a pot to adjust the contrast voltage from 0v to -12v The voltage output can be set to any range of voltages within the 0 to -12v limits by adding one or two resistors in series with the pot. The total resistance of the pot and any added resistors should not exceed 50k. If the end user is not to have control of the contrast the pot can be substituted with a fixed resistor to set the voltage to the Copyright 2001, Hantronix,Inc.All rights reserved LCD to give the best contrast, which would also eliminate the need to adjust a pot during production. The efficiency is high enough to be used with battery operated equipment and the output can drive most small graphics displays, up to about 240x64 pixels resolution. +5v + 10µF 1 14 13 +VS +VS +VS 2 ON/OFF LX VLCD 0 to-12V 12 + 47µF* 30v 50k CONTRAST addition. 33µH** MAX759 CC 7 9 DRV- 5.1k Digitally adjustable inverter. VREF GND 10 Some applications require the user to have control of the contrast but do not lend themselves to using a pot to make the adjustment. The circuit in Figure 3 allows a micro controller to adjust the VL voltage in a very simple manner. It also provides an input to shut off the negative voltage so the display can be shut down by the micro controller if desired. This shutdown signal can also be used to properly sequence the power to the display during power-up and powerdown sequences. 1N5819 11 LX SHDN 3 .047 µF * TantalumorlowESRaluminumelectrolytic ** Less than 0.25 ohms DC resistance. Figure 2 +5v + 10µF 0.25Ω 1 +VS 2 ADJUST 3 ON/OFF ADJ CS CTRL DHI 8 7 ZTX750 1N5819 MAX749 4 RVMAX VLCD FB 470Ω DLOW 220pF 47µH** 6 + 22µF* 30v GND 5 Figure 3 ON/OFF signal. A logic 0 on this pin will turn the display off by removing the VL voltage. If this signal is not needed, tie pin 3 to +5v. * TantalumorlowESRaluminumelectrolytic ** Less than 0.3ohmsDCresistance. Output voltage control. The maximum voltage is set using a single resistor, RVMAX. See Table #1. The Table 1 MAX OUTPUT VOLTAGE RVMAX (ohms) -5V 240k -8V 360k -12V 580k -15V 750k output can then be adjusted from 33% to 100% of this value using the internal 64-step DAC / counter. On power-up or after a RESET command the output voltage is set to mid-range which is 67% of the maximum voltage. Each rising edge of the ADJUST signal increments the DAC output. When the DAC reaches 100% output, the next pulse will cause it to wrap-around to the 33% value. Copyright 2001, Hantronix,Inc.All rights reserved ADJUST ON/OFF tRS tR ON RESET tRH ON tR = Minimum pulse width, 25nS typ. 85nS max. tRS,tRH = Minimum setup/hold, 0nS min., 0nS min. Figure 4 A RESET is accomplished by setting the ADJUST line high and then setting the ON/OFF line low for longer than 400nS. See Figure 4. High Voltage Circuits for Larger Panels Modern quarter VGA to full VGA size panels require Vee voltages above 20v. Most monochrome panels require a negative Vee voltage while most color panels require a positive voltage. Many of these panel types are used in hand held, battery operated, applications and require very efficient conversion using a supply voltage that changes as the charge on the batteries is gradually depleted. The semiconductor manufactures have responded to this need with new devices made especially for this application. While the voltage converter can be 1N5819 47µH** done “in-house” it is usually V +V not economical to do so because of the complexity of + a circuit that has the 2.2mΩ 10µF 1 5 regulation qualities and the +V SW efficiency required. LCD IN IN + 2.2µF* 35v Figure 5 is a circuit based on the Linear Technologies 3 LT1615 series chips. The FB 4 circuit shown here generates SHDN a positive voltage for a small 130kΩ GND quarter VGA (320x240) color 2 graphics display that might * TantalumorlowESRaluminumelectrolytic Figure 5 be used in a palm sized PC ** Less than 0.3ohmsDCresistance. running Windows CE. A negative voltage version is also available, the LT1617. The manufacture’s specification for an LCD of this type, such as the Hantornix HDM3224C-S, calls for a Vee voltage of +24v at about 10mA. The device in this example runs from a pair of AA batteries and must produce a stable output voltage with an input that varies from 2.0v to 3.2v. LT1615 General circuit considerations Copyright 2001, Hantronix,Inc.All rights reserved All components associated with the circuits in Figures 2, 3 and 5 should be placed physically close to the IC. The decoupling capacitor on the input voltage line should be placed as close to the VIN and GND pins of the IC as possible. Power Sequencing Considerations The order in which the power supplies are applied to an LCD, power sequencing, must be considered when designing an LCD bias power supply. The power sequencing requirement can be summarized by stating that the VEE (VL ) must never be present without VDD also being present. If this condition exists, even for a short period of time, the display may be permanently damaged. The desired power on sequencing for graphics type LCDs with an external controller is shown in Figure 6. For graphics type LCDs with a built in controller you can ignore the “signal” line as this is taken care of in the controller at power on time. For character displays only the VDD and VEE (V L) lines need be considered. All of the circuits described here, except the charge pump in Figure 1, have provisions to shut down the voltage VDD 0~50ms SIGNALS 0~50ms >20ms >0ms VEE >20ms >0ms DISPOFF Power On Power Off Figure 6 generator with a logic signal. Using this signal the generator IC is kept in the shutdown mode until VDD is stable and the LCD controller has been initialized and has started to scan the display. At this time VEE can be applied to the display safely. The turn off procedure is just the reverse of the turn on procedure. Sources Maxim Integrated Products, Inc. 120 San Gabriel Dr. Sunnyvale, CA 94086 (408) 737-7600 www.maxim-ic.com Linear Technology 1630 McCarthy Blvd. Milpitas, CA 95035 (408) 432-1900 www.liner-tech.com Copyright 2001, Hantronix,Inc.All rights reserved