Voltage fault diagnosis system and method, electronic equipment, medium and product

By using a voltage acquisition module in the voltage monitoring system for high-frequency voltage sampling and data buffering, combined with the analysis of the processing module and the diagnosis module, the problem of low sampling frequency and interval data acquisition in the voltage monitoring system in the prior art is solved, and a high-accurate voltage fault diagnosis is achieved.

CN119827833AActive Publication Date: 2025-04-15INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 16 Cites 0 Cited by

Patent Information

Application Number
CN202510322255.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-18
Publication Date
2025-04-15
Estimated Expiration
2045-03-18

AI Technical Summary

Technical Problem

In the prior art, the sampling frequency of the voltage monitoring system is low, making it difficult to meet the fault diagnosis requirements of instantaneous voltages. The interval data acquisition affects the diagnosis of voltage abnormal data by the processing module, resulting in fault missing.

Method used

At least one voltage acquisition module is adopted to obtain interval voltage data and continuous voltage data through two methods: interval acquisition and continuous acquisition. The processing module and the diagnostic module combine abnormal voltage data and continuous data to generate abnormal waveform diagrams to further analyze whether it is caused by voltage failure.

Benefits of technology

High-frequency voltage sampling is realized, ensuring uninterrupted and smooth data sampling and transmission throughout the whole period, improving the accuracy of fault diagnosis and reducing fault omissions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119827833A_ABST
    Figure CN119827833A_ABST
Patent Text Reader

Abstract

The invention discloses a voltage fault diagnosis system and method, electronic equipment, a medium and a product, and relates to the technical field of electric digital data processing, and the system comprises at least one voltage collection module which can obtain interval voltage data and continuous voltage data at the same time through interval collection and continuous collection, therefore, the processing module can call the historical voltage data according to the interval voltage data and the continuous voltage data to further analyze the abnormal voltage data and obtain the fault diagnosis result with higher accuracy, so that the problems that the sampling frequency is low and the fault diagnosis requirement of the instantaneous voltage is difficult to meet in the prior art can be solved, and the fault diagnosis efficiency is improved. According to the invention, the technical problems of fault omission and influence on the actual use experience of a user caused by the influence of the diagnosis of the processing module on the abnormal voltage data due to the influence of the interval data acquisition on the abnormal voltage data are solved, and the technical effects of high-frequency voltage sampling, full-time, uninterrupted and smooth data sampling and data transmission and guarantee of the accuracy of fault diagnosis are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electrical digital data processing, and in particular to a voltage fault diagnosis system, method, electronic equipment, medium and product. Background Art

[0002] With the development of servers, data centers and other fields, voltage monitorability and diagnosability directly affect the stable operation and maintenance efficiency of equipment. In order to ensure the user experience, the demand for voltage monitoring and fault diagnosis is becoming increasingly important, so that faults can be discovered in time and handled accordingly to avoid losses caused by faults.

[0003] However, in the related art, the voltage monitoring system can only provide voltage data with a lower frequency, which cannot meet the fault diagnosis requirements of instantaneous voltage, and the voltage monitoring lacks real-time performance. Most voltage monitoring systems perform intermittent data collection or intermittent data diagnosis, rather than full-time monitoring. Therefore, when diagnosing faults, the data is not only easily ignored as noise, but it is also difficult to obtain accurate diagnostic results. As a result, most of the voltage collection data is ignored by the processing module instead of being analyzed, processed and recorded, resulting in a lack of historical data support during fault diagnosis, which urgently needs to be improved. Summary of the invention

[0004] The present invention provides a voltage fault diagnosis system, method, electronic device, medium and product to at least solve the technical problems in the related technology that the sampling frequency is low and it is difficult to meet the fault diagnosis needs of instantaneous voltage, and the intermittent data collection will affect the diagnosis of abnormal voltage data by the processing module, thereby causing fault omissions and further affecting the user's actual usage experience.

[0005] The present invention provides a voltage fault diagnosis system, comprising: at least one voltage acquisition module, used to obtain voltage data of multi-channel voltages of a target electronic device, and while storing interval voltage data in the voltage data at first preset time intervals, activate a corresponding cache channel based on a preset transmission rule to cache continuous voltage data at each moment in the voltage data through the cache channel; a processing module, used to receive the interval voltage data and the continuous voltage data, and use the interval voltage data and the continuous voltage data to obtain historical voltage data that meets preset abnormal conditions; and a diagnosis module, used to perform voltage fault diagnosis of the target electronic device using the historical voltage data.

[0006] The present invention also provides a voltage fault diagnosis method, comprising: obtaining voltage data of multi-channel voltages of a target electronic device, and while storing interval voltage data in the voltage data at first preset time intervals, activating a corresponding cache channel based on a preset transmission rule to cache continuous voltage data at each moment in the voltage data through the cache channel; using the interval voltage data and the continuous voltage data to obtain historical voltage data that meets preset abnormal conditions; and using the historical voltage data to perform voltage fault diagnosis on the target electronic device.

[0007] The present invention also provides an electronic device, comprising: a memory for storing a computer program; and a processor for implementing the steps of any of the above-mentioned voltage fault diagnosis methods when executing the computer program.

[0008] The present invention also provides a computer-readable storage medium, in which a computer program is stored, wherein when the computer program is executed by a processor, the steps of any of the above-mentioned voltage fault diagnosis methods are implemented.

[0009] The present invention also provides a computer program product, comprising a computer program, and when the computer program is executed by a processor, the steps of any of the above voltage fault diagnosis methods are implemented.

[0010] Through the present invention, since at least one voltage acquisition module can obtain interval voltage data and continuous voltage data at the same time through interval acquisition and continuous acquisition, the processing module can make a preliminary judgment of the abnormality based on the interval voltage data, and generate an abnormal waveform diagram through the diagnosis module in combination with the continuous voltage data before and after the corresponding moment of the abnormal voltage data, further analyze whether the abnormal voltage data is caused by a voltage fault, and obtain a fault diagnosis result with higher accuracy. Therefore, it can solve the technical problems in the related technology that the sampling frequency is low and it is difficult to meet the fault diagnosis requirements of instantaneous voltage, and the interval data acquisition will affect the diagnosis of the voltage abnormality data by the processing module, thereby causing fault omissions and further affecting the actual use experience of the user, so as to achieve high-frequency voltage sampling, realize full-time, uninterrupted and smooth data sampling and data transmission, and ensure the accuracy of fault diagnosis. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0012] Figure 1 A schematic diagram of the structure of a voltage fault diagnosis system provided by an embodiment of the present invention; Figure 2 A schematic diagram of the structure of a voltage fault diagnosis system provided by an embodiment of the present invention; Figure 3 A schematic diagram of register types provided for one embodiment of the present invention; Figure 4 A flowchart of a voltage fault diagnosis method provided by an embodiment of the present invention.

[0013] Among them, 10-voltage fault diagnosis system, 100-voltage acquisition module, 101-multiplexer, 102-mode converter, 103-controller, 104-cache unit, 105-register, 200-processing module, 300-diagnosis module, 400-storage module. DETAILED DESCRIPTION

[0014] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0015] It should be noted that, in the description of the present invention, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. The terms "first", "second", etc. in the present invention are used to distinguish similar objects, and are not used to describe a specific order or sequence.

[0016] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0017] In conjunction with the specific application environment architecture or the specific hardware architecture on which the execution of the voltage fault diagnosis system depends, the specific application environment architecture or the specific hardware architecture is described herein.

[0018] An embodiment of the present invention provides a voltage fault diagnosis system. The system is described in detail in conjunction with the structure of the voltage fault diagnosis system.

[0019] like Figure 1 , which is a schematic diagram of the structure of a voltage fault diagnosis system 10 according to an embodiment of the present invention, wherein the voltage fault diagnosis system 10 includes: at least one voltage acquisition module 100 , a processing module 200 and a diagnosis module 300 .

[0020] Specifically, at least one voltage acquisition module 100 is used to obtain voltage data of multi-channel voltages of a target electronic device, and while storing interval voltage data in the voltage data at intervals of a first preset time period, activate a corresponding cache channel based on a preset transmission rule to cache continuous voltage data at each moment in the voltage data through the cache channel.

[0021] It is understandable that in the related technology, since the acquisition mode is to collect voltage data at regular intervals, it will be difficult to have sufficient data to support sudden faults during subsequent fault diagnosis, and the faults will be identified as occasional noise, thereby ignoring the faults, which not only affects the service life of the equipment, but also affects the user experience.

[0022] In order to solve the above problems, the embodiments of the present invention can use the special structure of at least one voltage acquisition module 100 to simultaneously acquire interval voltage data and continuous voltage data to compensate for the impact caused by insufficient data.

[0023] In actual implementation, the voltage acquisition module 100 of the embodiment of the present invention may be plural in order to cope with complex equipment. Each voltage acquisition module 100 may acquire voltage data of multi-channel voltages and perform shunt storage on the acquired data.

[0024] When collecting voltage data, an embodiment of the present invention can store the collected voltage data at regular intervals and use the stored voltage data as interval voltage data, wherein storage refers to temporarily storing data or instructions through a register, and the storable data is small. Therefore, in the subsequent process, the processing module 200 is required to receive data in a timely manner.

[0025] The embodiment of the present invention can also continuously collect voltage data, that is, collect voltage data at each moment, and cache the voltage data at each moment as continuous voltage data, wherein caching refers to using a high-speed cache memory to reduce the delay of accessing the main memory and improve the overall system performance. Although the storage space of the cache is larger than that of the register, it is still limited, and since the cached data can be the voltage data at each moment, the data volume is huge and the growth rate is fast, therefore, the embodiment of the present invention can realize multi-channel caching of continuous voltage data through multiple cache channels, that is, cache the continuous voltage data to multiple storage structures for caching, such as cache units, so that in the subsequent process, the processing module 200 can realize smooth reception of the entire time period.

[0026] It should be noted that, in addition to servers, the embodiments of the present invention can also be applied to other electronic devices to diagnose voltage faults in other electronic devices; the first preset time length in the embodiments of the present invention can be set accordingly according to the fault diagnosis target, such as the actual operating conditions of the target electronic device, and no specific restrictions are made here.

[0027] Optionally, in one embodiment of the present invention, at least one voltage acquisition module 100 includes: a multiplexer selector and an analog-to-digital converter.

[0028] The multiplexer selector is used to receive voltage signals of multi-channel voltages, and select one of the voltage signals of multi-channel voltages for sampling based on a preset selection rule to obtain a sampling signal.

[0029] The analog-to-digital converter is used to convert the sampled signal to obtain voltage data.

[0030] As a possible implementation manner, each voltage acquisition module 100 in the embodiment of the present invention may include a multiplexer selector and an analog-to-digital converter to implement data storage and / or data processing between caches.

[0031] Among them, the multiplexer can select one from multiple analog inputs for sampling and pass it to a single output end, which is further converted by the ADC (Analog-Digital Converter), and only qualified signals will be output to the corresponding channel. In an embodiment of the present invention, switching and voltage sampling between multiple voltage signal paths can be performed to achieve accurate collection of multiple voltage signals in turn.

[0032] The analog-to-digital converter can convert a continuous analog signal into a series of discrete signal values ​​through four steps of sampling, holding, quantization and encoding, map the continuous analog signal amplitude to a limited number of discrete levels, and then convert the quantized discrete levels into digital codes, and keep the signal value unchanged during the whole process. In an embodiment of the present invention, the analog-to-digital converter ADC can convert the voltage signal into voltage data through the above process, so as to facilitate subsequent storage and / or caching.

[0033] Optionally, in one embodiment of the present invention, at least one voltage acquisition module 100 includes: at least one register, at least two cache units and a controller.

[0034] Wherein, at least one register is used to receive interval voltage data in the voltage data converted by the analog-to-digital converter every first preset time period.

