1. Field of the Invention
The present invention relates to a memory controller for driving liquid crystal display devices, and, in particular, to a controller that achieves better memory utilization while simultaneously reducing the multiplex ratio of programmable multiplex ratio solutions of the memory device.
2. Description of the Related Art
In driving a liquid crystal display (LCD), a multiplex method is typically used where the display dots of the LCD are divided into a number of groups. Each group is provided with a common electrode, which is usually a row electrode. The common electrodes are sequentially selected to drive the dots of the group, thereby producing a pattern on the LCD. By using this multiplex method, problems with driving large LCDs are avoided, such as layout pattern limitations, among others.
A typical pulse waveform is illustrated in
A typical LCD 10 is shown in FIG. 2 and comprises the following components. A RAM memory 12 is comprised of a number of memory cells, and stores data ultimately written to a display screen 30. The memory 12 is supplied by an interface logic 14, which itself receives instructions from a set of programming inputs. The interface logic 14 also provides signals to a control logic component 16, which has another input from a timing generator 18, itself receiving an input from an oscillator input.
Data from the memory 12 is presented to a series of NC data latches 20, where NC represents the number of columns displayed by the standard LCD display unit. Coupled to the set of data latches 20 is a set of shift registers 22, which also receives signals from the control logic 16. The set of shift registers 22 is NR bits wide, where NR indicates the number of rows in the standard LCD display unit.
Output from the data latches 20 is fed to a column driver circuit 24, and output from the shift registers 22 is fed to a row driver circuit 26. The row driver circuit 26 also receives a signal from the control logic 16. There are NC separate column drivers in the column driver circuit 24 and NR separate row drivers in the row driver circuit 26.
The column outputs from the column driver 24 and the row outputs from the row driver circuit 26 are sent to an LCD display unit 30 for display. These column and row outputs are the interface between the LCD 10 and the LCD display unit 30.
Shown in
Sometimes the size of the memory is determined by the maximum column size needed and the maximum number of rows needed. Occasionally, the user was forced to modify the size of the memory by the number of contact pads that were available on the chip, oftentimes leaving portions of the memory unused.
In many prior LCD controllers a feature is present that enables a programmable multiplex ratio in order to address many different LCD display types. Multiplex ratio modification affects the LCD controllers in several ways.
First, modifying the multiplex ratio requires that the voltage levels be adapted in order to guarantee optimum optical contrast at the minimum energy absorption. This reduces the overall power requirements of the LCD controllers because the voltage can be optimized so that a minimum of less energy is absorbed by the LCD display screen.
Second, the number of voltage pulses generated during the time of one frame, which is the time period needed to completely refresh all of the display rows, must be adapted accordingly. This preserves a quality image displayed on the LCD display.
Third, the time slice devoted to a single row increases linearly with the multiplex ratio reduction, and in an opposite way, decreases linearly with an increase in the multiplex ratio. This can be seen in reference to FIG. 1.
Fourth, if the multiplex ratio is reduced, fewer rows of the LCD display are used (also seen in
The last point is measured by a relationship comparing memory that is used to a total amount of available memory:
(used memory)/(available memory) (1)
As the multiplex ratio decreases, the amount of memory that is unused increases. Therefore, the above relation is reduced.
Alternatively, applications are sometimes required to combine a small number of rows (low multiplexing factor), thereby creating a large number of columns.
Prior LCD controllers, in an effort to provide flexibility for several multiplexing options, provided an amount of memory that is as large or larger than would be necessary for driving the display in any possible row/column configuration.
For example, as seen in
A problem with the above scheme of the prior art is that the ratio in equation (1) will always be less than unity, and oftentimes much less.
An additional problem with the above scheme is that a different sized memory is used, that is the memory 32 has NC1 bits per row while the memory 12 has NC bits per row. It would be desirable to use a standard size memory for all different types of LCD controllers, rather than having to customize the memory for each display type.
The technical problem solved by the present invention is to provide a configurable, flexible LCD controller adaptable to a wide variety of multiplexing ratios while at the same time maximizing the use of available memory.
The embodiments of the present invention are directed to an architecture able to sequentially access two memory rows and to “fold” them by realigning them into a virtual longer single memory row. Various multiplexing ratios are available suitable for a variety of applications, all the while increasing the utilization of the memory. Additionally, this architecture uses minimal architecture and may be easily integrated with present circuits, and will not affect the system timing.
In accordance with one embodiment of the invention, a memory controller for a display is provided that includes an auxiliary set of registers configured to temporarily store a first portion of data received from a RAM memory after receiving a slave clock signal, the auxiliary registers further configured to output the first portion of data into a set of second drivers converted to a set of first drivers after receiving a master clock signal.
In accordance with another aspect of the foregoing embodiment, a memory controller for a display is provided that includes a set of first drivers; a set of second drivers, a portion of which can be converted to the first driver; a RAM memory structured to accept data at an input and output the data to the sets of first and second drivers when a master clock signal is received at the RAM memory; a clock signal generator structured to generate the master clock signal and a slave clock signal; a control signal generator circuit configured to generate control signals for the RAM memory and the sets of first and second drivers; and a set of auxiliary registers structured to temporarily store a first portion of the data received from the RAM memory after receiving the slave clock signal, and further structured to output the first portion of data into the portion of the second drivers converted to the first set of drivers after receiving the master clock signal.
In accordance with another embodiment of the invention, a method of using folded memory addressing in a liquid crystal display controller comprising a RAM memory, first and second sets of drivers, and a clock signal generator capable of generating master and slave clock signals is provided. The method includes converting a portion of the second set of drivers to the first set of drivers; after a storing clock signal is received storing data from the RAM memory into the first set of drivers and the converted set of second drivers; and transferring the data stored in the first and second converted set of drivers into the liquid crystal display and temporarily storing the data to be stored into the converted set of drivers into an auxiliary memory prior to transferring the data stored in the RAM memory into the first set of drivers.
The characteristics and advantages of the device according to the invention will be seen from the description, following herein, of an embodiment given as an indication and not limiting with reference to the drawings attached.
The invention is described with reference to the following drawings, in which:
a and 6b are a block diagram showing components used in a folded memory architecture according to the invention;
a, 7b, and 7c are timing diagrams showing different signals in the inventive LCD controller in various configurations; and
a and 9b are charts showing percentage of useable memory used, for both folding and non-folding techniques.
Portions of an LCD controller 50 according to the invention are shown in FIG. 5. The column drivers 24 appear as they did in the earlier circuit shown in
Additionally, the LCD controller 50 includes a set of shadow registers 52, shown near the converted row drivers 26b.
Any data from a new logical row that exceeds a physical row will be stored in the shadow registers for one clock cycle prior to being loaded into the converted drivers 26b, as discussed below.
With reference to
In
In
The inventive architecture does not change the system clock frequency, other than the information throughput towards the LCD display scales down according to the multiplex ratio programmed.
With reference to
In
In
c has the same operations as
When used, the shadow registers 52 always are updated with the same frequency as the column drivers 24, and converted drivers 26b, but the shadow registers are always updated one clock cycle earlier.
A flowchart showing the operations of the inventive control circuit is shown in FIG. 8. In that Figure, a system 100 begins at a start block 102. An initialization takes place at a step 104 and a check is made in a step 106 until the initialization is complete.
After the system 100 is initialized, it goes to a state 108 to check for the slave clock signal, which was shown in
In a step 116, an auxiliary memory word is loaded into the shadow registers 52. This corresponds to what was shown in
A step 120 checks for a master clock signal and a step 122 waits until the master clock signal is received. Once the master clock signal is received in step 122, the primary and auxiliary output ports of the memory 62 are enabled in steps 124 and 126, respectively.
Next, in a step 128 the memory 62 loads the primary memory word into the primary output port, which are the column drivers 24. The memory 62 also directs the shadow registers 52 to transfer their contents into the converted drivers 26b. This corresponds to what was shown in
In a step 130, the virtual memory word stored in the converted drivers 26b and the column drivers 24 is directed to the LCD display 30 and is displayed. Simultaneously, a memory pointer in the memory 62 is updated to point to the next primary word address.
For each multiplex ratio≦∝*NR (∝=2−k, where k is an integer>0) the inventive solution allows the memory cells in the memory 62 to be efficiently used, so that up to 2*NC columns can be driven, if there are no other limitations, for instance too few pads, wiring issues, etc.
The range of possible solutions with whatever multiplexed configuration is selected have a number of usable columns bounded to:
(Available Pins−Row Pins used)=(NC+NR)−NRU (2)
If a memory row is accessed with full parallelism, i. e., if a memory row read operation that issues NC bits at a time can be accomplished in only one clock cycle, then NRUmax cannot be larger than NC/2 because to generate one virtual memory row, two physical rows are needed that are sequentially accessed.
Using this method, the physical memory shape factor of NC/NR can be virtually shaped anywhere from:
(NC+NR−NRUmax)/NRUmax (3)
to (NC+NR−NRUmin)/NRUmin (4)
where NRUmax is NC/2, and NRUmin is the minimum number of rows allowed.
Equations 3 and 4 provide the lower and upper limit of the virtual shape of the memory.
As an example, if NC=128 and NR=64, and the minimum number of rows is 8, then the shape factor spreads from, using equations (3) and (4), 128/64 to 184/8.
Then, substituting these numbers into the memory use efficiency equation (1), a memory use range is established from
((NC+NR−NRUmax)*(NRUmax))/((NC)*(NR)) (5)
to ((NC+NR−NRUmin)*(NRUmin))/((NC)*(NR)) (6)
Substituting the same figures as above, NC=128, NR=64, NRUmax=NC/2 and NRUmin=8, then equations (5) and (6) yield efficiency values from:
1(@ NRU=64)>efficiency>0.18(@NRU=8) (7)
If no folding mechanism was used, and the minimum 8 LCD rows were accessed, the memory use efficiency, substituting the values into equation (1) yields:
Thus, using the inventive folding technique, when only 8 LCD rows are accessed, the efficiency rises from 0.126 to 0.18, a 30% increase.
a and 9b show a mathematical plot of how much memory can be saved by using the inventive folding technique over the standard non-folding technique.
a is a graph showing the savings when the number of rows equals the number of columns, or NR=NC.
Important features on these graphs are η0, η1, and η2, which show the relationship of used memory to available memory when using the folding technique (η1, η2), and when not using the folding technique (η0). Note how in both cases (
Derivation of the plotted function η begins at equation (1) above, and proceeds as follows:
Step 1 (Used memory)/(Available memory)
Step 2 (Available Columns*used Rows)/(Std. Cols*Std. Rows)
Step 3 ((Available pins−used rows)*used rows)/(NC*NR)
Step 4 (((NC+NR)−NRU)*NRU)/(NC*NR)
Step 5 ((NC/NR)+(NR/NR)−(NRU/NR))*(NRU/NR)/(NC/NR)
Step 6 ((NC/NR)+1−∝)*∝*(NR/NC)
Step 7 (NR/NC)*((NC/NR)+1−∝)*∝
Step 8 (1+(NR/NC)−∝*(NR/NC))
Step 9 ∝+∝(1−∝)(NR/NC)==η(∝; (NR/NC))
Then η was plotted for different values of NR/NC at
Therefore, by using this new technique, much higher memory usage rates can be attained than by using conventional techniques. This allows greater flexibility for producing output on the LCD display 30, and can ultimately make a more useful device than by using conventional methods.
From the foregoing it will be appreciated that, although specific embodiments of the invention have been described herein for purposes of illustration, various modifications may be made without deviating from the spirit and scope of the invention. Accordingly, the invention is not limited except as by the appended claims and the equivalents thereof.
Number | Date | Country | Kind |
---|---|---|---|
00830587 | Aug 2000 | EP | regional |
Number | Name | Date | Kind |
---|---|---|---|
4737782 | Fukuma et al. | Apr 1988 | A |
5627559 | Tsuboyama et al. | May 1997 | A |
5748175 | Shimada et al. | May 1998 | A |
5844539 | Kitagawa | Dec 1998 | A |
6236388 | Iida et al. | May 2001 | B1 |
Number | Date | Country | |
---|---|---|---|
20020057240 A1 | May 2002 | US |