Industrial network power supply fault diagnosis method and device and storage medium
By real-time monitoring and dynamic analysis of power supply operating modes, a set of control commands is generated, which solves the problems of lagging fault detection and insufficient early warning in industrial network power supplies, and achieves efficient fault response and production continuity.
Patent Information
- Application Number
- CN202511194222.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-25
- Publication Date
- 2025-11-21
AI Technical Summary
Current technologies for industrial network power supply fault detection are lagging behind, unable to accurately classify power supply operating status, and lack effective early warning and response strategies, leading to production delays and economic losses.
By acquiring multiple frames of power supply voltage data, using a preset rate of change threshold to determine the power supply voltage status, dynamically analyzing the power supply operating mode, and generating corresponding control command sets to control alarm devices and power switching devices, real-time monitoring and rapid response are achieved.
It improves the accuracy and efficiency of fault detection, reduces downtime, ensures continuous operation of the network and production line, and reduces production risks and costs.
Smart Images

Figure CN120993087A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to intelligent logistics equipment technology, and more specifically, to a method, apparatus, and storage medium for diagnosing power supply faults in industrial networks. Background Technology
[0002] In modern industrial automation, networked control systems have become an indispensable part of production lines. PROFIBUS and Profinet networks are widely used in various manufacturing environments, responsible for transmitting critical control and data information. However, the stable operation of industrial networks highly depends on a reliable and uninterrupted power supply. Power failures not only cause network interruptions but also trigger a chain reaction, affecting the operation of the entire production line and causing production delays and economic losses.
[0003] Traditional power supply fault detection methods typically respond passively after a fault occurs, lacking preventative and real-time monitoring capabilities. Furthermore, once a fault occurs, determining the power supply's operating mode and locating the fault point is often time-consuming and laborious, further extending the fault handling time.
[0004] There is currently no effective solution to the above problems. Summary of the Invention
[0005] This invention provides an industrial network power supply fault diagnosis method, device, and storage medium to at least solve the technical problems in the prior art, such as delayed power supply fault detection, inability to accurately classify power supply operating states, and lack of effective early warning and response strategies.
[0006] According to one aspect of the present invention, in order to achieve the above-mentioned objective, an industrial network power supply fault diagnosis method is provided, comprising: acquiring multiple frames of power supply voltage data in response to an industrial network power supply operating signal; determining a power supply operating mode based on the multiple frames of power supply voltage data, the power supply operating mode including: normal operating mode, low-risk operating mode, high-risk operating mode, and fault mode; and generating a control instruction set based on the power supply operating mode, the control instruction set being used to control the industrial network power supply, alarm device, and power switching device to be in a target operating state.
[0007] Furthermore, based on multiple frames of power supply voltage data, the power supply operating mode is determined, including: determining the power supply voltage change rate based on the multiple frames of power supply voltage data; determining the power supply voltage state based on the power supply voltage change rate; and determining the power supply operating mode based on the power supply voltage state.
[0008] Further, determining the power supply voltage state based on the power supply voltage change rate includes: judging the power supply voltage change rate based on a preset change rate threshold to obtain a first judgment result, wherein the preset change rate threshold includes: a first preset change rate threshold, a second preset change rate threshold, and a third preset change rate threshold; in response to the first judgment result L≤A, determining the power supply voltage state as a normal state; in response to the judgment result A<L≤B, determining the power supply voltage state as a low-risk state; in response to the judgment result B<L<C, determining the power supply voltage state as a high-risk state; in response to the judgment result C≤L, acquiring instantaneous power supply voltage data; obtaining a second judgment result from the instantaneous power supply voltage data; in response to the second judgment result M=0, determining the power supply voltage state as a fault state; in response to the second judgment result M>0, determining the power supply voltage state as a high-risk state; wherein the power supply voltage change rate is L, the first preset change rate threshold is A, the second preset change rate threshold is B, the third preset change rate threshold is C, and the instantaneous power supply voltage data is M.
[0009] Furthermore, the power supply operating mode is determined based on the power supply voltage status, including: normal operating mode if the power supply voltage status is normal; low-risk operating mode if the power supply voltage status is low-risk; high-risk operating mode if the power supply voltage status is high-risk; and fault mode if the power supply voltage status is faulty.
[0010] Furthermore, based on the power operating mode, a control instruction set is generated, including: based on the power operating mode being a normal operating mode, a first control instruction is generated in the control instruction set, the first control instruction being used to control the alarm device to perform a normal operating state, and the first control instruction being used to control the power switching device to perform a standby state.
[0011] Furthermore, based on the power supply operating mode, a control instruction set is generated, including: based on the power supply operating mode being a low-risk operating mode, a second control instruction is generated in the control instruction set; the second control instruction is used to control the alarm device to perform a low-risk alarm state; the second control instruction is used to control the industrial network power supply to perform a heat dissipation operating state; and the second control instruction is used to control the power switching device to perform a hot standby state.
[0012] Furthermore, based on the power supply operating mode, a control instruction set is generated, including: based on the power supply operating mode being a high-risk operating mode, a third control instruction is generated in the control instruction set; the third control instruction is used to control the alarm device to execute a high-risk alarm state; the third control instruction is used to control the industrial network power supply to execute a restart state; and the third control instruction is used to control the power switching device to execute a hot standby state.
[0013] Furthermore, based on the power operating mode, a control instruction set is generated, including: based on the power operating mode being a fault mode, a fourth control instruction is generated in the control instruction set; the fourth control instruction is used to control the alarm device to execute a fault alarm state; the fourth control instruction is used to control the industrial network power supply to execute a shutdown state; and the fourth control instruction is used to control the power switching device to execute a backup power supply operating state.
[0014] According to one embodiment of the present invention, an industrial network power supply fault diagnosis device is also provided, comprising: an acquisition module, configured to acquire multiple frames of power supply voltage data in response to an industrial network power supply operating signal; a determination module, configured to determine a power supply operating mode based on the multiple frames of power supply voltage data, the power supply operating mode including: normal operating mode, low-risk operating mode, high-risk operating mode and fault mode; and a generation module, configured to generate a control instruction set based on the power supply operating mode, the control instruction set being used to control the industrial network power supply, alarm device and power switching device to be in a target operating state.
[0015] According to another aspect of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored executable program, wherein, when the executable program is executed, it controls the device where the computer-readable storage medium is located to perform the methods of various embodiments of the present invention.
[0016] In this embodiment of the invention, by continuously acquiring multiple frames of power supply voltage data, the power supply status can be monitored in real time, and voltage fluctuations or abnormalities can be detected in a timely manner. Based on historical data and algorithm models, the operating mode of the power supply can be intelligently determined and classified into normal, low-risk, high-risk, or fault modes, thereby improving the accuracy and efficiency of fault detection. Based on the power supply operating mode, a control command set is automatically generated. When a potential fault risk is detected, an alarm device can be actively triggered. When the power supply enters a fault mode, it can quickly switch to a backup power supply, reducing downtime and ensuring the continuous operation of the network and production line. This solves the technical problems of lagging power supply fault detection, inability to accurately classify power supply operating status, and lack of effective early warning and response strategies in the prior art. Attached Figure Description
[0017] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
[0018] Figure 1 This is a flowchart of an industrial network power supply fault diagnosis method according to one embodiment of the present invention;
[0019] Figure 2 This is a flowchart of another industrial network power supply fault diagnosis method according to one embodiment of the present invention;
[0020] Figure 3 This is a structural block diagram of an industrial network power supply fault diagnosis device according to one embodiment of the present invention. Detailed Implementation
[0021] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0022] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0023] According to an embodiment of the present invention, an embodiment of an industrial network power supply fault diagnosis method is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0024] This method embodiment can be executed in an electronic device or similar computing device that includes a memory and a processor. Taking operation on a vehicle terminal as an example, the vehicle terminal may include one or more processors (processors may include, but are not limited to, central processing units (CPUs), graphics processing units (GPUs), digital signal processing (DSP) chips, microcontroller units (MCUs), field programmable gate arrays (FPGAs), neural network processors (NPUs), tensor processing units (TPUs), artificial intelligence (AI) type processors, etc.) and a memory for storing data. Optionally, the vehicle terminal may also include transmission devices, input / output devices, and display devices for communication functions. Those skilled in the art will understand that the above structural description is merely illustrative and does not limit the structure of the vehicle terminal. For example, the vehicle terminal may include more or fewer components than described above, or have a different configuration than described above.
[0025] The memory can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the industrial network power supply fault diagnosis method in this embodiment of the invention. The processor executes various functional applications and data processing by running the computer program stored in the memory, thereby realizing the aforementioned industrial network power supply fault diagnosis method. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to a mobile terminal via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0026] The transmission device is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the mobile terminal's communication provider. In one example, the transmission device includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device may be a Radio Frequency (RF) module, used for wireless communication with the Internet.
[0027] Display devices can be, for example, touchscreen liquid crystal displays (LCDs) and touch displays (also referred to as "touchscreens" or "touch displays"). The LCD allows users to interact with the user interface of the mobile terminal. In some embodiments, the mobile terminal has a graphical user interface (GUI), which allows users to interact with the GUI through finger contact and / or gestures on a touch-sensitive surface. Optional human-computer interaction functions include: creating web pages, drawing, word processing, creating electronic documents, playing games, video conferencing, instant messaging, sending and receiving emails, call interfaces, playing digital video, playing digital music, and / or web browsing, etc. Executable instructions for performing the above human-computer interaction functions are configured / stored in one or more processor-executable computer program products or readable storage media.
[0028] Figure 1 This is a flowchart of an industrial network power supply fault diagnosis method according to one embodiment of the present invention, such as... Figure 1 As shown, the method includes the following steps:
[0029] Step S110: In response to the industrial network power supply operating signal, acquire multiple frames of power supply voltage data;
[0030] In step S110, the industrial network power supply fault diagnosis device needs to be initialized to ensure that all sensors and monitoring modules are operational and able to respond to signals from the industrial network power supply. When the industrial network power supply starts working, it sends an operating signal, which is typically a power-on signal or a voltage change signal. The sensors or monitoring modules in the diagnosis device respond to this signal and begin the data acquisition process.
[0031] The sensor continuously monitors the connected power supply, collecting power supply voltage data. This data is stored in frames, each containing the voltage value at a specific point in time, as well as other possible relevant parameters such as current and frequency. Acquiring multiple frames of data ensures a comprehensive record of continuous changes in the power supply voltage.
[0032] Each frame of power supply voltage data may contain the following information: timestamp: records the specific time of data acquisition for time series analysis; voltage value: the current power supply voltage reading, which is the main basis for judging the power supply status; status flag: marks the integrity of the data, sensor status, etc., to ensure the accuracy and reliability of the data.
[0033] To ensure real-time performance and efficiency, acquired multi-frame data is stored in a buffer and updated periodically to reflect the latest power status. The buffer size and update frequency can be adjusted according to actual needs to balance the performance of real-time monitoring and data processing. During data acquisition, data quality control is also required, including data verification and outlier filtering, to ensure that the acquired power voltage data is accurate and reflects the true operating condition of the power supply.
[0034] Step S120: Determine the power supply operating mode based on multiple frames of power supply voltage data. The power supply operating modes include: normal operating mode, low-risk operating mode, high-risk operating mode, and fault mode.
[0035] In step S120, multiple frames of power supply voltage data are continuously acquired by a sensor. Each frame contains the voltage value at a specific instant and other possible parameters. The rate of change between two adjacent frames of power supply voltage data is calculated, i.e., the ratio of the change in voltage value to the change time, denoted as L. A series of preset rate of change thresholds are defined: the first preset rate of change threshold is A, the second preset rate of change threshold is B, and the third preset rate of change threshold is C, which are used to delineate the boundaries of different power supply operating modes, where A... <B<C。
[0036] First judgment result: Based on the relationship between L and A, B, and C, the first judgment result is as follows:
[0037] If L≤A, the voltage change rate is within the normal range, and the power supply status is marked as normal.
[0038] If A < L ≤ B, the voltage change rate increases slightly, and the power supply status is marked as a low-risk state.
[0039] If B < L < C, the voltage change rate is significantly higher than the normal range, and the power supply status is marked as a high-risk state.
[0040] If C≤L, the voltage change rate is very large, and the instantaneous voltage status needs to be further checked to determine if there is a fault.
[0041] When the rate of change of the power supply voltage L exceeds C, it is necessary to additionally collect instantaneous power supply voltage data M to perform a second judgment and obtain the second judgment result:
[0042] If M=0, the power supply voltage will drop to zero instantaneously, and the power supply operating mode will be marked as a fault state.
[0043] If M > 0, the power supply voltage fluctuates significantly but does not drop to zero, and it may still supply power normally, but there is a high risk. The power supply operating mode is marked as a high-risk state.
[0044] The power supply operating mode is determined based on the power supply voltage status, wherein:
[0045] Normal operating mode: When the power supply voltage is in a normal state, the power supply is considered to be operating under standard conditions and no special intervention is required.
[0046] Low-risk operating mode: When the power supply voltage is in a low-risk state, it indicates that although there is a slight abnormality in the operation of the power supply, it is still within a controllable range.
[0047] High-risk operating mode: When the power supply voltage is in a high-risk state, the operation of the power supply is under great threat and may affect the stability of the industrial network.
[0048] Fault mode: If the power supply voltage status is marked as fault state, it means that the power supply has stopped or is seriously abnormal, the industrial network may be interrupted, and an emergency recovery procedure must be initiated immediately, such as switching to backup power.
[0049] Based on the above logic, this fault diagnosis method can not only monitor changes in power supply voltage in real time, but also identify the power supply's operating mode in a refined manner based on the dynamic analysis of the voltage change rate. This provides timely and effective fault warnings and management decision support for industrial networks, minimizing production stoppages and cost losses caused by power supply anomalies.
[0050] Step S140: Based on the power supply operating mode, generate a control instruction set. The control instruction set is used to control the industrial network power supply, alarm device and power switching device to be in the target operating state.
[0051] In step S140, corresponding control command sets are generated according to the different operating modes of the industrial network power supply to achieve precise control of the alarm device, the industrial network power supply itself, and the power switching device, ensuring optimal network performance under various conditions. The specific process is as follows:
[0052] When the power supply is in normal operating mode, the system generates the first control command. This first control command ensures the alarm device remains in normal operating condition, preventing any alarm signals and avoiding unnecessary interference. Simultaneously, the first control command also controls the power switching device to standby mode, ready to respond to power needs in emergencies, but without actually switching power.
[0053] When the power supply operates in a low-risk mode, a second control command is generated: If the power supply operates in a low-risk mode, the system generates a second control command. This second control command activates the alarm device to enter a low-risk alarm state, emitting a mild visual or audible signal to notify maintenance personnel to monitor the power supply status. Simultaneously, this command prompts the industrial network power supply to enter a cooling state, enhancing cooling to prevent potential overheating. The power switching device enters a hot standby state based on the second control command, ready to quickly switch over when necessary to maintain network continuity.
[0054] A third control command is generated when the power supply operates in a high-risk mode: When the power supply voltage status indicates a high-risk operating mode, the system generates a third control command. This third control command activates the alarm device, issuing a stronger alarm signal to warn of immediate action. Simultaneously, the system will attempt to restart the industrial network power supply to eliminate transient instability. The power switching device remains in hot standby mode, ready to switch to an available backup power path to maintain network operation.
[0055] A fourth control command is generated when the power supply is in fault mode: If the power supply is determined to be in fault mode, the system will generate a fourth control command. This fourth control command will trigger the highest level alarm from the alarm device, ensuring that all relevant personnel are aware that the power supply has completely failed. Simultaneously, this command will forcibly shut down the industrial network power to prevent further damage or safety hazards. Crucially, the fourth control command will instruct the power switching device to immediately switch to backup power operation, ensuring that the network continues to operate unaffected by the power outage.
[0056] This embodiment enables the implementation of the most appropriate response measures under different power conditions, encompassing both routine monitoring and maintenance as well as rapid response and safety procedures in emergency situations. This approach not only improves power management efficiency but also significantly enhances the stability and security of industrial networks, reducing unplanned downtime.
[0057] Based on steps S110 to S140 above, in this embodiment of the invention, by continuously acquiring multiple frames of power supply voltage data, the power supply status can be monitored in real time, and voltage fluctuations or abnormalities can be detected in a timely manner. Based on historical data and algorithm models, the power supply's operating mode can be intelligently determined and classified into normal, low-risk, high-risk, or fault modes, thereby improving the accuracy and efficiency of fault detection. Based on the power supply's operating mode, a control instruction set is automatically generated. When a potential fault risk is detected, an alarm device can be actively triggered. When the power supply enters a fault mode, it can quickly switch to a backup power supply, reducing downtime and ensuring the continuous operation of the network and production line. This solves the technical problems of lagging power supply fault detection, inability to accurately classify power supply operating status, and lack of effective early warning and response strategies in the prior art.
[0058] The industrial network power supply fault diagnosis method of this invention determines the power supply operating mode based on multiple frames of power supply voltage data, including: determining the power supply voltage change rate based on the multiple frames of power supply voltage data; determining the power supply voltage state based on the power supply voltage change rate; and determining the power supply operating mode based on the power supply voltage state. This method of dynamically analyzing the power supply operating mode using multiple frames of power supply voltage data significantly improves the accuracy and response speed of fault detection. By calculating the voltage change rate, this method can keenly capture minute fluctuations in the power supply state and promptly identify the transition phase from normal to fault, i.e., low-risk and high-risk operating modes. This intelligent judgment based on data change trends not only reduces false alarms and missed alarms but also achieves proactive early warning of power supply health status, providing maintenance personnel with sufficient preparation time to take preventative measures or emergency responses, thereby effectively avoiding production interruptions caused by power supply anomalies.
[0059] Further, determining the power supply voltage state based on the power supply voltage change rate includes: judging the power supply voltage change rate based on a preset change rate threshold to obtain a first judgment result, wherein the preset change rate threshold includes: a first preset change rate threshold, a second preset change rate threshold, and a third preset change rate threshold; in response to the first judgment result L≤A, determining the power supply voltage state as a normal state; in response to the judgment result A<L≤B, determining the power supply voltage state as a low-risk state; in response to the judgment result B<L<C, determining the power supply voltage state as a high-risk state; in response to the judgment result C≤L, acquiring instantaneous power supply voltage data; obtaining a second judgment result from the instantaneous power supply voltage data; in response to the second judgment result M=0, determining the power supply voltage state as a fault state; in response to the second judgment result M>0, determining the power supply voltage state as a high-risk state; wherein the power supply voltage change rate is L, the first preset change rate threshold is A, the second preset change rate threshold is B, the third preset change rate threshold is C, and the instantaneous power supply voltage data is M. By finely analyzing the power supply voltage change rate based on a preset change rate threshold, this method can accurately determine the power supply voltage status in real time, effectively distinguishing between normal, low-risk, high-risk, and even fault states, thereby providing early warning of potential power supply problems. The advantage of this method lies in its ability to instantly identify minute voltage fluctuations through continuous monitoring and comparison of voltage data, avoiding the limitations of traditional methods that can only passively respond after a fault occurs. Furthermore, by introducing a secondary judgment based on instantaneous voltage data, it further confirms the actual power supply condition under high-risk states, ensuring accurate fault state determination and greatly improving the efficiency and reliability of industrial network power management.
[0060] In one exemplary embodiment, determining the power supply operating mode based on the power supply voltage state includes: determining the power supply operating mode as a normal operating mode if the power supply voltage state is normal; determining the power supply operating mode as a low-risk operating mode if the power supply voltage state is low-risk; determining the power supply operating mode as a high-risk operating mode if the power supply voltage state is high-risk; and determining the power supply operating mode as a fault mode if the power supply voltage state is faulty. This strategy of directly mapping the power supply operating mode to the power supply voltage state provides immediate and clear feedback on the power supply's operational health level. The tiered judgment from normal operating mode to low-risk, high-risk, and even fault modes enables targeted system maintenance, allowing for specific preventative or emergency measures. This effectively ensures the stable operation of the industrial network while reducing production risks and costs caused by power supply anomalies, thereby improving overall production efficiency and safety.
[0061] In this embodiment, a control instruction set is generated based on the power supply operating mode, including: generating a first control instruction in the control instruction set based on the power supply operating mode being normal operating mode. The first control instruction is used to control the alarm device to perform normal operating state, and also to control the power switching device to perform standby state. Based on this characteristic of the power supply operating mode, when the system determines that the power supply is in normal operating mode, it automatically generates the first control instruction in the control instruction set. The specific function of this instruction is to keep the alarm device in normal operating state, i.e., not triggering any alarms, avoiding unnecessary warnings that interfere with normal operation; simultaneously, it also instructs the power switching device to remain in standby state, ensuring that in the event of an emergency, it can quickly and without delay switch to the backup power supply, providing a guarantee for the continuous operation of the system. This design ensures stable daily operation and provides a rapid response mechanism for possible power failures.
[0062] In one exemplary embodiment, a control instruction set is generated based on the power supply operating mode, including: generating a second control instruction in the control instruction set based on the power supply operating mode being a low-risk operating mode; the second control instruction is used to control the alarm device to execute a low-risk alarm state; the second control instruction is used to control the industrial network power supply to execute a heat dissipation operating state; and the second control instruction is used to control the power switching device to execute a hot standby state. When the power supply operating mode is assessed as a low-risk operating mode, the system will generate the second control instruction in the control instruction set. Execution of this instruction will cause the alarm device to enter a low-risk alarm state, alerting maintenance personnel to the power supply status with a mild alarm without triggering a full-scale alert. Simultaneously, the second control instruction will cause the industrial network power supply to enter a heat dissipation operating state, enhancing its cooling performance and preventing potential escalation of risks due to temperature increases. Furthermore, it also drives the power switching device to a hot standby state, meaning the switching device has been preheated and is ready to immediately switch to the backup power supply, ensuring rapid maintenance of power supply continuity when network power conditions deteriorate, thereby effectively controlling potential system interruption risks and improving the overall network stability and safe operation capabilities.
[0063] In an exemplary embodiment, a control instruction set is generated based on the power supply operating mode, including: generating a third control instruction in the control instruction set based on the power supply operating mode being a high-risk operating mode; the third control instruction is used to control the alarm device to execute a high-risk alarm state; the third control instruction is used to control the industrial network power supply to execute a restart state; and the third control instruction is used to control the power switching device to execute a hot standby state. When the power supply operating mode is identified as a high-risk operating mode, the system will generate the third control instruction in the control instruction set. The primary function of this instruction is to drive the alarm device into a high-risk alarm state, promptly warning maintenance personnel that the power supply status is approaching a dangerous edge and immediate action is required. Simultaneously, the third control instruction will instruct the industrial network power supply to enter a restart state. This step aims to attempt to eliminate transient faults and restore system stability through power restart. Furthermore, this instruction will ensure that the power switching device remains in a hot standby state, meaning that the switching device is preheated and ready at all times. If the main power supply cannot be restored to normal through restart, it can immediately switch to the backup power supply, minimizing production interruption time caused by power problems.
[0064] In one exemplary embodiment, a control instruction set is generated based on the power supply operating mode, including: generating a fourth control instruction in the control instruction set based on the power supply operating mode being a fault mode; the fourth control instruction is used to control the alarm device to perform a fault alarm state; the fourth control instruction is used to control the industrial network power supply to perform a shutdown state; and the fourth control instruction is used to control the power switching device to perform a backup power supply operating state.
[0065] Figure 2 This is yet another industrial network power supply fault diagnosis method according to one embodiment of the present invention, such as... Figure 2 As shown, the method includes the following steps:
[0066] Step 201: In response to the industrial network power supply operating signal, acquire multiple frames of power supply voltage data;
[0067] Step 202: Determine the power supply voltage change rate based on multiple frames of power supply voltage data;
[0068] Step 203: Based on a preset rate of change threshold, determine the rate of change of the power supply voltage to obtain a first determination result;
[0069] Among them, the preset rate of change threshold includes: a first preset rate of change threshold, a second preset rate of change threshold and a third preset rate of change threshold;
[0070] Step 204: In response to the first judgment result being L≤A, the power supply voltage state is determined to be normal.
[0071] Step 205: In response to the judgment result being A < L ≤ B, the power supply voltage state is determined to be a low-risk state;
[0072] Step 206: In response to the judgment result that B < L < C, the power supply voltage state is determined to be a high-risk state;
[0073] Step 207: In response to the judgment result being C≤L, acquire the instantaneous power supply voltage data;
[0074] Step 208: Obtain the second judgment result from the instantaneous power supply voltage data;
[0075] Step 209: In response to the second judgment result being M=0, the power supply voltage state is a fault state;
[0076] Step 210: In response to the second judgment result being M > 0, the power supply voltage state is a high-risk state;
[0077] Step 211: Based on the power supply voltage status being normal, the power supply operating mode is normal working mode.
[0078] Step 212: Based on the power supply voltage status being low-risk, the power supply operating mode is set to low-risk operating mode.
[0079] Step 213: Based on the power supply voltage status being in a high-risk state, the power supply operating mode is set to a high-risk operating mode.
[0080] Step 214: Based on the power supply voltage status being a fault state, the power supply operating mode is also a fault mode.
[0081] Step 215: Based on the power supply operating mode being normal operating mode, generate the first control instruction in the control instruction set;
[0082] Specifically, the first control command is used to control the alarm device to perform normal operation, and the first control command is used to control the power switching device to perform standby operation. Based on this characteristic of the power supply operating mode, when the system determines that the power supply is in normal operating mode, it will automatically generate the first control command in the control command set.
[0083] Step 216: Based on the power supply operating mode being a low-risk operating mode, generate the second control instruction in the control instruction set;
[0084] Specifically, the second control command is used to control the alarm device to execute a low-risk alarm state, the second control command is used to control the industrial network power supply to execute a heat dissipation state, and the second control command is used to control the power switching device to execute a hot standby state. When the power supply operating mode is assessed as a low-risk operating mode, the system will generate the second control command from the control command set.
[0085] Step 217: Based on the power supply operating mode being a high-risk operating mode, generate the third control instruction in the control instruction set;
[0086] Among them, the third control command is used to control the alarm device to perform a high-risk alarm state, the third control command is used to control the industrial network power supply to perform a restart state, and the third control command is used to control the power switching device to perform a hot standby state.
[0087] Step 218: Based on the power supply operating mode being fault mode, generate the fourth control instruction in the control instruction set;
[0088] The fourth control command is used to control the alarm device to perform a fault alarm state, the fourth control command is used to control the industrial network power supply to perform a shutdown state, and the fourth control command is used to control the power switching device to perform a backup power supply working state.
[0089] Based on steps S201 to S218 above, in this embodiment of the invention, by continuously acquiring multiple frames of power supply voltage data, the power supply status can be monitored in real time, and voltage fluctuations or abnormalities can be detected in a timely manner. Based on historical data and algorithm models, the power supply's operating mode can be intelligently determined and classified into normal, low-risk, high-risk, or fault modes, thereby improving the accuracy and efficiency of fault detection. Based on the power supply's operating mode, a control instruction set is automatically generated. When a potential fault risk is detected, an alarm device can be actively triggered. When the power supply enters a fault mode, it can quickly switch to a backup power supply, reducing downtime and ensuring the continuous operation of the network and production line. This solves the technical problems of lagging power supply fault detection, inability to accurately classify power supply operating status, and lack of effective early warning and response strategies in the prior art.
[0090] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of the present invention.
[0091] This invention also provides an industrial network power supply fault diagnosis device, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0092] Figure 3 An industrial network power supply fault diagnosis device according to one embodiment of the present invention includes:
[0093] The acquisition module 301 is used to acquire the target material identification information of the target material in response to the load height adjustment request information;
[0094] The determination module 302 is used to acquire multiple frames of power supply voltage data in response to the industrial network power supply working signal;
[0095] The generation module 303 is used to generate a control instruction set based on the power operating mode. The control instruction set is used to control the industrial network power supply, alarm device and power switching device to be in the target operating state.
[0096] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.
[0097] According to one embodiment of the present invention, an electronic device is also provided, comprising: a memory storing an executable program; and a processor for running the program, wherein the program executes the above-described industrial network power supply fault diagnosis method during runtime.
[0098] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:
[0099] Step S1: In response to the industrial network power supply operating signal, acquire multiple frames of power supply voltage data;
[0100] Step S2: Determine the power supply operating mode based on multiple frames of power supply voltage data. The power supply operating modes include: normal operating mode, low-risk operating mode, high-risk operating mode, and fault mode.
[0101] Step S3: Based on the power supply operating mode, generate a control instruction set. The control instruction set is used to control the industrial network power supply, alarm device and power switching device to be in the target operating state.
[0102] According to one embodiment of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored executable program, wherein, when the executable program is running, it controls the device where the storage medium is located to execute the above-described industrial network power supply fault diagnosis method.
[0103] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
[0104] Step S1: In response to the industrial network power supply operating signal, acquire multiple frames of power supply voltage data;
[0105] Step S2: Determine the power supply operating mode based on multiple frames of power supply voltage data. The power supply operating modes include: normal operating mode, low-risk operating mode, high-risk operating mode, and fault mode.
[0106] Step S3: Based on the power supply operating mode, generate a control instruction set. The control instruction set is used to control the industrial network power supply, alarm device and power switching device to be in the target operating state.
[0107] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing computer programs, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0108] According to one embodiment of the present invention, a computer program product is also provided, including a computer program that, when executed by a processor, implements the above-described industrial network power supply fault diagnosis method.
[0109] Optionally, in this embodiment, the above-mentioned computer program product can be configured as a computer program that performs the following steps:
[0110] Step S1: In response to the industrial network power supply operating signal, acquire multiple frames of power supply voltage data;
[0111] Step S2: Determine the power supply operating mode based on multiple frames of power supply voltage data. The power supply operating modes include: normal operating mode, low-risk operating mode, high-risk operating mode, and fault mode.
[0112] Step S3: Based on the power supply operating mode, generate a control instruction set. The control instruction set is used to control the industrial network power supply, alarm device and power switching device to be in the target operating state.
[0113] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.
[0114] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0115] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between units or modules may be electrical or other forms.
[0116] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0117] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0118] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0119] The above are merely preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for diagnosing power supply faults in industrial networks, characterized in that, include: In response to industrial network power supply operating signals, acquire multiple frames of power supply voltage data; Based on the power supply voltage data in multiple frames, the power supply operating mode is determined, including: normal operating mode, low-risk operating mode, high-risk operating mode, and fault mode. Based on the power supply operating mode, a control instruction set is generated, which is used to control the industrial network power supply, alarm device and power switching device to be in the target operating state.
2. The industrial network power supply fault diagnosis method according to claim 1, characterized in that, Based on multiple frames of power supply voltage data, the power supply operating mode is determined, including: The power supply voltage change rate is determined based on the power supply voltage data from multiple frames. The power supply voltage state is determined based on the power supply voltage change rate. The power supply operating mode is determined based on the power supply voltage status.
3. The industrial network power supply fault diagnosis method according to claim 2, characterized in that, Determining the power supply voltage state based on the power supply voltage change rate includes: Based on a preset rate of change threshold, the rate of change of the power supply voltage is judged to obtain a first judgment result, wherein the preset rate of change threshold includes: a first preset rate of change threshold, a second preset rate of change threshold and a third preset rate of change threshold. In response to the first determination result being L≤A, the power supply voltage state is determined to be normal. In response to the judgment result being A < L ≤ B, the power supply voltage state is determined to be a low-risk state; In response to the judgment result being B < L < C, the power supply voltage state is determined to be a high-risk state; In response to the judgment result being C≤L, instantaneous power supply voltage data is acquired; A second judgment result is obtained from the instantaneous power supply voltage data; In response to the second judgment result being M=0, the power supply voltage state is a fault state; In response to the second judgment result being M > 0, the power supply voltage state is a high-risk state; Wherein, the power supply voltage change rate is L, the first preset change rate threshold is A, the second preset change rate threshold is B, the third preset change rate threshold is C, and the instantaneous power supply voltage data is M.
4. The industrial network power supply fault diagnosis method according to claim 3, characterized in that, Determining the power supply operating mode based on the power supply voltage state includes: The power supply voltage is in a normal state, and the power supply operating mode is in normal working mode. Based on the fact that the power supply voltage state is a low-risk state, the power supply operating mode is a low-risk operating mode; Based on the fact that the power supply voltage state is a high-risk state, the power supply operating mode is a high-risk operating mode; The power supply voltage state is a fault state, and the power supply operating mode is a fault mode.
5. The industrial network power supply fault diagnosis method according to claim 1, characterized in that, Based on the power supply operating mode, the control command set is generated, including: Based on the power supply operating mode being the normal operating mode, a first control instruction is generated in the control instruction set. The first control instruction is used to control the alarm device to perform normal operating mode, and the first control instruction is used to control the power switching device to perform standby mode.
6. The industrial network power supply fault diagnosis method according to claim 1, characterized in that, Based on the power supply operating mode, the control command set is generated, including: Based on the fact that the power supply is operating in a low-risk mode, a second control instruction is generated in the control instruction set. The second control instruction is used to control the alarm device to perform a low-risk alarm state, control the industrial network power supply to perform a heat dissipation state, and control the power switching device to perform a hot standby state.
7. The industrial network power supply fault diagnosis method according to claim 1, characterized in that, Based on the power supply operating mode, the control command set is generated, including: Based on the fact that the power supply is operating in a high-risk mode, a third control instruction is generated in the control instruction set. The third control instruction is used to control the alarm device to perform a high-risk alarm state, to control the industrial network power supply to perform a restart state, and to control the power switching device to perform a hot standby state.
8. The industrial network power supply fault diagnosis method according to claim 1, characterized in that, Based on the power supply operating mode, the control command set is generated, including: Based on the power supply operating mode being a fault mode, a fourth control instruction is generated in the control instruction set. The fourth control instruction is used to control the alarm device to perform a fault alarm state, the fourth control instruction is used to control the industrial network power supply to perform a shutdown state, and the fourth control instruction is used to control the power switching device to perform a backup power supply operating state.
9. An industrial network power supply fault diagnosis device, characterized in that, include: The acquisition module is used to acquire multiple frames of power voltage data in response to industrial network power supply operating signals. The determination module is used to determine the power supply operating mode based on the power supply voltage data in multiple frames. The power supply operating mode includes: normal operating mode, low-risk operating mode, high-risk operating mode and fault mode. The generation module is used to generate a set of control instructions based on the power supply operating mode. The set of control instructions is used to control the industrial network power supply, alarm device and power switching device to be in the target operating state.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored executable program, wherein, when the executable program is executed, it controls the device where the storage medium is located to perform the industrial network power supply fault diagnosis method according to any one of claims 1 to 8.