[0035] At least two buffer units are used to receive continuous voltage data among the voltage data converted by the analog-to-digital converter.

[0036] The controller is used to activate the corresponding cache channel based on a preset transmission rule, and transmit the continuous voltage data to the target cache unit through the activated cache channel.

[0037] Each voltage acquisition module 100 may further include at least one register, at least two cache units and a controller.

[0038] Among them, the register can temporarily store information such as instructions, data and addresses, and different data can be stored depending on the type of register. In the embodiment of the present invention, the interval voltage data can be stored in the register so that it can be received by the subsequent processing module 200. The types and uses of the register will be explained below and will not be repeated here.

[0039] The cache unit can be used to cache continuous voltage data, and in order to ensure that a large amount of continuous voltage data can achieve uninterrupted and smooth data transmission, the number of cache units in the embodiment of the present invention must be at least two, that is, there must be at least one cache unit that is full and can perform data transmission, and at least one cache unit that is not yet full and can continue to perform data storage.

[0040] The controller can determine which cache unit to store the collected continuous storage data, that is, according to certain transmission rules (such as prohibiting the activation of the cache channel corresponding to the cache unit in the full storage state, activating the cache channel corresponding to the cache unit in the not full storage state, etc.), select the cache channel that meets the transmission rule from multiple cache channels for activation, so as to transmit the continuous voltage data to the target cache unit of the cache channel activation. Among them, the preset transmission rules can be set accordingly by those skilled in the art according to actual conditions, and no specific restrictions are made here.

[0041] Optionally, in one embodiment of the present invention, the controller includes: an acquisition subunit, a first control subunit and a second control subunit.

[0042] The acquisition subunit is used to acquire the current storage status of any cache unit.

[0043] The first control subunit is used to interrupt the cache channel corresponding to any cache unit when the current storage state is a full storage state, and activate the communication channel between any cache unit and the processing module 200 until the continuous voltage data in any cache unit is transmitted to the processing module 200.

[0044] The second control subunit is used to activate the cache channel corresponding to any cache unit when the current storage state is an incomplete storage state, cache the continuous voltage data converted by the analog-to-digital converter to any cache unit, and interrupt the communication channel between any cache unit and the processing module 200 until the current storage state of any cache unit is converted to a full storage state.

[0045] Here, the controller is explained in detail.

[0046] The acquisition subunit in the controller can acquire the current storage state of each cache unit, wherein the current storage state can be a full storage state or a non-full storage state.

[0047] For a cache unit in a full storage state, the first control subunit can determine that the cache unit in a full storage state can no longer cache data, and then close the cache channel of the cache unit to prevent new data from overwriting old data that has not yet been transmitted, and activate the communication channel between the cache unit and the processing module 200 so that the processing module 200 receives continuous voltage data in the cache unit.

[0048] For a cache unit that is not full, the second control subunit can determine that the cache unit that is not full can continue to cache data. At this time, the cache channel corresponding to the cache module is in an activated state. In order to avoid repeated data transmission, the communication channel between the cache module and the processing module 200 can be terminated to accumulate continuous voltage data in the cache unit.

[0049] Based on the above structure, the embodiment of the present invention can realize interactive storage and transmission between cache modules in different storage states, so as to ensure that the processing module 200 can receive continuous voltage data uninterruptedly and smoothly.

[0050] In summary, the controller can select a cache unit of an activated cache path and store real-time multi-channel voltage data in the cache unit of the activated cache path. The cache activation and inactivation states are switched between at least two cache units by a controller, such as a high-precision ADC controller, according to whether the cache is full, to form a Ping-Pong storage mechanism. The Ping-Pong mechanism can alternately use two areas to avoid continuous writing in data transmission mode.

[0051] Optionally, in one embodiment of the present invention, the at least one register includes: a multi-channel voltage data enable configuration register, a multi-channel voltage threshold configuration register, a multi-channel voltage data register and a global interrupt register.

[0052] Among them, the multi-channel voltage threshold configuration register is used to determine whether there is high threshold voltage data greater than a first preset voltage threshold in the interval voltage data, and store the high threshold voltage data, determine whether there is low threshold voltage data less than a second preset voltage threshold in the interval voltage data, and store the low threshold voltage data, wherein the first preset voltage threshold is greater than the second preset voltage threshold.

[0053] The multi-channel voltage data register is used to store the data enable state of the multi-channel voltage data enable configuration register in the interval voltage data.

[0054] The global interrupt register is used to store a high threshold interrupt state corresponding to high threshold voltage data, and to store a low threshold terminal state corresponding to low threshold voltage data.

[0055] Here, the register is explained with an example.

[0056] For example, the registers of the embodiment of the present invention may include a multi-channel voltage data enable configuration register, a multi-channel voltage threshold configuration register, a multi-channel voltage data register, a global interrupt register, etc., to store different types of interval voltage data.

[0057] The embodiment of the present invention can also store real-time multi-channel voltage data, that is, interval voltage data, in a multi-channel voltage register in a register through a high-precision ADC controller. The register controller configures the register according to the threshold value in the register, determines the threshold value exceeds the limit and stores it in the global interrupt register of the register.

[0058] Among them, the multi-channel voltage sampling value, that is, the voltage signal sampled by the multiplexer selector, is stored in the multi-channel voltage data register according to the data enable state of the interval voltage data enable configuration register. Among them, enable means storage, and disable means no need to store. Data that does not need to be stored is invalid data.

[0059] The multi-channel voltage sampling values ​​are determined according to the multi-channel voltage threshold configuration register to determine whether each voltage is greater than the first preset voltage threshold. If it is greater than the first preset voltage threshold, the high threshold interrupt state of the channel is maintained in the global interrupt register; and each voltage is determined whether it is less than the second preset voltage threshold. If it is less than the second preset voltage threshold, the low threshold interrupt state of the channel is maintained in the global interrupt register.

[0060] The first preset voltage threshold and the second preset voltage threshold can be set accordingly by those skilled in the art according to actual conditions, and are not specifically limited here.

