[go: up one dir, main page]

TWI752621B - Apparatus for distance measurement, safe distance warning method and system thereof - Google Patents

Apparatus for distance measurement, safe distance warning method and system thereof Download PDF

Info

Publication number
TWI752621B
TWI752621B TW109130704A TW109130704A TWI752621B TW I752621 B TWI752621 B TW I752621B TW 109130704 A TW109130704 A TW 109130704A TW 109130704 A TW109130704 A TW 109130704A TW I752621 B TWI752621 B TW I752621B
Authority
TW
Taiwan
Prior art keywords
distance measuring
measuring device
distance
communication unit
microcontroller
Prior art date
Application number
TW109130704A
Other languages
Chinese (zh)
Other versions
TW202210867A (en
Inventor
賴鴻銓
Original Assignee
創鈺國際科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 創鈺國際科技股份有限公司 filed Critical 創鈺國際科技股份有限公司
Priority to TW109130704A priority Critical patent/TWI752621B/en
Application granted granted Critical
Publication of TWI752621B publication Critical patent/TWI752621B/en
Publication of TW202210867A publication Critical patent/TW202210867A/en

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

An apparatus for distance measurement, a safe distance warning method and a system thereof are provided. The apparatus includes two communication units that can be switched to a specific operating mode. While activating a first communication unit for generating sensing signals, a distance can be calculated according to sensed signals. While activating a second communication unit, the apparatus acts as a communication node in a network. In the safe distance warning method performed in the apparatus for distance measurement, a signal strength is obtained according to the sensed signals and is used to calculate a distance from another apparatus. The distance is compared with a safe distance for determining if a warning signal is generated. A server of the system is able to establish a contact history for each of the apparatuses for distance measurement according to the distances between the apparatus and other apparatuses, the identifiers thereof and times.

Description

距離量測裝置、安全距離警示方法以及系統Distance measuring device, safe distance warning method and system

說明書公開一種距離量測裝置,特別是指可以切換作為安全警示裝置或通信裝置模式的一種距離量測裝置、安全距離警示方法與其系統。The specification discloses a distance measuring device, in particular, a distance measuring device, a safety distance warning method and a system thereof that can be switched as a safety warning device or a communication device mode.

在特殊傳染病的流行之時,人與人之間除了個人防疫措施外,例如配戴口罩、勤洗手與環境消毒外,針對可能以空氣或口沫為傳染途徑的傳染病,在與人有接觸的環境中還需要保持一個安全距離。When special infectious diseases are prevalent, in addition to personal epidemic prevention measures, such as wearing masks, frequent hand washing and environmental disinfection, for infectious diseases that may be transmitted through the air or mouth foam, in contact with people It is also necessary to maintain a safe distance in the contact environment.

在與人保持安全距離的必要措施中,常見的是人們不容易隨時注意是否有保持在一安全距離下,而習知技術也未見有保持安全距離的有效方案,或者是,當有不注意而與人接觸或低於安全距離時,也需要有警示的效果。並且,當有人一旦染病,後續的接觸史調查更顯不易。Among the necessary measures to maintain a safe distance from people, it is often difficult for people to pay attention to whether they have kept a safe distance at any time, and there is no effective solution for maintaining a safe distance in the prior art. When in contact with people or below a safe distance, it also needs to have a warning effect. Moreover, when someone is infected, the follow-up contact history investigation is even more difficult.

有鑑於與人保持安全距離的科技需求,說明書公開一種距離量測裝置、安全距離警示方法以及系統,利用可以配戴於使用者身上的距離量測裝置產生的信號計算與其他裝置之間的距離,在此安全距離以內的裝置,會記錄彼此接觸時間,同時也會發出震動與聲音提醒使用者,藉此達到安距離警示的目的,並且,此距離量測裝置更具備通信功能,與其他裝置形成物聯網路,可以將所量測的信息傳送出去。In view of the technical requirements of maintaining a safe distance from people, the specification discloses a distance measuring device, a safe distance warning method and a system, which utilizes the signals generated by the distance measuring device that can be worn on the user to calculate the distance to other devices. , The devices within this safe distance will record the contact time of each other, and will also emit vibration and sound to remind the user, so as to achieve the purpose of safe distance warning, and this distance measuring device also has a communication function, and other devices The Internet of Things is formed, and the measured information can be transmitted.

根據實施例,距離量測裝置主要元件包括一微控制器、第一通信單元、第二通信單元以及切換單元,第一通信單元發出感測信號以及接收信號,第二通信單元用以傳輸數據,切換單元則可通過微控制器切換距離量測裝置之工作模式,包括模式一:啟動第一通信單元,用以產生感測信號,以及定位距離量測裝置;模式二:啟動第二通信單元,使距離量測裝置成為一網路中的一通信節點;以及模式三:啟動第一通信單元與第二通信單元,以同時運行感測、定位以及傳送信息的功能。距離量測裝置設有一記憶單元,用以儲存距離量測裝置之一識別碼,以及記錄距離量測裝置的感測與定位記錄。According to an embodiment, the main components of the distance measuring device include a microcontroller, a first communication unit, a second communication unit and a switching unit, the first communication unit sends out sensing signals and receives signals, the second communication unit is used for transmitting data, The switching unit can switch the working mode of the distance measuring device through the microcontroller, including mode 1: activating the first communication unit to generate a sensing signal and positioning the distance measuring device; mode 2: activating the second communication unit, The distance measuring device becomes a communication node in a network; and the third mode: the first communication unit and the second communication unit are activated to simultaneously perform the functions of sensing, positioning and transmitting information. The distance measuring device is provided with a memory unit for storing an identification code of the distance measuring device and recording the sensing and positioning records of the distance measuring device.

其中微控制器執行安全距離警示方法,根據一實施例,其中先根據切換單元產生的控制信號啟動第一通信單元,經第一通信單元產生感測信號,即感測到由另一距離量測裝置產生的信號,以得到一信號強度,之後可以根據此信號強度計算與另一距離量測裝置的距離,再根據此距離判斷是否與另一距離量測裝置處於低於一安全距離的位置。The microcontroller executes the safety distance warning method. According to an embodiment, the first communication unit is activated according to the control signal generated by the switching unit, and the sensing signal is generated by the first communication unit, that is, the sensing signal is detected by another distance measurement. The signal generated by the device can obtain a signal strength, and then the distance to another distance measuring device can be calculated according to the signal strength, and then according to the distance, it can be judged whether it is at a position lower than a safe distance from the other distance measuring device.

進一步地,若距離低於此安全距離,即發出警示信息,可以蜂鳴器或震動裝置產生。更者,於感測到由另一距離量測裝置產生的信號時,同時接收到此距離量測裝置的識別碼,隨同計算得到的距離儲存於記憶單元中。Further, if the distance is lower than the safe distance, a warning message is issued, which can be generated by a buzzer or a vibration device. Furthermore, when a signal generated by another distance measuring device is sensed, the identification code of the distance measuring device is simultaneously received, and the calculated distance is stored in the memory unit along with it.

進一步地,當微控制器根據切換單元產生的控制信號啟動第二通信單元,可通過網路(如物聯網)連接伺服器,如此可以將記憶單元中儲存的多筆距離、時間與多個距離量測裝置的識別碼形成的記錄傳送至伺服器,伺服器建立關於距離量測裝置的一接觸史。Further, when the microcontroller activates the second communication unit according to the control signal generated by the switching unit, the server can be connected through a network (such as the Internet of Things), so that the distances, times and distances stored in the memory unit can be stored. The record formed by the identification code of the measuring device is sent to the server, which establishes a contact history about the distance measuring device.

優選地,在距離量測裝置中,第一通信單元為第一藍牙通信電路或超寬頻通信電路;第二通信單元具有第二藍牙通信電路。其中第一通信單元通過第一藍牙通信電路發出感測信號,用來感測另一距離量測裝置,或通過超寬頻通信電路發出信標信號,用於定位距離量測裝置;第二通信單元的第二藍牙通信電路發出通信信號,用以連線另一距離量測裝置。Preferably, in the distance measuring device, the first communication unit is a first Bluetooth communication circuit or an ultra-wideband communication circuit; the second communication unit has a second Bluetooth communication circuit. The first communication unit sends a sensing signal through the first Bluetooth communication circuit to sense another distance measuring device, or sends a beacon signal through the ultra-wideband communication circuit to locate the distance measuring device; the second communication unit The second bluetooth communication circuit of the device sends out a communication signal for connecting to another distance measuring device.

根據距離量測裝置的實施例,其中包括重力感測器,用以判斷距離量測裝置是否處於移動中,若判斷為靜止狀態,即通過微控制器使距離量測裝置進入一省電模式。According to an embodiment of the distance measuring device, a gravity sensor is included to determine whether the distance measuring device is moving, and if it is determined to be in a stationary state, the microcontroller enters a power saving mode of the distance measuring device.

在一實施例中,利用多個距離量測裝置建立一網狀網路的系統,系統中設有一伺服器以及多個距離量測裝置,各距離量測裝置的微控制器執行安全距離警示方法,當距離量測裝置取得與另一距離量測裝置的距離後,於低於一安全距離時,發出警示信息,可以蜂鳴聲音與震動表示。In one embodiment, a system using a plurality of distance measuring devices to establish a mesh network is provided with a server and a plurality of distance measuring devices in the system, and the microcontroller of each distance measuring device executes the safe distance warning method , when the distance measuring device obtains the distance from another distance measuring device, when the distance is lower than a safe distance, a warning message is issued, which can be indicated by buzzing sound and vibration.

另外,以裝置中的記憶單元儲存距離以及另一距離量測裝置的識別碼,當儲存與多個距離量測裝置的多筆距離與各距離量測裝置的識別碼時,可以提供給伺服器後,由伺服器建立關於距離量測裝置的接觸史。In addition, the distance and the identification code of another distance measuring device are stored in the memory unit in the device. When storing multiple distances with multiple distance measuring devices and the identification code of each distance measuring device, it can be provided to the server. Afterwards, the contact history about the distance measuring device is established by the server.

為使能更進一步瞭解本發明的特徵及技術內容,請參閱以下有關本發明的詳細說明與圖式,然而所提供的圖式僅用於提供參考與說明,並非用來對本發明加以限制。For a further understanding of the features and technical content of the present invention, please refer to the following detailed descriptions and drawings of the present invention. However, the drawings provided are only for reference and description, and are not intended to limit the present invention.

以下是通過特定的具體實施例來說明本發明的實施方式,本領域技術人員可由本說明書所公開的內容瞭解本發明的優點與效果。本發明可通過其他不同的具體實施例加以施行或應用,本說明書中的各項細節也可基於不同觀點與應用,在不悖離本發明的構思下進行各種修改與變更。另外,本發明的附圖僅為簡單示意說明,並非依實際尺寸的描繪,事先聲明。以下的實施方式將進一步詳細說明本發明的相關技術內容,但所公開的內容並非用以限制本發明的保護範圍。The following are specific embodiments to illustrate the embodiments of the present invention, and those skilled in the art can understand the advantages and effects of the present invention from the content disclosed in this specification. The present invention can be implemented or applied through other different specific embodiments, and various details in this specification can also be modified and changed based on different viewpoints and applications without departing from the concept of the present invention. In addition, the drawings of the present invention are merely schematic illustrations, and are not drawn according to the actual size, and are stated in advance. The following embodiments will further describe the related technical contents of the present invention in detail, but the disclosed contents are not intended to limit the protection scope of the present invention.

應當可以理解的是,雖然本文中可能會使用到“第一”、“第二”、“第三”等術語來描述各種元件或者信號,但這些元件或者信號不應受這些術語的限制。這些術語主要是用以區分一元件與另一元件,或者一信號與另一信號。另外,本文中所使用的術語“或”,應視實際情況可能包括相關聯的列出項目中的任一個或者多個的組合。It should be understood that although terms such as "first", "second" and "third" may be used herein to describe various elements or signals, these elements or signals should not be limited by these terms. These terms are primarily used to distinguish one element from another element, or a signal from another signal. In addition, the term "or", as used herein, should include any one or a combination of more of the associated listed items, as the case may be.

說明書公開一種距離量測裝置、安全距離警示方法以及系統,距離量測裝置為一種具有通信能力的電子裝置,可以為使用者攜帶的可攜式裝置,用以執行安全距離警示的功能;也可為安裝在固定位置的裝置,用於執行定位與作為網路節點的功能。The specification discloses a distance measuring device, a safety distance warning method and a system. The distance measuring device is an electronic device with communication capability, which can be a portable device carried by a user to perform a safety distance warning function; A device installed at a fixed location to perform positioning and function as a network node.

圖1顯示距離量測裝置的電路模組實施例圖,其中元件可為電路元件,或與軟體或韌體實現的功能元件。FIG. 1 shows a diagram of an embodiment of a circuit module of the distance measuring device, wherein the components can be circuit components or functional components implemented with software or firmware.

距離量測裝置設有處理其中元件產生的信息與運作的微控制器10,以及各電性連接微控制器10的元件,如收發無線信息的第一通信單元103與第二通信單元104,距離量測裝置設有電池組105,以及幾種感測器,如用於偵測附近電磁信號變動的電磁感應器106以及感測距離量測裝置動作的重力感測器107。距離量測裝置設有以各種形式的儲存器實現的記憶單元108,記憶單元108在距離量測的用途上可用以儲存距離量測裝置的識別碼以及儲存距離量測裝置的感測與定位記錄。The distance measuring device is provided with a microcontroller 10 that processes information and operations generated by the components, and components that are electrically connected to the microcontroller 10, such as a first communication unit 103 and a second communication unit 104 that transmit and receive wireless information. The measuring device is provided with a battery pack 105 and several sensors, such as an electromagnetic sensor 106 for detecting changes in nearby electromagnetic signals and a gravity sensor 107 for sensing the movement of the distance measuring device. The distance measuring device is provided with a memory unit 108 implemented in various forms of storage. The memory unit 108 can be used to store the identification code of the distance measuring device and the sensing and positioning records of the distance measuring device for the purpose of distance measurement. .

根據實施例,距離量測裝置中可包括兩種通信單元的組合,其中第一通信單元103可為第一藍牙(Bluetooth™)通信電路或一超寬頻(Ultra-wideband,UWB)通信電路,用以發出感測信號以及接收由另一裝置產生的信號。舉例來說,感測信號可以感測到射頻識別標籤(Bluetooth™或UWB)的信息,或是接收到另一電子裝置(如相同設計的距離量測裝置)產生的信息。在一定位的應用中,第一通信單元103通過第一藍牙通信電路發出感測信號(Bluetooth™),用以感測四周電子裝置,或通過超寬頻通信電路發出信標信號(UWB),用於定位距離量測裝置的用途。According to an embodiment, the distance measurement device may include a combination of two communication units, wherein the first communication unit 103 may be a first Bluetooth (Bluetooth™) communication circuit or an Ultra-wideband (Ultra-wideband, UWB) communication circuit. to send out sensing signals and receive signals generated by another device. For example, the sensing signal can sense information from a radio frequency identification tag (Bluetooth™ or UWB), or receive information generated by another electronic device (such as a distance measuring device of the same design). In a positioning application, the first communication unit 103 sends a sensing signal (Bluetooth™) through the first Bluetooth communication circuit to sense surrounding electronic devices, or sends a beacon signal (UWB) through the ultra-wideband communication circuit to use It is used for positioning distance measuring devices.

而第二通信單元104則為具有第二藍牙通信電路的通信電路,通過第二通信單元104的第二藍牙通信電路發出通信信號,用以傳輸數據,可用以藍牙通信技術連線另一電子裝置,如另一具有相同配置的距離量測裝置。在一實施例中,可以連線到網路,如由多個距離量測裝置或各式通信節點形成的網狀網路,以網狀網路部署一個物聯網,使得此距離量測裝置也能成為網路中的通信節點。The second communication unit 104 is a communication circuit with a second Bluetooth communication circuit. The second Bluetooth communication circuit of the second communication unit 104 sends a communication signal to transmit data, and the Bluetooth communication technology can be used to connect to another electronic device , as another distance measuring device with the same configuration. In an embodiment, it can be connected to a network, such as a mesh network formed by a plurality of distance measuring devices or various communication nodes, and an Internet of Things can be deployed in a mesh network, so that the distance measuring device can also Can become a communication node in the network.

在此一提的是,第一通信單元103中採用的超寬頻技術(UWB)是一種具備低耗電與高速傳輸的短距離無線通信技術,且是利用脈衝來傳送信號的技術,常見的應用是接收感測器信號、定位與追蹤。而第一通信單元103採用的是藍牙通信技術或超寬頻通信技術的電路,可以獨立運作距離量測裝置中的其中之一工作模式。第一通信單元103與第二通信單元104採用的藍牙通信電路可為低功耗的藍牙低功耗電路(BLE),可用以連接鄰近的電子裝置,進而連線到由多個通信節點形成網狀網路,之後可通過閘道與一電腦裝置或伺服器連線。It should be mentioned here that the ultra-wideband technology (UWB) used in the first communication unit 103 is a short-range wireless communication technology with low power consumption and high-speed transmission, and is a technology that uses pulses to transmit signals, a common application It is to receive sensor signals, locate and track. The first communication unit 103 adopts a circuit of the Bluetooth communication technology or the ultra-wideband communication technology, and can independently operate one of the working modes of the distance measuring apparatus. The Bluetooth communication circuit used by the first communication unit 103 and the second communication unit 104 may be a low-power Bluetooth low energy circuit (BLE), which can be used to connect adjacent electronic devices, and then connect to a network formed by a plurality of communication nodes. The network can then be connected to a computer device or server through the gateway.

在裝置中設有切換單元101,切換單元101電性連接微控制器10,根據一切換開關(如三段式開關)產生的電氣信號形成控制信號,使微控制器10切換距離量測裝置的工作模式。根據一實施例,模式一111:通過微控制器10啟動第一通信單元103,用以產生感測信號,以及定位距離量測裝置;模式二112:啟動第二通信單元104,使距離量測裝置成為網狀網路(範例之一可以建立以藍牙通信為基礎的物聯網)中的一通信節點;以及模式三113:啟動第一通信單元103與第二通信單元104,以同時運行感測、定位以及傳送信息的功能。在另一實施例中,距離量測裝置中可設有定位電路,如全球定位系統(GPS)的相關電路,用以產生位置資訊,成為每一筆感測信息的隨附資訊。A switch unit 101 is provided in the device, and the switch unit 101 is electrically connected to the microcontroller 10, and forms a control signal according to an electrical signal generated by a switch (such as a three-stage switch), so that the microcontroller 10 switches the distance measurement device. Operating mode. According to an embodiment, mode one 111: the first communication unit 103 is activated by the microcontroller 10 to generate a sensing signal and locate the distance measuring device; mode two 112: the second communication unit 104 is activated to enable the distance measurement The device becomes a communication node in a mesh network (one of the examples may be to establish the Internet of Things based on Bluetooth communication); and Mode 3 113: Activate the first communication unit 103 and the second communication unit 104 to run the sensing simultaneously , positioning, and the ability to transmit information. In another embodiment, a positioning circuit, such as a related circuit of the Global Positioning System (GPS), may be provided in the distance measuring device to generate position information as accompanying information for each piece of sensing information.

如此,距離量測裝置的微控制器中即可執行一安全距離警示方法,在模式一111中,根據切換單元101產生的控制信號啟動第一通信單元103,可通過所產生的感測信號感測到由另一距離量測裝置產生的信號,以得到一信號強度,如一種接收信號強度指標(RSSI),這是可以讓微控制器10中運行的程序根據信號強度計算與另一距離量測裝置的距離,再根據距離判斷是否與另一距離量測裝置處於低於一安全距離的位置。其中,當距離低於系統預設或使用者所設定的安全距離(設定儲存於記憶單元108中),即通過信息單元102發出一警示信息,可以震動裝置產生震動的方式、以蜂鳴器產生蜂鳴聲或發光等方式表達警示信息,提醒使用者應該保持安全距離。In this way, a safe distance warning method can be implemented in the microcontroller of the distance measuring device. In mode one 111, the first communication unit 103 is activated according to the control signal generated by the switching unit 101, and the generated sensing signal can sense the A signal generated by another distance measuring device is detected to obtain a signal strength, such as a received signal strength indicator (RSSI), which allows a program running in the microcontroller 10 to calculate the distance from the other based on the signal strength The distance of the measuring device is determined, and then according to the distance, it is judged whether it is at a position lower than a safe distance from another distance measuring device. Wherein, when the distance is lower than the safety distance preset by the system or set by the user (the setting is stored in the memory unit 108 ), that is, a warning message is issued by the information unit 102 , which can be generated by a buzzer in the form of a vibration device to generate vibration. Beeps or lights are used to express warning messages to remind users to keep a safe distance.

圖2接著描述距離量測裝置中運行的方法的實施例流程。FIG. 2 then describes an embodiment flow of the method operating in the distance measuring device.

設於固定位置或是由使用者(或特定物)攜帶的距離量測裝置經啟動後,使用者可通過各種形式的切換方式決定一個工作模式,其中微控制器即接收切換信號(步驟S201),並依照控制信號啟動距離量測裝置中的啟動第一通信單元(步驟S203),同時通過第一通信單元產生信標信號(步驟S205),並進行感測定位信號(步驟S207)。After the distance measuring device located in a fixed position or carried by the user (or a specific object) is activated, the user can determine a working mode through various switching methods, wherein the microcontroller receives the switching signal (step S201 ) , and activate the first communication unit in the distance measuring device according to the control signal (step S203 ), generate a beacon signal through the first communication unit (step S205 ), and sense the positioning signal (step S207 ).

距離量測裝置的微控制器本身可執行運算,根據感測到的信號強度計算距離(步驟S209),這個距離的記錄還可包括時間、位置等資訊,或是包括感測到的對象的識別碼,如另一距離量測裝置的識別碼(儲存在各自的記憶單元中),記錄經儲存後傳送出去。在一實施例中,可通過啟動第二通信單元(步驟S211),通過第二通信單元產生通信信號(步驟S213),連接網路,可實現為通信節點(步驟S215),並開始傳送信息(步驟S217),其中即能將感測到的相關信息傳送到另一裝置上,如一伺服器上。The microcontroller of the distance measuring device itself can perform operations, and calculate the distance according to the sensed signal strength (step S209 ). The record of this distance may also include information such as time and location, or include the identification of the sensed object. code, such as the identification code of another distance measuring device (stored in the respective memory unit), the record is stored and transmitted. In one embodiment, the second communication unit can be activated (step S211 ), the communication signal can be generated by the second communication unit (step S213 ), the network can be connected, which can be realized as a communication node (step S215 ), and the information is transmitted (step S215 ). Step S217 ), wherein the sensed related information can be transmitted to another device, such as a server.

根據以上描述,可知,揭露書所提出的距離量測裝置為一多功能的通信裝置,可以設於固定位置作為定位標籤的用途,可以成為網路中的節點,可以成為使用者攜帶的電子裝置,作為定位、感測與數據傳輸的用途等。如此,當距離量測裝置通過第一通信單元感測到由另一距離量測裝置產生的信號時,也同時接收到另一距離量測裝置的識別碼,因此能隨同計算得到的距離儲存於距離量測裝置中的記憶單元,並可依照儲存容量儲存多筆記錄。之後,其中微控制器根據切換單元產生的控制信號啟動第二通信單元,用以將記憶單元中儲存的多筆距離與多個距離量測裝置的識別碼形成的記錄傳送至伺服器。According to the above description, it can be seen that the distance measuring device proposed in the disclosure is a multi-functional communication device, which can be set in a fixed position as a positioning tag, can become a node in the network, and can become an electronic device carried by users , used for positioning, sensing and data transmission, etc. In this way, when the distance measuring device senses a signal generated by another distance measuring device through the first communication unit, it also receives the identification code of the other distance measuring device at the same time, so it can be stored along with the calculated distance in the The memory unit in the distance measuring device can store multiple records according to the storage capacity. Afterwards, the microcontroller activates the second communication unit according to the control signal generated by the switching unit, so as to transmit the records formed by the plurality of distances stored in the memory unit and the identification codes of the plurality of distance measuring devices to the server.

圖3顯示利用距離量測裝置運行安全距離警示方法的實施例流程圖。FIG. 3 shows a flowchart of an embodiment of a method for running a safe distance warning by using a distance measuring device.

一開始,啟動距離量測裝置時(步驟S301),其中的重力感測器即開始運作,重力感測器電性連接微控制器,用以判斷距離量測裝置是否處於移動中(步驟S303),根據重力感測器產生的信息,若判斷為靜止狀態,即通過微控制器使距離量測裝置進入一省電模式(步驟S305),其中微控制器也就維持一個最低耗電的模式,讓裝置可以處於持續(或定時)感測裝置是否移動(重力信息的變化)的省電模式。At the beginning, when the distance measuring device is activated (step S301 ), the gravity sensor in it starts to operate, and the gravity sensor is electrically connected to the microcontroller to determine whether the distance measuring device is moving (step S303 ). , according to the information generated by the gravity sensor, if it is judged to be a static state, that is, the distance measuring device is put into a power saving mode by the microcontroller (step S305 ), wherein the microcontroller also maintains a mode with the lowest power consumption, Allows the device to be in a power saving mode that continuously (or periodically) senses whether the device is moving (changes in gravity information).

若根據重力感測信號判斷為裝置在移動中,即開始產生感測信號,執行計算距離以及記錄等動作(步驟S307)。其中,微控制器根據距離量測裝置中切換單元產生的控制信號通過微控制器啟動第一通信單元,由第一通信單元產生感測信號,並感測到由另一距離量測裝置產生的信號,以得到信號強度,並據此計算兩者之間的距離。If it is determined that the device is moving according to the gravity sensing signal, the sensing signal is started to be generated, and actions such as distance calculation and recording are performed (step S307 ). Wherein, the microcontroller activates the first communication unit through the microcontroller according to the control signal generated by the switching unit in the distance measuring device, the first communication unit generates a sensing signal, and senses the signal generated by another distance measuring device. signal to get the signal strength and calculate the distance between them accordingly.

