TWI516854B - Projection apparatus and image data accessing method thereof - Google Patents

Projection apparatus and image data accessing method thereof Download PDF

Info

Publication number
TWI516854B
TWI516854B TW102135398A TW102135398A TWI516854B TW I516854 B TWI516854 B TW I516854B TW 102135398 A TW102135398 A TW 102135398A TW 102135398 A TW102135398 A TW 102135398A TW I516854 B TWI516854 B TW I516854B
Authority
TW
Taiwan
Prior art keywords
memory
image data
image
clock signal
unit
Prior art date
Application number
TW102135398A
Other languages
Chinese (zh)
Other versions
TW201512764A (en
Inventor
方富生
Original Assignee
大同股份有限公司
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 大同股份有限公司 filed Critical 大同股份有限公司
Priority to TW102135398A priority Critical patent/TWI516854B/en
Priority to CN201310594566.7A priority patent/CN104519292A/en
Publication of TW201512764A publication Critical patent/TW201512764A/en
Application granted granted Critical
Publication of TWI516854B publication Critical patent/TWI516854B/en

Links

Description

投影裝置及其影像資料存取方法 Projection device and image data access method thereof

本發明是有關於一種投影技術,且特別是有關於一種投影裝置及其影像資料存取方法。 The present invention relates to a projection technique, and more particularly to a projection apparatus and an image data access method thereof.

投影裝置可將影像投影於一較大的螢幕上,以方便更多的人同時觀看到螢幕上所顯示的內容。因此,常應用於公司及學校等公共場合。再者,隨著家用顯示產品朝向大尺寸發展的趨勢,投影裝置也逐漸普及於一般家庭中,而成為一種在現代生活中日常的電子產品。 The projection device can project images onto a larger screen to allow more people to simultaneously view the content displayed on the screen. Therefore, it is often used in public places such as companies and schools. Furthermore, as household display products are moving toward larger sizes, projection devices are becoming more and more popular in general households, and become an everyday electronic product in modern life.

一般來說,在投影裝置投影畫面的過程中,投影裝置依據時脈訊號而在單一記憶體中進行影像資料的寫入與讀取。也就是說,此單一記憶體依據時脈訊號的控制於讀取狀態與寫入狀態之間轉換,即此記憶體無法同時間進行影像資料的寫入與讀取。於是,投影裝置需等待此單一記憶體轉換為讀取狀態時,才能輸出一幀(frame)影像畫面。而且,投影裝置在輸出一幀影像畫面 後,單一記憶體需再次轉換為寫入狀態以將影像資料寫入至記憶體當中。 Generally, in the process of projecting a screen by the projection device, the projection device performs writing and reading of the image data in a single memory according to the clock signal. That is to say, the single memory is switched between the read state and the write state according to the control of the clock signal, that is, the memory cannot write and read the image data at the same time. Therefore, the projection device waits for the single memory to be converted into the read state, and can output a frame image frame. Moreover, the projection device outputs one frame of image After that, the single memory needs to be converted to the write state again to write the image data into the memory.

由此可見,投影裝置需要等待單一記憶體之存取狀態的轉換才可將影像畫面投影出去。倘若時脈訊號的頻率太低,投影裝置所投影的畫面就可能發生畫面延遲的問題。一般來說,為了達到順暢的投影效果,可提高時脈訊號的頻率來避免畫面延遲的問題,但提高時脈訊號的頻率相對的會產生耗電的現象。另一方面,為了提供更高的解析度,影像畫面的資料量也將隨之增加。於是單一幀影像資料所需的讀取時間與寫入時間也會拉長,也就相對的更容易發生畫面延遲的問題。 It can be seen that the projection device needs to wait for the conversion of the access state of the single memory to project the image frame. If the frequency of the clock signal is too low, the picture projected by the projection device may have a problem of picture delay. In general, in order to achieve a smooth projection effect, the frequency of the clock signal can be increased to avoid the problem of picture delay, but increasing the frequency of the clock signal causes power consumption. On the other hand, in order to provide higher resolution, the amount of data on the image screen will also increase. Therefore, the read time and the write time required for a single frame of image data are also lengthened, and the problem of picture delay is relatively easy to occur.

有鑑於此,本發明提供一種記憶體控制器及其資料存取方法,藉由單一時脈訊號的控制於兩記憶體中讀取資料與寫入資料,以讓投影裝置能快速的輸出影像,而提昇投影畫面觀賞上的順暢度。 In view of the above, the present invention provides a memory controller and a data access method thereof, which can read and write data in two memories by controlling a single clock signal, so that the projection device can output images quickly. Improve the smoothness of the projection screen.

本發明的提出一種投影裝置,包括影像接收單元、影像投影單元、第一記憶體、第二記憶體以及記憶體控制器。影像接收單元用以接收影像資料,而影像投影單元用以將對應於影像資料的影像投影至投影面。記憶體控制器耦接影像投影單元、影像接收單元、第一記憶體與第二記憶體,且其經配置以:反應於時脈訊號的第一準位而將影像接收單元傳送來的影像資料寫入至第 一記憶體,且與此同時從第二記憶體讀取出已儲存於第二記憶體的影像資料。 The present invention provides a projection apparatus including an image receiving unit, an image projection unit, a first memory, a second memory, and a memory controller. The image receiving unit is configured to receive image data, and the image projection unit is configured to project an image corresponding to the image data to the projection surface. The memory controller is coupled to the image projection unit, the image receiving unit, the first memory and the second memory, and configured to: image data transmitted by the image receiving unit in response to the first level of the clock signal Write to the first A memory, and at the same time, the image data stored in the second memory is read from the second memory.

在本發明的一實施例中,上述的記憶體控制器更經配置以:反應於時脈訊號的一第二準位而從第一記憶體讀取出已儲存第一記憶體的影像資料,且與此同時將影像接收單元傳送來的影像資料寫入至第二記憶體。 In an embodiment of the invention, the memory controller is further configured to: read the image data of the stored first memory from the first memory in response to a second level of the clock signal, At the same time, the image data transmitted by the image receiving unit is written to the second memory.

在本發明的一實施例中,上述的投影裝置更包括時脈產生單元。時脈產生單元耦接記憶體控制器並提供時脈訊號至記憶體控制器,而時脈訊號的第一準位與第二準位為相異的準位。 In an embodiment of the invention, the projection apparatus further includes a clock generation unit. The clock generation unit is coupled to the memory controller and provides a clock signal to the memory controller, and the first level and the second level of the clock signal are different levels.

在本發明的一實施例中,上述的記憶體控制器包括記憶體介面以及記憶體管理單元。此記憶體介面耦接第一記憶體與第二記憶體。記憶體管理單元耦接記憶體介面,記憶體管理單元接收時脈訊號,且記憶體管理單元依據時脈訊號並透過記憶體介面而對第一記憶體與第二記憶體進行資料寫入與資料讀取。 In an embodiment of the invention, the memory controller includes a memory interface and a memory management unit. The memory interface is coupled to the first memory and the second memory. The memory management unit is coupled to the memory interface, the memory management unit receives the clock signal, and the memory management unit performs data writing and data on the first memory and the second memory according to the clock signal and through the memory interface. Read.

在本發明的一實施例中,上述的記憶體控制器更包括資料輸入介面。記憶體控制器透過資料輸入介面耦接影像接收單元,以接收影像接收單元傳送來的影像資料。 In an embodiment of the invention, the memory controller further includes a data input interface. The memory controller is coupled to the image receiving unit through the data input interface to receive the image data transmitted by the image receiving unit.

在本發明的一實施例中,上述的記憶體控制器更包括資料輸出介面。記憶體控制器透過資料輸出介面耦接影像投影單元,以將從第一與第二記憶體各別所讀取的影像資料輸出至影像投影單元。 In an embodiment of the invention, the memory controller further includes a data output interface. The memory controller is coupled to the image projection unit through the data output interface to output the image data read by the first and second memory to the image projection unit.

在本發明的一實施例中,上述的第一記憶體與第二記憶 體為隨機存取記憶體(random access memory,RAM)。 In an embodiment of the invention, the first memory and the second memory are The body is a random access memory (RAM).

從另一觀點來看,本發明提出一種影像資料存取方法,適用於設置於投影裝置中的記憶體控制器,且投影裝置包括影像接收單元、影像投影單元、第一記憶體以及第二記憶體,此資料存取方法包括下列步驟。提供時脈訊號至記憶體控制器。接收影像接收單元傳送來的影像資料。反應於時脈訊號的第一準位而將影像接收單元傳送來的影像資料寫入至第一記憶體,且與此同時從第二記憶體讀取出已儲存於第二記憶體的影像資料。輸出從第一記憶體或第二記憶體讀取出來的影像資料至影像投影單元。 From another point of view, the present invention provides an image data access method suitable for a memory controller disposed in a projection device, and the projection device includes an image receiving unit, an image projection unit, a first memory, and a second memory. Body, this data access method includes the following steps. Provide clock signal to the memory controller. Receiving image data transmitted by the image receiving unit. Transmitting the image data transmitted by the image receiving unit to the first memory in response to the first level of the clock signal, and simultaneously reading the image data stored in the second memory from the second memory . The image data read from the first memory or the second memory is output to the image projection unit.

在本發明的一實施例中,上述的資料存取方法更包括:反應於時脈訊號的第二準位而從第一記憶體讀取出已儲存於第二記憶體的影像資料,且與此同時將影像接收單元傳送來的影像資料寫入至第二記憶體。 In an embodiment of the present invention, the data access method further includes: reading the image data stored in the second memory from the first memory in response to the second level of the clock signal, and At the same time, the image data transmitted by the image receiving unit is written to the second memory.

在本發明的一實施例中,上述的時脈訊號由時脈產生單元提供,而時脈訊號的第一準位與第二準位為相異的準位。 In an embodiment of the invention, the clock signal is provided by the clock generation unit, and the first level and the second level of the clock signal are different levels.

基於上述,於本發明所提供之記憶體控制器及其資料存取方法中,當時脈訊號為第一準位,記憶體控制器將所輸入的影像資料寫入至第一記憶體並從第二記憶體讀取已儲存的影像資料。當時脈訊號為第二準位,記憶體控制器將所輸入的影像資料寫入至第二記憶體並從第一記憶體讀取已儲存的影像資料。如此一來,藉由單一時脈訊號的控制,記憶體控制器可輪流從第一記憶體與第二記憶體中讀取所儲存的影像資料,且記憶體控制器同 樣可輪流於第一記憶體與第二記憶體中寫入所輸入的影像資料。據此,不需等待記憶體之存取狀態的轉換就可輸出影像畫面,而提高投影畫面的順暢度。 Based on the above, in the memory controller and the data access method thereof provided by the present invention, when the pulse signal is at the first level, the memory controller writes the input image data to the first memory and reads from the first memory. The second memory reads the stored image data. When the pulse signal is at the second level, the memory controller writes the input image data to the second memory and reads the stored image data from the first memory. In this way, by the control of the single clock signal, the memory controller can read the stored image data from the first memory and the second memory in turn, and the memory controller is the same The input image data can be written in the first memory and the second memory in turn. According to this, it is possible to output an image screen without waiting for the conversion of the access state of the memory, thereby improving the smoothness of the projected image.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the invention will be apparent from the following description.

10‧‧‧投影裝置 10‧‧‧Projector

100‧‧‧記憶體控制器 100‧‧‧ memory controller

110‧‧‧影像接收單元 110‧‧‧Image receiving unit

120‧‧‧影像投影單元 120‧‧‧Image projection unit

130‧‧‧第一記憶體 130‧‧‧First memory

140‧‧‧第二記憶體 140‧‧‧Second memory

150‧‧‧時脈產生單元 150‧‧‧ clock generation unit

101‧‧‧資料輸入介面 101‧‧‧Data input interface

102‧‧‧資料輸出介面 102‧‧‧ data output interface

103‧‧‧記憶體介面 103‧‧‧ memory interface

104‧‧‧記憶體管理單元 104‧‧‧Memory Management Unit

130‧‧‧第一記憶體 130‧‧‧First memory

140‧‧‧第二記憶體 140‧‧‧Second memory

CLK‧‧‧時脈訊號 CLK‧‧‧ clock signal

img_d‧‧‧影像資料 Img_d‧‧‧Image data

S401~S405‧‧‧本發明一實施例所述的影像資料存取方法的各步驟 S401~S405‧‧‧ steps of the image data access method according to an embodiment of the present invention

下面的所附圖式是本發明的說明書的一部分,繪示了本發明的示例實施例,所附圖式與說明書的描述一起說明本發明的原理。 The following drawings are a part of the specification of the invention, and illustrate the embodiments of the invention

圖1是依照本發明一實施例所繪示的投影裝置的示意圖。 FIG. 1 is a schematic diagram of a projection apparatus according to an embodiment of the invention.

圖2為依照圖1實施例所繪示之記憶體控制器的方塊示意圖。 2 is a block diagram of a memory controller according to the embodiment of FIG. 1.

圖3是依照本發明一實施例所繪示之第一記憶體與第二記憶體之存取狀態的示意圖。 FIG. 3 is a schematic diagram showing an access state of a first memory and a second memory according to an embodiment of the invention.

圖4是依照本發明一實施例所繪示的一種資料存取方法的流程圖。 FIG. 4 is a flow chart of a data access method according to an embodiment of the invention.

現將詳細參考本示範性實施例,在附圖中說明所述示範性實施例之實例。另外,凡可能之處,在圖式及實施方式中使用相同標號的元件/構件代表相同或類似部分。 The present exemplary embodiments will now be described in detail, and examples of the exemplary embodiments are illustrated in the drawings. In addition, wherever possible, the same reference numerals in the drawings

圖1是依照本發明一實施例所繪示的投影裝置的示意 圖。請參照圖1,投影裝置10包括記憶體控制器100、影像接收單元110、影像投影單元120、第一記憶體130,第二記憶體140以及時脈產生單元150。在本實施例中,投影裝置10可以是(微型)投影機或各式具有投影功能的電子裝置。投影裝置10接收來自外部裝置(未繪示)的影像資料,而外部裝置可以是智慧型手機(smart phone)、筆記型電腦(notebook)、桌上型電腦、多媒體播放機或遊戲機等各式具有影像訊號提供及/或播放功能的電子裝置。 FIG. 1 is a schematic diagram of a projection apparatus according to an embodiment of the invention. Figure. Referring to FIG. 1 , the projection device 10 includes a memory controller 100 , an image receiving unit 110 , an image projection unit 120 , a first memory 130 , a second memory 140 , and a clock generation unit 150 . In the present embodiment, the projection device 10 may be a (micro) projector or various electronic devices having a projection function. The projection device 10 receives image data from an external device (not shown), and the external device may be a smart phone, a notebook, a desktop computer, a multimedia player, or a game machine. An electronic device with video signal providing and/or playback capabilities.

在本實施例中,影像接收單元110用以接收影像資料,且其可以包括有線、無線介面或其組合。例如,影像接收單元110的有線介面可用以接收視訊圖形陣列(Video Graphics Array,VGA)、數位視訊介面(digital video interface,DVI)、高解析多媒體介面(High-Definition Multimedia Interface,HDMI)、顯示埠(DisplayPort)、獨立視訊端子(S-Video)、AV端子、色差端子及/或網際網路(Internet)等各式有線傳輸格式的影像訊號,但並不限制於此。另外,影像接收單元110的無線介面則可用以接收藍芽(Bluetooth,BT)、3G、無線保真(Wireless Fidelity,WiFi)及/或WiGig等各式無線傳輸格式的影像訊號,但並不限制於此。 In this embodiment, the image receiving unit 110 is configured to receive image data, and may include a wired interface, a wireless interface, or a combination thereof. For example, the wired interface of the image receiving unit 110 can be used to receive a video graphics array (VGA), a digital video interface (DVI), a high-definition multimedia interface (HDMI), and a display. (DisplayPort), independent video terminal (S-Video), AV terminal, color difference terminal and / or Internet (Internet) and other video transmission format video signals, but not limited to this. In addition, the wireless interface of the image receiving unit 110 can be used to receive image signals of various wireless transmission formats such as Bluetooth (BT), 3G, Wireless Fidelity (WiFi), and/or WiGig, but is not limited. herein.

影像投影單元120用以將對應於所接收之影像資料的影像投影至投影面。而且,影像投影單元120可以是支援數位光源處理(Digital Light Processing,DLP)、硅基液晶(Liquid crystal on silicone,LCoS)、3LCD等各式投影技術的光學投影模組。 The image projection unit 120 is configured to project an image corresponding to the received image data to a projection surface. Moreover, the image projection unit 120 may be an optical projection module that supports various types of projection technologies such as digital light processing (DLP), liquid crystal on silicon (LCoS), and 3LCD.

第一記憶體130與第二記憶體140用以儲存影像資料,且其例如是任意型式的固定式或可移動式隨機存取記憶體(Random Access Memory,RAM)、快閃記憶體(Flash memory)、硬碟或其他類似裝置或這些裝置的組合。而隨機存取記憶體可以是動態隨機存取記憶體(dynamic RAM,DRAM)或是靜態隨機存取記憶體(static ram,SRAM),本發明對於隨機存取記憶體的型態並不特別限制。 The first memory 130 and the second memory 140 are used for storing image data, and are, for example, any type of fixed or removable random access memory (RAM), flash memory (Flash memory). ), hard disk or other similar device or a combination of these devices. The random access memory may be a dynamic random access memory (DRAM) or a static random access memory (SRAM). The present invention does not specifically limit the type of random access memory. .

時脈產生單元150提供時脈訊號至記憶體控制器100,據以讓記憶體控制器100可以正常運作。其中,時脈訊號具有相異的第一準位與第二準位。據此,用以作為投影裝置10之控制核心的記憶體控制器100可依據時脈產生單元150所提供之時脈訊號的準位而於第一記憶體130與第二記憶體140上進行影像資料的存取。 The clock generation unit 150 provides a clock signal to the memory controller 100 to enable the memory controller 100 to operate normally. Wherein, the clock signal has different first level and second level. Accordingly, the memory controller 100 used as the control core of the projection device 10 can perform images on the first memory 130 and the second memory 140 according to the level of the clock signal provided by the clock generating unit 150. Access to data.

記憶體控制器100耦接於影像接收單元110與影像投影單元120之間,並耦接第一記憶體130、第二記憶體140與時脈產生單元150。記憶體控制器100接收影像接收單元110傳送來的影像資料,並將影像接收單元110傳送來的影像資料寫入至第一記憶體130與第二記憶體140,以將影像接收單元110傳送來的影像資料儲存於第一記憶體130與第二記憶體140。另一方面,記憶體控制器100可讀取已儲存於第一記憶體130與第二記憶體140中的影像資料,並且將從第一記憶體130或第二記憶體140讀取的影像資料輸出至影像投影單元120,據以使影像投影單元120產生 相對應的投影光束而在投影面上投影出畫面。 The memory controller 100 is coupled between the image receiving unit 110 and the image projecting unit 120 and coupled to the first memory 130, the second memory 140, and the clock generating unit 150. The memory controller 100 receives the image data transmitted by the image receiving unit 110, and writes the image data transmitted by the image receiving unit 110 to the first memory 130 and the second memory 140 to transmit the image receiving unit 110. The image data is stored in the first memory 130 and the second memory 140. On the other hand, the memory controller 100 can read the image data stored in the first memory 130 and the second memory 140, and read the image data from the first memory 130 or the second memory 140. Output to the image projecting unit 120, so that the image projecting unit 120 generates A corresponding projection beam is used to project a picture on the projection surface.

詳言之,記憶體控制器100經配置以反應於時脈訊號的第一準位而將影像接收單元110傳送來的影像資料寫入至第一記憶體130,且與此同時從第二記憶體140讀取出已儲存於第二記憶體140的影像資料。另一方面,記憶體控制器100可反應於時脈訊號的第二準位而從第一記憶體130讀取出已儲存於第一記憶體130的影像資料,且與此同時將影像接收單元110傳送來的影像資料寫入至第二記憶體140。 In detail, the memory controller 100 is configured to write the image data transmitted by the image receiving unit 110 to the first memory 130 in response to the first level of the clock signal, and simultaneously from the second memory. The body 140 reads the image data that has been stored in the second memory 140. On the other hand, the memory controller 100 can read the image data stored in the first memory 130 from the first memory 130 in response to the second level of the clock signal, and at the same time, the image receiving unit The image data transmitted by 110 is written to the second memory 140.

更進一步來說,圖2為依照圖1實施例所繪示之記憶體控制器的方塊示意圖。請同時參照圖1與圖2,記憶體控制器100包括資料輸入介面101、資料輸出介面102、記憶體介面103以及記憶體管理單元104。在本實施例中,記憶體控制器100透過資料輸入介面101耦接影像接收單元110,以接收影像接收單元110傳送來的影像資料img_d。另一方面,記憶體控制器100透過資料輸出介面102耦接影像投影單元120,以將影像資料img_d輸出至影像投影單元120,據以進行畫面的投影。 Further, FIG. 2 is a block diagram of a memory controller according to the embodiment of FIG. 1. Referring to FIG. 1 and FIG. 2 simultaneously, the memory controller 100 includes a data input interface 101, a data output interface 102, a memory interface 103, and a memory management unit 104. In this embodiment, the memory controller 100 is coupled to the image receiving unit 110 through the data input interface 101 to receive the image data img_d transmitted by the image receiving unit 110. On the other hand, the memory controller 100 is coupled to the image projecting unit 120 via the data output interface 102 to output the image data img_d to the image projecting unit 120 for projection of the image.