[0061] Optionally, in one embodiment of the present invention, at least one register and at least two cache units all sample non-volatile storage.

[0062] It is understood that non-volatile storage can still save data information without external power supply.

[0063] Therefore, based on non-volatile storage, when the voltage acquisition module 100 loses power, the data in the register and the data in the cache unit can be saved, and after power is restored, additional storage can be performed based on the existing data.

[0064] In addition, the voltage acquisition module 100 in the embodiment of the present invention can also support multiple communication protocols: including low-frequency / low-speed communication (including but not limited to I2C (Inter-Integrated Circuit, serial communication protocol) communication) and high-speed communication (including but not limited to SPI (Serial Peripheral Interface, serial peripheral interface communication) communication). The voltage acquisition module 100 allows low-frequency / low-speed communication and high-speed communication to connect the same or different processing modules 200. The register of the voltage acquisition module 100 provides a low-frequency / low-speed communication access interface to meet the processing module 200 (including but not limited to the baseboard management controller) for the acquisition of low-speed voltage data, meet the processing module 200 The configuration requirements of configuration registers such as thresholds meet the processing module 200 The requirements of the acquisition of interrupt information such as global interrupt registers. At least two cache units of the voltage acquisition module 100 provide a high-speed communication access interface to meet the processing module 200’s requirements for high-speed voltage acquisition. The cache unit of the activated cache path in the voltage acquisition module 100 automatically controls the high-speed communication to an inactive state, while the cache unit of the inactivated cache path automatically controls the high-speed communication to an active state, thus forming a Ping-Pong high-speed communication mechanism. The Ping-Pong mechanism can alternately use two areas to avoid continuous reading in the data transmission mode.

[0065] The processing module 200 is used to receive the interval voltage data and the continuous voltage data, and use the interval voltage data and the continuous voltage data to obtain the historical voltage data that meets the preset abnormal condition.

[0066] The processing module 200 can configure the voltage acquisition module 100, for example, by configuring the multi-channel voltage data enable configuration register, the multi-channel voltage threshold configuration register and other configuration registers of the voltage acquisition module 100 as needed through low-frequency / low-speed communication; by configuring the storage enable register of the global state register in the voltage acquisition module 100, the storage cache module voltage configuration register and the like as needed through low-frequency / low-speed communication. Among them, the processing module 200 can also record the storage enable start time, and the preset configuration rules can be set accordingly by those skilled in the art according to the actual communication requirements, and no specific restrictions are made here.

[0067] After configuration, the processing module 200 can receive the interval voltage data stored in the register and the continuous voltage data cached in the cache unit of the voltage acquisition module 100, and use the interval voltage data to detect abnormal voltage data, wherein there are multiple detection methods, for example, the abnormal voltage data can be determined by receiving data in different types of registers (for example, the interval voltage data corresponding to the interrupt state of the global interrupt register can be used as abnormal voltage data), or after receiving, the abnormal voltage data can be determined by comparing with the judgment threshold, and after determining the abnormal voltage data, the continuous data within a period of time before and after the abnormal voltage data occurs is retrieved from the continuous voltage data as historical voltage data, that is, the historical voltage data that meets the preset abnormal conditions is obtained.

[0068] Optionally, in one embodiment of the present invention, the processing module 200 includes: an acquisition unit and a communication unit.

[0069] The acquisition unit is used to acquire the number of communication channels between the processing module 200 and at least two cache units and the actual number of the voltage acquisition modules 100 .

[0070] The communication unit is used to determine the communication strategy of the processing module 200 based on the number of channels and the actual number, so as to perform communication between the processing module 200 and at least two cache units based on the communication strategy.

[0071] The processing module 200 (including but not limited to BMC) can automatically switch the communication status of the high-speed channel between different voltage acquisition modules 100 devices according to the communication channel of its own high-speed channel. When the number of communication channels is less than the number of voltage acquisition modules 100, a high-speed communication time-division multiplexing strategy can be adopted for communication.

[0072] When the processing module 200 accesses the voltage acquisition module 100 by high-speed communication, since the voltage acquisition module 100 automatically controls the Ping-Pong storage and high-speed communication mechanism of the storage module, and the actual rate of the time-division multiplexed high-speed communication is higher than the ADC real-time voltage acquisition cache rate of the voltage acquisition module 100, the real-time collected voltage data of the voltage acquisition module 100 can be transmitted to the processing module 200 in real time, all the time, without interruption and smoothly.

[0073] Optionally, in one embodiment of the present invention, the processing module 200 includes: a first polling unit and a second polling unit.

[0074] The first polling unit is used to poll the multi-channel voltage data register every second preset time to obtain the value of the interval voltage data of each channel and calculate the actual voltage value of the interval voltage data of each channel before voltage division.

[0075] The second polling unit is used to poll the global interrupt register every third preset time period, and obtain the high threshold voltage data or the low threshold voltage data of any channel, and generate a corresponding exception log based on the high threshold voltage data or the low threshold voltage data, and send the exception log to the diagnostic module 300.

[0076] The processing module 200 can periodically poll the multi-channel voltage data register to obtain the digital value of the voltage data of each channel and calculate the actual voltage value before voltage division; the processing module 200 can also periodically poll the global interrupt register to obtain and analyze whether there is an alarm of exceeding the threshold or falling below the threshold on any channel, and run its processing logic, such as recording logs and alerting the diagnostic module 300, so as to subsequently detect abnormal voltage data and issue abnormal alarms, so that technicians can perform relevant maintenance in a timely manner.

[0077] In summary, the processing module 200 can realize the configuration of the voltage acquisition module 100, the reception of two types of voltage data, and the detection of abnormal voltage data.

[0078] Optionally, in one embodiment of the present invention, the processing module includes: a power-on processing unit and a power-off processing unit.

[0079] Among them, the power-on processing unit is used to configure the power-on detection threshold according to the target power-on signal, to determine the power-on time of the target electronic device based on the power-on detection threshold and the interval voltage data, and to extract the corresponding power-on timing voltage data from the continuous voltage data.

