CN110738594B - FPGA-based onboard electronic instrument picture generation method - Google Patents
FPGA-based onboard electronic instrument picture generation method Download PDFInfo
- Publication number
- CN110738594B CN110738594B CN201911194261.0A CN201911194261A CN110738594B CN 110738594 B CN110738594 B CN 110738594B CN 201911194261 A CN201911194261 A CN 201911194261A CN 110738594 B CN110738594 B CN 110738594B
- Authority
- CN
- China
- Prior art keywords
- image
- instruction
- unit
- fpga
- ram
- 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
- 238000000034 method Methods 0.000 title claims abstract description 13
- 238000013519 translation Methods 0.000 claims abstract description 25
- 238000013461 design Methods 0.000 claims abstract description 5
- 238000013507 mapping Methods 0.000 claims description 4
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 230000010354 integration Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 241000854350 Enicospilus group Species 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/20—Processor architectures; Processor configuration, e.g. pipelining
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/60—Memory management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/60—Rotation of whole images or parts thereof
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
- Image Generation (AREA)
Abstract
The invention discloses an onboard electronic instrument picture generating method based on FPGA, which takes FPGA as a core processor, utilizes rich hardware logic resources and RAM storage resources, designs 10 layers in an FPGA chip, can independently set a bmp bitmap as an image of the current layer for each layer, realizes the rotation and translation operations of the image of the current layer according to the requirement of a drawing instruction, and finally superposes the 10 layers in sequence, thereby realizing the onboard electronic instrument picture. The invention fully utilizes the advantages of FPGA parallel computation, can improve the generation efficiency of graphic pictures, improves the integration level of the system, and is beneficial to realizing the requirements of miniaturization and low power consumption of the system.
Description
Technical Field
The invention relates to a method for generating an image of an airborne electronic instrument based on an FPGA (field programmable gate array), belonging to the technical field of image display of the airborne electronic instrument.
Background
In modern airborne integrated display systems, electronic liquid crystal instruments are increasingly widely used. For this application scenario, although the conventional CPU + GPU architecture display can generate high-resolution and high-quality graphics images, it has the problems of large power consumption, high cost, complex system, and the like.
Especially, for some small-sized electronic instruments, the requirements on low cost, small volume, low power consumption and the like are strict, and the requirements of design indexes are difficult to meet in the aspects of adopting the traditional CPU + GPU architecture.
Disclosure of Invention
The invention aims to solve the defects of the prior art, and provides a method for generating an onboard electronic instrument picture based on an FPGA (field programmable gate array) aiming at the problems of high power consumption, high cost and complex system of a traditional CPU + GPU (graphics processing unit) architecture display.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
the FPGA-based onboard electronic instrument picture generation method comprises the following steps:
the design of an FPGA framework is carried out,
designing ten layers and an image superposition unit in the FPGA by using on-chip logic resources and RAM resources of the FPGA, wherein the ID numbers of the ten layers are sequentially 0-9 in a front-back sequence, and each layer comprises an instruction buffer area, an instruction acquisition unit, an image storage ROM, an image rotation unit, an image translation unit and two groups of image cache RAMs;
the drawing instruction is analyzed, and the drawing instruction is analyzed,
analyzing a mapping instruction input at the front end by using logic resources in the FPGA chip, distinguishing the analyzed instruction according to the rotation and translation functions, and caching the instruction into instruction buffer areas of all layers;
the picture of each layer is generated,
the instruction acquisition unit is used for performing instruction acquisition operation from an instruction buffer area of a current layer to acquire a rotation angle and a translation coordinate of an image of the current layer, transmitting the rotation angle parameter to a subsequent image rotation unit and transmitting the translation coordinate to a subsequent image translation unit;
the image storage ROM is used for storing specific images of the current layer, the images are stored in the format of a bmp bitmap converted file, and corresponding image pictures are output from the image storage ROM by taking a video time sequence generated by the post-stage image superposition unit as a reference;
the image rotation unit receives a rotation instruction of the front end and rotates the image output from the image storage ROM by a specific angle according to the instruction requirement;
the image translation unit receives a translation instruction at the front end and translates the image which is output by the image rotation unit and rotated according to a specific angle into corresponding coordinates according to the instruction requirement;
the image cache RAM is used for timing sequence adjustment and image temporary storage, the RAM for executing reading operation outputs the last frame of image picture temporarily stored in the RAM according to the timing sequence of the later-stage image superposition unit; the RAM for executing the writing operation temporarily stores the processed current frame image into the RAM;
the image layers are superposed with each other,
the image superposition unit outputs a set of uniform time sequence to the image cache RAM of each layer, the pictures of each layer are uniformly output from the image cache RAM according to the time sequence,
and image pictures output by each layer are collected to an image superposition unit, and the image superposition unit superposes 10 layers in total of 0-9 in sequence in a transparent superposition mode to output a final complete image picture.
The invention has the following beneficial effects:
1. the high-quality dynamic electronic instrument picture can be output through the FPGA.
2. The electronic instrument picture with small resolution can reach 512 multiplied by 512@60Hz and 256 gray levels.
3. The output picture has high real-time performance. From the reception of the command to the final output of the picture, the data is delayed by one field sync period.
Drawings
FIG. 1 is a schematic diagram of a schematic framework of the method for generating an image of an on-board electronic instrument based on an FPGA.
Detailed Description
The invention provides an onboard electronic instrument image generation method based on an FPGA. The technical solution of the present invention is described in detail below with reference to the accompanying drawings so that it can be more easily understood and appreciated.
The method for generating the airborne electronic instrument picture based on the FPGA is mainly used for small-size airborne electronic instruments, static image mapping is achieved by using storage resources on an FPGA chip, rotation, translation and superposition operations of static images are achieved by using logic resources on the FPGA chip, and common small-size airborne electronic instrument picture display is achieved by receiving corresponding airborne picture drawing instructions.
Fig. 1 is a schematic diagram of the principle framework of the method.
Firstly, taking a K7 series FPGA of Xilinx company as core hardware, carrying out FPGA frame design, designing ten layers and an image superposition unit in the FPGA by utilizing on-chip logic resources and RAM resources, wherein the ten layers correspond to respective ID numbers and are sequentially 0-9 in sequence from front to back, each layer comprises an instruction buffer area, an instruction acquisition unit, an image storage ROM, an image rotation unit, an image translation unit and two groups of image cache RAMs, and the image superposition unit is used for providing time sequence attributes for each layer and carrying out transparent superposition display on output images of each layer.
And (5) analyzing the drawing instruction.
And analyzing the mapping instruction input at the front end by using logic resources in the FPGA chip, distinguishing the analyzed instruction according to the rotation and translation functions, and caching the instruction into an instruction buffer area of each layer at the later stage. The instruction buffer is implemented by a set of FPGA on-chip dual-port RAMs.
And generating pictures of each layer.
And (3) designing 10 layers in total by utilizing on-chip logic resources and RAM resources in the FPGA, wherein the ID numbers corresponding to the layers are 0-9 in sequence. Each image layer comprises an instruction acquisition unit, an image storage ROM, an image rotation unit, an image translation unit and two groups of image cache RAMs.
The instruction acquisition unit is used for performing instruction acquisition operation from an instruction buffer area of a current layer to acquire a rotation angle and a translation coordinate of an image of the current layer, transmitting the rotation angle parameter to a subsequent image rotation unit and transmitting the translation coordinate to a subsequent image translation unit;
the image storage ROM is used for storing specific images of the current layer, and the images are stored in the format of a multi-mif file after bmp bitmap conversion. The corresponding image picture is output from the ROM with reference to the video timing generated by the latter-stage image superimposing unit.
The image rotation unit receives a rotation command from the front end and rotates the image outputted from the image storage ROM by a specified angle according to the command.
The image translation unit receives a translation instruction at the front end, and translates the image which is output from the image rotation unit and rotated according to a specific angle according to the instruction requirement by corresponding coordinates.
The image cache RAM is used for timing adjustment and image temporary storage. And the current layer image of which the front end is processed by the image rotation unit and the image translation unit writes the cache into an image cache RAM.
The image cache RAM has A, B groups, and works in ping-pong operation mode, i.e. group A executes write-read-write- … operation in turn, and group B executes read-write-read- … operation in turn. The RAM for executing the reading operation outputs the last frame of image picture temporarily stored in the RAM according to the time sequence of the later-stage image superposition unit; the RAM for executing the writing operation temporarily stores the processed current frame image into the RAM.
And (6) overlapping the layers.
The image superposition unit outputs a set of uniform time sequence to the image cache RAM of each layer, and the images of each layer are uniformly output from the image cache RAM according to the time sequence. And image pictures output by each layer are collected to an image superposition unit, and the image superposition unit superposes 10 layers in total of 0-9 in sequence in a transparent superposition mode to output a final complete image picture.
Through the description, the method for generating the images of the airborne electronic instrument based on the FPGA makes full use of the advantages of FPGA parallel computation, can improve the generation efficiency of the images, improves the integration level of the system, and is favorable for realizing the requirements of miniaturization and low power consumption of the system.
The technical solutions of the present invention are fully described above, it should be noted that the specific embodiments of the present invention are not limited by the above description, and all technical solutions formed by equivalent or equivalent changes in structure, method, or function according to the spirit of the present invention by those skilled in the art are within the scope of the present invention.
Claims (1)
1. The method for generating the onboard electronic instrument picture based on the FPGA is characterized by comprising the following steps of:
the design of an FPGA framework is carried out,
designing ten layers and an image superposition unit by using on-chip logic resources and RAM resources in the FPGA, wherein the ID numbers of the ten layers are sequentially 0-9 according to the front and back, and each layer comprises an instruction buffer area, an instruction acquisition unit, an image storage ROM, an image rotation unit, an image translation unit and two groups of image cache RAMs;
the drawing instruction is analyzed, and the drawing instruction is analyzed,
analyzing a mapping instruction input at the front end by using logic resources in the FPGA chip, distinguishing the analyzed instruction according to the rotation and translation functions, and caching the instruction into instruction buffer areas of all layers;
the picture of each layer is generated,
the instruction acquisition unit is used for performing instruction acquisition operation from an instruction buffer area of a current layer to acquire a rotation angle and a translation coordinate of an image of the current layer, transmitting the rotation angle parameter to a subsequent image rotation unit and transmitting the translation coordinate to a subsequent image translation unit;
the image storage ROM is used for storing specific images of the current layer, the images are stored in the format of a bmp bitmap converted file, and corresponding image pictures are output from the image storage ROM by taking a video time sequence generated by the post-stage image superposition unit as a reference;
the image rotation unit receives a rotation instruction of the front end and rotates the image output from the image storage ROM by a specific angle according to the instruction requirement;
the image translation unit receives a translation instruction at the front end and translates the image which is output from the image rotation unit and rotated according to a specific angle into corresponding coordinates according to the instruction requirement;
the image cache RAM is used for timing sequence adjustment and image temporary storage, the RAM for executing reading operation outputs the last frame of image picture temporarily stored in the RAM according to the timing sequence of the later-stage image superposition unit; the RAM for executing the writing operation temporarily stores the processed current frame image into the RAM;
the image layers are superposed with each other,
the image superposition unit outputs a set of uniform time sequence to the image cache RAM of each layer, the pictures of each layer are uniformly output from the image cache RAM according to the time sequence,
and image pictures output by each layer are collected to the image superposition unit, and the image superposition unit superposes 10 layers in total from 0 to 9 in a transparent superposition mode to output the final complete image picture.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911194261.0A CN110738594B (en) | 2019-11-28 | 2019-11-28 | FPGA-based onboard electronic instrument picture generation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911194261.0A CN110738594B (en) | 2019-11-28 | 2019-11-28 | FPGA-based onboard electronic instrument picture generation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110738594A CN110738594A (en) | 2020-01-31 |
CN110738594B true CN110738594B (en) | 2022-09-20 |
Family
ID=69274059
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911194261.0A Active CN110738594B (en) | 2019-11-28 | 2019-11-28 | FPGA-based onboard electronic instrument picture generation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110738594B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112631534B (en) * | 2020-12-21 | 2022-09-20 | 苏州长风航空电子有限公司 | Electromechanical parameter display method based on MircoBlaze + FPGA architecture |
CN112967352B (en) * | 2021-03-09 | 2024-09-10 | 苏州佳智彩光电科技有限公司 | Multilayer logic picture generation method and device |
CN114020380A (en) * | 2021-10-21 | 2022-02-08 | 北京电子工程总体研究所 | Radar image display device and method |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101299328A (en) * | 2008-06-19 | 2008-11-05 | 华为技术有限公司 | Image display method and apparatus |
-
2019
- 2019-11-28 CN CN201911194261.0A patent/CN110738594B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101299328A (en) * | 2008-06-19 | 2008-11-05 | 华为技术有限公司 | Image display method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN110738594A (en) | 2020-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110738594B (en) | FPGA-based onboard electronic instrument picture generation method | |
CN101246256B (en) | Scalable high-speed wavefront slope processor based on FPGA | |
US7724263B2 (en) | System and method for a universal data write unit in a 3-D graphics pipeline including generic cache memories | |
CN100504923C (en) | Grain engine for grain video signal processing, graph processor and method | |
US20100265259A1 (en) | Generating and resolving pixel values within a graphics processing pipeline | |
CN103226807B (en) | For image rotating method and the device of lattice display equipment | |
CN109658337A (en) | A kind of FPGA implementation method of image real-time electronic racemization | |
DE102021127982A1 (en) | STREAMING A FIELD OF LIGHT WITH LOSSLESS OR LOSSY COMPRESSION | |
CN109873998B (en) | Infrared video enhancement system based on multi-level guide filtering | |
CN110798632A (en) | OSD menu realization method based on FPGA | |
CN105516669A (en) | Onboard display device and method | |
Wang et al. | A new real-time lucky imaging algorithm and its implementation techniques | |
CN204855793U (en) | Marine navigation radar shows accuse processing unit based on OMAP4460 | |
KR20240093463A (en) | Meshrit Shading Atlas | |
CN116260800A (en) | Video real-time superposition processing device and method based on embedded platform | |
CN111242832B (en) | System C-based GPU texture mapping period accurate joint simulation device and method | |
CN103745681B (en) | A kind of graphicalphanumeric generator based on complex programmable device | |
CN112631534B (en) | Electromechanical parameter display method based on MircoBlaze + FPGA architecture | |
Modrzyk et al. | 24‐1: Mira Display Processor for AR/VR Systems | |
CN106780288B (en) | Hardware acceleration circuit that polygon was filled | |
CN113962842B (en) | Dynamic non-polar despinning system and method based on high-level synthesis of large-scale integrated circuit | |
WO2021071633A1 (en) | Methods and apparatus for multiple lens distortion correction | |
Yang et al. | ACNPU: A 4.75 TOPS/W 1080P@ 30FPS Super Resolution Accelerator With Decoupled Asymmetric Convolution | |
US20240264625A1 (en) | Transient current-mode signaling scheme for on-chip interconnect fabrics | |
US20240249399A1 (en) | Image processing method, device, and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |