Control method and device of water quality detection equipment powered by photovoltaic power supply

By setting up multiple power consumption modes in the water quality detection equipment, and using historical sunshine data and weather forecasts to calculate the estimated power generation of the photovoltaic system, building a consumption matrix, and determining the optimal mode combination, the problem of insufficient power supply in the photovoltaic system is solved, and the long-term stable operation and data continuity of the water quality detection equipment are achieved.

CN119765605AActive Publication Date: 2025-04-04SHANGHAI ZHENGYAN INTELLIGENT TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510264985.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-07
Publication Date
2025-04-04
Estimated Expiration
2045-03-07

AI Technical Summary

Technical Problem

Inadequate power supply of photovoltaic systems leads to the power consumption of electricity from the battery of the water quality detection equipment, causing interruption of detection data, affecting the continuity of water quality analysis.

Method used

By setting up a water quality detection system and industrial control display with multiple power consumption modes in the water quality detection equipment, and using historical sunshine data and weather forecasts, the estimated power generation of the photovoltaic system is calculated, the consumption matrix is ​​constructed, and the optimal mode combination is determined to extend the battery life.

Benefits of technology

The long-term and stable operation of water quality testing equipment is achieved, the continuity of water quality testing data is ensured, and the problem of battery power consumption is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119765605A_ABST
    Figure CN119765605A_ABST
Patent Text Reader

Abstract

The invention provides a control method and device for water quality detection equipment powered through photovoltaic, in the application, a power consumption unit of the water quality detection equipment is set to be in a plurality of power consumption modes, and when the working mode of the day needs to be determined, the power consumption of the water quality detection equipment is reduced; the method comprises the following steps: determining a daily estimated power generation capacity of a photovoltaic system in a certain number of days in the future according to weather forecast, then estimating a daily battery capacity in a certain number of days in the future according to the current capacity of a battery and the estimated power generation capacity, and calculating the power generation capacity of the photovoltaic system according to the constructed capacity consumption matrix and the estimated daily battery capacity in a certain number of days in the future. According to the method, the optimal capacity consumption combination is determined from the capacity consumption matrix, the battery is not deficit under the capacity consumption combination, then the mode of the water quality detection equipment on the same day is controlled through the optimal capacity consumption combination, and by means of the method, it can be guaranteed that the water quality detection equipment can conduct continuous detection within a certain number of days in the future.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of control technology, and in particular to a control method and device for water quality detection equipment powered by photovoltaics. Background Art

[0002] In order to observe the water quality of a certain area for a long time, it is necessary to set up water quality testing equipment in the area. In order to reduce the power supply cost of the water quality testing equipment, it is usually necessary to set up a power supply battery and a photovoltaic system. The photovoltaic system converts sunlight into electrical energy to replenish the battery. The battery can provide stable electricity for the water quality testing equipment. However, the power supply of the photovoltaic system is greatly affected by the duration of illumination. If the illumination duration is insufficient and the water quality testing equipment is always in a full energy consumption state, the battery will be exhausted. After the battery is exhausted, the water quality testing equipment will not be able to continue to detect the water quality, resulting in interruption of water quality testing data, and then the subsequent water quality analysis will be discontinuous. The continuity of water quality analysis is very important, so how to ensure the continuous working time of the water quality testing equipment is an urgent problem to be solved. Summary of the invention

[0003] In view of this, an embodiment of the present application provides a control method and device for a water quality detection device powered by photovoltaics, so as to achieve long-term and stable operation of the water quality detection device.

[0004] In a first aspect, an embodiment of the present application provides a control method for a water quality detection device powered by photovoltaics, wherein the power consumption unit of the water quality detection device includes: a water quality detection system and an industrial control display screen, wherein the water quality detection system includes at least two working modes, and the pump start-stop time ratio of the water quality detection system is different in different working modes, and the industrial control display screen includes a plurality of display modes with different power consumption, and the water quality detection system and the industrial control display screen are both powered by batteries, and the batteries are charged by a photovoltaic system; the control method includes: Determine, according to the first power consumption of each working mode and the second power consumption of each display model, the consumption capacity of each power consumption combination when the working mode and the display mode are combined in pairs; The historical sunny peak sunshine number H1 and the sunny to cloudy weather membership A are determined by the following formula: ; ; Wherein, Ed1 is the historical sunny power generation obtained through the MPPT of the photovoltaic system, Ed2 is the historical sunny and cloudy power generation obtained through the MPPT, and P is the installed power of the photovoltaic system: Determine the power generation capacity of the photovoltaic system on each of the preset days according to the historical peak sunshine number H1 on sunny days, the weather membership degree A of sunny to cloudy days, the installed power P and the weather forecast for the preset days; According to the consumption capacity, construct a consumption matrix with a preset number of rows and a preset number of days as the number of columns, wherein the sum of the consumption capacity of a previous row in the consumption matrix is ​​greater than the sum of the consumption capacity of a next row in the consumption matrix; Calculating an estimated battery capacity of the battery per day in the preset number of days according to the current capacity of the battery and the power generation capacity; Compare the consumption matrix and the estimated battery capacity row by row from top to bottom to determine the target number of rows where all positive values ​​appear for the first time; The mode of the water quality testing equipment on that day is controlled according to the working mode and display mode corresponding to the target number of rows.

