A method, device, equipment and storage medium for controlling air door opening

By introducing automatic and manual control modes into the pig house damper control system, combining environmental monitoring information and pig data information, high-precision control of damper opening is achieved, and the problem of low accuracy and accuracy of damper control in the prior art is solved.

CN115943891BActive Publication Date: 2025-03-25SHENZHEN SHUYING TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310139134.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-10
Publication Date
2025-03-25
Estimated Expiration
2043-02-10

AI Technical Summary

Technical Problem

The existing pig house damper control technology cannot achieve high-precision and accurate ventilation control, especially the needs of different temperatures, humidity and pig health conditions cannot be met.

Method used

Switch the damper to automatic or manual control mode in response to the control mode selected by the user. If for automatic control, environmental monitoring information and pig data information are collected, the target ventilation volume prediction model is used to calculate the target ventilation volume, and the damper opening is controlled through the first control voltage. If manual control is performed, the user adjusts the damper opening through the second control voltage.

Benefits of technology

It improves the accuracy and accuracy of damper control, avoids the inaccurate damper control caused by abnormal control operation, and achieves accurate calculation of the target ventilation through environmental monitoring information under automatic control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115943891B_ABST
    Figure CN115943891B_ABST
Patent Text Reader

Abstract

The present invention discloses a damper opening control method, device, equipment and storage medium, including: in response to a control mode selected by a user, switching the current damper to the control mode selected by the user; wherein the control mode includes automatic control and manual control; if it is automatic control, collecting environmental monitoring information, and obtaining a target ventilation volume according to the environmental monitoring information; according to the target ventilation volume, calculating a first control voltage required for the damper opening, and controlling the damper opening by the first control voltage; if it is manual control, in response to the user adjusting a second control voltage, further controlling the damper opening by the second control voltage. The present invention solves the technical problem of low damper control precision and accuracy in the prior art. Special situations such as processor operation failure, misoperation by front-line operating users, short control line, power supply abnormality, etc. are avoided to ensure that the ventilation risk of the damper is controllable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of industrial control technology, and in particular to a damper opening control method, device, equipment and storage medium. Background Art

[0002] With the development of industrial automation control technology, animal husbandry, agriculture and other related fields can improve their production efficiency and output by adopting automation control technology. For pig farming, pig house ventilation is the top priority for closed building pig farming. The density of pigs in the pig house is high. Once the ventilation is interrupted for a long time, the pigs will lack oxygen or even suffocate to death.

[0003] The existing pig house ventilation scheme is to open the pig house damper at a fixed time to ventilate the pig house, and reduce or close the damper at night when the pigs do not need to move, so as to reduce the low temperature of the pig house caused by ventilation, and thus prevent the pigs from catching cold easily. However, the existing technology can only roughly control the damper of the pig house by controlling it at different times, and cannot achieve more precise control under different temperature, humidity, and pig health conditions.

[0004] Therefore, there is an urgent need for a method that can improve the precision and accuracy of pig house damper control. Summary of the invention

[0005] The present invention provides a damper opening control method, device, equipment and storage medium to solve the technical problem of low damper control precision and accuracy in the prior art.

[0006] In order to solve the above technical problems, an embodiment of the present invention provides a damper opening control method, comprising:

[0007] In response to the control mode selected by the user, switching the current damper to the control mode selected by the user; wherein the control mode includes automatic control and manual control;

[0008] If it is automatic control, collect environmental monitoring information and pig data information, and obtain the target ventilation volume according to the environmental monitoring information and the pig data information; calculate the first control voltage required for the damper opening according to the target ventilation volume, and control the damper opening by the first control voltage;

[0009] If it is manual control, in response to the user adjusting the second control voltage, the damper opening is controlled by the second control voltage.

[0010] As a preferred solution, the environmental monitoring information and the pig data information are collected, and the target ventilation volume is obtained according to the environmental monitoring information and the pig data information, specifically:

[0011] Collecting environmental monitoring information; wherein the environmental monitoring information includes: environmental temperature, environmental humidity, environmental light intensity and time;

[0012] Collecting pig data information; wherein the pig data information includes: pig quantity, pig gender, pig type and pig growth stage;

[0013] By using a preset ventilation volume prediction model, the collected environmental monitoring information and pig data information are input into the preset ventilation volume prediction model for prediction calculation, so as to output a target ventilation volume corresponding to the environmental monitoring information and the pig data information;

[0014] The preset ventilation volume prediction model is obtained through sample training of historical environmental monitoring information and historical pig data information.

