Multi-source heterogeneous data transmission method for hillside orchard

Through ZigBee technology and the networking of multi-source heterogeneous sensor nodes of the microcontroller STM32F103C8T6, the insufficient coverage and data loss of wireless sensor nodes in mountain orchards is solved, real-time and reliable multi-source data transmission and storage are achieved, and data transmission efficiency is improved.

CN120358465APending Publication Date: 2025-07-22SOUTH CHINA AGRICULTURAL UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510704300.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-29
Publication Date
2025-07-22

AI Technical Summary

Technical Problem

The wireless sensor nodes in mountain orchards have problems such as insufficient coverage capacity, high energy consumption, easy loss of connection and easy loss of data when transmitting data. Especially in complex environments, communication is unstable and data cannot be stored non-volatile.

Method used

ZigBee technology is used to organize the Mesh network of multi-source heterogeneous sensor nodes, and the sensor is connected to the multi-channel RS485 interface through the microcontroller STM32F103C8T6, and combined with the power supply circuit, clock circuit and TTL-RS485 module to realize data preprocessing and aggregation to the hub gateway, and then converted to natural language and uploaded to the computer and server through the MQTT protocol.

Benefits of technology

Real-time and reliable data transmission in mountain orchard environments is realized, data transmission speed and reliability are improved, data transmission speed and reliability are ensured, and data is not lost, and real-time acquisition and efficient communication of multi-source sensor data are supported.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120358465A_ABST
    Figure CN120358465A_ABST
Patent Text Reader

Abstract

The invention provides a multi-source heterogeneous data transmission method for a hillside orchard, and the method comprises the steps: deploying multi-source heterogeneous sensor nodes in an orchard environment, and carrying out the Mesh networking of the multi-source heterogeneous sensor nodes through a ZigBee technology; a multi-source heterogeneous sensor node is used for collecting fruit tree body growth information and environment information data, and preprocessed multi-source sensor data is aggregated to a central gateway and stored in a database; performing conversion of standardization and natural language interpretation on the multi-source sensor data; and uploading the converted multi-source sensor data to a computer and a server in an MQTT mode. According to the multi-source heterogeneous sensor node disclosed by the invention, more efficient data transmission and uploading of the cloud server are realized through a ZigBee technology; fruit tree growth information and environment information can be collected through a multi-source sensor; the aggregation of the multi-source sensor data can be realized through the central gateway, and the data can be stored through the database, so that the data loss is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data transmission, and in particular to a multi-source heterogeneous data transmission method for mountain orchards. Background Art

[0002] The growth information and environmental information data of traditional orchards are only stored in the data terminals in the orchard, which is likely to cause "information islands".

[0003] At present, most of the wireless sensor nodes in the mountain orchard environment use protocols such as 4G network and LoRa to transmit data, and the transmission of wireless sensor networks requires security and reliability. The wireless sensor nodes in the mountain orchard environment are composed of a large number of stationary sensors. The mountain terrain and complex natural environment of the orchard require the sensor node network to have a strong coverage ability for the area, and have high requirements for the energy and power consumption of wireless transmission. It is very likely that there will be a short-term disconnection of one party during communication. In addition, the sensor node devices do not have the ability to store data non-volatile, and the data will be lost after power failure. Summary of the Invention

[0004] In view of the deficiencies of the prior art, the present invention provides a multi-source heterogeneous data transmission method for mountain orchards, which improves the speed and reliability of data transmission and realizes real-time and accurate acquisition of fruit tree growth information and mountain orchard environmental information.

[0005] The technical solution of the present invention is as follows: A multi-source heterogeneous data transmission method for mountain orchards, including the following steps:

[0006] S1), Deploy multi-source heterogeneous sensor nodes in the orchard environment, and implement Mesh networking for the multi-source heterogeneous sensor nodes through ZigBee technology;

[0007] S2), Use the multi-source heterogeneous sensor nodes to collect fruit tree body growth information and environmental information data, and preprocess the collected multi-source sensor data through data verification and filtering technology;

[0008] S3), Aggregate the multi-source sensor data processed in step S2) to the central gateway, and store the data in the database;

[0009] S4), Perform normalized conversion on the multi-source sensor data in the database, and convert the multi-source sensor data into a natural language interpretation;

[0010] S5), Upload the converted multi-source sensor data to the computer in the MQTT manner, parse and process the multi-source sensor data through the computer, and upload it to the server at the same time.

[0011] Preferably, in step S1), the multi-source heterogeneous sensor node includes a microcontroller, the model of the microcontroller is STM32F103C8T6, and the microcontroller is communicatively connected to the multi-source sensors through a multi-channel RS485 interface.

[0012] Preferably, in step S1), the multi-source sensors include a barometric pressure sensor, a temperature and humidity sensor, a wind direction sensor, a wind speed sensor, a rainfall sensor, a photosynthetically active radiation sensor, a chlorophyll meter SPAD, and a stem flow sensor.

[0013] Preferably, in step S1), the multi-source heterogeneous sensor node further includes a power supply circuit, a clock circuit, and a multiplexed TTL-RS485 module.

[0014] Preferably, in step S1), the power supply circuit is composed of an ASM1117 voltage regulator power chip, a lithium battery, and a filter circuit.

[0015] Preferably, in step S1), the clock circuit provides a clock for the microcontroller, which are a 32.768 MHz crystal oscillator and an 8 MHz crystal oscillator respectively.

[0016] Preferably, in step S1), the multiplexed TTL-RS485 module uses a MAX3485 model chip to realize the mutual conversion between TTL protocol level and 485 protocol level. The multiplexed TTL-RS485 module is signal-connected to the multi-channel RS485 interface to realize the communication connection with the multi-source sensors.

[0017] Preferably, in step S2), device information and a custom data check bit are added to the preprocessed multi-source sensor data for encoding.

[0018] Preferably, in step S3), the central gateway is connected to the UART interface of the microcontroller through a ZigBee communication module, and the central gateway is also connected to a computer.

[0019] Preferably, in step S3), the database has storage fields for atmospheric pressure, temperature and humidity, wind direction, wind speed, rainfall, photosynthetically active radiation, SPAD, stem flow, and timestamp, and stores the multi-source sensor data according to the corresponding fields.

[0020] Preferably, in step S4), a data verification method is used to add a data bit verification bit to the head of the data frame so that the server can verify the received data; then the quantified data is compared with the prior knowledge in the database and converted into key-value pairs and then into natural language text.

[0021] Preferably, in step S4), the conversion of the multi-source sensor data into a natural language interpretation is specifically as follows:

[0022] Convert atmospheric pressure into text for rainfall prediction;

[0023] Convert temperature and humidity into text for temperature and humidity description;

[0024] Convert wind direction and wind speed into text for wind direction and wind speed description;

[0025] Convert rainfall amount into text for rainfall amount description;

[0026] Convert photosynthetically active radiation and SPAD into text for the growth status of fruit trees; convert stem sap flow into text for the description of the water absorption capacity of fruit trees.

[0027] Preferably, in step S5), the multi-source sensor data converted into natural language is encoded with a transmission protocol, and then the data is transmitted to a computer and a server based on the MQTT protocol.

[0028] The beneficial effects of the present invention are as follows:

[0029] 1. The multi-source heterogeneous sensor nodes of the present invention can achieve more efficient data transmission and report data to the cloud server through ZigBee technology;

[0030] 2. The present invention can collect the growth information and environmental information of fruit trees (atmospheric pressure, temperature and humidity, wind direction, wind speed, rainfall amount, photosynthetically active radiation, SPAD, stem sap flow) through multi-source sensors, and can achieve real-time data collection in the mountain orchard environment and improve communication efficiency;

[0031] 3. The present invention can aggregate multi-source sensor data through the central gateway and store it in a database. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 It is a schematic flowchart of the method of the present invention;

[0033] Figure 2 It is a schematic framework diagram of the present invention;

[0034] Figure 3 It is a schematic framework diagram of the multi-source heterogeneous sensor node of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0035] The following further describes the specific embodiments of the present invention with reference to the drawings:

[0036] Embodiment 1

[0037] As Figure 1 shown, this embodiment provides a multi-source heterogeneous data transmission method for mountain orchards, including the following steps:

[0038] S1), Deploy multi-source heterogeneous sensor nodes in the orchard environment, and implement Mesh networking for the multi-source heterogeneous sensor nodes through ZigBee technology;

[0039] As Figure 2 shown, in this embodiment, multiple multi-source heterogeneous sensor nodes are set up to obtain data at different positions in the mountain orchard.

[0040] As Figure 3 shown, the multi-source heterogeneous sensor node includes a microcontroller, and the model of the microcontroller is STM32F103C8T6. The microcontroller is communicatively connected to the multi-source sensors through a multi-channel RS485 interface.

[0041] In this embodiment, the multi-source sensors include a barometric pressure sensor, a temperature and humidity sensor, a wind direction sensor, a wind speed sensor, a rainfall sensor, a photosynthetically active radiation sensor, a chlorophyll meter SPAD, and a stem flow sensor, which are respectively used to obtain the barometric pressure, temperature and humidity, wind direction, wind speed, rainfall, photosynthetically active radiation, SPAD, and stem flow data of the mountain orchard.

[0042] In this embodiment, the multi-source heterogeneous sensor node also includes a power supply circuit, a clock circuit, and a multiplexed TTL-RS485 module. In this embodiment, the power supply circuit is composed of an ASM1117 voltage regulator power chip, a lithium battery, and a filtering circuit, and the power supply circuit provides 3.3V power for the multi-source heterogeneous sensor node. The clock circuit provides a clock for the microcontroller, which are a 32.768MHz crystal oscillator and an 8MHz crystal oscillator respectively. The multiplexed TTL-RS485 module uses a MAX3485 model chip to realize the mutual conversion between TTL protocol level and 485 protocol level. The multiplexed TTL-RS485 module is signal-connected to the multi-channel RS485 interface to realize communication connection with the multi-source sensors.

[0043] In addition, the microcontroller of this embodiment also includes a debugging JTAG interface circuit, a reset circuit, and an interactive UART circuit. The debugging JTAG interface circuit is used for program burning, downloading, and debugging of the microcontroller. The reset circuit is signal-connected to the reset port of the microcontroller to perform a reset operation on the microcontroller. The interactive UART circuit is signal-connected to the GPIO multiplexed I / O of the microcontroller for standby device debugging.

[0044] S2), Use the multi-source heterogeneous sensor nodes to collect the growth information and environmental information data of the fruit tree body, and preprocess the collected multi-source sensor data through data verification and filtering technology;

[0045] This embodiment also encodes the preprocessed multi-source sensor data by adding device information and custom data check bits.

[0046] S3), Aggregate the multi-source sensor data processed in step S2) to the central gateway, and store the data in the database;

[0047] In this embodiment, the central gateway is connected to the UART interface of the microcontroller through a ZigBee communication module, and the central gateway is also connected to a computer.

[0048] The database has storage fields for atmospheric pressure, temperature and humidity, wind direction, wind speed, rainfall, photosynthetically active radiation, SPAD, stem flow, and timestamp, and stores multi-source sensor data according to the corresponding fields.

[0049] S4), Perform a normalized conversion on the multi-source sensor data in the database, and convert the multi-source sensor data into a natural language interpretation;

[0050] In this embodiment, a data verification method is used to add a data bit verification bit to the data frame header to enable the server to verify the received data; then, the quantified data is compared with the prior knowledge in the database and converted into key-value pairs and then into natural language text.

[0051] Converting the multi-source sensor data into a natural language interpretation specifically includes:

[0052] Convert the atmospheric pressure into text for rainfall prediction;

[0053] Convert the temperature and humidity into text for temperature and humidity description;

[0054] Convert the wind direction and wind speed into text for wind direction and wind speed description;

[0055] Convert the rainfall into text for rainfall description;

[0056] Convert the photosynthetically active radiation and SPAD into text for the growth status of fruit trees; convert the stem flow into text for the description of the water absorption ability of fruit trees.

[0057] S5), Upload the converted multi-source sensor data to the computer in the MQTT manner, and perform parsing and processing on the multi-source sensor data through the computer, and upload it to the server at the same time.

[0058] In this embodiment, the multi-source sensor data converted into natural language is encoded with a transmission protocol, and then the data is transmitted to the computer and the server based on the MQTT protocol.

[0059] Embodiment 2

[0060] Such as Figure 2 And 3As shown in the figure, this embodiment provides a multi-source heterogeneous data transmission system for mountain orchards. The system includes:

[0061] Multi-source heterogeneous sensor nodes, which are used to collect the growth information of fruit tree bodies and environmental information data, and implement Mesh networking for the multi-source heterogeneous sensor nodes through ZigBee technology;

[0062] A central gateway, which is used to aggregate multi-source sensor data;

[0063] A ZigBee communication module, which is used for the communication connection between the multi-source heterogeneous sensor nodes and the central gateway;

[0064] A database, which is used to temporarily store the multi-source sensor data aggregated by the central gateway;

[0065] A conversion module, which is used to perform standardized conversion on the multi-source sensor data in the database, convert the multi-source sensor data into a natural language interpretation; and upload the converted multi-source sensor data to a computer in the MQTT manner, parse and process the multi-source sensor data through the computer, and upload it to the server at the same time;

[0066] A computer, which is used to parse and process the multi-source sensor data transmitted by the conversion module;

[0067] A server, which is used to store the multi-source sensor data.

[0068] Preferably, in this embodiment, the multi-source heterogeneous sensor nodes include a microcontroller, the model of the microcontroller is STM32F103C8T6, and the microcontroller is communicatively connected to the multi-source sensors through a multi-channel RS485 interface.

[0069] Preferably, in this embodiment, the multi-source sensors include a barometric pressure sensor, a temperature and humidity sensor, a wind direction sensor, a wind speed sensor, a rainfall sensor, a photosynthetically active radiation sensor, a chlorophyll meter SPAD, and a stem flow sensor. They are respectively used to obtain the barometric pressure, temperature and humidity, wind direction, wind speed, rainfall, photosynthetically active radiation, SPAD, and stem flow data of the mountain orchard.

[0070] Preferably in this embodiment, the multi-source heterogeneous sensor node further includes a power supply circuit, a clock circuit, and a multiplexed TTL-RS485 module. In this embodiment, the power supply circuit is composed of an ASM1117 voltage regulator power chip, a lithium battery, and a filtering circuit, and the power supply circuit provides a 3.3V power supply for the multi-source heterogeneous sensor node. The clock circuit provides a clock for the microcontroller, which are a 32.768MHz crystal oscillator and an 8MHz crystal oscillator respectively. The multiplexed TTL-RS485 module uses a MAX3485 model chip to realize the mutual conversion between the TTL protocol level and the 485 protocol level. The multiplexed TTL-RS485 module is signal-connected to a multi-channel RS485 interface to realize the communication connection with the multi-source sensor.

[0071] Preferably in this embodiment, the microcontroller is also connected to a debugging JTAG interface circuit, a reset circuit, and an interactive UART circuit. The debugging JTAG interface circuit is used for the programming download and debugging of the microcontroller program. The reset circuit is signal-connected to the reset port of the microcontroller to perform a reset operation on the microcontroller. The interactive UART circuit is signal-connected to the GPIO multiplexed I / O of the microcontroller for standby device debugging.

[0072] Preferably in this embodiment, the central gateway is connected to the UART interface of the microcontroller through a ZigBee communication module, and the central gateway is also connected to a computer.

[0073] Preferably in this embodiment, the database has storage fields for atmospheric pressure, temperature and humidity, wind direction, wind speed, rainfall, photosynthetically active radiation, SPAD, stem sap flow, and timestamp, and stores multi-source sensor data according to the corresponding fields.

