Multifunctional acquisition control device based on LoRa

By designing a multi-functional acquisition control device based on LoRa, integrating sensor modules and solenoid valve control circuits, the problems of unstable data transmission and single function in traditional agricultural monitoring and control are solved, and efficient and low-cost data acquisition and solenoid valve control are achieved.

CN223272799UActive Publication Date: 2025-08-26GUANGZHOU SAITONG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422876865.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-11-25
Publication Date
2025-08-26
Estimated Expiration
2034-11-25

AI Technical Summary

Technical Problem

The traditional agricultural field and greenhouse monitoring and control methods have problems with data transmission stability and limited distance. The existing LoRa node functions are single, resulting in increased system complexity and cost.

Method used

A multi-functional acquisition and control device based on LoRa is designed, including sensor module, solenoid valve control circuit, LoRa module, main control and power module, integrated data acquisition and solenoid valve control functions, and used LoRa module to improve data transmission stability and distance, and main control analyzes LoRa data to control the state of the solenoid valve.

Benefits of technology

It improves data transmission stability and distance, reduces system complexity and cost, and realizes a master control and integrated acquisition and solenoid valve control, with a wide range of application, high flexibility, and saving funds.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223272799U_ABST
    Figure CN223272799U_ABST
Patent Text Reader

Abstract

The utility model discloses a multifunctional acquisition control device based on LoRa, which is provided with a sensor module, an electromagnetic valve control circuit, a LoRa module, a master control module and a power supply module, and is connected with LoRa irrigation equipment by utilizing the LoRa module to acquire LoRa data of a specified frequency band, so that the stability of data transmission and the transmission distance can be improved; the electromagnetic valve control circuit is used for being connected with an electromagnetic valve of the LoRa irrigation equipment, the master controller analyzes LoRa data and controls the electromagnetic valve control circuit to adjust the working state of the electromagnetic valve or collect environment data obtained by the sensor module, one master controller can integrate the collection function and the electromagnetic valve control function at the same time, and the complexity and cost of the system can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of electronic circuits, in particular to a multifunctional acquisition and control device based on LoRa. Background Art

[0002] With the continuous development of science and technology, the application of intelligent control in the agricultural field is becoming more and more extensive. In agricultural fields and greenhouses, accurate monitoring of environmental parameters and control of agricultural equipment such as irrigation equipment with valves are crucial to improving crop yield and quality.

[0003] Currently, traditional agricultural field and greenhouse monitoring and control methods have defects. For example, the stability and distance of data transmission are limited, making it difficult to meet the needs of large agricultural areas. Existing LoRa nodes, such as devices, have relatively simple functions and can usually only perform one task, such as data collection or valve control. In order to achieve multiple functions, multiple different types of control devices are required, which increases the complexity and cost of the system. Utility Model Content

[0004] The present application provides a multifunctional data acquisition and control device based on LoRa to solve at least one problem existing in the related art. The technical solution is as follows:

[0005] In a first aspect, an embodiment of the present application provides a multifunctional acquisition and control device based on LoRa, comprising:

[0006] Sensor module;

[0007] Solenoid valve control circuit, used to connect the solenoid valve of LoRa irrigation equipment;

[0008] LoRa module, used to connect to LoRa irrigation equipment and obtain LoRa data in a specified frequency band;

[0009] A main control unit is connected to the solenoid valve control circuit, the LoRa module, and the sensor module, and is used to parse the LoRa data, control the solenoid valve control circuit to adjust the working state of the solenoid valve, or collect environmental data obtained by the sensor module;

[0010] A power supply module is connected to the solenoid valve control circuit, the LoRa module, the sensor module and the main control.

[0011] In one embodiment, the solenoid valve control circuit includes an analog switch, which has several IO ports, several output ports and several resistors with different resistance values. Several of the IO ports are connected to the main control, one end of each of the resistors is connected to one of the output ports, and the other end of each of the resistors is used to connect to the solenoid valve, and each of the output ports is used to output different pulse solenoid valve control voltages.

[0012] In one embodiment, the solenoid valve control circuit further includes a cache capacitor for caching electricity, which is used for charging when controlling the solenoid valve.

[0013] In one embodiment, the sensor module includes a 485 communication circuit and an external sensor, and the 485 communication circuit is connected to the external sensor and the main control.

[0014] In one embodiment, the LoRa-based multifunctional acquisition and control device further includes a host computer, which is connected to the 485 communication circuit.

[0015] In one embodiment, the LoRa-based multifunctional acquisition and control device further includes an IIC communication circuit and an off-chip EEPROM, and the IIC communication circuit is connected to the off-chip EEPROM and the main control.

[0016] In one embodiment, the power module includes a lithium battery and a voltage stabilizing circuit, and the voltage stabilizing circuit is connected to the lithium battery, the main control, and the solenoid valve control circuit.