同時,微控制器持續運作中的程序將判斷此距離是否低於所設定的一個安全距離(步驟S309),若尚未低於安全距離(否),步驟回到S303,繼續以上步驟;反之,若此時判斷距離已經低於安全距離(是),這時,裝置通過其中信息單元產生警示信息(步驟S311),並將相關信息記錄在記憶單元中(步驟S313),程序回到步驟S303。At the same time, the program in the continuous operation of the microcontroller will determine whether the distance is lower than a set safety distance (step S309 ). At this time, it is judged that the distance is lower than the safe distance (Yes), at this time, the device generates warning information through its information unit (step S311 ), and records the relevant information in the memory unit (step S313 ), and the program returns to step S303 .

在一實施例中,在儲存在裝置中的記憶單元的記錄中,還包括一段時間的感測記錄,包括距離、接收到其他裝置的識別碼、時間、位置等數據,之後,經啟動第二通信單元後,可將記憶單元中儲存的多筆距離、時間、位置與多個距離量測裝置的識別碼形成的記錄傳送至伺服器,伺服器即可建立關於距離量測裝置的一接觸史。In one embodiment, the records of the memory unit stored in the device also include a period of sensing records, including data such as distance, received identification codes of other devices, time, and location. After that, after starting the second After the communication unit, the records formed by multiple distances, times, positions and identification codes of multiple distance measuring devices stored in the memory unit can be transmitted to the server, and the server can establish a contact history about the distance measuring devices .

