CN100527214C - A device and method for color information display - Google Patents

A device and method for color information display Download PDF

Info

Publication number
CN100527214C
CN100527214C CNB2006100334652A CN200610033465A CN100527214C CN 100527214 C CN100527214 C CN 100527214C CN B2006100334652 A CNB2006100334652 A CN B2006100334652A CN 200610033465 A CN200610033465 A CN 200610033465A CN 100527214 C CN100527214 C CN 100527214C
Authority
CN
China
Prior art keywords
signal
mcu
osd
field sync
line synchronizing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2006100334652A
Other languages
Chinese (zh)
Other versions
CN101009088A (en
Inventor
刘陟
叶计安
谢丽琴
杨小红
石岭
刘云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Arkmicro Technologies Inc
Original Assignee
Arkmicro Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Arkmicro Technologies Inc filed Critical Arkmicro Technologies Inc
Priority to CNB2006100334652A priority Critical patent/CN100527214C/en
Publication of CN101009088A publication Critical patent/CN101009088A/en
Application granted granted Critical
Publication of CN100527214C publication Critical patent/CN100527214C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

This invention relates to one color information display device and method, wherein, the device comprises the following parts: one visual MCU with OSD function to control OSD module and clock and whole system operation; one clock generation chip to generate CRT display row field simultaneous signals to generate OSD signal to drive CRT display; one CRT display interface and CRT display device. This invention device also comprises key of I/O interface and infrared receive part to realize human to machine interacting.

Description

A kind of device and method of color information display
Technical field
The invention belongs to the video display system field, be specifically related to a kind of on CRT the system and method for display color character information.
Background technology
In some specific occasions, usually need to show some character informations, be used as information, purposes such as prompting or advertisement.Such as train number's display message in railway station, air station flight order of classes or grades at school information, the exchange quotation of stock market, deposit at bank interest rate or the like.In these occasions, the requirement that shows is that the information that shows is not only clear, eye-catching, and will supports to dynamically update, even also require friendly human-computer interaction function in some occasion.But these occasion content displayed are often fairly simple on the whole, and based on Word message.For satisfying above different requirements, many different solutions have been produced to display message.
A kind of existing technology is to adopt CRT as display terminal, and the CPU that uses the X86 framework adds video card as controller, and other peripheral hardwares such as hard disk constitute total systems.In this system, the information that needs to show is produced by microsystem, is sent to CRT through video card and goes up demonstration.The advantage of this method is to show the information of more complicated, can revise displaying contents easily by software, provide friendly man-machine interface easily, and display effect is good, and its shortcoming is that system cost is higher, and volume is also bigger.
Another kind of existing technology is to adopt monochromatic LCD as display terminal, as controller, adds peripheral hardware construction systems such as LCD chip for driving with single-chip microprocessor MCU.This mode stores display message in the storage space of single-chip microcomputer expansion, with Single Chip Microcomputer (SCM) program control, information is delivered to LCD show.The advantage of this mode is that system cost is very low, and control is simple, and shortcoming is can content displayed too simple, and be monochrome, and display effect is undesirable, and the man-machine interface that is difficult to provide convenience.
Summary of the invention
The object of the present invention is to provide a kind of can the display color character information, can realize the device and method of human-computer interaction function simply and easily again, the system cost of Gou Chenging is low simultaneously, volume is little.
In order to realize the foregoing invention purpose, the invention discloses following technical scheme: a kind of device of color information display, this device mainly comprises: one has the video MCU of osd function, major control OSD module, the control clock takes place and the coordination whole system operation; One clock generation chip produces CRT and shows required capable field sync signal, and the row field sync signal is on the one hand in order to produce osd signal, on the one hand in order to drive CRT monitor; One CRT monitor interface and CRT monitor.
OSD (being ON SCREEN DISPLAY) signal generally is superimposed upon on the vision signal, as the information interface of video system (as TV, DVD etc.).OSD is divided into character type and bitmap type, can demonstrate different character of complexity and figure respectively.OSD generally can display color character and figure, and the information that is used in shows that occasion can satisfy the demand fully.
A kind of method of color information display, this method comprise following several key step:
Step 1: clock generation chip produces line synchronizing signal and outputs to video MCU, and video MCU produces field sync signal according to the line synchronizing signal of input;
Step 2: the OSD module of video MCU produces osd signal according to the capable field sync signal of input under the control of MCU software, the osd signal of output is R, G, B three tunnel simulating signals;
Step 3: described three road R of step 2, G, the B signal outputs on the VGA interface (CRT monitor interface) with the row field sync signal, is connected to CRT monitor by the VGA interface again, can the good information of display setting.
In order on CRT, to show the OSD image, phase place must be produced, frequency meets necessarily required capable field sync signal.Generation row field sync signal described in the step 1 of method provided by the present invention, this step also comprises following concrete steps:
Step 1.1: adopt multivibrator to produce line synchronizing signal;
Step 1.2: the input end that is connected to the Timer of MCU by the line synchronizing signal of multivibrator generation, with counter line synchronizing signal is counted, by the count value of MCU software control counter, make counter whenever receive n line synchronizing signal and just produce once interruption;
Step 1.3: in interrupt service routine, a variable ct_int is counted, the each interruption makes this variate-value add one, if the value of ct_int reaches constant WID_POS, then make the level counter-rotating of the I/O mouth of MCU, wait for next time then and interrupting, if the value of ct_int reaches constant WID_VSYC, then make the level counter-rotating of I/O mouth, remove the value of ct_int simultaneously, wait for next time and interrupting, on this I/O mouth, can obtain a field sync signal like this;
Step 1.4: field sync signal that step 1.3 produces and line synchronizing signal keep certain phase relation, on frequency, become multiple to concern with line synchronizing signal, control by WID_VSYC, the pulse width of field sync signal is controlled by WID_POS, just can on the I/O mouth, export a frequency and pulsewidth adjustable, and with the field sync signal of line synchronizing signal clock synchronization.
Multivibrator should be selected the device of adjustable frequency, phase place, can produce the clock signal that frequency is Fh like this.As long as suitably choose the value of WID_POS and WID_VSYC, just can on the I/O mouth, export a frequency and pulsewidth adjustable, and with the synchronous field synchronization clock signal of capable synchronous clock.
The device of color information display of the present invention also can comprise the button or the infrared receiver device of the I/O mouth that is connected to MCU, realizes the man-machine interaction of system.
The device and method of the above a kind of color information display, compared with prior art, its advantage is: system cost is cheap, connect simply, volume is little, and display effect is better, the support dynamic effect shows, can satisfy the requirement that general information shows fully, easy to operate, friendly man-machine interface can be provided.
Describe the present invention below in conjunction with the drawings and specific embodiments, but should be as limitation of the invention.
Description of drawings
Fig. 1 connects block diagram for the hardware of exemplary embodiments of the present invention;
Fig. 2 is the circuit diagram of NE555 in exemplary embodiments of the present invention;
Fig. 3 is for producing the process flow diagram of the software module of field system chronizing impulse in the exemplary embodiments of the present invention;
Fig. 4 (a) is for being presented at the simple human-computer interaction interface synoptic diagram on the screen in the exemplary embodiments of the present invention;
Fig. 4 (b) is a picture displayed after the order that the response human-computer interaction interface sends in the exemplary embodiments of the present invention;
Embodiment
Fig. 1 is that the hardware of exemplary embodiments of the present invention connects block diagram, the device of color information display shown in the figure has comprised a video MCU (ARK7118 with osd function, telecomputer Video processing SOC chip), clock generation chip (NE555), 5 personal-machine interactive function buttons (KEY1, KEY2, KEY3, KEY4, KEY5), and a VGA interface.As the generator of line synchronizing signal, the horizontal synchronizing pulse signal of generation is connected to the OSD module sum counter of ARK7118 to NE555 in the present embodiment.Program produces the field system chronizing impulse signal, and outputs on the P1.1 of MCU by row is counted synchronously.Field sync signal on the P1.1 mouth is connected to the OSD module of ARK7118 on the one hand to produce osd signal, outputs to the VGA interface on the other hand to drive CRT monitor.Simultaneously, row outputs on the VGA interface to drive CRT by P1.0 synchronously.The OSD module produces osd signal according to the capable field sync signal of input under programmed control, divide R, G, and B three tunnel delivers to the VGA interface.In addition, above-mentioned 5 buttons (KEY1, KEY2, KEY3, KEY4, KEY5) are connected to P0.0~P0.4 of ARK7118, as the man-machine interface of system.
Below describe the principle of work and the control flow of device of the present invention in detail:
As Fig. 2, NE555 connects into the form of multivibrator, and such connection can be exported a pulse signal, by regulator potentiometer 1, can change the high level width of clock signal.By regulator potentiometer 2, can change the low level width of clock signal.Thereby,, just can produce the clock signal of characteristic frequency and pulsewidth by regulator potentiometer 1 and 2.In the present embodiment, the horizontal synchronizing pulse frequency of generation is 31.25KHZ, and its pulse width is 4us.
Produce required line synchronizing signal with NE555, output on the OSD module of ARK7118 on the one hand, output to the input end of the counter of ARK7118 on the other hand.The line synchronizing signal that is input to the OSD module is used to produce the Dot Clock of OSD, and this process is finished by the internal hardware logic of ARK7118, does not need the participation of software.And the line synchronizing signal that outputs to counter is used to produce the field system chronizing impulse signal, and this is to finish with the software of MCU, and this software flow pattern as shown in Figure 3.In the present embodiment, produce a frequency is 50HZ, and pulse width is the field system chronizing impulse signal of 200us, describes concrete performing step below in conjunction with process flow diagram (accompanying drawing 3):
Step 1: configuration counter parameter, usage counter, counter are configured to operate in pattern 1, rising edge counting, 8 counter mode.The counting initial value is configured to 255-100=155, and like this, per 100 capable synchronous clocks cause that start-stop counter interrupts.Provide one and interrupt counting variable ct_int, its initial value is 0, interrupts the porch at every turn ct_int is added an operation.
Step 2: the negative edge that produces field system chronizing impulse.In when, counter having taken place having interrupted when, at first judge the value of ct_int, if its value equals 2, then the P1.1 mouth of ARK7118 is put lowly, withdraw from interrupt service routine then, wait for next time and interrupting.
Step 3: produce the rising edge of field system chronizing impulse, in interrupt service routine, judge the value of ct_int,, then the P1.1 mouth of ARK7118 is put height,, release and interrupt then with the ct_int zero clearing if its value is 200.
Step 4: generate specific OSD character and figure with the MCU program.In the present embodiment, we prepare to generate a simple man-machine interface as Fig. 4 (a).Press KEY1, KEY2, KEY3, KEY4 can descend a left side, the cursor on the right four direction among the mobile figure respectively last.If when cursor move on the button among the figure the time, press KEY5, then carry out corresponding operation, upgrade character and figure that OSD shows, make the picture that shows on the screen shown in Fig. 4 (b).
Method of operating in this simple ARK7118 (telecomputer Video processing SOC chip) of description OSD demonstration: produce OSD with ARK7118 and show, must in specific ram of chip internal, write the font information and the color information of OSD character, dispose some relevant figure location again, the register of Presentation Function is just passable.These operate in and are referred to as the operation of upgrading OSD here.The static configuration information of the OSD that Fig. 4 (a) and Fig. 4 (b) are corresponding all is stored in the program space of MCU in advance, as long as write ram in use and register is just passable.And some dynamic graphics, as cursor, then the coordinate of cursor correspondence must be kept and follow the tracks of at any time, upgrade with variable.
Detailed steps is described below:
Step 1 at first writes ram and register with the static information of Fig. 4 (a), produces the OSD graphic presentation as Fig. 4 (a), and the initial position of cursor is the screen center.
Step 2 receives the input from button, and the coordinate and the OSD that upgrade cursor according to key assignments show.If find that KEY5 presses, then enter into step 3, otherwise continue to wait for button.
The coordinate of step 3 inquiry cursor judges that its coordinate whether in the scope that button occupies, if not in scope, then gets back to step 2, continues to wait for button.If in scope, then the static information with Fig. 4 (b) writes, and upgrades OSD and shows, makes the picture that shows on the screen shown in figure (b).Return step 2 then, continue to wait for the input of button.
The scintillation that produces in order to prevent to show some dynamic effects, ARK7118 provides an interrupt function, be that rising edge of a pulse on the scene produces a field interruption temporarily, finish the renewal of OSD image in the interrupt service routine on the scene, promptly can guarantee to carry out the dynamic refresh of OSD, thereby avoid flicker at black-out intervals.
More than an exemplary embodiments of system and method disclosed in this invention has been done detailed description, can see, convenient, flexible during the operation of this scheme, highly versatile, and hardware cost is low.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof, those of ordinary skill in the art can make various corresponding changes according to the present invention, but these corresponding changes all should belong to the protection domain of the claim that the present invention advocates.

Claims (4)

1, a kind of device of color information display, this device mainly comprises: one has the video MCU of osd function, major control OSD module, the control clock takes place and the coordination whole system operation; One clock generation chip produces CRT and shows required capable field sync signal, and the row field sync signal is on the one hand in order to produce osd signal, on the one hand in order to drive CRT monitor; One CRT monitor interface and CRT monitor.
2, a kind of method of color information display, this method comprise following several key step:
Step 1: clock generation chip produces line synchronizing signal and outputs to video MCU, and video MCU produces field sync signal according to the line synchronizing signal of input;
Step 2: the OSD module of video MCU produces osd signal according to the capable field sync signal of input under the control of MCU software, the osd signal of output is R, G, B three tunnel simulating signals;
Step 3: described three road R of step 2, G, the B signal outputs on the VGA interface with the row field sync signal, is connected to CRT monitor by the VGA interface again, can the good information of display setting.
3, the method for a kind of color information display according to claim 2 is characterized in that: the generation row field sync signal described in described this method step 1 also comprises following concrete steps:
Step 1.1: adopt multivibrator to produce line synchronizing signal;
Step 1.2: the input end that is connected to the Timer of MCU by the line synchronizing signal of multivibrator generation, with counter line synchronizing signal is counted, by the count value of MCU software control counter, make counter whenever receive n line synchronizing signal and just produce once interruption;
Step 1.3: in interrupt service routine, a variable ct_int is counted, the each interruption makes this variate-value add one, if the value of ct_int reaches constant WID_POS, then make the level counter-rotating of the I/O mouth of MCU, wait for next time then and interrupting, if the value of ct_int reaches constant WID_VSYC, then make the level counter-rotating of I/O mouth, remove the value of ct_int simultaneously, wait for next time and interrupting, on this I/O mouth, can obtain a field sync signal like this;
Step 1.4: field sync signal that step 1.3 produces and line synchronizing signal keep certain phase relation, on frequency, become multiple to concern with line synchronizing signal, control by WID_VSYC, the pulse width of field sync signal is controlled by WID_POS, just can on the I/O mouth, export a frequency and pulsewidth adjustable, and with the field sync signal of line synchronizing signal clock synchronization.
4, the device of a kind of color information display according to claim 1, this device also can comprise the button or the infrared receiver device of the I/O mouth that is connected to MCU, to realize the man-machine interaction of system.
CNB2006100334652A 2006-01-26 2006-01-26 A device and method for color information display Expired - Fee Related CN100527214C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100334652A CN100527214C (en) 2006-01-26 2006-01-26 A device and method for color information display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100334652A CN100527214C (en) 2006-01-26 2006-01-26 A device and method for color information display

Publications (2)

Publication Number Publication Date
CN101009088A CN101009088A (en) 2007-08-01
CN100527214C true CN100527214C (en) 2009-08-12

Family

ID=38697489

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100334652A Expired - Fee Related CN100527214C (en) 2006-01-26 2006-01-26 A device and method for color information display

Country Status (1)

Country Link
CN (1) CN100527214C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105321304A (en) * 2015-11-17 2016-02-10 苏州市大力电器有限公司 A prompt device for small kitchen electrical appliances
CN106357998B (en) * 2015-11-18 2019-05-28 深圳开阳电子股份有限公司 A kind of OSD graph display processing unit

Also Published As

Publication number Publication date
CN101009088A (en) 2007-08-01

Similar Documents

Publication Publication Date Title
CN101587431B (en) Method for realizing multi-screen playing video
CN104935840B (en) The captions rolling display methods and system of a kind of mosaic display screen
TW518544B (en) Display control apparatus and method
CN102117594B (en) Techniques for aligning frame data
EP0734011A2 (en) Field synchronization of independent frame buffers
US6122000A (en) Synchronization of left/right channel display and vertical refresh in multi-display stereoscopic computer graphics systems
CN103109267B (en) Change the method, apparatus and system of image display properties
CN103530078A (en) System and method for displaying a mirror
CN103226454A (en) Method and system for achieving multiscreen display
US7289539B1 (en) Synchronization of stereo glasses in multiple-end-view environments
CN100365701C (en) Multilayer real time image overlapping controller
CN202855246U (en) Holographic mall shopping guide advertisement player
CN102222469B (en) Dynamic imaging device of LED lampstandards and application of same in tunnel advertisements
CN111083548B (en) Video playing method for realizing same-screen multi-display and double-screen different display
WO2012142774A1 (en) Tunnel synchronous video display system
CN102750091B (en) Dynamic human-computer interface device for driving skill test system and method for disclosing dynamic information
CN204258972U (en) A kind of LCD seamless display combination screen
CN101815180A (en) Signal self-adaptive adapter plate of display screen interface
CN103853510A (en) Multi-screen projection display control system and method of handheld electronic device
CN203204950U (en) Touch double-screen advertising machine
CN100527214C (en) A device and method for color information display
US9087473B1 (en) System, method, and computer program product for changing a display refresh rate in an active period
JP4401465B2 (en) Display device and image display method
US8077180B1 (en) Systems for and methods of using a display controller to output data
CN103838533B (en) The synchronous method of figure signal and sync card in computer cluster splice displaying system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090812

Termination date: 20140126