Summary of the invention
It is an object of the invention to provide a kind of OLED display screen and display control unit thereof, it is intended to solve existing OLED and show
The interface sequence that display screen uses MCU to control display module can take MUC bus resource, and due to MCU interface type limited thus
Cause the problem that the extensibility of display module is poor.
The present invention is achieved in that the display control unit of a kind of OLED display screen, with showing of described OLED display screen
Showing that module connects, described display control unit includes: main control module, display control module and power module;Described display controls
Module is programmable logic controller (PLC) part;
The power end of described main control module and communication ends respectively with the first outfan and the described display of described power module
First communication ends of control module connects, and the second communication ends of described display control module, power end and electrifying timing sequence control end
Controlled end with the communication ends of described display module, the second outfan of described power module and described power module connects respectively
Connecing, the 3rd outfan of described power module is connected with the power end of described display module;
Described power module is that described main control module, described display control module and described display module are powered;Institute
State display control module electrifying timing sequence, communication interface sequential and the initialization procedure of described display module are controlled, meanwhile,
The view data that described main control module exports is cached by described display control module, and has powered at described display module
After, described view data is encapsulated as corresponding OLED video data, and by the output of OLED video data to described display module,
So that described OLED video data is shown by described display module.
Present invention also offers a kind of OLED display screen, including display module, described OLED display screen also includes above-mentioned
Display control unit.
The present invention includes the display of main control module, display control module and power module by using in OLED display screen
Control device, display control module electrifying timing sequence, communication interface sequential and the initialization procedure of display module be controlled,
By display control module, the view data that main control module exports is cached, and after display module has powered on, by image
Data are encapsulated as corresponding OLED video data, and export OLED video data to display module, so that display module pair
OLED video data shows, owing to display control module uses programmable logic controller (PLC) part, it has powerful interface
Resource, therefore, the different interface sequence of display module configuration that can be directly different by display control module, exploitation simple and
Highly versatile, has saved the bus resource of main control module simultaneously.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, right
The present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, and
It is not used in the restriction present invention.
The embodiment of the present invention includes main control module, display control module and power module by using in OLED display screen
Display control unit, display control module electrifying timing sequence, communication interface sequential and the initialization procedure of display module are entered
Row controls, display control module the view data that main control module exports cached, and after display module has powered on,
View data is encapsulated as corresponding OLED video data, and OLED video data is exported to display module, so that display mould
OLED video data is shown by block, and owing to display control module uses programmable logic controller (PLC) part, it has powerful
Interface resource, therefore, the different interface sequence of display module configuration that can be directly different by display control module, exploitation letter
List and highly versatile, saved the bus resource of main control module simultaneously.
Fig. 1 shows the modular structure of the display control unit that the embodiment of the present invention provides, and for convenience of description, only illustrates
The part relevant to the embodiment of the present invention, details are as follows:
The display control unit 1 of a kind of OLED display screen, is connected with the display module 2 of OLED display screen, and display controls dress
Put 1 to include: main control module 10, display control module 11 and power module 12.
Wherein, display control module 11 is programmable logic controller (PLC) part.
The power end of main control module 10 and communication ends respectively with the first outfan and the display control module of power module 12
First communication ends of 11 connects, and the second communication ends of display control module 11, power end and electrifying timing sequence control end respectively with aobvious
Show that the controlled end of the communication ends of module 2, the second outfan of power module 12 and power module 12 connects, the of power module 12
Three outfans are connected with the power end of display module 2.
Power module 12 is that main control module 10, display control module 11 and display module 2 are powered;Display control module
The electrifying timing sequence of 11 pairs of display modules 2, communication interface sequential and initialization procedure are controlled, meanwhile, and display control module 11
The view data that main control module 10 exports is cached, and after display module 2 has powered on, view data is encapsulated as phase
The OLED video data answered, and OLED video data is exported to display module 2, so that display module 2 is to OLED video data
Show.
In embodiments of the present invention, programmable logic controller (PLC) part is specifically as follows FPGA (Field-Programmable
Gate Array, field programmable gate array).FPGA has powerful interface resource, can be different display moulds by FPGA
The interface sequence that block is differently configured, one piece of FPGA can compatible most OLED display screen, highly versatile, and exploitation is simple high
Effect.
In actual applications, the model of FPGA can be EP2C8, and certainly, FPGA can also use other can realize being similar to
The chip of function, does not limits.
In embodiments of the present invention, display control module 11 is by controlling power module 12 when display module 2 is powered
Sequence and then be controlled the electrifying timing sequence of display module 2, meanwhile, display control module 11 also communication to display module 2 connects
Mouth sequential and initialization procedure are controlled.Concrete, after system reset, display control module 11 controls power module 12 and is
The logic power of display module 2 is powered;After the logic power of display module 2 powers on, display control module 11 is to display module 2
In depositor initialize;After initialization of register completes, after the preset lime, display control module 11 controls electricity
Source module 12 is that the door of display module 2 drives power supply to power.Meanwhile, the image that main control module 10 is exported by display control module 11
Data cache, and after display module 2 has powered on, view data are encapsulated as corresponding OLED video data, and will
OLED video data exports to display module 2, so that OLED video data is shown by display module 2.
In actual applications, Preset Time can be configured according to the actual requirements, for example, it is possible to arrange Preset Time is
After 10ms (millisecond), i.e. 10ms after the depositor in display module 2 is initialized by display control module 11, display
Control module 11 controls the door that power module 12 is display module 2 and drives power supply to power.
In actual applications, main control module 10 can use the micro-control unit with MCU as core, it would however also be possible to employ other
The microprocessor of type, does not limits.
Fig. 2 shows the modular structure of the display control unit that another embodiment of the present invention provides, for convenience of description, only
Showing the part relevant to the embodiment of the present invention, details are as follows:
As one embodiment of the invention, display control module 11 includes: memory analysis unit 110, internal storage location 111, number
According to encapsulation initialization unit 112 and electrifying timing sequence control unit 113.
First communication ends that first communication ends is display control module 11 of memory analysis unit 110, internal storage location 111
Communication ends and data output end respectively with the second communication ends and the data encapsulation initialization unit 112 of institute memory analysis unit 110
Data input pin connect, data encapsulation initialization unit 112 the second communication ends that communication ends is display control module 11, on
The electrifying timing sequence that outfan is display control module 11 of electricity timing control unit 113 controls end.
After system reset, electrifying timing sequence control unit 113 controls the logic power that power module 12 is display module 2 and supplies
Electricity.
After the logic power of display module 2 powers on, data encapsulation initialization unit 112 is to depositing in display module 2
Device initializes.
After initialization of register completes, electrifying timing sequence control unit 113 controls the door that power module 12 is display module 2
Driving power supply is powered.
The view data that main control module 10 exports is extracted and by view data caching to interior by memory analysis unit 110
Memory cell 111;After the door of display module 2 drives power supply electrifying, data encapsulation initialization unit 112 monitors internal storage location in real time
The storage state of 111, when in internal storage location 111, storage has view data, data encapsulation initialization unit 112 is by view data
It is encapsulated as corresponding OLED video data, and OLED video data is exported to display module 2, so that display module 2 is to OLED
Video data shows.
In actual applications, internal storage location 111 is specifically as follows RAM (Random Access Memory, random access memory is deposited
Reservoir), it is also possible to for other kinds of memorizer, do not limit.
As one embodiment of the invention, memory analysis unit 110 is additionally operable to the storage state according to internal storage location 111 to master
The data transmission state of control module 10 is controlled.
Concrete, when residual memory space internal storage location 111 being detected is more than or equal to preset storage threshold value, internal memory
Analytic unit 110 exports first data transmission control instruction, main control module 10 according to first data transmission control instruction by image
Data export to memory analysis unit 110.
When residual memory space internal storage location 111 being detected is less than and presets storage threshold value, memory analysis unit 110 is defeated
Going out the second transmission control instruction, main control module 10 stops to internal memory analytic unit 110 output figure according to the second transmission control instruction
As data.
In embodiments of the present invention, presetting storage threshold value can be configured according to practical situation, does not limits.
Fig. 3 shows the modular structure of the display control unit that yet another embodiment of the invention provides, for convenience of description, only
Showing the part relevant to the embodiment of the present invention, details are as follows:
As one embodiment of the invention, data encapsulation initialization unit 112 includes initializing subelement and view data envelope
Dress subelement 1120.
The data input pin of view data encapsulation subelement 1120 is the data input of data encapsulation initialization unit 112
End, the data transmission terminal of view data encapsulation subelement 1120 and the communication ends of initialization subelement constitute data encapsulation and initialize
The communication ends of unit 112.
After the logic power of display module 2 powers on, initialize subelement and the depositor in display module 2 is carried out initially
Change.
After the door of display module 2 drives power supply electrifying, internal storage location monitored in real time by view data encapsulation subelement 1120
The storage state of 111, when in internal storage location 111, storage has view data, view data encapsulation subelement 1120 is by picture number
According to being encapsulated as corresponding OLED video data, and OLED video data is exported to display module 2, so that display module 2 is right
OLED video data shows.
The embodiment of the present invention additionally provides a kind of OLED display screen, and including display module 2, this OLED display screen also includes
The display control unit 1 stated.
The embodiment of the present invention includes main control module, display control module and power module by using in OLED display screen
Display control unit, display control module electrifying timing sequence, communication interface sequential and the initialization procedure of display module are entered
Row controls, display control module the view data that main control module exports cached, and after display module has powered on,
View data is encapsulated as corresponding OLED video data, and OLED video data is exported to display module, so that display mould
OLED video data is shown by block, and owing to display control module uses programmable logic controller (PLC) part, it has powerful
Interface resource, therefore, the different interface sequence of display module configuration that can be directly different by display control module, exploitation letter
List and highly versatile, saved the bus resource of main control module simultaneously.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention
Any amendment, equivalent and the improvement etc. made within god and principle, should be included within the scope of the present invention.