TW202110144A - Data transmission system and data transmission method based on Mobile Industry Processor Interface capable of simultaneously transmitting image and multiple sensor data through camera serial interface of Mobile Industry Processor Interface - Google Patents
Data transmission system and data transmission method based on Mobile Industry Processor Interface capable of simultaneously transmitting image and multiple sensor data through camera serial interface of Mobile Industry Processor Interface Download PDFInfo
- Publication number
- TW202110144A TW202110144A TW108130918A TW108130918A TW202110144A TW 202110144 A TW202110144 A TW 202110144A TW 108130918 A TW108130918 A TW 108130918A TW 108130918 A TW108130918 A TW 108130918A TW 202110144 A TW202110144 A TW 202110144A
- Authority
- TW
- Taiwan
- Prior art keywords
- interface
- sensor
- mipi
- packet
- csi
- Prior art date
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本發明涉及資料傳輸之技術領域,尤指一種可透過行動產業處理器介面之相機串列介面同時傳輸影像及多種感測器資訊的資料傳輸系統及資料傳輸方法。The present invention relates to the technical field of data transmission, in particular to a data transmission system and data transmission method capable of simultaneously transmitting images and multiple sensor information through a camera serial interface of a mobile industrial processor interface.
隨著科技的發展,行動裝置之功能已愈趨多元和成熟,依此,諸如相機模組、UHD顯示器、GPS定位晶片、不同供應商的感測器等元件,都必須整合在行動裝置中,如「第1圖」所示,習知的感測器(如相機、音訊裝置、顯示器、網通晶片等元件),通常使用不同的傳輸介面(或稱接口),將數據傳遞給CPU(中央處理器),例如相機可透過MIPI-CSI介面將影像資訊傳給CPU,音訊裝置(如麥克風和音頻編碼器)可透過I2S介面將音訊資訊傳遞給CPU,其它感測器則可透過例如SPI或I2C等介面將感測數據傳遞給CPU,接著CPU再對這些數據進行後續處理(例如對影像資訊續行影像處理)。With the development of technology, the functions of mobile devices have become more diversified and mature. Accordingly, components such as camera modules, UHD displays, GPS positioning chips, and sensors from different vendors must be integrated into the mobile device. As shown in "Figure 1", conventional sensors (such as cameras, audio devices, displays, Netcom chips, etc.) usually use different transmission interfaces (or interfaces) to transmit data to the CPU (central processing unit). For example, cameras can transmit image information to the CPU through the MIPI-CSI interface, audio devices (such as microphones and audio encoders) can transmit audio information to the CPU through the I2S interface, and other sensors can use, for example, SPI or I2C The interface transfers the sensing data to the CPU, and then the CPU performs subsequent processing on the data (for example, image processing is continued on the image information).
然而,隨著當今CPU連接的感測器數量不斷增多,各種感測器之複雜性也不斷增加的情況下,實有必要採用連接至不同感測器的一預處理晶片,以由其將收集到的感測數據進行預處理,再分別透過不同的傳輸介面傳遞給CPU,但如此一來,CPU將必須支援不同感測器的傳輸介面,而會讓系統增加大量成本與功耗,而目前並未有發明人提出可簡化預處理晶片與CPU之間的傳輸通道的解決方案,或提出統一的感測器傳輸標準介面。However, with the increasing number of sensors connected to CPUs today and the increasing complexity of various sensors, it is really necessary to use a pre-processing chip connected to different sensors to collect data. The received sensing data is preprocessed and then transmitted to the CPU through different transmission interfaces. However, in this way, the CPU will have to support the transmission interfaces of different sensors, which will increase the system cost and power consumption. No inventor has proposed a solution that can simplify the transmission channel between the pre-processing chip and the CPU, or propose a unified sensor transmission standard interface.
雖有發明人提出影像擷取裝置(其即屬於一種感測器)的各攝像頭所擷取的影像資料因分別透過各自的MIPI介面傳送至主控制器,故系統在控制上會佔用系統資源,而重覆地傳送相關或相同設定給不同的攝像頭,進而造成主控制器的負擔,且主控制器如需同時接收不同攝像頭的影像資料,必須開啟不同的MIPI介面以一對一接收的問題,即如中華民國發明專利第TWI637632B號「影像擷取裝置及其控制方法」所揭,但該專利前案主要提出其主控制器只需針對單一攝像頭設定攝像參數,其它副攝像頭可自行依據主攝像頭的攝像參數以及各自的對應參數表設定攝像參數,以藉此降低主控制器的負擔,故就非屬影像擷取裝置的其它感測器,該專利前案並未針對各感測器的傳輸介面均不同的問題提出解決方案。Although some inventors have proposed that the image data captured by each camera of the image capture device (which is a kind of sensor) is transmitted to the main controller through their respective MIPI interfaces, the system will occupy system resources in terms of control. The problem of repeatedly sending related or the same settings to different cameras, causing the main controller to burden the main controller. If the main controller needs to receive the image data from different cameras at the same time, it must open different MIPI interfaces to receive one-to-one reception. That is, as disclosed in the Republic of China Invention Patent No. TWI637632B "Image Capture Device and Its Control Method", the previous case of the patent mainly proposed that the main controller only needs to set the camera parameters for a single camera, and other sub cameras can be based on the main camera. The camera parameters and their respective corresponding parameter tables are used to set the camera parameters to reduce the burden of the main controller. Therefore, the previous patent does not address the transmission of each sensor as for other sensors that are not image capture devices. Propose solutions to problems with different interfaces.
綜上可知,目前針對使用不同傳輸介面的感測器,如何提出一種可簡化預處理晶片與CPU之間傳遞不同感測數據的傳輸通道,以期能降低系統成本與功耗的資料傳輸系統及傳輸方法,乃有待解決之問題。In summary, for sensors that use different transmission interfaces, how to propose a data transmission system and transmission that can simplify the transmission of different sensing data between the pre-processing chip and the CPU in order to reduce system cost and power consumption The method is a problem to be solved.
為達上述目的,本發明提出一種基於行動產業處理器介面的資料傳輸系統及資料傳輸方法,供以傳輸一影像擷取裝置的一影像資訊,亦供以傳輸一或多個感測器的一感測器資訊,該資料傳輸系統包含一預處理單元及耦接於預處理單元的一中央處理單元;預處理單元供以對影像資訊及感測器資訊進行預處理並予以暫存;影像擷取裝置及一或多個感測器分別耦接於預處理單元,預處理單元被組態為以一行動產業處理器介面(MIPI)的一相機串列介面(CSI)從影像擷取裝置接收影像資訊,亦被組態為以一串列通信介面從感測器接收感測器資訊;預處理單元更被組態為將預處理後的影像資訊,於相機串列介面包含的一第一虛擬通道(Virtual Channel)傳輸至中央處理單元,亦被組態為將預處理後的感測器資訊,於相機串列介面包含的一第二虛擬通道傳輸至中央處理單元。To achieve the above objective, the present invention provides a data transmission system and a data transmission method based on a mobile industrial processor interface for transmitting an image information of an image capturing device, and also for transmitting one of one or more sensors Sensor information. The data transmission system includes a pre-processing unit and a central processing unit coupled to the pre-processing unit; the pre-processing unit is used to pre-process and temporarily store image information and sensor information; The capture device and one or more sensors are respectively coupled to the preprocessing unit, and the preprocessing unit is configured to receive from the image capture device via a camera serial interface (CSI) of a mobile industry processor interface (MIPI) The image information is also configured to receive sensor information from the sensor through a serial communication interface; the preprocessing unit is further configured to place the preprocessed image information on a first part of the camera serial interface. The virtual channel (Virtual Channel) is transmitted to the central processing unit, and is also configured to transmit the preprocessed sensor information to a second virtual channel included in the camera serial interface to the central processing unit.
另,本發明所提出的基於行動產業處理器介面的資料傳輸系統,其中央處理單元可被組態為以相機串列介面(CSI)包含的一相機控制介面(CCI)發送一配置參數(例如初始化參數)至預處理單元,使預處理單元寫入配置參數至影像擷取裝置及感測器的一暫存器,供影像擷取裝置及感測器載入後依配置參數作動。In addition, in the data transmission system based on the mobile industrial processor interface proposed by the present invention, the central processing unit can be configured to send a configuration parameter (such as a camera control interface (CCI)) included in a camera serial interface (CSI) (Initialization parameters) to the preprocessing unit, so that the preprocessing unit writes the configuration parameters to a register of the image capture device and the sensor, for the image capture device and the sensor to load and act according to the configuration parameters.
由此可知,本發明據以實施後,透過簡化預處理晶片與中央處理單元之間的傳輸通道,可分別於不同的MIPI-CSI虛擬通道傳輸影像及其它感測器資訊,藉此,中央處理單元毋須處理大量來自不同傳輸介面的感測器資訊,而至少可達成降低系統成本與功耗的有益功效。It can be seen that, after the present invention is implemented, by simplifying the transmission channel between the pre-processing chip and the central processing unit, images and other sensor information can be transmitted on different MIPI-CSI virtual channels, thereby, the central processing The unit does not need to process a large amount of sensor information from different transmission interfaces, and can at least achieve the beneficial effects of reducing system cost and power consumption.
為使 貴審查委員得以清楚了解本發明之目的、技術特徵及其實施後之功效,茲以下列說明搭配圖示進行說明,敬請參閱。In order to enable your reviewer to have a clear understanding of the purpose, technical features and effects of the present invention after implementation, the following descriptions and illustrations are used for explanation, please refer to them.
請參閱「第2圖」,其為本發明之系統架構及資訊流示意圖,本發明揭露一種基於行動產業處理器介面的資料傳輸系統1,可傳輸一影像擷取裝置10的一影像資訊,亦可傳輸一或多個感測器(20、20’…)的一感測器資訊,包含一預處理單元30及一中央處理單元40,其中:(1)
影像擷取裝置10可透過一行動產業處理器介面(Mobile Industry Processor Interface,MIPI)的一相機串列介面(Camera Serial Interface,CSI)與預處理單元30進行影像資訊(MIPI訊號的形式)的傳輸,其中,相機串列介面可為符合CSI-1、CSI-2或CSI-3之傳輸協定,但並不以此為限;另,影像擷取裝置10可至少包含一透鏡及一感光元件,其中,感光元件用以產生影像,其可為一電荷耦合元件(CCD)、一互補性氧化金屬半導體(CMOS)元件或其他感光元件;(2)
感測器20可透過一串列通信介面(Serial Communication)與預處理單元30進行感測器資訊之傳輸,其中,串列通信介面可為符合一內部整合電路(Inter-Integrated Circuit Bus,I2C)、一串列周邊介面(Serial Peripheral Interface Bus,SPI)、一內部積體電路聲音串列介面(Integrated Interchip Sound,I2S)、一通用非同步接收傳輸器(UART)、一微導線(Microwire)之其中一種介面或其組合的通訊協定,惟並不以此為限;(3)
預處理單元30可對接收的影像資訊及感測器資訊進行預處理並予以暫存,且預處理單元30可被組態為以行動產業處理器介面的相機串列介面從影像擷取裝置10接收影像資訊,亦可被組態為以串列通信介面從一或多個感測器(20、20’…)接收感測器資訊,再者,預處理單元30可進一步被組態為將預處理後的影像資訊,於相機串列介面包含的一第一虛擬通道VC_0傳輸至中央處理單元40;預處理單元30亦可被組態為將預處理後的感測器資訊,於相機串列介面包含的一第二虛擬通道VC_1傳輸至中央處理單元40;(4)
中央處理單元40耦接於預處理單元30,中央處理單元40可被組態為以相機串列介面包含的一相機控制介面(Camera Serial Interface,CCI)發送一配置參數至預處理單元30,供預處理單元30分別寫入配置參數至影像擷取裝置10之暫存器101及感測器20之暫存器201的相關位址,進而使影像擷取裝置10及感測器20載入配置參數後,可依配置參數作動,舉例而言,寫入至影像擷取裝置10之暫存器101的配置參數可例如為一初始化設定、一影像輸出規格設定、一對焦設定、一曝光設定、一白平衡設定等設定,但不以此為限;(5)
承上,中央處理單元40可具備邏輯運算、暫存運算結果、保存執行指令位置等功能,且中央處理單元40可以例如是一中央處理器(CPU)、一微處理器(MPU)、一微控制器(MCU)、一應用處理器(AP)、一嵌入式處理器(Embedded Processor)、一數位訊號處理器(DSP)、一特殊應用積體電路(ASIC)或一可程式化邏輯裝置(PLD),但均不以此為限。Please refer to "Figure 2", which is a schematic diagram of the system architecture and information flow of the present invention. The present invention discloses a
請接續參閱「第3圖」之系統實施流程圖,並請搭配參閱「第2圖」,本發明之基於行動產業處理器介面的資料傳輸系統1可執行一種資料傳輸方法S,包括以下步驟:(1)
寫入配置參數(步驟S10):一中央處理單元40以一行動產業處理器介面的一相機串列介面包含的一相機控制介面,發送一配置參數至一預處理單元30,接著預處理單元30可訪問及控制影像擷取裝置10及感測器20的一暫存器(101、201),以分別寫入配置參數至暫存器(101、201),使影像擷取裝置10及感測器20可依配置參數作動;(2)
透過MIPI介面接收影像資訊(步驟S20):預處理單元30以行動產業處理器介面的相機串列介面從影像擷取裝置10接收影像資訊;(3)
透過串列通信介面接收感測器資訊(步驟S30):預處理單元30以一串列通信介面從一或多個感測器(20、20’…)接收感測器資訊,而本實施例的串列通信介面係分別以內部整合電路、串列周邊介面及一內部積體電路聲音串列介面為例,惟各感測器(20、20’…)亦可透過其它串列通信介面與預處理單元30進行雙向數據傳輸,並不以前述的串列通信介面為限;(4)
訊號預處理(步驟S40):預處理單元30分別對接收到的影像資訊及感測器資訊進行預處理,並予以暫存,其中,前述的預處理可以包括聚合(aggregating)、過濾或以其它方式增强(enhancing)未處理(raw)的影像資訊與各感測器資訊;(5)
於MIPI-CSI介面的不同虛擬通道同步傳輸影像與感測器資訊(步驟S50):預處理單元30將預處理後的影像資訊,於相機串列介面包含的一第一虛擬通道VC_0傳輸至中央處理單元40,同時將預處理後的感測器資訊於相機串列介面包含的一第二虛擬通道VC_1傳輸至中央處理單元40。(6)
承上,前述的配置參數若非初始化參數,則本實施例的步驟S10(寫入配置參數)亦可執行於步驟S50之後。Please continue to refer to the system implementation flow chart of "Figure 3" and refer to "Figure 2". The
請參閱「第4圖」,其為本發明之感測器封包格式示意圖,並請搭配參閱「第2圖」至「第3圖」,本實施例所揭的資訊傳輸系統於執行資料傳輸方法S時,於步驟S50(同步傳輸影像與感測器資訊)執行時,一或多個感測器資訊可分別被封裝為一感測器封包P_S,使各感測器資訊可透過封包形式(Packet)於第二虛擬通道VC_1傳輸至中央處理單元40,且本實施例的感測器封包P_S可至少包含一標頭(Header)、一時間戳資訊(Time Stamp)、一封包長度(length)、一承載資料(PayLoad)及一錯誤更正碼(ECC),其中,標頭可用於區分來自不同感測器(20、20’…)的資訊,時間戳資訊可用於區分來自同一個感測器20的感測器資訊的先後順序,封包長度用於表示承載資料之資料長度,錯誤更正碼用於對感測器資訊進行校驗及糾錯,以確保封包資料的完整性及可靠性。Please refer to "Figure 4", which is a schematic diagram of the sensor packet format of the present invention. Please also refer to "Figure 2" to "Figure 3". The information transmission system disclosed in this embodiment implements the data transmission method When S, when step S50 (synchronous transmission of image and sensor information) is executed, one or more sensor information can be respectively encapsulated as a sensor package P_S, so that each sensor information can be packaged in the form of ( Packet) is transmitted to the
請參閱「第5圖」,其為本發明之另一實施例(一)之MIPI-CSI封包格式示意圖,並請搭配參閱「第2圖」~「第3圖」,本實施例與「第4圖」所揭相關,主要差異在於,於步驟S50被封裝為封包形式的一或多個感測器封包P_S,於本實施例可進一步構成一MIPI-CSI封包P_CSI,以於第二虛擬通道VC_1傳遞至中央處理單元40,且MIPI-CSI封包P_CSI可至少再包含一MIPI封包標頭及一MIPI封包註腳(Footer),藉此,可將感測器封包模擬成影像資訊,以將各感測器資訊更好地嵌入至MIPI-CSI這個傳輸影像的傳輸協定;並請繼續參閱「第6圖」,其為本發明之另一實施例(二)之MIPI-CSI封包格式示意圖,本實施例與「第5圖」所揭技術相關,且前述的MIPI-CSI封包P_CSI更可包含一填充數據(Filler) 及一虛設封包(Dummy Packet)之其中一種或其組合,若MIPI-CSI封包P_CSI包含填充數據,其封包格式即如「第5圖」所示,若MIPI-CSI封包P_CSI包含虛設封包,其封包格式即如「第6圖」所示。Please refer to "Figure 5", which is a schematic diagram of the MIPI-CSI packet format of another embodiment (1) of the present invention. Please also refer to "Figure 2" ~ "Figure 3". As shown in Figure 4, the main difference is that one or more sensor packets P_S in the form of packets are encapsulated in step S50. In this embodiment, a MIPI-CSI packet P_CSI can be further formed for the second virtual channel. VC_1 is transferred to the
請參閱「第7圖」,其為本發明之另一實施例(三)以MIPI-CSI封包為單位之交織傳輸示意圖,並請搭配參閱「第2圖」~「第4圖」,本實施例與「第5圖」所揭相關,本實施例的步驟S50執行時,於第二虛擬通道VC_1進行傳遞的多個感測器封包P_S,由於可構成MIPI-CSI封包P_CSI的資料格式,故影像擷取裝置10所生成的影像資訊及一或多個感測器(20、20’…)所生成的感測器資訊,均得以MIPI-CSI封包為單位,分別於不同的虛擬通道(VC_0、VC_1)穿插發送至中央處理單元40,更詳細而言,於第一虛擬通道VC_0傳遞影像資訊的MIPI-CSI封包,及於第二虛擬通道VC_1傳遞感測器資訊的MIPI-CSI封包,可分別於框結束碼(FE_0、FE_1)和框開始碼(FS_0、FS_1)之間所定義的一資料框(data frame)穿插發送,並且,資料框外可被定義一框空白區間(frame blanking period)及一行空白區間(line blanking),傳遞封包資料時,當MIPI-CSI封包成為框空白區間或是行空白區間,會閘控(gated)時脈訊號,或是停止傳送時脈訊號,以藉此實現MIPI-CSI通訊協定所支援的交織傳輸(Data Interleaving)。Please refer to "Figure 7", which is another embodiment of the present invention (3) a schematic diagram of interleaving transmission in units of MIPI-CSI packets, and please refer to "Figure 2" ~ "Figure 4" for this implementation The example is related to that disclosed in "Figure 5". When step S50 of this embodiment is executed, the multiple sensor packets P_S transmitted on the second virtual channel VC_1 can form the data format of the MIPI-CSI packet P_CSI, so The image information generated by the image capture device 10 and the sensor information generated by one or more sensors (20, 20'...) are all used in MIPI-CSI packets as a unit, and are used in different virtual channels (VC_0). , VC_1) is interleaved and sent to the
請參閱「第8圖」,其為本發明之另一實施例(四) 以幀為單位之交織傳輸示意圖,並請搭配參閱「第2圖」~「第5圖」,本實施例與「第7圖」所揭相關,主要差異在於,步驟S50執行時,於第二虛擬通道VC_1進行傳遞的多個感測器封包P_S,由於可構成MIPI-CSI封包P_CSI的資料格式,故影像擷取裝置10所生成的影像資訊,及一或多個感測器(20、20’…)所生成的感測器資訊,得以幀(Frame)為單位穿插發送至中央處理單元40,更詳細而言,於第一虛擬通道VC_0傳遞影像資訊的多個MIPI-CSI封包,可於框結束碼(FE_0)和框開始碼(FS_0)之間所定義的幀(Frame_VC0)發送,同樣地,於第二虛擬通道VC_1傳遞感測器資訊的MIPI-CSI封包,可於框結束碼(FE_1)和框開始碼(FS_1)之間所定義的幀(Frame_VC1)發送,以藉此實現MIPI-CSI通訊協定所支援的交織傳輸(Data Interleaving),其中,第一虛擬通道和第二虛擬通道(VC_0、VC_1)的幀發送速率不必相同,且第一虛擬通道VC_0每幀的MIPI-CSI封包個數和MIPI-CSI封包長度,可不同於第二虛擬通道VC_1,但在每個虛擬通道內部(VC_0或VC_1),每幀的MIPI-CSI封包個數和每個MIPI-CSI封包長度必須相同。Please refer to "Figure 8", which is a schematic diagram of another embodiment (4) of the interleaving transmission in the unit of frame of the present invention. Please also refer to "Figure 2" ~ "Figure 5" in conjunction with this embodiment. The main difference as shown in Fig. 7 is that when step S50 is executed, the multiple sensor packets P_S transmitted on the second virtual channel VC_1 can form the data format of MIPI-CSI packet P_CSI, so the image is captured The image information generated by the device 10 and the sensor information generated by one or more sensors (20, 20'...) are interleaved and sent to the
請參閱「第9圖」,其為本發明之另一實施例(四) 之幀緩衝區暫存第二虛擬通道之幀資訊格式示意圖,並請搭配參閱「第2圖」,本實施例與「第8圖」所揭相關,如圖,本實施例的中央處理單元40的MIPI-CSI接收端(圖中未繪示)從不同虛擬通道(VC_0、VC_1)接收影像資訊及感測器資訊後,係分別儲存至中央處理單元40的一記憶體(圖中未繪示),且本實施例的記憶體可再從中劃分出二個幀緩衝區(Frame Buffer,亦可稱幀緩存),其可分別儲存來自第一虛擬通道VC_0的影像資訊及來自第二虛擬通道VC_1的多個感測器資訊,其中,用以儲存第二虛擬通道VC_1之多個感測器資訊的幀緩衝區B_VC1,其得以幀資訊格式暫存各感測器封包,而本實施例的各感測器封包(如圖中所示的感測器0 data packet、感測器1 data packet…)由於可分別構成MIPI-CSI封包,故本實施例的各MIPI-CSI封包可進一步包含一填充數據(Filler)或一虛設封包(Dummy Packet),即如「第9圖」所示,惟並不以此為限。Please refer to "Figure 9", which is a schematic diagram of the frame information format of the second virtual channel temporarily stored in the frame buffer of another embodiment (4) of the present invention. Please also refer to "Figure 2" in conjunction with this embodiment. As shown in "Figure 8", as shown in the figure, the MIPI-CSI receiving end (not shown in the figure) of the
請參閱「第10圖」,其為本發明之另一實施例(五)之MIPI-CSI接收端的驅動程式結構,並請搭配參閱「第2圖」,本實施例與「第9圖」所揭技術相關,如圖,當本實施例之中央處理單元40的MIPI-CSI接收端驅動程式(MIPI CSI Rx Driver)將第一虛擬通道VC_0的多個影像資訊存入前述的一幀緩衝區(Virtual Channel 0 Frame Buffer)後,可使用一驅動程式結構D_S上層的一視頻驅動程式(Video Driver),直接向對應的應用程式(Application)提供一視頻驅動程式API接口(Video API);相對地,當本實施例之中央處理單元40的MIPI-CSI接收端驅動程式將第二虛擬通道VC_1的多個MIPI-CSI封包(其主要為包含多個感測器資訊、多個填充數據或虛設封包的幀資訊格式)存入另一幀緩衝區(Virtual Channel 1 Frame Buffer)後,需使用上層的多感測器驅動程式(Multi Sensor Driver),提取出不同感測器(20、20’…)的各感測器資訊,並發送至對應的感測器驅動程式(如感測器0 Driver、感測器1 Driver…感測器N Driver)處理,接著,各感測器驅動程式可透過各感測器驅動程式API(如感測器0 API、感測器1 API、…感測器N API),將各感測器資訊分別傳遞給對應的應用程式處理。Please refer to "Figure 10", which is another embodiment of the present invention (5) of the MIPI-CSI receiver driver structure, and please refer to "Figure 2", this embodiment and "Figure 9" Related to the technology, as shown in the figure, when the MIPI-CSI Rx Driver of the
綜上可知,本發明透過簡化預處理晶片與中央處理單元之間的傳輸通道,可分別於不同的MIPI-CSI虛擬通道傳輸影像及其它感測器資訊,不同於習知中央處理單元必須處理來自不同傳輸介面的感測器資訊的作法,而至少可達成降低系統成本與功耗的有益功效。In summary, by simplifying the transmission channel between the pre-processing chip and the central processing unit, the present invention can transmit images and other sensor information on different MIPI-CSI virtual channels, which is different from the conventional central processing unit that must process data from The method of transmitting sensor information with different interfaces can at least achieve the beneficial effects of reducing system cost and power consumption.
以上所述者,僅為本發明之較佳之實施例而已,並非用以限定本發明實施之範圍;任何熟習此技藝者,在不脫離本發明之精神與範圍下所作之均等變化與修飾,皆應涵蓋於本發明之專利範圍內。The above are only preferred embodiments of the present invention, and are not intended to limit the scope of implementation of the present invention; anyone who is familiar with this technique can make equal changes and modifications without departing from the spirit and scope of the present invention. It should be covered in the scope of the patent of the present invention.
綜上所述,本發明係具有「產業利用性」、「新穎性」與「進步性」等專利要件;申請人爰依專利法之規定,向 鈞局提起發明專利之申請。To sum up, the present invention has patent requirements such as "industrial applicability", "novelty" and "advancedness"; the applicant filed an application for a patent for invention with the Bureau in accordance with the provisions of the Patent Law.
1:基於行動產業處理器介面的資料傳輸系統 10:影像擷取裝置 101:暫存器 20:感測器 201:暫存器 30:預處理單元 40:中央處理單元 VC_0:第一虛擬通道 VC_1:第二虛擬通道 P_S:感測器封包 P_CSI:MIPI-CSI封包 B_VC1:幀緩衝區 FS_0:框開始碼 FS_1:框開始碼 FE_0:框結束碼 FE_1:框結束碼 D_S:驅動程式結構 S:資料傳輸方法 S10:寫入配置參數 S20:透過MIPI介面接收影像資訊 S30:透過串列通信介面接收感測器資訊 S40:訊號預處理 S50:於MIPI-CSI介面的不同虛擬通道同步傳輸影像與感測器資訊 1: Data transmission system based on mobile industry processor interface 10: Image capture device 101: scratchpad 20: Sensor 201: Register 30: preprocessing unit 40: Central Processing Unit VC_0: The first virtual channel VC_1: second virtual channel P_S: Sensor packet P_CSI: MIPI-CSI packet B_VC1: frame buffer FS_0: Frame start code FS_1: Frame start code FE_0: Frame end code FE_1: Frame end code D_S: driver structure S: Data transmission method S10: Write configuration parameters S20: Receive image information through MIPI interface S30: Receive sensor information through serial communication interface S40: Signal preprocessing S50: Synchronous transmission of images and sensor information on different virtual channels of the MIPI-CSI interface
第1圖,為習知傳輸感測器資料的系統架構及資訊流示意圖。 第2圖,為本發明之系統架構及資訊流示意圖。 第3圖,為本發明之系統實施流程圖。 第4圖,為本發明之感測器封包格式示意圖。 第5圖,為本發明之另一實施例(一)之MIPI-CSI封包格式示意圖。 第6圖,為本發明之另一實施例(二)之MIPI-CSI封包格式示意圖。 第7圖,為本發明之另一實施例(三)以MIPI-CSI封包為單位之交織傳輸示意圖。 第8圖,為本發明之另一實施例(四)以幀為單位之交織傳輸示意圖。 第9圖,為本發明之另一實施例(五)之幀緩衝區暫存第二虛擬通道之幀資訊格式示意圖。 第10圖,為本發明之另一實施例(五)之MIPI-CSI接收端的驅動程式結構。Figure 1 is a schematic diagram of the system architecture and information flow of conventional sensor data transmission. Figure 2 is a schematic diagram of the system architecture and information flow of the present invention. Figure 3 is a flow chart of the system implementation of the present invention. Figure 4 is a schematic diagram of the sensor packet format of the present invention. Figure 5 is a schematic diagram of the MIPI-CSI packet format of another embodiment (1) of the present invention. Figure 6 is a schematic diagram of the MIPI-CSI packet format of another embodiment (2) of the present invention. Figure 7 is a schematic diagram of another embodiment (3) of the interleaving transmission using MIPI-CSI packets as a unit of the present invention. Figure 8 is a schematic diagram of another embodiment (4) of the interleaving transmission in frame units of the present invention. Figure 9 is a schematic diagram of the frame information format of the second virtual channel temporarily stored in the frame buffer of another embodiment (5) of the present invention. Figure 10 shows the driver structure of the MIPI-CSI receiving end of another embodiment (5) of the present invention.
1:基於行動產業處理器介面的資料傳輸系統 1: Data transmission system based on mobile industry processor interface
10:影像擷取裝置 10: Image capture device
101:暫存器 101: scratchpad
20:感測器 20: Sensor
201:暫存器 201: Register
20’:感測器 20’: Sensor
30:預處理單元 30: preprocessing unit
40:中央處理單元 40: Central Processing Unit
VC_0:第一虛擬通道 VC_0: The first virtual channel
VC_1:第二虛擬通道 VC_1: second virtual channel
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108130918A TW202110144A (en) | 2019-08-28 | 2019-08-28 | Data transmission system and data transmission method based on Mobile Industry Processor Interface capable of simultaneously transmitting image and multiple sensor data through camera serial interface of Mobile Industry Processor Interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108130918A TW202110144A (en) | 2019-08-28 | 2019-08-28 | Data transmission system and data transmission method based on Mobile Industry Processor Interface capable of simultaneously transmitting image and multiple sensor data through camera serial interface of Mobile Industry Processor Interface |
Publications (1)
Publication Number | Publication Date |
---|---|
TW202110144A true TW202110144A (en) | 2021-03-01 |
Family
ID=76035613
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108130918A TW202110144A (en) | 2019-08-28 | 2019-08-28 | Data transmission system and data transmission method based on Mobile Industry Processor Interface capable of simultaneously transmitting image and multiple sensor data through camera serial interface of Mobile Industry Processor Interface |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW202110144A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023019999A1 (en) * | 2021-08-20 | 2023-02-23 | 荣耀终端有限公司 | Working mode switching control method, electronic device, and readable storage medium |
-
2019
- 2019-08-28 TW TW108130918A patent/TW202110144A/en unknown
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023019999A1 (en) * | 2021-08-20 | 2023-02-23 | 荣耀终端有限公司 | Working mode switching control method, electronic device, and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TW201207624A (en) | Controlling data transfer method, controller and electronic system thereof | |
WO2022100515A1 (en) | Data transmission method and electronic device | |
TWI640957B (en) | Image processing chip and image processing system | |
JP2001177746A (en) | Computer system employing digital camera | |
JP7007160B2 (en) | Transmitter | |
JP5194014B2 (en) | Data word stream processing device | |
US8018931B2 (en) | Communication apparatus and integrated circuit for communication | |
US20220368564A1 (en) | PCIe-Based Data Transmission Method and Apparatus | |
WO2014079303A1 (en) | Method, device and system for synthesizing multi-screen video | |
TW202110144A (en) | Data transmission system and data transmission method based on Mobile Industry Processor Interface capable of simultaneously transmitting image and multiple sensor data through camera serial interface of Mobile Industry Processor Interface | |
CN108540689B (en) | Image signal processor, application processor and mobile device | |
WO2021161909A1 (en) | Transmission device, reception device, and communication system | |
CN112449137A (en) | Data transmission system and data transmission method based on mobile industry processor interface | |
JP2013539611A (en) | Obtaining a stereo image of a single pipeline | |
US9485333B2 (en) | Method and apparatus for network streaming | |
TWM591646U (en) | Data transmission system based on mobile industry processor interface | |
TW200912654A (en) | Direct interface of camera module to general purpose I/O port of digital baseband processor | |
Malviya et al. | Tiny I2C protocol for camera command exchange in CSI-2: a review | |
TWI554095B (en) | Image processing chip and image processing system | |
CN100576164C (en) | Image transfer method and device based on the USB pattern | |
TWI312252B (en) | Bidirectional data transmission for low-speed and high-speed communications | |
WO2005062618A1 (en) | Imaging device | |
EP2736220B1 (en) | Method and apparatus for network streaming | |
US20220179821A1 (en) | Hardware and protocols to support image transfers over mipi i2c/i3c buses | |
JPH10232924A (en) | Time-varying image capture system |