A low-power environmentally friendly online monitoring communication module and communication method
By integrating network modules, Bluetooth modules and LoRa modules in environmental protection online monitoring communication modules, the problem of poor data transmission stability caused by poor network signals in environmental protection online monitoring is solved, and stable data transmission in different environments is achieved.
Patent Information
- Application Number
- CN202210570776.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-24
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2042-05-24
AI Technical Summary
When the monitoring environment of existing environmentally friendly online monitoring and communication equipment is poor, it is prone to poor network signal phenomena, resulting in poor stability of monitoring data transmission.
A low-power environmentally friendly online monitoring and communication module was designed, integrating network modules, Bluetooth modules and LoRa modules. Different module combinations deal with scenarios of poor network signals and ensure the stable transmission of environmental monitoring data.
This module provides different data signal transmission response solutions in environments with poor network signals, ensuring the stable transmission of environmental monitoring data and improving the reliability and general utility of the monitoring system.
Smart Images

Figure CN114979832B_ABST
Abstract
Description
[Technical field]
[0001] The present application relates to the technical field of environmental protection equipment monitoring, and in particular to a communication module and a communication method for low-power environmental protection online monitoring. [Background technology]
[0002] With the development of my country's economy and the strengthening of environmental awareness, the demand for environmental monitoring in various fields such as atmospheric environment, water environment, soil environment, etc. is gradually increasing. In the online monitoring of environmental protection, the communication module is the brain of the entire monitoring system. It is responsible for cycle control, data collection, data processing, data storage, data transmission and other functions. Its performance, stability and cost have an important impact on the construction, operation and maintenance of the environmental online monitoring system.
[0003] Existing environmental online monitoring communication equipment is mainly designed based on the usage requirements of monitoring stations and small and medium-sized monitoring sites. Since the monitoring environment of environmental monitoring equipment is generally poor, poor network signals are prone to occur, resulting in poor stability of monitoring data transmission. [Summary of the invention]
[0004] In order to ensure the transmission effect of environmental monitoring data, the present application provides a low-power environmental online monitoring communication module and communication method.
[0005] This application is implemented by the following technical solutions:
[0006] A low-power consumption and environmentally friendly online monitoring communication module comprises a substrate, a main control chip, a peripheral circuit, a monitoring sensor, a sensor interface, a memory card slot, a network module, a Bluetooth module, and a LoRa module. The main control chip, the peripheral circuit, the monitoring sensor, the sensor interface, the memory card slot, the network module, the Bluetooth module, and the LoRa module are all arranged on the substrate. The main control chip is electrically connected to the monitoring sensor, the sensor interface, the memory card slot, the network module, the Bluetooth module, and the LoRa module through the peripheral circuit.
[0007] In the low-power consumption and environmentally friendly online monitoring communication module as described above, the monitoring sensor includes a vibration sensor and a temperature and humidity sensor.
[0008] As described above, a low-power, environmentally friendly online monitoring communication module, the sensor interface includes an RS485 sensor interface, a switch sensor interface and an analog sensor interface, and the substrate is also provided with an RS485 sensor power supply indicator light electrically connected to the RS485 sensor interface, an analog sensor power supply interface electrically connected to the analog sensor interface and an analog sensor power supply indicator light.
[0009] As described above, in a low-power, environmentally friendly online monitoring communication module, the substrate is provided with a first side surface and a second side surface which are arranged opposite to each other, the Bluetooth module, the LoRa module, and the vibration sensor are arranged on the first layer in the middle of the first side surface of the substrate, and the network module is arranged on the second layer in the middle of the first side surface of the substrate; the main control chip is arranged in the middle of the second side surface of the substrate, and the peripheral circuit is arranged around the first layer of the second side surface of the substrate.
[0010] As described above, a low-power, environmentally friendly online monitoring communication module, the substrate is also provided with a reserved expansion interface, a function button, a function button conversion interface, a function indicator light, a firmware upgrade interface, a solar charging interface, a power supply mode switching jumper, a power interface, a power supply voltage monitoring interface, a power switch button, a power switch conversion interface and a debugging interface electrically connected to the main control chip; the RS485 sensor interface, the RS485 sensor power supply indicator light, and the reserved expansion interface are arranged on the left edge of the first layer of the first side of the substrate; the function button, the function button conversion interface, the function indicator light, and the memory card slot are arranged on the lower edge of the first layer of the first side of the substrate; the firmware upgrade interface, the solar charging interface, the power supply mode switching jumper, the power interface, the power supply voltage monitoring interface, the power switch button, and the power switch conversion interface are arranged on the right edge of the first layer of the first side of the substrate; the switch quantity sensor interface, the analog quantity sensor interface, the analog quantity sensor power supply interface, the analog quantity sensor power supply indicator light, the temperature and humidity sensor, and the debugging interface are arranged on the upper edge of the first layer of the first side of the substrate.
[0011] A communication method using the low-power consumption and environmentally friendly online monitoring communication module as described above comprises the following steps:
[0012] S1: After the module is powered on, it detects whether an SD card is inserted in the memory card slot. If there is no SD card, it will automatically restart after a preset time. If an SD card is detected, the configuration file status of the SD card is detected. If there is no configuration file, a new configuration file is generated according to the default value. If all fields in the configuration file are normal, the configuration information is directly read. If some fields in the configuration file are abnormal, the abnormal fields are automatically updated to the default value to generate a new configuration file.
[0013] S2: The module reads the working mode configuration information in the configuration file. If the information is configured as a relay host mode, the LoRa module is powered on. If the information is configured as an independent host mode, the network module is powered on. If the information is configured as a relay slave mode, the network module and the LoRa module are powered on.
[0014] S3: The module performs status detection on the monitoring sensor and the sensor connected to the sensor interface according to the sensor configuration information in the configuration file;
[0015] S4: The module initializes the network module or LoRa module according to the corresponding working mode configuration information;
[0016] S5: If the module is in relay host mode, all module configuration parameters are reported directly to the server. If the module is in independent host mode, relay slave mode and positioning mode is turned on, the module collects positioning information. If the positioning information is collected successfully, the module positioning information and all module configuration parameters are reported to the server. Otherwise, all module configuration parameters are reported directly.
[0017] S6: The module continuously collects and sends data according to the configuration parameters.
[0018] The communication method of the low-power environmentally friendly online monitoring communication module described above, in step S3, specifically includes the following steps:
[0019] S31: Read the configuration information of the monitoring sensor and the sensor port connected to the sensor interface. If all sensor ports are not enabled, the sensor detection is terminated directly. If the sensor port is enabled, the corresponding sensor port is powered on to pre-power the sensor.
[0020] S32: Collect data from the monitoring sensor and the sensor connected to the sensor interface. If the data is valid, report the sensor detection success information. If the data is invalid, repeat the collection. If the repeated collection times reach at least twice and still fail, report the sensor detection failure information.
[0021] As described above, the communication method of a low-power environmentally friendly online monitoring communication module, the LoRa module initialization process in step S2 is as follows:
[0022] S21: The module detects whether the LoRa module needs to be re-paired. If the module needs to be re-paired, it waits for the relay host / slave to pair. If it does not need to be re-paired, it waits for the relay host / slave to connect.
[0023] S22: The module detects the master / slave status of the relay. If the master / slave is detected, the master / slave pairing or connection is performed, and the LoRa connection is successful. If the master / slave cannot be detected, the LoRa connection fails.
[0024] S23: The module reports the LoRa connection result information to the server.
[0025] In the above-mentioned communication method of a low-power consumption and environmentally friendly online monitoring communication module, in step S6, the data collection process is as follows:
[0026] S61: If the module reaches the sending time and the set sending time interval is greater than or equal to the preset time, the module executes the network module power-on, otherwise the module directly proceeds to step S62;
[0027] S62: The module pre-powers the monitoring sensor and the sensor connected to the sensor interface according to the configuration information, and collects the corresponding sensor data after pre-powering. If the module turns on the positioning mode and triggers the positioning collection, the module collects the positioning data. After completion, the module stores the monitoring data locally. Otherwise, the module directly stores the monitoring data locally.
[0028] S63: If the module reaches the sending time, the module initializes the network module and then reports the monitoring data, otherwise it directly goes to the next step;
[0029] S64: If the module sending time interval is greater than or equal to the preset time and the collection time interval is greater than or equal to the preset time, the module executes the network module power-off and then goes into sleep; if the module sending time interval is greater than or equal to the preset time and the collection time interval is less than the preset time, the module executes the network module power-off; if the module sending time interval is less than the preset time and the collection time interval is greater than or equal to the preset time, the module executes the network module sleep and then goes into sleep; if the module sending time interval is less than the preset time and the collection time interval is less than the preset time, the module does not perform any operation.
[0030] In the communication method of the low-power environmentally friendly online monitoring communication module described above, the data sending process in step S6 is as follows:
[0031] S65: If the current network signal value of the module is greater than or equal to the lower limit setting value of the network signal, the time of unsent data T1 and the latest data time T2 are obtained, otherwise the data sending is terminated directly;
[0032] S66: The module sends T1 data to the server. If the module starts the server response, the module waits for the server response, otherwise it directly enters S68; if the module does not receive the server response, the module reestablishes the TCP / UDP connection and sends T1 data to the server again. If the number of repetitions reaches the set value, the data sending ends directly. If the server response is received, it goes to the next step;
[0033] S67: The module adds the T1 time to the data collection interval to generate a new T1 value. If the new T1 value is greater than T2, the data transmission ends, otherwise it returns to step S65.
[0034] Compared with the prior art, this application has the following advantages:
[0035] 1. When the communication module of this application is used for environmental data monitoring, it can implement different data signal transmission response plans in scenarios with poor network signals by carrying a network module, a Bluetooth module and a LoRa module, thereby ensuring stable transmission of environmental monitoring data.
[0036] 2. The communication module of this application supports sensors of RS485 digital signals, switch signals, and analog signals, and can call different sensors through parameter configuration according to environmental monitoring requirements, and has good versatility.
[0037] 3. The communication module circuit of the present application has high integration, adopts low-power chips, and has the advantages of small size and low power consumption.
Brief Description of the Drawings
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for describing the embodiments are briefly introduced below.
[0039] Figure 1 This is a top view of the low-power consumption and environmentally friendly online monitoring communication module of the present invention;
[0040] Figure 2 This is a side view of the low-power consumption and environmentally friendly online monitoring communication module of the present invention;
[0041] Figure 3 This is a bottom view of the low-power consumption and environmentally friendly online monitoring communication module of the present invention;
[0042] Figure 4 It is a working flow chart of the communication method of the low-power consumption and environmentally friendly online monitoring communication module of the present invention;
[0043] Figure 5 It is a sensor detection flow chart in the communication method of the low-power consumption and environmentally friendly online monitoring communication module of the present invention;
[0044] Figure 6 This is a flow chart of the initialization of the LoRa module in the communication method of the low-power environmentally friendly online monitoring communication module of the present invention;
[0045] Figure 7 It is a data acquisition flow chart of the communication method of the low-power consumption and environmentally friendly online monitoring communication module of the present invention;
[0046] Figure 8 The present invention is a flow chart of data transmission in the communication method of the low-power consumption and environmentally friendly online monitoring communication module. [Specific implementation method]
[0047] In order to make the technical problems, technical solutions and beneficial effects solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0048] When the embodiments of the present application mention ordinal numbers such as "first" and "second", unless they do express the meaning of order according to the context, they should be understood as being merely for the purpose of distinction.
[0049] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0050] Example: Figures 1 to 3 As shown, a low-power consumption and environmentally friendly online monitoring communication module disclosed in this embodiment includes a substrate 101, a main control chip 102, a peripheral circuit 103, a monitoring sensor 104, a sensor interface 105, a memory card slot 106, a network module 107, a Bluetooth module 108, and a LoRa module 109. The main control chip 102, the peripheral circuit 103, the monitoring sensor 104, the sensor interface 105, the memory card slot 106, the network module 107, the Bluetooth module 108 and the LoRa module 109 are all arranged on the substrate 101, and the main control chip 102 is electrically connected to the monitoring sensor 104, the sensor interface 105, the memory card slot 106, the network module 107, the Bluetooth module 108 and the LoRa module 109 through the peripheral circuit 103. When the communication module of this embodiment is performing environmental data monitoring, it can meet the use requirements of various communication methods by carrying a network module, a Bluetooth module and a LoRa module, and can implement different data signal transmission response plans in scenarios with poor network signals to ensure the stable transmission of environmental monitoring data. Among them, the network module 107 supports multiple communication methods such as NB-IoT, GSM, 3G / 4G, supports the transmission protocols of TCP and UDP, and supports Beidou and GPS positioning methods, which are used for data transmission and reception of the communication module and positioning of the communication module. The Bluetooth module 108 is used for Bluetooth configuration debugging data transmission and reception of the communication module. The LoRa module 109 is used for LoRa pairing connection and data forwarding between communication modules. When the communication module is in an environment with poor network signals, the environmental monitoring data is forwarded to the module in an environment with good signals through the LoRa module, and then forwarded to the server.
[0051] Furthermore, in order to facilitate the monitoring of relevant environmental data of the environment, the monitoring sensor 104 includes a vibration sensor 1041 and a temperature and humidity sensor 1042 .
[0052] Furthermore, the sensor interface 105 includes an RS485 sensor interface 1051, a switch sensor interface 1052 and an analog sensor interface 1053. The substrate 101 is also provided with an RS485 sensor power indicator 110 electrically connected to the RS485 sensor interface 1051, an analog sensor power interface 111 electrically connected to the analog sensor interface 1053 and an analog sensor power indicator 112. The communication module of this embodiment supports sensors of RS485 digital signals, switch signals and analog signals, and can call different sensors through parameter configuration according to environmental monitoring requirements, and has good versatility.
[0053] Furthermore, in order to improve the installation compactness of the communication module and improve the integration, the substrate 101 is provided with a first side surface and a second side surface arranged opposite to each other, the Bluetooth module 108, the LoRa module 109, and the vibration sensor 1041 are arranged on the first layer in the middle of the first side surface of the substrate 101, and the network module 107 is arranged on the second layer in the middle of the first side surface of the substrate 101; the main control chip 102 is arranged in the middle of the second side surface of the substrate, and the peripheral circuit 103 is arranged around the first layer of the second side surface of the substrate 101. The substrate 101 is also provided with a reserved expansion interface 113 electrically connected to the main control chip 102, a function button 114, a function button conversion interface 115, a function indicator light 116, a firmware upgrade interface 117, a solar charging interface 118, a power supply mode switching jumper 119, a power supply interface 120, a power supply voltage monitoring interface 121, a power switch button 122, and a power switch conversion interface 123 and a debugging interface 124; the RS485 sensor interface 1051, the RS485 sensor power supply indicator light 110, and the reserved expansion interface 113 are arranged on the left edge of the first layer of the first side of the substrate 101; the function button 114, the function button conversion interface 115, the function indicator light 116, and the memory card slot 109 are arranged on the lower edge of the first layer of the first side of the substrate; the firmware upgrade interface 117, the solar charging interface 118, the power supply mode switching jumper 119, the power interface 120, the power supply voltage monitoring interface 121, the power switch button 122, and the power switch conversion interface 123 are arranged on the right edge of the first layer of the first side of the substrate; the switch sensor interface 1052, the analog sensor interface 1053, the analog sensor power supply interface 111, the analog sensor power supply indicator light 112, the temperature and humidity sensor 1042, and the debugging interface 124 are arranged on the upper edge of the first layer of the first side of the substrate.
[0054] This embodiment also discloses Figure 4 A communication method using the low-power consumption and environmentally friendly online monitoring communication module as described above is shown, comprising the following steps:
[0055] S1: After the module is powered on, it detects whether an SD card is inserted in the memory card slot 106. If there is no SD card, it automatically restarts after a preset time, preferably after 10 seconds; if an SD card is detected, the configuration file status of the SD card is detected. If there is no configuration file, a new configuration file is generated according to the default value. If all fields in the configuration file are normal, the configuration information is directly read. If some fields in the configuration file are abnormal, the abnormal fields are automatically updated to the default value to generate a new configuration file; preferably, the configuration file adopts a txt text file, and the configuration information is set using different fields in each line.
[0056] S2: The module reads the working mode configuration information in the configuration file. If the relay host mode is read, the LoRa module 109 is powered on. If the independent host mode is read, the network module 107 is powered on. If the relay slave mode is read, the network module 107 and the LoRa module 109 are powered on. Preferably, the network module and the LoRa module are provided with independent power management circuits in the circuit to ensure that they do not generate power consumption when not in use. Preferably, the communication module adopts the independent host working mode by default.
[0057] S3: The module performs status detection on the monitoring sensor 104 and the sensor connected to the sensor interface 105 according to the sensor configuration information in the configuration file.
[0058] S4: The module initializes the network module 107 or the LoRa module 109 according to the corresponding working mode configuration information.
[0059] S5: If the module belongs to the relay host mode, all the configuration parameters of the module are directly reported to the server. If the module belongs to the independent host mode, the relay slave mode and the positioning mode is turned on, the module collects the positioning information. If the positioning information is collected successfully, the module positioning information and all the configuration parameters of the module are reported to the server. Otherwise, all the configuration parameters of the module are directly reported. Preferably, the positioning mode setting content includes positioning start and stop, positioning time, where the positioning time refers to the maximum time that the communication module attempts to search the current position when positioning, and more preferably, the positioning time defaults to 15s.
[0060] S6: The module continuously collects and sends data according to the configuration parameters. Preferably, the communication module defaults to a collection time interval and a sending time interval of 600s.
[0061] Furthermore, if Figure 5 As shown, the step S3 specifically includes the following steps:
[0062] S31: Read the configuration information of the monitoring sensor 104 and the sensor port connected to the sensor interface 105. If all sensor ports are not enabled, the sensor detection is terminated directly. If the sensor port is enabled, the corresponding sensor port is energized to pre-power the sensor. Preferably, the pre-power time is 5S; preferably, the sensor is powered by a DC voltage of 3 to 36V, and the power supply voltage is automatically adjusted according to the power supply requirements of different sensors.
[0063] S32: Collect the data of the monitoring sensor 104 and the sensor connected to the sensor interface 105. If the data is valid, report the sensor detection success information. If the data is invalid, repeat the collection. If the repeated collection times reach at least two times and still fail, preferably set to three times, then report the sensor detection failure information. Preferably, the sensor connected to the sensor interface 105 is an RS485 sensor that supports the Modbus protocol. Preferably, for sensors that require multiple instructions to collect in steps, if the reply data of one of the instructions is invalid, the repeated collection starts only from this instruction.
[0064] Furthermore, if Figure 6 As shown, the initialization process of the LoRa module 109 in step S2 is as follows:
[0065] S21: The module detects whether the LoRa module 109 needs to be re-paired. If the module needs to be re-paired, it waits for the relay host / slave pairing. If it does not need to be re-paired, it waits for the relay host / slave connection. Preferably, the relay slave receives the data of the relay host and forwards it to the server, and it can be paired and connected with up to 50 relay hosts.
[0066] S22: The module detects the status of the relay master / slave. If the master / slave is detected, the master / slave pairing or connection is performed, and the LoRa connection is successful. If the master / slave cannot be detected, the LoRa connection fails. Preferably, the relay host / slave waiting time for connection is 600s. If no reply is received from the other party, the communication module automatically restarts and waits for connection again.
[0067] S23: The module reports the LoRa connection result information to the server.
[0068] Furthermore, if Figure 7 As shown, in step S6, the data collection process is as follows:
[0069] S61: In order to reduce the power consumption of the module when sending data, if the module reaches the sending time and the set sending time interval is greater than or equal to the preset time, preferably, the preset time is 7200S, the module executes the network module 107 to power on, otherwise the module directly proceeds to step S62;
[0070] S62: The module pre-powers the monitoring sensor 104 and the sensor connected to the sensor interface 105 according to the configuration information, and collects the corresponding sensor data after pre-powering. If the module turns on the positioning mode and triggers the positioning collection, the module collects the positioning data. After completion, the module stores the monitoring data locally, otherwise, the communication module directly stores the monitoring data locally; preferably, the sensor pre-powering time defaults to 15s. Preferably, the communication module uses an SD card with 16Gb storage space. Preferably, the communication module stores the monitoring data in the SD card in a txt file, and places it in a separate file per day and a folder per month.
[0071] S63: If the module reaches the sending time, the module initializes the network module 107 and then reports the monitoring data, otherwise it directly goes to the next step;
[0072] S64: If the module sending time interval is greater than or equal to the preset time, preferably 7200S, and the collection time interval is greater than or equal to the preset time, preferably 60S, the module executes the network module 107 to sleep after powering off; if the module sending time interval is greater than or equal to the preset time, preferably 7200S, and the collection time interval is less than the preset time, preferably 60S, the module executes the network module 107 to sleep after powering off; if the module sending time interval is less than the preset time, preferably 7200S, and the collection time interval is greater than or equal to the preset time, preferably 60S, the module executes the network module 107 to sleep after sleep; if the module sending time interval is less than the preset time, preferably 7200S, and the collection time interval is less than the preset time, preferably 60S, the module does not perform any operation.
[0073] Furthermore, if Figure 8 As shown, the data sending process in step S6 is as follows:
[0074] S65: If the current network signal value of the module is greater than or equal to the network signal lower limit setting value, the unsent data time T1 and the latest data time T2 are obtained, otherwise the data sending is terminated directly; preferably, when the communication module uses the NB-IoT network module, the optimal signal value is 31, and the default signal lower limit setting value is 10.
[0075] S66: The module sends T1 data to the server. If the module turns on the server response, the module waits for the server response, otherwise it directly enters S68; if the module does not receive the server response, the module rebuilds the TCP / UDP connection and sends the T1 data to the server again. If the number of repetitions reaches the set value, the data sending is terminated directly. If a server response is received, the next step is entered; preferably, the server response waiting time of the communication module defaults to 5s, and the maximum number of attempts to send defaults to 3 times.
[0076] S67: The module adds the T1 time to the data collection interval to generate a new T1 value. If the new T1 value is greater than T2, the data transmission ends, otherwise it returns to step S65.
[0077] As described above, multiple implementation methods are provided in combination with specific contents, and the specific implementation of this application is not limited to these descriptions. Any similarity or similarity with the method, structure, etc. of this application, or any technical deduction or replacement made on the premise of the concept of this application, shall be deemed to be within the scope of protection of this application.
Claims
1. A communication method using a low-power, environmentally friendly online monitoring communication module, wherein: A low-power consumption and environmentally friendly online monitoring communication module comprises a substrate (101), a main control chip (102), a peripheral circuit (103), a monitoring sensor (104), a sensor interface (105), a memory card slot (106), a network module (107), a Bluetooth module (108), and a LoRa module (109); the main control chip (102), the peripheral circuit (103), the monitoring sensor (104), the sensor interface (105), the memory card slot (106), the network module (107), the Bluetooth module (108), and the LoRa module (109) are all arranged on the substrate (101); the main control chip (102) is electrically connected to the monitoring sensor (104), the sensor interface (105), the memory card slot (106), the network module (107), the Bluetooth module (108), and the LoRa module (109) through the peripheral circuit (103); It is characterized by comprising the following steps: S1: After the module is powered on, it detects whether an SD card is inserted into the memory card slot (106). If no SD card is inserted, it automatically restarts after a preset time. If an SD card is detected, the configuration file status of the SD card is detected. If no configuration file is inserted, a new configuration file is generated according to the default value. If all fields in the configuration file are normal, the configuration information is directly read. If some fields in the configuration file are abnormal, the abnormal fields are automatically updated to the default value to generate a new configuration file. S2: The module reads the working mode configuration information in the configuration file. If the configuration is a relay host mode, the LoRa module (109) is powered on. If the configuration is an independent host mode, the network module (107) is powered on. If the configuration is a relay slave mode, the network module (107) and the LoRa module (109) are powered on. S3: the module performs status detection on the monitoring sensor (104) and the sensor connected to the sensor interface (105) according to the sensor configuration information in the configuration file; S4: the module initializes the network module (107) or the LoRa module (109) according to the corresponding working mode configuration information; S5: If the module is in relay host mode, all module configuration parameters are reported directly to the server. If the module is in independent host mode, relay slave mode and positioning mode is turned on, the module collects positioning information. If the positioning information is collected successfully, the module positioning information and all module configuration parameters are reported to the server. Otherwise, all module configuration parameters are reported directly. S6: The module continuously collects and sends data according to the configuration parameters.
2. A communication method using a low-power consumption and environmentally friendly online monitoring communication module according to claim 1, characterized in that: The step S3 specifically includes the following steps: S31: reading the configuration information of the monitoring sensor (104) and the sensor port connected to the sensor interface (105); if all the sensor ports are not enabled, directly terminating the sensor detection; if the sensor ports are enabled, energizing the corresponding sensor ports to pre-power the sensors; S32: Collecting data from the monitoring sensor (104) and the sensor connected to the sensor interface (105); if the data is valid, reporting sensor detection success information; if the data is invalid, repeating the collection; if the repeated collection times reach at least two times and still fail, reporting sensor detection failure information.
3. A communication method using a low-power consumption and environmentally friendly online monitoring communication module according to claim 1, characterized in that: The initialization process of the LoRa module (109) in step S2 is as follows: S21: The module detects whether the LoRa module needs to be re-paired (109). If the module needs to be re-paired, it waits for the relay host / slave to be paired. If it does not need to be re-paired, it waits for the relay host / slave to be connected. S22: The module detects the master / slave status of the relay. If the master / slave is detected, the master / slave pairing or connection is performed, and the LoRa connection is successful. If the master / slave cannot be detected, the LoRa connection fails. S23: The module reports the LoRa connection result information to the server.
4. A communication method using a low-power consumption and environmentally friendly online monitoring communication module according to claim 1, characterized in that: In step S6, the data collection process is as follows: S61: If the module reaches the sending time and the set sending time interval is greater than or equal to the preset time, the module executes the network module (107) to power on, otherwise the module directly proceeds to step S62; S62: the module pre-powers the monitoring sensor (104) and the sensor connected to the sensor interface (105) according to the configuration information, and collects the corresponding sensor data after pre-powering. If the module starts the positioning mode and triggers the positioning collection, the module collects the positioning data. After completion, the module stores the monitoring data locally. Otherwise, the module directly stores the monitoring data locally. S63: If the module reaches the sending time, the module initializes the network module (107) and then reports the monitoring data, otherwise it directly goes to the next step; S64: If the module sending time interval is greater than or equal to the preset time and the collection time interval is greater than or equal to the preset time, the module executes the network module (107) to power off and then go into sleep mode; if the module sending time interval is greater than or equal to the preset time and the collection time interval is less than the preset time, the module executes the network module (107) to power off; if the module sending time interval is less than the preset time and the collection time interval is greater than or equal to the preset time, the module executes the network module (107) to power off and then go into sleep mode; if the module sending time interval is less than the preset time and the collection time interval is less than the preset time, the module does not perform any operation.
5. The communication method using a low-power consumption and environmentally friendly online monitoring communication module according to claim 1, characterized in that: The data sending process in step S6 is as follows: S65: If the current network signal value of the module is greater than or equal to the lower limit setting value of the network signal, the time of unsent data T1 and the latest data time T2 are obtained, otherwise the data sending is terminated directly; S66: The module sends T1 data to the server. If the module starts the server response, the module waits for the server response, otherwise it directly enters S68; if the module does not receive the server response, the module reestablishes the TCP / UDP connection and sends T1 data to the server again. If the number of repetitions reaches the set value, the data sending ends directly. If the server response is received, it goes to the next step; S67: The module adds the T1 time to the data collection interval to generate a new T1 value. If the new T1 value is greater than T2, the data transmission ends, otherwise it returns to step S65.
6. The communication method using a low-power consumption and environmentally friendly online monitoring communication module according to claim 1, characterized in that: The monitoring sensor (104) comprises a vibration sensor (1041) and a temperature and humidity sensor (1042).
7. The communication method using a low-power consumption and environmentally friendly online monitoring communication module according to claim 6, characterized in that: The sensor interface (105) comprises an RS485 sensor interface (1051), a switch quantity sensor interface (1052) and an analog quantity sensor interface (1053); the substrate (101) is also provided with an RS485 sensor power supply indicator (110) electrically connected to the RS485 sensor interface (1051), an analog quantity sensor power supply interface (111) electrically connected to the analog quantity sensor interface (1053) and an analog quantity sensor power supply indicator (112).
8. A communication method using a low-power consumption and environmentally friendly online monitoring communication module according to claim 6, characterized in that: The substrate (101) is provided with a first side surface and a second side surface which are arranged opposite to each other; the Bluetooth module (108), the LoRa module (109), and the vibration sensor (1041) are arranged on a first layer in the middle of the first side surface of the substrate (101); the network module (107) is arranged on a second layer in the middle of the first side surface of the substrate (101); the main control chip (102) is arranged in the middle of the second side surface of the substrate; and the peripheral circuit (103) is arranged around the first layer of the second side surface of the substrate (101).
9. A communication method using a low-power consumption and environmentally friendly online monitoring communication module according to claim 7, characterized in that: The substrate (101) is also provided with a reserved expansion interface (113) electrically connected to the main control chip (102), a function button (114), a function button transfer interface (115), a function indicator light (116), a firmware upgrade interface (117), a solar charging interface (118), a power supply mode switching jumper (119), a power supply interface (120), a power supply voltage monitoring interface (121), a power switch button (122), a power switch transfer interface (123) and a debugging interface (124); the RS485 sensor interface (1051), the RS485 sensor power supply indicator light (110), and the reserved expansion interface (113) are arranged on the left edge of the first layer of the first side surface of the substrate (101); the function button (114), the function button transfer interface (115), the function indicator light (116), the firmware upgrade interface (117), the solar charging interface (118), the power supply mode switching jumper (119), the power supply interface (120), the power supply voltage monitoring interface (121), the power switch button (122), the power switch transfer interface (123) and the debugging interface (124). The function button transfer interface (115), the function indicator light (116), and the memory card slot (109) are arranged on the lower edge of the first layer of the first side surface of the substrate; the firmware upgrade interface (117), the solar charging interface (118), the power supply mode switching jumper (119), the power interface (120), the power supply voltage monitoring interface (121), the power switch button (122), and the power switch transfer interface (123) are arranged on the right edge of the first layer of the first side surface of the substrate; the switch quantity sensor interface (1052), the analog quantity sensor interface (1053), the analog quantity sensor power supply interface (111), the analog quantity sensor power supply indicator light (112), the temperature and humidity sensor (1042), and the debugging interface (124) are arranged on the upper edge of the first layer of the first side surface of the substrate.
Citation Information
Patent Citations
Low-power-consumption environment-friendly online monitoring communication module
CN218099970U
LoRaWAN COMMUNICATION-BASED IoT BUOY FOR MONITORING LONG DISTANCE SEA ENVIRONMENT AND SENSING SYSTEM USING THE SAME
KR102249704B1