Intelligent fish box control method, device and equipment based on PLC equipment and storage medium

Through the intelligent fish box control method based on PLC equipment, the fish box environment is monitored and automatically adjusted in real time, which solves the problem of lack of intelligent monitoring in live fish transportation and improves the survival rate and transportation efficiency of live fish.

CN120630850APending Publication Date: 2025-09-12SHENZHEN GUMEI TECH CO LTD

Patent Information

Application Number
CN202510634346.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-16
Publication Date
2025-09-12

AI Technical Summary

Technical Problem

The existing method of transporting live fish lacks intelligent monitoring means and cannot grasp the actual living environment and survival status of the live fish in the fish box in real time, resulting in high mortality rate of live fish during transportation, waste of resources and increased costs.

Method used

An intelligent fish box control method based on PLC equipment is adopted. The fish box environmental data is collected through water quality detectors, and the comprehensive control parameters are obtained through analysis. The oxygen supply pump, dosing pump, filter pump, temperature control equipment and water supply valve are driven to realize automatic control of the fish box environment.

Benefits of technology

Ensure that fish are always in a suitable living environment, improve survival rate, reduce energy consumption and costs, and achieve efficient and stable live fish transportation management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120630850A_ABST
    Figure CN120630850A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent fish box control method, device and equipment based on PLC equipment and a storage medium, and relates to the technical field of aquaculture intellectualization, and the intelligent fish box control method based on the PLC equipment comprises the steps: obtaining fish box environment data collected by a water quality detector; analyzing the fish box environment data to obtain comprehensive regulation and control parameters; and driving an oxygen supply pump, a dosing pump, a filter pump, temperature control equipment and a water supply valve based on the comprehensive regulation and control parameters. According to the invention, intelligent monitoring and automatic control can be realized in live fish transportation, the survival rate is improved, and the cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent aquaculture technology, and in particular to a method, device, equipment and storage medium for controlling an intelligent fish box based on a PLC device. Background Art

[0002] As people's living standards improve, the demand for high-quality and diversified aquatic products is growing, and aquatic product consumption continues to rise. Especially in the transportation of live fish, the market urgently needs a transportation method with high survival rate and low cost.

[0003] Currently, live fish transportation primarily relies on traditional oxygenation in tanks, which aims to improve the survival rate of live fish by increasing oxygen supply. Specifically, existing transport tanks rely on regular manual inspections and operations to maintain basic oxygen supply and water quality management.

[0004] Existing methods for transporting live fish suffer from numerous drawbacks. First, a lack of intelligent monitoring prevents real-time monitoring of the fish's actual living environment and survival status within the fish boxes, leading to high mortality rates during transportation. Second, traditional transportation methods are unable to automatically adjust oxygen supply, water addition, and other operations based on actual needs, resulting in wasted resources and increased costs. Furthermore, existing methods lack remote monitoring and alarm capabilities, preventing timely detection and resolution of transport issues, further reducing transportation efficiency and survival rates. Therefore, implementing intelligent monitoring and automated control in live fish transportation to improve survival rates and reduce costs has become an urgent challenge.

[0005] The above content is only used to assist in understanding the technical solution of this application and does not constitute an admission that the above content is prior art. Summary of the Invention

[0006] The purpose of this application is to provide a method, device, equipment and storage medium for intelligent fish box control based on PLC equipment, aiming to solve the technical problem of how to achieve intelligent monitoring and automatic control in the transportation of live fish to improve the survival rate and reduce costs.

[0007] To achieve the above objectives, the present application proposes a method for controlling an intelligent fish tank based on a PLC device, the method comprising:

[0008] The method is applied to an intelligent fish tank control device based on a PLC device, wherein the intelligent fish tank control device based on the PLC device includes a water quality detector, an oxygen supply pump, a dosing pump, a filter pump, a temperature control device, and a water supply valve. The method includes:

[0009] Obtaining fish tank environmental data collected by the water quality detector;

[0010] Analyzing the fish box environmental data to obtain comprehensive control parameters;

[0011] The oxygen supply pump, the dosing pump, the filter pump, the temperature control device and the water supply valve are driven based on the comprehensive control parameters.

[0012] In one embodiment, the fish tank environmental data includes dissolved oxygen concentration, water temperature, pH value, turbidity and tank location information;

[0013] The step of analyzing the fish box environmental data to obtain comprehensive control parameters includes:

[0014] Comparing the dissolved oxygen concentration with a preset oxygen concentration threshold to obtain an oxygen concentration deviation level;

[0015] Calculating a temperature control compensation amount based on the degree of deviation between the water temperature and a preset temperature range;

[0016] Performing weighted fusion calculation on the pH value and the turbidity to obtain a water pollution index;

[0017] A comprehensive control parameter is obtained according to the oxygen concentration deviation level, the temperature control compensation amount and the water quality pollution index.

[0018] In one embodiment, the comprehensive control parameters include oxygen supply intensity, drug dosage, filtration cycle, temperature control target and water replenishment threshold;

[0019] The step of obtaining a comprehensive control parameter according to the oxygen concentration deviation level, the temperature control compensation amount and the water pollution index includes:

[0020] Matching the oxygen concentration deviation level with a preset oxygen supply response curve to determine the oxygen supply intensity;

[0021] According to the water pollution index, the corresponding dosing coefficient is searched in the pollution level mapping table, and the dosing dosage is calculated in combination with the water volume of the fish tank;

[0022] determining a temperature control target based on the absolute value of the temperature control compensation amount;

[0023] Calculating the filtration load intensity by the water pollution index and the rate of change of the turbidity;

[0024] Determining a filtration cycle according to the filtration load intensity and the maximum flow rate of the filtration pump;

[0025] The water replenishment threshold is determined based on the historical water replenishment frequency and the current evaporation rate.

[0026] In one embodiment, the step of performing weighted fusion calculation on the pH value and the turbidity to obtain a water pollution index includes:

[0027] Assigning a first dynamic weight coefficient to the deviation of the pH value and assigning a second dynamic weight coefficient to the excess of the turbidity;

[0028] Adjusting the first dynamic weight coefficient and the second dynamic weight coefficient according to the pH fluctuation frequency and the turbidity change rate in the historical data;

[0029] When the first dynamic weight coefficient and the second dynamic weight coefficient are adjusted, multiplying the deviation by the first dynamic weight coefficient to obtain a pH pollution contribution value;

[0030] Multiplying the excess amount by the second dynamic weight coefficient to obtain a turbidity pollution contribution value;

[0031] The pH pollution contribution value and the turbidity pollution contribution value are summed to obtain a water quality pollution index.

[0032] In one embodiment, the comprehensive control parameters include oxygen supply intensity, drug dosage, filtration cycle, temperature control target and water replenishment threshold;

[0033] The step of driving the oxygen supply pump, the dosing pump, the filter pump, the temperature control device, and the water supply valve based on the comprehensive control parameters includes:

[0034] Controlling the oxygen supply pump to operate at a preset power and adjusting the air valve opening to a percentage corresponding to the oxygen supply intensity;

[0035] Controlling the dosing pump to inject disinfectant into the water body according to the dosing dosage, and starting the filter pump to execute the filtration cycle;

[0036] Adjusting the heating or cooling intensity of the temperature control device until the water temperature of the fish tank reaches the temperature control target;

[0037] When it is detected that the water level in the fish tank is lower than the water replenishment threshold, the water supply valve is opened to perform quantitative water replenishment.

