A method for detecting soil environment parameters of facility tomatoes based on PLC
By using a PLC-based method for detecting soil environmental parameters in greenhouse tomatoes, and leveraging the SMART S7-200 PLC and intelligent MPPT solar power technology, real-time monitoring and intelligent analysis of soil environmental parameters were achieved. This solved the problems of complexity and lag in traditional detection methods, and supported the precise management of greenhouse tomatoes.
Patent Information
- Application Number
- CN202610941194.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-27
- Publication Date
- 2026-11-27
AI Technical Summary
Traditional methods for detecting soil environmental parameters are complex and time-consuming, unable to achieve dynamic monitoring around the clock, and lack stable data transmission and intelligent analysis capabilities, making it difficult to meet the needs of modern agriculture.
It adopts SMART S7-200 PLC as the main control technology, combined with Speed Control Cloud IoT communication and intelligent MPPT solar self-powered technology, and is equipped with an integrated multi-functional soil parameter sensor to realize real-time monitoring and data transmission of soil environmental parameters, and perform intelligent analysis and decision-making through Speed Control Cloud box.
It enables real-time monitoring of soil environmental parameters for greenhouse tomatoes and provides scientific guidance for fertilization and irrigation, improving detection efficiency and data processing accuracy, and adapting to continuous and stable operation in outdoor environments without electricity.
Smart Images