圖4顯示利用距離量測裝置建立網狀網路系統的實施例示意圖,圖中示意顯示由多個距離量測裝置建立一網狀網路的系統。FIG. 4 shows a schematic diagram of an embodiment of establishing a mesh network system using a distance measuring device, and the figure schematically shows a system for establishing a mesh network by a plurality of distance measuring devices.

距離量測裝置可以通過啟動第二通信單元產生連線其他裝置的信息,如此例中,距離量測裝置408可以連線到鄰近的距離量測裝置406, 407,並記錄接觸的資訊,包括感測信息計算得出的距離、時間、位置以及感測到的裝置的識別碼(其中之一或任意組合)等,也通過連線關係成為其中網狀網路的節點之一,此例中顯示網狀網路40中具有多個通信節點,包括距離量測裝置406, 407以及各種裝置形成的通信節點402, 403, 404, 405,並能使得距離量測裝置408通過網狀網路40連線到伺服器401。The distance measuring device can generate the information of connecting other devices by activating the second communication unit. In this example, the distance measuring device 408 can be connected to the adjacent distance measuring devices 406, 407, and record the contact information, including the sense of touch. The distance, time, location and the identification code of the sensed device (one or any combination) calculated from the measured information also become one of the nodes of the mesh network through the connection relationship, as shown in this example The mesh network 40 has a plurality of communication nodes, including distance measurement devices 406, 407 and communication nodes 402, 403, 404, 405 formed by various devices, and enables the distance measurement device 408 to be connected through the mesh network 40. line to server 401.