[0038] In one embodiment, after the step of driving the oxygen supply pump, the dosing pump, the filter pump, the temperature control device, and the water supply valve based on the comprehensive control parameters, the method further includes:

[0039] Obtain the cabinet location information and add a timestamp to generate a positioning message;

[0040] Encoding the oxygen concentration deviation level, the water pollution index and the equipment failure status into an alarm code;

[0041] The positioning message and the alarm code are compressed and uploaded to the remote operation and maintenance center.

[0042] In one embodiment, after the step of driving the oxygen supply pump, the dosing pump, the filter pump, the temperature control device, and the water supply valve based on the comprehensive control parameters, the method further includes:

[0043] Monitor the voltage at the main power input;

[0044] When the voltage is lower than a preset voltage threshold and the duration exceeds a preset time, a power interruption signal is generated;

[0045] Triggering a relay to cut off the power loads of the oxygen supply pump and the dosing pump according to the power interruption signal;

[0046] When the power load is cut off, the backup lithium battery pack is activated to supply power to the water quality detector and the temperature control device.

[0047] In addition, to achieve the above purpose, the present application also proposes an intelligent fish box control device based on a PLC device, the device comprising:

[0048] A data acquisition module is used to obtain the fish tank environment data collected by the water quality detector;

[0049] A data analysis module is used to analyze the fish box environment data to obtain comprehensive control parameters;

[0050] A control module is used to drive the oxygen supply pump, the dosing pump, the filter pump, the temperature control device and the water supply valve based on the comprehensive control parameters.

[0051] In addition, to achieve the above-mentioned purpose, the present application also proposes an intelligent fish box control device based on a PLC device, the device comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being configured to implement the steps of the intelligent fish box control method based on a PLC device as described above.

[0052] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the intelligent fish box control method based on the PLC device as described above are implemented.

[0053] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the intelligent fish box control method based on the PLC device as described above.

[0054] One or more technical solutions proposed in this application have at least the following technical effects:

[0055] First, the control system of the intelligent fish tank control device, based on a PLC device, acquires fish tank environmental data collected by water quality detectors. This provides an accurate basis for subsequent control and ensures precise regulation. The system then analyzes this data to derive comprehensive control parameters. Through data analysis, it accurately assesses the fish tank environment and provides scientific guidance for equipment operation. Finally, based on these comprehensive control parameters, the system drives the oxygen supply pump, dosing pump, filter pump, temperature control device, and water supply valve to achieve automated control of the fish tank environment. For example, the system adjusts the valve opening of the oxygen supply pump, controls the dosage of the dosing pump, activates the filter pump for water filtration, adjusts the temperature control device to maintain an appropriate water temperature, and replenishes water when the water level falls below a threshold. This ensures that the fish are always in a suitable living environment, improves survival rates, reduces energy consumption and costs, and achieves efficient and stable live fish transportation management. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0057] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0058] Figure 1 This is a flow chart of the first embodiment of the intelligent fish box control method based on PLC equipment provided in this application;

[0059] Figure 2 A schematic diagram of the control system structure of an intelligent fish box control device based on a PLC device provided in Example 1 of the intelligent fish box control method based on a PLC device of the present application;

[0060] Figure 3 A control system connection diagram of an intelligent fish box control device based on a PLC device provided in Example 1 of the intelligent fish box control method based on a PLC device of the present application;

[0061] Figure 4 This is a flow chart of the second embodiment of the intelligent fish box control method based on PLC equipment provided in this application;

[0062] Figure 5 Schematic diagram of the functional modules of the control system of the intelligent fish box control device based on PLC device provided in Example 2 of the intelligent fish box control method based on PLC device of the present application;

[0063] Figure 6This is a schematic diagram of the module structure of the intelligent fish box control device based on the PLC device according to the embodiment of the present application;

[0064] Figure 7 This is a schematic diagram of the device structure of the hardware operating environment involved in the intelligent fish box control method based on PLC equipment in the embodiment of the present application.

[0065] The purpose, features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0066] It should be understood that the specific embodiments described herein are merely used to explain the technical solutions of the present application and are not intended to limit the present application.

[0067] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0068] As living standards improve, demand for high-quality aquatic products increases, especially in the transport of live fish, where high survival rates and low costs are urgently needed. Currently, live fish transportation relies primarily on traditional manual inspections and manually operated box oxygenation. This lack of intelligent monitoring prevents real-time monitoring of the fish box environment and survival status, and prevents automated adjustments to oxygen supply and water addition. This leads to high mortality rates, waste of resources, and increased costs. Furthermore, the lack of remote monitoring and alarm capabilities reduces transportation efficiency and survival rates.

[0069] The main solution of the embodiment of the present application is: by obtaining the environmental data collected by the water quality detector, analyzing it to obtain comprehensive control parameters, and then driving the oxygen supply pump, dosing pump, filter pump, temperature control equipment and water supply valve to achieve automatic control, ensure that the fish are in a suitable environment, improve the survival rate, reduce energy consumption and cost, and achieve efficient and stable live fish transportation management.

[0070] It should be noted that the execution subject of the embodiments of the present application may be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, mobile phone, etc., or an electronic device capable of implementing the above functions, a control system for a smart fish tank control device based on a PLC device, etc. The following describes this embodiment and the following embodiments using the control system for a smart fish tank control device based on a PLC device as an example.

[0071] Based on this, the embodiment of the present application provides a smart fish box control method based on PLC equipment, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the intelligent fish box control method based on PLC equipment in this application.

[0072] In this embodiment, the intelligent fish tank control method based on PLC equipment is applied to an intelligent fish tank control device based on PLC equipment. The intelligent fish tank control device based on PLC equipment includes a water quality detector, an oxygen supply pump, a dosing pump, a filter pump, a temperature control device and a water supply valve. Please refer to Figure 2 , Figure 2 This is a schematic diagram of the control system structure of an intelligent fish tank control device based on a PLC device, provided in Example 1 of the intelligent fish tank control method based on a PLC device of this application. The PLC control system device serves as the core control unit and is connected to an LCD display screen via a data interface to display water quality information and system status in real time. The water quality control module is responsible for managing the dosing pump and drug tank, adding drugs to the fish tank through the dosing tube to adjust the water quality. The water quality detector is installed inside the fish tank to monitor key parameters such as dissolved oxygen (DO), pH, conductivity, ammonia nitrogen (NH3N), and temperature to ensure that the water quality is suitable for fish survival. The water level sensor monitors the water level in the fish tank to prevent overflow or drying out. The oxygen supply port provides oxygen to the fish tank to maintain an appropriate dissolved oxygen level. The waterproof PTZ camera monitors the internal conditions of the fish tank and provides video support for remote operation and maintenance. The entire control system coordinates the work of various components to achieve precise control of the environment inside the fish tank to ensure the health and safety of the fish.

[0073] Please refer to Figure 3 , Figure 3 The control system connection diagram of the intelligent fish box control device based on PLC equipment provided in the first embodiment of the intelligent fish box control method based on PLC equipment of the present application, wherein PLC is connected to HMI screen via RS485 serial communication or Modbus TCP protocol as core control unit to realize human-computer interaction. PLC receives input signals from electromagnetic valve 1 feedback (X000-X002), oxygen valve 2 feedback (X037) and retention point (X107), which are collected through a total of 72 input switch points. At the same time, PLC monitors environmental parameters such as temperature sensor 1 and light sensor 2 through a total of 8 analog inputs (AD1-AD8). PLC controls a total of 96 output switch points based on these input signals and monitoring data, including starting sound and light alarms (Y000-Y002) and driving peristaltic pumps 1-4 (Y006, Y137) and other devices. In addition, PLC also performs more refined control through a total of 4 analog outputs (DA1-DA4). The entire system uses PLC's intelligent logic processing to achieve precise control of the environment inside the fish box to ensure the health and safety of the fish.

[0074] The intelligent fish box control method based on PLC equipment includes steps S10 to S30:

[0075] Step S10, obtaining the fish tank environment data collected by the water quality detector.

[0076] It should be noted that the water quality detector is a sensor device installed in the smart fish tank, used to monitor the water quality parameters in real time. The oxygen supply pump mainly provides oxygen to the fish tank. The dosing pump is used to add medication to the fish tank. The filter pump mainly filters the water in the fish tank to keep it clean. The temperature control device is used to adjust the water temperature in the fish tank. The water supply valve is used to control the water supply in the fish tank.

[0077] Fish box environmental data refers to various parameters collected by water quality detectors that reflect the environmental conditions inside the fish box, including dissolved oxygen concentration, water temperature, pH value, turbidity and box position information. These data are the basis for intelligent control systems to make decisions and control.

[0078] As you can understand, first, the control system of the PLC-based intelligent fish tank control device sends data collection instructions to the water quality detector via a pre-set communication protocol, triggering the water quality detector to start operation. Second, the water quality detector monitors the environmental data within the fish tank in real time according to the instructions, converts this data into electrical or digital signals, and transmits it back to the control system via communication lines or wireless communication modules. Finally, after receiving this data, the control system performs data verification and analysis to ensure its integrity and accuracy, providing a reliable basis for subsequent analysis and control operations.

[0079] Step S20: Analyze the fish tank environmental data to obtain comprehensive control parameters.

[0080] It should be noted that comprehensive control parameters refer to a set of key parameters used to guide subsequent control operations, derived by the PLC-based intelligent fish tank control system after analyzing and processing collected fish tank environmental data. These parameters comprehensively reflect the current state and potential needs of the fish tank environment. For example, if the dissolved oxygen concentration falls below a set threshold, the comprehensive control parameters will indicate the need to increase the oxygen supply; if the water temperature deviates from the optimal range, the power of the temperature control device will be adjusted; and if the pH value is abnormal, the dosing pump will be instructed to add the appropriate regulator.

[0081] Understandably, the system comprehensively analyzes and processes the fish tank environmental data, comparing various environmental parameters against preset ideal ranges to identify deviations and potential issues. Finally, based on the analysis results, the system calculates a set of comprehensive control parameters. These parameters serve as the basis for subsequent control instructions, guiding operations such as oxygen supply, water addition, drug addition, water filtration, and temperature control. This ensures that the environment within the fish tank is always optimal for fish survival, ensuring high fish survival rates and efficient transportation.

[0082] Step S30: driving the oxygen supply pump, the dosing pump, the filter pump, the temperature control device, and the water supply valve based on the comprehensive control parameters.

[0083] As can be understood, the control system of the PLC-based intelligent fish tank control device first generates specific control instructions based on the analyzed comprehensive control parameters. These instructions are then transmitted via the control circuit or communication module to the oxygen pump, dosing pump, filter pump, temperature control device, and water supply valve, driving them to perform corresponding actions according to the control parameters. For example, if the comprehensive control parameters indicate insufficient dissolved oxygen concentration, the system will send a command to the oxygen pump to increase oxygen supply; if the water pH value deviates from the normal range, the system will send a command to the dosing pump to add an appropriate amount of regulator. Finally, each device executes the received instructions, such as accelerating the oxygen pump, dosing pump metering, filter pump adjusting filtration speed, temperature control device adjusting temperature, and water supply valve controlling water flow. This achieves precise control of the fish tank environment and ensures a stable and suitable living environment for the fish.

[0084] As an example, the comprehensive control parameters include oxygen supply intensity, dosing dosage, filtration cycle, temperature control target and water replenishment threshold; the step of driving the oxygen supply pump, the dosing pump, the filter pump, the temperature control device and the water supply valve based on the comprehensive control parameters includes: controlling the oxygen supply pump to operate at a preset power, and adjusting the air valve opening to a percentage corresponding to the oxygen supply intensity; controlling the dosing pump to inject disinfectant into the water body according to the dosing dosage, and starting the filter pump to execute the filtration cycle; adjusting the heating or cooling intensity of the temperature control device until the water temperature of the fish tank reaches the temperature control target; when it is detected that the water level of the fish tank is lower than the water replenishment threshold, opening the water supply valve for quantitative water replenishment.

[0085] Oxygen supply intensity refers to the flow rate or concentration of oxygen supplied to the fish tank, determined by the PLC-based intelligent fish tank control device based on comprehensive control parameters. It reflects the amount of oxygen the oxygen pump needs to provide to maintain the dissolved oxygen concentration within the fish tank within the appropriate range under specific conditions. It is usually expressed as a percentage, corresponding to the adjustment of the air valve opening.

[0086] The dosage is the specific amount of disinfectant or other medication injected into the water within the fish tank, determined by the PLC-based intelligent fish tank control device based on comprehensive control parameters. This dosage is calculated based on water quality data (such as pH and turbidity) collected by water quality sensors and the health of the fish. It ensures that the water quality within the fish tank meets the requirements for healthy aquaculture.

[0087] The filtration cycle is the interval between filter pump runs, determined by the PLC-based intelligent fish tank control system based on comprehensive control parameters. It specifies how many times the filter pump should be activated within a certain period of time and how long each run should last to ensure the cleanliness and clarity of the water in the fish tank, maintaining a suitable aquaculture environment.

[0088] The temperature control target is the ideal water temperature within the fish tank, determined by the PLC-based intelligent fish tank control device based on a comprehensive set of control parameters. This target is determined based on factors such as the fish's survival and growth needs and the current ambient temperature. The temperature control device automatically adjusts the heating or cooling intensity based on this target to maintain a stable water temperature within the fish tank.

[0089] The refill threshold is the minimum water level in the fish tank, set by the PLC-based intelligent fish tank control device based on comprehensive control parameters. When the water quality detector detects that the water level in the fish tank falls below this threshold, the control system triggers the water supply valve to refill water, ensuring sufficient water in the fish tank to maintain a healthy living environment for the fish.

[0090] Preset power refers to the initial operating power set by the PLC-based intelligent fish tank control system for equipment such as the oxygen pump during operation. It is pre-set based on the equipment's rated power and actual needs to ensure that the equipment operates at the appropriate power level upon startup, providing a basis for subsequent control operations.

[0091] Valve opening refers to the degree to which the oxygen pump's valve is open, usually expressed as a percentage. It directly controls the flow of oxygen supplied to the fish tank by the pump. By adjusting the valve opening, you can precisely control the oxygen supply to meet the fish's dissolved oxygen needs.

[0092] First, the control system of the PLC-based intelligent fish tank control device sends a start signal to the oxygen pump based on the oxygen supply intensity in the comprehensive control parameters, causing it to operate at a preset power level. It also sends a regulation signal to the air valve driver, precisely adjusting the air valve opening to the percentage corresponding to the oxygen supply intensity. This ensures that the dissolved oxygen concentration in the fish tank meets the survival needs of the fish and maintains a good oxygen supply environment within the fish tank. Secondly, based on the dosing dosage parameters, the control system sends precise control instructions to the dosing pump, causing it to inject disinfectant into the fish tank water according to the set dosage to prevent and control fish diseases. Simultaneously, the control system triggers the filter pump to start operating according to the preset filtration cycle, removing impurities and waste from the water through physical filtration to maintain water cleanliness and transparency.

[0093] Then, based on the temperature control target, the control system monitors the fish tank water temperature in real time and compares it with the target value. If the water temperature is below the target value, the temperature control device increases the heating intensity; if the water temperature is above the target value, the cooling intensity is increased. Through precise temperature regulation, the fish tank water temperature is always within the range suitable for fish survival, providing a stable growth environment for the fish. Finally, when the water quality detector detects that the water level in the fish tank is below the water refill threshold, the control system immediately sends an open signal to the water supply valve, which then replenishes water according to the preset quantitative water refill parameters until the water level returns to normal, ensuring that there is sufficient water in the fish tank to maintain the water height required for fish survival.

[0094] As an example, after the step of driving the oxygen supply pump, the dosing pump, the filter pump, the temperature control device and the water supply valve based on the comprehensive control parameters, it also includes: monitoring the voltage at the main power input end; when the voltage is lower than a preset voltage threshold and lasts for more than a preset time, generating a power interruption signal; triggering a relay to cut off the power load of the oxygen supply pump and the dosing pump according to the power interruption signal; when the power load is cut off, activating the backup lithium battery pack to power the water quality detector and the temperature control device.

[0095] The main power input terminal refers to the interface through which the PLC-based intelligent fish tank control device is connected to the external power supply system, providing the power required for normal operation of the entire device and its various components (such as oxygen supply pumps, dosing pumps, filter pumps, temperature control equipment, etc.).

[0096] The preset voltage threshold is a lower voltage limit set in the PLC-based intelligent fish tank control device. It determines whether the voltage at the main power input is within a safe operating range. When the voltage at the main power input falls below this threshold, the system deems the power supply unstable or at risk of failure, triggering a series of protective measures to prevent damage or malfunction of the equipment due to low voltage.

[0097] The preset duration is the maximum length of time the system allows the main power input voltage to remain below the preset threshold. This duration is designed to prevent brief voltage fluctuations from falsely triggering the protection mechanism. Only when the voltage remains below the threshold for longer than this preset duration will the system identify it as a true power issue and take further action.

[0098] A power outage signal is generated by a PLC-based intelligent fish tank control device when the voltage at the main power input falls below a preset threshold for a duration exceeding a preset threshold. This signal serves as an internal system instruction, instructing subsequent control components to take appropriate power protection measures, such as shutting off the power supply to certain devices, to ensure system safety and stability.

[0099] A relay is an electromagnetic switch device used to control the on / off of a circuit in an intelligent fish tank control device based on a PLC device.

[0100] The power load refers to the load imposed on the power supply by various electrical devices (such as oxygen supply pumps, dosing pumps, etc.) in the intelligent fish tank control device based on PLC equipment during operation.

[0101] First, the control system of the PLC-based intelligent fish tank control device continuously monitors the voltage at the main power input and compares it with a preset voltage threshold to determine whether the current voltage is within a safe operating range. If the monitored voltage falls below the preset threshold, the system starts a timer to record the duration of the voltage anomaly. Second, if the timer exceeds the preset duration, the system determines that an unrecoverable main power failure has occurred and generates a power interruption signal. This signal is sent to the relay control module. Upon receiving the signal, the relay electromagnetically engages or releases, disconnecting the power supply lines to the oxygen pump and dosing pump, preventing these devices from continuing to operate under low voltage conditions and potentially causing damage or malfunction due to insufficient voltage. Finally, when the power load is disconnected, the system activates the backup lithium battery pack. By switching switches or control circuits, the power supply to the water quality detector and temperature control device is transferred from the main power source to the backup lithium battery pack. This ensures that these critical devices can continue to operate even in the event of a main power outage, maintaining basic monitoring and control functions within the fish tank and ensuring the stability of the fish's living environment until the main power is restored or other emergency measures are taken.

[0102] This embodiment provides a method for controlling an intelligent fish tank based on a PLC device. First, the control system of the intelligent fish tank control device based on the PLC device acquires fish tank environmental data collected by a water quality detector. This provides an accurate basis for subsequent control and ensures the accuracy of the control. Next, the system analyzes this data to obtain comprehensive control parameters. Through data analysis, it accurately assesses the fish tank environment and provides scientific guidance for device operation. Finally, based on these comprehensive control parameters, the system drives the oxygen supply pump, dosing pump, filter pump, temperature control device, and water supply valve to achieve automated control of the fish tank environment. For example, the system adjusts the valve opening of the oxygen supply pump, controls the dosing amount of the dosing pump, activates the filter pump for water filtration, adjusts the temperature control device to maintain an appropriate water temperature, and replenishes water when the water level falls below a threshold. This ensures that the fish are always in a suitable living environment, improves survival rates, reduces energy consumption and costs, and achieves efficient and stable live fish transportation management.

[0103] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above embodiment 1 can be referred to the above introduction and will not be described in detail later. Figure 4, Figure 4 This is a flow chart of the second embodiment of the intelligent fish box control method based on a PLC device of the present application. The fish box environmental data includes dissolved oxygen concentration, water temperature, pH value, turbidity and box position information. Step S20 of the intelligent fish box control method based on a PLC device includes steps S21 to S24:

[0104] In step S21 , the dissolved oxygen concentration is compared with a preset oxygen concentration threshold to obtain an oxygen concentration deviation level.

[0105] It should be noted that the preset oxygen concentration threshold is a standard value or range of dissolved oxygen concentration pre-set in the intelligent fish tank control system based on the PLC device. It is determined based on the optimal survival and health of the fish and is used to determine whether the current dissolved oxygen concentration in the fish tank is at an ideal level.

[0106] The oxygen concentration deviation level is a quantitative indicator derived by comparing the actual measured dissolved oxygen concentration with the preset oxygen concentration threshold. It is used to indicate the degree of difference between the current dissolved oxygen concentration and the ideal value. Typically, this deviation level is divided into different levels, such as slight deviation, moderate deviation, and severe deviation. A slight deviation may mean that the dissolved oxygen concentration is slightly below or above the ideal range, but still within the acceptable range; while a severe deviation means that the dissolved oxygen concentration is too low or too high, which may pose a threat to fish survival and requires immediate action to adjust.

[0107] As you can understand, first, the control system of the PLC-based intelligent fish tank control device obtains the real-time dissolved oxygen concentration value in the fish tank, as collected by the water quality detector. The system then compares this actual measurement with a pre-set oxygen concentration threshold. If the actual value is equal to the threshold or within the allowable error range, the system determines the oxygen concentration deviation level as "no deviation." If the actual value is below the threshold, the system determines the deviation level as "slight deviation," "moderate deviation," or "severe deviation," depending on the degree of the deviation. Similarly, if the actual value is above the threshold, the system also determines the deviation level according to the corresponding rules.

[0108] Step S22: Calculate a temperature control compensation amount according to the degree of deviation between the water temperature and a preset temperature range.

[0109] It should be noted that the preset temperature range refers to the water temperature range set by the PLC-based intelligent fish tank control system to maintain the survival and health of the fish. This range is usually determined by the fish species, growth stage, and transportation or breeding environment requirements. For example, 18°C ​​to 22°C.