[0074] The above embodiments and descriptions in the specification only illustrate the principles and the best embodiments of the present invention. Without departing from the spirit and scope of the present invention, the present invention will have various changes and improvements, and these changes and improvements fall within the scope of the present invention claimed.

Claims

1. A multi-source heterogeneous data transmission method for mountain orchards, characterized in that, It includes the following steps: S1), Deploy multi-source heterogeneous sensor nodes in the orchard environment, and implement Mesh networking for the multi-source heterogeneous sensor nodes through ZigBee technology; S2), Use the multi-source heterogeneous sensor nodes to collect the growth information of the fruit tree body and environmental information data, and preprocess the collected multi-source sensor data through data verification and filtering technology; S3), Aggregate the multi-source sensor data processed in step S2) to the central gateway, and store the data in the database; S4), Perform normalized conversion on the multi-source sensor data in the database, and convert the multi-source sensor data into a natural language interpretation; S5), Upload the converted multi-source sensor data to the computer in the MQTT manner, parse and process the multi-source sensor data through the computer, and upload it to the server at the same time.

2. The multi-source heterogeneous data transmission method for mountain orchards according to claim 1, characterized in that: In step S1), the multi-source heterogeneous sensor nodes include a microcontroller, a power supply circuit, a clock circuit, and a multiplexed TTL-RS485 module. The microcontroller is communicatively connected to the multi-source sensors through a multi-channel RS485 interface.

3. The multi-source heterogeneous data transmission method for mountain orchards according to claim 2, wherein: In step S1), the multi-source sensors include a barometric pressure sensor, a temperature and humidity sensor, a wind direction sensor, a wind speed sensor, a rainfall sensor, a photosynthetically active radiation sensor, a chlorophyll meter SPAD, and a stem flow sensor.

4. A multi-source heterogeneous data transmission method for mountain orchards according to claim 2, characterized in that: In step S1), the model of the microcontroller is STM32F103C8T6.

5. The multi-source heterogeneous data transmission method for mountain orchards according to claim 2, wherein: In step S1), the power supply circuit provides 3.3V power to the multi-source heterogeneous sensor nodes, and the power supply circuit is composed of an ASM1117 voltage regulator power chip, a lithium battery, and a filter circuit; the clock circuit provides a clock for the microcontroller, which are a 32.768MHz crystal oscillator and an 8MHz crystal oscillator respectively.

6. A multi-source heterogeneous data transmission method for mountain orchards according to claim 2, characterized in that: In step S1), the multiplexed TTL-RS485 module uses a MAX3485 model chip to realize the mutual conversion between TTL protocol level and 485 protocol level. The multiplexed TTL-RS485 module is signal-connected to the multi-channel RS485 interface to realize communication connection with the multi-source sensors.

7. A multi-source heterogeneous data transmission method for mountain orchards according to claim 2, characterized in that: In step S3), the central gateway is connected to the UART interface of the microcontroller through a ZigBee communication module, and the central gateway is also connected to the computer.

8. A multi-source heterogeneous data transmission method for mountain orchards according to claim 1, characterized in that: In step S3), the database has storage fields for atmospheric pressure, temperature and humidity, wind direction, wind speed, rainfall, photosynthetically active radiation, SPAD, stem flow, and timestamp, and stores the multi-source sensor data according to the corresponding fields.

9. A multi-source heterogeneous data transmission method for mountain orchards according to claim 1, characterized in that: In step S4), use the data verification method to add a data bit verification bit to the head of the data frame, so that the server can verify the received data; then compare the quantified data with the prior knowledge in the database and perform key-value pair conversion to convert it into a natural language text.

10. A multi-source heterogeneous data transmission method for mountain orchards according to claim 9, characterized in that: In step S4), converting the multi-source sensor data into a natural language interpretation specifically includes: Converting the atmospheric pressure into text for rainfall prediction; Converting the temperature and humidity into text for temperature and humidity description; Converting the wind direction and wind speed into text for wind direction and wind speed description; Converting the rainfall into text for rainfall description; Convert photosynthetically active radiation and SPAD into text describing the growth status of fruit trees; convert sap flow into text describing the water absorption capacity of fruit trees.