根據揭露書所提出的系統實施例的目的之一,可參考圖5所示流程,利用伺服器401(或特定平台、裝置)接收到來自多個距離量測裝置中記憶單元中儲存的各自的多筆距離、時間、位置與多個距離量測裝置的識別碼形成的記錄(步驟S501),並儲存至數據庫(步驟S503),使得伺服器401可以建立關於多個距離量測裝置的接觸史(步驟S505)。According to one of the purposes of the system embodiment proposed in the disclosure, referring to the process shown in FIG. 5 , the server 401 (or a specific platform or device) is used to receive the respective data stored in the memory units of the plurality of distance measuring devices. Records formed by multiple distances, times, positions and identification codes of multiple distance measuring devices (step S501 ), and stored in the database (step S503 ), so that the server 401 can establish contact histories about multiple distance measuring devices (step S505).

根據一實施目的,如大量傳播的傳染病的防疫目的,若伺服器401或特定平台可以建立每個人的接觸史,可以有效進行疫情調查。According to an implementation purpose, such as the purpose of preventing a large number of infectious diseases, if the server 401 or a specific platform can establish the contact history of each person, the epidemic investigation can be carried out effectively.

綜上所述,根據說明書所公開的距離量測裝置為一種多功能的通信裝置,可以運作在幾個工作模式下,可以獨立成為一個定位裝置(主動產生感測信號、成為被動感測的裝置)、感測四周信息的裝置、記錄接觸歷史的裝置,並可運作成為一個網路中的通信節點,若配合其中運行的安全距離警示方式,還可成為個人安全防護的設備,並在所運行的系統中,成為記錄接觸史的主要角色。To sum up, the distance measuring device disclosed in the specification is a multi-functional communication device, which can operate in several working modes, and can independently become a positioning device (a device that actively generates sensing signals and becomes a passive sensing device). ), a device for sensing surrounding information, a device for recording contact history, and it can operate as a communication node in a network. If it cooperates with the safe distance warning method running in it, it can also become a personal safety protection device, and it can be operated in In the system, it has become the main role in recording the contact history.

以上所公開的內容僅為本發明的優選可行實施例,並非因此侷限本發明的申請專利範圍,所以凡是運用本發明說明書及圖式內容所做的等效技術變化,均包含於本發明的申請專利範圍內。The contents disclosed above are only preferred feasible embodiments of the present invention, and are not intended to limit the scope of the present invention. Therefore, any equivalent technical changes made by using the contents of the description and drawings of the present invention are included in the application of the present invention. within the scope of the patent.

10:微控制器10: Microcontroller

101:切換單元101: Switch unit

111:模式一111: Mode One

112:模式二112: Mode Two

113:模式三113: Mode Three

102:信息單元102: Information unit

103:第一通信單元103: The first communication unit

104:第二通信單元104: Second communication unit

105:電池組105: Battery pack

106:電磁感應器106: Electromagnetic sensor

107:重力感測器107: Gravity Sensor

108:記憶單元108: Memory Unit

40:網狀網路40: Mesh Networking

401:伺服器401: Server

406,407,408:距離量測裝置406, 407, 408: Distance measuring devices

402,403,404,405:通信節點402, 403, 404, 405: communication nodes

步驟S201~S217:距離量測裝置運行的流程Steps S201-S217: the operation flow of the distance measuring device

步驟S301~S313:安全距離警示流程Steps S301-S313: safe distance warning process

步驟S501~S505:建立個人接觸史記錄的流程Steps S501-S505: the process of establishing personal contact history records

圖1顯示距離量測裝置的電路模組實施例圖;Fig. 1 shows the circuit module embodiment diagram of the distance measuring device;

圖2顯示距離量測裝置中運行的方法的實施例流程圖;Figure 2 shows a flow chart of an embodiment of a method operating in a distance measuring device;

圖3顯示利用距離量測裝置運行安全距離警示方法的實施例流程圖;FIG. 3 shows a flowchart of an embodiment of using a distance measuring device to run a safe distance warning method;

圖4顯示利用距離量測裝置建立網狀網路系統的實施例示意圖;以及FIG. 4 shows a schematic diagram of an embodiment of establishing a mesh network system using a distance measuring device; and

圖5顯示通過伺服器建立個人接觸史記錄的實施例流程圖。FIG. 5 shows a flowchart of an embodiment of establishing a personal contact history record through a server.

10:微控制器 10: Microcontroller

101:切換單元 101: Switch unit

111:模式一 111: Mode One

112:模式二 112: Mode Two

113:模式三 113: Mode Three

102:信息單元 102: Information unit

103:第一通信單元 103: The first communication unit

104:第二通信單元 104: Second communication unit

105:電池組 105: Battery pack

106:電磁感應器 106: Electromagnetic sensor

107:重力感測器 107: Gravity Sensor

108:記憶單元 108: Memory Unit

Claims (8)

