Emergency water supply apparatus and method thereof, electronic device, storage medium
By using a combination of frequency converter and detection module in the water supply equipment, stable constant pressure water supply is achieved when the PLC fails, which solves the problems of unstable water pressure and energy waste when the water supply equipment fails, and improves the intelligence and real-time performance of the water supply equipment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-07
- Publication Date
- 2026-03-27
AI Technical Summary
The existing water supply equipment cannot achieve stable constant pressure water supply when the PLC fails, which means that users cannot use water normally before maintenance, and also results in serious energy waste.
Multiple booster devices are used, each equipped with a frequency converter and a water pump. The water supply pressure is monitored in real time through a detection module, the water pump is controlled by the frequency converter to regulate the water supply pressure, and prompt information is sent to the terminal equipment through a communication module to achieve precise control and stability of the water supply pressure.
It achieves stable constant pressure water supply in the event of PLC failure, reduces energy waste, improves the real-time performance and intelligence of water supply equipment, and reduces labor costs.
Smart Images

Figure CN116378169B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of water supply systems, and in particular to an emergency water supply device and method thereof, an electronic device, and a computer readable storage medium. BACKGROUND
[0002] In the prior art, urban water supply is an important livelihood project, which is related to the health of the people and social stability. It is an important task to comprehensively and systematically strengthen urban water supply work, promote high-quality development of urban water supply, continuously enhance the safety guarantee capacity of water supply, and meet the increasing needs of the people for a better life.
[0003] The existing water supply device will automatically shut down for protection once the PLC fails; the users being served are in a state of no water use during this period of time, and need to wait for the arrival of the operating personnel to repair before the water supply can be restored. Based on this, the present application provides an emergency water supply device and method thereof, an electronic device, and a computer readable storage medium to improve the prior art. SUMMARY
[0004] The purpose of the present application is to provide an emergency water supply device and method thereof, an electronic device, and a computer readable storage medium, which adopts a combination of a first preset pressure and detection data to stabilize the water supply pressure within the first preset pressure range, improving the prior art.
[0005] The purpose of the present application is achieved by adopting the following technical solutions:
[0006] In a first aspect, the present application provides an emergency water supply device for constant pressure water supply, comprising:
[0007] A plurality of booster devices, each comprising a frequency converter and a water pump connected electrically;
[0008] A control module electrically connected to each of the booster devices for controlling the start and stop of each of the booster devices;
[0009] The emergency water supply device further comprises:
[0010] A detection module for acquiring detection data in real time, the detection data comprising the water supply pressure of each of the booster devices;
[0011] A communication module for establishing a communication connection with a terminal device;
[0012] A memory storing a computer program;
[0013] A processor configured to implement the following steps when executing the computer program:
[0014] detect whether the water supply pressure of all the pressure increasing devices reaches the first preset pressure based on the detection data and the first preset pressure;
[0015] The number of the pressure increasing devices reaching the first preset pressure is regarded as a first qualified number, when the first qualified number is lower than a first predetermined value, the water pump supply is controlled by the frequency converter of each pressure increasing device, and the first prompt information is sent to the terminal device through the communication module, the first prompt information is used to prompt the frequency converter to control the water pump supply.
[0016] The technical scheme has the beneficial effects that: the emergency water supply equipment provided by the embodiment can improve the control accuracy of the water supply pressure, and the stability of the pressure control is good. Specifically, compared with the single acquisition of the PLC fault signal for the detection of the emergency water supply equipment, the above-mentioned emergency water supply equipment can use the combination of the first preset pressure and the detection data to monitor and adjust (i.e. switch to use the frequency converter of each pressure increasing device to control the water pump supply) the water supply pressure of all the pressure increasing devices. When the water supply pressure of the pressure increasing device does not reach the first preset pressure, the water pump supply can be controlled by the frequency converter of each pressure increasing device, so that the water supply pressure is stable at the first preset pressure. In addition, the detection module can obtain the detection data in time, and establish a connection with the terminal device by using the communication module, so that when the first qualified number is lower than the first predetermined value, the operation personnel can be fed back the water supply state and the running condition in time through the first prompt information. In addition, when the first qualified number is lower than the first predetermined value, the water pump supply is controlled by the control module for each pressure increasing device, so that the water supply pressure of each pressure increasing device can reach the first preset pressure, and the stability is good.
[0017] In the related art, only the PLC controller controls the water supply of the booster device. Once the PLC controller fails, only the standby water pump can be used to supply water to the user at a power frequency, and the water supply pressure fluctuates greatly. After the PLC fails, the problem is found by the operator on patrol, and the real-time performance is poor. In comparison, the emergency water supply method provided in the embodiment has at least the following beneficial effects: on the one hand, when the number of booster devices reaching the first preset pressure is less than the first predetermined value, the water pump electrically connected thereto is controlled by the frequency converter to supply water, so that the water supply pressure of the booster device reaches the first preset pressure. Generally speaking, when the number of booster devices reaching the first preset pressure is less than the first predetermined value, it can be considered that the water supply pressure of the booster device exceeding the predetermined number of booster devices of the operator cannot meet the normal use of the user. In this case, the emergency water supply method provided in the embodiment can make the frequency converter control the water pump to supply water, so that the water supply pressure of the booster device can be maintained at the first preset pressure, that is, the water pressure at the user's water end can be kept stable and the water supply pressure fluctuation is small. On the other hand, while the corresponding water pump is controlled by the frequency converter of each booster device to ensure normal water use of the user, the first prompt information is also sent to the terminal device through the communication module to remind the operator, that is, the operator can know the operation of the emergency water supply equipment in the first time without frequent on-site patrol of the emergency water supply equipment, and the real-time performance is strong. On the other hand, when the number of booster devices reaching the first preset pressure is less than the first predetermined value, the water pump electrically connected thereto is controlled by the frequency converter to supply water, compared with using the standby water pump to supply water to the user at a power frequency, the frequency converter can realize constant pressure water supply with stable water pressure. Because the frequency converter is a device that can control the speed of the motor by changing the frequency and voltage of the alternating current, it can be understood that the frequency converter can control the speed of the water pump, thereby adjusting the flow and pressure of the water supply. For example, when a large flow or high water pressure is needed, the frequency converter can increase the speed of the water pump, and when the water flow is small, the speed of the water pump is reduced, avoiding the instability of water pressure caused by a single fixed speed and wasting energy. Thus, a stable and undulating water supply state can be achieved. In addition, the frequency converter can effectively reduce the energy consumption of the water pump during operation, thereby achieving energy saving effect. In the traditional non-frequency converter water supply system, the water pump always operates at maximum power, even if the water flow is small, a large amount of energy will be wasted. By using the above-mentioned emergency water supply equipment, the frequency converter can intelligently adjust the speed of the water pump according to the actual demand of the operator, so that the water pump operates more efficiently and reduces energy waste.
[0018] In summary, the emergency water supply equipment provided in the embodiment uses a combination of the first preset pressure and the detection data to accurately monitor and adjust the water supply pressure of all booster devices, so that the water supply pressure is stabilized within the first preset pressure range.
[0019] In some alternative embodiments, the processor is further configured to perform the following steps:
[0020] When the first number of meeting the standard is lower than the second predetermined number and higher than the first predetermined number, the control module is used to control the frequency converter of each booster device so that each frequency converter controls the corresponding water pump to supply water.
[0021] The beneficial effects of the technical scheme are that the number of the booster devices reaching the first preset pressure is used to determine whether there are enough booster devices working normally, and when the number is lower than the second predetermined number and higher than the first predetermined number, it can be considered that a small number of booster devices have failed, and the booster devices higher than the first predetermined number (i.e., the sufficient number) can normally operate and provide water supply reaching the first preset pressure for the user. In this case, it can be considered that the control module has no failure and can normally operate, and the control module can be used to control the frequency converter of each booster device so that each frequency converter controls the corresponding water pump to supply water. The control module is used to control the booster device to supply water, and at least the water supply pressure of the booster device not less than the first predetermined number reaches the first preset pressure. At the same time, the size of the water supply pressure of each booster device and the first preset pressure is used to automatically select the appropriate water supply mode (using the frequency converter of each booster device to control the corresponding water pump to supply water and using the control module to control the frequency converter of each booster device so that each frequency converter controls the corresponding water pump to supply water), which has a high degree of intelligence, can effectively reduce the labor cost, and improve the water supply efficiency. In addition, when the first number of meeting the standard is lower than the second predetermined number and higher than the first predetermined number, the control module is used to control the water pump to supply water for each booster device, so that the water supply pressure of the booster device can reach the first preset pressure, and the fine level of operation of the water supply facility is improved.
[0022] In some alternative embodiments, when the first number of meeting the standard is lower than the second predetermined number and higher than the first predetermined number, the processor is further configured to perform the following steps:
[0023] Timing is started and timing information is obtained, and when the first number of meeting the standard is higher than the second predetermined number, the timing is cleared;
[0024] When the timing exceeds a preset time length, it is detected whether the water supply pressure of each booster device is higher than a second preset pressure, and the second preset pressure is less than the first preset pressure;
[0025] The number of the booster devices higher than the second preset pressure is taken as a second number of meeting the standard, and when the second number of meeting the standard is higher than the second predetermined number, the first preset pressure is reduced.
[0026] The beneficial effects of the technical scheme are as follows: when the first number of meeting the requirement is lower than the second predetermined value and higher than the first predetermined value, timing is started and timing information is recorded. When the preset time length is exceeded, the water supply pressure of each booster device is compared with the second preset pressure. If the number of booster devices with water supply pressure lower than the second preset pressure is higher than the second predetermined value, the first predetermined value can be reduced. When the first number of meeting the requirement is higher than the second predetermined value, the timer is reset. Only when the second number of meeting the requirement is higher than the second predetermined value, the first preset pressure is reduced, so that the switching between the use of the frequency converter of each booster device to control the corresponding water pump to supply water and the use of the control module to control the frequency converter of each booster device to control the corresponding water pump to supply water is not frequent. This is because, since the second preset pressure is lower than the first preset pressure, the number of booster devices with water supply pressure higher than the second preset pressure is used as the second number of meeting the requirement, that is, the judgment on the second number of meeting the requirement is more relaxed than the judgment on the first number of meeting the requirement. When the first number of meeting the requirement is lower than the second predetermined value, if the second number of meeting the requirement is higher than the second predetermined value, it can be considered that the setting of the first preset pressure is not suitable for the current application scenario (for example, the user's water consumption is large in recent period, in which case the water pressure fluctuates greatly, and it is easy to frequently switch between the use of the frequency converter of each booster device to control the corresponding water pump to supply water and the use of the control module to control the frequency converter of each booster device to control the corresponding water pump to supply water). Adjusting the first predetermined pressure parameter can improve the stability of water supply.
[0027] In summary, the emergency water supply equipment is prevented from frequently switching between the use of the frequency converter of each booster device to control the corresponding water pump to supply water and the use of the control module to control the frequency converter of each booster device to control the corresponding water pump to supply water, and the service life of the booster device is prolonged. The use of the second preset pressure for water pressure judgment makes the switching of the control mode of the booster device more precise, and the user's water demand can be better guaranteed.
[0028] In some optional embodiments, the first preset pressure includes a preset water supply pressure corresponding to each booster device; when the second number of meeting the requirement is not less than the second predetermined value, for each booster device, the processor is further configured to reduce the first preset pressure in the following manner:
[0029] Obtain a fault similarity between historical clustering data and fault data of the current booster device, the historical clustering data being obtained by clustering fault data of all the booster devices;
[0030] when the fault similarity is less than the fault preset similarity, obtaining an adjusted preset water supply pressure by using the fault data of the current booster device, taking the adjusted preset water supply pressure as a new preset water supply pressure corresponding to the current booster device, and updating the first preset pressure;
[0031] when the fault similarity is not less than the fault preset similarity, obtaining an adjusted preset water supply pressure by using the historical clustering data, taking the adjusted preset water supply pressure as a new preset water supply pressure corresponding to the current booster device, and updating the first preset pressure.
[0032] The beneficial effects of the technical solution are as follows: the first preset pressure includes the preset water supply pressure of each booster device; when the second qualified number is not less than the second predetermined value, the fault similarity of each booster device is obtained and judged, and then the preset water supply pressure is adjusted by using the fault data of the current booster device or the historical clustering data, which has strong flexibility. On the one hand, the preset water supply pressure of each booster device can be automatically adjusted to better meet the water demand of users and improve the water supply quality to users. On the other hand, by analyzing the fault similarity between the historical clustering data and the fault data of the current booster device, repeated adjustment of the preset water supply pressure for a certain booster device can be effectively avoided, and the maintenance cost and time are saved. Specifically, when a certain booster device fails, if the fault data of the device is directly used to adjust the preset water supply pressure, the problem may still not be solved after multiple adjustments, which wastes maintenance cost and time. By comparing the historical clustering data to calculate the fault similarity, it can be judged whether the fault of the device is a regular fault (i.e., the similarity with the historical clustering data is relatively high) or whether special preset water supply pressure adjustment is needed for the booster device. If the fault similarity is not less than the fault preset similarity, it means that the fault of the booster device does not have special properties and can be adjusted in a regular way. If the fault similarity is less than the fault preset similarity, it means that the fault of the booster device has special properties and needs special preset water supply pressure adjustment for the booster device. The preset water supply pressure of each booster device can be automatically adjusted more scientifically, avoiding invalid adjustment, improving efficiency, and reducing unnecessary consumption. On the other hand, by updating the first preset pressure, the balance and stability of the entire water supply system are better guaranteed, and the frequent switching of the water pump water supply controlled by the frequency converter of each booster device and the control of the frequency converter of each booster device by the control module to make the water pump water supply controlled by each frequency converter can be avoided, prolonging the service life of the emergency water supply equipment.
[0033] In some alternative embodiments, when the failure similarity of any one of the pressure boosters is less than a preset failure similarity, the processor is further configured to perform the following steps:
[0034] Start counting and add one to the count number;
[0035] Detect whether the count number is greater than a preset count number, and when the count number is greater than the preset count number, clear the count number, generate a fourth prompt information, and send the fourth prompt information to the terminal device, the fourth prompt information being used to prompt that the count number is greater than the preset count number.
[0036] The technical scheme has the beneficial effects that when the count number reaches the preset count number, it is indicated that the failures of a plurality of (or a plurality of times) pressure boosters are not regular failures (i.e., the similarity with historical clustering data is low), and if not checked by an operator in time, greater damage will inevitably be caused. When the failure similarity is less than the preset failure similarity, the count number is started and added by one, and the failures that are not similar are counted, so that the operator can make more accurate diagnosis and processing for possible problems in the future.
[0037] In some alternative embodiments, when the first number of meeting the requirements is higher than the second predetermined number of values, the processor is further configured to perform the following steps:
[0038] Obtain state information of the control module, the state information being used to indicate that the control module has a failure or has no failure;
[0039] When the state information indicates that the control module has a failure, use the frequency converter of each pressure booster to control the corresponding water pump to supply water;
[0040] When the state information indicates that the control module has no failure, use the control module to control the frequency converter of each pressure booster to make each frequency converter control the corresponding water pump to supply water.
[0041] The technical scheme has the beneficial effects that generally, when the control module has a failure, the water supply equipment for the user will be inevitably affected, and the automatic switching to use the frequency converter of each pressure booster to control the corresponding water pump to supply water before the operator repairs improves the satisfaction of the operator, reduces the failure processing cost and downtime, and has relatively significant practical value and economic benefits.
[0042] In some alternative embodiments, the first preset pressure includes one or more preset water supply pressures, and each preset water supply pressure corresponds to one or more pressure boosters.
[0043] The technical scheme has the beneficial effects that the parameters (such as power) and states (such as failure rate) of some partial booster devices on site are fully considered to be the same or similar, one preset water supply pressure is used for multiple similar booster devices, the water supply precision is improved, and the management of the operator is facilitated.
[0044] In some optional embodiments, the communication module comprises at least one of a WIFI communication unit, a 3G communication unit, a 4G communication unit and a 5G communication unit, and is configured to establish a remote communication connection with the terminal device.
[0045] The technical scheme has the beneficial effects that the communication module establishes a remote communication connection with the terminal device through WIFI, 3G, 4G and 5G, the operator can monitor the equipment operation state in real time, discover and handle possible faults in time, fundamentally improve the reliability and safety of the equipment, and improve the reliability and safety of the emergency water supply equipment.
[0046] In a second aspect, the application provides an emergency water supply method, which is configured to utilize the emergency water supply equipment of any one of the first aspect to perform constant pressure water supply, and the method comprises the following steps:
[0047] Based on the detection data and the first preset pressure, it is detected whether the water supply pressure of all the booster devices reaches the first preset pressure;
[0048] The number of the booster devices reaching the first preset pressure is taken as a first qualified number, when the first qualified number is lower than a first predetermined value, the water pump corresponding to each booster device is controlled by the frequency converter of the booster device, and the first prompt information is sent to the terminal device through the communication module, the first prompt information is configured to prompt the frequency converter to control the water pump corresponding to the booster device.
[0049] In a third aspect, the application provides a computer readable storage medium, which is configured to utilize the emergency water supply equipment of any one of the first aspect to perform constant pressure water supply, the electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method of the second aspect when executing the computer program.
[0050] In a fourth aspect, the application provides a computer readable storage medium, which stores a computer program, and the computer program implements the steps of the method of any one of the second aspect when executed by a processor. BRIEF DESCRIPTION OF DRAWINGS
[0051] The application will be further described below in combination with the drawings and embodiments.
[0052] Figure 1A flowchart of an emergency water supply method provided by an embodiment of the application is shown.
[0053] Figure 2 A flowchart of another emergency water supply method provided by an embodiment of the application is shown.
[0054] Figure 3 A flowchart of sending third prompt information provided by an embodiment of the application is shown.
[0055] Figure 4 A flowchart of updating the first preset pressure provided by an embodiment of the application is shown.
[0056] Figure 5 A flowchart of sending fourth prompt information provided by an embodiment of the application is shown.
[0057] Figure 6 A flowchart of the execution steps corresponding to the state information provided by an embodiment of the application is shown.
[0058] Figure 7 A structural diagram of an emergency water supply device provided by an embodiment of the application is shown.
[0059] Figure 8 A structural diagram of an electronic device provided by an embodiment of the application is shown.
[0060] Figure 9 A structural diagram of a program product provided by an embodiment of the application is shown. DETAILED DESCRIPTION
[0061] The technical solutions in the application will be described below with reference to the accompanying drawings and specific embodiments of the application. It should be noted that the following described embodiments or technical features can be combined arbitrarily to form new embodiments without conflict.
[0062] In the embodiments of the application, the words such as "exemplary" or "for example" are used to mean example, illustration or description. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the application should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. In fact, the words such as "exemplary" or "for example" are intended to present the related concept in a specific manner.
[0063] The technical field and related terms of the embodiments of the application will be described briefly below.
[0064] Constant pressure water supply refers to a technology for controlling the output water pressure of a water pump to maintain constant water pressure. The output frequency of the water pump can be controlled by a frequency converter to control the operating speed and water flow of the water pump, thereby ensuring the stability of the water pressure. The constant pressure water supply technology is suitable for various occasions requiring stable water pressure, such as industrial production, building tap water supply, high-rise building water pressure lifting, etc. Under normal working conditions, the water supply of the booster device is adjusted in real time according to the monitored water pressure data and preset parameters to achieve the target water pressure and keep it constant. This can effectively avoid problems such as abnormal water level or flow, excessively high or low water temperature caused by pressure fluctuations of traditional water pump systems, and ensure the safety and reliability of production or use.
[0065] The frequency converter controls the input voltage and frequency of the motor to adjust the speed of the motor, thereby controlling the water pressure. In the operation of the frequency converter, the voltage of the alternating current power supply is converted into direct current voltage, which is then inverted and converted into alternating current voltage output to the motor, thereby controlling the operating speed of the motor.
[0066] The detection module is used to obtain the water supply pressure of each water pump in real time, which includes, for example, a pressure sensor for detecting the pressure of the inlet and outlet water pipes and the water pump. The pressure sensor is, for example, a piezoelectric sensor, a metal diaphragm sensor, and a silicon piezoresistive sensor, etc.
[0067] The PLC (Programmable Logic Controller) is an electronic device based on digital circuit technology and embedded system design, which can complete control and judgment operations in automation and monitoring systems through programming. In related technologies, the pressure sensing signal obtained by the pressure sensor is directly sent to the PLC, which controls the operation of the frequency converter. When the frequency converter is running, the water pump electrically connected to the frequency converter supplies water.
[0068] The operator generally refers to the on-site staff of the emergency water supply equipment, such as employees of water companies, logistics support personnel of property management companies, etc. Their work content is generally to adjust the PLC parameters according to the user's water consumption to achieve stable constant pressure water supply, and to patrol the machine room of the emergency water supply equipment and repair and record the faults of the emergency water supply equipment.
[0069] The user generally refers to the customers of the company where the operator works, rather than the person directly controlling the emergency water supply equipment.
[0070] Due to the existing water supply equipment, the water supply is directly controlled by the PLC. Once the PLC fails, only the operator can repair it, and the water supply is restored after the repair is completed. Even if the standby water pump is manually switched to supply power frequency water to the user, the water supply pressure stability is poor. This is because the water pump driven by the power frequency usually uses on-off control, which has a slow response time and cannot adjust the output water flow of the water pump in real time. In order to provide constant pressure water supply when the operator is not available to solve the PLC failure, the application provides an emergency water supply equipment and method, an electronic device, and a computer readable storage medium. The technical solutions of the embodiments of the present application and how the technical solutions of the embodiments of the present application solve the above technical problems will be described in detail below in combination with the drawings and specific embodiments. It should be noted that the embodiments described below can be combined with each other or between technical features to form new embodiments. For the same or similar concepts or processes, they can not be described in detail in some embodiments. Obviously, the described embodiments are some of the embodiments of the present application, not all.
[0071] Method embodiment
[0072] Referring to Figure 1 , Figure 1 A flowchart of an emergency water supply method provided by an embodiment of the present application is shown.
[0073] An emergency water supply method is provided by an embodiment of the present application, which is used for constant pressure water supply by using an emergency water supply equipment.
[0074] The emergency water supply equipment comprises:
[0075] A plurality of booster devices, each of which comprises a frequency converter and a water pump connected electrically;
[0076] A control module, which is electrically connected to each of the booster devices and is used for controlling the start and stop of each of the booster devices;
[0077] A detection module, which is used for acquiring detection data in real time, the detection data comprising water supply pressure of each of the booster devices;
[0078] A communication module, which is used for establishing a communication connection with a terminal device. The method comprises:
[0079] Step S101: Based on the detection data and a first preset pressure, it is detected whether the water supply pressure of all the booster devices reaches the first preset pressure;
[0080] Step S102: the number of the pressure increasing devices reaching the first preset pressure is taken as a first reaching number, when the first reaching number is lower than a first predetermined number, the water pump connected to each of the pressure increasing devices is controlled to supply water by using the frequency converter of each of the pressure increasing devices, and first prompt information is sent to the terminal device through the communication module. The first prompt information is used to prompt the frequency converter to control the corresponding water pump to supply water. The control module, for example, comprises a PLC controller.
[0081] Therefore, the emergency water supply method provided by the embodiment can realize accurate control of water supply pressure and good stability. Specifically, compared with detecting the emergency water supply equipment by only obtaining the fault signal of the PLC, the first preset pressure and the detection data are combined to realize accurate monitoring and adjustment (i.e., switching to control the corresponding water pump to supply water by using the frequency converter of each of the pressure increasing devices) of the water supply pressure of all the pressure increasing devices. When the water supply pressure of the pressure increasing device does not reach the first preset pressure, the working condition of the water pump can be adjusted by controlling the corresponding water pump to supply water by using the frequency converter of each of the pressure increasing devices, so that the water supply pressure is stabilized at the first preset pressure. In addition, the detection module can obtain the detection data in time, and establish a connection with the terminal device by using the communication module, so that when the first reaching number is lower than the first predetermined number, the water supply state and the running condition can be fed back in time through the first prompt information. In addition, when the first reaching number is lower than the first predetermined number, the water pump connected to each of the pressure increasing devices is controlled to supply water by using the control module, so that the water supply pressure of each of the pressure increasing devices can reach the first preset pressure, and the stability is good.
[0082] In the related art, only the PLC controller is used to control the pressure increasing device to supply water, and once the PLC controller fails, only the standby water pump can be used to supply water at a power frequency to the user, and the water supply pressure fluctuates greatly. After the PLC fails, the problem is found by the operator through patrol, and the real-time performance is poor. Compared with the related art, the emergency water supply method provided by the embodiment has at least the following beneficial effects:
[0083] On the one hand, when the number of the pressure increasing devices reaching the first preset pressure is lower than the first predetermined number, the water pump connected to the pressure increasing device is controlled to supply water by using the frequency converter, so that the water supply pressure of the pressure increasing device reaches the first preset pressure. Generally, when the number of the pressure increasing devices reaching the first preset pressure is lower than the first predetermined number, it can be considered that the water supply pressure of the pressure increasing device exceeding the number of the pressure increasing devices predetermined by the operator cannot meet the normal use of the user. In this case, the emergency water supply method provided by the embodiment can control the water pump to supply water by using the frequency converter, so that the water supply pressure of the pressure increasing device can be maintained at the first preset pressure, that is, the water pressure at the water use end of the user can be kept stable, and the water supply pressure fluctuates little.
[0084] On the other hand, the frequency converter of each booster device is used to control the water supply of the corresponding water pump to ensure normal water use of the user, and the first prompt information is sent to the terminal device through the communication module to remind the operator that the operation personnel can know the operation condition of the emergency water supply equipment in the first time without frequent on-site inspection of the emergency water supply equipment, and the real-time performance is strong.
[0085] In another aspect, when the number of the booster devices reaching the first preset pressure is less than the first predetermined number, the water pump connected with the frequency converter is used for water supply. Compared with the use of standby water pump for power frequency water supply to the user, the frequency converter can realize constant pressure water supply with stable water pressure. Because the frequency converter is a device capable of controlling the speed of the motor by changing the frequency and voltage of the alternating current, it can be understood that the frequency converter can control the speed of the water pump, thereby adjusting the flow and pressure of the water supply. For example, when a large flow or high water pressure is needed, the frequency converter can increase the speed of the water pump, and when the water flow is small, the speed of the water pump is reduced, avoiding the instability of water pressure caused by a single fixed speed and the waste of energy, thereby realizing stable and undulating water supply state. In addition, the frequency converter can effectively reduce the energy consumption of the water pump during operation, thereby realizing the energy saving effect. In the traditional non-frequency converter water supply system, the water pump always operates at the maximum power, even if the water flow is small, a large amount of energy will be wasted. By using the above emergency water supply method combined with the frequency converter, the speed of the water pump can be intelligently adjusted according to the actual demand of the operator, so that the water pump operates more efficiently and reduces energy waste.
[0086] In summary, the emergency water supply method provided by the embodiment uses the combination of the first preset pressure and the detection data to accurately monitor and adjust the water supply pressure of all booster devices, so that the water supply pressure is stabilized within the range of the first preset pressure.
[0087] The first preset pressure can be a pressure value, which is a general preset water supply pressure corresponding to each booster device. For example, the first preset pressure of the first preset pressure is any one of 1.20Mpa, 1.21Mpa or 1.22Mpa.
[0088] The first preset pressure can also be a plurality of pressure values, which are respectively corresponding to each of the booster devices, that is, the first preset pressure includes a one-to-one corresponding preset water supply pressure of each of the booster devices.
[0089] The first preset pressure can also include one or more preset water supply pressures, each of which corresponds to one or more of the booster devices.
[0090] The water supply pressure of the booster device reaching the first preset pressure means that the water supply pressure of the booster device is not less than the first preset pressure.
[0091] The first predetermined value is not limited in the present application, and in a specific application, the first predetermined value is an integer greater than 1, for example, 3, 5, 11, etc.
[0092] The form of the first prompt information and the second, third, fourth and fifth prompt information in the embodiments of the present application is not limited, for example, the application pop-up window form, the ringing form, the voice short message information form or the text short message information form, etc. The terminal device used by the configuration personnel is not limited, for example, it can be a mobile phone, a tablet computer, a notebook computer, a desktop computer, a smart wearable device, etc. a smart terminal device with a display screen.
[0093] As an example, the emergency water supply device has 3 booster devices, 1# booster device, 2# booster device and 3# booster device, the first preset pressure is 1.20Mpa, and the first predetermined value is 2. The detection module is used to obtain the detection data including the water supply pressure of each booster device in real time, and the detection data includes "1# booster device, 1.1Mpa; 2# booster device, 1.21Mpa; 3# booster device, 1.15Mpa". That is, the first qualified number is 1, which is less than the first predetermined value. In this case, it can be considered that the PLC water supply effect is not good, and it is more likely that the PLC fails, and the frequency converter control of each booster device is used to control the corresponding water pump to supply water, so that the frequency converter control of the water pump is used to supply water, and the intelligent degree is high. At the same time, the pop-up window prompt (i.e. the first prompt information) is sent to the terminal device through the communication module, and the pop-up window is used to display the text information "Please note that the frequency converter control of each booster device has been switched to control the corresponding water pump to supply water".
[0094] As another example, the emergency water supply device has 3 booster devices, 1# booster device, 2# booster device and 3# booster device, the first preset pressure corresponding to the 1# booster device is 1.20Mpa, the preset water supply pressure corresponding to the 2# booster device is 0.90Mpa, and the preset water supply pressure corresponding to the 3# booster device is 1.05Mpa.
[0095] As another example, the emergency water supply device has 3 booster devices, 1# booster device, 2# booster device and 3# booster device, the first preset pressure corresponding to the 1# booster device is 1.20Mpa, the first preset pressure data corresponding to the 2# booster device and the 3# booster device is the same, which is 0.90Mpa.
[0096] Referring to Figure 2 , Figure 2 The flowchart of another emergency water supply method provided by the embodiments of the present application is shown.
[0097] In some embodiments, the method further comprises:
[0098] Step S103: when the first number of meeting the standard is lower than the second predetermined number and higher than the first predetermined number, using the control module to control the frequency converter of each booster device so that each frequency converter controls the corresponding water pump to supply water. Meanwhile, second prompt information can also be sent to the terminal device through the communication module; the second predetermined number is greater than the first predetermined number;
[0099] Thus, the number of booster devices reaching the first preset pressure is used to determine whether there are enough booster devices that can work normally. When this number is lower than the second predetermined number and higher than the first predetermined number, it can be considered that a small number of booster devices have failed, and the booster devices higher than the first predetermined number (i.e., the sufficient number) can work normally and provide water reaching the first preset pressure to the user. In this case, it can be considered that the control module has no failure and can work normally, and using the control module to control the frequency converter of each booster device so that each frequency converter controls the corresponding water pump to supply water can use the control module to control the booster device to supply water, so that the water supply pressure of at least the first predetermined number of booster devices reaches the first preset pressure. Meanwhile, the communication module is also used to send second prompt information to the terminal device to prompt the operator that a certain number of booster devices have failed so that they cannot make the water supply pressure reach the first preset pressure, so as to facilitate the operator to troubleshoot. Meanwhile, using the water supply pressure of each booster device and the size of the first preset pressure to automatically select a suitable water supply mode (using the frequency converter of each booster device to control the corresponding water pump to supply water and using the control module to control the frequency converter of each booster device so that each frequency converter controls the corresponding water pump to supply water), and sending different prompt information (first prompt information and second prompt information) to the terminal device have high intelligentization and can effectively reduce labor costs and improve water supply efficiency. In addition, when the first number of meeting the standard is lower than the second predetermined number and higher than the first predetermined number, using the control module to control the water pump to supply water for each booster device can make the water supply pressure of the booster device reach the first preset pressure, and improve the fine level of water supply facility operation.
[0100] The application does not limit the second predetermined number, as long as the second predetermined number is greater than the first predetermined number. In specific applications, the second predetermined number is, for example, 4, 8, 18, etc.
[0101] As an example, the emergency water supply device has 5 booster devices, which are 1# booster device, 2# booster device, 3# booster device, 4# booster device and 5# booster device, the first preset pressure is 1.20Mpa, the first predetermined value is 2, and the second predetermined value is 4. The detection module is used to obtain detection data including the water supply pressure of each booster device in real time, and the detection data includes that the 1# booster device is 1.21Mpa, the 2# booster device is 1.21Mpa, the 3# booster device is 1.21Mpa, the 4# booster device is 1.01Mpa, and the 5# booster device is 1.01Mpa. That is, the first qualified number is 3, which is greater than the first predetermined value and less than the second predetermined value. In this case, it can be considered that the PLC water supply effect is good (or better than the frequency converter water supply), and the control module is used to control the frequency converter of each booster device to control the corresponding water pump to supply water, so that the control module is used to control the water pump to supply water, and the intelligent degree is high. At the same time, the communication module is used to send a pop-up window prompt (that is, the second prompt information) to the terminal device, and the pop-up window is used to display the text information "Please note that the control module has been switched to control the frequency converter of each booster device to control the corresponding water pump to supply water".
[0102] In some embodiments, when the first qualified number is higher than the second predetermined value, it can be considered that the water supply pressure effect of the emergency water supply device in the current state is the best, and no operation is performed, that is, the water supply is supplied according to the mode before the first qualified number is obtained.
[0103] Referring to Figure 3 , Figure 3 A flowchart for sending third prompt information provided by an embodiment of the application is shown.
[0104] In some embodiments, when the first qualified number is lower than the second predetermined value and higher than the first predetermined value, the emergency water supply method further includes:
[0105] Step S104: start timing and obtain timing information, and when the first qualified number is higher than the second predetermined value, clear the timing;
[0106] Step S105: when the timing exceeds a preset time length, detecting whether the water supply pressure of each booster device is higher than a second preset pressure, the second preset pressure being less than the first preset pressure;
[0107] Step S106: taking the number of booster devices higher than the second preset pressure as a second qualified number, and when the second qualified number is higher than the second predetermined value, reducing the first preset pressure. At the same time, the communication module can also be used to send third prompt information to the terminal device.
[0108] Thus, when the first number of meeting the requirement is lower than the second predetermined value and higher than the first predetermined value, the timing is started and the timing information is recorded. When the preset time length is exceeded, the water supply pressure of each booster device is compared with the second preset pressure, and if the number of booster devices less than the second preset pressure is higher than the second predetermined value, the first predetermined value can be reduced; when the first number of meeting the requirement is higher than the second predetermined value, the timer is cleared.
[0109] Only when the second number of meeting the requirement is higher than the second predetermined value, the first preset pressure is reduced, so as to switch the frequency of using the frequency converter of each booster device to control the corresponding water pump to supply water and using the control module to control the frequency converter of each booster device to control the corresponding water pump to supply water. This is because, since the second preset pressure is less than the first preset pressure, the number of booster devices higher than the second preset pressure is taken as the second number of meeting the requirement, that is, the judgment of the second number of meeting the requirement is more relaxed than the judgment of the first number of meeting the requirement. When the first number of meeting the requirement is lower than the second predetermined value, if the second number of meeting the requirement is higher than the second predetermined value, it can be considered that the setting of the first preset pressure is not suitable for the current application scenario (for example, the user's water consumption is large recently, in which case the water pressure fluctuates greatly, and it is easy to frequently switch the frequency converter of each booster device to control the corresponding water pump to supply water and using the control module to control the frequency converter of each booster device to control the corresponding water pump to supply water), adjusting the first predetermined pressure parameter can improve the stability of water supply.
[0110] In summary, the emergency water supply equipment is avoided to frequently switch between using the frequency converter of each booster device to control the corresponding water pump to supply water and using the control module to control the frequency converter of each booster device to control the corresponding water pump to supply water, and the service life of the booster device is prolonged. The water pressure is judged by using the second preset pressure, the switching of the control mode of the booster device is more fine, and the user's water demand can be better guaranteed. The communication module sends prompt information to the terminal device, which improves the use experience of the operator.
[0111] As an example, the emergency water supply device has 5 pressure boosters, the first preset pressure is 1.20 Mpa, the second preset pressure is 1.10 Mpa, the first predetermined value is 2, and the second predetermined value is 4. The preset time length is 30 seconds. The detection module is used to obtain detection data including the water supply pressure of each pressure booster in real time. The detection data includes "1# pressure booster, 1.21 Mpa; 2# pressure booster, 1.21 Mpa; 3# pressure booster, 1.21 Mpa; 4# pressure booster, 1.15 Mpa; 5# pressure booster, 1.11 Mpa". The first qualified number is 3, which is greater than the first predetermined value and less than the second predetermined value. At this time, the timing starts, and the water supply pressure of each pressure booster is detected whether it is higher than the second preset pressure at 31 seconds to obtain the second qualified number as 5, the first preset pressure is reduced to 1.15, and the third prompt information is sent to the terminal device through the communication module. The pop-up window prompt (i.e. the third prompt information) is sent to the terminal device through the communication module. The pop-up window is used to display the text information "Please note that the first preset pressure has been switched to 1.15 Mpa".
[0112] Referring to Figure 4 , Figure 4 A flowchart for updating the first preset pressure is shown.
[0113] In some embodiments, the first preset pressure includes a preset water supply pressure corresponding to each pressure booster; when the second qualified number is not less than the second predetermined value, the first preset pressure is reduced in the following manner for each pressure booster:
[0114] Step S201: Obtain a fault similarity between historical clustering data and fault data of the current pressure booster, wherein the historical clustering data is obtained by clustering fault data of all pressure boosters;
[0115] Step S202: When the fault similarity is less than a preset fault similarity, an adjusted preset water supply pressure is obtained using the fault data of the current pressure booster, the adjusted preset water supply pressure is used as the new preset water supply pressure corresponding to the current pressure booster, and the first preset pressure is updated;
[0116] Step S203: When the fault similarity is not less than the preset fault similarity, an adjusted preset water supply pressure is obtained using the historical clustering data, the adjusted preset water supply pressure is used as the new preset water supply pressure corresponding to the current pressure booster, and the first preset pressure is updated.
[0117] Thus, the first preset pressure includes a preset water supply pressure of each booster device, when the second qualified number is not less than the second predetermined value, the fault similarity of each booster device is obtained and judged, and then the preset water supply pressure is adjusted according to the judgment result, or the preset water supply pressure is adjusted by using the historical clustering data, and the flexibility is relatively strong.
[0118] On the one hand, the preset water supply pressure of each booster device can be automatically adjusted to better meet the water demand of the user and improve the water supply quality of the user. On the other hand, by analyzing the fault similarity between the historical clustering data and the fault data of the current booster device, repeated adjustment of the preset water supply pressure for a certain booster device can be effectively avoided, and the maintenance cost and time are saved. Specifically, when a certain booster device fails, if the fault data of the device is directly used to adjust the preset water supply pressure, the problem may still not be solved after multiple adjustments, which wastes maintenance cost and time. By comparing the historical clustering data to calculate the fault similarity, it can be judged whether the fault of the booster device is a regular fault (i.e., the similarity with the historical clustering data is relatively high) or whether the preset water supply pressure needs to be adjusted for the booster device. If the fault similarity is not less than the fault preset similarity, it means that the fault of the booster device does not have special properties, and the regular adjustment can be used; if the fault similarity is less than the fault preset similarity, it means that the fault of the booster device has special properties, and the preset water supply pressure needs to be adjusted for the booster device. The preset water supply pressure of each booster device can be automatically adjusted more scientifically, avoiding invalid adjustment, improving efficiency, and reducing unnecessary consumption. On the other hand, by updating the first preset pressure, the balance and stability of the entire water supply system can be better guaranteed, and the frequent switching of the frequency converter of each booster device to control the corresponding water pump to supply water and the control module to control the frequency converter of each booster device to make each frequency converter control the corresponding water pump to supply water can be avoided, prolonging the service life of the emergency water supply equipment.
[0119] The fault preset similarity is not limited in the application, which is, for example, 0.8, 0.85 or 0.9.
[0120] The fault data is, for example, the water supply pressure before the booster device is repaired, the water supply pressure after the repair, the fault type, the fault duration, etc. Clustering all the fault data of the booster devices can obtain the historical clustering data with all the booster devices as the main body.
[0121] As an example, a water treatment company has 100 booster devices, which have failed at different time points, and the maintenance personnel have recorded the failure data of each booster device, including the water supply pressure before repair, the water supply pressure after repair, the failure type, the failure duration, and the like. Based on the failure data, the failure data of all booster devices can be aggregated by a clustering algorithm. Then, the similarity between the failure data of a single booster device and the historical clustering data is calculated. The way to calculate the similarity between the failure data of a single booster device and the historical clustering data can be to input the failure data of a single booster device and the historical clustering data into a similarity model to obtain the similarity between the two.
[0122] The similarity model may, for example, be a keyword matching-based similarity model (such as using N-gram similarity), or a vector cosine similarity-based similarity model, or a deep learning-based similarity model, and the like. When a deep learning-based similarity model is used, the similarity model can be obtained by training a preset deep learning network using an interactive information similarity training set.
[0123] The adjusted preset water supply pressure obtained using the failure data of the current booster device, or the adjusted preset water supply pressure obtained using the historical clustering data, can be a regression model in supervised learning, such as linear regression, decision tree regression, random forest regression, and the like, to predict the adjusted preset water supply pressure.
[0124] As an example, the training process of the prediction model includes:
[0125] Obtaining a training set, the training set including a plurality of training data, each training data including a sample failure data and labeled data of a water supply pressure corresponding to the failure data;
[0126] For each training data in the training set, the following processing is performed: inputting the sample failure data in the training data into a preset deep learning model to obtain predicted data of the water supply pressure corresponding to the failure data;
[0127] Based on the predicted data and the labeled data, updating the model parameters of the deep learning model;
[0128] Detecting whether a preset training end condition is met; if yes, the trained deep learning model is used as the prediction model; if no, the deep learning model is further trained using the next training data.
[0129] Therefore, by designing and establishing an appropriate number of neural computing nodes and a multi-layered computational hierarchy, and selecting suitable input and output layers, a pre-defined first deep learning model can be obtained. Through the learning and optimization of this pre-defined first deep learning model, a functional relationship from input to output can be established. Although it is not possible to find a 100% accurate functional relationship between input and output, it can approximate the real-world correlation as closely as possible. The power consumption prediction model trained in this way can predict the power consumption rate of the stimulator based on the stimulator's configuration information, and the prediction results are highly accurate and reliable.
[0130] The prediction model can be trained using the above training process in the embodiments of this application. In other embodiments, the prediction model can be trained in advance.
[0131] This application does not limit the method of obtaining the annotation data. For example, it can be done manually, automatically or semi-automatically.
[0132] The embodiments of this application do not limit the training process of the prediction model. For example, it can adopt the supervised learning training method described above, or the semi-supervised learning training method, or the unsupervised learning training method.
[0133] The embodiments of this application do not limit the preset training termination conditions. For example, it may be that the number of training sessions reaches a preset number (the preset number of training sessions is, for example, 1 time, 3 times, 10 times, 100 times, 1000 times, 10000 times, etc.), or it may be that the training data in the training set has completed one or more training sessions, or it may be that the total loss value obtained in this training is not greater than the preset loss value.
[0134] As an example, features are extracted from historical clustering data and current booster device fault data, and then input into a trained similarity model to obtain a fault similarity of 0.85. The preset fault similarity is set to 0.95. The current booster device fault data is input into the prediction model to obtain a predicted water supply pressure of 1.01 MPa. This adjusted preset water supply pressure is then used as the new preset water supply pressure for the current booster device, and the first preset pressure is updated accordingly.
[0135] As another example, fault data or historical clustering data is input into a trained prediction model to obtain output prediction data, and the output prediction data is used as a new preset water supply pressure.
[0136] See Figure 5 , Figure 5 A schematic diagram of a process for sending a fourth prompt message is shown in an embodiment of this application.
[0137] In some embodiments, when the fault similarity is less than a preset fault similarity (i.e., step S202), the method further includes:
[0138] Step S301: Start the statistics and increment the count by one;
[0139] Step S302: Detect whether the number of statistical counts is greater than a preset number of statistical counts. If the number of statistical counts is greater than the preset number of statistical counts, clear the number of statistical counts to zero, generate a fourth prompt message, and send it to the terminal device. The fourth prompt message is used to indicate that the number of statistical counts is greater than the preset number of statistical counts.
[0140] Therefore, when the number of statistical counts reaches the preset count, it indicates that the failures of several (or multiple) booster units are not routine failures (i.e., the similarity to historical cluster data is relatively low). If these failures are not checked by operators in a timely manner, they will inevitably cause greater damage. When the failure similarity is less than the preset failure similarity, statistics are started and the count is incremented by one. Failures that are not very similar are counted so that subsequent operators can make more accurate diagnoses and handle potential problems.
[0141] This embodiment does not limit the preset number of statistical counts, which are generally positive integers, such as 3, 6, 9, etc.
[0142] As an example, the original count is 0, and the preset count is 2. When the fault similarity of 3 booster units is less than the preset fault similarity, 3 counts are performed, meaning the count exceeds the preset count. A pop-up notification (i.e., the fourth notification message) is sent to the terminal device through the communication module, displaying the text "Please note that the count of abnormal faults in the booster unit has exceeded the limit."
[0143] See Figure 6 , Figure 6 This document illustrates a flowchart of the execution steps corresponding to a status information provided in an embodiment of this application.
[0144] In some embodiments, when the first number of items meeting the target is higher than the second predetermined value, the method further includes:
[0145] Step S107: Obtain the status information of the control module, the status information being used to indicate whether the control module has a fault or not;
[0146] Step S108: When the status information indicates that the control module is faulty, the frequency converter of each booster device is used to control the corresponding water pump to supply water; at the same time, a fifth prompt message can also be sent to the terminal device through the communication module.
[0147] Step S109: When the state information indicates that the control module is not faulty, using the control module to control the frequency converter of each booster device to make each frequency converter control the corresponding water pump to supply water.
[0148] Thus, generally speaking, when the control module is faulty, the emergency water supply equipment will inevitably affect the water supply to the user. Before the operator repairs, it is automatically switched to the water supply mode of using the frequency converter of each booster device to control the corresponding water pump to supply water, and the satisfaction of the operator is improved by sending the fifth prompt information to the user, the failure handling cost and downtime are reduced, and it has relatively significant practical value and economic benefits.
[0149] The state information can be in the form of words, numbers or symbols, etc. For example, when the state information is "1", "no fault", "#1", it indicates that the control module is not faulty, and when the state information is "2", "faulty", "#0", it indicates that the control module is faulty.
[0150] As an example, the first number of meeting the requirements is 6, and the second predetermined value is 4, and the first number of meeting the requirements is not less than the second predetermined value. In this case, the state information of the control module is obtained, and according to the state information of the control module, it is checked whether to use the frequency converter of each booster device to control the corresponding water pump to supply water or to use the control module to control the frequency converter of each booster device to make each frequency converter control the corresponding water pump to supply water.
[0151] In some embodiments, the first preset pressure includes one or more preset water supply pressures, and each preset water supply pressure corresponds to one or more booster devices.
[0152] Thus, sufficient consideration is given to the case that the parameters (such as power) and states (such as failure rate) of part of the booster devices on site are the same or similar. The same preset water supply pressure is used for multiple similar booster devices, which improves the water supply accuracy and facilitates the management of the operator.
[0153] In some embodiments, the communication module includes at least one of a WIFI communication unit, a 3G communication unit, a 4G communication unit, and a 5G communication unit, for establishing a remote communication connection with the terminal device.
[0154] Thus, the communication module establishes a remote communication connection with the terminal device through WIFI, 3G, 4G, etc. The operator can monitor the equipment running state in real time, discover and handle possible faults in time, fundamentally improve the reliability and safety of the equipment, and improve the reliability and safety of the emergency water supply equipment.
[0155] In one specific application scenario, the application further provides an emergency water supply method for constant pressure water supply by using an emergency water supply device. The emergency water supply device comprises a plurality of booster devices, each of which comprises a frequency converter and a water pump connected electrically; a control module comprising a PLC controller, which is electrically connected to each of the booster devices for controlling the start and stop of each of the booster devices; a detection module for obtaining detection data, which comprises the water supply pressure of each of the booster devices; and a communication module for establishing a communication connection with a terminal device, which comprises at least one of a WIFI communication unit, a 3G communication unit, a 4G communication unit and a 5G communication unit, for establishing a remote communication connection with the terminal device.
[0156] The method comprises:
[0157] Based on the detection data and the first preset pressure, it is detected whether the water supply pressure of all the booster devices reaches the first preset pressure;
[0158] The number of the booster devices reaching the first preset pressure is taken as a first qualified number, when the first qualified number is lower than a first predetermined value, the water pump of each of the booster devices is controlled by the frequency converter of the corresponding booster device, and a first prompt information is sent to the terminal device through the communication module;
[0159] When the first qualified number is lower than a second predetermined value and higher than the first predetermined value, the frequency converter of each of the booster devices is controlled by the control module to control the water pump of each of the booster devices, and a second prompt information is sent to the terminal device through the communication module; the second predetermined value is greater than the first predetermined value;
[0160] When the first qualified number is lower than the second predetermined value and higher than the first predetermined value, timing is started and timing information is obtained, and when the first qualified number is higher than the second predetermined value, the timing is cleared;
[0161] When the timing exceeds a preset time length, it is detected whether the water supply pressure of each of the booster devices is higher than a second preset pressure, which is lower than the first preset pressure;
[0162] The number of the booster devices higher than the second preset pressure is taken as a second qualified number, when the second qualified number is higher than the second predetermined value, the first preset pressure is reduced, and a third prompt information is sent to the terminal device through the communication module;
[0163] When the first number of meeting the standard is higher than the second predetermined number, state information of the control module is acquired, the state information being used to indicate that the control module has a fault or has no fault;
[0164] When the state information indicates that the control module has a fault, the water supply of the water pump corresponding to each booster device is controlled by using the frequency converter of each booster device, and fifth prompt information is sent to the terminal device through the communication module;
[0165] When the state information indicates that the control module has no fault, the water supply of the water pump corresponding to each booster device is controlled by using the control module to control the frequency converter of each booster device.
[0166] The first preset pressure includes a preset water supply pressure corresponding to each booster device; when the second number of meeting the standard is not less than the second predetermined number, for each booster device, the first preset pressure is reduced in the following manner:
[0167] The fault similarity between historical clustering data and fault data of the current booster device is acquired, the historical clustering data being obtained by clustering fault data of all the booster devices;
[0168] When the fault similarity is less than a preset fault similarity, an adjusted preset water supply pressure is obtained by using the fault data of the current booster device, the adjusted preset water supply pressure is taken as a new preset water supply pressure corresponding to the current booster device, and the first preset pressure is updated;
[0169] When the fault similarity is not less than the preset fault similarity, an adjusted preset water supply pressure is obtained by using the historical clustering data, the adjusted preset water supply pressure is taken as a new preset water supply pressure corresponding to the current booster device, and the first preset pressure is updated;
[0170] When the fault similarity of any one of the booster devices is less than the preset fault similarity, the number of statistics is started to be counted and increased by one;
[0171] It is detected whether the number of statistics is greater than a preset number of statistics, when the number of statistics is greater than the preset number of statistics, the number of statistics is cleared, fourth prompt information is generated and sent to the terminal device.
[0172] Device embodiment
[0173] Reference Figure 7 , Figure 7 A structure schematic diagram of an emergency water supply device is shown.
[0174] The emergency water supply equipment embodiment provided by the present application, the specific implementation manner and the technical effects achieved of the emergency water supply equipment embodiment are consistent with those of the method embodiment, and some contents will not be described again.
[0175] The emergency water supply equipment is used for constant pressure water supply, and comprises:
[0176] A plurality of booster devices, each of which comprises a frequency converter and a water pump connected electrically;
[0177] A control module, which is electrically connected with each of the booster devices and is used for controlling the start and stop of each of the booster devices;
[0178] The emergency water supply equipment further comprises:
[0179] A detection module, which is used for acquiring detection data in real time, wherein the detection data comprises water supply pressure of each of the booster devices;
[0180] A communication module, which is used for establishing a communication connection with a terminal device;
[0181] A memory, which stores a computer program;
[0182] A processor, which is configured to implement the following steps when the computer program is executed:
[0183] Based on the detection data and a first preset pressure, it is detected whether the water supply pressure of all the booster devices reaches the first preset pressure;
[0184] The number of the booster devices reaching the first preset pressure is taken as a first qualified number, when the first qualified number is lower than a first predetermined value, the water supply of the corresponding water pump is controlled by using the frequency converter of each of the booster devices, and first prompt information is sent to the terminal device through the communication module, wherein the first prompt information is used for prompting the water supply of the corresponding water pump controlled by the frequency converter.
[0185] In some embodiments, the processor is further configured to implement the following steps:
[0186] When the first qualified number is lower than a second predetermined value and higher than the first predetermined value, the frequency converter of each of the booster devices is controlled by using the control module to make each of the frequency converters control the water supply of the corresponding water pump, and second prompt information can be sent to the terminal device through the communication module, wherein the second predetermined value is greater than the first predetermined value.
[0187] In some embodiments, when the first number of meeting the requirement is lower than the second predetermined number and higher than the first predetermined number, the processor is further configured to perform the following steps:
[0188] starting timing and obtaining timing information, and clearing the timing when the first number of meeting the requirement is higher than the second predetermined number;
[0189] when the timing exceeds a preset time length, detecting whether the water supply pressure of each of the pressure boosting devices is higher than a second preset pressure, the second preset pressure being lower than the first preset pressure;
[0190] taking the number of the pressure boosting devices higher than the second preset pressure as a second number of meeting the requirement, and lowering the first preset pressure when the second number of meeting the requirement is higher than the second predetermined number. Meanwhile, third prompt information can also be sent to the terminal device through the communication module.
[0191] In some embodiments, the first preset pressure comprises a preset water supply pressure corresponding to each of the pressure boosting devices; when the second number of meeting the requirement is not less than the second predetermined number, for each pressure boosting device, the processor is further configured to lower the first preset pressure in the following manner:
[0192] obtaining a fault similarity between historical clustering data and fault data of the current pressure boosting device, the historical clustering data being obtained by clustering fault data of all the pressure boosting devices;
[0193] when the fault similarity is less than a preset fault similarity, obtaining an adjusted preset water supply pressure by using the fault data of the current pressure boosting device, taking the adjusted preset water supply pressure as a new preset water supply pressure corresponding to the current pressure boosting device, and updating the first preset pressure;
[0194] when the fault similarity is not less than the preset fault similarity, obtaining an adjusted preset water supply pressure by using the historical clustering data, taking the adjusted preset water supply pressure as a new preset water supply pressure corresponding to the current pressure boosting device, and updating the first preset pressure.
[0195] In some embodiments, when the fault similarity of any one of the pressure boosting devices is less than the preset fault similarity, the processor is further configured to perform the following steps:
[0196] starting counting and adding one to the count;
[0197] detecting whether the statistical number is greater than a preset statistical number, when the statistical number is greater than the preset statistical number, performing a zero clearing process on the statistical number, and generating and sending a fourth prompt information to the terminal device, the fourth prompt information being used for prompting that the statistical number is greater than the preset statistical number.
[0198] In some embodiments, when the first number of meeting the requirement is higher than the second predetermined number, the processor is further configured to perform the following steps:
[0199] obtaining state information of the control module, the state information being used for indicating that the control module has a fault or has no fault;
[0200] when the state information indicates that the control module has a fault, controlling the water supply of the corresponding water pump by using the frequency converter of each booster device; and sending a fifth prompt information to the terminal device through the communication module;
[0201] when the state information indicates that the control module has no fault, controlling the water supply of the corresponding water pump by using the frequency converter of each booster device.
[0202] In some embodiments, the communication module includes at least one of a WIFI communication unit, a 3G communication unit, a 4G communication unit, and a 5G communication unit, and is used for establishing a remote communication connection with the terminal device.
[0203] In one specific application scenario, the embodiments of the present application further provide an emergency water supply device, which is used for constant pressure water supply, and includes:
[0204] a plurality of booster devices, each of which includes a frequency converter and a water pump connected electrically;
[0205] a control module including a PLC controller, which is electrically connected with each of the booster devices and is used for controlling the start and stop of each of the booster devices;
[0206] a detection module, which is used for obtaining detection data including the water supply pressure of each of the booster devices;
[0207] a communication module, which is used for establishing a communication connection with a terminal device, and includes at least one of a WIFI communication unit, a 3G communication unit, a 4G communication unit, and a 5G communication unit, and is used for establishing a remote communication connection with the terminal device;
[0208] a memory, which stores a computer program;
[0209] a processor configured to implement the following steps when the computer program is executed by the processor:
[0210] detecting, based on the detection data and a first preset pressure, whether the water supply pressure of all the pressure boosters reaches the first preset pressure;
[0211] taking the number of the pressure boosters reaching the first preset pressure as a first reaching number, when the first reaching number is lower than a first predetermined value, using the frequency converter of each pressure booster to control the water supply of the corresponding water pump, and sending first prompt information to the terminal device through the communication module;
[0212] when the first reaching number is lower than a second predetermined value and higher than the first predetermined value, using the control module to control the frequency converter of each pressure booster to make each frequency converter control the water supply of the corresponding water pump, and sending second prompt information to the terminal device through the communication module; the second predetermined value is greater than the first predetermined value;
[0213] when the first reaching number is lower than the second predetermined value and higher than the first predetermined value, the processor is further configured to implement the following steps:
[0214] starting timing and obtaining timing information, and resetting the timing when the first reaching number is higher than the second predetermined value;
[0215] when the timing exceeds a preset time length, detecting whether the water supply pressure of each pressure booster is higher than a second preset pressure, the second preset pressure being lower than the first preset pressure;
[0216] taking the number of the pressure boosters higher than the second preset pressure as a second reaching number, when the second reaching number is higher than the second predetermined value, reducing the first preset pressure, and sending third prompt information to the terminal device through the communication module;
[0217] when the first reaching number is higher than the second predetermined value, the processor is further configured to implement the following steps:
[0218] obtaining state information of the control module, the state information being used to indicate that the control module has a fault or has no fault;
[0219] when the state information indicates that the control module has a fault, using the frequency converter of each pressure booster to control the water supply of the corresponding water pump, and sending fifth prompt information to the terminal device through the communication module;
[0220] When the state information indicates that the control module has no fault, the frequency converter of each booster device is controlled by the control module to make each frequency converter control the water supply of the corresponding water pump;
[0221] The first preset pressure includes a preset water supply pressure corresponding to each booster device; when the second qualified number is not less than the second predetermined value, for each booster device, the processor is further configured to reduce the first preset pressure in the following manner:
[0222] Obtain a fault similarity between historical clustering data and fault data of the current booster device, the historical clustering data being obtained by clustering fault data of all the booster devices;
[0223] When the fault similarity is less than a preset fault similarity, an adjusted preset water supply pressure is obtained by using the fault data of the current booster device, the adjusted preset water supply pressure is taken as a new preset water supply pressure corresponding to the current booster device, and the first preset pressure is updated;
[0224] When the fault similarity is not less than the preset fault similarity, an adjusted preset water supply pressure is obtained by using the historical clustering data, the adjusted preset water supply pressure is taken as a new preset water supply pressure corresponding to the current booster device, and the first preset pressure is updated;
[0225] When the fault similarity of any one of the booster devices is less than the preset fault similarity, the processor is further configured to perform the following steps:
[0226] Start counting and add one to the count number;
[0227] Detect whether the count number is greater than a preset count number, when the count number is greater than the preset count number, the count number is cleared, a fourth prompt information is generated and sent to the terminal device, and the fourth prompt information is used to prompt that the count number is greater than the preset count number.
[0228] Referring to Figure 8 , Figure 8 A structural schematic diagram of an electronic device provided by an embodiment of the present application is shown.
[0229] The electronic device may, for example, include at least one memory 11, at least one processor 12, and a bus 13 connecting different platform systems.
[0230] The memory 11 can include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 111 and / or a cache memory 112, and can further include a read-only memory (ROM) 113.
[0231] The memory 11 also stores a computer program which can be executed by the processor 12, so that the processor 12 implements the steps of any of the above methods.
[0232] The memory 11 can also include a utility 114 having at least one program module 115, such as an operating system, one or more application programs, other program modules, and program data, and each of these examples, or some combination thereof, can include implementation of a networking environment.
[0233] Correspondingly, the processor 12 can execute the above computer program, and can execute the utility 114.
[0234] The processor 12 can be implemented with one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), or other electronic elements.
[0235] The bus 13 can be one or more of several types of bus structures including a memory bus or memory controller, a peripheral bus, a graphics acceleration bus, a processor or local bus using any of a variety of bus architectures, and the like.
[0236] The electronic device can also communicate with one or more external devices 14 such as a keyboard or pointing device, a Bluetooth device, etc.; other devices that can be attached to the electronic device, and / or one or more devices that enable communications between the electronic device and other computing devices. Such communication can occur via an input / output interface 15. Also, the electronic device can communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or the Internet) through a network adapter 16. The network adapter 16 can be any of a variety of types of adapter to enable connection to the network and to the other devices attached thereto. It will be appreciated that, for clarity, not all of the hardware and / or software of a truly computer system can be shown in the figures, but that some aspects of the embodiments can be practiced with a computer system of conventional design and / or components.
[0237] Storage medium embodiments
[0238] The embodiment of the present application further provides a computer readable storage medium, the specific implementation and the achieved technical effects of which are consistent with the implementation and the achieved technical effects of the method embodiment described above, and part of the content will not be described herein again.
[0239] The computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of any one of the methods.
[0240] Referring to Figure 9 , Figure 9 A structure block diagram of a program product provided by the present application is shown. The program product is used to implement the steps of any one of the methods, and can adopt a portable compact disc read-only memory (CD-ROM) and include program codes, and can run on a terminal device, such as a personal computer. However, the program product of the present application is not limited to this, and in the present document, the readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, device or apparatus. The program product can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination of the above. More specific examples (non-exhaustive list) of the readable storage medium include an electrical connection having one or more wires, a portable disc, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0241] The computer readable storage medium can include a computer-readable medium in the form of a data signal embodied in a carrier wave, wherein the data signal can take any of a variety of forms, including but not limited to electro-magnetic, optical, or any suitable combination thereof. A computer readable storage medium can be any medium from which a party can read data, code, or a signal, and can transmit, propagate or transport for use by or in connection with an instruction execution system, apparatus, or device. The program code embodied on the computer readable storage medium can be transmitted using any appropriate medium, including but not limited to wireless, wired, optical fiber cable, RF, etc., or any suitable combination thereof. The program code for carrying out operations of the present application can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++, etc., or conventional procedural programming languages, such as the "C" programming language, or similar programming languages. The program code can execute entirely on the user's computing device, partly on the remote computing device, as a stand-alone software package, partly on the user's computing device and partly on the remote computing device, or entirely on the remote or server. In the latter scenario, the remote computing device can be connected to the user's computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computing device, such as through the Internet using an Internet Service Provider.
[0242] It should be noted that in the embodiments of the present application, "at least one" means one or more, and "multiple" means two or more. The "and / or" describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent the following three cases: A exists alone, A and B exist together, B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after it. "At least one of the following" or similar expressions means any combination of these items, including any combination of single or multiple items. For example, at least one of a, b or c can represent a, b, c, a and b, a and c, b and c, or a and b and c, where a, b and c can be single or multiple. It should be noted that "at least one" can also be interpreted as "one or more".
[0243] The terms "first", "second", and the like, as used in the description and the claims of the application and the above photograph, are configured to distinguish similar objects, and are not necessarily configured to describe a particular sequential or chronological order. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0244] The application is described from the use purpose, efficiency, progress and novelty, etc. The above description and the accompanying drawings of the specification only show the preferred embodiments of the application, and are not limited to the application. Therefore, all similar, similar, equivalent, and similar structures, devices, features, etc. of the application, and any equivalent replacement or modification made within the scope of the patent application of the application, shall be within the scope of the patent application of the application.
Claims
1. An emergency water supply device, the emergency water supply device being used for constant pressure water supply, the emergency water supply device comprising: Multiple booster devices, each of which includes an electrically connected frequency converter and a water pump; A control module, which is electrically connected to each of the booster devices, is used to control the start and stop of each of the booster devices. The emergency water supply equipment is characterized in that it further includes: The detection module is used to acquire detection data in real time, and the detection data includes the water supply pressure of each of the booster devices; A communication module, wherein the communication module is used to establish a communication connection with a terminal device; A memory, wherein the memory stores a computer program; A processor, configured to perform the following steps when executing the computer program: Based on the detection data and the first preset pressure, it is determined whether the water supply pressure of all the booster devices reaches the first preset pressure. The number of booster devices that reach the first preset pressure is taken as the first qualified quantity. When the first qualified quantity is lower than the first predetermined value, the frequency converter of each booster device controls the corresponding water pump to supply water, and sends a first prompt message to the terminal device through the communication module. The first prompt message is used to prompt the frequency converter to control the corresponding water pump to supply water.
2. The emergency water supply equipment according to claim 1, characterized in that, The processor is also configured to perform the following steps: When the first qualified quantity is lower than the second predetermined value but higher than the first predetermined value, the control module is used to control the frequency converter of each of the booster devices so that each frequency converter controls the corresponding water pump to supply water.
3. The emergency water supply equipment according to claim 2, characterized in that, When the first number of samples meeting the target is lower than the second predetermined value but higher than the first predetermined value, the processor is further configured to perform the following steps: Start timing and obtain timing information. When the first number of successful targets exceeds the second predetermined value, reset the timing to zero. When the timer exceeds the preset duration, it is detected whether the water supply pressure of each of the booster devices is higher than the second preset pressure, and the second preset pressure is lower than the first preset pressure; The number of booster devices with a pressure higher than the second preset pressure is taken as the second qualified quantity. When the second qualified quantity is higher than the second predetermined value, the first preset pressure is reduced.
4. The emergency water supply equipment according to claim 3, characterized in that, The first preset pressure includes a preset water supply pressure corresponding to each of the booster devices; when the second number of qualified units is not less than the second predetermined value, for each booster device, the processor is further configured to reduce the first preset pressure in the following manner: Obtain the fault similarity between historical clustering data and current fault data of the booster unit, wherein the historical clustering data is obtained by clustering the fault data of all the booster units; When the fault similarity is less than the fault preset similarity, the adjusted preset water supply pressure is obtained using the fault data of the current booster device, and the adjusted preset water supply pressure is used as the new preset water supply pressure corresponding to the current booster device, and the first preset pressure is updated. When the fault similarity is not less than the fault preset similarity, the adjusted preset water supply pressure is obtained using the historical clustering data, and the adjusted preset water supply pressure is used as the new preset water supply pressure corresponding to the current booster device, and the first preset pressure is updated.
5. The emergency water supply equipment according to claim 4, characterized in that, When the fault similarity of any of the booster devices is less than a preset fault similarity, the processor is further configured to perform the following steps: Start the statistics and increment the count by one; The system detects whether the number of statistical counts is greater than a preset number of statistical counts. If the number of statistical counts is greater than the preset number of statistical counts, the number of statistical counts is cleared to zero, and a fourth prompt message is generated and sent to the terminal device. The fourth prompt message is used to indicate that the number of statistical counts is greater than the preset number of statistical counts.
6. The emergency water supply equipment according to claim 2, characterized in that, When the first number of qualified samples exceeds the second predetermined value, the processor is further configured to perform the following steps: The status information of the control module is obtained, and the status information is used to indicate whether the control module has a fault or not. When the status information indicates that the control module is faulty, the frequency converter of each booster device is used to control the corresponding water pump to supply water. When the status information indicates that the control module is fault-free, the control module is used to control the frequency converter of each of the booster devices so that each frequency converter controls the corresponding water pump to supply water.
7. The emergency water supply equipment according to claim 2, characterized in that, The first preset pressure includes one or more preset water supply pressures, each of which corresponds to one or more of the booster devices.
8. An emergency water supply method, characterized in that, The emergency water supply method is used to provide constant pressure water supply using the emergency water supply equipment according to any one of claims 1-7, the method comprising: Based on the detection data and the first preset pressure, it is determined whether the water supply pressure of all the booster devices reaches the first preset pressure. The number of booster devices that reach the first preset pressure is taken as the first qualified quantity. When the first qualified quantity is lower than the first predetermined value, the frequency converter of each booster device controls the corresponding water pump to supply water, and sends a first prompt message to the terminal device through the communication module. The first prompt message is used to prompt the frequency converter to control the corresponding water pump to supply water.
9. An electronic device, characterized in that, For providing constant pressure water supply using the emergency water supply equipment according to any one of claims 1-7, the electronic device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of the method according to claim 8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method of claim 8.
Citation Information
Patent Citations
Water supply system as well as water pressure increasing method and device thereof
CN110820845A
PLC-based remote frequency conversion control system
CN113325794A