[0017] In one embodiment, the power module further includes a solar panel and a charging circuit, and the charging circuit is connected to the solar panel and the lithium battery.

[0018] In one embodiment, the power module further includes an ADC circuit, and the ADC circuit is connected to the main control and the lithium battery.

[0019] In one embodiment, the LoRa-based multifunctional acquisition and control device further includes a LoRa module circuit, which is connected to the LoRa module and the main control.

[0020] The beneficial effects of the above technical solution include at least:

[0021] By setting up a sensor module, solenoid valve control circuit, LoRa module, main control and power module, and using the LoRa module to connect to the LoRa irrigation equipment, LoRa data in the specified frequency band can be obtained, which is beneficial to improving the stability and transmission distance of data transmission; the solenoid valve control circuit is used to connect the solenoid valve of the LoRa irrigation equipment, and the main control parses the LoRa data and controls the solenoid valve control circuit to adjust the working state of the solenoid valve or collect environmental data obtained by the sensor module. A main control can simultaneously integrate the collection and solenoid valve control functions, which is beneficial to reducing the complexity and cost of the system.

[0022] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present application will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar components or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in this application and should not be construed as limiting the scope of this application.

[0024] Figure 1 This is a block diagram of a multifunctional LoRa-based acquisition and control device according to an embodiment of the present application;

[0025] Figure 2 A schematic diagram of the main control circuit of the embodiment of the present application;

[0026] Figure 3 This is a schematic diagram of a solenoid valve power supply circuit according to an embodiment of the present application;

[0027] Figure 4 A schematic diagram of a control circuit according to an embodiment of the present application;

[0028] Figure 5 This is a schematic diagram of a communication circuit according to embodiment 485 of the present application;

[0029] Figure 6 This is a schematic diagram of the first part of the power module according to an embodiment of the present application;

[0030] Figure 7 This is a schematic diagram of the second part of the power module according to an embodiment of the present application;

[0031] Figure 8 This is a schematic diagram of the third part of the power module according to an embodiment of the present application;

[0032] Figure 9 This is a schematic diagram of the fourth part of the power module according to an embodiment of the present application. DETAILED DESCRIPTION

[0033] In order to enable those skilled in the art to better understand the present invention, the following will provide a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work should fall within the scope of protection of the present invention.

[0034] The terms "first", "second", "third", etc. in the specification and claims of this application and the drawings are only used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. Reference to "embodiments" in this article means that the specific features, structures or characteristics described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0035] The present invention will be further explained and illustrated below in conjunction with the accompanying drawings and specific embodiments.

[0036] Reference Figure 1 The embodiment of the present application provides a multifunctional acquisition and control device based on LoRa, including a sensor module, a solenoid valve control circuit, a LoRa module, a main control, a power module, a LoRa module circuit, an IIC communication circuit, an off-chip EEPROM and a host computer.

[0037] In the embodiment of the present application, the LoRa module is used to connect to the LoRa node, such as the LoRa irrigation equipment, to obtain the LoRa data of the specified frequency band. The LoRa module is connected to the main control through the LoRa module circuit. The LoRa module is responsible for decoding the LoRa data of the specified frequency band. The decoded and converted LoRa data is transmitted to the main control through the LoRa module circuit. Figure 2 As shown, the LoRa module circuit refers to Figure 2 Another small board connected to the 2.54mm 2*10P female plug-in header is connected to the LoRa module for control via the low-power serial port LPUART1_RX / TX, M0, M1, AUX, and RESET pins. It should be noted that the LoRa module can use the E22-400T30S module. The LoRa module circuit uses the existing circuit and will not be repeated here.

[0038] like Figure 3 and Figure 4 As shown, in an embodiment of the present application, the solenoid valve control circuit is used to connect the solenoid valve of the LoRa irrigation equipment to control the working state of the solenoid valve (for example, open or closed). Optionally, the solenoid valve control circuit includes a solenoid valve power supply circuit and a control circuit, the solenoid valve power supply circuit includes an analog switch CD4051BM96, and the control circuit includes a cache capacitor for caching electricity. Among them, the analog switch CD4051BM96 has several IO ports (4051A, 4051B, 4051C), several output ports (X2, X3, X4, X5, X6) and several resistors of different resistance values ​​(R47, R48, R51, R55, R57), several IO ports are connected to the main control, one end of each resistor is connected to an output port, and the other end of each resistor is used to connect the solenoid valve to provide a pulse solenoid valve control voltage VPulse, so each output port can be used to output a different pulse solenoid valve control voltage VPulse to meet the solenoid valves with different voltage requirements, and has a wide range of applications. For example, the master controller can control whether several IO ports (4051A, 4051B, 4051C) are enabled or not, and the enable status of the output ports (X2, X3, X4, X5, X6) can be selected through different combinations. By matching them with corresponding resistors of different resistance values ​​(R47, R48, R51, R55, R57), it can match the output of 12V, 13V, 14V, 15V, 17V, and 19V pulse solenoid valve control voltage VPulse, and thus adapt to most solenoid valves on the market.