一種距離量測裝置,包括:一微控制器;一第一通信單元,電性連接該微控制器,用以發出感測信號,以及接收信號;一第二通信單元,電性連接該微控制器,用以傳輸數據;一切換單元,電性連接該微控制器,通過該微控制器切換該距離量測裝置之工作模式,包括模式一:啟動該第一通信單元,用以產生感測信號,或定位該距離量測裝置;模式二:啟動該第二通信單元,使該距離量測裝置成為一網路中的一通信節點;以及模式三:啟動該第一通信單元與該第二通信單元,以同時運行感測、定位以及傳送信息的功能;以及一記憶單元,電性連接該微控制器,用以儲存該距離量測裝置之一識別碼,以及儲存記錄該距離量測裝置的感測與定位的記錄;其中該微控制器執行一安全距離警示方法,包括:根據該切換單元產生的一控制信號啟動該第一通信單元;該第一通信單元產生感測信號,感測到由另一距離量測裝置產生的信號,以得到一信號強度;以及根據該信號強度計算與該另一距離量測裝置的一距離,根據該距離判斷是否與該另一距離量測裝置處於低於一安全距離的位置。 A distance measuring device, comprising: a microcontroller; a first communication unit electrically connected to the microcontroller for sending sensing signals and receiving signals; a second communication unit electrically connecting to the microcontroller a switching unit, which is electrically connected to the microcontroller, and switches the working mode of the distance measuring device through the microcontroller, including mode 1: activating the first communication unit to generate sensing signal, or locate the distance measuring device; mode 2: activate the second communication unit to make the distance measurement device a communication node in a network; and mode 3: activate the first communication unit and the second communication unit a communication unit, for simultaneously performing the functions of sensing, positioning and transmitting information; and a memory unit, electrically connected to the microcontroller, for storing an identification code of the distance measuring device, and storing and recording the distance measuring device The recording of the sensing and positioning; wherein the microcontroller executes a safe distance warning method, including: starting the first communication unit according to a control signal generated by the switching unit; the first communication unit generates a sensing signal to sense to a signal generated by another distance measuring device to obtain a signal strength; and calculating a distance from the other distance measuring device according to the signal strength, and judging whether the distance from the other distance measuring device is in the A position below a safe distance. 如請求項1所述的距離量測裝置,其中該第一通信單元為一第一藍牙通信電路或一超寬頻通信電路;該第二通信單元具有一第二藍牙通信電路。 The distance measuring device according to claim 1, wherein the first communication unit is a first Bluetooth communication circuit or an ultra-wideband communication circuit; and the second communication unit has a second Bluetooth communication circuit. 如請求項2所述的距離量測裝置,其中該第一通信單元通過該第一藍牙通信電路發出感測信號,用來感測另一距離量測裝置,或通過該超寬頻通信電路發出信標信號,用於定位該距離量測裝置;該第二通信單元的該第二藍牙通信電路發出通信信號,用以連線另一距離量測裝置。 The distance measuring device of claim 2, wherein the first communication unit sends a sensing signal through the first Bluetooth communication circuit for sensing another distance measuring device, or sends a signal through the ultra-wideband communication circuit The beacon signal is used to locate the distance measuring device; the second Bluetooth communication circuit of the second communication unit sends out a communication signal for connecting to another distance measuring device. 如請求項1所述的距離量測裝置,更包括一重力感測器,電性連接該微控制器,用以判斷該距離量測裝置是否處於移動中,若判斷為靜止狀態,即通過該微控制器使該距離量測裝置進入一省電模式。 The distance measuring device according to claim 1, further comprising a gravity sensor electrically connected to the microcontroller for judging whether the distance measuring device is in motion, The microcontroller causes the distance measuring device to enter a power saving mode. 如請求項1所述的距離量測裝置,其中,於感測到由該另一距離量測裝置產生的信號時,同時接收到該另一距離量測裝置的識別碼,隨同計算得到的該距離儲存於該記憶單元中。 The distance measuring device according to claim 1, wherein when sensing the signal generated by the other distance measuring device, the identification code of the other distance measuring device is simultaneously received, along with the calculated The distance is stored in the memory unit. 如請求項5所述的距離量測裝置,其中該微控制器根據該切換單元產生的該控制信號啟動該第二通信單元,用以將該記憶單元中儲存的多筆距離與多個距離量測裝置的識別碼形成的記錄傳送至一伺服器。 The distance measuring device as claimed in claim 5, wherein the microcontroller activates the second communication unit according to the control signal generated by the switching unit, for multiple distances and distances stored in the memory unit The record formed by the identification code of the measuring device is sent to a server. 如請求項5所述的距離量測裝置,其中該微控制器根據該切換單元產生的該控制信號啟動該第二通信單元,用以將該記憶單元中儲存的多筆距離、時間、位置與多個距離量測裝置的識別碼形成的記錄傳送至一伺服器,該伺服器建立關於該距離量測裝置的一接觸史。 The distance measuring device as claimed in claim 5, wherein the microcontroller activates the second communication unit according to the control signal generated by the switching unit, so as to be used for the distances, times, positions and distances stored in the memory unit. The records formed by the identification codes of the plurality of distance measuring devices are sent to a server, which establishes a contact history about the distance measuring devices. 一種利用多個距離量測裝置建立一物連網狀網路的系統,包括:一伺服器;多個距離量測裝置,其中各距離量測裝置包括一微控制器,以及電性連接該微控制器的一第一通信單元,用以發出感測信號或接收信號、一第二通信單元,用以傳輸數據,以 及一切換單元,該切換單元通過該微控制器切換該距離量測裝置之工作模式,包括模式一:啟動該第一通信單元,用以產生感測信號,以及定位該距離量測裝置;模式二:啟動該第二通信單元,使該距離量測裝置成為一網路中的一通信節點;以及模式三:啟動該第一通信單元與該第二通信單元,以同時運行感測、定位以及傳送信息的功能;其中,各距離量測裝置的該微控制器執行一安全距離警示方法,包括:根據該切換單元產生的一控制信號啟動該第一通信單元;該第一通信單元產生感測信號,感測到由另一距離量測裝置產生的信號,以得到一信號強度;根據該信號強度計算與該另一距離量測裝置的一距離,根據該距離判斷是否與該另一距離量測裝置處於低於一安全距離的位置;以及以一記憶單元儲存該距離以及該另一距離量測裝置的識別碼,其中該記憶單元中儲存與多個距離量測裝置的多筆距離與各距離量測裝置的識別碼;根據該切換單元產生的該控制信號啟動該第二通信單元,使該距離量測裝置成為網路中的一通信節點,用以將該記憶單元中儲存的多筆距離與多個距離量測裝置的識別碼形成的記錄傳送至該伺服器,該伺服器建立關於該距離量測裝置的一接觸史。 A system for establishing an Internet of Things network by using a plurality of distance measuring devices, comprising: a server; a plurality of distance measuring devices, wherein each distance measuring device includes a microcontroller, and is electrically connected to the micro-controller A first communication unit of the controller is used for sending out sensing signals or receiving signals, and a second communication unit is used for transmitting data to and a switching unit, the switching unit switches the working mode of the distance measuring device through the microcontroller, including mode one: starting the first communication unit to generate a sensing signal and positioning the distance measuring device; mode 2: activating the second communication unit to make the distance measuring device a communication node in a network; and mode 3: activating the first communication unit and the second communication unit to run sensing, positioning and The function of transmitting information; wherein, the microcontroller of each distance measuring device executes a safe distance warning method, comprising: starting the first communication unit according to a control signal generated by the switching unit; the first communication unit generates a sensing Signal, sense a signal generated by another distance measuring device to obtain a signal strength; calculate a distance from the other distance measuring device according to the signal strength, and determine whether the distance from the other distance measuring device is determined according to the distance The measuring device is at a position lower than a safe distance; and a memory unit is used to store the distance and the identification code of the other distance measuring device, wherein the memory unit stores a plurality of distances and each distance measuring device. The identification code of the distance measuring device; the second communication unit is activated according to the control signal generated by the switching unit, so that the distance measuring device becomes a communication node in the network, and is used for the multiple data stored in the memory unit A record of distance and the identification codes of the distance measuring devices is sent to the server, which establishes a contact history with respect to the distance measuring devices.
TW109130704A 2020-09-08 2020-09-08 Apparatus for distance measurement, safe distance warning method and system thereof TWI752621B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109130704A TWI752621B (en) 2020-09-08 2020-09-08 Apparatus for distance measurement, safe distance warning method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109130704A TWI752621B (en) 2020-09-08 2020-09-08 Apparatus for distance measurement, safe distance warning method and system thereof