[0110] The temperature control offset is a value calculated based on the deviation of the current water temperature from a preset temperature range. It is used to adjust the operating intensity of temperature-controlled devices (such as heaters or coolers). If the water temperature falls below the lower limit of the preset temperature range, the temperature control offset instructs the heater to increase power to raise the water temperature. If the water temperature rises above the upper limit of the preset temperature range, the temperature control offset instructs the cooler to increase power to lower the water temperature.

[0111] As you can understand, first, the control system of the PLC-based intelligent fish tank control device receives real-time water temperature data from the water quality detector and compares it with the preset upper and lower limits of the temperature range to determine the deviation between the current water temperature and the ideal range. Secondly, based on this deviation, the system calculates the corresponding temperature control compensation using a preset algorithm (such as the proportional-integral-differential control algorithm). The specific value of this compensation depends on the size and direction of the deviation. The larger the deviation, the greater the compensation, to ensure a fast response.

[0112] Step S23: performing weighted fusion calculation on the pH value and the turbidity to obtain a water pollution index.

[0113] It's important to note that turbidity is a measure of water clarity within a fish tank, reflecting the level of suspended particulate matter. In a PLC-based intelligent fish tank control system, turbidity measurement can help determine water cleanliness. Higher turbidity typically indicates a high concentration of suspended particulate matter, potentially impacting the fish's living environment and leading to a decrease in water quality.

[0114] The Water Pollution Index (WPI) is a quantitative indicator that comprehensively reflects the degree of water pollution within a fish tank. It is calculated by weighted fusion of multiple water quality parameters. In PLC-based intelligent fish tank control systems, pH and turbidity are two important water quality parameters, reflecting the water's acidity and alkalinity and transparency, respectively. Through weighted fusion calculations, the impact of these two parameters can be combined to produce a more comprehensive WPI.

[0115] It can be understood that first, the intelligent fish tank control system based on PLC equipment obtains the pH and turbidity data monitored in real time by the water quality detector. The system then weights these two parameters according to pre-set weight coefficients, where the weight coefficients reflect the importance of each parameter in the water pollution assessment. The system then integrates the weighted pH and turbidity data and calculates a comprehensive value, namely the water pollution index, through a specific algorithm (such as a simple linear combination or other more complex calculation models). This index can more comprehensively reflect the degree of water pollution in the fish tank and provide a scientific basis for subsequent water quality management and regulation.

[0116] As an example, the step of performing weighted fusion calculation on the pH value and the turbidity to obtain a water quality pollution index includes: assigning a first dynamic weight coefficient to the deviation of the pH value and assigning a second dynamic weight coefficient to the excess of the turbidity; adjusting the first dynamic weight coefficient and the second dynamic weight coefficient according to the pH fluctuation frequency and turbidity change rate in historical data; when the first dynamic weight coefficient and the second dynamic weight coefficient are adjusted, multiplying the deviation by the first dynamic weight coefficient to obtain a pH pollution contribution value; multiplying the excess by the second dynamic weight coefficient to obtain a turbidity pollution contribution value; and summing the pH pollution contribution value and the turbidity pollution contribution value to obtain a water quality pollution index.

[0117] The first dynamic weight coefficient is a weight coefficient assigned to the pH value deviation, which is used to measure the relative importance of the pH value deviating from the normal range to the degree of water pollution.

[0118] The second dynamic weight coefficient is the weight coefficient assigned to the turbidity exceedance, which is used to measure the relative importance of the water pollution degree when the turbidity exceeds the normal range.

[0119] Historical data refers to the water quality parameter records accumulated by the PLC-based intelligent fish tank control system during past operation, including changes in pH, turbidity, and other data over time. This data is used to analyze long-term trends in water quality parameters and provide a basis for adjusting dynamic weighting coefficients.

[0120] The pH fluctuation frequency refers to the number of times the pH value changes significantly within a certain period of time. By analyzing the pH fluctuation frequency in historical data, we can understand the stability of the pH value, thereby providing a reference for adjusting the first dynamic weight coefficient.

[0121] The turbidity change rate refers to how quickly the turbidity changes in a unit of time. By analyzing the turbidity change rate in historical data, we can understand the severity of the turbidity change, thereby providing a reference for adjusting the second dynamic weight coefficient.

[0122] The pH pollution contribution value is a value obtained by multiplying the pH value deviation by the first dynamic weight coefficient, which indicates the specific contribution degree of the pH value deviation from the normal range to water pollution.

[0123] The turbidity pollution contribution value is a value obtained by multiplying the excess turbidity by the second dynamic weight coefficient. It indicates the specific contribution of turbidity exceeding the normal range to water pollution.

[0124] First, the system assigns an initial first dynamic weighting factor to pH deviations and an initial second dynamic weighting factor to turbidity excesses, based on pre-set empirical values. These initial values ​​are set based on past experience and a preliminary assessment of the importance of water quality parameters. Second, the system retrieves historical water quality data from a database, calculates the frequency of pH fluctuations and the rate of change of turbidity, and adjusts the first and second dynamic weighting factors based on these statistics. Frequent pH fluctuations indicate a significant impact on water quality, and the first dynamic weighting factor should be increased; rapid turbidity changes indicate a significant impact, and the second dynamic weighting factor should be increased. This ensures that the weighting factors better reflect the actual impact of each parameter under current water quality conditions. Finally, after the weighting factors are adjusted, the system multiplies the pH deviation by the adjusted first dynamic weighting factor to obtain the pH pollution contribution value, and multiplies the turbidity excess by the adjusted second dynamic weighting factor to obtain the turbidity pollution contribution value. These two contribution values ​​are then added together to produce a water pollution index that comprehensively reflects the degree of water pollution. This index can more accurately assess water quality conditions and provide a scientific basis for subsequent water quality regulation.

[0125] In step S24 , a comprehensive control parameter is obtained according to the oxygen concentration deviation level, the temperature control compensation amount, and the water pollution index.

[0126] It can be understood that, first, the system converts the oxygen concentration deviation level into the corresponding oxygen supply adjustment parameters, and determines the operating power of the oxygen supply pump and the valve opening according to the level of the deviation to ensure that the dissolved oxygen concentration in the fish tank returns to the ideal range. Secondly, the system directly uses the temperature control compensation as the adjustment instruction of the temperature control device, and adjusts the power of the heating or cooling equipment according to the positive and negative value and size of the compensation to stabilize the water temperature within the preset range. Finally, the system determines the operating parameters of the dosing pump and the filter pump based on the water pollution index. If the water pollution index is high, the dosing dosage and filtration frequency are increased to purify the water quality. By integrating the parameters of these three aspects, the system derives comprehensive control parameters, which are used to coordinate the operation of each device and achieve comprehensive optimization control of the fish tank environment.

[0127] As an example, the comprehensive control parameters include oxygen supply intensity, drug dosage, filtration cycle, temperature control target and water replenishment threshold; the step of obtaining the comprehensive control parameters according to the oxygen concentration deviation level, the temperature control compensation amount and the water quality pollution index includes: matching the oxygen concentration deviation level with the preset oxygen supply response curve to determine the oxygen supply intensity; querying the corresponding drug dosage coefficient in the pollution level mapping table according to the water quality pollution index, and calculating the drug dosage in combination with the water volume of the fish tank; determining the temperature control target based on the absolute value of the temperature control compensation amount; calculating the filtration load intensity by the water quality pollution index and the rate of change of the turbidity; determining the filtration cycle according to the filtration load intensity and the maximum flow rate of the filter pump; determining the water replenishment threshold according to the historical water replenishment frequency and the current evaporation rate.