[0039] Among them, such as Figure 4 As shown, the control circuit is a 2-channel pulse circuit. Taking the pulse circuit of channel 1 as an example, the principle of the other channel is similar. The two output lines: pins 3 and 4 of the CN5 terminal are respectively connected to the positive and negative control lines of the pulse solenoid valve. When receiving the control command of the main control, the main control controls the high and low level combination of Valve_P and Valve_N through the circuit to control the level output of the positive and negative control lines of the solenoid valve, and then controls the opening / closing of the pulse solenoid valve, thereby controlling the fluid on and off, and controlling whether the LoRa irrigation equipment is irrigating or not. It is reliable, durable, and has low maintenance costs.

[0040] In the embodiment of the present application, in order to solve the problem of failure to open the solenoid valve due to insufficient instantaneous current during control, a large-capacity cache capacitor is preset to cache the power, such as Figure 4 C55, C59, etc. are used to charge when controlling the solenoid valve. For example, when the control starts, the cache capacitor is charged first, and then the corresponding IO port is controlled to discharge to open the solenoid valve.

[0041] like Figure 1As shown, in the embodiment of the present application, the IIC communication circuit connects the off-chip EEPROM and the main control.

[0042] like Figure 1 and Figure 5 As shown, in this embodiment of the present application, the sensor module may include a 485 communication circuit and various types of external sensors. The 485 communication circuit connects the external sensors to the main control. The external sensors may be temperature sensors, humidity sensors, etc., without specific limitation, and can acquire environmental data from agricultural fields and greenhouses. In this embodiment of the present application, the host computer is connected to the 485 communication circuit and communicates with the main control via the 485 communication circuit.

[0043] It should be noted that the 485 communication circuit is responsible for connecting the host computer and external sensors. Under normal conditions, the host computer can be set to a long-term low-power mode, and host computer configuration only needs to be performed at power-up. Therefore, to save costs, the 485 communication circuit is designed with an integrated configuration / operation interface for the host computer and external sensors. During the power-up window, the host computer configuration, via the 485 communication circuit's signals, can be transferred via the IIC communication circuit to the off-chip EEPROM (M24C08). Specifically, the query function during operation allows the host computer to send TTL-level protocol frames, which are connected to the external sensor via the 485 communication circuit. After the external sensor successfully collects data, the 485 communication circuit returns a TTL-level response frame for the host computer to analyze, thereby obtaining environmental data. Furthermore, this interface also provides a default 12V voltage output, saving wiring costs for external sensors.

[0044] In the embodiment of the present application, the main control is connected to the solenoid valve control circuit, the LoRa module, and the external sensor, and is used to parse LoRa data and perform corresponding operations such as controlling the solenoid valve control circuit to adjust the working state of the solenoid valve or collecting environmental data obtained by the sensor module. It supports the control of the solenoid valve, supports the collection of specified external sensor data, supports the status query of the LoRa node, supports parameter configuration and query, etc. It should be noted that the main control can be composed of any one or more processor chips including MCU, FPGA, CPLD, DSP, ARM, etc. The embodiment of the present application takes the main control as an MCU as an example, that is, the main control is the main control MCU, model STM32L431RCT6. The main control parses the LoRa data based on existing technical means, and there is no improvement in the parsing method.

[0045] For example, the sending process: The master sends TTL level signals to the LoRa module via the serial port. The LoRa module analyzes and modulates the signals to a specified frequency band, converts them into electromagnetic waves, and transmits them. The receiving process: The LoRa module periodically wakes up to monitor electromagnetic waves in a specified frequency band, which can be set based on actual conditions. Upon receiving electromagnetic waves that meet the specifications, it receives LoRa data in the specified frequency band and converts them into TTL level signals to send to the master. The master MCU is dormant during its non-operating hours. Its low-power serial port detects the TTL level signals sent by the LoRa module, wakes up, and processes the received LoRa data.

[0046] like Figure 1 、 Figure 6 - Figure 8 As shown, in the embodiment of the present application, the power module is connected to the solenoid valve control circuit, the LoRa module, the sensor module, the IIC communication circuit, the off-chip EEPROM, the LoRa module circuit, and the main control. Optionally, the power module includes a lithium battery, a voltage stabilization circuit, a solar panel, a charging circuit, and an ADC circuit. The voltage stabilization circuit is connected to the lithium battery, the main control, and the solenoid valve control circuit, the charging circuit is connected to the solar panel and the lithium battery, and the ADC circuit is connected to the main control and the lithium battery.