[0015] As a preferred solution, the first control voltage required for the damper opening is calculated according to the target ventilation volume, and the damper opening is controlled by the first control voltage, specifically:

[0016] Collect the ventilation volume of the damper actuator that controls the damper opening at each action angle and make an action angle control relationship curve;

[0017] In the action angle control relationship curve, a target action angle corresponding to the target ventilation volume is calculated;

[0018] According to the target action angle, a first control voltage corresponding to the damper actuator at the target action angle is calculated, so that the first control voltage is output to control the damper actuator, thereby controlling the damper opening.

[0019] As a preferred solution, the step of calculating the first control voltage corresponding to the air valve actuator at the target action angle according to the target action angle includes:

[0020]

[0021] Wherein, n is the target action angle, U is the first control voltage, and the range of U is 0-10V.

[0022] As a preferred solution, it also includes:

[0023] The real-time ventilation volume is collected, and the PID control parameters of the air valve actuator are adjusted according to the real-time ventilation volume. The PID controller outputs a first control voltage according to the PID control parameters to close-loop control the air valve actuator to achieve control of the air door opening.

[0024] As a preferred solution, before responding to the control mode selected by the user, the method further includes:

[0025] Monitor the operating status of the microcontroller that controls the air valve controller;

[0026] If the single-chip microcomputer is in normal operation, the level signal of the software enabling switch is collected;

[0027] If the single chip microcomputer is in abnormal operation, the control mode selected by the user is directly waited for.

[0028] As a preferred solution, it also includes:

[0029] When the single chip microcomputer is in normal operation, determining the level signal of the software enable switch;

[0030] If the level signal is a high level, the control mode of the current damper is determined according to the control mode selected by the user; if the level signal is a low level, the control mode of the current damper is automatic control;

[0031] When the single chip microcomputer is in abnormal operation, the current control mode of the damper is determined according to the control mode selected by the user.

[0032] Accordingly, the present invention also provides a damper opening control device, comprising: a response module, an automatic control module and a manual control module;

[0033] The response module is used to switch the current damper to the control mode selected by the user in response to the control mode selected by the user; wherein the control mode includes automatic control and manual control;

[0034] The automatic control module is used to collect environmental monitoring information and obtain a target ventilation volume according to the environmental monitoring information if automatic control is performed; calculate a first control voltage required for the damper opening according to the target ventilation volume, and control the damper opening by means of the first control voltage;

[0035] The manual control module is used to control the damper opening by the second control voltage in response to the user adjusting the second control voltage during manual control.

[0036] As a preferred solution, the environmental monitoring information and the pig data information are collected, and the target ventilation volume is obtained according to the environmental monitoring information and the pig data information, specifically:

[0037] Collecting environmental monitoring information; wherein the environmental monitoring information includes: environmental temperature, environmental humidity, environmental light intensity and time;

[0038] Collecting pig data information; wherein the pig data information includes: pig quantity, pig gender, pig type and pig growth stage;

[0039] By using a preset ventilation volume prediction model, the collected environmental monitoring information and pig data information are input into the preset ventilation volume prediction model for prediction calculation, so as to output a target ventilation volume corresponding to the environmental monitoring information and the pig data information;

[0040] The preset ventilation volume prediction model is obtained through sample training of historical environmental monitoring information and historical pig data information.

[0041] As a preferred solution, the first control voltage required for the damper opening is calculated according to the target ventilation volume, and the damper opening is controlled by the first control voltage, specifically:

[0042] Collect the ventilation volume of the damper actuator that controls the damper opening at each action angle and make an action angle control relationship curve;

[0043] In the action angle control relationship curve, a target action angle corresponding to the target ventilation volume is calculated;

[0044] According to the target action angle, a first control voltage corresponding to the damper actuator at the target action angle is calculated, so that the first control voltage is output to control the damper actuator, thereby controlling the damper opening.

[0045] As a preferred solution, the step of calculating the first control voltage corresponding to the air valve actuator at the target action angle according to the target action angle includes:

[0046]

[0047] Wherein, n is the target action angle, U is the first control voltage, and the range of U is 0-10V.

[0048] As a preferred solution, it also includes:

[0049] The real-time ventilation volume is collected, and the PID control parameters of the air valve actuator are adjusted according to the real-time ventilation volume. The PID controller outputs a first control voltage according to the PID control parameters to close-loop control the air valve actuator to achieve control of the air door opening.

[0050] As a preferred solution, before responding to the control mode selected by the user, the method further includes:

[0051] Monitor the operating status of the microcontroller that controls the air valve controller;

[0052] If the single-chip microcomputer is in normal operation, the level signal of the software enabling switch is collected;

[0053] If the single chip microcomputer is in abnormal operation, the control mode selected by the user is directly waited for.

[0054] As a preferred solution, it also includes:

[0055] When the single chip microcomputer is in normal operation, determining the level signal of the software enable switch;

[0056] If the level signal is a high level, the control mode of the current damper is determined according to the control mode selected by the user; if the level signal is a low level, the control mode of the current damper is automatic control;

[0057] When the single chip microcomputer is in abnormal operation, the current control mode of the damper is determined according to the control mode selected by the user.

[0058] Correspondingly, the present invention also provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, it implements the damper opening control method described in any one of the above.

[0059] Correspondingly, the present invention also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any of the damper opening control methods described above.

[0060] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0061] The technical solution of the present invention switches the control mode of the current damper in response to the control mode selected by the user, so that the damper can be accurately controlled according to the user's selection, avoiding the problem of inaccurate damper control due to abnormal control operation. At the same time, environmental monitoring information is collected under automatic control, and the target ventilation volume and the first control voltage of the damper opening are obtained through the environmental monitoring information, and the damper opening can be controlled by the second control voltage in the manual control mode, thereby improving the precision and accuracy of the damper control, avoiding special situations such as processor operation failure, misoperation by front-line operating users, short circuit of the control line, power supply abnormality, etc., to ensure that the ventilation risk of the damper is controllable. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 : A flow chart of the steps of a damper opening control method provided by an embodiment of the present invention;

[0063] Figure 2 : A schematic diagram of a single chip microcomputer operating status monitoring circuit provided by an embodiment of the present invention;

[0064] Figure 3 : A schematic diagram of an automatic / manual switching circuit provided in an embodiment of the present invention;

[0065] Figure 4 : A structural block diagram of the automatic output provided by an embodiment of the present invention;

[0066] Figure 5 : A schematic diagram of an analog quantity adjustment output circuit provided in an embodiment of the present invention;

[0067] Figure 6 : A schematic structural diagram of a damper opening control device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0068] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0069] Embodiment 1

[0070] Please refer to Figure 1 , a damper opening control method provided by an embodiment of the present invention, comprising the following steps S101-S103:

[0071] Step S101: In response to a control mode selected by a user, switching the current damper to the control mode selected by the user; wherein the control mode includes automatic control and manual control.

[0072] It should be noted that the user can select the control mode by the manual / automatic toggle switch. Preferably, when the manual / automatic toggle switch outputs a low level, it is the manual control mode, and when the manual / automatic toggle switch outputs a high level, it is the automatic control mode.

[0073] As a preferred solution of this embodiment, before responding to the control mode selected by the user, the method further includes:

[0074] Monitor the operating status of the single-chip microcomputer that controls the air valve controller; if the operating status of the single-chip microcomputer is normal operation, collect the level signal of the software enable switch; if the operating status of the single-chip microcomputer is abnormal operation, directly wait for the control mode selected by the user.

[0075] In this embodiment, the state signal output by the single chip microcomputer controlling the air valve controller is MCU_RunState, see Figure 2 The status signal is collected through the single-chip microcomputer operation status monitoring circuit. The single-chip microcomputer operation status can be judged by outputting logic 1 (high level) when the single-chip microcomputer is running normally and outputting logic 0 (low level) when the single-chip microcomputer is running abnormally. After judging that the single-chip microcomputer operation status is normal, the level signal of the software enable switch is collected, so that the current control mode can be accurately determined to avoid special situations such as processor operation failure, front-line operator misoperation, control line short circuit, power supply abnormality, etc., and then after the above situation occurs, it can continue to automatically output control or manual control to ensure that the damper is in a controllable state, thereby improving the accuracy of damper control, which can be better used in actual situations and improve the operator's experience.

[0076] It should be noted that in the single-chip microcomputer running status monitoring circuit, the input MCU_PWM is received, and then passes through the resistors R1 and R2, and then passes through the operator U1A and the operator UAB respectively, and then passes through R8 and R9 connected after the output operator, and then input into the judgment logic unit U2D, and finally the single-chip microcomputer running status signal MCU_RunState is output.

[0077] As a preferred solution of this embodiment, it also includes:

[0078] When the single-chip microcomputer is in normal operation, the level signal of the software enable switch is judged; if the level signal is high, the control mode of the current damper is determined according to the control mode selected by the user; if the level signal is low, the control mode of the current damper is automatic control; when the single-chip microcomputer is in abnormal operation, the control mode of the current damper is determined according to the control mode selected by the user.

[0079] In this embodiment, the control mode switching in step S101 is realized by an automatic / manual switching circuit. Figure 3, and Table 1, signal MCU_RunState is the output of the MCU operation status monitoring circuit, which outputs logic 1 (high level) when the MCU runs normally, and outputs logic 0 (low level) when the MCU runs abnormally; signal Software_Enable is the manual automatic software enable switch, when Software_Enable is logic 1 (high level), it allows the manual output switch to be enabled, and the manual or automatic output can be selected through the manual automatic switching switch S1, when Software_Enable is logic 0 (low level), it prohibits the manual output enable switch, regardless of the manual automatic switching switch S1 is automatic output; S1 is an automatic manual switching switch, when it is disconnected, it is high level, indicating the automatic output enable state; when it is closed, it is low level, indicating the manual output enable state, and ManuState is the feedback signal. The above logic circuit ultimately controls the double-pole double-throw relay RL1 to connect the automatic output signal source or the manual output signal source, and the optocoupler U3 and related circuits provide electrical isolation drive.

[0080] Table 1

[0081]

[0082] Among them, "1" represents high-level logic; "0" represents low-level logic; "X" represents high-level or low-level logic.

[0083] Furthermore, when the single-chip microcomputer is operating normally, the software enable switch needs to be enabled before the relay output form can be switched through the manual / automatic switch; when the single-chip microcomputer is operating abnormally, the software enable switch is not required, and the relay output form can be switched through the manual / automatic switch.

[0084] It should be noted that in the automatic / manual switching circuit, by inputting the microcontroller running state signal MCU_RunState and Software_Enable, and inputting MCU_RunState into the first judgment unit U2A, thereby outputting it together with Software_Enable to the second judgment unit U2B, and then inputting it into the third judgment unit U2C. At the same time, the signal of the manual / automatic toggle switch S1 is input into the judgment unit U2C, so that the judgment unit U2C outputs it to the optocoupler U3, and through the output of the anode collector and the cathode emitter, and through the input second control voltage Manu_Out and the first control voltage Auto_Out, the automatic output signal source or the manual output signal source is connected through the double-pole double-throw relay RL1, so as to realize the switching of automatic or manual signal control, wherein the optocoupler U3 and related circuits provide electrical isolation drive.

[0085] Furthermore, the input end of the first judgment unit inputs a signal of the operating status of the single-chip microcomputer, the output end of the first judgment unit is connected to the first input end of the second judgment unit, the second input end of the second judgment unit inputs a software enable switch level signal, the output end of the second judgment unit is connected to the first input end of the third judgment unit, the second input end of the third judgment unit inputs a control mode signal selected by the user, the output end of the third judgment unit is connected to the input end of the optocoupler, the first output end of the optocoupler is connected to the first input end of the double-pole double-throw relay, the second output end of the optocoupler is connected to the transistor and then grounded, the second input end of the double-pole double-throw relay is connected to an external preset power supply, the third input end of the double-pole double-throw relay is connected to a second control voltage adjusted by the user, the fourth input end of the double-pole double-throw relay is connected to the first control voltage in the automatic control mode, and the output end of the double-pole double-throw relay outputs the first control voltage or the second control voltage for controlling the damper.

[0086] Step S102: If it is automatic control, collect environmental monitoring information and pig data information, and obtain the target ventilation volume based on the environmental monitoring information and the pig data information; calculate the first control voltage required for the damper opening based on the target ventilation volume, and control the damper opening by the first control voltage.

[0087] In this embodiment, environmental monitoring information can be collected through various sensors and collection devices, including but not limited to thermometers, hygrometers, illuminance meters, clock information collection devices, infrared temperature and humidity sensors, etc. For example, the environmental monitoring information includes ambient temperature, ambient humidity, ambient light intensity and time. Through the environmental monitoring information, the current environmental information status can be accurately obtained, and the current damper can be further adaptively controlled through the current environmental information status, thereby improving the control accuracy and control rationality of the damper.

[0088] Furthermore, pig data information includes the number of pigs (the more pigs in the pen, the greater the target ventilation volume), pig type (the average ventilation volume per head of boars and sows is different), and pig growth stage (boars are divided into piglet, nursery, growing, fattening and other stages, and sows are divided into reserve, empty, pregnancy, delivery, lactation and other stages, and the average ventilation volume per head of pigs is different in different stages). Pig data information is manually set in advance by the administrator according to the actual pig house breeding needs.

[0089] As a preferred solution of this embodiment, the environmental monitoring information is collected, and the target ventilation volume is obtained according to the environmental monitoring information, specifically:

[0090] Collect environmental monitoring information; wherein the environmental monitoring information includes: environmental temperature, environmental humidity, environmental light intensity and time; collect pig data information; wherein the pig data information includes: pig quantity, pig gender, pig type and pig growth stage; through a preset ventilation volume prediction model, input the collected environmental monitoring information and pig data information into the preset ventilation volume prediction model for prediction calculation, thereby outputting a target ventilation volume corresponding to the environmental monitoring information and the pig data information; wherein the preset ventilation volume prediction model is obtained through sample training of historical environmental monitoring information and historical pig data information.

[0091] In this embodiment, the collected environmental monitoring information can be determined in the form of a series. For example, for the ambient temperature, the series element is "1" when it is below -5°C, "2" when it is between -5°C and 0°C (excluding 0°C, the same applies below), "3" when it is between 0°C and 5°C, "4" when it is between 5°C and 10°C, "5" when it is between 10°C and 15°C, "6" when it is between 15°C and 20°C, "7" when it is between 20°C and 25°C, "8" when it is between 25°C and 30°C, "9" when it is between 30°C and 35°C, and "10" when it is above 35°C. "10"; for ambient humidity, ambient humidity is measured by relative humidity, below 10% is "1", 10% to 20% (excluding 20%, the same applies below) is "2", 20% to 30% is "3", 30% to 40% is "4", 40% to 50% is "5", 50% to 60% is "6", 60% to 70% is "7", 70% to 80% is "8", 80% to 90% is "9", 90% and above is "10"; similarly, for ambient light illumination and time, they are also defined in a similar way. For example, when the current ambient temperature is 22°C, the ambient humidity is 50%, the ambient light illumination is 175Lx, and the time is 15:00 in the afternoon, the array of environmental monitoring information collected is [7, 6, 175, 15]. Similarly, pig data information can also be determined in the form of a series. For example, the number of pigs is a specific numerical number, different pig types are pre-assigned with different numerical definitions (sows are "0" and boars are "1"), and different growth stages are pre-assigned with different numerical definitions (the piglet, nursery, rearing, fattening and other stages of boars are defined as "1, 2, 3, 4, etc." respectively, and the reserve, empty-stomach, pregnancy, delivery, lactation and other stages of sows are defined as "1, 2, 3, 4, etc." respectively).

[0092] Furthermore, in order to improve the efficiency of retrieving the target ventilation volume corresponding to the environmental monitoring information, a large amount of historical data or empirical data of the environmental monitoring information and its corresponding reasonable target ventilation volume can be collected in advance as training data for model training, and the training data can be imported into the clustering model through a clustering model algorithm, etc. for model training, so that after the model training data is fitted, the environmental information ventilation volume model is obtained, and then after the environmental monitoring information is collected in real time, the environmental monitoring information is directly imported into the environmental information ventilation volume model, so that the corresponding target ventilation volume can be obtained quickly and accurately.

[0093] As a preferred solution of this embodiment, the first control voltage required for the damper opening is calculated according to the target ventilation volume, and the damper opening is controlled by the first control voltage, specifically:

[0094] The ventilation volume of the air valve actuator that controls the air valve opening at each action angle is collected and an action angle control relationship curve is made; in the action angle control relationship curve, a target action angle corresponding to the target ventilation volume is calculated; based on the target action angle, a first control voltage corresponding to the air valve actuator at the target action angle is calculated, so that the first control voltage is output to control the air valve actuator, and then to control the air valve opening.

[0095] As a preferred solution of this embodiment, the first control voltage corresponding to the air valve actuator at the target action angle is calculated according to the target action angle, including: Wherein, n is the target action angle, U is the first control voltage, and the range of U is 0-10V.

[0096] In this embodiment, preferably, the damper is controlled to open by a damper actuator, the damper actuator action angle is 0-90°, the power supply voltage is 24V; the control signal is 0-10V, the damper opening and the control voltage present an inverse logic relationship, when the input voltage is 0V, the damper actuator turns to 90°, and the corresponding damper is fully open; when the input voltage is 10V, the damper actuator turns to 0°, and the corresponding damper is fully closed. When the controller is powered off, that is, when the control signal is disconnected or does not output 0V, the damper is fully open, ensuring that the damper opening achieves ventilation.

[0097] For example, when the control voltage is 6V, the air valve opening angle can be calculated by the above formula to be 36°. Figure 4Preferably, in order to enable the throttle to have a sufficient step frequency for precise control of the throttle (if the voltage range is too small, the controllable accuracy range will be smaller, thus making it impossible to achieve high-precision throttle control), the automatic output uses a single-chip microcomputer to control the DAC to output a 0-5V signal, which is then amplified to 0-10V by an operational amplifier.

[0098] As a preferred solution of this embodiment, this embodiment also includes:

[0099] The real-time ventilation volume is collected, and the PID control parameters of the air valve actuator are adjusted according to the real-time ventilation volume. The PID controller outputs a first control voltage according to the PID control parameters to close-loop control the air valve actuator to achieve control of the air door opening.

[0100] In this embodiment, when the damper control tends to be stable, that is, when the damper opening is kept in a certain range, the ventilation volume can be implemented to adjust the PID control parameters, and then the damper opening can be controlled by the PID controller. The PID control method can convert the ventilation volume into the ventilation volume by measuring the rotation speed of the circular damper. The rotation speed may be measured and obtained by an encoder installed on the damper, so as to realize more accurate damper opening control according to the real-time ventilation volume. When the closed-loop control mode is adopted, the real-time ventilation volume of the fence is collected for feedback, and the first control voltage is adjusted by the PID control method, which is suitable for the micro-control of the damper controller and its opening, and can significantly improve the accuracy of the damper control.

[0101] As another preferred solution of this embodiment, it also includes:

[0102] When the air valve actuator loses power, the action angle of the air valve controller is controlled to be maintained at the maximum angle so that the air door opening is maximized.

[0103] In this embodiment, when the damper actuator loses power, in order to avoid poor ventilation due to closing of the damper, the damper actuator does not maintain torque. At this time, the damper remains fully open under the action of negative pressure to ensure ventilation.

[0104] Step S103: If it is manual control, in response to the user adjusting the second control voltage, the damper opening is controlled by the second control voltage.

[0105] In this embodiment, the second control voltage adjusted by the user can be adjusted by a sliding rheostat and realized by adjusting the output circuit through analog quantity. Figure 5, for example, a reasonable voltage-dividing resistor R40 can be set. When the resistance value of the sliding variable resistor RT1 changes, the voltage-dividing voltage of the sliding variable resistor RT1 changes from 0 to 10V, and then the output capacity is improved through the operational amplifier U4A. After the sliding variable resistor RT1 is connected to the resistor R41, it is connected to the operational amplifier U4A, and then the analog value Manu_Out_P is output.

[0106] Implementing the above embodiments has the following effects:

[0107] The technical solution of the present invention switches the control mode of the current damper in response to the control mode selected by the user, so that the damper can be accurately controlled according to the user's selection, avoiding the problem of inaccurate damper control due to abnormal control operation. At the same time, environmental monitoring information is collected under automatic control, and the target ventilation volume and the first control voltage of the damper opening are obtained through the environmental monitoring information, and the damper opening can be controlled by the second control voltage in the manual control mode, thereby improving the precision and accuracy of the damper control, avoiding special situations such as processor operation failure, misoperation by front-line operating users, short circuit of the control line, power supply abnormality, etc., to ensure that the ventilation risk of the damper is controllable.

[0108] Embodiment 2

[0109] Please refer to the figure, which shows a damper opening control device provided by the present invention, including: a response module 201, an automatic control module 202 and a manual control module 203.

[0110] The response module 201 is used to switch the current damper to the control mode selected by the user in response to the control mode selected by the user; wherein the control mode includes automatic control and manual control.

[0111] The automatic control module 202 is used for collecting environmental monitoring information and pig data information for automatic control, and obtaining a target ventilation volume based on the environmental monitoring information and the pig data information; calculating a first control voltage required for the damper opening based on the target ventilation volume, and controlling the damper opening by the first control voltage.

[0112] The manual control module 203 is used to control the damper opening by the second control voltage in response to the user adjusting the second control voltage in the case of manual control.

[0113] As a preferred solution of this embodiment, the environmental monitoring information is collected, and the target ventilation volume is obtained according to the environmental monitoring information, specifically:

[0114] Collect environmental monitoring information; wherein the environmental monitoring information includes: environmental temperature, environmental humidity, environmental light intensity and time; collect pig data information; wherein the pig data information includes: pig quantity, pig gender, pig type and pig growth stage; through a preset ventilation volume prediction model, input the collected environmental monitoring information and pig data information into the preset ventilation volume prediction model for prediction calculation, thereby outputting a target ventilation volume corresponding to the environmental monitoring information and the pig data information; wherein the preset ventilation volume prediction model is obtained through sample training of historical environmental monitoring information and historical pig data information.

[0115] As a preferred solution of this embodiment, the first control voltage required for the damper opening is calculated according to the target ventilation volume, and the damper opening is controlled by the first control voltage, specifically:

[0116] The ventilation volume of the air valve actuator that controls the air valve opening at each action angle is collected and an action angle control relationship curve is made; in the action angle control relationship curve, a target action angle corresponding to the target ventilation volume is calculated; based on the target action angle, a first control voltage corresponding to the air valve actuator at the target action angle is calculated, so that the first control voltage is output to control the air valve actuator, and then to control the air valve opening.

[0117] As a preferred solution of this embodiment, the first control voltage corresponding to the air valve actuator at the target action angle is calculated according to the target action angle, including: Wherein, n is the target action angle, U is the first control voltage, and the range of U is 0-10V.

[0118] As a preferred solution of this embodiment, it also includes:

[0119] When the air valve actuator loses power, the action angle of the air valve controller is controlled to be maintained at the maximum angle so that the air door opening is maximized.

[0120] As a preferred solution of this embodiment, before responding to the control mode selected by the user, the method further includes:

[0121] Monitor the operating status of the single-chip microcomputer that controls the air valve controller; if the operating status of the single-chip microcomputer is normal operation, collect the level signal of the software enable switch; if the operating status of the single-chip microcomputer is abnormal operation, directly wait for the control mode selected by the user.

[0122] As a preferred solution of this embodiment, it also includes:

[0123] When the single-chip microcomputer is in normal operation, the level signal of the software enable switch is judged; if the level signal is high, the control mode of the current damper is determined according to the control mode selected by the user; if the level signal is low, the control mode of the current damper is automatic control; when the single-chip microcomputer is in abnormal operation, the control mode of the current damper is determined according to the control mode selected by the user.

[0124] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0125] Implementing the above embodiments has the following effects:

[0126] The technical solution of the present invention switches the control mode of the current damper in response to the control mode selected by the user, so that the damper can be accurately controlled according to the user's selection, avoiding the problem of inaccurate damper control due to abnormal control operation. At the same time, environmental monitoring information is collected under automatic control, and the target ventilation volume and the first control voltage of the damper opening are obtained through the environmental monitoring information, and the damper opening can be controlled by the second control voltage in the manual control mode, thereby improving the precision and accuracy of the damper control, avoiding special situations such as processor operation failure, misoperation by front-line operating users, short circuit of the control line, power supply abnormality, etc., to ensure that the ventilation risk of the damper is controllable.

[0127] Embodiment 3

[0128] Correspondingly, the present invention also provides a terminal device, comprising: a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the damper opening control method described in any one of the above embodiments is implemented.

[0129] The terminal device of this embodiment includes: a processor, a memory, and a computer program and a computer instruction stored in the memory and executable on the processor. When the processor executes the computer program, each step in the above-mentioned embodiment 1 is implemented, for example: Figure 1 Alternatively, the processor implements the functions of each module / unit in the above device embodiment, such as the automatic control module 202, when executing the computer program.

[0130] Exemplarily, the computer program can be divided into one or more modules / units, and the one or more modules / units are stored in the memory and executed by the processor to complete the present invention. The one or more modules / units can be a series of computer program instruction segments that can perform specific functions, and the instruction segments are used to describe the execution process of the computer program in the terminal device. For example, the automatic control module 202 is used to collect environmental monitoring information and pig data information for automatic control, and obtain the target ventilation volume based on the environmental monitoring information and the pig data information; calculate the first control voltage required for the damper opening based on the target ventilation volume, and control the damper opening by the first control voltage.

[0131] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the schematic diagram is merely an example of a terminal device and does not constitute a limitation on the terminal device. The terminal device may include more or fewer components than shown in the diagram, or may combine certain components, or different components. For example, the terminal device may also include an input / output device, a network access device, a bus, etc.

[0132] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device.

[0133] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the terminal device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the mobile terminal, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0134] Wherein, if the module / unit integrated in the terminal device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0135] Embodiment 4

[0136] Correspondingly, the present invention also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the damper opening control method described in any one of the above embodiments.

[0137] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.

Claims

1. A damper opening control method, characterized in that: include: In response to the control mode selected by the user, switching the current damper to the control mode selected by the user; wherein the control mode includes automatic control and manual control; If it is automatic control, collect environmental monitoring information and pig data information, and obtain the target ventilation volume according to the environmental monitoring information and the pig data information; calculate the first control voltage required for the damper opening according to the target ventilation volume, and control the damper opening by the first control voltage; wherein, the first control voltage required for the damper opening according to the target ventilation volume is calculated, and the damper opening is controlled by the first control voltage, specifically: collect the ventilation volume of the damper actuator that controls the damper opening at each action angle, and make an action angle control relationship curve; in the action angle control relationship curve, calculate the target action angle corresponding to the target ventilation volume; according to the target action angle, calculate the first control voltage corresponding to the damper actuator at the target action angle, so that the first control voltage is output to control the damper actuator, and then control the damper opening; The step of calculating the first control voltage corresponding to the air valve actuator at the target action angle according to the target action angle includes: Wherein, n is the target action angle, U is the first control voltage, and the range of U is 0-10V; If it is manual control, in response to the user adjusting the second control voltage, the damper opening is controlled by the second control voltage.

2. A damper opening control method as claimed in claim 1, characterized in that: The environmental monitoring information and the pig data information are collected, and the target ventilation volume is obtained according to the environmental monitoring information and the pig data information, specifically: Collecting environmental monitoring information; wherein the environmental monitoring information includes: environmental temperature, environmental humidity, environmental light intensity and time; Collecting pig data information; wherein the pig data information includes: pig quantity, pig gender, pig type and pig growth stage; By using a preset ventilation volume prediction model, the collected environmental monitoring information and pig data information are input into the preset ventilation volume prediction model for prediction calculation, so as to output a target ventilation volume corresponding to the environmental monitoring information and the pig data information; The preset ventilation volume prediction model is obtained through sample training of historical environmental monitoring information and historical pig data information.

3. A damper opening control method as claimed in claim 1, characterized in that: Also includes: The real-time ventilation volume is collected, and the PID control parameters of the air valve actuator are adjusted according to the real-time ventilation volume. The PID controller outputs a first control voltage according to the PID control parameters to close-loop control the air valve actuator to achieve control of the air door opening.

4. A damper opening control method as claimed in claim 1, characterized in that: Before responding to the control mode selected by the user, the method further includes: Monitor the operating status of the microcontroller that controls the air valve controller; If the single-chip microcomputer is in normal operation, the level signal of the software enabling switch is collected; If the single chip microcomputer is in abnormal operation, the control mode selected by the user is directly waited for.

5. A damper opening control method as claimed in claim 4, characterized in that: Also includes: When the single chip microcomputer is in normal operation, determining the level signal of the software enable switch; If the level signal is a high level, the control mode of the current damper is determined according to the control mode selected by the user; if the level signal is a low level, the control mode of the current damper is automatic control; When the single chip microcomputer is in abnormal operation, the current control mode of the damper is determined according to the control mode selected by the user.

6. A damper opening control device, characterized in that: include: Response module, automatic control module and manual control module; The response module is used to switch the current damper to the control mode selected by the user in response to the control mode selected by the user; wherein the control mode includes automatic control and manual control; The automatic control module is used for collecting environmental monitoring information in the case of automatic control, and obtaining a target ventilation volume based on the environmental monitoring information; calculating a first control voltage required for the damper opening based on the target ventilation volume, and controlling the damper opening by the first control voltage; wherein, calculating the first control voltage required for the damper opening based on the target ventilation volume, and controlling the damper opening by the first control voltage, specifically comprises: collecting the ventilation volume of the damper actuator that controls the damper opening at various action angles, and making an action angle control relationship curve; in the action angle control relationship curve, calculating a target action angle corresponding to the target ventilation volume; calculating a first control voltage corresponding to the damper actuator at the target action angle based on the target action angle, so that the first control voltage is output to control the damper actuator, and then to control the damper opening; The step of calculating the first control voltage corresponding to the air valve actuator at the target action angle according to the target action angle includes: Wherein, n is the target action angle, U is the first control voltage, and the range of U is 0-10V; The manual control module is used to control the damper opening by the second control voltage in response to the user adjusting the second control voltage during manual control.

7. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the damper opening control method according to any one of claims 1 to 5 when executing the computer program.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the damper opening control method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Ventilation control system

    CN115437432A

  • Livestock and poultry house EC fan control system

    CN212364827U