資料輸入介面101與資料輸出介面102可以是相容於通用序列匯流排(Universal Serial Bus,USB)標準、並列先進附件(Parallel Advanced Technology Attachment,PATA)標準、電氣和電子工程師協會(Institute of Electrical and Electronic Engineers,IEEE)1394標準、高速周邊零件連接介面(Peripheral Component Interconnect Express,PCI Express)標準、序列先進附件(Serial Advanced Technology Attachment,SATA)標準或其他適合的資料傳輸標準,本發明對此不限制。 The data input interface 101 and the data output interface 102 can be compatible with the Universal Serial Bus (USB) standard, the Parallel Advanced Technology Attachment (PATA) standard, and the Institute of Electrical and Electronics Engineers (Institute of Electrical and Electrical Engineers). Electronic Engineers, IEEE) 1394 standard, Peripheral Component Interconnect Express (PCI Express) standard, serial advanced accessories (Serial) The Advanced Technology Attachment (SATA) standard or other suitable data transmission standard is not limited by the present invention.

記憶體介面103耦接第一記憶體130與第二記憶體140。記憶體管理單元104耦接資料輸入介面101、資料輸出介面102以及記憶體介面103,且記憶體管理單元104依據時脈訊號CLK並透過記憶體介面103對第一記憶體130與第二記憶體140進行資料寫入與資料讀取。進一步來說,記憶體管理單元104透過記憶體介面103將欲儲存的影像資料寫入至第一記憶體130與第二記憶體140。相似的,記憶體管理單元104透過記憶體介面103讀取出已儲存於第一記憶體130與第二記憶體140的影像資料。在本實施例中,記憶體管理單元104接收時脈產生單元150輸出的時脈訊號CLK,並依據時脈訊號CLK對第一記憶體130與第二記憶體140進行資料的存取。 The memory interface 103 is coupled to the first memory 130 and the second memory 140. The memory management unit 104 is coupled to the data input interface 101, the data output interface 102, and the memory interface 103, and the memory management unit 104 operates the first memory 130 and the second memory through the memory interface 103 according to the clock signal CLK. 140 data writing and data reading. Further, the memory management unit 104 writes the image data to be stored to the first memory 130 and the second memory 140 through the memory interface 103. Similarly, the memory management unit 104 reads the image data stored in the first memory 130 and the second memory 140 through the memory interface 103. In this embodiment, the memory management unit 104 receives the clock signal CLK output by the clock generation unit 150, and accesses the first memory 130 and the second memory 140 according to the clock signal CLK.

