CN107833567A - Display based on FPGA and signal switching and parameter configuration method thereof - Google Patents

Display based on FPGA and signal switching and parameter configuration method thereof Download PDF

Info

Publication number
CN107833567A
CN107833567A CN201711025203.6A CN201711025203A CN107833567A CN 107833567 A CN107833567 A CN 107833567A CN 201711025203 A CN201711025203 A CN 201711025203A CN 107833567 A CN107833567 A CN 107833567A
Authority
CN
China
Prior art keywords
fpga
clock
mcu
module
pll modules
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.)
Pending
Application number
CN201711025203.6A
Other languages
Chinese (zh)
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.)
Changsha University of Science and Technology
Original Assignee
Changsha University of Science and Technology
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 Changsha University of Science and Technology filed Critical Changsha University of Science and Technology
Priority to CN201711025203.6A priority Critical patent/CN107833567A/en
Publication of CN107833567A publication Critical patent/CN107833567A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention provides a display based on an FPGA and a signal switching and parameter configuration method thereof, wherein parameters required to be configured of the FPGA are stored through a flash, the stored parameters in the flash are configured into the FPGA through an MCU, and a clksel signal of a P LL module is controlled to select an input clock of a P LL module, after the power-on, the FPGA needs to load a netlist file, after the netlist file is loaded, the MCU controls the clksel signal of the P LL module to select the input clock of the P LL module, firstly, a clock of an external crystal oscillator XAT L is selected as the input clock of the P LL module, after the MCU finishes the configuration of all the parameters, the MCU switches the input clock of the P LL module to a data recovery clock, and the data recovery clock is a data synchronization clock recovered by external data through a data receiving module.

Description

A kind of switching of display and its signal and method for parameter configuration based on FPGA
Technical field
The present invention relates to a kind of display based on FPGA and its signal switching method and method for parameter configuration, solve The instability problem of FPGA parameter configurations, the precision of FPGA parameter configurations is added, shortens the available machine time, added and be The stability of system.
Background technology
At present, domestic display has had below 5M and the special SOC circuit platforms of 8M displays, can meet from smaller screen to The basic function demand of large screen display.But, can not due to there is no floating-point operation in SOC in terms of the special function of display Carry out complicated DICOM (Digital Imaging and Communications in Medicine, i.e. Digital imaging in medicine And communication) etc. criterion calculation, therefore can not realize DICOM built in display calibrate automatically, contrast enhancing, the consultation of doctors giant-screen show The functions such as adaptive partition GAMMA, Demura for showing.Domestic medical producer is due to using SOC platform, without above-mentioned function, The image quality and functional requirement of high-end display can not be met, can not also form the personality superiority and competitiveness of enterprise's display. And the platform of the company such as leading BARCO, EZIO of display industry uses FPGA designed, designed algorithms, is respectively provided with this function.
In order to adapt to the display screen of various models, FPGA parameter be able to must be configured freely;Rapidly and accurately will Quantity of parameters be configured in FPGA corresponding modules be display normal work premise.Therefore, it is necessary to designed for this problem A solution.
The content of the invention
Technical problem solved by the invention is to provide a kind of display based on FPGA and its signal switching method and ginseng Number collocation method, it can realize that DICOM built in display is calibrated automatically, contrast strengthens, the adaptive of large screen display of holding a consultation The functions such as subregion GAMMA, Demura, and the parameter of each module can be configured rapidly and accurately in FPGA.
Technical scheme provided by the present invention is:
A kind of display based on FPGA, including flash, MCU, FPGA, crystal oscillator XATL and SOC;
The flash is used to deposit the parameter that FPGA needs to configure;MCU is used to storage parameter configuration to arrive in flash FPGA register module (REG_WR), and during by controlling the clksel signals of PLL modules to select the input of PLL modules Clock;
The crystal oscillator XATL is used to provide clock for FPGA electric initial stage over the display;
The SOC is connected with FPGA, for sending video signal data to FPGA;
FPGA carries out image with the vision signal received according to the parameter of configuration and shown.
Present invention also offers a kind of signal switching method of the display based on FPGA, the display shows for above-mentioned Show device, its signal switching method is:
After upper electricity, FPGA needs to load net meter file, after net meter file has loaded, MCU control PLL modules Clksel signals select the input clock of PLL modules;Input of the external crystal-controlled oscillation XATL clock as PLL modules is selected first Clock;After MCU is by all parameter configurations, the input clock of PLL modules is switched to data recovery clock Clk_ by MCU Phy, Clk_phy are the data sync clocks that external data is recovered by data reception module (RX_PHY).
Present invention also offers a kind of method for parameter configuration of the display based on FPGA, comprise the following steps
After upper electricity, FPGA needs to load net meter file, after net meter file has loaded, MCU control PLL modules Clksel signals select the input clock of PLL modules;Input of the external crystal-controlled oscillation XATL clock as PLL modules is selected first Clock;By MCU by the parameter configuration being stored in flash into FPGA;
After MCU is by all parameter configurations, the input clock of PLL modules is switched to data recovery clock by MCU Clk_phy, Clk_phy clock are the data sync clocks that external data is gone out by RX_PHY module recoverys;
After input clock has been switched, PLL modules are resetted, after waiting the locking of PLL modules, lock letters can be sent out Number, represent the clock stables of input and output;After MCU receives the lock signals of PLL modules, to the functional module in FPGA (Function Module) solution resets, and the module formally enters mode of operation, now register module (REG_WR) and function mould The sampling clock of block (Function Module) is synchronous with the clock that soc sends data;Parameters and reception of the FPGA according to configuration The vision signal sent to SOC carries out image and shown;In image display status, FPGA parameter is configured by MCU, it is real When watch and image quality effect and being debugged, shorten the construction cycle.
Beneficial effect:
A kind of display based on FPGA provided by the invention, can realize that DICOM built in display is calibrated, contrasted automatically The functions such as degree strengthens, adaptive partition GAMMA, Demura of consultation of doctors large screen display;
The signal switching method of display provided by the invention, at upper electric initial stage, external crystal-controlled oscillation XATL clock was selected to make For the input clock of PLL modules, data recovery clock Clk_phy unstable state can be avoided;When MCU matches somebody with somebody all parameters After putting, data recovery clock Clk_phy has stablized, and now the input clock of PLL modules is switched to data recovery by MCU Clock Clk_phy, can guarantee that FPGA internal modules sampling clock sent with front end SOC data clock it is synchronous, ensure that data are adopted The accuracy of sample.
The method for parameter configuration of the display of the offer of the present invention, at upper electric initial stage, using external crystal-controlled oscillation XATL clock As the input clock of PLL modules, FPGA is configured according to the configuration parameter to be prestored in flash, parameter configuration it is quick and Accurately;In image display status, using input clocks of the outer data recovery clock Clk_phy as PLL modules, pass through MCU pairs FPGA parameter is configured, real-time viewing effect, this facilitate that the debugging of image quality effect, shortens the construction cycle;Calibration is accurate True rate is high, reaches the level of International Medical industry-leading company, leads over the rival of domestic medical treatment, can be widely used for diagnosing Display.
Brief description of the drawings
Fig. 1 is the present invention program;
Fig. 2 is existing conventional design layout.
Embodiment
The present invention is described in more detail below in conjunction with the drawings and specific embodiments.
The invention discloses a kind of display based on FPGA and its signal switching and method for parameter configuration, display to include Flash, MCU, FPGA, crystal oscillator XATL and SOC;
The parameter that FPGA needs to configure is stored in plug-in flash, and after upper electricity, parameter configuration is arrived into FPGA's by MCU Register module REG_WR;
After upper electricity, FPGA needs to load net meter file, takes around 500ms or so;
After net meter file has loaded, the clksel signals of MCU control PLL modules select the input clock of PLL modules; As shown in figure 1, input clock of the external crystal-controlled oscillation XATL clock as PLL modules is selected first;Clock line such as Fig. 1 red institute Show.At upper electric initial stage, the clock stable from external crystal-controlled oscillation XATL, clock transfer was given to each module by PLL modules, it is ensured that Each module normal work in FPGA;
After MCU is by all parameter configurations, the input clock of PLL modules is switched to data recovery clock by MCU Clk_phy, Clk_phy are the data sync clocks that external data is gone out by RX_PHY module recoverys.
As shown in figure 1, Clk_phy clock is the data sync clock that external data is gone out by RX_PHY module recoverys; FPGA video signal data comes from SOC, can just send stable data after needing initialization after the upper electricity of SOC, initially The time of change is determined by the number of initialization data.Which results in data recovery clock Clk_phy after power-up not Certainty.And the present invention uses external crystal-controlled oscillation clock to avoid data recovery clock Clk_phy not as work clock first Stable state.FPGA transmits data configuration parameter by I2C, in the present embodiment configuration complete all parameters need 3.6S when Between.According to test and producer's parameter, now data recovery clock Clk_phy stablized.If do not switch back into data syn-chronization Clock, can cause FPGA internal modules sampling clock sent with front end SOC data clock it is asynchronous, cause data sampling mistake.
Because the switching of clock can cause the losing lock of PLL modules, after input clock has been switched, to PLL modules (reset is the basic skills for locking PLL modules) is resetted, after waiting the locking of PLL modules, lock signals can be sent out, represented The clock stable of input and output;It is (including adaptive to Function Module after MCU receives the lock signals of PLL modules Answer subregion GAMMA, Demura module etc.) solution reset (release and reset operation, make it be operated in normal condition), the module is formal Into mode of operation, now the sampling clock of REG_WR modules and Function Module modules and SOC send the clock of data It is synchronous;FPGA parameter can be configured by MCU, real-time viewing effect, this facilitate that image quality in image display status The debugging of effect, shortens the construction cycle., can should by adjusting the parameter of the modules such as adaptive partition GAMMA, Demura System is very easily transplanted in other schemes.
As shown in Fig. 2 being conventional design layout, upper electric initial stage, the stabilization time of SOC signals does not know, the number parsed It is unstable according to synchronised clock clk_phy.FPGA parameter configurations malfunction after causing electricity, the wrong phenomenons such as flower screen, blank screen occur.
Technical scheme provided by the invention solves the instability problem of FPGA parameter configurations, adds FPGA parameters and matches somebody with somebody The precision put;Available machine time=loading netlist time (500ms)+SOC signal stabilization times in conventional scheme are (rule of thumb Value is set as 3s)+parameter configuration the time (3.6s), and in the present invention, while parameter configuration, signal tends towards stability, and saves The waiting signal stable time, so available machine time=loading netlist time (500ms)+parameter configuration time in the present invention (3.6s), it is thus of the invention to shorten the available machine time relative to conventional design layout, add the stability of system.

