Control method and device for a water quality detection device powered by photovoltaics
By setting up multiple power consumption modes and optimization of consumption matrix for power generation prediction, the problem of interruption in detection of water quality detection equipment caused by unstable photovoltaic power supply is solved, and the continuous detection and optimal working mode of the equipment are realized.
Patent Information
- Application Number
- CN202510264985.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-07
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2045-03-07
AI Technical Summary
The power supply of the photovoltaic system is affected by the light duration, which leads to the consumption of electricity from the water quality detection equipment, resulting in interruption of detection data, and affecting the continuity of water quality analysis.
By setting the power consumption unit of the water quality detection equipment into multiple power consumption modes, combining the power generation prediction of the photovoltaic system and battery capacity estimation, a consumption matrix is built to determine the optimal combination of working mode and display mode to ensure that the battery does not lose money.
Ensure that water quality testing equipment continues to be inspected within a certain number of days in the future and the optimal working mode is used on the same day, which solves the problem of detection interruption caused by unstable photovoltaic power supply.
Smart Images

Figure CN119765605B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of control technologies, and in particular, to a control method and device for a water quality detection device powered by photovoltaics. Background Art
[0002] In order to long-term observe the water quality of a certain area, it is necessary to set up a water quality detection device in this area. In order to reduce the power supply cost of the water quality detection device, it is usually also necessary to set up a power supply battery and a photovoltaic system. The photovoltaic system converts sunlight into electrical energy to supplement the electrical energy of the battery, and the battery can provide stable electrical energy for the water quality detection device. However, the power supply of the photovoltaic system is greatly affected by the illumination duration. If the illumination duration is insufficient and the water quality detection device is always in a full power consumption state, then the battery will run out of electrical energy. After the electrical energy in the battery runs out, the water quality detection device will not be able to continue to detect the water quality, resulting in the interruption of water quality detection data, and then the subsequent water quality analysis will be discontinuous. The continuity of water quality analysis is very important. Therefore, how to ensure the working duration of the water quality detection device is an urgent problem to be solved. Summary of the Invention
[0003] In view of this, the embodiments of the present application provide a control method and device for a water quality detection device powered by photovoltaics to achieve long-term and stable operation of the water quality detection device.
[0004] In a first aspect, the embodiments of the present application provide a control method for a water quality detection device powered by photovoltaics. The power-consuming units of the water quality detection device include: a water quality detection system and an industrial control display screen. Among them, the water quality detection system includes at least two working modes, and the pump start-stop duration ratio of the water quality detection system is different in different working modes. The industrial control display screen includes multiple display modes with different power consumptions. Both the water quality detection system and the industrial control display screen are powered by a battery, and the battery is charged by a photovoltaic system. The control method includes:
[0005] According to the first power consumption of each working mode and the second power consumption of each display model, determine the consumption capacity of each power consumption combination when the working mode and the display mode are combined pairwise.
[0006] Determine the historical sunny peak sunshine number H1 and the weather membership degree A of sunny intervals and cloudy by the following formula:
[0007] Ed1 = P × H1:
[0008] Ed2 = P × H1 × A;
[0009] Among them, Ed1 is the historical sunny-day power generation obtained through the MPPT of the photovoltaic system, Ed2 is the historical partly sunny power generation obtained through the MPPT, and P is the installed power of the photovoltaic system:
[0010] Determine the daily power generation capacity of the photovoltaic system within the preset number of days according to the historical sunny-day peak sunshine hours H1, the weather membership degree A of partly sunny days, the installed power P, and the weather forecast for the preset number of days;
[0011] Construct a consumption matrix with a preset number of rows and the preset number of days as the number of columns according to the consumption capacity, wherein the sum value of the consumption capacity in the upper row of the consumption matrix is greater than the sum value of the consumption capacity in the lower row of the consumption matrix;
[0012] Calculate the estimated battery capacity of the battery every day within the preset number of days according to the current capacity of the battery and the power generation capacity;
[0013] Compare the consumption matrix and the estimated battery capacity row by row in the order from top to bottom to determine the target row number where all values first appear as positive;
[0014] Control the mode of the water quality detection device on the current day according to the working mode and display mode corresponding to the target row number.
[0015] Optionally, the determining the daily power generation capacity of the photovoltaic system within the preset number of days according to the historical sunny-day peak sunshine hours H1, the weather membership degree A of partly sunny days, the installed power P, and the weather forecast for the preset number of days includes:
[0016] Determine the power generation capacity of the photovoltaic system with the weather type of partly sunny days within the preset number of days according to the following formula:
[0017] Per1 = P × H1 × A / W;
[0018] Determine the power generation capacity of the photovoltaic system with the weather type of sunny days within the preset number of days according to the following formula:
[0019] Per2 = P × H1 / W;
[0020] Among them, Per1 is the power generation capacity of partly sunny days, Per2 is the power generation capacity of sunny days, 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 days and partly sunny days, the power generation capacity is 0.
[0021] Optionally, the historical sunny-day peak sunshine hours H1 include: the sunny-day peak sunshine hours H1 closest to the current day or the sunny-day peak sunshine hours H1 of the same day in previous years closest to this year when the day in previous years was sunny.
[0022] Optionally, controlling the mode of the water quality detection device on the same day according to the working mode and display mode corresponding to the target number of rows includes:
[0023] Determine the working mode and display mode corresponding to the first matrix element in the target number of rows;
[0024] 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.
[0025] Optionally, the water quality detection system includes: a first working mode and a second working mode, wherein, in the first working mode, the duration of pump operation and pump stop is equal, and in the second working mode, 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-video mode, the second display mode is a static page mode, and the third display mode is a screen-off mode.
[0026] In a second aspect, an embodiment of the present application provides a control device for a water quality detection device powered by photovoltaic. The power-consuming units of the water quality detection device include: a water quality detection system and an industrial control display screen. The water quality detection system includes at least two working modes, and the ratio of pump start-stop duration of the water quality detection system is different under different working modes. The industrial control display screen includes multiple display modes with different power consumptions. Both the water quality detection system and the industrial control display screen are powered by a battery, and the battery is charged by a photovoltaic system. The control device includes:
[0027] A first determination unit for determining the consumption capacity of each power consumption combination when the working mode and the display mode are combined pairwise according to the first power consumption of each working mode and the second power consumption of each display model;
[0028] A second determination unit for determining the historical sunny peak sunshine number H1 and the weather membership degree A of sunny intervals and cloudy by the following formula:
[0029] Ed1 = P × H1:
[0030] Ed2 = P × H1 × A;
[0031] Wherein, Ed1 is the historical sunny power generation obtained through the MPPT of the photovoltaic system, Ed2 is the historical sunny interval and cloudy power generation obtained through the MPPT, and P is the installed power of the photovoltaic system:
[0032] A third determination unit, configured to determine the daily power generation capacity of the photovoltaic system within a preset number of days according to the historical peak sunshine hours on sunny days H1, the weather membership degree A of partly sunny days, the installed power P, and the weather forecast for the preset number of days.
[0033] A construction unit, configured to construct a consumption matrix with a preset number of rows and the preset number of days as the number of columns according to the consumption capacity, wherein the sum value of the consumption capacity in the upper row of the consumption matrix is greater than the sum value of the consumption capacity in the lower row of the consumption matrix.
[0034] A calculation unit, configured to calculate the estimated battery capacity of the battery every day within the preset number of days according to the current capacity of the battery and the power generation capacity.
[0035] A fourth determination unit, configured to compare the consumption matrix and the estimated battery capacity row by row in the order from top to bottom, and determine the target row number where all values first appear as positive values.
[0036] A setting unit, configured to control the mode of the water quality detection device on the current day according to the working mode and display mode corresponding to the target row number.
[0037] Optionally, when the third determination unit is configured to determine the daily power generation capacity of the photovoltaic system within a preset number of days according to the historical peak sunshine hours on sunny days H1, the weather membership degree A of partly sunny days, the installed power P, and the weather forecast for the preset number of days, it includes:
[0038] Determine the power generation capacity of the photovoltaic system with the weather type of partly sunny days within the preset number of days according to the following formula:
[0039] Per1 = P × H1 × A / W;
[0040] Determine the power generation capacity of the photovoltaic system with the weather type of sunny days within the preset number of days according to the following formula:
[0041] Per2 = P × H1 / W;
[0042] Wherein, Per1 is the power generation capacity of partly sunny days, Per2 is the power generation capacity of sunny days, 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 days and partly sunny days, the power generation capacity is 0.
[0043] Optionally, the historical peak sunshine hours on sunny days H1 include: the peak sunshine hours on sunny days H1 closest to the current day or the peak sunshine hours on sunny days H1 of the same day in previous years closest to this year.
[0044] Optionally, when the setting unit is used to control the mode of the water quality detection device on the current day according to the working mode and display mode corresponding to the target number of rows, it includes:
[0045] Determine the working mode and display mode corresponding to the first matrix element in the target number of rows;
[0046] 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.
[0047] Optionally, the water quality detection system includes: a first working mode and a second working mode, wherein, in the first working mode, the duration of pump operation and pump stop is equal, and in the second working mode, 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-video mode, the second display mode is a static page mode, and the third display mode is a screen-off mode.
[0048] The technical solutions provided by the embodiments of the present application may include the following beneficial effects:
[0049] In the present application, the power-consuming units of the water quality detection device are respectively set to modes with multiple power consumptions. When it is necessary to determine the working mode of the current day, the estimated power generation capacity of the photovoltaic system for each day within a certain number of days in the future is determined according to the weather forecast. Then, based on the current capacity of the battery and the estimated power generation capacity, the battery capacity for each day within a certain number of days in the future is estimated. Using the constructed capacity consumption matrix and the estimated battery capacity for each day within a certain number of days in the future, the optimal capacity consumption combination is determined from the capacity consumption matrix. Under this capacity consumption combination, the battery will not show a deficit. Then, the mode of the water quality detection device on the current day is controlled through the optimal capacity consumption combination. Through the above method, not only can it be ensured that the water quality detection device can perform continuous detection within a certain number of days in the future, but also it can be ensured that the water quality detection device can work in the optimal working mode on the current day.
[0050] To make the above objects, features, and advantages of the present application more obvious and understandable, the following specific preferred embodiments are given, and in conjunction with the accompanying drawings, the detailed description is as follows. Description of the Drawings
[0051] 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 some embodiments of the present application, and therefore should not be regarded as a limitation of the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.
[0052] Figure 1 A structural schematic diagram of a water quality detection device provided by an embodiment of the present application;
[0053] Figure 2 A flowchart of a control method for a water quality detection device powered by photovoltaic provided by an embodiment of the present application;
[0054] Figure 3 A structural schematic diagram of a control device for a water quality detection device powered by photovoltaic provided by an embodiment of the present application. Detailed implementation manners
[0055] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Usually, the components of the embodiments of the present application described and illustrated herein can be arranged and designed in various different configurations. Therefore, the detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application claimed, but merely represents selected embodiments of the present application. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without creative efforts fall within the scope of protection of the present application.
[0056] Figure 1 A structural schematic diagram of a water quality detection device provided by an embodiment of the present application, as Figure 1 shown. The power-consuming units of the water quality detection device include: a water quality detection system and an industrial control display screen. Among them, the water quality detection system includes at least two working modes, and the pump start-stop duration ratio of the water quality detection system is different in different working modes. The industrial control display screen includes multiple display modes with different power consumptions. Both the water quality detection system and the industrial control display screen are powered by a battery, and the battery is charged by a photovoltaic system.
[0057] Specifically, when the water quality detection system is working, it uses a submersible pump to draw water to obtain detection samples. The working power of the submersible pump can be 24W. When the submersible pump is pumping water, the pump is working, and when it stops pumping water, the pump stops. The normal working mode of the submersible pump is to alternate between pump working and pump stopping. When the pump stops, the water quality can be detected. In order to enable the water quality detection system to continuously detect the water quality, different working modes can be set. Under different working modes, the ratio of the start-stop duration of the pump is different. Among them, under different working modes, the working duration of the pump is the same. That is to say, under different working modes, only the stop duration of the pump needs to be adjusted, so that the electric energy consumed under different working modes is different. At the same time, the display mode of the industrial control display screen also needs to be set. Under different display modes, the display method of the screen is different, so that different display modes have different power consumptions. Through the above settings, the appropriate mode can be selected according to the current battery power and the power that can be supplemented by the photovoltaic, so that the water quality detection equipment can continuously detect the water quality under different weather conditions.
[0058] The water quality detection equipment can also include a communication function to send the detection data to the server.
[0059] It should be noted that the model of the battery and the installed power of the photovoltaic system can be set according to actual needs and will not be specifically limited here.
[0060] Figure 2 The flowchart of a control method for a water quality detection device powered by photovoltaic provided by an embodiment of the present application is as Figure 2 shown. The method includes the following steps:
[0061] Step 201: Determine the consumption capacity of each power consumption combination when the working mode and the display mode are combined pairwise according to the first power consumption of each working mode and the second power consumption of each display model.
[0062] Step 202: Determine the historical sunny peak sunshine hours H1 and the weather membership degree A of sunny intervals and cloudy days through Formula 1 and Formula 2:
[0063] Ed1 = P × H1: (Formula 1)
[0064] Ed2 = P × H1 × A; (Formula 2)
[0065] Wherein, Ed1 is the historical sunny day power generation obtained through the MPPT (Maximum power point tracking) of the photovoltaic system, Ed2 is the historical sunny interval and cloudy day power generation obtained through the MPPT, and P is the installed power of the photovoltaic system.
[0066] Step 203: Determine the daily power generation capacity of the photovoltaic system within the preset number of days based on the historical peak sunshine hours on sunny days H1, the weather membership degree of partly cloudy days A, the installed power P, and the weather forecast for the preset number of days.
[0067] Step 204: Construct a consumption matrix with a preset number of rows and the preset number of days as the number of columns according to the consumption capacity, where the sum value of the consumption capacity in the upper row of the consumption matrix is greater than the sum value of the consumption capacity in the lower row of the consumption matrix.
[0068] Step 205: Calculate the estimated battery capacity of the battery for each day within the preset number of days according to the current capacity of the battery and the power generation capacity.
[0069] Step 206: Compare the consumption matrix and the estimated battery capacity row by row in the order from top to bottom to determine the target row number where all values first appear as positive.
[0070] Step 207: Control the mode of the water quality detection device on the current day according to the working mode and display mode corresponding to the target row number.
[0071] Specifically, after the water quality detection device is set to the Figure 1 shown mode, the first power consumption (i.e., the power consumption per unit time, such as one hour) of the water quality detection system under different working modes and the second power consumption (i.e., the power consumption per unit time, such as one hour) of the industrial control display screen under different display modes can be directly obtained. Then, different first power consumptions and second power consumptions are combined to obtain the consumption capacity under each power consumption combination. For example, the working modes of the water quality detection system include working mode 1 and working mode 2, and the display modes of the industrial control display screen include display mode 1, display mode 2, and display mode 3. Then the combinations obtained include working mode 1 - display mode 1 (subsequently referred to as M1 - 1), working mode 1 - display mode 2 (subsequently referred to as M1 - 2), working mode 1 - display mode 3 (subsequently referred to as M1 - 3), working mode 2 - display mode 1 (subsequently referred to as M2 - 1), working mode 2 - display mode 2 (subsequently referred to as M2 - 2), and working mode 2 - display mode 3 (subsequently 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 the working duration, the consumption capacity of the water quality detection device on the current day under each combination can be determined, thus providing a basis for subsequent mode selection.
[0072] General formula for estimating daily power generation of a photovoltaic system: Ed = P × H × β, where: Ed is the daily power generation, P is the installed power of the photovoltaic system (kW), H is the peak sunshine hours in the local area, and the peak sunshine hours vary in different regions. β is the system comprehensive efficiency. Considering factors such as the efficiency of photovoltaic modules, inverter efficiency, line losses, dust shading, and temperature effects, the general value ranges from 0.7 to 0.85.
[0073] For small-capacity photovoltaic systems (photovoltaic systems with a capacity below 1 KW), 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 β may have a greater impact on the power generation prediction of the system; the smaller the capacity of the photovoltaic system, the less accurate the prediction result is. Regarding the stability of the system operation, a one-week power generation prediction must be made, and the prediction should be as accurate as possible.
[0074] The weather type of each day within a certain number of future days (such as one week) can be determined through weather forecasts. Among them, the weather types include clear and partly cloudy, sunny, cloudy, and rainy. The weather information is fuzzified. The membership degree of sunny days is recorded as: 1; considering that the power generation is generally very small on cloudy and rainy days, the membership degree can be taken as 0; for clear and partly cloudy days, an initial membership degree can be set first: A = 0.3, and an equivalent peak sunshine hour parameter is introduced, denoted as: H; in the case of sunny days, the daily power generation Ed = P × H; H incorporates factors such as the local peak sunshine hours and the actual system comprehensive efficiency; because the photovoltaic system can obtain the actual daily power generation Ed1 on sunny days through MPPT, so: H1 = Ed1 / P can be obtained through calculation. In order to obtain a more accurate historical peak sunshine hours on sunny days, the average value of H1 for the four consecutive recent sunny days can be taken as the historical peak sunshine hours on sunny days. Of course, the peak sunshine hours on the same day in history can also be obtained as the historical peak sunshine hours on sunny days.
[0075] Similarly, through MPPT, the daily power generation Ed2 = P × H1 × A can be obtained on clear and partly cloudy days. Given Ed2 and H1, it can be calculated that: A = Ed / (P × H1); to ensure accuracy, the A values for multiple recent clear and partly cloudy days can be continuously obtained, and the average value of the A values for multiple consecutive past clear and partly cloudy days can be taken as the membership degree for clear and partly cloudy days for subsequent power generation prediction. Of course, the A value for the same day in history when it was clear and partly cloudy can also be obtained.
[0076] It should be noted that in view of the equivalent average peak sunshine hours and the membership degree of clear and partly cloudy days, they are calculated using the time series method in combination with the power generation of the actual system during the process, and will be dynamically adjusted with seasons, etc., and can better match the actual scenario.
[0077] After obtaining the historical peak sunshine hours H1, the weather membership degree A of partly sunny days, the installed power P, and the weather forecast for the preset number of days, the daily power generation capacity of the photovoltaic system for each day within the preset number of days can be determined. For example, the weather forecast information for the next week is {multiple days, sunny, cloudy, partly sunny, partly sunny, rainy, rainy}, then the daily power generation capacity Per obtained is {0, Per, 0, A×Per, A×Per, 0, 0}, where Per = P×H1 / W, and W is the rated capacity of the battery.
[0078] After obtaining the consumption capacity of each combination 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 can be constructed with the set 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 includes 7 matrix elements (that is, each element in each row of 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 row constructed 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 matrix {W1, W2, W1, W1, W1, W1, W1}, these two rows of matrices are also different. Through the above method, the consumption matrix can be obtained, or a consumption matrix that meets the user's needs can be formulated in advance. In any case of obtaining the consumption matrix, the sum value of the consumption capacity of the upper row of the consumption matrix (the daily consumption capacity for the next seven days) is greater than the sum value of the consumption capacity of the lower row of the consumption matrix.
[0079] Each row in the consumption matrix represents the expected consumption capacity for each day in the next seven days. After obtaining the estimated capacity of the battery for each day through step 205, the estimated capacity of the battery for each day can be used to compare each row in the consumption matrix row by row in the order from top to bottom until the target row number where all values are positive for the first time is obtained. For example, if the estimated capacity of the battery for each day is {10, 15, 15, 18, 21, 21, 21}, and the one-row matrix composed of the daily consumption capacity is {11, 9, 9, 9, 9, 9, 9}, and the next row matrix is {9, 9, 9, 9, 9, 9, 9}, then all values are positive when comparing with the next row, that is: when all elements in any row are positive, it means positive values appear. At this time, the mode of the water quality detection device for that day can be controlled according to the working mode and display mode corresponding to the values in this row matrix. For example: if the first element in the matrix {9, 9, 9, 9, 9, 9, 9} corresponds to the working mode M1-2, then the working mode 1 - display mode 2 can be set as the mode of the water quality detection device for that day.
[0080] In the present application, the power-consuming units of the water quality detection device are respectively set to modes with multiple power consumptions. When it is necessary to determine the working mode for the current day, the estimated power generation capacity of the photovoltaic system for each day in a certain number of days in the future is determined according to the weather forecast. Then, according to the current capacity of the battery and the estimated power generation capacity, the battery capacity for each day in a certain number of days in the future is estimated. Using the constructed capacity consumption matrix and the estimated battery capacity for each day in a certain number of days in the future, the optimal capacity consumption combination is determined from the capacity consumption matrix. Under this capacity consumption combination, the battery will not show a loss. Then, the mode of the water quality detection device for the current day is controlled through the optimal capacity consumption combination. Through the above method, not only can it be ensured that the water quality detection device can perform continuous detection in a certain number of days in the future, but also it can be ensured that the water quality detection device can work in the optimal working mode on the current day.
[0081] In a feasible implementation, when performing step 203, according to Formula Three, determine the power generation capacity of the photovoltaic system when the weather type is partly sunny and cloudy in the preset number of days:
[0082] Per1 = P × H1 × A / W; (Formula Three)
[0083] According to Formula Four, determine the power generation capacity of the photovoltaic system when the weather type is sunny in the preset number of days:
[0084] Per2 = P × H1 / W; (Formula Four)
[0085] Among them, Per1 is the power generation capacity of sunny with partly cloudy days, Per2 is the power generation capacity of sunny days, and W is the rated capacity of the battery. When the weather type of the weather forecast for the preset number of days is a weather type other than sunny days and sunny with partly cloudy days, the power generation capacity is 0.
[0086] In a feasible implementation, the historical sunny peak sunshine hours H1 include: the sunny peak sunshine hours H1 closest to the current day or the sunny peak sunshine hours H1 of the same day in previous years closest to this year and being sunny.
[0087] In a feasible implementation, when performing the step of controlling the mode of the water quality detection device on the current day according to the working mode and display mode corresponding to the previous line of the target line number, first determine the working mode and display mode corresponding to the first matrix element in the previous line of the target line 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.
[0088] In a feasible implementation, the water quality detection system includes: a first working mode and a second working mode. Among them, in the first working mode, the duration of the pump working and the pump stopping is equal, and in the second working mode, the duration of the pump stopping is three times the duration of the pump working. The industrial control display screen includes a first display mode, a second display mode, and a third display mode. Among them, the first display mode is the audio - video mode, the second display mode is the static page mode, and the third display mode is the screen - off mode.
[0089] Figure 3 The figure is a schematic structural diagram of a control device for a water quality detection device powered by photovoltaics provided by an embodiment of the present application. The power - consuming units of the water quality detection device include: a water quality detection system and an industrial control display screen. Among them, the water quality detection system includes at least two working modes, and the ratio of the start - stop duration of the pump in the water quality detection system is different in different working modes. The industrial control display screen includes multiple display modes with different power consumptions. Both the water quality detection system and the industrial control display screen are powered by a battery, and the battery is charged through a photovoltaic system; as Figure 3 shown, the control device includes:
[0090] A first determination unit 31, configured to determine the consumption capacity of each power consumption combination when making pairwise power consumption combinations of the working mode and the display mode according to the first power consumption of each working mode and the second power consumption of each display model;
[0091] A second determination unit 32, configured to determine the historical sunny peak sunshine hours H1 and the weather membership degree A of sunny with partly cloudy days through the following formula:
[0092] Ed1 = P × H1:
[0093] Ed2 = P × H1 × A;
[0094] Wherein, Ed1 is the historical sunny day power generation obtained through the MPPT of the photovoltaic system, Ed2 is the historical partly sunny power generation obtained through the MPPT, and P is the installed power of the photovoltaic system:
[0095] The third determination unit 33 is configured to determine the daily power generation capacity of the photovoltaic system in the preset number of days according to the historical sunny day peak sunshine hours H1, the weather membership degree A of partly sunny days, the installed power P, and the weather forecast for the preset number of days;
[0096] The construction unit 34 is configured to construct a consumption matrix with a preset number of rows and the preset number of days as the number of columns according to the consumption capacity, wherein the sum value of the consumption capacity in the upper row of the consumption matrix is greater than the sum value of the consumption capacity in the lower row of the consumption matrix;
[0097] The calculation unit 35 is configured to calculate the estimated battery capacity of the battery every day in the preset number of days according to the current capacity of the battery and the power generation capacity;
[0098] The fourth determination unit 36 is configured to compare the consumption matrix and the estimated battery capacity row by row in the order from top to bottom to determine the target row number where all values first appear as positive;
[0099] The setting unit 37 is configured to control the mode of the water quality detection device on the current day according to the working mode and display mode corresponding to the target row number.
[0100] In a feasible implementation, when the third determination unit is configured to determine the daily power generation capacity of the photovoltaic system in the preset number of days according to the historical sunny day peak sunshine hours H1, the weather membership degree A of partly sunny days, the installed power P, and the weather forecast for the preset number of days, it includes:
[0101] Determine the power generation capacity of the photovoltaic system with the weather type of partly sunny days in the preset number of days according to the following formula:
[0102] Per1 = P × H1 × A / W;
[0103] Determine the power generation capacity of the photovoltaic system with the weather type of sunny days in the preset number of days according to the following formula:
[0104] Per2 = P × H1 / W;
[0105] Among them, Per1 is the power generation capacity of partly sunny days, Per2 is the power generation capacity of sunny days, and W is the rated capacity of the battery. When the weather type in the weather forecast for the preset number of days is a weather type other than sunny days and partly sunny days, the power generation capacity is 0.
[0106] In a feasible implementation, the historical sunny peak sunshine hours H1 include: the sunny peak sunshine hours H1 closest to the current day or the sunny peak sunshine hours H1 of the same day in previous years closest to this year.
[0107] In a feasible implementation, when the setting unit is used to control the mode of the water quality detection device on the current day according to the working mode and display mode corresponding to the target row number, it includes:
[0108] Determine the working mode and display mode corresponding to the first matrix element in the target row number;
[0109] 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.
[0110] In a feasible implementation, the water quality detection system includes: a first working mode and a second working mode. Among them, in the first working mode, the duration of the pump working and the pump stopping is equal, and in the second working mode, the duration of the pump stopping is three times the duration of the pump working. The industrial control display screen includes a first display mode, a second display mode, and a third display mode. Among them, the first display mode is the audio-video mode, the second display mode is the static page mode, and the third display mode is the screen-off mode.
[0111] Regarding Figure 3 The relevant principles of the content shown can be referred to Figure 1 and Figure 2 The explanations of the relevant content will not be elaborated in detail here.
[0112] 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 only illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For another example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point, the displayed or discussed coupling or direct coupling or communication connection between each other can be through some communication interfaces. The indirect coupling or communication connection of the devices or units can be in electrical, mechanical or other forms.
[0113] The unit described as a separation component may or may not be physically separated. The component shown as a unit may or may not be a physical unit, that is, it may be located in one place or may be distributed over multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0114] In addition, each functional unit in the embodiment provided in this application may be integrated into a processing unit, may exist physically separately for each unit, or two or more units may be integrated into one unit.
[0115] If the described function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.
[0116] It should be noted that: Similar reference numerals and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. In addition, the terms "first", "second", "third", etc. are only used for descriptive distinction and cannot be understood as indicating or implying relative importance.
[0117] Finally, it should be noted that: The above-described embodiments are only specific implementation manners of this application, used to illustrate the technical solutions of this application, rather than limiting it. The protection scope of this application is not limited thereto. Although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: Any person skilled in the art within the technical scope disclosed in this application can still modify the technical solutions recorded in the foregoing embodiments, or can easily think of changes, or perform equivalent replacements for some of the technical features; and these modifications, changes, or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application. All should be covered within the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.
Claims
1. A control method for a water quality detection device powered by photovoltaics, characterized in that, The power-consuming units of the water quality detection device include: a water quality detection system and an industrial control display screen. Among them, the water quality detection system includes at least two working modes, and the start-stop duration ratio of the pump in the water quality detection system is different under different working modes. The industrial control display screen includes various display modes with different power consumptions. Both the water quality detection system and the industrial control display screen are powered by a battery, and the battery is charged by a photovoltaic system; the control method includes: According to the first power consumption of each working mode and the second power consumption of each display model, determine the consumption capacity of each power consumption combination when the working mode and the display mode are combined pairwise. Determine the historical sunny peak sunshine hours H1 and the weather membership degree A of sunny intervals and cloudy by the following formula: Ed1 = P × H1: Ed2 = P × H1 × A; 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 interval and cloudy power generation obtained by the MPPT, and P is the installed power of the photovoltaic system: According to the historical sunny peak sunshine hours H1, the weather membership degree A of sunny intervals and cloudy, the installed power P, and the weather forecast for a preset number of days, determine the daily power generation capacity of the photovoltaic system in the preset number of days; According to the consumption capacity, construct a consumption matrix with a preset number of rows and the preset number of days as the number of columns. Among them, the sum value of the consumption capacity in the upper row of the consumption matrix is greater than the sum value of the consumption capacity in the lower row of the consumption matrix, and each row constructed is unique in the consumption matrix. Each element in each row of the consumption matrix includes matrix elements corresponding to each day of the preset number of days; According to the current capacity of the battery and the power generation capacity, calculate the estimated battery capacity of the battery every day in the preset number of days; Compare the consumption matrix and the estimated battery capacity row by row in the order from top to bottom to determine the target row number where all values first appear as positive; Control the mode of the water quality detection device on the same day according to the working mode and the display mode corresponding to the target row number.
2. The control method according to claim 1, wherein The determining the daily power generation capacity of the photovoltaic system in the preset number of days according to the historical sunny peak sunshine hours H1, the weather membership degree A of sunny intervals and cloudy, the installed power P, and the weather forecast for a preset number of days includes: Determine the power generation capacity of the photovoltaic system with the weather type of sunny intervals and cloudy in the preset number of days according to the following formula: Per1 = P × H1 × A / W; Determine the power generation capacity of the photovoltaic system with the weather type of sunny in the preset number of days according to the following formula: Per2 = P × H1 / W; Wherein, Per1 is the power generation capacity of sunny intervals and cloudy, Per2 is the power generation capacity of sunny, and W is the rated capacity of the battery. When the weather type of the weather forecast for the preset number of days is a weather type other than sunny and sunny intervals and cloudy, the power generation capacity is 0.
3. The control method according to claim 1, characterized in that, The historical sunny peak sunshine hours H1 includes: the sunny peak sunshine hours H1 closest to the current day or the sunny peak sunshine hours H1 of the same day in previous years closest to this year when the day in previous years was sunny.
4. The control method according to claim 1, characterized in that, Controlling the mode of the water quality detection device on the current day according to the working mode and display mode corresponding to the target number of rows includes: Determining the working mode and display mode corresponding to the first matrix element in the target number of rows; Setting the determined working mode as the working mode of the water quality detection system, and determining the determined display mode as the display mode of the industrial control display screen.
5. The control method according to claim 1, wherein The water quality detection system includes: a first working mode and a second working mode. Among them, in the first working mode, the duration of pump operation and pump stop is equal, and in the second working mode, 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. Among them, the first display mode is the audio-video mode, the second display mode is the static page mode, and the third display mode is the screen-off mode.
6. A control device for a water quality detection device powered by photovoltaics, characterized in that, The power-consuming units of the water quality detection device include: a water quality detection system and an industrial control display screen. Among them, the water quality detection system includes at least two working modes, and the ratio of pump start-stop duration of the water quality detection system is different under different working modes. The industrial control display screen includes multiple display modes with different power consumptions. Both the water quality detection system and the industrial control display screen are powered by a battery, and the battery is charged by a photovoltaic system; the control device includes: A first determination unit for determining the consumption capacity of each power consumption combination when the working mode and the display mode are combined pairwise according to the first power consumption of each working mode and the second power consumption of each display model; A second determination unit for determining the historical sunny-day peak sunshine number H1 and the weather membership degree A of sunny intervals and cloudy days through the following formula: Ed1 = P × H1: Ed2 = P × H1 × A; Where Ed1 is the historical sunny-day power generation obtained through the MPPT of the photovoltaic system, Ed2 is the historical sunny-interval and cloudy-day power generation obtained through the MPPT, and P is the installed power of the photovoltaic system: A third determination unit for determining the daily power generation capacity of the photovoltaic system in the preset number of days according to the historical sunny-day peak sunshine number H1, the weather membership degree A of sunny intervals and cloudy days, the installed power P, and the weather forecast for the preset number of days; A construction unit for constructing a consumption matrix with the preset number of rows and the preset number of days as the number of columns according to the consumption capacity. Among them, the sum value of the consumption capacity in the upper row of the consumption matrix is greater than the sum value of the consumption capacity in the lower row of the consumption matrix. Each row constructed is unique in the consumption matrix, and each element in each row of the consumption matrix includes matrix elements corresponding to each day of the preset number of days; A calculation unit for calculating the estimated battery capacity of the battery every day in the preset number of days according to the current capacity of the battery and the power generation capacity; A fourth determination unit for comparing the consumption matrix and the estimated battery capacity row by row in the order from top to bottom to determine the target number of rows where all values are positive for the first time; A setting unit for controlling the mode of the water quality detection device on the current 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, When the third determination unit is used to determine the daily power generation capacity of the photovoltaic system in the preset number of days according to the historical sunny peak sunshine hours H1, the weather membership degree A of partly sunny days, the installed power P, and the weather forecast for the preset number of days, it includes: Determine the power generation capacity of the photovoltaic system with the weather type of partly sunny days in the preset number of days according to the following formula: Per1 = P × H1 × A / W; Determine the power generation capacity of the photovoltaic system with the weather type of sunny days in the preset number of days according to the following formula: Per2 = P × H1 / W; Wherein, Per1 is the power generation capacity of partly sunny days, Per2 is the power generation capacity of sunny days, W is the rated capacity of the battery. When the weather type of the weather forecast for the preset number of days is a weather type other than sunny days and partly sunny days, the power generation capacity is 0.
8. The control device according to claim 6, characterized in that, The historical sunny peak sunshine hours H1 includes: the sunny peak sunshine hours H1 closest to the current day or the sunny peak sunshine hours H1 of the same day in the previous year closest to this year when the day in the previous year was sunny.
9. The control device according to claim 6, characterized in that, When the setting unit is used to control the mode of the water quality detection device on the current day according to the working mode and display mode corresponding to the target number of rows, it includes: Determine the working mode and display mode corresponding to the first matrix element in the target number of rows; 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.
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. Among them, in the first working mode, the duration of the pump working and the pump stopping is equal. In the second working mode, the duration of the pump stopping is three times the duration of the pump working. The industrial control display screen includes a first display mode, a second display mode, and a third display mode. Among them, the first display mode is the audio-video mode, the second display mode is the static page mode, and the third display mode is the screen-off mode.
Citation Information
Patent Citations
Power consumption control method and apparatus thereof
CN101662244A
Self-powered water quality monitoring floating station
CN212622548U