詳細來說,當時脈訊號CLK為第一準位,記憶體管理單元104將從資料輸入介面101輸入的影像資料img_d寫入至第一記憶體130,且與此同時記憶體管理單元104讀取已儲存於第二記憶體140的影像資料img_d,並透過資料輸出介面102輸出從第二記憶體讀取出來的影像資料img_d。另一方面,當時脈訊號CLK從第一準位轉變為第二準位訊號,記憶體管理單元104讀取已儲存於第一記憶體130的影像資料img_d,並透過資料輸出介面102輸出從第一記憶體讀取出來的影像資料img_d,且記憶體管理單元104也同時將從資料輸入介面101輸入的影像資料img_d寫入至第 二記憶體140。也就是說,藉由單一時脈訊號CLK的控制,記憶體控制器100可輪流從第一記憶體130與第二記憶體140中讀取到影像接收單元110透過資料輸入介面101傳送而來的影像資料img_d。 In detail, when the pulse signal CLK is at the first level, the memory management unit 104 writes the image data img_d input from the data input interface 101 to the first memory 130, and at the same time, the memory management unit 104 reads The image data img_d stored in the second memory 140 is outputted through the data output interface 102 to output the image data img_d read from the second memory. On the other hand, when the pulse signal CLK changes from the first level to the second level signal, the memory management unit 104 reads the image data img_d stored in the first memory 130, and outputs the image data through the data output interface 102. The image data img_d read by the memory, and the memory management unit 104 simultaneously writes the image data img_d input from the data input interface 101 to the first Two memory 140. That is to say, by the control of the single clock signal CLK, the memory controller 100 can read from the first memory 130 and the second memory 140 in turn, and the image receiving unit 110 transmits the data through the data input interface 101. Image data img_d.

為了詳細說明本發明之精神,圖3是依照本發明一實施例所繪示之第一記憶體與第二記憶體之存取狀態的示意圖。請同時參照圖2與圖3,時脈訊號CLK依據其時脈頻率而規則地於第一準位與第二準位之間轉換。需特別說明的是,在本實施例中,第一準位假設為高準位,而第二準位為低準位,但本發明並不以此為限。於另一實施例當中,第一準位也可以是低準位,而第二準位相對為高準位。 3 is a schematic diagram of an access state of a first memory and a second memory according to an embodiment of the invention. Referring to FIG. 2 and FIG. 3 simultaneously, the clock signal CLK is regularly switched between the first level and the second level according to the clock frequency thereof. It should be noted that, in this embodiment, the first level is assumed to be a high level, and the second level is a low level, but the invention is not limited thereto. In another embodiment, the first level may also be a low level, and the second level is a high level.

於時間t1~t2的期間,記憶體管理單元104接收到高準位的時脈訊號CLK。於是,記憶體管理單元104控制第一記憶體130為寫入狀態,以將從資料輸入介面101輸入的影像資料img_d寫入至第一記憶體130。與此同時,記憶體管理單元104控制第二記憶體140為讀取狀態,以讀取已經儲存於第二記憶體140的影像資料img_d。 During the period from time t1 to t2, the memory management unit 104 receives the clock signal CLK of the high level. Then, the memory management unit 104 controls the first memory 130 to be in the write state to write the image data img_d input from the data input interface 101 to the first memory 130. At the same time, the memory management unit 104 controls the second memory 140 to be in a read state to read the image data img_d already stored in the second memory 140.

緊接著,於時間t2~t3的期間,記憶體管理單元104接收到從高準位轉換為低準位的時脈訊號CLK。於是,記憶體管理單元104控制第一記憶體130為讀取狀態,以讀取於時間t1~t2的期間寫入至第一記憶體130的影像資料img_d。也就是說,於時間t1~t2的期間被寫入至第一記憶體130影像資料img_d會於時 間t2~t3的期間被讀取。 Next, during the period from time t2 to time t3, the memory management unit 104 receives the clock signal CLK that is switched from the high level to the low level. Then, the memory management unit 104 controls the first memory 130 to be in the read state, and reads the image data img_d written to the first memory 130 during the period from time t1 to t2. That is to say, during the period of time t1~t2, the image data img_d is written to the first memory 130. The period between t2 and t3 is read.