[0128] The preset oxygen response curve is a pre-defined relationship between oxygen deviation level and oxygen supply intensity. This curve defines the oxygen supply intensity that the oxygen pump should provide at different oxygen deviation levels to ensure that the dissolved oxygen concentration in the fish tank can quickly return to the ideal range.

[0129] The pollution level mapping table is a table that corresponds the water quality pollution index to the dosing dosage coefficient. This table maps the corresponding dosing dosage coefficient according to the different ranges of the water quality pollution index.

[0130] The dosage coefficient is a proportional factor related to the water pollution index and is used to calculate the actual dosage. It reflects the relative amount of medicine that needs to be added under different water pollution levels.

[0131] Tank volume refers to the total volume of water within the tank, typically measured in liters or cubic meters. This parameter is crucial for calculating dosage, as it determines the total amount of medication required. For example, if the tank volume is 1000 liters and the dosage factor is 0.05, the amount of medication required is 1000 x 0.05 = 50 units.

[0132] Filtration load intensity is an indicator that measures the degree of water pollution that the filtration system needs to treat. It is calculated by combining the water pollution index and the rate of change of turbidity, and reflects the amount of pollutants that the filtration system needs to treat per unit time.

[0133] The historical water replenishment frequency refers to the frequency at which the fish tank needs to be replenished with water over the past period of time. This data is usually obtained through historical records and reflects the law of water evaporation and consumption during the normal operation of the fish tank.

[0134] The current evaporation rate (CER) is the rate at which water evaporates from the tank under current environmental conditions. This parameter is typically determined through real-time monitoring or calculations based on ambient temperature, humidity, and other conditions. A higher CER indicates faster water loss from the tank, necessitating more frequent water replenishment.

[0135] First, the system searches for the corresponding oxygen supply intensity value based on the oxygen concentration deviation level in a pre-set oxygen supply response curve. This curve details the oxygen supply requirements at different deviation levels, ensuring that the oxygen pump's operating intensity precisely matches the dissolved oxygen concentration in the fish tank. Second, the system uses the water pollution index (WPI) to find the corresponding drug dosage coefficient in the pollution level mapping table. This coefficient is then multiplied by the fish tank's water volume to calculate the specific dosage, ensuring that the amount of drug added effectively improves water quality without being excessive. Next, the system determines the temperature control target based on the absolute value of the temperature control offset. This offset sets the target temperature for the heating or cooling equipment to maintain a stable water temperature in the fish tank. The system then calculates the filtration load intensity using the WPI and the rate of change of turbidity. The specific formula is: filtration load intensity = WPI × turbidity rate of change. This load intensity reflects the amount of pollutants the filtration system needs to process, thereby determining the filtration load intensity. Afterwards, the system determines the filtration cycle based on the filter load intensity and the maximum flow rate of the filter pump. The specific formula is: filtration cycle = maximum flow rate of the filter pump / filter load intensity, to ensure that the operating frequency and duration of the filter pump can meet the water quality cleaning requirements. Finally, the system determines the water replenishment threshold based on the historical water replenishment frequency and the current evaporation rate. The current evaporation rate is calculated by real-time monitoring of the water level drop rate in the fish tank or based on ambient temperature, humidity and other conditions. The specific formula is: evaporation rate = (initial water level - current water level) / time. Combined with the historical water replenishment frequency, the system sets a lower water level limit as the water replenishment threshold. When the water level falls below this threshold, the water replenishment operation is triggered to maintain a stable water level in the fish tank.

[0136] As an example, after the step of driving the oxygen supply pump, the dosing pump, the filter pump, the temperature control device and the water supply valve based on the comprehensive control parameters, it also includes: obtaining the box position information, and adding a timestamp to generate a positioning message; encoding the oxygen concentration deviation level, the water quality pollution index and the equipment failure status into an alarm code; compressing the positioning message and the alarm code and uploading them to the remote operation and maintenance center.

[0137] The box location information refers to the specific geographical location of the smart fish box during transportation or breeding, which is usually obtained through GPS or other positioning technologies and is used to track the transportation path and location of the fish box in real time.

[0138] The positioning message is a data packet containing the fish box location information and a timestamp.

[0139] Equipment failure states refer to abnormal operating conditions of individual devices (such as the oxygen pump, dosing pump, filtration pump, and temperature control equipment) within the PLC-based intelligent fish tank control system. These conditions may include equipment failure, performance degradation, and parameter anomalies, and are detected through system monitoring and diagnostic functions. For example, an oxygen pump may stop operating due to an overload, or a temperature control device may be unable to regulate temperature properly due to a sensor failure. These fault conditions must be reported promptly for maintenance and repair.

[0140] Alarm codes are specific codes that encode key information such as oxygen concentration deviation levels, water pollution indexes, and equipment fault conditions. This coding method facilitates the rapid identification and transmission of important information, allowing remote operations and maintenance centers to quickly understand the current status of the fish tanks.

[0141] First, the system obtains the precise location coordinates of the fish box through the GPS module and the current time from the system clock. The location coordinates and time information are combined into a data structure, namely the positioning message. This message format allows the remote operation and maintenance center to accurately understand the real-time location and timestamp of the fish box. Secondly, according to preset coding rules, the system converts information such as the oxygen concentration deviation level, water pollution index, and equipment fault status into a specific sequence of numbers or characters to form an alarm code. This coding method can quickly and concisely convey key information, making it easier for the remote operation and maintenance center to quickly identify problems. Finally, the system compresses the positioning message and alarm code to reduce the amount of data transmitted and improve transmission efficiency. The compressed data is then sent to the remote operation and maintenance center via the wireless communication module, enabling real-time monitoring and management of the fish box status, ensuring that operation and maintenance personnel can respond to and handle potential problems in a timely manner.

[0142] Please refer to Figure 5 , Figure 5This is a schematic diagram of the functional modules of the control system for a PLC-based intelligent fish tank control device, provided in Example 2 of the PLC-based intelligent fish tank control method of this application. The PLC control system serves as the core, connecting and coordinating multiple functional modules to achieve comprehensive fish tank environmental management. The water quality detection system uses various water quality sensors to monitor key parameters such as dissolved oxygen, pH, and conductivity, and transmits the data to the PLC for analysis. An image processor, working in conjunction with a camera, provides real-time video surveillance of the fish tank interior, assisting with remote management. The water level detection and control system monitors and maintains an appropriate water level to prevent overflow or dryness. The temperature signal conditioner receives data from the temperature sensor, conditions the signal, and transmits it to the PLC for precise temperature control. Other detection modules may include monitoring of other environmental parameters such as light and pressure. The control I / O module is responsible for executing PLC control commands and driving various actuators within the fish tank, such as the oxygen pump and dosing pump. Communication interfaces include GPS positioning and GPRS / GSM modules for fish tank location tracking and remote data transmission. The power supply system provides a stable power supply for the entire device, ensuring reliable operation. Through the collaborative work of these modules, the intelligent fish box control system based on PLC equipment can monitor and regulate the environment inside the fish box in real time to ensure the health and safety of the fish.

