[go: up one dir, main page]

TWI702805B - System and method for guiding a machine capable of autonomous movement - Google Patents

System and method for guiding a machine capable of autonomous movement Download PDF

Info

Publication number
TWI702805B
TWI702805B TW108116064A TW108116064A TWI702805B TW I702805 B TWI702805 B TW I702805B TW 108116064 A TW108116064 A TW 108116064A TW 108116064 A TW108116064 A TW 108116064A TW I702805 B TWI702805 B TW I702805B
Authority
TW
Taiwan
Prior art keywords
light source
communication device
optical communication
machine
image
Prior art date
Application number
TW108116064A
Other languages
Chinese (zh)
Other versions
TW201947893A (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 大陸商北京外號信息技術有限公司
Publication of TW201947893A publication Critical patent/TW201947893A/en
Application granted granted Critical
Publication of TWI702805B publication Critical patent/TWI702805B/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0221Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving a learning process
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0223Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving speed control of the vehicle
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0231Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means
    • G05D1/0246Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using a video camera in combination with image processing means
    • G05D1/0251Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using a video camera in combination with image processing means extracting 3D information from a plurality of images taken from different locations, e.g. stereo vision
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0259Control of position or course in two dimensions specially adapted to land vehicles using magnetic or electromagnetic means
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0276Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle
    • G05D1/0278Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle using satellite positioning signals, e.g. GPS
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0276Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle
    • G05D1/0285Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle using signals transmitted via a public communication network, e.g. GSM network
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Automation & Control Theory (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Electromagnetism (AREA)
  • Toxicology (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Optical Communication System (AREA)

Abstract

一種對能夠自主移動的機器進行導引的系統,包括:能夠自主移動的機器,其上安裝有滾動快門攝像頭;以及光通信裝置,其包括光源,所述光源被配置為能夠工作於至少兩種模式,所述至少兩種模式包括第一模式和第二模式,以及其中,在所述第一模式下,通過具有第一頻率的光源控制信號控制所述光源發出的光的屬性以第一頻率持續變化,以在通過所述滾動快門攝像頭對所述光源拍攝時所獲得的所述光源的圖像上呈現出條紋,在所述第二模式下,在通過所述滾動快門攝像頭對所述光源拍攝時所獲得的所述光源的圖像上不呈現條紋或者呈現出與所述第一模式下的條紋不同的條紋。A system for guiding a machine that can move autonomously, including: a machine that can move autonomously, on which a rolling shutter camera is installed; and an optical communication device, which includes a light source configured to work in at least two types Mode, the at least two modes include a first mode and a second mode, and wherein, in the first mode, the property of the light emitted by the light source is controlled at the first frequency by a light source control signal having a first frequency Continuously changing to present stripes on the image of the light source obtained when the light source is photographed by the rolling shutter camera. In the second mode, the light source is exposed to the light source by the rolling shutter camera. The image of the light source obtained during shooting does not exhibit stripes or exhibits stripes different from the stripes in the first mode.

Description

對能夠自主移動的機器進行導引的系統和方法System and method for guiding a machine capable of autonomous movement

本發明涉及對能夠自主移動的機器的導引,更具體地涉及一種通過光通信裝置對能夠自主移動的機器進行導引的系統和方法。 The present invention relates to the guidance of a machine that can move autonomously, and more specifically to a system and method for guiding a machine that can move autonomously through an optical communication device.

對於能夠自主移動的機器(例如,無人機)的導引,目前通常是通過GPS、IMU等技術來實現,但這些技術的定位精度有限。例如,GPS通常會有若干米甚至幾十米的誤差,而且,其信號傳播會受使用環境的影響,常常會產生延時誤差。因此,當前的導航技術通常只能將無人機引導到目標位置的附近(例如,目標位置附近方圓幾十米的範圍內),但難以將無人機最終引導到一個非常精確的目標位置。 For the guidance of autonomously moving machines (for example, drones), currently, GPS, IMU and other technologies are usually implemented, but these technologies have limited positioning accuracy. For example, GPS usually has an error of several meters or even tens of meters, and its signal propagation will be affected by the environment in which it is used, often resulting in delay errors. Therefore, the current navigation technology can usually only guide the drone to the vicinity of the target location (for example, within a radius of tens of meters near the target location), but it is difficult to guide the drone to a very precise target location.

近年來,許多廠商都在考慮使用無人機來進行貨物配送。例如,在亞馬遜的一個專利US9536216B1中介紹了一種無人機貨物投遞系統,其基於GPS和高度計對無人機進行導航,並可以通過無人機的攝像頭進行遠端人工輔助導航。但上述系統無法實現無人機的精準導航。在亞馬遜公開的另一種方案中,首先通過GPS將無人機引導到目的地附近,然後,無人機會在其視野中尋找一個獨特的“標記”,該“標記”是客戶在一個良好的著陸地點放置的具有預定圖案的電子識別歡迎墊。如果找到了“標記”,無人機便會通過視覺引導來飛到標記處並放下包裹。然而,上述方式需要買家具有一個適合於收貨 的庭院,並在庭院中放置獨特的“標記”。而且,由於該“標記”本身並不能用於區分不同的買家,因此,如果目的地附近有多個買家放置的多個“標記”,無人機便無法確定要將包裹放置到哪個“標記”處。因此,上述方案對於居住在城市公寓中的人而言並不適用。 In recent years, many manufacturers have considered using drones for cargo distribution. For example, an Amazon patent US9536216B1 introduces a UAV cargo delivery system, which is based on GPS and altimeter to navigate the UAV, and can perform remote manual assisted navigation through the UAV camera. However, the above-mentioned system cannot achieve precise navigation of the drone. In another scheme disclosed by Amazon, the drone is first guided to the destination near the destination through GPS, and then the drone will look for a unique "mark" in its field of view, which is placed by the customer at a good landing site The electronic identification welcome mat with a predetermined pattern. If the "mark" is found, the drone will use visual guidance to fly to the mark and drop the package. However, the above method requires the buyer to have a In the courtyard, unique "marks" are placed in the courtyard. Moreover, since the "mark" itself cannot be used to distinguish between different buyers, if there are multiple "marks" placed by multiple buyers near the destination, the drone cannot determine which "mark" to place the package on. "Place. Therefore, the above scheme is not applicable to people living in urban apartments.

傳統的二維碼可以用來識別不同的用戶,但二維碼的識別距離很受限制。例如,對於二維碼而言,當用攝像頭對其進行掃描時,該攝像頭通常必須置於一個比較近的距離內,該距離通常只是二維碼的寬度的15倍左右。例如,對於一個寬度為20釐米的二維碼,配置有攝像頭的無人機需要行進到距離該二維碼3米左右時才能夠識別出該二維碼。因此,對於遠距離識別,二維碼不能實現,或者必須定制非常大的二維碼,但這會帶來成本的提升,並且在許多情形下由於其他各種限制(例如空間大小的限制)是不可能實現的。而且,當識別二維碼時,攝像頭需要大致正對該二維碼進行拍攝,如果偏離角度過大將導致無法進行識別。 Traditional two-dimensional codes can be used to identify different users, but the recognition distance of two-dimensional codes is very limited. For example, for a two-dimensional code, when a camera is used to scan it, the camera must usually be placed within a relatively close distance, which is usually only about 15 times the width of the two-dimensional code. For example, for a two-dimensional code with a width of 20 cm, a drone equipped with a camera needs to travel about 3 meters from the two-dimensional code to be able to recognize the two-dimensional code. Therefore, for long-distance recognition, the two-dimensional code cannot be realized, or a very large two-dimensional code must be customized, but this will increase the cost, and in many cases it is impossible due to various other restrictions (such as space limitations) Achieved. Moreover, when recognizing a two-dimensional code, the camera needs to be roughly photographing the two-dimensional code. If the deviation angle is too large, the recognition will not be possible.

CMOS成像器件是目前廣泛採用的成像器件,其如圖1所示,包括像敏單元(也稱為圖像感測器)陣列以及一些其他元件。圖像感測器陣列可以是光電二極體陣列,每一個圖像感測器對應於一個畫素。每一列圖像感測器都對應於一個列放大器,列放大器的輸出信號之後被送往A/D轉換器(ADC)進行模數轉換,然後通過介面電路輸出。對於圖像感測器陣列中的任一圖像感測器,在曝光開始時現將其清零,然後等待曝光時間過後,將信號值讀出。CMOS成像器件通常採用滾動快門成像方式。在CMOS成像器件中,資料的讀出是串列的,所以清零/曝光/讀出也只能以類似於流水線的方式逐行順序進行,並在圖像感測器陣列的所有行都處理完成後將其合成為一幀 圖像。因此,整個CMOS圖像感測器陣列實際上是逐行曝光的(在某些情況下CMOS圖像感測器陣列也可能採用每次多行一起曝光的方式),這導致了各個行之間存在小的時延。由於該小的時延,當光源以一定頻率閃動時,會在CMOS成像器件拍攝的圖像上呈現出一些不期望的條紋,影響到拍攝效果。 CMOS imaging devices are currently widely used imaging devices. As shown in FIG. 1, they include an array of image sensitive units (also called image sensors) and some other elements. The image sensor array may be a photodiode array, and each image sensor corresponds to a pixel. Each column of image sensors corresponds to a column amplifier, and the output signal of the column amplifier is then sent to the A/D converter (ADC) for analog-to-digital conversion, and then output through the interface circuit. For any image sensor in the image sensor array, it is now cleared at the beginning of the exposure, and then after the exposure time has passed, the signal value is read out. CMOS imaging devices usually use rolling shutter imaging. In CMOS imaging devices, the data readout is serial, so clearing/exposure/readout can only be carried out in a row-by-row sequence similar to a pipeline, and processed in all rows of the image sensor array Synthesize it into one frame after completion image. Therefore, the entire CMOS image sensor array is actually exposed line by line (in some cases, the CMOS image sensor array may also be exposed to multiple lines at a time), which results in the inter-line exposure. There is a small time delay. Due to this small time delay, when the light source flickers at a certain frequency, some undesirable stripes will appear on the image captured by the CMOS imaging device, which affects the shooting effect.

人們已經發現了理論上可以利用CMOS成像器件拍攝的圖像上的條紋來傳遞資訊(類似於條碼那樣),並試圖通過條紋來傳遞盡可能多的資訊,但是這通常需要使得CMOS成像器件與光源儘量接近,並最好始終處於大致固定的距離處,並且還需要精細的時間同步、對各個條紋的邊界的精確識別、對各個條紋的寬度的精確檢測等等,因此,在實踐中其穩定性和可靠性並不令人滿意,也未獲得廣泛使用。而且,這種方式顯然也不適用於由行進中的無人機來進行遠距離識別。 People have found that in theory, the stripes on the image taken by the CMOS imaging device can be used to transmit information (similar to a barcode), and try to transmit as much information as possible through the stripes, but this usually requires the CMOS imaging device and the light source Try to be as close as possible, and preferably always at a roughly fixed distance, and also requires fine time synchronization, accurate identification of the boundaries of each stripe, accurate detection of the width of each stripe, etc. Therefore, its stability in practice And reliability is not satisfactory, nor has it been widely used. Moreover, this method is obviously not suitable for long-distance recognition by a traveling drone.

本發明的一個方面涉及一種對能夠自主移動的機器進行導引的系統,包括:能夠自主移動的機器,其上安裝有滾動快門攝像頭;以及光通信裝置,其包括光源,所述光源被配置為能夠工作於至少兩種模式,所述至少兩種模式包括第一模式和第二模式,以及其中,在所述第一模式下,通過具有第一頻率的光源控制信號控制所述光源發出的光的屬性以第一頻率持續變化,以在通過所述滾動快門攝像頭對所述光源拍攝時所獲得的所述光源的圖像上呈現出條紋,在所述第二模式下,在通過所述滾動快門攝像頭對所述光源拍攝時所獲得的 所述光源的圖像上不呈現條紋或者呈現出與所述第一模式下的條紋不同的條紋。 One aspect of the present invention relates to a system for guiding a machine that can move autonomously, including: a machine that can move autonomously on which a rolling shutter camera is mounted; and an optical communication device that includes a light source configured to It can work in at least two modes, the at least two modes including a first mode and a second mode, and wherein, in the first mode, the light emitted by the light source is controlled by a light source control signal having a first frequency The attribute of the light source continuously changes at the first frequency, so that stripes appear on the image of the light source obtained when the light source is photographed by the rolling shutter camera, and in the second mode, the light source When the shutter camera shoots the light source The image of the light source does not exhibit stripes or exhibits stripes that are different from the stripes in the first mode.

優選地,所述第一模式和所述第二模式用於傳遞不同的資訊。 Preferably, the first mode and the second mode are used to convey different information.

優選地,在所述第二模式下,通過具有與所述第一頻率不同的第二頻率的光源控制信號控制所述光源發出的光的屬性以第二頻率持續變化,以在通過所述滾動快門攝像頭對所述光源拍攝時所獲得的所述光源的圖像上不呈現條紋或者呈現出與所述第一模式下的條紋不同的條紋。 Preferably, in the second mode, the attribute of the light emitted by the light source is controlled to continuously change at the second frequency by a light source control signal having a second frequency different from the first frequency, so as to continuously change through the scroll The image of the light source obtained when the shutter camera shoots the light source does not present stripes or presents stripes different from the stripes in the first mode.

優選地,所述第二頻率大於所述第一頻率。 Preferably, the second frequency is greater than the first frequency.

優選地,在所述第二模式下,所述光源發出的光的屬性以所述第一頻率持續變化,並在通過所述滾動快門攝像頭對所述光源拍攝時所獲得的所述光源的圖像上呈現出與所述第一模式下的條紋不同的條紋。 Preferably, in the second mode, the attribute of the light emitted by the light source continuously changes at the first frequency, and the image of the light source obtained when the light source is photographed by the rolling shutter camera The image shows stripes different from the stripes in the first mode.

本發明的另一個方面涉及一種使用上述系統對能夠自主移動的機器進行導引的方法,包括:通過所述能夠自主移動的機器上安裝的滾動快門攝像頭對周圍的某個光通信裝置傳遞的資訊進行採集,並識別所傳遞的資訊;基於所傳遞的資訊判斷所述光通信裝置是否是目標光通信裝置;以及如果所述光通信裝置是目標光通信裝置,則控制所述能夠自主移動的機器或者其部分向所述光通信裝置行進。 Another aspect of the present invention relates to a method for guiding a machine capable of autonomous movement using the above-mentioned system, which includes: transmitting information to a surrounding optical communication device through a rolling shutter camera installed on the machine capable of autonomous movement Collect and identify the transmitted information; determine whether the optical communication device is a target optical communication device based on the transmitted information; and if the optical communication device is a target optical communication device, control the autonomously movable machine Or part of it travels toward the optical communication device.

優選地,上述方法還包括:如果所述光通信裝置不是目標光通信裝置,則:基於該光通信裝置傳遞的資訊識別該光通信裝置,並獲得該光通信裝置與所述目標光通信裝置之間的相對位置關係; 確定所述能夠自主移動的機器或者其部分與該光通信裝置之間的相對位置關係;確定所述目標光通信裝置與所述能夠自主移動的機器或者其部分之間的相對位置關係;以及至少部分地基於所述目標光通信裝置與所述能夠自主移動的機器或者其部分之間的相對位置關係將所述能夠自主移動的機器或者其部分引導向所述目標光通信裝置。 Preferably, the above method further includes: if the optical communication device is not a target optical communication device, identifying the optical communication device based on the information transmitted by the optical communication device, and obtaining the difference between the optical communication device and the target optical communication device The relative position relationship between; Determine the relative positional relationship between the autonomously movable machine or its part and the optical communication device; determine the relative positional relationship between the target optical communication device and the autonomously movable machine or its part; and at least The autonomously movable machine or its part is guided to the target optical communication device based in part on the relative positional relationship between the target optical communication device and the autonomously movable machine or its part.

優選地,其中,確定所述能夠自主移動的機器或者其部分與該光通信裝置之間的相對位置關係包括:通過相對定位來確定所述能夠自主移動的機器或者其部分與該光通信裝置之間的相對位置關係。 Preferably, wherein determining the relative positional relationship between the autonomously movable machine or its part and the optical communication device includes: determining the relationship between the autonomously movable machine or its part and the optical communication device through relative positioning. The relative position relationship between.

優選地,其中,通過所述能夠自主移動的機器上安裝的滾動快門攝像頭對周圍的某個光通信裝置傳遞的資訊進行採集並識別所傳遞的資訊包括:通過所述滾動快門攝像頭獲得所述光通信裝置的連續的多幀圖像;針對每一幀圖像,判斷所述圖像上與所述光源的位置對應的部分是否存在條紋或者存在哪種類型的條紋;以及確定每一幀圖像所表示的資訊。 Preferably, wherein, collecting and recognizing the information transmitted by a surrounding optical communication device through a rolling shutter camera installed on the machine capable of moving autonomously includes: obtaining the light through the rolling shutter camera. Continuous multi-frame images of the communication device; for each frame of image, determine whether there are stripes on the portion of the image corresponding to the position of the light source or what type of stripes exist; and determine each frame of image The information represented.

優選地,上述方法還包括:首先控制所述能夠自主移動的機器行進到目標光通信裝置附近。 Preferably, the above method further includes: first controlling the autonomously movable machine to travel near the target optical communication device.

優選地,其中,首先控制所述能夠自主移動的機器行進到目標光通信裝置附近包括:至少部分地通過衛星導航系統將所述能夠自主移動的機器引導到所述目標光通信裝置附近;和/或,至少部分地利用其他光通信裝置與所述目標光通信裝置之間的相對位置關係將所述能夠自主移動的機器引導到所述目標光通信裝置附近。 Preferably, wherein, first controlling the autonomously movable machine to travel near the target optical communication device includes: guiding the autonomously movable machine to the vicinity of the target optical communication device at least in part through a satellite navigation system; and/ Or, at least partially utilize the relative positional relationship between the other optical communication device and the target optical communication device to guide the autonomously movable machine to the vicinity of the target optical communication device.

優選地,其中,至少部分地利用其他光通信裝置與所述目標光通信裝置之間的相對位置關係將所述能夠自主移動的機器引導到所述目標光通信裝置附近包括:所述能夠自主移動的機器在行進時識別其他光通信裝置,並獲得該其他光通信裝置與所述目標光通信裝置之間的相對位置關係;確定所述能夠自主移動的機器與該其他光通信裝置之間的相對位置關係;確定所述目標光通信裝置與所述能夠自主移動的機器之間的相對位置關係;以及至少部分地基於所述目標光通信裝置與所述能夠自主移動的機器之間的相對位置關係將所述能夠自主移動的機器引導到所述目標光通信裝置附近。 Preferably, wherein, at least partially using the relative position relationship between the other optical communication device and the target optical communication device to guide the autonomously movable machine to the vicinity of the target optical communication device includes: the autonomously movable device The machine recognizes other optical communication devices while traveling, and obtains the relative positional relationship between the other optical communication device and the target optical communication device; determines the relative position between the autonomously movable machine and the other optical communication device Positional relationship; determining the relative positional relationship between the target optical communication device and the autonomously movable machine; and based at least in part on the relative positional relationship between the target optical communication device and the autonomously movable machine The machine capable of autonomous movement is guided to the vicinity of the target optical communication device.

優選地,其中,基於所傳遞的資訊判斷所述光通信裝置是否是目標光通信裝置包括:判斷所傳遞的資訊中是否顯式地或隱式地包含預定資訊。 Preferably, wherein, determining whether the optical communication device is a target optical communication device based on the transmitted information includes: determining whether the transmitted information explicitly or implicitly includes predetermined information.

優選地,其中,所述預定資訊是預定的識別字或驗證碼。 Preferably, wherein the predetermined information is a predetermined identification word or verification code.

優選地,其中,基於所傳遞的資訊判斷所述光通信裝置是否是目標光通信裝置包括:由所述能夠自主移動的機器判斷所述光通信裝置是否是目標光通信裝置;或者,所述能夠自主移動的機器將所傳遞的資訊傳送到伺服器,由所述伺服器基於所傳遞的資訊判斷所述光通信裝置是否是目標光通信裝置,並將判斷結果發送給所述能夠自主移動的機器。 Preferably, wherein, determining whether the optical communication device is a target optical communication device based on the transmitted information includes: judging by the machine capable of autonomous movement whether the optical communication device is a target optical communication device; or, the capable The autonomously moving machine sends the delivered information to the server, and the server determines whether the optical communication device is a target optical communication device based on the delivered information, and sends the determination result to the autonomously movable machine .

本發明的另一個方面涉及一種能夠自主移動的機器,包括滾動快門攝像頭、處理器和記憶體,所述記憶體中儲存有電腦程式,所述電腦程式在被所述處理器執行時能夠用於實現上述的方法。 Another aspect of the present invention relates to a machine capable of autonomous movement, including a rolling shutter camera, a processor, and a memory. The memory stores a computer program that can be used when executed by the processor Implement the above method.

本發明的另一個方面涉及一種儲存介質,其中儲存有電腦程式,所述電腦程式在被執行時能夠用於實現上述的方法。 Another aspect of the present invention relates to a storage medium in which a computer program is stored, and the computer program can be used to implement the above method when executed.

以下參照附圖對本發明的實施例作進一步說明,其中:圖1為CMOS成像器件的示意圖;圖2為CMOS成像器件獲取圖像的方向圖;圖3為根據本發明的一個實施例的光源;圖4為根據本發明的另一個實施例的光源;圖5為CMOS成像器件的成像時序圖;圖6為CMOS成像器件的另一成像時序圖;圖7示出了當光源工作於第一模式時在不同階段在CMOS成像器件上的成像圖;圖8示出了根據本發明的一個實施例當光源工作於第一模式時CMOS成像器件的成像時序圖;圖9示出了根據本發明的一個實施例當光源工作於第二模式時CMOS成像器件的成像時序圖;圖10示出了根據本發明的另一個實施例當光源工作於第一模式時CMOS成像器件的成像時序圖; 圖11示出了根據本發明的另一個實施例的用於實現與圖8不同的條紋的CMOS成像器件的成像時序圖;圖12-13示出了在不同設置下獲得的光源的兩種有條紋圖像;圖14示出了獲得的光源的一種無條紋圖像;圖15是根據本發明的一個實施例的採用三個獨立光源的光標籤的一個成像圖;圖16是根據本發明的一個實施例的包括定位標識的光標籤的一個成像圖;圖17示出了根據本發明的一個實施例的包括了一個參考光源和兩個資料光源的光標籤;圖18示出了針對圖17所示的光標籤的CMOS成像器件的一個成像時序圖;以及圖19示出了根據本發明的一個實施例的通過光標籤進行無人機導引的方法。 The embodiments of the present invention will be further described below with reference to the accompanying drawings, in which: FIG. 1 is a schematic diagram of a CMOS imaging device; FIG. 2 is a direction diagram of the CMOS imaging device to acquire images; FIG. 3 is a light source according to an embodiment of the present invention; 4 is a light source according to another embodiment of the present invention; FIG. 5 is an imaging timing diagram of a CMOS imaging device; FIG. 6 is another imaging timing diagram of a CMOS imaging device; FIG. 7 shows when the light source works in the first mode Fig. 8 shows the imaging timing chart of the CMOS imaging device when the light source is working in the first mode according to an embodiment of the present invention; Fig. 9 shows the imaging diagram of the CMOS imaging device at different stages; An imaging timing diagram of the CMOS imaging device when the light source is working in the second mode in one embodiment; FIG. 10 shows an imaging timing diagram of the CMOS imaging device when the light source is working in the first mode according to another embodiment of the present invention; FIG. 11 shows an imaging timing diagram of a CMOS imaging device for implementing different fringes from FIG. 8 according to another embodiment of the present invention; FIGS. 12-13 show two types of light sources obtained under different settings. Fringe image; Figure 14 shows a fringe-free image of the obtained light source; Figure 15 is an imaging diagram of a light label using three independent light sources according to an embodiment of the present invention; Figure 16 is an image according to the present invention An imaging diagram of an optical label including a positioning mark according to an embodiment; FIG. 17 shows an optical label including a reference light source and two data light sources according to an embodiment of the present invention; An imaging timing diagram of the CMOS imaging device of the optical tag is shown; and FIG. 19 shows a method for guiding the drone through the optical tag according to an embodiment of the present invention.

為了使本發明的目的、技術方案及優點更加清楚明白,以下結合附圖通過具體實施例對本發明進行進一步詳細說明。 In order to make the objectives, technical solutions, and advantages of the present invention clearer, the following further describes the present invention in detail through specific embodiments with reference to the accompanying drawings.

本發明的一個實施例涉及一種光通信裝置,其能夠通過發出不同的光來傳輸不同的資訊。該光通信裝置在本文中也被稱為“光標籤”,兩者在整個本申請中可以互換使用。光通信裝置包括光源和控制器,該控制器能夠通過光源控制信號來控制所述光源工作於兩個或更多個模式,所述兩個或更多個模式包括第一模式和第二模式,其中,在所述第一模式下,光源控制信號具有第一頻率,使得所述光源發出的光的屬性以第一頻率持續變化,以傳遞 第一資訊,在所述第二模式下,所述光源發出的光的屬性以第二頻率持續變化或者不發生改變,以傳遞與第一資訊不同的第二資訊。 An embodiment of the present invention relates to an optical communication device that can transmit different information by emitting different lights. The optical communication device is also referred to as an "optical tag" in this text, and the two can be used interchangeably throughout this application. The optical communication device includes a light source and a controller, and the controller can control the light source to operate in two or more modes through a light source control signal, the two or more modes including a first mode and a second mode, Wherein, in the first mode, the light source control signal has a first frequency, so that the properties of the light emitted by the light source continuously change at the first frequency to transmit The first information, in the second mode, the attribute of the light emitted by the light source changes continuously or does not change at the second frequency, so as to transmit the second information different from the first information.

光的屬性在本申請中指的是CMOS成像器件能夠識別的任何一種屬性,例如其可以是光的強度、顏色、波長等人眼可感知的屬性,也可以是人眼不可感知的其他屬性,例如在人眼可見範圍外的電磁波長的強度、顏色或波長改變,或者是上述屬性的任一組合。因此,光的屬性變化可以是單個屬性發生變化,也可以是兩個或更多個屬性的組合發生變化。當選擇光的強度作為屬性時,可以簡單地通過選擇開啟或關閉光源實現。在下文中為了簡單起見,以開啟或關閉光源來改變光的屬性,但本領域技術人員可以理解,用於改變光的屬性的其他方式也是可行的。需要說明的是,在上述第一模式中以第一頻率變化的光的屬性可以與在上述第二模式中以第二頻率變化的光的屬性相同或不相同。優選地,在所述第一模式和第二模式中發生變化的光的屬性是相同的。 The attribute of light in this application refers to any attribute that can be recognized by a CMOS imaging device. For example, it can be an attribute that is perceivable by the human eye such as the intensity, color, and wavelength of light, or it can be other attributes that are not perceivable by the human eye, such as Changes in the intensity, color, or wavelength of electromagnetic wavelengths outside the visible range of the human eye, or any combination of the above attributes. Therefore, the attribute change of light can be a single attribute change, or a combination of two or more attributes. When choosing the intensity of light as the attribute, it can be achieved simply by choosing to turn on or off the light source. In the following, for the sake of simplicity, the light source is turned on or off to change the properties of light, but those skilled in the art will understand that other methods for changing the properties of light are also feasible. It should be noted that the attribute of the light that changes at the first frequency in the first mode may be the same or different from the attribute of the light that changes at the second frequency in the second mode. Preferably, the properties of the light changed in the first mode and the second mode are the same.

當光源以第一模式或第二模式工作時,可以使用滾動快門成像設備(例如CMOS成像器件或者具有CMOS成像器件的設備(例如手機、平板電腦、智慧眼鏡等))對光源進行成像,也即,通過滾動快門的方式進行成像。在下文中以手機作為CMOS成像器件為例進行說明,如圖2所示。該手機的行掃描方向在圖2中示出為垂直方向,但本領域技術人員可以理解,依據底層硬體設定的不同,行掃描方向也可以是水準方向。 When the light source works in the first mode or the second mode, a rolling shutter imaging device (such as a CMOS imaging device or a device with a CMOS imaging device (such as a mobile phone, a tablet computer, smart glasses, etc.)) can be used to image the light source, that is , Perform imaging by rolling shutter. In the following, a mobile phone is used as an example of a CMOS imaging device, as shown in Figure 2. The line scan direction of the mobile phone is shown as the vertical direction in FIG. 2, but those skilled in the art can understand that the line scan direction may also be the horizontal direction depending on the setting of the underlying hardware.

光源可以是各種形式的光源,只要其某一可被CMOS成像器件感知的屬性能夠以不同頻率進行變化即可。例如,該光源可以是一個LED燈、由多個LED燈構成的陣列、顯示幕幕或者其中的一部分,甚至光的照射 區域(例如光在牆壁上的照射區域)也可以作為光源。該光源的形狀可以是各種形狀,例如圓形、正方形、矩形、條狀、L狀、十字狀、球狀等。光源中可以包括各種常見的光學器件,例如導光板、柔光板、漫射器等。在一個優選實施例中,光源可以是由多個LED燈構成的二維陣列,該二維陣列的一個維度長於另外一個維度,優選地,兩者之間的比例約為6-12:1。例如,該LED燈陣列可以由排成一列的多個LED燈構成。在發光時,該LED燈陣列可以呈現為一個大致為長方形的光源,並由控制器控制該光源的操作。 The light source can be a light source of various forms, as long as one of its properties that can be sensed by the CMOS imaging device can be changed at different frequencies. For example, the light source can be an LED light, an array composed of multiple LED lights, a display screen or a part of it, or even light irradiation Areas (such as areas where light is irradiated on a wall) can also be used as light sources. The shape of the light source can be various shapes, such as circular, square, rectangular, striped, L-shaped, cross-shaped, spherical, and the like. The light source can include various common optical devices, such as light guide plates, diffusers, diffusers, and so on. In a preferred embodiment, the light source may be a two-dimensional array composed of a plurality of LED lights, and one dimension of the two-dimensional array is longer than the other. Preferably, the ratio between the two is about 6-12:1. For example, the LED lamp array may be composed of a plurality of LED lamps arranged in a row. When emitting light, the LED lamp array can appear as a roughly rectangular light source, and the controller controls the operation of the light source.

圖3示出了根據本發明的一個實施例的光源。在使用CMOS成像器件對圖3所示的光源進行成像時,優選地使圖3所示的光源的長邊與CMOS成像器件的行方向(例如,圖2所示的手機的行掃描方向)垂直或大致垂直,以在其他條件相同的情況下成像出儘量多的條紋。然而,有時用戶並不瞭解其手機的行掃描方向,為了保證手機在各種姿態下都能夠進行識別,並且在豎屏和橫屏下都能夠達到最大的識別距離,光源可以為多個長方形的組合,例如,如圖4所示的L狀光源。 Fig. 3 shows a light source according to an embodiment of the invention. When using a CMOS imaging device to image the light source shown in FIG. 3, it is preferable to make the long side of the light source shown in FIG. 3 perpendicular to the row direction of the CMOS imaging device (for example, the row scanning direction of the mobile phone shown in FIG. 2) Or roughly vertical to image as many stripes as possible under the same other conditions. However, sometimes users do not know the line scanning direction of their mobile phones. In order to ensure that the mobile phone can be recognized in various postures, and the maximum recognition distance can be achieved in both vertical and horizontal screens, the light source can be multiple rectangular Combine, for example, an L-shaped light source as shown in FIG. 4.

在另一實施例中,光源可以不侷限於平面光源,而是可以被實現為一個立體光源,例如,一個條狀的圓柱形光源、立方體光源、等等。該光源例如可以被放置在廣場上、懸置於室內場所(例如餐廳、會議室等)的大致中心位置,從而附近的位於各個方向的用戶都可以通過手機拍攝該光源,從而獲得該光源所傳遞的資訊。 In another embodiment, the light source may not be limited to a planar light source, but may be implemented as a three-dimensional light source, for example, a bar-shaped cylindrical light source, a cube light source, and so on. For example, the light source can be placed on a square or suspended in the approximate center of an indoor place (such as a restaurant, a meeting room, etc.), so that nearby users in various directions can shoot the light source with a mobile phone to obtain the transmission of the light source. Information.

圖5示出了CMOS成像器件的成像時序圖,其中的每一行對應於CMOS成像器件的一行感測器。在CMOS成像感測器陣列的每一行進行成像 時,主要涉及兩個階段,分別為曝光時間和讀出時間。各行的曝光時間有可能發生重疊,但讀出時間不會重疊。 FIG. 5 shows an imaging timing chart of the CMOS imaging device, where each row corresponds to a row of sensors of the CMOS imaging device. Perform imaging in each row of the CMOS imaging sensor array When, it mainly involves two stages, namely exposure time and readout time. The exposure time of each line may overlap, but the readout time will not overlap.

需要說明的是,圖5中僅示意性地示出了少量的行,在實際的CMOS成像器件中,依賴於解析度的不同,通常具有上千行感測器。例如,對於1080p解析度,其具有1920×1080個畫素,數位1080表示有1080條掃描行,數位1920表示每行有1920個畫素。對於1080p解析度,每一行的讀出時間大致為8.7微秒(即,8.7×10-6秒)。 It should be noted that FIG. 5 only schematically shows a small number of lines. In actual CMOS imaging devices, depending on the difference in resolution, there are usually thousands of lines of sensors. For example, for 1080p resolution, it has 1920×1080 pixels, the digit 1080 means that there are 1080 scanning lines, and the digit 1920 means that each line has 1920 pixels. For 1080p resolution, the readout time for each line is approximately 8.7 microseconds (ie, 8.7×10 -6 seconds).

如果曝光時間過長導致相鄰行之間的曝光時間出現大量重疊,則可能在成像時呈現出明顯過渡的條紋,例如,在純黑色畫素行與純白色畫素行之間的多條具有不同灰度的畫素行。本發明期望能夠呈現出儘量清晰的畫素行,為此,可以對CMOS成像器件(例如手機)的曝光時間進行設置或調整(例如,通過手機上安裝的APP來進行設置或調整),以選擇相對較短的曝光時間。在一個優選的實施例中,可以使得曝光時間大致等於或小於每一行的讀出時間。以1080p解析度為例,其每一行的讀出時間大致為8.7微秒,在這種情況下,可以考慮將手機的曝光時間調整為大約8.7微秒或更短。圖6示出了在這種情況下的CMOS成像器件的成像時序圖。在這種情況下,每行的曝光時間基本不發生重疊,或者重疊部分較少,從而可以在成像時獲得具有比較清晰的邊界的條紋,其更容易被識別出來。需要說明的是,圖6僅僅是本發明的一個優選實施例,更長的(例如等於或小於每一行的讀出時間的兩倍、三倍或四倍等)或更短的曝光時間也是可行的。例如,在本申請的圖12和13中所示的有條紋圖像的成像過程中,每一行的讀出時間大致為8.7微秒,而所設置的每行曝光時長為14微秒。另外,為了呈現出條紋,可將光源的一個週期的 時長設置為曝光時長的兩倍左右或更長,優選地可以設置為曝光時長的四倍左右或更長。 If the exposure time is too long and the exposure time between adjacent rows overlaps a lot, it may show obvious transitional stripes during imaging. For example, multiple stripes between pure black pixel rows and pure white pixel rows have different grays. Pixel rows in degrees. The present invention expects to be able to present as clear pixel rows as possible. For this reason, the exposure time of CMOS imaging devices (such as mobile phones) can be set or adjusted (for example, through the APP installed on the mobile phone) to select the relative Short exposure time. In a preferred embodiment, the exposure time can be made approximately equal to or less than the readout time of each row. Taking 1080p resolution as an example, the readout time of each line is approximately 8.7 microseconds. In this case, you can consider adjusting the exposure time of the mobile phone to approximately 8.7 microseconds or less. FIG. 6 shows an imaging timing chart of the CMOS imaging device in this case. In this case, the exposure time of each row basically does not overlap, or the overlap portion is small, so that stripes with relatively clear boundaries can be obtained during imaging, which can be more easily recognized. It should be noted that FIG. 6 is only a preferred embodiment of the present invention, and longer (for example, equal to or less than twice, three times, or four times the readout time of each row, etc.) or shorter exposure time is also feasible of. For example, in the imaging process of the striped image shown in FIGS. 12 and 13 of the present application, the readout time of each line is approximately 8.7 microseconds, and the set exposure time of each line is 14 microseconds. In addition, in order to show stripes, a period of the light source can be The duration is set to about twice the exposure duration or longer, and preferably can be set to about four times the exposure duration or longer.

圖7示出了當使用控制器使光源工作於第一模式時在不同階段在CMOS成像器件上的成像圖,在該第一模式下,以一定頻率改變光源發出的光的屬性,在本例中為開啟和關閉光源。 Figure 7 shows the imaging diagrams on the CMOS imaging device at different stages when the controller is used to make the light source work in the first mode. In the first mode, the properties of the light emitted by the light source are changed at a certain frequency. In this example Middle is to turn on and off the light source.

圖7的上部示出了在不同階段的光源的狀態變化圖,下部示出了在不同階段該光源在CMOS成像器件上的成像圖,其中,CMOS成像器件的行方向為垂直方向,並從左向右掃描。由於CMOS成像器件採集圖像是逐行掃描的,因此在拍攝高頻閃爍信號時,所獲得的一幀圖像上與光源的成像位置對應的部分會形成如圖7下部所示的條紋,具體地,在時段1,光源開啟,在該時段中曝光的最左側部分的掃描行呈現亮條紋;在時段2,光源關閉,在該時段中曝光的掃描行呈現暗條紋;在時段3,光源開啟,在該時段中曝光的掃描行呈現亮條紋;在時段4,光源關閉,在該時段中曝光的掃描行呈現暗條紋。 The upper part of FIG. 7 shows the state change diagrams of the light source at different stages, and the lower part shows the imaging diagrams of the light source on the CMOS imaging device at different stages, where the row direction of the CMOS imaging device is the vertical direction, and from the left Scan to the right. Since the CMOS imaging device collects images line by line, when shooting high-frequency flicker signals, the part of the obtained frame of image corresponding to the imaging position of the light source will form stripes as shown in the lower part of Figure 7. Ground, in time period 1, the light source is turned on, and the leftmost part of the scan line exposed in this time period shows bright stripes; in time period 2, the light source is turned off, and the scan line exposed during this time period shows dark stripes; in time period 3, the light source is turned on , The scan lines exposed in this period show bright stripes; in period 4, the light source is turned off, and the scan lines exposed in this period show dark stripes.

可以通過光源控制信號來設置光源閃爍的頻率,或者設置光源每次開啟和關閉的時長,來調整出現的條紋的寬度,更長的開啟或關閉時間通常對應於更寬的條紋。例如,對於圖6所示的情形,如果將光源每次開啟和關閉的時長均設置為大致等於CMOS成像器件的每一行的曝光時間(該曝光時間可以通過手機上安裝的APP進行設置或者手工設置),則可以在成像時呈現出寬度為僅一個畫素的條紋。為了能夠實現對光標籤的遠距離識別,應使條紋越窄越好。但在實踐中,由於光線干擾、同步等原因,寬度為僅一個畫素的條紋可能不太穩定,或者不太容易識別,因此,為了提高識別的穩定性, 優選地實現寬度為兩個畫素的條紋。例如,對於圖6所示的情形,可以通過將光源每次開啟或關閉的時長均設置為大致等於CMOS成像器件的每一行的曝光時長的大約2倍,來實現寬度為大約兩個畫素的條紋,具體如圖8所示,其中,圖8的上部的信號為光源控制信號,其高電平對應於光源的開啟,而低電平對應於光源的關閉。在圖8所示的實施例中,將光源控制信號的占空比設置為大約50%,將每一行的曝光時長設置為大致等於每一行的讀出時間,但本領域技術人員可以理解,其他設置也是可行的,只要能夠呈現出可分辨的條紋即可。為了描述簡單起見,圖8中使用了光源與CMOS成像器件之間的同步,以使得光源的開啟和關閉的時間大致對應於CMOS成像器件的某一行的曝光時長的開始或結束時間,但是本領域技術人員可以理解,即使兩者未能如圖8那樣同步,也可以在CMOS成像器件上呈現出明顯的條紋,此時,可能會存在一些過渡條紋,但一定存在光源始終關閉時曝光的行(也即最暗的條紋)與光源始終開啟時曝光的行(也即最亮的條紋),兩者間隔一個畫素。這種畫素行的明暗變化(也即條紋)可以被容易地檢測出來(例如,通過比較光源成像區域中的一些畫素的亮度或灰度)。更進一步,即使不存在光源始終關閉時曝光的行(也即最暗的條紋)和光源始終開啟時曝光的行(也即最亮的條紋),如果存在曝光時間內光源開啟部分t1小於一定時間長度或占整個曝光時長較小比例的行(也即較暗條紋),和曝光時間內光源開啟部分t2大於一定時間長度或占整個曝光時長較大比例的行(也即較亮條紋),且t2-t1>明暗條紋差值閾值(例如10微秒),或t2/t1>明暗條紋比例閾值(例如2),這些畫素行之間的明暗變化也可以被檢測出來。上述明暗條紋差值閾值和比例閾值和光標籤發光強度、感光器件屬性、拍攝距離等相關。本領域技術人員可以理解, 其他閾值也是可行的,只要能夠呈現出電腦可分辨的條紋即可。當識別出條紋時,可以確定出光源此時所傳遞的資訊,例如二進位資料0或資料1。 The light source control signal can be used to set the frequency of light source flicker, or to set the duration of each turn on and turn off of the light source to adjust the width of the stripes that appear. A longer turn-on or turn-off time usually corresponds to a wider stripe. For example, for the situation shown in Figure 6, if the duration of each turn on and turn off of the light source is set to be approximately equal to the exposure time of each line of the CMOS imaging device (the exposure time can be set through the APP installed on the mobile phone or manually Setting), the stripes with a width of only one pixel can be presented during imaging. In order to realize the long-distance recognition of the optical label, the stripes should be as narrow as possible. However, in practice, due to light interference, synchronization, etc., stripes with a width of only one pixel may be unstable or difficult to recognize. Therefore, in order to improve the stability of recognition, Preferably, stripes with a width of two pixels are implemented. For example, for the situation shown in FIG. 6, it is possible to achieve a width of about two paintings by setting the duration of each turn on or turn off of the light source approximately equal to about 2 times the exposure duration of each row of the CMOS imaging device. The pixel stripes are specifically shown in Fig. 8, where the signal in the upper part of Fig. 8 is a light source control signal, and its high level corresponds to turning on the light source, and low level corresponds to turning off the light source. In the embodiment shown in FIG. 8, the duty cycle of the light source control signal is set to about 50%, and the exposure time of each row is set to be approximately equal to the readout time of each row, but those skilled in the art can understand that, Other settings are also feasible, as long as they can show distinguishable fringes. For simplicity of description, the synchronization between the light source and the CMOS imaging device is used in FIG. 8 so that the turn-on and turn-off time of the light source roughly corresponds to the start or end time of the exposure duration of a certain line of the CMOS imaging device, but Those skilled in the art can understand that even if the two are not synchronized as shown in Figure 8, there may be obvious stripes on the CMOS imaging device. At this time, there may be some transitional stripes, but there must be some exposure when the light source is always turned off. The line (that is, the darkest stripe) and the line that is exposed when the light source is always on (that is, the brightest stripe) are separated by one pixel. The light and dark changes (that is, fringes) of such pixel rows can be easily detected (for example, by comparing the brightness or grayscale of some pixels in the imaging area of the light source). Furthermore, even if there are no lines that are exposed when the light source is always off (that is, the darkest stripes) and lines that are exposed when the light source is always on (that is, the brightest stripes), if there is a light source that is turned on during the exposure time, t1 is less than a certain time The length or the line with a smaller proportion of the entire exposure time (ie darker stripes), and the line with the light source turn-on part t2 greater than a certain length of time or a larger percentage of the entire exposure time (ie brighter stripes) during the exposure time , And t2-t1>light-dark fringe difference threshold (for example, 10 microseconds), or t2/t1>light-dark fringe ratio threshold (for example, 2), the light-dark changes between these pixel rows can also be detected. The above-mentioned light and dark fringe difference threshold and ratio threshold are related to the luminous intensity of the light label, the properties of the photosensitive device, and the shooting distance. Those skilled in the art can understand, Other thresholds are also feasible, as long as they can show fringes that can be distinguished by a computer. When the fringe is recognized, the information transmitted by the light source at this time can be determined, such as binary data 0 or data 1.

根據本發明的一個實施例的條紋識別方法如下:得到光標籤的圖像,利用投影的方式分割出光源的成像區域;收集不同配置下(例如,不同距離、不同的光源閃爍頻率等)的有條紋圖片和無條紋圖片;將所有收集的圖片統一歸一化到一個特定大小,例如64*16畫素;提取每一個畫素特徵作為輸入特徵,構建機器學習分類器;進行二分類判別以判斷是條紋圖片還是非條紋圖片。對於條紋識別,本領域普通技術人員還可以採用本領域公知的任何其他方法進行處理,對此不再詳述。 The fringe recognition method according to an embodiment of the present invention is as follows: Obtain the image of the light label, and use projection to segment the imaging area of the light source; collect data in different configurations (for example, different distances, different light source flicker frequencies, etc.) Striped pictures and non-striped pictures; normalize all collected pictures to a specific size, such as 64*16 pixels; extract each pixel feature as an input feature to build a machine learning classifier; perform two-class discrimination to judge Is it a striped picture or a non-striped picture. For fringe recognition, those of ordinary skill in the art can also use any other methods known in the art for processing, which will not be described in detail.

對於一個長度為5釐米的條狀光源,當使用目前市場上常見的手機,設置解析度為1080p,在距離其10米遠的地方(也即,距離為光源長度的200倍)進行拍攝時,該條狀光源在其長度方向上大約會佔據6個畫素,如果每個條紋寬度為2個畫素,則在該6個畫素的寬度範圍內會呈現出多個明顯素的寬度範圍內會呈現出至少一個明顯的條紋,其可以被很容易地識別出來。如果設置更高的解析度,或者採用光學變焦,在更遠的距離,例如距離為光源長度的300倍或400倍時,也能夠識別出條紋。 For a strip light source with a length of 5 cm, when using a common mobile phone on the market and setting the resolution to 1080p, when shooting at a distance of 10 meters (that is, the distance is 200 times the length of the light source), The strip light source occupies about 6 pixels in its length direction. If the width of each stripe is 2 pixels, there will be multiple distinct pixels within the width range of the 6 pixels. At least one obvious streak will appear, which can be easily identified. If you set a higher resolution or use an optical zoom, the fringes can also be recognized at a longer distance, such as 300 or 400 times the length of the light source.

控制器也可以使光源工作於第二模式。在一個實施例中,在第二模式下,光源控制信號可以具有與第一模式不同的另一頻率,來改變光源發出的光的屬性,例如開啟和關閉光源。在一個實施例中,相比於第一模式,在第二模式下控制器可以提高光源的開啟和關閉頻率。例如,第一模式的頻率可以大於或等於8000次/秒,而第二模式的頻率可以大於第一模式的頻率。對於圖6所示的情形,可以將光源配置為在CMOS成像器件的每一行的曝 光時間內光源開啟和關閉至少一次。圖9示出了在每一行的曝光時間內光源開啟和關閉只一次的情形,其中,圖9的上部的信號為光源控制信號,其高電平對應於光源的開啟,而低電平對應於光源的關閉。由於在每一行的曝光時間內,光源都會以相同的方式開啟和關閉一次,每個曝光時間獲取的曝光強度能量大致均等,因此光源的最終成像的各個畫素行之間的亮度不會存在明顯差異,從而不存在條紋。本領域技術人員可以理解,更高的開啟和關閉頻率也是可行的。另外,為了描述簡單起見,圖9中使用了光源與CMOS成像器件之間的同步,以使得光源的開啟時間大致對應於CMOS成像器件的某一行的曝光時長的開始時間,但是本領域技術人員可以理解,即使兩者未能如圖9那樣同步,在光源的最終成像的各個畫素行之間的亮度也不會存在明顯差異,從而不存在條紋。當不能識別出條紋時,可以確定出光源此時所傳遞的資訊,例如二進位資料1或資料0。對於人眼而言,本發明的光源工作於上述第一模式或第二模式下時不會察覺到任何閃爍現象。另外,為了避免在第一模式和第二模式之間切換時人眼可能會察覺到的閃爍現象,可以將第一模式和第二模式的占空比設置為大致相等,從而實現在不同模式下的大致相同的光通量。 The controller can also make the light source work in the second mode. In one embodiment, in the second mode, the light source control signal may have another frequency different from the first mode to change the properties of the light emitted by the light source, such as turning the light source on and off. In one embodiment, compared to the first mode, the controller can increase the frequency of turning on and turning off the light source in the second mode. For example, the frequency of the first mode may be greater than or equal to 8000 times/sec, and the frequency of the second mode may be greater than the frequency of the first mode. For the situation shown in Figure 6, the light source can be configured to expose each row of the CMOS imaging device. The light source is turned on and off at least once during the light time. Figure 9 shows a situation where the light source is turned on and off only once during the exposure time of each line. The signal in the upper part of Figure 9 is the light source control signal, and its high level corresponds to the light source turning on, and the low level corresponds to Turn off the light source. Since the light source will be turned on and off in the same way during the exposure time of each line, the exposure intensity obtained at each exposure time is roughly the same, so there will be no significant difference in the brightness of each pixel row of the final image of the light source , So there are no stripes. Those skilled in the art can understand that higher opening and closing frequencies are also feasible. In addition, for simplicity of description, the synchronization between the light source and the CMOS imaging device is used in FIG. 9 so that the turn-on time of the light source roughly corresponds to the start time of the exposure duration of a certain line of the CMOS imaging device. The person can understand that even if the two are not synchronized as shown in FIG. 9, there will be no significant difference in the brightness of each pixel row in the final imaging of the light source, so there is no fringe. When the fringe cannot be identified, the information transmitted by the light source at this time can be determined, such as binary data 1 or data 0. For the human eye, the light source of the present invention does not perceive any flicker when it works in the first or second mode. In addition, in order to avoid the flicker that may be perceived by the human eye when switching between the first mode and the second mode, the duty cycle of the first mode and the second mode can be set to be approximately equal, so as to achieve different modes The luminous flux is roughly the same.

在另一實施例中,在第二模式下,可以向光源提供直流電,以使得光源發出屬性基本不會發生改變的光,從而,在通過CMOS圖像感測器對光源拍攝時所獲得的該光源的一幀圖像上不會呈現條紋。另外,在這種情況下,也可以實現在不同模式下的大致相同的光通量,以避免在第一模式和第二模式之間切換時人眼可能會察覺到的閃爍現象。 In another embodiment, in the second mode, direct current can be supplied to the light source, so that the light source emits light whose properties do not substantially change, so that the light source obtained when the light source is photographed by the CMOS image sensor There are no stripes on one frame of the light source. In addition, in this case, it is also possible to achieve substantially the same luminous flux in different modes, so as to avoid flicker that may be perceived by the human eye when switching between the first mode and the second mode.

上文的圖8描述了通過使光源發出的光的強度發生變化(例如,通過開啟或關閉光源)來呈現條紋的實施例,在另一實施例中,如圖10 所示,也可以通過使光源發出的光的波長或顏色發生變化來呈現條紋。在圖10所示的實施例中,光源中包括可發出紅光的紅色燈和可發出藍光的藍色燈。圖10的上部的兩個信號分別為紅光控制信號和藍光控制信號,其中,高電平對應於相應光源的開啟,而低電平對應於相應光源的關閉。該紅光控制信號和藍光控制信號的相位偏移180°,也即,兩者電平相反。通過紅光控制信號和藍光控制信號,可以使得光源向外交替地發出紅色光和藍色光,從而當採用CMOS成像器件對光源進行成像時可以呈現出紅藍條紋。 Figure 8 above describes an embodiment in which stripes are presented by changing the intensity of the light emitted by the light source (for example, by turning on or off the light source). In another embodiment, as shown in Figure 10 As shown, the fringes can also be presented by changing the wavelength or color of the light emitted by the light source. In the embodiment shown in FIG. 10, the light source includes a red lamp that emits red light and a blue lamp that emits blue light. The two signals in the upper part of FIG. 10 are respectively a red light control signal and a blue light control signal, wherein the high level corresponds to turning on the corresponding light source, and the low level corresponds to turning off the corresponding light source. The phases of the red light control signal and the blue light control signal are offset by 180°, that is, the levels of the two are opposite. Through the red light control signal and the blue light control signal, the light source can alternately emit red light and blue light outwards, so that red and blue stripes can be presented when the CMOS imaging device is used to image the light source.

通過確定CMOS成像器件拍攝的一幀圖像上與光源對應的部分是否存在條紋,可以確定每幀圖像所傳遞的資訊,例如二進位資料1或資料0。進一步地,通過CMOS成像器件拍攝光源的連續的多幀圖像,可以確定出由二進位資料1和0構成的資訊序列,實現光源向CMOS成像器件(例如手機)的資訊傳遞。在一個實施方式中,當通過CMOS成像器件拍攝光源的連續的多幀圖像時,可以通過控制器進行控制,使得光源的工作模式之間的切換時間間隔等於CMOS成像器件一個完整幀成像的時間長度,從而實現光源與成像器件的幀同步,即每幀傳輸1比特的資訊。對於30幀/每秒的拍攝速度,每秒鐘可以傳遞30比特的資訊,編碼空間達到230,該資訊可以包括例如,起始幀標記(幀頭)、光標籤的ID、口令、驗證碼、網址資訊、位址資訊、時間戳記或其不同的組合等等。可以按照結構化方法,設定上述各種資訊的順序關係,形成資料包結構。每接收到一個完整的該資料包結構,視為獲得一組完整資料(一個資料包),進而可以對其進行資料讀取和校驗分析。下表示出了根據本發明的一個實施例的資料包結構:

Figure 108116064-A0305-02-0018-1
By determining whether there are fringes in a part of the image taken by the CMOS imaging device corresponding to the light source, the information conveyed by each frame of the image, such as binary data 1 or data 0, can be determined. Further, by capturing continuous multiple frames of images of the light source through the CMOS imaging device, an information sequence composed of binary data 1 and 0 can be determined, and information transmission from the light source to the CMOS imaging device (such as a mobile phone) can be realized. In one embodiment, when the CMOS imaging device is used to capture continuous multi-frame images of the light source, it can be controlled by the controller so that the switching time interval between the working modes of the light source is equal to the imaging time of a complete frame of the CMOS imaging device Length to achieve frame synchronization between the light source and the imaging device, that is, 1 bit of information is transmitted per frame. For a shooting speed of 30 frames per second, 30 bits of information can be transmitted per second, and the encoding space can reach 2 30. The information can include, for example, the start frame mark (frame header), the ID of the light tag, the password, and the verification code. , URL information, address information, timestamp or different combinations thereof, etc. The sequence relationship of the above-mentioned various information can be set according to a structured method to form a data packet structure. Each time a complete data packet structure is received, it is regarded as obtaining a set of complete data (a data packet), which can then be read and verified and analyzed. The following table shows the data packet structure according to an embodiment of the present invention:
Figure 108116064-A0305-02-0018-1

在上文的描述中,通過判斷每幀圖像中在光源的成像位置處是否存在條紋來確定該幀圖像所傳遞的資訊。在其他實施例中,可以通過識別每幀圖像中在光源的成像位置處的不同條紋來確定該幀圖像所傳遞的不同資訊。例如,在第一模式下,通過具有第一頻率的光源控制信號來控制光源發出的光的屬性以第一頻率持續變化,從而能在通過CMOS圖像感測器對光源拍攝時所獲得的光源的圖像上呈現出第一條紋;在第二模式下,通過具有第二頻率的光源控制信號來控制光源發出的光的屬性以第二頻率持續變化,從而能在通過CMOS圖像感測器對光源拍攝時所獲得的光源的圖像上呈現出與所述第一條紋不同的第二條紋。條紋的不同可以例如基於不同的寬度、顏色、亮度等或它們的任意組合,只要該不同能夠被識別即可。 In the above description, the information conveyed by the frame of image is determined by judging whether there are stripes at the imaging position of the light source in each frame of image. In other embodiments, the different information conveyed by the frame of image can be determined by identifying different stripes at the imaging position of the light source in each frame of image. For example, in the first mode, the property of the light emitted by the light source is controlled to continuously change at the first frequency through the light source control signal with the first frequency, so that the light source can be obtained when the light source is photographed by the CMOS image sensor The first stripe appears on the image; in the second mode, the light source control signal with the second frequency is used to control the properties of the light emitted by the light source to continuously change at the second frequency, so that it can pass through the CMOS image sensor The image of the light source obtained when the light source is photographed shows a second fringe different from the first fringe. The difference in stripes may be based on, for example, different widths, colors, brightness, etc., or any combination thereof, as long as the difference can be recognized.

在一個實施例中,可以基於不同的光源控制信號頻率來實現不同寬度的條紋,例如,在第一模式下,光源可以如圖8所示的方式工作,從而實現寬度為大約兩個畫素的第一種條紋;在第二模式下,可以將圖8中的光源控制信號的每個週期中的高電平和低電平的持續時間分別修改為原來的兩倍,具體如圖11所示,從而實現寬度為大約四個畫素的第二種條紋。 In one embodiment, stripes of different widths can be realized based on different light source control signal frequencies. For example, in the first mode, the light source can work as shown in FIG. 8 to achieve a width of approximately two pixels. The first type of stripe; in the second mode, the duration of the high level and low level in each cycle of the light source control signal in Figure 8 can be modified to twice the original, as shown in Figure 11. Thus, the second type of stripes with a width of about four pixels is realized.

在另一個實施例中,可以實現不同顏色的條紋,例如,可以將光源設置為其中包括可發出紅光的紅色燈和可發出藍光的藍色燈,在第一模式下,可以關閉藍色燈,並使紅色燈如圖8所示的方式工作,從而實現紅黑條紋;在第二模式下,可以關閉紅色燈,並使藍色燈如圖8所示的方式工作,從而實現藍黑條紋。在上述實施例中,在第一模式和第二模式下使用具有相同 頻率的光源控制信號實現了紅黑條紋和藍黑條紋,但是可以理解,在第一模式和第二模式下也可以使用具有不同頻率的光源控制信號。 In another embodiment, stripes of different colors can be realized. For example, the light source can be set to include a red light emitting red light and a blue light emitting blue light. In the first mode, the blue light can be turned off , And make the red light work as shown in Figure 8 to achieve red and black stripes; in the second mode, you can turn off the red light and make the blue light work as shown in Figure 8 to achieve blue and black stripes . In the above-mentioned embodiment, in the first mode and the second mode, the same The frequency light source control signal realizes red and black stripes and blue and black stripes, but it is understood that light source control signals with different frequencies can also be used in the first mode and the second mode.

另外,本領域技術人員可以理解,可以進一步地通過實現不止兩種條紋來表示不止兩種資訊,例如,在上述光源中包括紅色燈和藍色燈的實施例中,可以進一步設置第三模式,在該第三模式下以圖10所示的方式對紅色燈和藍色燈進行控制以實現紅藍條紋,即第三種資訊。顯然,可選地,也可以進一步通過不呈現條紋的第四模式來傳遞另一種資訊,即第四種資訊。可以任意選擇上述四種模式中的多種來進行資訊傳遞,也可以進一步結合其他模式,只要不同的模式產生不同的條紋圖案即可。 In addition, those skilled in the art can understand that more than two kinds of stripes can be implemented to represent more than two kinds of information. For example, in the above embodiment where the light source includes a red light and a blue light, a third mode can be further set. In this third mode, the red and blue lights are controlled in the manner shown in FIG. 10 to achieve red and blue stripes, that is, the third information. Obviously, optionally, another type of information, that is, the fourth type of information, can be further transmitted through a fourth mode that does not show stripes. You can arbitrarily select multiple of the above four modes for information transmission, or further combine with other modes, as long as different modes produce different stripe patterns.

圖12示出了在針對以每秒16000次的頻率閃爍的LED燈(每個週期的持續時間為62.5微秒,其中開啟時長和關閉時長各為大約31.25微秒),使用1080p解析度的成像設備,並將每行曝光時長設置為14微秒的情況下,通過實驗得到的圖像上的條紋。從圖12可以看出,呈現出了大致為2-3畫素寬度的條紋。圖13示出了將圖12中的LED燈閃爍頻率調整為每秒8000次(每個週期的持續時間為125微秒,其中開啟時長和關閉時長各為大約62.5微秒)後,在其他條件不變的情況下通過實驗得到的圖像上的條紋。從圖13可以看出,呈現出了大致為5-6畫素寬度的條紋。圖14示出了將圖12中的LED燈閃爍頻率調整為每秒64000次(每個週期的持續時間為15.6微秒,其中開啟時長和關閉時長各為大約7.8微秒)後,在其他條件不變的情況下通過實驗得到的圖像,其上不存在條紋,其原因是每行曝光時長14微秒中基本上涵蓋了LED燈的一個開啟時長和一個關閉時長。 Figure 12 shows that for LED lights that flicker at a frequency of 16000 times per second (the duration of each cycle is 62.5 microseconds, where the on-duration and off-duration are each about 31.25 microseconds), using 1080p resolution The stripe on the image obtained through experiments when the exposure time of each line is set to 14 microseconds. It can be seen from Fig. 12 that stripes with a width of approximately 2-3 pixels are present. Figure 13 shows that after adjusting the flashing frequency of the LED lights in Figure 12 to 8000 times per second (the duration of each cycle is 125 microseconds, where the on-duration and off-duration are each about 62.5 microseconds), after Streaks on the image obtained through experiments under other conditions unchanged. It can be seen from Figure 13 that stripes with a width of approximately 5-6 pixels are present. Figure 14 shows that after adjusting the blinking frequency of the LED lights in Figure 12 to 64000 times per second (the duration of each cycle is 15.6 microseconds, where the on-duration and off-duration are each about 7.8 microseconds), after There are no stripes on the image obtained through experiments under other conditions unchanged. The reason is that the 14 microseconds of exposure time per line basically covers an on time and an off time of the LED light.

在上文中,為了方便說明,以方波為例描述了具有相應頻率的光源控制信號,但本領域技術人員可以理解,光源控制信號也可以使用其他波形,例如正弦波、三角波等。 In the foregoing, for convenience of description, a square wave is used as an example to describe a light source control signal with a corresponding frequency, but those skilled in the art will understand that the light source control signal can also use other waveforms, such as sine waves, triangular waves, and the like.

上文中描述了採用一個光源的情形,在一些實施例中,也可以採用兩個或更多個光源。控制器可以獨立地控制每一個光源的操作。圖15是根據本發明的一個實施例的採用三個獨立光源的光標籤的一個成像圖,其中,兩個光源的成像位置出現了條紋,一個光源的成像位置沒有出現條紋,該組光源的這一幀圖像可以用於傳遞資訊,例如二進位資料110。 The foregoing describes the case where one light source is used. In some embodiments, two or more light sources may also be used. The controller can independently control the operation of each light source. 15 is an imaging diagram of a light label using three independent light sources according to an embodiment of the present invention, in which stripes appear in the imaging position of two light sources, and no stripes appear in the imaging position of one light source. One frame of image can be used to convey information, such as binary data 110.

在一個實施例中,光標籤中還可以包括位於資訊傳遞光源附近的一個或多個定位標識,該定位標識例如可以是特定形狀或顏色的燈,該燈例如可以在工作時保持常亮。該定位標識可以有助於CMOS成像器件(例如手機)的用戶容易地發現光標籤。另外,當CMOS成像器件被設置為對光標籤進行拍攝的模式時,定位標識的成像比較明顯,易於識別。因此,佈置於資訊傳遞光源附近的一個或多個定位標識還能夠有助於手機快速地確定資訊傳遞光源的位置,從而有助於識別對應於資訊傳遞光源的成像區域是否存在條紋。在一個實施例中,在識別是否存在條紋時,可以首先在圖像中對定位標識進行識別,從而在圖像中發現光標籤的大致位置。在識別了定位標識之後,可以基於定位標識與資訊傳遞光源之間的相對位置關係,確定圖像中的一個或多個區域,該區域涵蓋資訊傳遞光源的成像位置。接著,可以針對這些區域進行識別,以判斷是否存在條紋,或存在什麼樣的條紋。圖16是根據本發明的一個實施例的包括定位標識的光標籤的一個成像圖,其中包括三個水準佈置的資訊傳遞光源,以及位於資訊傳遞光源兩側的豎直佈置的兩個定位標識燈。 In one embodiment, the optical label may also include one or more positioning marks located near the information transmission light source. The positioning marks may be, for example, lights of a specific shape or color, and the lights may be kept on during work, for example. The location mark can help users of CMOS imaging devices (such as mobile phones) to easily find the optical tag. In addition, when the CMOS imaging device is set to a mode of photographing the light tag, the imaging of the positioning mark is more obvious and easy to identify. Therefore, one or more positioning marks arranged near the information transmission light source can also help the mobile phone to quickly determine the position of the information transmission light source, thereby helping to identify whether there are stripes in the imaging area corresponding to the information transmission light source. In one embodiment, when identifying whether there are stripes, the positioning mark can be identified in the image first, so that the approximate position of the light label can be found in the image. After the positioning mark is identified, one or more regions in the image can be determined based on the relative position relationship between the positioning mark and the information transmission light source, and the area covers the imaging position of the information transmission light source. Then, these regions can be identified to determine whether there are stripes or what kind of stripes exist. Fig. 16 is an imaging diagram of a light tag including a positioning mark according to an embodiment of the present invention, which includes three horizontally arranged information transmission light sources, and two vertical positioning mark lights located on both sides of the information transmission light source .

在一個實施例中,光標籤中可以包括環境光檢測電路,該環境光檢測電路可以用於檢測環境光的強度。控制器可以基於檢測到的環境光的強度來調整光源在開啟時所發出的光的強度。例如,在環境光比較強時(例如白天),使得光源發出的光的強度比較大,而在環境光比較弱時(例如夜裡),使得光源發出的光的強度比較小。 In one embodiment, the optical tag may include an ambient light detection circuit, and the ambient light detection circuit may be used to detect the intensity of the ambient light. The controller can adjust the intensity of the light emitted by the light source when it is turned on based on the intensity of the detected ambient light. For example, when the ambient light is relatively strong (for example, during the day), the intensity of the light emitted by the light source is relatively large, and when the ambient light is relatively weak (for example, at night), the intensity of the light emitted by the light source is relatively small.

在一個實施例中,光標籤中可以包括環境光檢測電路,該環境光檢測電路可以用於檢測環境光的頻率。控制器可以基於檢測到的環境光的頻率來調整光源在開啟時所發出的光的頻率。例如,在環境光存在同頻閃動光源時,切換光源發出的光至另一未佔用頻率。 In one embodiment, the optical tag may include an ambient light detection circuit, and the ambient light detection circuit may be used to detect the frequency of the ambient light. The controller may adjust the frequency of light emitted by the light source when the light source is turned on based on the frequency of the detected ambient light. For example, when the ambient light has the same stroboscopic light source, switch the light emitted by the light source to another unoccupied frequency.

在實際的應用環境中,如果存在大量的雜訊,或者當識別距離非常遠時,可能會影響識別的準確度。因此,為了提高識別的準確度,在本發明的一個實施例中,在光標籤中除了包括上述用於傳遞資訊的光源(為了清楚起見,下文中將其稱為“資料光源”)之外,還可以包括至少一個參考光源。參考光源本身並不用於傳遞資訊,而是用於輔助識別資料光源所傳遞的資訊。參考光源在物理結構上可以與資料光源類似,但是以預先確定的工作模式工作,該工作模式可以是資料光源的各種工作模式中的一種或多種。以此方式,可以將資料光源的解碼轉化成和參考光源的圖像做匹配(例如:相關性)的計算,從而提高了解碼的準確性。 In the actual application environment, if there is a lot of noise, or when the recognition distance is very far, it may affect the accuracy of recognition. Therefore, in order to improve the accuracy of recognition, in one embodiment of the present invention, in addition to the above-mentioned light source for transmitting information (for clarity, it will be referred to as "data light source" hereinafter) in the optical label. , Can also include at least one reference light source. The reference light source itself is not used to transmit information, but is used to assist in identifying the information transmitted by the data light source. The reference light source can be similar in physical structure to the data light source, but works in a predetermined working mode, which can be one or more of various working modes of the data light source. In this way, the decoding of the data light source can be converted into the calculation of matching (for example: correlation) with the image of the reference light source, thereby improving the accuracy of decoding.

圖17示出了根據本發明的一個實施例的包括了一個參考光源和兩個資料光源的光標籤,其中並排佈置了三個光源,第一個光源作為參考光源,另外兩個光源分別作為第一資料光源和第二資料光源。需要說明的是,光標籤中參考光源的數量可以是一個或者更多個,而不限於一個;同樣,資 料光源的數量也可以是一個或者更多個,而不限於兩個。另外,因為參考光源用於提供輔助識別,因此其形狀、尺寸不是必須與資料光源相同。例如,在一個實施方式中,參考光源的長度可以是資料光源的一半。 Figure 17 shows a light label including a reference light source and two data light sources according to an embodiment of the present invention, wherein three light sources are arranged side by side, the first light source is used as the reference light source, and the other two light sources are respectively used as the first light source. A data light source and a second data light source. It should be noted that the number of reference light sources in the light label can be one or more, not limited to one; similarly, the number of reference light sources The number of material light sources can also be one or more, and is not limited to two. In addition, because the reference light source is used to provide auxiliary identification, its shape and size are not necessarily the same as the data light source. For example, in one embodiment, the length of the reference light source may be half of the data light source.

在一個實施例中,圖17中所示的第一資料光源和第二資料光源中的每一個被配置為可以工作於三種模式,以例如分別顯示無條紋圖像、條紋寬度為2個畫素的圖像、條紋寬度為4個畫素的圖像。而參考光源可以被配置為始終工作於三種模式之一以顯示上述三種圖像之一,或者交替工作於不同模式,以在不同幀中交替顯示上述三種圖像中的任意兩種或全部,從而為資料光源的圖像識別提供比較基準或參考。以參考光源在不同幀中交替顯示條紋寬度為2個畫素的圖像和條紋寬度為4個畫素的圖像為例,每一幀中的資料光源的圖像可以與當前幀以及一個相鄰幀(例如之前的幀或之後的幀)中的參考光源的圖像(這些圖像中一定包含了條紋寬度為2個畫素的圖像和條紋寬度為4個畫素的圖像)進行比較,以判斷其圖像的類型;或者,也可以採集一個時段內的參考光源的連續多幀圖像,將奇數幀編號的圖像和偶數幀編號的圖像分別作為一組,對每一組圖像的特徵進行平均化(例如,求每一組圖像的條紋寬度的平均值),以及根據條紋寬度分辨哪一組圖像對應於條紋寬度為2個畫素的圖像或條紋寬度為4個畫素的圖像,從而獲得條紋寬度為2個畫素的圖像的平均特徵和條紋寬度為4個畫素的圖像的平均特徵,之後,可以判斷資料光源在每一幀中的圖像是否符合這些平均特徵之一。 In one embodiment, each of the first data light source and the second data light source shown in FIG. 17 is configured to work in three modes, for example, to display a fringe-free image with a stripe width of 2 pixels. An image with a stripe width of 4 pixels. The reference light source can be configured to always work in one of the three modes to display one of the above three images, or alternately work in different modes to alternately display any two or all of the above three images in different frames, thereby Provide a benchmark or reference for the image recognition of the data light source. Taking the reference light source alternately displaying images with a stripe width of 2 pixels and an image with a stripe width of 4 pixels in different frames as an example, the image of the data light source in each frame can be the same as the current frame and one The image of the reference light source in the adjacent frame (such as the previous frame or the following frame) (these images must contain an image with a stripe width of 2 pixels and an image with a stripe width of 4 pixels). Compare to determine the type of the image; alternatively, it is also possible to collect consecutive multiple frames of images of the reference light source within a period of time, and use the odd-numbered image and the even-numbered image as a group, for each The characteristics of the group of images are averaged (for example, the average value of the stripe width of each group of images), and according to the stripe width to distinguish which group of images corresponds to an image with a stripe width of 2 pixels or a stripe width For an image of 4 pixels, the average feature of an image with a stripe width of 2 pixels and an average feature of an image with a stripe width of 4 pixels can be obtained. After that, it can be determined that the data light source is in each frame Does the image meet one of these average characteristics.

由於參考光源與資料光源位於大致相同的位置,且經受相同的環境光照條件、干擾、雜訊等,因此其可以即時地提供一種或多種用於圖像識別的基準圖像或參考圖像,從而能改善對資料光源所傳遞的資訊的識別的 準確性和穩定性。例如,可以通過將資料光源的成像與參考光源的成像進行比較來準確地識別出資料光源的工作模式,從而識別出其所傳遞的資料。 Since the reference light source and the data light source are located at approximately the same position and are subject to the same ambient lighting conditions, interference, noise, etc., it can provide one or more reference images or reference images for image recognition in real time, thereby Can improve the recognition of the information transmitted by the data light source Accuracy and stability. For example, by comparing the imaging of the data light source with the imaging of the reference light source, the working mode of the data light source can be accurately identified, thereby identifying the data transmitted by it.

進一步地,根據CMOS的成像原理,當多個光源以相同頻率但不同的相位進行屬性變化時,會產生相同寬度但不同相位的條紋圖案,相同寬度但不同相位的條紋圖案可以使用匹配的方法來準確判定。在一個實施例中,可以控制參考光源以預定的工作模式工作,在該工作模式下,該參考光源的圖像上例如會呈現出寬度為4個畫素的條紋。此時,如果同時控制資料光源在該工作模式下工作,並且使得資料光源與參考光源的相位一致,則該資料光源的圖像上呈現出的條紋與參考光源的圖像上呈現出的條紋相似(例如,寬度也是4個畫素)且不存在相位差;如果同時控制資料光源在該工作模式下工作,但使得資料光源與參考光源的相位不一致(例如,反相或相差180°),則該資料光源的圖像上呈現出的條紋與參考光源的圖像上呈現出的條紋相似(例如,寬度也是4個畫素)但存在相位差。 Furthermore, according to the CMOS imaging principle, when multiple light sources change their properties at the same frequency but different phases, fringe patterns of the same width but different phases will be produced. The fringe patterns of the same width but different phases can be matched using a matching method. Determine accurately. In one embodiment, the reference light source can be controlled to work in a predetermined working mode. In this working mode, the image of the reference light source may show stripes with a width of 4 pixels, for example. At this time, if the data light source is controlled to work in this working mode at the same time, and the phase of the data light source and the reference light source are consistent, the fringes appearing on the image of the data light source are similar to the fringes appearing on the image of the reference light source (For example, the width is also 4 pixels) and there is no phase difference; if the data light source is controlled to work in this working mode at the same time, but the phase of the data light source and the reference light source are inconsistent (for example, antiphase or 180° phase difference), then The fringes appearing on the image of the reference light source are similar to the fringes appearing on the image of the reference light source (for example, the width is also 4 pixels) but there is a phase difference.

圖18示出了針對圖17所示的光標籤的CMOS成像器件的一個成像時序圖。在圖18的上部示出了參考光源、第一資料光源和第二資料光源各自的控制信號,其中高電平可以對應於光源的開啟,而低電平可以對應於光源的關閉。如圖18所示,三個控制信號的頻率相同,並且第一資料光源控制信號與參考光源控制信號的相位一致,第二資料光源控制信號與參考光源控制信號的相位相差180°。以此方式,當使用CMOS成像器件對該光標籤進行成像時,參考光源、第一資料光源和第二資料光源的成像上都會呈現出寬度大致為4個畫素的條紋,但是第一資料光源與參考光源的成像上的條紋相位是一致的(例如,參考光源的亮條紋所在的行與第一資料光源的亮條紋所在的行 是一致的,參考光源的暗條紋所在的行與第一資料光源的暗條紋所在的行是一致的),而第二資料光源與參考光源的成像上的條紋相位是反相的(例如,參考光源的亮條紋所在的行與第二資料光源的暗條紋所在的行是一致的,參考光源的暗條紋所在的行與第二資料光源的亮條紋所在的行是一致的)。 FIG. 18 shows an imaging timing chart of the CMOS imaging device for the optical label shown in FIG. 17. The upper part of FIG. 18 shows the respective control signals of the reference light source, the first data light source, and the second data light source. The high level may correspond to the turning on of the light source, and the low level may correspond to the turning off of the light source. As shown in FIG. 18, the frequencies of the three control signals are the same, and the phases of the first data light source control signal and the reference light source control signal are consistent, and the phases of the second data light source control signal and the reference light source control signal are 180° out of phase. In this way, when the CMOS imaging device is used to image the light tag, the imaging of the reference light source, the first data light source and the second data light source will all show stripes with a width of approximately 4 pixels, but the first data light source It is consistent with the phase of the fringe on the imaging of the reference light source (for example, the line where the bright fringe of the reference light source is located and the line where the bright fringe of the first data light source is located Is consistent, the row of the dark fringe of the reference light source is the same as the row of the dark fringe of the first data light source, and the phase of the fringe on the imaging of the second data light source and the reference light source is reversed (for example, reference The row where the bright stripes of the light source are located is the same as the row where the dark stripes of the second data light source are located, and the row where the dark stripes of the reference light source are located is the same as the row where the bright stripes of the second data light source are located).

通過提供參考光源,並對資料光源採用相位控制,可以在改善識別能力的情況下進一步提升資料光源每次可傳遞的信息量。對於圖17所示的光標籤,如果第一資料光源和第二資料光源被配置為可以工作於第一模式和第二模式,其中,在第一模式下不呈現條紋,在第二模式下呈現條紋。如果不提供參考光源的話,每個資料光源在一幀圖像中可以傳遞兩種資料之一,例如0或1。而通過提供參考光源並使其工作於第二模式,並在資料光源工作於第二模式時進一步提供相位控制,從而使得第二模式本身可以用於傳遞不止一種資料。以圖18所示的方式為例,結合相位控制的第二模式本身就可以用於傳遞兩種資料之一,從而每個資料光源在一幀圖像中可以傳遞三種資料之一。 By providing a reference light source and adopting phase control for the data light source, the amount of information that the data light source can transmit each time can be further improved while improving the recognition ability. For the optical label shown in FIG. 17, if the first data light source and the second data light source are configured to work in the first mode and the second mode, there are no stripes in the first mode, but in the second mode. stripe. If no reference light source is provided, each data light source can transmit one of two kinds of data in a frame of image, such as 0 or 1. By providing the reference light source and making it work in the second mode, and further providing phase control when the data light source works in the second mode, the second mode itself can be used to transmit more than one type of data. Taking the method shown in FIG. 18 as an example, the second mode combined with phase control can itself be used to transmit one of two kinds of data, so that each data light source can transmit one of three kinds of data in one frame of image.

上述方式通過引入參考光源,使得對資料光源的相位控制得以實現,因此可以提高光標籤的資料光源的編碼密度,並且可以相應地提高整個光標籤的編碼密度。例如,對於上文所述的實施例,如果不採用參考光源(也即,將參考光源作為第三資料光源),每個資料光源在一幀圖像中可以傳遞兩種資料之一,因而整個光標籤(包含三個資料光源)在一幀圖像中可以傳遞23種資料組合之一;而如果採用參考光源,每個資料光源在一幀圖像中可以傳遞三種資料之一,因而整個光標籤(包含兩個資料光源)在一幀圖像 中可以傳遞32種資料組合之一。如果增加光標籤中資料光源的數量,該效果會更加明顯,例如,對於上文所述的實施例,如果使用包含五個光源的光標籤,在不採用參考光源的情況下,整個光標籤(包含五個資料光源)在一幀圖像中可以傳遞25種資料組合之一;而在選擇其中一個光源作為參考光源的情況下,整個光標籤(包含四個資料光源)在一幀圖像中可以傳遞34種資料組合之一。類似地,通過增加光標籤中參考光源的數量,也可以進一步提高整個光標籤的編碼密度。下面提供將資料光源的圖像和參考光源的圖像做匹配計算(例如:相關性計算)的一些試驗資料。其中,計算結果的含義定義為如下:0.00~±0.30微相關±0.30~±0.50實相關±0.50~±0.80顯著相關±0.80~±1.00高度相關 In the above manner, by introducing a reference light source, the phase control of the data light source can be realized, so the encoding density of the data light source of the optical label can be increased, and the encoding density of the entire optical label can be increased accordingly. For example, for the embodiment described above, if the reference light source is not used (that is, the reference light source is used as the third data light source), each data light source can transmit one of two kinds of data in one frame of image, so the entire The light tag (including three data light sources) can transmit one of 2 or 3 data combinations in one frame of image; and if a reference light source is used, each data light source can transmit one of three types of data in one frame of image, so the entire light tag (comprising two data sources) can pass one of three two kinds of data combined in one image. If the number of data light sources in the light label is increased, the effect will be more obvious. For example, for the embodiment described above, if a light label containing five light sources is used, the entire light label ( Contains five data light sources) One of 25 data combinations can be transferred in one frame of image; and when one of the light sources is selected as the reference light source, the entire light label (including four data light sources) is one frame of image One of 3 or 4 data combinations can be passed in. Similarly, by increasing the number of reference light sources in the optical label, the encoding density of the entire optical label can also be further improved. The following provides some experimental data for matching the image of the data light source and the image of the reference light source for matching calculation (for example: correlation calculation). Among them, the meaning of the calculation result is defined as follows: 0.00~±0.30 Micro correlation ±0.30~±0.50 Real correlation ±0.50~±0.80 Significant correlation ±0.80~±1.00 High correlation

其中,正值代表正相關,負值代表負相關。如果資料光源與參考光源的頻率和相位都是一致的,則在理想狀態下,兩個光源的圖像完全一致,從而相關性計算的結果為+1,表示完全正相關。如果資料光源與參考光源的頻率是一致的,但相位相反,則在理想狀態下,兩個光源的圖像的條紋寬度相同,但亮暗條紋的位置恰好相反,從而相關性計算的結果為-1,表示完全負相關。可以理解,在實際成像過程中,由於干擾、誤差等的存在,很難獲得完全正相關和完全負相關的圖像。如果資料光源與參考光源工作於不同的工作模式以顯示不同寬度的條紋,或者其中一者不顯示條紋,則兩者的圖像通常是微相關的。 Among them, a positive value represents a positive correlation, and a negative value represents a negative correlation. If the frequency and phase of the data light source and the reference light source are the same, then in an ideal state, the images of the two light sources are exactly the same, and the result of the correlation calculation is +1, indicating a complete positive correlation. If the frequency of the data light source and the reference light source are the same, but the phases are opposite, then in an ideal state, the image fringe width of the two light sources is the same, but the positions of the bright and dark fringes are exactly opposite, so the correlation calculation result is − 1, indicates a complete negative correlation. It can be understood that in the actual imaging process, due to interference, errors, etc., it is difficult to obtain images with a completely positive correlation and a completely negative correlation. If the data light source and the reference light source work in different working modes to display stripes of different widths, or one of them does not display stripes, the images of the two are usually slightly correlated.

下面的表1和表2分別示出了當資料光源與參考光源採用相同頻率相同相位時的相關性計算結果和當資料光源與參考光源採用相同頻率相反相位時的相關性計算結果。其中針對每種情形,分別拍攝了五張圖像,將每幀圖像中的參考光源圖像與該幀圖像中的資料光源圖像進行相關性計算。 The following Table 1 and Table 2 respectively show the correlation calculation results when the data light source and the reference light source adopt the same frequency and the same phase, and the correlation calculation results when the data light source and the reference light source adopt the same frequency and opposite phase. For each situation, five images were taken, and the correlation calculation between the reference light source image in each frame image and the data light source image in the frame image was performed.

Figure 108116064-A0305-02-0026-2
Figure 108116064-A0305-02-0026-2

Figure 108116064-A0305-02-0026-3
Figure 108116064-A0305-02-0026-3

從上表可以看出,當資料光源與參考光源採用相同頻率相同相位時,相關性計算結果能夠表明它們二者是顯著正相關的。當資料光源與參 考光源採用相同頻率相反相位時,相關性計算結果能夠表明它們二者是顯著負相關的。 It can be seen from the above table that when the data light source and the reference light source use the same frequency and the same phase, the correlation calculation results can show that they are significantly positively correlated. When the data source and parameters When considering the light source with the same frequency and opposite phase, the correlation calculation result can show that the two are significantly negatively correlated.

相比於現有技術中二維碼大概15倍左右的識別距離,本發明的光標籤的至少200倍的識別距離具有明顯的優勢。該遠距離識別能力尤其適合於室外識別,以200倍的識別距離為例,對於街道上設置的一個長度為50釐米的光源,在距離該光源100米範圍內的人都可以通過手機與該光源進行交互。另外,本發明的方案不要求CMOS成像設備位於與光標籤的固定的距離處,也不要求CMOS成像設備與光標籤之間的時間同步,並且不需要對各個條紋的邊界和寬度進行精確檢測,因此,其在實際的資訊傳輸中具有極強的穩定性和可靠性。另外,本發明的方案也不需要CMOS成像設備必須大致正對光標籤才能進行識別,對於具有條狀、球狀光源的光標籤而言,尤其如此。例如,對於設置在廣場上的一個條狀或柱狀光標籤,在其周圍360°範圍內的CMOS成像設備都可以對其進行識別。如果該條狀或柱狀光標籤被佈置在一個牆壁上,則在其周圍大致180°範圍內的CMOS成像設備都可以對其進行識別。對於設置在廣場上的一個球狀光標籤,則在其周圍的三維空間中的任何位置的CMOS成像設備都可以對其進行識別。 Compared with the recognition distance of about 15 times of the two-dimensional code in the prior art, the recognition distance of at least 200 times of the optical label of the present invention has obvious advantages. This long-distance recognition capability is especially suitable for outdoor recognition. Taking a recognition distance of 200 times as an example, for a light source with a length of 50 cm installed on the street, people within 100 meters of the light source can communicate with the light source through a mobile phone. To interact. In addition, the solution of the present invention does not require the CMOS imaging device to be located at a fixed distance from the optical tag, nor does it require time synchronization between the CMOS imaging device and the optical tag, and does not require precise detection of the border and width of each stripe. Therefore, it has extremely strong stability and reliability in actual information transmission. In addition, the solution of the present invention does not require that the CMOS imaging device must be substantially facing the optical tag to perform identification, especially for optical tags with striped or spherical light sources. For example, for a strip or column optical label set on a square, all CMOS imaging devices within a 360° range around it can identify it. If the strip-shaped or column-shaped optical tag is placed on a wall, all CMOS imaging devices within approximately 180° around it can recognize it. For a spherical light label set on the square, any CMOS imaging device in the surrounding three-dimensional space can recognize it.

由於本發明的光標籤的上述優勢,其可以用於實現視野範圍內的精確導引,例如,對能夠自主移動的機器的導引。本發明的一個實施例涉及一種通過光標籤對能夠自主移動的機器進行導引的系統,其包括能夠自主移動的機器和上述任一實施例中描述的光標籤。該能夠自主移動的機器上安裝有CMOS攝像頭,其能夠對光標籤傳遞的資訊進行採集並識別。 Due to the above-mentioned advantages of the optical tag of the present invention, it can be used to achieve precise guidance within the field of view, for example, to guide a machine that can move autonomously. An embodiment of the present invention relates to a system for guiding an autonomously movable machine through an optical label, which includes an autonomously movable machine and the optical label described in any of the above embodiments. A CMOS camera is installed on the machine that can move autonomously, which can collect and recognize the information transmitted by the optical tag.

下文中以網路購物的無人機投遞應用為例進行描述。買家可以將自己的公寓作為收貨位址,並在網路購物平臺中填寫收貨位址資訊,例如如下資訊中的一些:地理位置資訊、社區資訊、樓號、樓層、等等。買家可以在該公寓處(例如公寓的陽臺、外牆等位置)佈置一個光標籤,作為無人機進行貨物投遞時的目標光標籤。在買家通過網路完成購物之後,該光標籤可以被配置為通過連續工作於不同的模式來傳遞預定資訊,該預定資訊例如可以是該光標籤本身的ID資訊、買家在網路購物平臺的ID資訊、買家在網路購物平臺購物後從平臺接收的驗證碼、等等,只要該預定資訊是網路購物平臺知悉的並能夠用於標識該買家或其購買的貨物即可。網路購物平臺可以將該預定資訊傳送給該無人機。 The following describes the drone delivery application of online shopping as an example. Buyers can use their apartment as the delivery address and fill in the delivery address information in the online shopping platform, such as some of the following information: geographic location information, community information, building number, floor, etc. Buyers can place a light tag on the apartment (for example, the balcony, exterior wall, etc.) of the apartment to serve as the target light tag for the drone to deliver goods. After the buyer completes the shopping through the Internet, the optical tag can be configured to continuously work in different modes to deliver predetermined information. The predetermined information can be, for example, the ID information of the optical tag itself or the buyer’s online shopping platform. ID information, the verification code received by the buyer from the online shopping platform after shopping on the online shopping platform, etc., as long as the predetermined information is known to the online shopping platform and can be used to identify the buyer or the goods purchased. The online shopping platform can transmit the reservation information to the drone.

本發明的通過光標籤進行無人機導引的方法可以如圖19所示,其包括如下步驟: The method of the present invention for UAV guidance through optical tags may be as shown in Figure 19, which includes the following steps:

步驟101:控制無人機行進到目標光標籤附近。 Step 101: Control the drone to travel near the target light tag.

在無人機取到要發送給買家的貨物後,可以首先飛到買家的收貨位址(也即,買家的公寓)附近。在一個實施例中,該收貨位址優選的可以是目標光標籤本身的地理位置資訊(例如,光標籤的精確的經緯度、高度資訊等),並還可以包括其他資訊,例如該目標光標籤的朝向資訊等。 After the drone picks up the goods to be sent to the buyer, it can first fly to the buyer's receiving address (that is, the buyer's apartment). In one embodiment, the delivery address may preferably be the geographic location information of the target light tag itself (for example, the precise latitude and longitude of the light tag, altitude information, etc.), and may also include other information, such as the target light tag The orientation information, etc.

步驟101可以以本領域中各種可能的現有方式來實現。例如,無人機可以通過GPS導航等方式飛到該收貨位址附近(也即買家的光標籤附近)。現有的GPS導航方式能夠達到幾十米的精度範圍,而本發明的光標籤能夠實現至少200倍的識別距離,以200倍的識別距離為例,對於長度為20釐米的光源,無人機只要能飛到該光源周圍40米的範圍內即可以實現識別。在步 驟101中,也可以利用其他光標籤與目標光標籤之間的相對位置關係將無人機引導到目標光標籤附近。各個光標籤之間的相對位置關係例如可以被預先儲存並可以被無人機獲得。無人機在飛行時可以識別其飛行路徑沿線的其他光標籤,並獲得該其他光標籤與目標光標籤之間的相對位置關係,然後,無人機可以通過相對定位(也可稱為反向定位)來確定其與該其他光標籤之間的相對位置關係,從而,可以確定出目標光標籤與無人機之間的相對位置關係。基於該相對位置關係,可以將無人機引導到目標光標籤附近。本領域技術人員可以理解,也可以是使用上述各種方式的組合將無人機引導到目標光標籤附近。 Step 101 can be implemented in various possible existing ways in the art. For example, the drone can fly to the vicinity of the receiving address (that is, near the buyer's optical tag) through GPS navigation and other methods. Existing GPS navigation methods can reach an accuracy range of tens of meters, and the optical tag of the present invention can achieve at least 200 times the recognition distance. Taking 200 times the recognition distance as an example, for a light source of 20 cm in length, the drone only needs to be able to Fly to within 40 meters of the light source can be identified. In step In step 101, the relative position relationship between other optical tags and the target optical tags may also be used to guide the drone to the vicinity of the target optical tags. The relative positional relationship between the various optical tags can be stored in advance and can be obtained by the drone, for example. When flying, the drone can identify other optical tags along its flight path, and obtain the relative positional relationship between the other optical tags and the target optical tag. Then, the drone can use relative positioning (also called reverse positioning) To determine the relative position relationship between it and the other optical tags, so that the relative position relationship between the target optical tag and the drone can be determined. Based on the relative position relationship, the drone can be guided to the vicinity of the target light tag. Those skilled in the art can understand that it is also possible to use a combination of the above various methods to guide the drone to the vicinity of the target optical tag.

可以使用本領域已知的各種相對定位方式來確定無人機與光標籤的相對位置關係。在一個實施例中,無人機可以使用其成像裝置對光標籤進行圖像採集,基於所採集的圖像獲得其與光標籤的相對距離(成像越大,距離越近;成像越小,距離越遠),並且可以通過內置的感測器獲得無人機當前的朝向資訊,基於該朝向資訊獲得無人機與光標籤的相對方向(優選地,可以進一步結合光標籤在圖像中的位置來更為精確地確定無人機與光標籤的相對方向),從而,可以基於無人機與光標籤的相對距離和相對方向來獲得它們之間的相對位置關係。另外,目前市場銷售的很多成像裝置上通常配備有雙目攝像頭或深度攝像頭,利用配備有雙目攝像頭或深度攝像頭的成像裝置對光標籤進行圖像採集,也可以容易地獲得該成像裝置與光標籤之間的相對距離。在另一個實施例中,為了確定用戶與光標籤的相對方向,可以在伺服器中儲存光標籤的朝向資訊,當使用者識別出了光標籤的標識資訊之後,可以使用標識資訊從伺服器獲得該朝向資訊,之後,基於光標籤的朝向 資訊以及光標籤在使用者手機上的成像的透視變形,可以計算出用戶與光標籤的相對方向。 Various relative positioning methods known in the art can be used to determine the relative position relationship between the drone and the optical tag. In one embodiment, the drone can use its imaging device to perform image capture on the optical tag, and obtain its relative distance to the optical tag based on the captured image (the larger the image, the closer the distance; the smaller the image, the longer the distance Far), and the current orientation information of the drone can be obtained through the built-in sensor, and the relative direction of the drone and the light tag can be obtained based on the orientation information (preferably, the position of the light tag in the image can be further combined to make more Accurately determine the relative direction of the drone and the optical tag), so that the relative position relationship between the drone and the optical tag can be obtained based on the relative distance and relative direction between them. In addition, many imaging devices currently on the market are usually equipped with binocular cameras or depth cameras. The imaging devices equipped with binocular cameras or depth cameras are used to capture images of the optical tag, and the imaging device and light can be easily obtained. The relative distance between labels. In another embodiment, in order to determine the relative direction between the user and the optical tag, the orientation information of the optical tag can be stored in the server. After the user recognizes the identification information of the optical tag, the identification information can be obtained from the server The orientation information is then based on the orientation of the light tag The information and the perspective distortion of the imaging of the light tag on the user's mobile phone can be used to calculate the relative direction of the user and the light tag.

需要說明的是,該步驟101並非本發明的必要步驟,其在某些情況下可以被省略。例如,如果目標光標籤本身已經處於無人機的視野範圍內。 It should be noted that this step 101 is not a necessary step of the present invention, and it may be omitted in some cases. For example, if the target light tag itself is already in the field of view of the drone.

步驟102:通過無人機上安裝的CMOS攝像頭對周圍的某個光標籤傳遞的資訊進行採集,並識別所傳遞的資訊。 Step 102: Use the CMOS camera installed on the drone to collect information transmitted by a certain light tag around, and identify the transmitted information.

在飛到了買家的光標籤附近後,無人機可以查找其視野範圍內的光標籤,並通過其上安裝的CMOS攝像頭對查找到的光標籤傳遞的資訊進行採集並識別所傳遞的資訊。例如,無人機可以通過其CMOS攝像頭獲得某個光標籤的連續的多幀圖像,並針對每一幀圖像判斷該圖像上與光源的位置對應的部分是否存在條紋或者存在哪種類型的條紋,以及確定每一幀圖像所表示的資訊。在一個實施例中,如果無人機在其視野範圍內發現了一個光標籤,但由於距離過遠而無法識別出其傳遞的資訊,則無人機可以適當地接近該光標籤,以實現對光標籤所傳遞的資訊的識別。 After flying near the buyer's optical tag, the drone can search for the optical tag in its field of view, and collect the information transmitted by the found optical tag through the CMOS camera installed on it and identify the transmitted information. For example, a drone can obtain a continuous multi-frame image of a light tag through its CMOS camera, and for each frame of image, determine whether there are stripes or what type of stripes exist in the part of the image corresponding to the position of the light source. Stripes, and determine the information represented by each frame of image. In one embodiment, if the drone finds a light tag in its field of view, but the information transmitted by it cannot be recognized due to the distance, the drone can approach the light tag appropriately to achieve the light tag Identification of the information transmitted.

步驟103:基於所傳遞的資訊判斷所述光標籤是否是目標光標籤。 Step 103: Determine whether the optical label is a target optical label based on the transmitted information.

無人機可以基於光標籤所傳遞的資訊判斷該光標籤是否是目標光標籤。例如,無人機可以判斷所傳遞的資訊中是否顯式地或隱式地包含上述預定資訊。如果包含,則可以確定該光標籤是目標光標籤,否則,可以確定該光標籤不是目標光標籤。在一個實施例中,可以由無人機自身來判斷該光標籤是否是目標光標籤。在另一個實施例中,無人機可以將光標籤所傳遞 的資訊傳送到能夠與無人機進行通信的伺服器,由該伺服器基於所傳遞的資訊判斷該光標籤是否是目標光標籤,並將判斷結果發送給無人機。光標籤傳遞的資訊可以是加密後的資訊。 The drone can determine whether the optical tag is a target optical tag based on the information transmitted by the optical tag. For example, the drone can determine whether the transmitted information explicitly or implicitly contains the predetermined information. If it does, it can be determined that the optical tag is a target optical tag; otherwise, it can be determined that the optical tag is not a target optical tag. In an embodiment, the drone itself can determine whether the optical tag is a target optical tag. In another embodiment, the drone can deliver the light tag The information is sent to a server that can communicate with the drone, and the server determines whether the optical tag is a target optical tag based on the transmitted information, and sends the judgment result to the drone. The information transmitted by the optical label can be encrypted information.

步驟104:如果所述光標籤是目標光標籤,則控制無人機向所述光標籤行進。 Step 104: If the optical tag is a target optical tag, control the drone to travel to the optical tag.

由於無人機已經確定了視野範圍中的某個光標籤是飛行目的地,因此,無人機可以例如通過該光標籤的視覺引導來無誤差地向該光標籤飛行。在一個實施例中,無人機可以使用現有的測距技術停止於距離光標籤的某個距離處,例如距離光標籤幾十釐米的位置,避免碰撞到光標籤。在一個實施例中,無人機可以基於其拍攝到的光標籤的圖像的透視變形來進行相對定位並調整其飛行線路,使得無人機最終能夠停止於相對於光標籤的某一方向上,例如,光標籤的正前方。在該光標籤的正前方可以佈置有用於收貨的貨架,無人機可以容易地將貨物投遞到該貨架中。 Since the drone has determined that a certain optical tag in the field of view is the flight destination, the drone can fly to the optical tag without error, for example, through the visual guidance of the optical tag. In one embodiment, the drone can use the existing ranging technology to stop at a certain distance from the optical tag, for example, a position several tens of centimeters away from the optical tag, to avoid collision with the optical tag. In one embodiment, the drone can perform relative positioning and adjust its flight route based on the perspective deformation of the image of the light tag captured by it, so that the drone can finally stop in a certain direction relative to the light tag, for example, Right in front of the light label. A shelf for receiving goods can be arranged directly in front of the light tag, and the drone can easily deliver the goods to the shelf.

如果確定該光標籤不是目標光標籤,無人機可以對其附近的其他光標籤進行識別,其與上述過程類似,不再贅述。優選地,在一個實施例中,如果確定該光標籤不是目標光標籤,無人機可以通過該光標籤來確定出其與目標光標籤之間的相對位置關係。例如,無人機可以通過相對定位確定其與該光標籤之間的相對位置關係,並可以基於該光標籤傳遞的資訊識別出該光標籤(例如,獲得該光標籤的標識資訊)並獲得該光標籤與目標光標籤之間的相對位置關係(各個光標籤之間的相對位置關係例如可以被預先儲存並可以被無人機獲得),從而,可以確定出無人機與目標光標籤之間的相對 位置關係。在獲得了該相對位置關係後,無人機可以利用該相對位置關係以及可選的其他導航資訊(例如,GPS資訊)飛到目標光標籤附近。 If it is determined that the optical tag is not a target optical tag, the drone can identify other optical tags nearby, which is similar to the above process and will not be repeated. Preferably, in one embodiment, if it is determined that the optical tag is not the target optical tag, the drone can use the optical tag to determine the relative position relationship between it and the target optical tag. For example, the drone can determine the relative positional relationship between it and the optical tag through relative positioning, and can identify the optical tag based on the information transmitted by the optical tag (for example, obtain the identification information of the optical tag) and obtain the optical tag. The relative positional relationship between the tag and the target light tag (the relative positional relationship between each light tag can be stored in advance and can be obtained by the drone, for example), so that the relative position between the drone and the target light tag can be determined Positional relationship. After obtaining the relative position relationship, the drone can use the relative position relationship and optional other navigation information (for example, GPS information) to fly to the vicinity of the target light tag.

本領域技術人員可以理解,本發明的通過光標籤進行導引的無人機投遞方案並不限於在買家公寓處(例如公寓的陽臺、外牆等位置)佈置的光標籤,其顯然也可以適用於在更為空曠的地帶佈置的光標籤,例如,佈置在庭院中的光標籤。 Those skilled in the art can understand that the drone delivery solution guided by optical tags of the present invention is not limited to optical tags arranged at the buyer’s apartment (for example, the balcony, exterior wall, etc.) of the apartment, and it is obviously also applicable For light tags arranged in more open areas, for example, light tags arranged in courtyards.

另外,如果買家不具有自己的光標籤,或者希望將貨物投遞到其他光標籤所在的位置(例如,位於廣場、公園等中的公共光標籤,或者朋友家的光標籤),其可以將貨物投遞位址處的光標籤(也即目標光標籤)的相關資訊(例如,目標光標籤的ID資訊、地理位置資訊等)告知網路購物平臺。網路購物平臺可以將相應資訊告知無人機,無人機在飛到目標光標籤附近後,可以識別附近的光標籤傳遞的資訊(例如,光標籤傳遞的ID資訊),並最終確定出目標光標籤。 In addition, if the buyer does not have his own light tag, or wants to deliver the goods to the location where other light tags are located (for example, public light tags in squares, parks, etc., or light tags at a friend’s house), they can deliver the goods The relevant information (for example, ID information of the target light tag, geographic location information, etc.) of the optical tag at the delivery address (that is, the target optical tag) is notified to the online shopping platform. The online shopping platform can inform the drone of the corresponding information. After the drone flies near the target optical tag, it can identify the information transmitted by the nearby optical tag (for example, the ID information transmitted by the optical tag), and finally determine the target optical tag .

另外,本發明的通過光標籤進行導引的無人機投遞方案不僅可以適用於具有固定位置的光標籤,而且也可以適用於非固定的光標籤(例如,可以由人隨身攜帶的光標籤)。例如,如果買家在廣場活動時希望進行網路購物並希望能夠將貨物投遞到其當前位置,其可以將其當前的地理位置資訊告知網路購物平臺,並開啟其隨身攜帶的光標籤。該光標籤可以被配置為傳遞預定資訊,該預定資訊例如可以是該光標籤本身的ID資訊、買家在網路購物平臺的ID資訊、買家在網路購物平臺購物後從平臺接收的驗證碼、等等,只要該預定資訊是網路購物平臺知悉的並能夠用於標識該買家或其購買的貨物即可。無人機在飛到買家的位置附近後,可以識別附近的光標籤傳遞 的資訊等,並最終確定出目標光標籤(也即,買家隨身攜帶的光標籤),從而完成貨物投遞。在一個實施例中,網路購物平臺可以將無人機的預計到達時間告知買家,從而,買家可以在此期間自由活動,只要在預計到達時間時返回之前的位置附近即可。在一個實施例中,買家也可以不返回之前的位置,而是可以將其新位置發送到網路購物平臺,網路購物平臺可以將該新位置通知無人機,以便無人機能夠飛到該新位置附近。在一個實施例中,買家也可以將貨物投遞位址設置為其在某個時刻預計會到達的某個位址,並指示網路購物平臺在該時刻將貨物運送到該位址附近。 In addition, the drone delivery solution guided by optical tags of the present invention is not only applicable to optical tags with fixed positions, but also to non-fixed optical tags (for example, optical tags that can be carried by people). For example, if a buyer wishes to make online shopping during an event in the square and hopes to deliver the goods to his current location, he can inform the online shopping platform of his current geographic location information and turn on the light tag he carries with him. The optical tag can be configured to transmit predetermined information. The predetermined information can be, for example, the ID information of the optical tag itself, the ID information of the buyer on the online shopping platform, and the verification received from the platform after the buyer makes a purchase on the online shopping platform. Code, etc., as long as the predetermined information is known to the online shopping platform and can be used to identify the buyer or the goods purchased. After the drone flies near the buyer’s location, it can identify the nearby light tag delivery And finally determine the target light label (that is, the light label carried by the buyer) to complete the delivery of the goods. In one embodiment, the online shopping platform can inform the buyer of the estimated time of arrival of the drone, so that the buyer can freely move around during this period, as long as he returns to the vicinity of the previous location at the estimated time of arrival. In one embodiment, the buyer may not return to the previous location, but may send his new location to the online shopping platform, and the online shopping platform may notify the drone of the new location so that the drone can fly there. Near the new location. In one embodiment, the buyer can also set the delivery address of the goods to a certain address that is expected to arrive at a certain time, and instruct the online shopping platform to deliver the goods to the vicinity of the address at that time.

上文中以網路購物的無人機投遞應用為例進行了描述,但可以理解,通過光標籤的無人機導引並不限於上述應用,而是可以用於需要無人機的精準定位的各種應用,例如無人機自動充電、無人機自動停泊、無人機線路導航等等。另外,本領域技術人員可以理解,本發明的基於光標籤的導引並非僅僅適用於無人機,而是也可以適用於其他類型的能夠自主移動的機器,例如,無人駕駛汽車、機器人等。無人駕駛汽車或機器人上可以安裝有CMOS攝像頭,並可以以與無人機類似的方式與光標籤進行交互。在一個實施例中,該能夠自主移動的機器的一部分是可移動的,但另一部分是固定的。例如,該能夠自主移動的機器可以是位於流水線上或倉庫中的一個通常具有固定位置的機器,該機器的主體部分在大多數情況下可以是固定的,但具有一個或多個可移動的機械臂。CMOS攝像頭可以安裝在該機器的固定部分,以用於確定光標籤的位置,從而可以將該機器的可移動部分(例如機械臂)導引到光標籤的位置。對於這種機器,顯然,上文中描述的步驟101是不需要 的。另外,可以理解,CMOS攝像頭也可以安裝在該機器的可移動部分上,例如,安裝在每個機械臂上。 The above description takes the drone delivery application for online shopping as an example, but it is understandable that the drone guidance through optical tags is not limited to the above applications, but can be used for various applications that require precise positioning of the drone. For example, UAV automatic charging, UAV automatic parking, UAV line navigation and so on. In addition, those skilled in the art can understand that the optical tag-based guidance of the present invention is not only applicable to drones, but can also be applied to other types of autonomously moving machines, such as unmanned vehicles, robots, etc. CMOS cameras can be installed on unmanned cars or robots and can interact with light tags in a similar way to drones. In one embodiment, a part of the autonomously movable machine is movable, but another part is fixed. For example, the machine that can move autonomously may be a machine located on an assembly line or in a warehouse that usually has a fixed position. The main part of the machine can be fixed in most cases, but has one or more movable machines. arm. The CMOS camera can be installed in the fixed part of the machine to determine the position of the optical label, so that the movable part of the machine (for example, the robotic arm) can be guided to the position of the optical label. For this kind of machine, obviously, step 101 described above is not needed of. In addition, it can be understood that the CMOS camera can also be installed on a movable part of the machine, for example, on each robotic arm.

本文中針對“各個實施例”、“一些實施例”、“一個實施例”、或“實施例”等的參考指代的是結合所述實施例所描述的特定特徵、結構、或性質包括在至少一個實施例中。因此,短語“在各個實施例中”、“在一些實施例中”、“在一個實施例中”、或“在實施例中”等在整個本文中各處的出現並非必須指代相同的實施例。此外,特定特徵、結構、或性質可以在一個或多個實施例中以任何合適方式組合。因此,結合一個實施例中所示出或描述的特定特徵、結構或性質可以整體地或部分地與一個或多個其他實施例的特徵、結構、或性質無限制地組合,只要該組合不是非邏輯性的或不能工作。本文中出現的類似於“根據A”或“基於A”的表述意指非排他性的,也即,“根據A”可以涵蓋“僅僅根據A”,也可以涵蓋“根據A和B”,除非特別聲明或者根據上下文明確可知其含義為“僅僅根據A”。在本申請中為了清楚說明,以一定的順序描述了一些示意性的操作步驟,但本領域技術人員可以理解,這些操作步驟中的每一個並非是必不可少的,其中的一些步驟可以被省略或者被其他步驟替代。這些操作步驟也並非必須以所示的方式依次執行,相反,這些操作步驟中的一些可以根據實際需要以不同的循序執行,或者並存執行,只要新的執行方式不是非邏輯性的或不能工作。 References to "various embodiments", "some embodiments", "one embodiment", or "an embodiment" herein refer to the specific features, structures, or properties described in connection with the embodiments included in In at least one embodiment. Therefore, the appearances of the phrases "in various embodiments", "in some embodiments", "in one embodiment", or "in an embodiment" in various places throughout this document do not necessarily refer to the same Examples. In addition, specific features, structures, or properties can be combined in any suitable manner in one or more embodiments. Therefore, a specific feature, structure, or property shown or described in one embodiment can be combined in whole or in part with the feature, structure, or property of one or more other embodiments without limitation, as long as the combination is not non-limiting. Logical or not working. Expressions similar to "according to A" or "based on A" appearing in this article mean non-exclusive, that is, "according to A" can cover "only according to A" or "according to A and B" unless specifically The statement or the context clearly knows its meaning as "only based on A". For clarity in this application, some illustrative operating steps are described in a certain order, but those skilled in the art can understand that each of these operating steps is not essential, and some of the steps can be omitted Or replaced by other steps. These operating steps do not have to be executed sequentially in the manner shown. On the contrary, some of these operating steps can be executed in different sequences according to actual needs, or executed concurrently, as long as the new execution method is not illogical or unable to work.

由此描述了本發明的至少一個實施例的幾個方面,可以理解,對本領域技術人員來說容易地進行各種改變、修改和改進。這種改變、修改和改進意於在本發明的精神和範圍內。 Thus, several aspects of at least one embodiment of the present invention have been described, and it can be understood that various changes, modifications and improvements can be easily made by those skilled in the art. Such changes, modifications and improvements are intended to be within the spirit and scope of the present invention.

Claims (18)

一種對能夠自主移動的機器進行導引的系統,包括:能夠自主移動的機器,其上安裝有滾動快門攝像頭;以及光通信裝置,其包括光源,所述光源被配置為能夠工作於至少兩種模式,所述至少兩種模式包括第一模式和第二模式,以及其中,在所述第一模式下,通過具有第一頻率的光源控制信號控制所述光源發出的光的屬性以所述第一頻率持續變化,以在通過所述滾動快門攝像頭對所述光源拍攝時所獲得的所述光源的圖像上呈現出條紋,在所述第二模式下,在通過所述滾動快門攝像頭對所述光源拍攝時所獲得的所述光源的圖像上不呈現條紋。 A system for guiding a machine that can move autonomously, including: a machine that can move autonomously, on which a rolling shutter camera is installed; and an optical communication device, which includes a light source configured to work in at least two types Mode, the at least two modes include a first mode and a second mode, and wherein, in the first mode, the properties of the light emitted by the light source are controlled by a light source control signal having a first frequency according to the first mode A frequency keeps changing so that stripes appear on the image of the light source obtained when the light source is photographed by the rolling shutter camera. In the second mode, when the rolling shutter camera is used for the image of the light source, Stripes are not present on the image of the light source obtained when the light source is photographed. 如請求項1所述的系統,其中,在所述第二模式下,通過具有與所述第一頻率不同的所述第二頻率的光源控制信號控制所述光源發出的光的屬性以第二頻率持續變化,以在通過所述滾動快門攝像頭對所述光源拍攝時所獲得的所述光源的圖像上不呈現條紋。 The system according to claim 1, wherein, in the second mode, the light source control signal having the second frequency different from the first frequency controls the attribute of the light emitted by the light source to the second The frequency is continuously changed so that no stripes appear on the image of the light source obtained when the light source is photographed by the rolling shutter camera. 如請求項2所述的系統,其中,所述第二頻率大於所述第一頻率。 The system according to claim 2, wherein the second frequency is greater than the first frequency. 如請求項1所述的系統,其中,在所述第二模式下,所述光源發出的光的屬性以所述第一頻率持續變化,並在通過所述滾動快門攝像頭對所述光源拍攝時所獲得的所述光源的圖像上呈現出與所述第一模式下的條紋不同的條紋。 The system according to claim 1, wherein, in the second mode, the attribute of the light emitted by the light source continuously changes at the first frequency, and when the light source is photographed by the rolling shutter camera The obtained image of the light source presents stripes different from the stripes in the first mode. 如請求項1所述的系統,其中,所述光源為條狀光源或球狀光源。 The system according to claim 1, wherein the light source is a bar light source or a spherical light source. 如請求項1所述的系統,其中,所述能夠自主移動的機器包括僅其部分能夠移動的機器。 The system according to claim 1, wherein the machine capable of autonomous movement includes a machine whose only part can move. 一種使用如請求項1-6中任一項所述的系統對能夠自主移動的機器進行導引的方法,包括:通過所述能夠自主移動的機器上安裝的滾動快門攝像頭對周圍的某個光通信裝置傳遞的資訊進行採集,並識別所傳遞的資訊;基於所傳遞的資訊判斷所述光通信裝置是否是目標光通信裝置;以及如果所述光通信裝置是目標光通信裝置,則控制所述能夠自主移動的機器或者其部分向所述光通信裝置行進。 A method for guiding a machine capable of autonomous movement using the system according to any one of claim items 1-6, comprising: using a rolling shutter camera installed on the machine capable of autonomous movement to detect a certain light in the surroundings. The information transmitted by the communication device is collected, and the transmitted information is identified; based on the transmitted information, it is determined whether the optical communication device is a target optical communication device; and if the optical communication device is a target optical communication device, controlling the A machine that can move autonomously or a part thereof travels to the optical communication device. 如請求項7所述的方法,還包括:如果所述光通信裝置不是目標光通信裝置,則:基於所述光通信裝置傳遞的資訊識別所述光通信裝置,並獲得所述光通信裝置與所述目標光通信裝置之間的相對位置關係;確定所述能夠自主移動的機器或者其部分與所述光通信裝置之間的相對位置關係;確定所述目標光通信裝置與所述能夠自主移動的機器或者其部分之間的相對位置關係;以及至少部分地基於所述目標光通信裝置與所述能夠自主移動的機器或者其部分之間的相對位置關係將所述能夠自主移動的機器或者其部分引導向所述目標光通信裝置。 The method according to claim 7, further comprising: if the optical communication device is not a target optical communication device, identifying the optical communication device based on the information transmitted by the optical communication device, and obtaining the optical communication device and The relative positional relationship between the target optical communication device; determine the relative positional relationship between the autonomously movable machine or its part and the optical communication device; determine the target optical communication device and the autonomously movable The relative positional relationship between the machine or its parts; and based at least in part on the relative positional relationship between the target optical communication device and the autonomously movable machine or its part. Partially guide the target optical communication device. 如請求項8所述的方法,其中,確定所述能夠自主移動的機器或者其部分與所述光通信裝置之間的相對位置關係包括: 通過相對定位來確定所述能夠自主移動的機器或者其部分與所述光通信裝置之間的相對位置關係。 The method according to claim 8, wherein determining the relative positional relationship between the autonomously movable machine or part thereof and the optical communication device includes: The relative positional relationship between the machine or its part that can move autonomously and the optical communication device is determined by relative positioning. 如請求項7所述的方法,其中,通過所述能夠自主移動的機器上安裝的滾動快門攝像頭對周圍的某個光通信裝置傳遞的資訊進行採集並識別所傳遞的資訊包括:通過所述滾動快門攝像頭獲得所述光通信裝置的連續的多幀圖像;針對每一幀圖像,判斷所述圖像上與所述光源的位置對應的部分是否存在條紋或者存在哪種類型的條紋;以及確定每一幀圖像所表示的資訊。 The method according to claim 7, wherein collecting information transmitted by a certain optical communication device around and identifying the transmitted information through the rolling shutter camera installed on the machine capable of moving autonomously includes: The shutter camera obtains continuous multiple frames of images of the optical communication device; for each frame of image, determine whether there are fringes in the part of the image corresponding to the position of the light source or what type of fringes exist; and Determine the information represented by each frame of image. 如請求項7所述的方法,還包括:首先控制所述能夠自主移動的機器行進到所述目標光通信裝置附近。 The method according to claim 7, further comprising: first controlling the machine capable of autonomous movement to travel near the target optical communication device. 如請求項11所述的方法,其中,首先控制所述能夠自主移動的機器行進到目標光通信裝置附近包括:至少部分地通過衛星導航系統將所述能夠自主移動的機器引導到所述目標光通信裝置附近;和/或至少部分地利用其他光通信裝置與所述目標光通信裝置之間的相對位置關係將所述能夠自主移動的機器引導到所述目標光通信裝置附近。 The method according to claim 11, wherein first controlling the autonomously movable machine to travel near the target optical communication device comprises: guiding the autonomously movable machine to the target optical communication device at least in part through a satellite navigation system. Near the communication device; and/or at least partially utilize the relative positional relationship between other optical communication devices and the target optical communication device to guide the autonomously movable machine to the vicinity of the target optical communication device. 如請求項12所述的方法,其中,至少部分地利用其他光通信裝置與所述目標光通信裝置之間的相對位置關係將所述能夠自主移動的機器引導到所述目標光通信裝置附近包括:所述能夠自主移動的機器在行進時識別所述其他光通信裝置,並獲得所述其他光通信裝置與所述目標光通信裝置之間的相對位置關係; 確定所述能夠自主移動的機器與所述其他光通信裝置之間的相對位置關係;確定所述目標光通信裝置與所述能夠自主移動的機器之間的相對位置關係;以及至少部分地基於所述目標光通信裝置與所述能夠自主移動的機器之間的相對位置關係將所述能夠自主移動的機器引導到所述目標光通信裝置附近。 The method according to claim 12, wherein, at least partially using the relative position relationship between the other optical communication device and the target optical communication device to guide the autonomously movable machine to the vicinity of the target optical communication device comprises : The machine capable of autonomous movement recognizes the other optical communication device while traveling, and obtains the relative position relationship between the other optical communication device and the target optical communication device; Determine the relative positional relationship between the autonomously movable machine and the other optical communication device; determine the relative positional relationship between the target optical communication device and the autonomously movable machine; and based at least in part on the The relative positional relationship between the target optical communication device and the autonomously movable machine guides the autonomously movable machine to the vicinity of the target optical communication device. 如請求項7所述的方法,其中,基於所傳遞的資訊判斷所述光通信裝置是否是目標光通信裝置包括:判斷所傳遞的資訊中是否顯式地或隱式地包含預定資訊。 The method according to claim 7, wherein determining whether the optical communication device is a target optical communication device based on the transmitted information includes: determining whether the transmitted information explicitly or implicitly includes predetermined information. 如請求項14所述的方法,其中,所述預定資訊是預定的識別字或驗證碼。 The method according to claim 14, wherein the predetermined information is a predetermined identification or verification code. 如請求項7所述的方法,其中,基於所傳遞的資訊判斷所述光通信裝置是否是目標光通信裝置包括:由所述能夠自主移動的機器判斷所述光通信裝置是否是目標光通信裝置;或者所述能夠自主移動的機器將所傳遞的資訊傳送到伺服器,由所述伺服器基於所傳遞的資訊判斷所述光通信裝置是否是目標光通信裝置,並將判斷結果發送給所述能夠自主移動的機器。 The method according to claim 7, wherein determining whether the optical communication device is a target optical communication device based on the transmitted information comprises: determining whether the optical communication device is a target optical communication device by the machine capable of autonomous movement Or the machine that can move autonomously transmits the transmitted information to the server, and the server determines whether the optical communication device is a target optical communication device based on the transmitted information, and sends the determination result to the A machine that can move autonomously. 一種能夠自主移動的機器,包括滾動快門攝像頭、處理器和記憶體,所述記憶體中儲存有電腦程式,所述電腦程式在被所述處理器執行時能夠用於實現如請求項7-16中任一項所述的方法。 A machine that can move autonomously, including a rolling shutter camera, a processor, and a memory. The memory stores a computer program. When the computer program is executed by the processor, the computer program can be used to implement items such as request 7-16. The method of any one of. 一種儲存介質,其中儲存有電腦程式,所述電腦程式在被執行時能夠用於實現如請求項7-16中任一項所述的方法。A storage medium in which a computer program is stored, and when the computer program is executed, it can be used to implement the method described in any one of Claims 7-16.
TW108116064A 2018-05-09 2019-05-09 System and method for guiding a machine capable of autonomous movement TWI702805B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810435227.7 2018-05-09
CN201810435227.7A CN110471402A (en) 2018-05-09 2018-05-09 The system and method that the machine for capableing of autonomous is guided

Publications (2)

Publication Number Publication Date
TW201947893A TW201947893A (en) 2019-12-16
TWI702805B true TWI702805B (en) 2020-08-21

Family

ID=68468461

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108116064A TWI702805B (en) 2018-05-09 2019-05-09 System and method for guiding a machine capable of autonomous movement

Country Status (3)

Country Link
CN (1) CN110471402A (en)
TW (1) TWI702805B (en)
WO (1) WO2019214642A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI738271B (en) * 2020-03-30 2021-09-01 新能量科技股份有限公司 Automatically guiding method for self-propelled apparatus
US11553824B2 (en) 2020-06-25 2023-01-17 Power Logic Tech, Inc. Automatic guiding method for self-propelled apparatus
WO2022134057A1 (en) * 2020-12-25 2022-06-30 Intel Corporation Re-localization of robot
WO2023005301A1 (en) * 2021-07-28 2023-02-02 广东奥普特科技股份有限公司 Agv forklift intelligent guide device, agv forklift intelligent guide method and agv forklift intelligent guide system
CN113607158B (en) * 2021-08-05 2024-11-19 中铁工程装备集团有限公司 Flat panel light source visual recognition matching positioning method and system based on visible light communication

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1983397B1 (en) * 2007-04-17 2012-12-12 Exelis Inc. Landmark navigation for vehicles using blinking optical beacons
CN104243030A (en) * 2013-04-09 2014-12-24 珠海横琴华策光通信科技有限公司 Method and device for transmitting/obtaining information through visible light signals

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7234641B2 (en) * 2004-12-01 2007-06-26 Datalogic Scanning, Inc. Illumination pulsing method for a data reader
US8150255B2 (en) * 2010-06-25 2012-04-03 Apple Inc. Flash control for electronic rolling shutter
JP6053224B2 (en) * 2012-03-23 2016-12-27 株式会社オプトエレクトロニクス Image reading device
WO2014063150A2 (en) * 2012-10-19 2014-04-24 Daniel Ryan Self-identifying one-way authentication method using optical signals
EP3588933B1 (en) * 2014-08-29 2022-03-30 Sony Group Corporation Control device, control method, and program
CN104661000B (en) * 2015-03-17 2018-01-09 珠海横琴华策光通信科技有限公司 Alignment system, based on the image of located space come the method and apparatus that is positioned
CN105515657B (en) * 2015-11-19 2018-01-02 广东顺德中山大学卡内基梅隆大学国际联合研究院 A kind of visible light camera communication system using LED lamp MIMO array framework
KR102512729B1 (en) * 2015-12-24 2023-03-22 엘지전자 주식회사 Night vision image display apparatus and method of processing the night vision image
CN107370913B (en) * 2016-05-11 2021-03-16 松下知识产权经营株式会社 Camera device, camera system, and light detection method
CN109964321A (en) * 2016-10-13 2019-07-02 六度空间有限责任公司 Method and apparatus for indoor positioning

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1983397B1 (en) * 2007-04-17 2012-12-12 Exelis Inc. Landmark navigation for vehicles using blinking optical beacons
CN104243030A (en) * 2013-04-09 2014-12-24 珠海横琴华策光通信科技有限公司 Method and device for transmitting/obtaining information through visible light signals
CN104243029A (en) * 2013-04-09 2014-12-24 珠海横琴华策光通信科技有限公司 Method and device for transmitting/obtaining identification information through visible light signals and method and device for carrying out positioning through visible light signals

Also Published As

Publication number Publication date
TW201947893A (en) 2019-12-16
WO2019214642A1 (en) 2019-11-14
CN110471402A (en) 2019-11-19

Similar Documents

Publication Publication Date Title
TWI702805B (en) System and method for guiding a machine capable of autonomous movement
TWI746973B (en) Method for guiding a machine capable of autonomous movement through optical communication device
US10371504B2 (en) Light fixture commissioning using depth sensing device
WO2018041136A1 (en) Optical communication device and system and corresponding information transferring and receiving method
CN103427902A (en) Method, device and system of utilizing visible light to transmit information and light source
TWI745699B (en) Optical communication device and method for transmitting and receiving information
CN111955054B (en) Lighting system
CN109936712B (en) Positioning method and system based on optical label
TWI837854B (en) Depth processing system and operational method thereof
WO2019120052A1 (en) Method and apparatus for decoding information transmitted by optical source
Gschwandtner et al. Infrared camera calibration for dense depth map construction
WO2019120053A1 (en) Optical communication apparatus having reference light source, and corresponding information transmitting and receiving methods
US20230347502A1 (en) Mobile robot with improved accuracy and generating three-dimensional depth map
TWI713887B (en) Optical communication device and system and corresponding information transmission and reception method
CN103493115A (en) Estimating control feature from remote control with camera
WO2020062876A1 (en) Service provision method and system based on optical label
WO2019120051A1 (en) Optical label security determination method and system
HK40013131A (en) Systems and methods for guiding machines capable of autonomous movement
HK40013135A (en) Method for guiding a machine capable of autonomous movement through optical communication devices
HK40005608A (en) Optical tag-based positioning method and system
HK40005608B (en) Optical tag-based positioning method and system