另一方面,於相同時間t2~t3的期間,記憶體管理單元104控制第二記憶體140為寫入狀態,以將從資料輸入介面101輸入的影像資料img_d寫入至第二記憶體140。也就是說,記憶體管理單元104於時間t2~t3的期間,記憶體管理單元104不僅從第一記憶體130讀取已儲存的影像資料img_d,記憶體管理單元104也同時將所輸入的影像資料img_d寫入至第二記憶體140。其中,記憶體管理單元104分別於第一記憶體130與第二記憶體140讀取各別所儲存的影像資料img_d之後,會透過資料輸出介面102將所各別所讀取的影像資料img_d輸出至影像投影單元120,以將對應於所輸入之影像資料img_d的畫面投影至一表面上。 On the other hand, during the same period of time t2 to t3, the memory management unit 104 controls the second memory 140 to be in the write state, and writes the image data img_d input from the data input interface 101 to the second memory 140. That is, during the period from time t2 to t3, the memory management unit 104 not only reads the stored image data img_d from the first memory 130, but also the memory management unit 104 simultaneously inputs the input image. The data img_d is written to the second memory 140. After the memory management unit 104 reads the separately stored image data img_d in the first memory 130 and the second memory 140, the image data img_d read by the respective output is output to the image through the data output interface 102. The projection unit 120 projects a picture corresponding to the input image data img_d onto a surface.

同理可推,於時間t3~t4的期間,記憶體管理單元104接收到從低準位轉換為高準位的時脈訊號CLK。於是,記憶體管理單元104控制第二記憶體140轉換回讀取狀態,以讀取於時間t2~t3的期間寫入的影像資料img_d。與此同時,記憶體管理單元104控制第一記憶體130轉換回寫入狀態,以將從資料輸入介面101輸入的影像資料img_d寫入至第一記憶體130。 Similarly, during the period from time t3 to time t4, the memory management unit 104 receives the clock signal CLK that is converted from the low level to the high level. Then, the memory management unit 104 controls the second memory 140 to switch back to the read state to read the image data img_d written during the period from time t2 to time t3. At the same time, the memory management unit 104 controls the first memory 130 to switch back to the write state to write the image data img_d input from the data input interface 101 to the first memory 130.

由此可見,在記憶體控制器100從第一記憶體130讀取已儲存的影像資料時,會同時將所輸入的影像資料寫入至第二記憶體140,且記憶體控制器100可輪流從第一記憶體130與第二記憶體140中不間斷的讀取所儲存的影像資料,以讓影像投影單元120能夠依據所讀取的影像資料而順暢地將畫面投影出來。除此之 外,無論時脈訊號CLK的頻率高低為何,記憶體控制器100能不間斷的從第一記憶體130與第二記憶體140讀取所儲存的影像資料。基此,可降低時脈訊號CLK的頻率,使得時脈產生單元150能以較低的振盪頻率提供時脈訊號CLK,因此而達到省電的功效。 It can be seen that when the memory controller 100 reads the stored image data from the first memory 130, the input image data is simultaneously written to the second memory 140, and the memory controller 100 can take turns. The stored image data is continuously read from the first memory 130 and the second memory 140, so that the image projecting unit 120 can smoothly project the image according to the read image data. In addition to this In addition, regardless of the frequency of the clock signal CLK, the memory controller 100 can read the stored image data from the first memory 130 and the second memory 140 without interruption. Therefore, the frequency of the clock signal CLK can be reduced, so that the clock generation unit 150 can provide the clock signal CLK at a lower oscillation frequency, thereby achieving power saving effect.

需特別說明的是,在上述實施例中,所輸入的影像資料img_d於時間t1~t2的期間會被寫入至第一記憶體130,並緊接著於時間t2~t3的期間於第一記憶體130中被讀取出來。也就是說,每一筆資料在被寫入記憶體之後緊接著就被讀取出來。但本發明並不以此為限,各筆資料的讀取順序可視實際應用狀況而定。舉例來說,在另一實施例中,所輸入的影像資料於時間t1~t2的期間可以被寫入至第一記憶體130,但所儲存的影像資料可於時間t4~t5的期間從第一記憶體130被讀取出來。本發明之精神在於,記憶體控制器100能夠不間斷的從第一記憶體130與第二記憶體140讀取所儲存的影像資料,但對於各筆資料寫入與讀取的順序並不加以限定。 It should be noted that, in the above embodiment, the input image data img_d is written to the first memory 130 during the period from time t1 to t2, and is immediately after the time t2~t3 in the first memory. The body 130 is read out. That is to say, each piece of data is read immediately after it is written to the memory. However, the present invention is not limited thereto, and the order in which the data is read may depend on the actual application. For example, in another embodiment, the input image data may be written to the first memory 130 during the period of time t1 to t2, but the stored image data may be from the time t4 to t5. A memory 130 is read. The spirit of the present invention is that the memory controller 100 can read the stored image data from the first memory 130 and the second memory 140 without interruption, but the order of writing and reading the data is not limited.

圖4為本發明一實施例之影像資料存取方法的步驟流程圖。所述之方法適用於如圖1及圖2的實施例所述之記憶體控制器。其中,圖4所述之方法皆可根據前述圖式的說明而獲得充足的支持與教示,故相似或重複之處於此不再贅述。 4 is a flow chart showing the steps of an image data access method according to an embodiment of the present invention. The method described is applicable to the memory controller as described in the embodiments of FIGS. 1 and 2. The methods described in FIG. 4 can be sufficiently supported and taught according to the description of the foregoing drawings, and thus similarities or repetitions are not described herein.

請參照圖4,首先,時脈產生單元150提供時脈訊號CLK至記憶體控制器100(步驟S401)。記憶體控制器100接收影像接收單元110傳送來的影像資料img_d(步驟S402)。記憶體控制器 100反應於時脈訊號CLK的第一準位而將影像接收單元110傳送來的影像資料img_d寫入至第一記憶體130,且與此同時從第二記憶體140讀取出已儲存於第二記憶體140的影像資料img_d(步驟S403)。 Referring to FIG. 4, first, the clock generation unit 150 provides the clock signal CLK to the memory controller 100 (step S401). The memory controller 100 receives the image data img_d transmitted from the image receiving unit 110 (step S402). Memory controller The image data img_d transmitted from the image receiving unit 110 is written to the first memory 130 by the first level of the clock signal CLK, and is read from the second memory 140 at the same time. The image data img_d of the second memory 140 (step S403).