[0143] This embodiment first compares the real-time monitored dissolved oxygen concentration with a preset threshold to determine the oxygen concentration deviation level. This step quickly identifies whether the dissolved oxygen is within the ideal range, providing a precise basis for subsequent oxygen supply control, ensuring that the fish are in a suitable dissolved oxygen environment and improving their survival rate. Next, a temperature control compensation amount is calculated based on the degree of deviation of the water temperature from the preset temperature range, allowing for rapid adjustment of the water temperature to the appropriate range, stabilizing the water temperature within the fish tank and reducing stress responses in the fish. A weighted fusion calculation is then performed on the pH value and turbidity to determine the water pollution index, providing a comprehensive assessment of water quality and providing a scientific basis for water quality control, ensuring clean water quality and reducing disease risks. Finally, the oxygen concentration deviation level, temperature control compensation amount, and water pollution index are combined to calculate comprehensive control parameters, enabling precise control of the fish tank environment, ensuring a stable and suitable environment, improving fish survival rate and transport efficiency, while optimizing resource utilization and reducing energy consumption and costs.

[0144] This application also provides an intelligent fish box control device based on PLC equipment, please refer to Figure 6 , the intelligent fish box control device based on PLC equipment includes:

[0145] A data acquisition module 10 is used to acquire the fish tank environment data collected by the water quality detector;

[0146] A data analysis module 20 is used to analyze the fish tank environment data to obtain comprehensive control parameters;

[0147] The control module 30 is used to drive the oxygen supply pump, the dosing pump, the filter pump, the temperature control device and the water supply valve based on the comprehensive control parameters.

[0148] In one embodiment, the data analysis module 20 is further used to compare the dissolved oxygen concentration with a preset oxygen concentration threshold to obtain an oxygen concentration deviation level; calculate a temperature control compensation amount based on the degree of deviation between the water temperature and a preset temperature range; perform a weighted fusion calculation on the pH value and the turbidity to obtain a water quality pollution index; and obtain a comprehensive control parameter based on the oxygen concentration deviation level, the temperature control compensation amount, and the water quality pollution index.

[0149] In one embodiment, the data analysis module 20 is further used to match the oxygen concentration deviation level with a preset oxygen supply response curve to determine the oxygen supply intensity; query the corresponding dosing coefficient in the pollution level mapping table according to the water quality pollution index, and calculate the dosing dosage in combination with the water volume of the fish tank; determine the temperature control target based on the absolute value of the temperature control compensation amount; calculate the filtration load intensity by the water quality pollution index and the rate of change of the turbidity; determine the filtration period according to the filtration load intensity and the maximum flow rate of the filter pump; determine the water replenishment threshold according to the historical water replenishment frequency and the current evaporation rate.

[0150] In one embodiment, the data analysis module 20 is further used to assign a first dynamic weight coefficient to the deviation of the pH value and a second dynamic weight coefficient to the excess of the turbidity; adjust the first dynamic weight coefficient and the second dynamic weight coefficient according to the pH fluctuation frequency and the turbidity change rate in the historical data; when the adjustment of the first dynamic weight coefficient and the second dynamic weight coefficient is completed, multiply the deviation by the first dynamic weight coefficient to obtain the pH pollution contribution value; multiply the excess by the second dynamic weight coefficient to obtain the turbidity pollution contribution value; and sum the pH pollution contribution value and the turbidity pollution contribution value to obtain the water quality pollution index.

[0151] In one embodiment, the control module 30 is also used to control the oxygen supply pump to operate at a preset power and adjust the air valve opening to a percentage corresponding to the oxygen supply intensity; control the dosing pump to inject disinfectant into the water body according to the dosing dosage, and start the filter pump to perform the filtration cycle; adjust the heating or cooling intensity of the temperature control device until the water temperature of the fish tank reaches the temperature control target; when it is detected that the water level of the fish tank is lower than the water replenishment threshold, open the water supply valve for quantitative water replenishment.

[0152] In one embodiment, the data analysis module 20 is further used to obtain the box location information and attach a timestamp to generate a positioning message; encode the oxygen concentration deviation level, the water quality pollution index and the equipment failure status into an alarm code; and compress the positioning message and the alarm code and upload them to the remote operation and maintenance center.

[0153] In one embodiment, the control module 30 is also used to monitor the voltage at the main power input terminal; when the voltage is lower than a preset voltage threshold and lasts for more than a preset time, a power interruption signal is generated; according to the power interruption signal, a relay is triggered to cut off the power load of the oxygen supply pump and the dosing pump; when the power load is cut off, the backup lithium battery pack is activated to power the water quality detector and the temperature control device.

[0154] The PLC-based intelligent fish box control device provided in this application, which utilizes the PLC-based intelligent fish box control method of the aforementioned embodiment, can solve the technical problem of how to achieve intelligent monitoring and automatic control in live fish transportation to improve survival rates and reduce costs. Compared with the prior art, the beneficial effects of the PLC-based intelligent fish box control device provided in this application are the same as the beneficial effects of the PLC-based intelligent fish box control method provided in the aforementioned embodiment. Other technical features of the PLC-based intelligent fish box control device are the same as those disclosed in the aforementioned embodiment method and are not further described here.

[0155] The present application provides an intelligent fish tank control device based on a PLC device, and the intelligent fish tank control device based on the PLC device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the intelligent fish tank control method based on the PLC device in the above-mentioned embodiment one.

[0156] Reference below Figure 7 , which shows a schematic diagram of the structure of a PLC-based intelligent fish tank control device suitable for implementing the embodiments of the present application. The PLC-based intelligent fish tank control device in the embodiments of the present application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 7The PLC-based intelligent fish box control device shown is merely an example and should not impose any limitations on the functions and scope of use of the embodiments of the present application.

[0157] like Figure 7 As shown, the PLC-based intelligent fish tank control device may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes based on programs stored in ROM (Read Only Memory) 1002 or programs loaded from storage device 1003 into RAM (Random Access Memory) 1004. RAM 1004 also stores various programs and data required for the operation of the PLC-based intelligent fish tank control device. Processing device 1001, ROM 1002, and RAM 1004 are connected to each other via bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; an output device 1008 including, for example, an LCD (Liquid Crystal Display), speaker, vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the PLC-based intelligent fish tank control device to communicate with other devices wirelessly or by wire to exchange data. While the figure shows a PLC-based intelligent fish tank control device with various systems, it should be understood that implementation or presence of all the illustrated systems is not required. More or fewer systems may alternatively be implemented or present.

[0158] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0159] The PLC-based intelligent fish box control device provided in this application, which utilizes the PLC-based intelligent fish box control method of the aforementioned embodiment, can solve the technical problem of how to achieve intelligent monitoring and automatic control in live fish transportation to improve survival rates and reduce costs. Compared with the prior art, the beneficial effects of the PLC-based intelligent fish box control device provided in this application are the same as the beneficial effects of the PLC-based intelligent fish box control method provided in the aforementioned embodiment. Other technical features of the PLC-based intelligent fish box control device are the same as those disclosed in the aforementioned embodiment and are not further described here.

[0160] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0161] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

[0162] The present application provides a computer-readable storage medium having computer-readable program instructions (i.e., computer programs) stored thereon, and the computer-readable program instructions are used to execute the intelligent fish box control method based on the PLC device in the above-mentioned embodiment.