[0047] like Figure 6 、 Figure 7 and Figure 8 As shown, in the embodiment of the present application, the voltage stabilizing circuit is powered by a 3.7V lithium battery, which outputs 3.3V to the main control, 5V to the LoRa module, and 12V reference voltage to the solenoid valve control circuit and external sensor through the voltage stabilizing chip (ME6215C33M5G, TPS63060DSCR).

[0048] like Figure 9 As shown in the figure, the electric energy of the solar panel needs to pass through the solar charging chip (CN3795) of the charging circuit before it can be used to power the lithium battery. By matching the resistance values ​​of resistors R29 and R33, the lithium battery can only be charged when the voltage of the solar charging panel is above 5.7V, which improves the stability and safety of charging. Figure 7 Pins 3 and 4 of CN3 are connected to the positive and negative poles of the solar panel, pins 1 and 2 are connected to 485 for parameter configuration, and pins 1 and 2 of CN2 are connected to the power supply lithium battery (optional 3.7V / 7.4V); pins 1, 2, 3, and 4 of CN8 are connected to the button switch with light. When pressed, the lithium battery is turned on to supply power, and the main controller controls the button light to flash through the pins.

[0049] Through the design of the embodiments of the present application, users can flexibly configure the functions of the ports. The irrigation scene can have one or more solenoid valves (the corresponding pulse circuits are multi-channel), which can meet the needs of external sensor data acquisition and solenoid valve control, greatly improving the flexibility of the product and saving money for users. Based on the analog switch CD4051BM96, more types of solenoid valve voltage regulation solutions can be easily extended; in addition, the collected environmental data can be automatically converted according to the configuration parameters, and the unified interface is convenient for the user's host computer development and debugging. The host computer can send instructions remotely, such as solenoid valve control instructions, sensor data acquisition instructions, etc.; the introduction of solar panels can avoid frequent battery replacement or connection to external power supply as much as possible, which increases the cost of use and maintenance difficulty.

[0050] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the implementation method. Technical personnel familiar with the field can also make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.

Claims

1. A multifunctional acquisition control device based on LoRa, characterized in that: include: Sensor module; Solenoid valve control circuit, used to connect the solenoid valve of LoRa irrigation equipment; LoRa module, used to connect to LoRa irrigation equipment and obtain LoRa data in a specified frequency band; A main control unit is connected to the solenoid valve control circuit, the LoRa module, and the sensor module, and is used to parse the LoRa data, control the solenoid valve control circuit to adjust the working state of the solenoid valve, or collect environmental data obtained by the sensor module; A power supply module is connected to the solenoid valve control circuit, the LoRa module, the sensor module and the main control.

2. The multifunctional acquisition and control device based on LoRa according to claim 1, characterized in that: The solenoid valve control circuit includes an analog switch, which has several IO ports, several output ports and several resistors with different resistance values. Several of the IO ports are connected to the main control, one end of each of the resistors is connected to one of the output ports, and the other end of each of the resistors is used to connect to the solenoid valve. Each of the output ports is used to output different pulse solenoid valve control voltages.

3. The multifunctional acquisition and control device based on LoRa according to claim 2, characterized in that: The solenoid valve control circuit further includes a cache capacitor for caching electricity, which is used for charging when controlling the solenoid valve.

4. The multifunctional acquisition and control device based on LoRa according to any one of claims 1 to 3, characterized in that: The sensor module includes a 485 communication circuit and an external sensor, and the 485 communication circuit is connected to the external sensor and the main control.

5. The multifunctional acquisition and control device based on LoRa according to claim 4, characterized in that: The LoRa-based multifunctional acquisition and control device also includes a host computer, which is connected to the 485 communication circuit.

6. The multifunctional acquisition and control device based on LoRa according to any one of claims 1 to 3, characterized in that: The LoRa-based multifunctional acquisition and control device also includes an IIC communication circuit and an off-chip EEPROM, and the IIC communication circuit is connected to the off-chip EEPROM and the main control.

7. The multifunctional LoRa-based acquisition control device according to any one of claims 1 to 3, characterized in that: The power module includes a lithium battery and a voltage stabilizing circuit, and the voltage stabilizing circuit is connected to the lithium battery, the main control and the solenoid valve control circuit.

8. The multifunctional acquisition and control device based on LoRa according to claim 7, characterized in that: The power module further includes a solar panel and a charging circuit, wherein the charging circuit is connected to the solar panel and the lithium battery.

9. The multifunctional LoRa-based acquisition and control device according to claim 7, characterized in that: The power module further includes an ADC circuit, which is connected to the main control and the lithium battery.

10. The multifunctional LoRa-based acquisition control device according to any one of claims 1 to 3, characterized in that: The LoRa-based multifunctional acquisition and control device also includes a LoRa module circuit, which is connected to the LoRa module and the main control.