TW202021326A - Modular sensor integrated system - Google Patents

Modular sensor integrated system Download PDF

Info

Publication number
TW202021326A
TW202021326A TW107142297A TW107142297A TW202021326A TW 202021326 A TW202021326 A TW 202021326A TW 107142297 A TW107142297 A TW 107142297A TW 107142297 A TW107142297 A TW 107142297A TW 202021326 A TW202021326 A TW 202021326A
Authority
TW
Taiwan
Prior art keywords
data
sensing
signal
communication
control element
Prior art date
Application number
TW107142297A
Other languages
Chinese (zh)
Other versions
TWI691189B (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 TW107142297A priority Critical patent/TWI691189B/en
Application granted granted Critical
Publication of TWI691189B publication Critical patent/TWI691189B/en
Publication of TW202021326A publication Critical patent/TW202021326A/en

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

Disclosed is a modular sensor integrated system, which comprises a plurality of sensing control elements, a communication control element, and a wireless communication element. The sensing control element has a sensing signal receiver for receiving a sensing signal of a sensor, a sensing signal value obtaining unit for obtaining a sensing signal and transferring the sensing signal to environmental information, and an information editing unit for editing environmental information into sensing value information. The sensing value information is transmitted via a sensing information transmitter using a common signal communication protocol. The communication control element has a plurality of communication information receivers for receiving sensing value information. An information integrated unit collects all sensing value information and integrates it into uploaded information while an information uploaded unit is connected to a communication information transmitter to transmit uploaded information to the wireless communication element connected to a remote server.

Description

模組化感測器整合系統Modular sensor integration system

本發明相關於一種環境感測器,特別是相關於一種模組化感測器整合系統。The present invention relates to an environment sensor, in particular to a modular sensor integration system.

長期以來,火力發電廠及民間工廠運作時產生的氣體及廢水一直排放到生態環境中,導致台灣的環境污染問題日趨嚴重。為了解環境汙染的程度,政府及相關企業已普遍使用各種環境感測器來監測環境品質。常被使用的環境感測器包括溫溼度感測器、壓力感測器、空氣品質感測器、紫外線指數感測器。這些環境感測器的感測訊號都可以利用物聯網的運算平台以進行大數據分析及資料展示。For a long time, the gas and wastewater generated during the operation of thermal power plants and private factories have been discharged into the ecological environment, which has led to the increasingly serious environmental pollution problems in Taiwan. In order to understand the degree of environmental pollution, the government and related companies have generally used various environmental sensors to monitor environmental quality. Commonly used environmental sensors include temperature and humidity sensors, pressure sensors, air quality sensors, and ultraviolet index sensors. The sensing signals of these environmental sensors can use the computing platform of the Internet of Things for big data analysis and data display.

然而,隨著環境感測器的感測項目、品牌規格之差異,其採用的訊號傳輸介面類型也不一樣,例如:I2C、UART、SPI、類比訊號。造成在同時使用多種環境感測器來構建感測系統時,必須分別透過個別不同訊號傳輸介面的通訊裝置才能達成與物聯網的連接,也因此造成各種環境感測器所傳送至物聯網的感測結果是互相獨立且分散的,致使在進行統整性的大數據分析及資料展示上變得更為困難,而失去效率。However, with the differences in the sensing items and brand specifications of the environmental sensors, the types of signal transmission interfaces used are also different, such as I2C, UART, SPI, and analog signals. Therefore, when using multiple environmental sensors to construct a sensing system at the same time, it is necessary to use separate communication devices with different signal transmission interfaces to achieve the connection to the Internet of Things, which also causes the various environmental sensors to send to the Internet of Things. The test results are independent and scattered, which makes it more difficult to perform integrated big data analysis and data display, and lose efficiency.

因此,本發明的目的在於提供一種模組化感測器整合系統,可以有效整合各種不同的環境感測器,以在後續的資料處理上獲得優化。Therefore, the object of the present invention is to provide a modular sensor integration system that can effectively integrate a variety of different environmental sensors to optimize subsequent data processing.

本發明為解決習知技術之問題所採用之技術手段係提供一種模組化感測器整合系統,係用於整合複數個環境感測器,該模組化感測器整合系統包含:複數個感測端控制元件,各自具有一感測端訊號接收埠、一感測端訊號取值單元、一資料編輯單元及一感測端資料傳送埠,各個該感測訊號接收埠各自連接於不同的該環境感測器,且各個該感測端訊號接收埠係各自模擬成相符於各自對應的該環境感測器之對應類型的訊號傳輸介面,以取得各自對應的該環境感測器的感測訊號,該感測端訊號取值單元連接於該感測端訊號接收埠,根據該環境感測器的訊號傳輸介面的類型而以對應的訊號校正及轉換方式處理該感測訊號而得到一環境感測值,該資料編輯單元訊號連接於該感測端訊號取值單元,將該環境感測值以一預定的訊號傳輸統整格式編輯為感測值資料,該感測端資料傳送埠訊號連接於該資料編輯單元,以將該訊號傳輸統整格式的感測值資料以一共同的訊號傳輸協定予以傳送;一通訊端控制元件,具有複數個通訊端資料接收埠、一資料整合單元、一資料上傳單元及一通訊端資料傳送埠,各個該通訊端資料接收埠各自連接於個別的該感測端資料傳送埠,用以接收來自各個該感測端控制元件的該感測值資料,該資料整合單元訊號連接於各個該通訊端資料接收埠,而將所有接收到的該感測值資料予以收集整合成單一筆上傳資料,該資料上傳單元訊號連接於該資料整合單元及該通訊端資料傳送埠,以將該上傳資料經由該通訊端資料傳送埠傳送至一無線通訊元件;以及該無線通訊元件,訊號連接於該通訊端資料傳送埠,以無線方式傳送該上傳資料至一遠端監控伺服器,其中,該遠端監控伺服器係為一雲端資料庫,以供經由網路而瀏覽該上傳資料,及/或該遠端監控伺服器係為一消息隊列遙測傳輸(MQTT)伺服器,基於一發佈/訂閱方式而自動發佈該上傳資料至一訂閱端監控裝置。The technical means adopted by the present invention to solve the problems of the conventional technology is to provide a modular sensor integration system for integrating a plurality of environmental sensors. The modular sensor integration system includes: a plurality of The sensing end control elements each have a sensing end signal receiving port, a sensing end signal value unit, a data editing unit, and a sensing end data transmission port, each of which is connected to a different The environment sensor, and each of the sensing terminal signal receiving ports is simulated to correspond to the corresponding type of signal transmission interface of the corresponding environment sensor to obtain the corresponding sensing of the environment sensor The signal, the signal value sensing unit of the sensing end is connected to the signal receiving port of the sensing end, and the sensing signal is processed by the corresponding signal correction and conversion method according to the type of the signal transmission interface of the environment sensor to obtain an environment Sensing value, the data editing unit signal is connected to the sensing terminal signal value unit, and the environmental sensing value is edited into sensing value data in a predetermined signal transmission unified format, and the sensing terminal data transmission port signal It is connected to the data editing unit to transmit the sensed value data of the signal transmission unified format by a common signal transmission protocol; a communication terminal control element has a plurality of communication terminal data receiving ports, a data integration unit, A data uploading unit and a communication port data transmission port, each of the communication port data receiving ports is connected to a separate sensing port data transmission port for receiving the sensed value data from each of the sensing port control elements, The signal of the data integration unit is connected to each data receiving port of the communication terminal, and all the received sensed value data is collected and integrated into a single upload data, and the signal of the data upload unit is connected to the data integration unit and the communication terminal A data transmission port to transmit the uploaded data to a wireless communication component through the communication terminal data transmission port; and the wireless communication component, a signal is connected to the communication terminal data transmission port to wirelessly transmit the uploaded data to a remote Monitoring server, wherein the remote monitoring server is a cloud database for browsing the uploaded data via the network, and/or the remote monitoring server is a message queue telemetry transmission (MQTT) server Based on a publish/subscribe method, automatically publish the uploaded data to a subscription monitoring device.

在本發明的一實施例中係提供一種模組化感測器整合系統,其中各個該感測端控制元件之該感測端資料傳送埠與該通訊端控制元件之各個該通訊端資料接收埠係以模擬方式模擬成相同的訊號傳輸介面。In one embodiment of the present invention, a modular sensor integration system is provided, wherein the sensing-end data transmission port of each of the sensing-end control elements and each of the communication-end data receiving ports of the communication-end control element It is simulated to form the same signal transmission interface.

在本發明的一實施例中係提供一種模組化感測器整合系統,其中該通訊端控制元件之該通訊端資料傳送埠係模擬成相符於該無線通訊元件之對應類型的訊號傳輸介面,以將該上傳資料傳送至該無線通訊元件。In an embodiment of the invention, a modular sensor integration system is provided, wherein the communication port data transmission port of the communication port control element is simulated to correspond to the corresponding type of signal transmission interface of the wireless communication element, To send the uploaded data to the wireless communication component.

在本發明的一實施例中係提供一種模組化感測器整合系統,其中該共同的訊號傳輸協定係為一通用異步收發器(UART)通訊協定。In an embodiment of the invention, a modular sensor integration system is provided, wherein the common signal transmission protocol is a universal asynchronous transceiver (UART) communication protocol.

在本發明的一實施例中係提供一種模組化感測器整合系統,其中該通訊端控制元件主動對各個該感測端控制元件輪流發送一感測值資料要求指令,各個該感測端控制元件係經設置在接收到該感測值資料要求指令時回傳該感測值資料。In an embodiment of the present invention, a modular sensor integration system is provided, wherein the communication end control element actively sends a sensing value data request command to each of the sensing end control elements in turn, and each of the sensing ends The control element is configured to return the sensed value data when receiving the sensed value data request command.

在本發明的一實施例中係提供一種模組化感測器整合系統,其中該通訊端控制元件係以一預定的時間間隔而經由該無線通訊元件傳送該上傳資料至該雲端資料庫。In an embodiment of the invention, a modular sensor integration system is provided, wherein the communication end control element transmits the uploaded data to the cloud database through the wireless communication element at a predetermined time interval.

在本發明的一實施例中係提供一種模組化感測器整合系統,其中其中該預定的時間間隔為十五秒。In an embodiment of the present invention, a modular sensor integration system is provided, wherein the predetermined time interval is fifteen seconds.

本發明的模組化感測器整合系統的技術功效如下。該模組化感測器整合系統藉由該感測端控制元件的該感測端訊號接收埠模擬成相符於各種環境感測器之訊號傳輸介面類型以接收各種環境感測器的感測訊號。另外,各個該感測端控制元件係能透過共同的訊號傳輸介面以傳輸該感測值資料給該通訊端控制元件。該通訊端控制元件整合自各個該感測端控制元件傳送的該感測值資料而成單一筆該上傳資料,並以該無線通訊元件傳送至該遠端伺服器。因此,多種環境感測器能藉由本發明的技術手段而被有效地整合,且能透過共同的訊號傳輸介面而達成與物聯網的連接。另外,本發明可以視需求而新增或移除各種環境感測器,使得環境感測器在物聯網應用上具有更多彈性。The technical effects of the modular sensor integration system of the present invention are as follows. The modular sensor integration system uses the sensor terminal signal receiving port of the sensor terminal control element to simulate a signal transmission interface type corresponding to various environmental sensors to receive the sensing signals of various environmental sensors . In addition, each of the sensing-end control elements can transmit the sensed value data to the communication-end control element through a common signal transmission interface. The communication end control element integrates the sensed value data transmitted from each of the sensing end control elements into a single piece of the uploaded data, and transmits the wireless communication element to the remote server. Therefore, various environmental sensors can be effectively integrated by the technical means of the present invention, and can connect to the Internet of Things through a common signal transmission interface. In addition, the present invention can add or remove various environmental sensors as needed, so that the environmental sensors have more flexibility in the application of the Internet of Things.

以下根據第1圖至第3圖,而說明本發明的實施方式。該說明並非為限制本發明的實施方式,而為本發明之實施例的一種。Hereinafter, the embodiments of the present invention will be described based on FIGS. 1 to 3. This description is not intended to limit the embodiments of the present invention, but is one of the examples of the present invention.

如第1圖至第2圖所示,依據本發明的一實施例的一模組化感測器整合系統100,係用於整合複數個環境感測器W,該模組化感測器整合系統100包含:複數個感測端控制元件1、一通訊端控制元件2及一無線通訊元件3。As shown in FIGS. 1 to 2, a modular sensor integration system 100 according to an embodiment of the present invention is used to integrate a plurality of environmental sensors W, the modular sensor integration The system 100 includes: a plurality of sensing-end control elements 1, a communication-end control element 2, and a wireless communication element 3.

如第1圖及第2圖所示,複數個該感測端控制元件1各自具有一感測端訊號接收埠11、一感測端訊號取值單元12、一資料編輯單元13及一感測端資料傳送埠14。具體而言,在本發明的實施例中,該感測端控制元件1為一微控制器的控制模組,該感測端控制元件1的各個該感測訊號接收埠11各自連接於不同的該環境感測器W,例如一溫溼度感測器、一壓力感測器及一紫外線指數感測器。As shown in FIGS. 1 and 2, the plurality of sensing-end control elements 1 each have a sensing-end signal receiving port 11, a sensing-end signal value-taking unit 12, a data editing unit 13, and a sensing端数据送Port14. Specifically, in the embodiment of the present invention, the sensing end control element 1 is a control module of a microcontroller, and each sensing signal receiving port 11 of the sensing end control element 1 is connected to a different The environment sensor W, for example, a temperature and humidity sensor, a pressure sensor and an ultraviolet index sensor.

如第2圖所示,各個該感測端訊號接收埠11係各自模擬成相符於各自對應的該環境感測器W之對應類型的訊號傳輸介面,以取得各自對應的該環境感測器W的感測訊號M。具體而言,該感測端訊號接收埠11係以軟體程式而模擬成與對應的該環境感測器W之訊號傳輸介面類型一樣的訊號傳輸介面。例如,該環境感測器W的訊號傳輸介面為I2C傳輸介面,則該感測端訊號接收埠11的訊號傳輸介面能藉由軟體程式的編寫而模擬成一I2C傳輸介面,以對應於該環境感測器W的I2C訊號傳輸介面。當然,該環境感測器W之訊號傳輸介面也可以是UART、SPI、類比訊號或其他的訊號傳輸介面,而本發明的該感測端控制元件1的該感測端訊號接收埠11皆可藉由軟體程式而模擬成與之對應的訊號傳輸介面類型,而實現該感測訊號M之接收。As shown in FIG. 2, each of the sensing terminal signal receiving ports 11 is simulated to correspond to the corresponding type of signal transmission interface of the corresponding environmental sensor W to obtain the corresponding environmental sensor W Of the sensing signal M. Specifically, the signal receiving port 11 of the sensing end is simulated by a software program as a signal transmission interface of the same type as the signal transmission interface of the corresponding environmental sensor W. For example, if the signal transmission interface of the environment sensor W is an I2C transmission interface, then the signal transmission interface of the signal receiving port 11 of the sensing end can be simulated as an I2C transmission interface by software programming to correspond to the environment sense I2C signal transmission interface of the detector W. Of course, the signal transmission interface of the environmental sensor W can also be a UART, SPI, analog signal or other signal transmission interface, and the sensor-end signal receiving port 11 of the sensor-end control element 1 of the present invention can be any The reception of the sensing signal M is realized by a software program that simulates the corresponding signal transmission interface type.

在本實施例中,該感測端訊號取值單元12連接於該感測端訊號接收埠11,根據該環境感測器W的訊號傳輸介面的類型而以對應的訊號校正及轉換方式處理該感測訊號M而得到一環境感測值N。具體而言,該感測端訊號取值單元12係對於該感測端訊號接收埠11所接收的該感測訊號M以符合該環境感測器W之傳輸數據格式之方式進行讀取,所讀取出的數據通常會包括原始數據及相關的校準數據,再對該原始數據及該校準數據以該環境感測器W所規定的數據取值方式進行相互比對或代入公式計算,從而得到實際能夠被利用的數值,即該環境感測值N。In this embodiment, the sensing-end signal fetching unit 12 is connected to the sensing-end signal receiving port 11, and processes the corresponding signal correction and conversion method according to the type of the signal transmission interface of the environmental sensor W The signal M is sensed to obtain an environmental sense value N. Specifically, the sensing terminal signal value obtaining unit 12 reads the sensing signal M received by the sensing terminal signal receiving port 11 in a manner conforming to the transmission data format of the environmental sensor W, so The read data usually includes the original data and the related calibration data, and then the original data and the calibration data are compared with each other or substituted into the formula calculation according to the data value stipulated by the environmental sensor W to obtain The actual value that can be utilized is the environment sensing value N.

該資料編輯單元13訊號連接於該感測端訊號取值單元12,將該環境感測值N以一預定的訊號傳輸統整格式編輯為一感測值資料D。舉例而言,在本實施例中,該資料編輯單元13係將該環境感測值N轉換成ASCII碼,其中在表示該環境感測值N的數值部分的字節前面會加上代表數據種類的代號作為判別字節,例如,「P」代表壓力,「T」代表溫度,「A」代表高度,並且在最前面再加上代表數據筆數的數字。例如,若量測到的該環境感測值N有三筆,氣壓數據為 1010.25hPa,溫度數據為27.5度,高度數據為26.5公尺,則以上述訊號傳輸統整格式編輯所編輯出的感測值資料D則為「3P1010.25T00027.5A00026.5」。The signal of the data editing unit 13 is connected to the signal-acquisition unit 12 of the sensing end, and the environmental sensed value N is edited into a sensed value data D in a predetermined signal transmission and integration format. For example, in this embodiment, the data editing unit 13 converts the environmental sense value N into an ASCII code, in which the representative data type is added in front of the byte representing the numerical part of the environmental sense value N The code of is used as the discriminating byte. For example, "P" stands for pressure, "T" stands for temperature, "A" stands for altitude, and a number representing the number of data is added at the front. For example, if there are three measured environmental sensing values N, the pressure data is 1010.25hPa, the temperature data is 27.5 degrees, and the height data is 26.5 meters, the edited sensor is edited in the above signal transmission unified format The value data D is "3P1010.25T00027.5A00026.5".

該感測端資料傳送埠14訊號連接於該資料編輯單元13,以將該訊號傳輸統整格式的該感測值資料D以一共同的訊號傳輸協定P予以傳送。具體而言,各個該感測端控制元件1的該感測端資料傳送埠14接收到該感測值資料D後,以該共同的訊號傳輸協定P傳送該感測值資料D至該通訊端控制元件2。在本實施例中,該共同的訊號傳輸協定P為一通用異步收發器(UART)的訊號傳輸協定。當然,本發明並不以此為限,該共同的訊號傳輸協定P也可為I2C或其他訊號傳輸協定。The signal of the sensing end data transmission port 14 is connected to the data editing unit 13 to transmit the sensed value data D of the signal transmission format in a common signal transmission protocol P. Specifically, after receiving the sensed value data D, the sense-end data transmission port 14 of each of the sense-end control elements 1 transmits the sensed value data D to the communication terminal using the common signal transmission protocol P Control element 2. In this embodiment, the common signal transmission protocol P is a universal asynchronous transceiver (UART) signal transmission protocol. Of course, the present invention is not limited to this, and the common signal transmission protocol P may also be I2C or other signal transmission protocols.

該通訊端控制元件2具有複數個通訊端資料接收埠21、一資料整合單元22、一資料上傳單元23及一通訊端資料傳送埠24,各個該通訊端資料接收埠21各自連接於個別的該感測端資料傳送埠14,用以接收來自各個該感測端控制元件1的該感測值資料D。在本實施例中,各個該感測端控制元件1之該感測端資料傳送埠14與該通訊端控制元件2之各個該通訊端資料接收埠21係以軟體程式的編寫而模擬成相同的該通用異步收發器(UART)的訊號傳輸介面。The communication terminal control element 2 has a plurality of communication terminal data receiving ports 21, a data integration unit 22, a data uploading unit 23, and a communication terminal data transmission port 24, and each of the communication terminal data receiving ports 21 is connected to an individual The sensing terminal data transmission port 14 is used to receive the sensing value data D from each of the sensing terminal control elements 1. In this embodiment, the sensing-end data transmission port 14 of each sensing-end control element 1 and each of the communication-end data receiving ports 21 of the communication-end control element 2 are simulated by software programs to be the same The signal transmission interface of the universal asynchronous transceiver (UART).

該資料整合單元22訊號連接於各個該通訊端資料接收埠21,而將所有接收到的該感測值資料D予以收集整合成單一筆上傳資料U,該資料上傳單元23訊號連接於該資料整合單元22及該通訊端資料傳送埠24,以將該上傳資料U經由該通訊端資料傳送埠24傳送至該無線通訊元件3。具體而言,為提升該通訊端控制元件2與該無線通訊元件3之間的訊號傳輸效率,該通訊端控制元件2藉由該資料整合單元22整合多筆該感測值資料D而成一筆該上傳資料U。其中,該通訊端資料傳送埠24的訊號傳輸介面可以軟體程式的編寫而模擬成相符於該無線通訊元件3之對應類型的訊號傳輸介面。在本實施例中,該無線通訊元件3的訊號傳輸介面係為該通用異步收發器(UART)的訊號傳輸介面,因此,該通訊端控制元件2的該通訊端資料傳送埠24亦以軟體程式的編寫而模擬成該通用異步收發器(UART)的訊號傳輸介面。當然,若該無線通訊元件3的訊號傳輸介面為I2C或其他類型,本發明的該通訊端控制元件2的該通訊端資料傳送埠24亦可模擬成I2C或對應於其他類型的訊號傳輸介面。The signal of the data integration unit 22 is connected to each data receiving port 21 of the communication terminal, and all the received sensed value data D are collected and integrated into a single upload data U, and the signal of the data upload unit 23 is connected to the data integration The unit 22 and the data transmission port 24 of the communication terminal transmit the uploaded data U to the wireless communication component 3 through the data transmission port 24 of the communication terminal. Specifically, in order to improve the signal transmission efficiency between the communication end control element 2 and the wireless communication element 3, the communication end control element 2 integrates a plurality of pieces of the sensed value data D by the data integration unit 22 into a sum The upload data U. Among them, the signal transmission interface of the data transmission port 24 of the communication terminal can be simulated by a software program to be a signal transmission interface corresponding to the corresponding type of the wireless communication element 3. In this embodiment, the signal transmission interface of the wireless communication element 3 is the signal transmission interface of the universal asynchronous transceiver (UART), therefore, the communication port data transmission port 24 of the communication port control element 2 is also a software program It is written to simulate the signal transmission interface of the universal asynchronous transceiver (UART). Of course, if the signal transmission interface of the wireless communication element 3 is I2C or other types, the communication port data transmission port 24 of the communication end control element 2 of the present invention can also be simulated as I2C or corresponding to other types of signal transmission interfaces.

請參看第1圖及第2圖,在本實施例中,該無線通訊元件3為一WiFi晶片,訊號連接於該通訊端資料傳送埠24,以無線方式傳送該上傳資料U至一遠端監控伺服器4。其中,該遠端監控伺服器4係為一雲端資料庫41,用戶可以使用電腦51透過網路連接該雲端資料庫41以瀏覽該上傳資料U。另外,該遠端監控伺服器4亦可為一消息隊列遙測傳輸(MQTT)伺服器42,且基於一發佈/訂閱方式而自動發佈該上傳資料U至一訂閱端監控裝置(例如:手機52)。具體而言,該模組化感測器整合系統100藉由該通訊端控制元件2以控制該無線通訊元件3,以將該上傳資料U發佈至該消息隊列遙測傳輸(MQTT)伺服器42,該消息隊列遙測傳輸(MQTT)伺服器42則傳送該上傳資料U至訂閱的用戶端。Please refer to FIG. 1 and FIG. 2, in this embodiment, the wireless communication element 3 is a WiFi chip, the signal is connected to the data transmission port 24 of the communication terminal, and the uploaded data U is wirelessly transmitted to a remote monitoring Server 4. The remote monitoring server 4 is a cloud database 41, and the user can use the computer 51 to connect to the cloud database 41 through the network to browse the uploaded data U. In addition, the remote monitoring server 4 can also be a message queue telemetry transmission (MQTT) server 42, and automatically publish the uploaded data U to a subscriber-side monitoring device (eg, mobile phone 52) based on a publish/subscribe method . Specifically, the modular sensor integration system 100 controls the wireless communication element 3 through the communication end control element 2 to publish the uploaded data U to the message queue telemetry transmission (MQTT) server 42, The message queue telemetry transmission (MQTT) server 42 transmits the uploaded data U to the subscribed user.

本發明的該模組化感測器整合系統100的運作流程如第3圖所示。在步驟S0,各個該環境感測器W傳送該感測訊號M至對應的各個該感測端控制元件1。在步驟S1,該通訊端控制元件2主動對第一個該感測端控制元件1發送一感測值資料要求指令。在步驟S2,該感測端控制元件1在接收到該感測值資料要求指令時回傳該感測值資料D,此時,該通訊端控制元件2進入一接收該感測值資料D的狀態。當該通訊端控制元件2判斷已完全接收該感測值資料D後,則進入步驟S3,該通訊端控制元件2對第二個該感測端控制元件1重覆該步驟S1的運作內容。接著進入步驟S4,該通訊端控制元件2對第二個該感測端控制元件1重覆該步驟S2的運作內容。在步驟S5及S6,該通訊端控制元件2對第三個該感測端控制元件1重覆該步驟S1及該步驟S2的運作內容。The operation flow of the modular sensor integration system 100 of the present invention is shown in FIG. 3. In step S0, each of the environmental sensors W transmits the sensing signal M to the corresponding each of the sensing end control elements 1. In step S1, the communication end control element 2 actively sends a sensing value data request command to the first sensing end control element 1. In step S2, the sensing end control element 1 returns the sensing value data D when receiving the sensing value data request command. At this time, the communication end control element 2 enters a mode to receive the sensing value data D status. After the communication terminal control element 2 judges that the sensing value data D has been completely received, it proceeds to step S3, and the communication terminal control element 2 repeats the operation content of the step S1 for the second sensor end control element 1. Next, proceeding to step S4, the communication end control element 2 repeats the operation content of the step S2 to the second sensing end control element 1. In steps S5 and S6, the communication terminal control element 2 repeats the operation contents of the step S1 and the step S2 for the third sensing end control element 1.

若該通訊端控制元件2判斷已接收所有的該感測端控制元件1的該感測值資料D,則進入步驟S7。在該步驟S7,該通訊端控制元件2將接收到的該感測值資料D整合成該上傳資料U,且傳送至該無線通訊元件3。在步驟S8,該無線通訊元件3傳送該上傳資料U至該消息隊列遙測傳輸(MQTT)伺服器42,待該消息隊列遙測傳輸(MQTT)伺服器42發佈該上傳資料U後,進入步驟S9。在該步驟S9,該通訊端控制元件2以一預定的時間間隔T經由該無線通訊元件3以傳送一筆該上傳資料U至該雲端資料庫41,該預定的時間間隔T在本實施例中為15秒。If the communication end control element 2 determines that all the sensed value data D of the sensor end control element 1 has been received, then step S7 is entered. In this step S7, the communication end control element 2 integrates the received sensed value data D into the upload data U, and transmits it to the wireless communication element 3. In step S8, the wireless communication component 3 transmits the uploaded data U to the message queue telemetry transmission (MQTT) server 42. After the message queue telemetry transmission (MQTT) server 42 releases the uploaded data U, the process proceeds to step S9. In the step S9, the communication terminal control element 2 transmits a piece of the upload data U to the cloud database 41 via the wireless communication element 3 at a predetermined time interval T. The predetermined time interval T in this embodiment is 15 seconds.

藉由上述之技術手段,該模組化感測器整合系統100藉由該感測端控制元件2的該感測端訊號接收埠11以軟體程式而模擬成與對應的該環境感測器W之訊號傳輸介面類型一樣的訊號傳輸介面。該感測端控制元件2經由該感測端訊號取值單元12及該資料編輯單元13處理該感測訊號M而得到該感測值資料D,並以該共同的訊號傳輸協定傳送該感測值資料D至該通訊控制元件2。該通訊端控制元件2接收來自各個該感測端控制元件2的該感測值資料D,並處理成該上傳資料U,再藉由該無線通訊元件3將該上傳資料U傳送至該遠端伺服器4,以供用戶端訂閱及瀏覽。鑑於此,本發明的優點包括:可以有效率地整合多種環境感測器W,且使各種環境感測器能夠以一致的訊號傳輸管道與物聯網相連。另外,本發明在與環境感測器的連接可以視需求新增或移除任一種環境感測器,使得環境感測器在物聯網應用上具有更多彈性。By the above-mentioned technical means, the modular sensor integration system 100 uses the software of the sensor terminal signal receiving port 11 of the sensor terminal control element 2 to simulate the corresponding environmental sensor W The same type of signal transmission interface. The sensing-end control element 2 processes the sensing signal M through the sensing-end signal fetch unit 12 and the data editing unit 13 to obtain the sensed value data D, and transmits the sensed data using the common signal transmission protocol Value data D to the communication control element 2. The communication end control element 2 receives the sensed value data D from each of the sensing end control elements 2 and processes it into the upload data U, and then transmits the uploaded data U to the remote end through the wireless communication element 3 The server 4 is for the user to subscribe and browse. In view of this, the advantages of the present invention include: it is possible to efficiently integrate a variety of environmental sensors W, and enable the various environmental sensors to be connected to the Internet of Things through a consistent signal transmission pipeline. In addition, the present invention can add or remove any type of environment sensor as needed in connection with the environment sensor, so that the environment sensor has more flexibility in IoT applications.

以上之敘述以及說明僅為本發明之較佳實施例之說明,對於此項技術具有通常知識者當可依據以下所界定申請專利範圍以及上述之說明而作其他之修改,惟此些修改仍應是為本發明之發明精神而在本發明之權利範圍中。The above descriptions and descriptions are only for the description of the preferred embodiments of the present invention. Those who have general knowledge of this technology can make other modifications based on the scope of the patent application as defined below and the above description, but these modifications should still be It is within the scope of the rights of the invention for the spirit of the invention.

100:模組化感測器整合系統 1:感測端控制元件 11:感測端訊號接收埠 12:感測端訊號取值單元 13:資料編輯單元 14:感測端資料傳送埠 2:通訊端控制元件 21:通訊端資料接收埠 22:資料整合單元 23:資料上傳單元 24:通訊端資料傳送埠 3:無線通訊元件 4:遠端監控伺服器 41:雲端資料庫 42:消息隊列遙測傳輸(MQTT) 51:電腦 52:手機 D:感測值資料 M:感測訊號 N:環境感測值 P:共同的訊號傳輸協定 S0:步驟 S1:步驟 S2:步驟 S3:步驟 S4:步驟 S5:步驟 S6:步驟 S7:步驟 S8:步驟 S9:步驟 T:預定的時間間隔 U:上傳資料 W:環境感測器 t:時間 100: Modular sensor integration system 1: Sensing end control element 11: Signal receiving port of sensing terminal 12: signal value unit of the sensing terminal 13: Data editing unit 14: Sensor port 2: Communication terminal control element 21: Communication port data receiving port 22: Data integration unit 23: Data upload unit 24: Communication port data transmission port 3: wireless communication components 4: Remote monitoring server 41: Cloud database 42: Message Queue Telemetry Transmission (MQTT) 51: Computer 52: mobile phone D: Sensing value data M: Sensing signal N: environmental sense value P: common signal transmission protocol S0: Step S1: Step S2: Step S3: Step S4: Step S5: Step S6: Step S7: Step S8: Step S9: Step T: scheduled time interval U: upload information W: Environmental sensor t: time

[第1圖]為顯示根據本發明的一實施例的模組化感測器整合系統的示意圖; [第2圖]為顯示根據本發明的實施例的模組化感測器整合系統的方塊示意圖; [第3圖]為顯示根據本發明的實施例的模組化感測器整合系統的運作的流程示意圖。[Figure 1] is a schematic diagram showing a modular sensor integration system according to an embodiment of the invention; [Figure 2] is a block showing a modular sensor integration system according to an embodiment of the invention Schematic diagram; [Figure 3] is a schematic flowchart showing the operation of a modular sensor integration system according to an embodiment of the present invention.

100:模組化感測器整合系統 100: Modular sensor integration system

1:感測端控制元件 1: Sensing end control element

2:通訊端控制元件 2: Communication terminal control element

3:無線通訊元件 3: wireless communication components

41:雲端資料庫 41: Cloud database

42:消息隊列遙測傳輸(MQTT)伺服器 42: Message Queue Telemetry Transmission (MQTT) server

51:電腦 51: Computer

52:手機 52: mobile phone

W:環境感測器 W: Environmental sensor

Claims (7)

一種模組化感測器整合系統,係用於整合複數個環境感測器,該模組化感測器整合系統包含: 複數個感測端控制元件,各自具有一感測端訊號接收埠、一感測端訊號取值單元、一資料編輯單元及一感測端資料傳送埠,各個該感測訊號接收埠各自連接於不同的該環境感測器,且各個該感測端訊號接收埠係各自模擬成相符於各自對應的該環境感測器之對應類型的訊號傳輸介面,以取得各自對應的該環境感測器的感測訊號,該感測端訊號取值單元連接於該感測端訊號接收埠,根據該環境感測器的訊號傳輸介面的類型而以對應的訊號校正及轉換方式處理該感測訊號而得到一環境感測值,該資料編輯單元訊號連接於該感測端訊號取值單元,將該環境感測值以一預定的訊號傳輸統整格式編輯為感測值資料,該感測端資料傳送埠訊號連接於該資料編輯單元,以將該訊號傳輸統整格式的感測值資料以一共同的訊號傳輸協定予以傳送; 一通訊端控制元件,具有複數個通訊端資料接收埠、一資料整合單元、一資料上傳單元及一通訊端資料傳送埠,各個該通訊端資料接收埠各自連接於個別的該感測端資料傳送埠,用以接收來自各個該感測端控制元件的該感測值資料,該資料整合單元訊號連接於各個該通訊端資料接收埠,而將所有接收到的該感測值資料予以收集整合成單一筆上傳資料,該資料上傳單元訊號連接於該資料整合單元及該通訊端資料傳送埠,以將該上傳資料經由該通訊端資料傳送埠傳送至一無線通訊元件;以及 該無線通訊元件,訊號連接於該通訊端資料傳送埠,以無線方式傳送該上傳資料至一遠端監控伺服器,其中, 該遠端監控伺服器係為一雲端資料庫,以供經由網路而瀏覽該上傳資料,及/或 該遠端監控伺服器係為一消息隊列遙測傳輸(MQTT)伺服器,基於一發佈/訂閱方式而自動發佈該上傳資料至一訂閱端監控裝置。A modular sensor integration system is used to integrate a plurality of environmental sensors. The modular sensor integration system includes: a plurality of sensing end control elements, each having a sensing end signal receiving port, A sensing terminal signal value unit, a data editing unit, and a sensing terminal data transmission port, each of the sensing signal receiving ports is connected to a different environmental sensor, and each of the sensing terminal signal receiving ports is Each is simulated to correspond to the corresponding type of signal transmission interface of the corresponding environmental sensor to obtain the corresponding sensing signal of the environmental sensor, and the signal value unit of the sensing terminal is connected to the sensing terminal The signal receiving port processes the sensed signal according to the type of the signal transmission interface of the environment sensor in a corresponding signal correction and conversion method to obtain an environment sensed value, and the signal of the data editing unit is connected to the signal of the sensing end The value unit edits the environmental sensed value into sensed value data in a predetermined signal transmission and integration format, and the signal transmission port signal of the sensing end is connected to the data editing unit to transmit the signal to the unified format The sensed value data is transmitted by a common signal transmission protocol; a communication terminal control element, which has a plurality of communication terminal data receiving ports, a data integration unit, a data upload unit, and a communication terminal data transmission port, each of the communication terminals The data receiving ports are respectively connected to the respective data transmission ports of the sensing end to receive the sensed value data from each of the sensing end control elements, and the data integration unit signal is connected to each of the communication end data receiving ports, and Collect and integrate all the received sensed value data into a single upload data, the signal of the data upload unit is connected to the data integration unit and the data transmission port of the communication terminal, so that the uploaded data passes through the data transmission port of the communication terminal Send to a wireless communication component; and the wireless communication component, the signal is connected to the data transmission port of the communication terminal, and the uploaded data is wirelessly transmitted to a remote monitoring server, wherein the remote monitoring server is a cloud A database for browsing the uploaded data via the network, and/or the remote monitoring server is a message queue telemetry transmission (MQTT) server, which automatically publishes the uploaded data to a based on a publish/subscribe method Subscription monitoring device. 如請求項1之模組化感測器整合系統,其中各個該感測端控制元件之該感測端資料傳送埠與該通訊端控制元件之各個該通訊端資料接收埠係以模擬方式模擬成相同的訊號傳輸介面。As in the modular sensor integrated system of claim 1, wherein the sensing-end data transmission port of each sensing-end control element and each of the communication-end data receiving ports of the communication-end control element are simulated in an analog manner The same signal transmission interface. 如請求項1之模組化感測器整合系統,其中該通訊端控制元件之該通訊端資料傳送埠係模擬成相符於該無線通訊元件之對應類型的訊號傳輸介面,以將該上傳資料傳送至該無線通訊元件。As in the modular sensor integration system of claim 1, wherein the communication port data transmission port of the communication port control element is simulated to correspond to the corresponding type of signal transmission interface of the wireless communication element to transmit the uploaded data To the wireless communication component. 如請求項1之模組化感測器整合系統,其中該共同的訊號傳輸協定係為一通用異步收發器(UART)通訊協定。As in the modular sensor integration system of claim 1, the common signal transmission protocol is a universal asynchronous transceiver (UART) communication protocol. 如請求項1之模組化感測器整合系統,其中該通訊端控制元件主動對各個該感測端控制元件輪流發送一感測值資料要求指令,各個該感測端控制元件係經設置在接收到該感測值資料要求指令時回傳該感測值資料。As in the modular sensor integration system of claim 1, wherein the communication end control element actively sends a sensing value data request command to each of the sensor end control elements in turn, each of the sensor end control elements is set at Upon receiving the sensing value data request instruction, the sensing value data is returned. 如請求項1之模組化感測器整合系統,其中該通訊端控制元件係以一預定的時間間隔而經由該無線通訊元件傳送該上傳資料至該雲端資料庫。The modular sensor integration system of claim 1, wherein the communication terminal control element transmits the uploaded data to the cloud database through the wireless communication element at a predetermined time interval. 如請求項1或6之模組化感測器整合系統,其中該預定的時間間隔為十五秒。The modular sensor integration system according to claim 1 or 6, wherein the predetermined time interval is fifteen seconds.
TW107142297A 2018-11-27 2018-11-27 Modular sensor integrated system TWI691189B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107142297A TWI691189B (en) 2018-11-27 2018-11-27 Modular sensor integrated system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107142297A TWI691189B (en) 2018-11-27 2018-11-27 Modular sensor integrated system

Publications (2)

Publication Number Publication Date
TWI691189B TWI691189B (en) 2020-04-11
TW202021326A true TW202021326A (en) 2020-06-01

Family

ID=71132552

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107142297A TWI691189B (en) 2018-11-27 2018-11-27 Modular sensor integrated system

Country Status (1)

Country Link
TW (1) TWI691189B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI770654B (en) * 2020-08-26 2022-07-11 大陸商艾聚達信息技術(蘇州)有限公司 Signal transmission device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7185287B2 (en) * 2002-07-03 2007-02-27 National Instruments Corporation Wireless deployment / distributed execution of graphical programs to smart sensors
TWI415034B (en) * 2011-06-22 2013-11-11 Nat Univ Chin Yi Technology Environmental monitoring methods and devices designed for the use of data fusion algorithms for cloud computing
CN202232241U (en) * 2011-08-30 2012-05-30 上海孙桥现代农业联合发展有限公司 Automated management system for agricultural and forest liquid manure
TW201627871A (en) * 2015-01-22 2016-08-01 yu-jun Huang An integrated multifunction recorder
TWI659658B (en) * 2017-03-08 2019-05-11 安研科技股份有限公司 Monitoring system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI770654B (en) * 2020-08-26 2022-07-11 大陸商艾聚達信息技術(蘇州)有限公司 Signal transmission device

Also Published As

Publication number Publication date
TWI691189B (en) 2020-04-11

Similar Documents

Publication Publication Date Title
CN105610904B (en) A kind of access service system being uniformly accessed into equipment
KR100894506B1 (en) Monitoring system for communication network having a plurality of layers
US8744807B2 (en) Scalable and extensible framework for storing and analyzing sensor data
CN110891005A (en) IOT equipment control method, cloud server and IOT equipment control system
CN108156263A (en) A kind of Internet of Things multi-parameter water quality on-line monitoring system and implementation method
US10855526B2 (en) Sensor registration method, sensor registration system, and relay device
KR101334457B1 (en) Apparatus and method for setting auto connection of sensor node based on sensor data
CN103235552B (en) A kind of RFID is automatically identified in line dynamic rapid weighing control system and control method thereof
JP2010130168A (en) Meter reading system
CN104881982A (en) Intelligent meter data acquiring system having self-adaptive meter reading strategy and acquiring method of intelligent meter data acquiring system
TWI691189B (en) Modular sensor integrated system
CN102752396A (en) Embedded type sensing server and data control method thereof
JP2023553881A (en) Modular sensor platform device
CN104851273A (en) Intelligent measuring system based on network
US11402244B2 (en) Automatic calibration of a measuring circuit
CN103884382A (en) Multifunction sensor and system thereof
CN106373361B (en) Wireless collection transmission device and method
Zwavashe et al. Integrating GSM and Zigbee Wireless Networks for Smart A2 farming Enterprises in Zimbabwe
CN208689460U (en) A kind of construction site monitoring system
US20220368780A1 (en) Assembly type edge system
CN105488969A (en) Temperature acquisition wireless cooperative communication apparatus
CN109917099A (en) A kind of distributed monitoring water quality equipment based on wide-area, wireless network
CN204360254U (en) Edible fungus culturing environment wireless remote monitoring device
Achlaq et al. Nawala Mangsa 2.0–Weather Station with BLE Broadcaster
CN214040418U (en) Temperature field reappearance device based on remote thermometer