緊接著,記憶體控制器100反應於時脈訊號CLK的第二準位而從第一記憶體130讀取出已儲存於第一記憶體130的影像資料img_d,且與此同時將影像接收單元110傳送來的影像資料img_d寫入至第二記憶體140(步驟S404)。記憶體控制器100透過資料輸出介面102輸出從第一記憶體130與第二記憶體140各別讀取出來的影像資料img_d至影像投影單元120(步驟S405)。 Then, the memory controller 100 reads the image data img_d stored in the first memory 130 from the first memory 130 in response to the second level of the clock signal CLK, and at the same time, the image receiving unit The image data img_d transmitted from 110 is written to the second memory 140 (step S404). The memory controller 100 outputs the image data img_d read from the first memory 130 and the second memory 140 to the image projecting unit 120 through the data output interface 102 (step S405).

綜上所述,本發明之記憶體控制器及其資料存取方法藉由單一時脈訊號的控制,可輪流從第一記憶體與第二記憶體中讀取所儲存的影像資料,並且同時輪流於第一記憶體與第二記憶體中寫入所輸入的影像資料。據此,不需等待時脈訊號之準位轉換就可讀取所儲存的影像資料,進而提高投影畫面的順暢度。除此之外,由於記憶體控制器不需等待時脈訊號之準位轉換就可讀取所儲存的影像資料,因此可在正常輸出影像畫面的情況中降低時脈訊號的控制頻率,進而達到省電的功效。 In summary, the memory controller and the data access method thereof of the present invention can read the stored image data from the first memory and the second memory in turn by the control of a single clock signal, and simultaneously The input image data is written in the first memory and the second memory in turn. According to this, the stored image data can be read without waiting for the level shift of the clock signal, thereby improving the smoothness of the projected picture. In addition, since the memory controller can read the stored image data without waiting for the level signal of the clock signal, the control frequency of the clock signal can be reduced in the case of normally outputting the image image, thereby achieving Power saving effect.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.

100‧‧‧記憶體控制器 100‧‧‧ memory controller

101‧‧‧資料輸入介面 101‧‧‧Data input interface

102‧‧‧資料輸出介面 102‧‧‧ data output interface

103‧‧‧記憶體介面 103‧‧‧ memory interface

104‧‧‧記憶體管理單元 104‧‧‧Memory Management Unit

130‧‧‧第一記憶體 130‧‧‧First memory

140‧‧‧第二記憶體 140‧‧‧Second memory

CLK‧‧‧時脈訊號 CLK‧‧‧ clock signal

img_d‧‧‧影像資料 Img_d‧‧‧Image data

Claims (10)

一種投影裝置,包括:一影像接收單元,用以接收一影像資料;一影像投影單元,用以將對應於該影像資料的一影像投影至一投影面上;一第一記憶體;一第二記憶體;以及一記憶體控制器,耦接該影像投影單元、該影像接收單元、該第一記憶體與該第二記憶體,且其經配置以:反應於一時脈訊號的一第一準位而將該影像接收單元傳送來的該影像資料寫入至該第一記憶體,且與此同時從該第二記憶體讀取出已儲存於該第二記憶體的影像資料。 A projection device includes: an image receiving unit for receiving an image data; an image projection unit for projecting an image corresponding to the image data onto a projection surface; a first memory; a second And a memory controller coupled to the image projection unit, the image receiving unit, the first memory and the second memory, and configured to: react to a first criterion of a clock signal The image data transmitted from the image receiving unit is written to the first memory, and at the same time, the image data stored in the second memory is read from the second memory. 如申請專利範圍第1項所述的投影裝置,其中該記憶體控制器更經配置以:反應於該時脈訊號的一第二準位而從該第一記憶體讀取出已儲存於該第一記憶體的影像資料,且與此同時將該影像接收單元傳送來的該影像資料寫入至該第二記憶體。 The projection device of claim 1, wherein the memory controller is further configured to: read from the first memory and read from the first memory in response to a second level of the clock signal The image data of the first memory, and at the same time, the image data transmitted by the image receiving unit is written to the second memory. 如申請專利範圍第1項所述的投影裝置,其中該投影裝置更包括一時脈產生單元,該時脈產生單元耦接該記憶體控制器並提供該時脈訊號至該記憶體控制器,而該時脈訊號的該第一準位與該第二準位為相異的準位。 The projection device of claim 1, wherein the projection device further comprises a clock generation unit coupled to the memory controller and providing the clock signal to the memory controller, and The first level of the clock signal and the second level are different levels. 如申請專利範圍第3項所述的投影裝置,其中該記憶體控制器包括: 一記憶體介面,耦接該第一記憶體與該第二記憶體;以及一記憶體管理單元,耦接該記憶體介面,該記憶體管理單元接收該時脈訊號,且該記憶體管理單元依據該時脈訊號並透過該記憶體介面而對該第一記憶體與該第二記憶體進行資料寫入與資料讀取。 The projection device of claim 3, wherein the memory controller comprises: a memory interface coupled to the first memory and the second memory; and a memory management unit coupled to the memory interface, the memory management unit receiving the clock signal, and the memory management unit Data writing and data reading are performed on the first memory and the second memory according to the clock signal and through the memory interface. 如申請專利範圍第4項所述的投影裝置,其中該記憶體控制器更包括一資料輸入介面,該記憶體控制器透過該資料輸入介面耦接該影像接收單元,以接收該影像接收單元傳送來的該影像資料。 The projection device of claim 4, wherein the memory controller further comprises a data input interface, wherein the memory controller is coupled to the image receiving unit via the data input interface to receive the image receiving unit The image data coming from. 如申請專利範圍第4項所述的投影裝置,其中該記憶體控制器更包括一資料輸出介面,該記憶體控制器透過該資料輸出介面耦接該影像投影單元,以將從該第一與該第二記憶體各別所讀取的影像資料輸出至該影像投影單元。 The projection device of claim 4, wherein the memory controller further comprises a data output interface, wherein the memory controller is coupled to the image projection unit through the data output interface to The image data read by the second memory is output to the image projection unit. 如申請專利範圍第1項所述的投影裝置,其中該第一記憶體與該第二記憶體為隨機存取記憶體(random access memory,RAM)。 The projection device of claim 1, wherein the first memory and the second memory are random access memory (RAM). 一種影像資料存取方法,適用於設置於一投影裝置中的一記憶體控制器,且該投影裝置包括一影像接收單元、一影像投影單元、一第一記憶體以及一第二記憶體,該資料存取方法包括:提供一時脈訊號至該記憶體控制器;接收該影像接收單元傳送來的一影像資料;反應於該時脈訊號的一第一準位而將該影像接收單元傳送來 的該影像資料寫入至該第一記憶體,且與此同時從該第二記憶體讀取出已儲存於該第二記憶體的影像資料;以及輸出從該第一記憶體與該第二記憶體各別讀取出來的影像資料至該影像投影單元。 An image data access method is applicable to a memory controller disposed in a projection device, and the projection device includes an image receiving unit, an image projection unit, a first memory, and a second memory. The data access method includes: providing a clock signal to the memory controller; receiving an image data transmitted by the image receiving unit; transmitting the image receiving unit in response to a first level of the clock signal Writing the image data to the first memory, and simultaneously reading the image data stored in the second memory from the second memory; and outputting the first memory and the second The image data read by the memory is respectively sent to the image projection unit. 如申請專利範圍第8項所述的影像資料存取方法,更包括:反應於該時脈訊號的一第二準位而從該第一記憶體讀取出已儲存於該第一記憶體的影像資料,且與此同時將該影像接收單元傳送來的該影像資料寫入至該第二記憶體。 The image data access method of claim 8, further comprising: reading from the first memory, storing the first memory in the first memory, in response to a second level of the clock signal The image data, and at the same time, the image data transmitted by the image receiving unit is written to the second memory. 如申請專利範圍第9項所述的影像資料存取方法,其中該時脈訊號由一時脈產生單元提供,而該時脈訊號的該第一準位與該第二準位為相異的準位。 The image data access method of claim 9, wherein the clock signal is provided by a clock generating unit, and the first level of the clock signal and the second level are different. Bit.
TW102135398A 2013-09-30 2013-09-30 Projection apparatus and image data accessing method thereof TWI516854B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW102135398A TWI516854B (en) 2013-09-30 2013-09-30 Projection apparatus and image data accessing method thereof
CN201310594566.7A CN104519292A (en) 2013-09-30 2013-11-22 Projection device and image data access method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102135398A TWI516854B (en) 2013-09-30 2013-09-30 Projection apparatus and image data accessing method thereof

