Utilize the LCDC controller software to realize the control method that EINK is shielded
[technical field]
So the invention belongs to the development technique field of electronic product, refer to that specifically a kind of LCDC of utilization controller software realization to the control method of EINK screen, is applicable to adopt the performance history of Eink screen e-book product.
[background technology]
EINK, generally we are referred to as " electric ink ", and this is a kind of technology, and with the screen that this technology is made, we are referred to as the EINK screen, or perhaps Electronic Paper.Electronic Paper is not a kind of " paper ", and definite says, it is a kind of ultra-thin, ultralight display screen, and its outward appearance and common paper are very approaching, also can fold and roll.We can be interpreted as it " sensitive paper thin, softness, erasable display ".
When speaking of Electronic Paper, will inevitably speak of electronic ink.Image ground says that Electronic Paper is a thin film, and at the charged material of one deck that " is coated with " on the film, this is electronic ink.This also can regard a very thin embedded remote control display board as.Electric ink is exactly with the many black and white particles with positive and negative electricity, is sealed in the microcapsules, because applying the difference of electric field, produces different gatherings in monitor surface, presents black or white effect.
Sensu lato Electronic Paper comprises " paper mold " flexible liquid crystal display, does not have difference with the PC display in essence, and other is with the Electronic Paper that non-liquid crystal technology is realized relatively, and this series products shows slightly inferior position at cost.At present, the electronic ink technologies (electrophoresis-type Electronic Paper) that the best non-liquid crystal electron paper technology of commercialization degree is U.S. EInk company, in addition, BRIDGESTONE (Bridgestone) company adopts the Electronic Paper of electronic powder fluid technique also to obtain the favor of many manufacturers.The Electronic Paper of U.S. EInk company is comprised of electric ink and two plate bases, scribbles a kind of electric ink that is comprised of countless small transparent grains above it, and particle diameter only has half size of people's hairline.After this electric ink was coated onto on paper, cloth or other planar objects, people just can be made hundreds of millions of particle change colors, thereby constantly change pattern and the literal that manifests according to people's setting as long as suitably it shocks by electricity.As long as the color of the intragranular dyestuff of adjustment and micro particle just can make electric ink represent color and pattern comes.
The Electrophoretic display device (Microencap sulated Electrophoretic Display) of U.S. Eink company exploitation.The electrophoresis liquid of the electronegativity particle of the electropositivity particle of floating adularescent and black is encapsulated in the microcapsules of diameter tens micron dimensions, and is fixed in up and down between two parallel plate electrodes, one of them is transparency electrode.Apply electric field to a direction, electropositive white particles will influx transparency electrode, and electronegative black particles is poured into another utmost point, thereby make the observer can see the light of scattering, obtain bright field; Apply round about electric field, white particles will influx opposite electrode black particle and pour into transparency electrode, absorb incident ray, thereby make the observer obtain dark field.By alternately applying electric field, just can realize that the black and white attitude shows.In addition because the physical mechanism of electrophoresis, near charged corpuscle springs up certain electrode after, can be maintained voluntarily a period of time, therefore substantially realized super low-power consumption.The advantage that adopts the Eink screen to do e-book is reduce the reading sensation of paper true to nature, thereby the experience of reading for user class like paper can also realize very low power consumption, fills an electric energy and realizes long reading.Now the e-book major part all is with the Eink screen on the market, such as the Kindle of Amazon, and the Reader of SONY and domestic Chinese king etc.Eink screen can be realized the demonstration of 16 GTGs now, and its realizes that principle that GTG shows mainly is to control the degree of the black and white particle electrophoresis in the electrophoresis capsule by the adjusting to time that discharges and recharges of electrophoresis capsule, thereby realizes the demonstration to different GTGs.Eink screen control signal is comprised of SOURCE signal, GATE signal and power control signal, and the concrete signal line is as follows:
The SOURCE signal forms:
The clock signal of SDCLK:SOURCE driver
The chip selection signal that SDCEL0~SDCEL1:SOURCE drives
The latch signal of SDLE:SOURCE data
SDOE:SOURCE data output enable signal
DATA0~DATA7:SOURCE data
SDSHR: be the shift register direction controller
SHR:SOURCE data direction of displacement
The GATE signal forms:
GDSP: frame start signal
GDCLK:GATE DRIVER clock signal
GDOE:GATE DRIVER output mode is selected
The GDRL:GATE direction of displacement
Power supply signal forms:
PWRALL:-15V ,-20V power control line
The DACLK:+15V power control line
The DADIO:+20V power control line
VCOM: common electric voltage control line
The control signal of the control signal of Eink screen and control procedure and TFT screen and control procedure the spitting image of, but obvious difference is arranged:
Frame data representative is piece image in the TFT screen, and in the Eink screen, piece image is coefficient by the data of a lot of frames, so the brush screen speed of Eink screen is slow.Eink shields concrete frame sequential chart as shown in Figure 1, and the sequential of complete piece image as shown in Figure 2.If want to realize the control to the Eink screen, need TCON (Timer Control Register of redesign, the timer/counter control register) control waveform of Eink screen occuring, realizes control to Eink and can only take the ripe main control chip a plug-in special Eink to drive slice, thin piece for one.This has just increased the cost of whole scheme.
[summary of the invention]
Technical matters to be solved by this invention is to provide a kind of LCDC of utilization controller software to realize the control method that EINK is shielded, employing has the LCDC controller software simulation Eink screen control sequential of master control now, just need not redesign main control chip or the plug-in control that the driving slice, thin piece is realized Eink is shielded.
The present invention solves above-mentioned technical matters by the following technical solutions:
Utilize the LCDC controller software to realize the control method of EINK screen is comprised the steps:
Step 1: the sequential of Eink screen is changed into data:
Be the CLK input with the HSYNC in the LCDC control as the CL pin of Eink screen, each interface that other several signals are shielded by each interface of LCDC and Eink is corresponding to come analog input;
Step 2: output on the Eink screen from LCDC:
If the signal wire of Eink screen is high level, the DATA line of corresponding LCDC is put 1, if the signal wire of Eink screen is low level, the DATA line of corresponding LCDC is set to 0.
Preferably, each interface of each interface of LCDC and Eink screen is as follows to just concerning in the described step 1:
DB0~DB7 of the D0~D7:LCDC of Eink screen;
The DB8 of GMODE1, GMODE2 (GDOE): the LCDC of Eink screen;
The LE (SDLE) of Eink screen: the DB9 of LCDC;
The OE (SDOE) of Eink screen: the DB10 of LCDC;
The CE3 (SDCEL2) of Eink screen: the DB11 of LCDC;
The CE2 (SDCEL1) of Eink screen: the DB12 of LCDC;
The CE1 (SDCEL0) of Eink screen: the DB13 of LCDC;
The DB14 of U1CKV1, U1CKV2 (GDCLK): the LCDC of Eink screen;
The DB12 of U1SPV1, U1SPV2 (GDSP): the LCDC of Eink screen.
The invention has the advantages that: convert the sequential of Eink to data, from the data line output of LCDC.So just can need not add other driving chip at the basis of existing LCDC driving Eink screen, thereby have the master control with the LCDC driver to realize the driving that Eink shields any.
[description of drawings]
The invention will be further described in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is Eink frame sequential chart.
Fig. 2 is the complete image sequential chart of Eink.
Fig. 3 is the MCU screen interface schema of LCDC.
Fig. 4 is the SOURCE sequential chart of Eink screen.
Fig. 5 is the GATE sequential chart of Eink screen.
Fig. 6 is the image sequential chart of one embodiment of the invention Eink screen.
[embodiment]
The LCDC controller generally can be controlled RGB screen and MCU screen, below the control sequential of just shielding with MCU among the LCDC simulate the control sequential that Eink shields.The interface of the MCU screen of LCDC as shown in Figure 3.The interface of Eink screen is generally as shown in table 1:
Table 1
Pin# | signal |
Description | |
1 |
VNEG |
Negative power supply source driver |
2 |
VPOS |
Positive power supply source driver |
3 |
VSS |
Ground |
4 |
VDD |
Digital power supply drivers |
5 |
CL |
Clock source driver |
6 |
LE |
Latch enable source driver |
7 |
OE |
Output enable source driver |
8 |
SHR |
Shift direction source driver |
9 |
NC |
NO Connection |
10 |
NC |
NO Connection |
11 |
SPH |
Start pulse source driver |
12 |
D0 |
Data signal source driver |
13 |
D1 |
Data signal source drive |
14 |
D2 |
Data signal source drive |
15 |
D3 |
Data signal source drive |
16 |
D4 |
Data signal source drive |
17 |
D5 |
Data signal source drive |
18 |
D6 |
Data signal source drive |
19 |
D7 |
Data signal source drive |
20 |
NC |
NO Connection |
21 |
NC |
NO Connection |
22 |
VCOM |
Common connection |
23 |
GVDD |
Positive power supply gate driver |
24 |
GVEE |
Negative power supply gate driver |
25 |
NC |
NO Connection |
26 |
NC |
NO Connection |
27 |
GMODE2 |
Output mode selection gate driver |
28 |
GMODE1 |
Output mode selection gate driver |
29 |
RL |
Shift direction gate driver |
30 |
U1CE2 |
Caseade sequence 1st gate driver |
31 |
U1CE1 |
Cascade sequence 1st gate driver |
32 |
U1SPV |
Start pulse 1st gaet driver |
33 |
U1CKV |
Clock 1st gate driver |
34 |
VBORDER |
Border connection |
35 |
U2CE2 |
Cascade sequence 2nd gate driver |
36 |
U1CE1 |
Cascade sequence 2nd gate driver |
37 |
U2SPV |
Start pulse 2nd gate driver |
38 |
U2CKV |
Clock 2nd gate driver |
39 |
NC |
NO Connection |
With the CLK input (CL pin) of the HSYNC in the LCDC control as the Eink screen, other several signals come analog input by DATA0~DATA17 of LCDC.Concrete is corresponding as shown in table 2:
Table 2
D0~D7 |
DB0~DB7 of LCDC |
GMODE1、GMODE2(GDOE) |
The DB8 of LCDC |
LE(SDLE) |
The DB9 of LCDC |
OE(SDOE) |
The DB10 of LCDC |
CE3(SDCEL2) |
The DB11 of LCDC |
CE2(SDCEL1) |
The DB12 of LCDC |
CE1(SDCEL0) |
The DB13 of LCDC |
U1CKV1、U1CKV2(GDCLK) |
The DB14 of LCDC |
U1SPV1、U1SPV2(GDSP) |
The DB12 of LCDC |
The SOURCE sequential chart of Eink screen as shown in Figure 4, the GATE sequential chart of Eink screen is as shown in Figure 5.
Groundwork of the present invention is exactly the sequential of SOURCE and GATE among simulation drawing 4 and Fig. 5.LCDC can output image to the display screen its essence be exactly to export the data of this image, therefore, the present invention converts the sequential of Eink to data, outputs on the Eink screen from LCDC.If this signal wire is high level, the DATA line of corresponding LCDC is put 1, if this signal wire is low level, the DATA line of corresponding LCDC is set to 0.Such as OE (SDOE) at this moment is low, according to the line of table 1 with the DB10 position 0 among the LCDC.Specific to the simulation of all signals, the sequential of lifting Fig. 6 is example.The signal of Fig. 6 is divided into 4 parts, is respectively the part that colored dotted line marks, and according to the line of table 1, these image first data are 0x8000, and second portion is 0x3100, and third part is 0x1100, and the 4th part is 0x0100.At last decide the number of times that send according to the number of times that high-low level continued again.Such as, if Fig. 6 first continue 10 CLK, second portion is 5 CLK, the 3rd is not divided into 4 CLK, the 4th part is 10 CLK, then is that the data that realize Fig. 6 sequential are
0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x3100,0x3100,0x3100,0x3100,0x3100,0x1100,0x1100,0x1100,0x1100,0x0100,0x0100,0x0100,0x0100,0x0100,0x0100,0x0100,0x0100,0x0100,0x0100,0x0100
Top data communication device is crossed LCDC output, just can obtain the sequential of Fig. 6.
Therefore, the sequential with Eink changes into the control sequential that data just can simulate at LCDC Eink.
The present invention converts the sequential of Eink to data, from the data line output of LCDC.So just can need not add other driving chip at the basis of existing LCDC driving Eink screen, thereby have the master control with the LCDC driver to realize the driving that Eink shields any, save cost.