[0005] Optionally, determining the power generation capacity of the photovoltaic system on each day of the preset days according to the historical sunny peak sunshine number H1, the sunny to cloudy weather membership degree A, the installed power P and the weather forecast of the preset days includes: The power generation capacity of the photovoltaic system when the weather type is sunny and cloudy in the preset days is determined according to the following formula: ; The power generation capacity of the photovoltaic system when the weather type is sunny in the preset days is determined according to the following formula: ; Wherein, Per1 is the power generation capacity on a sunny day, Per2 is the power generation capacity on a sunny day, W is the rated capacity of the battery, and when the weather type of the weather forecast for the preset number of days is a weather type other than sunny and sunny and cloudy, the power generation capacity is 0.

[0006] Optionally, the historical sunny day peak sunshine number H1 includes: the sunny day peak sunshine number H1 closest to the current day or the sunny day peak sunshine number H1 closest to the current year when the same day was sunny.

[0007] Optionally, controlling the mode of the water quality testing device on the day according to the working mode and display mode corresponding to the target number of rows includes: Determine the working mode and display mode corresponding to the first matrix element in the target number of rows; The determined working mode is set as the working mode of the water quality detection system, and the determined display mode is determined as the display mode of the industrial control display screen.

[0008] Optionally, the water quality detection system includes: a first working mode and a second working mode, wherein the first working mode is that the duration of pump operation and pump stop is equal, and the second working mode is that the duration of pump stop is three times the duration of pump operation, and the industrial control display screen includes a first display mode, a second display mode and a third display mode, wherein the first display mode is an audio and video mode, the second display mode is a static page mode, and the third display mode is a screen off mode.

[0009] In a second aspect, an embodiment of the present application provides a control device for a water quality detection device powered by photovoltaics, wherein the power consumption unit of the water quality detection device includes: a water quality detection system and an industrial control display screen, wherein the water quality detection system includes at least two working modes, and the pump start-stop time ratio of the water quality detection system is different in different working modes, and the industrial control display screen includes a plurality of display modes with different power consumption, and the water quality detection system and the industrial control display screen are both powered by batteries, and the batteries are charged by a photovoltaic system; the control device includes: A first determining unit, configured to determine, according to the first power consumption of each working mode and the second power consumption of each display model, the consumption capacity of each power consumption combination when the working mode and the display mode are combined in pairs; The second determination unit is used to determine the historical sunny peak sunshine number H1 and the weather membership degree A of sunny and cloudy weather by the following formula: ; ; Wherein, Ed1 is the historical sunny power generation obtained through the MPPT of the photovoltaic system, Ed2 is the historical sunny and cloudy power generation obtained through the MPPT, and P is the installed power of the photovoltaic system: A third determination unit is used to determine the power generation capacity of the photovoltaic system on each of the preset days according to the historical sunny peak sunshine number H1, the sunny and cloudy weather membership degree A, the installed power P and the weather forecast of the preset days; A construction unit, configured to construct, according to the consumption capacity, a consumption matrix having a preset number of rows and a preset number of days as the number of columns, wherein a sum of the consumption capacity of a previous row in the consumption matrix is ​​greater than a sum of the consumption capacity of a next row in the consumption matrix; a calculation unit, configured to calculate an estimated battery capacity of the battery per day in the preset number of days according to the current capacity of the battery and the power generation capacity; A fourth determining unit, configured to compare the consumption matrix and the estimated battery capacity row by row in a top-to-bottom order, and determine a target number of rows where all positive values ​​appear for the first time; The setting unit is used to control the mode of the water quality detection equipment on the day according to the working mode and display mode corresponding to the target number of rows.

