CN104867470B - Device and method for embedding geographic and documental information in logic picture based on FPGA - Google Patents
Device and method for embedding geographic and documental information in logic picture based on FPGA Download PDFInfo
- Publication number
- CN104867470B CN104867470B CN201510325352.9A CN201510325352A CN104867470B CN 104867470 B CN104867470 B CN 104867470B CN 201510325352 A CN201510325352 A CN 201510325352A CN 104867470 B CN104867470 B CN 104867470B
- Authority
- CN
- China
- Prior art keywords
- module
- image
- picture
- embedded
- logic
- 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.)
- Active
Links
Abstract
The invention relates to a device for embedding geographic and documental information in a logic picture based on FPGA. The device comprises an upper layer interface module, an image parameter cache module, an image parameter conversion module, an external BMP interface module, a logic picture generation module, an image generation and control module, an image storage and control module, an RGB picture output module, an RGB picture time sequence generation module, a multi-transmission link low voltage differential signal transmission module and a picture embedding module. According to the device provided by the invention, BMP images or characters are embedded into a certain logic picture to satisfy different customer demands, so that the detection quality of a high resolution liquid crystal display module.
Description
Technical field
The present invention relates to the display of liquid crystal module and technical field of measurement and test, and in particular to one kind is based on FPGA (Field-
Programmable Gate Array, i.e. field programmable gate array) logic picture in be embedded in graph text information device and side
Method.
Background technology
As the resolution of liquid crystal display module is increasing, display effect is more and more clear, the research and development, life to module
Produce, the technical requirements also more and more higher of the link such as detection.Therefore in the detection to module, both needed to module each
The working condition of pixel is detected, needs to detect module to showing overall picture effect again, to reach the two mesh
Mark, needs by being realized with different types of picture point screen, and the former needs display logic picture (i.e. by image signal source Jing certainly
Body is calculated and processed and the picture of the accuracy of generation and regularity), the latter needs to show BMP (Bitmap, image file format)
Image (is loaded and is shown outside BMP images) by image signal source, while it may also be desirable to be embedded with patrolling for BMP pictures and character
Collect picture.
Also the logic for liquid crystal module detection can be simultaneously produced in prior art without any figure signal generator
Picture and BMP images, also any figure signal generator useless BMP pictures and character can be embedded in logic picture, it is impossible to
Meet the requirement of high-resolution liquid crystal display module detection.
The content of the invention
It is an object of the invention to provide the device and method of graph text information is embedded in a kind of logic picture based on FPGA,
The apparatus and method can be realized being embedded in the function of BMP pictures and character in logic picture by FPGA, improve high-resolution liquid
The detection quality of brilliant display module.
For achieving the above object, the device of graph text information is embedded in the logic picture based on FPGA designed by the present invention,
It includes high-level interface module, image parameter cache module, image parameter modular converter, outside BMP interface modules, logic picture
Generation module, image produce control module, image storage control module, RGB (red, green, blue is trichroism) picture output module, RGB
Picture sequence generation module, many transmission link low-voltage differential signal transport modules, picture are embedded in module;
Wherein, the logic frame parameter outfan connection figure of the high-level interface module as the signal of parameter cache module it is defeated
Enter end, the signal output part connection figure of image parameter cache module is as the logic picture cached parameters input of Parameters Transformation module
End, the logic frame parameter and control command outfan of described image Parameters Transformation module connect respectively outside BMP interface modules
With the signal output part of the signal input part of logic picture generation module, outside BMP interface modules and logic picture generation module
Connection figure picture produces the image data input of control module, and image produces the signal output part connection figure picture storage of control module
The signal input part of control module, the communication ends of image storage control module connect the communication ends of RGB picture output modules, RGB
The RGB synchronous signal output ends of picture sequence generation module connect the RGB synchronous signal input ends of RGB picture output modules, institute
The RGB image signal output part for stating RGB picture output modules connects the RGB of many transmission link low-voltage differential signal transport modules
Picture signal input, the LVDS VTs of many transmission link low-voltage differential signal transport modules are treated for connection
Survey liquid crystal module;
The signal of the embedded module of the embedded control command outfan connection picture of the picture of described image Parameters Transformation module is defeated
Enter end, the picture of the embedded control signal output connection figure picture generation control module of picture of the signal of the embedded module of picture is embedded in
Control signal input, the BMP figures of the outside BMP interface modules of BMP image data communications end connection of the embedded module of the picture
As data communication end;
LVDS (Low-Voltage Differential Signaling, the low voltage difference of the high-level interface module
Signal) transmission coding control signal outfan, module displays color range bit wide control signal output and LVDS transmission link numerical controls
Signal output part processed connects respectively the corresponding LVDS transmission coding-control letter of many transmission link low-voltage differential signal transport modules
Number input, module displays color range bit wide control signal input and LVDS transmission link number control signal inputs;
The liquid crystal module image clock signal outfan connection RGB pictures sequential of described image Parameters Transformation module produces mould
The liquid crystal module image clock signal input of block, the graphics control signals outfan of image parameter modular converter connects respectively
RGB pictures output module and image produce the graphics control signals input of control module, described image storage control module
Image storage state signal output part connection figure is as the image storage state signal input part of Parameters Transformation module.
It also includes the embedded module of character, the embedded control command outfan connection of character of described image Parameters Transformation module
The signal input part of the embedded module of character, the embedded character control signal outfan connection figure picture of the embedded module of character produces control
The embedded character control signal input of module.
It is a kind of to carry out being embedded in logic picture using the device that graph text information is embedded in the logic picture based on FPGA
The method of graph text information, it is characterised in that it comprises the steps:
Step 1:Host computer shows liquid crystal module horizontal resolution, liquid crystal module vertical resolution, liquid crystal module image
The configuration information of sequential, the configuration information of shown logic picture and shown BMP images is sent to high-level interface module, above-mentioned
The type number of the configuration information of shown logic picture including shown logic picture, shown logic picture produce parameter,
The each component color values of RGB of shown logic picture, the background colour of shown logic picture and shown logic picture filling ginseng
Number, the configuration information of above-mentioned shown BMP images includes the size of embedded BMP images and the start bit of embedded BMP images
Put coordinate;
Step 2:High-level interface module is by liquid crystal module horizontal resolution, liquid crystal module vertical resolution, liquid crystal module figure
As showing that sequential, shown logic picture configuration information and shown BMP image configurations information are parsed, and by after parsing
Liquid crystal module horizontal resolution, liquid crystal module vertical resolution, liquid crystal module image show sequential, the configuration of shown logic picture
Information and shown BMP image configurations information are saved in image parameter cache module;
Step 3:Image parameter modular converter reads the shown logic picture configuration cached in image parameter cache module
Information and shown BMP image configurations information, image parameter modular converter is according to shown logic picture configuration information to logic
Picture generation module transmission liquid crystal module horizontal resolution, liquid crystal module vertical resolution, the configuration ginseng of shown logic picture
Number transmission control command and display logic picture configuration information;
Meanwhile, image parameter modular converter transmits liquid according to shown BMP image configurations information to outside BMP interface modules
Brilliant module horizontal resolution, liquid crystal module vertical resolution, shown BMP image configuration parameters transmission control command and shown
BMP image configurations information;
Meanwhile, image parameter modular converter by liquid crystal module image display sequential issue RGB pictures sequence generation module with
Produce the sequential that liquid crystal module image shows;
Step 4:Image parameter modular converter is completed after the operation described in step 3, and image parameter modular converter to image is produced
Raw control module sends graphics control signals, for starting successive image storage control module, DDR (Double Data Rate
Double Data Rate synchronous DRAM) memory module, RGB pictures output module and RGB pictures sequence generation module product
Raw picture, logic picture generation module starts the logic picture subfunction class of respective type according to the type of shown logic picture
Type, these logic picture subfunction types operationally can according to liquid crystal module horizontal resolution, liquid crystal module vertical resolution,
Shown logic picture configuration information carries out meeting the calculating of display effect and processes, so as to produce shown logic pictorial feature point
Location of pixels and pixel color value, during logic picture generation module produces shown logic picture, can be because calculating
Intermediate variable and data are formed, these intermediate variables and data can be used repeatedly in calculating process, therefore logic picture is produced
Module is cached these intermediate variables and data, is stored in calls at any time at any time;
Step 5:Just by the feature of desirable pattern after logic picture generation module produces the characteristic point data of desirable pattern
Point data sends into image and produces control module, and image produces the image control that control module sends according to image parameter modular converter
Signal obtains liquid crystal module horizontal resolution, liquid crystal module vertical resolution, the background colour of shown logic picture, shown patrols
Picture pad parameter is collected, and starts the pattern data that logic picture generation module is produced, image produces control module and is initially formed one
Width horizontal resolution and vertical resolution are satisfied by the picture of the basic parameter requirement of shown logic picture, then by logical pattern
It is put in above-mentioned picture according to the coordinate position of logical pattern, afterwards to the area filling color of non-pattern in picture, the addition back of the body
Scenery, so as to form logic picture;
The BMP interface modules transmit control command according to shown BMP image configuration parameters and shown BMP images are matched somebody with somebody
Confidence breath generates BMP images;
Step 6:Image produces control module and the complete logic picture produced in step 5 and BMP images is sent into into image
Each pixel in above-mentioned complete logic picture and BMP images is stored in DDR by storage control module, image storage control module
Memory module, from the beginning of the 1st pixel of the 1st row, successively the RGB color value of each pixel is deposited into DDR by order
In the corresponding address of memory module, to the last the RGB color value of last pixel of a line is stored into DDR memory module
In;
Step 7:The cutting size information and embedded position information of BMP images are buffered into image parameter by high-level interface module
Cache module, image parameter modular converter reads the BMP image croppings size information in image parameter cache module and embedded position
Confidence ceases, and BMP image croppings size information and embedded position information are converted into into BMP image croppings control instruction and embedded position
Put control instruction to be transferred to the embedded module of picture cutting is embedded to be prepared so that the embedded module of picture is carried out, the embedded module of picture is led to
Cross BMP interface modules and read BMP images to generate, the embedded module of picture is according to above-mentioned BMP image croppings control instruction and embedding
Enter position control instruct by with the BMP image croppings that generate into the BMP images to be embedded in, and by the BMP images to be embedded in
Pixel data and the corresponding coordinate of embedded location send into image and produce control module, image produces control module further according to every
The BMP view data to be embedded in is stored in DDR memory module by the coordinate figure of individual pixel by the control of image storage control module,
And the data of the existing logic picture of respective regions in DDR memory module are directly override, now DDR memory module is just deposited
The logic picture for being embedded with required BMP images is stored up;
Step 8:Image storage control module to image parameter modular converter sends image storage state signal, when image is deposited
It is embedded with storage status signal display image storage control module after the data storage of the logic picture of required BMP images finishes,
Image parameter modular converter to RGB pictures output module sends graphics control signals, meanwhile, image parameter modular converter is to RGB
Picture sequence generation module sends liquid crystal module image and shows clock signal, and RGB picture output modules are in graphics control signals
The RGB synchronizing signals produced according to RGB pictures sequence generation module under control will be obtained some pixel in certain a line
Information image storage control module is transferred to by RGB picture output modules, the RGB synchronizing signals include video frame synchronization
Signal, video line synchronization signal and video data useful signal, image storage control module is then taken out from DDR memory module
The corresponding color value is transferred to RGB picture output modules, RGB by the corresponding color value of the pixel, image storage control module
Picture output module is synchronized to the video data useful signal in the corresponding color value and RGB synchronizing signals that receive together,
So as to produce parallel RGB image signal output;
Step 9:Many transmission link low-voltage differential signal transport modules are by parallel RGB image signal according to high-level interface
The LVDS transmission coding control signals that module conveying comes are encoded and are exported the setting of color bit wide, further according to high-level interface mould
The LVDS transmission link number control signals that block conveying comes carry out corresponding LVDS transmission modulation stringization and process so that be output as mark
Accurate image LVDS transmission links signal is exported to LCD module under test on each corresponding transmission link.
While the step 7 is carried out, step 7.1 is also carried out:High-level interface module is by required embedded character, required embedding
The starting position coordinates information cache of the size information and required embedded character that enter character enters image parameter cache module, image ginseng
Number modular converters read required embedded character, the size information of required embedded character and required in image parameter cache modules
The starting position coordinates information of embedded character, and by required embedded character, the size information of required embedded character and required embedding
The starting position coordinates information for entering character is converted into corresponding character embedding parameter and character embedded command, image parameter modulus of conversion
Above-mentioned corresponding character embedding parameter and character embedded command are sent to the embedded module of character by block, and the embedded module of character is according to upper
State character embedding parameter and character embedded command and read corresponding character character library, and obtain the display pixel data of respective symbols,
The corresponding coordinate position of the display pixel data and pixel of respective symbols is sent into image and produces control module by the embedded module of character,
Image produces control module and is controlled the display pixel data of respective symbols by image storage further according to the coordinate figure of each pixel
Module is stored in DDR memory module, and directly overrides the primitive logic frame numbers of respective regions in DDR memory module
According to now DDR memory module just stores the logic picture for being embedded with required character;
Then the logic picture for being embedded with required character is exported to prepare liquid according to the mode of above-mentioned steps 8 and step 9
Brilliant module.
The beneficial effects of the present invention is:
1st, the present invention can be embedded in BMP images or character in a certain logic picture, to meet different clients demand.So as to carry
The high detection quality of high-resolution liquid crystal display module.
2nd, the present invention is suitable for the module of different resolution by upper layer software (applications) configuration, shows minimum 1 picture of big I
The pattern of element.
3rd, the present invention itself is capable of achieving conventional logic picture type, such as gradual change class, radiation class, rectangle class, triangle class,
The logic pictures such as circle class, Points And lines class, and different extension logic picture work(can be connected to by extending logic picture interface
Other kinds of logic picture pattern is produced on energy equipment.
4th, the present invention can will be stored in the BMP images of (such as USB, SD card) on external equipment and be shown to module as needed
On.
5th, the present invention can be by realizing the function with fpga chip, and it is easy that technical scheme is realized, and cost of implementation
It is relatively low, and working stability.
Description of the drawings
Fig. 1 is the structured flowchart in the present invention.
Wherein, 1-high-level interface module, 2-image parameter cache module, 3-image parameter modular converter, 4-outside
BMP interface modules, 5-BMP image pre-stored modules, 6-logic picture generation module, 7-image produce control module, 8-
Image storage control module, 9-DDR memory module, 10-RGB picture output modules, 11-RGB pictures sequential produce mould
Block, 12-external logic picture function expansion card, 13-outside BMP storage devices, 14-basic logic picture function module,
15-many transmission link low-voltage differential signal transport modules, 16-picture are embedded in the embedded module of module, 17-character.
Specific embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in further detail:
The device of graph text information is embedded in the logic picture based on FPGA as described in Figure 1, it includes high-level interface module
1st, image parameter cache module 2, image parameter modular converter 3, outside BMP interface modules 4, logic picture generation module 6, image
Produce control module 7, image storage control module 8, RGB pictures output module 10, RGB pictures sequence generation module 11, many biographies
Transmission link low-voltage differential signal transport module 15, picture is embedded in module 16;
Wherein, the logic frame parameter outfan connection figure of the high-level interface module 1 is as the signal of parameter cache module 2
Input, the signal output part connection figure of image parameter cache module 2 is defeated as the logic picture cached parameters of Parameters Transformation module 3
Enter end, the logic frame parameter and control command outfan of described image Parameters Transformation module 3 connect respectively outside BMP interfaces mould
The signal of the signal input part of block 4 and logic picture generation module 6, outside BMP interface modules 4 and logic picture generation module 6
Outfan connection figure picture produces the image data input of control module 7, and image produces the signal output part connection of control module 7
The signal input part of image storage control module 8, the communication ends connection RGB pictures output module 10 of image storage control module 8
Communication ends, the RGB of the RGB synchronous signal output ends connection RGB pictures output module 10 of RGB pictures sequence generation module 11 is same
Step signal input part, the RGB image signal output part of the RGB pictures output module 10 connects many transmission link low voltage differences
The RGB image signal input part of signal transmission module 15, the LVDS of many transmission link low-voltage differential signal transport modules 15 is regarded
Frequency signal output part is used to connect LCD module under test;
The signal of the embedded module 16 of the embedded control command outfan connection picture of the picture of described image Parameters Transformation module 3
Input, the embedded control signal output connection figure picture of picture of the signal of the embedded module 16 of picture produces the picture of control module 7
Face is embedded in control signal input, the outside BMP interface modules of BMP image data communications end connection of the embedded module 16 of the picture
4 BMP image data communications end;
The LVDS transmission coding control signal outfans of the high-level interface module 1, module displays color range bit wide control letter
Number outfan and LVDS transmission link number control signal outputs connect respectively many transmission link low-voltage differential signals transmission moulds
The corresponding LVDS of block 15 transmission coding control signal inputs, module displays color range bit wide control signal input and LVDS transmission
Number of links control signal input;
The liquid crystal module image clock signal outfan connection RGB pictures sequential of described image Parameters Transformation module 3 is produced
The liquid crystal module image clock signal input of module 11, the graphics control signals outfan difference of image parameter modular converter 3
Connection RGB pictures output module 10 and image produce the graphics control signals input of control module 7, described image storage control
The image storage state signal output part connection figure of module 8 is as the image storage state signal input part of Parameters Transformation module 3.
In above-mentioned technical proposal, it also includes BMP image pre-storeds module 5 and basic logic picture function module 14, institute
The data storage communication ends of the outside BMP interface modules 4 of data storage communication ends connection of BMP image pre-storeds module 5 are stated, substantially
The signal input part of the signal output part connection logic picture generation module 6 of logic picture function module 14.
In above-mentioned technical proposal, it also includes the embedded module 17 of character, and the character of described image Parameters Transformation module 3 is embedded in
The signal input part of the embedded module 17 of control command outfan concatenation character, the embedded character control signal of the embedded module 17 of character
Outfan connection figure picture produces the embedded character control signal input of control module 7.
In above-mentioned technical proposal, the outside BMP interface modules 4 can also connect outside BMP storage devices 13, the logic
Picture generation module 6 can also connect external logic picture function expansion card 12.
In above-mentioned technical proposal, described image storage control module 8 is also associated with DDR memory module 9.
It is a kind of to carry out being embedded in logic picture using the device that graph text information is embedded in the above-mentioned logic picture based on FPGA
The method of graph text information, it comprises the steps:
Step 1:Host computer shows liquid crystal module horizontal resolution, liquid crystal module vertical resolution, liquid crystal module image
The configuration information of sequential, the configuration information of shown logic picture and shown BMP images is sent to high-level interface module 1, on
Stating the configuration information of shown logic picture includes that the type number of shown logic picture, shown logic picture produce parameter
(Different Logic picture type has different parameters, and such as rectangle logic of class picture has top left corner apex coordinate position, bottom right angular vertex
Coordinate position etc., circular logic of class picture has central coordinate of circle position, and radius length, i.e. length value are how many pixels etc., gradual change
Class picture have gradual change form, i.e. horizontal gradient, vertical gradual change, radiation gradual change, graduated colors color range value), shown logic picture
The each component color values of RGB, the background colour of shown logic picture and shown logic picture pad parameter, it is above-mentioned shown
The configuration information of BMP images includes the size of embedded BMP images and the starting position coordinates of embedded BMP images;
Step 2:High-level interface module 1 is by liquid crystal module horizontal resolution, liquid crystal module vertical resolution, liquid crystal module figure
As showing that sequential, shown logic picture configuration information and shown BMP image configurations information are parsed, and by after parsing
Liquid crystal module horizontal resolution, liquid crystal module vertical resolution, liquid crystal module image show sequential, the configuration of shown logic picture
Information and shown BMP image configurations information are saved in image parameter cache module 2;
Step 3:Image parameter modular converter 3 reads the shown logic picture cached in image parameter cache module 2 and matches somebody with somebody
Confidence ceases and shown BMP image configurations information, and image parameter modular converter 3 is according to shown logic picture configuration information to patrolling
Collect the transmission liquid crystal module horizontal resolution of picture generation module 6, liquid crystal module vertical resolution, the configuration of shown logic picture
Parameter transmits control command and display logic picture configuration information;Produce when image parameter modular converter 3 detects logic picture
When module 6 is connected to the expansion equipment of the logic picture function of outside (external logic picture function expansion card 12), image parameter
Modular converter 3 also can send respective logic picture and produce parameter so that external logic to the external logic picture function expansion card 12
Picture function expansion card 12 produces required logic picture pattern, while image parameter modular converter 3 also shows liquid crystal module image
Show that time sequence information issues RGB pictures sequence generation module 11 to produce the sequential that liquid crystal module shows;
Meanwhile, image parameter modular converter 3 is transmitted according to shown BMP image configurations information to outside BMP interface modules 4
Liquid crystal module horizontal resolution, liquid crystal module vertical resolution, shown BMP image configuration parameters transmit control command and show
Show BMP image configurations information;
Meanwhile, liquid crystal module image display sequential is issued RGB pictures sequence generation module 11 by image parameter modular converter 3
To produce the sequential that liquid crystal module image shows;
Step 4:Image parameter modular converter 3 is completed after the operation described in step 3, and image parameter modular converter 3 is to image
Produce control module 7 send graphics control signals, for start successive image storage control module 8, DDR memory module 9,
RGB pictures output module 10 and RGB pictures sequence generation module 11 produce picture, and logic picture generation module 6 is according to shown
The type of logic picture starts the logic picture subfunction type of respective type (such as rectangle logic of class picture subtype, gradual change class
Logic picture subtype, circular logic of class picture subtype etc.), these logic picture subfunction types operationally can be according to liquid
Brilliant module horizontal resolution, liquid crystal module vertical resolution, shown logic picture configuration information carry out meeting display effect
Calculating is processed, so as to produce the location of pixels and pixel color value of shown logic pictorial feature point (as formed in rectangular patterns
The location of pixels coordinate and color of the point of the length of side), during logic picture generation module 6 produces shown logic picture,
Intermediate variable and data can be formed because of calculating, these intermediate variables and data can be used repeatedly in calculating process, therefore logic
Picture generation module 6 is cached these intermediate variables and data, is stored in calls at any time at any time;
Step 5:Just by the feature of desirable pattern after logic picture generation module 6 produces the characteristic point data of desirable pattern
Point data sends into image and produces control module 7, and image produces the image that control module 7 sends according to image parameter modular converter 3
Control signal obtains liquid crystal module horizontal resolution, liquid crystal module vertical resolution, the background colour of shown logic picture, shows
Show logic picture pad parameter, and start the pattern data that logic picture generation module 6 is produced, image produces control module 7 first
Form a width horizontal resolution and vertical resolution be satisfied by shown logic picture basic parameter requirement picture, then will patrol
Collect pattern to be put in above-mentioned picture according to the coordinate position of logical pattern, afterwards to the area filling color of non-pattern in picture,
(logical pattern itself can also be that the pattern of certain filling forms is (interior if a rectangle length of side is certain color to addition background colour
Point of the portion full of different colours)), so as to form logic picture;
The BMP interface modules 4 transmit control command and shown BMP images according to shown BMP image configuration parameters
Configuration information generates BMP images;
Step 6:Image produces control module 7 and the complete logic picture produced in step 5 and BMP images is sent into into image
Storage control module 8, image storage control module 8 is stored in each pixel in above-mentioned complete logic picture and BMP images
DDR memory module 9, from the beginning of the 1st pixel of the 1st row, successively order is deposited into the RGB color value of each pixel
In the corresponding address of DDR memory module 9, to the last the RGB color value of last pixel of a line is stored into DDR memory
In module 9;
Step 7:The cutting size information and embedded position information of BMP images are buffered into image ginseng by high-level interface module 1
Number cache modules 2, image parameter modular converter 3 reads the BMP image croppings size information in image parameter cache module 2 and embedding
Enter positional information, and BMP image croppings size information and embedded position information are converted into into BMP image croppings control instruction and embedding
Enter position control instruction to be transferred to the embedded module 16 of picture cutting is embedded to be prepared so that the embedded module 16 of picture is carried out, picture is embedding
Enter module 16 and BMP images to generate are read by BMP interface modules 4, picture is embedded in module 16 according to above-mentioned BMP image croppings
Control instruction and embedded location control instruction, into the BMP images to be embedded in, and will be wanted with the BMP image croppings that generate embedding
The corresponding coordinate of pixel data and embedded location of the BMP images for entering sends into image and produces control module 7, and image produces control
Module 7 is stored in the BMP view data to be embedded in by the control of image storage control module 8 further according to the coordinate figure of each pixel
DDR memory module 9, and the data of the existing logic picture of respective regions in DDR memory module 9 are directly override, now
DDR memory module 9 just stores the logic picture for being embedded with required BMP images;
Step 8:Image storage control module 8 to image parameter modular converter 3 sends image storage state signal, works as image
The data storage of the logic picture for being embedded with required BMP images in storage state signal display image storage control module 8 is finished
Afterwards, image parameter modular converter 3 sends graphics control signals to RGB pictures output module 10, meanwhile, image parameter modular converter
3 to RGB picture sequence generation module 11 sends liquid crystal module image and shows clock signal, and RGB pictures output module 10 is in image
Under the control of control signal according to RGB pictures sequence generation module 11 produce RGB synchronizing signals (VSYNC (vertical synchronization),
HSYNC (horizontal-drive signal), DE (video data useful signal)) by the information to be obtained some pixel in certain a line
Image storage control module 8 is transferred to by RGB pictures output module 10, the RGB synchronizing signals are believed including video frame synchronization
Number, video line synchronization signal and video data useful signal, image storage control module 8 then takes out from DDR memory module 9
The corresponding color value is transferred to RGB pictures output module 10 by the corresponding color value of the pixel, image storage control module 8,
RGB pictures output module 10 is synchronized to the video data useful signal in the corresponding color value and RGB synchronizing signals that receive
Together, export so as to produce parallel RGB image signal (being embedded with the logic picture of required BMP images);
Step 9:Many transmission link low-voltage differential signal transport modules 15 connect parallel RGB image signal according to upper strata
The LVDS transmission coding control signals that the conveying of mouth mold block 1 comes are encoded and are exported the setting of color bit wide, are connect further according to upper strata
LVDS transmission link number control signals (single transport link control signal, double transmission links control letter that the conveying of mouth mold block 1 comes
Number, four transmission link control signals, eight transmission link control signals) carry out corresponding LVDS transmission modulation stringization process,
So that the image LVDS transmission link signals (being embedded with the logic picture of required BMP images) for being output as standard are corresponding at each
Export to LCD module under test on transmission link.
While the step 7 is carried out, step 7.1 is also carried out:High-level interface module 1 is by required embedded character, required
The starting position coordinates information cache of the size information of embedded character and required embedded character enters image parameter cache module 2, figure
As Parameters Transformation module 3 reads required embedded character, the size information of required embedded character in image parameter cache module 2
With the starting position coordinates information of required embedded character, and by required embedded character, the size information of required embedded character and
The starting position coordinates information of required embedded character is converted into corresponding character embedding parameter and character embedded command, image parameter
Above-mentioned corresponding character embedding parameter and character embedded command are sent to the embedded module 17 of character by modular converter 3, and character is embedded in
Module 17 reads corresponding character character library according to above-mentioned character embedding parameter and character embedded command, and obtains the aobvious of respective symbols
Show pixel data, the corresponding coordinate position of the display pixel data and pixel of respective symbols is sent into image by the embedded module 17 of character
Control module 7 is produced, image produces coordinate figure of the control module 7 further according to each pixel by the display pixel data of respective symbols
It is stored in DDR memory module 9 by image storage control module 8, and directly overrides respective regions in DDR memory module 9
Primitive logic picture data, now DDR memory module 9 just store the logic picture for being embedded with required character;
Then the logic picture for being embedded with required character is exported to prepare liquid according to the mode of above-mentioned steps 8 and step 9
Brilliant module.
In above-mentioned technical proposal, the liquid crystal module image shows that sequential includes image line crop, image line back porch, image
Row pulsewidth, image line show that refreshing frequency, picture field crop, picture field back porch, picture field pulsewidth and picture field show and refresh frequency
Rate.
In above-mentioned technical proposal, above-mentioned shown logic picture pad parameter includes that logic picture Fill Color, logic are drawn
Face inside filling mode and logic picture outside filling mode.
It is to save FPGA resource in the step of above-mentioned technical proposal 4, point, line is such as shown to some basic patterns, with
And simple change mode processes such as one direction gradual change, due to commonly used in the logic picture of all kinds or complexity, lead to
Cross the process that basic logic picture function module 14 individually completes to basic logic pattern and logical pattern variation pattern, and
Realize first being called basic logic picture function module 14 in logic picture, simple needed for producing or fundamental figure, then by its
Composition desirable pattern, such as first generation straight line is rectangular with linear again, or first generation point forms circle with again, or first produces institute
Various pieces are combined into complete picture by the transition picture for needing certain direction of pattern again.
To save FPGA resource, due to commonly used in the logic picture of all kinds or complexity, therefore use substantially
Logic picture function module 14 is implemented separately, and basic logic picture function module is first called in logic picture is realized
14, simple or fundamental figure needed for producing, then desirable pattern is constituted, such as first generation straight line is rectangular with linear again, or
First generation forms circle with point again, or first the transition picture in certain direction of generation desirable pattern again spells various pieces
Into complete picture.
In above-mentioned technical proposal, the LVDS transmission coding control signals are believed including LVDS image VESA data output formats
Number, LVDS image JEIDA data output format signals, module displays color range bit wide (6bit, 8bit, 10bit, 12bit) control
Signal.
The content that this specification is not described in detail belongs to prior art known to professional and technical personnel in the field.
Claims (11)
1. the device of graph text information is embedded in a kind of logic picture based on FPGA, and it includes that high-level interface module (1), image are joined
Number cache module (2), image parameter modular converter (3), outside BMP interface modules (4), logic picture generation module (6), image
Produce control module (7), image storage control module (8), RGB picture output modules (10), RGB picture sequence generation modules
(11), many transmission link low-voltage differential signal transport modules (15), the embedded module (16) of picture;
Wherein, the logic frame parameter outfan connection figure of the high-level interface module (1) is as the signal of parameter cache module (2)
Input, the signal output part connection figure of image parameter cache module (2) is as the logic picture caching ginseng of Parameters Transformation module (3)
Number input, the logic frame parameter and control command outfan of described image Parameters Transformation module (3) connect respectively outside BMP
The signal input part of interface module (4) and logic picture generation module (6), outside BMP interface modules (4) and logic picture are produced
The signal output part connection figure picture of module (6) produces the image data input of control module (7), and image produces control module
(7) signal output part connection figure is as the signal input part of storage control module (8), the communication of image storage control module (8)
The communication ends at end connection RGB picture output modules (10), the RGB synchronous signal output ends of RGB picture sequence generation modules (11)
The RGB synchronous signal input ends of connection RGB picture output modules (10), the RGB image letter of the RGB pictures output module (10)
Number outfan connects the RGB image signal input part of many transmission link low-voltage differential signal transport modules (15), many chains
The LVDS VTs on road low-voltage differential signal transport module (15) are used to connect LCD module under test;
The signal of the embedded module (16) of the embedded control command outfan connection picture of the picture of described image Parameters Transformation module (3)
Input, picture is embedded in the embedded control signal output connection figure picture of picture of the signal of module (16) and produces control module (7)
The embedded control signal input of picture, the picture be embedded in BMP outside the connection of the BMP image data communications end of module (16) and connects
The BMP image data communications end of mouth mold block (4);
The LVDS transmission coding control signal outfans of the high-level interface module (1), module displays color range bit wide control signal
Outfan and LVDS transmission link number control signal outputs connect respectively many transmission link low-voltage differential signal transport modules
(15) corresponding LVDS transmission coding control signal input, module displays color range bit wide control signal input and LVDS transmission
Number of links control signal input;
The liquid crystal module image clock signal outfan connection RGB pictures sequential of described image Parameters Transformation module (3) produces mould
The liquid crystal module image clock signal input of block (11), the graphics control signals outfan point of image parameter modular converter (3)
Not Lian Jie RGB picture output modules (10) and image produce the graphics control signals input of control module (7), described image is deposited
The image storage state signal output part connection figure of storage control module (8) is believed as the image storage state of Parameters Transformation module (3)
Number input.
2. the device of graph text information is embedded in the logic picture based on FPGA according to claim 1, it is characterised in that:It
Also include BMP images pre-stored module (5) and basic logic picture function module (14), the BMP images pre-stored module (5)
Outside BMP interface modules (4) of data storage communication ends connection data storage communication ends, basic logic picture function module
(14) signal input part of signal output part connection logic picture generation module (6).
3. the device of graph text information is embedded in the logic picture based on FPGA according to claim 1, it is characterised in that:It
Also include the embedded module (17) of character, the embedded control command outfan connective word of character of described image Parameters Transformation module (3)
The signal input part of the embedded module (17) of symbol, character is embedded in the embedded character control signal outfan connection figure picture of module (17) and produces
The embedded character control signal input of raw control module (7).
4. the device of graph text information is embedded in the logic picture based on FPGA according to claim 2, it is characterised in that:Institute
Stating outside BMP interface modules (4) can also connect outside BMP storage devices (13), and the logic picture generation module (6) can also be even
Connect external logic picture function expansion card (12).
5. the device of graph text information is embedded in the logic picture based on FPGA according to claim 1, it is characterised in that:Institute
State image storage control module (8) and be also associated with DDR memory module (9).
6. logic picture is carried out based on the device that graph text information is embedded in the logic picture of FPGA described in a kind of utilization claim 1
In be embedded in graph text information method, it is characterised in that it comprises the steps:
Step 1:Host computer by liquid crystal module horizontal resolution, liquid crystal module vertical resolution, liquid crystal module image show sequential,
The configuration information of the configuration information of shown logic picture and shown BMP images is sent to high-level interface module (1), above-mentioned institute
The configuration information of display logic picture includes that the type number of shown logic picture, shown logic picture produce parameter, institute
The each component color values of RGB of display logic picture, the background colour of shown logic picture and shown logic picture pad parameter,
The configuration information of above-mentioned shown BMP images includes that the size of embedded BMP images and the original position of embedded BMP images are sat
Mark;
Step 2:High-level interface module (1) is by liquid crystal module horizontal resolution, liquid crystal module vertical resolution, liquid crystal module image
Show that sequential, shown logic picture configuration information and shown BMP image configurations information are parsed, and by the liquid after parsing
Brilliant module horizontal resolution, liquid crystal module vertical resolution, liquid crystal module image show that sequential, shown logic picture match somebody with somebody confidence
Breath and shown BMP image configurations information are saved in image parameter cache module (2);
Step 3:Image parameter modular converter (3) reads the shown logic picture of caching in image parameter cache module (2) and matches somebody with somebody
Confidence cease and shown BMP image configurations information, image parameter modular converter (3) according to shown logic picture configuration information to
Logic picture generation module (6) transmission liquid crystal module horizontal resolution, liquid crystal module vertical resolution, shown logic picture
Configuration parameter transmits control command and display logic picture configuration information;
Meanwhile, image parameter modular converter (3) is transmitted according to shown BMP image configurations information to outside BMP interface modules (4)
Liquid crystal module horizontal resolution, liquid crystal module vertical resolution, shown BMP image configuration parameters transmit control command and show
Show BMP image configurations information;
Meanwhile, liquid crystal module image display sequential is issued RGB picture sequence generation modules (11) by image parameter modular converter (3)
To produce the sequential that liquid crystal module image shows;
Step 4:Image parameter modular converter (3) is completed after the operation described in step 3, and image parameter modular converter (3) is to image
Produce control module (7) and send graphics control signals, for starting successive image storage control module (8), DDR memory module
(9), RGB pictures output module (10) and RGB picture sequence generation modules (11) produce picture, logic picture generation module (6)
The logic picture subfunction type of respective type, these logic picture subfunction classes are started according to the type of shown logic picture
Type operationally can be according to liquid crystal module horizontal resolution, liquid crystal module vertical resolution, shown logic picture configuration information
The calculating for carrying out meeting display effect is processed, so as to produce the location of pixels and pixel color of shown logic pictorial feature point
Value, during logic picture generation module (6) produces shown logic picture, can form intermediate variable sum because of calculating
Can use repeatedly in calculating process according to, these intermediate variables and data, therefore logic picture generation module (6) is by the middle of these
Variable and data are cached, and be stored in call at any time at any time;
Step 5:Just by the characteristic point of desirable pattern after logic picture generation module (6) produces the characteristic point data of desirable pattern
Data send into image and produce control module (7), and image produces what control module (7) sent according to image parameter modular converter (3)
Graphics control signals obtain liquid crystal module horizontal resolution, liquid crystal module vertical resolution, the background colour of shown logic picture,
Shown logic picture pad parameter, and start the pattern data of logic picture generation module (6) generation, image produces control mould
Block (7) is initially formed a width horizontal resolution and vertical resolution be satisfied by shown logic picture basic parameter requirement picture
Face, then logical pattern is put in above-mentioned picture according to the coordinate position of logical pattern, afterwards to the region of non-pattern in picture
Fill Color, adds background colour, so as to form logic picture;
The BMP interface modules (4) transmit control command according to shown BMP image configuration parameters and shown BMP images are matched somebody with somebody
Confidence breath generates BMP images;
Step 6:Image produces control module (7) and deposits in the complete logic picture produced in step 5 and BMP images feeding image
Storage control module (8), image storage control module (8) deposits each pixel in above-mentioned complete logic picture and BMP images
Enter DDR memory module (9), from the beginning of the 1st pixel of the 1st row, successively order deposits the RGB color value of each pixel
Enter in the corresponding address of DDR memory module (9), to the last the RGB color value of last pixel of a line is stored into DDR
In memory module (9);
Step 7:The cutting size information and embedded position information of BMP images are buffered into image parameter by high-level interface module (1)
Cache module (2), image parameter modular converter (3) reads the BMP image cropping size informations in image parameter cache module (2)
And embedded position information, and BMP image croppings size information and embedded position information are converted into into BMP image cropping control instructions
The embedded module (16) of picture is transferred to embedded location control instruction so that the embedded module (16) of picture carries out the embedded standard of cutting
Standby, picture is embedded in module (16) and reads BMP images to generate by BMP interface modules (4), picture be embedded in module (16) according to
Above-mentioned BMP image croppings control instruction and embedded location control instruction by with the BMP image croppings that generate into the BMP to be embedded in
Image, and the corresponding coordinate of the pixel data and embedded location of the BMP images to be embedded in is sent into into image generation control mould
Block (7), image produces coordinate figure of the control module (7) further according to each pixel by the BMP view data to be embedded in by image
Storage control module (8) control is stored in DDR memory module (9), and directly overrides respective area in DDR memory module (9)
The data of the existing logic picture in domain, now DDR memory module (9) just store be embedded with required BMP images logic draw
Face;
Step 8:Image storage control module (8) to image parameter modular converter (3) sends image storage state signal, works as image
The data storage that the logic picture of required BMP images is embedded with storage state signal display image storage control module (8) is complete
Bi Hou, image parameter modular converter (3) to RGB picture output modules (10) sends graphics control signals, meanwhile, image parameter turns
Mold changing block (3) sends liquid crystal module image and shows clock signal, RGB pictures output mould to RGB picture sequence generation modules (11)
The RGB synchronizing signals that block (10) is produced according to RGB picture sequence generation modules (11) under the control of graphics control signals are by institute
The information for obtaining some pixel in certain a line is transferred to image storage control module by RGB picture output modules (10)
(8), the RGB synchronizing signals include video frame synchronization signal, video line synchronization signal and video data useful signal, and image is deposited
The corresponding color value of the pixel, image storage control module (8) are then taken out in storage control module (8) from DDR memory module (9)
The corresponding color value is transferred to into RGB picture output modules (10), RGB picture output modules (10) is by the corresponding face for receiving
Video data useful signal in colour and RGB synchronizing signals is synchronized to together, so as to the RGB image signal for producing parallel is defeated
Go out;
Step 9:Many transmission link low-voltage differential signal transport modules (15) are by parallel RGB image signal according to high-level interface
The LVDS transmission coding control signals that module (1) conveying comes are encoded and are exported the setting of color bit wide, are connect further according to upper strata
The LVDS transmission link number control signals that mouth mold block (1) conveying comes carry out corresponding LVDS transmission modulation stringization and process so that
The image LVDS transmission links signal for being output as standard is exported to LCD module under test on each corresponding transmission link.
7. the method for graph text information is embedded in logic picture according to claim 6, it is characterised in that:The step 7 is entered
While row, step 7.1 is also carried out:High-level interface module (1) is by required embedded character, the size information of required embedded character
Enter image parameter cache module (2), image parameter modular converter (3) with the starting position coordinates information cache of required embedded character
Required embedded character, the size information of required embedded character and required embedded word in reading image parameter cache module (2)
The starting position coordinates information of symbol, and by required embedded character, the size information of required embedded character and required embedded character
Starting position coordinates information be converted into corresponding character embedding parameter and character embedded command, image parameter modular converter (3)
Above-mentioned corresponding character embedding parameter and character embedded command are sent to into the embedded module (17) of character, character is embedded in module (17)
Corresponding character character library is read according to above-mentioned character embedding parameter and character embedded command, and obtains the display pixel of respective symbols
Data, character is embedded in module (17) and the corresponding coordinate position of the display pixel data and pixel of respective symbols is sent into into image generation
Control module (7), image produces coordinate figure of the control module (7) further according to each pixel by the display pixel data of respective symbols
It is stored in DDR memory module (9) by image storage control module (8), and directly overrides phase in DDR memory module (9)
The primitive logic picture data in region is answered, now DDR memory module (9) just stores the logic picture for being embedded with required character
Face;
Then the logic picture for being embedded with required character is exported to liquid crystal mould to be measured according to the mode of above-mentioned steps 8 and step 9
Group.
8. the method for graph text information is embedded in logic picture according to claim 6, it is characterised in that:The liquid crystal module
Image shows that sequential includes that image line crop, image line back porch, image line pulsewidth, image line are shown before refreshing frequency, picture field
Shoulder, picture field back porch, picture field pulsewidth and picture field show refreshing frequency.
9. the method for graph text information is embedded in logic picture according to claim 6, it is characterised in that:Patrol shown by above-mentioned
Collecting picture pad parameter includes logic picture Fill Color, logic picture inside filling mode and logic picture outside filling side
Formula.
10. the method for graph text information is embedded in logic picture according to claim 6, it is characterised in that:The step 4
In, it is to save FPGA resource, completed to basic logic pattern and logical pattern by basic logic picture function module (14)
The process of variation pattern.
The method of graph text information is embedded in 11. logic pictures according to claim 6, it is characterised in that:The LVDS is passed
Defeated coding control signal include LVDS image VESA data output format signals, LVDS image JEIDA data output format signals,
Module displays color range bit wide control signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510325352.9A CN104867470B (en) | 2015-06-12 | 2015-06-12 | Device and method for embedding geographic and documental information in logic picture based on FPGA |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510325352.9A CN104867470B (en) | 2015-06-12 | 2015-06-12 | Device and method for embedding geographic and documental information in logic picture based on FPGA |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104867470A CN104867470A (en) | 2015-08-26 |
CN104867470B true CN104867470B (en) | 2017-04-12 |
Family
ID=53913264
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510325352.9A Active CN104867470B (en) | 2015-06-12 | 2015-06-12 | Device and method for embedding geographic and documental information in logic picture based on FPGA |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104867470B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105427772B (en) * | 2015-10-23 | 2017-12-05 | 武汉精测电子技术股份有限公司 | The multi-tiled display interface signal generation system and method for shared protocol layer |
CN107831167B (en) * | 2017-10-25 | 2021-03-19 | 武汉精测电子集团股份有限公司 | Multi-line scanning camera image acquisition method and device and FPGA platform |
CN108196911B (en) * | 2018-01-02 | 2020-09-22 | 武汉精测电子集团股份有限公司 | Method and device for configuring parameters of image display expansion box |
CN109525795B (en) * | 2018-11-14 | 2020-11-24 | 武汉精立电子技术有限公司 | Method and device for converting logic picture into bmp picture |
-
2015
- 2015-06-12 CN CN201510325352.9A patent/CN104867470B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104867470A (en) | 2015-08-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104932124B (en) | Figure signal generation device and method based on FPGA | |
CN104900204B (en) | Logic frame overlapping device and method based on FPGA | |
CN104867470B (en) | Device and method for embedding geographic and documental information in logic picture based on FPGA | |
KR101021474B1 (en) | full color Variable Message Signboard system for road traffic guidance expression of moving picture | |
CN102486911B (en) | Organic light emitting diode display and driving method thereof | |
US20230336699A1 (en) | Video processing method, video processing device, and display device | |
CN101390040B (en) | Device and method for outputting different images on at least two display units | |
CN104952422B (en) | A kind of method and system that module displays parameter is adjusted in MIPI module displays images | |
CN101814269A (en) | Method and device for simultaneously displaying multiple images in real time on full color LED dot matrix | |
CN104143303B (en) | Arbitrary order gridiron pattern screen component based on FPGA generates method | |
CN109272910B (en) | ARM-based rectangular cross gray scale picture component generation system and method | |
CN101309377B (en) | Method for implementing OSD background display in gradations of color | |
CN101655619B (en) | LCM testing system | |
CN106353900B (en) | A kind of picture signal generation method and device obtaining function with coordinate | |
CN105516633B (en) | A kind of image processing system | |
CN201681588U (en) | Device capable of simultaneously displaying real-time multiple picture on full-color LED dot matrix | |
CN106878650A (en) | A kind of DVI to VGA video change-over devices and its method | |
US9761198B2 (en) | Driving circuit for driving color display to display black-and-white/grayscale images and data conversion circuit thereof | |
CN104143304B (en) | Arbitrary triangle based on FPGA is filled screen component and is generated method | |
CN109360142A (en) | A kind of multichannel images outputting control method based on ZYNQ | |
CN104835434B (en) | Signal generation device | |
CN207530948U (en) | A kind of Video Character Superpose system | |
CN105405377A (en) | Timing control chip non-image detection system and method thereof | |
CN106018911B (en) | A kind of circuit and method reducing oscillograph observation dead zone | |
CN109168072A (en) | A kind of LVDS interface expander and its working method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 430070 Hubei City, Hongshan Province, South Lake Road, No. 53, Hongshan Venture Center, building on the 4 floor, No. Patentee after: Wuhan fine test electronics group Limited by Share Ltd Address before: 430070 Hubei City, Hongshan Province, South Lake Road, No. 53, Hongshan Venture Center, building on the 4 floor, No. Patentee before: Wuhan Jingce Electronic Technology Co., Ltd. |