TWI646855B - Control method and driver device of depth camera - Google Patents

Control method and driver device of depth camera Download PDF

Info

Publication number
TWI646855B
TWI646855B TW106146355A TW106146355A TWI646855B TW I646855 B TWI646855 B TW I646855B TW 106146355 A TW106146355 A TW 106146355A TW 106146355 A TW106146355 A TW 106146355A TW I646855 B TWI646855 B TW I646855B
Authority
TW
Taiwan
Prior art keywords
signal
depth camera
wireless
module
occupied
Prior art date
Application number
TW106146355A
Other languages
Chinese (zh)
Other versions
TW201931927A (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 TW106146355A priority Critical patent/TWI646855B/en
Application granted granted Critical
Publication of TWI646855B publication Critical patent/TWI646855B/en
Publication of TW201931927A publication Critical patent/TW201931927A/en

Links

Landscapes

  • Studio Devices (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

一種深度相機的控制方法,包括:無線訊號收發模組偵測無線頻道中是否存在一佔用訊號並據以產生一頻道佔用結果,運算模組依據頻道佔用結果選擇性地產生佔用訊號,在運算模組產生佔用訊號時,以運算模組致能光源驅動電路並接收深度相機所取得之影像,在運算模組取得影像之後,運算模組選擇性地中止產生佔用訊號,禁能光源驅動電路並停止接收影像。A method for controlling a depth camera, comprising: detecting, by a wireless signal transceiver module, whether an occupied signal exists in a wireless channel and generating a channel occupancy result, and the operation module selectively generates an occupation signal according to a channel occupancy result, in the operation mode When the group generates the occupation signal, the operation module enables the light source driving circuit and receives the image obtained by the depth camera. After the operation module acquires the image, the operation module selectively stops generating the occupation signal, disables the light source driving circuit, and stops. Receive images.

Description

深度相機的控制方法及驅動裝置Depth camera control method and driving device

本發明係關於深度相機的控制方法及驅動裝置,尤其是採用飛行時間技術拍攝三維影像的深度相機的控制方法及驅動裝置。The present invention relates to a method and a driving device for controlling a depth camera, and more particularly to a method and a driving device for a depth camera that captures a three-dimensional image using a time-of-flight technique.

飛行時間(Time of Flight,ToF)是三維攝影領域所採用的主要技術之一。ToF透過多次投射紅外光至目標物件,依據光線發射和反射的時間差或相位差來計算與目標物件之間的距離,並將此距離資訊儲存到二維影像的每個像素中。Time of Flight (ToF) is one of the main technologies used in the field of 3D photography. The ToF calculates the distance from the target object based on the time difference or phase difference between the light emission and reflection by projecting infrared light to the target object multiple times, and stores the distance information in each pixel of the two-dimensional image.

然而,考慮到實際的應用場景,在一拍攝區域內可能有多台採用ToF技術的深度相機對同一目標物件進行拍攝,當這些深度相機同時拍攝時,各自所發射的紅外線光將互相干擾,進一步影響深度資訊的計算。而若是限制拍攝區域或是採用事先佈線決定拍攝順序的方式,又為拍攝過程中帶來額外不便之處。However, considering the actual application scenario, there may be multiple depth cameras using ToF technology in a shooting area to shoot the same target object. When these depth cameras are simultaneously photographed, the respective infrared light emitted by the camera will interfere with each other. Affect the calculation of depth information. If you limit the shooting area or use the pre-wired to determine the shooting sequence, it will bring additional inconvenience to the shooting process.

有鑑於此,本發明提出一個適用於多台深度相機協調拍攝的控制方法以及深度相機的驅動裝置。In view of this, the present invention proposes a control method suitable for coordinated shooting of multiple depth cameras and a driving device for the depth camera.

依據本發明一實施例的一種深度相機的控制方法,包括:無線訊號收發模組偵測無線頻道中是否存在佔用訊號並據以產生頻道佔用結果;運算模組依據頻道佔用結果選擇性地產生佔用訊號;在運算模組產生佔用訊號時,運算模組致能光源驅動電路並接收相機其他部件模組所取得之影像;以及在運算模組取得影像之後,運算模組選擇性地中止產生佔用訊號,禁能光源驅動電路並停止接收影像。其中,依據頻道佔用結果選擇性地產生佔用訊號係指在無線頻道中不存在佔用訊號、且運算模組接獲呈一工作狀態之取像訊號時,運算模組產生佔用訊號;而當在無線頻道中不存在佔用訊號,運算模組接獲呈一休止狀態之取像訊號時,運算模組中止產生佔用訊號,藉此釋放無線頻道。在運算模組中止產生佔用訊號之後,更包括:在經過運算模組所設定的抑制時段之後,重新以無線訊號收發模組偵測無線頻道中是否存在佔用訊號;其中運算模組設定抑制時段係指以一固定的時間長度作為抑制時段或是由複數個彼此相異的時間長度中之隨機擇一作為抑制時段。佔用訊號係為包括編碼資訊之具有指定頻率的無線載波訊號;前述以運算模組依據頻道佔用結果選擇性地產生佔用訊號的步驟更包括:判斷無線頻道當前之佔用訊號之編碼資訊是否與前一個佔用訊號之編碼資訊相同,如果相同,則運算模組維持當前佔用訊號。According to an embodiment of the present invention, a method for controlling a depth camera includes: detecting, by a wireless signal transceiver module, whether an occupied signal exists in a wireless channel and generating a channel occupancy result; and the computing module selectively generates an occupation according to a channel occupancy result. When the computing module generates the occupancy signal, the computing module enables the light source driving circuit and receives the image obtained by the other component modules of the camera; and after the computing module acquires the image, the computing module selectively suspends the generation of the occupied signal The light source is disabled and the circuit is stopped and the image is stopped. The selectively generating the occupancy signal according to the channel occupancy result means that the operation module generates the occupation signal when the operation module receives the image capture signal in the wireless channel, and the operation module generates the occupation signal; There is no occupied signal in the channel, and when the computing module receives the image capturing signal in a pause state, the computing module stops generating the occupied signal, thereby releasing the wireless channel. After the operation module stops generating the occupation signal, the method further includes: after the suppression period set by the operation module, re-detecting whether there is an occupation signal in the wireless channel by the wireless signal transceiver module; wherein the operation module sets the suppression period It refers to a fixed time length as a suppression period or a random selection of a plurality of mutually different time lengths as a suppression period. The occupation signal is a wireless carrier signal having a specified frequency including the encoded information. The step of selectively generating the occupation signal by the operation module according to the channel occupancy result further includes: determining whether the coding information of the current occupied signal of the wireless channel is the same as the previous one. The coded information of the occupied signal is the same. If they are the same, the computing module maintains the current occupied signal.

依據本發明一實施例所敘的一種深度相機驅動裝置,包括:光源驅動電路、無線訊號收發模組以及運算模組。光源驅動電路用於電性連接至光源,且用於在接收致能指令時驅動光源。無線訊號收發模組用於電性連接至天線以供偵測無線頻道中是否具有佔用訊號,或供產生佔用訊號以透過天線發送至無線頻道。運算模組電性連接光源驅動電路及無線訊號收發模組,運算模組用於電性連接一相機其他部件模組,且用於在無線頻道中不存在佔用訊號時,選擇性地控制無線訊號收發模組產生佔用訊號,且同時產生致能指令並接收相機其他部件模組所取得之影像。前述的運算模組包括:同步處理單元、深度相機感測單元以及中央處理器。同步處理單元電性連接光源驅動電路及無線訊號收發模組,同步處理單元用於在無線頻道中不存在佔用訊號,且接獲呈一工作狀態之取像訊號時,控制無線訊號收發模組產生佔用訊號並產生致能指令。深度相機感測單元電性連接同步處理單元,且用於電性連接相機其他部件模組,深度相機感測單元選擇性地產生取像訊號,且用於接收相機其他部件模組所取得的影像。中央處理器電性連接同步處理單元及深度相機感測單元,其中同步處理單元於無線頻道中不存在佔用訊號且接獲呈一休止狀態之取像訊號時中止產生佔用訊號,藉此釋放無線頻道。A depth camera driving device according to an embodiment of the invention includes: a light source driving circuit, a wireless signal transceiver module, and a computing module. The light source driving circuit is configured to be electrically connected to the light source, and is configured to drive the light source when receiving the enable command. The wireless signal transceiver module is electrically connected to the antenna for detecting whether the wireless channel has an occupancy signal or for generating an occupancy signal for transmission to the wireless channel through the antenna. The computing module is electrically connected to the light source driving circuit and the wireless signal transceiver module, and the computing module is used for electrically connecting to another component module of the camera, and is used for selectively controlling the wireless signal when there is no occupied signal in the wireless channel. The transceiver module generates an occupancy signal and simultaneously generates an enable command and receives an image obtained by other components of the camera module. The foregoing operation module includes: a synchronization processing unit, a depth camera sensing unit, and a central processing unit. The synchronous processing unit is electrically connected to the light source driving circuit and the wireless signal transmitting and receiving module, and the synchronous processing unit is configured to control the wireless signal transmitting and receiving module when the receiving signal is not present in the wireless channel and the image capturing signal is received in a working state. Occupy the signal and generate an enable command. The depth camera sensing unit is electrically connected to the synchronization processing unit, and is used for electrically connecting the other component modules of the camera, the depth camera sensing unit selectively generates the image capturing signal, and is configured to receive the image obtained by the other component modules of the camera. . The central processing unit is electrically connected to the synchronization processing unit and the depth camera sensing unit, wherein the synchronization processing unit stops generating the occupation signal when there is no occupation signal in the wireless channel and receives the image capturing signal in a pause state, thereby releasing the wireless channel .

藉由上述架構,本案所揭露的深度相機的控制方法及驅動裝置可適用在多個採用所述驅動裝置的深度相機協調拍攝的應用場景。藉由各個驅動裝置主動採用無線方式偵測無線頻道是否被佔用,並且在確定未佔用之後才啟動光源輔助深度相機的拍攝;從無避免了在其中一台深度相機拍攝時,遭遇其他深度相機同時投射紅外光導致互相干涉的現象;換言之,本案可實現多個深度相機分時拍攝之效果,並且不需要額外的線材或主控台用於協調拍攝順序,因此可節省三維影像拍攝時的成本。With the above architecture, the control method and the driving device of the depth camera disclosed in the present application can be applied to a plurality of application scenarios in which a plurality of depth cameras using the driving device coordinately capture. By using each driving device to actively detect whether the wireless channel is occupied by wireless, and starting the shooting of the light source assisted depth camera after determining that it is not occupied, it is inevitable to encounter other depth cameras while shooting in one of the depth cameras. Projecting infrared light causes mutual interference; in other words, the present invention can achieve the effect of multiple depth camera time-sharing, and does not require an additional wire or console for coordinating the shooting sequence, thus saving the cost of 3D image shooting.

以上之關於本揭露內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。The above description of the disclosure and the following description of the embodiments of the present invention are intended to illustrate and explain the spirit and principles of the invention, and to provide further explanation of the scope of the invention.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。The detailed features and advantages of the present invention are set forth in the Detailed Description of the Detailed Description of the <RTIgt; </ RTI> <RTIgt; </ RTI> </ RTI> </ RTI> <RTIgt; The objects and advantages associated with the present invention can be readily understood by those skilled in the art. The following examples are intended to describe the present invention in further detail, but are not intended to limit the scope of the invention.

本發明一實施例的深度相機驅動裝置係適用於採用飛行時間技術的深度相機。請參考圖1,其係以功能方塊圖呈現本發明一實施例的深度相機驅動裝置1以及深度相機的其他元件。深度相機驅動裝置1包括光源驅動電路10、無線訊號收發模組30以及運算模組50,運算模組50電性連接光源驅動電路10以及無線訊號收發模組30。The depth camera driving device of one embodiment of the present invention is suitable for a depth camera employing a time-of-flight technique. Please refer to FIG. 1, which shows a depth camera driving device 1 and other components of a depth camera according to an embodiment of the present invention in a functional block diagram. The depth camera driving device 1 includes a light source driving circuit 10, a wireless signal transmitting and receiving module 30, and a computing module 50. The computing module 50 is electrically connected to the light source driving circuit 10 and the wireless signal transmitting and receiving module 30.

光源驅動電路10電性連接至一光源12,光源驅動電路10用於提供電力使光源12發射光線至被拍攝物體,其中所發射的光線為不可見光,例如紅外線。光源驅動電路10係依據一致能指令決定是否提供電力至光源12,此致能指令的發送來源係為運算模組50,而運算模組50發送此致能指令的時機則將於後文敘述之。The light source driving circuit 10 is electrically connected to a light source 12 for supplying electric power to cause the light source 12 to emit light to the object to be photographed, wherein the emitted light is invisible light, such as infrared light. The light source driving circuit 10 determines whether to provide power to the light source 12 according to the consistent energy command. The sending source of the enabling command is the computing module 50, and the timing of the operating module 50 transmitting the enabling command will be described later.

無線訊號收發模組30電性連接至一天線32。實務上,無線訊號收發模組30係例如一射頻積體電路(Radio Frequency Integrated Circuit,RFIC),具有訊號發射器及訊號接收器。訊號接收器透過天線32可偵測一指定頻段的無線電頻道是否被佔用並據以產生一頻道佔用結果,而頻道佔用結果將傳送至運算模組50。若偵測出無線頻道被佔用,說明無線頻道中存在佔用訊號,若偵測出無線頻道未被佔用,說明無線頻道中不存在佔用訊號。訊號發射器可透過天線32發射一佔用訊號,其發射時機則由運算模組50根據前述的頻道佔用結果決定,佔用訊號係指具有前述指定頻段的無線載波訊號。The wireless signal transceiver module 30 is electrically connected to an antenna 32. In practice, the wireless signal transceiver module 30 is, for example, a radio frequency integrated circuit (RFIC) having a signal transmitter and a signal receiver. The signal receiver can detect whether a radio channel of a specified frequency band is occupied by the antenna 32 and generate a channel occupancy result, and the channel occupancy result is transmitted to the operation module 50. If it is detected that the wireless channel is occupied, it indicates that there is an occupation signal in the wireless channel. If it is detected that the wireless channel is not occupied, it indicates that there is no occupation signal in the wireless channel. The signal transmitter can transmit an occupied signal through the antenna 32, and the transmitting timing is determined by the computing module 50 according to the channel occupancy result. The occupied signal refers to the wireless carrier signal having the specified frequency band.

請參考圖1。運算模組50中包括同步處理單元52,深度相機感測單元54及中央處理器56,其中深度相機控制單元54電性連接同步處理單元52及相機其他部件模組58,中央處理器56分別電性連接同步處理單元52及深度相機感測單元54。運算模組50係通過同步處理單元52電性連接光源驅動電路10及無線訊號收發模組30。Please refer to Figure 1. The computing module 50 includes a synchronization processing unit 52, a depth camera sensing unit 54 and a central processing unit 56. The depth camera control unit 54 is electrically connected to the synchronization processing unit 52 and the camera other component module 58. The connection synchronization processing unit 52 and the depth camera sensing unit 54 are connected. The computing module 50 is electrically connected to the light source driving circuit 10 and the wireless signal transmitting and receiving module 30 through the synchronization processing unit 52.

實務上,深度相機感測單元54例如感測器,用於偵測一觸發狀態,例如深度相機的快門被啟動。而深度相機感測單元54所電性連接的相機其他部件模組58則係指包括如相機鏡頭、快門及感光元件等已知的相機零部件。深度相機感測單元54將依據觸發狀態產生取像訊號,並將此取像訊號傳送至同步處理單元52。此取像訊號可為一垂直同步訊號V SYNC或一水平同步訊號H SYNC,二者採影像處理技術領域常用之定義,且取像訊號具有一工作狀態及一休止狀態,實務上,所述的工作狀態例如垂直同步訊號V SYNC處於高電位,休止狀態例如垂直同步訊號V SYNC處於低電位。當同步處理單元52接獲處於工作狀態的取像訊號且從無線訊號收發模組30接獲類似「未測得佔用訊號」的頻道佔用結果時,同步處理單元52產生致能指令並發送至光源驅動電路10以啟用光源12。然而,當同步處理單元52接獲處於休止狀態的取像訊號且從無線訊號收發模組30接獲類似「未測得佔用訊號」的頻道佔用結果時,同步處理單元52並不產生致能指令。前述光源12的啟用時機從實際應用場景而言相當於:深度相機的快門被致動,且此時沒有其他深度相機同時拍攝(這些深度相機皆採用本發明一實施例所敘述的深度相機驅動裝置1),即沒有其他相機的光源干擾。因此,使用者的深度相機驅動裝置1自動開啟光源12以進行深度攝影。 In practice, the depth camera sensing unit 54, such as a sensor, is used to detect a triggering state, such as a shutter of a depth camera being activated. The camera other component module 58 electrically connected to the depth camera sensing unit 54 is a known camera component including a camera lens, a shutter, and a photosensitive element. The depth camera sensing unit 54 generates an image capturing signal according to the trigger state, and transmits the image capturing signal to the synchronization processing unit 52. The image capture signal can be a vertical sync signal V SYNC or a horizontal sync signal H SYNC , which are commonly used in the field of image processing technology, and the image capture signal has a working state and a rest state. In practice, the The operating state, for example, the vertical synchronizing signal V SYNC is at a high potential, and the inactive state, for example, the vertical synchronizing signal V SYNC is at a low potential. When the synchronization processing unit 52 receives the image capture signal in the working state and receives the channel occupancy result similar to the "unmeasured occupancy signal" from the wireless signal transceiver module 30, the synchronization processing unit 52 generates an enable command and sends it to the light source. The circuit 10 is driven to activate the light source 12. However, when the synchronization processing unit 52 receives the image capture signal in the inactive state and receives the channel occupancy result similar to the "undetected occupancy signal" from the wireless signal transceiver module 30, the synchronization processing unit 52 does not generate the enable command. . The activation timing of the foregoing light source 12 is equivalent to the actual application scenario: the shutter of the depth camera is actuated, and no other depth camera is simultaneously photographed at the same time (these depth cameras all adopt the depth camera driving device described in one embodiment of the present invention). 1), that is, there is no light source interference from other cameras. Therefore, the user's depth camera driving device 1 automatically turns on the light source 12 for depth photography.

中央處理器56用於通過深度相機感測單元54接收從相機其他部件模組58所獲取的影像資訊,並由同步處理單元52決定影像資訊的接收時機。如同前述應用場景,當同步處理單元52接獲取像訊號且從無線訊號收發模組30接獲類似「未測得佔用訊號」的頻道佔用結果時,同步處理單元52將取像訊號轉發至中央處理器56,接獲此取像訊號即代表此時深度相機感測單元54所產生的影像資訊為有效的影像資訊,因此中央處理器56接收此影像資訊並據以計算影像深度資訊。The central processing unit 56 is configured to receive the image information acquired from the camera other component module 58 through the depth camera sensing unit 54, and the synchronization processing unit 52 determines the timing of receiving the image information. As in the foregoing application scenario, when the synchronization processing unit 52 receives the image signal and receives the channel occupancy result similar to the "undetected occupancy signal" from the wireless signal transceiver module 30, the synchronization processing unit 52 forwards the image capturing signal to the central processing. The image capturing device 56 receives the image capturing signal to represent the image information generated by the depth camera sensing unit 54 as valid image information. Therefore, the central processing unit 56 receives the image information and calculates the image depth information.

應理解,前述各模組或各單元是以功能進行劃分,其在實際實現中可以相互組合為一或多個整體。於前述實施例,當具有本實施例的深度相機驅動裝置之TOF深度相機要進行拍攝時,無線訊號收發模組30偵測無線電頻道是否被佔用。如果有佔用,則可以將偵測到的佔用訊號發送給同步處理單元52供其判斷該佔用訊號是否為該同步處理單元52產生的佔用訊號,藉此確定是否繼續後續接收影像等程式;也可以等待一抑制時段,在等待滿該抑制時段後重新等待下一個取像訊號;或者也可以在偵測到佔用訊號後重新等待下一個取像訊號的到來。如果無線電頻道沒有被佔用,則通知同步處理單元52,由同步處理單元52產生佔用信號以佔有該無線電頻道,同時致能光源驅動電路10並接收通過相機其他部件模組58所取得的影像。可以理解,此時,若有其他具有本實施例的深度相機驅動裝置之TOF深度相機也要進行拍攝,則由於無線電頻道的佔有,需要等待無線電頻道被釋放,才能進行拍攝,藉此使這兩個相機能夠在不同時間投射訊號來避免干涉,同時,由於採用無線方式使得相機易於佈建規劃。It should be understood that each of the foregoing modules or units is divided by functions, which may be combined with each other into one or more of the whole in actual implementation. In the foregoing embodiment, when the TOF depth camera having the depth camera driving device of the embodiment is to be photographed, the wireless signal transceiver module 30 detects whether the radio channel is occupied. If there is any occupation, the detected occupancy signal may be sent to the synchronization processing unit 52 for determining whether the occupancy signal is an occupation signal generated by the synchronization processing unit 52, thereby determining whether to continue to receive images and other programs; Waiting for a suppression period, waiting for the next image capture signal after waiting for the suppression period; or waiting for the next image capture signal after detecting the occupancy signal. If the radio channel is not occupied, the synchronization processing unit 52 is notified to generate an occupancy signal by the synchronization processing unit 52 to occupy the radio channel, while enabling the light source driving circuit 10 and receiving the image acquired by the camera other component module 58. It can be understood that, at this time, if other TOF depth cameras having the depth camera driving device of the embodiment are also to be photographed, since the possession of the radio channel, it is necessary to wait for the radio channel to be released, so that the shooting can be performed. Cameras can project signals at different times to avoid interference, and because of the wireless way, the camera is easy to deploy.

請參考圖2,其係繪示依據本發明一實施例的深度相機控制方法,此控制方法係應用於具有前述深度相機驅動裝置1的深度相機。請參考步驟S1,在深度相機驅動裝置1尚未確認目前狀態為可拍攝狀態時,同步處理單元52中止取像訊號的轉發,並中止發送致能指令。換言之,係將深度相機驅動裝置1回歸至待運作的初始狀態,即中央處理器56不接收影像資訊且光源驅動電路10不啟用光源12。Please refer to FIG. 2 , which illustrates a depth camera control method according to an embodiment of the present invention. The control method is applied to a depth camera having the aforementioned depth camera driving device 1 . Referring to step S1, when the depth camera driving device 1 has not confirmed that the current state is the recordable state, the synchronization processing unit 52 suspends the forwarding of the image signal and suspends the transmission enable command. In other words, the depth camera driving device 1 is returned to the initial state to be operated, that is, the central processing unit 56 does not receive image information and the light source driving circuit 10 does not activate the light source 12.

請參考圖2的步驟S2及S3。在步驟S2中,當同步處理單元52收到取像訊號時,代表深度相機感測單元54已準備就緒可進行深度影像的拍攝,否則回到步驟S1,同步處理單元52等待接收取像訊號。在步驟S3中,同步處理單元52依據無線訊號收發模組30的頻道佔用結果進行判斷。若頻道佔用結果為無線頻道中具有佔用訊號,代表目前已有另一深度相機正在拍攝或即將進行拍攝,則移至步驟S7,同步處理單元52等待一抑制時段,或者在另一種實施例中,則移至步驟S1,重新等待接收取像訊號。實務上,此抑制時段之時間長度可以設為一固定值或是隨機值,同步處理單元52中更包括一計時器用以累計等待時間,當等待時間達到抑制時段的時間長度,則回到步驟S1,重新等待取像訊號。Please refer to steps S2 and S3 of FIG. 2 . In step S2, when the synchronization processing unit 52 receives the image capturing signal, the representative depth camera sensing unit 54 is ready to perform the shooting of the depth image, otherwise returning to step S1, the synchronization processing unit 52 waits to receive the image capturing signal. In step S3, the synchronization processing unit 52 makes a determination according to the channel occupancy result of the wireless signal transceiver module 30. If the channel occupancy result is that there is an occupancy signal in the wireless channel, indicating that another depth camera is currently shooting or is about to take a shot, then moving to step S7, the synchronization processing unit 52 waits for a suppression period, or in another embodiment, Then, the process goes to step S1, and the image signal is again received. In practice, the length of the suppression period may be set to a fixed value or a random value. The synchronization processing unit 52 further includes a timer for accumulating the waiting time. When the waiting time reaches the suppression period, the process returns to step S1. , wait for the image signal again.

必須附加說明的是,實務上並不限制步驟S2及S3的先後執行順序,例如,可同時檢測佔用訊號及取像訊號,並且在「未測得佔用訊號」及「收到取像訊號」兩個條件同時滿足時,繼續執行圖2的步驟S4。It must be added that the actual execution sequence of steps S2 and S3 is not limited in practice. For example, the occupied signal and the image capturing signal can be detected at the same time, and the "not measured signal" and "received image signal" are detected. When the conditions are simultaneously satisfied, the step S4 of Fig. 2 is continued.

請參考圖2的步驟S4。在步驟S2及步驟S3分別確認收到取像訊號及無線頻道不存在佔用訊號之後,如步驟S4所示,同步處理單元52指示無線訊號收發模組30發送佔用訊號,藉此通知其他深度相機關於本深度相機即將發射光源並且拍攝。同步處理單元52同時發送致能指令以致能光源驅動電路10,並且轉發取像訊號至中央處理器56使其得以開始接收影像資訊。請參考步驟S5,當中央處理器56完成影像接收之後,同步處理單元52中止致能指令,藉此禁能光源驅動電路10以關閉光源12,同時,同步處理單元52還中止佔用訊號的發送,藉此釋放無線頻道以讓其他深度相機得以發出佔用訊號取得拍攝權,如步驟S6所示。Please refer to step S4 of FIG. 2. After confirming that the received image signal and the wireless channel do not have the occupancy signal, respectively, in step S2 and step S3, as shown in step S4, the synchronization processing unit 52 instructs the wireless signal transceiver module 30 to transmit the occupancy signal, thereby notifying other depth cameras. This depth camera is about to emit light and shoot. The synchronization processing unit 52 simultaneously transmits an enable command to enable the light source drive circuit 10, and forwards the image capture signal to the central processor 56 to enable it to begin receiving image information. Referring to step S5, after the central processing unit 56 completes the image receiving, the synchronization processing unit 52 suspends the enabling instruction, thereby disabling the light source driving circuit 10 to turn off the light source 12. Meanwhile, the synchronization processing unit 52 also suspends the transmission of the occupied signal. Thereby, the wireless channel is released to allow other depth cameras to issue the occupancy signal to obtain the shooting right, as shown in step S6.

請繼續參考圖2的步驟S7,為了避免同一個深度相機長期佔用無線頻道進行拍攝,在步驟S6中止佔用訊號的發送之後,同步處理單元必須等待一段時間(即前述抑制時段)後才可重複前述步驟S1以重新等待取像訊號,如步驟S7所示。抑制時段的時間長度如前所述,可以是一固定值或一隨機值,其中隨機值可由數個彼此相異的預設值中隨機選出。若採用隨機值,則可大幅降低兩台深度相機連續兩次同時發出佔用訊號的碰撞情況發生,因此達成多台裝置分時拍攝的功效。Please continue to refer to step S7 of FIG. 2, in order to prevent the same depth camera from occupying the wireless channel for shooting for a long time, after the transmission of the occupation signal is suspended in step S6, the synchronization processing unit must wait for a period of time (ie, the aforementioned suppression period) before repeating the foregoing. Step S1 is to wait for the image capturing signal again, as shown in step S7. The length of time of the suppression period may be a fixed value or a random value as described above, wherein the random value may be randomly selected from a plurality of preset values different from each other. If a random value is used, the collision of two consecutive cameras that simultaneously emit the occupied signals can be greatly reduced, thereby achieving the effect of time-sharing of multiple devices.

在本發明一實施例中,佔用訊號係為具有指定頻率的無線載波訊號。在本發明另一實施例中,此無線載波訊號可更包括一編碼資訊,且同步處理單元52除了處理無線訊號收發模組30的判斷結果(即是否存在佔用訊號)之外,更包括判斷當存在佔用訊號時,此佔用訊號是否具有前述的編碼資訊,當編碼資訊符合時,方可繼續啟動光源12進行拍攝。藉此可排除不具有相同編碼資訊的深度相機加入到具有此編碼資訊的深度相機群組中進行拍攝,以避免不必要的干擾狀況發生。In an embodiment of the invention, the occupancy signal is a wireless carrier signal having a specified frequency. In another embodiment of the present invention, the wireless carrier signal may further include an encoding information, and the synchronization processing unit 52 not only processes the determination result of the wireless signal transceiver module 30 (ie, whether there is an occupation signal), but also includes determining whether When there is an occupied signal, whether the occupied signal has the aforementioned encoded information, and when the encoded information is met, the light source 12 can continue to be activated for shooting. In this way, a depth camera that does not have the same coding information can be excluded from being captured in a depth camera group having this coded information to avoid unnecessary interference conditions.

綜合以上所述,本發明一實施例所介紹的深度相機驅動裝置及控制方法,藉由發射無線載波訊號佔用無線電頻道並配合抑制時段的設計,可避免同一時間有一台以上的ToF深度相機進行拍攝,造成測距所用的光源互相干擾,影響距離測量準確度。另外,對於新加入的深度相機而言,僅需調整使佔用訊號的發射頻率與其他深度相機所用的佔用訊號頻率相符,便可直接加入原有的拍攝群組當中,而無需額外的限制。而本發明一實施例採用無線載波訊號的偵測與發送作為協調機制,更可以減少額外布置線材所帶來的不便,使得多台深度相機的協同拍攝更加順利。In summary, the depth camera driving device and the control method according to an embodiment of the present invention can avoid the presence of more than one ToF depth camera at the same time by transmitting a wireless carrier signal occupying a radio channel and matching the suppression period. The light sources used for ranging are mutually interfered, which affects the accuracy of distance measurement. In addition, for the newly added depth camera, only the adjustment of the emission frequency of the occupied signal and the occupied signal frequency used by other depth cameras can be directly added to the original shooting group without additional restrictions. In an embodiment of the present invention, the detection and transmission of the wireless carrier signal is used as a coordination mechanism, which can reduce the inconvenience caused by additionally arranging the wires, and the coordinated shooting of the multiple depth cameras is smoother.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。Although the present invention has been disclosed above in the foregoing embodiments, it is not intended to limit the invention. It is within the scope of the invention to be modified and modified without departing from the spirit and scope of the invention. Please refer to the attached patent application for the scope of protection defined by the present invention.

1‧‧‧深度相機驅動裝置1‧‧‧Deep camera drive

10‧‧‧光源驅動電路10‧‧‧Light source drive circuit

12‧‧‧光源12‧‧‧Light source

30‧‧‧無線訊號收發模組30‧‧‧Wireless Signal Transceiver Module

32‧‧‧天線32‧‧‧Antenna

50‧‧‧運算模組50‧‧‧ Computing Module

52‧‧‧同步處理單元52‧‧‧Synchronous processing unit

54‧‧‧深度相機感測單元54‧‧‧Deep camera sensing unit

56‧‧‧中央處理器56‧‧‧Central Processing Unit

58‧‧‧相機其他部件模組58‧‧‧Other components of the camera module

S1-S7‧‧‧步驟S1-S7‧‧‧ steps

圖1係依據本發明一實施例所繪示的具有深度相機驅動裝置的相機的功能方塊示意圖。 圖2係依據本發明一實施例所繪示的深度相機控制方法的流程圖。FIG. 1 is a functional block diagram of a camera with a depth camera driving device according to an embodiment of the invention. 2 is a flow chart of a depth camera control method according to an embodiment of the invention.

Claims (9)

一種深度相機的控制方法,包括:以一無線訊號收發模組偵測一無線頻道中是否存在一佔用訊號並據以產生一頻道佔用結果;以一運算模組依據該頻道佔用結果選擇性地產生該佔用訊號,其中在該無線頻道中不存在該佔用訊號且該運算模組接獲呈一工作狀態之一取像訊號時,該運算模組產生該佔用訊號;在該運算模組產生該佔用訊號時,以該運算模組致能一光源驅動電路並接收一相機其他部件模組所取得之一影像;以及在該運算模組取得該影像之後,以該運算模組選擇性地中止產生該佔用訊號,禁能該光源驅動電路並停止接收該影像。 A method for controlling a depth camera includes: detecting, by a wireless signal transceiver module, whether an occupied signal exists in a wireless channel and generating a channel occupancy result; and selectively generating the result according to the channel occupancy result by an operation module The operation signal generates the occupation signal when the operation module does not have the occupation signal and the operation module receives the image capture signal in a working state; the operation module generates the occupation signal In the signal, the operation module enables a light source driving circuit and receives an image obtained by another camera module of the camera; and after the computing module acquires the image, the operation module selectively suspends the generation of the image The signal is occupied, the light source driving circuit is disabled and the image is stopped. 如請求項1所述的深度相機的控制方法,以該運算模組依據該頻道佔用結果選擇性地產生該佔用訊號更包括:在該無線頻道中不存在該佔用訊號且該運算模組接獲呈一休止狀態之一取像訊號時,該運算模組中止產生該佔用訊號,藉此釋放該無線頻道。 The control method of the depth camera according to claim 1, wherein the operating module selectively generates the occupied signal according to the channel occupancy result further includes: the occupied signal does not exist in the wireless channel, and the computing module receives When the image capture signal is in one of the rest states, the operation module stops generating the occupation signal, thereby releasing the wireless channel. 如請求項1所述的深度相機的控制方法,在該運算模組中止產生該佔用訊號之後,更包括:在經過一抑制時段之後,重新以該無線訊號收發模組偵測該無線頻道中是否存在該佔用訊號。 The control method of the depth camera according to claim 1, after the operation module stops generating the occupation signal, the method further includes: after the suppression period, re-detecting whether the wireless channel is detected by the wireless signal transceiver module The occupancy signal exists. 如請求項3所述的深度相機的控制方法,其中,該抑制時段為一固定的時間長度或是複數個彼此相異的時間長度中之隨機擇一。 The method of controlling a depth camera according to claim 3, wherein the suppression period is a fixed time length or a random one of a plurality of mutually different time lengths. 如請求項1所述的深度相機的控制方法,其中,該佔用訊號係為包括一編碼資訊之具有指定頻率的無線載波訊號;該以一運算模組依 據該頻道佔用結果選擇性地產生該佔用訊號之步驟更包括:判斷該無線頻道當前之佔用訊號之編碼資訊是否與前一個佔用訊號之編碼資訊相同,如果相同,則該運算模組維持當前佔用訊號。 The method of controlling a depth camera according to claim 1, wherein the occupancy signal is a wireless carrier signal having a specified frequency including a coded information; The step of selectively generating the occupied signal according to the channel occupancy result further includes: determining whether the coded information of the current occupied signal of the wireless channel is the same as the coded information of the previous occupied signal, and if the same, the operation module maintains the current occupation Signal. 一種深度相機驅動裝置,包括:一光源驅動電路,用於電性連接至一光源,且用於在接收一致能指令時驅動該光源;一無線訊號收發模組,用於電性連接至一天線以供偵測一無線頻道中是否具有一佔用訊號,或供產生該佔用訊號以透過該天線發送至該無線頻道;以及一運算模組,電性連接該光源驅動電路及該無線訊號收發模組,該運算模組用於電性連接一相機其他部件模組,且用於在該無線頻道中不存在該佔用訊號時,選擇性地控制該無線訊號收發模組產生該佔用訊號,且同時產生該致能指令並接收該相機其他部件模組所取得之一影像。 A depth camera driving device includes: a light source driving circuit for electrically connecting to a light source, and for driving the light source when receiving a uniform energy command; a wireless signal transceiver module for electrically connecting to an antenna For detecting whether a wireless channel has an occupied signal, or for generating the occupied signal for transmitting to the wireless channel through the antenna; and an operation module electrically connecting the light source driving circuit and the wireless signal transceiver module The computing module is configured to electrically connect to another component module of the camera, and is configured to selectively control the wireless signal transceiver module to generate the occupied signal when the occupied signal is not present in the wireless channel, and simultaneously generate the The enable command and receive an image obtained by the other component modules of the camera. 如請求項6所述的深度相機驅動裝置,其中該運算模組包括:一同步處理單元,電性連接該光源驅動電路及該無線訊號收發模組,該同步處理單元用於在該無線頻道中不存在該佔用訊號且接獲呈一工作狀態之一取像訊號時,控制該無線訊號收發模組產生該佔用訊號,並產生該致能指令;一深度相機感測單元,電性連接該同步處理單元,且用於電性連接該相機其他部件模組,該深度相機感測單元選擇性地產生該取像訊號,且用於接收該相機其他部件模組所取得的該影像;以及 一中央處理器,電性連接該同步處理單元及該深度相機感測單元,用於接收及處理該深度相機感測單元獲取的影像,其中該同步處理單元決定影像接收的時機。 The depth camera driving device of claim 6, wherein the computing module comprises: a synchronization processing unit electrically connected to the light source driving circuit and the wireless signal transceiver module, wherein the synchronization processing unit is used in the wireless channel Controlling the wireless signal transceiver module to generate the occupancy signal and generating the enable command when the occupation signal is not present and receiving an image capture signal in a working state; a depth camera sensing unit electrically connecting the synchronization a processing unit, and configured to electrically connect the other component modules of the camera, the depth camera sensing unit selectively generating the image capturing signal, and receiving the image obtained by the other component modules of the camera; A central processing unit is electrically connected to the synchronization processing unit and the depth camera sensing unit for receiving and processing images acquired by the depth camera sensing unit, wherein the synchronization processing unit determines an opportunity for image reception. 如請求項7所述的深度相機驅動裝置,其中,該同步處理單元用於在該無線頻道中不存在該佔用訊號、且接獲呈一休止狀態之一取像訊號時,中止產生該佔用訊號,藉此釋放該無線頻道。 The depth camera driving device of claim 7, wherein the synchronization processing unit is configured to suspend the generation of the occupation signal when the occupation signal is not present in the wireless channel and the image capture signal is received in a pause state. Thereby releasing the wireless channel. 如請求項7所述的深度相機驅動裝置,其中,該佔用訊號係為包括一編碼資訊之具有指定頻率的無線載波訊號;該同步處理單元用於判斷該無線頻道當前之佔用訊號之編碼資訊是否與前一個佔用訊號之編碼資訊相同,如果相同,則維持當前佔用訊號。The depth camera driving device of claim 7, wherein the occupancy signal is a wireless carrier signal having a specified frequency including a coded information; the synchronization processing unit is configured to determine whether the coded information of the current occupied signal of the wireless channel is Same as the coded information of the previous occupied signal. If they are the same, the current occupied signal is maintained.
TW106146355A 2017-12-29 2017-12-29 Control method and driver device of depth camera TWI646855B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106146355A TWI646855B (en) 2017-12-29 2017-12-29 Control method and driver device of depth camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106146355A TWI646855B (en) 2017-12-29 2017-12-29 Control method and driver device of depth camera

Publications (2)

Publication Number Publication Date
TWI646855B true TWI646855B (en) 2019-01-01
TW201931927A TW201931927A (en) 2019-08-01

Family

ID=65804060

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106146355A TWI646855B (en) 2017-12-29 2017-12-29 Control method and driver device of depth camera

Country Status (1)

Country Link
TW (1) TWI646855B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013127973A1 (en) * 2012-03-01 2013-09-06 Iee International Electronics & Engineering S.A. Intersystem interference avoidance
WO2016191097A1 (en) * 2015-05-27 2016-12-01 Microsoft Technology Licensing, Llc Reduction in camera to camera interference in depth measurements using spread spectrum
WO2017160567A1 (en) * 2016-03-16 2017-09-21 Microsoft Technology Licensing, Llc Synchronizing active illumination cameras

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013127973A1 (en) * 2012-03-01 2013-09-06 Iee International Electronics & Engineering S.A. Intersystem interference avoidance
WO2016191097A1 (en) * 2015-05-27 2016-12-01 Microsoft Technology Licensing, Llc Reduction in camera to camera interference in depth measurements using spread spectrum
WO2017160567A1 (en) * 2016-03-16 2017-09-21 Microsoft Technology Licensing, Llc Synchronizing active illumination cameras

Also Published As

Publication number Publication date
TW201931927A (en) 2019-08-01

Similar Documents

Publication Publication Date Title
JP6644694B2 (en) Apparatus and method for extracting depth information
JP6228547B2 (en) TOF illumination system, TOF camera having control means for driving electronic device located in scene, and operation method
EP3098625A1 (en) Radar device and interference prevention method
CN107431747B (en) Image pickup apparatus
KR101565451B1 (en) Synchronous light pen electronic whiteboard system
WO2019087958A1 (en) Information processing device, information processing method, and program
US20220114743A1 (en) Image processing method and apparatus, and computer-readable non-transitory storage medium
CN104994414B (en) For controlling light calibration method, remote control and intelligent television
US20170196442A1 (en) Capsule endoscope system
JP2009289243A (en) Position detection device, position detection system, video display device and video display system
TW201347813A (en) System and method for detecting a shot direction of a light gun
US10447064B2 (en) Wireless charging system and wireless charging method
TWI646855B (en) Control method and driver device of depth camera
EP2976693B1 (en) Projector and control method
JP2010217093A (en) Positioning system
CN109996057B (en) Control method and driving device of depth camera
JP2007303913A (en) Foreign matter detecting device, robot device using the same, foreign matter detection method, and foreign matter detection program
CN108965712B (en) Space positioning system and synchronization method and device thereof
JP2022535521A (en) Electronic device control method and electronic device
JP2011188378A (en) Node device and position detection system
CN106797436B (en) Remote control execution device, method and system
JP4037822B2 (en) Electronic pen position detection method / electronic pen / projector / electronic blackboard system
JP6532025B2 (en) Radar apparatus and interference prevention method
JP6349650B2 (en) Camera and communication device
JP2011158712A (en) Image pickup apparatus, light emitting apparatus, and camera system