Publications (2)

Publication Number Publication Date
TW201512764A TW201512764A (en) 2015-04-01
TWI516854B true TWI516854B (en) 2016-01-11

Family

ID=52793949

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102135398A TWI516854B (en) 2013-09-30 2013-09-30 Projection apparatus and image data accessing method thereof

Country Status (2)

Country Link
CN (1) CN104519292A (en)
TW (1) TWI516854B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113079336A (en) * 2020-01-03 2021-07-06 深圳市春盛海科技有限公司 High-speed image recording method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4333269B2 (en) * 2002-11-07 2009-09-16 セイコーエプソン株式会社 Projection device monitoring system and projection device
JP5834690B2 (en) * 2011-09-22 2015-12-24 カシオ計算機株式会社 Projection apparatus, projection control method, and program
CN102968394A (en) * 2012-10-19 2013-03-13 华中科技大学 Field programmable gate array (FPGA) and digital signal processor (DSP) data transmission system based on Ping Pong mechanism

Also Published As

Publication number Publication date
CN104519292A (en) 2015-04-15
TW201512764A (en) 2015-04-01

Similar Documents

Publication Publication Date Title
US9652194B2 (en) Cable with video processing capability
TWI553550B (en) Techniques to transmit commands to a target device
JP4581012B2 (en) Electronic device and display control method
TWI455013B (en) Techniques for changing image display properties
JP2017519318A (en) In-frame blanking
JP2015018245A (en) Application processor and display system including the same
US10031710B2 (en) Display device constituting multi-display system and control method thereof
KR20160049169A (en) Method of operating display device
US20150163450A1 (en) Video display system, source device, sink device, and video display method
TWI518673B (en) Video switch and switching method thereof
US20160329030A1 (en) Display apparatus constituting multi display system and control method thereof
JP6773294B2 (en) Video display equipment, connection method of video display equipment and multi-display system
US10055809B2 (en) Systems and methods for time shifting tasks
WO2017032072A1 (en) Audio/video playing device
US20210103327A1 (en) Advanced link power management for displayport
CN114023270A (en) Electronic ink screen driving method, device, equipment and storage medium
TWI516854B (en) Projection apparatus and image data accessing method thereof
KR20170049191A (en) Image processing apparatus and Image processing method
JP2011022593A (en) Electronic equipment, and method of controlling display
US9190012B2 (en) Method and system for improving display underflow using variable HBLANK
US10362216B2 (en) Image pickup apparatus of which display start timing and display quality are selectable, method of controlling the same
US20130343733A1 (en) Panorama picture scrolling
JP6612292B2 (en) CONVERSION SYSTEM, VIDEO OUTPUT DEVICE, AND CONVERSION METHOD
US20140132712A1 (en) Three-dimension image format converter and three-dimension image format conversion method thereof
TW201724074A (en) Electronic paper display apparatus and driving method thereof

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees