Driving control method and device, electrical equipment and storage medium

By recording fault logs and monitoring the duration of faults, dynamically adjusting the fault monitoring duration, and reasonably controlling the power outages and restarts of the drive power supply, the problem of electrical equipment shutting down after a misjudgment of a drive fault was solved, thus improving the operational stability and reliability of the electrical equipment.

CN121007112APending Publication Date: 2025-11-25GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202511400227.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-28
Publication Date
2025-11-25

AI Technical Summary

Technical Problem

The existing electrical equipment shuts down immediately after a drive malfunction is misdiagnosed, causing the compressor to fail to start normally and affecting the normal user experience.

Method used

By recording fault logs and monitoring fault duration, the fault monitoring duration is dynamically adjusted according to the frequency and duration of fault occurrence. The drive power supply is only powered off when the number of faults or the duration reaches the preset conditions, the number of faults is cleared and the number of power outages is accumulated, the timing of drive power supply restart is reasonably controlled, and a preset sliding window is used to detect the fault rate.

Benefits of technology

Accurately identify drive faults to avoid frequent downtime caused by misjudgments and occasional failures, improve the operational stability and reliability of electrical equipment, reduce maintenance costs and energy consumption, and extend equipment life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121007112A_ABST
    Figure CN121007112A_ABST
Patent Text Reader

Abstract

The invention relates to a drive control method and device, electrical equipment and a storage medium. The method comprises the steps of dynamically determining a fault monitoring duration for responding to a driving fault according to a fault occurrence frequency within a preset detection duration, and when the fault frequency reaches a preset frequency and / or the fault duration reaches the fault monitoring duration, accurately determining that the driving fault is not an accidental fault or fault misjudgment, and the situation that the compressor cannot be normally restarted due to immediate shutdown caused by fault misjudgment or accidental fault is avoided, so that the problem that the compressor cannot be normally started due to immediate shutdown after the driving fault of the electrical equipment is misjudged is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of drive control technology, and in particular to a drive control method, device, electrical equipment, and storage medium. Background Technology

[0002] In many electrical appliances, the stability of compressor operation directly affects the overall performance of the machine. Compressors are typically controlled by a main control module via a drive power supply. When the equipment detects a drive fault, such as overcurrent, overvoltage, or communication abnormalities, it will take protective measures, such as stopping the compressor. The common control method is to immediately shut down the machine after a drive fault occurs. However, this method carries the risk of misjudgment, especially in the event of brief interference or intermittent faults. Immediate shutdown can easily prevent the compressor from restarting properly, affecting the normal user experience. Summary of the Invention

[0003] This application provides a drive control method, apparatus, electrical equipment, and storage medium to solve the problem that the compressor cannot start normally because the electrical equipment stops immediately after a drive fault is misjudged.

[0004] In a first aspect, this application provides a drive control method, the method comprising: When a drive fault is detected, a fault log is recorded and the duration of the fault is monitored. The fault log includes the number of faults and the frequency of fault occurrence within a preset detection duration. The corresponding fault monitoring duration is determined based on the frequency of the fault occurrence. When the number of faults reaches a preset number, and / or the duration of the fault reaches the fault monitoring duration, the drive power supply is cut off to stop the compressor from running, the number of faults is reset to zero, and the number of power outages is accumulated.

[0005] Optionally, when the number of failures reaches a preset number, and / or the duration of the failure reaches the fault monitoring duration, the method further includes controlling the drive power supply to cut off the power to stop the compressor from running, resetting the number of failures, and accumulating the number of power outages, after which: When a drive signal is received, the power-off duration of the drive power supply is determined; When the power outage duration reaches the preset power outage duration, the drive power supply is restarted to allow the compressor to operate normally.

[0006] Optionally, after restarting the drive power supply to allow the compressor to operate normally when the power outage duration reaches a preset power outage duration, the method further includes: If no driver fault is detected within the preset monitoring time, the continuous running time is reset and re-accumulated.

[0007] Optionally, after restarting the drive power supply to allow the compressor to operate normally when the power outage duration reaches a preset power outage duration, the method further includes: The failure rate within the preset sliding window is obtained by detecting and driving faults through a preset sliding window. When the failure rate within the preset sliding window is less than the preset failure rate, the continuous running time is reset to zero and re-accumulated.

[0008] Optionally, after resetting and re-accumulating the continuous runtime, the method further includes: When the continuous running time reaches the preset running time and no drive fault is detected within the continuous running time, the number of power outages is reset to zero.

[0009] Optionally, the step of detecting driving faults according to a preset sliding window and obtaining the fault rate within the preset sliding window includes: The fault detection is driven by sliding a preset sliding window, and the percentage of fault occurrences and / or the percentage of fault durations within the preset sliding window are obtained. The failure rate within the preset sliding window is determined based on the percentage of failures in the preset sliding window and / or the percentage of failure duration.

[0010] Optionally, determining the corresponding fault monitoring duration based on the fault occurrence frequency includes: The fault monitoring duration corresponding to the preset occurrence frequency is determined based on the inverse proportional mapping relationship between the preset occurrence frequency and the preset monitoring duration.

[0011] Secondly, this application provides a drive control device, the device comprising: The detection module is used to record a fault log and monitor the duration of the fault when a drive fault is detected. The fault log includes the number of faults and the frequency of fault occurrence within a preset detection duration. The determination module is used to determine the corresponding fault monitoring duration based on the frequency of the fault occurrence. The main control module is used to control the drive power supply to cut off the compressor to stop running, reset the number of faults to zero, and accumulate the number of power outages when the number of faults reaches a preset number and / or the duration of the fault reaches the fault monitoring duration.

[0012] Thirdly, this application provides an electrical device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-described drive control method.

[0013] Fourthly, this application also provides a computer storage medium storing computer-executable instructions for executing the above-described drive control method.

[0014] Compared with the prior art, the technical solution provided in this application has the following advantages: When a drive fault is detected, the method provided in this application records a fault log and monitors the duration of the fault. The fault log includes the number of faults and the frequency of fault occurrence within a preset detection duration. Based on the frequency of fault occurrence, a corresponding fault monitoring duration is determined. When the number of faults reaches a preset number and / or the duration of the fault reaches the fault monitoring duration, the drive power supply is controlled to be cut off to stop the compressor from running, the number of faults is cleared, and the number of power outages is accumulated.

[0015] Based on the above method, the fault monitoring duration for responding to drive faults is dynamically determined according to the frequency of fault occurrence within the preset detection time. When the number of faults reaches the preset number and / or the duration of the fault reaches the fault monitoring duration, it is accurately determined that the drive fault is not an intermittent fault or a misjudgment of the fault. Only then is the drive power supply disconnected to stop the compressor from running. This avoids the compressor being unable to restart normally due to an immediate shutdown caused by a misjudgment of the fault or an intermittent fault, thus solving the problem of the compressor being unable to start normally when electrical equipment stops immediately after a misjudgment of the drive fault. Attached Figure Description

[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0019] Figure 1 An application environment diagram of a drive control method provided in an embodiment of this application; Figure 2 A flowchart illustrating a drive control method provided in an embodiment of this application; Figure 3A flowchart illustrating a drive control method provided in an embodiment of this application; Figure 4 A flowchart illustrating a drive control method provided in an embodiment of this application; Figure 5 A flowchart illustrating a drive control method provided in an embodiment of this application; Figure 6 A flowchart illustrating a drive control method provided in an embodiment of this application; Figure 7 A structural block diagram of a drive control device provided in an embodiment of this application; Figure 8 This is a schematic diagram of the internal structure of an electrical device provided in an embodiment of this application. Detailed Implementation

[0020] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0021] The following disclosure provides numerous different embodiments or examples for implementing various structures of the invention. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the scope of the invention. Furthermore, reference numerals and / or letters may be repeated in different examples. Such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.

[0022] Figure 1 This is a diagram illustrating the application environment of the drive control method in one embodiment. (Refer to...) Figure 1 This drive control method is applied to a drive control system. The drive control system is located within an electrical device, which can specifically be a refrigeration unit, air conditioning unit, heat pump unit, industrial chiller, dehumidifier, or other equipment containing a compressor 130. The drive control system includes a drive control device 110, a compressor 130, and a drive power supply 120. The drive control device 110 controls the on / off state of the drive power supply 120 to switch the operating state of the compressor 130. When the drive power supply 120 is de-energized, the compressor 130 stops running; when the drive power supply 120 is energized, the compressor 130 operates normally.

[0023] In one embodiment, Figure 2This is a flowchart illustrating a drive control method in one embodiment, with reference to... Figure 2 This invention provides a drive control method. This embodiment primarily applies this method to the aforementioned... Figure 1 Taking the drive control device 110 as an example, the drive control method specifically includes the following steps: Step S210: When a drive fault is detected, a fault log is recorded and the duration of the fault is monitored. The fault log includes the number of faults and the frequency of fault occurrence within a preset detection duration.

[0024] Specifically, driver faults include at least one of the following: overcurrent faults, overvoltage faults, and communication anomalies. The fault log includes the cumulative number of faults, the detection timestamps for each driver fault corresponding to the fault count, the fault type for each driver fault, and the fault occurrence frequency. The fault occurrence frequency is determined based on the number of faults counted within a preset detection period. The preset detection period is the most recent time interval, and it can be customized according to specific application scenarios.

[0025] By recording the cumulative number of faults, fault detection timestamps, fault types, and fault occurrence frequencies, electrical equipment can accurately pinpoint the specific circumstances of drive faults. For example, for frequently occurring overcurrent faults, the frequency and timestamps can be used to quickly determine whether the faults occur within a specific time period or operating mode. Combined with fault type information, this allows for more targeted inspection of hardware components that may cause overcurrent faults, such as power modules and current sensors, thereby enabling rapid repairs, reducing equipment downtime, and improving production efficiency.

[0026] By analyzing the frequency and time distribution of various drive failures, electrical equipment can predict the timing of potential future failures. For example, if the frequency of a certain drive failure shows a gradual upward trend, the electrical equipment can automatically trigger preventative maintenance tasks before the failure frequency reaches a threshold, issuing early warning maintenance notices to inform technicians to inspect and maintain the electrical equipment, replace potentially damaged components, avoid sudden failures, and reduce maintenance costs and production losses.

[0027] Leveraging modern communication technologies, fault logs can be transmitted to a remote monitoring center in real time. Technicians can then use the remote monitoring system to view equipment fault conditions and operational status anytime, anywhere. Utilizing artificial intelligence models and big data analytics, the system can intelligently diagnose fault logs, automatically generating fault diagnosis reports and solution suggestions. Even when technicians are not on-site, they can promptly understand equipment fault conditions and guide on-site personnel in troubleshooting, improving the efficiency and accuracy of fault handling.

[0028] Step S220: Determine the corresponding fault monitoring duration based on the frequency of the fault occurrence.

[0029] Specifically, the fault monitoring duration is determined by the frequency of fault occurrence, so that the drive fault can be responded to in a timely manner under different fault occurrence frequencies. This avoids frequent response to drive faults that would cause the compressor 130 to stop and fail to operate normally, and also avoids prolonged response to drive faults that could lead to more serious consequences due to the aggravation of the fault.

[0030] Step S230: When the number of faults reaches a preset number and / or the duration of the fault reaches the fault monitoring duration, the drive power supply 120 is powered off to stop the compressor 130 from running, the number of faults is reset to zero, and the number of power outages is accumulated.

[0031] Specifically, if the cumulative number of faults reaches the preset number, it indicates that drive faults occur frequently, and if the duration of the fault reaches the fault monitoring duration, it indicates that the fault lasts for a long time and is not a short-term disturbance. Therefore, when at least one of the above situations occurs, it is necessary to respond to the drive fault in a timely manner, control the drive power supply 120 to disconnect, and stop the compressor 130 from running. This avoids the compressor 130 from being unable to restart normally due to immediate shutdown caused by misjudgment of the fault or intermittent faults. This solves the problem of the compressor 130 being unable to start normally due to immediate shutdown after misjudgment of the drive fault.

[0032] In terms of fault monitoring, precisely setting monitoring indicators for the number of faults and the duration of faults allows for comprehensive and timely capture of abnormal conditions during the operation of compressor 130. Using the number of faults as the monitoring basis effectively identifies frequently occurring minor, intermittent faults. While these faults may not individually cause serious damage to compressor 130, their frequent occurrence may indicate potential systemic problems. Timely detection and intervention can prevent further deterioration. Using the duration of faults as the monitoring indicator allows for effective monitoring of persistent faults, such as those caused by slow wear or gradual failure of certain components. Even if the number of faults does not reach a preset value, the persistent fault state can adversely affect the performance and lifespan of compressor 130. Duration monitoring allows for early detection and handling. By simultaneously monitoring for a preset number of faults and triggering a power outage to stop the compressor when the fault duration reaches the preset monitoring time, the detection accuracy and judgment precision of drive faults can be improved.

[0033] When a fault reaches a preset condition, the control drive power supply 120 is de-energized, causing the compressor 130 to stop running. This operation quickly cuts off the fault source, prevents the fault from spreading further, and protects the critical components of the compressor 130 from greater damage. Simultaneously, resetting the fault count provides a new starting point for subsequent fault monitoring, ensuring the accuracy of fault statistics and avoiding the accumulation of historical fault counts from affecting the assessment of the current fault status.

[0034] The cumulative number of power outages is an important operational indicator reflecting the operational stability and reliability of compressor 130. By analyzing the number of power outages, maintenance personnel can understand the frequency of compressor 130 failures under different operating conditions, thereby developing more reasonable maintenance plans. For example, if the number of power outages increases significantly within a specific time period, it may mean that some components of compressor 130 are nearing the end of their service life and require timely inspection and replacement. Furthermore, statistical data on the number of power outages can also provide a basis for performance evaluation and improvement of compressor 130, helping R&D personnel optimize the design and control strategies of compressor 130, thereby improving its overall performance and reliability.

[0035] This precise and reasonable fault response mechanism significantly improves the stability and reliability of electrical equipment. On one hand, it avoids frequent shutdowns due to occasional faults or misjudgments, reducing interference with normal equipment operation and ensuring that the equipment can provide stable service to users under most circumstances, thus improving the user experience. For example, in refrigeration equipment, it prevents frequent shutdowns due to brief drive failures, ensuring stable internal temperatures. On the other hand, timely response to genuine drive failures, controlling the disconnection of drive power supply 120 and stopping compressor 130, effectively protects the core components of the equipment and extends its lifespan. When a drive failure persists and reaches certain conditions, timely shutdown prevents further deterioration of the fault, avoiding irreversible damage to critical components such as compressor 130, and reducing maintenance costs and replacement frequency.

[0036] In one embodiment, refer to Figure 3 When the number of faults reaches a preset number, and / or the duration of the fault reaches the fault monitoring duration, the drive power supply 120 is powered off to stop the compressor 130 from running, the number of faults is reset to zero, and after accumulating the number of power outages, the method further includes: Step S240: When the drive signal is received, determine the power-off duration of the drive power supply 120; Step S250: When the power outage duration reaches the preset power outage duration, restart the drive power supply 120 to enable the compressor 130 to operate normally.

[0037] Specifically, after the drive power supply 120 is disconnected, when the drive signal is regained, the duration of the power outage of the drive power supply 120 needs to be detected. The drive signal can be a signal initiated by the user through touch operation or remote control command to the electrical device, or it can be a signal generated when the self-test result of the electrical device meets the triggering conditions of the drive signal. The power outage duration refers to the duration after the drive power supply 120 is disconnected. The drive power supply 120 is restarted only when the preset power outage duration is reached, restoring power to the compressor 130, thus avoiding current surges and hardware damage to the electrical device caused by frequent power outages.

[0038] By accurately detecting the power outage duration of the drive power supply 120 and restarting it after the preset power outage duration, not only can the hazards caused by frequent power outages be effectively avoided, but the overall stability and reliability of electrical equipment can also be improved. From an energy-saving perspective, rationally controlling the restart timing of the drive power supply 120 can avoid unnecessary energy consumption and achieve efficient energy utilization. For example, in some large commercial refrigeration equipment, due to the high power of its compressor 130, frequent starting and stopping would cause a large amount of energy waste. However, through this power outage duration detection and restart control technology, the electrical equipment can be restarted at the appropriate time, greatly reducing energy costs.

[0039] Furthermore, this technology can enhance the lifespan of electrical equipment. Frequent current surges can easily cause wear and aging of critical components such as the compressor 130, shortening their lifespan. By controlling the restart timing of the drive power supply 120, such surges are reduced, allowing components such as the compressor 130 to operate in a relatively stable working environment, reducing the probability of failure, lowering maintenance costs, and reducing the frequency of equipment replacement.

[0040] In one embodiment, refer to Figure 4 After the power outage duration reaches the preset power outage duration, and the drive power supply 120 is restarted to allow the compressor 130 to operate normally, the method further includes: Step S260: If no driver fault is detected within the preset listening time, the continuous running time is reset and re-accumulated.

[0041] Specifically, the system monitors for driver faults within a preset monitoring period after restarting the power supply 120 to determine whether driver faults will recur after restarting. The preset monitoring period can be 1 minute, 2 minutes, 3 minutes, or 5 minutes, etc., and can also be customized according to frequent hardware startup conditions. In this embodiment, the preset monitoring period is set to 2 minutes. If no driver fault is detected within the preset monitoring period, the continuous running time is reset to zero and re-accumulated, thereby separating the continuous running time when driver faults occurred from the continuous running time when there are no driver faults after the power supply 120 restarts.

[0042] This method of separately accumulating the continuous runtime during which drive failures occur and the continuous runtime without drive failures after the drive power supply 120 restarts provides technicians with more accurate and clearer fault analysis data from a fault diagnosis perspective. Previously, because the continuous runtime at different stages was not differentiated, fault data could be mixed up, making it difficult to analyze the root cause of the fault. Now, by separating the continuous runtime, technicians can intuitively compare the operating conditions before and after the fault, quickly identifying whether the fault is prone to occur within a specific runtime range or whether the potential problem exists in a specific stage after the drive power supply 120 restarts. For example, if frequent faults are found within a short continuous runtime after the drive power supply 120 restarts, then the focus should be on investigating factors such as the initialization process during restart and the stability of the power supply; if faults occur concentrated after a longer continuous runtime, then the focus may need to be on the equipment's heat dissipation performance and the aging of components.

[0043] Regarding equipment maintenance, maintenance personnel can develop more scientific and reasonable maintenance plans based on the separately accumulated continuous operating time. For equipment with a long period of continuous, trouble-free operation after restarting, the cycle of routine inspections can be appropriately extended to reduce unnecessary maintenance work and thus lower maintenance costs. Conversely, for equipment that frequently fails within a specific continuous operating time range, targeted maintenance can be arranged in advance to replace potentially problematic parts before a failure occurs, avoiding production losses due to equipment downtime.

[0044] In one embodiment, refer to Figure 5 After the power outage duration reaches the preset power outage duration, and the drive power supply 120 is restarted to allow the compressor 130 to operate normally, the method further includes: Step S270: Detect and drive faults according to a preset sliding window, and obtain the fault rate within the preset sliding window; Step S280: When the failure rate within the preset sliding window is less than the preset failure rate, the continuous running time is reset to zero and re-accumulated.

[0045] Specifically, the window duration corresponding to the preset sliding window can be customized according to different application scenarios, such as 2 minutes, 3 minutes, 5 minutes, etc. This can be optimized and adjusted according to the characteristics and operating environment of different electrical devices. Furthermore, the preset sliding window and preset failure rate can be dynamically adjusted according to the operating status of the electrical device, further improving the adaptability and flexibility of the electrical device. In this embodiment, the window duration of the preset sliding window is set to 5 minutes. After restarting the drive power supply 120, the drive fault is detected by sliding according to the preset sliding window. The failure rate within each preset sliding window is then calculated. Based on the failure rate, it is determined when to reset the window to zero and re-accumulate the continuous running time. The failure rate is used to indicate the frequency of fault occurrence within the window duration corresponding to the preset sliding window.

[0046] When the failure rate within the preset sliding window is less than the preset failure rate, it indicates that the frequency of failures within the corresponding time period of the preset sliding window is low, that is, occasional failures or brief interferences occur. In this case, it is considered as a no-drive failure, and the continuous running time is cleared and re-accumulated to distinguish the continuous running time of the previous drive failure from the continuous running time of the drive power supply 120 after restarting without drive failure.

[0047] Traditional fault detection methods often employ fixed time intervals or continuous detection, which can lead to significant consumption of computing and power resources even when the system is stable and the failure frequency is extremely low. However, by using a preset sliding window, fault statistics and judgments are performed only within a specific window period. When the failure rate is low, it is promptly reset to zero and the continuous running time is re-accumulated, avoiding unnecessary resource waste.

[0048] Thanks to the preset sliding window setting, it can more flexibly capture changes in the frequency of fault occurrences. When the fault rate within the preset sliding window approaches or exceeds the preset fault rate, the system can promptly issue an early warning signal, informing maintenance personnel in advance of potential drive failure risks. Compared to traditional single-threshold fault warning methods, the preset sliding window detection method considers the temporal distribution and frequency characteristics of fault occurrences, avoiding false alarms caused by sporadic faults or brief interference.

[0049] In one embodiment, refer to Figure 6 After resetting and re-accumulating the continuous running time, the method further includes: Step S290: When the continuous running time reaches the preset running time and no drive fault is detected within the continuous running time, the number of power outages is reset to zero.

[0050] Specifically, when the cumulative continuous running time without drive failure reaches the preset running time, and no drive failure is detected within this continuous running time, it indicates that the electrical equipment has reached a stable and reliable operating state, and the number of power outages is reset to zero.

[0051] By monitoring the continuous operating time of equipment without drive faults and resetting the power outage count, the stability and reliability of electrical equipment can be improved. On one hand, the preset operating time provides a scientific basis for determining the stable state of the equipment, avoiding misjudgments caused by accidental factors, and ensuring that the power outage count is reset only when the equipment has truly reached a stable operating state. This helps reduce unnecessary maintenance and repair work, lowering manpower and material costs. On the other hand, resetting the power outage count allows the equipment's fault records to more accurately reflect its actual operating status. During subsequent use, the new power outage count can more intuitively indicate whether the equipment has experienced abnormalities again, facilitating maintenance personnel to quickly locate problems and take appropriate solutions. Stably operating electrical equipment can consume energy more rationally, reducing energy waste caused by faults. At the same time, reducing unnecessary power outages also avoids the extra energy consumed during frequent start-ups and shutdowns, further reducing energy costs.

[0052] In one embodiment, the step of detecting driving faults according to a preset sliding window and obtaining the fault rate within the preset sliding window includes: The fault detection is driven by sliding a preset sliding window, and the percentage of fault occurrences and / or the percentage of fault durations within the preset sliding window are obtained. The failure rate within the preset sliding window is determined based on the percentage of failures in the preset sliding window and / or the percentage of failure duration.

[0053] Specifically, the preset sliding window detects drive faults within a sliding window duration, not within a fixed time period. It detects the percentage of fault occurrences and / or the percentage of fault durations across different time periods. The fault occurrence percentage is the ratio of the number of faults within the preset sliding window to a set number of faults within that window. The set number of faults refers to the maximum acceptable number of faults within the preset sliding window. The fault duration percentage is the ratio of the sum of the durations of all drive faults within the preset sliding window to the corresponding window duration. The preset sliding window method allows for real-time dynamic detection of fault conditions across different time periods. For example, if frequent drive faults suddenly occur during equipment operation, the preset sliding window can immediately capture this change, allowing for timely adjustments to the assessment of the equipment's fault status. This avoids delays in discovering potential problems due to the limitations of fixed-time-period detection, significantly improving the real-time nature of fault detection and the system's dynamic adaptability.

[0054] The failure rate can be calculated using either the percentage of failure occurrences or the percentage of failure duration alone; a higher percentage of either indicates a higher failure rate. Alternatively, the failure rate can be calculated as the sum of the percentages of failure occurrences and duration, or as a weighted sum of these percentages. Using either the percentage of failure occurrences or the percentage of failure duration alone allows for a quantitative assessment of drive failures from different perspectives. The percentage of failure occurrences focuses on the frequency of failures, while the percentage of failure duration focuses on the duration of failures. Combining these two methods, or using their sum or a weighted sum as the failure rate, comprehensively considers both the frequency and duration of failures, making the failure rate calculation more comprehensive and accurate. For example, for some intermittent failures, although each failure is short in duration, their frequency is high. By comprehensively considering both the percentage of failure occurrences and the percentage of failure duration, the impact on the overall operation of the equipment can be assessed more accurately, avoiding the bias caused by a single indicator.

[0055] When resources are limited, a pre-defined sliding window fault detection method can effectively optimize resource utilization. Compared to continuous and comprehensive monitoring of the device, the sliding window method can reduce unnecessary consumption of computing and storage resources while ensuring the accuracy of fault detection.

[0056] In one embodiment, determining the corresponding fault monitoring duration based on the fault occurrence frequency includes: The fault monitoring duration corresponding to the preset occurrence frequency is determined based on the inverse proportional mapping relationship between the preset occurrence frequency and the preset monitoring duration.

[0057] Specifically, there is an inverse proportional mapping relationship between the preset occurrence frequency and the preset monitoring duration. That is, the higher the preset occurrence frequency, the shorter the preset monitoring duration, and vice versa. Based on this inverse proportional mapping relationship, the fault monitoring duration corresponding to the fault occurrence frequency is determined. For example, when the fault occurrence frequency is high, a shorter fault monitoring duration is adopted to monitor the duration of the fault, such as setting the fault monitoring duration to 8 minutes, in order to speed up the response speed to the actual drive fault. When the fault occurrence frequency is low, a longer fault monitoring duration is adopted to monitor the duration of the fault, such as setting the fault monitoring duration to 18 minutes, in order to increase the tolerance for fault misjudgment.

[0058] By determining the fault monitoring duration based on the inverse proportional mapping relationship described above, the flexibility and accuracy of fault monitoring in electrical equipment can be improved. From a resource utilization perspective, using a short monitoring duration when faults occur frequently avoids the resource waste caused by monitoring low-probability faults for extended periods. This allows electrical equipment to allocate more computing resources and time to the accurate detection of high-probability faults, effectively improving resource utilization efficiency.

[0059] Regarding the timeliness of fault response, rapid response to high-frequency faults allows for quick location of the fault point and timely implementation of appropriate repair measures, significantly reducing the impact time on normal system operation and mitigating potential risks such as production stoppages and data loss caused by faults. For low-frequency faults, a longer monitoring duration increases the margin of error in fault diagnosis. In actual operating environments, various interference factors may cause brief abnormal signals. If a short monitoring duration is used, these abnormal signals are easily misjudged as faults, leading to unnecessary system intervention and maintenance operations. A longer monitoring duration filters out these brief interferences, improving the accuracy of fault diagnosis and reducing the additional costs and system instability caused by misjudgments.

[0060] Figures 2-6 This is a flowchart illustrating the drive control method in one embodiment. It should be understood that, although... Figures 2-6 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figures 2-6 At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.

[0061] In one embodiment, such as Figure 7 As shown, a drive control device 110 is provided, comprising: The detection module 310 is used to record a fault log and monitor the duration of the fault when a drive fault is detected, wherein the fault log includes the number of faults and the frequency of fault occurrence within a preset detection duration; The determination module 320 is used to determine the corresponding fault monitoring duration based on the fault occurrence frequency; The main control module 330 is used to control the drive power supply 120 to cut off power to stop the compressor 130 from running when the number of faults reaches a preset number and / or the duration of the fault reaches the fault monitoring duration, thereby clearing the number of faults and accumulating the number of power outages.

[0062] In one embodiment, the main control module 330 is further configured to: When a drive signal is received, the power-off duration of the drive power supply 120 is determined; When the power outage duration reaches the preset power outage duration, the drive power supply 120 is restarted to enable the compressor 130 to operate normally.

[0063] In one embodiment, the main control module 330 is further configured to: If no driver fault is detected within the preset monitoring time, the continuous running time is reset and re-accumulated.

[0064] In one embodiment, the main control module 330 is further configured to: The failure rate within the preset sliding window is obtained by detecting and driving faults through a preset sliding window. When the failure rate within the preset sliding window is less than the preset failure rate, the continuous running time is reset to zero and re-accumulated.

[0065] In one embodiment, the main control module 330 is further configured to: When the continuous running time reaches the preset running time and no drive fault is detected within the continuous running time, the number of power outages is reset to zero.

[0066] In one embodiment, the main control module 330 is further configured to: The fault detection is driven by sliding a preset sliding window, and the percentage of fault occurrences and / or the percentage of fault durations within the preset sliding window are obtained. The failure rate within the preset sliding window is determined based on the percentage of failures in the preset sliding window and / or the percentage of failure duration.

[0067] In one embodiment, the main control module 330 is further configured to: The fault monitoring duration corresponding to the preset occurrence frequency is determined based on the inverse proportional mapping relationship between the preset occurrence frequency and the preset monitoring duration.

[0068] like Figure 8 As shown, this application provides an electrical device including a processor 711, a communication interface 712, a memory 713, and a communication bus 714, wherein the processor 711, the communication interface 712, and the memory 713 communicate with each other through the communication bus 714. Memory 713 is used to store computer programs; When the processor 711 executes the program stored in the memory 713, it implements the drive control method provided in any of the foregoing method embodiments.

[0069] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electrical equipment to which the present application is applied. Specific electrical equipment may include more or fewer components than those shown in the figure, or may combine certain components, or may have different component arrangements.

[0070] In one embodiment, the drive control device 110 provided in this application can be implemented as a computer program, and the computer program can be implemented in the form of, for example, Figure 8 The device operates on the electrical equipment shown. The electrical equipment's memory can store various program modules that make up the drive control device 110, for example, Figure 7 The detection module 310, determination module 320, and main control module 330 are shown. The computer program composed of these various program modules causes the processor to execute the drive control methods of the various embodiments of this application described in this specification.

[0071] Figure 8 The electrical equipment shown can be used as follows Figure 7 The detection module 310 in the drive control device 110, when a drive fault is detected, records a fault log and monitors the duration of the fault. The fault log includes the number of faults and the frequency of fault occurrence within a preset detection duration. The electrical equipment can determine the corresponding fault monitoring duration based on the fault occurrence frequency through the determination module 320. The electrical equipment can then control the drive power supply 120 to shut down the compressor 130, clear the fault count, and accumulate the number of power outages when the number of faults reaches a preset number and / or the fault duration reaches the fault monitoring duration, through the main control module 330.

[0072] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the drive control method provided in any of the foregoing method embodiments.

[0073] The device embodiments described above are merely illustrative. 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 network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0074] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software plus a general-purpose hardware platform, or of course, using hardware. Based on this understanding, the above technical solutions, in essence or the parts that contribute to the related technology, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause an electrical device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0075] It should be understood that the terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms “a,” “an,” and “described” as used herein may also mean including the plural forms. The terms “comprising,” “including,” “containing,” and “having” are inclusive and therefore indicate the presence of the stated features, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or combinations thereof. The method steps, processes, and operations described herein are not construed as requiring them to be performed in a particular order described or illustrated unless the order of performance is explicitly indicated. It should also be understood that alternatives or substitutions may be used.

[0076] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A drive control method, characterized in that, The method includes: When a drive fault is detected, a fault log is recorded and the duration of the fault is monitored. The fault log includes the number of faults and the frequency of fault occurrence within a preset detection duration. The corresponding fault monitoring duration is determined based on the frequency of the fault occurrence. When the number of faults reaches a preset number, and / or the duration of the fault reaches the fault monitoring duration, the drive power supply is cut off to stop the compressor from running, the number of faults is reset to zero, and the number of power outages is accumulated.

2. The method according to claim 1, characterized in that, When the number of faults reaches a preset number, and / or the duration of the fault reaches the fault monitoring duration, the method further includes: controlling the drive power supply to cut off power to stop the compressor from running, resetting the number of faults, and accumulating the number of power outages; When a drive signal is received, the power-off duration of the drive power supply is determined; When the power outage duration reaches the preset power outage duration, the drive power supply is restarted to allow the compressor to operate normally.

3. The method according to claim 2, characterized in that, After the power outage duration reaches the preset power outage duration, and the drive power supply is restarted to allow the compressor to operate normally, the method further includes: If no driver fault is detected within the preset monitoring time, the continuous running time is reset and re-accumulated.

4. The method according to claim 2, characterized in that, After the power outage duration reaches the preset power outage duration, and the drive power supply is restarted to allow the compressor to operate normally, the method further includes: The failure rate within the preset sliding window is obtained by detecting and driving faults through a preset sliding window. When the failure rate within the preset sliding window is less than the preset failure rate, the continuous running time is reset to zero and re-accumulated.

5. The method according to claim 3 or 4, characterized in that, After resetting and re-accumulating the continuous runtime, the method further includes: When the continuous running time reaches the preset running time and no drive fault is detected within the continuous running time, the number of power outages is reset to zero.

6. The method according to claim 4, characterized in that, The step of detecting and driving faults according to a preset sliding window, and obtaining the fault rate within the preset sliding window, includes: The fault detection is driven by sliding a preset sliding window, and the percentage of fault occurrences and / or the percentage of fault durations within the preset sliding window are obtained. The failure rate within the preset sliding window is determined based on the percentage of failures in the preset sliding window and / or the percentage of failure duration.

7. The method according to claim 1, characterized in that, The step of determining the corresponding fault monitoring duration based on the fault occurrence frequency includes: The fault monitoring duration corresponding to the preset occurrence frequency is determined based on the inverse proportional mapping relationship between the preset occurrence frequency and the preset monitoring duration.

8. A drive control device, characterized in that, The device includes: The detection module is used to record a fault log and monitor the duration of the fault when a drive fault is detected. The fault log includes the number of faults and the frequency of fault occurrence within a preset detection duration. The determination module is used to determine the corresponding fault monitoring duration based on the frequency of the fault occurrence. The main control module is used to control the drive power supply to cut off the compressor to stop running, reset the number of faults to zero, and accumulate the number of power outages when the number of faults reaches a preset number and / or the duration of the fault reaches the fault monitoring duration.

9. An electrical device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method of any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 7.

Citation Information

Patent Citations

  • Electronic control for monitoring status of a compressor

    CA2016134A1

  • Air conditioner and control method thereof

    CN110030660A

  • Air conditioner and stop valve fault detection method thereof

    CN115789772A

  • Method and device for determining restart control parameters of compressor, electronic equipment and storage medium

    CN115950044A

  • Method and terminal applied to fault state tracking detection of charging station equipment

    CN117215814A