[0010] Optionally, the third determination unit is used to determine the power generation capacity of the photovoltaic system on each of the preset days according to the historical sunny peak sunshine number H1, the sunny and cloudy weather membership degree A, the installed power P and the weather forecast of the preset days, including: The power generation capacity of the photovoltaic system when the weather type is sunny and cloudy in the preset days is determined according to the following formula: ; The power generation capacity of the photovoltaic system when the weather type is sunny in the preset days is determined according to the following formula: ; Wherein, Per1 is the power generation capacity on a sunny day, Per2 is the power generation capacity on a sunny day, W is the rated capacity of the battery, and when the weather type of the weather forecast for the preset number of days is a weather type other than sunny and sunny and cloudy, the power generation capacity is 0.

[0011] Optionally, the historical sunny day peak sunshine number H1 includes: the sunny day peak sunshine number H1 closest to the current day or the sunny day peak sunshine number H1 closest to the current year when the same day was sunny.

[0012] Optionally, the setting unit is used to control the mode of the water quality detection device on the day according to the working mode and display mode corresponding to the target number of rows, including: Determine the working mode and display mode corresponding to the first matrix element in the target number of rows; The determined working mode is set as the working mode of the water quality detection system, and the determined display mode is determined as the display mode of the industrial control display screen.

[0013] Optionally, the water quality detection system includes: a first working mode and a second working mode, wherein the first working mode is that the duration of pump operation and pump stop is equal, and the second working mode is that the duration of pump stop is three times the duration of pump operation, and the industrial control display screen includes a first display mode, a second display mode and a third display mode, wherein the first display mode is an audio and video mode, the second display mode is a static page mode, and the third display mode is a screen off mode.

[0014] The technical solution provided by the embodiments of the present application may have the following beneficial effects: In the present application, the power consumption units of the water quality detection equipment are set to multiple power consumption modes respectively. When it is necessary to determine the working mode of the day, the estimated daily power generation capacity of the photovoltaic system in a certain number of days in the future is determined according to the weather forecast, and then the battery capacity of each day in the next certain number of days is estimated based on the current capacity of the battery and the estimated power generation capacity. The constructed capacity consumption matrix and the estimated daily battery capacity in the next certain number of days are used to determine the optimal capacity consumption combination from the capacity consumption matrix, under which the battery will not suffer losses. Then, the mode of the water quality detection equipment on the day is controlled by the optimal capacity consumption combination. Through the above method, it can not only ensure that the water quality detection equipment can carry out continuous detection in a certain number of days in the future, but also ensure that the water quality detection equipment can use the optimal working mode on the day.

[0015] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 A schematic diagram of the structure of a water quality testing device provided in an embodiment of the present application; Figure 2 A schematic flow chart of a control method for a water quality detection device powered by photovoltaic power provided in an embodiment of the present application; Figure 3 A schematic diagram of the structure of a control device for water quality testing equipment powered by photovoltaics provided in an embodiment of the present application. DETAILED DESCRIPTION

[0018] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0019] Figure 1 A schematic diagram of the structure of a water quality detection device provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the power consumption unit of the water quality detection equipment includes: a water quality detection system and an industrial control display screen, wherein the water quality detection system includes at least two working modes, and the pump start-stop time ratios of the water quality detection system are different in different working modes, and the industrial control display screen includes a plurality of display modes with different power consumption, and the water quality detection system and the industrial control display screen are both powered by batteries, and the batteries are charged by a photovoltaic system.

[0020] Specifically, the water quality detection system obtains the detection sample by pumping water with a submersible pump when working. The working power of the submersible pump can be 24W. The submersible pump works when pumping water and stops when pumping water. The normal working mode of the submersible pump is that the pump works and the pump stops alternately. The water quality can be detected when the pump stops. In order to enable the water quality detection system to continuously detect the water quality, different working modes can be set. The pump start and stop time ratios are different under different working modes. Among them, the working time of the pump is the same under different working modes. That is to say, under different working modes, only the pump stop time needs to be adjusted, so that the power consumed under different working modes is different. At the same time, the display mode of the industrial control display screen needs to be set. The screen display mode is different under different display modes, so that different display modes have different power consumption. Through the above settings, the appropriate mode can be selected according to the current battery power and the power that can be supplemented by photovoltaics, so that the water quality detection equipment has the function of continuously detecting water quality under different weather conditions.

[0021] The water quality detection device may also include a communication function so as to send the detection data to a server.

[0022] It should be noted that the battery model and the installed power of the photovoltaic system can be set according to actual needs and are not specifically limited here.