Claims (3)

1. a kind of display based on FPGA, it is characterised in that including flash, MCU, FPGA, crystal oscillator XATL and SOC;
The flash is used to deposit the parameter that FPGA needs to configure;MCU is used to storage parameter configuration to arrive FPGA's in flash Register module, and select the input clock of PLL modules by controlling the clksel signals of PLL modules;
The crystal oscillator XATL is used to provide clock for FPGA electric initial stage over the display;
The SOC is connected with FPGA, for sending video signal data to FPGA;
FPGA carries out image with the vision signal received according to the parameter of configuration and shown.
2. a kind of signal switching method of the display based on FPGA, the display is above-mentioned display, and its signal switches Method is:
After upper electricity, FPGA needs to load net meter file, after net meter file has loaded, the clksel letters of MCU control PLL modules Number select the input clock of PLL modules;Input clock of the crystal oscillator XATL clock as PLL modules is selected first;When MCU will After all parameter configurations, the input clock of PLL modules is switched to data recovery clock Clk_phy, Clk_phy by MCU is The data sync clock that external data is recovered by data reception module.
3. a kind of method for parameter configuration of the display based on FPGA, comprises the following steps
After upper electricity, FPGA needs to load net meter file, after net meter file has loaded, the clksel letters of MCU control PLL modules Number select the input clock of PLL modules;Input clock of the external crystal-controlled oscillation XATL clock as PLL modules is selected first;It is logical MCU is crossed by the parameter configuration being stored in flash into FPGA;
After MCU is by all parameter configurations, the input clock of PLL modules is switched to data recovery clock Clk_ by MCU Phy, Clk_phy clock are the data sync clocks that external data is gone out by RX_PHY module recoverys;
After input clock has been switched, PLL modules are resetted, after waiting the locking of PLL modules, lock signals can be sent out, Represent the clock stable of input and output;After MCU receives the lock signals of PLL modules, the functional module in FPGA is demultiplexed Position, the module formally enters mode of operation, now register module and the sampling clock of functional module and soc send data when Clock is synchronous;FPGA carries out image with the vision signal for receiving SOC transmissions according to the parameter of configuration and shown;Shape is shown in image State, FPGA parameter is configured by MCU, watch image quality effect in real time and debugged.
CN201711025203.6A 2017-10-27 2017-10-27 Display based on FPGA and signal switching and parameter configuration method thereof Pending CN107833567A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711025203.6A CN107833567A (en) 2017-10-27 2017-10-27 Display based on FPGA and signal switching and parameter configuration method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711025203.6A CN107833567A (en) 2017-10-27 2017-10-27 Display based on FPGA and signal switching and parameter configuration method thereof

Publications (1)

Publication Number Publication Date
CN107833567A true CN107833567A (en) 2018-03-23

Family

ID=61650678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711025203.6A Pending CN107833567A (en) 2017-10-27 2017-10-27 Display based on FPGA and signal switching and parameter configuration method thereof

Country Status (1)

Country Link
CN (1) CN107833567A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733404A (en) * 2018-05-28 2018-11-02 电子科技大学 A kind of accurate reverse engineering approach for FPGA firmwares
CN108898995A (en) * 2018-08-14 2018-11-27 安徽世阳光电有限公司 A kind of display without adjusting screen
CN110719373A (en) * 2019-09-16 2020-01-21 烽火通信科技股份有限公司 Anti-hang-up xDSL system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101295473A (en) * 2007-04-23 2008-10-29 郭新国 Method for implementing real-time waveform smooth rolling and multi-layer information stacking display by SOPC technology
CN101547364A (en) * 2009-05-05 2009-09-30 北京牡丹视源电子有限责任公司 Transport stream generator
CN103488607A (en) * 2013-09-07 2014-01-01 安徽华东光电技术研究所 Communication system and communication method for SOC (system on chip) processor and FPGA (field-programmable gate array) chip on embedded linux platform
CN104409059A (en) * 2014-11-21 2015-03-11 中航华东光电有限公司 Driving circuit, display and driving method thereof
CN106875908A (en) * 2017-03-15 2017-06-20 四川长虹电器股份有限公司 It is a kind of to realize system, screen display method and signal processing method that color depth 8K high shows

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101295473A (en) * 2007-04-23 2008-10-29 郭新国 Method for implementing real-time waveform smooth rolling and multi-layer information stacking display by SOPC technology
CN101547364A (en) * 2009-05-05 2009-09-30 北京牡丹视源电子有限责任公司 Transport stream generator
CN103488607A (en) * 2013-09-07 2014-01-01 安徽华东光电技术研究所 Communication system and communication method for SOC (system on chip) processor and FPGA (field-programmable gate array) chip on embedded linux platform
CN104409059A (en) * 2014-11-21 2015-03-11 中航华东光电有限公司 Driving circuit, display and driving method thereof
CN106875908A (en) * 2017-03-15 2017-06-20 四川长虹电器股份有限公司 It is a kind of to realize system, screen display method and signal processing method that color depth 8K high shows

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
宋承杰: "《基于FPGA的彩色LED大屏幕显示系统的设计与实现》", 《CNKI》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733404A (en) * 2018-05-28 2018-11-02 电子科技大学 A kind of accurate reverse engineering approach for FPGA firmwares
CN108898995A (en) * 2018-08-14 2018-11-27 安徽世阳光电有限公司 A kind of display without adjusting screen
CN110719373A (en) * 2019-09-16 2020-01-21 烽火通信科技股份有限公司 Anti-hang-up xDSL system and method
CN110719373B (en) * 2019-09-16 2021-04-27 烽火通信科技股份有限公司 Anti-hang-up xDSL system and method

Similar Documents

Publication Publication Date Title
CN107833567A (en) Display based on FPGA and signal switching and parameter configuration method thereof
CN105404374B (en) Reset system and repositioning method in the piece of on-chip system chip
US20110179211A1 (en) Bios architecture
CN104267638B (en) Serializer/deserializer clock source based on clock managers and FPGA
US20170041086A1 (en) Data transmission apparatus for changing clock signal at runtime and data interface system including the same
CN108010476A (en) A kind of video signal transmission clock generating device and method
CN107861896A (en) A kind of display system and its display methods
CN104050135A (en) Synchronizing data transfer from a core to a physical interface
CN101714860A (en) Oscillation circuit and image display device
CN102830615B (en) Aviation timing method and system for providing dual time display and UTC (Universal Time Coordinated) timing and sending
CN109543811B (en) Counting circuit, counting method and chip
Jabłoński et al. IEEE 1588 time synchronization board in MTCA. 4 form factor
US8868827B2 (en) FIFO apparatus for the boundary of clock trees and method thereof
CN106776425A (en) A kind of working frequency method to set up, main control card, service card and communication equipment
CN113031695A (en) Control circuit device, electronic apparatus, control method, and readable storage medium
CN107678871A (en) A kind of electronic equipment starting-up method and electronic equipment
US20170200251A1 (en) Display control apparatus, pixel clock control component and method for dynamically configuring a pixel clock
CN104348931A (en) Self-adaptive compatible system and method of quartz crystal oscillator for mobile terminal
CN109521986A (en) A kind of signal receives resetting apparatus, system and display
CN107682587B (en) Video processor
CN104835434B (en) Signal generation device
CN214098410U (en) Paperless recorder
CN107578734A (en) The generating means and production method of a kind of rgb signal
CN114238197A (en) Method for building airplane instrument of QNX system based on vehicle gauge chip
US10340896B1 (en) Electronic system and signal switching circuit

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180323