[0163] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, RAM (Random Access Memory), ROM (Read Only Memory), EPROM (Erasable Programmable Read Only Memory or Flash memory), optical fiber, CD-ROM (CD-Read Only Memory, portable compact disk read-only memory), optical storage device, magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0164] The computer-readable storage medium may be included in the intelligent fish box control device based on the PLC device; or it may exist independently without being assembled into the intelligent fish box control device based on the PLC device.

[0165] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the intelligent fish tank control device based on the PLC device, the intelligent fish tank control device based on the PLC device: obtains the fish tank environmental data collected by the water quality detector; analyzes the fish tank environmental data to obtain comprehensive control parameters; and drives the oxygen supply pump, dosing pump, filter pump, temperature control equipment and water supply valve based on the comprehensive control parameters.

[0166] The computer program code for performing the operations of the present application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user's computer through any type of network, including a LAN (Local Area Network) or a WAN (Wide Area Network), or can be connected to an external computer (e.g., using an Internet service provider to connect via the Internet).

[0167] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.

[0168] The modules described in the embodiments of the present application may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.

[0169] The computer-readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the aforementioned PLC-based intelligent fish box control method. This computer-readable storage medium can address the technical problem of achieving intelligent monitoring and automatic control in live fish transportation to improve survival rates and reduce costs. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the PLC-based intelligent fish box control method provided in the aforementioned embodiment, and are not further elaborated here.

[0170] The present application also provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the above-mentioned intelligent fish box control method based on a PLC device.

[0171] The computer program product provided in this application solves the technical problem of implementing intelligent monitoring and automatic control in live fish transportation to improve survival rates and reduce costs. Compared to the prior art, the beneficial effects of the computer program product provided in this application are similar to those of the PLC-based intelligent fish box control method provided in the aforementioned embodiment, and are not further elaborated here.

[0172] The above description is only part of the embodiments of the present application and does not limit the patent scope of the present application. All equivalent structural transformations made by using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A method for controlling an intelligent fish box based on a PLC device, characterized in that: The method is applied to an intelligent fish tank control device based on a PLC device, wherein the intelligent fish tank control device based on the PLC device includes a water quality detector, an oxygen supply pump, a dosing pump, a filter pump, a temperature control device, and a water supply valve. The method includes: Obtaining fish tank environmental data collected by the water quality detector; Analyzing the fish box environmental data to obtain comprehensive control parameters; The oxygen supply pump, the dosing pump, the filter pump, the temperature control device and the water supply valve are driven based on the comprehensive control parameters.

2. The method according to claim 1, wherein The fish tank environmental data includes dissolved oxygen concentration, water temperature, pH value, turbidity and tank location information; The step of analyzing the fish box environmental data to obtain comprehensive control parameters includes: Comparing the dissolved oxygen concentration with a preset oxygen concentration threshold to obtain an oxygen concentration deviation level; Calculating a temperature control compensation amount based on the degree of deviation between the water temperature and a preset temperature range; Performing weighted fusion calculation on the pH value and the turbidity to obtain a water pollution index; A comprehensive control parameter is obtained according to the oxygen concentration deviation level, the temperature control compensation amount and the water quality pollution index.

3. The method according to claim 2, wherein The comprehensive control parameters include oxygen supply intensity, drug dosage, filtration cycle, temperature control target and water replenishment threshold; The step of obtaining a comprehensive control parameter according to the oxygen concentration deviation level, the temperature control compensation amount and the water pollution index includes: Matching the oxygen concentration deviation level with a preset oxygen supply response curve to determine the oxygen supply intensity; According to the water pollution index, the corresponding dosing coefficient is searched in the pollution level mapping table, and the dosing dosage is calculated in combination with the water volume of the fish tank; determining a temperature control target based on the absolute value of the temperature control compensation amount; Calculating the filtration load intensity by the water pollution index and the rate of change of the turbidity; Determining a filtration cycle according to the filtration load intensity and the maximum flow rate of the filtration pump; The water replenishment threshold is determined based on the historical water replenishment frequency and the current evaporation rate.

4. The method according to claim 2, wherein The step of performing weighted fusion calculation on the pH value and the turbidity to obtain a water pollution index comprises: Assigning a first dynamic weight coefficient to the deviation of the pH value and assigning a second dynamic weight coefficient to the excess of the turbidity; Adjusting the first dynamic weight coefficient and the second dynamic weight coefficient according to the pH fluctuation frequency and the turbidity change rate in the historical data; When the first dynamic weight coefficient and the second dynamic weight coefficient are adjusted, multiplying the deviation by the first dynamic weight coefficient to obtain a pH pollution contribution value; Multiplying the excess amount by the second dynamic weight coefficient to obtain a turbidity pollution contribution value; The pH pollution contribution value and the turbidity pollution contribution value are summed to obtain a water quality pollution index.

5. The method according to claim 1, wherein The comprehensive control parameters include oxygen supply intensity, drug dosage, filtration cycle, temperature control target and water replenishment threshold; The step of driving the oxygen supply pump, the dosing pump, the filter pump, the temperature control device, and the water supply valve based on the comprehensive control parameters includes: Controlling the oxygen supply pump to operate at a preset power and adjusting the air valve opening to a percentage corresponding to the oxygen supply intensity; Controlling the dosing pump to inject disinfectant into the water body according to the dosing dosage, and starting the filter pump to execute the filtration cycle; Adjusting the heating or cooling intensity of the temperature control device until the water temperature of the fish tank reaches the temperature control target; When it is detected that the water level in the fish tank is lower than the water replenishment threshold, the water supply valve is opened to perform quantitative water replenishment.

6. The method according to claim 2, wherein After the step of driving the oxygen supply pump, the dosing pump, the filter pump, the temperature control device, and the water supply valve based on the comprehensive control parameters, the method further includes: Obtain the cabinet location information and add a timestamp to generate a positioning message; Encoding the oxygen concentration deviation level, the water pollution index and the equipment failure status into an alarm code; The positioning message and the alarm code are compressed and uploaded to the remote operation and maintenance center.

7. The method according to any one of claims 1 to 6, characterized in that After the step of driving the oxygen supply pump, the dosing pump, the filter pump, the temperature control device, and the water supply valve based on the comprehensive control parameters, the method further includes: Monitor the voltage at the main power input; When the voltage is lower than a preset voltage threshold and the duration exceeds a preset time, a power interruption signal is generated; Triggering a relay to cut off the power loads of the oxygen supply pump and the dosing pump according to the power interruption signal; When the power load is cut off, the backup lithium battery pack is activated to supply power to the water quality detector and the temperature control device.

8. An intelligent fish box control device based on PLC equipment, characterized in that: The device comprises: A data acquisition module is used to obtain the fish tank environment data collected by the water quality detector; A data analysis module is used to analyze the fish box environment data to obtain comprehensive control parameters; A control module is used to drive the oxygen supply pump, the dosing pump, the filter pump, the temperature control device and the water supply valve based on the comprehensive control parameters.

9. An intelligent fish box control device based on PLC equipment, characterized in that: The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the intelligent fish box control method based on a PLC device as described in any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the intelligent fish box control method based on a PLC device as described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Low-temperature keep-alive transporter for freshwater fishes

    CN102812918A

  • Automatic control device for live fish transportation box

    CN202093357U

  • Novel live fish transportation case

    CN207355264U

  • Full-automatic precious living aquatic product long-distance transportation protection box based on machine vision

    CN214339478U

  • Special vehicle for transporting fresh aquatic products

    CN217826399U

Cited By

  • Fluid medium allocation scheduling system based on PLC intelligent control

    CN122239575A