[0023] Figure 2 A schematic flow chart of a control method for a water quality detection device powered by photovoltaic power provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the method comprises the following steps: Step 201 : Determine the consumption capacity of each power consumption combination when the working mode and the display mode are combined in pairs according to the first power consumption of each working mode and the second power consumption of each display model.

[0024] Step 202: Determine the historical sunny peak sunshine number H1 and the weather membership degree A of sunny and cloudy weather by using Formula 1 and Formula 2: ; (Formula 1) ; (Formula 2) Among them, Ed1 is the historical sunny power generation obtained through the MPPT (Maximum power point tracking) of the photovoltaic system, Ed2 is the historical sunny and partly cloudy power generation obtained through the MPPT, and P is the installed power of the photovoltaic system.

[0025] Step 203, determining the power generation capacity of the photovoltaic system on each of the preset days according to the historical sunny peak sunshine number H1, the sunny to cloudy weather membership degree A, the installed power P and the weather forecast for the preset days.

[0026] Step 204: construct a consumption matrix with a preset number of rows and a preset number of days as the number of columns according to the consumption capacity, wherein the sum of the consumption capacity of an upper row in the consumption matrix is ​​greater than the sum of the consumption capacity of a lower row in the consumption matrix.

[0027] Step 205: Calculate the estimated battery capacity of the battery per day in the preset number of days according to the current capacity of the battery and the power generation capacity.

[0028] Step 206 : Compare the consumption matrix and the estimated battery capacity row by row from top to bottom to determine the target number of rows where all positive values ​​appear for the first time.

[0029] Step 207: Control the mode of the water quality testing device on the day according to the working mode and display mode corresponding to the target number of rows.

[0030] Specifically, when the water quality testing equipment is set to Figure 1After the mode shown, the first power consumption of the water quality detection system in different working modes (i.e., power consumption per unit time, such as one hour) and the second power consumption of the industrial control display screen in different display modes (i.e., power consumption per unit time, such as one hour) can be directly obtained, and then the different first power consumptions and second power consumptions are combined to obtain the consumption capacity under each power consumption combination. For example, the working mode of the water quality detection system includes working mode 1 and working mode 2, and the display mode of the industrial control display screen includes display mode 1, display mode 2 and display mode 3. Then the obtained combinations include working mode 1-display mode 1 (hereinafter referred to as M1-1), working mode 1-display mode 2 (hereinafter referred to as M1-2), working mode 1-display mode 3 (hereinafter referred to as M1-3), working mode 2-display mode 1 (hereinafter referred to as M2-1), working mode 2-display mode 2 (hereinafter referred to as M2-2) and working mode 2-display mode 3 (hereinafter referred to as M2-3), a total of six combinations, and the consumption capacity of each combination can be obtained. According to the consumption capacity and working time, the consumption capacity of the water quality detection equipment on the day under each combination can be determined, thereby providing a basis for subsequent mode selection.

[0031] The general formula for estimating the daily power generation of a photovoltaic system is: Ed = P× H×β, where: Ed is the daily power generation, P is the installed power of the photovoltaic system (kw), and H is the local peak sunshine hours, which vary from region to region. β is the overall efficiency of the system, which generally takes a value between 0.7-0.85, taking into account factors such as the efficiency of photovoltaic modules, inverter efficiency, line loss, dust shielding, and temperature effects.

[0032] For small-capacity photovoltaic systems (less than 1KW), on the one hand, it is difficult to obtain the peak sunshine hours corresponding to the system installation location; on the other hand, β as the system comprehensive efficiency, directly selecting it may have a greater impact on the system's power generation forecast; the smaller the capacity of the photovoltaic system, the less accurate the forecast result. In terms of the stability of the system, a one-week power generation forecast must be made, and the forecast should be as accurate as possible.

[0033] The weather forecast can be used to determine the weather type for each day in the next few days (such as a week), where the weather types include sunny and cloudy, sunny, cloudy, and rainy. The weather information is fuzzy, and the sunny membership is recorded as: 1; considering that the power generation is generally small on cloudy and rainy days, the membership can be taken as 0; for sunny and cloudy, an initial membership can be set first: A=0.3, and the equivalent peak sunshine number parameter is introduced, recorded as: H; under sunny conditions, the daily power generation Ed=P×H; H combines the local peak sunshine hours and the actual system comprehensive efficiency and other factors; because the photovoltaic system can obtain the actual daily power generation Ed1 under sunny conditions through MPPT, so: H1=Ed1 / P can be obtained by calculation. In order to obtain a more accurate historical sunny peak sunshine number, the average value of H1 of the last four consecutive sunny days can be calculated as the historical sunny peak sunshine number. Of course, the peak sunshine number of the sunny day in history can also be obtained as the historical sunny peak sunshine number.