Figure CN123176209A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of modern smart agriculture and soil environmental parameter detection technology, specifically a PLC-based method for detecting soil environmental parameters in greenhouse tomatoes. Background Technology
[0002] Soil environmental parameters (nitrogen, phosphorus, potassium, pH, EC, temperature, and humidity) are key indicators for assessing whether soil can sustainably provide crops with the necessary nutrients and water. They directly affect crop growth, yield, and quality, and are a crucial foundation for achieving green and sustainable agricultural development. Traditional methods for detecting soil environmental parameters primarily rely on manual soil sampling and testing. While the results are highly accurate, the process is complex and time-consuming, requiring significant manpower and resources. It cannot guarantee continuous, dynamic monitoring of soil environmental parameters around the clock, and there are few methods for intelligent detection of soil environmental parameters in the field. Related detection schemes still have considerable room for research and application, failing to meet the needs of modern agriculture. Conventional soil environmental parameter detection devices have limited functionality, detect relatively few soil environmental parameters, are weakly resistant to interference from the surrounding environment, have limited power supply options, and lack stable data transmission and intelligent analysis capabilities. With the continuous development of modern agriculture, real-time soil monitoring and remote cloud control have become important development trends, urgently requiring a remotely manageable method for detecting soil environmental parameters. This method utilizes a SMART S7-200 PLC as the main control technology, integrating SMART cloud IoT communication technology and intelligent MPPT solar-powered autonomous power supply technology. Equipped with an integrated multi-functional soil parameter sensor, it can simultaneously collect and monitor environmental parameters in the soil, including nitrogen, phosphorus, potassium, pH, EC value, temperature, and humidity. Therefore, this PLC-based method for detecting soil environmental parameters in greenhouse tomatoes can effectively monitor soil environmental parameters in real time, enabling the scientific formulation of fertilization and irrigation plans, which is of great significance for steadily improving precision management in greenhouse cultivation. Summary of the Invention
[0003] The purpose of this invention is to provide a PLC-based method for detecting soil environmental parameters in greenhouse tomatoes, thereby enabling the monitoring of soil environmental parameters in greenhouse tomatoes and providing reliable data support for precision fertilization, irrigation, and environmental protection by monitoring the dynamic changes of these parameters.
[0004] To achieve the above objectives, the present invention provides the following technical solution: a PLC-based method for detecting soil environmental parameters in greenhouse tomatoes, comprising the following steps: Step 1: The soil environmental multi-parameter detection module collects analog signals of nitrogen, phosphorus, potassium, pH, EC value, temperature, and humidity in the soil, converts them into standard electrical signals, and transmits them to the SMART S7-200 PLC main control module. Step 2: The SMART S7-200 PLC main control module calibrates and performs analog-to-digital conversion on the collected data signals, completes data preprocessing and real-time storage, and constructs a raw database of soil environmental parameters. Step 3: The SMART S7-200 PLC establishes stable data transmission with the SpeedControl Cloud Box via Ethernet communication protocol, and uploads the processed soil environmental parameters to the SpeedControl Cloud platform. Step 4: The intelligent MPPT solar charge / discharge controller collects electrical energy from the solar photovoltaic panels, and is responsible for converting the electricity generated by the solar panels into electrical energy that can be stored in the battery with the highest efficiency, and providing power to various soil sensors and the SMART S7-200 PLC. PLC, Speed Control Cloud Box and other equipment provide a stable and secure power supply to enable continuous and stable operation in outdoor environments without electricity; Step 5: Speed Control Cloud Box displays soil environmental parameter values, change curves and status warnings in real time through local human-machine interface and cloud platform remote terminal, and supports data review, export and intelligent analysis and decision making. Preferably, in step one, the various soil environment sensors adopt an integrated probe structure, which can be directly inserted horizontally into the soil at a depth of 15-20 cm to collect data, and can simultaneously collect soil parameters such as nitrogen, phosphorus, potassium, pH value, EC value, temperature, and humidity. Preferably, in step two, the SMART S7-200 PLC main control module can convert analog signals to digital signals and store the processed soil environmental data in the PLC. Preferably, in step three, the SMART S7-200 PLC main control module and the Speed Control Cloud Box establish a data transmission connection using the Modbus-RTU Ethernet communication protocol to ensure stable and efficient data transmission. This Ethernet communication mode is more suitable for environments such as facility agriculture and complex outdoor farmland. Preferably, the core function of the intelligent MPPT solar charge and discharge controller in step four is to track the maximum power point in real time, be compatible with 12V and 24V battery systems, support the access and use of two types of energy storage batteries, efficiently collect the electrical energy generated by solar photovoltaic panels and convert it into DC power that can be stored in the battery, and provide a stable 12V DC power supply for all devices such as various soil sensors, SMART S7-200 PLC main control modules, and speed control cloud boxes. Preferably, in step five, the speed control cloud box has a high-definition human-computer interaction interface, which can display the instantaneous values, change curves and early warning prompts of abnormal states of soil environmental parameters in real time. The intelligent analysis and decision-making module can provide targeted fertilization suggestions based on the collected soil environmental data and push them remotely to the user's mobile phone and computer terminal through the cloud platform, so as to realize the integrated management and control of soil environmental monitoring and scientific fertilization and irrigation guidance. Compared with existing technologies, the beneficial effects of this invention are: the method for detecting soil environmental parameters in greenhouse tomatoes utilizes SMART S7-200 PLC main control technology, Ethernet communication technology, and intelligent MPPT solar controller power supply technology. Compared with traditional soil environmental parameter detection methods, it has higher acquisition efficiency, more accurate data processing and transmission, and can monitor soil environmental parameters in real time, overcoming the lag of traditional methods and solving the problem of continuous and stable operation in outdoor environments without electricity. Attached Figure Description Figure 1 This is a process framework diagram of a PLC-based method for detecting soil environmental parameters in greenhouse tomatoes according to the present invention. Figure 2 This is a flowchart illustrating the connection steps between the PLC and the cloud box in a PLC-based method for detecting soil environmental parameters in greenhouse tomatoes according to the present invention. Figure 3 The flowchart shows the intelligent decision analysis module built into the cloud box in the PLC-based method for detecting soil environmental parameters of greenhouse tomatoes according to the present invention. Figure 4 This is a schematic diagram of the overall structure of the greenhouse tomato planting area in a PLC-based method for detecting soil environmental parameters of greenhouse tomatoes according to the present invention. Figure 5 These are front view (a) and top view (b) of a PLC-based method for detecting soil environmental parameters in greenhouse tomatoes according to the present invention, showing the sensor testing of a single tomato plant. Figure 6 This is a structural diagram of the equipment used in a PLC-based method for detecting soil environmental parameters in greenhouse tomatoes according to the present invention. Figure Labels 1-External solar photovoltaic panel, 2-Control cabinet, 3-Quick control cloud box, 4-Intelligent MPPT solar controller, 5-SMART S7-200 PLC, 6-24V lithium battery, 7-Relay module, 8-Terminal block. Detailed Implementation To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention. See Figures 4 to 5A PLC-based method for detecting soil environmental parameters in greenhouse tomatoes includes the following steps: It should be noted that... Figure 4 This is only for illustrating the planting layout and overall environment of greenhouse tomatoes. Figure 5 This paper uses a single tomato plant as an example to illustrate the specific implementation of the detection operation. The detection method of this invention is applicable to greenhouse tomatoes at all growth stages. Step 1: Analog signals of nitrogen, phosphorus, potassium, pH, EC value, temperature, and humidity in the soil are collected through various soil environment sensor modules, converted into standard electrical signals, and transmitted to the SMART S7-200 PLC main control module. Step 2: The SMART S7-200 PLC main control module calibrates and performs analog-to-digital conversion on the collected sensor signals, completes data preprocessing and real-time storage, and constructs a raw database of soil environmental parameters. Step 3: The SMART S7-200 PLC establishes stable data transmission with the Speed Control Cloud Box via Ethernet communication protocol, and uploads the processed soil environmental parameters to the Speed Control Cloud platform. Step 4: The intelligent MPPT solar charge and discharge controller collects electrical energy from the solar photovoltaic panels, and is responsible for converting the electricity generated by the solar panels into energy that can be stored in the battery with the highest efficiency, and providing power to various soil sensors and the SMART S7-200 PLC. All devices, including the PLC and the Speed Control Cloud Box, are provided with a stable and secure power supply to enable continuous and stable operation in outdoor environments without electricity. Step 5: The Speed Control Cloud Box displays the values, change curves, and status warnings of soil environmental parameters in real time through the local human-machine interface and the remote terminal of the cloud platform, and supports data review, export, and intelligent analysis and decision-making. Furthermore, in step one, the various soil environment sensors adopt an integrated probe structure, which can be directly inserted horizontally into the soil at a depth of 15-20 cm to collect data. It can simultaneously collect parameters such as nitrogen, phosphorus, potassium, pH value, EC value, temperature, and humidity in the soil. Furthermore, in step two, the SMART S7-200 PLC main control module 5 can convert analog signals into digital signals and store the processed soil environmental parameter data in the internal register of the PLC main control module 5, thereby realizing the local storage of the original soil monitoring data. Furthermore, in step three, the SMART S7-200 PLC main control module 5 and the Speed Control Cloud Box 3 establish a data transmission connection using the Modbus-RTU Ethernet communication protocol to ensure stable and efficient data transmission. This Ethernet communication mode is more suitable for facility agriculture, complex outdoor farmland, and other environments, effectively avoiding data loss caused by outdoor signal interference. Furthermore, the core function of the intelligent MPPT solar charge and discharge controller 4 in step four is to track the maximum power point in real time, be compatible with 12V and 24V battery systems, support the access and use of two types of energy storage batteries, efficiently collect the electrical energy generated by the solar photovoltaic panel 1 and convert it into DC power that can be stored in the battery, provide stable DC power supply for all devices such as various soil environment sensors, SMARTS7-200 PLC main control module 5, and speed control cloud box 3, and work with the 24V lithium battery 6 to complete the charging and discharging. Furthermore, in step five, the speed control cloud box 3 is configured inside the control cabinet 2. It has a high-definition human-machine interface that can display the instantaneous values, change curves, and early warning prompts of abnormal states of soil environmental parameters in real time. The intelligent analysis and decision-making module can provide targeted fertilization and irrigation suggestions based on the collected soil environmental parameters and push them remotely to the user's mobile phone or computer terminal through the cloud platform, so as to realize the integrated management and control of soil environmental parameter monitoring and scientific fertilization and irrigation guidance. Furthermore, the internal wiring of the device is arranged in a standardized manner through relay module 7 and terminal block 8, realizing the partitioned connection of power supply lines and signal lines, ensuring the stable connection of the overall equipment circuit, and effectively improving the continuous and stable operation of the equipment under long-term outdoor testing conditions. It will be apparent to those skilled in the art that the PLC-based method for detecting soil environmental parameters in greenhouse tomatoes described in this invention is not limited to the operational details of the above exemplary embodiments, and can be implemented in other specific forms without departing from the core or basic characteristics of this invention. Therefore, from any perspective, the embodiments should be considered exemplary rather than restrictive. The scope of protection of this invention is defined by the appended claims, not the foregoing description, and is intended to include all technical variations falling within the meaning and scope of the equivalent elements of the claims. Any reference numerals in the claims should not be considered as limitations on the corresponding claims.
Claims
1. A PLC-based method for detecting soil environmental parameters in greenhouse tomatoes, characterized in that, include: SMART S7-200 PLC main control module, Speed Control Cloud Box communication module, Intelligent MPPT solar controller power supply module, and various soil environment sensor modules; The method integrates modern sensing technology, data communication technology, and an intelligent decision analysis system to achieve high-precision detection of parameters such as nitrogen, phosphorus, potassium, pH, EC, temperature, and humidity in the soil environment. Step 1: The soil environment multi-parameter detection module collects analog signals of nitrogen, phosphorus, potassium, pH, EC, temperature, and humidity in the soil, converts them into standard electrical signals, and transmits them to the main control module of the SMART S7-200 PLC. Step 2: The SMART S7-200 PLC main control module calibrates and performs analog-to-digital conversion on the collected data, completes data preprocessing and real-time storage, and constructs a raw database of soil environmental parameters. Step 3: The SMART S7-200 PLC establishes stable data transmission with the Speed Control Cloud Box via Ethernet communication protocol, uploading the processed soil environmental parameters to the Speed Control Cloud platform. Step 4: The intelligent MPPT solar charge / discharge controller collects electrical energy from the solar photovoltaic panels, converting the electricity generated by the solar panels into energy that can be stored in the battery with maximum efficiency, and providing power to various soil sensors and the SMART S7-200 PLC. PLC, Speed Control Cloud Box and other equipment provide a stable and secure power supply to enable continuous and stable operation in outdoor environments without electricity; Step 5: Speed Control Cloud Box displays soil environmental parameter values, change curves and status warnings through local human-machine interface and cloud platform remote terminal, and supports data review, export and intelligent analysis and decision making.
2. The method for detecting soil environmental parameters of greenhouse tomatoes based on PLC according to claim 1, characterized in that, The soil environment multi-parameter acquisition module consists of integrated sensors for nitrogen, phosphorus, potassium, pH, EC, temperature and humidity. It can be used to detect parameters such as nitrogen fertilizer, phosphorus fertilizer, potassium fertilizer, pH, EC, temperature and humidity in the soil environment. The multi-parameter sensor needs to be inserted horizontally 15-20 cm below the soil surface (15-20 cm is the most developed root system of general crops).
3. The method for detecting soil environmental parameters of greenhouse tomatoes based on PLC according to claim 1, characterized in that, The SMART S7-200 PLC main control module is a Siemens S7-200 SMART PLC, which comes with one RS485 port, supports Modbus master and slave communication protocols and interfaces, is powered by 24V DC, has industrial-grade anti-interference, and meets the data acquisition requirements of multiple sensors.
4. The method for detecting soil environmental parameters of greenhouse tomatoes based on PLC according to claim 1, characterized in that, The Speed Control Cloud Box is an industrial IoT device that supports the Modbus-RTU protocol. It can upload data to the cloud platform via 4G, 5G, and Ethernet networks, and supports remote configuration and data viewing. It interacts with the Modbus-RTU communication protocol used by the SMART S7-200 PLC. The locally configured high-definition human-machine interface can display the values and trend curves of various soil environmental parameters, and simultaneously upload the data to the Speed Control Cloud Platform to achieve remote real-time monitoring via mobile phones and computers.
5. The method for detecting soil environmental parameters of greenhouse tomatoes based on PLC according to claim 1, characterized in that, The intelligent MPPT solar charge / discharge controller enables maximum power point tracking, converting the electricity generated by the solar panel into energy that can be stored in the battery with maximum efficiency. It is compatible with solar photovoltaic panels and energy storage batteries, and is equipped with a lithium-ion rechargeable battery to store the energy from the solar panel, ensuring that the device can continue to work normally at night or on cloudy or rainy days, guaranteeing long-term stable operation of the system and maximizing photoelectric conversion efficiency. The intelligent MPPT solar controller is compatible with 12V and 24V battery systems, supporting the use of both types of energy storage batteries, ensuring the power supply safety and stability of the entire device.
6. The method for detecting soil environmental parameters of greenhouse tomatoes based on PLC according to claim 1, characterized in that, The Speed Control Cloud Box has a built-in intelligent decision analysis program that automatically generates fertilization suggestions and fertility improvement plans based on the collected parameters of nitrogen, phosphorus, potassium, pH, EC, temperature and humidity in the soil environment, and displays them intuitively through the human-computer interaction interface of the Speed Control Cloud Box.
7. The method for detecting soil environmental parameters of greenhouse tomatoes based on PLC according to claim 1, characterized in that, The detection method adopts a dustproof, rainproof, and windproof structural design. The multi-parameter sensor, SMART S7-200 PLC control module, speed control cloud box, intelligent MPPT solar charge and discharge controller, and lithium-ion rechargeable battery are all suitable for complex agricultural environments such as facility agriculture, outdoor farmland, and orchards. It supports automatic detection under long-term unattended conditions, and data acquisition can be set through the relevant PLC program.
8. The method for detecting soil environmental parameters of greenhouse tomatoes based on PLC according to claim 1, characterized in that, The speed control cloud box has data storage and alarm push functions. When soil environmental parameters exceed the standard threshold, it will immediately trigger an alarm through the local human-machine interface and push a message to the cloud platform, allowing users to view real-time data (nitrogen, phosphorus, potassium, pH value, EC value, temperature, and humidity), thus achieving accurate detection and management of key parameters in the soil environment.