Publications (2)

Publication Number Publication Date
TWI752621B true TWI752621B (en) 2022-01-11
TW202210867A TW202210867A (en) 2022-03-16

Family

ID=80809305

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109130704A TWI752621B (en) 2020-09-08 2020-09-08 Apparatus for distance measurement, safe distance warning method and system thereof

Country Status (1)

Country Link
TW (1) TWI752621B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200804855A (en) * 2006-04-28 2008-01-16 Qualcomm Inc Wireless localization apparatus and method
CN107636485A (en) * 2015-04-02 2018-01-26 三星电子株式会社 Device and method for measuring distance and position
US20200191943A1 (en) * 2015-07-17 2020-06-18 Origin Wireless, Inc. Method, apparatus, and system for wireless object tracking
CN111344594A (en) * 2017-11-13 2020-06-26 三星电子株式会社 Method for measuring distance between a plurality of electronic devices and electronic device thereof
TWM600396U (en) * 2020-06-12 2020-08-21 久秉實業股份有限公司 Distance sensing system
TWM607926U (en) * 2020-09-08 2021-02-21 創鈺國際科技股份有限公司 Apparatus and system for distance measurement

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200804855A (en) * 2006-04-28 2008-01-16 Qualcomm Inc Wireless localization apparatus and method
CN107636485A (en) * 2015-04-02 2018-01-26 三星电子株式会社 Device and method for measuring distance and position
US20200191943A1 (en) * 2015-07-17 2020-06-18 Origin Wireless, Inc. Method, apparatus, and system for wireless object tracking
CN111344594A (en) * 2017-11-13 2020-06-26 三星电子株式会社 Method for measuring distance between a plurality of electronic devices and electronic device thereof
TWM600396U (en) * 2020-06-12 2020-08-21 久秉實業股份有限公司 Distance sensing system
TWM607926U (en) * 2020-09-08 2021-02-21 創鈺國際科技股份有限公司 Apparatus and system for distance measurement

Also Published As

Publication number Publication date
TW202210867A (en) 2022-03-16

Similar Documents

Publication Publication Date Title
US12417685B2 (en) Monitoring system
JP5972858B2 (en) Target search system and search method thereof
CN101697242B (en) Method, device and system for preventing burglaries wirelessly and intelligently
US9196139B2 (en) Proximity tag for object tracking
EP1348975B1 (en) Radio-frequency badge with an accelerometer
US10425766B2 (en) Location systems using short-range communications
CN108871315A (en) Navigation monitoring method and system based on wearable device and wearable device
US10546477B2 (en) Method and system for monitoring the safety of field workers
Hassan et al. A survey on wandering behavior management systems for individuals with dementia
CN111932825B (en) Target object monitoring method and device, computer equipment and storage medium
US11715364B2 (en) Out of range tracking device detection
TW201447788A (en) Object tracking service system and method thereof
CN104992535A (en) ZigBee-based object-searching method, apparatus and system
TWI752621B (en) Apparatus for distance measurement, safe distance warning method and system thereof
JP2010152677A (en) Security system, information processing apparatus and security method
TWM607926U (en) Apparatus and system for distance measurement
CN110473391B (en) Remote alarm system and method based on Wi-Fi of mobile phone
CN104243511A (en) Object tracking service system and method thereof
JPWO2017221301A1 (en) Control system
CN110998683A (en) System and method for registering lost location of an object
JP2012244435A (en) Portable electronic device and alarm notification program
JP2015138983A (en) Loss notification system
US20250023121A1 (en) Battery pack tracking device
Kumar et al. Design for visually impaired to work at Industry using RFID technology
CN119816755A (en) The presence of a slave device to trigger the functionality of the master device