[0034] Similarly, MPPT can be used to obtain the daily power generation Ed2=P×H1×A in sunny and cloudy weather. When Ed2 and H1 are known, it can be calculated that: A=Ed / (P×H1). In order to ensure accuracy, the A values ​​of multiple recent sunny and cloudy weather days can be obtained continuously, and the average of the A values ​​of multiple consecutive sunny and cloudy weather days in the past can be taken as the membership degree of sunny and cloudy weather for subsequent power generation forecasts. Of course, the A value of the sunny and cloudy day in history can also be obtained.

[0035] It should be noted that, in view of the equivalent average peak sunshine number and the membership degree of sunny and cloudy weather, the process is calculated using the time series method and combined with the actual system's power generation. The process will be dynamically adjusted with the seasons, etc., to better match the actual scene.

[0036] After obtaining the historical peak sunshine number H1 of sunny days, the weather membership degree A of sunny and cloudy, the installed power P and the weather forecast for the preset days, the daily power generation capacity of the photovoltaic system in the preset days can be determined. For example: the weather forecast information for the next week: {cloudy, sunny, cloudy, sunny and cloudy, sunny and cloudy, rainy, rainy}, then the daily power generation capacity Per is {0, Per, 0, A×Per, A×Per, 0, 0}, where Per = P×H1 / W, and W is the rated capacity of the battery.

[0037] After the consumption capacity of each combination is obtained as described above, the daily consumption capacity of each combination can be determined according to the daily working hours, and then a consumption matrix with a preset number of rows is constructed with the preset number of days as the number of columns. For example, if the preset number of days is 7, a consumption matrix with 7 columns and N rows is constructed. When the daily consumption capacity corresponding to M1-1 is W1, the daily consumption capacity corresponding to M1-2 is W2, the daily consumption capacity corresponding to M1-3 is W3, the daily consumption capacity corresponding to M2-1 is W4, the daily consumption capacity corresponding to M2-2 is W5, and the daily consumption capacity corresponding to M2-3 is W6, and W1>W2>W3>W4>W5>W6, many rows can be obtained, each row including 7 matrix elements (that is, matrix Each row of elements in the matrix includes matrix elements corresponding to each day of the next seven days), each element in each row is obtained from W1-W6, and each constructed row is unique in the consumption matrix. For example, when one row of matrix elements is {W1, W1, W1, W1, W1, W1, W2}, and another row of matrices is {W1, W2, W1, W1, W1, W1, W1, W1}, the two rows of matrices are also different. The consumption matrix can be obtained in the above way, or a consumption matrix that meets user needs can be pre-established. In any case, the sum of the consumption capacity of the previous row of the consumption matrix (the consumption capacity of each day in the next seven days) is greater than the sum of the consumption capacity of the next row in the consumption matrix.

[0038] Each row in the consumption matrix represents the estimated consumption capacity for each day in the next seven days. After the estimated daily capacity of the battery is obtained in step 205, the estimated daily capacity of the battery can be used to compare each row in the consumption matrix row by row in order from top to bottom until the target number of rows with all positive values ​​appearing for the first time is obtained. For example, the estimated daily capacity of the battery is {10, 15, 15, 18, 21, 21, 21}, and the daily consumption capacity constitutes a row matrix of {11, 9, 9, 9, 9, 9}, and the next row matrix is ​​{9, 9, 9, 9, 9, 9, 9}, then all positive values ​​appear when compared with the next row, that is: when all elements in any row are positive, it means that positive values ​​appear. At this time, {9, 9, 9, 9, 9, 9} can be used to control the mode of the water quality testing equipment on that day according to the working mode and display mode corresponding to the values ​​in this row of the matrix. For example: the working mode corresponding to the first element in the matrix {9, 9, 9, 9, 9, 9} is M1-2, then the working mode 1-display mode 2 can be set as the mode of the water quality testing equipment on that day.

[0039] In the present application, the power consumption units of the water quality detection equipment are set to multiple power consumption modes respectively. When it is necessary to determine the working mode of the day, the estimated daily power generation capacity of the photovoltaic system in a certain number of days in the future is determined according to the weather forecast, and then the battery capacity of each day in the next certain number of days is estimated based on the current capacity of the battery and the estimated power generation capacity. The constructed capacity consumption matrix and the estimated daily battery capacity in the next certain number of days are used to determine the optimal capacity consumption combination from the capacity consumption matrix, under which the battery will not suffer losses. Then, the mode of the water quality detection equipment on the day is controlled by the optimal capacity consumption combination. Through the above method, it can not only ensure that the water quality detection equipment can carry out continuous detection in a certain number of days in the future, but also ensure that the water quality detection equipment can use the optimal working mode on the day.

