Method and system for controlling ventilation opening of greenhouse
The data collected by the sensors generates accurate ventilation opening adjustment instructions, which realizes accurate monitoring and control of the opening area of the greenhouse vent, solves the problem of inaccurate monitoring in the existing technology, and improves environmental regulation accuracy and crop quality.
Patent Information
- Application Number
- CN202411824259.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2044-12-12
AI Technical Summary
The existing technology lacks high-precision monitoring methods for the opening area of greenhouse ventilation openings, which affects the effective regulation of the internal environment of greenhouses.
Accurate ventilation opening adjustment instructions are generated based on the internal environmental data of the greenhouse collected by the sensor, the opening and closing width and opening angle of the vent, and the current stroke of the servo motor, and the precise ventilation opening adjustment instructions are realized to accurately monitor and control the opening area of the vent.
Accurate monitoring and control of the opening area of the greenhouse ventilation openings is achieved, the accuracy of regulating the internal environment of the greenhouse is improved, production costs are reduced, and crop yield and quality are improved.
Smart Images

Figure CN119668344A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of greenhouses, and further to a control method and system for greenhouse vents. Background Art
[0002] At present, greenhouse environmental monitoring technology can accurately measure key parameters such as indoor temperature, humidity and light intensity, providing a scientific basis for crop growth. However, in terms of monitoring greenhouse vents, the existing technology still has obvious shortcomings. The opening area of the vents is one of the key factors affecting the internal environmental regulation of the greenhouse, but there is currently a lack of high-precision monitoring methods, which directly affects the effective regulation of the internal environment of the greenhouse. Summary of the invention
[0003] In order to solve the above technical problems, the present application provides a control method and system for the vents of a greenhouse, which realizes accurate monitoring of the vent opening area and effective regulation of the internal environment of the greenhouse.
[0004] In a first aspect, the present application provides a method for controlling a greenhouse vent, comprising: collecting adjustment data of the vent based on a sensor, wherein the adjustment data is one of environmental data inside the greenhouse, an opening and closing width and an opening and closing angle of the vent, and a current stroke of a servo motor installed at the vent; generating a vent adjustment instruction based on the adjustment data, wherein the vent adjustment instruction is any one of a first adjustment instruction generated based on the environmental data, a second adjustment instruction generated based on the opening and closing width and the opening and closing angle, and a third adjustment instruction generated based on the current stroke; and adjusting the opening area of the vent based on the vent adjustment instruction.
[0005] The above control method can generate accurate vent adjustment instructions based on the internal environment data of the greenhouse collected by sensors, the opening and closing width and angle of the vents, and the current stroke of the servo motor installed at the vents, thereby realizing accurate monitoring of the vent opening area and effective regulation of the internal environment of the greenhouse.
[0006] In one implementation, when the adjustment data is the environmental data, generating the vent adjustment instruction based on the adjustment data specifically includes: calculating the air flow inside the greenhouse based on the environmental data and a linear regression model, wherein the environmental data includes the temperature, humidity and wind speed inside the greenhouse; calculating the plant transpiration based on the linear regression model, the temperature and the humidity; calculating the current opening area of the vent based on the air flow and the pre-measured air flow rate of the vent and the resistance coefficient of the vent; generating a first adjustment instruction based on the current opening area, the air flow and the plant transpiration, and using the first adjustment instruction as the vent adjustment instruction.
[0007] The above control method can accurately calculate the air flow inside the greenhouse by using the internal environmental data of the greenhouse collected by the sensor, including temperature, humidity and wind speed, combined with the linear regression model. Further, based on the linear regression model and the temperature and humidity data, the transpiration of the plant can be calculated. In addition, combined with the air flow and the pre-measured vent air velocity and resistance coefficient, the current opening area of the vent can be accurately calculated, and the accurate monitoring of the opening area of the greenhouse vent is realized. Finally, based on the current opening area, air flow and plant transpiration, the first adjustment instruction generated can be used as the vent adjustment instruction, and the execution device adjusts the opening area of the vent based on the vent adjustment instruction, thereby realizing the effective regulation of the internal environment of the greenhouse. At the same time, the problem of increased human resources caused by manual adjustment of the vent is avoided, the production cost is reduced, and the yield and quality of the crop are further improved.
[0008] In one implementation, when the adjustment data is the opening and closing width and the opening and closing angle, generating the vent adjustment instruction based on the adjustment data specifically includes: calculating the opening and closing width deviation and the opening and closing angle deviation based on the opening and closing width, the opening and closing angle, a preset target opening and closing width, and a preset target opening and closing angle; when the absolute value of the opening and closing width deviation is greater than a threshold or the absolute value of the opening and closing angle deviation is greater than a threshold, generating a second adjustment instruction, and using the second adjustment instruction as the vent adjustment instruction.
[0009] In one implementation, when the adjustment data is the opening and closing width and the opening and closing angle, the sensor-based acquisition of the adjustment data of the vent specifically includes: controlling the sensor to acquire the opening and closing angle of the vent; controlling the sensor to periodically send a first pulse signal to the vent, and receive a second pulse signal reflected by the vent; and determining the opening and closing width based on the time difference between the first pulse signal and the second pulse signal.
[0010] The above control method controls the sensor to periodically send a first pulse signal to the vent and receive a reflected second pulse signal, and uses the time difference between the two signals to accurately determine the opening and closing width of the vent. Then, the system calculates the opening and closing width deviation and angle deviation based on the difference between the actual measured opening and closing width and angle and the preset target value. When these deviations exceed the preset threshold, a second adjustment instruction is generated and executed to adjust the greenhouse vent. This process realizes the accurate monitoring of the opening area of the greenhouse vent and the effective regulation of the internal environment of the greenhouse, and also solves the problems of inaccurate measurement and delayed response in monitoring the opening area of the vent in the traditional method. Through real-time analysis and automatic adjustment of the data collected by the sensor, the effect of air flow and temperature control inside the greenhouse is significantly improved, which is conducive to creating a more suitable crop growth environment. At the same time, the use of different types of sensors to collect data increases the redundancy of the entire system, so that even if a sensor fails, the normal operation of the entire system can be guaranteed.
[0011] In one implementation, when the adjustment data is the current stroke, generating the vent adjustment instruction based on the adjustment data specifically includes: comparing the current stroke with a preset stroke of the servo motor, wherein the preset stroke of the servo motor includes a first preset stroke and a second preset stroke; when the current stroke is greater than the first preset stroke or the current stroke is less than the second preset stroke, generating a third adjustment instruction, and using the third adjustment instruction as the vent adjustment instruction.
[0012] The above control method compares the current stroke with the preset stroke of the servo motor. When the current stroke is greater than the first preset stroke or the current stroke is less than the second preset stroke, a third adjustment instruction is generated, and the third adjustment instruction is used as the vent adjustment instruction, so that the servo motor adjusts the opening area of the vent based on the vent adjustment instruction. This process significantly improves the accuracy and stability of vent monitoring by introducing advanced sensor technology and precision servo motors, allowing greenhouse managers to grasp the ventilation conditions more timely and accurately, and then make scientific and reasonable decisions. At the same time, the fully automated monitoring process greatly reduces the labor intensity of the staff, saves manpower and material resources, and also improves production efficiency.
[0013] In the second aspect, the present application also provides a control system for a greenhouse vent, comprising: a sensor configured to collect adjustment data of the vent, wherein the adjustment data is one of environmental data inside the greenhouse, an opening and closing width and an opening and closing angle of the vent, and a current stroke of a servo motor installed at the vent; a monitoring device configured to generate a vent adjustment instruction based on the adjustment data, wherein the vent adjustment instruction is any one of a first adjustment instruction generated based on the environmental data, a second adjustment instruction generated based on the opening and closing width and the opening and closing angle, and a third adjustment instruction generated based on the current stroke; an execution device configured to adjust the opening area of the vent based on the vent adjustment instruction.
[0014] In one implementation, when the adjustment data is the environmental data, the monitoring device is configured to calculate the air flow inside the greenhouse based on the environmental data and a linear regression model, wherein the environmental data includes the temperature, humidity and wind speed inside the greenhouse; the monitoring device is configured to calculate the plant transpiration based on the linear regression model, the temperature and the humidity; the monitoring device is configured to calculate the current opening area of the vent based on the air flow, the plant transpiration and the pre-measured air flow rate of the vent and the resistance coefficient of the vent; the monitoring device is configured to generate a first adjustment instruction based on the current opening area, the air flow and the plant transpiration, and use the first adjustment instruction as the vent adjustment instruction.
[0015] In one implementation, when the adjustment data is the opening and closing width and the opening and closing angle, the monitoring device is configured to calculate the opening and closing width deviation and the opening and closing angle deviation based on the opening and closing width, the opening and closing angle, a preset target opening and closing width, and a preset target opening and closing angle; the monitoring device is configured to generate a second adjustment instruction when the absolute value of the opening and closing width deviation is greater than a threshold or the absolute value of the opening and closing angle deviation is greater than a threshold, and use the second adjustment instruction as the vent adjustment instruction.
[0016] In one implementation, when the adjustment data is the current stroke, the execution device is the servo motor; the monitoring device is configured to compare the current stroke with a preset stroke of the servo motor, wherein the preset stroke of the servo motor includes a first preset stroke and a second preset stroke; the monitoring device is configured to generate a third adjustment instruction when the current stroke is greater than the first preset stroke or the current stroke is less than the second preset stroke, and use the third adjustment instruction as the vent adjustment instruction.
[0017] In one implementation, the servo motor is configured to rotate a corresponding angle in a direction indicated by the vent adjustment instruction until the current stroke of the servo motor is less than the first preset stroke or greater than the second preset stroke.
[0018] Compared with the prior art, the present invention has at least one of the following beneficial effects:
[0019] 1. Based on the internal environmental data of the greenhouse collected by the sensor, the opening and closing width and angle of the vents, and the current stroke of the servo motor installed at the vents, accurate vent adjustment instructions can be generated, realizing accurate monitoring of the vent opening area and effective regulation of the internal environment of the greenhouse.
[0020] 2. By using the internal environmental data of the greenhouse collected by the sensor, including temperature, humidity and wind speed, combined with the linear regression model, the air flow inside the greenhouse can be accurately calculated. Further, based on the linear regression model and the temperature and humidity data, the transpiration of the plant can be calculated. In addition, combined with the air flow and the pre-measured vent air velocity and resistance coefficient, the current opening area of the vent can be accurately calculated, and the accurate monitoring of the opening area of the greenhouse vent is realized. Finally, based on the current opening area, air flow and plant transpiration, the first adjustment instruction generated can be used as the vent adjustment instruction, and the execution device adjusts the opening area of the vent based on the vent adjustment instruction, thereby realizing the effective regulation of the internal environment of the greenhouse. At the same time, the problem of increased human resources caused by manual adjustment of the vent is avoided, the production cost is reduced, and the yield and quality of the crop are further improved.
[0021] 3. By controlling the sensor to periodically send the first pulse signal to the vent and receive the reflected second pulse signal, the opening and closing width of the vent is accurately determined by using the time difference between the two signals. Then, the system calculates the opening and closing width deviation and angle deviation based on the difference between the actual measured opening and closing width and angle and the preset target value. When these deviations exceed the preset threshold, a second adjustment instruction is generated and executed to adjust the greenhouse vent. This process realizes the accurate monitoring of the opening area of the greenhouse vent and the effective regulation of the internal environment of the greenhouse, and also solves the problems of inaccurate measurement and delayed response in monitoring the opening area of the vent in the traditional method. Through real-time analysis and automatic adjustment of the data collected by the sensor, the effect of air flow and temperature control inside the greenhouse is significantly improved, which is conducive to creating a more suitable crop growth environment. At the same time, the use of different types of sensors to collect data increases the redundancy of the entire system, so that even if a sensor fails, the normal operation of the entire system can be guaranteed.
[0022] 4. Compare the current stroke with the preset stroke of the servo motor. When the current stroke is greater than the first preset stroke or the current stroke is less than the second preset stroke, generate a third adjustment instruction, and use the third adjustment instruction as the vent adjustment instruction, so that the servo motor adjusts the opening area of the vent based on the vent adjustment instruction. This process significantly improves the accuracy and stability of vent monitoring by introducing advanced sensor technology and precision servo motors, allowing greenhouse managers to grasp the ventilation conditions more timely and accurately, and then make scientific and reasonable decisions. At the same time, the fully automated monitoring process greatly reduces the labor intensity of staff, saves manpower and material resources, and also improves production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The preferred implementation modes will be described below in a clear and understandable manner with reference to the accompanying drawings to further illustrate the above-mentioned characteristics, technical features, advantages and implementation methods of the present invention.
[0024] Figure 1 A flow chart showing a method for controlling a greenhouse vent provided in an embodiment of the present application is shown;
[0025] Figure 2 A flow chart of generating a vent adjustment instruction provided by an embodiment of the present application is shown;
[0026] Figure 3 A flow chart of generating a vent adjustment instruction provided by an embodiment of the present application is shown;
[0027] Figure 4 A framework diagram of a control system for greenhouse vents provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.
[0029] In order to simplify the drawings, only the parts related to the invention are schematically shown in each figure, and they do not represent the actual structure of the product. In addition, in order to simplify the drawings and facilitate understanding, in some figures, only one of the parts with the same structure or function is schematically drawn or marked. In this article, "one" not only means "only one", but also means "more than one".
[0030] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0031] In this document, 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 the present invention can be understood according to specific circumstances.
[0032] In addition, in the description of the present application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0033] It should be noted that the above embodiments can be freely combined as needed. The above are only preferred embodiments of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be regarded as the protection scope of the present invention.
[0034] A greenhouse is a facility that uses sunlight as the main light source, converts light energy into heat energy through a greenhouse structure, and provides suitable environmental conditions to promote plant growth. The temperature, humidity and other conditions inside the greenhouse are crucial to crop growth. In order to maintain suitable environmental conditions, the greenhouse is equipped with vents (the vents include top / bottom vents) to adjust the flow, temperature, humidity and the like of the air inside the greenhouse. In the embodiment of the present application, a sensor is installed in the greenhouse, and the data collected by the sensor is processed by a relevant data processing device to obtain the opening and closing area of the vent (or the opening and closing width and opening and closing angle), and generate a corresponding vent adjustment instruction. The execution device adjusts the opening area of the vent based on the vent adjustment instruction, which can achieve at least one beneficial effect: accurate monitoring of the opening area of the vent and effective regulation of the internal environment of the greenhouse are achieved; or the production cost is reduced and the quality and yield of the crop are improved.
[0035] The following is explained with reference to the accompanying drawings:
[0036] Reference Figure 1 , which shows a flow chart of a method for controlling a greenhouse vent provided by an embodiment of the present application. Figure 1 As shown, including:
[0037] S100, collecting adjustment data of the vent based on the sensor, the adjustment data being one of the environmental data inside the greenhouse, the opening and closing width and opening and closing angle of the vent, and the current stroke of the servo motor installed at the vent.
[0038] S110, generating a vent adjustment instruction based on the adjustment data, wherein the vent adjustment instruction is any one of a first adjustment instruction generated based on environmental data, a second adjustment instruction generated based on an opening and closing width and an opening and closing angle, and a third adjustment instruction generated based on a current stroke.
[0039] S120, adjusting the opening area of the vent based on the vent adjustment instruction.
[0040] Install the sensors at corresponding positions in the greenhouse. For example, sensors that collect environmental data inside the greenhouse can be installed inside the greenhouse, sensors that collect the opening and closing width and opening and closing angle of the vents can be installed at the vents, and sensors that collect the current stroke of the servo motor installed at the vents can be installed at the opening and closing parts of the vents.
[0041] Establish a communication link between the sensor and the monitoring device, and initialize the parameter settings of the monitoring device so that the monitoring device can effectively receive the adjustment data from the sensor. The monitoring device processes the adjustment data sent by the sensor according to the preset algorithm, thereby generating corresponding vent adjustment instructions, and sends the vent adjustment instructions to the execution device. The execution device adjusts the opening area of the vent based on the vent adjustment instructions. Among them, different vent adjustment instructions correspond to different execution devices. For example, the execution device corresponding to the first adjustment instruction can be an electric drive; the execution device corresponding to the second adjustment instruction can be an electric push rod Z-789, or a pneumatic or hydraulic cylinder; the execution device corresponding to the third adjustment instruction can be a servo motor or other types of motors.
[0042] In the embodiment of the present application, based on the internal environmental data of the greenhouse collected by the sensor, the opening and closing width and opening and closing angle of the vent, and the current stroke of the servo motor installed at the vent, accurate vent adjustment instructions can be generated, thereby realizing accurate monitoring of the vent opening area and effective regulation of the internal environment of the greenhouse.
[0043] Reference Figure 2 , which shows a flow chart of generating a vent adjustment instruction provided by an embodiment of the present application. Figure 2 As shown, including:
[0044] S200, calculating the air flow inside the greenhouse based on environmental data and a linear regression model, wherein the environmental data includes the temperature, humidity and wind speed inside the greenhouse.
[0045] S210, calculating plant transpiration based on a linear regression model, temperature and humidity.
[0046] S220 , calculating a current opening area of the vent based on the air flow rate and the pre-measured air flow rate of the vent and the resistance coefficient of the vent.
[0047] S230: Generate a first adjustment instruction based on the current opening area, air flow, and plant transpiration, and use the first adjustment instruction as the vent adjustment instruction.
[0048] When the adjustment data is environmental data, the sensor can be a temperature sensor, a humidity sensor and a wind speed sensor. The actuator can include an electric drive, a fan, a humidifier, etc. Among them, the wind speed sensor can be an ultrasonic wind speed sensor or a hot wire wind speed sensor (or hot wire anemometer), which has high sensitivity and stability; the temperature sensor can be a digital NTC thermistor with an accuracy of up to ±0.5°C; the humidity sensor can be a polymer film capacitive humidity sensor, which has a fast response and long-term stability. The monitoring device (or data processing center) can be an embedded microcontroller that supports multiple communication protocols and is convenient for integrating third-party devices. Data can be transmitted between the monitoring device and the sensor through a communication module. The communication module can be a wireless transmission technology such as long-distance radio (LoRa), Wi-Fi or Bluetooth to ensure the reliability and security of data transmission. Of course, wired transmission can also be used for data transmission between the monitoring device and the sensor.
[0049] Place temperature sensors, humidity sensors and wind speed sensors at corresponding positions inside the greenhouse and calibrate these sensors. Set the basic parameters of the monitoring device, such as the frequency of data collection and alarm threshold of the control sensor. At the same time, test the connectivity and functional integrity of the sensor, monitoring device and actuator. When the sensor is damaged, other sensors of the same type can be sampled for replacement. The temperature, humidity and wind speed inside the greenhouse are regularly sampled by temperature sensors, humidity sensors and wind speed sensors. The monitoring device calculates the air flow inside the greenhouse based on temperature, humidity, wind speed and linear regression model. The specific formula is: AirFlow = a*W + b*T + c*H + d. At the same time, the monitoring device calculates the transpiration of plants based on temperature, humidity and linear regression model. The specific formula is: Transpiration = e*T + f*H. Among them, the air flow is AirFlow, the plant transpiration is Transpiration, the temperature is T, the humidity is H, the wind speed is W, and a, b, c, d, e, and f are the coefficients of the linear regression model, which can be obtained through training with historical data.
[0050] Furthermore, the monitoring device calculates the current opening area of the vent based on the air flow, the pre-measured air flow rate of the vent and the resistance coefficient of the vent. The specific formula is: S = (AirFlow / V)*(1+R). Among them, the current opening area is S, V is the air flow rate of the vent, and R is the resistance coefficient of the vent. The monitoring device determines whether the opening area of the vent needs to be adjusted based on the current opening area, air flow and plant transpiration. If adjustment is required, the monitoring device can generate a first adjustment instruction, and the electric drive in the execution device adjusts the opening area of the vent based on the first adjustment instruction. The monitoring device can also generate other adjustment instructions based on the air flow and plant transpiration inside the greenhouse, so that the execution device performs operations such as humidification or increasing the air flow.
[0051] The embodiment of the present application can accurately calculate the air flow inside the greenhouse by using the internal environmental data of the greenhouse collected by the sensor, including temperature, humidity and wind speed, combined with the linear regression model. Further, based on the linear regression model and the temperature and humidity data, the transpiration of the plant can be calculated. In addition, combined with the air flow and the air velocity and resistance coefficient of the vent measured in advance, the current opening area of the vent can be accurately calculated, and the accurate monitoring of the opening area of the greenhouse vent is achieved. Finally, based on the current opening area, air flow and plant transpiration, the first adjustment instruction generated can be used as the vent adjustment instruction, and the execution device adjusts the opening area of the vent based on the vent adjustment instruction, thereby achieving effective regulation of the internal environment of the greenhouse. At the same time, the problem of increased human resources caused by manually adjusting the vent is avoided, the production cost is reduced, and the yield and quality of the crop are further improved.
[0052] Reference Figure 3 , which shows a flow chart of generating a vent adjustment instruction provided by an embodiment of the present application. Figure 3 As shown, including:
[0053] S300, controlling the sensor to collect the opening and closing angle of the vent, controlling the sensor to periodically send a first pulse signal to the vent, and receiving a second pulse signal reflected by the vent.
[0054] S310, determining an opening and closing width based on a time difference between a first pulse signal and a second pulse signal.
[0055] S320: Calculate an opening and closing width deviation and an opening and closing angle deviation based on the opening and closing width, the opening and closing angle, a preset target opening and closing width, and a preset target opening and closing angle.
[0056] S330: When the absolute value of the opening and closing width deviation is greater than the threshold value or the absolute value of the opening and closing angle deviation is greater than the threshold value, a second adjustment instruction is generated and the second adjustment instruction is used as the vent adjustment instruction.
[0057] When the adjustment data is the opening and closing width and the opening and closing angle, the sensor can be an infrared sensor and an ultrasonic sensor. The actuator can be any one of the electric push rod Z-789, pneumatic or hydraulic cylinder. Among them, the infrared sensor can be replaced by a pyroelectric sensor. The infrared sensor can choose the model X-123, which has high sensitivity and a wide temperature range; the ultrasonic sensor can choose the model Y-456, which has waterproof and dustproof functions and high-precision measurement capabilities. The monitoring device can use an industrial-grade computer to ensure the real-time data processing and storage security. The actuator can use the electric push rod Z-789, which supports remote control and status feedback, and the maximum stroke can reach 2 meters.
[0058] Install the infrared sensor and ultrasonic sensor at the vent, and establish a stable communication link between the infrared sensor and ultrasonic sensor and the monitoring device. Start the monitoring device and initialize the parameter settings of the monitoring device. Collect the opening and closing angle of the vent through the infrared sensor, and collect the opening and closing width of the vent through the ultrasonic sensor. Among them, the specific principle of the ultrasonic sensor collecting the opening and closing width of the vent is: the ultrasonic sensor periodically sends a first pulse signal to the vent, and receives the second pulse signal returned by the vent, calculates the time difference between the first pulse signal and the second pulse signal (the first pulse signal and the second pulse signal are both ultrasonic), and determines the opening and closing width of the vent. Of course, other sensors can also be used instead of ultrasonic sensors based on the same principle of determining the opening and closing width of the vent. For example, including but not limited to laser ranging sensors, in which case the first pulse signal and the second pulse signal are laser beams; infrared sensors, in which case the first pulse signal and the second pulse signal are infrared light; radar sensors, in which case the first pulse signal and the second pulse signal are radio waves.
[0059] The infrared sensor and ultrasonic sensor send the collected opening and closing angle and opening and closing width to the monitoring device through wired or wireless communication. The monitoring device calculates the opening and closing width deviation and the opening and closing angle deviation based on the opening and closing width, opening and closing angle, the preset target opening and closing width and the preset target opening and closing angle. The specific formula is: Opening and closing angle deviation: Δθ=θ-θ set ; Opening and closing width deviation: Δw=ww set . Among them, θ is the opening angle, w is the opening width, θ set and w setare the preset target opening and closing angle and target opening and closing width respectively. When the absolute value of the opening and closing angle deviation |Δθ|>∈, or the absolute value of the opening and closing width deviation |Δw|>∈, the monitoring device generates a second adjustment instruction, where ∈ is a threshold. The execution device adjusts the opening area of the vent based on the second adjustment instruction. The specific adjustment amount includes the angle adjustment amount: Δθ adj =k 1 *Δθ, width adjustment: Δw adj =k 2 *Δw. Where k 1 and k 2 To control the gain, the control gain may be adjusted according to the feedback data of the greenhouse after adjustment.
[0060] The embodiment of the present application controls the sensor to periodically send a first pulse signal to the vent and receive a reflected second pulse signal, and uses the time difference between the two signals to accurately determine the opening and closing width of the vent. Then, the system calculates the opening and closing width deviation and angle deviation based on the difference between the actual measured opening and closing width and angle and the preset target value. When these deviations exceed the preset threshold, a second adjustment instruction is generated and executed to adjust the greenhouse vent. This process realizes the accurate monitoring of the opening area of the greenhouse vent and the effective regulation of the internal environment of the greenhouse, and also solves the problems of inaccurate measurement and delayed response in monitoring the opening area of the vent in the traditional method. Through real-time analysis and automatic adjustment of the data collected by the sensor, the effect of air flow and temperature control inside the greenhouse is significantly improved, which is conducive to creating a more suitable crop growth environment. At the same time, the use of different types of sensors to collect data increases the redundancy of the entire system, so that when a sensor fails, the normal operation of the entire system can be guaranteed.
[0061] In one embodiment of the present application, when the adjustment data is the current stroke, a vent adjustment instruction is generated based on the adjustment data, specifically including: comparing the current stroke with the stroke of the preset servo motor, wherein the stroke of the preset servo motor includes a first preset stroke and a second preset stroke; when the current stroke is greater than the first preset stroke or the current stroke is less than the second preset stroke, generating a third adjustment instruction, and using the third adjustment instruction as the vent adjustment instruction.
[0062] When the adjustment data is the current stroke of the servo motor, the sensor can be any one of a position sensor, a rotary encoder or a linear displacement sensor (wherein the accuracy of the linear displacement sensor is 0.01 mm and the resolution of the rotary encoder is 0.1°). The monitoring device can use an embedded processor of ARM architecture or an industrial-grade programmable logic controller. The actuator is a servo motor or other types of motors. The servo motor can select a model suitable for use in a greenhouse environment based on factors such as torque and speed.
[0063] A sensor is installed at the opening and closing part of the greenhouse vent, which is responsible for measuring the actual stroke of the servo motor driving the vent. The servo motor is installed on the control device of the vent to ensure that it can accurately control the opening and closing of the vent. After the entire system is started, the system will self-check each hardware to confirm that all hardware is working properly. At the same time, the monitoring device starts to initialize parameter settings, including calibrating the sensor zero point, setting the safety protection threshold, etc. The user can set the initial position of the vent in the monitoring device, that is, the fully closed or half-open state, as a reference benchmark, and adjust the parameters on the control panel of the monitoring device to enter the desired first preset stroke and second preset stroke (in essence, enter the desired maximum opening area and minimum opening area, because the servo motor will make the opening area of the vent change accordingly during the movement, so the first preset stroke is set to correspond to the maximum opening area, the stroke that the servo motor is to move; set the second preset stroke to correspond to the minimum opening area, the stroke that the servo motor is to move). The sensor sends the current stroke of the servo motor collected to the monitoring device, and the monitoring device compares the current stroke with the first preset stroke and the second preset stroke respectively. When the current stroke is greater than the first preset stroke or the current stroke is less than the second preset stroke, a third adjustment instruction is generated, and the third adjustment instruction is sent to the servo motor as the vent adjustment instruction. Based on the vent adjustment instruction, the servo motor rotates a corresponding angle in the direction indicated by the vent adjustment instruction until the current stroke of the servo motor is less than the first preset stroke or greater than the second preset stroke, thereby completing the adjustment of the opening area of the vent (or the opening size or width of the vent).
[0064] During the working process, the monitoring device can also monitor the voltage, current and other parameters of the servo motor in real time to prevent the servo motor from overloading. In addition, the monitoring device can also record the opening area and environmental parameters of the greenhouse before and after each adjustment, analyze historical trends, and provide a basis for further optimization. In the embodiment of the present application, a solar power supply system can also be added, including photovoltaic panels and energy storage batteries, and clean energy can be used to power hardware such as sensors, monitoring devices, and actuators, thereby reducing energy consumption. It is also possible to establish a distributed network through wireless communication technology to centrally manage multiple monitoring devices and improve overall work efficiency.
[0065] The embodiment of the present application compares the current stroke with the preset stroke of the servo motor. When the current stroke is greater than the first preset stroke or the current stroke is less than the second preset stroke, a third adjustment instruction is generated, and the third adjustment instruction is used as the vent adjustment instruction, so that the servo motor adjusts the opening area of the vent based on the vent adjustment instruction. This process significantly improves the accuracy and stability of vent monitoring by introducing advanced sensor technology and precision servo motors, allowing greenhouse managers to grasp the ventilation conditions more timely and accurately, and then make scientific and reasonable decisions. At the same time, the fully automated monitoring process greatly reduces the labor intensity of the staff, saves manpower and material resources, and also improves production efficiency.
[0066] Reference Figure 4 , which shows a framework diagram of a control system for greenhouse vents provided in an embodiment of the present application, and is used to execute the method or means described in any of the above embodiments. Figure 4 As shown, it includes: a sensor 400, a monitoring device 500, and an execution device 600. The sensor 400 is configured to collect the adjustment data of the vent, and the adjustment data is one of the environmental data inside the greenhouse, the opening and closing width and opening and closing angle of the vent, and the current stroke of the servo motor installed at the vent; the monitoring device 500 is configured to generate the vent adjustment instruction based on the adjustment data, wherein the vent adjustment instruction is any one of the first adjustment instruction generated based on the environmental data, the second adjustment instruction generated based on the opening and closing width and the opening and closing angle, and the third adjustment instruction generated based on the current stroke; the execution device 600 is configured to adjust the opening area of the vent based on the vent adjustment instruction.
[0067] In one embodiment of the present application, when the adjustment data is environmental data, the monitoring device is configured to calculate the air flow inside the greenhouse based on the environmental data and a linear regression model, wherein the environmental data includes the temperature, humidity and wind speed inside the greenhouse; the monitoring device is configured to calculate the plant transpiration based on the linear regression model, temperature and humidity; the monitoring device is configured to calculate the current opening area of the vent based on the air flow, the plant transpiration, and the pre-measured air velocity and resistance coefficient of the vent. The monitoring device is configured to generate a first adjustment instruction based on the current opening area, the air flow and the plant transpiration, and use the first adjustment instruction as the vent adjustment instruction.
[0068] In one embodiment of the present application, when the adjustment data is opening and closing width and opening and closing angle, the monitoring device is configured to calculate the opening and closing width deviation and the opening and closing angle deviation based on the opening and closing width, the opening and closing angle, the preset target opening and closing width, and the preset target opening and closing angle; the monitoring device is configured to generate a second adjustment instruction when the absolute value of the opening and closing width deviation is greater than a threshold or the absolute value of the opening and closing angle deviation is greater than a threshold, and use the second adjustment instruction as the vent adjustment instruction.
[0069] In one embodiment of the present application, when the adjustment data is the current stroke, the execution device is a servo motor; the monitoring device is configured to compare the current stroke with the stroke of the preset servo motor, wherein the stroke of the preset servo motor includes a first preset stroke and a second preset stroke; the monitoring device is configured to generate a third adjustment instruction when the current stroke is greater than the first preset stroke or the current stroke is less than the second preset stroke, and use the third adjustment instruction as the vent adjustment instruction.
[0070] In one embodiment of the present application, the servo motor is configured to rotate a corresponding angle in a direction indicated by the vent adjustment instruction until a current stroke of the servo motor is less than a first preset stroke or greater than a second preset stroke.
[0071] It should be noted that the above embodiments can be freely combined as needed. The above are only preferred embodiments of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be regarded as the protection scope of the present invention.
Claims
1. A method for controlling a greenhouse vent, characterized in that: include: Collecting adjustment data of the vent based on the sensor, the adjustment data being one of the environmental data inside the greenhouse, the opening and closing width and opening and closing angle of the vent, and the current stroke of the servo motor installed at the vent; generating a vent adjustment instruction based on the adjustment data, wherein the vent adjustment instruction is any one of a first adjustment instruction generated based on the environmental data, a second adjustment instruction generated based on the opening and closing width and the opening and closing angle, and a third adjustment instruction generated based on the current stroke; Based on the vent adjustment instruction, the opening area of the vent is adjusted.
2. The method for controlling the greenhouse vents according to claim 1, characterized in that: When the adjustment data is the environmental data, generating the vent adjustment instruction based on the adjustment data specifically includes: Calculating the amount of air flow inside the greenhouse based on the environmental data and the linear regression model, wherein the environmental data includes the temperature, humidity and wind speed inside the greenhouse; Calculating plant transpiration based on the linear regression model, the temperature and the humidity; Calculating a current opening area of the vent based on the air flow rate and a pre-measured air flow rate of the vent and a resistance coefficient of the vent; Based on the current opening area, the air flow rate, and the plant transpiration rate, a first adjustment instruction is generated, and the first adjustment instruction is used as the vent adjustment instruction.
3. The method for controlling the greenhouse vents according to claim 1, characterized in that: When the adjustment data is the opening and closing width and the opening and closing angle, generating the vent adjustment instruction based on the adjustment data specifically includes: Calculating an opening width deviation and an opening angle deviation based on the opening width, the opening angle, a preset target opening width, and a preset target opening angle; When the absolute value of the opening and closing width deviation is greater than a threshold value or the absolute value of the opening and closing angle deviation is greater than a threshold value, a second adjustment instruction is generated, and the second adjustment instruction is used as the vent adjustment instruction.
4. The method for controlling the greenhouse vents according to claim 1, characterized in that: When the adjustment data is the current trip, generating the vent adjustment instruction based on the adjustment data specifically includes: Comparing the current stroke with a preset stroke of the servo motor, wherein the preset stroke of the servo motor includes a first preset stroke and a second preset stroke; When the current stroke is greater than the first preset stroke or the current stroke is less than the second preset stroke, a third adjustment instruction is generated, and the third adjustment instruction is used as the vent adjustment instruction.
5. The method for controlling the vents of a greenhouse according to claim 3, characterized in that: When the adjustment data is the opening and closing width and the opening and closing angle, the sensor-based collection of the adjustment data of the vent specifically includes: Controlling the sensor to collect the opening and closing angle of the vent; Controlling the sensor to periodically send a first pulse signal to the vent, and receive a second pulse signal reflected by the vent; The opening and closing width is determined based on a time difference between the first pulse signal and the second pulse signal.
6. A control system for greenhouse vents, characterized in that: include: A sensor is configured to collect adjustment data of the vent, wherein the adjustment data is one of environmental data inside the greenhouse, an opening and closing width and an opening and closing angle of the vent, and a current stroke of a servo motor installed at the vent; A monitoring device is configured to generate a vent adjustment instruction based on the adjustment data, wherein the vent adjustment instruction is any one of a first adjustment instruction generated based on the environmental data, a second adjustment instruction generated based on the opening and closing width and the opening and closing angle, and a third adjustment instruction generated based on the current stroke; The execution device is configured to adjust the opening area of the vent based on the vent adjustment instruction.
7. The greenhouse vent control system according to claim 6, characterized in that: When the adjustment data is the environmental data, the monitoring device is configured to calculate the air flow inside the greenhouse based on the environmental data and a linear regression model, wherein the environmental data includes the temperature, humidity and wind speed inside the greenhouse; The monitoring device is configured to calculate plant transpiration based on the linear regression model, the temperature and the humidity; The monitoring device is configured to calculate the current opening area of the vent based on the air flow rate, the plant transpiration rate, and the pre-measured air flow rate of the vent and the resistance coefficient of the vent; The monitoring device is configured to generate a first adjustment instruction based on the current opening area, the air flow rate, and the plant transpiration rate, and use the first adjustment instruction as the vent adjustment instruction.
8. The greenhouse vent control system according to claim 6, characterized in that: When the adjustment data is the opening and closing width and the opening and closing angle, the monitoring device is configured to calculate the opening and closing width deviation and the opening and closing angle deviation based on the opening and closing width, the opening and closing angle, a preset target opening and closing width, and a preset target opening and closing angle; The monitoring device is configured to generate a second adjustment instruction when the absolute value of the opening and closing width deviation is greater than a threshold or the absolute value of the opening and closing angle deviation is greater than a threshold, and use the second adjustment instruction as the vent adjustment instruction.
9. The greenhouse vent control system according to claim 6, characterized in that: When the adjustment data is the current stroke, the execution device is the servo motor; The monitoring device is configured to compare the current stroke with a preset stroke of the servo motor, wherein the preset stroke of the servo motor includes a first preset stroke and a second preset stroke; The monitoring device is configured to generate a third adjustment instruction when the current stroke is greater than a first preset stroke or the current stroke is less than a second preset stroke, and use the third adjustment instruction as the vent adjustment instruction.
10. The greenhouse vent control system according to claim 9, characterized in that: The servo motor is configured to rotate a corresponding angle in the direction indicated by the vent adjustment instruction until the current stroke of the servo motor is less than the first preset stroke or greater than the second preset stroke.
Citation Information
Patent Citations
Greenhouse air circulation adjusting device, greenhouse and greenhouse air circulation adjusting method
CN106482296A
Control system and control method for natural ventilation in greenhouses
CN106912329A
Air valve control method, control device and control system and ventilation cabinet
CN106944449A
Energy-saving multi-target henhouse environment control system based on PLC and HMI
CN117170443A
Apparatus for fermenting livestock excretion, system and method for treating livestock excretions
KR102647857B1