[0080] The power-off processing unit is used to configure the power-off detection threshold according to the target power-off signal, to determine the power-off time of the target electronic device based on the power-off detection threshold and the interval voltage data, and to extract the corresponding power-off timing voltage data from the continuous voltage data.

[0081] It can be understood that in order to ensure the accuracy of the fault diagnosis results, in an embodiment of the present invention, the processing module 200 can also perform multi-channel power-on voltage monitoring and multi-channel power-off voltage monitoring according to the target power-on signal and the target power-off signal configuration, wherein the target power-on signal and the target power-off signal can be a critical power-on signal and a critical power-off signal, and the critical power-on signal and the critical power-off signal can be specific electrical signals or conditions in an electronic device or system that can indicate that the power is turned on / off or the system starts to enter / end the working state.

[0082] During the actual execution process, the processing module 200 can pre-configure the power-on voltage threshold corresponding to the power-on signal and the power-off voltage threshold corresponding to the power-off signal, and then perform data judgment in the continuous voltage data to obtain the power-on timing voltage data before and after the power-on moment and the power-off timing voltage data before and after the power-off moment, so that in the subsequent diagnosis process, the power-on timing voltage data before and after the power-on moment and the power-off timing voltage data before and after the power-off moment can be used to perform power-on-related fault diagnosis and power-off-related fault diagnosis, and comprehensive diagnosis can also be achieved in combination with abnormal voltage data.

[0083] Optionally, in one embodiment of the present invention, the voltage fault diagnosis system 10 further includes: a storage module.

[0084] The storage module is used to store abnormal voltage data, power-on timing voltage data, power-off timing voltage data, interval voltage data and continuous voltage data, so that the diagnosis module 300 retrieves historical voltage data from the storage module according to the abnormal voltage data.

[0085] In some embodiments, the data sent by the processing module 200 can be stored by the storage module to store abnormal voltage data, interval voltage data and continuous voltage data separately, so that the diagnosis module 300 can call the corresponding data according to the corresponding relationship of the timing.

[0086] For example, after the processing module 200 obtains the corresponding data, the storage module can store the abnormal voltage data before and after the abnormal voltage moment, store the power-on timing voltage data before and after the power-on moment, store the down-point timing voltage data before and after the power-off moment, etc., and the specific storage can be performed according to the configuration of the processing module 200 and the acquired data.

[0087] It should be noted that the storage module is different from the storage and cache in the voltage acquisition module 100. The storage module can store a large amount of data to avoid historical data loss when the diagnosis module 300 or the processing module 200 calls data, thereby affecting the actual fault diagnosis.

[0088] The diagnosis module 300 is used to perform voltage fault diagnosis of the target electronic device using historical voltage data.

[0089] As a possible implementation manner, the diagnosis module 300 may perform voltage fault diagnosis based on the acquired voltage data.

[0090] Among them, the voltage waveform is a graphical representation method that can be used to show how the voltage changes over time. The following can be observed in the voltage waveform: X-axis (horizontal axis): represents time. Depending on the nature and duration of the waveform, this axis can represent different time units such as microseconds, milliseconds, seconds, etc.

[0091] Y-axis (vertical axis): represents voltage value. This axis shows the magnitude of voltage change, usually in volts (V). Positive voltage is upward, and negative voltage is downward.

[0092] Waveform line: This is the actual trace of voltage changes over time. The shape of the waveform can provide important information about the nature of the signal. For example: Sine wave: Common in AC power, indicating that the voltage periodically changes from a positive maximum to a negative maximum; Square wave: Often appears in digital circuits to represent changes in binary states; Sawtooth or triangle waves: These shapes may appear in scanning circuits or certain types of oscillators; Pulse wave: Used to represent instantaneous events or trigger signals.

[0093] Trigger point: In order to stably display repetitive waveforms, the oscilloscope allows you to set a trigger point, that is, start drawing the waveform when the input signal meets certain conditions. This helps to clearly observe the voltage changes at a specific moment.

[0094] Measurement parameters: In some advanced oscilloscopes or software tools, key parameters such as peak voltage, frequency, period, rise time, etc. can be read directly on the waveform graph.

[0095] The diagnostic module 300 of the embodiment of the present invention can obtain a complete and reliable abnormal voltage waveform diagram using the historical voltage data before and after the abnormal moment corresponding to the abnormal voltage data, and complete the diagnosis of the target electronic device by identifying the above key contents in the abnormal voltage waveform diagram.

[0096] Optionally, in one embodiment of the present invention, the diagnosis module 300 includes: a first generation unit, a second generation unit and a diagnosis unit.

[0097] Wherein, the first generating unit is used to generate a corresponding abnormal voltage waveform diagram based on the abnormal voltage data.

[0098] The second generating unit is used to extract the power-on timing voltage data and the power-off timing voltage data from the storage module, and generate corresponding multi-channel power-on voltage waveform diagrams and multi-channel power-off voltage waveform diagrams based on the power-on timing voltage data and the power-off timing voltage data.

[0099] The diagnosis unit is used to obtain a fault diagnosis result of a target electronic device based on an abnormal voltage waveform diagram, multiple power-on voltage waveform diagrams, and multiple power-off voltage waveform diagrams.

[0100] In addition to generating abnormal voltage waveforms, the embodiment of the present invention can also generate corresponding multi-channel power-on voltage waveforms and multi-channel power-off voltage waveforms according to the power-on timing voltage data and the power-off timing voltage data, so as to perform complete fault diagnosis.

[0101] For example, the abnormal voltage waveform can be used to analyze load changes, power quality or circuit component damage in combination with the time point of the fault occurrence; multiple power-on voltage waveforms can be used to determine whether the power module, startup circuit or load is abnormal; multiple power-off voltage waveforms can be used to check the discharge circuit, relay / switch status, whether the energy storage element is damaged, etc.

