Solenoid valve current monitoring method, device and equipment and storage medium
By collecting temperature information of the surrounding environment of the solenoid valve, calculating the resistivity changes of the copper wires inside the solenoid valve, combining historical data and neural network models or preset thresholds for diagnosis, the problem of inaccurate current monitoring in the existing technology is solved, and accurate identification and early warning of abnormal current fluctuations of the solenoid valve are achieved.
Patent Information
- Application Number
- CN202411661268.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-03-28
AI Technical Summary
The existing solenoid valve current monitoring methods are difficult to accurately identify abnormal current fluctuations, which can easily lead to false alarms and missed alarms of faults, affecting production progress and output.
By collecting temperature information about the surrounding environment of the solenoid valve, determining the resistivity change of the copper wire inside the solenoid valve, calculating the resistance change and current change of the coil, combining historical data and neural network model or preset thresholds for diagnosis, and issuing an alarm prompt.
It realizes accurate calculation of the resistance changes and current changes of the solenoid valve coil based on the current temperature, improves the accuracy of identifying abnormal current fluctuations, early warning, and reduces false alarms and missed rates.
Smart Images

Figure CN119716513A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automatic control technology, and in particular to a solenoid valve current monitoring method, device, equipment and storage medium. Background Art
[0002] In the field of factory automation, solenoid valves are commonly used control devices that are used to control the flow, pressure and direction of gases and liquids. Since solenoid valves are responsible for controlling the flow of gases and liquids, when a solenoid valve fails, the related production line or machinery will also shut down, causing the production line to stagnate, directly affecting production progress and output. The interior of the solenoid valve coil is generally composed of copper wire, and the resistivity of the copper wire will change with temperature, thus affecting the stability of the solenoid valve current.
[0003] At present, some technologies use the change of monitoring current value to predict whether there is an abnormality in the solenoid valve. However, the resistivity of the copper wire inside the solenoid valve coil fluctuates with temperature changes, making the current value itself have a certain volatility. If the existing current monitoring method is used, it is easy to cause false alarms and missed alarms of solenoid valve failures. Summary of the invention
[0004] In view of the defects in the prior art, an object of the present invention is to provide a solenoid valve current monitoring method, device, equipment and storage medium.
[0005] In a first aspect, an embodiment of the present application provides a solenoid valve current monitoring method, comprising:
[0006] Collecting temperature information of the environment around the solenoid valve, and / or obtaining temperature information predicted by the weather forecast;
[0007] Determine the resistivity change of the copper wire inside the solenoid valve according to the temperature information of the environment around the solenoid valve and / or the temperature information predicted by the weather forecast;
[0008] According to the resistivity change of the copper wire inside the solenoid valve, the resistance change and current change of the solenoid valve coil are determined respectively;
[0009] Diagnose whether the solenoid valve has an abnormality according to the resistance change and current change of the solenoid valve coil;
[0010] If there is any abnormality, an alarm will be issued.
[0011] Optionally, determining the resistivity change of the copper wire inside the solenoid valve according to the temperature information of the environment around the solenoid valve and / or obtaining the temperature information predicted by the weather forecast includes:
[0012] The coil resistance of the solenoid valve at room temperature is recorded as R1, and the room temperature is recorded as T1;
[0013] Record the temperature information of the environment around the solenoid valve and / or the current ambient temperature indicated by the temperature information predicted by the weather forecast as T2;
[0014] According to R1, T1, T2, and the temperature coefficient α of the solenoid valve coil, calculate the coil resistance R2 of the solenoid valve at the current ambient temperature. The calculation formula is as follows:
[0015] R2=R1+R1*α*(T2-T1)
[0016] Among them, * represents the multiplication sign;
[0017] According to R2, wire length L, and wire cross-sectional area S, calculate the resistivity P of the copper wire inside the solenoid valve. The calculation formula is as follows:
[0018] P=R2*S / L.
[0019] Optionally, before calculating the coil resistance R2 of the solenoid valve at the current ambient temperature according to R1, T1, T2, and the temperature coefficient α, the method further includes:
[0020] According to the current values of the solenoid valve under multiple sets of measured temperatures, the temperature coefficient α of the solenoid valve coil is fitted.
[0021] Optionally, diagnosing whether the solenoid valve is abnormal according to the resistance change and current change of the solenoid valve coil includes:
[0022] According to the historical current change and the historical resistance change of the solenoid valve and the corresponding working state of the solenoid valve, the neural network model is trained to obtain a trained target model;
[0023] The resistance change and current change of the solenoid valve coil are input into the target model, the working state of the solenoid valve is output, and a diagnosis result of whether the solenoid valve is abnormal is obtained.
[0024] Optionally, diagnosing whether the solenoid valve is abnormal according to the resistance change and current change of the solenoid valve coil includes:
[0025] Comparing the resistance change and current change of the solenoid valve coil with corresponding preset thresholds respectively;
[0026] If the resistance change of the solenoid valve coil is greater than a first preset threshold, an alarm is issued;
[0027] If the resistance change of the solenoid valve coil is greater than a second preset threshold, an alarm is issued.
[0028] In a second aspect, an embodiment of the present application provides a solenoid valve current monitoring device, comprising:
[0029] A collection module, used to collect temperature information of the environment around the solenoid valve, and / or obtain temperature information predicted by the weather forecast;
[0030] A determination module, used to determine the resistivity change of the copper wire inside the solenoid valve according to the temperature information of the environment around the solenoid valve and / or the temperature information predicted by the weather forecast;
[0031] A processing module, used to determine the resistance change and current change of the solenoid valve coil according to the resistivity change of the copper wire inside the solenoid valve;
[0032] A diagnostic module, used to diagnose whether the solenoid valve has an abnormality according to the resistance change and current change of the solenoid valve coil;
[0033] The alarm module is used to issue an alarm prompt when there is an abnormality in the solenoid valve.
[0034] Optionally, the determining module is specifically configured to:
[0035] The coil resistance of the solenoid valve at room temperature is recorded as R1, and the room temperature is recorded as T1;
[0036] Record the temperature information of the environment around the solenoid valve and / or the current ambient temperature indicated by the temperature information predicted by the weather forecast as T2;
[0037] According to R1, T1, T2, and the temperature coefficient α of the solenoid valve coil, calculate the coil resistance R2 of the solenoid valve at the current ambient temperature. The calculation formula is as follows:
[0038] R2=R1+R1*α*(T2-T1)
[0039] Among them, * represents the multiplication sign;
[0040] According to R2, wire length L, and wire cross-sectional area S, calculate the resistivity P of the copper wire inside the solenoid valve. The calculation formula is as follows:
[0041] P=R2*S / L.
[0042] Optionally, the determination module is further used to fit the temperature coefficient α of the solenoid valve coil according to multiple sets of current values of the solenoid valve at measured temperatures.
[0043] Optionally, the diagnosis module is specifically used to:
[0044] According to the historical current change and the historical resistance change of the solenoid valve and the corresponding working state of the solenoid valve, the neural network model is trained to obtain a trained target model;
[0045] The resistance change and current change of the solenoid valve coil are input into the target model, the working state of the solenoid valve is output, and a diagnosis result of whether the solenoid valve is abnormal is obtained.
[0046] Optionally, the diagnosis module is specifically used to:
[0047] Comparing the resistance change and current change of the solenoid valve coil with corresponding preset thresholds respectively;
[0048] If the resistance change of the solenoid valve coil is greater than a first preset threshold, an alarm is issued;
[0049] If the resistance change of the solenoid valve coil is greater than a second preset threshold, an alarm is issued.
[0050] In a third aspect, an embodiment of the present application provides a solenoid valve current monitoring device, comprising: a processor and a memory, wherein the memory stores executable program instructions, and when the processor calls the program instructions in the memory, the processor is used to:
[0051] Execute the steps of the solenoid valve current monitoring method as described in any one of the first aspects.
[0052] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium for storing a program, which, when executed, implements the steps of the solenoid valve current monitoring method as described in any one of the first aspects.
[0053] Compared with the prior art, the present invention has the following beneficial effects:
[0054] In the present application, the temperature information of the environment around the solenoid valve is collected, and / or the temperature information predicted by the weather forecast is obtained; the resistivity change of the copper wire inside the solenoid valve is determined according to the temperature information of the environment around the solenoid valve, and / or the temperature information predicted by the weather forecast is obtained; the resistance change and current change of the solenoid valve coil are determined according to the resistivity change of the copper wire inside the solenoid valve; the solenoid valve is diagnosed whether there is an abnormality according to the resistance change and current change of the solenoid valve coil; if there is an abnormality, an alarm is issued. Therefore, based on the current temperature of the copper wire inside the solenoid valve, the resistance change and current change of the solenoid valve coil can be accurately calculated, so as to more accurately identify abnormal current fluctuations and achieve the purpose of early warning. The system is easy to operate, low cost, and can be widely used in various solenoid valve equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings in the following descriptions are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without creative work. By reading the detailed description of the non-limiting embodiments with reference to the following drawings, other features, purposes and advantages of the present invention will become more obvious:
[0056] Figure 1 A schematic diagram of an application scenario of a solenoid valve current monitoring method provided in an embodiment of the present application;
[0057] Figure 2 A flow chart of a solenoid valve current monitoring method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0058] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0059] It should be noted that when a component is said to be "fixed to" another component, it can be directly on the other component or there can be a central component. When a component is said to be "connected to" another component, it can be directly connected to the other component or there can be a central component at the same time.
[0060] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.
[0061] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein, for example, can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0062] The following specific embodiments are used to describe in detail the technical solution of the present invention and how the technical solution of the present application solves the above technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0063] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0064] For example, Figure 1 A schematic diagram of an application scenario of a solenoid valve current monitoring method provided in an embodiment of the present application, such as Figure 1 As shown, the solenoid valve current monitoring device relies on a communication line to communicate with a PC (personal computer). The solenoid valve current monitoring device uses a current sensor to collect the temperature information of the surrounding environment of the solenoid valve, and determines the resistivity change of the copper wire inside the solenoid valve based on the temperature information; according to the resistivity change of the copper wire inside the solenoid valve, the resistance change and current change of the solenoid valve coil are determined respectively; according to the resistance change and current change of the solenoid valve coil, it is diagnosed whether the solenoid valve is abnormal; if there is an abnormality, an alarm prompt is issued. For example, on the PC, the user can intuitively see the working status of each solenoid valve, which is convenient for timely troubleshooting of the solenoid valve.
[0065] For example, Figure 2 A flow chart of a solenoid valve current monitoring method provided in an embodiment of the present application, such as Figure 2 As shown, the method in this embodiment may include the following steps:
[0066] Step S201: Collect temperature information of the environment around the solenoid valve, and / or obtain temperature information predicted by the weather forecast.
[0067] In this embodiment, the temperature information of the environment around the solenoid valve can be collected by sensors arranged around the solenoid valve. Alternatively, the temperature information predicted by the weather forecast can also be directly used.
[0068] For example, the above methods can be combined. For example, when sensors are arranged around the solenoid valve, the temperature information collected by the sensors is used first. When there are no sensors around the solenoid valve or the sensors fail, the temperature information predicted by the weather forecast can be used instead.
[0069] Step S202: Determine the resistivity change of the copper wire inside the solenoid valve according to the temperature information of the environment around the solenoid valve and / or the temperature information predicted by the weather forecast.
[0070] In this embodiment, the coil resistance of the solenoid valve at room temperature is recorded as R1, and the room temperature is recorded as T1; the temperature information of the surrounding environment of the solenoid valve and / or the current ambient temperature indicated by the temperature information predicted by the weather forecast is recorded as T2; according to R1, T1, T2, and the temperature coefficient α of the solenoid valve coil, the coil resistance R2 of the solenoid valve at the current ambient temperature is calculated, and the calculation formula is as follows:
[0071] R2=R1+R1*α*(T2-T1)
[0072] Among them, * represents the multiplication sign;
[0073] Furthermore, according to R2, wire length L, and wire cross-sectional area S, the resistivity P of the copper wire inside the solenoid valve is calculated using the following formula:
[0074] P=R2*S / L.
[0075] For example, assuming that the solenoid valve power supply voltage is a constant 24V voltage, the solenoid valve current monitoring device measures that the normal operating current of the solenoid valve at room temperature 20°C is 400mA. According to Ohm's law, the coil resistance R1=U / I=24 / 400mA=60Ω.
[0076] When the ambient temperature is 40°C, according to the formula R=p*L / S, the line length L and cross-sectional area S at this temperature remain unchanged, and the resistivity changes according to the temperature. The resistance change law is as follows:
[0077] R2 T2=(40℃) =R1 T1=(20℃) +R1 T1=(20℃) ×α×(T2-T1)
[0078] Among them, R2 is the resistance at 40℃, R1 is the resistance at 20℃, unit is Ω; T1 is the temperature at 20℃, T2 is the temperature at 40℃, unit is ℃; α is the temperature coefficient, which is 3.9×10 -3 .
[0079] Based on this, it can be concluded that R2 = 60 + 60 × 0.0039 × (40-20) = 64.68Ω.
[0080] Therefore, the theoretical normal current value at 40°C is I=U / R2=24 / 64.68=371mA.
[0081] For example, since the copper wire used in the solenoid valve is not completely pure copper wire, there may be a variety of alloy combinations, so the temperature coefficient α is not fixed at 3.9×10 -3 In view of this situation, in order to improve the monitoring accuracy, the temperature change curve of the temperature coefficient α of the solenoid valve coil can be fitted according to multiple sets of current values at measured temperatures, and stored in the single-chip microcomputer for reference in subsequent solenoid valve abnormality diagnosis.
[0082] Step S203: Determine the resistance change and current change of the solenoid valve coil according to the resistivity change of the copper wire inside the solenoid valve.
[0083] In this embodiment, the resistance value and the current value at different resistivities can be calculated according to the formula R=p*L / S, so as to know the resistance change and the current change at the current moment compared with the past.
[0084] Step S204: diagnose whether the solenoid valve has an abnormality according to the resistance change and current change of the solenoid valve coil.
[0085] In an optional embodiment, a neural network model can be trained based on the historical current changes and historical resistance changes of the solenoid valve, and the corresponding working status of the solenoid valve, to obtain a trained target model; the resistance change and current change of the solenoid valve coil are input into the target model, and the working status of the solenoid valve is output to obtain a diagnosis result of whether the solenoid valve has an abnormality.
[0086] The specific type of the neural network model is not limited in this embodiment.
[0087] In another optional embodiment, the resistance change and current change of the solenoid valve coil are compared with corresponding preset thresholds respectively; if the resistance change of the solenoid valve coil is greater than the first preset threshold, an alarm is issued; if the resistance change of the solenoid valve coil is greater than the second preset threshold, an alarm is issued.
[0088] Step S205: If there is an abnormality, an alarm is issued.
[0089] In this embodiment, if the resistance change of the solenoid valve coil is greater than a first preset threshold, and / or if the resistance change of the solenoid valve coil is greater than a second preset threshold, an alarm is issued, for example, an audible and visual alarm.
[0090] In this embodiment, the temperature information of the environment around the solenoid valve is collected, and / or the temperature information predicted by the weather forecast is obtained; the resistivity change of the copper wire inside the solenoid valve is determined according to the temperature information of the environment around the solenoid valve, and / or the temperature information predicted by the weather forecast is obtained; the resistance change and current change of the solenoid valve coil are determined according to the resistivity change of the copper wire inside the solenoid valve; the solenoid valve is diagnosed whether there is an abnormality according to the resistance change and current change of the solenoid valve coil; if there is an abnormality, an alarm is issued. Therefore, the resistance change and current change of the solenoid valve coil can be accurately calculated based on the current temperature of the copper wire inside the solenoid valve, so as to more accurately identify abnormal current fluctuations and achieve the purpose of early warning. It is easy to operate, low cost, and can be widely used in various solenoid valve equipment.
[0091] Exemplarily, an embodiment of the present application also provides a solenoid valve current monitoring device, including: an acquisition module, used to collect temperature information of the environment around the solenoid valve, and / or obtain temperature information predicted by the weather forecast; a determination module, used to determine the resistivity change of the copper wire inside the solenoid valve based on the temperature information of the environment around the solenoid valve, and / or obtain temperature information predicted by the weather forecast; a processing module, used to determine the resistance change and current change of the solenoid valve coil according to the resistivity change of the copper wire inside the solenoid valve; a diagnosis module, used to diagnose whether the solenoid valve has an abnormality based on the resistance change and current change of the solenoid valve coil; an alarm module, used to issue an alarm prompt when the solenoid valve has an abnormality.
[0092] In this embodiment, it can be combined with Figure 1 In the application scenario shown, a series of processing processes of the temperature information collected by the sensor module are completed by a computer or a processor chip. For example, the calculation formula R = p (resistivity) * L (wire length) / S (cross-sectional area) is pre-stored, and the degree of change in the resistivity of the copper wire is calculated according to the change in the temperature parameter in the calculation formula. On this basis, the resistance change and current change of the solenoid valve coil are calculated. By presetting the early warning value and the alarm value, the calculation result is compared with the preset threshold value. When the detected change in the solenoid valve current is greater than the preset threshold value, the alarm module will issue an alarm measure such as an audible and visual alarm.
[0093] Exemplarily, the determination module is specifically used to: record the coil resistance of the solenoid valve at normal temperature as R1, and record the normal temperature as T1; record the temperature information of the surrounding environment of the solenoid valve, and / or the current ambient temperature indicated by the temperature information predicted by the weather forecast as T2; calculate the coil resistance R2 of the solenoid valve at the current ambient temperature according to R1, T1, T2, and the temperature coefficient α of the solenoid valve coil, and the calculation formula is as follows:
[0094] R2=R1+R1*α*(T2-T1)
[0095] Among them, * represents the multiplication sign;
[0096] According to R2, wire length L, and wire cross-sectional area S, calculate the resistivity P of the copper wire inside the solenoid valve. The calculation formula is as follows:
[0097] P=R2*S / L.
[0098] Exemplarily, the determination module is further used to fit the temperature coefficient α of the solenoid valve coil according to multiple sets of current values of the solenoid valve at measured temperatures.
[0099] Exemplarily, the diagnostic module is specifically used to: train a neural network model based on historical current changes and historical resistance changes of the solenoid valve, and the corresponding working status of the solenoid valve to obtain a trained target model; input the resistance change and current change of the solenoid valve coil into the target model, output the working status of the solenoid valve, and obtain a diagnostic result of whether the solenoid valve has an abnormality.
[0100] Exemplarily, the diagnostic module is specifically used to: compare the resistance change and current change of the solenoid valve coil with the corresponding preset thresholds; if the resistance change of the solenoid valve coil is greater than the first preset threshold, an alarm is issued; if the resistance change of the solenoid valve coil is greater than the second preset threshold, an alarm is issued.
[0101] In addition, the present application embodiment provides a solenoid valve current monitoring device, including: a processor and a memory, wherein the memory stores executable program instructions, and when the processor calls the program instructions in the memory, the processor is used to: execute the following Figure 2 The steps of the solenoid valve current monitoring method are shown.
[0102] It should be noted that those skilled in the art will appreciate that various aspects of the present invention may be implemented as systems, methods or program products. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to as "circuit", "module" or "platform" herein.
[0103] In addition, an embodiment of the present application further provides a computer-readable storage medium, in which computer-executable instructions are stored. When at least one processor of a user device executes the computer-executable instructions, the user device executes the above-mentioned various possible methods. Among them, the computer-readable medium includes a computer storage medium and a communication medium, wherein the communication medium includes any medium that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a user device. Of course, the processor and the storage medium can also exist in a communication device as discrete components.
[0104] The present application also provides a program product, which includes a computer program, which is stored in a readable storage medium. At least one processor of the server can read the computer program from the readable storage medium, and at least one processor executes the computer program so that the server implements any method of the above-mentioned embodiments of the present invention.
[0105] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0106] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art may make various modifications or variations within the scope of the claims, which do not affect the essence of the present invention.
Claims
1. A solenoid valve current monitoring method, characterized in that: include: Collecting temperature information of the environment around the solenoid valve, and / or obtaining temperature information predicted by the weather forecast; Determine the resistivity change of the copper wire inside the solenoid valve according to the temperature information of the environment around the solenoid valve and / or the temperature information predicted by the weather forecast; According to the resistivity change of the copper wire inside the solenoid valve, the resistance change and current change of the solenoid valve coil are determined respectively; Diagnose whether the solenoid valve has an abnormality according to the resistance change and current change of the solenoid valve coil; If there is any abnormality, an alarm will be issued.
2. The solenoid valve current monitoring method according to claim 1, characterized in that: According to the temperature information of the environment around the solenoid valve, and / or the temperature information predicted by the weather forecast, the resistivity change of the copper wire inside the solenoid valve is determined, including: The coil resistance of the solenoid valve at room temperature is recorded as R1, and the room temperature is recorded as T1; Record the temperature information of the environment around the solenoid valve and / or the current ambient temperature indicated by the temperature information predicted by the weather forecast as T2; According to R1, T1, T2, and the temperature coefficient α of the solenoid valve coil, calculate the coil resistance R2 of the solenoid valve at the current ambient temperature. The calculation formula is as follows: R2=R1+R1*α*(T2-T1) Among them, * represents the multiplication sign; According to R2, wire length L, and wire cross-sectional area S, calculate the resistivity P of the copper wire inside the solenoid valve. The calculation formula is as follows: P=R2*S / L.
3. The electromagnetic valve current monitoring method according to claim 2, characterized in that: Before calculating the coil resistance R2 of the solenoid valve at the current ambient temperature according to R1, T1, T2, and the temperature coefficient α, the method further includes: According to the current values of the solenoid valve under multiple sets of measured temperatures, the temperature coefficient α of the solenoid valve coil is fitted.
4. The solenoid valve current monitoring method according to any one of claims 1 to 3, characterized in that: Diagnosing whether the solenoid valve is abnormal according to the resistance change and current change of the solenoid valve coil includes: According to the historical current change and the historical resistance change of the solenoid valve and the corresponding working state of the solenoid valve, the neural network model is trained to obtain a trained target model; The resistance change and current change of the solenoid valve coil are input into the target model, the working state of the solenoid valve is output, and a diagnosis result of whether the solenoid valve is abnormal is obtained.
5. The solenoid valve current monitoring method according to any one of claims 1 to 3, characterized in that: Diagnosing whether the solenoid valve is abnormal according to the resistance change and current change of the solenoid valve coil includes: Comparing the resistance change and current change of the solenoid valve coil with corresponding preset thresholds respectively; If the resistance change of the solenoid valve coil is greater than a first preset threshold, an alarm is issued; If the resistance change of the solenoid valve coil is greater than a second preset threshold, an alarm is issued.
6. A solenoid valve current monitoring device, characterized in that: include: A collection module, used to collect temperature information of the environment around the solenoid valve, and / or obtain temperature information predicted by the weather forecast; A determination module, used to determine the resistivity change of the copper wire inside the solenoid valve according to the temperature information of the environment around the solenoid valve and / or the temperature information predicted by the weather forecast; A processing module, used to determine the resistance change and current change of the solenoid valve coil according to the resistivity change of the copper wire inside the solenoid valve; A diagnostic module, used to diagnose whether the solenoid valve has an abnormality according to the resistance change and current change of the solenoid valve coil; The alarm module is used to issue an alarm prompt when there is an abnormality in the solenoid valve.
7. The solenoid valve current monitoring device according to claim 6, characterized in that: The determination module is specifically used for: The coil resistance of the solenoid valve at room temperature is recorded as R1, and the room temperature is recorded as T1; Record the temperature information of the environment around the solenoid valve and / or the current ambient temperature indicated by the temperature information predicted by the weather forecast as T2; According to R1, T1, T2, and the temperature coefficient α of the solenoid valve coil, calculate the coil resistance R2 of the solenoid valve at the current ambient temperature. The calculation formula is as follows: R2=R1+R1*α*(T2-T1) Among them, * represents the multiplication sign; According to R2, wire length L, and wire cross-sectional area S, calculate the resistivity P of the copper wire inside the solenoid valve. The calculation formula is as follows: P=R2*S / L.
8. The solenoid valve current monitoring device according to claim 7, characterized in that: The determination module is also used to fit the temperature coefficient α of the solenoid valve coil according to multiple sets of current values of the solenoid valve at measured temperatures.
9. A solenoid valve current monitoring device, characterized in that: include: A processor and a memory, wherein the memory stores executable program instructions, and when the processor calls the program instructions in the memory, the processor is used to: Execute the steps of the solenoid valve current monitoring method as described in any one of claims 1 to 5.
10. A computer-readable storage medium for storing a program, characterized in that: When the program is executed, the steps of the solenoid valve current monitoring method according to any one of claims 1 to 5 are implemented.