[0040] In a feasible implementation manner, when executing step 203, the power generation capacity of the photovoltaic system when the weather type is sunny and cloudy in the preset days is determined according to Formula 3: ; (Formula 3) According to Formula 4, the power generation capacity of the photovoltaic system when the weather type is sunny in the preset days is determined: ; (Formula 4) Wherein, Per1 is the power generation capacity on a sunny day, Per2 is the power generation capacity on a sunny day, W is the rated capacity of the battery, and when the weather type of the weather forecast for the preset number of days is a weather type other than sunny and sunny and cloudy, the power generation capacity is 0.

[0041] In a feasible implementation manner, the historical sunny day peak sunshine number H1 includes: the sunny day peak sunshine number H1 closest to the current day or the sunny day peak sunshine number H1 closest to the current year in previous years when the same day was sunny.

[0042] In a feasible implementation scheme, when executing the step of controlling the mode of the water quality detection equipment on the day according to the working mode and display mode corresponding to the previous row of the target row number, first determine the working mode and display mode corresponding to the first matrix element in the previous row of the target row number; then set the determined working mode as the working mode of the water quality detection system, and determine the determined display mode as the display mode of the industrial control display screen.

[0043] In a feasible implementation scheme, the water quality detection system includes: a first working mode and a second working mode, wherein the first working mode is that the duration of pump operation and pump stop is equal, and the second working mode is that the duration of pump stop is three times the duration of pump operation, and the industrial control display screen includes a first display mode, a second display mode and a third display mode, wherein the first display mode is an audio and video mode, the second display mode is a static page mode, and the third display mode is a screen off mode.

[0044] Figure 3 A schematic diagram of the structure of a control device for a water quality detection device powered by photovoltaic power provided in an embodiment of the present application, wherein the power consumption unit of the water quality detection device includes: a water quality detection system and an industrial control display screen, wherein the water quality detection system includes at least two working modes, and the pump start-stop time ratios of the water quality detection system are different in different working modes, and the industrial control display screen includes a plurality of display modes with different power consumptions, and the water quality detection system and the industrial control display screen are both powered by batteries, and the batteries are charged by a photovoltaic system; Figure 3 As shown, the control device includes: A first determining unit 31 is used to determine the consumption capacity of each power consumption combination when the working mode and the display mode are combined in pairs according to the first power consumption of each working mode and the second power consumption of each display model; The second determination unit 32 is used to determine the historical sunny peak sunshine number H1 and the weather membership degree A of sunny and cloudy by the following formula: ; ; Wherein, Ed1 is the historical sunny power generation obtained through the MPPT of the photovoltaic system, Ed2 is the historical sunny and cloudy power generation obtained through the MPPT, and P is the installed power of the photovoltaic system: A third determining unit 33 is used to determine the power generation capacity of the photovoltaic system on each of the preset days according to the historical sunny peak sunshine number H1, the sunny to cloudy weather membership degree A, the installed power P and the weather forecast of the preset days; A construction unit 34 is used to construct a consumption matrix with a preset number of rows and a preset number of days as the number of columns according to the consumption capacity, wherein the sum of the consumption capacity of a previous row in the consumption matrix is ​​greater than the sum of the consumption capacity of a next row in the consumption matrix; a calculation unit 35, configured to calculate an estimated battery capacity of the battery per day in the preset number of days according to the current capacity of the battery and the power generation capacity; A fourth determining unit 36 ​​is used to compare the consumption matrix and the estimated battery capacity row by row in a top-to-bottom order to determine the target number of rows where all positive values ​​appear for the first time; The setting unit 37 is used to control the mode of the water quality detection device on the day according to the working mode and display mode corresponding to the target number of rows.

[0045] In a feasible implementation scheme, the third determination unit is used to determine the power generation capacity of the photovoltaic system on each day of the preset days according to the historical sunny peak sunshine number H1, the sunny and cloudy weather membership degree A, the installed power P and the weather forecast of the preset days, including: The power generation capacity of the photovoltaic system when the weather type is sunny and cloudy in the preset days is determined according to the following formula: ; The power generation capacity of the photovoltaic system when the weather type is sunny in the preset days is determined according to the following formula: ; Wherein, Per1 is the power generation capacity on a sunny day, Per2 is the power generation capacity on a sunny day, W is the rated capacity of the battery, and when the weather type of the weather forecast for the preset number of days is a weather type other than sunny and sunny and cloudy, the power generation capacity is 0.

[0046] In a feasible implementation manner, the historical sunny day peak sunshine number H1 includes: the sunny day peak sunshine number H1 closest to the current day or the sunny day peak sunshine number H1 closest to the current year in previous years when the same day was sunny.

[0047] In a feasible implementation manner, the setting unit is used to control the mode of the water quality detection device on the day according to the working mode and display mode corresponding to the target number of rows, including: Determine the working mode and display mode corresponding to the first matrix element in the target number of rows; The determined working mode is set as the working mode of the water quality detection system, and the determined display mode is determined as the display mode of the industrial control display screen.

[0048] In a feasible implementation scheme, the water quality detection system includes: a first working mode and a second working mode, wherein the first working mode is that the duration of pump operation and pump stop is equal, and the second working mode is that the duration of pump stop is three times the duration of pump operation, and the industrial control display screen includes a first display mode, a second display mode and a third display mode, wherein the first display mode is an audio and video mode, the second display mode is a static page mode, and the third display mode is a screen off mode.

[0049] about Figure 3 The relevant principles of the content shown can be referred to Figure 1 and Figure 2 The explanation of the relevant content will not be repeated in detail here.

[0050] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0051] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0052] In addition, each functional unit in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0053] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.

[0054] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.

[0055] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application. They should all be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A control method for water quality detection equipment powered by photovoltaics, characterized in that: The power consumption unit of the water quality detection equipment includes: a water quality detection system and an industrial control display screen, wherein the water quality detection system includes at least two working modes, and the pump start-stop time ratios of the water quality detection system are different in different working modes, and the industrial control display screen includes a plurality of display modes with different power consumptions, and the water quality detection system and the industrial control display screen are both powered by batteries, and the batteries are charged by a photovoltaic system; the control method includes: Determine, according to the first power consumption of each working mode and the second power consumption of each display model, the consumption capacity of each power consumption combination when the working mode and the display mode are combined in pairs; The historical sunny peak sunshine number H1 and the sunny to cloudy weather membership A are determined by the following formula: ; ; Wherein, Ed1 is the historical sunny power generation obtained by the maximum power point tracking MPPT of the photovoltaic system, Ed2 is the historical sunny and cloudy power generation obtained by the MPPT, and P is the installed power of the photovoltaic system: Determine the power generation capacity of the photovoltaic system on each of the preset days according to the historical peak sunshine number H1 on sunny days, the weather membership degree A of sunny to cloudy days, the installed power P and the weather forecast for the preset days; According to the consumption capacity, construct a consumption matrix with a preset number of rows and a preset number of days as the number of columns, wherein the sum of the consumption capacity of a previous row in the consumption matrix is ​​greater than the sum of the consumption capacity of a next row in the consumption matrix; Calculating an estimated battery capacity of the battery per day in the preset number of days according to the current capacity of the battery and the power generation capacity; Compare the consumption matrix and the estimated battery capacity row by row from top to bottom to determine the target number of rows where all positive values ​​appear for the first time; The mode of the water quality testing equipment on that day is controlled according to the working mode and display mode corresponding to the target number of rows.

2. The control method according to claim 1, characterized in that: The method of determining the power generation capacity of the photovoltaic system on each of the preset days according to the historical peak sunshine number H1 on sunny days, the weather membership degree A of sunny to cloudy days, the installed power P and the weather forecast on the preset days comprises: The power generation capacity of the photovoltaic system when the weather type is sunny and cloudy in the preset days is determined according to the following formula: ; The power generation capacity of the photovoltaic system when the weather type is sunny in the preset days is determined according to the following formula: ; Wherein, Per1 is the power generation capacity on a sunny day, Per2 is the power generation capacity on a sunny day, W is the rated capacity of the battery, and when the weather type of the weather forecast for the preset number of days is a weather type other than sunny and sunny and cloudy, the power generation capacity is 0.

3. The control method according to claim 1, characterized in that: The historical sunny day peak sunshine number H1 includes: the sunny day peak sunshine number H1 closest to the current day or the sunny day peak sunshine number H1 closest to the current year when the same day was sunny.

4. The control method according to claim 1, characterized in that: The controlling of the mode of the water quality testing device on the day according to the working mode and display mode corresponding to the target number of rows includes: Determine the working mode and display mode corresponding to the first matrix element in the target number of rows; The determined working mode is set as the working mode of the water quality detection system, and the determined display mode is determined as the display mode of the industrial control display screen.

5. The control method according to claim 1, characterized in that: The water quality detection system includes: a first working mode and a second working mode, wherein the first working mode is that the duration of pump operation and pump stop is equal, and the second working mode is that the duration of pump stop is three times the duration of pump operation. The industrial control display screen includes a first display mode, a second display mode and a third display mode, wherein the first display mode is an audio and video mode, the second display mode is a static page mode, and the third display mode is a screen-off mode.

6. A control device for water quality detection equipment powered by photovoltaics, characterized in that: The power consumption unit of the water quality detection equipment includes: a water quality detection system and an industrial control display screen, wherein the water quality detection system includes at least two working modes, and the pump start-stop time ratio of the water quality detection system is different in different working modes, and the industrial control display screen includes a plurality of display modes with different power consumptions, and the water quality detection system and the industrial control display screen are both powered by batteries, and the batteries are charged by a photovoltaic system; the control device includes: A first determining unit, configured to determine, according to the first power consumption of each working mode and the second power consumption of each display model, the consumption capacity of each power consumption combination when the working mode and the display mode are combined in pairs; The second determination unit is used to determine the historical sunny peak sunshine number H1 and the weather membership degree A of sunny and cloudy weather by the following formula: ; ; Wherein, Ed1 is the historical sunny power generation obtained through the MPPT of the photovoltaic system, Ed2 is the historical sunny and cloudy power generation obtained through the MPPT, and P is the installed power of the photovoltaic system: A third determination unit is used to determine the power generation capacity of the photovoltaic system on each of the preset days according to the historical sunny peak sunshine number H1, the sunny and cloudy weather membership degree A, the installed power P and the weather forecast of the preset days; A construction unit, configured to construct, according to the consumption capacity, a consumption matrix having a preset number of rows and a preset number of days as the number of columns, wherein a sum of consumption capacities of a previous row in the consumption matrix is ​​greater than a sum of consumption capacities of a next row in the consumption matrix; a calculation unit, configured to calculate an estimated battery capacity of the battery per day in the preset number of days according to the current capacity of the battery and the power generation capacity; A fourth determining unit, configured to compare the consumption matrix and the estimated battery capacity row by row in a top-to-bottom order, and determine a target number of rows where all positive values ​​appear for the first time; The setting unit is used to control the mode of the water quality detection equipment on the day according to the working mode and display mode corresponding to the target number of rows.

7. The control device according to claim 6, characterized in that The third determination unit is used to determine the power generation capacity of the photovoltaic system on each day of the preset days according to the historical sunny peak sunshine number H1, the sunny and cloudy weather membership degree A, the installed power P and the weather forecast of the preset days, including: The power generation capacity of the photovoltaic system when the weather type is sunny and cloudy in the preset days is determined according to the following formula: ; The power generation capacity of the photovoltaic system when the weather type is sunny in the preset days is determined according to the following formula: ; Wherein, Per1 is the power generation capacity on a sunny day, Per2 is the power generation capacity on a sunny day, W is the rated capacity of the battery, and when the weather type of the weather forecast for the preset number of days is a weather type other than sunny and sunny and cloudy, the power generation capacity is 0.

8. The control device according to claim 6, characterized in that: The historical sunny day peak sunshine number H1 includes: the sunny day peak sunshine number H1 closest to the current day or the sunny day peak sunshine number H1 closest to the current year when the same day was sunny.

9. The control device according to claim 6, characterized in that: The setting unit is used to control the mode of the water quality detection device on the day according to the working mode and display mode corresponding to the target number of rows, including: Determine the working mode and display mode corresponding to the first matrix element in the target number of rows; The determined working mode is set as the working mode of the water quality detection system, and the determined display mode is determined as the display mode of the industrial control display screen.

10. The control device according to claim 6, characterized in that The water quality detection system includes: a first working mode and a second working mode, wherein the first working mode is that the duration of pump operation and pump stop is equal, and the second working mode is that the duration of pump stop is three times the duration of pump operation. The industrial control display screen includes a first display mode, a second display mode and a third display mode, wherein the first display mode is an audio and video mode, the second display mode is a static page mode, and the third display mode is a screen-off mode.

Citation Information

Patent Citations

  • Power consumption control method and apparatus thereof

    CN101662244A

  • Water environment monitoring frequency self-adjusting system and method adapting to weather changes

    CN112051377A

  • Self-powered water quality monitoring floating station

    CN212622548U