[0102] By combining the abnormal voltage waveform, multi-channel power-on voltage waveform and multi-channel power-off voltage waveform, voltage fault diagnosis can be performed from the following perspectives: Timing correlation: If the abnormal waveform appears immediately after power-on, it may be due to a power supply or startup circuit failure; if it appears randomly during operation, it may be related to load fluctuations or poor contact.

[0103] Amplitude correlation: insufficient voltage amplitude at power-on → insufficient power capacity or abnormal line impedance; sudden drop in voltage amplitude during operation → short circuit or overload.

[0104] Frequency correlation: high-frequency oscillation → abnormal driving of switching devices; low-frequency fluctuation → periodic load changes or unstable control loop.

[0105] For example, the correspondence between the fault type and the waveform may be as shown in Table 1, where Table 1 is a table of correspondence between the fault type and the waveform.

[0106] Table 1

[0107] Optionally, in one embodiment of the present invention, the diagnosis module 300 includes: a first display unit and a second display unit.

[0108] Wherein, the first display unit is used to display the continuous voltage data or interval voltage data corresponding to the current moment.

[0109] The second display unit is used to display abnormal voltage waveforms, multi-channel power-on voltage waveforms and / or multi-channel power-off voltage waveforms.

[0110] During the actual execution process, the diagnostic module 300 may include a display function, wherein the first display unit can be used to display the voltage data at the current moment so that the technician can perform real-time monitoring. When there is interval voltage data at the current moment, the interval voltage data can be directly called for display. When there is no interval voltage data at the current moment, that is, when data is collected, if the current moment is not in the interval collection period, the continuous voltage data can be called.

[0111] The second display unit can display the voltage waveform graph generated by the first generating unit and the second generating unit, so that technicians can perform waveform monitoring or fault analysis.

[0112] In addition, the diagnostic module 300 may also include an interactive function, that is, it may determine the actual display content according to the user's operation, wherein the display content may include the content of the first display unit, the content of the second display unit, and the abnormal log generated by the processing module 200, etc.

[0113] Combination Figure 2 and Figure 3 , the working principle of the voltage fault diagnosis system of the embodiment of the present invention is described in detail with an embodiment.

[0114] like Figure 2 As shown, the embodiment of the present invention may include at least one voltage acquisition module 100 , a processing module 200 , a diagnosis module 300 and a storage module 400 .

[0115] The voltage acquisition module 100 may include a multiplexer selector 101, a mode converter 102, a controller 103, at least two cache units 104 and at least one register 105, wherein the type of the register 105 may be as follows: Figure 3 As shown, when applied, the voltage acquisition module 100 can acquire multi-channel voltage data.

[0116] The processing module 200 can acquire continuous voltage data in real time, and store the relevant extended voltage data in the storage module 400 according to the extended voltage analysis mechanism and method. The diagnosis module 300 uses the extended voltage data to display and interact according to the extended voltage display and interaction mechanism and method.

[0117] In the actual execution process, the processing module 200 can configure the configuration registers such as the multi-channel voltage data enable configuration register and the multi-channel voltage threshold configuration register of the voltage acquisition module 100 as needed through low-frequency / low-speed communication.

[0118] The processing module 200 can configure the storage enable register, cache unit voltage configuration register and other registers of the global status register in the voltage acquisition module 100 as needed through low-frequency / low-speed communication, and record the storage enable start time.

[0119] Based on the configuration of the processing module 200 , the voltage acquisition module 100 can control the multiplexer selector 101 and the mode converter 102 to switch between multiple voltage signal paths in sequence, thereby achieving accurate acquisition of multiple voltage signals.

[0120] The processing module 200 can periodically poll the multi-channel voltage data register to obtain the digital value of the voltage data of each channel and calculate the actual voltage value before voltage division; the processing module 200 can periodically poll the global interrupt register to obtain and analyze whether there is an alarm exceeding the threshold or falling below the threshold on any channel, and run its processing logic, such as recording a log and sending an alarm to the diagnostic module 300.

[0121] The voltage acquisition module 100 receives the storage enable state, and obtains the state of the cache unit 104 according to the global state register, that is, the cache activation state, cache location index, high-speed channel activation state, and full storage state of the cache unit 104a and the cache unit 104b. Among them, the cache activation state has two states: activated and inactivated, the cache location index indicates the cache location, the high-speed channel activation state has two states: activated and inactivated, and the full storage state has two states: full and non-full. If the cache unit 104a is in the cache activation state, its high-speed channel must be in the inactivated state, and the cache unit 104b is in the cache inactivated state and the high-speed channel activated state. As the cache data proceeds, the cache unit 104 will change from a non-full state to a full state, and its cache will change to an inactivated state, and the high-speed channel will change to an activated state, and the cache of another storage cache module will change to an activated state, and the high-speed channel will change to an inactivated state.

[0122] For the convenience of description, the following process assumes that the cache unit 104a is in a cache activation state, a high-speed channel is in an inactive state, and a not full state, and the cache unit 104b is in a cache inactive state, a high-speed channel is in an active state, and a not full state. For the convenience of describing the processing process between the processing module 200 and multiple voltage acquisition modules 100, it is assumed that there are four voltage acquisition modules 100 (0, 1, 2, 3) in total, and there is a high-speed channel between the processing module 200 and the four voltage acquisition modules 100 for time-sharing multiplexing.

[0123] The voltage acquisition module 100 (0, 1, 2, 3) stores the cache-enabled multi-channel voltage data that is sequentially and accurately acquired into the cache unit 104a according to the cache unit voltage configuration register. The size of the stored data in each round can be calculated according to the number of cache-enabled channels in the cache unit voltage configuration register; the sampling interval between the data of each round can be calculated according to the high-precision ADC sampling frequency.

[0124] Assume that the single voltage storage data is 2Byte, the number of cache enabled channels of the voltage acquisition module 100 (0, 1, 2, 3) is 2, the high-precision ADC sampling frequency is 2.5MHz, and the channel can be switched to sample 2M sampling points per second. The cache size of the cache unit 104a and the cache unit 104b is 2KB. Therefore, the storage data size of each round is 2B, the sampling interval is 1us, and a full cache unit 104a can record 1K sampling points and record voltage data within 1ms. When the high-speed channel rate is greater than or equal to 2MB / s, 2KB of cache data can be moved within 1ms.

[0125] The processing module 200 determines that the cache unit 104 b of the voltage acquisition module 100 ( 0 , 1 , 2 , 3 ) is in a high-speed channel activation state and is not full, and therefore does not perform high-speed communication.

[0126] As sampling proceeds, the voltage acquisition module 100 (0, 1, 2, 3) stores 4K data in the cache unit 104a, and the cache unit 104a changes from a non-full state to a full state, and its cache changes to an inactive state, and the high-speed channel changes to an active state, and the cache of another cache unit 104b changes to an active state, and the high-speed channel changes to an inactive state. The voltage acquisition module 100 (0, 1, 2, 3) stores the sampled data in the cache unit 104b.

[0127] The processing module 200 determines that the cache unit 104 a of the voltage acquisition module 100 ( 0 , 1 , 2 , 3 ) is in a high-speed channel activation state and a full state, and thus performs high-speed communication.

[0128] The processing module 200 sequentially communicates with the cache unit 104a of the voltage acquisition module 100 (0, 1, 2, 3) at high speed, and the minimum communication rate for time-division multiplexing and transferring 2KB data of four modules is 8MB / s, i.e. 40MHz. Therefore, the high-speed communication rate of 50HMz can effectively complete the data transfer of the four modules without being overwritten by the new data of the voltage acquisition module 100. Therefore, the voltage data collected in real time by the voltage acquisition module 100 can be transmitted to the processing module in real time, all the time, uninterruptedly and smoothly.

[0129] When there is a sudden power failure, because the cache unit is non-volatile storage, voltage data and register data can be saved even if the power is off. After power is restored, additional storage can be performed based on the existing data, avoiding the loss of key data after power failure.

[0130] The diagnosis module 300 uses the historical voltage data corresponding to the abnormal voltage data of the storage module 400 and combines it with the host computer software to draw an abnormal voltage waveform diagram to facilitate detailed analysis of the historical data of voltage fluctuations, thereby achieving accurate fault diagnosis.

[0131] At the same time, the diagnostic module 300 can also use the power-on timing voltage data of the storage module 400, combined with the host computer software, to draw multiple power-on voltage waveforms, which is convenient for detailed analysis of the power-on timing voltage data, thereby achieving accurate fault diagnosis. The diagnostic module 300 can also use the power-off timing voltage data of the storage module 400, combined with the host computer software, to draw multiple power-off voltage waveforms, which is convenient for detailed analysis of the power-off timing voltage data, thereby achieving accurate fault diagnosis.

[0132] In summary, the embodiments of the present invention can upgrade volatile storage to non-volatile storage, so that voltage data and register data can also be saved in power-off scenarios. After power is restored, additional storage can be performed on the basis of existing data. Avoid the loss of key data after power failure. The embodiments of the present invention adopt the Ping-Pong mechanism for data caching and high-speed data transmission, so that voltage data can be written and read continuously and uninterruptedly. Full-time and uninterrupted data storage and analysis can be achieved. The embodiments of the present invention can also add power-on timing voltage, down-point timing voltage waveform storage and display mechanism and method, and support expansion through the expansion of voltage analysis mechanism and scheme to achieve comprehensive diagnosis of voltage faults.

[0133] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method.

[0134] An embodiment of the present invention also provides a voltage fault diagnosis method.

[0135] like Figure 4 As shown, the voltage fault diagnosis method may include the following steps: In step S401, voltage data of multi-channel voltages of a target electronic device is obtained, and while storing interval voltage data in the voltage data at first preset time intervals, a corresponding cache channel is activated based on a preset transmission rule to cache continuous voltage data at each moment in the voltage data through the cache channel; In step S402, historical voltage data satisfying a preset abnormal condition is obtained by using the interval voltage data and the continuous voltage data; In step S403, the voltage fault diagnosis of the target electronic device is performed using the historical voltage data.

[0136] The description of the features in the embodiment corresponding to the voltage fault diagnosis method can refer to the relevant description of the embodiment corresponding to the voltage fault diagnosis system, which will not be repeated here.

[0137] An embodiment of the present invention further provides an electronic device, comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above voltage fault diagnosis method embodiments.

[0138] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above-mentioned voltage fault diagnosis method embodiments when running.

[0139] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0140] An embodiment of the present invention further provides a computer program product, the computer program product comprising a computer program, and when the computer program is executed by a processor, the steps in any of the above voltage fault diagnosis method embodiments are implemented.

[0141] An embodiment of the present invention further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above-mentioned voltage fault diagnosis method embodiments are implemented.

[0142] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0143] The above is a detailed introduction to a voltage fault diagnosis system provided by the present invention. This article uses specific examples to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.

Claims

1. A voltage fault diagnosis system, characterized in that: include: At least one voltage acquisition module, configured to acquire voltage data of multi-channel voltages of a target electronic device, and while storing interval voltage data in the voltage data at first preset time intervals, activate a corresponding cache channel based on a preset transmission rule to cache continuous voltage data at each moment in the voltage data through the cache channel; A processing module, configured to receive the interval voltage data and the continuous voltage data, and obtain historical voltage data satisfying a preset abnormal condition by using the interval voltage data and the continuous voltage data; A diagnosis module is used to perform voltage fault diagnosis of the target electronic device using the historical voltage data.

2. The voltage fault diagnosis system according to claim 1, characterized in that: The at least one voltage acquisition module comprises: A multiplexer selector, used for receiving the voltage signals of the multi-channel voltages, and selecting one of the voltage signals of the multi-channel voltages for sampling based on a preset selection rule to obtain a sampling signal; The analog-to-digital converter is used to convert the sampling signal to obtain the voltage data.

3. The voltage fault diagnosis system according to claim 2, characterized in that: The at least one voltage acquisition module comprises: at least one register, configured to receive the interval voltage data in the voltage data converted by the analog-to-digital converter every the first preset time period; at least two cache units, configured to receive the continuous voltage data among the voltage data converted by the analog-to-digital converter; The controller is used to activate the corresponding cache channel based on the preset transmission rule, and transmit the continuous voltage data to the target cache unit through the activated cache channel.

4. The voltage fault diagnosis system according to claim 3, characterized in that: The controller comprises: Get sub-unit, used to get the current storage status of any cache unit; a first control subunit, configured to interrupt a cache channel corresponding to any cache unit and activate a communication channel between any cache unit and the processing module when the current storage state is a full storage state, until the continuous voltage data in any cache unit is transmitted to the processing module; The second control subunit is used to activate the cache channel corresponding to any cache unit when the current storage state is an incomplete storage state, cache the continuous voltage data converted by the analog-to-digital converter to any cache unit, and interrupt the communication channel between any cache unit and the processing module until the current storage state of any cache unit is converted to the full storage state.

5. The voltage fault diagnosis system according to claim 3, characterized in that: The at least one register comprises: Multi-channel voltage data enable configuration register; a multi-channel voltage threshold configuration register, used to determine whether there is high threshold voltage data greater than a first preset voltage threshold in the interval voltage data, and to register the high threshold voltage data, determine whether there is low threshold voltage data less than a second preset voltage threshold in the interval voltage data, and to register the low threshold voltage data, wherein the first preset voltage threshold is greater than the second preset voltage threshold; A multi-channel voltage data register, used for storing a data enable state of the multi-channel voltage data enable configuration register in the interval voltage data; The global interrupt register is used to store the high threshold interrupt state corresponding to the high threshold voltage data, and store the low threshold terminal state corresponding to the low threshold voltage data.

6. The voltage fault diagnosis system according to claim 4, characterized in that: The processing module comprises: An acquisition unit, used to acquire the number of communication channels between the processing module and the at least two cache units and the actual number of voltage acquisition modules; A communication unit is used to determine a communication strategy of the processing module based on the number of channels and the actual number, so as to perform communication between the processing module and the at least two cache units based on the communication strategy.

7. The voltage fault diagnosis system according to claim 5, characterized in that: The processing module comprises: A first polling unit, configured to poll the multi-channel voltage data register every second preset time period to obtain a value of the interval voltage data of each channel, and calculate an actual voltage value of the value of the interval voltage data of each channel before voltage division; A second polling unit is used to poll the global interrupt register every third preset time period, and obtain the high threshold voltage data or the low threshold voltage data of any channel, and generate a corresponding exception log based on the high threshold voltage data or the low threshold voltage data, and send the exception log to the diagnostic module.

8. The voltage fault diagnosis system according to claim 1, characterized in that: The processing module comprises: a power-on processing unit, configured to configure a power-on detection threshold according to a target power-on signal, to determine a power-on time of the target electronic device based on the power-on detection threshold and the interval voltage data, and to extract corresponding power-on timing voltage data from the continuous voltage data; The power-off processing unit is used to configure a power-off detection threshold according to a target power-off signal, to determine the power-off moment of the target electronic device based on the power-off detection threshold and the interval voltage data, and to extract corresponding power-off timing voltage data from the continuous voltage data.

9. The voltage fault diagnosis system according to claim 8, characterized in that: Also includes: A storage module is used to store abnormal voltage data, the power-on timing voltage data, the power-off timing voltage data, the interval voltage data and the continuous voltage data, so that the diagnosis module retrieves the historical voltage data from the storage module according to the abnormal voltage data.

10. The voltage fault diagnosis system according to claim 9, characterized in that: The diagnostic module comprises: A first generating unit, configured to generate a corresponding abnormal voltage waveform diagram based on the abnormal voltage data; A second generating unit is used to extract the power-on timing voltage data and the power-off timing voltage data from the storage module, and generate corresponding multi-channel power-on voltage waveform diagrams and multi-channel power-off voltage waveform diagrams based on the power-on timing voltage data and the power-off timing voltage data; The diagnosis unit is used to obtain a fault diagnosis result of the target electronic device based on the abnormal voltage waveform diagram, the multi-channel power-on voltage waveform diagrams and the multi-channel power-off voltage waveform diagrams.

11. The voltage fault diagnosis system according to claim 10, characterized in that: The diagnostic module comprises: A first display unit, used for displaying the continuous voltage data or the interval voltage data corresponding to the current moment; The second display unit is used to display the abnormal voltage waveform diagram, the multi-channel power-on voltage waveform diagram and / or the multi-channel power-off voltage waveform diagram.

12. A voltage fault diagnosis method, characterized in that: Using the voltage fault diagnosis system according to any one of claims 1 to 11, wherein the method comprises the following steps: Acquire voltage data of multi-channel voltages of a target electronic device, and while storing interval voltage data in the voltage data at first preset time intervals, activate corresponding cache channels based on preset transmission rules to cache continuous voltage data at each moment in the voltage data through the cache channels; Obtaining historical voltage data that meets a preset abnormal condition using the interval voltage data and the continuous voltage data; The historical voltage data is used to perform voltage fault diagnosis on the target electronic device.

13. An electronic device, characterized in that: include: Memory for storing computer programs; A processor is used to implement the steps of the voltage fault diagnosis method as claimed in claim 12 when executing the computer program.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the voltage fault diagnosis method according to claim 12.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the voltage fault diagnosis method according to claim 12 are implemented.

Citation Information

Patent Citations

  • Real-time vibration failure monitoring device of wind turbine generator system

    CN103256975A

  • Method for storing optical fiber communication data

    CN104780019A

  • Fault diagnosis method and device for vehicle motor controller and electronic equipment

    CN111026098A

  • Relay protection analog quantity sampling control method and device

    CN113037286A

  • Equipment fault diagnosis system and fault diagnosis method

    CN114327993A